/* =========================================================
   Come — V10 design system
   Theme: cool-silver-marketplace
   Background: soft-green-and-white
   Accent: lime-sport
   Type: technical-grotesk
   Surface: crisp-borderless
   Signature: diagonal-media-crop
   ========================================================= */

:root {
  --bg: #f3f7f1;
  --bg-2: #ffffff;
  --bg-3: #e8efe2;
  --bg-band: #ecf2e6;
  --ink: #0f1f17;
  --ink-2: #2a3a30;
  --ink-3: #4a5b50;
  --ink-4: #5d6a62;
  --line: #d6e0d0;
  --line-2: #e8efe2;
  --silver: #cfd6d8;
  --silver-2: #e3e8ea;
  --silver-3: #f1f4f4;
  --accent: #9fc418;        /* lime-sport */
  --accent-2: #b9da2c;
  --accent-deep: #6c8a0a;
  --accent-ink: #0f1f17;
  --teal: #0f4c40;
  --teal-2: #1a6b5c;
  --gold: #b9851a;
  --red: #c0392b;
  --red-2: #e85a4f;
  --shadow-1: 0 1px 0 rgba(15,31,23,0.04);
  --shadow-2: 0 6px 24px rgba(15,31,23,0.06);
  --shadow-3: 0 18px 48px rgba(15,31,23,0.10);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --container: 1280px;
  --gutter: 24px;
  --header-h: 72px;
  --font-display: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html { overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-2); text-decoration: none; }
a:hover { color: var(--teal); }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; color: var(--ink); line-height: 1.18; letter-spacing: -0.01em; margin: 0 0 .4em; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.4rem); }
p { margin: 0 0 1em; color: var(--ink-2); }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
hr { border: 0; height: 1px; background: var(--line); margin: 28px 0; }

/* Layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 56px 0; }
.section--band { background: var(--bg-band); }
.section--ink { background: var(--ink); color: #d6e0d0; }
.section--ink h2, .section--ink h3 { color: #f3f7f1; }
.section--ink p { color: #b8c6bb; }
.section--tight { padding: 32px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 12px; letter-spacing: .14em;
  color: var(--teal-2);
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.section--ink .eyebrow { color: var(--accent-2); border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.04); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(243, 247, 241, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.01em; }
.brand-name em { color: var(--accent-deep); font-style: normal; }
.brand-tag { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-4); font-family: var(--font-mono); }
.primary-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.primary-nav a {
  color: var(--ink-2);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14.5px;
  white-space: nowrap;
}
.primary-nav a:hover { color: var(--ink); background: var(--bg-3); }
.primary-nav a.is-active { color: var(--ink); background: var(--bg-3); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 10px; font-weight: 600; font-size: 14.5px; border: 1px solid transparent; transition: transform .12s ease, background .12s ease, color .12s ease, border-color .12s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent-deep); box-shadow: 0 1px 0 var(--accent-deep) inset, 0 6px 18px rgba(159,196,24,.30); }
.btn--accent:hover { background: var(--accent-2); color: var(--accent-ink); }
.btn--ink { background: var(--ink); color: #f3f7f1; }
.btn--ink:hover { background: #1a2c22; color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--bg-3); border-color: var(--ink-4); }
.btn--lg { padding: 14px 22px; font-size: 16px; }
.btn--xl { padding: 16px 26px; font-size: 17px; border-radius: 12px; }
.btn--block { width: 100%; }

/* Hamburger */
.hamburger { display: none; width: 44px; height: 44px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); align-items: center; justify-content: center; position: relative; z-index: 90; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.hamburger span::before, .hamburger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.hamburger span::before { top: -6px; }
.hamburger span::after { top: 6px; }
.hamburger[aria-expanded="true"] span { background: transparent; }
.hamburger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer { position: fixed; inset: 0; z-index: 70; background: var(--bg); transform: translateY(-100%); transition: transform .25s ease, visibility 0s linear .25s; overflow: auto; padding: calc(var(--header-h) + 20px) 24px 80px; visibility: hidden; pointer-events: none; }
.mobile-drawer[data-open="true"] { transform: translateY(0); visibility: visible; pointer-events: auto; transition: transform .25s ease, visibility 0s linear 0s; }
.mobile-drawer .drawer-close { position: absolute; top: calc(var(--header-h) - 56px); right: 16px; width: 44px; height: 44px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); display: none; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; z-index: 75; }
.mobile-drawer .drawer-close::before, .mobile-drawer .drawer-close::after { content: ""; position: absolute; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.mobile-drawer .drawer-close::before { transform: rotate(45deg); }
.mobile-drawer .drawer-close::after { transform: rotate(-45deg); }
@media (max-width: 960px) {
  .mobile-drawer[data-open="true"] .drawer-close { display: inline-flex; }
}
.mobile-drawer nav { display: flex; flex-direction: column; gap: 2px; }
.mobile-drawer nav a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line-2); color: var(--ink); font-size: 17px; font-weight: 500; }
.mobile-drawer .btn--accent { margin-top: 24px; }

