/* PLAYORA 숨은그림찾기 */
:root {
  --page: #f4f1ea; --page-ink: #1d2027; --page-2: #5b6170; --page-line: #ddd6c8;
  --desk: #e7dfcd; --desk-2: #ddd3bd; --paper: #fffdf8; --paper-2: #f7f2e7; --line: #d9cfba; --line-2: #c7bba1;
  --ink: #23263a; --ink-2: #555a6e; --ink-3: #868a99;
  --red: #dc4535; --red-2: #b8311f; --red-soft: #fbe3dc; --blue: #2d6bd0; --blue-soft: #dfe9fb; --hl: #ffe27a; --ok: #2d8f57;
  --f-body: "IBM Plex Sans KR", "Pretendard", system-ui, -apple-system, "Malgun Gothic", sans-serif;
  --f-disp: "Do Hyeon", "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.96 0.01 85); --page-ink: oklch(0.24 0.015 260); --page-2: oklch(0.48 0.02 260); --page-line: oklch(0.88 0.015 85);
    --desk: oklch(0.9 0.025 85); --desk-2: oklch(0.86 0.03 85); --paper: oklch(0.993 0.006 85); --paper-2: oklch(0.96 0.014 85); --line: oklch(0.85 0.03 85); --line-2: oklch(0.78 0.035 85);
    --ink: oklch(0.28 0.035 275); --ink-2: oklch(0.46 0.03 275); --ink-3: oklch(0.62 0.02 275);
    --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.55 0.16 260); --blue-soft: oklch(0.93 0.03 260); --hl: oklch(0.91 0.13 95); --ok: oklch(0.58 0.13 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: 400 clamp(32px, 4vw, 42px)/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)); }

/* ---------------------------------------------------------------- 게임 무대 */
.hd { 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);
  display: grid; grid-template-columns: minmax(0, 1fr) var(--panel-w, 210px); grid-template-rows: auto minmax(0, 1fr); }
