/* Lucky Babes Path / Tasks owner */

:root {
  --lb507-pink: #ff36ad;
  --lb507-hot-pink: #ff59c5;
  --lb507-purple: #7c1dff;
  --lb507-deep: #050109;
  --lb507-gold: #ffd34e;
  --lb507-orange: #ff9d24;
  --lb507-green: #74ffb7;
}

/* Obsolete panels this owner intentionally replaces. */
#casinoPromos,
#casinoRewards,
#lb405ProfileModal,
.lb405-profile-card {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Toasts */
#lb507ToastRoot {
  position: fixed;
  left: 10px;
  right: 10px;
  top: calc(env(safe-area-inset-top, 0px) + 72px);
  z-index: 2147483646;
  display: grid;
  gap: 8px;
  pointer-events: none;
}

.lb507-toast {
  transform: translateY(-18px);
  opacity: 0;
  transition: transform 240ms ease, opacity 240ms ease;
  pointer-events: auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(135deg, rgba(34,10,60,.96), rgba(9,2,16,.98));
  box-shadow: 0 18px 48px rgba(0,0,0,.45), 0 0 24px rgba(255,63,180,.18);
  padding: 12px 14px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  align-items: center;
}

.lb507-claim-burst {
  justify-self: center;
  width: min(330px, calc(100vw - 24px));
  transform: translateY(-16px) scale(.94);
  opacity: 0;
  pointer-events: none;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid rgba(255,211,78,.34);
  background: linear-gradient(135deg, rgba(255,211,78,.18), rgba(255,77,184,.16)), rgba(10,3,18,.96);
  box-shadow: 0 22px 70px rgba(0,0,0,.46), 0 0 34px rgba(255,211,78,.18);
  transition: transform 260ms cubic-bezier(.16,.9,.24,1), opacity 220ms ease;
}

.lb507-claim-burst.in {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.lb507-claim-burst div {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
}

.lb507-claim-burst img {
  max-width: 62px;
  max-height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.35));
}

.lb507-claim-burst b {
  min-width: 0;
  color: #fff;
  font: 1000 16px/1.05 Nunito, system-ui;
}

.lb507-toast.in {
  transform: translateY(0);
  opacity: 1;
}

.lb507-toast b {
  font: 1000 16px/1.05 Poppins, Nunito, system-ui;
}

.lb507-toast span {
  grid-column: 1;
  color: rgba(255,255,255,.75);
  font: 850 12px/1.25 Nunito, system-ui;
}

.lb507-toast.xp b {
  color: #74ffb7;
}

.lb507-toast.unlock {
  border-color: rgba(255,211,78,.45);
  box-shadow: 0 20px 58px rgba(0,0,0,.48), 0 0 28px rgba(255,211,78,.22);
}

.lb507-toast.unlock b {
  color: #ffd34e;
}

.lb507-toast button {
  grid-row: 1 / 3;
  grid-column: 2;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff59c5, #c9157b);
  color: #fff;
  padding: 9px 12px;
  font-weight: 1000;
}

/* Path shell */
body.page-mode-path #pageMainTitle {
  display: none !important;
}

body.page-mode-path .content-wrapper {
  padding-top: 0 !important;
}

body.page-mode-path .content-wrapper > header.lb-header-clean {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.page-mode-path #rewardsView {
  margin-top: 0 !important;
}

#lb507Path:before,
#lb507Path:after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.lb507-bg-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  min-height: 100%;
  pointer-events: none;
  opacity: .86;
}

#lb507Path:after {
  inset: 110px 0 0;
  opacity: .13;
  background:
    linear-gradient(135deg, transparent 0 46%, rgba(255,54,173,.22) 47% 49%, transparent 50%),
    linear-gradient(45deg, transparent 0 48%, rgba(124,29,255,.18) 49% 51%, transparent 52%);
  background-size: 110px 110px;
  mask-image: linear-gradient(180deg, transparent, #000 8%, #000 70%, transparent);
}

.lb507-rank-line {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  font-size: 12px;
  font-weight: 950;
}

.lb507-rank-line em {
  font-style: normal;
  color: rgba(255,255,255,.68);
}

.lb507-progress {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  margin: 5px 0 5px;
  background: rgba(0,0,0,.38);
}

.lb507-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff4db8, #ffd34e);
  box-shadow: 0 0 18px rgba(255,74,190,.34);
  transition: width 420ms cubic-bezier(.16,.9,.24,1);
}

.lb507-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.lb507-actions button,
.lb507-task button,
.lb507-primary {
  border: 0;
  border-radius: 999px;
  min-height: 28px;
  background: linear-gradient(180deg, var(--lb507-hot-pink), #bd1373);
  color: #fff;
  padding: 6px 4px;
  font: 1000 8px/1 Nunito, system-ui;
  text-transform: uppercase;
  letter-spacing: 0;
  box-shadow: 0 8px 18px rgba(0,0,0,.22);
  transition: transform 180ms cubic-bezier(.16,.9,.24,1), filter 180ms ease, box-shadow 180ms ease;
}

.lb507-actions button:active,
.lb507-task button:active,
.lb507-primary:active,
.lb507-claim-ready:active {
  transform: translateY(1px) scale(.975);
  filter: brightness(.96);
}

.lb507-path-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 8px auto;
}

.lb507-path-summary article {
  min-width: 0;
  padding: 8px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.055);
}