@media (max-width: 960px) {
  .primary-nav, .header-cta .btn--ghost { display: none; }
  .hamburger { display: inline-flex; }
}

/* ===== Hero (image-first-cover) ===== */
.hero {
  position: relative;
  background: linear-gradient(180deg, #f6faf2 0%, #eef3e7 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: center;
  padding: 56px 0 64px;
}
.hero-text { position: relative; z-index: 2; }
.hero h1 { margin: 16px 0 16px; }
.hero h1 .lead-accent { color: var(--teal-2); }
.hero p.lede { font-size: 18px; color: var(--ink-2); max-width: 52ch; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px; margin: 24px 0; }
.hero-meta .chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink-2); }
.hero-meta .chip strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .hint { color: var(--ink-4); font-size: 13px; align-self: center; }
.hero-actions .btn { min-width: 0; }
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

/* diagonal-media-crop signature */
.hero-cover {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #0f4c40 0%, #1a6b5c 50%, #9fc418 100%);
  box-shadow: var(--shadow-3);
  transform: skewY(-3deg);
  transform-origin: top left;
}
.hero-cover > * { transform: skewY(3deg); transform-origin: top left; }
.hero-cover img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: 0.92; }
.hero-cover-grid {
  position: absolute; inset: 0; padding: 24px;
  display: grid; grid-template-rows: auto 1fr auto; gap: 16px;
  background: linear-gradient(180deg, rgba(15,31,23,0.10) 0%, rgba(15,31,23,0.55) 100%);
  color: #f3f7f1;
}
.hero-cover-grid .cover-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); }
.hero-cover-grid .cover-title { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; line-height: 1.15; max-width: 14ch; }
.hero-cover-grid .cover-stats { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-cover-grid .cover-stats span { padding: 5px 10px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.20); border-radius: 999px; font-size: 12px; font-family: var(--font-mono); }
.hero-cover .cover-floats { position: absolute; right: 16px; top: 16px; display: flex; flex-direction: column; gap: 10px; z-index: 2; }
.hero-cover .cover-floats .float { background: var(--bg-2); color: var(--ink); border-radius: 12px; padding: 8px 12px; font-size: 12px; font-family: var(--font-mono); box-shadow: var(--shadow-2); }
.hero-cover .cover-floats .float b { display: block; color: var(--teal); font-size: 16px; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; padding: 32px 0 40px; }
  .hero-cover { aspect-ratio: 16/12; transform: none; }
  .hero-cover > * { transform: none; }
}

