/* PLAYORA 틀린그림찾기 */
:root {
  --page: #f3f2ee; --page-ink: #1d2428; --page-2: #56626a; --page-line: #d9dbd4;
  --desk: #e6e6df; --desk-2: #d9dad1; --paper: #ffffff; --paper-2: #f5f5f1; --line: #d6d8d0; --line-2: #c2c6bc;
  --ink: #1f2f33; --ink-2: #4f5f63; --ink-3: #87959a; --bar: #1f3135; --bar-2: #2c4247; --bar-ink: #eef3f2;
  --red: #e0402a; --red-2: #b52e1b; --red-soft: #fbe2dc; --blue: #2f63c8; --blue-soft: #dfe8fa; --gold: #f0b429; --ok: #2b8a5a;
  --f-body: "IBM Plex Sans KR", "Pretendard", system-ui, -apple-system, "Malgun Gothic", sans-serif;
  --f-disp: "Sunflower", "IBM Plex Sans KR", 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);
  --fs: 1;
}
@supports (color: oklch(0 0 0)) {
  :root {
    --page: oklch(0.962 0.005 110); --page-ink: oklch(0.25 0.015 220); --page-2: oklch(0.48 0.02 220); --page-line: oklch(0.88 0.008 120);
    --desk: oklch(0.925 0.008 110); --desk-2: oklch(0.885 0.01 110); --paper-2: oklch(0.968 0.004 110); --line: oklch(0.87 0.009 120); --line-2: oklch(0.81 0.012 120);
    --ink: oklch(0.29 0.025 210); --ink-2: oklch(0.45 0.022 210); --ink-3: oklch(0.64 0.018 210); --bar: oklch(0.29 0.027 200); --bar-2: oklch(0.36 0.03 200); --bar-ink: oklch(0.96 0.006 180);
    --red: oklch(0.6 0.19 32); --red-2: oklch(0.5 0.17 32); --red-soft: oklch(0.93 0.035 32); --blue: oklch(0.52 0.16 260); --blue-soft: oklch(0.93 0.03 260); --gold: oklch(0.81 0.15 80); --ok: oklch(0.56 0.12 155);
  }
}
* { 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; }
[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: 700 clamp(30px, 4vw, 40px)/1.1 var(--f-disp); letter-spacing: -0.01em; }
.head h1 span { color: var(--red); }
.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)); }

/* ---------------------------------------------------------------- 게임 무대 */
.sp { position: relative; width: 100%; height: clamp(460px, calc(100svh - 132px), 860px); background: var(--desk); color: var(--ink); overflow: hidden; border-radius: var(--r2);
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; font-family: var(--f-body);
  touch-action: manipulation; /* 단추를 두 번 눌러도 화면이 커지지 않게 */
  display: grid; grid-template-rows: auto minmax(0, 1fr); }
.sp:fullscreen { width: 100vw; height: 100vh; border-radius: 0; }
.sp:-webkit-full-screen { width: 100vw; height: 100vh; border-radius: 0; }
@media (max-width: 640px) { .sp { border-radius: 0; height: min(calc(100svh - 104px), 820px); min-height: 480px; } .head { padding-top: var(--s3); } .head p { display: none; } }
html.embed, html.embed body { height: 100%; overflow: hidden; background: var(--desk); }
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 .sp { position: fixed; inset: 0; width: auto; height: auto; min-height: 0; border-radius: 0; }
.sp button:focus-visible, .sp input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.nojs { padding: var(--s5); }