.lb507-path-summary span {
  display: block;
  color: rgba(255,255,255,.56);
  font: 1000 10px/1 Nunito, system-ui;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lb507-path-summary b {
  display: block;
  margin-top: 4px;
  color: #fff;
  font: 1000 10px/1.05 Nunito, system-ui;
  overflow-wrap: anywhere;
}

@keyframes lbPathReadyGlow {
  from { box-shadow: 0 13px 28px rgba(0,0,0,.30), 0 0 8px rgba(116,255,183,.06); }
  to { box-shadow: 0 13px 30px rgba(0,0,0,.34), 0 0 18px rgba(116,255,183,.16); }
}

@keyframes lbPathUnlock {
  0% { transform: scale(1) rotate(0deg); opacity: 1; }
  45% { transform: scale(1.18) rotate(-9deg); opacity: 1; }
  100% { transform: scale(.42) rotate(14deg); opacity: 0; }
}

@keyframes lbPathUnlockOverlay {
  0%, 45% { opacity: 1; }
  100% { opacity: 0; }
}

/* Path board rebuild */
#lb507Path {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  padding: calc(8px + env(safe-area-inset-top, 0px)) 8px calc(104px + env(safe-area-inset-bottom, 0px));
  color: #fff;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,54,173,.34), transparent 26%),
    radial-gradient(circle at 86% 6%, rgba(124,29,255,.30), transparent 30%),
    radial-gradient(circle at 50% 26%, rgba(255,211,78,.10), transparent 34%),
    linear-gradient(180deg, #2b0739 0%, #120219 34%, #06010b 100%);
}

#lb507Path:before {
  inset: 88px -44px auto -44px;
  height: 360px;
  opacity: .22;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 45%, rgba(255,255,255,.18) 46% 48%, transparent 49%),
    radial-gradient(ellipse at 50% 50%, transparent 59%, rgba(255,54,173,.28) 60% 63%, transparent 64%);
  transform: rotate(-9deg);
}

.lb507-stage,
.lb507-path-summary,
.lb507-board {
  position: relative;
  z-index: 1;
  width: min(100%, 860px);
  margin-left: auto;
  margin-right: auto;
}

.lb507-stage {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.17);
  padding: 9px;
  background:
    radial-gradient(circle at 15% -8%, rgba(255,83,194,.35), transparent 32%),
    radial-gradient(circle at 94% 0%, rgba(124,29,255,.30), transparent 35%),
    linear-gradient(135deg, rgba(63,12,82,.96), rgba(14,2,25,.98));
  box-shadow: 0 20px 58px rgba(0,0,0,.46), inset 0 1px 0 rgba(255,255,255,.13);
}

.lb507-stage:before {
  content: "";
  position: absolute;
  inset: auto -30px -78px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 22px solid rgba(255,54,173,.13);
  box-shadow: inset 0 0 0 14px rgba(124,29,255,.13);
  pointer-events: none;
}

.lb507-stage:after {
  content: "";
  position: absolute;
  right: -16px;
  bottom: -18px;
  width: 122px;
  height: 122px;
  background: url("assets/lb-brand-current/progress-icons/path-progress-current.png") center/contain no-repeat;
  opacity: .18;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,.36));
  pointer-events: none;
}

.lb507-stage-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px minmax(0,1fr) auto;
  gap: 8px;
  align-items: center;
}

.lb507-rank-orb {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 17px;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,.16), rgba(0,0,0,.30));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 12px 26px rgba(0,0,0,.28), 0 0 22px color-mix(in srgb, var(--lb507-rank-color), transparent 58%);
}

.lb507-stage .lb507-rank {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px color-mix(in srgb, var(--lb507-rank-color), transparent 45%));
}

.lb507-stage .lb507-hero-copy > span {
  color: #ff9adb;
  font: 1000 9px/1 Poppins, Nunito, sans-serif;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.lb507-stage .lb507-hero-copy h2 {
  margin: 2px 0 4px;
  color: #fff;
  text-transform: uppercase;
  font: 1000 21px/.88 Poppins, Nunito, sans-serif;
  text-shadow: none;
}

.lb507-stage .lb507-rank-line {
  justify-content: flex-start;
  gap: 10px;
  font-size: 10.5px;
}

.lb507-claim-ready {
  min-width: 66px;
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(180deg, #ff59c5, #bc1574);
  box-shadow: 0 12px 22px rgba(255,54,173,.25);
  font: 1000 10px/1 Nunito, system-ui;
  text-transform: uppercase;
  transition: transform 180ms cubic-bezier(.16,.9,.24,1), filter 180ms ease, box-shadow 180ms ease;
}

.lb507-claim-ready.muted {
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: none;
}

.lb507-progress-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0,1fr) 30px;
  align-items: center;
  gap: 9px;
  margin: 5px 0 5px 56px;
}

.lb507-progress-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.lb507-progress-row span,
.lb507-progress-row b {
  color: rgba(255,255,255,.72);
  font: 1000 8px/1 Nunito, system-ui;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.lb507-stage .lb507-progress {
  grid-column: 1;
  height: 9px;
  margin: 0;
  background: rgba(0,0,0,.42);
}

.lb507-next-icon {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 7px 12px rgba(0,0,0,.35));
}

.lb507-hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 5px;
  margin: 0 0 5px;
}

.lb507-hero-stats article {
  min-width: 0;
  padding: 5px 7px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.23);
}