/* ===== Quick actions / utility row ===== */
.quick-actions { padding: 24px 0 8px; background: var(--bg); border-top: 1px solid var(--line-2); }
.quick-actions-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.quick-actions-row a {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); font-weight: 600; font-size: 14.5px;
  min-width: 0; overflow-wrap: anywhere; word-break: break-word;
}
.quick-actions-row a > span:not(.qa-icon) { min-width: 0; flex: 1; }
.quick-actions-row a > span:not(.qa-icon):not(.qa-sub) { display: block; }
.quick-actions-row a:hover { border-color: var(--teal-2); background: #f6faf2; }
.quick-actions-row .qa-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--bg-3); display: grid; place-items: center; color: var(--teal-2); font-size: 18px; flex: 0 0 36px; }
.quick-actions-row .qa-sub { display: block; font-weight: 400; font-size: 12.5px; color: var(--ink-4); margin-top: 2px; font-family: var(--font-mono); letter-spacing: .04em; overflow-wrap: anywhere; word-break: break-word; }
@media (max-width: 760px) {
  .quick-actions-row { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 380px) {
  .quick-actions-row { grid-template-columns: 1fr; }
}

/* ===== Lobby / Game grid (dense-list) ===== */
.lobby-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.lobby-head h2 { margin: 0; }
.lobby-head p { margin: 0; color: var(--ink-3); }

.provider-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.provider-tabs button {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg-2); color: var(--ink-2); font-weight: 500; font-size: 13.5px;
  white-space: nowrap;
}
.provider-tabs button:hover { border-color: var(--ink-4); }
.provider-tabs button[aria-pressed="true"] { background: var(--ink); color: #f3f7f1; border-color: var(--ink); }
.provider-tabs button .count { font-family: var(--font-mono); font-size: 11px; color: inherit; opacity: .7; margin-left: 6px; }

.lobby-search { display: flex; gap: 10px; align-items: center; }
.lobby-search input {
  width: 100%; max-width: 360px;
  padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg-2); font-size: 14px; color: var(--ink);
}
.lobby-search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  min-width: 0;
}
.game-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.game-card:hover { transform: translateY(-2px); border-color: var(--teal-2); box-shadow: var(--shadow-2); }
.game-card .gc-art { aspect-ratio: 1/1; background: var(--bg-3); position: relative; overflow: hidden; }
.game-card .gc-art img { width: 100%; height: 100%; object-fit: cover; }
.game-card .gc-body { padding: 10px 12px 12px; }
.game-card .gc-name { font-size: 13.5px; font-weight: 600; line-height: 1.3; margin: 0 0 4px; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.game-card .gc-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 11.5px; color: var(--ink-4); font-family: var(--font-mono); }
.game-card .gc-meta .provider { color: var(--teal-2); }
.game-card .gc-meta .play { color: var(--accent-deep); font-weight: 600; }

.lobby-foot { margin-top: 28px; text-align: center; }
.lobby-foot .pager { display: inline-flex; align-items: center; gap: 4px; padding: 6px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; }
.lobby-foot .pager button, .lobby-foot .pager a { padding: 8px 12px; border: 0; background: transparent; color: var(--ink-2); font-weight: 600; font-size: 14px; border-radius: 8px; }
.lobby-foot .pager .is-current { background: var(--ink); color: #f3f7f1; }

/* ===== Chaptered sections ===== */
.chapter { padding: 64px 0; position: relative; }
.chapter--alt { background: var(--bg-band); }
.chapter--ink { background: var(--ink); color: #d6e0d0; }
.chapter--ink h2, .chapter--ink h3 { color: #f3f7f1; }
.chapter--ink p { color: #b8c6bb; }
.chapter-head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; align-items: end; margin-bottom: 28px; }
.chapter-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-4); }
.chapter-head h2 { margin: 8px 0 0; }
.chapter-head p { margin: 0; color: var(--ink-3); }
@media (max-width: 820px) { .chapter-head { grid-template-columns: 1fr; gap: 8px; } }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.feature {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.feature h3 { margin: 0 0 8px; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--ink-3); font-size: 14.5px; }
.feature .ico { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--bg-3); color: var(--teal-2); font-weight: 700; margin-bottom: 12px; font-family: var(--font-mono); }
@media (max-width: 820px) { .feature-grid { grid-template-columns: 1fr; } }

.pillar { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: center; padding: 24px 0; }
.pillar--reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.pillar h2 { margin: 8px 0 12px; }
.pillar-art { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); position: relative; }
.pillar-art img { width: 100%; height: 100%; object-fit: cover; }
.pillar ul { padding-left: 0; list-style: none; margin: 16px 0 0; }
.pillar li { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line-2); color: var(--ink-2); font-size: 14.5px; }
.pillar li b { color: var(--ink); min-width: 110px; }
@media (max-width: 820px) { .pillar, .pillar--reverse { grid-template-columns: 1fr; gap: 18px; } }