/* 위 막대 (어두운 띠) */
.top { position: relative; display: flex; align-items: center; gap: var(--s2); padding: var(--s2) var(--s3); background: var(--bar); color: var(--bar-ink); min-width: 0; z-index: 3; }
.top-l, .top-r { display: flex; align-items: center; gap: 6px; min-width: 0; }
.top-l { flex: 1 1 0; }
.top-r { flex: none; }
.tb { height: 36px; min-width: 36px; padding: 0 var(--s3); border-radius: var(--r2); border: 1px solid var(--bar-2); background: var(--bar-2); color: var(--bar-ink); font: 600 calc(14px * var(--fs))/1 var(--f-body); display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: transform .08s, background .15s; }
.tb:hover { background: oklch(0.42 0.03 200); }
.tb:active { transform: translateY(1px); }
.tb:disabled { opacity: 0.5; cursor: default; }
.tb svg { width: 18px; height: 18px; flex: none; }
.tb.icon { padding: 0; width: 36px; }
.tb.off { color: var(--ink-3); }
.st-name { min-width: 0; display: flex; flex-direction: column; line-height: 1.15; padding-left: 2px; }
.st-name b { font: 700 calc(18px * var(--fs))/1.15 var(--f-disp); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-name small { font-size: calc(12px * var(--fs)); color: oklch(0.8 0.015 200); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mid { display: flex; align-items: center; gap: var(--s2); flex: none; margin-right: var(--s1); }
.chip { height: 32px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border-radius: 999px; background: oklch(0.24 0.025 200); font: 600 calc(14px * var(--fs))/1 var(--f-body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.chip svg { width: 16px; height: 16px; flex: none; }
.chip.low { background: var(--red); color: #fff; }
.dots i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 2px solid oklch(0.7 0.02 200); margin-right: 3px; vertical-align: -1px; }
.dots i.on { background: var(--red); border-color: var(--red); }
.dots i.ai { background: var(--blue); border-color: var(--blue); }
.dots b { margin-left: 2px; }
.dots .of { opacity: 0.75; }
.duelbar { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 4px; border-radius: 999px; background: oklch(0.24 0.025 200); font: 600 calc(13px * var(--fs))/1 var(--f-body); white-space: nowrap; }
.duelbar span { display: inline-flex; align-items: center; gap: 5px; padding: 0 8px; height: 24px; border-radius: 999px; }
.duelbar .me { background: var(--red-soft); color: var(--red-2); }
.duelbar .ai { background: var(--blue-soft); color: var(--blue); max-width: 10em; overflow: hidden; text-overflow: ellipsis; }
.duelbar b { font: 700 calc(17px * var(--fs))/1 var(--f-disp); }
.duelbar i { font-style: normal; }
.hint { position: relative; padding: 0 var(--s3) 0 10px; background: var(--gold); border-color: var(--gold); color: #2b2205; }
.hint:hover { background: oklch(0.85 0.14 85); }
.hint .n { min-width: 20px; height: 20px; border-radius: 999px; background: #2b2205; color: #fff; font: 700 12px/20px var(--f-body); text-align: center; }
.hint.empty { background: var(--bar-2); border-color: var(--bar-2); color: var(--bar-ink); }
.hint.empty .n { background: var(--ink-3); }
.hint .rc { position: absolute; left: 6px; right: 6px; bottom: 3px; height: 3px; border-radius: 3px; background: rgba(0, 0, 0, 0.18); overflow: hidden; }
.hint .rc i { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 3px; }
.tbar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: oklch(0.24 0.025 200); }
.tbar i { display: block; height: 100%; width: 100%; background: var(--gold); transition: width .25s linear; }
.tbar.low i { background: var(--red); }

/* 그림 자리 */
.area { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.area canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; outline: none; cursor: crosshair; }
.area canvas.grab { cursor: grabbing; }
.area canvas.wait { cursor: progress; }
.zoom { position: absolute; right: var(--s2); bottom: var(--s2); display: flex; gap: 6px; z-index: 2; }
.zoom .tb { width: 40px; height: 40px; padding: 0; background: rgba(255, 255, 255, 0.92); border-color: var(--line-2); color: var(--ink); box-shadow: 0 2px 6px rgba(20, 30, 30, 0.14); }
.zoom .tb:hover { background: #fff; }
.after { position: absolute; left: var(--s2); bottom: var(--s1); display: flex; gap: var(--s2); z-index: 3; }
.after .btn { box-shadow: 0 4px 14px rgba(20, 30, 30, 0.18); }
.loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s3); color: var(--ink-2); font-size: 15px; z-index: 2; pointer-events: none; }
.loading i { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--red); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.coach { position: absolute; left: var(--s2); bottom: 12px; max-width: calc(100% - 160px); background: rgba(31, 49, 53, 0.9); color: #fff; padding: 8px 14px; border-radius: 999px; font-size: calc(13px * var(--fs)); z-index: 3; pointer-events: none; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 좁은 화면 */
.sp.narrow .top { gap: 5px; padding: 6px var(--s2); }
.sp.narrow .mid { gap: 5px; margin-right: 0; }
.sp.narrow .tb { height: 34px; min-width: 34px; }
.sp.narrow .tb.icon { width: 34px; }
.sp.narrow .chip { height: 30px; padding: 0 8px; }
.sp.narrow .hint .lbl { display: none; }
.sp.narrow .st-name small { display: none; }
.sp.narrow .dots i { width: 8px; height: 8px; margin-right: 2px; border-width: 1.5px; }
.sp.tiny .dots #dotsI { display: none; }
.sp.tiny .st-name { display: none; }
.sp.tiny .chip svg { display: none; }
.sp.tiny .zoom .tb { width: 36px; height: 36px; }
.sp.tiny #bInfo { display: none; } /* 작품 정보는 메뉴에서 */
.sp.tiny .coach { font-size: 12px; padding: 7px 10px; max-width: calc(100% - 140px); }
.sp.narrow.after-on .zoom { display: none; } /* 다 찾은 뒤 좁은 화면에서는 깜박여 비교·다음 단추만 */

/* ---------------------------------------------------------------- 덮개 (시작·단계·결과·창) */
.ov { position: absolute; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; padding: var(--s4); background: rgba(230, 230, 223, 0.88); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.ov.solid { background: var(--desk); }
.card { position: relative; width: min(100%, 560px); max-height: 100%; overflow-y: auto; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r3); box-shadow: 0 18px 50px rgba(20, 35, 35, 0.18), 0 2px 0 rgba(20, 35, 35, 0.05); padding: var(--s5); animation: rise .35s var(--ease); }
@keyframes rise { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.card h2 { margin: 0 0 var(--s2); font: 700 calc(26px * var(--fs))/1.15 var(--f-disp); }
.card p { margin: 0 0 var(--s3); color: var(--ink-2); font-size: calc(15px * var(--fs)); line-height: 1.6; }
.card p.fine { font-size: calc(13px * var(--fs)); }
.x { position: absolute; top: var(--s3); right: var(--s3); width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 20px; line-height: 1; display: grid; place-items: center; }
.btn { height: 44px; padding: 0 var(--s4); border-radius: var(--r2); border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); font: 600 calc(15px * var(--fs))/1 var(--f-body); display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); transition: transform .08s, border-color .15s, background .15s; }
.btn:hover { border-color: var(--ink-3); }
.btn:active { transform: translateY(2px); }
.btn.big { height: 52px; padding: 0 var(--s5); border: 0; background: var(--red); color: #fff; font: 700 calc(20px * var(--fs))/1 var(--f-disp); box-shadow: 0 4px 0 var(--red-2); }
.btn.big:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--red-2); }
.btn.big small { font: 600 calc(13px * var(--fs))/1 var(--f-body); opacity: 0.92; white-space: nowrap; }
.btn.big.two { flex-direction: column; gap: 6px; height: auto; min-height: 62px; padding: 10px var(--s5); }
.btn.big.two span { white-space: nowrap; }
.btn.warn { color: var(--red-2); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }
.btns.col { flex-direction: column; }
.after .btn { height: 40px; }
.after .btn.big { height: 40px; font-size: calc(16px * var(--fs)); box-shadow: 0 3px 0 var(--red-2); }

/* 시작 화면 */
.home { width: min(100%, 900px); max-height: 100%; overflow-y: auto; overscroll-behavior: contain; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--s5) var(--s6); align-items: center; }
.sp.port.low .home-l p { display: none; } /* 일반 페이지 휴대폰 세로(높이 560 미만): 설정·도움말 단추가 아래로 잘리지 않게 */
.home-l .kicker { margin: 0 0 var(--s2); font: 600 calc(13px * var(--fs))/1 var(--f-body); letter-spacing: 0.06em; color: var(--ink-2); }
.home-l h2 { margin: 0; font: 700 calc(clamp(40px, 5.6vw, 60px) * var(--fs))/1.02 var(--f-disp); letter-spacing: -0.01em; }
.home-l p { margin: var(--s3) 0 0; color: var(--ink-2); font-size: calc(15px * var(--fs)); line-height: 1.6; max-width: 25em; }
.home-art { position: relative; margin-top: var(--s4); width: min(100%, 360px); aspect-ratio: 2.2 / 1; }
.home-art .ha { position: absolute; top: 6%; width: 47%; aspect-ratio: 4 / 3; background: var(--paper) center/cover no-repeat; border: 5px solid #fff; box-shadow: 0 6px 16px rgba(20, 35, 35, 0.18); }
.home-art .ha.a { left: 0; transform: rotate(-3deg); }
.home-art .ha.b { left: 50%; transform: rotate(2.5deg); }
.home-ring { position: absolute; left: 66%; top: 18%; width: 22%; height: auto; transform: rotate(-12deg); }
.home-r { display: flex; flex-direction: column; gap: var(--s2); }
.home-r .btn { width: 100%; justify-content: space-between; }
.home-r .btn.big { justify-content: center; }
.home-r .btn .sub { font: 500 calc(13px * var(--fs))/1 var(--f-body); color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.home-r .btn .sub.done { color: var(--ok); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: var(--r2); background: var(--paper-2); border: 1px solid var(--line); }
.seg button { height: 40px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); font: 600 calc(14px * var(--fs))/1 var(--f-body); }
.seg button.on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(20, 35, 35, 0.16); }
.seg-note { margin: 2px 2px var(--s1); font-size: calc(13px * var(--fs)); color: var(--ink-2); line-height: 1.5; min-height: 2.9em; }
.home-foot { display: flex; gap: var(--s2); margin-top: var(--s1); }
.home-foot .btn { flex: 1; height: 40px; justify-content: center; }
.sp.port .home, .sp.short .home { grid-template-columns: 1fr; gap: var(--s3); }
.sp.port .home-art, .sp.short .home-art { display: none; }
.sp.short .home-l h2 br, .sp.port .home-l h2 br { display: none; }
.sp.short .home-l h2, .sp.port .home-l h2 { font-size: calc(34px * var(--fs)); }
.sp.short .home-l p { display: none; }
.sp.short .seg-note { display: none; }
.sp.short .home-l .kicker { display: none; }
.sp.short .home-r { gap: 6px; }
.sp.short .home-r .btn { height: 38px; }
.sp.short .home-r .btn.big.two { min-height: 50px; padding: 6px var(--s4); }
.sp.short .seg button { height: 34px; }
.sp.short .home-foot .btn { height: 34px; }
.sp.short .ov { padding: var(--s2); }

/* 단계 고르기 */
.pick { width: min(100%, 980px); height: 100%; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r3); box-shadow: 0 18px 50px rgba(20, 35, 35, 0.18); overflow: hidden; animation: rise .35s var(--ease); }
.pick-h { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); }
.pick-h h2 { margin: 0; font: 700 calc(22px * var(--fs))/1.1 var(--f-disp); }
.pick-h p { margin: 2px 0 0; font-size: calc(13px * var(--fs)); color: var(--ink-2); }
.pick-h .x { position: static; margin-left: auto; flex: none; }
.pick-b { overflow-y: auto; padding: var(--s2) var(--s4) var(--s4); }
.pick-b h3 { margin: var(--s3) 0 var(--s2); font: 700 calc(17px * var(--fs))/1.2 var(--f-disp); display: flex; gap: var(--s2); align-items: baseline; }
.pick-b h3 small { font: 500 calc(12px * var(--fs))/1 var(--f-body); color: var(--ink-2); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--s2); }
.sc { position: relative; display: flex; flex-direction: column; align-items: stretch; padding: 0; border-radius: var(--r2); border: 1px solid var(--line); background: var(--paper-2); overflow: hidden; text-align: left; transition: transform .12s, border-color .15s; }
.sc:hover { border-color: var(--ink-3); transform: translateY(-1px); }
.sc .th { aspect-ratio: 4 / 3; background: var(--paper) center/cover no-repeat; border-bottom: 1px solid var(--line); }
.sc .nm { padding: 6px 8px 7px; display: flex; align-items: center; gap: 6px; font: 600 calc(13px * var(--fs))/1.2 var(--f-body); min-width: 0; }
.sc .nm b { flex: none; font: 700 calc(15px * var(--fs))/1 var(--f-disp); color: var(--red); }
.sc .nm span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc .stars { position: absolute; top: 6px; right: 6px; padding: 2px 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); display: flex; gap: 1px; }
.sc .stars svg { width: 14px; height: 14px; }
.sc.lock { cursor: default; }
.sc.lock .th { filter: grayscale(1) opacity(0.45); }
.sc.lock .nm { color: var(--ink-3); }
.sc .lk { position: absolute; top: 36%; left: 50%; transform: translate(-50%, -50%); width: 36px; height: 36px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12); }
.sc .lk svg { width: 18px; height: 18px; }
.sc.next { border-color: var(--red); box-shadow: 0 0 0 2px var(--red-soft); }