.lb507-hero-stats span {
  display: block;
  color: rgba(255,255,255,.54);
  font: 1000 7px/1 Nunito, system-ui;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lb507-hero-stats b {
  display: block;
  margin-top: 3px;
  color: #fff;
  font: 1000 10px/1.05 Nunito, system-ui;
  overflow-wrap: anywhere;
}

.lb507-hero-stats small {
  display: block;
  margin-top: 3px;
  color: rgba(255,255,255,.56);
  font: 900 8px/1 Nunito, system-ui;
  text-transform: uppercase;
}

.lb507-stage .lb507-actions {
  position: relative;
  z-index: 1;
  gap: 6px;
}

.lb507-stage .lb507-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 26px;
  border-radius: 14px;
  font-size: 8.5px;
  box-shadow: 0 11px 22px rgba(189,19,115,.22);
}

.lb507-stage .lb507-actions i {
  font-size: 9px;
}

.lb507-path-summary {
  width: min(100%, 860px);
  margin: 9px auto;
  gap: 8px;
}

.lb507-path-summary article {
  padding: 10px;
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(255,255,255,.085), rgba(255,255,255,.035));
}

.lb507-path-summary b {
  font-size: 11px;
  line-height: 1.12;
}

.lb507-board {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-top: 10px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.13);
  padding: 8px 7px 14px;
  background:
    radial-gradient(circle at 18% 2%, rgba(255,54,173,.20), transparent 28%),
    radial-gradient(circle at 82% 1%, rgba(255,211,78,.18), transparent 31%),
    radial-gradient(circle at 50% 18%, rgba(124,29,255,.18), transparent 42%),
    linear-gradient(180deg, rgba(20,5,33,.94), rgba(7,1,13,.98));
  box-shadow: 0 28px 80px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.08);
}

.lb507-board.unlocking {
  animation: lb507BoardUnlock 620ms cubic-bezier(.16,.9,.24,1);
}

.lb507-board-head {
  position: relative;
  top: auto;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 7px;
  align-items: stretch;
  margin-bottom: 10px;
}

.lb507-board-head > div {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 58px;
  aspect-ratio: 3 / 1;
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(14,2,22,.88);
  box-shadow: 0 12px 28px rgba(0,0,0,.24);
}

.lb507-board-head > div:after {
  content: none;
}

.lb507-board-head > div.free {
  border-color: rgba(151,184,255,.34);
  background: #090d19;
}

.lb507-board-head > div.free:after {
  background-image: none;
}

.lb507-board-head > div.premium {
  border-color: rgba(255,211,78,.42);
  background: #150b03;
  box-shadow: 0 0 24px rgba(255,211,78,.11), 0 12px 28px rgba(0,0,0,.24);
}
.lb507-board-head > div.premium.locked {
  cursor: pointer;
}

.lb507-board-head > div.premium:after {
  background-image: none;
}

