/* PLAYORA 주사위 굴리기 */
:root {
  --bg: #161a21; --bg-2: #1e232c; --bg-3: #272d38; --line: #353c49; --ink: #f3efe6; --ink-2: #bdb7ab; --ink-3: #8c877d;
  --acc: #ffc845; --acc-2: #ffd977; --acc-ink: #2a1d00; --ok: #7fd09a; --bad: #f2806b; --hold: #ffc845;
  --page: #f4f0e7; --page-ink: #1e1c19; --page-2: #5c564b; --page-line: #ddd4c4;
  --f-body: "IBM Plex Sans KR", "Pretendard", system-ui, -apple-system, "Malgun Gothic", sans-serif;
  --f-disp: "Black Han Sans", "IBM Plex Sans KR", "Malgun Gothic", sans-serif;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --r1: 6px; --r2: 10px; --r3: 16px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
@supports (color: oklch(0 0 0)) {
  :root {
    --bg: oklch(0.205 0.018 255); --bg-2: oklch(0.24 0.02 255); --bg-3: oklch(0.285 0.022 255); --line: oklch(0.36 0.024 255);
    --ink: oklch(0.955 0.012 85); --ink-2: oklch(0.79 0.018 85); --ink-3: oklch(0.64 0.018 85);
    --acc: oklch(0.86 0.15 85); --acc-2: oklch(0.9 0.12 88); --hold: oklch(0.86 0.15 85);
    --page: oklch(0.958 0.012 85); --page-ink: oklch(0.23 0.01 70); --page-2: oklch(0.47 0.02 75); --page-line: oklch(0.88 0.02 82);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--page); color: var(--page-ink); font: 400 16px/1.7 var(--f-body); word-break: keep-all; overflow-wrap: anywhere; }
button { font: inherit; color: inherit; cursor: pointer; white-space: nowrap; touch-action: manipulation; }
button:disabled { cursor: default; opacity: 0.4; }
a { color: inherit; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- 페이지 머리 */
.mast { display: flex; align-items: baseline; gap: var(--s4); padding: var(--s3) clamp(var(--s4), 3vw, var(--s6)); border-bottom: 1px solid var(--page-line); }
.mast-brand { text-decoration: none; font-size: 14px; color: var(--page-2); white-space: nowrap; }
.mast-brand b { font-weight: 700; letter-spacing: 0.08em; color: var(--page-ink); margin-right: 6px; }
.mast-more { margin-left: auto; font-size: 14px; color: var(--page-2); white-space: nowrap; }
.head { max-width: 1240px; margin: 0 auto; padding: var(--s4) clamp(var(--s3), 3vw, var(--s6)) var(--s3); display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s2) var(--s4); }
.head h1 { margin: 0; font: 400 clamp(30px, 4vw, 40px)/1.1 var(--f-disp); letter-spacing: -0.01em; }
.head p { margin: 0; color: var(--page-2); font-size: 15px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(0px, 2vw, var(--s5)); }

/* ---------------------------------------------------------------- 게임 무대 */
.dk { position: relative; width: 100%; height: clamp(500px, calc(100svh - 132px), 860px); background: var(--bg); color: var(--ink); overflow: hidden; border-radius: var(--r2);
  display: grid; grid-template-rows: 46px minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr);
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; font-family: var(--f-body); font-size: 14px; line-height: 1.45; touch-action: manipulation; }
@media (max-width: 640px) { .dk { border-radius: 0; height: calc(100svh - 96px); min-height: 540px; } .head { padding-top: var(--s3); } .head p { display: none; } }
html.embed, html.embed body { height: 100%; overflow: hidden; background: var(--bg); }
html.embed .mast, html.embed .head, html.embed .about, html.embed .foot { display: none !important; }
html.embed .wrap { padding: 0; max-width: none; }
html.embed .dk { position: fixed; inset: 0; width: auto; height: auto; min-height: 0; border-radius: 0; }
.dk button:focus-visible, .dk input:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.nojs { padding: var(--s5); }