/* 결과 */
.res { text-align: center; width: min(100%, 460px); }
.res h2 { font-size: calc(32px * var(--fs)); }
.res .stars3 { display: flex; justify-content: center; gap: var(--s2); margin: var(--s2) 0 var(--s3); }
.res .stars3 svg { width: 52px; height: 52px; transform: scale(0); }
.res .stars3 svg.in { animation: starin .5s var(--ease) forwards; }
@keyframes starin { 0% { transform: scale(0) rotate(-40deg); } 60% { transform: scale(1.18) rotate(6deg); } 100% { transform: scale(1) rotate(0); } }
.res .stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px var(--s4); margin: 0 0 var(--s3); font-size: calc(14px * var(--fs)); color: var(--ink-2); }
.res .stats b { color: var(--ink); font-variant-numeric: tabular-nums; }
.res .btns { justify-content: center; }
.res .vs { display: flex; justify-content: center; align-items: center; gap: var(--s4); margin: var(--s3) 0; font: 700 calc(40px * var(--fs))/1 var(--f-disp); }
.res .vs small { display: block; font: 600 calc(13px * var(--fs))/1.3 var(--f-body); color: var(--ink-2); }
.res .vs .me { color: var(--red); } .res .vs .ai { color: var(--blue); }

/* 대결 준비 */
.find { text-align: center; width: min(100%, 440px); }
.find .spin { display: inline-block; width: 40px; height: 40px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--blue); animation: spin .8s linear infinite; }
.find .opp { display: flex; align-items: center; gap: var(--s3); justify-content: center; margin: var(--s3) 0; padding: var(--s3); border-radius: var(--r2); background: var(--paper-2); border: 1px solid var(--line); }
.find .ava { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font: 700 18px/1 var(--f-body); }
.find .opp b { display: block; font-size: calc(17px * var(--fs)); }
.find .opp small { color: var(--ink-2); font-size: calc(13px * var(--fs)); }
.aitag { font-style: normal; font: 700 11px/1 var(--f-body); padding: 3px 6px; border-radius: 4px; background: var(--blue); color: #fff; vertical-align: 2px; }
.find .count { font: 700 60px/1 var(--f-disp); color: var(--red); margin: var(--s2) 0; }

/* 작품 정보 */
.info { width: min(100%, 600px); }
.info-b { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: var(--s4); align-items: start; margin-bottom: var(--s3); }
.info-th { width: 150px; aspect-ratio: 4 / 3; background: var(--paper-2) center/cover no-repeat; border: 4px solid #fff; box-shadow: 0 3px 10px rgba(20, 35, 35, 0.18); }
.info-t { margin: 0 0 var(--s2) !important; color: var(--ink) !important; }
.info-t b { font: 700 calc(19px * var(--fs))/1.3 var(--f-disp); }
.info-t span { display: block; font-size: calc(13px * var(--fs)); color: var(--ink-2); }
.info .kt th { width: 34%; }
.info .kt a { color: var(--blue); word-break: break-all; }
@media (max-width: 520px) { .info-b { grid-template-columns: 1fr; } }

/* 설정·도움말 창 */
.ck { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s2) 0; border-top: 1px solid var(--line); cursor: pointer; font-size: calc(15px * var(--fs)); }
.ck input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--red); flex: none; }
.ck small { display: block; color: var(--ink-2); font-size: calc(13px * var(--fs)); line-height: 1.5; }
.sl { display: grid; grid-template-columns: auto 1fr 3.2em; gap: var(--s3); align-items: center; padding: var(--s2) 0 var(--s2) 32px; font-size: calc(14px * var(--fs)); color: var(--ink-2); }
.sl input { width: 100%; accent-color: var(--red); }
.sl output { text-align: right; font-variant-numeric: tabular-nums; }
.kt { width: 100%; border-collapse: collapse; font-size: calc(14px * var(--fs)); margin-bottom: var(--s3); }
.kt th { text-align: left; font-weight: 500; color: var(--ink-2); padding: 5px var(--s2) 5px 0; width: 46%; vertical-align: top; }
.kt td { padding: 5px 0; font-weight: 600; }
.kt tr + tr th, .kt tr + tr td { border-top: 1px solid var(--line); }
.card h3 { margin: var(--s3) 0 6px; font: 700 calc(17px * var(--fs))/1.2 var(--f-disp); }