.lb507-path-banner {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.lb507-board-head span {
  display: block;
  color: #fff;
  font: 1000 8.8px/1 Nunito, system-ui;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.lb507-board-head b {
  display: block;
  color: #fff;
  margin-top: 2px;
  font: 950 9px/1.08 Nunito, system-ui;
  opacity: .82;
}

.lb507-board-head button,
.lb507-unlock-premium {
  position: absolute;
  left: 8px;
  bottom: 7px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  margin-top: 0;
  min-height: 29px;
  max-width: 103px;
  width: 103px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #ffd34e, #ff9d24);
  color: #1b0900;
  font: 1000 8px/1 Nunito, system-ui;
  text-transform: uppercase;
}

.lb507-unlock-premium span,
.lb507-unlock-premium b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.lb507-unlock-premium b {
  font-size: 11px;
}

.lb507-unlock-premium img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.lb507-premium-cost {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 5px;
  color: #ffd34e;
  font: 1000 10px/1 Nunito, system-ui;
}

.lb507-premium-cost img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.lb507-premium-cost.owned {
  color: #9affc6;
}

.lb507-board-head button:disabled {
  color: #9affc6;
  background: rgba(70,245,142,.13);
  border: 1px solid rgba(70,245,142,.24);
}

.lb507-board-xp {
  display: none !important;
  place-items: center;
  text-align: center;
  padding: 5px 2px !important;
  min-height: 42px !important;
  border-color: rgba(255,255,255,.14) !important;
  background: rgba(0,0,0,.34) !important;
}

.lb507-board-xp strong {
  color: #fff;
  font: 1000 10px/1 Nunito, system-ui;
}

.lb507-board-xp small {
  color: rgba(255,255,255,.56);
  font: 1000 8px/1 Nunito, system-ui;
}

.lb507-map-status {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 8px 2px 7px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 15px;
  background: rgba(0,0,0,.22);
}

.lb507-map-status span {
  color: rgba(255,255,255,.62);
  font: 1000 9px/1 Nunito, system-ui;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.lb507-map-status b {
  color: #fff;
  font: 1000 11px/1 Nunito, system-ui;
}

.lb507-map {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 4px 0 12px;
}

.lb507-map:before,
.lb507-map:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: 8px;
  transform: translateX(-50%);
  border-radius: 999px;
  pointer-events: none;
}

.lb507-map:before {
  width: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: inset 0 0 16px rgba(0,0,0,.42), 0 0 18px rgba(255,54,173,.12);
}

.lb507-map:after {
  top: 8px;
  bottom: auto;
  width: 8px;
  height: var(--lb507-path-fill, var(--lb507-path-pct, 0%));
  background: linear-gradient(180deg, #ffd34e 0%, #ff36ad 44%, #7c1dff 100%);
  box-shadow: 0 0 18px rgba(255,54,173,.62), 0 0 28px rgba(124,29,255,.35);
  transition: height 520ms cubic-bezier(.2,.9,.2,1);
}

.lb507-map-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0,1fr) 30px minmax(0,1fr);
  gap: 4px;
  align-items: center;
  min-height: 62px;
}

.lb507-map-row.zig .lb507-map-cell.free {
  transform: translateX(3px);
}

.lb507-map-row.zig .lb507-map-cell.premium {
  transform: translateX(-3px);
}

.lb507-map-row.zag .lb507-map-cell.free {
  transform: translateX(-2px);
}

.lb507-map-row.zag .lb507-map-cell.premium {
  transform: translateX(2px);
}

.lb507-map-step {
  display: grid;
  place-items: center;
}

.lb507-map-step span {
  position: relative;
  z-index: 3;
  width: 8px;
  height: 8px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: transparent;
  font-size: 0;
  background: radial-gradient(circle, rgba(255,255,255,.18) 0 18%, rgba(255,255,255,.07) 19% 56%, rgba(18,5,28,.94) 57% 100%);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 0 7px rgba(0,0,0,.38);
}

.lb507-map-row.current .lb507-map-step span {
  width: 16px;
  height: 16px;
  background: radial-gradient(circle, #fff 0 18%, #ff59c5 19% 58%, rgba(124,29,255,.90) 59% 100%);
  border-color: rgba(255,255,255,.34);
  box-shadow: 0 0 18px rgba(255,54,173,.55), 0 0 30px rgba(124,29,255,.25);
}

.lb507-map-row.complete .lb507-map-step span {
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, #fff 0 16%, #ffd34e 17% 48%, #ff36ad 49% 78%, rgba(124,29,255,.95) 79% 100%);
  border-color: rgba(255,255,255,.36);
  box-shadow: 0 0 16px rgba(255,211,78,.40), 0 0 22px rgba(255,54,173,.28);
}

.lb507-map-cell {
  min-width: 0;
}

.lb507-board .lb507-node {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  height: 64px;
  min-height: 64px;
  margin: 0;
  padding: 7px 8px;
  display: grid;
  grid-template-columns: 40px minmax(0,1fr);
  gap: 8px;
  align-items: center;
  justify-items: start;
  text-align: left;
  border-radius: 17px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 42%),
    radial-gradient(circle at 50% 12%, rgba(255,54,173,.22), transparent 42%),
    linear-gradient(180deg, rgba(24,5,38,.96), rgba(7,1,13,.98));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 11px 26px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.lb507-board .lb507-node.premium {
  border-color: rgba(255,211,78,.25);
  background:
    linear-gradient(135deg, rgba(255,211,78,.13), transparent 42%),
    radial-gradient(circle at 50% 12%, rgba(255,157,36,.18), transparent 42%),
    linear-gradient(180deg, rgba(36,18,19,.96), rgba(9,2,13,.98));
  box-shadow: 0 13px 30px rgba(0,0,0,.30), 0 0 20px rgba(255,211,78,.09), inset 0 1px 0 rgba(255,255,255,.08);
}

.lb507-board .lb507-node:before,
.lb507-board .lb507-node:after {
  display: none;
}

.lb507-board .lb507-node-mark {
  display: grid;
  place-items: center;
  grid-column: 1;
  width: 40px;
  height: 40px;
  border-radius: 15px;
  align-self: center;
  overflow: hidden;
  background: rgba(255,255,255,.075);
  box-shadow: 0 8px 16px rgba(0,0,0,.24);
}

.lb507-board .lb507-node-mark img {
  max-width: 98%;
  max-height: 98%;
  object-fit: contain;
}

.lb507-board .lb507-node[data-kind="pack"] .lb507-node-mark img {
  max-width: 110%;
  max-height: 110%;
}

.lb507-board .lb507-node[data-kind="pack"] .lb507-node-mark {
  background: radial-gradient(circle, rgba(255,211,78,.16), rgba(255,77,184,.09));
}

.lb507-board .lb507-node[data-kind="fun_chips"] .lb507-node-mark {
  background: radial-gradient(circle, rgba(74,215,255,.22), rgba(124,29,255,.09));
}

.lb507-board .lb507-node[data-kind="lucky_chips"] .lb507-node-mark {
  background: radial-gradient(circle, rgba(255,77,184,.22), rgba(124,29,255,.10));
}

.lb507-board .lb507-node-copy {
  display: grid;
  justify-items: start;
  align-self: center;
  min-width: 0;
  width: 100%;
  padding: 0 26px 0 0;
}

.lb507-board .lb507-node-copy b {
  min-height: 0;
  max-width: 100%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: rgba(255,255,255,.92);
  font: 1000 10.5px/1.05 Nunito, system-ui;
  -webkit-line-clamp: 2;
}

.lb507-board .lb507-node button {
  position: absolute;
  right: 6px;
  bottom: 6px;
  min-width: 43px;
  min-height: 20px;
  padding: 4px 7px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--lb507-hot-pink), #bd1373);
  color: #fff;
  font: 1000 8px/1 Nunito, system-ui;
  text-transform: uppercase;
}

.lb507-board .lb507-node button:disabled {
  background: rgba(255,255,255,.085);
  color: rgba(255,255,255,.56);
  border: 1px solid rgba(255,255,255,.08);
}

.lb507-board .lb507-node.locked button {
  display: none;
}

.lb507-board .lb507-node.locked {
  opacity: .96;
  filter: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,.05), transparent 42%),
    radial-gradient(circle at 50% 12%, rgba(255,54,173,.11), transparent 42%),
    linear-gradient(180deg, rgba(18,5,29,.96), rgba(5,1,10,.98));
}

