/* Layout: the painted Breeze sky is the page; content that you operate sits in panels drawn like Breeze's own Season 3 in-game menus (flat navy, coloured tab strip, accent line on top). Running text sits straight on the sky, left aligned. */
:root {
  --sky: #c4e9f4;
  --sky-hi: #e4f6fb;
  --sky-lo: #9fd6ea;
  --ink: #181d44;
  --ink-soft: #424c7c;
  --panel: #1c2245;
  --panel-hi: #283063;
  --panel-lo: #12162e;
  --edge: #0a0d1e;
  --on-panel: #eef1ff;
  --on-panel-soft: #a9b2dc;
  --gold: #ffc233;
  --gold-edge: #b07c00;
  --gold-ink: #2b1d00;
  --breeze: #9479f0;
  --breeze-edge: #4f37a6;
  --leaf: #5bd07c;
  --leaf-edge: #237a3f;
  --lava: #ff8a3d;
  --cyan: #7fd6ff;
  --discord: #5865f2;
  --discord-edge: #3440b5;
  --white: #ffffff;
  --display: "Pixelify Sans", "Silkscreen", ui-monospace, monospace, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
  --body: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
  --wrap: 1160px;
  --gut: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

body { background: var(--sky); color: var(--ink); font: 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
#bz { overflow-x: clip; min-height: 100vh; display: flex; flex-direction: column; }
#bz *, #bz *::before, #bz *::after { box-sizing: border-box; }
#bz img { display: block; max-width: 100%; }
:where(#bz) a { color: inherit; }
#bz :focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
:where(#bz) :is(h1, h2, h3, h4) { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: 0; }
:where(#bz) p { margin: 0; }
#bz { font-variant-ligatures: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 32px); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.view { flex: 1; }
.view[hidden] { display: none !important; }

/* ---------- nav ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--panel); }
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--panel); border-bottom: 3px solid var(--edge); color: var(--on-panel); }
.nav-in { display: flex; align-items: center; gap: 18px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 25px; font-weight: 600; color: var(--on-panel); flex: none; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.tabs { display: flex; gap: 2px; align-self: stretch; align-items: flex-end; margin-left: 10px; }
.tabs a { font-family: var(--display); font-size: 18px; text-decoration: none; padding: 7px 13px 9px; color: var(--on-panel-soft); border-radius: 4px 4px 0 0; }
.tabs a:hover { color: var(--on-panel); background: var(--panel-hi); }
.tabs a[aria-current="page"] { background: var(--sky); color: var(--ink); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 4px; background: var(--panel-hi); color: var(--on-panel); border: 0; cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--discord); }
.icon-btn svg { width: 20px; height: 20px; }
.ip { display: inline-flex; align-items: stretch; border: 0; padding: 0; cursor: pointer; font: inherit; border-radius: 4px; overflow: hidden; background: var(--gold); color: var(--gold-ink); box-shadow: inset 0 -4px 0 var(--gold-edge); }
.ip > span { display: flex; align-items: center; padding: 0 12px 4px; height: 40px; font-family: var(--display); font-size: 17px; font-weight: 600; }
.ip .ip-count { background: rgba(0, 0, 0, .12); font-weight: 500; font-size: 15px; gap: 6px; }
.ip .dot { width: 8px; height: 8px; background: var(--leaf-edge); border-radius: 1px; }
.ip:active { transform: translateY(2px); box-shadow: inset 0 -2px 0 var(--gold-edge); }
.burger { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 8px 20px 12px; border: 0; border-radius: 4px; font-family: var(--display); font-size: 20px; font-weight: 600; line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(2px); }
.btn-gold { background: var(--gold); color: var(--gold-ink); box-shadow: inset 0 -4px 0 var(--gold-edge); }
.btn-gold:hover { background: #ffd05c; }
.btn-ink { background: var(--panel); color: var(--on-panel); box-shadow: inset 0 -4px 0 var(--edge); }
.btn-ink:hover { background: var(--panel-hi); }
.btn-discord { background: var(--discord); color: var(--white); box-shadow: inset 0 -4px 0 var(--discord-edge); }
.btn-discord:hover { background: #6b77ff; }
.btn-ghost { background: transparent; color: var(--on-panel); box-shadow: inset 0 0 0 2px var(--panel-hi); }
.btn-ghost:hover { background: var(--panel-hi); }
.btn-sm { min-height: 38px; font-size: 17px; padding: 6px 14px 9px; }
.link { font-weight: 700; color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- in-game panel ---------- */
.menu { background: var(--panel); color: var(--on-panel); border-radius: 4px; box-shadow: 0 0 0 3px var(--edge), 0 10px 0 -2px rgba(10, 13, 30, .18); position: relative; }
.menu::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--accent, var(--gold)); border-radius: 4px 4px 0 0; }
.menu-title { font-family: var(--display); color: var(--accent, var(--gold)); font-size: 24px; text-align: center; padding: 16px 16px 4px; }
.menu-tabs { display: flex; gap: 4px; padding: 12px 14px 0; border-bottom: 2px solid var(--panel-lo); overflow-x: auto; }
.menu-tabs button { flex: none; display: flex; align-items: center; gap: 8px; border: 0; cursor: pointer; font-family: var(--display); font-size: 19px; padding: 8px 16px 10px; border-radius: 4px 4px 0 0; background: var(--panel-lo); color: var(--on-panel-soft); }
.menu-tabs button img { width: 26px; height: 26px; }
.menu-tabs button:hover { color: var(--on-panel); }
.menu-tabs button[aria-selected="true"] { background: var(--tab, var(--gold)); color: var(--gold-ink); }
.well { background: var(--panel-lo); border-radius: 4px; }

/* ---------- home hero ---------- */
.hero { position: relative; background: var(--sky-lo) url(../img/sky.jpg) center 30% / cover no-repeat; padding-block: 56px 112px; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(to bottom, rgba(196, 233, 244, 0), var(--sky)); pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); color: var(--ink); }
.hero h1 .l2 { display: block; color: var(--breeze-edge); }
.hero-lede { margin-top: 18px; font-size: 19px; max-width: 34em; color: var(--ink); background: rgba(228, 246, 251, .72); padding: 12px 16px; border-radius: 4px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.breezy { justify-self: center; width: min(300px, 100%); filter: drop-shadow(0 18px 18px rgba(24, 29, 68, .25)); animation: hover 5s ease-in-out infinite; }
@keyframes hover { 50% { transform: translateY(-14px); } }

/* boss bar countdown, drawn like the vanilla boss bar */
.bossbar { margin-top: 24px; max-width: 460px; }
.bossbar-label { font-family: var(--display); font-size: 19px; color: var(--ink); margin-bottom: 6px; }
.bossbar-label b { font-weight: 600; }
.bossbar-track { height: 12px; background: #3a2a72; border: 2px solid var(--edge); position: relative; }
.bossbar-track i { position: absolute; inset: 0 auto 0 0; background: repeating-linear-gradient(90deg, #d98cff 0 10%, #b55cf0 10% 10.6%); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .35); }

/* server bar under the hero */
.serverbar { margin-top: -78px; position: relative; z-index: 2; display: grid; grid-template-columns: 1.35fr 1fr 1fr auto; gap: 0; }
.serverbar > div { padding: 18px 22px; display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; }
.serverbar > div + div { border-left: 2px solid var(--panel-lo); }
.sb-label { font-size: 14px; color: var(--on-panel-soft); }
.sb-value { font-family: var(--display); font-size: 22px; color: var(--on-panel); }
.sb-value small { display: block; margin-top: 2px; font-family: var(--body); font-size: 14px; color: var(--on-panel-soft); }
.addr { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.addr code { font-family: var(--display); font-size: 25px; color: var(--gold); }
.copy { border: 0; cursor: pointer; font: 600 14px var(--body); padding: 6px 10px; border-radius: 4px; background: var(--panel-hi); color: var(--on-panel); display: inline-flex; gap: 6px; align-items: center; }
.copy:hover { background: #343d7a; }
.copy svg { width: 15px; height: 15px; }
.copy.done { background: var(--leaf-edge); }
.sb-actions { flex-direction: row !important; align-items: center !important; gap: 10px !important; }

/* ---------- sections ---------- */
.sec { padding-block: 72px 0; }
.sec:last-child { padding-bottom: 88px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: 26px; }
.sec-head h2 { font-size: clamp(32px, 4vw, 44px); }
.sec-head p { max-width: 36em; color: var(--ink-soft); margin-top: 8px; }

/* game picker */
.picker { --accent: var(--gold); }
.pane { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 28px; padding: 24px; }
.pane[hidden] { display: none; }
.pane-shot { border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 3px var(--edge); align-self: start; }
.pane-shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pane-shot figcaption { font-size: 14px; color: var(--on-panel-soft); background: var(--panel-lo); padding: 8px 12px; }
.pane-intro { font-size: 18px; color: var(--on-panel); }
.feats { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 8px; }
.feats li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; padding: 8px 12px 8px 8px; background: var(--panel-lo); border-radius: 4px; }
.feats img { width: 56px; height: 56px; image-rendering: auto; }
.feats b { display: block; font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--on-panel); }
.feats span { font-size: 15px; color: var(--on-panel-soft); line-height: 1.45; }
.pane-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* gallery */
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; gap: 14px; }
.shot { margin: 0; cursor: zoom-in; background: none; border: 0; padding: 0; text-align: left; font: inherit; color: inherit; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 3px var(--edge); }
.shot span { display: block; font-size: 14px; line-height: 1.4; color: var(--ink-soft); margin-top: 9px; }
.shot.big { grid-column: span 2; grid-row: span 2; }
.shot.big span { font-size: 15px; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(10, 13, 30, .92); display: grid; place-items: center; padding: 24px var(--gut-r) 24px var(--gut); }
.lightbox figure { margin: 0; max-width: 1280px; width: 100%; }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; box-shadow: 0 0 0 3px var(--edge); }
.lightbox figcaption { color: var(--on-panel); margin-top: 12px; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }

/* news */
.news { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 22px; }
.post-card { display: block; text-decoration: none; color: inherit; }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 3px var(--edge); }
.post-card h3 { font-size: 24px; margin-top: 14px; }
.post-card:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.post-card p { color: var(--ink-soft); margin-top: 6px; font-size: 16px; }
.meta { font-size: 14px; color: var(--ink-soft); margin-top: 12px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tag { font-family: var(--display); font-size: 14px; padding: 1px 8px 3px; border-radius: 3px; color: var(--white); background: var(--breeze-edge); }
.tag.survival { background: var(--leaf-edge); }
.post-card.lead h3 { font-size: 32px; }
.news-side { display: grid; gap: 22px; align-content: start; }
.news-side .post-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; align-items: start; }
.news-side .post-card h3 { margin-top: 0; font-size: 21px; }
.news-side .meta { margin-top: 8px; }

/* vote + discord pair */
.pair { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 26px; }
.pair .menu { padding: 22px 24px 24px; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: start; }
.pair .menu img { width: 96px; height: 96px; }
.pair h3 { font-size: 26px; color: var(--on-panel); }
.pair p { color: var(--on-panel-soft); margin: 6px 0 16px; font-size: 16px; }
.discord-menu { --accent: var(--discord); }

/* ---------- footer ---------- */
.foot { background: var(--panel); color: var(--on-panel-soft); border-top: 3px solid var(--edge); padding-block: 44px 28px; margin-top: auto; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot .brand { font-size: 28px; }
.foot p { font-size: 15px; margin-top: 10px; max-width: 30em; }
.foot h4 { font-size: 18px; color: var(--on-panel); margin-bottom: 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.foot ul a { text-decoration: none; }
.foot ul a:hover { color: var(--on-panel); text-decoration: underline; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 34px; padding-top: 18px; border-top: 2px solid var(--panel-lo); font-size: 13px; }
.foot .ip { margin-top: 16px; }

/* ---------- inner page banner ---------- */
.banner { background: var(--sky-lo) url(../img/sky.jpg) center 35% / cover no-repeat; position: relative; padding-block: 48px 76px; }
.banner::after { content: ""; position: absolute; inset: auto 0 0; height: 70px; background: linear-gradient(to bottom, rgba(196, 233, 244, 0), var(--sky)); }
.banner .wrap { position: relative; z-index: 1; display: flex; align-items: center; gap: 22px; }
.banner img.badge { width: 104px; height: 104px; flex: none; }
.banner h1 { font-size: clamp(38px, 5vw, 58px); }
.banner p { font-size: 18px; margin-top: 8px; max-width: 36em; background: rgba(228, 246, 251, .72); padding: 6px 12px; border-radius: 4px; display: inline-block; }
.page-body { margin-top: -36px; position: relative; z-index: 2; padding-bottom: 88px; }

/* join */
.join { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.join .menu { padding-bottom: 22px; }
.join-addr { margin: 20px 22px 0; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.join-addr code { font-family: var(--display); font-size: 30px; color: var(--gold); }
.join-addr .port { font-size: 15px; color: var(--on-panel-soft); }
.steps { list-style: none; margin: 18px 22px 0; padding: 0; display: grid; gap: 10px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px 14px 12px 12px; }
.steps li::before { content: counter(s); width: 44px; height: 44px; display: grid; place-items: center; font-family: var(--display); font-size: 24px; background: var(--gold); color: var(--gold-ink); border-radius: 4px; box-shadow: inset 0 -4px 0 var(--gold-edge); padding-bottom: 3px; }
.steps b { font-family: var(--display); font-weight: 600; font-size: 20px; display: block; }
.steps span { font-size: 15px; color: var(--on-panel-soft); }
.steps kbd { font: 600 14px var(--body); background: var(--panel-hi); color: var(--on-panel); padding: 1px 6px; border-radius: 3px; }
.note { margin: 14px 22px 0; font-size: 14px; color: var(--on-panel-soft); }
.note a { color: var(--on-panel); }
.arrive h2 { font-size: 32px; }
.arrive > p { color: var(--ink-soft); margin-top: 8px; }
.arrive ol { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 16px; }
.arrive li { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 14px; align-items: start; }
.arrive li img { width: 132px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 3px var(--edge); }
.arrive li b { font-family: var(--display); font-weight: 600; font-size: 19px; display: block; }
.arrive li span { font-size: 15px; color: var(--ink-soft); }

/* guides */
.guides .menu-tabs { padding-top: 14px; }
.books { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 22px; }
.books[hidden] { display: none; }
.book { display: flex; flex-direction: column; text-decoration: none; background: var(--panel-lo); border-radius: 4px; overflow: hidden; }
.book img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.book div { padding: 12px 14px 14px; }
.book b { font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--on-panel); display: block; }
.book span { font-size: 14px; color: var(--on-panel-soft); line-height: 1.45; display: block; margin-top: 4px; }
.book:hover { box-shadow: 0 0 0 2px var(--gold); }
.stale { margin: 0 22px; padding: 10px 14px; border-radius: 4px; background: #3d2c00; color: #ffe39a; font-size: 14px; }

/* store */
.store-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 22px 0; }
.login { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--on-panel-soft); }
.store-cats { margin-top: 12px; }
.store-pane { padding: 22px; }
.store-pane[hidden] { display: none; }
.mode-switch { display: inline-flex; background: var(--panel-lo); border-radius: 4px; padding: 4px; gap: 4px; }
.mode-switch button { border: 0; cursor: pointer; font-family: var(--display); font-size: 18px; padding: 6px 14px 8px; border-radius: 3px; background: transparent; color: var(--on-panel-soft); }
.mode-switch button[aria-pressed="true"] { background: var(--panel-hi); color: var(--on-panel); }
.ranks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.rank { background: var(--panel-lo); border-radius: 4px; padding: 14px 12px 14px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; position: relative; border-top: 3px solid var(--rc); }
.rank img { width: 96px; height: 96px; }
.rank b { font-family: var(--display); font-size: 24px; font-weight: 600; color: var(--rc); }
.rank .price { font-size: 15px; color: var(--on-panel-soft); margin-bottom: 8px; }
.rank .flag { position: absolute; top: 8px; right: 8px; font: 700 12px var(--body); background: var(--gold); color: var(--gold-ink); padding: 2px 6px; border-radius: 3px; }
.rank .btn { width: 100%; }
.compare-wrap { margin-top: 18px; overflow-x: auto; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.compare th, .compare td { padding: 8px 10px; text-align: center; border-bottom: 1px solid var(--panel-hi); }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--on-panel-soft); }
.compare thead th { font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--rc, var(--on-panel)); }
.compare tr.group td { font-family: var(--display); font-size: 18px; color: var(--gold); padding-top: 18px; border-bottom-color: var(--gold-edge); }
.compare td b { color: var(--on-panel); }
.yes { color: var(--leaf); font-weight: 700; }
.no { color: #5c6596; }
.more { margin-top: 12px; }
.dabloons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 4px; }
.dab { background: var(--panel-lo); border-radius: 4px; padding: 16px 14px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; position: relative; }
.dab img { width: 84px; height: 84px; }
.dab b { font-family: var(--display); font-weight: 600; font-size: 24px; }
.dab .bonus { font-size: 14px; color: var(--leaf); font-weight: 700; min-height: 1.4em; }
.dab .price { font-size: 15px; color: var(--on-panel-soft); margin-bottom: 8px; }
.dab .btn { width: 100%; }
.dab .flag { position: absolute; top: 8px; right: 8px; font: 700 12px var(--body); background: var(--gold); color: var(--gold-ink); padding: 2px 6px; border-radius: 3px; }
.pass { margin-top: 18px; display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 18px; }
.pass img { width: 84px; height: 84px; }
.pass b { font-family: var(--display); font-weight: 600; font-size: 22px; display: block; }
.pass span { font-size: 15px; color: var(--on-panel-soft); }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 95; background: var(--panel); color: var(--on-panel); padding: 12px 18px; border-radius: 4px; box-shadow: 0 0 0 3px var(--edge); font-size: 15px; max-width: calc(100% - 32px); }

/* vote */
.vote { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.vote-list { list-style: none; margin: 0; padding: 18px 22px 22px; display: grid; gap: 8px; }
.vote-list li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 12px; }
.vote-list .n { font-family: var(--display); font-size: 22px; color: var(--gold); text-align: center; }
.vote-list b { font-family: var(--display); font-weight: 600; font-size: 20px; display: block; }
.vote-list small { font-size: 13px; color: var(--on-panel-soft); }
.vote-list .state { font-size: 13px; color: var(--leaf); font-weight: 700; }
.vote-side { display: grid; gap: 18px; }
.vote-side h2 { font-size: 30px; }
.vote-side p { color: var(--ink-soft); }
.vote-side .art { display: flex; gap: 12px; }
.vote-side .art img { width: 96px; height: 96px; }

/* news + article */
.news-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 24px; }
.news-list .post-card h3 { font-size: 22px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { border: 0; cursor: pointer; font-family: var(--display); font-size: 17px; padding: 6px 14px 8px; border-radius: 4px; background: var(--sky-hi); color: var(--ink); box-shadow: inset 0 0 0 2px var(--sky-lo); }
.filters button[aria-pressed="true"] { background: var(--panel); color: var(--on-panel); box-shadow: none; }
.article { max-width: 760px; margin: 0 auto; }
.article-head h1 { font-size: clamp(36px, 5vw, 54px); }
.article-head .meta { margin-top: 14px; font-size: 15px; }
.article-cover { margin: 26px 0 0; }
.article-cover img { width: 100%; border-radius: 3px; box-shadow: 0 0 0 3px var(--edge); }
.article-cover figcaption, .prose figcaption { font-size: 14px; color: var(--ink-soft); margin-top: 10px; }
.prose { margin-top: 30px; font-size: 18px; line-height: 1.65; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: 32px; margin-top: 44px; }
.prose h3 { font-size: 24px; margin-top: 30px; }
.prose figure { margin: 30px 0 0; }
.prose figure img { width: 100%; border-radius: 3px; box-shadow: 0 0 0 3px var(--edge); }
.prose code { font: 600 0.9em var(--body); background: var(--sky-hi); padding: 1px 6px; border-radius: 3px; box-shadow: inset 0 0 0 1px var(--sky-lo); }
.table-wrap { overflow-x: auto; margin-top: 22px; background: var(--panel); color: var(--on-panel); border-radius: 4px; box-shadow: 0 0 0 3px var(--edge); }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.prose th { font-family: var(--display); font-size: 18px; font-weight: 600; text-align: left; padding: 12px 14px; color: var(--gold); border-bottom: 2px solid var(--panel-lo); }
.prose td { padding: 10px 14px; vertical-align: top; border-bottom: 1px solid var(--panel-hi); }
.prose td:first-child { color: var(--on-panel-soft); width: 38%; }
.prose tr:last-child td { border-bottom: 0; }
.callout { background: var(--sky-hi); border-radius: 4px; padding: 14px 18px; box-shadow: inset 4px 0 0 var(--breeze); font-size: 17px; }
.article-end { margin-top: 40px; padding: 20px 22px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.article-end p { color: var(--on-panel-soft); }
.article-end b { color: var(--on-panel); font-family: var(--display); font-size: 21px; font-weight: 600; display: block; }



/* two equal game cards */
.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; align-items: stretch; }
.mode { display: flex; flex-direction: column; overflow: hidden; }
.mode-art { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-bottom: 3px solid var(--edge); }
.mode-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.mode h3 { font-size: 34px; color: var(--accent); }
.mode-pitch { color: var(--on-panel); margin-top: 8px; font-size: 17px; }
.mode .feats { margin: 16px 0 14px; }
.mode-new { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; text-decoration: none; font-size: 15px; color: var(--on-panel-soft); margin-top: auto; box-shadow: inset 0 0 0 2px var(--panel-hi); }
.mode-new:hover { box-shadow: inset 0 0 0 2px var(--accent); }
.mode-new b { color: var(--on-panel); font-family: var(--display); font-weight: 600; font-size: 18px; display: block; }
.mode-new .tag { flex: none; margin-top: 2px; }
.mode .pane-actions { margin-top: 14px; }

/* join: first steps per mode */
.arrive-switch { margin-top: 14px; background: var(--panel); }
.arrive ol li { grid-template-columns: 64px minmax(0, 1fr); align-items: center; }
.arrive li img { width: 64px; height: 64px; aspect-ratio: auto; object-fit: contain; border-radius: 0; box-shadow: none; }
.arrive code { font: 600 0.92em var(--body); background: var(--sky-hi); padding: 1px 6px; border-radius: 3px; box-shadow: inset 0 0 0 1px var(--sky-lo); }

/* store */
.store-q { padding: 26px 24px 24px; text-align: center; }
.store-q h2 { font-size: clamp(28px, 3.4vw, 38px); color: var(--on-panel); }
.store-q > p { color: var(--on-panel-soft); margin-top: 8px; }
.store-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); justify-content: center; gap: 14px; margin-top: 20px; }
.store-pick small { white-space: nowrap; }
.store-pick button { display: flex; align-items: center; gap: 14px; text-align: left; padding: 12px 18px 12px 12px; border: 0; cursor: pointer; border-radius: 4px; background: var(--panel-lo); color: var(--on-panel); box-shadow: inset 0 0 0 2px var(--panel-hi); font: inherit; }
.store-pick button:hover { box-shadow: inset 0 0 0 2px var(--accent); }
.store-pick button[aria-pressed="true"] { background: var(--accent); color: var(--gold-ink); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .25); }
.store-pick button[aria-pressed="true"] small { color: var(--gold-ink); }
.store-pick img { width: 56px; height: 56px; }
.store-pick b { display: block; font-family: var(--display); font-weight: 600; font-size: 24px; }
.store-pick small { font-size: 14px; color: var(--on-panel-soft); }
.store-empty { text-align: center; color: var(--ink-soft); margin-top: 28px; }
.store-sec { margin-top: 48px; }
.store-ranks { margin-top: 0; }
.store-ranks .sec-head { margin-top: 22px; }
.store-ranks .sec-head p { color: var(--ink-soft); max-width: 40em; }
.store-sec .sec-head { margin-bottom: 18px; }
.store-sec h2 { font-size: clamp(28px, 3.4vw, 38px); }
.for { color: var(--ink-soft); font-size: 0.62em; }
.linkbtn { background: none; border: 0; cursor: pointer; font: 700 16px var(--body); text-decoration: underline; padding: 4px 0; }
.ranks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 0; }
.rank { background: var(--panel); color: var(--on-panel); border-radius: 4px; box-shadow: 0 0 0 3px var(--edge); padding: 16px 14px 16px; display: flex; flex-direction: column; gap: 0; position: relative; border-top: 0; text-align: left; align-items: stretch; }
.rank::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--rc); border-radius: 4px 4px 0 0; }
.rank-head { display: flex; align-items: center; gap: 10px; }
.rank-head img { width: 60px; height: 60px; flex: none; }
.rank b.rn { font-family: var(--display); font-size: 25px; font-weight: 600; color: var(--rc); display: block; line-height: 1.1; }
.rank .price { font-size: 16px; color: var(--on-panel); font-weight: 600; }
.rank .flag { position: static; align-self: flex-start; margin-top: 10px; }
.rank .once { margin-top: 12px; font-size: 13px; color: var(--on-panel-soft); background: var(--panel-lo); border-radius: 3px; padding: 8px 10px; line-height: 1.45; }
.rank .once strong { color: var(--gold); font-weight: 600; }
.rank .incl { margin-top: 12px; font-size: 13px; color: var(--on-panel-soft); }
.rank ul { list-style: none; margin: 6px 0 16px; padding: 0; display: grid; gap: 5px; font-size: 14px; line-height: 1.4; }
.rank li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 7px; }
.rank li::before { content: ""; width: 8px; height: 8px; margin-top: 6px; background: var(--rc); }
.rank .btn { width: 100%; margin-top: auto; }
.compare-box { margin-top: 20px; padding: 6px 8px; }
.dabloons .dab { background: var(--panel); color: var(--on-panel); box-shadow: 0 0 0 3px var(--edge); }
.store .pass { margin-top: 18px; }