/* FAQ */
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 600; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--teal-2); font-weight: 300; transition: transform .2s ease; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body { padding: 0 18px 18px; color: var(--ink-3); font-size: 14.5px; }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.news-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.news-card .nc-art { aspect-ratio: 16/9; background: var(--bg-3); overflow: hidden; }
.news-card .nc-art img { width: 100%; height: 100%; object-fit: cover; }
.news-card .nc-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.news-card .nc-date { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); }
.news-card h3 { margin: 6px 0 8px; font-size: 1.1rem; }
.news-card p { color: var(--ink-3); font-size: 14px; margin: 0 0 12px; }
.news-card .nc-more { margin-top: auto; color: var(--teal-2); font-weight: 600; font-size: 14px; }
@media (max-width: 820px) { .news-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--ink); color: #b8c6bb; padding: 56px 0 24px; }
.site-footer h4 { color: #f3f7f1; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-family: var(--font-mono); margin: 0 0 12px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: #8e9a90; font-size: 14px; max-width: 36ch; }
.footer-brand .socials { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.footer-brand .socials a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.06); color: #b8c6bb; font-size: 14px; font-weight: 600; }
.footer-brand .socials a:hover { background: var(--accent); color: var(--ink); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer ul a { color: #b8c6bb; font-size: 14px; }
.site-footer ul a:hover { color: #f3f7f1; }
.legal-strip { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.legal-strip nav { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.legal-strip a { color: #8e9a90; font-size: 13px; }
.legal-strip a:hover { color: #f3f7f1; }
.legal-strip .meta { color: #6b756c; font-size: 12px; font-family: var(--font-mono); }
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Sticky mobile CTA */
.sticky-cta { display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; }
.sticky-cta .btn { box-shadow: 0 10px 32px rgba(15,31,23,.18); }
.sticky-cta .legal { display: block; text-align: center; color: var(--ink-4); font-size: 11.5px; margin-top: 6px; }
@media (max-width: 760px) { .sticky-cta { display: block; } body { padding-bottom: 92px; } }

/* Cookie consent */
.cookie-panel { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 520px; margin: 0 auto; background: var(--ink); color: #f3f7f1; border-radius: 14px; padding: 18px; z-index: 95; box-shadow: var(--shadow-3); display: none; }
.cookie-panel[data-open="true"] { display: block; }
.cookie-panel h3 { color: #f3f7f1; margin: 0 0 6px; font-size: 1rem; }
.cookie-panel p { color: #b8c6bb; font-size: 13px; margin: 0 0 12px; }
.cookie-panel .row { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-panel .row .btn { padding: 9px 14px; font-size: 13px; }
.cookie-panel .row label { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #b8c6bb; padding: 6px 0; }
.cookie-panel .row input { accent-color: var(--accent); }
.cookie-panel details { background: rgba(255,255,255,.05); border-radius: 8px; padding: 8px 12px; margin-top: 10px; }
.cookie-panel details summary { color: #f3f7f1; font-size: 13px; cursor: pointer; }
.cookie-panel details p { margin-top: 8px; }

/* Data poster (chapter) */
.data-poster { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
.data-poster h3 { font-size: 1rem; margin-bottom: 8px; }
.data-poster table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 360px; }
@media (max-width: 480px) {
  .data-poster { padding: 14px; }
  .data-poster table { font-size: 13px; min-width: 320px; }
  .data-poster th, .data-poster td { padding: 8px 6px; }
}
.data-poster th, .data-poster td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line-2); }
.data-poster th { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); }
.data-poster tr:last-child td { border-bottom: 0; }
.data-poster td.num { font-family: var(--font-mono); text-align: right; color: var(--teal-2); font-weight: 600; }

/* Util */
.center { text-align: center; }
.muted { color: var(--ink-4); }
.tag { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; background: var(--bg-3); color: var(--teal-2); border: 1px solid var(--line); }
.tag--accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent-deep); }
.divider { height: 1px; background: var(--line); margin: 32px 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 999; }

/* Article / news prose */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 1.6em; }
.prose p { font-size: 16.5px; line-height: 1.72; color: var(--ink-2); }
.prose ul, .prose ol { font-size: 16px; color: var(--ink-2); }
.prose blockquote { border-left: 3px solid var(--accent); padding: 4px 16px; color: var(--ink-2); font-style: normal; background: var(--bg-3); border-radius: 0 8px 8px 0; }

/* Article card on news hub */
.article-list { display: grid; gap: 12px; }
.article-row { display: grid; grid-template-columns: 200px 1fr; gap: 18px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.article-row .ar-art { aspect-ratio: 16/9; background: var(--bg-3); }
.article-row .ar-art img { width: 100%; height: 100%; object-fit: cover; }
.article-row .ar-body { padding: 18px 18px 18px 0; }
.article-row h3 { margin: 4px 0 6px; font-size: 1.15rem; }
.article-row p { color: var(--ink-3); margin: 0; font-size: 14.5px; }
.article-row time { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); }
@media (max-width: 760px) { .article-row { grid-template-columns: 1fr; } .article-row .ar-body { padding: 0 18px 18px; } }

/* VIP table */
.vip-table { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.vip-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.vip-table th, .vip-table td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); text-align: left; }
.vip-table th { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); background: var(--bg-3); }
.vip-table tr:last-child td { border-bottom: 0; }
.vip-table td.num { font-family: var(--font-mono); text-align: right; color: var(--teal-2); }
.vip-table-wrap { overflow-x: auto; }

/* Promo cards */
.promo-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.promo-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.promo-card h3 { margin: 0; font-size: 1.1rem; }
.promo-card p { margin: 0; color: var(--ink-3); font-size: 14.5px; }
.promo-card .pc-tag { align-self: flex-start; }
.promo-card--accent { background: linear-gradient(135deg, #0f4c40 0%, #1a6b5c 100%); color: #f3f7f1; border: 0; }
.promo-card--accent p { color: #c0d3c2; }
.promo-card--accent h3 { color: #f3f7f1; }
@media (max-width: 760px) { .promo-grid { grid-template-columns: 1fr; } }

/* App profile */
.app-hero { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 36px; align-items: center; padding: 56px 0; }
.app-hero .ap-art { aspect-ratio: 1/1; border-radius: 24px; overflow: hidden; background: var(--bg-3); box-shadow: var(--shadow-3); }
.app-hero .ap-art img { width: 100%; height: 100%; object-fit: cover; }
.app-hero .ap-spec { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; margin: 18px 0; }
.app-hero .ap-spec div { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.app-hero .ap-spec div b { display: block; font-size: 11px; font-family: var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); font-weight: 500; }
.app-hero .ap-spec div span { font-size: 14px; color: var(--ink); font-weight: 600; }
@media (max-width: 820px) { .app-hero { grid-template-columns: 1fr; padding: 32px 0; } .app-hero .ap-spec { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* Step list */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; counter-reset: step; }
.step { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: relative; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 14px; right: 14px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-4); }
.step h4 { margin: 0 0 6px; font-size: 1rem; }
.step p { margin: 0; color: var(--ink-3); font-size: 14px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } }

/* Trust strip */
.trust-strip { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.trust-strip .t-item { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.trust-strip .t-item b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.trust-strip .t-item span { color: var(--ink-3); font-size: 14px; }
@media (max-width: 760px) { .trust-strip { grid-template-columns: 1fr; } }

/* TOC / sections on inner pages */
.toc { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.toc h2 { font-size: .95rem; margin: 0 0 8px; }
.toc ol { padding-left: 1.2em; margin: 0; }
.toc ol li { padding: 4px 0; color: var(--ink-2); font-size: 14.5px; }

/* Review page */
.review-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 28px; }
.review-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.review-card h3 { margin-top: 0; }
.review-score { display: flex; gap: 14px; align-items: center; }
.review-score .num { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--teal); line-height: 1; }
.review-score .stars { color: var(--accent-deep); letter-spacing: 2px; font-size: 18px; }
.review-score .label { color: var(--ink-3); font-size: 14px; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pros-cons .pros { background: #eaf3e2; border: 1px solid #cee0c0; border-radius: var(--radius); padding: 18px; }
.pros-cons .cons { background: #faecea; border: 1px solid #e6c8c2; border-radius: var(--radius); padding: 18px; }
.pros-cons h4 { margin: 0 0 8px; font-size: 14px; font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.pros-cons ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.pros-cons li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-deep); margin-right: 8px; vertical-align: middle; }
.pros-cons .cons li::before { background: var(--red); }
@media (max-width: 820px) { .review-grid { grid-template-columns: 1fr; } .pros-cons { grid-template-columns: 1fr; } }

/* Game detail */
.game-detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; padding: 48px 0; }
.game-detail .container { min-width: 0; }
.game-detail > .container > div[style*="grid-template-columns"] { min-width: 0; }
.game-detail .gd-art { aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); }
.game-detail .gd-art img { width: 100%; height: 100%; object-fit: cover; }
.game-detail .gd-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.game-detail h1 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.game-detail .gd-facts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; margin: 18px 0; }
.game-detail .gd-facts div { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.game-detail .gd-facts div b { display: block; font-size: 11px; font-family: var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); font-weight: 500; }
.game-detail .gd-facts div span { font-size: 14px; color: var(--ink); font-weight: 600; }
@media (max-width: 820px) { .game-detail { grid-template-columns: 1fr; } .game-detail .gd-facts { grid-template-columns: repeat(2, minmax(0,1fr)); } }

@media (max-width: 760px) {
  .section { padding: 40px 0; }
  .chapter { padding: 40px 0; }
  .container { padding: 0 18px; }
}