.lb507-board .lb507-node.locked .lb507-node-mark,
.lb507-board .lb507-node.locked .lb507-node-copy {
  opacity: .72;
}

.lb507-board .lb507-node-lock {
  display: none;
  position: absolute;
  top: 50%;
  right: 7px;
  bottom: auto;
  width: 26px;
  height: 26px;
  transform: translateY(-50%);
  z-index: 4;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: radial-gradient(circle at 50% 18%, rgba(255,255,255,.30), rgba(18,3,26,.88));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 0 14px rgba(255,54,173,.18), 0 7px 14px rgba(0,0,0,.30);
  backdrop-filter: blur(8px);
}

.lb507-board .lb507-node-lock i {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 12px;
}

.lb507-board .lb507-node.locked .lb507-node-lock,
.lb507-board .lb507-node.unlocking .lb507-node-lock {
  display: grid;
}

.lb507-board .lb507-node.unlocking .lb507-node-lock {
  right: 50%;
  bottom: 50%;
  top: auto;
  width: 46px;
  height: 46px;
  margin-right: -23px;
  margin-bottom: -23px;
  transform: none;
  animation: lbPathUnlockOverlay 430ms ease forwards;
}

.lb507-board .lb507-node.unlocking .lb507-node-lock i {
  animation: lbPathUnlock 430ms ease forwards;
}

.lb507-board .lb507-node.ready {
  animation: lbPathReadyGlow 1.6s ease-in-out infinite alternate;
}

.lb507-board .lb507-node.claimed {
  border-color: rgba(116,255,183,.28);
  background:
    linear-gradient(135deg, rgba(116,255,183,.12), transparent 44%),
    radial-gradient(circle at 20% 0%, rgba(116,255,183,.15), transparent 42%),
    linear-gradient(180deg, rgba(17,38,31,.92), rgba(7,1,13,.98));
}

.lb507-board .lb507-node.claimed .lb507-node-lock {
  display: none;
}

.lb507-board .lb507-node.milestone {
  height: 74px;
  min-height: 74px;
  border-width: 1px;
}

.lb507-board .lb507-node.milestone .lb507-node-copy:before {
  content: "";
  display: none;
}

.lb507-map-toggle {
  width: 100%;
  min-height: 38px;
  margin: 8px 0 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.045));
  font: 1000 10px/1 Nunito, system-ui;
  letter-spacing: .08em;
  text-transform: uppercase;
}


.lb507-board.unlocking {
  animation: lbPathBoardUnlock 520ms ease;
}

@keyframes lbPathBoardUnlock {
  0% { filter: brightness(1); }
  45% { filter: brightness(1.28); box-shadow: 0 0 34px rgba(255,211,78,.28), 0 28px 80px rgba(0,0,0,.42); }
  100% { filter: brightness(1); }
}

/* Sheets */
.lb507-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483600;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
  background: rgba(3,0,8,.72);
  backdrop-filter: blur(12px);
}

.lb507-modal.show {
  display: flex;
}

.lb507-sheet {
  width: min(520px, 100%);
  max-height: min(80vh, 760px);
  overflow: auto;
  border-radius: 26px;
  background: linear-gradient(180deg, #251033, #09020f);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 24px 75px rgba(0,0,0,.55);
  padding: 14px;
  color: #fff;
}

.lb507-sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.lb507-sheet-head b {
  font: 1000 22px/1 Poppins, Nunito, sans-serif;
}

.lb507-sheet-head button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 1000;
}

.lb507-note {
  margin: 0 0 10px;
  color: rgba(255,255,255,.72);
  font: 850 13px/1.35 Nunito, system-ui;
}

.lb507-task-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 12px;
  align-items: end;
  margin: 0 0 12px;
  padding: 15px 14px;
  min-height: 100px;
  border-radius: 22px;
  border: 1px solid rgba(116,255,183,.22);
  background:
    linear-gradient(90deg, rgba(7,1,13,.08), rgba(7,1,13,.40) 76%),
    radial-gradient(circle at 86% 6%, rgba(116,255,183,.18), transparent 36%),
    radial-gradient(circle at 14% -8%, rgba(255,54,173,.30), transparent 43%),
    linear-gradient(135deg, rgba(36,9,59,.96), rgba(7,1,13,.98));
  box-shadow: 0 18px 46px rgba(0,0,0,.34), 0 0 30px rgba(116,255,183,.08), inset 0 1px 0 rgba(255,255,255,.08);
}

.lb507-task-hero:before {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -28px;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  border: 16px solid rgba(116,255,183,.10);
  box-shadow: inset 0 0 0 12px rgba(255,54,173,.10);
  pointer-events: none;
}

.lb507-task-hero:after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -38px;
  width: 142px;
  height: 142px;
  border-radius: 50%;
  background: url("assets/lb-brand-current/lucky-chips.png") center/contain no-repeat;
  opacity: .24;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,.32));
}

.lb507-task-hero span {
  display: block;
  color: #74ffb7;
  font: 1000 10px/1 Nunito, system-ui;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.lb507-task-hero b {
  display: block;
  margin-top: 5px;
  color: #fff;
  font: 1000 21px/.95 Nunito, system-ui;
  letter-spacing: -.03em;
}

.lb507-task-hero p {
  margin: 6px 0 0;
  max-width: 260px;
  color: rgba(255,255,255,.68);
  font: 850 12px/1.3 Nunito, system-ui;
}

.lb507-task-hero strong {
  position: relative;
  z-index: 1;
  border-radius: 999px;
  padding: 10px 11px;
  background: rgba(116,255,183,.12);
  border: 1px solid rgba(116,255,183,.22);
  color: #9affc6;
  font: 1000 11px/1 Nunito, system-ui;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0,0,0,.24);
}