/* 위 막대 */
.bar { grid-row: 1; grid-column: 1 / -1; display: flex; align-items: center; gap: var(--s2); padding: 0 var(--s2) 0 var(--s3); background: var(--bg-2); border-bottom: 1px solid rgba(0, 0, 0, 0.4); z-index: 4; min-width: 0; }
.bar-l { display: flex; align-items: baseline; gap: var(--s2); min-width: 0; flex: 1; overflow: hidden; }
.bar-t { font: 400 20px/1 var(--f-disp); letter-spacing: 0.01em; white-space: nowrap; }
.bar-m { color: var(--ink-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.bar-r { display: flex; align-items: center; gap: 6px; flex: none; }
.tb { position: relative; height: 34px; padding: 0 var(--s3); border-radius: var(--r1); border: 1px solid var(--line); background: transparent; color: var(--ink); font: 600 13px/1 var(--f-body); display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.tb:hover:not(:disabled) { border-color: var(--ink-3); background: rgba(255, 255, 255, 0.04); }
.tb .ic { display: inline-flex; }
.tb svg { width: 18px; height: 18px; flex: none; }
.tb.icon { width: 36px; padding: 0; }
.tb.icon .lbl, .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tb[aria-pressed="false"] { color: var(--ink-3); }
@media (max-width: 720px) { .bar-r .w-lbl { width: 36px; padding: 0; } .bar-r .w-lbl .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
.dk.narrow .bar-m { display: none; }
.dk.narrow .bar-t { font-size: 18px; }
.dk.narrow:not(.wide) .r-cnt .k { display: none; }
.dk.narrow:not(.wide) .step button { width: 36px; }
.dk.narrow:not(.wide) .step output { min-width: 40px; }
.dk.narrow:not(.wide) .sm { padding: 0 10px; }
.dk.narrow:not(.wide) .sum { width: 80px; }
.dk.narrow:not(.wide) .chips:not(.many) .chip { width: 40px; }
.dk.narrow:not(.wide) .chips { gap: 5px; }
.chips.many .chip { width: 38px; height: 44px; padding-top: 3px; }
.chips.many .chip svg { width: 22px; height: 22px; }
.dk.wide .chips.many .chip { width: 40px; }

/* 판 */
.tray { grid-row: 2; grid-column: 1; position: relative; min-height: 0; min-width: 0; overflow: hidden; background: #111; }
.tray canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; touch-action: none; outline: none; }
.hint { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); margin: 0; padding: var(--s2) var(--s4); border-radius: 999px; background: rgba(12, 14, 18, 0.72); color: var(--ink); text-align: center; pointer-events: none; transition: opacity 0.5s var(--ease); max-width: calc(100% - 24px); }
.hint b { display: block; font-weight: 600; font-size: 14px; white-space: nowrap; }
.hint span { display: block; color: var(--ink-2); font-size: 12px; white-space: nowrap; }
.hint.off { opacity: 0; }
.dk.short .hint span { display: none; }
.toast { position: absolute; left: 50%; top: var(--s3); transform: translate(-50%, -8px); padding: var(--s2) var(--s4); border-radius: 999px; background: rgba(12, 14, 18, 0.86); color: var(--ink); font-weight: 600; font-size: 13px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.4s var(--ease); max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; z-index: 3; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* 아래 칸 */
.panel { grid-row: 3; grid-column: 1; background: var(--bg-2); border-top: 1px solid rgba(0, 0, 0, 0.45); padding: var(--s2) var(--s3) var(--s3); display: flex; flex-direction: column; gap: var(--s2); min-width: 0; min-height: 0; overflow-x: hidden; }
.brk { display: none; }
.res { display: flex; align-items: center; gap: var(--s3); min-height: 60px; }
.sum { flex: none; width: 92px; display: flex; flex-direction: column; align-items: flex-start; }
.sum-k { color: var(--ink-3); font-size: 12px; font-weight: 600; }
.sum b { font: 400 40px/1 var(--f-disp); color: var(--acc); font-variant-numeric: tabular-nums; }
.sum-x { color: var(--ink-2); font-size: 12px; white-space: nowrap; min-height: 17px; }
.chips { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 6px; align-content: center; }
.chips-0 { margin: 0; color: var(--ink-3); font-size: 13px; }
.chip { position: relative; width: 44px; height: 50px; padding: 4px 0 0; border-radius: var(--r1); border: 1px solid var(--line); background: var(--bg-3); display: inline-flex; flex-direction: column; align-items: center; gap: 1px; }
.chip svg { width: 26px; height: 26px; }
.chip b { font-size: 12px; font-weight: 700; line-height: 1; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.chip .lk { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%; background: var(--hold); color: var(--acc-ink); display: grid; place-items: center; }
.chip .lk svg { width: 11px; height: 11px; }
.chip.held { border-color: var(--hold); background: rgba(255, 200, 69, 0.13); }
.chip.top b { color: var(--acc); }
.chip.spin svg { animation: spin 0.5s linear infinite; opacity: 0.55; }
.chip.pop { animation: pop 0.45s var(--ease); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { 0% { transform: scale(0.7); opacity: 0.2; } 100% { transform: none; opacity: 1; } }
.fb { fill: #f2ede1; stroke: rgba(0, 0, 0, 0.35); stroke-width: 0.8; }
.fp { fill: #1d1e22; }
.fr { fill: #c81e2c; }
.ft { fill: #1d1e22; font: 400 10px var(--f-disp); text-anchor: middle; dominant-baseline: middle; }
.ft.n2 { font-size: 8.4px; }

.ctl { display: flex; flex-direction: column; gap: var(--s2); }
.row { display: flex; align-items: center; gap: var(--s2); min-width: 0; }
.r-cnt .k { color: var(--ink-3); font-size: 13px; font-weight: 600; flex: none; }
.step { display: inline-flex; align-items: center; height: 40px; border: 1px solid var(--line); border-radius: var(--r2); background: var(--bg-3); overflow: hidden; flex: none; }
.step button { width: 40px; height: 100%; border: 0; background: transparent; font-size: 20px; font-weight: 600; color: var(--ink); }
.step button:hover:not(:disabled) { background: rgba(255, 255, 255, 0.06); }
.step output { min-width: 46px; text-align: center; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.sm { height: 40px; padding: 0 var(--s3); border-radius: var(--r2); border: 1px solid var(--line); background: transparent; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; }
.sm svg { width: 16px; height: 16px; flex: none; }
.r-cnt .sm:first-of-type { margin-left: auto; }
.seg { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; padding: 3px; border-radius: var(--r2); background: var(--bg); border: 1px solid var(--line); }
.seg button { height: 36px; border: 0; border-radius: 7px; background: transparent; color: var(--ink-2); font: 400 17px/1 var(--f-disp); display: inline-flex; align-items: baseline; justify-content: center; gap: 1px; padding: 0; }
.seg button small { font: 600 12px/1 var(--f-body); }
.seg button.on { background: var(--ink); color: var(--bg); }
.seg button:hover:not(.on) { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.roll { height: 54px; border: 0; border-radius: var(--r2); background: var(--acc); color: var(--acc-ink); font: 400 22px/1 var(--f-disp); letter-spacing: 0.02em; display: inline-flex; align-items: center; justify-content: center; gap: var(--s3); box-shadow: 0 3px 0 rgba(120, 80, 0, 0.55); transition: transform 0.12s var(--ease), box-shadow 0.12s; }
.roll:hover { background: var(--acc-2); }
.roll:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(120, 80, 0, 0.55); }
.roll kbd { font: 600 11px/1 var(--f-body); padding: 3px 6px; border-radius: 4px; border: 1px solid rgba(42, 29, 0, 0.35); color: rgba(42, 29, 0, 0.7); }
@media (hover: none) { .roll kbd { display: none; } }
.dk.rolling .roll span::after { content: ' 중'; }
.hs { display: none; }

/* 넓은 화면: 판 왼쪽, 조작 오른쪽 */
.dk.wide { grid-template-columns: minmax(0, 1fr) clamp(260px, 33%, 360px); grid-template-rows: 46px minmax(0, 1fr); }
.dk.wide .tray { grid-row: 2; grid-column: 1; }
.dk.wide .panel { grid-row: 2; grid-column: 2; border-top: 0; border-left: 1px solid rgba(0, 0, 0, 0.45); padding: var(--s3); gap: var(--s3); overflow-y: auto; }
.dk.wide .res { flex-direction: column; align-items: stretch; gap: var(--s2); }
.dk.wide .sum { width: auto; flex-direction: row; align-items: baseline; gap: var(--s2); }
.dk.wide .sum b { font-size: 46px; }
.dk.wide .sum-x { margin-left: auto; }
.dk.wide .r-cnt { flex-wrap: wrap; row-gap: var(--s2); }
.dk.wide .r-cnt .brk { display: block; flex-basis: 100%; height: 0; }
.dk.wide .r-cnt .sm { flex: 1 1 0; justify-content: center; margin-left: 0; min-width: 0; }
.dk.wide .r-cnt .step { flex: 1; }
.dk.wide .r-cnt .step output { flex: 1; }
.dk.wide .hs { display: flex; flex-direction: column; min-height: 0; flex: 1; border-top: 1px solid var(--line); padding-top: var(--s2); }
.hs-t { margin: 0 0 4px; color: var(--ink-3); font-size: 12px; font-weight: 600; }
.hs ol { list-style: none; margin: 0; padding: 0; overflow: hidden; flex: 1; min-height: 0; }
.hs li, .hlist li { display: grid; grid-template-columns: 58px 50px minmax(0, 1fr) 36px; gap: 6px; align-items: baseline; padding: 3px 0; font-size: 12px; color: var(--ink-2); border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
.hs li time, .hlist li time { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.hs li .hv, .hlist li .hv { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.hv u { text-decoration: none; border-bottom: 2px solid var(--hold); }
.hv em { font-style: normal; color: var(--acc); }
.hs li b, .hlist li b { text-align: right; font-weight: 700; color: var(--acc); font-variant-numeric: tabular-nums; }
.hs li.empty { display: block; color: var(--ink-3); }
.dk.wide.short .hs, .dk.wide .hs.none { display: none; }
.dk.wide.short .panel { gap: var(--s2); padding: var(--s2) var(--s3); }
.dk.wide.short .roll { height: 46px; }
.dk.wide.short .sum b { font-size: 36px; }
.dk.wide.short .chip { width: 40px; height: 44px; padding-top: 3px; }
.dk.wide.short .chip svg { width: 22px; height: 22px; }
.dk.wide.short .seg button { height: 32px; }
.dk.wide.short .step, .dk.wide.short .sm { height: 36px; }
.dk.short:not(.wide) .roll { height: 46px; }
.dk.short:not(.wide) .res { min-height: 52px; }

/* 크게 보기 */
.big { position: absolute; inset: 0; z-index: 8; background: rgba(10, 12, 16, 0.94); display: grid; place-items: center; padding: var(--s4); animation: fade 0.25s var(--ease); }
.big-in { display: flex; flex-direction: column; align-items: center; gap: var(--s3); max-width: 100%; }
.big-k { margin: 0; color: var(--ink-2); font-size: 15px; font-weight: 600; text-align: center; }
.big-n { margin: 0; font: 400 clamp(96px, 34vmin, 260px)/0.9 var(--f-disp); color: var(--acc); font-variant-numeric: tabular-nums; }
.big-c { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2); max-width: 640px; }
.bc { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }
.bc svg { width: clamp(34px, 9vmin, 64px); height: clamp(34px, 9vmin, 64px); }
.bc b { font-size: 14px; color: var(--ink-2); }
.bc.held svg .fb { stroke: var(--hold); stroke-width: 1.6; }
.bmod { align-self: center; font: 400 28px/1 var(--f-disp); color: var(--ink-2); }
.big-ft { display: flex; gap: var(--s2); margin-top: var(--s2); }
.big-ft .roll { padding: 0 var(--s5); }
.ghost { height: 44px; padding: 0 var(--s4); border-radius: var(--r2); border: 1px solid var(--line); background: transparent; color: var(--ink); font-weight: 600; font-size: 14px; }
.ghost:hover { border-color: var(--ink-3); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* 모달 */
.modal { position: absolute; inset: 0; z-index: 10; background: rgba(6, 8, 12, 0.62); display: grid; place-items: center; padding: var(--s3); animation: fade 0.2s var(--ease); }
.mbox { width: min(520px, 100%); max-height: 100%; display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r3); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); overflow: hidden; }
.mhead { display: flex; align-items: center; gap: var(--s2); padding: var(--s3) var(--s3) var(--s3) var(--s4); border-bottom: 1px solid var(--line); }
.mtitle { margin: 0; flex: 1; font: 400 20px/1.2 var(--f-disp); }
.x { height: 34px; padding: 0 var(--s3); border-radius: var(--r1); border: 1px solid var(--line); background: transparent; font-weight: 600; font-size: 13px; }
.mbody { padding: var(--s3) var(--s4) var(--s4); overflow-y: auto; -webkit-user-select: text; user-select: text; }
.mbody h4 { margin: var(--s4) 0 var(--s2); font-size: 13px; color: var(--ink-3); font-weight: 600; letter-spacing: 0.02em; }
.mbody h4:first-child { margin-top: 0; }
.mbody ul { margin: 0; padding-left: 1.2em; }
.mbody li { margin-bottom: 4px; color: var(--ink-2); }
.mbody li b { color: var(--ink); }
.sws { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 6px; }
.sw, .bd { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: var(--s2) 4px; border: 1px solid var(--line); border-radius: var(--r2); background: transparent; font-size: 12px; color: var(--ink-2); }
.sw i { width: 30px; height: 30px; border-radius: 7px; display: grid; place-items: center; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18); }
.sw i svg { width: 22px; height: 22px; }
.sw i svg .fb { fill: transparent; stroke: none; }
.sw i svg .fp { fill: currentColor; }
.sw.on, .bd.on { border-color: var(--acc); color: var(--ink); background: rgba(255, 200, 69, 0.08); }
.bds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.bd i { width: 100%; max-width: 64px; height: 30px; border-radius: 5px; border: 4px solid; }
.tg { display: flex; align-items: center; gap: var(--s3); padding: var(--s2) 0; cursor: pointer; }
.tg > span, .opt > span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tg b, .opt b { font-weight: 600; font-size: 14px; color: var(--ink); }
.tg small, .opt small { color: var(--ink-3); font-size: 12px; }
.tg input { position: absolute; opacity: 0; pointer-events: none; }
.tg i { flex: none; width: 44px; height: 26px; border-radius: 13px; background: var(--bg); border: 1px solid var(--line); position: relative; transition: background 0.2s; }
.tg i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink-3); transition: transform 0.25s var(--ease), background 0.2s; }
.tg input:checked + i { background: var(--acc); border-color: var(--acc); }
.tg input:checked + i::after { transform: translateX(18px); background: var(--acc-ink); }
.tg input:focus-visible + i { outline: 2px solid var(--acc); outline-offset: 2px; }
.opt { display: flex; align-items: center; gap: var(--s3); padding: var(--s2) 0; }
.opt input[type="range"] { width: 140px; accent-color: var(--acc); }
.seg2 { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r1); overflow: hidden; flex: none; }
.seg2 button { height: 32px; padding: 0 var(--s3); border: 0; background: transparent; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.seg2 button.on { background: var(--ink); color: var(--bg); }
.step.sm2 { height: 34px; }
.step.sm2 button { width: 34px; font-size: 18px; }
.links { display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0; }
.links a { padding: 6px var(--s3); border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 13px; color: var(--ink); white-space: nowrap; }
.links a:hover { border-color: var(--acc); }
.keys { border-collapse: collapse; width: 100%; font-size: 13px; }
.keys th { text-align: left; font-weight: 600; padding: 4px var(--s3) 4px 0; white-space: nowrap; color: var(--ink); }
.keys td { color: var(--ink-2); padding: 4px 0; }
.dist { padding: var(--s2) 0 var(--s3); border-bottom: 1px solid var(--line); margin-bottom: var(--s2); }
.dist-t { margin: 0 0 var(--s2); font-weight: 600; }
.dist-t small { color: var(--ink-3); font-weight: 400; margin-left: 6px; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 110px; }
.bar1 { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 2px; position: relative; }
.bar1 i { display: block; width: 100%; max-width: 30px; background: var(--acc); border-radius: 3px 3px 0 0; min-height: 2px; }
.bar1 b { font-size: 12px; color: var(--ink); line-height: 1.2; }
.bar1 em { position: absolute; top: -2px; font-style: normal; font-size: 12px; color: var(--ink-3); }
.bars.b20 .bar1 em { display: none; }
.dist-n { margin: var(--s2) 0 0; color: var(--ink-3); font-size: 12px; }
.hlist { list-style: none; margin: 0; padding: 0; }
.hfoot { margin: var(--s3) 0 0; text-align: right; }
.empty { color: var(--ink-3); }

/* ---------------------------------------------------------------- 소개 */
.about { max-width: 1240px; margin: 0 auto; padding: var(--s7) clamp(var(--s4), 4vw, var(--s7)) var(--s6); display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.8fr); gap: var(--s6) clamp(var(--s5), 5vw, var(--s8)); }
.about-main { min-width: 0; }
.about h2 { margin: var(--s6) 0 var(--s2); font: 400 27px/1.3 var(--f-disp); }
.about h2:first-child { margin-top: 0; }
.about p, .about li { font-size: 16px; color: var(--page-ink); }
.about p { margin: 0 0 var(--s3); }
.about ul, .about ol { margin: 0 0 var(--s3); padding-left: 1.3em; }
.about li { margin-bottom: 6px; }
.about strong { font-weight: 600; }
.about dl { margin: 0; }
.about dt { margin-top: var(--s4); font-weight: 600; }
.about dd { margin: 4px 0 0; color: var(--page-2); }
.about-side { min-width: 0; font-size: 14px; color: var(--page-2); }
.about-side h3 { margin: 0 0 var(--s2); font: 400 21px/1.3 var(--f-disp); color: var(--page-ink); }
.about-side h3 ~ h3 { margin-top: var(--s5); }
.keytab { width: 100%; border-collapse: collapse; }
.keytab th { text-align: left; font-weight: 600; color: var(--page-ink); padding: 5px var(--s3) 5px 0; border-bottom: 1px solid var(--page-line); white-space: nowrap; }
.keytab td { padding: 5px 0; border-bottom: 1px solid var(--page-line); }
.more { margin-top: var(--s6) !important; font-size: 14px !important; color: var(--page-2) !important; line-height: 1.9; }
.credits { font-size: 13px !important; color: var(--page-2) !important; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; padding-top: var(--s6); } }
.foot { border-top: 1px solid var(--page-line); padding: var(--s5) clamp(var(--s4), 4vw, var(--s7)) var(--s6); font-size: 13px; color: var(--page-2); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); max-width: 1240px; margin: 0 auto; }
.foot a { color: var(--page-2); white-space: nowrap; }
.foot p { flex-basis: 100%; margin: var(--s2) 0 0; }
@media (prefers-reduced-motion: reduce) { .chip.pop, .chip.spin svg, .big, .modal { animation: none; } .hint, .toast { transition: none; } }