/* 알림 */
.toast { position: absolute; left: 50%; top: 58px; transform: translateX(-50%); z-index: 20; max-width: calc(100% - 24px); background: var(--ink); color: #fff; padding: 9px 16px; border-radius: 999px; font-size: calc(14px * var(--fs)); text-align: center; pointer-events: none; animation: rise .25s var(--ease); white-space: normal; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 큰 글씨 (천천히 모드는 늘) */
html.big { --fs: 1.15; }
html.big .tb { height: 40px; min-width: 40px; }
html.big .tb.icon { width: 40px; }
html.big .sp.narrow .tb { height: 36px; min-width: 36px; }
html.big .sp.narrow .tb.icon { width: 36px; }
html.big .zoom .tb { width: 46px; height: 46px; }

/* ---------------------------------------------------------------- 소개 글 */
.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: 700 28px/1.25 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: 700 20px/1.3 var(--f-disp); color: var(--page-ink); }
.keytab { width: 100%; border-collapse: collapse; margin-bottom: var(--s5); font-size: 14px; }
.keytab th { text-align: left; font-weight: 500; padding: 6px var(--s2) 6px 0; color: var(--page-2); width: 50%; }
.keytab td { padding: 6px 0; font-weight: 600; color: var(--page-ink); }
.keytab tr + tr th, .keytab tr + tr td { border-top: 1px solid var(--page-line); }
.credits { margin: 0 0 var(--s3); padding: 0; list-style: none; columns: 2 300px; column-gap: var(--s6); }
.credits li { break-inside: avoid; font-size: 13px !important; color: var(--page-2) !important; line-height: 1.55; margin-bottom: 8px; }
.credits li b { color: var(--page-ink); font-weight: 600; }
.credits a { color: var(--page-2); word-break: break-all; }
.more { margin-top: var(--s5); font-size: 14px; color: var(--page-2); line-height: 1.9; }
.more a { white-space: nowrap; }
@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) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .res .stars3 svg { transform: none; }
}