.lb507-task-list {
  display: grid;
  gap: 8px;
}

.lb507-task {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr) auto;
  gap: 10px;
  align-items: center;
  margin: 8px 0;
  padding: 11px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,54,173,.09), transparent 35%),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  box-shadow: 0 12px 28px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.05);
}

.lb507-task > div:nth-child(2) > span {
  display: inline-flex;
  margin-bottom: 4px;
  color: rgba(255,255,255,.50);
  font: 1000 8px/1 Nunito, system-ui;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.lb507-task-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(180deg, #ff59c5, #7c1dff);
  color: #fff;
  box-shadow: 0 0 18px rgba(255,54,173,.20);
}

.lb507-task-icon i {
  font-size: 15px;
}

.lb507-task.done {
  opacity: .7;
}

.lb507-task b {
  display: block;
  font-weight: 1000;
}

.lb507-task p {
  margin: 4px 0 0;
  color: rgba(255,255,255,.65);
  font-size: 12px;
  line-height: 1.25;
}

.lb507-task-actions {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.lb507-task-actions em {
  color: #74ffb7;
  font-style: normal;
  font-weight: 1000;
  font-size: 12px;
}

.lb507-task button.ghost {
  background: rgba(255,255,255,.08);
}

.lb507-task-actions button {
  min-width: 70px;
}

.lb507-task.done .lb507-task-icon {
  background: linear-gradient(180deg, #74ffb7, #35d8ff);
  color: #06140e;
}

.lb507-ranks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.lb507-rank-cell {
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 16px;
  background: rgba(255,255,255,.045);
  padding: 8px;
  text-align: center;
}

.lb507-rank-cell img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.lb507-rank-cell b {
  display: block;
  font-size: 10px;
}

.lb507-rank-cell small {
  display: block;
  margin-top: 2px;
  color: rgba(255,255,255,.55);
  font-weight: 850;
  font-size: 9px;
}

@media (max-width: 380px) {
  .lb507-task {
    grid-template-columns: 34px minmax(0,1fr);
  }

  .lb507-task-actions {
    grid-column: 1 / -1;
    grid-template-columns: auto 1fr 1fr;
    align-items: center;
    justify-items: stretch;
  }

  .lb507-task-actions em {
    align-self: center;
  }

  .lb507-map-row {
    grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr);
    gap: 3px;
  }

  .lb507-actions button {
    font-size: 7px;
  }

  .lb507-board .lb507-node {
    min-height: 70px;
    padding-left: 5px;
    padding-right: 5px;
  }

  .lb507-board .lb507-node-mark {
    width: 38px;
    height: 38px;
  }

  .lb507-board .lb507-node-copy b {
    font-size: 9.5px;
  }
}

/* V620 consolidated Path polish: full trophy road by default, no expand/collapse button. */
.lb507-map-toggle {
  display: none !important;
}

#lb507Path .lb507-stage {
  border-color: rgba(255,255,255,.16) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,211,78,.18), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(53,216,255,.14), transparent 30%),
    linear-gradient(180deg, rgba(32,12,47,.94), rgba(8,2,14,.98)) !important;
  box-shadow: 0 18px 58px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.10) !important;
}

#lb507Path .lb507-board {
  border-color: rgba(255,255,255,.14) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025)),
    radial-gradient(circle at 50% 0%, rgba(255,211,78,.10), transparent 28%),
    rgba(6,1,11,.88) !important;
}

#lb507Path .lb507-board:before {
  opacity: .78 !important;
  filter: drop-shadow(0 0 18px rgba(255,211,78,.18)) !important;
}

#lb507Path .lb507-board-head .premium {
  position: relative !important;
  isolation: isolate !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.32), transparent 35%),
    linear-gradient(135deg, rgba(255,232,152,.30), rgba(255,149,36,.16) 54%, rgba(83,44,10,.28)) !important;
  border: 1px solid rgba(255,211,78,.52) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 0 26px rgba(255,211,78,.17) !important;
}

#lb507Path .lb507-board-head .premium:after {
  display: none !important;
  content: none !important;
}

#lb507PremiumModal.lb507-modal.show {
  display: flex !important;
}

#lb507PremiumModal .lb507-sheet.premium-path {
  position: relative;
  width: min(430px, 100%);
  max-height: min(86vh, 760px);
  overflow: auto;
  padding: 12px;
  border-radius: 28px;
  border: 1px solid rgba(255,211,78,.30);
  background: linear-gradient(180deg, #251307, #08030b 76%);
  color: #fff;
  box-shadow: 0 30px 100px rgba(0,0,0,.72), 0 0 0 1px rgba(255,211,78,.13) inset;
}

.lb507-premium-close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 4;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 15px;
  background: rgba(0,0,0,.42);
  color: #fff;
  font: 1000 24px/1 system-ui;
}

.lb507-premium-hero {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255,211,78,.28);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background: #160b03;
}

.lb507-premium-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .96;
}

.lb507-premium-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.82));
}

.lb507-premium-hero div {
  position: relative;
  z-index: 1;
  max-width: 320px;
}

.lb507-premium-hero span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,211,78,.16);
  border: 1px solid rgba(255,211,78,.28);
  color: #ffe49a;
  font: 1000 10px/1 Nunito, system-ui;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.lb507-premium-hero b {
  display: block;
  font: 1000 30px/.94 Nunito, system-ui;
  color: #fff;
}

