/* PLAYORA 색칠놀이 */
:root {
  --navy: #23315c; --navy-2: #2c3c6c; --navy-3: #3a4c80; --navy-line: #4d5f95;
  --n-ink: #fdf8ee; --n-ink-2: #cfd6ee; --n-ink-3: #9aa6cc;
  --desk: #efe5d3; --desk-2: #e5d8c0; --desk-3: #d8c7a8; --paper: #fffdf8;
  --t1: #2b2730; --t2: #645b68; --t3: #948a96; --line: #ddd0b9;
  --acc: #ffc93c; --acc-2: #e9a91a; --acc-ink: #3b2a00;
  --bad: #e0564a;
  --page: #f8f3ea; --page-ink: #262129; --page-2: #655c68; --page-line: #e5dacb;
  --f-body: "IBM Plex Sans KR", "Pretendard", system-ui, -apple-system, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  --f-disp: "Gaegu", "IBM Plex Sans KR", "Malgun Gothic", sans-serif;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px;
  --r1: 8px; --r2: 12px; --r3: 16px; --r4: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --cur: #3a8bef; --dot: 40px; --prow: 2;
}
@supports (color: oklch(0 0 0)) {
  :root {
    --navy: oklch(0.33 0.075 268); --navy-2: oklch(0.37 0.08 268); --navy-3: oklch(0.44 0.085 268); --navy-line: oklch(0.52 0.08 268);
    --n-ink: oklch(0.98 0.012 85); --n-ink-2: oklch(0.87 0.03 268); --n-ink-3: oklch(0.73 0.05 268);
    --desk: oklch(0.93 0.025 80); --desk-2: oklch(0.89 0.032 80); --desk-3: oklch(0.83 0.04 80); --paper: oklch(0.993 0.007 85);
    --t1: oklch(0.28 0.015 320); --t2: oklch(0.47 0.02 320); --line: oklch(0.86 0.03 80);
    --acc: oklch(0.86 0.16 85); --acc-2: oklch(0.76 0.15 78);
    --page: oklch(0.967 0.012 80); --page-line: oklch(0.9 0.02 80);
  }
}
* { 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; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:disabled { cursor: default; opacity: 0.36; }
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.1em; 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(--s1) var(--s4); }
.head h1 { margin: 0; font: 700 clamp(38px, 4.6vw, 52px)/1 var(--f-disp); color: var(--navy); }
.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)); }

/* ---------------------------------------------------------------- 게임 틀 */
.cl { position: relative; width: 100%; height: clamp(560px, calc(100svh - 132px), 880px); background: var(--desk); color: var(--t1); overflow: hidden; border-radius: var(--r2);
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; font: 400 14px/1.45 var(--f-body); }
@media (max-width: 640px) { .cl { border-radius: 0; height: calc(100svh - 96px); min-height: 560px; } .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 .cl { position: fixed; inset: 0; width: auto; height: auto; min-height: 0; border-radius: 0; }
.cl:fullscreen { border-radius: 0; }
.cl button:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }
.cl canvas { display: block; }
.nojs { padding: var(--s6); text-align: center; }

