/* BloxDesk redesign "Candy Arcade" (light, for players aged about 9 to 12). Layer on top of style.css.
   Light, warm surfaces; each game keeps a strong accent colour for borders, tier bands, buttons, glows and chips.
   Ads/consent markup and CSS are untouched; the consent banner keeps its original look. */
@font-face {
  font-family: "Lilita One"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/lilita-one-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
:root {
  --bx-bg: #fff8ee; --bx-card: #ffffff; --bx-card2: #f2f0ff; --bx-line: #e7e2f6;
  --bx-ink: #1c1a3a; --bx-muted: #4f4b72;
  --bx-teal: #14d9b8; --bx-pink: #ff5cae; --bx-red: #ff5c74; --bx-amber: #ffc233; --bx-violet: #a48bff; --bx-sky: #4cc3ff; --bx-orange: #ff9f1c;
  --bx-display: "Lilita One", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --accent: var(--bx-teal); --accent-ink: #007565; --accent-soft: rgba(20, 217, 184, 0.16);
  --ink: var(--bx-ink); --muted: var(--bx-muted); --line: var(--bx-line); --bg: var(--bx-bg); --card: #fff;
  --shadow: 0 10px 26px rgba(80, 60, 160, 0.10); --shadow-hover: 0 16px 34px rgba(80, 60, 160, 0.16);
}
body[data-accent="teal"] { --accent: var(--bx-teal); --accent-ink: #007565; --accent-soft: rgba(20, 217, 184, 0.16); }
body[data-accent="pink"] { --accent: var(--bx-pink); --accent-ink: #b5136e; --accent-soft: rgba(255, 92, 174, 0.15); }
body[data-accent="crimson"] { --accent: var(--bx-red); --accent-ink: #c0122f; --accent-soft: rgba(255, 92, 116, 0.15); }
body[data-accent="amber"] { --accent: var(--bx-amber); --accent-ink: #8a5300; --accent-soft: rgba(255, 194, 51, 0.2); }
body {
  color: var(--bx-ink);
  background:
    radial-gradient(900px 480px at 6% -6%, rgba(76, 195, 255, 0.16), transparent 60%),
    radial-gradient(760px 440px at 96% 2%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%),
    radial-gradient(700px 420px at 60% 100%, rgba(164, 139, 255, 0.10), transparent 60%),
    var(--bx-bg);
}
a { color: var(--accent-ink); }
a:hover { color: var(--bx-ink); }
:focus-visible { outline: 3px solid #5b3df5; outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, .pb-t, .brand strong, .hg-title, .tier-mark, .stat b {
  font-family: var(--bx-display); font-weight: 400; letter-spacing: 0.01em; color: var(--bx-ink);
}
h2 { font-size: clamp(24px, 3.2vw, 32px); }
h3 { font-size: 19px; }
.muted, .small, .lead { color: var(--bx-muted); }
.kicker { background: color-mix(in srgb, var(--accent) 22%, #fff); color: var(--bx-ink); border: 1px solid color-mix(in srgb, var(--accent) 60%, #fff); }

/* ---------- header, sub nav, footer ---------- */
.fanbar { background: #f1edff; color: var(--bx-muted); }
.site-header { background: #fff; color: var(--bx-ink); border-bottom: 0; box-shadow: 0 6px 20px rgba(80, 60, 160, 0.08); }
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px;
  background: linear-gradient(90deg, var(--bx-teal), var(--bx-sky) 25%, var(--bx-violet) 50%, var(--bx-pink) 75%, var(--bx-amber));
}
.brand, .brand strong { color: var(--bx-ink); }
.brand strong { font-size: 21px; }
.brand small { color: var(--bx-muted); }
.nav a, .drop-t { color: var(--bx-ink); }
.nav a:hover, .nav a[aria-current], .drop-t[aria-current] { background: var(--bx-card2); color: var(--bx-ink); }
.menu-btn { background: var(--bx-card2); color: var(--bx-ink); border: 1px solid var(--bx-line); }
.site-search input[type="search"] { background: #f7f5ff; border: 2px solid var(--bx-line); color: var(--bx-ink); }
.site-search input[type="search"]::placeholder { color: #5f5b84; }
.site-search input[type="search"]:focus { border-color: var(--bx-violet); background: #fff; }
.game-sub { background: #ffffffe8; border-bottom: 1px solid var(--bx-line); }
.game-sub a { color: var(--bx-ink); border-radius: 999px; }
.game-sub a:hover { background: var(--bx-card2); color: var(--bx-ink); }
.game-sub a[aria-current] {
  background: var(--accent); color: var(--bx-ink) !important;
  box-shadow: 0 4px 0 color-mix(in srgb, var(--accent) 60%, #000), 0 8px 18px color-mix(in srgb, var(--accent) 35%, transparent);
}
.site-footer { background: #f1edff; color: var(--bx-muted); border-top: 0; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--bx-amber), var(--bx-pink), var(--bx-violet), var(--bx-sky), var(--bx-teal)); }
.site-footer a { color: var(--bx-ink); }
.site-footer strong { color: var(--bx-ink); font-family: var(--bx-display); font-weight: 400; letter-spacing: .02em; }
.site-footer .disc, .site-footer p { color: var(--bx-muted); }

/* ---------- buttons, chips ---------- */
.quick a, .btn, .news-links a, .related a, .chip-nav a { border-radius: 999px; font-weight: 800; }
.quick a, .btn {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 80%, #fff), var(--accent));
  color: var(--bx-ink) !important; border: 0;
  box-shadow: 0 6px 0 color-mix(in srgb, var(--accent) 60%, #000), 0 12px 24px color-mix(in srgb, var(--accent) 30%, transparent);
  transition: transform .15s ease, box-shadow .15s ease;
}
.quick a:hover, .btn:hover { transform: translateY(-2px); color: var(--bx-ink) !important; }
.quick a.gold, .btn.gold { background: linear-gradient(180deg, #ffd96b, var(--bx-amber)); box-shadow: 0 6px 0 #c98a00, 0 12px 24px rgba(255, 194, 51, .35); }
.quick a.ghost, .btn.ghost, .hero .quick a.ghost {
  background: #fff !important; color: var(--bx-ink) !important; border: 2px solid color-mix(in srgb, var(--accent) 70%, #fff);
  box-shadow: 0 5px 0 color-mix(in srgb, var(--accent) 35%, #d9d4ee);
}
.quick a.ghost:hover, .hero .quick a.ghost:hover { background: var(--accent-soft) !important; }
.related a, .chip-nav a, .news-links a { background: #fff; border: 2px solid var(--bx-line); color: var(--bx-ink); }
.related a:hover, .chip-nav a:hover, .news-links a:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--bx-ink); }
.chip-nav a[aria-current], .news-links a.gold { background: var(--accent); color: var(--bx-ink); border-color: transparent; }
.copy {
  background: linear-gradient(180deg, #5ff0d6, var(--bx-teal)); color: var(--bx-ink);
  box-shadow: 0 5px 0 #0c9c84, 0 10px 20px rgba(20, 217, 184, .3);
}
.copy:active { transform: translateY(3px); box-shadow: 0 2px 0 #0c9c84; }
.copy.copied { background: #4ade80; color: var(--bx-ink); }
.updated, .pbanner .updated { background: #fff !important; color: var(--bx-ink) !important; border: 2px solid var(--bx-line) !important; }

/* ---------- cards / surfaces: white with soft colourful shadows ---------- */
.gcard, .card, .note, .empty, .faq, .guide-card, .tip-card, .news-card, .item-card, .tier-card, .code-row, .stat, .toc, .value-calc, .heat-panel, .charts-panel, .chart-card {
  background: #fff; border-color: var(--bx-line); color: var(--bx-ink);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 12%, rgba(80, 60, 160, 0.08));
}
.note.warn, .fun-banner, .check-banner, .opinion-banner {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, #fff), #fff) !important;
  border-left: 5px solid var(--accent) !important;
}
.faq summary { color: var(--bx-ink); }
.faq p { color: var(--bx-muted); }
.faq[open] { border-color: var(--accent) !important; }
.card, .gcard, .news-card, .item-card, .tier-card, .home-game, .need { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
a.card:hover, .gcard:hover, .news-card:hover, .item-card:hover, .home-game:hover, .tier-card:hover {
  transform: translateY(-3px); border-color: var(--accent) !important;
  box-shadow: 0 16px 32px color-mix(in srgb, var(--accent) 28%, transparent);
}

/* ---------- sub page hero: official game art on a light, bright backdrop ---------- */
.pbanner.bx-hero { min-height: 0; display: block; text-align: left; background: #fff; border-bottom: 0; margin-bottom: 18px; isolation: isolate; }
body .pbanner.bx-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.95) 0%, rgba(255, 250, 242, 0.86) 48%, rgba(255, 250, 242, 0.35) 100%),
    linear-gradient(0deg, var(--bx-bg) 0%, transparent 35%) !important;
}
.bx-hero > .bx-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; filter: saturate(1.3) blur(6px); transform: scale(1.08); }
.bx-hero .pb-in {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); column-gap: 44px; align-items: center;
  text-align: left; padding: 40px 0 38px; min-height: 330px; z-index: 1;
}
.bx-hero .pb-in > * { grid-column: 1; justify-self: start; }
.bx-hero .crumbs, .bx-hero .crumbs a { color: var(--bx-muted); }
.bx-hero .kicker { margin-top: 10px; background: var(--bx-amber); color: var(--bx-ink); border: 0; }
.bx-hero .pb-t, .bx-hero h1 {
  font-size: clamp(32px, 4.6vw, 56px); line-height: 1.02; margin: 4px 0 12px; color: var(--bx-ink);
  text-shadow: 0 3px 0 color-mix(in srgb, var(--accent) 45%, #fff);
}
.bx-hero .pb-s { color: #2e2b52; margin: 0 0 14px; max-width: 40rem; font-size: 17px; }
.bx-hero .quick { justify-content: flex-start; }
.bx-hero .banner-icon { display: none; }
.bx-hero-card {
  grid-column: 2 !important; grid-row: 1 / span 12; justify-self: end !important; margin: 0; width: 100%;
  border-radius: 24px; overflow: hidden; transform: rotate(2deg); border: 5px solid #fff;
  box-shadow: 0 0 0 4px var(--accent), 0 22px 50px color-mix(in srgb, var(--accent) 40%, rgba(60, 40, 140, .25));
}
.bx-hero-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
@keyframes bx-float { 0%, 100% { transform: rotate(2deg) translateY(0); } 50% { transform: rotate(1deg) translateY(-8px); } }
@keyframes bx-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (hover: hover) and (min-width: 861px) and (prefers-reduced-motion: no-preference) {
  .bx-hero-card { animation: bx-float 7s ease-in-out 1.5s infinite; }
  .bx-st { animation: bx-bob 6s ease-in-out 1.5s infinite; }
}
.bx-hero-mix .bx-mosaic { position: absolute; inset: 0; z-index: -1; display: grid; grid-template-columns: repeat(4, 1fr); }
.bx-mo-t { overflow: hidden; }
.bx-mo-t img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.2); }
body .bx-hero-mix::after {
  background: linear-gradient(90deg, rgba(255,250,242,.95) 0%, rgba(255,250,242,.82) 55%, rgba(255,250,242,.45) 100%), linear-gradient(0deg, var(--bx-bg) 0%, transparent 40%) !important;
}
.bx-hero-mix .pb-in { grid-template-columns: minmax(0, 1fr); min-height: 260px; }

/* ---------- home ---------- */
.hero.bx-home { background: #fff; border-bottom: 0; text-align: left; padding: 54px 0 46px; isolation: isolate; }
.bx-home-bg { position: absolute; inset: 0; z-index: -1; opacity: .55; }
@media (min-width: 861px) { .bx-home-bg { background: url("/assets/img/art/blox-fruits-2.webp") center / cover no-repeat; filter: blur(5px) saturate(1.3); transform: scale(1.06); } }
.hero.bx-home::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(700px 400px at 80% 40%, rgba(255, 92, 174, .18), transparent 70%),
    linear-gradient(90deg, rgba(255,250,242,.96) 0%, rgba(255,250,242,.82) 55%, rgba(255,250,242,.55) 100%),
    linear-gradient(0deg, var(--bx-bg) 0%, transparent 35%);
}
.bx-home-in.wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: 40px; align-items: center; text-align: left; }
.bx-home-in > * { grid-column: 1; justify-self: start; margin-left: 0 !important; }
.hero.bx-home h1 { font-size: clamp(36px, 5.4vw, 66px); line-height: 1; max-width: 13ch; color: var(--bx-ink); text-shadow: 0 4px 0 rgba(20, 217, 184, .45); }
.hero.bx-home .lead { color: #2e2b52; margin-left: 0; }
.hero.bx-home .kicker { background: var(--bx-amber); color: var(--bx-ink); border: 0; }
.hero.bx-home .quick, .hero.bx-home .stats { justify-content: flex-start; }
.hero.bx-home .stat { background: rgba(255,255,255,.9); border: 2px solid var(--bx-line); }
.hero.bx-home .stat b { font-size: 26px; }
.bx-stack { grid-column: 2 !important; grid-row: 1 / span 8; justify-self: stretch !important; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; transform: rotate(-3deg); }
.bx-st { border-radius: 20px; overflow: hidden; border: 5px solid #fff; }
.bx-st img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.bx-st-0 { box-shadow: 0 0 0 4px var(--bx-teal), 0 16px 36px rgba(20,217,184,.35); }
.bx-st-1 { margin-top: 26px; box-shadow: 0 0 0 4px var(--bx-pink), 0 16px 36px rgba(255,92,174,.35); }
.bx-st-2 { margin-top: -26px; box-shadow: 0 0 0 4px var(--bx-red), 0 16px 36px rgba(255,92,116,.35); }
.bx-st-3 { box-shadow: 0 0 0 4px var(--bx-amber), 0 16px 36px rgba(255,194,51,.4); }

/* game picker cards with key art */
.home-games { gap: 16px !important; }
@media (min-width: 1000px) { .home-games { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
.home-game { background: #fff !important; border: 3px solid #fff !important; border-radius: 24px !important; overflow: hidden; padding: 0 !important; display: flex !important; flex-direction: column; color: var(--bx-ink) !important; box-shadow: 0 10px 26px color-mix(in srgb, var(--c, var(--bx-teal)) 25%, transparent) !important; }
.home-game .hg-art { position: relative; display: block; width: 100%; padding: 0 !important; background: none !important; border-radius: 0 !important; }
.home-game .bx-cover { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.home-game .hg-art .gicon { position: absolute; left: 14px; bottom: -26px; width: 64px !important; height: 64px !important; border-radius: 16px; border: 3px solid #fff; box-shadow: 0 6px 14px rgba(60,40,140,.2); }
.home-game .hg-body { padding: 34px 16px 16px !important; }
/* safety net (15.11.2026): a card without cover keeps its icon inside the card instead of clipping it at the top edge */
.home-game .hg-art:not(:has(.bx-cover)) .gicon { position: static; margin: 16px 0 0 16px; }
.home-game .hg-art:not(:has(.bx-cover)) + .hg-body { padding-top: 12px !important; }
.home-game .hg-title { font-size: 24px; color: var(--bx-ink); }
.home-game .hg-kicker { color: var(--bx-muted) !important; }
.home-game .hg-blurb { color: var(--bx-muted) !important; }
.home-game .hg-meta { color: var(--bx-ink) !important; background: color-mix(in srgb, var(--c) 18%, #fff); border-radius: 999px; padding: 3px 10px; display: inline-block; }
.home-game .hg-cta { color: var(--bx-ink) !important; background: var(--c, var(--bx-teal)) !important; border-radius: 999px; box-shadow: 0 4px 0 color-mix(in srgb, var(--c) 60%, #000); }
.home-game.teal { --c: var(--bx-teal); } .home-game.pink { --c: var(--bx-pink); } .home-game.crimson { --c: var(--bx-red); } .home-game.amber { --c: var(--bx-amber); }
.home-game:hover { border-color: var(--c) !important; }

/* hub / games cards */
.gcard { padding: 0 !important; overflow: hidden; border-radius: 22px !important; border: 3px solid #fff !important; box-shadow: 0 10px 26px color-mix(in srgb, var(--card-accent) 25%, transparent) !important; }
.gcard .bar { display: none; }
.bx-cover-w { display: block; position: relative; }
.gcard .bx-cover { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.gcard > .gicon { width: 64px !important; height: 64px !important; border-radius: 16px; margin: -32px 0 0 14px !important; position: relative; border: 3px solid #fff; box-shadow: 0 6px 14px rgba(60,40,140,.2); }
.gcard h3, .gcard p { padding: 0 16px; }
.gcard h3 { margin-top: 8px !important; font-size: 24px; }
.gcard p:last-child { padding-bottom: 16px; }
.gcard.teal { --card-accent: var(--bx-teal); } .gcard.pink { --card-accent: var(--bx-pink); } .gcard.crimson { --card-accent: var(--bx-red); } .gcard.amber { --card-accent: var(--bx-amber); }
.gcard:hover { border-color: var(--card-accent) !important; }

/* need cards / fan tools */
.need-cards .need, a.card.need { position: relative; overflow: hidden; }
.need-cards .need .desk-icon { width: 72px; height: 72px; border-radius: 18px; }
.need-cards .need::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%); }
a.card.need[href*="combo-builder"]::before, a.card.need[href*="neon-tracker"]::before, a.card.need[href*="trade-safety"]::before, a.card.need[href*="wishlist"]::before {
  content: ""; display: block; width: 72px; height: 72px; border-radius: 18px; margin-bottom: 6px; background: var(--bx-card2) center / 80% no-repeat; border: 2px solid var(--bx-line);
}
a.card.need[href*="combo-builder"]::before { background-image: url("/assets/img/items/blox-fruits/kitsune.webp"); }
a.card.need[href*="neon-tracker"]::before { background-image: url("/assets/img/games/adopt-me.webp"); background-size: cover; }
a.card.need[href*="trade-safety"]::before { background-image: url("/assets/img/games/murder-mystery-2.webp"); background-size: cover; }
a.card.need[href*="wishlist"]::before { background-image: url("/assets/img/ui/icon-values.webp"); background-size: cover; }

/* empty states: art instead of bare text */
.bx-empty { position: relative; overflow: hidden; padding: 0 !important; }
.bx-empty .bx-empty-art { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; filter: saturate(.8); }
.bx-empty h3, .bx-empty p { padding: 0 16px; }
.bx-empty h3 { margin-top: 12px; }
.bx-empty p:last-child { padding-bottom: 16px; }
.bx-empty > p:nth-of-type(1) { display: inline-block; margin: 6px 16px 8px !important; padding: 4px 12px; border-radius: 999px; background: var(--bx-card2); color: var(--bx-muted); }
.empty.bx-empty-hero { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 0 22px; align-items: center; text-align: left; padding: 0 !important; overflow: hidden; border: 3px solid color-mix(in srgb, var(--accent) 50%, #fff) !important; }
.empty.bx-empty-hero .bx-empty-art { grid-row: 1 / span 3; width: 100%; height: 100%; min-height: 170px; object-fit: cover; }
.empty.bx-empty-hero strong { font-family: var(--bx-display); font-weight: 400; font-size: 26px; color: var(--bx-ink); margin-top: 14px; }
.empty.bx-empty-hero p { padding-right: 18px; margin-bottom: 16px; }

/* news cards */
.news-card { border-radius: 22px !important; overflow: hidden; }
.news-media img { transition: transform .4s ease; }
.news-card:hover .news-media img { transform: scale(1.05); }
.news-media-empty.bx-nm { position: relative; padding: 0 !important; background: var(--bx-card2) !important; }
.bx-nm .bx-nm-art { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/9; }
.bx-nm .gicon { position: absolute; left: 12px; bottom: 12px; width: 56px !important; height: 56px !important; border-radius: 14px; border: 3px solid #fff; }

/* home feed */
.today-feed { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; padding: 0 !important; list-style: none; }
.today-feed > li { background: #fff !important; border: 2px solid var(--bx-line) !important; border-radius: 20px !important; margin: 0 !important; box-shadow: 0 8px 22px rgba(80,60,160,.08); }
.today-feed .feed-visual { background: radial-gradient(circle, rgba(164,139,255,.25), transparent 70%) !important; border-radius: 16px; }
.today-feed .feed-kicker { color: #007565 !important; }
.today-feed strong { font-family: var(--bx-display); font-weight: 400; font-size: 19px; color: var(--bx-ink); }
.today-feed p { font-size: 14px; }
.feature-grid .feature-visual { background: radial-gradient(circle, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%), var(--bx-card2) !important; }

/* ---------- codes: ticket cards ---------- */
.code-list { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
.code-row {
  position: relative; grid-template-columns: 46px minmax(0, 1fr) auto !important; grid-template-areas: "ic code btn" "ic rw btn";
  gap: 4px 12px !important; padding: 14px 14px 14px 12px !important; border-radius: 18px !important; overflow: hidden;
  border: 2px solid color-mix(in srgb, var(--rw, var(--bx-teal)) 35%, #fff) !important; border-left: 6px solid var(--rw, var(--bx-teal)) !important;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--rw, var(--bx-teal)) 18%, transparent) !important;
}
.code-row::before { grid-area: ic; align-self: center; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: color-mix(in srgb, var(--rw, var(--bx-teal)) 22%, #fff); content: "🎁"; }
.code-row.rw-xp { --rw: var(--bx-teal); } .code-row.rw-xp::before { content: "⚡"; }
.code-row.rw-reset { --rw: var(--bx-violet); } .code-row.rw-reset::before { content: "🔄"; }
.code-row.rw-cash { --rw: var(--bx-amber); } .code-row.rw-cash::before { content: "💰"; }
.code-row.rw-item { --rw: var(--bx-pink); } .code-row.rw-item::before { content: "⭐"; }
.code-row.rw-gift { --rw: var(--bx-sky); }
.code-row .code-name { grid-area: code; min-width: 0; }
.code-row .reward { grid-area: rw; color: var(--bx-muted); font-size: 14px; }
.code-row > .copy, .code-row > .muted { grid-area: btn; align-self: center; }
.code-row code { background: transparent !important; border: 0 !important; padding: 0 !important; color: var(--bx-ink) !important; font-size: 17px; letter-spacing: .04em; font-weight: 800; }
.badge-new { background: #e0157f !important; color: #fff !important; border-radius: 999px; box-shadow: 0 0 10px rgba(255,92,174,.5); }
details > .code-list .code-row { opacity: .75; }

/* ---------- tier lists: bright bands with image tiles ---------- */
.tier-block { --tc: var(--accent); margin: 22px 0 30px; padding: 16px; border-radius: 24px; background: linear-gradient(135deg, color-mix(in srgb, var(--tc) 18%, #fff), #fff 70%); border: 3px solid color-mix(in srgb, var(--tc) 55%, #fff); }
#tier-SS { --tc: var(--bx-pink); } #tier-S { --tc: var(--bx-red); } #tier-A { --tc: var(--bx-orange); } #tier-B { --tc: #ffd23d; } #tier-C { --tc: var(--bx-teal); } #tier-D { --tc: #b9b6d6; }
.tier-h { align-items: center; }
.tier-mark { width: 64px; height: 64px; border-radius: 18px; font-size: 38px; color: var(--bx-ink) !important; background: var(--tc) !important; box-shadow: 0 6px 0 color-mix(in srgb, var(--tc) 60%, #000), 0 10px 22px color-mix(in srgb, var(--tc) 40%, transparent); }
.tier-list { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)) !important; gap: 12px !important; }
.tier-card { flex-direction: column; align-items: stretch !important; gap: 6px !important; padding: 0 0 12px !important; border-radius: 20px !important; overflow: hidden; text-align: center; border: 2px solid #fff !important; box-shadow: 0 8px 18px color-mix(in srgb, var(--tc) 25%, transparent) !important; }
.tier-card > .ithumb, .tier-card > img, .tier-card > .ithumb-fallback {
  width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; object-fit: contain; padding: 14px; margin: 0 !important;
  background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--tc) 45%, #fff), color-mix(in srgb, var(--tc) 10%, #fff) 70%);
  border-radius: 0 !important; border: 0 !important; transition: transform .25s ease;
}
.tier-card:hover > img { transform: scale(1.06); }
.tier-card > div { padding: 0 10px; }
.tier-card strong { font-family: var(--bx-display); font-weight: 400; font-size: 19px; color: var(--bx-ink); letter-spacing: .02em; }
.tier-card .tag { font-size: 11px; }
.tier-card p.muted { font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tier-card:hover p.muted, .tier-card:focus-within p.muted { -webkit-line-clamp: unset; }

/* items / values */
.item-card { border-radius: 20px !important; }
.item-card .ithumb, .item-card img.ithumb, .heat-cell img { background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, #fff), transparent 72%); border-radius: 14px; }
.item-card .item-val { color: var(--accent-ink) !important; font-family: var(--bx-display); font-weight: 400; font-size: 18px; }
.heat-cell { border-radius: 18px !important; }
.tldr { border-left-color: var(--bx-amber) !important; }
.value-calc { border-radius: 24px !important; border: 3px solid color-mix(in srgb, var(--accent) 55%, #fff) !important; }
.calc-total b, .calc-diff b { font-family: var(--bx-display); font-weight: 400; font-size: 22px; }
.bx-later { margin-top: 26px; }

/* best pick by goal */
.bx-goal { display: grid !important; grid-template-columns: 72px minmax(0, 1fr); column-gap: 14px; align-items: start; }
.bx-goal .bx-goal-img { grid-row: 1 / span 2; width: 72px; height: 72px; object-fit: contain; border-radius: 18px; padding: 6px; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 40%, #fff), var(--bx-card2) 72%); }
.bx-goal h3 { margin: 0 0 4px !important; font-size: 17px; color: var(--accent-ink) !important; }
.bx-goal p { font-size: 14px; line-height: 1.45; }
.bx-goal p strong { font-family: var(--bx-display); font-weight: 400; font-size: 20px; color: var(--bx-ink); }

/* ---------- motion & a11y ---------- */
@media (prefers-reduced-motion: reduce) {
  .bx-hero-card, .bx-st { animation: none !important; }
  .card, .gcard, .news-card, .item-card, .tier-card, .home-game, .quick a, .btn { transition: none !important; transform: none !important; }
}

/* ---------- mobile first ---------- */
@media (max-width: 860px) {
  .bx-hero .pb-in { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 0 0 18px; margin-top: -18px; }
  .bx-hero > .bx-hero-bg { position: relative; inset: auto; display: block; height: auto; aspect-ratio: 16 / 7.2; transform: none; filter: saturate(1.2); z-index: 0; }
  body .pbanner.bx-hero::after { background: linear-gradient(180deg, transparent 0, transparent 26vw, rgba(255,248,238,.85) 38vw, var(--bx-bg) 46vw, var(--bx-bg) 100%) !important; }
  .bx-hero .crumbs { background: rgba(255,255,255,.85); padding: 2px 10px; border-radius: 999px; }
  .bx-hero-card { display: none; }
  .bx-hero .pb-t, .bx-hero h1 { font-size: clamp(30px, 8.4vw, 40px); }
  .bx-hero .pb-s { font-size: 15.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .bx-hero .crumbs { font-size: 13px; }
  .bx-hero-mix .bx-mosaic { position: relative; height: auto; aspect-ratio: 16 / 7.2; }
  .bx-hero-mix .pb-in { min-height: 0; }
  .hero.bx-home { padding: 30px 0 26px; }
  .bx-home-in.wrap { grid-template-columns: minmax(0, 1fr); }
  .bx-stack { grid-column: 1 !important; grid-row: auto; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; transform: none; margin: 20px -16px 0; padding: 8px 16px 14px; width: calc(100% + 32px); scrollbar-width: none; }
  .bx-st { flex: 0 0 62%; scroll-snap-align: start; margin: 0 !important; }
  .hero.bx-home h1 { font-size: clamp(34px, 10vw, 46px); }
  .empty.bx-empty-hero { grid-template-columns: minmax(0, 1fr); }
  .empty.bx-empty-hero .bx-empty-art { grid-row: auto; min-height: 0; aspect-ratio: 16/9; }
  .empty.bx-empty-hero strong, .empty.bx-empty-hero p { padding: 0 16px; }
  .tier-list { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px !important; }
  .tier-card > div { padding: 0 6px; }
  .tier-card strong { font-size: 15px; }
  .tier-card .tag, .tier-card .demand-tag, .tier-card p.muted { display: none; }
  .tier-block { padding: 12px; }
  .tier-h p.muted { font-size: 13px; }
  .code-list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .code-row { padding: 10px !important; grid-template-columns: 40px minmax(0, 1fr) auto !important; }
  .code-row::before { width: 40px; height: 40px; font-size: 20px; }
  .code-row .copy { min-width: 76px; padding: 10px 12px; }
}
@media (max-width: 700px) {
  .cards.bx-goals { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 -16px; padding: 4px 16px 10px; scrollbar-width: none; }
  .cards > .bx-goal { flex: 0 0 78%; scroll-snap-align: start; }
  .bx-goal p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (max-width: 520px) {
  #tier-S .tier-list { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  #tier-S .tier-card { flex: 0 0 44%; scroll-snap-align: start; }
}

/* ---------- consent banner + onboarding keep their original look ---------- */
.ads-consent, .onboard { --ink: #1d2430; --muted: #5e6878; --line: #e3ddd0; --card: #ffffff; --bg: #f6f3ec; --navy: #1b2433; }
.ads-consent a { color: #0f766e; }
.onboard h2 { font-family: inherit; font-weight: 800; color: #1d2430; }

/* value chips (were dark in style.css with dark text): light, colour-coded */
.dual-primary, .dual-badge { background: #eef0ff; border-color: #cfd3ff; color: var(--bx-ink); }
.dual-alt { background: #e3fbf5; border-color: #9cebdc; }
.dual-mm2 { background: #efeaff; border-color: #cbbcff; }
.dual-supreme { background: #ffe8ee; border-color: #ffb3c3; }
.dual-primary small, .dual-alt small, .dual-badge small { color: var(--bx-muted); }
.extra-card, .set-card { background: #fff; border-color: var(--bx-line); color: var(--bx-ink); box-shadow: 0 8px 22px rgba(80,60,160,.08); }
.sec-h a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 4px; }
/* news cards without own image beyond the 3 art motifs: CSS-only placeholder */
.bx-nm-plain { --nc: var(--bx-violet); aspect-ratio: 16/9; background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.7) 0 18%, transparent 19%), radial-gradient(circle at 15% 85%, rgba(255,255,255,.45) 0 12%, transparent 13%), linear-gradient(135deg, color-mix(in srgb, var(--nc) 55%, #fff), color-mix(in srgb, var(--nc) 22%, #fff)) !important; }
.bx-nm-plain.bx-g-blox-fruits { --nc: var(--bx-teal); }
.bx-nm-plain.bx-g-adopt-me { --nc: var(--bx-pink); }
.bx-nm-plain.bx-g-murder-mystery-2 { --nc: var(--bx-red); }
.bx-nm-plain.bx-g-steal-an-egg { --nc: var(--bx-amber); }
.bx-nm-plain .gicon { left: 50% !important; top: 50%; bottom: auto !important; transform: translate(-50%, -50%); width: 72px !important; height: 72px !important; box-shadow: 0 8px 0 rgba(28,26,58,.18); }
.bx-nm-icon { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; transform: translate(-50%, -50%); border-radius: 16px; border: 3px solid #fff; background: #fff center / cover no-repeat; box-shadow: 0 8px 0 rgba(28,26,58,.18); }
.bx-g-blox-fruits .bx-nm-icon { background-image: url(/assets/img/games/blox-fruits.webp); }
.bx-g-adopt-me .bx-nm-icon { background-image: url(/assets/img/games/adopt-me.webp); }
.bx-g-murder-mystery-2 .bx-nm-icon { background-image: url(/assets/img/games/murder-mystery-2.webp); }
.bx-g-steal-an-egg .bx-nm-icon { background-image: url(/assets/img/games/steal-an-egg.webp); }
/* mobile game strip (style.css ships it dark): light glass bar with the rainbow edge */
@media (max-width: 860px) {
  .hg-strip { background: rgba(255, 250, 242, .96) !important; border-top: 3px solid var(--bx-teal) !important; box-shadow: 0 -8px 24px rgba(76, 60, 160, .12); }
  .hg-strip-item, .hg-strip-item:hover, .hg-strip-item:active { color: var(--bx-ink) !important; }
  .hg-strip-item:hover, .hg-strip-item:active { background: var(--accent-soft) !important; }
  .hg-strip-item .gicon { border: 2px solid #fff; box-shadow: 0 3px 0 rgba(28, 26, 58, .15); }
}
/* narrow phones: hero CTAs in one row, a bit tighter, so the section link above the game strip stays tappable */
@media (max-width: 560px) {
  .hero.bx-home { padding: 16px 0 6px; }
  .hero.bx-home .quick { flex-wrap: nowrap; gap: 8px; }
  .hero.bx-home .quick a { padding: 0 12px; min-height: 44px; font-size: 14.5px; white-space: nowrap; }
  .hero.bx-home .lead { margin-bottom: 14px; }
}
@media (max-width: 390px) { .hero.bx-home .quick { gap: 6px; } .hero.bx-home .quick a { padding: 0 8px; font-size: 13.5px; } }
@media (max-width: 340px) { .hero.bx-home .quick { flex-wrap: wrap; } }
/* ---------- tier tiles v2: 160px item images shown larger, name placeholders as colourful cards ---------- */
.tier-card > img, .tier-card > .ithumb { padding: 12px !important; image-rendering: auto; filter: drop-shadow(0 6px 8px rgba(28, 26, 58, .18)); }
.tier-card > img.ithumb { border-radius: 0 !important; }
.tier-card.bx-ph { border-style: dashed !important; border-color: color-mix(in srgb, var(--tc) 70%, #fff) !important; }
.bx-ph-art {
  position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.85) 0 5%, transparent 5.5%),
    radial-gradient(circle at 82% 30%, rgba(255,255,255,.6) 0 3.5%, transparent 4%),
    radial-gradient(circle at 72% 84%, rgba(255,255,255,.7) 0 4.5%, transparent 5%),
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--tc) 62%, #fff) 0 14px, color-mix(in srgb, var(--tc) 44%, #fff) 14px 28px);
}
.bx-ph-art > img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; margin: 0 !important; }
.bx-ph-art::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 46%; height: 58%; transform: translate(-50%, -46%);
  border-radius: 50% 50% 46% 46% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 35% 30%, #fff 0 18%, #fff7e0 40%, #ffe3a3 100%);
  border: 3px solid #fff; box-shadow: 0 8px 0 rgba(28, 26, 58, .16), 0 14px 22px color-mix(in srgb, var(--tc) 45%, transparent);
}
.bx-ph-art::after {
  content: "?"; content: "?" / ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -38%);
  font-family: var(--bx-display); font-size: 40px; line-height: 1; color: var(--accent-ink);
}
@media (hover: hover) and (min-width: 861px) { .tier-card.bx-ph:hover .bx-ph-art::before { transform: translate(-50%, -50%) rotate(-6deg); transition: transform .2s ease; } }
@media (max-width: 860px) { .bx-ph-art::after { font-size: 28px; } }
/* goal cards: rows stay at the top when a swipe row stretches the card */
.bx-goal { align-content: start; }
@media (max-width: 700px) { .cards.bx-goals > .card { flex: 0 0 78%; scroll-snap-align: start; } }

/* Guide image row (guide_images.inject): picture grid after hero/lead, not a slider.
   Images keep width/height (128x128) so the square aspect-ratio avoids CLS. */
.guide-thumbs.guide-imgs[data-block="guide-images"] {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 12px;
  margin: 18px 0 8px;
}
.guide-thumbs.guide-imgs .guide-thumb {
  margin: 0;
  padding: 12px 10px 10px;
  text-align: center;
  background: #fff;
  border: 2px solid var(--bx-line);
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(76, 60, 160, .1);
}
.guide-thumbs.guide-imgs .guide-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 0 auto;
}
.guide-thumbs.guide-imgs .guide-thumb figcaption {
  margin-top: 8px;
  font-family: var(--bx-display);
  font-weight: 400;
  font-size: 15px;
  color: var(--bx-ink);
}
.guide-imgs-credit { margin: 0 0 18px; }
@media (max-width: 700px) {
  .guide-thumbs.guide-imgs[data-block="guide-images"] { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .guide-thumbs.guide-imgs .guide-thumb { padding: 8px 6px 6px; border-radius: 14px; }
  .guide-thumbs.guide-imgs .guide-thumb figcaption { font-size: 12px; }
}

/* Large value lists: no per-row shadows, filters, or hover lifts (avoids paint/TBT on ~100 cards). */
.item-card,
.item-grid .item-card {
  box-shadow: none !important;
  transition: none !important;
  transform: none !important;
}
.item-card:hover,
.item-grid .item-card:hover {
  transform: none !important;
  box-shadow: none !important;
}
.item-card .ithumb,
.item-card img.ithumb,
.heat-cell img {
  background: transparent;
  filter: none;
}
table.data tr,
table.data td,
table.data th {
  box-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
}

/* Grow a Garden hub (15.11.2026): on phones show the whole official thumbnail (no cut text) and the full intro (no 3 line clamp). Scoped to this hub only. */
@media (max-width: 860px) {
  .bx-g-grow-a-garden > .bx-hero-bg { aspect-ratio: 16 / 9; object-fit: cover; object-position: center top; }
  body .pbanner.bx-hero.bx-g-grow-a-garden::after { background: linear-gradient(180deg, transparent 0, transparent 44vw, rgba(255,248,238,.85) 52vw, var(--bx-bg) 58vw, var(--bx-bg) 100%) !important; }
  .bx-g-grow-a-garden .pb-s { display: block; -webkit-line-clamp: unset; overflow: visible; }
}
/* game hubs without the mobile 3 line intro clamp (15.11.2026); CTR/striking test hubs keep it until 26.11. */
@media (max-width: 860px) { .bx-hero.bx-hub-full .pb-s { display: block; -webkit-line-clamp: unset; overflow: visible; } }
