/* Clanhall Games — studio site. Colors from logo/README.md: ink and cream only. */
/* Fonts (fontsource subsets, OFL): latin + latin-ext (Polish, Turkish, Czech… and ₴ ₽), cyrillic + cyrillic-ext
   (Ukrainian ґ є і ї, Kazakh). Neither font has arrows (←→): they come from a common system font of the same
   kind, named here so every browser shows the same one. Japanese, Chinese and Korean use the system font for the
   language (--cjk below): the text face is a plain sans, so a plain sans CJK face matches it. */
@font-face { font-family: "Golos Text"; font-weight: 400; font-display: swap; src: url(../fonts/golos-text-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; font-weight: 400; font-display: swap; src: url(../fonts/golos-text-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Golos Text"; font-weight: 400; font-display: swap; src: url(../fonts/golos-text-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-weight: 400; font-display: swap; src: url(../fonts/golos-text-cyrillic-ext-400-normal.woff2) format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Golos Text"; font-weight: 600; font-display: swap; src: url(../fonts/golos-text-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; font-weight: 600; font-display: swap; src: url(../fonts/golos-text-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Golos Text"; font-weight: 600; font-display: swap; src: url(../fonts/golos-text-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-weight: 600; font-display: swap; src: url(../fonts/golos-text-cyrillic-ext-600-normal.woff2) format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Pixelify Sans"; font-weight: 400; font-display: swap; src: url(../fonts/pixelify-sans-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Pixelify Sans"; font-weight: 400; font-display: swap; src: url(../fonts/pixelify-sans-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Pixelify Sans"; font-weight: 400; font-display: swap; src: url(../fonts/pixelify-sans-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Pixelify Sans"; font-weight: 600; font-display: swap; src: url(../fonts/pixelify-sans-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Pixelify Sans"; font-weight: 600; font-display: swap; src: url(../fonts/pixelify-sans-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Pixelify Sans"; font-weight: 600; font-display: swap; src: url(../fonts/pixelify-sans-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
/* (arrows: one face per weight, like the files above — a face with a weight range would be picked
   on its own for the whole text and leave Golos unused) */
@font-face { font-family: "Golos Text"; font-weight: 400; src: local("Segoe UI"), local("Helvetica Neue"), local("Arial"), local("Roboto"), local("Noto Sans"), local("DejaVu Sans"); unicode-range: U+2190-21FF; }
@font-face { font-family: "Golos Text"; font-weight: 600; src: local("Segoe UI"), local("Helvetica Neue"), local("Arial"), local("Roboto"), local("Noto Sans"), local("DejaVu Sans"); unicode-range: U+2190-21FF; }

/* Clanhall Games — studio site. Colors from logo/README.md: ink and cream; each game brings its own.
   The page is a clan hall: the studio gate stands at the top, the games hang as banners from one rod. */
/* Clanhall Games — studio site. Colors from logo/README.md: ink and cream; each game brings its own.
   The page is a clan hall: a lit hall (the centre column) between dark stone walls (the page),
   the studio gate stands at the top, the games hang as banners from one rod,
   Clanhall ID is a parchment notice on the wall. Texts come in 13 languages: nothing here
   assumes a text's length (wrapping everywhere, no fixed widths on text). */
:root {
  --ink: #2E242C;
  --ink-raised: #3A2E38;   /* a banner that is not ready yet, the hall's pillars */
  --cream: #FAEBCE;
  --ink-soft: #5c4f58;     /* secondary text on cream */
  --cream-soft: #cdbfa6;   /* secondary text on ink */
  --line-on-ink: #4a3d47;
  --wall: #1d171c;
  --pixel: "Pixelify Sans", system-ui, sans-serif;
  --text: "Golos Text", var(--cjk, system-ui), system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
  --cell: clamp(8px, 1.25vw, 12px); /* one cell of the 14×14 gate */
}
/* Japanese, Chinese and Korean: the system face for the language, so Han characters take that language's forms. */
:root:lang(ja) { --cjk: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", "Noto Sans CJK JP"; }
:root:lang(zh-Hans) { --cjk: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC"; }
:root:lang(zh-Hant) { --cjk: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Noto Sans CJK TC"; }
:root:lang(ko) { --cjk: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR"; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--wall); }
/* the stone wall: 32×16 px bricks, barely lighter than the mortar */
body { margin: 0; color: var(--cream); font: 17px/1.6 var(--text);
  background: var(--wall) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='32' shape-rendering='crispEdges'%3E%3Crect width='64' height='32' fill='%231d171c'/%3E%3Cg fill='%23231c21'%3E%3Crect x='0' y='0' width='30' height='14'/%3E%3Crect x='32' y='0' width='30' height='14'/%3E%3Crect x='16' y='16' width='30' height='14'/%3E%3Crect x='48' y='16' width='16' height='14'/%3E%3Crect x='0' y='16' width='14' height='14'/%3E%3C/g%3E%3C/svg%3E"); }
body.loading .hall { visibility: hidden; animation: reveal 0s 1.5s forwards; }
@keyframes reveal { to { visibility: visible; } }
img.px { image-rendering: pixelated; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { text-decoration-style: dotted; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
h1, h2, h3 { font-family: var(--text); font-weight: 600; line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
h1, h2, h3, p { overflow-wrap: break-word; hyphens: auto; }
:lang(ja), :lang(zh-Hans), :lang(zh-Hant) { line-break: strict; }
:lang(ko) { word-break: keep-all; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ko) h2, :lang(ko) h3, :lang(zh-Hans) h2, :lang(zh-Hans) h3 { letter-spacing: 0; }

/* ---------- the hall: one lit column, pillars of stepped pixels on both sides ---------- */
.hall { position: relative; max-width: 1120px; min-height: 100vh; min-height: 100dvh; margin: 0 auto; display: flex; flex-direction: column;
  background: radial-gradient(ellipse 70% 420px at 50% 0, rgba(250, 235, 206, 0.07), transparent 70%), var(--ink);
  box-shadow: -8px 0 0 var(--ink-raised), 8px 0 0 var(--ink-raised), -16px 0 0 #2a2128, 16px 0 0 #2a2128, 0 0 80px 20px rgba(0, 0, 0, 0.45); }
.hall > main { flex: 1; }
.top, .games, .notice, footer { padding-left: var(--gutter); padding-right: var(--gutter); }

/* top bar — the same row as the Clanhall ID pages (id.css «signed-in row»): 36 px, square 2 px frames, 15 px text.
   Language on the left; on the right a framed «Friends», the account chip (a dimmer frame with the gate), a quiet «Sign out». */
.topbar { display: flex; justify-content: flex-end; align-items: center; gap: 8px; flex-wrap: wrap; padding: 16px 0; font-size: 15px; }
.topbar .lang { margin-right: auto; }
.topbar .signin, .topbar .tlink { box-sizing: border-box; height: 36px; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--cream); text-decoration: none; border-radius: 0; white-space: nowrap; }
.topbar .signin { font-weight: 600; padding: 0 14px; box-shadow: inset 0 0 0 2px var(--cream); max-width: min(260px, 70vw); overflow: hidden; text-overflow: ellipsis; }
.topbar .signin:hover, .topbar .tlink.fbtn:hover { background: rgba(250, 235, 206, 0.12); }
.topbar .signin.in { font-weight: 400; padding: 0 12px 0 10px; box-shadow: inset 0 0 0 2px var(--line-on-ink); }
.topbar .signin.in::before { content: ""; flex: none; width: 14px; height: 14px; background: url(/logo/svg/clanhall-icon-cream.svg?v=gate1) center / contain no-repeat; image-rendering: pixelated; }
.topbar .signin.in:hover { box-shadow: inset 0 0 0 2px var(--cream-soft); }
.topbar .tlink.fbtn { box-shadow: inset 0 0 0 2px rgba(250, 235, 206, 0.28); }
.topbar .tlink.out { color: var(--cream-soft); padding: 0 6px; }
.topbar .tlink.out:hover { color: var(--cream); }
@media (max-width: 560px) { .topbar .tlink.out { display: none; } }

/* the studio gate: drawn from logo/source/symbol.txt, it rises row by row from the ground on load */
.crest { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: clamp(0px, 2vw, 24px); }
.crest [data-banner] { margin-top: clamp(40px, 7vw, 88px); }
.banner { display: flex; flex-direction: column; }
.brow { display: grid; grid-template-columns: repeat(var(--w, 14), var(--cell)); height: var(--cell); }
.banner i { display: block; }
.banner.unfurl .brow { opacity: 0; animation: cell .01s steps(1) forwards; animation-delay: calc(var(--d) * 55ms + 150ms); }
@keyframes cell { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .banner.unfurl .brow { animation: none; opacity: 1; } }
.banner-fallback { display: block; width: calc(14 * var(--cell)); height: auto; }
.crest h1 { margin-top: clamp(28px, 4vw, 44px); }
.crest .wordmark { display: block; width: min(460px, 82vw); height: auto; }
.crest .lead { max-width: 28em; margin: 24px 0 0; font-size: clamp(18px, 2vw, 21px); color: var(--cream); text-wrap: balance; }

/* ---------- games: banners hanging from one rod ---------- */
.games { margin-top: clamp(64px, 9vw, 112px); }
.games h2 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 18px; }
.rod { height: 8px; background: var(--cream-soft); margin: 0 16px; position: relative; }
.rod::before, .rod::after { content: ""; position: absolute; top: -4px; width: 16px; height: 16px; background: var(--cream-soft); }
.rod::before { left: -16px; } .rod::after { right: -16px; }
.pennants { list-style: none; margin: 0; padding: 0 clamp(8px, 3vw, 40px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0 clamp(20px, 4vw, 56px); }
.slot { display: flex; flex-direction: column; }
.slot > .pennant { flex: 1; }

/* a banner with the pixel swallowtail of the Clanhall banner (cut in 8 px steps) */
.pennant {
  --tail: 40px;
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 28px clamp(20px, 3vw, 32px) calc(var(--tail) + 28px);
  clip-path: polygon(0 0, 100% 0, 100% 100%,
    calc(50% + 40px) 100%, calc(50% + 40px) calc(100% - 8px), calc(50% + 32px) calc(100% - 8px), calc(50% + 32px) calc(100% - 16px),
    calc(50% + 24px) calc(100% - 16px), calc(50% + 24px) calc(100% - 24px), calc(50% + 16px) calc(100% - 24px), calc(50% + 16px) calc(100% - 32px),
    calc(50% + 8px) calc(100% - 32px), calc(50% + 8px) calc(100% - 40px), calc(50% - 8px) calc(100% - 40px), calc(50% - 8px) calc(100% - 32px),
    calc(50% - 16px) calc(100% - 32px), calc(50% - 16px) calc(100% - 24px), calc(50% - 24px) calc(100% - 24px), calc(50% - 24px) calc(100% - 16px),
    calc(50% - 32px) calc(100% - 16px), calc(50% - 32px) calc(100% - 8px), calc(50% - 40px) calc(100% - 8px), calc(50% - 40px) 100%,
    0 100%);
}
.pennant p { margin: 0; max-width: 32em; }

/* Guildia: its own night and gold */
.pennant.guildia { background: linear-gradient(180deg, #232552 0%, #14163a 70%, #0e1026 100%); color: #f0d8a8; }
.pennant.guildia .pennant-logo { display: flex; justify-content: center; align-self: stretch; margin: 4px 0 6px; }
.pennant.guildia .pennant-logo img { display: block; width: min(300px, 100%); height: auto; }
.logo-fallback { font-family: var(--pixel); font-size: 56px; line-height: 1; color: #f2c55c; }
.pennant.guildia .state { font-size: 14px; line-height: 1.3; color: #1b1408; background: #f2c55c; padding: 3px 10px; border-radius: 3px; }
.pennant.guildia p { font-size: 18px; }
.pennant.guildia .go { color: #f2c55c; font-weight: 600; margin-top: 4px; }
.pennant.guildia .go:hover { color: #fff0b8; }

/* the next game: an empty banner */
.pennant.next { background: var(--ink-raised); color: var(--cream-soft); }
.pennant.next .teaser { position: relative; align-self: stretch; margin: -8px -8px 4px; aspect-ratio: 2 / 1; }
.pennant.next .teaser img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .9;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 30%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 30%, transparent 100%); }
.pennant.next .mark { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--pixel); font-size: 104px; line-height: 1; color: var(--cream); text-shadow: 0 4px 0 rgba(0, 0, 0, .55); }
.pennant.next h3 { font-size: 22px; color: var(--cream); }

/* ---------- Clanhall ID: a parchment notice on the hall's wall (corners cut in 8 px steps) ---------- */
.notice { margin: clamp(64px, 9vw, 112px) var(--gutter) 0; padding-top: clamp(28px, 4vw, 44px); padding-bottom: clamp(32px, 4vw, 48px); background: var(--cream); color: var(--ink);
  clip-path: polygon(8px 0, calc(100% - 8px) 0, calc(100% - 8px) 8px, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 8px calc(100% - 8px), 0 calc(100% - 8px), 0 8px, 8px 8px); }
.notice h2 { font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 24px; }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 28px 56px; }
.pair h3 { font-size: 24px; margin-bottom: 10px; }
.pair p { max-width: 34em; margin: 0 0 18px; }
.pair .soon { display: inline-block; font-size: 14px; font-weight: 400; color: var(--ink-soft); border: 1.5px solid var(--ink-soft); border-radius: 3px; padding: 1px 8px; margin-left: 4px; vertical-align: 3px; letter-spacing: 0; }
.btn { display: inline-block; background: var(--ink); color: var(--cream); font-weight: 600; text-decoration: none; padding: 10px 18px; border-radius: 4px; text-align: center; }
.btn:hover { background: #45373f; text-decoration: none; }

/* ---------- footer, inside the hall ---------- */
footer { margin-top: clamp(48px, 7vw, 88px); border-top: 2px solid var(--line-on-ink); display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; padding-top: 24px; padding-bottom: 28px; color: var(--cream-soft); font-size: 15px; }
footer img { height: 32px; width: auto; }
footer a { color: var(--cream); }
footer .contact { flex: 1 1 auto; display: inline-flex; flex-wrap: wrap; gap: 8px 20px; }
footer .links { display: inline-flex; flex-wrap: wrap; gap: 8px 20px; }
.lang select { box-sizing: border-box; height: 36px; font: inherit; font-size: 15px; color: var(--cream-soft); background: var(--ink); border: 2px solid var(--line-on-ink); border-radius: 0; padding: 0 8px; cursor: pointer; }
.lang select:hover { border-color: var(--cream-soft); }

@media (max-width: 1180px) { .hall { box-shadow: none; max-width: none; } }
@media (max-width: 760px) {
  .pennants { gap: 40px; padding: 0 8px; }
  .slot + .slot::before { content: ""; display: block; height: 8px; margin: 0 -8px; background: var(--cream-soft); }
  .notice { margin-left: 8px; margin-right: 8px; }
}

/* ---------- the stub at / ---------- */
.stub { min-height: 100vh; min-height: 100dvh; background: var(--ink); color: var(--cream); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 32px 16px; text-align: center; }
.stub img { width: min(320px, 70vw); height: auto; }
.stub p { margin: 0; color: var(--cream-soft); }

/* the privacy / terms window (assets/js/docwin.js) — same rules as in id.css and the studio page (assets/js/docwin.js) */
dialog.docwin { width: min(800px, calc(100% - 24px)); height: min(86vh, 920px); max-height: calc(100dvh - 24px); margin: auto; padding: 0; display: none; flex-direction: column;
  border: 2px solid var(--ink); border-radius: 6px; background: var(--ink); color: var(--cream); }
dialog.docwin[open] { display: flex; }
dialog.docwin[data-kind="contact"] { width: min(560px, calc(100% - 24px)); height: min(86vh, 760px); }
dialog.docwin::backdrop { background: rgba(46, 36, 44, 0.6); }
.docwin .dw-bar { display: flex; align-items: center; gap: 16px; padding: 10px 10px 10px 20px; }
.docwin .dw-bar h2 { flex: 1; margin: 0; font-family: var(--text); font-size: 18px; font-weight: 600; color: var(--cream); }
.docwin .dw-page { font-size: 14px; color: var(--cream); white-space: nowrap; }
.docwin .dw-close { font: inherit; font-size: 16px; line-height: 1; color: var(--cream); background: none; border: 2px solid transparent; border-radius: 4px; padding: 6px 9px; cursor: pointer; }
.docwin .dw-close:hover { border-color: rgba(250, 235, 206, 0.5); }
.docwin .dw-close:focus-visible { outline: 3px solid var(--cream); }
.docwin .dw-body { flex: 1; min-height: 0; background: #FFF8EA; color: var(--ink); display: flex; border-radius: 0 0 4px 4px; }
.docwin .dw-frame { flex: 1; width: 100%; border: 0; display: block; background: #FFF8EA; }
.docwin .dw-fail { margin: auto; padding: 24px; text-align: center; }
.docwin .dw-fail a { color: var(--ink); }
.docwin .hidden { display: none !important; }
html.dw-open { overflow: hidden; }
@media (max-width: 560px) { .docwin .dw-page { display: none; } dialog.docwin { height: calc(100dvh - 24px); } }

/* ---------- 404.html ---------- */
.nf > main { flex: 1; justify-content: center; padding: 24px var(--gutter) 64px; }
.nf h1 { font-size: clamp(26px, 3vw, 34px); }
.nf .btn { background: var(--cream); color: var(--ink); }
.nf .btn:hover { background: #fff3dc; }
.nf-go { margin: 28px 0 22px; }
.notice .pair:has(> :only-child) { grid-template-columns: 1fr; max-width: 640px; }
/* the notice: text on the left, the gate (ink set) on the right; the gate leaves on narrow screens */
.notice .pair:has(> .id-gate) { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.notice .id-gate { width: 112px; height: 112px; image-rendering: pixelated; margin-right: clamp(0px, 4vw, 48px); }
.notice .id-who { font-weight: 600; margin: -6px 0 18px; }
@media (max-width: 640px) { .notice .id-gate { display: none; } .notice .pair:has(> .id-gate) { grid-template-columns: 1fr; } }

/* ---------- news: the latest of every game, rows on the hall's floor (studio-news.js) ---------- */
.news { margin-top: clamp(64px, 9vw, 112px); padding-left: var(--gutter); padding-right: var(--gutter); }
.news h2 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 14px; }
.news-rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--line-on-ink); }
.news-rows li { border-bottom: 2px solid var(--line-on-ink); }
.news-rows a { display: flex; gap: 18px; align-items: flex-start; padding: 16px 4px; color: var(--cream); text-decoration: none; }
.news-rows a:hover { background: rgba(250, 235, 206, 0.05); }
.news-rows a:hover b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.news-rows img { flex: none; width: 48px; height: 48px; image-rendering: pixelated; }
.news-noicon { flex: none; width: 48px; }
.news-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.news-date { font-size: 13px; color: var(--cream-soft); }
.news-txt b { font-size: 19px; font-weight: 600; line-height: 1.3; }
.news-sum { color: var(--cream-soft); font-size: 16px; }
.news-all { display: inline-block; margin-top: 14px; color: var(--cream); font-weight: 600; }
@media (max-width: 560px) { .news-rows a { gap: 14px; } .news-rows img { width: 40px; height: 40px; } .news-txt b { font-size: 17px; } }
/* /preview/ — the team's banner (staging.js); a page checking who is looking stays hidden for a moment */
html.staging-check body { visibility: hidden; }
.staging-bar { position: sticky; top: 0; z-index: 50; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 7px 14px;
  background: #6844AC; color: #fff; font: 14px/1.35 system-ui, -apple-system, "Segoe UI", sans-serif; }
.staging-bar span { opacity: .85; }
.staging-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.staging-bar button { margin-left: auto; background: none; border: 0; color: #fff; font-size: 15px; cursor: pointer; padding: 2px 6px; }