.hd:fullscreen { width: 100vw; height: 100vh; border-radius: 0; }
.hd:-webkit-full-screen { width: 100vw; height: 100vh; border-radius: 0; }
@media (max-width: 640px) { .hd { border-radius: 0; height: calc(100svh - 112px); 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 .hd { position: fixed; inset: 0; width: auto; height: auto; min-height: 0; border-radius: 0; }
.hd button:focus-visible, .hd input:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.nojs { padding: var(--s5); }

/* 위 막대 */
.top { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--s2); padding: var(--s2) var(--s3); background: var(--paper-2); border-bottom: 1px solid var(--line); 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(--line-2); background: var(--paper); color: var(--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, border-color .15s; }
.tb:hover { border-color: var(--ink-3); }
.tb:active { transform: translateY(1px); }
.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: 400 calc(19px * var(--fs))/1.1 var(--f-disp); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-name small { font-size: calc(12px * var(--fs)); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mid { display: flex; align-items: center; gap: var(--s2); flex: none; margin-right: var(--s2); }
.chip { height: 32px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); 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.cnt b { color: var(--red); }
.duelbar { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 4px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); 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: 9em; overflow: hidden; text-overflow: ellipsis; }
.duelbar b { font: 400 calc(18px * var(--fs))/1 var(--f-disp); }
.duelbar i { font-style: normal; }
.hint { position: relative; padding: 0 var(--s3) 0 10px; }
.hint .n { min-width: 20px; height: 20px; border-radius: 999px; background: var(--red); color: #fff; font: 700 12px/20px var(--f-body); text-align: center; }
.hint.empty .n { background: var(--ink-3); }
.hint .rc { position: absolute; left: 6px; right: 6px; bottom: 3px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.hint .rc i { display: block; height: 100%; width: 0; background: var(--red); border-radius: 3px; }
.hint:disabled { cursor: default; }

/* 그림 자리 */
.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(--s3); bottom: var(--s3); display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.zoom .tb { width: 40px; height: 40px; padding: 0; box-shadow: 0 2px 6px rgba(40, 30, 10, 0.12); }
.zoom .fit { font-size: 12px; }
.mini { position: absolute; left: var(--s3); bottom: var(--s3); z-index: 2; border-radius: 6px; box-shadow: 0 2px 8px rgba(40, 30, 10, 0.2); background: var(--paper); border: 1px solid var(--line-2); cursor: pointer; touch-action: none; }
.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: 50%; bottom: var(--s4); transform: translateX(-50%); max-width: calc(100% - 110px); background: rgba(35, 38, 58, 0.88); 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; }

/* 찾을 물건 목록 */
.list { position: relative; min-width: 0; min-height: 0; background: var(--paper-2); border-left: 1px solid var(--line); display: flex; flex-direction: column; z-index: 2; }
.list h2 { margin: 0; padding: var(--s3) var(--s3) 6px; font: 400 calc(17px * var(--fs))/1.2 var(--f-disp); display: flex; align-items: baseline; justify-content: space-between; gap: var(--s2); }
.list h2 small { font: 500 calc(12px * var(--fs))/1 var(--f-body); color: var(--ink-2); }
.items { list-style: none; margin: 0; padding: 0 var(--s2) var(--s2); display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 6px; overflow-y: auto; align-content: start; flex: 1; }
.it { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 6px 4px 5px; border-radius: var(--r2); border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 600 calc(13px * var(--fs))/1.2 var(--f-body); min-height: var(--it-h, 72px); transition: background .2s, border-color .2s, transform .15s; }
.it span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.it svg { width: var(--ic, 38px); height: var(--ic, 38px); flex: none; }
.it svg path { fill: none; stroke: currentColor; stroke-width: 2.2px; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.it:hover { border-color: var(--line-2); }
.it.sel { border-color: var(--ink); box-shadow: inset 0 -5px 0 var(--hl); }
.it.got { background: var(--red-soft); border-color: transparent; color: var(--red-2); }
.it.got span { text-decoration: line-through; text-decoration-thickness: 2px; }
.it.ai { background: var(--blue-soft); color: var(--blue); }
.it.got::after { content: ""; position: absolute; top: 5px; right: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.5L12 5.4' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.it.ai::after { background-color: var(--blue); }
.it.pop { animation: pop .45s var(--ease); }
@keyframes pop { 0% { transform: scale(1); } 35% { transform: scale(1.12); } 100% { transform: scale(1); } }
.it.nudge { animation: nudge .5s; }
@keyframes nudge { 20% { transform: translateY(-3px); } 50% { transform: translateY(1px); } }

/* 좁은 칸: 글씨 12px, 여백 줄임 */
.hd.compact .items { gap: 5px; }
.hd.compact .it { padding: 3px 1px 2px; gap: 1px; font-size: 12px; }
.hd.compact .list h2 { padding: 8px var(--s3) 4px; font-size: calc(16px * var(--fs)); }
html.big .hd.compact .it { font-size: 13px; }

/* 세로 화면: 목록이 아래로 */
.hd.port { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; }
.hd.port .list { border-left: 0; border-top: 1px solid var(--line); }
.hd.port .list h2 { display: none; }
.hd.port .items { padding: var(--s2); grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr)); gap: 5px; }
.hd.port .it { min-height: var(--it-h, 54px); padding: 4px 2px; font-size: calc(12px * var(--fs)); }
.hd.port .it svg { width: var(--ic, 26px); height: var(--ic, 26px); }
.hd.port .zoom { right: var(--s2); bottom: var(--s2); }
.hd.port .zoom .tb { width: 38px; height: 38px; }
.hd.port .st-name small { display: none; }
.hd.narrow .top { gap: 5px; padding: 6px var(--s2); }
.hd.narrow .mid { gap: 5px; margin-right: 0; }
.hd.narrow .tb { height: 34px; min-width: 34px; }
.hd.narrow .tb.icon { width: 34px; }
.hd.narrow .chip { height: 30px; padding: 0 8px; }
.hd.tiny .lbl, .hd.narrow .hint .lbl { display: none; }
.hd.tiny .st-name { display: none; }
.hd.short .list h2 { padding-top: 6px; }

/* ---------------------------------------------------------------- 덮개 (시작·단계·결과·창) */
.ov { position: absolute; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; padding: var(--s4); background: rgba(231, 223, 205, 0.86); -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(60, 45, 20, 0.18), 0 2px 0 rgba(60, 45, 20, 0.06); 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: 400 calc(28px * 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; }
.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: 54px; padding: 0 var(--s5); border: 0; background: var(--red); color: #fff; font: 400 calc(22px * 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); }

/* 시작 화면 */
.home { width: min(100%, 880px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s5); align-items: center; }
.home-l h2 { margin: 0; font: 400 calc(clamp(40px, 6vw, 64px) * var(--fs))/1 var(--f-disp); letter-spacing: -0.01em; }
.home-l h2 em { font-style: normal; color: var(--red); }
.home-l p { margin: var(--s3) 0 0; color: var(--ink-2); font-size: calc(15px * var(--fs)); line-height: 1.6; max-width: 26em; }
.home-art { margin-top: var(--s4); width: 100%; max-width: 380px; aspect-ratio: 3 / 2; border-radius: var(--r2); border: 1px solid var(--line-2); background: var(--paper) center/cover no-repeat; position: relative; overflow: hidden; }
.home-lens { position: absolute; right: 9%; bottom: 8%; width: 34%; height: auto; filter: drop-shadow(0 3px 6px rgba(40, 30, 10, 0.25)); animation: hover 3.2s ease-in-out infinite; }
@keyframes hover { 50% { transform: translate(-6px, -4px) rotate(-3deg); } }
.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); }
.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(15px * var(--fs))/1 var(--f-body); }
.seg button.on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(60, 45, 20, 0.16); }
.seg-note { margin: 2px 2px var(--s2); 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(--s2); }
.home-foot .btn { flex: 1; height: 40px; justify-content: center; }
.hd.port .home, .hd.short .home { grid-template-columns: 1fr; gap: var(--s3); }
.hd.port .home-art, .hd.short .home-art { display: none; }
.hd.short .home-l h2 { font-size: calc(36px * var(--fs)); }
.hd.short .home-l p { margin-top: var(--s2); }
.hd.short .seg-note { min-height: 0; }