/* buy sheet */
.sheet { position: fixed; inset: 0; z-index: 92; background: rgba(10, 13, 30, .7); display: grid; place-items: center; padding: 24px var(--gut-r) 24px var(--gut); }
.sheet-box { width: 100%; max-width: 420px; padding: 24px; display: grid; gap: 12px; }
.sheet-box h3 { font-size: 28px; color: var(--on-panel); }
.sheet-sub { color: var(--on-panel-soft); }
.field { font-size: 14px; color: var(--on-panel-soft); margin-top: 4px; }
.input { font: 600 18px var(--body); padding: 10px 12px; border-radius: 4px; border: 2px solid var(--panel-hi); background: var(--panel-lo); color: var(--on-panel); width: 100%; }
.input:focus { outline: 3px solid var(--gold); outline-offset: 1px; }
.sheet .mode-switch { justify-self: start; }
.sheet-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.sheet-note { font-size: 13px; color: var(--on-panel-soft); }

@media (max-width: 1080px) {
  .ranks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  .modes { grid-template-columns: minmax(0, 1fr); }
  .ranks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .store-pick { grid-template-columns: minmax(0, 1fr); }
  .ranks { grid-template-columns: minmax(0, 1fr); }
  .mode h3 { font-size: 28px; }
}


/* ---------- Ghost content ---------- */
.prose a { color: var(--breeze-edge); font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 6px; }
.prose blockquote { margin: 24px 0 0; padding: 12px 18px; background: var(--sky-hi); border-radius: 4px; box-shadow: inset 4px 0 0 var(--breeze); }
.prose hr { border: 0; height: 3px; background: var(--sky-lo); margin: 36px 0; }
.prose img { max-width: 100%; height: auto; }
.prose figure img { height: auto; }
.prose pre { overflow-x: auto; background: var(--panel); color: var(--on-panel); padding: 14px 16px; border-radius: 4px; font-size: 15px; }
.prose table:not(.compare) { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose > table { display: block; overflow-x: auto; background: var(--panel); color: var(--on-panel); border-radius: 4px; box-shadow: 0 0 0 3px var(--edge); }
.prose .kg-card { margin-top: 26px; }
.prose .kg-width-wide { margin-left: calc(50% - min(50vw - 24px, 520px)); margin-right: calc(50% - min(50vw - 24px, 520px)); }
.prose .kg-width-full { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.prose .kg-width-full img { border-radius: 0; box-shadow: none; }
.prose .kg-gallery-container { display: flex; flex-direction: column; gap: 10px; }
.prose .kg-gallery-row { display: flex; gap: 10px; }
.prose .kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 3px var(--edge); }
.prose .kg-bookmark-card a { color: inherit; }
.prose .kg-callout-card { border-radius: 4px; }
.prose .kg-image-card figcaption, .prose .kg-gallery-card figcaption { text-align: left; }
.article .tags { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 40px; color: var(--ink-soft); font-size: 15px; }
.pager a { font-weight: 700; color: var(--ink); }
.empty-note { color: var(--ink-soft); }

/* sale (PayNow active_sale, partials/sale.hbs) */
.sale-bar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 14px; padding: 7px 16px 8px; background: #c42a3f; color: var(--white); font-size: 15px; line-height: 1.3; text-align: center; text-decoration: none; }
.sale-bar[hidden] { display: none; }
.sale-bar b { font-family: var(--display); font-weight: 600; font-size: 17px; color: #ffe08a; }
.sale-bar .sale-bar-go { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; font-weight: 600; }
.sale-strip { --accent: #ff5b6e; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px 32px; padding: 20px 24px; margin-bottom: 30px; }
.sale-strip h2 { font-size: clamp(28px, 3.6vw, 40px); color: #ffe08a; }
.sale-strip p { color: var(--on-panel); margin-top: 6px; }
.sale-strip p b { color: #ffe08a; }
.sale-clock { display: flex; gap: 8px; }
.sale-tick { display: grid; justify-items: center; gap: 4px; }
.sale-tick span { min-width: 58px; padding: 8px 6px 10px; border-radius: 4px; background: var(--panel-lo); color: #ffe08a; text-align: center; font-family: var(--display); font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.sale-tick small { font-size: 12px; color: var(--on-panel-soft); }
.sale-ends { grid-column: 2; font-size: 13px; color: var(--on-panel-soft); text-align: center; }
.was { color: var(--on-panel-soft); text-decoration: line-through; text-decoration-thickness: 2px; font-weight: 400; margin-right: 6px; }
.off { position: absolute; top: 10px; right: 10px; font: 700 12px var(--body); background: #c42a3f; color: var(--white); padding: 2px 7px; border-radius: 3px; }

/* store chrome: account, currency, basket */
.store-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 16px; margin-bottom: 26px; }
.store-bar .who { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--on-panel-soft); }
.store-bar .who img { width: 32px; height: 32px; image-rendering: pixelated; border-radius: 3px; }
.store-bar .who b { color: var(--on-panel); font-family: var(--display); font-weight: 600; font-size: 19px; }
.store-bar .tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.select { font: 600 15px var(--body); padding: 8px 10px; border-radius: 4px; border: 2px solid var(--panel-hi); background: var(--panel-lo); color: var(--on-panel); }
.count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 3px; background: var(--gold); color: var(--gold-ink); font: 700 13px var(--body); }
.btn .count { margin-left: 2px; }
.drawer { position: fixed; inset: 0; z-index: 91; background: rgba(10, 13, 30, .55); display: flex; justify-content: flex-end; }
.drawer-box { width: min(420px, 100%); height: 100%; overflow-y: auto; border-radius: 0; padding: 20px 20px calc(24px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 14px; padding-right: max(20px, env(safe-area-inset-right, 0px)); padding-top: calc(20px + env(safe-area-inset-top, 0px)); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.drawer-head h3 { font-size: 28px; color: var(--on-panel); }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 12px; }
.lines b { font-family: var(--display); font-weight: 600; font-size: 18px; display: block; }
.lines small { font-size: 13px; color: var(--on-panel-soft); }
.lines .x { border: 0; background: var(--panel-hi); color: var(--on-panel); width: 30px; height: 30px; border-radius: 4px; cursor: pointer; font-size: 18px; line-height: 1; }
.total { display: flex; justify-content: space-between; font-family: var(--display); font-size: 22px; color: var(--on-panel); }
.save { display: flex; justify-content: space-between; color: #ffe08a; font-weight: 600; font-size: 15px; }
.drawer .note-sm { font-size: 13px; color: var(--on-panel-soft); }
.legal { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--ink-soft); margin-top: 30px; justify-content: center; }
.legal a { color: var(--ink-soft); }
.skin { width: 72px; height: auto; image-rendering: pixelated; justify-self: center; }
@media (max-width: 560px) {
  .sale-strip { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .sale-ends { grid-column: 1; text-align: left; }
  .sale-tick span { min-width: 0; width: 100%; font-size: 24px; }
  .sale-clock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .tabs a { padding-inline: 9px; font-size: 17px; }
  .ip .ip-text { display: none; }
  .ip > span.ip-count { background: transparent; }
  .serverbar { grid-template-columns: 1fr 1fr; }
  .serverbar > div:nth-child(3) { border-left: 0; }
  .serverbar > div:nth-child(n+3) { border-top: 2px solid var(--panel-lo); }
  .books { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  .burger { display: grid; margin-left: auto; }
  .tabs { display: none; position: absolute; left: 0; right: 0; top: 63px; flex-direction: column; align-items: stretch; background: var(--panel); border-bottom: 3px solid var(--edge); padding: 8px var(--gut-r) 12px var(--gut); margin: 0; gap: 2px; }
  .tabs.open { display: flex; }
  .tabs a { border-radius: 4px; padding: 10px 12px; }
  .nav-end { margin-left: 0; }
  .nav-end .icon-btn.discord { display: none; }
  .hero { padding-block: 36px 104px; background-position: 42% 30%; }
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  #bz .breezy { display: none; }
  .pane { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news, .pair, .join, .vote { grid-template-columns: minmax(0, 1fr); }
  .news-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-in > div:first-child { grid-column: 1 / -1; }
  .dabloons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .books { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand span { display: none; }
  .serverbar { grid-template-columns: minmax(0, 1fr); }
  .serverbar > div + div { border-left: 0; border-top: 2px solid var(--panel-lo); }
  .sb-actions { flex-wrap: wrap; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .shot.big { grid-column: 1 / -1; grid-row: auto; }
  .shot span { font-size: 12px; }
  .news-side .post-card { grid-template-columns: 112px minmax(0, 1fr); }
  .news-side .post-card h3 { font-size: 18px; }
  .news-side .post-card p { display: none; }
  .news-list { grid-template-columns: minmax(0, 1fr); }
  .pair .menu { grid-template-columns: minmax(0, 1fr); }
  .pair .menu img { width: 72px; height: 72px; }
  .books { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .banner .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  .banner img.badge { width: 72px; height: 72px; }
  .arrive li { grid-template-columns: 96px minmax(0, 1fr); }
  .arrive li img { width: 96px; }
  .pass { grid-template-columns: 64px minmax(0, 1fr); }
  .pass img { width: 64px; height: 64px; }
  .pass .btn { grid-column: 1 / -1; }
  .vote-list li { grid-template-columns: 28px minmax(0, 1fr); }
  .vote-list li .btn { grid-column: 2; justify-self: start; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .join-addr code { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .breezy { animation: none; }
  #bz * { scroll-behavior: auto !important; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[x-cloak] { display: none !important; }
.menu-tabs a.tab-link { flex: none; font-family: var(--display); font-size: 19px; padding: 8px 16px 10px; border-radius: 4px 4px 0 0; background: var(--panel-lo); color: var(--on-panel-soft); text-decoration: none; }
.menu-tabs a.tab-link:hover { color: var(--on-panel); }
.menu-tabs a.tab-link[aria-current="page"] { background: var(--gold); color: var(--gold-ink); }
html, body { margin: 0; padding: 0; }
/* Digits: the pixel face draws 5 like S, so prices, amounts, timers and counts use the body face */
.total, .dab b, .sale-tick span, .vote-list .n, .sb-value [data-online], .ip-count, .lines span, .count { font-family: var(--body); font-weight: 600; }
.dab b { font-size: 26px; }
.sale-tick span { font-size: 28px; }
.rank-head img { width: 48px; height: 48px; }
.rank .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.rank .chips:empty { display: none; }
.rank .chips .off, .rank .chips .flag { position: static; margin: 0; }
/* Elements toggled with the hidden attribute must stay hidden even when a rule sets their display */
[hidden] { display: none !important; }
.mode-switch button[aria-pressed="true"] { background: var(--gold); color: var(--gold-ink); box-shadow: inset 0 -3px 0 var(--gold-edge); }