.lb507-premium-hero p {
  margin: 8px 0 0;
  color: rgba(255,255,255,.78);
  font: 900 13px/1.32 Nunito, system-ui;
}

.lb507-premium-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 9px;
  margin: 12px 0;
}

.lb507-premium-preview article {
  min-height: 108px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255,211,78,.18);
  background: linear-gradient(135deg, rgba(255,211,78,.12), rgba(255,255,255,.045));
}

.lb507-premium-preview div {
  height: 46px;
  display: grid;
  place-items: center;
}

.lb507-premium-preview img {
  max-width: 58px;
  max-height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.34));
}

.lb507-premium-preview span {
  display: block;
  color: rgba(255,255,255,.54);
  font: 1000 9px/1 Nunito, system-ui;
  text-transform: uppercase;
}

.lb507-premium-preview b {
  display: block;
  margin-top: 5px;
  color: #fff;
  font: 1000 12px/1.1 Nunito, system-ui;
}

.lb507-premium-buy {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 20px;
  background: rgba(0,0,0,.34);
  border: 1px solid rgba(255,211,78,.24);
}

.lb507-premium-buy span {
  display: block;
  color: rgba(255,255,255,.54);
  font: 1000 10px/1 Nunito, system-ui;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.lb507-premium-buy b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  color: #ffd34e;
  font: 1000 16px/1 Nunito, system-ui;
}

.lb507-premium-buy b img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.lb507-premium-buy button {
  min-height: 46px;
  border: 0;
  border-radius: 16px;
  padding: 0 14px;
  background: linear-gradient(135deg, #ffd34e, #ff8a00);
  color: #180900;
  font: 1000 12px/1 Nunito, system-ui;
}

@media(max-width:430px) {
  .lb507-premium-buy {
    grid-template-columns: 1fr;
  }
  .lb507-premium-buy button {
    width: 100%;
  }
}

#lb507Path .lb507-map-cell.premium .lb507-node {
  border-color: rgba(255,211,78,.30) !important;
  background:
    radial-gradient(circle at 50% -8%, rgba(255,241,173,.20), transparent 36%),
    linear-gradient(180deg, rgba(63,35,10,.82), rgba(11,4,14,.96)) !important;
}

#lb507Path .lb507-map-cell.premium .lb507-node.ready {
  border-color: rgba(255,211,78,.68) !important;
  box-shadow: 0 15px 34px rgba(0,0,0,.32), 0 0 22px rgba(255,211,78,.22) !important;
}

#lb507Path .lb507-map-cell.premium .lb507-node.locked {
  opacity: .72 !important;
  filter: saturate(.8) brightness(.82) !important;
}

#lb507Path .lb507-map-row.current .lb507-map-step span {
  transform: scale(1.18) !important;
  background: linear-gradient(180deg, #fff, #ffd34e) !important;
  box-shadow: 0 0 0 5px rgba(255,211,78,.16), 0 0 24px rgba(255,211,78,.42) !important;
}

#lb507Path .lb507-map-row.current .lb507-node:not(.locked) {
  animation: lbPathReadyGlow .9s ease-in-out infinite alternate !important;
}

#lb507Path .lb507-node.claimed {
  filter: saturate(.95) brightness(.95) !important;
}

#lb507Path .lb507-node.claimed:after {
  content: "Claimed";
  position: absolute;
  left: 7px;
  top: 7px;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(116,255,183,.14);
  border: 1px solid rgba(116,255,183,.25);
  color: #bfffdc;
  font: 1000 7px/1 Nunito, system-ui;
  text-transform: uppercase;
  letter-spacing: .08em;
}

#lb507Path .lb507-node.unlocking,
#lb507Path .lb507-node.claimed-pop {
  animation: lb507ClaimPop 620ms cubic-bezier(.16,.9,.24,1) !important;
  border-color: rgba(255,211,78,.72) !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.34), 0 0 32px rgba(255,211,78,.26) !important;
}

#lb507Path .lb507-node.ready button {
  position: relative;
  overflow: hidden;
}

#lb507Path .lb507-node.ready button:after,
.lb507-claim-ready:not(.muted):after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(110deg, transparent 0 36%, rgba(255,255,255,.36) 48%, transparent 62% 100%);
  transform: translateX(-110%);
  pointer-events: none;
}

#lb507Path .lb507-node.ready button:active:after,
.lb507-claim-ready:not(.muted):active:after {
  opacity: 1;
  animation: lb507ButtonShine 520ms ease;
}

#lb507Path .lb507-map-row {
  animation: lb507MapRowIn 360ms cubic-bezier(.16,.9,.24,1) both;
  animation-delay: 0ms;
}

#lb507Path .lb507-map-row:nth-child(2) { animation-delay: 28ms; }
#lb507Path .lb507-map-row:nth-child(3) { animation-delay: 56ms; }
#lb507Path .lb507-map-row:nth-child(4) { animation-delay: 84ms; }
#lb507Path .lb507-map-row:nth-child(5) { animation-delay: 112ms; }
#lb507Path .lb507-map-row:nth-child(6) { animation-delay: 140ms; }
#lb507Path .lb507-map-row:nth-child(7) { animation-delay: 168ms; }
#lb507Path .lb507-map-row:nth-child(n+8) { animation-delay: 190ms; }

#lb507Path .lb507-map-row.complete .lb507-map-step span {
  transition: transform 260ms cubic-bezier(.16,.9,.24,1), box-shadow 260ms ease, background 260ms ease;
}