/* 단계 고르기 */
.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(60, 45, 20, 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: 400 calc(24px * var(--fs))/1 var(--f-disp); }
.pick-h p { margin: 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(--s3) var(--s4) var(--s4); }
.pick-b h3 { margin: var(--s3) 0 var(--s2); font: 400 calc(18px * 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(150px, 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: 3 / 2; 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: 400 calc(16px * 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, 253, 248, 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%, 440px); }
.res h2 { font-size: calc(34px * 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: 400 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%, 420px); }
.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: 400 24px/1 var(--f-disp); }
.find .opp b { display: block; font-size: calc(17px * var(--fs)); }
.find .opp small { color: var(--ink-2); font-size: calc(13px * var(--fs)); }
.find .count { font: 400 64px/1 var(--f-disp); color: var(--red); margin: var(--s2) 0; }

/* 설정·도움말 창 */
.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%; }
.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: 400 calc(18px * 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.16; }
html.big .hd { --ic: 44px; --it-h: 84px; }
html.big .hd.port { --ic: 30px; --it-h: 62px; }

/* ---------------------------------------------------------------- 소개 글 */
.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 30px/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: 400 22px/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); }
.more { margin-top: var(--s5); font-size: 14px; color: var(--page-2); line-height: 1.9; }
.more a { white-space: nowrap; }
.credit { margin-top: var(--s4); font-size: 13px; color: var(--page-2); line-height: 1.7; }
@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; }
}
