/* OCH.GAMES coming-soon page — the locked landing theme (design/landing/), self-hosted fonts. */

@font-face { font-family: 'Jersey 10'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('assets/fonts/Jersey10-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jersey 10'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('assets/fonts/Jersey10-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url('assets/fonts/Rubik-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url('assets/fonts/Rubik-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }


:root {
  --ground: #0d0b1c;
  --panel: #17142e;
  --panel-2: #1f1b3d;
  --line: rgb(255 255 255 / 0.08);
  --white: #f3efe6;
  --muted: #a39ebd;
  --dim: #6d6890;
  --orange: #ff9a3c;   /* Yield Fields */
  --blue: #2fa9e6;     /* Axie: Den of Mysteries */
  --green: #8cc63f;    /* Maze of Gains */
  --yellow: #ffd23f;   /* Onchain Heroes */
  --edge: 24px;        /* page margin: the site is full width */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ground); color-scheme: dark; }
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; color: var(--white); padding-bottom: 88px;
  font: 16px/1.5 'Rubik', system-ui, sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, rgb(255 210 63 / .07), transparent 60%), var(--ground); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { max-width: 100%; }
::selection { background: var(--yellow); color: var(--ground); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
.h2 { font: 400 34px/1 'Jersey 10', monospace; letter-spacing: .04em; }
.h2 small { font: 500 13px 'Rubik', sans-serif; color: var(--dim); letter-spacing: 0; margin-left: 10px; }
.note { color: var(--muted); font-size: 14px; margin-top: 10px; }
.dot { width: 9px; height: 9px; border-radius: 2px; display: inline-block; flex: none; }
.d-yf { background: var(--orange); } .d-axie { background: var(--blue); } .d-mog { background: var(--green); } .d-och { background: var(--yellow); }

/* header: the floating panel of the OCH sites */
.top { position: relative; z-index: 20; width: calc(100% - var(--edge) * 2); margin: 20px auto 0; display: flex; align-items: center; gap: 24px;
  padding: 14px 20px; background: rgb(13 11 28 / .86); border: 1px solid var(--line); border-radius: 18px; backdrop-filter: blur(8px); }
.wordmark { display: inline-flex; flex-direction: column; gap: 5px; }
.wordmark b { font: 400 34px/0.8 'Jersey 10', monospace; letter-spacing: .04em; }
.wordmark .bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.wordmark .bars i { height: 4px; display: block; }
.bars i:nth-child(1) { background: var(--orange); } .bars i:nth-child(2) { background: var(--blue); }
.bars i:nth-child(3) { background: var(--green); } .bars i:nth-child(4) { background: var(--yellow); }
.links { display: flex; align-items: center; gap: 6px; margin-right: auto; }
.links > a, .dd-btn { padding: 8px 14px; border-radius: 10px; color: var(--muted); font-weight: 500; background: none; border: 0; cursor: pointer; }
.links > a:hover, .dd-btn:hover { color: var(--white); }
.links > a[aria-current="page"] { color: var(--white); background: var(--panel-2); }
/* sign out (OG-09): Discord blurple with the Discord mark, just left of the language switch and as tall as it
   (35 px, radius 11), only when signed in. On a phone only the mark shows; the text stays for screen readers. */
.signout { display: inline-flex; align-items: center; gap: 8px; box-sizing: border-box; height: 35px; margin-right: 10px; padding: 0 14px;
  border-radius: 11px; background: #5865f2; color: #fff; font: 600 14px 'Rubik', sans-serif; white-space: nowrap; }
.signout:hover { background: #4752c4; }
.signout[hidden] { display: none; }
.signout .dc { width: 18px; height: 18px; flex: none; }
.btn.signin .dc { width: 22px; height: 22px; flex: none; }
@media (max-width: 760px) {
  .signout { padding: 0 8px; margin-right: 0; } /* the header gap spaces it; 360 px phones keep one row */
  .signout span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 380px) { header.top { column-gap: 6px; } } /* the narrowest phones: wordmark, menu, sign out and language on one row */
.dd { position: relative; }
.dd-btn::after { content: ''; display: inline-block; margin-left: 8px; border: 5px solid transparent; border-top-color: currentColor; transform: translateY(3px); }
.dd-btn[aria-expanded="true"] { color: var(--white); background: var(--panel-2); }
.menu { position: absolute; top: calc(100% + 12px); left: 0; width: 360px; padding: 10px; background: #15122b; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgb(0 0 0 / .55); }
.menu a { display: grid; grid-template-columns: 44px 1fr 6px; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 10px; }
.menu a:hover { background: var(--panel-2); }
.menu .thumb { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.menu b { font: 400 22px/1 'Jersey 10', monospace; letter-spacing: .03em; display: block; }
.menu small { color: var(--dim); font-size: 12px; }
.menu .u { width: 6px; height: 30px; border-radius: 3px; }
.burger { display: none; width: 40px; height: 40px; margin-left: auto; border-radius: 11px; background: var(--panel-2); border: 0; place-items: center; cursor: pointer; }
.burger i { display: block; width: 18px; height: 2px; background: var(--white); box-shadow: 0 6px 0 var(--white), 0 -6px 0 var(--white); }
.burger[aria-expanded="true"] i { background: transparent; box-shadow: none; position: relative; }
.burger[aria-expanded="true"] i::before, .burger[aria-expanded="true"] i::after { content: ''; position: absolute; inset: 0; background: var(--white); transform: rotate(45deg); }
.burger[aria-expanded="true"] i::after { transform: rotate(-45deg); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.lang button { font: 600 14px 'Rubik', sans-serif; color: var(--muted); background: transparent; border: 0; padding: 8px 14px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--white); color: var(--ground); }

/* footer: a floating panel like the header, fixed at the bottom */
.foot { position: fixed; left: 50%; bottom: 14px; z-index: 10; transform: translateX(-50%); width: calc(100% - var(--edge) * 2);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px 16px; padding: 12px 20px; color: var(--dim); font-size: 13px;
  background: rgb(13 11 28 / .92); border: 1px solid var(--line); border-radius: 18px; backdrop-filter: blur(6px); }
.foot .note { margin: 0; text-align: center; }
.foot .by { justify-self: start; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; text-decoration: none; color: var(--muted); }
.foot .by:hover { color: var(--white); }
.foot .copy { justify-self: end; color: var(--muted); white-space: nowrap; }
.foot a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* buttons with a bottom lip, like the OCH sites */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 400 22px/1 'Jersey 10', monospace; letter-spacing: .05em; padding: 12px 20px 10px; border-radius: 12px; color: #1a1300;
  box-shadow: inset 0 -4px 0 rgb(0 0 0 / .25); }
.btn.y { background: var(--yellow); } .btn.o { background: var(--orange); }
.btn.ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.status { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: rgb(255 255 255 / .08); }
.status.live { background: rgb(140 198 63 / .18); color: #bfe58a; }
.status.move { background: rgb(255 210 63 / .16); color: #ffe48a; }

/* home */
.home { flex: 1; width: calc(100% - var(--edge) * 2); margin: 22px auto 0; display: flex; flex-direction: column; gap: 22px; }
.slider { position: relative; overflow: hidden; }
.slide { display: grid; grid-template-columns: 1fr 1.05fr; min-height: 400px; }
.slide[hidden] { display: none; }
.slide .txt { padding: 40px 44px 70px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.slide h1 { font: 400 clamp(46px, 5vw, 66px)/0.9 'Jersey 10', monospace; letter-spacing: .03em; }
.slide p { color: #cfc9e4; max-width: 560px; }
.slide .acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.slide .pic { position: relative; border-left: 1px solid var(--line); background: #1a1433; display: grid; place-items: center; overflow: hidden; }
.slide .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.credit { position: absolute; right: 12px; bottom: 10px; font-size: 11px; color: var(--muted); background: rgb(13 11 28 / .75); padding: 3px 8px; border-radius: 6px; }
.slider .dots { position: absolute; left: 44px; bottom: 26px; display: flex; gap: 8px; }
.slider .dots button { width: 26px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: rgb(255 255 255 / .18); cursor: pointer; }
.slider .dots button[aria-current="true"] { background: var(--yellow); width: 44px; }
.slider .arrows { position: absolute; right: 18px; top: 18px; display: flex; gap: 8px; }
.slider .arrows button { width: 38px; height: 38px; border-radius: 10px; background: rgb(13 11 28 / .8); border: 1px solid var(--line); color: var(--white); font-weight: 700; font-size: 20px; cursor: pointer; }


.low { display: grid; grid-template-columns: 1fr 400px; gap: 22px; align-items: stretch; }
.feed { padding: 22px 26px; display: flex; flex-direction: column; }
.feed .head { display: flex; align-items: center; gap: 18px; margin-bottom: 10px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.chips button { padding: 6px 12px; border-radius: 999px; background: var(--panel-2); color: var(--muted); font-size: 13px; font-weight: 500; display: inline-flex; gap: 7px; align-items: center; border: 0; cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--white); color: var(--ground); }
.chips svg { width: 14px; height: 14px; }
.rows { list-style: none; }
.row { display: grid; grid-template-columns: 40px 1fr auto; gap: 16px; align-items: center; padding: 13px 4px; border-top: 1px solid var(--line); }
.row .ti { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--panel-2); color: var(--white); }
.row .ti svg { width: 20px; height: 20px; }
.row.x .ti { background: #000; } .row.discord .ti { background: #5865f2; } .row.own .ti { background: rgb(255 154 60 / .16); color: var(--orange); }
.row .t { font-size: 14px; color: #ddd8ee; overflow-wrap: anywhere; }
.row .t:hover .txt { color: var(--white); text-decoration: underline; text-decoration-color: rgb(255 255 255 / .3); }
.row .who { color: var(--white); font-weight: 600; margin-right: 6px; }
.badge:empty { display: none; }
.badge { font-size: 10px; font-weight: 700; letter-spacing: .08em; padding: 2px 6px; border-radius: 5px; margin-right: 6px; vertical-align: 1px; }
.badge.ann { background: rgb(255 210 63 / .16); color: #ffe48a; }
.badge.team { background: rgb(88 101 242 / .22); color: #c3c8ff; }
.badge.new { background: rgb(255 154 60 / .18); color: #ffc58f; }
.row .m { font-size: 12px; color: var(--dim); display: flex; gap: 8px; align-items: center; justify-content: flex-end; white-space: nowrap; }
.feed-note { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); }

/* guide pages */
.doc { flex: 1; width: calc(100% - var(--edge) * 2); margin: 0 auto; padding: 56px 0 48px; }
.doc .kicker { text-align: left; }
.doc-title { font: 400 clamp(52px, 8vw, 92px)/0.9 'Jersey 10', monospace; letter-spacing: .03em; margin: 10px 0 18px; }
.doc .lead { max-width: none; margin-top: 14px; }
.doc h2 { font: 400 38px/1 'Jersey 10', monospace; letter-spacing: .03em; margin: 44px 0 14px; }
.doc h3 { font: 600 18px/1.3 'Rubik', sans-serif; margin: 28px 0 10px; }

.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.tabs a { padding: 8px 16px; border-radius: 9px; color: var(--muted); font-weight: 500; }
.tabs a[aria-current="page"] { background: var(--white); color: var(--ground); }

.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; color: var(--muted); font-size: 14px; }
.tag { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; vertical-align: 1px;
  border: 1px solid currentColor; }
.tag.v { color: var(--green); } .tag.d { color: var(--blue); } .tag.i { color: var(--yellow); } .tag.m { color: var(--orange); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.doc thead th { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--panel-2); white-space: nowrap; }
.doc tbody tr:last-child > * { border-bottom: 0; }
.doc tbody th { font-weight: 600; }
.doc small { color: var(--dim); font-weight: 400; }
.earn { min-width: 1020px; }
.earn .group th { font: 400 24px/1 'Jersey 10', monospace; letter-spacing: .04em; padding-top: 14px; background: rgb(255 255 255 / .02); }
.earn .group.eth th { color: var(--blue); } .earn .group.yield th { color: var(--orange); } .earn .group.fert th { color: var(--green); }
.earn .n { color: var(--dim); font-variant-numeric: tabular-nums; margin-right: 4px; }
.earn .l2 th { padding-left: 34px; font-weight: 500; color: #d4cfe6; }
.earn .l2 > * { background: rgb(0 0 0 / .12); }
table.rarity { min-width: 900px; } /* the per-rarity table only: a <span class="rarity"> names a rarity in text */
table.rarity td { font-variant-numeric: tabular-nums; }
.costs { min-width: 640px; }
.note { color: var(--muted); font-size: 14px; margin-top: 10px; }
.points { margin: 0 0 0 20px; color: #d4cfe6; }
.points li { margin: 6px 0; }

.prose { margin-top: 30px; color: #d4cfe6; }
.prose p, .prose ul { margin: 12px 0; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--white); }
.prose .table-wrap { margin: 14px 0; }
.prose pre { margin: 14px 0; padding: 14px 16px; background: #090716; border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; }
.prose code { font: 14px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--white); }
.callout { margin: 16px 0; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); border-left: 4px solid var(--blue); background: var(--panel); }
.callout.warn { border-left-color: var(--orange); }


/* summary table: first column on one line; collapsible groups and rows */
/* row names may wrap, so the table fits the guide column on a laptop instead of scrolling sideways */
.earn tbody th { white-space: normal; }
.earn tbody tr:not(.group) th { width: 24%; min-width: 200px; }
.earn { min-width: 900px; }
.toggle { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-align: left; cursor: pointer; }
.toggle::before { content: ''; width: 0; height: 0; margin-right: 6px; border: 5px solid transparent; border-left: 7px solid currentColor; border-right: 0;
  transform: rotate(90deg); transition: transform .15s ease; opacity: .75; }
.toggle[aria-expanded="false"]::before { transform: rotate(0deg); }
.toggle:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.earn .l1:not(:has(.toggle)) th { padding-left: 33px; }
@media (prefers-reduced-motion: reduce) { .toggle::before { transition: none; } }

@media (max-width: 1100px) {
  .low { grid-template-columns: 1fr; }
  .slide { grid-template-columns: 1fr; min-height: 0; }
  .slide .pic { border-left: 0; border-bottom: 1px solid var(--line); aspect-ratio: 1200 / 630; order: -1; }
  .slide .txt { padding: 24px 22px 58px; }
  .slider .dots { left: 22px; bottom: 22px; }
}
@media (max-width: 760px) {
  :root { --edge: 12px; }
  .top { flex-wrap: wrap; gap: 10px; padding: 10px 14px; margin-top: 12px; }
  .wordmark b { font-size: 28px; }
  .burger { display: grid; }
  .links { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; margin: 6px 0 2px; }
  .top.open .links { display: flex; }
  .links > a, .dd-btn { font: 400 24px/1 'Jersey 10', monospace; letter-spacing: .03em; color: var(--white); padding: 14px; text-align: left; width: 100%; }
  .menu { position: static; width: auto; margin: 4px 0 6px; box-shadow: none; background: #120f26; }
  .home { gap: 14px; margin-top: 12px; }
  .slide h1 { font-size: 42px; }
  .slider .arrows { top: 10px; right: 10px; }
  .feed { padding: 16px 14px; }
  .chips { margin-left: 0; flex-wrap: nowrap; overflow-x: auto; width: 100%; }
  .chips button { flex: none; }
  .row { grid-template-columns: 36px 1fr; gap: 12px; align-items: start; padding: 12px 0; }
  .row .m { grid-column: 2; justify-content: flex-start; margin-top: -4px; }
  .doc { padding: 34px 0 40px; }
  .doc h2 { font-size: 32px; }
  .foot { grid-template-columns: 1fr auto; bottom: 10px; font-size: 11.5px; padding: 9px 14px; border-radius: 14px; }
  .foot .note { grid-column: 1 / -1; grid-row: 1; }
  body { padding-bottom: 144px; }
}
@media (prefers-reduced-motion: reduce) { .toggle::before { transition: none; } }
.feed .more { margin-top: 10px; padding: 10px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--muted); font-weight: 500; cursor: pointer; }
.feed .more:hover { color: var(--white); }

/* Games menu: a wide panel under the header with one large image card per game */
.dd { position: static; }
.menu { left: 0; right: 0; width: auto; top: calc(100% + 10px); padding: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.menu[hidden] { display: none; }
.menu a { position: relative; display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.menu a:hover { background: var(--panel-2); border-color: rgb(255 255 255 / .18); }
.menu .art { width: 100%; aspect-ratio: 800 / 420; height: auto; object-fit: cover; display: block; transition: transform .25s ease; }
.menu a:hover .art { transform: scale(1.03); }
.menu a > span:not(.u) { display: block; padding: 12px 16px 14px; }
.menu b { font-size: 28px; margin-bottom: 4px; }
.menu small { font-size: 13px; }
.menu .u { width: auto; height: 4px; border-radius: 0; margin-top: auto; }
@media (max-width: 760px) {
  .menu { grid-template-columns: 1fr; padding: 8px; gap: 10px; }
  .menu b { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .menu .art { transition: none; } .menu a:hover .art { transform: none; } }
.menu a { text-align: left; align-items: stretch; }
.menu .u { display: block; }

/* floors band under the slider: one card per collection with its OpenSea banner and logo */
.floorband { display: flex; flex-direction: column; gap: 12px; }
.fb-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.fb-head .note { margin: 0; font-size: 12px; color: var(--dim); }
.fb-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fb { position: relative; display: grid; grid-template-columns: 64px 1fr; grid-template-areas: "logo meta" "logo px"; column-gap: 14px; row-gap: 2px; align-items: center;
  min-height: 120px; padding: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); isolation: isolate;
  transition: transform .15s ease, border-color .15s ease; }
.fb:hover { transform: translateY(-3px); border-color: rgb(255 255 255 / .2); }
.fb .bn { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; transition: opacity .2s ease, transform .3s ease; }
.fb::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(13 11 28 / .92) 0%, rgb(13 11 28 / .78) 55%, rgb(13 11 28 / .45) 100%); }
.fb:hover .bn { opacity: .75; transform: scale(1.04); }
.fb .logo { grid-area: logo; width: 64px; height: 64px; border-radius: 14px; object-fit: cover; border: 2px solid rgb(255 255 255 / .15); background: var(--panel-2); }
.fb .meta { grid-area: meta; align-self: end; min-width: 0; }
.fb .nm { display: block; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.fb .px { grid-area: px; align-self: start; font: 400 34px/1 'Jersey 10', monospace; letter-spacing: .02em; white-space: nowrap; }
.fb .px.na { color: var(--dim); }
.low { grid-template-columns: 1fr; }
@media (max-width: 1100px) { .fb-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .fb-list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 4px; }
  .fb-list li { scroll-snap-align: start; }
  .fb { min-height: 104px; padding: 14px; }
  .fb .px { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { .fb, .fb .bn { transition: none; } .fb:hover { transform: none; } .fb:hover .bn { transform: none; } }
/* grid and flex children may shrink below their content, so scrolling rows (chips, floors on phones) never widen the page */
.home > *, .low > *, .floorband > * { min-width: 0; }

/* dashboards */
.dash .kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.kpi { padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.kpi .k { color: var(--muted); font-size: 13px; font-weight: 500; }
.kpi b { font: 400 46px/1 'Jersey 10', monospace; letter-spacing: .02em; }
.chart { margin-top: 22px; padding: 22px 24px; }
.dash h2.ch-title { font: 400 30px/1 'Jersey 10', monospace; letter-spacing: .03em; margin: 0 0 4px; }
.ch-sub { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.plot { width: 100%; }
.hbar { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; padding: 7px 0; }
.hb-l b { display: block; font-weight: 600; } .hb-l small { color: var(--dim); font-size: 12px; }
.hb-t { position: relative; display: flex; align-items: center; gap: 10px; min-height: 28px; }
.hb-t i { display: block; height: 22px; border-radius: 0 4px 4px 0; background: var(--orange); }
.hb-v { color: #d4cfe6; font-size: 13px; white-space: nowrap; }
.plot svg { display: block; width: 100%; height: auto; overflow: visible; }
.plot .grid { stroke: rgb(255 255 255 / .07); stroke-width: 1; }
.plot .ax { fill: var(--dim); font: 12px 'Rubik', sans-serif; }
.plot .line { fill: none; stroke: var(--orange); stroke-width: 2; stroke-linejoin: round; }
.plot .area { fill: rgb(255 154 60 / .14); }
.plot .cross { stroke: rgb(255 255 255 / .35); stroke-width: 1; stroke-dasharray: 3 3; }
.plot .dot { fill: var(--orange); stroke: var(--panel); stroke-width: 2; }
#c-buy { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; height: 260px; }
.vbar { display: flex; flex-direction: column; align-items: stretch; gap: 6px; min-width: 0; }
.vb-v { text-align: center; font-weight: 600; font-size: 14px; }
.vb-t { flex: 1; display: flex; align-items: flex-end; }
.vb-t i { display: block; width: 100%; border-radius: 4px 4px 0 0; background: var(--orange); }
.vb-l { text-align: center; color: var(--muted); font-size: 12px; white-space: nowrap; }
.hbar:hover .hb-t i, .vbar:hover .vb-t i { filter: brightness(1.12); }
.tbl { margin-top: 14px; }
.tbl summary { cursor: pointer; color: var(--muted); font-size: 13px; font-weight: 500; }
.tbl .table-wrap { margin-top: 10px; max-height: 320px; overflow: auto; }
.insights { margin-top: 10px; }
.tip { position: fixed; z-index: 50; pointer-events: none; display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 10px;
  background: #0b0918; border: 1px solid rgb(255 255 255 / .14); box-shadow: 0 10px 30px rgb(0 0 0 / .5); font-size: 13px; color: #d4cfe6; max-width: 280px; }
.tip[hidden] { display: none; }
.tip b { color: var(--white); }
@media (max-width: 1100px) { .dash .kpis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .kpi b { font-size: 36px; }
  .chart { padding: 16px; }
  .hbar { grid-template-columns: 78px 1fr; gap: 10px; }
  .hb-v { font-size: 12px; white-space: normal; }
  #c-buy { gap: 6px; height: 220px; }
  .vb-l { font-size: 10px; white-space: normal; }
}
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.verify { margin-top: 22px; padding: 22px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; color: #d4cfe6; }
.verify .addr { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; color: var(--muted); font-size: 14px; }
.verify code { font: 14px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--white); background: #090716; border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; overflow-wrap: anywhere; }
.plot .ax.day { fill: var(--muted); font-weight: 600; }
.chart-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; align-items: stretch; }
.chart-row > .chart { margin-top: 0; min-width: 0; display: flex; flex-direction: column; }
.chart-row > .chart .plot { flex: 1; }
.chart-row #c-tier { display: flex; flex-direction: column; justify-content: space-around; }
@media (max-width: 1100px) { .chart-row { grid-template-columns: 1fr; } }
.dash h2.sec-title { margin: 40px 0 0; font: 400 38px/1 'Jersey 10', monospace; letter-spacing: .03em; }
.vbars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 14px; height: 240px; }
.plot .even { stroke: rgb(255 255 255 / .3); stroke-width: 1.5; stroke-dasharray: 5 5; }
.legend-row { list-style: none; display: flex; gap: 18px; margin: -6px 0 10px; font-size: 13px; color: var(--muted); }
.legend-row li { display: inline-flex; align-items: center; gap: 7px; }
.legend-row i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.dash table.topbuyers { min-width: 980px; font-size: 13.5px; }
.topbuyers td.wallet a { font: 13px ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--white); text-decoration: underline; text-decoration-color: rgb(255 255 255 / .25); }
.topbuyers td.wallet a:hover { color: var(--yellow); }
.topbuyers td.n, .topbuyers td.mix { font-variant-numeric: tabular-nums; white-space: nowrap; }
.topbuyers td.rank { color: var(--dim); }
.topbuyers td { white-space: nowrap; }
@media (max-width: 760px) { .vbars { gap: 6px; height: 200px; } }
.dash table.topbuyers { min-width: 560px; }
.pager { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 12px; color: var(--muted); font-size: 13px; }
.pager button { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel-2); color: var(--white); font-size: 18px; cursor: pointer; }
.pager button:disabled { opacity: .35; cursor: default; }
.topbuyers tbody tr:hover > * { background: rgb(255 255 255 / .03); }
.topbuyers td.wallet .who-name { font-weight: 600; color: var(--white); font-size: 13.5px; margin-left: 4px; }
.topbuyers td.wallet { white-space: normal; overflow-wrap: anywhere; }
.topbuyers td.wallet a { white-space: nowrap; }
.dash table.topbuyers { min-width: 0; }
.tierchips, .rangechips { margin: 0 0 12px; }
.chips button[hidden] { display: none; }
/* colours as classes: the CSP allows no inline style attributes */
.bg-yf { background: var(--orange); } .bg-mog { background: var(--green); } .bg-axie { background: var(--blue); }
.sw-new { background: #d9772a; } .sw-ret { background: #2b8fc4; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
/* KPI row: the same 22 px gap as the chart rows, so its middle gap lines up with the two-chart row below; text centred */
.dash .kpis { gap: 22px; margin-top: 26px; }
.kpi { align-items: center; text-align: center; }
.dash .kpis { grid-template-columns: repeat(4, 1fr); row-gap: 12px; }
@media (max-width: 760px) { .dash .kpis { grid-template-columns: repeat(2, 1fr); } } /* phones: two cards a row on every dashboard */
.kpi-row-label { grid-column: 1 / -1; margin: 6px 0 -2px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.kpi-row-label:first-child { margin-top: 0; }
/* one row of four: all time large, the last 24 hours under a rule */
.dash .kpis { row-gap: 22px; }
.kpi .sub { display: block; width: 100%; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.kpi .sub strong { color: var(--white); font-weight: 600; margin-left: 4px; }
/* the Seed Pack dashboard's six cards: one row where it fits, then three, then two */
.dash .kpis.six { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1300px) { .dash .kpis.six { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .dash .kpis.six { grid-template-columns: repeat(2, 1fr); } }
.kpi-note { margin-top: 8px; color: var(--dim); font-size: 12px; }
/* dashboard loader: the five Seed Packs lift and brighten in turn, a thin bar runs under them; everything appears at once when the numbers are in */
.dash { position: relative; }
/* Until the data route has answered, nothing of the dashboard shows (OG-09: a visitor who is not signed in sees none
   of it), only the loader, centred between header and footer. */
.dash.loading, .dash.gated { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dash.loading > :not(.loader) { display: none; }
.loader { display: none; }
.dash.loading .loader { display: flex; position: static; flex-direction: column; align-items: center; gap: 18px; color: var(--muted); font-size: 14px; font-weight: 500; }
.loader .packs { display: flex; gap: 18px; }
.loader .packs img { width: 56px; height: 56px; image-rendering: pixelated; animation: pack-lift 2s ease-in-out infinite; }
.loader .packs img:nth-child(2) { animation-delay: .2s; } .loader .packs img:nth-child(3) { animation-delay: .4s; }
.loader .packs img:nth-child(4) { animation-delay: .6s; } .loader .packs img:nth-child(5) { animation-delay: .8s; }
@keyframes pack-lift { 0%, 60%, 100% { transform: translateY(0); filter: brightness(1); } 30% { transform: translateY(-6px); filter: brightness(1.35); } }
.loader .bar { width: 220px; height: 3px; border-radius: 2px; background: var(--panel-2); overflow: hidden; position: relative; }
.loader .bar::after { content: ''; position: absolute; inset: 0; width: 35%; border-radius: 2px; background: var(--orange); animation: bar-slide 1.4s ease-in-out infinite; }
@keyframes bar-slide { from { transform: translateX(-100%); } to { transform: translateX(290%); } }
@media (prefers-reduced-motion: reduce) { .loader .packs img, .loader .bar::after { animation: none; } }
/* sign-in panel: shown instead of a dashboard when its data route answers 401 (OG-09) */
.dash.gated > :not(.gate) { display: none; }
.gate { padding: 26px 28px; width: 100%; max-width: 640px; }
.gate p { color: var(--muted); font-size: 15px; margin: 8px 0 20px; }
.gate .gate-roles { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 18px; padding: 0; }
.gate .gate-roles li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--panel-2); color: var(--white); font-size: 14px; font-weight: 600; }
.gate .gate-roles i { width: 12px; height: 12px; border-radius: 50%; flex: none; }
/* the roles' own colours in the Onchain Heroes Discord, read from member profiles on 2026-11-22 */
.rc-community { background: #a290dc; } .rc-deedgenerate { background: #d3d923; } .rc-ringwhale { background: #f1c0d1; } .rc-herowhale { background: #f2b67a; } .rc-creator { background: #fca8cf; } .rc-deedholder { background: #e3c06f; } .rc-ringbearerabs { background: linear-gradient(135deg, #7fd3e8, #c9eef6); } .rc-ringbearer { background: #a9dcea; } .rc-hero { background: #f07d2c; } .rc-clown { background: #c0c5ca; }
.gate .gate-msg { color: var(--orange); font-weight: 500; }
.gate .note { margin: 16px 0 0; font-size: 13px; }
.gate .note a, .dash .note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* floors cards: logo and name on the left, Floor and Best offer as two columns on the right. Four across only (2200 px and up)
   where a card is wide enough; otherwise two by two; on a narrow card the two stats go under the name. */
.fb-list { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 2200px) { .fb-list { grid-template-columns: repeat(4, 1fr); } }
.fb-list li { container-type: inline-size; }
.fb { grid-template-columns: 56px minmax(0, 1fr) auto auto; grid-template-areas: "logo meta fl of"; column-gap: 16px; row-gap: 0; min-height: 104px; align-items: center; }
.fb .logo { width: 56px; height: 56px; }
.fb .meta { align-self: center; }
.fb .stat { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; min-width: 96px; }
.fb .stat.fl { grid-area: fl; } .fb .stat.of { grid-area: of; padding-left: 16px; border-left: 1px solid rgb(255 255 255 / .1); }
.fb .stat small { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fb .stat b { font: 400 30px/1 'Jersey 10', monospace; letter-spacing: .02em; white-space: nowrap; color: var(--white); }
.fb .stat b.na { color: var(--dim); }
@container (max-width: 520px) {
  .fb { grid-template-columns: 56px 1fr 1fr; grid-template-areas: "logo meta meta" "fl fl of"; row-gap: 12px; }
  .fb .stat { align-items: flex-start; min-width: 0; }
  .fb .stat.fl { padding-left: 0; }
  .fb .stat b { font-size: 26px; }
}
/* floors: four across again on desktop, a tighter card so name and both stats fit on one row */
.fb-list { grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1100px) { .fb-list { grid-template-columns: repeat(2, 1fr); } }
.fb { grid-template-columns: 44px minmax(0, 1fr) auto auto; column-gap: 12px; padding: 14px 16px; min-height: 92px; }
.fb .logo { width: 44px; height: 44px; border-radius: 11px; }
.fb .nm { white-space: normal; font-size: 14px; line-height: 1.2; overflow: visible; text-overflow: clip; }
.fb small { font-size: 10px; margin-top: 3px; }
.fb .stat { min-width: 0; gap: 3px; }
.fb .stat small { font-size: 10px; letter-spacing: .08em; }
.fb .stat b { font-size: 22px; }
.fb .stat.of { padding-left: 12px; }
@container (max-width: 300px) {
  .fb { grid-template-columns: 44px 1fr 1fr; grid-template-areas: "logo meta meta" "fl fl of"; row-gap: 10px; }
  .fb .stat { align-items: flex-start; }
}
@container (min-width: 301px) {
  .fb { grid-template-columns: 44px minmax(0, 1fr) auto auto; grid-template-areas: "logo meta fl of"; row-gap: 0; }
  .fb .stat { align-items: flex-end; }
}
.fb { grid-template-columns: 40px minmax(0, 1fr) auto auto; column-gap: 10px; padding: 12px 14px; }
.fb .logo { width: 40px; height: 40px; border-radius: 10px; }
.fb .stat small { font-size: 9.5px; letter-spacing: .04em; }
.fb .stat b { font-size: 21px; }
.fb .stat.of { padding-left: 10px; }
.fb small { letter-spacing: .04em; }
@container (min-width: 301px) { .fb { grid-template-columns: 40px minmax(0, 1fr) auto auto; } }
/* floors cards size with the card itself: roomy where the card is wide, compact only where it must be */
@container (min-width: 400px) {
  .fb { grid-template-columns: 60px minmax(0, 1fr) auto auto; column-gap: 16px; padding: 18px 20px; min-height: 112px; }
  .fb .logo { width: 60px; height: 60px; border-radius: 14px; }
  .fb .nm { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .fb small { font-size: 11px; letter-spacing: .06em; }
  .fb .stat small { font-size: 11px; letter-spacing: .08em; }
  .fb .stat b { font-size: 30px; }
  .fb .stat.of { padding-left: 16px; }
}
@container (min-width: 400px) {
  .fb .nm { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.2; }
  .fb .stat b { font-size: 27px; }
}
@container (min-width: 520px) { .fb .stat b { font-size: 32px; } }
/* dashboard picker cards at the top of every dashboard */
/* dashboard picker: four slots a row (half the old card width), so new dashboards join the same row; two on a tablet, one on a phone */
.dash-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-bottom: 30px; }
@media (max-width: 1100px) { .dash-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dcard { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); transition: border-color .15s ease, background-color .15s ease, transform .15s ease; }
.dcard:hover { border-color: rgb(255 255 255 / .2); transform: translateY(-2px); }
.dcard[aria-current="page"] { border-color: var(--orange); background: linear-gradient(0deg, rgb(255 154 60 / .07), rgb(255 154 60 / .07)), var(--panel); box-shadow: inset 0 -3px 0 var(--orange); }
.dcard img { width: 48px; height: 48px; image-rendering: pixelated; }
.dcard .stalk { width: 24px; height: 48px; margin: 0 12px; background: url('assets/sprites/stalk-gold.png') -72px 0 / 96px 48px no-repeat; image-rendering: pixelated; flex: none; }
.dcard b { display: block; font: 400 24px/1 'Jersey 10', monospace; letter-spacing: .03em; color: var(--white); margin-bottom: 4px; }
.dcard small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
@media (max-width: 760px) { .dash-cards { grid-template-columns: 1fr; gap: 12px; } }
/* economy dashboard */
.fert .fn { display: flex; flex-direction: column; gap: 14px; }
.fn-rate b { display: block; font: 400 64px/1 'Jersey 10', monospace; color: var(--orange); }
.fn-rate span { color: var(--muted); font-size: 14px; }
.fn-bar { position: relative; height: 14px; border-radius: 7px; background: var(--panel-2); overflow: visible; }
.fn-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 7px; background: var(--orange); }
.fn-mark { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--white); }
.fn-legend { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.fn-eta { color: #d4cfe6; } .fn-meta { color: var(--dim); font-size: 12px; }
.soon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 14px; }
.soon { position: relative; padding: 20px 22px 22px; overflow: hidden; }
.soon h3 { font: 400 26px/1 'Jersey 10', monospace; letter-spacing: .03em; margin: 10px 0 6px; }
.soon p { color: var(--muted); font-size: 14px; }
.soon-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: rgb(255 210 63 / .14); color: #ffe48a; }
.soon-plot { display: block; height: 70px; margin-top: 16px; border-radius: 10px; opacity: .5;
  background: repeating-linear-gradient(90deg, transparent 0 22px, rgb(255 255 255 / .05) 22px 23px), linear-gradient(180deg, transparent 55%, rgb(255 154 60 / .12) 55%); }
@media (max-width: 1100px) { .soon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .soon-grid { grid-template-columns: 1fr; } }
.soon-plot { height: 120px; display: grid; place-items: center; opacity: 1; }
.soon-plot em { font-style: normal; font: 400 24px/1 'Jersey 10', monospace; letter-spacing: .08em; text-transform: uppercase; color: #ffe48a; padding: 8px 14px; border-radius: 10px; background: rgb(13 11 28 / .78); border: 1px solid rgb(255 210 63 / .25); }
.soon h3 { margin-top: 0; }
.dash > *, .chart-row > *, .kpis > *, .soon-grid > *, .dash-cards > * { min-width: 0; }
/* the loader sits in the flow right under the lead (not at a fixed offset), so it never covers the text above */
.dash.loading .loader { position: static; margin: 56px 0 64px; }
/* OCH market dashboard */
.dcard img.logo { image-rendering: auto; border-radius: 10px; }
.mk-table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 14px; }
.mk-table th, .mk-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.mk-table th:first-child, .mk-table td:first-child { text-align: left; }
.mk-table thead th { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--panel-2); }
.mk-table tbody tr:last-child > * { border-bottom: 0; }
.mk-table td small { display: block; color: var(--dim); font-size: 12px; margin-top: 2px; }
.mk-coll { display: flex; align-items: center; gap: 10px; }
.mk-coll img { width: 32px; height: 32px; border-radius: 8px; flex: none; }
.mk-coll a { color: var(--white); font-weight: 600; text-decoration: none; }
.mk-coll a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mk-sales { list-style: none; margin: 0; padding: 0; }
.mk-sales li { display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.mk-sales li:last-child { border-bottom: 0; }
.mk-sales img { width: 32px; height: 32px; border-radius: 8px; }
.mk-sales .what a, .mk-sales .what span { color: var(--white); font-weight: 600; text-decoration: none; }
.mk-sales .what a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mk-sales .what small { display: block; color: var(--dim); font-size: 12px; margin-top: 2px; }
.mk-sales .price { text-align: right; font-weight: 600; white-space: nowrap; }
.mk-sales .price small { display: block; color: var(--dim); font-size: 12px; font-weight: 400; margin-top: 2px; }
/* compact sales list: one line a sale — logo (collection in its tooltip), item, price, how long ago */
.mk-sales.compact li { grid-template-columns: 22px minmax(0, 1fr) auto 84px; gap: 10px; padding: 6px 0; font-size: 13.5px; }
.mk-sales.compact img { width: 22px; height: 22px; border-radius: 6px; }
.mk-sales.compact .what { min-width: 0; }
.mk-sales.compact .what a, .mk-sales.compact .what span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.mk-sales.compact .price { font-weight: 600; }
.mk-sales.compact .when { color: var(--dim); font-size: 12px; text-align: right; white-space: nowrap; }
/* sortable column headers of the market table: the whole header is the button */
.mk-table th button.sort { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; }
.mk-table th button.sort i { font-style: normal; font-size: 10px; opacity: .45; }
.mk-table th button.sort.on { color: var(--white); }
.mk-table th button.sort.on i { opacity: 1; color: var(--orange); }
.mk-table th button.sort:hover { color: var(--white); }
.mk-table th button.sort:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
/* price trend keys: a chip a collection, its line colour as a dot; hidden lines dim; no data, disabled */
.trendchips { margin: 12px 0 0; }
.trendchips button i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.trendchips button[aria-pressed="false"] { opacity: .55; }
.trendchips button[aria-pressed="false"] i { filter: grayscale(1); }
.trendchips button:disabled { opacity: .3; cursor: not-allowed; }
#m-trend svg .grid.zero { stroke: rgb(255 255 255 / .28); }
/* volume-share bar chart: collection names on the y axis in the body colour, shares at the bar ends */
#m-share svg .ax.lbl { fill: var(--white); font-size: 12.5px; font-weight: 500; }
#m-share svg .ax.val { fill: var(--muted); font-size: 12px; }
#m-share svg .grid.zero { stroke: rgb(255 255 255 / .28); }
@media (max-width: 760px) { .chips.trendchips { flex-wrap: wrap; overflow: visible; } } /* the keys wrap on a phone instead of scrolling away */
/* price trend keys: small, so all eight fit one line beside the chart */
.chips.trendchips { gap: 5px; }
.chips.trendchips button { padding: 4px 8px; font-size: 11.5px; gap: 5px; border-radius: 999px; }
.trendchips button i { width: 8px; height: 8px; }
.chips.listchips { margin: -4px 0 10px; } /* the sales lists' keys, under the subtitle */
.pager[hidden] { display: none; }

/* ---------- the guide (YF-05): a sidebar menu beside the text; the menu is drawn by script.js ---------- */
.guide { flex: 1; width: calc(100% - var(--edge) * 2); margin: 22px auto 0; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; }
.guide > .doc { width: auto; margin: 0; padding-top: 34px; max-width: 1280px; } /* the text column takes the room beside the menu, so wide tables need no sideways scroll (owner, 2026-11-22); capped only on very wide screens */
.g-nav { position: sticky; top: 18px; max-height: calc(100vh - 120px); overflow-y: auto; padding: 18px 6px 18px 0; }
.g-toggle { display: none; }
.g-sections section + section { margin-top: 18px; }
.g-nav h2 { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin: 0 0 6px 10px; }
.g-nav ul { list-style: none; margin: 0; padding: 0; }
.g-nav li a, .g-nav li .soon { display: block; padding: 6px 10px; border-radius: 8px; font-size: 14px; line-height: 1.35; }
.g-nav li a { color: var(--muted); }
.g-nav li a:hover { color: var(--white); background: var(--panel); }
.g-nav li a[aria-current="page"] { color: var(--white); background: var(--panel-2); font-weight: 600; box-shadow: inset 3px 0 0 var(--orange); }
.g-nav li .soon { color: var(--dim); opacity: .55; cursor: default; }
.g-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 54px; padding-top: 22px; border-top: 1px solid var(--line); }
.g-pager a { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.g-pager a:hover { border-color: rgb(255 255 255 / .2); }
.g-pager .g-next { text-align: right; grid-column: 2; }
.g-pager small { color: var(--dim); font-size: 12px; } .g-pager b { color: var(--white); font-weight: 600; }
@media (max-width: 1000px) {
  .guide { grid-template-columns: 1fr; gap: 0; }
  .g-nav { position: static; max-height: none; overflow: visible; padding: 0; }
  .g-toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--white); font: 600 14px 'Rubik', sans-serif; cursor: pointer; }
  .g-toggle::after { content: '▾'; color: var(--muted); }
  .g-toggle[aria-expanded="true"]::after { content: '▴'; }
  .g-sections { display: none; margin-top: 10px; padding: 14px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
  .g-nav.open .g-sections { display: block; }
  .guide > .doc { padding-top: 22px; }
}

/* guide text components, the portal's take on the old guide's MDX pieces */
.doc .callout { display: flex; gap: 12px; margin: 18px 0; padding: 14px 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--blue); }
.doc .callout.warn { border-left-color: var(--orange); }
.doc .callout > p, .doc .callout > div { margin: 0; }
.doc .callout::before { content: 'i'; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 700 13px 'Rubik', sans-serif; color: var(--ground); background: var(--blue); }
.doc .callout.warn::before { content: '!'; background: var(--orange); }
/* steps: the old guide's <Steps>, a numbered heading per step with a line down to the next */
.doc .steps { counter-reset: step; margin: 18px 0; padding-left: 46px; position: relative; }
.doc .steps h3 { counter-increment: step; position: relative; margin-top: 22px; }
.doc .steps h3:first-child { margin-top: 0; }
.doc .steps h3::before { content: counter(step); position: absolute; left: -46px; top: -3px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-2); color: var(--white); font: 600 14px 'Rubik', sans-serif; }
.doc .steps::before { content: ''; position: absolute; left: 14px; top: 34px; bottom: 6px; width: 2px; background: var(--line); }
.todo-component { margin: 16px 0; padding: 12px 14px; border: 1px dashed var(--orange); border-radius: 10px; color: var(--orange); font: 500 13px ui-monospace, monospace; }
.g-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin: 18px 0; }
.g-row.wide { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.g-card { margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.g-card figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.g-card figcaption span { color: var(--muted); font-size: 13px; }
.g-sprite, .g-card img { image-rendering: pixelated; }
.rarity { font-weight: 700; }
.rarity[data-r="0"] { color: #b8b2a6; } .rarity[data-r="1"] { color: #7ccf5c; } .rarity[data-r="2"] { color: #4cc3e6; }
.rarity[data-r="3"] { color: #a38bff; } .rarity[data-r="4"] { color: #ffb52e; } .rarity[data-r="5"] { color: #ff6ec4; }
.doc [data-content-lang][hidden] { display: none; }
/* guide text: paragraph and list rhythm, and links that read as links */
.g-text p, .g-text ul, .g-text ol, .g-text .table-wrap, .g-text table { margin: 0 0 16px; }
.g-text ul, .g-text ol { padding-left: 22px; }
.g-text li { margin: 6px 0; }
.g-text li > p { margin: 0; }
.g-text h2 { margin-top: 40px; }
.g-text h3 { margin: 26px 0 10px; }
.g-text a { color: var(--blue); text-decoration: underline; text-decoration-color: rgb(47 169 230 / .45); text-underline-offset: 3px; }
.g-text a:hover { text-decoration-color: currentColor; }
.g-text .tag { vertical-align: 1px; margin-left: 2px; }
.g-text table { width: 100%; }
/* menu headings keep their case: an uppercase Turkish locale would turn game names into "FERTİLİZER"; tighter rows so the whole menu fits a laptop screen */
.g-nav h2 { text-transform: none; letter-spacing: .02em; font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.g-sections section + section { margin-top: 14px; }
.g-nav li a, .g-nav li .soon { padding: 4px 10px; font-size: 13.5px; }
.g-nav { max-height: calc(100vh - 36px); padding: 8px 6px 8px 0; } /* sticky at the top, so nearly the whole screen height is its own */
.g-sections section + section { margin-top: 10px; }
.g-nav li a, .g-nav li .soon { padding: 3px 10px; }
@media (max-width: 1000px) { .g-nav { max-height: none; padding: 0; } }
/* section headings bold and bright, the pages under them thin and quieter (owner, 2026-11-22), so a heading never
   reads as a link; a page not ported yet is quieter still */
.g-nav h2 { color: var(--white); font-size: 13px; font-weight: 800; letter-spacing: .01em; margin: 0 0 4px 10px; }
.g-nav .g-sections li a { color: var(--muted); font-weight: 400; }
.g-nav .g-sections li a, .g-nav .g-sections li .soon { padding-left: 26px; } /* room for the corn; headings stay further left */
.g-nav .g-sections li a:hover { color: var(--white); }
/* the page being read: the game's own corn beside it instead of a bar (owner, 2026-11-22) */
/* the corn alone marks it: same weight and colour as the other pages, so it never reads as a section heading (owner) */
.g-nav .g-sections li a[aria-current="page"] { position: relative; color: var(--muted); font-weight: 400; background: none; box-shadow: none; }
.g-nav .g-sections li a[aria-current="page"]::before { content: ''; position: absolute; left: 4px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: url('assets/sprites/guide/veg_diamond_legendary_gilded_corn.png') center / 16px 16px no-repeat; image-rendering: pixelated; }
.g-nav .g-sections li .soon { color: var(--dim); opacity: .6; font-weight: 400; }
.g-sections section + section { margin-top: 16px; }
/* a guide page stays hidden until its language and menu are in place, so it never reshuffles in front of the
   reader; if the script fails it shows anyway after 1.5 s */
html:not(.i18n-ready) .guide { visibility: hidden; animation: g-reveal 0s 1.5s forwards; }
@keyframes g-reveal { to { visibility: visible; } }
/* guide home: the hero beside two Deed sprites, and the "start here" cards */
.g-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; margin: 6px 0 28px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.g-hero h2 { margin: 0 0 8px; }
.g-hero p { margin: 0; color: var(--muted); }
.g-hero-art { display: flex; gap: 8px; }
.g-hero-art img { width: 96px; height: auto; image-rendering: pixelated; }
@media (max-width: 760px) { .g-hero { grid-template-columns: 1fr; } .g-hero-art { justify-content: center; } }
.g-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 14px 0 22px; }
.g-cards a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--white); font-weight: 600; text-decoration: none; }
.g-cards a::after { content: '→'; color: var(--muted); }
.g-cards a:hover { border-color: rgb(255 255 255 / .2); }
/* where the game stands: one row a feature, a dot for its state */
.g-status { list-style: none; padding: 0 !important; margin: 18px 0; display: grid; gap: 8px; }
.g-status li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.g-status .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dim); }
.g-status li.live .dot { background: var(--green); box-shadow: 0 0 0 4px rgb(140 198 63 / .18); }
.g-status li.soon .dot { background: var(--orange); }
.g-status .state { font-size: 12.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.g-status li.live .state { color: var(--green); }
.g-status small { grid-column: 2 / -1; color: var(--muted); font-size: 13px; }
/* live figures in the guide, filled by script.js from the dashboards' stored data */
.g-live { margin: 18px 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.g-live .head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 12.5px; font-weight: 700; color: var(--green); }
.g-live .head::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgb(140 198 63 / .18); }
.g-live .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.g-live .out span { display: block; color: var(--muted); font-size: 12.5px; }
.g-live .out b { display: block; font: 400 26px/1.1 'Jersey 10', monospace; color: var(--white); margin-top: 2px; }
.g-live .out small { display: block; color: var(--dim); font-size: 11.5px; margin-top: 2px; }
.g-live .read { margin: 12px 0 0; color: var(--dim); font-size: 12px; }
/* guide: the Deed tier cards, the Deed with and without its deck, live gauges, the export history and the calculator */
/* the five Deed tiers in one row on a laptop, two or three a row on smaller screens */
.g-tiers { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.g-tiers .g-card { padding: 12px 8px; }
.g-tiers .g-card img { width: 100%; max-width: 120px; height: auto; }
.g-tiers .g-dl { font-size: 12px; gap: 2px 6px; }
@media (max-width: 1200px) { .g-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .g-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.g-pair { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.g-pair .g-card img { width: 180px; height: auto; }
.g-dl { display: grid; grid-template-columns: auto auto; gap: 2px 10px; margin: 8px 0 0; font-size: 13px; text-align: left; }
.g-dl dt { color: var(--muted); }
.g-dl dd { margin: 0; text-align: right; color: var(--white); font-variant-numeric: tabular-nums; }
.g-live .gauge { position: relative; height: 10px; border-radius: 6px; background: var(--panel-2); overflow: hidden; margin: 2px 0 6px; }
.g-live .gauge .fill { position: absolute; inset: 0 auto 0 0; background: var(--orange); border-radius: 6px; }
.g-live .gauge .mark { position: absolute; top: -2px; bottom: -2px; width: 2px; background: var(--white); }
.g-live .gauge-label { margin: 0 0 12px; color: var(--dim); font-size: 12px; }
.g-live .days { margin-top: 16px; }
.g-live .day { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; gap: 10px; font-size: 12.5px; padding: 2px 0; }
.g-live .day .d { color: var(--muted); }
.g-live .day .track { height: 8px; border-radius: 4px; background: var(--panel-2); overflow: hidden; }
.g-live .day .bar { display: block; height: 100%; background: var(--orange); border-radius: 4px; }
.g-live .day b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.g-live[data-live="export-calc"] { display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: 20px; }
.g-live .calc-in { display: flex; flex-direction: column; gap: 8px; }
.g-live .field { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--muted); }
.g-live .field input[type=number] { width: 76px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-2); color: var(--white); font: inherit; }
.g-live .field.wide { flex-direction: column; align-items: stretch; margin-top: 6px; }
.g-live .field input[type=range] { width: 100%; accent-color: var(--orange); }
@media (max-width: 700px) { .g-live[data-live="export-calc"] { grid-template-columns: 1fr; } }
/* guide tables: long column headings wrap instead of widening the table past the column (dashboards keep one line) */
.guide .doc thead th { white-space: normal; vertical-align: bottom; }
/* guide farming pieces: the 30-crop grid, the rip flow, a ripe stalk (one frame of its sheet) and the farming loop */
.g-crops td.crop { text-align: center; vertical-align: top; font-size: 12.5px; }
.g-crops td.crop .art { display: flex; align-items: center; justify-content: center; gap: 4px; color: var(--dim); }
.g-crops td.crop b { display: block; margin-top: 4px; color: var(--white); font-size: 13px; }
.g-crops td.crop span { display: block; color: var(--muted); }
.g-crops td small { display: block; color: var(--dim); }
.g-crops th img { vertical-align: middle; }
.g-rip { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; margin: 18px 0; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.g-rip .packs { display: flex; align-items: center; gap: 10px; }
.g-rip figure { margin: 0; text-align: center; font-size: 12.5px; color: var(--muted); }
.g-rip .arrow { color: var(--orange); font-size: 22px; }
.g-rip .seeds p { margin: 0 0 8px; color: var(--muted); font-size: 13.5px; }
.g-rip .seeds ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.g-rip .seeds li { display: grid; grid-template-columns: 40px 1fr auto; grid-template-rows: auto auto; column-gap: 8px; align-items: center; font-size: 13px; }
.g-rip .seeds li img { grid-row: span 2; }
.g-rip .seeds li small { grid-column: 2 / 4; color: var(--dim); }
.g-rip .seeds .note { margin: 10px 0 0; color: var(--dim); font-size: 12.5px; }
@media (max-width: 760px) { .g-rip { grid-template-columns: 1fr; } }
.g-stalk { display: inline-block; width: 48px; height: 96px; background-size: 192px 96px; background-position: -144px 0; background-repeat: no-repeat; image-rendering: pixelated; }
.g-stalk-bronze { background-image: url('assets/sprites/guide/stalk_bronze_16x32_4frames.png'); }
.g-stalk-silver { background-image: url('assets/sprites/guide/stalk_silver_16x32_4frames.png'); }
.g-stalk-gold { background-image: url('assets/sprites/guide/stalk_gold_16x32_4frames.png'); }
.g-stalk-platinum { background-image: url('assets/sprites/guide/stalk_platinum_16x32_4frames.png'); }
.g-stalk-diamond { background-image: url('assets/sprites/guide/stalk_diamond_16x32_4frames.png'); }
.g-loop { margin: 22px auto; max-width: 900px; }
.g-loop svg { display: block; width: 100%; height: auto; }
.g-loop image { image-rendering: pixelated; }
.g-loop .lp-bg { fill: var(--panel); stroke: var(--line); }
.g-loop .lp-title { fill: var(--white); font: 400 30px 'Jersey 10', monospace; }
.g-loop .lp-arc { fill: none; stroke: var(--orange); stroke-width: 5; stroke-linecap: round; }
.g-loop .lp-head { fill: var(--orange); }
.g-loop .lp-head-teal { fill: #2bc0a5; }
.g-loop .lp-node { fill: var(--panel-2); stroke: rgb(255 154 60 / .55); stroke-width: 2; }
.g-loop .lp-side { fill: #1d3340; stroke: rgb(43 192 165 / .6); stroke-width: 2; }
.g-loop .lp-core { fill: rgb(43 192 165 / .1); stroke: rgb(43 192 165 / .6); stroke-width: 2; stroke-dasharray: 6 6; }
.g-loop .lp-core-title { fill: #2bc0a5; font-size: 22px; font-weight: 800; text-anchor: middle; }
.g-loop .lp-label { fill: var(--orange); font-size: 21px; font-weight: 800; text-anchor: middle; }
.g-loop .lp-label.small { font-size: 16px; }
.g-loop .lp-label.teal { fill: #2bc0a5; }
.g-loop .lp-note { fill: var(--muted); font-size: 15px; text-anchor: middle; }
.g-loop .lp-note.tiny { font-size: 12.5px; }
.g-loop .lp-aside { fill: var(--muted); font-size: 15px; font-style: italic; text-anchor: end; }
.g-loop .lp-dash { stroke: #2bc0a5; stroke-width: 3; stroke-dasharray: 6 6; fill: none; }
.g-loop .lp-dash-solid { stroke: #2bc0a5; stroke-width: 3; fill: none; }
.g-loop .lp-dash-orange { stroke: var(--orange); stroke-width: 4; stroke-dasharray: 9 7; stroke-linecap: round; fill: none; }
.g-loop .lp-star circle { fill: var(--yellow); } .g-loop .lp-star text { fill: var(--ground); font-size: 16px; font-weight: 800; text-anchor: middle; }
.g-loop .lp-fees { fill: var(--muted); font-size: 17px; }
/* guide: the Truffle Pig (one frame of its sheet), the money flow, and the Truffle estimator laid out like the export calculator */
.g-pig { display: inline-block; width: 64px; height: 64px; background: url('assets/sprites/guide/pig.png') 0 0 / 256px 128px no-repeat; image-rendering: pixelated; }
.g-pig.small { width: 40px; height: 40px; background-size: 160px 80px; }
.g-money { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.g-money .node { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; min-width: 110px; flex: 1; }
.g-money .node b { font-size: 14px; }
.g-money .node small { color: var(--muted); font-size: 12px; line-height: 1.3; }
.g-money .arrow { color: var(--orange); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.g-live[data-live="truffle-calc"] { display: grid; grid-template-columns: minmax(260px, 1fr) 1.4fr; gap: 20px; }
.g-live[data-live="truffle-calc"] .field input { width: 140px; }
@media (max-width: 760px) { .g-live[data-live="truffle-calc"] { grid-template-columns: 1fr; } .g-money { flex-direction: column; } }
/* the header stays at the top of every page (owner, 2026-11-22: a site-wide rule); the band above it is filled with
   the page ground so text never shows through as it scrolls past. In-page links land below it. */
:root { --head-top: 12px; --head-h: 72px; }
html { scroll-padding-top: calc(var(--head-top) + var(--head-h) + 16px); }
.top { position: sticky; top: var(--head-top); margin-top: var(--head-top); box-shadow: 0 calc(-1 * var(--head-top) - 2px) 0 2px var(--ground); }
/* guide: the menu sits under the header and scrolls on its own; scrolling it never moves the page, and the page
   scrolls without moving it */
.g-nav { top: calc(var(--head-top) + var(--head-h) + 12px); max-height: calc(100vh - var(--head-top) - var(--head-h) - 12px - 72px); overscroll-behavior: contain; }
@media (max-width: 1000px) { .g-nav { top: auto; max-height: none; } }
/* scrollbars in the theme, site-wide (owner, 2026-11-22): a thin violet thumb on the page ground */
:root { --scroll-thumb: #3a3560; --scroll-thumb-hover: #5a5390; }
* { scrollbar-width: thin; scrollbar-color: var(--scroll-thumb) transparent; }
html { scrollbar-color: var(--scroll-thumb) var(--ground); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: var(--scroll-thumb-hover); background-clip: padding-box; border: 2px solid transparent; }
::-webkit-scrollbar-corner { background: transparent; }
/* the guide starts exactly where its menu sticks, so the first scroll never drags the menu a few pixels with it */
:root { --head-h: 70px; }
.guide { margin-top: 12px; }
.g-nav { top: calc(var(--head-top) + var(--head-h) + 12px); }
/* the menu ends above the room the page keeps for the footer (body padding-bottom), so at the end of the page the
   guide area's bottom never pushes it up */
:root { --foot-room: 88px; }
.g-nav { max-height: calc(100vh - var(--head-top) - var(--head-h) - 12px - var(--foot-room) - 4px); }
@media (max-width: 1000px) { .g-nav { max-height: none; } }
.g-live[data-live="pack-ev"] { display: grid; grid-template-columns: minmax(240px, 1fr) 2fr; gap: 20px; }
.g-live .field select { padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-2); color: var(--white); font: inherit; }
@media (max-width: 760px) { .g-live[data-live="pack-ev"] { grid-template-columns: 1fr; } }
/* home: the announcement between the header and the slider, centred, pointing at the newest release notes */
.announce { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; width: fit-content; max-width: 100%; margin: 0 auto 18px; padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--white); font-size: 14px; text-align: center; }
.announce:hover { border-color: rgb(255 255 255 / .2); }
.announce .pill { padding: 2px 9px; border-radius: 999px; background: var(--yellow); color: var(--ground); font-size: 11.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.announce .more { color: var(--muted); font-weight: 600; }
/* release notes: one block per release, the three groups marked by colour */
.releases .release { margin-top: 28px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.releases .release h2 { margin: 0 0 6px; }
.releases .release h3 { margin: 18px 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.releases .release h3.new { color: var(--green); } .releases .release h3.better { color: var(--blue); } .releases .release h3.fixes { color: var(--orange); }
.releases .release ul { margin: 0; padding-left: 20px; } .releases .release li { margin: 6px 0; }
/* the announcement sits close above the slider: no margin of its own, and a smaller gap than between the other blocks */
.home > .announce { margin: 0 auto -10px; }
@media (max-width: 760px) { .home > .announce { margin-bottom: -4px; } } /* the home gap is 14 px here: 10 px under the announcement */
/* the same room above the announcement as under it: 12 px on a laptop (the home starts 22 px under the header), 10 px on a phone (12 px) */
.home > .announce { margin-top: -10px; }
@media (max-width: 760px) { .home > .announce { margin-top: -2px; } }
/* the announcement as a full-width bar like the header (owner): same width, radius and ground, smaller type, low */
.home > .announce { width: 100%; max-width: none; border-radius: 14px; padding: 6px 16px; gap: 8px; font-size: 13px; background: rgb(13 11 28 / .86); }
.announce .pill { padding: 1px 7px; font-size: 10.5px; }
.announce .more { font-size: 13px; }
/* on a phone the bar stays low: the label and text on one line where they fit, no "Release notes" word (the whole bar
   is the link, an arrow says so) */
@media (max-width: 760px) {
  .home > .announce { flex-wrap: nowrap; justify-content: flex-start; text-align: left; font-size: 12px; padding: 7px 12px; }
  .announce .more { display: none; }
  .announce::after { content: '→'; margin-left: auto; padding-left: 6px; color: var(--muted); }
}
.releases .release h4 { margin: 12px 0 4px; font-size: 14px; color: var(--white); }
.releases .release .intro { margin: 4px 0 6px; font-size: 16px; color: var(--white); }

/* home: the slider and the numbers panel side by side (owner, 2026-11-22). In the half-width slider the picture is the
   slide's background, under a shade, with the text over it. Stacked below 1100 px. */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.hero > * { min-width: 0; }
@media (min-width: 1101px) {
  .hero .slide { grid-template-columns: 1fr; position: relative; min-height: 460px; height: 100%; isolation: isolate; }
  .hero .slide .pic { position: absolute; inset: 0; z-index: -1; border-left: 0; }
  .hero .slide .pic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(13 11 28 / .94) 0%, rgb(13 11 28 / .8) 55%, rgb(13 11 28 / .35) 100%); }
  .hero .slide .credit { z-index: 1; }
  .hero .slide .txt { padding: 40px 40px 70px; }
  .hero .slide h1 { font-size: clamp(42px, 3.6vw, 60px); }
  .hero .slider .dots { left: 40px; }
}
.numbers { padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.nb-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.nb-head .note { margin: 0; font-size: 12px; color: var(--dim); }
.nb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; flex: 1; align-content: stretch; }
.nb-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 14px 16px; border-radius: 12px; background: var(--panel-2); min-width: 0; }
.nb-tile small { font-size: 12.5px; font-weight: 600; color: var(--muted); } /* not uppercased: in Turkish that would turn the game names' i into İ */
.nb-tile b { font: 400 38px/1 'Jersey 10', monospace; letter-spacing: .02em; color: var(--white); white-space: nowrap; }
.nb-big { padding: 18px 20px; }
.nb-big small { font-size: 14px; }
.nb-big b { font-size: 60px; color: var(--yellow); }
/* the two rows share one label column, so the Seed Pack tiers and the Biome floors line up column by column */
.nb-row { grid-column: 1 / -1; display: grid; grid-template-columns: 170px minmax(0, 1fr); padding: 18px 20px; justify-items: center; text-align: center; grid-template-areas: "lbl chips" "num chips" "day chips"; column-gap: 24px; align-items: center; }
.nb-row small { grid-area: lbl; font-size: 14px; } .nb-row b { grid-area: num; font-size: 54px; }
.nb-chipwrap { grid-area: chips; justify-self: stretch; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
/* the last 24 hours under the total, ruled off, as on the Seed Pack dashboard */
.nb-day { grid-area: day; justify-self: stretch; margin: 6px 0 0; padding-top: 8px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); text-align: center; white-space: nowrap; }
.nb-day strong { color: var(--white); font-weight: 600; margin-left: 4px; }
.nb-row:not(:has(b)) { grid-template-areas: "lbl chips"; }
.nb-row:not(:has(b)) small { font-size: 14px; line-height: 1.3; }
.nb-chips { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.nb-chips li { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 12px 4px; border-radius: 10px; background: rgb(255 255 255 / .04); min-width: 0; }
.nb-chips span { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.nb-chips em { font: 400 30px/1 'Jersey 10', monospace; font-style: normal; color: var(--white); white-space: nowrap; }
.nb-chips em.na { color: var(--dim); }
.nb-chips .d { align-self: stretch; margin-top: 3px; padding-top: 6px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted); text-align: center; white-space: nowrap; }
.nb-chips .d strong { color: var(--white); font-weight: 600; }
.nb-chips .bronze span { color: #d79a63; } .nb-chips .silver span { color: #c9cfdb; } .nb-chips .gold span { color: #ffd23f; }
.nb-chips .platinum span { color: #9fe3d8; } .nb-chips .diamond span { color: #8fc8ff; }
.nb-chips .meadow span { color: #9fd86b; } .nb-chips .frost span { color: #9fd8f0; } .nb-chips .blight span { color: #b99ae0; }
.nb-chips .radiant span { color: #ffc861; } .nb-chips .astral span { color: #f0a8e0; }
.nb-tile .na { color: var(--dim); }
@media (max-width: 1100px) { .hero { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .numbers { padding: 18px 16px; }
  .nb-big { padding: 14px 16px; }
  .nb-big b { font-size: 40px; }
  .nb-row, .nb-row:not(:has(b)) { grid-template-columns: 1fr; grid-template-areas: "lbl" "num" "day" "chips"; row-gap: 8px; justify-items: stretch; text-align: center; padding: 14px 16px; }
  .nb-row b { font-size: 40px; }
  .nb-row:not(:has(b)) { grid-template-areas: "lbl" "chips"; }
  .nb-chips { gap: 6px; }
  .nb-chips span { font-size: 9.5px; }
  .nb-chips em { font-size: 22px; }
  .nb-chips .d { display: flex; flex-direction: column; gap: 2px; font-size: 10px; }
  .nb-tile b { font-size: 30px; }
}
}
