/* PLAYORA 당구 */
:root {
  --wall: #211913; --wall-2: #17110c; --panel: rgba(22, 15, 10, 0.92); --line: rgba(242, 234, 217, 0.16);
  --ink: #f2ead9; --ink-2: rgba(242, 234, 217, 0.76); --ink-3: rgba(242, 234, 217, 0.5);
  --chalk: #5f8fd6; --chalk-2: #4a76b8; --chalk-ink: #0b1626; --warm: #e9b35a; --red: #e0584f; --good: #7fd19b;
  --page: #f3eee4; --page-ink: #231c16; --page-2: #5d544b; --page-line: #ddd4c4; --page-acc: #2f5a8f;
  --f-body: "IBM Plex Sans KR", "Pretendard", system-ui, -apple-system, "Malgun Gothic", sans-serif;
  --f-disp: "Black And White Picture", "IBM Plex Sans KR", sans-serif;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --top: 86px;
  /* 공용 부품(plkit.css) 색 */
  --k-ink: var(--ink); --k-ink-2: var(--ink-2); --k-ink-3: var(--ink-3); --k-line: var(--line); --k-chip: rgba(22, 15, 10, 0.74); --k-chip-hover: rgba(22, 15, 10, 0.94);
  --k-btn: rgba(242, 234, 217, 0.08); --k-acc: var(--chalk); --k-acc-2: var(--chalk-2); --k-acc-ink: #fff; --k-focus: #ffd98a;
  --k-scrim: rgba(10, 6, 4, 0.58); --k-sheet: #fbf7ef; --k-sheet-ink: #231c16; --k-sheet-2: #6a5f55; --k-sheet-line: #e6ddcd;
  --k-toast: #120c08; --k-toast-ink: #f2ead9; --k-ai: var(--warm); --k-ai-ink: #2b1b05;
}
@supports (color: oklch(0 0 0)) {
  :root {
    --wall: oklch(0.22 0.022 55); --chalk: oklch(0.65 0.12 255); --chalk-2: oklch(0.56 0.12 255); --warm: oklch(0.8 0.12 75);
    --page: oklch(0.95 0.013 80); --page-ink: oklch(0.24 0.02 55); --page-2: oklch(0.46 0.02 60); --page-line: oklch(0.88 0.018 80); --page-acc: oklch(0.47 0.11 255);
  }
}
* { 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; }
a { color: inherit; }

/* ---------------------------------------------------------------- 페이지 머리 */
.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(--s3) clamp(var(--s3), 3vw, var(--s6)) var(--s2); display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--s4); }
.head h1 { margin: 0; font: 400 clamp(40px, 5vw, 54px)/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)); }

/* ---------------------------------------------------------------- 게임 무대 */
.bl { width: 100%; height: clamp(420px, calc(100svh - 132px), 820px); background: var(--wall); border-radius: 12px; }
@media (max-width: 640px) { .bl { border-radius: 0; height: min(84svh, 780px); min-height: 520px; } .head { padding-top: var(--s2); } .head p { display: none; } }
html.embed, html.embed body { height: 100%; overflow: hidden; background: var(--wall); }
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 .bl { position: fixed; inset: 0; width: auto; height: auto; min-height: 0; border-radius: 0; }
.nojs { padding: var(--s5); color: var(--ink); }
.ai { margin-left: 4px; }