#lb507SheetModal.lb507-modal.show {
  display: flex !important;
  animation: lb507ModalFade 180ms ease both;
}

#lb507SheetModal .lb507-sheet {
  animation: lb507SheetUp 260ms cubic-bezier(.16,.9,.24,1) both;
}

#lb507SheetModal .lb507-task {
  transition: transform 220ms cubic-bezier(.16,.9,.24,1), border-color 220ms ease, background 220ms ease, filter 220ms ease;
}

#lb507SheetModal .lb507-task.claiming,
#lb507SheetModal .lb507-task.done {
  border-color: rgba(116,255,183,.34) !important;
  background: linear-gradient(135deg, rgba(116,255,183,.12), rgba(255,255,255,.04)) !important;
}

#lb507SheetModal .lb507-task.claiming {
  animation: lb507TaskClaim 520ms cubic-bezier(.16,.9,.24,1) both;
}

@keyframes lb507ClaimPop {
  0% { transform: scale(1); }
  34% { transform: scale(1.045) translateY(-2px); }
  100% { transform: scale(1); }
}

@keyframes lb507TaskClaim {
  0% { transform: scale(1); }
  44% { transform: scale(1.018); filter: brightness(1.08); }
  100% { transform: scale(1); filter: none; }
}

@keyframes lb507ButtonShine {
  from { transform: translateX(-110%); }
  to { transform: translateX(110%); }
}

@keyframes lb507MapRowIn {
  from { opacity: 0; transform: translateY(12px) scale(.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes lb507ModalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lb507SheetUp {
  from { opacity: 0; transform: translateY(24px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes lb507BoardUnlock {
  0% { transform: scale(1); filter: brightness(1); }
  38% { transform: scale(1.012); filter: brightness(1.12); }
  100% { transform: scale(1); filter: brightness(1); }
}

@media (prefers-reduced-motion: reduce) {
  #lb507Path .lb507-map-row,
  #lb507Path .lb507-node.unlocking,
  #lb507Path .lb507-node.claimed-pop,
  #lb507SheetModal .lb507-sheet,
  #lb507SheetModal .lb507-task.claiming,
  .lb507-claim-burst {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}


/* Codex cleanup: Path claim buttons and task vanish polish. */
.lb507-board .lb507-node{grid-template-columns:54px minmax(0,1fr) 56px!important;padding:8px 7px 8px 8px!important;gap:8px!important;min-height:76px!important;height:76px!important}
.lb507-board .lb507-node-mark{width:52px!important;height:52px!important;min-width:52px!important;border-radius:17px!important;display:grid!important;place-items:center!important;overflow:visible!important}
.lb507-board .lb507-node-mark img{width:48px!important;height:48px!important;max-width:48px!important;max-height:48px!important;object-fit:contain!important;aspect-ratio:1/1!important}
.lb507-board .lb507-node[data-kind="pack"] .lb507-node-mark img{width:52px!important;height:58px!important;max-width:52px!important;max-height:58px!important;aspect-ratio:auto!important;object-fit:contain!important;filter:drop-shadow(0 10px 16px rgba(0,0,0,.34))!important}
.lb507-board .lb507-node-copy{padding:0!important;grid-column:2!important}.lb507-board .lb507-node-copy b{font-size:10.4px!important;line-height:1.08!important}
.lb507-board .lb507-node button{position:static!important;grid-column:3!important;justify-self:end!important;align-self:center!important;min-width:50px!important;min-height:30px!important;padding:5px 7px!important;border-radius:12px!important;font-size:8.2px!important;box-shadow:0 9px 18px rgba(189,19,115,.28)!important}
.lb507-completed-pill{display:inline-grid!important;place-items:center!important;min-height:20px!important;padding:4px 8px!important;border-radius:999px!important;background:rgba(57,245,165,.14)!important;border:1px solid rgba(57,245,165,.28)!important;color:#74ffb7!important;font:1000 9px/1 Nunito,system-ui!important;text-transform:uppercase!important;letter-spacing:.04em!important}
.lb507-task.completed-ready{border-color:rgba(57,245,165,.20)!important;background:linear-gradient(135deg,rgba(57,245,165,.08),rgba(255,54,173,.045))!important}
.lb507-task{transition:opacity .28s ease,transform .28s ease,max-height .36s ease,margin .28s ease,padding .28s ease!important}.lb507-task.claiming{border-color:rgba(57,245,165,.32)!important;background:rgba(57,245,165,.08)!important}.lb507-task.claimed-fade{opacity:0!important;transform:translateX(18px) scale(.98)!important;max-height:0!important;margin:0!important;padding-top:0!important;padding-bottom:0!important;overflow:hidden!important}.lb507-all-claimed{border-color:rgba(57,245,165,.25)!important;background:rgba(57,245,165,.08)!important}


/* Task sheet final cleanup: ready-to-claim rows should not look like already-counted completions. */
.lb507-task-actions{align-content:center!important;min-width:118px!important}
.lb507-task-actions .lb507-completed-pill{background:rgba(255,211,78,.13)!important;border-color:rgba(255,211,78,.32)!important;color:#ffe082!important}
.lb507-task.completed-ready{background:linear-gradient(135deg,rgba(255,211,78,.055),rgba(255,54,173,.045))!important}
.lb507-task-hero strong{white-space:nowrap!important;min-width:max-content!important}
@media (max-width:480px){.lb507-task{grid-template-columns:58px minmax(0,1fr) 118px!important}.lb507-task-actions button{min-width:96px!important}.lb507-task-actions em{font-size:14px!important}}
