/* Shared StarFallRush website chrome. Game-only play hides it through PlayView. */
html { scroll-padding-top: 28px; }
.app-shell { max-width:1392px; padding-left:28px; padding-right:28px; }
@media(max-width:850px) { .app-shell { padding-left:24px; padding-right:24px; } }
@media(max-width:560px) { .app-shell { padding-left:14px; padding-right:14px; } }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 12px 18px; background: var(--gold); color: var(--bg); }
.skip-link:focus { top: 12px; }
.site-header { display: grid; grid-template-columns: max-content minmax(0,1fr) auto; height: auto; min-height: 106px; gap: 24px; padding: 24px 0; }
.site-header .header-actions { gap: 12px; justify-content: flex-end; }
.site-nav { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 8px 22px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 12px; text-decoration: none; padding: 8px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold); }
.site-nav a[aria-current="page"] { font-weight: 650; }
.site-nav a[aria-current="page"]::before { content: ''; width: 4px; height: 4px; border-radius: 50%; margin-right: 8px; background: var(--gold); }
.play-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border-radius: 9px; background: var(--gold); color: #302619; font-size: 12px; font-weight: 650; text-decoration: none; }
.play-link:hover { background: #ffe3ab; }
.site-footer { align-items: center; gap: 12px 24px; flex-wrap: wrap; padding: 20px 0 26px; font-size: 12px; line-height: 1.7; }
.site-footer nav { display: flex; justify-content: flex-end; flex-wrap: wrap; align-items: center; gap: 0 20px; }
.site-footer a, .site-footer .analytics-preference { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font: inherit; text-decoration: none; }
.site-footer a:hover, .site-footer a[aria-current="page"] { color: var(--gold); }
.site-footer a[aria-current="page"] { font-weight: 650; }
.page-intro, .release-intro { padding: 38px 0 30px; border-bottom: 1px solid var(--line); }
.page-intro h1, .release-intro h1 { margin: 0 0 16px; line-height: 1.2; }
.page-intro .eyebrow, .release-intro .eyebrow { margin: 0 0 12px; }
.policy-date { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.policy-copy { max-width: 820px; margin: 30px 0 48px; padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); overflow-wrap: anywhere; }
.policy-copy h2 { font-size: 21px; line-height: 1.4; letter-spacing: -.3px; margin: 30px 0 12px; }
.policy-copy p { color: var(--muted); font-size: 16px; line-height: 1.8; margin: 12px 0; }
.policy-copy a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.policy-copy strong { color: var(--text); }
@media (min-width:761px) and (max-height:850px) { .site-header { min-height:76px; padding:16px 0; } }
@media (max-width:760px) {
  .site-header { grid-template-columns: minmax(0,1fr) auto; gap:12px 16px; padding:20px 0 10px; }
  .site-nav { grid-column:1 / -1; grid-row:2; justify-content:flex-start; gap:8px 20px; }
  .site-footer nav { justify-content:flex-start; }
  .policy-copy { padding:24px 20px; margin-top:24px; }
}

/* Keep all three words distinct in the flex brand mark. */
.site-header .brand > span:not(.brand-symbol) { margin-left: .24em; }

/* TASK-40: website identity only; focused game presentation retains its metrics. */
@font-face{font-family:"Barlow Condensed";src:url("assets/brand/BarlowCondensed-Bold.ttf") format("truetype");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Source Sans 3";src:url("assets/brand/SourceSans3-Variable.ttf") format("truetype");font-weight:200 900;font-style:normal;font-display:swap}
.site-header,.site-footer,.intro,.policy-page,.release-intro,.release-history{font-family:"Source Sans 3","Segoe UI",sans-serif;--gold:#F3C675;--text:#F7EBD4;--muted:#BCC9D6;--bg:#101B2C;--line:#41576F}
.site-header .brand{gap:10px;letter-spacing:0;min-height:57px;align-items:center;padding-bottom:13px}
.site-header .brand-wordmark{display:block;width:165px;height:auto}
.site-header .brand-property{font:700 28px/1 "Barlow Condensed",sans-serif;text-transform:uppercase;color:#F3C675;padding-left:10px;border-left:1px solid #41576F}
.site-header .brand small{left:43px;top:auto;bottom:0;color:#BCC9D6}
.intro h1,.page-intro h1,.release-intro h1,.policy-copy h2{font-family:"Barlow Condensed",sans-serif;font-weight:700;letter-spacing:.01em}
body:not(.is-playing){background-color:#101B2C}
@media(max-width:560px){.site-header .brand-wordmark{width:145px}.site-header .brand-property{font-size:25px}.site-header .brand{gap:8px}}
