@font-face { font-family: "Disrupt Comfortaa"; src: url("../fonts/disrupt-comfortaa.woff2") format("woff2"); font-display: swap; }

:root {
  --canvas: #f8f9f7;
  --surface: #ffffff;
  --ink: #172027;
  --muted: #56636b;
  --quiet: #758287;
  --border: #d9e1df;
  --purple: #6e44a6;
  --teal: #006f77;
  --green: #2e7d52;
  --yellow: #f4b942;
  --terracotta: #a24b2e;
  --radius: 14px;
  --page-width: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); font-family: "Nunito Sans", ui-rounded, system-ui, sans-serif; font-size: 16px; line-height: 1.58; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }
.shell { width: min(var(--page-width), calc(100% - 48px)); margin: 0 auto; }

.site-header { min-height: 66px; border-bottom: 1px solid var(--border); background: rgba(248,249,247,.96); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Disrupt Comfortaa", sans-serif; font-size: 17px; font-weight: 700; letter-spacing: -.045em; }
.brand img { width: 29px; height: 29px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 26px; color: var(--muted); font-size: 14px; font-weight: 750; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--purple); }
.primary-nav .nav-action { min-height: 40px; padding: 10px 18px; border-radius: 999px; background: var(--purple); color: #fff; }
.mobile-nav { display: none; }

.game-hero { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(42px, 7vw, 94px); padding: 64px 0 70px; }
.back-link { display: inline-block; margin-bottom: 24px; color: var(--muted); font-size: 14px; font-weight: 800; }
.back-link:hover { color: var(--purple); }
.game-title { margin: 11px 0 13px; font-family: "Disrupt Comfortaa", sans-serif; font-size: clamp(2.75rem, 5.4vw, 4.75rem); font-weight: 700; letter-spacing: -.07em; line-height: 1.04; }
.game-summary { max-width: 680px; margin: 0; color: #405057; font-size: clamp(1.05rem, 1.8vw, 1.28rem); line-height: 1.48; }
.status { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 900; letter-spacing: .01em; }
.status-playtesting { background: var(--green); color: #fff; }
.status-in-development { background: var(--yellow); color: var(--ink); }
.status-seeking-publisher { background: var(--teal); color: #fff; }
.status-self-published { background: var(--purple); color: #fff; }
.status-retired { background: #56636b; color: #fff; }
.fact-line { display: flex; flex-wrap: wrap; gap: 10px 30px; margin: 31px 0 20px; }
.fact-line div { min-width: 114px; padding: 0; margin: 0; }
.fact-line div:last-child { margin-right: 0; }
.fact-line dt { color: var(--quiet); font-size: 11px; font-weight: 850; letter-spacing: .035em; text-transform: uppercase; }
.fact-line dd { margin: 2px 0 0; color: var(--ink); font-size: 15px; font-weight: 850; }
.hero-links { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; font-size: 15px; font-weight: 900; }
.hero-links a { color: var(--terracotta); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.hero-links a:hover { color: #7c321d; }
.hero-links .subtle-link { color: var(--purple); }
.retired-note { margin: 0; color: var(--muted); font-size: 15px; font-weight: 700; }

.logo-stage { display: grid; place-items: center; min-height: 325px; padding: 42px; border: 1px solid var(--border); border-radius: var(--radius); background: #edf1ed; box-shadow: 0 22px 44px rgba(34, 46, 43, .07); }
.logo-stage img { display: block; max-width: min(100%, 390px); max-height: 238px; width: auto; height: auto; object-fit: contain; }
.logo-stage.no-logo { background: #f2f2ee; }
.archive-mark { display: grid; place-items: center; width: 126px; height: 126px; border: 1px solid #bcc5c2; border-radius: 50%; color: #637176; font-family: "Disrupt Comfortaa", sans-serif; font-size: 38px; font-weight: 700; letter-spacing: -.1em; }

.about-band { background: #f0f3ef; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 265px; gap: clamp(40px, 8vw, 120px); padding: 48px 0 51px; }
.section-kicker { margin: 0 0 9px; color: var(--purple); font-size: 12px; font-weight: 900; letter-spacing: .055em; text-transform: uppercase; }
.about-copy h2, .rules-nav h2, .rule-content h2, .related-games h2 { margin: 0; font-family: "Disrupt Comfortaa", sans-serif; font-weight: 700; letter-spacing: -.055em; line-height: 1.17; }
.about-copy h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.about-copy p:not(.section-kicker) { max-width: 680px; margin: 13px 0 0; color: #405057; font-size: 17px; }
.need-list { align-self: start; padding-top: 4px; }
.need-list h3 { margin: 0 0 10px; font-size: 13px; font-weight: 900; letter-spacing: .03em; text-transform: uppercase; }
.need-list p { margin: 0; color: #405057; font-size: 15px; }

.rules { padding: 70px 0 88px; }
.rules-layout { display: grid; grid-template-columns: 205px minmax(0, 690px); justify-content: center; gap: clamp(42px, 7vw, 95px); }
.rules-nav { position: sticky; top: 24px; align-self: start; }
.rules-nav h2 { margin-bottom: 17px; font-size: 29px; }
.rules-nav nav { display: flex; flex-direction: column; gap: 6px; }
.rules-nav a { display: block; padding: 2px 0; color: var(--muted); font-size: 13px; font-weight: 700; line-height: 1.25; }
.rules-nav a:hover { color: var(--purple); }
.rule-content > section { margin: 0 0 54px; padding: 0; scroll-margin-top: 28px; }
.rule-content h2 { margin-bottom: 17px; font-size: clamp(1.65rem, 3vw, 2.2rem); }
.rule-content h3 { margin: 27px 0 9px; color: var(--ink); font-family: "Disrupt Comfortaa", sans-serif; font-size: 19px; font-weight: 700; letter-spacing: -.045em; line-height: 1.28; }
.rule-content p, .rule-content li { color: #3d4c51; font-size: 16px; }
.rule-content p { margin: 0 0 15px; }
.rule-content ul, .rule-content ol { margin: 0 0 17px; padding-left: 22px; }
.rule-content li { margin: 5px 0; }
.table-wrap { overflow-x: auto; margin: 22px 0 25px; }
.rule-content table { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0 5px; color: #3d4c51; font-size: 15px; line-height: 1.45; }
.rule-content th { padding: 5px 15px 8px; color: var(--quiet); font-size: 11px; font-weight: 900; letter-spacing: .04em; text-align: left; text-transform: uppercase; vertical-align: bottom; }
.rule-content tbody tr { background: #f0f3ef; }
.rule-content td { padding: 13px 15px; vertical-align: top; }
.rule-content td:first-child { border-radius: 8px 0 0 8px; }
.rule-content td:last-child { border-radius: 0 8px 8px 0; }
.faq-item { display: block; margin: 7px 0 0; }
.faq-item:first-of-type { margin-top: 20px; }
.faq-item summary { position: relative; padding: 11px 31px 11px 0; color: var(--ink); cursor: pointer; font-size: 16px; font-weight: 850; line-height: 1.4; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; right: 4px; top: 50%; color: var(--terracotta); content: "+"; font-size: 22px; font-weight: 500; line-height: 1; transform: translateY(-50%); }
.faq-item[open] summary::after { content: "–"; }
.faq-answer { padding: 1px 0 12px; }
.faq-answer p:last-child { margin-bottom: 0; }
.archive-rules { max-width: 650px; padding: 31px 0; color: var(--muted); }
.archive-rules h2 { margin-bottom: 12px; }
.archive-rules p { margin: 0; }

.related-games { padding: 40px 0 52px; }
.related-games h2 { font-size: 32px; }
.related-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; margin-top: 16px; }
.related-list a { display: grid; grid-template-columns: 30px minmax(0, 1fr); grid-template-rows: auto auto; align-content: start; column-gap: 10px; row-gap: 2px; min-height: 0; padding: 10px 0; color: var(--ink); }
.related-list a + a { padding-left: 0; }
.related-list strong { color: var(--ink); font-family: "Disrupt Comfortaa", sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -.05em; line-height: 1.2; }
.related-list span:not(.related-mark) { display: block; grid-column: 2; color: var(--muted); font-family: "Nunito Sans", ui-rounded, system-ui, sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 0; line-height: 1.45; }
.related-list .related-mark { display: grid; grid-row: 1 / span 2; place-items: center; width: 30px; height: 30px; margin-top: 1px; border-radius: 50%; background: #eef2ee; color: var(--purple); font-family: "Disrupt Comfortaa", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: -.05em; }
.related-list a:hover { color: var(--purple); }
.related-list a:hover strong { color: var(--purple); }

.site-footer { border-top: 1px solid var(--border); padding: 39px 0 25px; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 44px; }
.footer-brand { max-width: 292px; }
.footer-tagline { margin: 9px 0 0; color: var(--purple); font-size: 13px; font-weight: 900; }
.footer-summary { margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.52; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 24px; max-width: 520px; padding-top: 5px; }
.footer-links a { color: var(--muted); font-size: 13px; font-weight: 800; }
.footer-links a:hover { color: var(--purple); }
.footer-bottom { margin-top: 34px; padding-top: 16px; border-top: 1px solid var(--border); color: #849093; font-size: 12px; }

@media (max-width: 880px) {
  .shell { width: min(100% - 36px, 720px); }
  .primary-nav { display: none; }
  .mobile-nav { position: relative; display: block; }
  .mobile-nav summary { min-height: 40px; padding: 9px 15px; border: 1px solid var(--border); border-radius: 999px; color: var(--ink); cursor: pointer; font-size: 14px; font-weight: 850; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { position: absolute; z-index: 4; top: calc(100% + 9px); right: 0; display: grid; width: min(260px, calc(100vw - 36px)); padding: 10px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: 0 16px 34px rgba(23,32,39,.12); }
  .mobile-nav nav a { padding: 10px 11px; border-radius: 8px; color: var(--ink); font-size: 14px; font-weight: 800; }
  .mobile-nav nav a:hover { background: #eef2ee; color: var(--purple); }
  .game-hero { grid-template-columns: 1fr; gap: 39px; padding: 47px 0 51px; }
  .logo-stage { order: -1; min-height: 260px; max-width: 470px; padding: 31px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .rules-layout { grid-template-columns: 1fr; gap: 35px; }
  .rules-nav { position: static; }
  .rules-nav nav { columns: 2; column-gap: 28px; }
  .rules-nav a { break-inside: avoid; }
  .related-list { grid-template-columns: 1fr; gap: 0; }
  .related-list a + a { padding-left: 0; border-left: 0; }
  .footer-top { display: block; }
  .footer-links { margin-top: 26px; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 32px, 720px); }
  .brand { font-size: 16px; }
  .brand img { width: 26px; height: 26px; }
  .game-title { font-size: clamp(2.45rem, 13vw, 3.5rem); }
  .fact-line div { min-width: 92px; padding-right: 14px; margin-right: 14px; }
  .logo-stage { min-height: 222px; }
  .rules { padding: 49px 0 62px; }
  .rules-nav nav { columns: 1; }
  .about-copy p:not(.section-kicker), .rule-content p, .rule-content li { font-size: 16px; }
  .rule-content table { min-width: 500px; font-size: 14px; }
  .rule-content th, .rule-content td { padding: 11px 12px; }
  .footer-bottom { margin-top: 27px; }
  .footer-top { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .footer-brand { margin-inline: auto; }
  .footer-links { justify-content: center; margin-inline: auto; text-align: center; }
  .mobile-nav nav a { display: flex; align-items: center; min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* v12 game logo scale */
.logo-stage { min-height:420px; padding:clamp(34px,4.2vw,58px); }
.logo-stage img { width:min(100%,520px); max-width:100%; max-height:330px; }
@media (max-width:880px) { .logo-stage { min-height:320px; max-width:none; padding:clamp(28px,7vw,42px); } .logo-stage img { max-height:278px; } }
@media (max-width:580px) { .logo-stage { min-height:272px; } .logo-stage img { max-height:230px; } }

/* v12 keyboard baseline */
.skip-link { position:fixed; z-index:100; top:10px; left:10px; padding:11px 15px; border-radius:8px; background:#172027; color:#fff; font-weight:850; transform:translateY(-160%); transition:transform .16s ease; }
.skip-link:focus { transform:translateY(0); }
:where(a,button,input,select,textarea,summary):focus-visible { outline:3px solid #006f77; outline-offset:3px; }
@media (prefers-reduced-motion:reduce) { .skip-link { transition:none; } }

/* v16 spacing-led content rhythm */
main .section-head,main .section-soft,main .journal-list,main .journal-item { border-top:0!important; border-bottom:0!important; }
.site-footer,.site-footer blockquote { border-top:0!important; border-bottom:0!important; }
.article-page .status-guide-section,.article-page .rights-guide-cc,.article-page .rights-guide-choice,.article-page .rights-guide-permissions,.article-page .rights-guide-notice { border-top:0!important; padding-top:0!important; }
.article-page .dd-section::before,.article-page .dd-game-gylen,.article-page .dd-game-dalrymple,.article-page .dd-triad>div { border-top:0!important; content:none!important; }

.logo-unavailable { margin:0; color:var(--muted); font:700 16px/1.4 "Disrupt Comfortaa",sans-serif; text-align:center; }