/* ---------------------------------------------------------------- 첫 화면 (왼쪽 글, 오른쪽 구경 테이블) */
.scr-home { flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--s4); padding: 54px 55% 20px clamp(var(--s4), 4.5vw, var(--s8)); pointer-events: none; }
.scr-home > * { pointer-events: auto; }
.home-brand { max-width: 420px; }
.kicker { margin: 0; font: 600 13px/1.4 var(--f-body); color: var(--warm); letter-spacing: 0.06em; }
.logo { margin: 0.1em 0 0; font: 400 clamp(76px, 9.5vw, 116px)/0.92 var(--f-disp); color: var(--ink); letter-spacing: -0.02em; }
.tag-s { display: none; }
.tag { margin: var(--s3) 0 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 28em; }
.home-modes { display: flex; flex-direction: column; gap: 6px; width: min(420px, 100%); }
.mt { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t e" "d d"; align-items: baseline; column-gap: var(--s3); padding: 6px var(--s4) 8px; text-align: left; border-radius: 10px; border: 1px solid var(--line); background: rgba(22, 15, 10, 0.8); color: var(--ink); transition: transform 0.16s var(--ease), border-color 0.16s; }
.mt:hover { transform: translateX(3px); border-color: var(--ink-3); }
.mt b { grid-area: t; font: 400 26px/1.1 var(--f-disp); }
.mt-d { grid-area: d; font-size: 13px; line-height: 1.35; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mt em { grid-area: e; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--warm); white-space: nowrap; }
.mt-main { background: var(--chalk); border-color: var(--chalk-2); color: #fff; }
.mt-main b { font-size: 32px; }
.mt-main .mt-d, .mt-main em { color: rgba(255, 255, 255, 0.9); }
.home-sub { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s2); }
.home-sub button { height: 32px; padding: 0 var(--s3); border-radius: 999px; border: 1px solid var(--line); background: rgba(22, 15, 10, 0.76); font: 600 13px/1 var(--f-body); color: var(--ink); }
.home-sub button:hover { border-color: var(--ink-3); }
.bl.port .scr-home { padding: 0 var(--s4) var(--s4); justify-content: flex-end; align-items: stretch; gap: var(--s3); }
.bl.port .home-brand { max-width: none; }
.bl.port .kicker { font-size: 12px; letter-spacing: 0.03em; }
.bl.port .tag-l { display: none; }
.bl.port .tag-s { display: inline; }
.bl.port .logo { font-size: clamp(58px, 17vw, 84px); }
.bl.port .tag { font-size: 14px; margin-top: var(--s2); }
.bl.port .home-modes { width: 100%; }
.bl.port .mt { padding: 4px var(--s3) 6px; }
.bl.port .mt b { font-size: 22px; }
.bl.port .mt-main b { font-size: 26px; }
.bl.lowh:not(.port) .scr-home { padding-top: 50px; padding-bottom: 10px; gap: var(--s2); }
.bl.lowh:not(.port) .logo { font-size: 64px; }
.bl.lowh:not(.port) .tag { display: none; }
.bl.lowh:not(.port) .mt { padding: 3px var(--s3) 4px; }
.bl.lowh:not(.port) .mt b { font-size: 20px; }
.bl.lowh:not(.port) .mt-main b { font-size: 22px; }
.bl.lowh:not(.port) .mt-d { font-size: 12px; }
.bl.lowh:not(.port) .kicker { display: none; }
.bl.lowh:not(.port) .home-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.bl.lowh:not(.port) .mt-main { grid-column: 1 / -1; }
.bl.lowh:not(.port) .home-sub button { height: 28px; padding: 0 10px; font-size: 12px; }

/* ---------------------------------------------------------------- 경기 준비 */
.scr-setup { padding: 50px var(--s3) var(--s3) clamp(var(--s3), 4vw, var(--s7)); pointer-events: none; }
.panel { pointer-events: auto; width: min(500px, 100%); max-height: 100%; display: flex; flex-direction: column; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.ph { display: flex; align-items: center; gap: var(--s3); padding: var(--s2) var(--s4); border-bottom: 1px solid var(--line); }
.back { height: 30px; padding: 0 var(--s3); border-radius: 999px; border: 1px solid var(--line); background: transparent; font: 600 13px/1 var(--f-body); color: var(--ink-2); }
.ptitle { margin: 0; font: 400 28px/1.1 var(--f-disp); color: var(--ink); }
.pbody { padding: var(--s3) var(--s4); overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: var(--s3); min-height: 0; }
.su-rule { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.su-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; }
.su-k { font-weight: 600; font-size: 14px; color: var(--ink); }
.seg { display: flex; gap: 4px; flex-wrap: wrap; }
.seg button { height: 32px; padding: 0 var(--s3); border-radius: 999px; border: 1px solid var(--line); background: transparent; font: 600 13px/1 var(--f-body); color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--chalk); border-color: var(--chalk-2); color: #fff; }
.su-lv { display: flex; flex-direction: column; gap: 4px; }
.lv { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "k n e" "k d d"; column-gap: var(--s3); align-items: baseline; text-align: left; padding: 6px var(--s3); border-radius: 10px; border: 1px solid var(--line); background: rgba(242, 234, 217, 0.04); color: var(--ink); }
.lv b { grid-area: k; font: 400 18px/1.2 var(--f-disp); color: var(--warm); }
.lv-n { grid-area: n; font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-d { grid-area: d; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.lv em { grid-area: e; font-style: normal; font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.lv[aria-pressed="true"] { border-color: var(--chalk); background: rgba(95, 143, 214, 0.16); }
.pf { padding: var(--s3) var(--s4); border-top: 1px solid var(--line); display: flex; justify-content: flex-start; }
.pf .btn { min-width: 160px; }
.bl.port .scr-setup { padding: 50px var(--s2) var(--s2); }
.bl.port .panel { width: 100%; }

/* ---------------------------------------------------------------- 경기 화면: 점수판 */
.sb { position: absolute; z-index: 6; height: 36px; display: flex; align-items: center; justify-content: center; gap: var(--s2); pointer-events: none; }
.sb-p { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 var(--s3); border-radius: 999px; background: rgba(18, 12, 8, 0.82); border: 1px solid var(--line); font: 600 13px/1 var(--f-body); color: var(--ink-2); min-width: 0; flex: 0 1 auto; transition: border-color 0.2s; }
.sb-p.cur { border-color: var(--chalk); color: var(--ink); box-shadow: inset 0 0 0 1px var(--chalk); }
.sb-p .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 10em; min-width: 2em; }
.sb-g { font-size: 12px; color: var(--ink-3); white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.sb-balls { display: inline-flex; gap: 2px; align-items: center; }
.mb { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: var(--c); box-shadow: inset -1px -2px 2px rgba(0, 0, 0, 0.35); flex: none; }
.mb.st { background: linear-gradient(var(--ivory, #f4efe2) 0 26%, var(--c) 26% 74%, var(--ivory, #f4efe2) 74%); }
.mb.off { opacity: 0.22; }
.mbn { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--c); font: 700 12px/1 var(--f-body); color: #1a1714; box-shadow: inset -1px -2px 3px rgba(0, 0, 0, 0.3); }
.mbn.st { background: radial-gradient(circle, #f4efe2 0 45%, var(--c) 46%); }
.sb-cue { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset -1px -2px 3px rgba(0, 0, 0, 0.3); flex: none; }
.sb-sc { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.sb-sc b { font-size: 17px; color: var(--ink); font-weight: 700; margin-right: 1px; }
.sb-run { font-size: 12px; color: var(--warm); white-space: nowrap; }
.sb .tb { pointer-events: auto; }
.bl.ovl .sb, .bl.ovl .ctl { visibility: hidden; }
.bl.pk-narrow .sb-p { padding: 0 var(--s2); gap: 4px; }
.bl.pk-narrow .sb-p .nm { max-width: 6em; }
.bl.pk-narrow .sb-balls { display: none; }
.bl.pk-narrow .sb-left { display: inline; }
.sb-left { display: none; font-size: 12px; color: var(--ink-3); white-space: nowrap; }

/* ---------------------------------------------------------------- 경기 화면: 조작 막대 */
.ctl { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.pw { position: absolute; left: 12px; top: var(--top); bottom: 16px; width: 46px; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: auto; touch-action: none; cursor: ns-resize; outline: none; }
.pw-lab { font: 600 12px/1 var(--f-body); color: var(--ink-2); }
.pw-track { position: relative; flex: 1; width: 24px; border-radius: 999px; background: rgba(0, 0, 0, 0.38); border: 1px solid var(--line); overflow: hidden; }
.pw-fill { position: absolute; top: 0; left: 0; right: 0; height: 0; background: var(--chalk); }
.pw-mark { position: absolute; left: 0; right: 0; height: 2px; margin-top: -1px; background: var(--warm); }
.pw-grip { position: absolute; top: 0; left: 3px; right: 3px; height: 14px; border-radius: 7px; background: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); }
.pw-num { font: 700 12px/1 var(--f-body); color: var(--ink); font-variant-numeric: tabular-nums; }
.rc { position: absolute; right: 12px; top: var(--top); bottom: 16px; width: 92px; display: flex; flex-direction: column; align-items: center; gap: var(--s2); pointer-events: auto; }
.spin { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px; border: 0; border-radius: 12px; background: transparent; color: var(--ink-2); font: 600 12px/1.2 var(--f-body); }
.spin canvas { width: 70px; height: 70px; display: block; }
.fine { flex: 1; min-height: 0; max-height: 230px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.fb { width: 40px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: rgba(22, 15, 10, 0.8); color: var(--ink); font: 700 22px/1 var(--f-body); padding: 0; touch-action: none; }
.wheel { flex: 1; min-height: 34px; width: 34px; border-radius: 10px; border: 1px solid var(--line); background-color: #2a2019; background-image: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0 2px, rgba(0, 0, 0, 0.25) 2px 4px, transparent 4px 9px); touch-action: none; cursor: ns-resize; }
.gd.off { color: var(--ink-3); text-decoration: line-through; }
.bl.ctl-off .pw, .bl.ctl-off .rc { opacity: 0.45; }
.bl.port .pw { left: 6px; width: 40px; }
.bl.port .pw-track { width: 20px; }
.bl.port .rc { right: 6px; width: 50px; gap: 6px; }
.bl.port .spin canvas { width: 44px; height: 44px; }
.bl.port .fb { width: 34px; height: 30px; font-size: 20px; }
.bl.port .wheel { width: 30px; }
.bl.port .gd { padding: 0 6px; }
.bl.lowh .spin canvas { width: 52px; height: 52px; }
.bl.lowh .spin span { display: none; }
.tip { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 7; margin: 0; padding: 7px 14px; border-radius: 999px; background: rgba(14, 9, 6, 0.86); border: 1px solid var(--line); font: 600 13px/1.2 var(--f-body); color: var(--ink); white-space: nowrap; max-width: calc(100% - 140px); overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.tip.ai { color: var(--warm); }
.bl.port .tip { max-width: calc(100% - 120px); bottom: 12px; }

/* 당점 고르는 큰 원 */
.pad { position: absolute; inset: 0; z-index: 11; display: flex; align-items: center; justify-content: center; background: var(--k-scrim); padding: 50px 12px 12px; }
.pad-box { width: min(300px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: var(--s2); padding: var(--s3) var(--s4) var(--s4); border-radius: 16px; background: var(--k-sheet); color: var(--k-sheet-ink); overflow: auto; }
.pad-t { margin: 0; font: 600 15px/1.3 var(--f-body); }
.pad-box canvas { width: min(220px, 60vh, 100%); height: auto; aspect-ratio: 1; touch-action: none; cursor: crosshair; }
.pad-h { margin: 0; font-size: 13px; color: var(--k-sheet-2); }
.pad-b { display: flex; gap: var(--s2); }
.pad-b .btn { color: var(--k-sheet-ink); border-color: var(--k-sheet-line); background: transparent; }
.pad-b .btn.big { background: var(--chalk); border-color: var(--chalk-2); color: #fff; }

/* ---------------------------------------------------------------- 잠깐 멈춤, 결과, 처음 안내 */
.scr-pause, .scr-res { align-items: center; justify-content: center; background: var(--k-scrim); padding: 50px var(--s3) var(--s3); }
.box, .res, .coach-box { width: min(380px, 100%); max-height: 100%; overflow-y: auto; display: flex; flex-direction: column; gap: var(--s2); padding: var(--s4) var(--s5) var(--s5); border-radius: 16px; background: var(--panel); border: 1px solid var(--line); color: var(--ink); }
.box-t, .res-t, .coach-t { margin: 0; font: 400 34px/1.1 var(--f-disp); }
.box-s, .res-s { margin: 0 0 var(--s2); font-size: 14px; color: var(--ink-2); }
.res { width: min(460px, 100%); }
.res-k, .coach-k { margin: 0; font: 600 12px/1.4 var(--f-body); color: var(--warm); letter-spacing: 0.04em; }
.res-t.good { color: var(--warm); }
.res-tab { width: 100%; border-collapse: collapse; font-size: 13px; }
.res-tab th, .res-tab td { padding: 6px 4px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.res-tab th { text-align: left; font-weight: 600; max-width: 9em; overflow: hidden; text-overflow: ellipsis; }
.res-tab tr:first-child td { color: var(--ink-3); font-size: 12px; }
.res-tab tr.w th { color: var(--warm); }
.res-tab .nm { display: inline-block; max-width: 8.5em; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
.res-ach p { margin: var(--s2) 0 4px; font-weight: 700; font-size: 14px; color: var(--warm); }
.res-ach ul { margin: 0; padding-left: 1.1em; font-size: 13px; color: var(--ink-2); }
.res-b { display: flex; gap: var(--s2); margin-top: var(--s2); flex-wrap: wrap; }
.coach { position: absolute; inset: 0; z-index: 9; display: flex; align-items: center; justify-content: center; padding: 50px 80px var(--s3); background: rgba(10, 6, 4, 0.5); }
.coach-box { width: min(440px, 100%); }
.coach-box ul { margin: 0; padding-left: 1.1em; font-size: 14px; line-height: 1.6; color: var(--ink-2); display: flex; flex-direction: column; gap: 4px; }
.coach-t2 { margin: var(--s2) 0 0; font-weight: 700; font-size: 14px; color: var(--ink); }
.coach-b { display: flex; gap: var(--s2); align-items: center; margin-top: var(--s2); flex-wrap: wrap; }
.bl.port .coach { padding: 50px var(--s3) var(--s3); }
.bl.lowh .box-t, .bl.lowh .res-t, .bl.lowh .coach-t { font-size: 26px; }
.bl.lowh .box, .bl.lowh .res, .bl.lowh .coach-box { padding: var(--s3) var(--s4); gap: 6px; }
.bl.lowh .box .btn { height: 34px; }
.bl.lowh .coach-box ul { font-size: 13px; line-height: 1.5; }

/* ---------------------------------------------------------------- 창 안 (설정·도움말·기록·꾸미기) */
.tabs { justify-content: flex-start; margin-bottom: var(--s2); }
.rtab { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: var(--s2); }
.rtab th, .rtab td { padding: 5px 4px; border-bottom: 1px solid var(--k-sheet-line); text-align: right; white-space: nowrap; }
.rtab th { text-align: left; font-weight: 600; }
.rtab tr:first-child td { color: var(--k-sheet-2); font-size: 12px; }
.rnote { font-size: 13px; color: var(--k-sheet-2); }
.achs { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.achs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n e" "d d"; column-gap: var(--s2); padding: 6px var(--s3); border-radius: 10px; border: 1px solid var(--k-sheet-line); color: var(--k-sheet-2); }
.achs li b { grid-area: n; font-size: 14px; }
.achs li span { grid-area: d; font-size: 12.5px; }
.achs li em { grid-area: e; font-style: normal; font-size: 12px; white-space: nowrap; }
.achs li.on { color: var(--k-sheet-ink); border-color: var(--page-acc); background: rgba(47, 90, 143, 0.06); }
.achs li.on em { color: var(--page-acc); font-weight: 700; }
.sty { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; }
.sw { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 6px; border-radius: 10px; border: 1px solid var(--k-sheet-line); background: transparent; color: var(--k-sheet-ink); text-align: left; white-space: normal; }
.sw i { display: block; width: 100%; height: 26px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.sw span { font: 600 13px/1.2 var(--f-body); }
.sw em { font-style: normal; font-size: 12px; color: var(--k-sheet-2); line-height: 1.3; }
.sw.sel { border-color: var(--page-acc); box-shadow: inset 0 0 0 1px var(--page-acc); }
.sw:disabled { opacity: 0.6; }

/* ---------------------------------------------------------------- 소개 글 */
.about { max-width: 1240px; margin: 0 auto; padding: var(--s7) clamp(var(--s4), 3vw, var(--s6)) var(--s7); display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s7); }
.about h2 { margin: var(--s6) 0 var(--s2); font: 400 30px/1.25 var(--f-disp); }
.about-main > h2:first-child { margin-top: 0; }
.about h3 { margin: var(--s5) 0 var(--s1); font-size: 18px; font-weight: 700; }
.about p, .about li { color: var(--page-ink); }
.about ol, .about ul { padding-left: 1.25em; }
.about li { margin-bottom: var(--s1); }
.about dl { margin: 0; }
.about dt { font-weight: 700; margin-top: var(--s4); }
.about dd { margin: var(--s1) 0 0; color: var(--page-2); }
.about .more { margin-top: var(--s6); font-size: 14px; line-height: 1.9; color: var(--page-2); }
.about .more a { color: var(--page-acc); text-underline-offset: 3px; }
.about-side { position: relative; }
.about-side h3 { margin: 0 0 var(--s2); font-size: 15px; }
.about-side h3 ~ h3 { margin-top: var(--s5); }
.keytab { width: 100%; border-collapse: collapse; font-size: 14px; }
.keytab th, .keytab td { text-align: left; padding: 6px 0; border-bottom: 1px solid var(--page-line); vertical-align: top; }
.keytab th { font-weight: 600; padding-right: var(--s3); white-space: nowrap; }
.keytab td { color: var(--page-2); }
.foot { max-width: 1240px; margin: 0 auto; padding: var(--s5) clamp(var(--s4), 3vw, var(--s6)) var(--s7); border-top: 1px solid var(--page-line); font-size: 13px; color: var(--page-2); }
.foot a { margin-right: var(--s4); color: var(--page-ink); white-space: nowrap; }
.foot p { margin: var(--s3) 0 0; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: var(--s5); } }
@media (prefers-reduced-motion: reduce) { .mt, .sb-p { transition: none; } }
