/* PLAYORA 사다리타기 */
:root {
  --desk: #1c2230; --desk-2: #252c3b; --desk-3: #2f3748; --desk-line: #3c4558;
  --d-ink: #f3efe6; --d-ink-2: #b8bfcd; --d-ink-3: #8c94a6;
  --paper: #fbf7ee; --paper-2: #f2ecdf; --paper-3: #e8e0cd; --p-ink: #262c3b; --p-ink-2: #5a6070; --p-ink-3: #8a8f9c; --p-line: #dcd4c2;
  --rail: #2b3242;
  --acc: #f2c94c; --acc-2: #d9ab21; --acc-ink: #2a2105;
  --kraft: #c9a36f; --kraft-2: #a9844f; --kraft-ink: #573e1f;
  --hot: #f7dc6f;
  --page: #f4f1ea; --page-ink: #1e222c; --page-2: #575d6b; --page-line: #dcd6ca;
  --f-body: "IBM Plex Sans KR", "Pretendard", system-ui, -apple-system, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  --f-disp: "Gasoek One", "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;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
@supports (color: oklch(0 0 0)) {
  :root {
    --desk: oklch(0.245 0.028 262); --desk-2: oklch(0.28 0.03 262); --desk-3: oklch(0.32 0.032 262); --desk-line: oklch(0.39 0.032 262);
    --d-ink: oklch(0.955 0.012 85); --d-ink-2: oklch(0.8 0.022 262); --d-ink-3: oklch(0.66 0.025 262);
    --paper: oklch(0.977 0.012 88); --paper-2: oklch(0.945 0.016 88); --paper-3: oklch(0.905 0.022 88); --p-ink: oklch(0.29 0.03 266); --p-ink-2: oklch(0.47 0.025 266); --p-line: oklch(0.87 0.022 88);
    --acc: oklch(0.85 0.14 90); --acc-2: oklch(0.75 0.14 88);
    --kraft: oklch(0.74 0.075 72); --kraft-2: oklch(0.63 0.08 70); --kraft-ink: oklch(0.38 0.06 65);
    --hot: oklch(0.89 0.13 95);
  }
}
* { 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; }
button:disabled { cursor: default; opacity: 0.4; }
a { color: inherit; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- 페이지 머리 */
.mast { display: flex; align-items: baseline; gap: var(--s4); padding: var(--s3) clamp(var(--s4), 3vw, var(--s6)); border-bottom: 1px solid var(--page-line); }
.mast-brand { text-decoration: none; font-size: 14px; color: var(--page-2); white-space: nowrap; }
.mast-brand b { font-weight: 700; letter-spacing: 0.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(--s2) var(--s4); }
.head h1 { margin: 0; font: 400 clamp(30px, 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)); }

/* ---------------------------------------------------------------- 게임 무대 */
.ld { position: relative; width: 100%; height: clamp(500px, calc(100svh - 132px), 860px); background: var(--desk); color: var(--d-ink); overflow: hidden; border-radius: var(--r2);
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: manipulation; font: 400 14px/1.45 var(--f-body); }
@media (max-width: 640px) { .ld { 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 .ld { position: fixed; inset: 0; width: auto; height: auto; min-height: 0; border-radius: 0; }
.ld:fullscreen { border-radius: 0; }
.ld button:focus-visible, .ld input:focus-visible, .ld textarea:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.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(--s4); background: var(--desk-2); border-bottom: 1px solid rgba(0, 0, 0, 0.35); }
.ld.short .bar { height: 40px; }
.bar-l { display: flex; align-items: baseline; gap: 10px; min-width: 0; flex: 1; overflow: hidden; }
.bar-t { font: 400 21px/1 var(--f-disp); letter-spacing: 0.02em; white-space: nowrap; color: var(--d-ink); }
.ld.short .bar-t { font-size: 19px; }
.bar-m { color: var(--d-ink-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.bar-r { display: flex; align-items: center; gap: 6px; flex: none; }
.tb { height: 34px; border-radius: var(--r1); border: 1px solid var(--desk-line); background: transparent; color: var(--d-ink); display: inline-flex; align-items: center; justify-content: center; }
.tb.icon { width: 36px; padding: 0; }
.ld.short .tb { height: 30px; }
.ld.short .tb.icon { width: 32px; }
.tb svg { width: 18px; height: 18px; }
.tb:hover { border-color: var(--d-ink-3); background: rgba(255, 255, 255, 0.05); }
.tb[aria-pressed="false"] { color: var(--d-ink-3); }
.w-pres2 { display: none; }
.ld.on-board.narrow .w-pres2 { display: inline-flex; }

.view { position: absolute; top: 46px; left: 0; right: 0; bottom: 0; }
.ld.short .view { top: 40px; }

/* ---------------------------------------------------------------- 준비 화면 */
.su { display: flex; flex-direction: column; }
.su-scroll { flex: 1; min-height: 0; overflow: auto; padding: var(--s3); overscroll-behavior: contain; scrollbar-width: thin; }
.ld.narrow .su-scroll { padding: var(--s2); }
.su-body { max-width: 1100px; margin: 0 auto; display: grid; gap: var(--s3); grid-template-columns: minmax(0, 1fr); }
.ld.wide .su-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.su-col { display: grid; gap: var(--s3); min-width: 0; }
.ld.narrow .su-body, .ld.narrow .su-col { gap: var(--s2); }
.blk { background: var(--paper); color: var(--p-ink); border-radius: var(--r2); padding: 14px var(--s4) var(--s4); box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.7); -webkit-user-select: text; user-select: text; }
.ld.narrow .blk { padding: var(--s3); }
.blk h3 { margin: 0 0 10px; font: 700 15px/1.3 var(--f-body); display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
.blk h3 i { font-style: normal; display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 6px; background: var(--acc); color: var(--acc-ink); font: 400 14px/1 var(--f-disp); transform: rotate(-4deg); border-radius: 2px; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15); }
.blk h3 small { font-weight: 500; font-size: 12.5px; color: var(--p-ink-2); }
.cnt { display: flex; align-items: center; gap: 10px; }
.sb { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1.5px solid var(--p-line); background: #fff; color: var(--p-ink); display: inline-grid; place-items: center; padding: 0; transition: transform 0.1s; }
.sb:active { transform: scale(0.92); }
.sb svg { width: 20px; height: 20px; }
.sb.s { width: 34px; height: 34px; }
.sb.s svg { width: 16px; height: 16px; }
.cnt-v { display: flex; align-items: baseline; gap: 4px; }
.cnt-v input { width: 2.2ch; font: 400 42px/1 var(--f-disp); border: 0; background: transparent; color: var(--p-ink); text-align: center; padding: 0; -moz-appearance: textfield; appearance: textfield; border-bottom: 2px dashed transparent; border-radius: 0; }
.cnt-v input:focus { outline: none; border-bottom-color: var(--acc-2); }
.cnt-v input::-webkit-inner-spin-button, .cnt-v input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.cnt-v span { font-weight: 700; font-size: 16px; }
.qn { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { height: 32px; padding: 0 12px; border-radius: 16px; border: 1.5px solid var(--p-line); background: #fff; color: var(--p-ink); font: 600 13px/1 var(--f-body); transition: background 0.15s, color 0.15s, border-color 0.15s; }
.chip:hover { border-color: var(--p-ink-3); }
.chip.on { background: var(--p-ink); border-color: var(--p-ink); color: var(--paper); }
.qn .chip { min-width: 40px; padding: 0 10px; }
.blk textarea, .ti { display: block; width: 100%; border: 1.5px solid var(--p-line); border-radius: 10px; background: #fff; color: var(--p-ink); font: 500 16px/1.5 var(--f-body); padding: 10px 12px; resize: vertical; -webkit-user-select: text; user-select: text; }
.blk textarea { min-height: 76px; }
.blk textarea::placeholder, .ti::placeholder { color: var(--p-ink-3); }
.blk textarea:focus, .ti:focus { outline: none; border-color: var(--p-ink); box-shadow: 0 0 0 3px rgba(242, 201, 76, 0.55); }
.acts { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin-top: var(--s2); }
.sm { height: 32px; padding: 0 12px; border-radius: var(--r1); border: 1.5px solid var(--p-line); background: #fff; color: var(--p-ink); font: 600 13px/1 var(--f-body); }
.sm:hover:not(:disabled) { border-color: var(--p-ink-3); }
.note { font-size: 12.5px; color: var(--p-ink-2); margin-left: auto; }
.pv { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; max-height: 132px; overflow: auto; scrollbar-width: thin; }
.pv li { font-size: 13px; font-weight: 600; line-height: 1.3; padding: 4px 9px 4px 7px; border-radius: 6px; background: var(--paper-2); border-left: 4px solid var(--c, var(--p-ink-3)); max-width: 13em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv li.def { color: var(--p-ink-2); font-weight: 500; }
.pv.res li { border-left: 0; padding: 4px 9px; }
.pv.res li button { border: 0; background: transparent; padding: 0; font: inherit; color: inherit; display: inline-flex; align-items: center; }
.pv.res li:has(button) { padding: 0; }
.pv.res li button { padding: 4px 9px; border-radius: 6px; }
.pv.res li.hot, .pv.res li button.hot { background: var(--hot); }
.pv svg { width: 12px; height: 12px; margin-right: 3px; flex: none; }
.c-prev { grid-column: 1 / -1; }
.mini { position: relative; }
.mini-row { display: flex; gap: 4px; }
.mini-row span { flex: 1 1 0; min-width: 0; text-align: center; font-size: 12.5px; font-weight: 700; line-height: 1.25; padding: 5px 2px; border-radius: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-row.t span { background: #fff; border: 1.5px solid var(--c); }
.mini-row.b span { background: var(--paper-2); color: var(--p-ink); font-weight: 600; }
.mini-row.b span.hot { background: var(--hot); }
.mini.many .mini-row span { font-size: 12px; padding: 4px 1px; }
.mini-rails { position: relative; display: flex; gap: 4px; height: 92px; }
.mini-rails i { flex: 1 1 0; min-width: 0; position: relative; }
.mini-rails i::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--rail); opacity: 0.75; }
.mini-rails em { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-style: normal; font-size: 13px; font-weight: 600; color: var(--p-ink-2); background: var(--paper); padding: 4px 12px; border-radius: 8px; border: 1.5px dashed var(--p-line); white-space: nowrap; max-width: 92%; overflow: hidden; text-overflow: ellipsis; }
.ld.narrow .mini-rails { height: 70px; }.presets { display: flex; flex-wrap: wrap; gap: 6px; }
.popt { margin-top: 10px; }
.popt textarea { min-height: 64px; margin-bottom: var(--s2); }
.prow { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; }
.prow .pl { font-weight: 700; font-size: 14px; }
.prow output { font: 400 26px/1 var(--f-disp); min-width: 1.3em; text-align: center; }
.hint { font-size: 12.5px; color: var(--p-ink-2); margin: 0; }
.seg { display: inline-flex; border: 1.5px solid var(--p-line); border-radius: 9px; overflow: hidden; background: #fff; }
.seg button { height: 32px; padding: 0 14px; border: 0; background: transparent; font: 600 13px/1 var(--f-body); color: var(--p-ink-2); }
.seg button + button { border-left: 1.5px solid var(--p-line); }
.seg button[aria-pressed="true"] { background: var(--p-ink); color: var(--paper); }
.tg { display: flex; align-items: center; gap: 10px; margin-top: var(--s3); font-weight: 600; font-size: 14px; cursor: pointer; position: relative; }
.tg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tg-b { width: 42px; height: 24px; border-radius: 12px; background: var(--p-line); position: relative; transition: background 0.2s; flex: none; }
.tg-b::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); transition: transform 0.25s var(--ease); }
.tg input:checked + .tg-b { background: var(--p-ink); }
.tg input:checked + .tg-b::after { transform: translateX(18px); }
.tg input:focus-visible + .tg-b { outline: 2px solid var(--acc-2); outline-offset: 2px; }
.su-go { flex: none; display: flex; align-items: center; gap: var(--s3); padding: 10px var(--s3) 10px var(--s4); background: var(--desk-2); border-top: 1px solid rgba(0, 0, 0, 0.35); }
.su-go p { margin: 0 auto 0 0; font-size: 13px; color: var(--d-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.go { height: 46px; padding: 0 22px; border-radius: var(--r2); border: 0; background: var(--acc); color: var(--acc-ink); font: 700 16px/1 var(--f-body); display: inline-flex; align-items: center; gap: var(--s2); box-shadow: 0 3px 0 var(--acc-2); flex: none; transition: transform 0.08s, box-shadow 0.08s; }
.go:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--acc-2); }
.go svg { width: 20px; height: 20px; }
.ld.short .su-go { padding-top: 6px; padding-bottom: 6px; }
.ld.short .go { height: 42px; }

/* ---------------------------------------------------------------- 사다리 판 */
.bd { display: flex; flex-direction: column; }
.paper { position: relative; flex: 1; min-height: 0; margin: 10px 10px 0; border-radius: var(--r2); overflow: auto; overscroll-behavior: contain; touch-action: pan-x pan-y; scrollbar-width: thin;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-attachment: local; box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.8); }
.ld.narrow .paper { margin: 0; border-radius: 0; }
.ld.short .paper { margin: 6px 6px 0; }
.paper.pan { cursor: grab; }
.paper.grabbing { cursor: grabbing; }
.sizer { position: relative; margin: 0 auto; }
.sheet { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.b-title { position: absolute; left: 0; right: 0; top: 0; z-index: 3; display: none; align-items: center; padding: 6px 300px 0 28px; background: var(--paper); font: 700 clamp(22px, 3.4vw, 42px)/1.15 var(--f-body); color: var(--p-ink); pointer-events: none; }
.b-title span { display: block; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ld.present .b-title { display: flex; }
.lad { position: absolute; left: 0; top: 0; overflow: visible; }
.g-rails path, .g-rungs path { fill: none; stroke: var(--rail); stroke-width: var(--lw); stroke-linecap: round; }
.casing { fill: none; stroke: var(--paper); stroke-width: calc(var(--tw) * 1px + 4px); stroke-linecap: round; stroke-linejoin: round; }
.trail { fill: none; stroke-width: var(--tw); stroke-linecap: round; stroke-linejoin: round; transition: opacity 0.25s; }
.casing, .tip { transition: opacity 0.25s; }
.lad.focusing .trail:not(.on), .lad.focusing .casing:not(.on) { opacity: 0.25; }
.lad.focusing .tip:not(.on) { opacity: 0; }
.tip circle { stroke: #fff; stroke-width: 2.5; }
.tip text { fill: #fff; font-family: var(--f-body); font-weight: 700; pointer-events: none; }
.tip.end { opacity: 0; }
.sheet.drawing .g-rails path { stroke-dasharray: 1; animation: draw 0.34s var(--ease) both; }
.sheet.drawing .g-rungs path { stroke-dasharray: 1; animation: draw 0.18s ease-out both; animation-delay: var(--d); }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.sheet.drawing .cover { animation: coverIn 0.42s var(--ease) both 0.8s; }
@keyframes coverIn { from { transform: translateY(-20px) rotate(-5deg); opacity: 0; } to { transform: none; opacity: 1; } }
.tags, .slots { position: absolute; inset: 0; pointer-events: none; }
.tag { position: absolute; width: var(--tagW); height: var(--tagH); pointer-events: auto; border-radius: 10px; border: 2px solid var(--c); background: #fff; color: var(--p-ink); font: 700 var(--tagF)/1.15 var(--f-body);
  padding: 0 4px; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 0 rgba(38, 44, 59, 0.16); transition: transform 0.12s var(--ease), background 0.2s, color 0.2s, box-shadow 0.2s; touch-action: manipulation; }
.tag span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.tag::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--c); }
@media (hover: hover) { .tag:hover { transform: translateY(-2px); box-shadow: 0 5px 0 rgba(38, 44, 59, 0.16); } }
.tag:active { transform: translateY(1px); box-shadow: 0 1px 0 rgba(38, 44, 59, 0.16); }
.tag.run, .tag.done { background: var(--c); color: #fff; }
.tag.run { animation: tagRun 0.8s ease-in-out infinite; }
@keyframes tagRun { 50% { transform: translateY(-3px); } }
.tag.focus { box-shadow: 0 0 0 3px var(--acc); }
.slot { position: absolute; width: var(--tagW); height: var(--slotH); pointer-events: auto; cursor: pointer; }
.sc { position: absolute; inset: 0; border-radius: 10px; background: #fff; border: 1.5px solid var(--p-line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 2px 4px; text-align: center; color: var(--p-ink); overflow: hidden; }
.sc .who { font-size: 12px; font-weight: 700; line-height: 1.2; color: var(--c); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc .who:empty { display: none; }
.sc .txt { font: 700 var(--slotF)/1.2 var(--f-body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 100%; }
.slot.open .sc { border-color: var(--c); box-shadow: inset 0 -4px 0 var(--c); animation: popIn 0.46s var(--ease) both; }
.slot.hot .sc { background: var(--hot); }
.slot.open.hot .sc { box-shadow: inset 0 -4px 0 var(--c), 0 0 0 3px rgba(242, 201, 76, 0.65), 0 8px 18px -6px rgba(217, 171, 33, 0.8); }
@keyframes popIn { 0% { transform: scale(0.86); } 60% { transform: scale(1.06); } 100% { transform: none; } }
.cover { position: absolute; inset: -2px -2px; border-radius: 9px; background-color: var(--kraft);
  background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0 6px, rgba(0, 0, 0, 0.04) 6px 12px);
  box-shadow: 0 2px 0 var(--kraft-2), 0 6px 12px -6px rgba(0, 0, 0, 0.45); display: grid; place-items: center; color: var(--kraft-ink); transform-origin: 14% 0; }
.cover::before { content: ''; position: absolute; left: 6px; right: 6px; top: 5px; border-top: 2px dashed rgba(87, 62, 31, 0.35); }
.cover span { font: 400 clamp(18px, calc(var(--slotH) * 0.42), 34px)/1 var(--f-disp); opacity: 0.75; }
.cover.peel { animation: peel 0.72s cubic-bezier(0.3, 0.1, 0.3, 1) forwards; pointer-events: none; }
@keyframes peel { 0% { transform: none; } 28% { transform: translateY(-8px) rotate(-12deg); } 100% { transform: translate(14px, 70px) rotate(40deg); opacity: 0; } }
.slot.nudge .cover { animation: nudge 0.36s; }
@keyframes nudge { 25% { transform: rotate(-4deg); } 75% { transform: rotate(4deg); } }

/* 알림 띠 */
.spot { position: absolute; top: var(--spotTop, 70px); left: 50%; z-index: 7; transform: translate(-50%, -10px); opacity: 0; pointer-events: none; background: var(--desk); color: var(--d-ink); border-radius: 14px; padding: 10px var(--s4);
  display: flex; align-items: center; gap: 10px; max-width: calc(100% - 28px); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.65); font-size: 16px; line-height: 1.3; transition: opacity 0.2s, transform 0.35s var(--ease); white-space: nowrap; }
.spot.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.spot .sn { color: #fff; background: var(--c); padding: 3px 9px; border-radius: 7px; font-weight: 700; max-width: 9em; overflow: hidden; text-overflow: ellipsis; }
.spot i { font-style: normal; color: var(--d-ink-3); }
.spot strong { font-weight: 700; overflow: hidden; text-overflow: ellipsis; display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.spot strong svg { width: 16px; height: 16px; flex: none; color: var(--acc); }
.spot.hot { background: var(--acc); color: var(--acc-ink); }
.spot.hot i { color: rgba(42, 33, 5, 0.6); }
.spot.hot strong svg { color: var(--acc-ink); }
.spot.soft { font-size: 14px; }
.spot span { overflow: hidden; text-overflow: ellipsis; }
.sp-b { height: 32px; padding: 0 12px; border-radius: var(--r1); border: 0; background: var(--acc); color: var(--acc-ink); font: 700 13px/1 var(--f-body); }

/* 확대 */
.zoom { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); flex-direction: column-reverse; z-index: 5; display: none; gap: 2px; padding: 3px; background: var(--desk); border-radius: 10px; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.6); }
.zoom.show { display: flex; }
.zoom button { width: 40px; height: 36px; border: 0; padding: 0; background: transparent; color: var(--d-ink); border-radius: var(--r1); display: grid; place-items: center; font: 600 12px/1 var(--f-body); }
.zoom button:hover { background: rgba(255, 255, 255, 0.08); }
.zoom svg { width: 16px; height: 16px; }
.zoom .zt { width: 40px; height: 30px; padding: 0; font-size: 12px; }
.ld.narrow .zoom { right: 6px; }

/* 아래 단추 */
.tools { flex: none; height: 60px; display: flex; align-items: center; gap: var(--s2); padding: 0 10px; }
.tools-l { display: flex; gap: 2px; flex: 1; min-width: 0; }
.tl { height: 44px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: var(--d-ink); display: inline-flex; align-items: center; gap: 6px; font: 600 13px/1 var(--f-body); }
.tl:hover { background: rgba(255, 255, 255, 0.07); }
.tl svg { width: 19px; height: 19px; flex: none; }
.tl .ls { display: none; }
.tl.ping { color: var(--acc); }
.go2 { height: 44px; padding: 0 18px; border-radius: var(--r2); border: 0; background: var(--acc); color: var(--acc-ink); font: 700 15px/1 var(--f-body); display: inline-flex; align-items: center; gap: var(--s2); box-shadow: 0 3px 0 var(--acc-2); flex: none; transition: transform 0.08s, box-shadow 0.08s; }
.go2:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--acc-2); }
.go2 svg { width: 19px; height: 19px; }
.ld.short .tools { height: 52px; }
.ld.short .tl, .ld.short .go2 { height: 40px; }
@media (max-width: 1000px) { .ld:not(.narrow) .tl { padding: 0 8px; } }
.ld.narrow .tools { height: 62px; padding: 0 4px 0 2px; gap: 4px; }
.ld.narrow .tools-l { gap: 0; }
.ld.narrow .tl { flex: 1 1 0; min-width: 0; flex-direction: column; justify-content: center; gap: 3px; padding: 0 2px; height: 54px; font-size: 12px; }
.ld.narrow .tl .lf { display: none; }
.ld.narrow .tl .ls { display: inline; }
.ld.narrow .tl:not(:has(.ls)) .lf { display: inline; }
.ld.narrow .w-pres { display: none; }
.ld.narrow .go2 { padding: 0 12px; font-size: 14px; height: 46px; gap: 5px; }
.ld.narrow .go2 svg { width: 17px; height: 17px; }
@media (max-width: 370px) { .ld.narrow .go2 svg { display: none; } }

/* 발표 모드 */
.pctl { display: none; position: absolute; top: 12px; right: 12px; z-index: 6; gap: 6px; }
.pctl button { height: 44px; padding: 0 16px; border-radius: var(--r2); border: 0; background: rgba(28, 34, 48, 0.88); color: var(--d-ink); font: 700 15px/1 var(--f-body); display: inline-flex; align-items: center; gap: var(--s2); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6); }
.pctl button svg { width: 19px; height: 19px; }
.pctl #pAll { background: var(--acc); color: var(--acc-ink); }
.ld.present .bar, .ld.present .tools { display: none; }
.ld.present .view { top: 0; }
.ld.present .paper { margin: 0; border-radius: 0; }
.ld.present .pctl { display: flex; }
.ld.present .zoom { right: 14px; }
.ld.present .spot { top: 40%; font-size: clamp(20px, 3.2vw, 36px); padding: 14px 26px; border-radius: 18px; gap: 16px; }
.ld.present .spot strong svg { width: 0.9em; height: 0.9em; }
.ld.present .sc .who { font-size: clamp(12px, calc(var(--slotF) * 0.62), 18px); }
.ld.present.narrow .pctl button span { display: none; }
.ld.present.narrow .pctl button { padding: 0 12px; }
.ld.present .tag { border-width: 3px; border-radius: 14px; }
.ld.present .sc { border-radius: 14px; border-width: 2px; }

/* 꽃가루·토스트 */
.fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 15; }
.toast { position: absolute; left: 50%; bottom: 80px; z-index: 30; transform: translate(-50%, 10px); opacity: 0; pointer-events: none; background: var(--paper); color: var(--p-ink); padding: 9px var(--s4); border-radius: 10px;
  font-size: 14px; font-weight: 600; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6); transition: opacity 0.2s, transform 0.3s var(--ease); max-width: calc(100% - 32px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 창 */
.modal { position: absolute; inset: 0; z-index: 20; background: rgba(12, 15, 22, 0.62); display: flex; align-items: center; justify-content: center; padding: var(--s4); }
.ld.short .modal { padding: var(--s2); }
.m-card { width: min(540px, 100%); max-height: 100%; display: flex; flex-direction: column; background: var(--paper); color: var(--p-ink); border-radius: var(--r3); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); overflow: hidden; animation: mIn 0.3s var(--ease); -webkit-user-select: text; user-select: text; }
@keyframes mIn { from { transform: translateY(14px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }
.m-head { display: flex; align-items: center; gap: var(--s2); padding: 12px 10px 4px 20px; flex: none; }
.m-head h2 { margin: 0; flex: 1; font: 400 22px/1.2 var(--f-disp); letter-spacing: 0.01em; }
.m-x { width: 40px; height: 40px; border: 0; padding: 0; background: transparent; border-radius: 10px; color: var(--p-ink-2); display: grid; place-items: center; }
.m-x:hover { background: var(--paper-2); }
.m-x svg { width: 20px; height: 20px; }
.m-body { padding: 4px 20px 14px; overflow: auto; min-height: 0; font-size: 15px; }
.m-body p { margin: 0 0 10px; }
.m-foot { display: flex; flex-wrap: wrap; gap: var(--s2); padding: 12px var(--s4) var(--s4); border-top: 1px solid var(--p-line); justify-content: flex-end; flex: none; }
.ld.short .m-foot { padding: 8px var(--s3) 10px; }
.ld.short .m-head { padding-top: 8px; }
.mb { height: 40px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--p-line); background: #fff; color: var(--p-ink); font: 600 14px/1 var(--f-body); display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.mb:hover { border-color: var(--p-ink-3); }
.mb.pri { background: var(--p-ink); color: var(--paper); border-color: var(--p-ink); }
.mb svg { width: 17px; height: 17px; flex: none; }
.ld.narrow .m-foot .mb { flex: 1 1 auto; }
.ld.narrow .modal { padding: var(--s2); }
.ld.narrow .m-body { padding: 4px var(--s4) var(--s3); }
.m-sub { color: var(--p-ink-2); font-size: 13.5px; }
.mt-list { margin-top: var(--s2); }
.mt-names { list-style: none; margin: 0; padding: 0; }
.mt-names li { display: grid; grid-template-columns: 12px minmax(0, 1fr) 16px minmax(0, 1.25fr); align-items: center; gap: 10px; padding: 9px 8px; border-bottom: 1px solid var(--p-line); font-size: 15px; line-height: 1.35; }
.mt-names .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.mt-names .nm { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-names .ar { color: var(--p-ink-3); }
.mt-names .rs { font-weight: 600; display: flex; align-items: center; gap: 4px; min-width: 0; }
.mt-names .rs svg { width: 15px; height: 15px; flex: none; color: var(--acc-ink); }
.mt-names li.hot { background: var(--hot); border-radius: var(--r1); border-bottom-color: transparent; }
.mt-names li.hid .rs { color: var(--p-ink-3); font-weight: 500; }
.mt-groups .grp { padding: 10px var(--s3); border-radius: 10px; background: #fff; border: 1.5px solid var(--p-line); margin-bottom: var(--s2); }
.grp.hot { background: var(--hot); border-color: var(--acc-2); }
.gh { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 4px; }
.gh svg { width: 15px; height: 15px; }
.gh small { color: var(--p-ink-2); font-weight: 500; font-size: 13px; margin-left: 4px; }
.gn { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.gn span { font-size: 13.5px; font-weight: 600; padding: 3px 9px 3px 7px; border-radius: 6px; background: var(--paper-2); border-left: 4px solid var(--c); }
.grp.hot .gn span { background: rgba(255, 255, 255, 0.6); }
.mt-pend { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: var(--s3); padding: 10px var(--s3); background: var(--paper-2); border-radius: 10px; font-size: 14px; }
.url { display: block; width: 100%; height: 44px; border: 1.5px solid var(--p-line); border-radius: 10px; padding: 0 12px; margin: 4px 0 10px; font: 500 16px/1 var(--f-body); background: #fff; color: var(--p-ink); }
.fine { font-size: 12.5px; color: var(--p-ink-2); }
.hist { list-style: none; margin: 0; padding: 0; }
.hist li { padding: var(--s3) 0; border-bottom: 1px solid var(--p-line); }
.hist li.empty { color: var(--p-ink-2); border: 0; }
.h-t { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; }
.h-t b { font-size: 15px; }
.h-t span { font-size: 12.5px; color: var(--p-ink-2); }
.h-s { font-size: 13.5px; margin: 4px 0 var(--s2); }
.h-a { display: flex; gap: 6px; }
.h-a .mb { height: 34px; font-size: 13px; padding: 0 12px; }

/* ---------------------------------------------------------------- 소개 글 */
.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: 400 26px/1.3 var(--f-disp); letter-spacing: 0.01em; }
.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 20px/1.3 var(--f-disp); color: var(--page-ink); letter-spacing: 0.01em; }
.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: 46%; }
.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); }
.fair { margin: var(--s3) 0 var(--s4); border-collapse: collapse; font-size: 14px; width: 100%; max-width: 560px; }
.fair th, .fair td { padding: 6px 8px; border-bottom: 1px solid var(--page-line); text-align: right; white-space: nowrap; }
.fair th:first-child, .fair td:first-child { text-align: left; }
.fair thead th { font-weight: 600; color: var(--page-2); }
.fair-wrap { overflow-x: auto; }
.credits { margin-top: var(--s5); font-size: 13px; color: var(--page-2); }
.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; }

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