/* 위 막대 */
.bar { position: absolute; top: 0; left: 0; right: 0; height: 46px; z-index: 6; display: flex; align-items: center; gap: var(--s2); padding: 0 var(--s2) 0 var(--s3); background: var(--navy); color: var(--n-ink); }
.cl.short .bar { height: 40px; }
.bar-l { display: flex; align-items: baseline; gap: 10px; min-width: 0; flex: 1; overflow: hidden; }
.bar-t { font: 700 25px/1 var(--f-disp); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.cl.short .bar-t { font-size: 23px; }
.bar-m { color: var(--n-ink-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.cl.tiny .bar-m { display: none; }
.bar-r { display: flex; align-items: center; gap: 6px; flex: none; }
.tb { height: 34px; padding: 0 10px; gap: 5px; border-radius: var(--r1); border: 1px solid var(--navy-line); background: transparent; color: var(--n-ink); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.tb.icon { width: 36px; padding: 0; }
.cl.short .tb { height: 30px; } .cl.short .tb.icon { width: 32px; }
.tb svg { width: 18px; height: 18px; flex: none; }
.tb:hover { border-color: var(--n-ink-3); background: rgba(255, 255, 255, 0.07); }
.tb.back { padding: 0 11px 0 9px; background: var(--navy-2); }
.cl.tiny .tb.back span { display: none; } .cl.tiny .tb.back { width: 36px; padding: 0; }
.view { position: absolute; top: 46px; left: 0; right: 0; bottom: 0; }
.cl.short .view { top: 40px; }

/* ---------------------------------------------------------------- 그림 고르기 */
.vp { display: grid; grid-template-rows: auto auto minmax(0, 1fr); background: var(--desk); }
.pk-top { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4) var(--s2); }
.cl.short .pk-top { padding: var(--s2) var(--s4) var(--s1); }
.seg { display: inline-flex; padding: 3px; border-radius: 24px; background: var(--desk-2); }
.seg button { height: 40px; padding: 0 14px 0 10px; border: 0; border-radius: 20px; background: transparent; color: var(--t2); display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.seg button svg { width: 20px; height: 20px; }
.seg button.on { background: var(--paper); color: var(--navy); box-shadow: 0 1px 0 var(--desk-3), 0 2px 6px -3px rgba(40, 30, 10, 0.5); }
.cl.short .seg button { height: 34px; }
.galb { margin-left: auto; height: 46px; padding: 0 8px 0 14px; border-radius: 23px; border: 0; background: var(--navy); color: var(--n-ink); display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; }
.galb svg { width: 21px; height: 21px; }
.galb b { min-width: 28px; height: 28px; padding: 0 8px; border-radius: 14px; background: var(--acc); color: var(--acc-ink); font-size: 13px; display: inline-grid; place-items: center; }
.cl.short .galb { height: 38px; }
.cl.tiny .galb span { display: none; }
.cats { display: flex; gap: var(--s2); overflow-x: auto; overflow-y: hidden; padding: var(--s1) var(--s4) var(--s3); scrollbar-width: thin; touch-action: pan-x; overscroll-behavior-x: contain; }
.cat { flex: none; width: 76px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px 5px; border-radius: var(--r3); border: 0; background: transparent; color: var(--t2); font-size: 13px; font-weight: 700; }
.cat canvas { width: 46px; height: 46px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1.5px var(--line); }
.cat span { line-height: 1.2; }
.cat[aria-selected="true"] { background: var(--navy); color: var(--n-ink); }
.cat[aria-selected="true"] canvas { box-shadow: 0 0 0 2px var(--acc); }
.cl.short .cat { width: 66px; padding: 4px 3px; font-size: 12px; } .cl.short .cat canvas { width: 36px; height: 36px; }
.grid { overflow-y: auto; overflow-x: hidden; display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(150px, 17vw, 230px), 1fr)); gap: var(--s3); padding: var(--s1) var(--s4) var(--s5); align-content: start; scrollbar-width: thin; overscroll-behavior: contain; touch-action: pan-y; }
.cl.port .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); padding: var(--s1) var(--s3) var(--s4); }
.cl.short.land .grid { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 6px 6px 5px; border-radius: var(--r3); border: 0; background: var(--paper); color: var(--t1); box-shadow: 0 1px 0 var(--desk-3), 0 8px 18px -14px rgba(60, 40, 10, 0.7); white-space: normal; transition: transform 0.15s var(--ease); }
.card:hover { transform: translateY(-2px); }
.card canvas, .card img { width: 100%; aspect-ratio: 1 / 1; height: auto; border-radius: 10px; background: #fff; display: block; pointer-events: none; }
.card .nm { font-size: 13.5px; font-weight: 700; line-height: 1.3; text-align: center; padding: 0 2px; }
.cl.port .card .nm { font-size: 12.5px; }
.wip { position: absolute; top: 10px; right: 10px; width: 14px; height: 14px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 3px var(--paper); }

/* ---------------------------------------------------------------- 색칠하기 */
.vb { display: grid; background: var(--desk); }
.cl.land .vb { grid-template-columns: 76px minmax(0, 1fr) clamp(208px, 26%, 300px); grid-template-rows: auto minmax(0, 1fr); grid-template-areas: "tools stage acts" "tools stage pal"; }
.cl.land.short .vb { grid-template-columns: 64px minmax(0, 1fr) clamp(196px, 32%, 260px); }
.cl.port .vb { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto auto; grid-template-areas: "acts" "stage" "tools" "pal"; }
.tools { grid-area: tools; display: flex; align-items: center; gap: var(--s2); background: var(--desk-2); min-width: 0; min-height: 0; }
.cl.land .tools { flex-direction: column; justify-content: center; padding: var(--s2) 0; overflow-y: auto; scrollbar-width: none; }
.cl.port .tools { justify-content: center; padding: 6px var(--s2); gap: 6px; }
.tl { flex: none; width: 54px; height: 54px; border-radius: var(--r3); border: 0; background: var(--paper); color: var(--t1); display: grid; place-items: center; padding: 0; box-shadow: 0 2px 0 var(--desk-3); transition: transform 0.12s var(--ease), background 0.12s; }
.tl svg { width: 30px; height: 30px; }
.tl.on { background: var(--acc); color: var(--acc-ink); box-shadow: 0 2px 0 var(--acc-2), 0 0 0 2px var(--navy); }
.tl:active { transform: scale(0.94); }
.cl.land.short .tl { width: 48px; height: 48px; } .cl.land.short .tl svg { width: 27px; height: 27px; }
.cl.port .tl { width: 46px; height: 46px; border-radius: var(--r2); } .cl.port .tl svg { width: 27px; height: 27px; }
.cl.port.tiny .tl { width: 42px; height: 42px; }
.tsep { flex: none; background: var(--desk-3); border-radius: 2px; }
.cl.land .tsep { width: 34px; height: 3px; } .cl.port .tsep { width: 3px; height: 30px; }
.tl.sz .szd { width: 14px; height: 14px; border-radius: 50%; background: var(--cur); box-shadow: 0 0 0 2px var(--t1); }
.tl.sz[data-z="0"] .szd { width: 9px; height: 9px; }
.tl.sz[data-z="2"] .szd { width: 24px; height: 24px; }
.tl.gd { color: var(--t3); }
.tl.gd.on { background: var(--paper); color: var(--navy); box-shadow: 0 2px 0 var(--desk-3), 0 0 0 2px var(--navy); }
.stage { grid-area: stage; position: relative; min-width: 0; min-height: 0; overflow: hidden; background: var(--desk); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; }
.zoom { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.zb { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 253, 248, 0.94); color: var(--navy); display: grid; place-items: center; padding: 0; box-shadow: 0 2px 8px -3px rgba(40, 30, 10, 0.55); }
.zb svg { width: 22px; height: 22px; }
.zb:disabled { opacity: 0.35; }
@media (hover: none) { .zb.zi, .zb.zo { display: none; } }
.acts { grid-area: acts; display: grid; gap: 6px; min-width: 0; }
.cl.land .acts { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: var(--s2) var(--s3) var(--s1); }
.cl.port .acts { grid-template-columns: repeat(6, minmax(0, 46px)); justify-content: center; padding: 6px var(--s2); background: var(--desk-2); }
.ab { height: 44px; border-radius: var(--r2); border: 0; background: var(--paper); color: var(--t1); display: grid; place-items: center; padding: 0; box-shadow: 0 2px 0 var(--desk-3); }
.ab svg { width: 24px; height: 24px; }
.ab:active:not(:disabled) { transform: translateY(1px); box-shadow: 0 1px 0 var(--desk-3); }
.cl.land.short .ab { height: 38px; }
.cl.port .ab { height: 40px; }
.ab.hrt { color: #d8456f; }
.ab.hrt.pop svg { animation: hp 0.5s var(--ease); }
@keyframes hp { 40% { transform: scale(1.35); } }
.pal { grid-area: pal; min-width: 0; min-height: 0; display: grid; gap: 6px; }
.cl.land .pal { grid-template-columns: repeat(var(--pcols, 4), var(--dot)); grid-auto-rows: var(--dot); justify-content: center; align-content: start; padding: 6px var(--s3) var(--s3); overflow-y: auto; scrollbar-width: thin; touch-action: pan-y; }
.cl.port .pal { grid-auto-flow: column; grid-template-rows: repeat(var(--prow), var(--dot)); grid-auto-columns: var(--dot); overflow-x: auto; overflow-y: hidden; padding: 6px var(--s3) 10px; touch-action: pan-x; scrollbar-width: thin; overscroll-behavior-x: contain; background: var(--desk-2); }
.dot { width: var(--dot); height: var(--dot); border-radius: 50%; border: 0; padding: 0; background: var(--c); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5), 0 0 0 1px rgba(40, 30, 20, 0.22); transition: transform 0.12s var(--ease); }
.dot.on { transform: scale(1.06); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5), 0 0 0 3px var(--paper), 0 0 0 6px var(--navy); }
.dot.fx-rainbow { background: conic-gradient(from 20deg, #ff5b5b, #ff9a3c, #ffd93d, #6cc96f, #4d9bff, #7b6cf0, #c56bd6, #ff5b5b); }
.dot.fx-glitter { background: radial-gradient(circle at 30% 32%, #fff 0 1.6px, transparent 2.6px), radial-gradient(circle at 66% 58%, #fff 0 1.4px, transparent 2.4px), radial-gradient(circle at 42% 76%, rgba(255, 255, 255, 0.85) 0 1.1px, transparent 2px), radial-gradient(circle at 70% 26%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.8px), var(--c); }
.dot.fx-galaxy { background: radial-gradient(circle at 30% 34%, #fff 0 1.3px, transparent 2.2px), radial-gradient(circle at 68% 62%, #fff 0 1px, transparent 1.9px), radial-gradient(circle at 52% 22%, rgba(255, 255, 255, 0.8) 0 0.9px, transparent 1.6px), radial-gradient(circle at 60% 60%, #5b4fa8, var(--c) 70%); }

/* 다 칠했어요 */
.done { position: absolute; left: 50%; bottom: 12px; z-index: 4; transform: translateX(-50%); width: min(470px, calc(100% - 20px)); padding: 12px 14px 12px; border-radius: var(--r4); background: var(--paper); box-shadow: 0 14px 34px -14px rgba(30, 30, 60, 0.75); animation: up 0.45s var(--ease); }
@keyframes up { from { transform: translate(-50%, 24px); opacity: 0; } }
.done-t { margin: 0 34px 10px 0; display: flex; align-items: center; gap: 10px; }
.done-t b { font: 700 27px/1 var(--f-disp); color: var(--navy); }
.stars { display: inline-flex; color: var(--acc); }
.stars svg { width: 24px; height: 24px; }
.done-b { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.done-b button { height: 58px; border-radius: var(--r2); border: 0; background: var(--desk); color: var(--t1); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 12.5px; font-weight: 700; padding: 0 2px; }
.done-b button svg { width: 22px; height: 22px; }
.done-b #dSave { background: var(--acc); color: var(--acc-ink); }
.done.compact { padding: 8px 10px 10px; bottom: 8px; }
.done.compact .done-t { margin-bottom: 6px; } .done.compact .done-t b { font-size: 23px; } .done.compact .stars svg { width: 19px; height: 19px; }
.done.compact .done-b { gap: 5px; } .done.compact .done-b button { height: 50px; font-size: 12px; }
.done.compact .done-x { width: 32px; height: 32px; top: 6px; right: 6px; }
.done-x { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--desk); display: grid; place-items: center; padding: 0; }
.done-x svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- 창 */
.modal { position: absolute; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; padding: var(--s3); background: rgba(24, 28, 52, 0.5); }
.mbox { position: relative; width: min(460px, 100%); max-height: 100%; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: var(--s4) var(--s4) var(--s4); border-radius: var(--r4); background: var(--paper); color: var(--t1); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7); animation: pop 0.3s var(--ease); }
.mbox.m-gallery { width: min(720px, 100%); }
@keyframes pop { from { transform: scale(0.96); opacity: 0; } }
.m-t { margin: 0 0 var(--s3); font: 700 26px/1.2 var(--f-disp); color: var(--navy); text-align: center; }
.m-s { margin: var(--s3) 0 0; font-size: 13px; color: var(--t2); text-align: center; }
.m-row { display: flex; gap: var(--s2); justify-content: center; }
.mbtn { flex: 1 1 0; min-width: 0; max-width: 190px; height: 64px; border-radius: var(--r3); border: 0; background: var(--desk); color: var(--t1); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-weight: 700; font-size: 14px; }
.mbtn svg { width: 26px; height: 26px; }
.mbtn.big { height: 120px; } .mbtn.big svg { width: 54px; height: 54px; }
.mbtn.warn { background: #fde3df; color: #9b2c22; }
.m-h { display: flex; align-items: baseline; gap: var(--s2); margin: 0 0 var(--s3); padding-right: 44px; }
.m-h b { font: 700 28px/1 var(--f-disp); color: var(--navy); }
.m-h span { font-size: 13px; color: var(--t2); font-weight: 600; }
.m-x { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--desk); display: grid; place-items: center; padding: 0; }
.m-x svg { width: 19px; height: 19px; }
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: var(--s2); }
.gi { display: flex; flex-direction: column; gap: 4px; padding: 6px; border-radius: var(--r3); background: var(--desk); }
.gi-o { width: 100%; display: block; padding: 0; border-radius: 10px; border: 0; background: #fff; overflow: hidden; }
.gi-o img { width: 100%; aspect-ratio: 1 / 1; display: block; }
.gi-r { display: flex; align-items: center; gap: 4px; min-width: 0; }
.gi-r span { flex: 1; min-width: 0; font-size: 13px; font-weight: 700; line-height: 1.3; padding: 0 2px; color: var(--t1); }
.gi-r small { display: block; font-size: 12px; font-weight: 500; color: var(--t2); }
.gi-x { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--paper); color: var(--t2); display: grid; place-items: center; padding: 0; }
.gi-x svg { width: 18px; height: 18px; }
.gi.ask .gi-x { background: var(--bad); color: #fff; }
.gal-empty { display: flex; flex-direction: column; align-items: center; gap: var(--s2); padding: var(--s5) var(--s3); color: var(--t2); text-align: center; }
.gal-empty svg { width: 44px; height: 44px; color: #d8456f; }
.gal-empty p { margin: 0; font-size: 14px; line-height: 1.6; }
.toast { position: absolute; top: 58px; left: 50%; z-index: 30; transform: translate(-50%, -8px); max-width: calc(100% - 24px); padding: 8px 16px; border-radius: 18px; background: rgba(30, 36, 70, 0.94); color: #fff; font-size: 13.5px; font-weight: 600; text-align: center; white-space: normal; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.25s var(--ease); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- 소개 글 */
.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.75fr) minmax(220px, 0.8fr); gap: var(--s7); }
.about-main { min-width: 0; }
.about h2 { margin: var(--s6) 0 var(--s2); font: 700 32px/1.2 var(--f-disp); color: var(--navy); }
.about h2:first-child { margin-top: 0; }
.about h3 { margin: var(--s4) 0 var(--s1); font-size: 17px; font-weight: 700; }
.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 25px/1.2 var(--f-disp); color: var(--navy); }
.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; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; padding-top: var(--s6); gap: var(--s5); } }
.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(--s5); 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; }

/* ---------------------------------------------------------------- 인쇄 (A4 한 장) */
#clPrint { display: none; }
@media print {
  @page { size: A4 portrait; margin: 12mm; }
  html, body, html.embed, html.embed body { height: auto !important; overflow: visible !important; background: #fff !important; }
  body > *:not(#clPrint) { display: none !important; }
  #clPrint { display: block !important; }
  .pp { width: 100%; text-align: center; font-family: var(--f-body); color: #222; page-break-inside: avoid; }
  .pp-t { margin: 0 0 4mm; font: 700 20pt/1.2 var(--f-disp); }
  .pp img { display: block; width: 100%; max-width: 186mm; height: auto; margin: 0 auto; }
  .pp-f { margin: 4mm 0 0; font-size: 9pt; color: #888; }
}

@media (prefers-reduced-motion: reduce) {
  .cl *, .cl *::before, .cl *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
