/* GREEN SERVER COMMUNITY - the community site's look (the approved mock-up, 2026-11-25): dark panels, orange and sky,
   every text with a black outline; full width inside the game window. */
:root {
  --bg: #0b0c10; --panel: #15171d; --row: #1b1e26; --line: #262a33; --line2: #33384a;
  --ink: #e9eaee; --soft: #c9ccd4; --dim: #9aa0ad;
  --orange: #ff9a2e; --orange-ink: #ffb15c; --orange-bg: #2a1d0d;
  --sky: #9fdcff; --sky-bg: #10283a; --sky-line: #1d4a68; --op: #4cc3ff;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); }
/* the scroll bars in the site's look (the user, 2026-11-25 20:49: "스크롤 문제있다 우리 UI로"): thin, dark, orange when held */
html { scrollbar-color: var(--line2) var(--bg); scrollbar-width: thin; }
* { scrollbar-color: var(--line2) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line2); border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #4a5168; }
::-webkit-scrollbar-thumb:active { background: #ff9a2e; }
::-webkit-scrollbar-corner { background: transparent; }
/* 16:9 at most (the user, 2026-11-25 17:59: a 21:9 monitor showed it too wide): of the monitor's height, not the
   window's (2026-11-26: a PC browser's tabs and address bar made a 16:9 monitor's page narrower than its window) - app.js
   sets --maxw from the screen; a window wider than that keeps the site in its middle */
body { max-width: var(--maxw, calc(100vh * 16 / 9)); margin: 0 auto; }
body {
  color: var(--ink); font-family: 'Noto Sans KR', 'Malgun Gothic', system-ui, sans-serif; font-size: 14px;
  text-shadow: 1px 0 0 #000, -1px 0 0 #000, 0 1px 0 #000, 0 -1px 0 #000, 1px 1px 0 #000, -1px -1px 0 #000;
}
a { color: var(--orange-ink); }
a:hover { color: #ffd29e; }
button, input, textarea { font: inherit; color: inherit; }
.hidden { display: none !important; }
small { font-size: 12px; font-weight: 500; color: var(--dim); }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 10px 16px; border-bottom: 1px solid #1f232c; background: #0e0f14; }
.brand { font-family: 'Space Grotesk', 'Noto Sans KR', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: .06em; }
.top-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.me { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; flex-wrap: nowrap; white-space: nowrap; }
.me-place { min-height: 28px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px;
  background: var(--sky-bg); border: 1px solid var(--sky-line); color: var(--sky); font-size: 13px; white-space: nowrap; }
.me-best { display: inline-flex; align-items: center; gap: 2px; }
.me-best .face { transform: scale(.8); margin: -5px -3px; }
.me-name { display: inline-flex; align-items: center; gap: 5px; }
.exit { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; min-height: 44px; padding: 0 18px; border-radius: 10px;
  background: #22252e; border: 1px solid #3a3f4d; font-weight: 700; cursor: pointer; text-shadow: inherit; }
.exit:hover { background: #2b2f3a; }

.wrap { padding: 16px; display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.nav { flex: 1 1 200px; max-width: 220px; min-width: 180px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.nav a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 10px;
  color: #d6d9e0; text-decoration: none; }
.nav a:hover { background: #1d2029; }
.nav a.on { background: var(--orange-bg); color: var(--orange-ink); font-weight: 700; }
.nav .grow { flex: 1; }
.count { min-width: 22px; padding: 2px 7px; border-radius: 999px; background: var(--sky-bg); color: var(--sky);
  font-size: 12px; font-weight: 700; text-align: center; }

.main { flex: 999 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(max(360px, 40%), 1fr));
  gap: 16px; align-items: stretch; }
.main.single { display: flex; flex-direction: column; }
.stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex;
  flex-direction: column; gap: 10px; min-width: 0; }
.card.grow { flex: 1; }
.card.wide { grid-column: 1 / -1; }
.head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.h2 { margin: 0; font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.more { font-size: 13px; text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 8px; color: var(--soft); }
.more:hover { color: var(--ink); border-color: var(--line2); }
.empty { color: var(--dim); padding: 10px; font-size: 13px; }
.note { color: var(--dim); font-size: 12px; margin: 0; }

.item { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; background: var(--row);
  text-decoration: none; color: var(--ink); min-width: 0; }
a.item:hover { background: #222632; color: var(--ink); }
.tag { flex: none; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.tag.notice { background: var(--orange-bg); color: var(--orange-ink); }
.tag.patch, .tag.fight { background: var(--sky-bg); color: var(--sky); }
.tag.wait { background: var(--orange-bg); color: var(--orange-ink); }
.grow1 { flex: 1; min-width: 0; }
.title { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sub { display: block; font-size: 12px; color: var(--dim); }
.side { flex: none; font-size: 12px; color: var(--dim); text-align: right; }

.face { display: inline-block; flex: none; width: 26.4px; height: 50.4px; background-image: url(/community/faces.webp);
  background-repeat: no-repeat; background-size: 264px 302.4px; }
.faces { display: flex; gap: 3px; flex: none; }
.rk { display: block; width: 70px; height: 36px; background-image: url(/community/ranks.webp); background-repeat: no-repeat;
  background-size: 556.8px 216px; }
.versus { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.side-a, .side-b { display: flex; align-items: center; gap: 8px; min-width: 0; }
.side-b { flex-direction: row-reverse; }
.name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vs { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--orange-ink); }
.when { flex: none; width: 52px; text-align: right; font-size: 12px; color: var(--dim); }
.watch { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 8px;
  background: var(--sky-bg); border: 1px solid var(--sky-line); color: var(--sky); font-size: 13px; font-weight: 700;
  cursor: pointer; text-shadow: inherit; }
.watch:hover { border-color: var(--sky); }
.watch:disabled { opacity: .55; cursor: not-allowed; }
.item.dashed { background: transparent; border: 1px dashed var(--line2); }

.board-row { display: grid; grid-template-columns: 24px minmax(80px, 1fr) auto auto; gap: 10px; align-items: center;
  padding: 8px 10px; border-radius: 10px; background: var(--row); }
.board-row.p1 { background: linear-gradient(90deg, rgba(255, 190, 70, .22) 0%, var(--row) 70%); box-shadow: inset 3px 0 0 #ffcf6b, inset 0 0 0 1px rgba(255, 207, 107, .28); }
.board-row.p2 { background: linear-gradient(90deg, rgba(170, 195, 230, .18) 0%, var(--row) 70%); box-shadow: inset 3px 0 0 #c9d3e0, inset 0 0 0 1px rgba(201, 211, 224, .24); }
.board-row.p3 { background: linear-gradient(90deg, rgba(225, 140, 80, .20) 0%, var(--row) 70%); box-shadow: inset 3px 0 0 #e0a070, inset 0 0 0 1px rgba(224, 160, 112, .26); }
.place { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; color: var(--dim); }
.p1 .place { color: #ffcf6b; } .p2 .place { color: #c9d3e0; } .p3 .place { color: #e0a070; }
.big { color: var(--ink); font-size: 15px; font-weight: 700; }
.board-row .sub, .board-row .title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-row .char .grow1 { flex: none; }
.board-row .char small { overflow: visible; }
.char { display: flex; align-items: center; gap: 6px; min-width: 0; }
.char small { display: block; font-size: 11px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
figure { margin: 0; padding: 12px; border-radius: 10px; background: var(--row); }
figcaption { font-size: 13px; color: var(--soft); display: flex; align-items: center; gap: 8px; }
.key { width: 14px; height: 3px; border-radius: 2px; background: var(--orange); }
.key.sky { background: #7cd0ff; }
svg.chart { width: 100%; height: 170px; display: block; }

.chat { flex: 1 1 300px; max-width: 380px; min-width: 260px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 16px;
  max-height: calc(100vh - 32px); }
.chat-lines { display: flex; flex-direction: column; gap: 12px; min-height: 420px; overflow-y: auto; flex: 1; padding-right: 4px; }
.line { display: flex; flex-direction: column; gap: 2px; }
.line-head { display: flex; align-items: center; gap: 5px; font-size: 12px; }
.line-text { line-height: 1.5; word-break: break-word; white-space: pre-wrap; }
.n-admin { color: var(--orange); } .n-operator { color: var(--op); } .n-user { color: var(--sky); }
.x { margin-left: auto; background: none; border: 0; color: var(--dim); cursor: pointer; font-size: 12px; padding: 0 4px; text-shadow: inherit; }
.x:hover { color: var(--orange-ink); }
.chat-form { display: flex; gap: 8px; }
.chat-form input, .field { flex: 1; min-width: 0; min-height: 40px; padding: 0 12px; border-radius: 10px; background: #0f1116;
  border: 1px solid var(--line2); text-shadow: none; }
textarea.field { min-height: 220px; padding: 10px 12px; resize: vertical; line-height: 1.6; }
.chat-form button, .btn { min-height: 40px; padding: 0 16px; border-radius: 10px; background: var(--orange); color: #1a1006;
  border: 0; font-weight: 700; cursor: pointer; text-shadow: none; }
.btn.ghost { background: #22252e; color: var(--ink); border: 1px solid #3a3f4d; text-shadow: inherit; }
.btn:disabled { opacity: .5; cursor: default; }
.err { color: var(--orange-ink); font-size: 13px; min-height: 1em; }

.post-body { white-space: pre-wrap; line-height: 1.7; word-break: break-word; padding: 6px 2px; }
.pager { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.pager a { min-width: 36px; min-height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px;
  border: 1px solid var(--line); color: var(--soft); text-decoration: none; }
.pager a.on { background: var(--orange-bg); color: var(--orange-ink); border-color: transparent; font-weight: 700; }
table.list { width: 100%; border-collapse: collapse; }
table.list th { text-align: left; font-size: 12px; color: var(--dim); font-weight: 500; padding: 6px 8px; border-bottom: 1px solid var(--line); }
table.list td { padding: 6px 8px; border-bottom: 1px solid #1d2028; vertical-align: middle; }
.bar { height: 8px; border-radius: 4px; background: var(--orange); min-width: 2px; }
.bar.sky { background: #7cd0ff; }
.result { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 12px; background: var(--row); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: flex; align-items: center; gap: 6px; padding: 4px 8px 4px 4px; border-radius: 10px; background: #13151b; }
.won { color: var(--sky); font-weight: 700; } .lost { color: var(--orange-ink); font-weight: 700; }
.search { display: flex; gap: 8px; }

/* the matches' rows: one grid each, the same columns, so every VS stands in one line (the user, 2026-11-25 18:27) */
.fight-row { display: grid; grid-template-columns: 58px minmax(0, 1fr) 56px 24px 56px minmax(0, 1fr) 40px 38px; gap: 6px; padding: 8px; }
.fight-row .tag { padding: 3px 4px; text-align: center; }
.watch.off { opacity: .55; cursor: help; }
.watch.off:hover { border-color: var(--sky-line); }
.fight-row .watch { padding: 0; justify-content: center; width: 38px; }
.main.single .fight-row { grid-template-columns: 74px minmax(0, 1fr) 56px 30px 56px minmax(0, 1fr) 52px 104px; gap: 10px; padding: 10px; }
.main.single .fight-row .watch { width: auto; padding: 0 12px; }
.fight-row .watch .label { display: none; }
.main.single .fight-row .watch .label { display: inline; }
.fight-row .name.left { text-align: right; }
.fight-row .name.right { text-align: left; }
.fight-row .vs { text-align: center; }
.fight-row .when { width: auto; }
.dim { color: var(--dim) !important; font-weight: 500; }
.vs.dim { opacity: .5; }
.wide-btn { width: 100%; }

/* 전적 */
.rec { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.rec-head { display: flex; justify-content: space-between; gap: 8px; padding: 6px 14px; font-size: 12px; color: var(--dim);
  background: #13151b; font-weight: 700; }
.rec-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 44px 30px 44px auto minmax(0, 1fr); gap: 12px; align-items: center;
  padding: 10px 14px; background: var(--row); }
.rec-row.a-won { background: linear-gradient(90deg, rgba(76, 195, 255, .16), var(--row) 45%, var(--row) 55%, rgba(255, 154, 46, .16)); }
.rec-row.b-won { background: linear-gradient(90deg, rgba(255, 154, 46, .16), var(--row) 45%, var(--row) 55%, rgba(76, 195, 255, .16)); }
.rec-row .name { font-weight: 700; display: flex; align-items: center; gap: 4px; min-width: 0; }
.rec-row .name.right { justify-content: flex-end; }
.rec-row .won, .rec-row .lost { font-family: 'Space Grotesk', sans-serif; font-size: 13px; text-align: center; letter-spacing: .06em; }
.rec-row .vs { font-size: 20px; font-style: italic; text-align: center; color: var(--ink); }
.rec-chars { display: flex; gap: 8px; align-items: center; }
.rec-char { display: flex; align-items: center; gap: 4px; }

/* a post's YouTube video */
.video { position: relative; width: 100%; max-width: 720px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-body a { word-break: break-all; }

table.list td.bar-cell { width: 45%; }

/* a row that opens a player's card: the pointer's colour on hover (the user, 2026-11-25 18:48) */
.click { cursor: pointer; transition: background-color .12s, box-shadow .12s; }
.board-row.click:hover, .lb-row.click:hover, .met.click:hover { background: #262a36; box-shadow: inset 0 0 0 1px var(--orange); }
.plink { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-shadow: inherit;
  display: flex; align-items: center; gap: 4px; min-width: 0; overflow: hidden; }
.plink:hover span:first-child { text-decoration: underline; color: var(--orange-ink); }
.fight-row .plink.left { justify-content: flex-end; }
.rec-row .plink.right { justify-content: flex-end; }

/* the player's icon, or the game's person shape */
.avatar { display: inline-flex; flex: none; border-radius: 22%; overflow: hidden; background: #121a28; border: 1px solid #2f3f59; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar .person { width: 100%; height: 100%; display: block; }

/* 리더보드 */
.lb-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab { min-height: 32px; padding: 0 12px; border-radius: 8px; background: #1b1e26; border: 1px solid var(--line); color: var(--soft);
  font-weight: 700; font-size: 12px; cursor: pointer; text-shadow: inherit; }
.tab:hover { border-color: var(--line2); color: var(--ink); }
.tab.on { background: var(--orange-bg); border-color: var(--orange); color: var(--orange-ink); }
.char-grid { display: flex; flex-wrap: wrap; gap: 4px; padding: 10px; border-radius: 10px; background: #13151b; }
.char-pick { padding: 1px; border-radius: 6px; background: none; border: 2px solid transparent; cursor: pointer; line-height: 0; }
.char-pick:hover { border-color: var(--line2); }
.char-grid.picking .char-pick { opacity: .45; }
.char-grid .char-pick.on { opacity: 1; border-color: var(--orange); }
.lb-head, .lb-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) 110px 190px 190px; gap: 10px; align-items: center; }
.lb-head { padding: 0 12px; font-size: 11px; color: var(--dim); font-weight: 700; letter-spacing: .06em; }
.lb-row { padding: 8px 12px; border-radius: 10px; background: var(--row); }
.lb-row.p1 { background: linear-gradient(90deg, rgba(255, 190, 70, .22) 0%, var(--row) 60%); box-shadow: inset 3px 0 0 #ffcf6b; }
.lb-row.p2 { background: linear-gradient(90deg, rgba(170, 195, 230, .18) 0%, var(--row) 60%); box-shadow: inset 3px 0 0 #c9d3e0; }
.lb-row.p3 { background: linear-gradient(90deg, rgba(225, 140, 80, .20) 0%, var(--row) 60%); box-shadow: inset 3px 0 0 #e0a070; }
.lb-name { display: flex; align-items: center; gap: 8px; font-weight: 700; min-width: 0; white-space: nowrap; overflow: hidden; }
.lb-rec { text-align: right; white-space: nowrap; }
.lb-rec b { font-size: 15px; }
.lb-char { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.lb-char small { display: block; font-size: 11px; color: var(--dim); }
.lb-char small b { color: var(--ink); font-size: 12px; }

/* the player's card */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .66); display: flex; align-items: flex-start; justify-content: center;
  padding: 6vh 16px 16px; overflow-y: auto; }
.pcard { width: min(860px, 100%); background: var(--panel); border: 1px solid var(--line2); border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.card-body { display: flex; flex-direction: column; }
.phead { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 10px; font-weight: 900; letter-spacing: .14em; color: var(--orange-ink); }
.pname { display: flex; align-items: center; gap: 6px; font-size: 20px; font-weight: 900; }
.x-btn { width: 40px; height: 40px; border-radius: 10px; background: #1b1e26; border: 1px solid var(--line2); color: var(--ink); cursor: pointer; font-size: 16px; }
.x-btn:hover { border-color: var(--orange); }
.ptabs { display: flex; gap: 4px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.ptab { padding: 12px 12px; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--soft); font-weight: 700; cursor: pointer; text-shadow: inherit; }
.ptab.on { color: var(--orange-ink); border-bottom-color: var(--orange); }
.psum { display: flex; align-items: center; gap: 18px; padding: 14px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.place-box { display: flex; flex-direction: column; padding-right: 16px; border-right: 1px solid var(--line); }
.place-box small { font-size: 11px; color: var(--dim); }
.place-box b { font-size: 20px; color: var(--orange-ink); font-family: 'Space Grotesk', sans-serif; }
.pane { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 14px; }
.ranges { display: flex; gap: 6px; justify-content: flex-end; }
.stats4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.stat { padding: 12px 14px; border-radius: 10px; background: var(--row); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.stat small { font-size: 11px; color: var(--dim); }
.stat b { font-size: 16px; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.h3 { margin: 0; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.met { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto auto auto 44px; gap: 10px; align-items: center; padding: 8px 10px;
  border-radius: 8px; background: #13151b; }
.met .n { width: 22px; height: 22px; border-radius: 6px; background: #22252e; display: flex; align-items: center; justify-content: center; font-size: 11px; }
.met b { text-align: right; }
.hours { display: flex; align-items: flex-end; gap: 3px; height: 64px; padding-top: 6px; }
.hbar { flex: 1; border-radius: 3px 3px 0 0; background: #2b3242; }
.hbar.peak { background: var(--orange); }
.hours-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--dim); }
.acct { display: flex; align-items: center; gap: 12px; }
.acct small { color: var(--dim); }
td.won, td.lost { font-weight: 700; }

/* the character select screen's portraits (tag2now's way): two blocks, the top rows shorter towards the middle */
.char-grid { display: flex; justify-content: space-between; gap: 24px; padding: 12px; flex-wrap: nowrap; overflow-x: auto; }
.sel-block { display: flex; flex-direction: column; gap: 5px; }
.sel-block.L .sel-row { justify-content: flex-end; }
.sel-row { display: flex; gap: 5px; }
.char-grid { --fw: 46px; overflow: hidden; }
.sel-face { display: block; width: var(--fw); height: calc(var(--fw) * 1.565); border-radius: 6px; background-image: url(/community/select.webp);
  background-repeat: no-repeat; background-size: calc(var(--fw) * 10) calc(var(--fw) * 11.4545); }
.char-grid .char-pick { padding: 0; border: 2px solid transparent; border-radius: 8px; }
.char-grid .char-pick:hover { border-color: var(--line2); }
.char-grid .char-pick.on { border-color: var(--orange); }

/* the rank groups' buttons: each in its emblems' colour, every button the same size (the user, 2026-11-25 19:31) */
.gtabs { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.tab.g { justify-content: center; min-height: 36px; padding: 0 6px; font-size: 13px; color: var(--gc); border: 1px solid var(--gc);
  background: color-mix(in srgb, var(--gc) 14%, #15171d); }
.tab.g:hover { background: color-mix(in srgb, var(--gc) 26%, #15171d); color: var(--gc); }
.tab.g.on { background: var(--gc); color: #111318; text-shadow: none; border-color: var(--gc); }
.gtabs .tab:not(.g) { justify-content: center; min-height: 36px; padding: 0 6px; font-size: 13px; }

/* the admin panel's row (staff only), a row's room under the others */
.nav-gap { height: 44px; }
.nav a.nav-admin { color: var(--orange-ink); border: 1px solid rgba(255, 154, 46, .35); }
.nav a.nav-admin:hover { background: var(--orange-bg); }

/* 관전하기's notice (the game's own window) */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); max-width: min(560px, calc(100% - 32px)); z-index: 50;
  padding: 12px 16px; border-radius: 10px; background: #22252e; border: 1px solid var(--sky); color: var(--ink); font-size: 14px;
  line-height: 1.5; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); }

/* logging in on the web (app.js: openLogin) */
.login-card { width: min(400px, 100%); }
.login-form { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.login-form label { font-size: 13px; font-weight: 700; color: var(--dim); }
.login-form .field { flex: none; }
.login-form .btn { margin-top: 6px; }
.login-err { margin: 0; min-height: 1.2em; font-size: 13px; font-weight: 700; color: var(--orange); }
.login-err:empty { min-height: 0; }
.login-picks { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
