@font-face{font-family:"Galmuri";src:url("../fonts/Galmuri11.woff2") format("woff2");font-weight:400}
@font-face{font-family:"Galmuri";src:url("../fonts/Galmuri11-Bold.woff2") format("woff2");font-weight:700}
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}
html,body{height:100%;background:#1a1d24;font-family:"Galmuri",monospace;color:#f4f1e8;overflow:hidden;user-select:none;-webkit-user-select:none}
#dev{max-width:440px;margin:0 auto;height:100vh;height:100dvh;display:flex;flex-direction:column;padding:10px 10px calc(10px + env(safe-area-inset-bottom));background:linear-gradient(180deg,#3a3f4b,#2b2f38);gap:0}
.shell{background:var(--shell,#23262e);border-radius:14px;padding:8px;box-shadow:inset 0 2px 0 #4a505e,inset 0 -2px 0 #15171c}
.scr{position:relative;overflow:hidden;background:#000;border:3px solid #111;border-radius:3px;image-rendering:pixelated}
#top{aspect-ratio:4/3;width:100%}
#scr{width:100%;height:100%;display:block;image-rendering:pixelated;image-rendering:crisp-edges}
#hinge{height:16px;margin:0 30px;background:linear-gradient(180deg,#191b21,#2e323b 50%,#191b21);border-radius:4px;flex:none;position:relative}
#hinge:before,#hinge:after{content:"";position:absolute;top:5px;width:6px;height:6px;border-radius:50%;background:#e2504b;box-shadow:0 0 6px #e2504b}
#hinge:before{left:10px}#hinge:after{right:10px;background:#5bd47a;box-shadow:0 0 6px #5bd47a}
.botShell{flex:1;display:flex;min-height:0}
#bot{flex:1;display:flex;flex-direction:column;background:#1b2238;background-image:linear-gradient(#ffffff08 1px,transparent 1px),linear-gradient(90deg,#ffffff08 1px,transparent 1px);background-size:12px 12px}
#loc{position:absolute;top:6px;left:6px;font-size:11px;background:#000000b0;padding:3px 7px;z-index:3;border:2px solid var(--acc,#f3d36b);color:var(--acc,#f3d36b)}
#tbox{position:absolute;left:4px;right:4px;bottom:4px;height:33%;background:#0d1530;border:3px solid #e8e4d8;outline:2px solid #0d1530;padding:12px 10px 6px;cursor:pointer;z-index:4}
#name{position:absolute;top:-13px;left:6px;background:var(--acc,#f3d36b);color:var(--accfg,#1a1408);font-weight:700;font-size:11px;padding:3px 8px;border:2px solid #0d1530;display:none}
#text{font-size:13px;line-height:1.55;white-space:pre-wrap;word-break:keep-all}
#text.testi{color:#7ff0a4}
#text.sys{color:#a9b4c7}
#next{position:absolute;right:8px;bottom:4px;color:#f3d36b;font-size:11px;display:none;animation:blink 1s steps(2) infinite}
@keyframes blink{50%{opacity:0}}
.shake{animation:shake .4s steps(6)}
@keyframes shake{0%,100%{transform:translate(0)}20%{transform:translate(-8px,3px)}40%{transform:translate(7px,-4px)}60%{transform:translate(-5px,2px)}80%{transform:translate(4px,-1px)}}
#flash{position:absolute;inset:0;background:#fff;opacity:0;pointer-events:none;z-index:9}
#flash.on{animation:flash .45s steps(3)}
@keyframes flash{0%{opacity:.9}100%{opacity:0}}
.ov{position:absolute;inset:0;display:none;align-items:center;justify-content:center;z-index:8}
.ov.on{display:flex}
#stampOv{background:#00000050;pointer-events:none}
.stamp{font-weight:700;font-size:30px;padding:6px 14px;border:5px solid currentColor;transform:rotate(-8deg);background:#0006;white-space:nowrap;text-shadow:3px 3px 0 #000}
.stamp.red{color:#ff4b4b}.stamp.blue{color:#5aa8ff}.stamp.gold{color:#f3d36b}
.slam{animation:slam .35s steps(5)}
@keyframes slam{0%{transform:rotate(-8deg) scale(2.6);opacity:0}100%{transform:rotate(-8deg) scale(1);opacity:1}}
#cardOv{background:#000000b0;cursor:pointer;padding:14px}
.card{background:#f1ead8;color:#22201b;border:3px solid #22201b;box-shadow:4px 4px 0 #000;padding:12px 14px;text-align:center;width:100%;max-width:300px}
.card .k{font-size:11px;font-weight:700;color:#b0412b}
.card h3{font-size:17px;margin:4px 0;font-weight:700}
.card p{font-size:11px;color:#5b5548;line-height:1.6;white-space:pre-line}
/* 아래 화면 */
#status{display:flex;align-items:center;justify-content:space-between;padding:7px 9px;background:#0d1326;border-bottom:3px solid #0a0f1e;flex:none}
#life{display:flex;align-items:center;gap:3px;font-size:11px;color:#9aa6c0}
#life i{width:10px;height:10px;background:#e2504b;display:inline-block;box-shadow:inset -2px -2px 0 #a3312d}
#life i.off{background:#2b3341;box-shadow:inset -2px -2px 0 #1e2430}
.pbtn{font-family:inherit;font-weight:700;color:#fff;border:3px solid #0a0f1e;box-shadow:inset -3px -3px 0 #0003,inset 3px 3px 0 #fff3;cursor:pointer;background:#33405c}
.pbtn:active{box-shadow:inset 3px 3px 0 #0004;transform:translateY(1px)}
.sbtn{font-size:11px;padding:5px 9px}
#panel{flex:1;min-height:0;position:relative;display:flex;flex-direction:column;padding:10px;gap:8px;overflow:hidden}
.tapzone{flex:1;display:flex;align-items:center;justify-content:center;border:3px dashed #3b4766;color:#7f8bab;font-size:13px;cursor:pointer;text-align:center;line-height:1.8}
.tapzone b{color:#f3d36b;font-size:16px;display:block;animation:blink 1.2s steps(2) infinite}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.folder{background:#d9c49a;color:#2a2116;padding:9px 8px;text-align:left;border:3px solid #2a2116;box-shadow:inset -3px -3px 0 #b39d6c;font:700 12px "Galmuri";cursor:pointer;position:relative}
.folder span{display:block;font-size:10px;font-weight:400;color:#6a5a40;margin-top:3px}
.folder.done{background:#93a08c;box-shadow:inset -3px -3px 0 #6f7b69}
.folder.done:after{content:"완료";position:absolute;right:5px;top:5px;font-size:9px;color:#fff;background:#2f6b3d;padding:1px 4px}
.prog{font-size:11px;color:#9aa6c0;text-align:center}
.trow{display:flex;gap:8px;align-items:stretch}
.trow .nav{width:54px;font-size:16px;padding:10px 0}
.cnt{flex:1;display:flex;align-items:center;justify-content:center;background:#0d1326;border:3px solid #0a0f1e;font-size:12px;color:#7ff0a4}
.big{flex:1;font-size:17px;padding:0}
.b-press{background:#2f6fd0}.b-present{background:#c8373a}
.tbig{flex:1;display:flex;gap:8px;min-height:0}
.evg{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;overflow:auto}
.evc{background:#f1ead8;color:#22201b;border:3px solid #0a0f1e;padding:6px 4px;font:700 10px "Galmuri";text-align:center;cursor:pointer;box-shadow:inset -3px -3px 0 #cfc5ad;min-height:62px;display:flex;flex-direction:column;align-items:center;gap:4px;justify-content:center}
.evc .ic{width:18px;height:22px;background:#fff;border:2px solid #22201b;position:relative}
.evc .ic:after{content:"";position:absolute;left:2px;right:2px;top:4px;height:10px;background:repeating-linear-gradient(#9a927e 0 2px,transparent 2px 4px)}
.evc.empty{opacity:.3;cursor:default}
.evh{display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:700}
.evh .tip{font-size:10px;color:#ff8a7a;font-weight:400}
.docwrap{flex:1;overflow:auto;min-height:0}
.doc{background:#fbf8f1;color:#1d1b17;padding:10px;font-size:11px;line-height:1.5;border:3px solid #0a0f1e}
.doc h4{text-align:center;font-size:13px;border-bottom:2px solid #1d1b17;padding-bottom:5px;margin-bottom:6px}
.doc table{width:100%;border-collapse:collapse;font-size:10px;margin:4px 0}
.doc td,.doc th{border:1px solid #bcb4a2;padding:3px 4px;text-align:left;vertical-align:top}
.doc th{background:#ece5d5;white-space:nowrap}
.doc .r{text-align:right}
.doc .note{font-size:10px;color:#6b6352;margin-top:5px}
.doc .grey{color:#8a826f}
.frow{display:flex;gap:8px;flex:none}
.frow button{flex:1;font-size:13px;padding:10px 0}
.go{background:#c8373a}
#cat{position:absolute;right:6px;bottom:6px;width:76px;height:80px;cursor:pointer;z-index:3}
#cat canvas{width:100%;height:100%;image-rendering:pixelated}
#cat .bub{position:absolute;top:-8px;left:-26px;background:#f1ead8;color:#22201b;font-size:10px;font-weight:700;padding:3px 6px;border:2px solid #0a0f1e}
.withcat{padding-right:0}
#endOv{position:fixed;inset:0;background:#000c;z-index:20;padding:20px}
.endbox{background:#f1ead8;color:#22201b;border:4px solid #0a0f1e;box-shadow:6px 6px 0 #000;padding:16px;max-width:360px;width:100%;max-height:90%;overflow:auto}
.endbox .k{font-size:11px;font-weight:700;color:#b0412b;text-align:center}
.endbox h2{text-align:center;font-size:18px;margin:4px 0}
.endbox .sub{text-align:center;font-size:11px;color:#6b6352;margin-bottom:10px}
.endbox ol{padding-left:16px;font-size:12px;line-height:1.6}
.endbox li{margin-bottom:6px}
.endbox li b{display:block}
.endbox button{width:100%;margin-top:10px;font-size:13px;padding:10px}
#ttl{position:absolute;inset:0;z-index:6;display:none;flex-direction:column;align-items:center;justify-content:center;background:#0b1020a0}
#ttl.on{display:flex}
#ttl h1{font-size:40px;font-weight:700;color:#f3d36b;text-shadow:4px 4px 0 #8a4a12,-2px -2px 0 #000;letter-spacing:2px}
#ttl p{margin-top:8px;font-size:12px;color:#fff;text-shadow:2px 2px 0 #000}
.choice{display:flex;flex-direction:column;gap:7px;overflow:auto}
.choice button{text-align:left;font-size:13px;padding:9px 11px;background:#2a3550}
.choice button small{display:block;font-size:10px;font-weight:400;color:#c9d2e6;margin-top:3px}
.choice .q{font-size:11px;color:#9aa6c0;margin-bottom:2px}
.startz{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}
.startz button{font-size:18px;padding:14px 34px;background:#c8373a}
.startz small{font-size:10px;color:#6f7b98;text-align:center;line-height:1.7}

/* ===== 노트북 UI ===== */
#bot{background:linear-gradient(115deg,transparent 38%,#ffffff12 40%,transparent 56%),radial-gradient(120% 80% at 88% 112%,#e2231a66,transparent 62%),radial-gradient(90% 70% at 8% -12%,#2b6fd666,transparent 60%),linear-gradient(160deg,#0d1322,#191e31 55%,#2a1420);font-family:-apple-system,"Apple SD Gothic Neo","Malgun Gothic",sans-serif}
#status{background:#0a0d15d9;border-bottom:none;padding:0 10px;height:32px;font:600 11px -apple-system,"Apple SD Gothic Neo",sans-serif;color:#dfe5f0;gap:8px}
#osLabel{display:flex;align-items:center;gap:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#osLabel:before{content:"";width:10px;height:10px;border-radius:2px;background:linear-gradient(135deg,#e2231a,#2b6fd6)}
.tray{display:flex;align-items:center;gap:8px}
.tray button{white-space:nowrap;background:#ffffff1a;color:#fff;border:none;border-radius:6px;font:600 11px -apple-system,sans-serif;padding:5px 8px;cursor:pointer}
#life{font:600 11px -apple-system,sans-serif;color:#dfe5f0;gap:3px}
#life i{width:8px;height:8px;border-radius:50%;box-shadow:none;background:#ff5a4e}
#life i.off{background:#ffffff33}
#panel{padding:10px;gap:10px}
.win{background:#fff;border-radius:10px;box-shadow:0 10px 28px #0007;overflow:hidden;display:flex;flex-direction:column;color:#1b1f28;flex:1;min-height:0}
.wt{height:30px;flex:none;display:flex;align-items:center;gap:6px;padding:0 10px;font:700 12px -apple-system,sans-serif;background:#f3f4f6;border-bottom:1px solid #e3e6ea;color:#3a4050}
.wt i{width:9px;height:9px;border-radius:50%;background:#ff5f57;display:inline-block}.wt i+i{background:#febc2e}.wt i+i+i{background:#28c840}
.wt span{margin-left:6px;flex:1}
.wt button{background:none;border:none;font:600 12px sans-serif;color:#2b6fd6;cursor:pointer}
.wb{flex:1;min-height:0;overflow:auto}
/* 바탕화면 */
.desk{flex:1;display:flex;flex-direction:column;cursor:pointer}
.icons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 6px;padding:6px 2px}
.ico{background:none;border:none;color:#fff;font:600 11px -apple-system,sans-serif;display:flex;flex-direction:column;align-items:center;gap:5px;cursor:pointer;text-shadow:0 1px 2px #000}
.ico b{width:46px;height:46px;border-radius:12px;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 10px #0006;font:800 18px sans-serif;color:#fff}
.ico.dim{opacity:.55;cursor:default}
.tapnote{margin:auto auto 6px;background:#00000066;color:#fff;font:600 12px -apple-system,sans-serif;padding:8px 14px;border-radius:20px;animation:blink 1.4s steps(2) infinite}
/* 메신저 */
.chat{background:#b8c6d6;padding:10px;display:flex;flex-direction:column;gap:8px}
.bub{max-width:82%;display:flex;flex-direction:column;gap:3px;font:14px/1.5 -apple-system,sans-serif}
.bub em{font-style:normal;font-size:11px;color:#3a4458}
.bub span{background:#fff;padding:8px 11px;border-radius:4px 14px 14px 14px}
.replies{padding:8px;display:flex;flex-direction:column;gap:6px;background:#fff;border-top:1px solid #e3e6ea}
.replies button{text-align:left;border:1px solid #d3d8e0;background:#fff;border-radius:12px;padding:9px 12px;font:600 13px -apple-system,sans-serif;color:#1b1f28;cursor:pointer}
.replies button small{display:block;font-weight:400;font-size:11px;color:#6b7280;margin-top:2px}
.replies button:active{background:#fee500}
/* 미니멀 */
.mini{padding:14px;display:flex;flex-direction:column;gap:12px}
.mini .meta{display:flex;justify-content:space-between;font:600 11px sans-serif;color:#8a8f99}
.mini .say{font:700 17px/1.55 -apple-system,sans-serif;color:#111;margin:0}
.dots{display:flex;gap:6px}.dots i{flex:1;height:5px;border-radius:3px;background:#e3e6ea}.dots i.on{background:#111}
.mbtn{height:50px;border-radius:14px;border:none;font:800 16px -apple-system,sans-serif;cursor:pointer}
.mbtn.dark{background:#111;color:#fff}.mbtn.light{background:#f1f2f4;color:#111}
.mnav{display:flex;justify-content:space-between}.mnav button{background:none;border:none;font:600 13px sans-serif;color:#6b7280;cursor:pointer;padding:6px 2px}
/* 탐색기 */
.files{display:flex;flex-direction:column}
.file{display:flex;align-items:center;gap:10px;padding:10px 12px;border:none;border-bottom:1px solid #eef0f3;background:#fff;text-align:left;cursor:pointer;font:600 13px -apple-system,sans-serif;color:#1b1f28}
.file .x{width:28px;height:32px;border-radius:4px;background:#217346;color:#fff;font:800 11px sans-serif;display:flex;align-items:center;justify-content:center;flex:none}
.file small{display:block;font-weight:400;color:#8a8f99;font-size:11px}
.file .ok{margin-left:auto;font-size:11px;color:#217346;font-weight:700}
.wfoot{padding:8px 12px;font:600 11px sans-serif;color:#6b7280;border-top:1px solid #e3e6ea;flex:none}
/* 엑셀 */
.xl .wt{background:#217346;color:#fff;border:none}.xl .wt button{color:#fff}
.xbar{display:flex;gap:6px;align-items:center;padding:5px 8px;border-bottom:1px solid #e3e6ea;font:12px sans-serif;flex:none}
.xbar b{border:1px solid #d0d4da;padding:1px 6px;font-weight:600}.xbar span{flex:1;border:1px solid #d0d4da;padding:1px 6px;color:#3a4050;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.grid{border-collapse:collapse;width:100%;font:12px -apple-system,sans-serif}
.grid th{background:#f3f4f6;color:#6b7280;font-weight:600;border:1px solid #e3e6ea;padding:4px;position:sticky;top:0}
.grid td{border:1px solid #eef0f3;padding:7px 6px;vertical-align:top}
.grid td.rn{background:#f3f4f6;color:#6b7280;text-align:center;width:22px}
.grid tr.sel td{background:#ffd7d3}.grid tr.sel td.rn{background:#d6402f;color:#fff}
.grid.pick tr{cursor:pointer}
.tabs{display:flex;gap:2px;background:#f3f4f6;padding:3px 6px;overflow-x:auto;flex:none;border-top:1px solid #e3e6ea}
.tabs button{border:none;background:none;padding:5px 9px;font:600 11px sans-serif;color:#3a4050;white-space:nowrap;cursor:pointer}
.tabs button.on{background:#fff;color:#217346;box-shadow:inset 0 -2px 0 #217346}
.xact{display:flex;gap:8px;padding:8px;flex:none;border-top:1px solid #e3e6ea}
.xact button{flex:1;height:42px;border-radius:8px;font:800 13px sans-serif;cursor:pointer;border:1px solid #d0d4da;background:#fff}
.xact .go{background:#d6402f;color:#fff;border:none}.xact .go:disabled{opacity:.4}
.xtip{padding:6px 10px;background:#fff7e0;color:#8a5a00;font:600 11px sans-serif;flex:none}
/* 잠금화면 */
.lock{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#fff;text-align:center}
.lock .t{font:200 52px -apple-system,sans-serif;letter-spacing:2px}
.lock button{margin-top:12px;background:#ffffffe6;color:#111;border:none;border-radius:24px;font:800 15px -apple-system,sans-serif;padding:12px 34px;cursor:pointer}
.lock small{font:12px -apple-system,sans-serif;opacity:.75;line-height:1.7}

/* ===== 윈도우풍 작업표시줄 ===== */
#status{height:40px;background:#0b0f1ae6;border-top:1px solid #ffffff1a;justify-content:flex-start;gap:6px;padding:0 8px}
.start{width:26px;height:26px;border-radius:7px;background:conic-gradient(from 45deg,#e2231a,#2b6fd6,#e2231a);box-shadow:inset 0 0 0 5px #0b0f1a;flex:none}
.tb{background:none;border:none;padding:4px;border-radius:6px;cursor:pointer;flex:none}
.tb:hover,.tb:active{background:#ffffff1f}
#osLabel{font:600 11px sans-serif;color:#aeb6c6;margin-left:4px}
#osLabel:before{display:none}
.tray{margin-left:auto}
.ai{width:26px;height:26px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;font:800 12px sans-serif;color:#fff}
.ai.talk{background:#0f9d8a;border-radius:13px 13px 13px 4px}
.ai.cell{background:#1f8a4c;background-image:linear-gradient(#ffffff40 1px,transparent 1px),linear-gradient(90deg,#ffffff40 1px,transparent 1px);background-size:8px 8px}
.ai.mail{background:#2b6fd6}.ai.file{background:#e0a526;border-radius:3px 9px 7px 7px}.ai.memo{background:#e9e2cf;color:#3a2f25}.ai.calc{background:#4b5563}
.ico .ai{width:46px;height:46px;font-size:16px;box-shadow:0 4px 10px #0006}
.ico .ai.talk{border-radius:23px 23px 23px 6px}
.wt i{display:none}
.wt{justify-content:space-between}
.wt::after{content:"—   ▢   ✕";font-weight:400;color:#8a8f99;letter-spacing:1px;margin-left:8px;white-space:nowrap}
.xl .wt::after{color:#e6f4ea}

/* ===== 실사형 노트북 ===== */
#status{height:44px;background:#1c2030d9;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);position:relative;justify-content:space-between}
.tbc{position:absolute;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:4px}
.tb{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0}
#teamsBtn{position:relative}
#teamsBtn[data-n]::after{content:attr(data-n);position:absolute;right:2px;top:2px;width:13px;height:13px;border-radius:50%;background:#ef4444;color:#fff;font:700 9px sans-serif;display:flex;align-items:center;justify-content:center}
.search{height:26px;width:70px;border-radius:13px;background:#ffffff14;color:#cbd5e1;font:500 11px sans-serif;display:inline-flex;align-items:center;padding:0 10px;margin:0 2px}
#osLabel{display:none;max-width:70px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
.tray{gap:6px}.tray #trayIc{display:flex;gap:4px;align-items:center}
#clock{font:500 10px sans-serif;color:#e5e7eb;white-space:nowrap}
#life{display:none}
.ico{gap:6px;font:500 11px "Malgun Gothic","Apple SD Gothic Neo",sans-serif;text-shadow:0 1px 3px #000c}
.ico svg{filter:drop-shadow(0 3px 5px #0007)}
.ico.dim{opacity:.85}
.win{border-radius:8px;border:1px solid #ffffff22}
.wt{height:32px;background:#f3f3f3;font:400 12px "Malgun Gothic","Apple SD Gothic Neo",sans-serif;color:#1f2937}
/* ===== 회계사 책상: 같은 크기 모니터 2대(위·아래) + 키보드·마우스(장식) ===== */
html,body{background:
  linear-gradient(180deg,transparent calc(100% - 92px),var(--deskT,#8a6648) calc(100% - 92px),var(--deskB,#563d2b) 100%),
  radial-gradient(60% 45% at 50% 45%,#5b8cff14,transparent 70%),
  url(bg-night.svg) 50% 100%/auto 100% no-repeat,#0b0f1c}
body:after{content:"";position:fixed;left:0;right:0;bottom:0;height:92px;pointer-events:none;
  background:repeating-linear-gradient(178deg,#ffffff07 0 2px,transparent 2px 9px),linear-gradient(180deg,#ffffff22 0 1px,#0003 1px 4px,transparent 4px)}
#dev{--case:var(--shell,#2f343e);background:none;padding:12px 12px calc(6px + env(safe-area-inset-bottom));position:relative;z-index:1}
/* 모니터: 위·아래 똑같이 절반씩 */
#dev>.shell{flex:1 1 0;min-height:0;display:flex;background:linear-gradient(180deg,#16181d,#0c0d10);border-radius:10px;padding:8px;
  box-shadow:0 0 0 1px #000,inset 0 0 0 1px #2c3038,inset 0 1px 0 #3a3f49,0 10px 24px #000a,0 2px 4px #0008;position:relative}
#dev>.shell:first-child{padding-top:13px}
#dev>.shell:first-child:before{content:"";position:absolute;top:4.5px;left:50%;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#4a6b8f,#0d1520 70%);box-shadow:0 0 0 1px #262a31}
.botShell{padding-bottom:13px!important}
.botShell:after{content:"";position:absolute;right:14px;bottom:5px;width:4px;height:4px;border-radius:50%;background:#5bd47a;box-shadow:0 0 6px #5bd47a}
/* 화면 유리 반사 */
#top:after,#bot:after{content:"";position:absolute;inset:0;pointer-events:none;z-index:20;background:linear-gradient(125deg,#ffffff0d 0,#ffffff05 30%,transparent 31%)}
#top,#bot{flex:1;min-height:0;width:100%;border:none;border-radius:3px;box-shadow:inset 0 0 0 1px #000}
/* 위 화면: 장면(4:3) + 그 아래 대사창 */
#top{aspect-ratio:auto;display:flex;flex-direction:column;background:#0d1530}
#scr{flex:1 1 auto;min-height:0;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:50% 35%;background:#000}
#tbox{position:relative;left:auto;right:auto;bottom:auto;height:auto;flex:none;min-height:86px;margin:0;border:none;border-top:3px solid #e8e4d8;outline:none;padding:13px 12px 8px}
/* 모니터 받침대: 두 모니터를 잇는 이음쇠 */
#hinge{width:64px;height:12px;margin:0 auto;border-radius:0;background:linear-gradient(90deg,#1d2026,#4b515c 30%,#6a717d 50%,#4b515c 70%,#1d2026);box-shadow:0 2px 3px #0008 inset}
#hinge:before,#hinge:after{display:none}
/* 책상 위 키보드 + 마우스 */
#desk{flex:none;height:78px;display:flex;align-items:flex-end;justify-content:center;gap:10px;padding:0 4px 4px;perspective:320px}
/* ===== 잠금·로그인 화면 (윈도우 스타일, 로고 없음) ===== */
.lock{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:22px 16px 16px;color:#fff;text-align:center;cursor:pointer;
  background:radial-gradient(90% 70% at 85% 110%,#c2410c55,transparent 60%),radial-gradient(80% 70% at 10% -10%,#2563eb66,transparent 60%),linear-gradient(160deg,#0b1220,#16203a 55%,#1d1730)}
.lock .lk-top{display:flex;flex-direction:column;align-items:center;margin-top:6%}
.lock .t{font:300 58px/1 "Segoe UI Variable","Segoe UI",-apple-system,sans-serif;letter-spacing:1px;text-shadow:0 2px 12px #0006}
.lock .d{font:400 15px "Segoe UI",-apple-system,sans-serif;margin-top:8px;opacity:.92}
.lock .lk-bot{display:flex;flex-direction:column;align-items:center;gap:8px}
.lock small{font:12px "Segoe UI",-apple-system,sans-serif;opacity:.7;line-height:1.7}
.lock .lk-hint{font:500 12px "Segoe UI",-apple-system,sans-serif;padding:6px 14px;border-radius:14px;background:#ffffff1a;border:1px solid #ffffff22;animation:hint 2.4s ease-in-out infinite}
@keyframes hint{50%{opacity:.55}}
.lock.signin{cursor:default;justify-content:center;gap:10px;background:linear-gradient(#0b122099,#0b1220cc),radial-gradient(90% 70% at 85% 110%,#c2410c55,transparent 60%),radial-gradient(80% 70% at 10% -10%,#2563eb66,transparent 60%),linear-gradient(160deg,#0b1220,#16203a 55%,#1d1730);backdrop-filter:blur(8px)}
.signin .av{width:84px;height:84px;border-radius:50%;display:grid;place-items:center;font:600 32px "Segoe UI",-apple-system,sans-serif;color:#334155;background:linear-gradient(160deg,#e2e8f0,#94a3b8);box-shadow:0 0 0 3px #ffffff22,0 6px 16px #0006}
.signin .un{font:600 21px "Segoe UI",-apple-system,sans-serif;margin-bottom:4px}
#pinF,#nmF{display:flex;width:min(240px,86%);height:38px;border-radius:5px;overflow:hidden;background:#ffffff1c;border:1px solid #ffffff40;border-bottom:2px solid #fff;transition:background .15s}
#pinF:focus-within,#nmF:focus-within{background:#ffffff2c}
#pin,#nmI{flex:1;min-width:0;background:none;border:none;outline:none;color:#fff;font:500 16px "Segoe UI",-apple-system,sans-serif;padding:0 12px;letter-spacing:4px;-webkit-user-select:text;user-select:text}
#pin::placeholder,#nmI::placeholder{color:#ffffff99;letter-spacing:0;font-size:14px}
.lock #pinF button,.lock #nmF button{margin:0;width:42px;padding:0;border-radius:0;background:#ffffff26;color:#fff;font:600 18px sans-serif;cursor:pointer}
.lock #pinF button:hover,.lock #nmF button:hover{background:#ffffff3a}
.signin .pinmsg{font:12px/1.6 "Segoe UI",-apple-system,sans-serif;opacity:.88;min-height:38px;max-width:260px}
.signin .pinmsg.err{color:#fca5a5;opacity:1}
.lock .lk-back{margin:0;background:none;color:#ffffffb0;font:500 12px "Segoe UI",-apple-system,sans-serif;padding:4px 10px;border-radius:4px}
.lock .lk-back:hover{background:#ffffff1a;color:#fff}
.signin .lk-note{position:absolute;bottom:10px;left:0;right:0;font-size:10.5px;opacity:.55}
.lock.signin{gap:8px;padding:12px 16px}
.signin .av{width:68px;height:68px;font-size:26px}
.signin .un{font-size:19px;margin-bottom:2px}
.signin .pinmsg{min-height:0}
.lock .lk-back{position:absolute;top:8px;left:8px}
.signin .lk-note{position:static;font-size:10px;opacity:.5;margin-top:2px}
/* 폰: 키보드·마우스를 숨기고 책상 끝선만 남겨 모니터를 크게 */
@media (max-width:600px){
  #desk{display:none}
  #dev{padding:8px 8px calc(14px + env(safe-area-inset-bottom))}
  html,body{background:
    linear-gradient(180deg,transparent calc(100% - 10px - env(safe-area-inset-bottom)),#8a6648 calc(100% - 10px - env(safe-area-inset-bottom)),#563d2b 100%),
    url(bg-night.svg) 50% 100%/auto 100% no-repeat,#0b0f1c}
  body:after{height:calc(10px + env(safe-area-inset-bottom))}
}
/* ===== 입사 전: 수험생 태블릿 + 대학가 배경 + 교재·연필 ===== */
#desk .kit{display:none;width:min(62%,280px);height:auto;transform:rotateX(30deg);transform-origin:50% 100%;filter:drop-shadow(0 6px 4px #0007)}
body.pre #desk .kit{display:block}
body.pre{background:
  linear-gradient(180deg,transparent calc(100% - 92px),#7a5236 calc(100% - 92px),#5e3f29 calc(100% - 60px),#48301f 100%),
  radial-gradient(60% 45% at 50% 45%,#ffb36614,transparent 70%),
  url(bg-college.svg) 50% 100%/auto 100% no-repeat,#120e14}
/* 태블릿: 둥근 모서리, 고른 베젤, 은색 테두리, 거치대 */
body.pre #dev>.botShell{border-radius:22px;padding:14px!important;background:linear-gradient(180deg,#1b1d22,#0f1013);box-shadow:0 0 0 2px #b9bec7,0 0 0 3px #6b7079,0 10px 24px #000a}
body.pre .botShell:before{content:"";position:absolute;top:5px;left:50%;width:5px;height:5px;margin-left:-2.5px;border-radius:50%;background:#1d2a3a;box-shadow:0 0 0 1px #2b2f37}
body.pre .botShell:after{display:none}
body.pre #bot{border-radius:10px}
body.pre #hinge{opacity:0}
/* 태블릿 홈: 배경화면 + D-day 위젯 */
body.pre #bot{background:radial-gradient(90% 60% at 80% 110%,#f59e0b44,transparent 60%),radial-gradient(80% 60% at 10% -10%,#8b5cf655,transparent 60%),linear-gradient(160deg,#141b33,#1e2140 55%,#2b1d2e)}
.tab .dday{margin:4px 4px 10px;padding:10px 14px;border-radius:16px;background:#ffffff14;border:1px solid #ffffff22;backdrop-filter:blur(6px);display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:center;color:#fff;font-family:-apple-system,"Apple SD Gothic Neo",sans-serif}
.tab .dday b{grid-row:span 2;font:800 28px -apple-system,sans-serif;color:#fde68a;letter-spacing:-.5px}
.tab .dday span{font:600 13px sans-serif}
.tab .dday i{font:400 11px sans-serif;opacity:.7;font-style:normal}
.tab .icons{grid-template-columns:repeat(3,minmax(0,1fr))}
/* 단어장: 줄 노트 */
.win.note .wb{background:repeating-linear-gradient(180deg,#fffdf6 0 27px,#dbe4f3 27px 28px);border-left:3px solid #fca5a5}
.win.note .wt{background:#fef3c7}
/* OMR 답안지 */
.win.omr{background:#fffdf7}
.win.omr .wt{background:#1e3a8a;color:#fff;justify-content:space-between;padding:0 12px}
.win.omr .wt b{font:600 11px sans-serif;opacity:.8}
.win.omr .wb{padding:12px;display:flex;flex-direction:column;gap:7px;overflow:auto;background:repeating-linear-gradient(90deg,#fffdf7 0 18px,#fff1f2 18px 19px)}
.omr .oq{font:700 14px/1.5 -apple-system,"Apple SD Gothic Neo",sans-serif;color:#111;margin-bottom:4px}
.omr button{display:flex;align-items:center;gap:10px;text-align:left;background:#fff;border:1px solid #fecdd3;border-radius:6px;padding:8px 10px;font:500 13px -apple-system,sans-serif;color:#1f2937;cursor:pointer}
.omr button i{flex:none;width:18px;height:24px;border-radius:50%;border:1.6px solid #e11d48;color:#e11d48;display:grid;place-items:center;font:700 11px sans-serif;font-style:normal;transition:background .15s}
.omr button.on i,.omr button:hover i{background:#111827;border-color:#111827;color:#fff}
@media (max-width:600px){
  body.pre{background:
    linear-gradient(180deg,transparent calc(100% - 10px - env(safe-area-inset-bottom)),#7a5236 calc(100% - 10px - env(safe-area-inset-bottom)),#48301f 100%),
    url(bg-college.svg) 50% 100%/auto 100% no-repeat,#120e14}
}
/* 태블릿 상태 표시줄: 위쪽 얇은 줄(시간 · 와이파이·배터리) + 아래 홈 막대, 작업표시줄 아이콘 숨김 */
body.pre #status{order:-1;height:24px;padding:0 14px;background:transparent;border:none;backdrop-filter:none;-webkit-backdrop-filter:none;font:600 11px -apple-system,"Apple SD Gothic Neo",sans-serif}
body.pre #osLabel,body.pre #status .tbc,body.pre #life{display:none}
body.pre #status .tray{width:100%;display:flex;justify-content:space-between;align-items:center}
body.pre #clock{order:-1;font-weight:600}
body.pre #panel{padding-bottom:16px}
body.pre #panel:after{content:"";position:absolute;left:50%;bottom:6px;width:112px;height:4px;margin-left:-56px;border-radius:3px;background:#ffffffb8;pointer-events:none;z-index:5}
/* 고를 수 없는 선택지: 흐리게 + 빨간 탈락 도장 */
.replies button.off{position:relative;overflow:hidden;cursor:not-allowed;background:#f3f4f6;color:#9ca3af}
.replies button.off small{color:#b6bcc6}
.replies button.off:active{background:#f3f4f6}
.replies .rej{position:absolute;right:14px;top:50%;transform:translateY(-50%) rotate(-12deg);padding:2px 10px;border:2.5px solid #dc2626;border-radius:6px;color:#dc2626;font:900 15px -apple-system,"Apple SD Gothic Neo",sans-serif;font-style:normal;letter-spacing:2px;opacity:.85;background:#fff8;mix-blend-mode:multiply}
/* 선택지 창: 질문 말풍선은 항상 다 보이고, 선택지가 많으면 선택지 쪽만 스크롤 */
.wb.chat.ask{flex:none;overflow:visible}
.win .replies{flex:0 1 auto;min-height:0;overflow-y:auto}
.win .replies>button{flex:none}
/* ===== 타이틀 화면 (위 모니터): 누아르 — 장면을 깊게 눌러 두고 금빛 제목 + 레터박스 ===== */
#ttl{font-family:"Galmuri",monospace;text-align:center;overflow:hidden;background:radial-gradient(110% 80% at 50% 45%,#0a0f1ecc,#04060cf5 78%)}
#ttl:before,#ttl:after{content:"";position:absolute;left:0;right:0;height:9%;background:#000}
#ttl:before{top:0}#ttl:after{bottom:0}
#ttl .t-card{position:relative;display:flex;flex-direction:column;align-items:center}
#ttl .t-kick{display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:3px;color:#d8b65a;margin-bottom:12px}
#ttl .t-kick:before,#ttl .t-kick:after{content:"";width:26px;height:1px;background:#d8b65a88}
#ttl h1{margin:0;font-size:46px;letter-spacing:6px;color:#ffe08a;text-shadow:0 3px 0 #7a3f0e,0 0 24px #f3d36b33}
#ttl .t-rule{width:150px;height:1px;margin:14px 0 12px;background:linear-gradient(90deg,transparent,#d8b65a,transparent)}
#ttl .t-tag{margin:0;font-size:12px;line-height:1.75;color:#e9e4d6;text-shadow:none}
#ttl .t-tag em{font-style:normal;color:#ff8a7a}
#ttl .t-foot{position:absolute;bottom:calc(9% + 8px);left:0;right:0;margin:0;font-size:9px;letter-spacing:3px;color:#ffffff70}
/* 작업표시줄 힌트(전구) */
#tipBtn{position:relative}
#tipBtn:hover svg{filter:drop-shadow(0 0 6px #fde047aa)}
/* ===== 업무 메신저 (팀즈 느낌 · 로고/이름 없음) ===== */
.win.tms{flex-direction:row;background:#f5f5f5;font-family:"Segoe UI",-apple-system,"Apple SD Gothic Neo",sans-serif;border:none}
.tms-rail{flex:none;width:40px;background:#ebebeb;display:flex;flex-direction:column;align-items:center;gap:12px;padding:12px 0;border-right:1px solid #e0e0e0}
.tms-rail i{position:relative;width:26px;height:26px;display:grid;place-items:center;color:#616161;border-radius:6px}
.tms-rail i.on{color:#5b5fc7;background:#fff}
.tms-rail i.on:before{content:"";position:absolute;left:-7px;top:4px;bottom:4px;width:3px;border-radius:2px;background:#5b5fc7}
.tms-main{flex:1;min-width:0;display:flex;flex-direction:column}
.tms-hd{flex:none;display:flex;align-items:center;gap:9px;padding:8px 12px 0;background:#fff;border-bottom:1px solid #e0e0e0}
.tms-hd>div{display:flex;flex-direction:column;gap:3px}
.tms-hd strong{font-size:13px;font-weight:600;color:#242424}
.tabs2{display:flex;gap:12px;font-size:11px;color:#616161}
.tabs2 u,.tabs2 s{text-decoration:none;padding-bottom:5px}
.tabs2 u{color:#242424;font-weight:600;box-shadow:inset 0 -2px 0 #5b5fc7}
.av{flex:none;width:28px;height:28px;border-radius:50%;color:#fff;display:grid;place-items:center;font:600 12px "Segoe UI",-apple-system,sans-serif;margin-bottom:6px}
.tms-body{flex:1;min-height:0;overflow-y:auto;padding:12px 10px;display:flex;flex-direction:column;gap:10px;background:#f5f5f5}
.tms-body .tm .av{margin:0}
.tm{display:flex;gap:8px;align-items:flex-start;max-width:94%}
.tm-c{display:flex;flex-direction:column;gap:2px;background:#fff;border-radius:6px;padding:6px 10px 8px;box-shadow:0 1px 2px #00000014}
.tm-c i{font-style:normal;font-size:10.5px;color:#616161}
.tm-c span{font-size:13.5px;line-height:1.5;color:#242424;word-break:keep-all}
.tm.me{align-self:flex-end}.tm.me .tm-c{background:#e8ebfa}
.tms-foot{flex:none;padding:6px 10px 8px;background:#f5f5f5;display:flex;flex-direction:column;gap:6px}
.tms-foot .tapnote{margin:0 auto}
.tms-in{display:flex;align-items:center;justify-content:space-between;background:#fff;border-radius:4px;box-shadow:inset 0 -2px 0 #5b5fc7,0 0 0 1px #e0e0e0;padding:8px 10px;font-size:12px;color:#8a8a8a}
.tms-body.ask{flex:none;overflow:visible}
.tms .replies{background:#f5f5f5;border-top:1px solid #e0e0e0}
.tms .replies button{border-radius:6px;border-color:#e0e0e0}
.tms .replies button:hover{border-color:#5b5fc7}
.tms .replies button:active{background:#e8ebfa}
/* ===== 질의 기록(증언) · 메모장: 업무 도구 톤 (중립 회색 + 1px 선, 강조색은 주요 동작 하나) ===== */
.win.testi .wb,.win.lg .wb{font-family:"Segoe UI",-apple-system,"Apple SD Gothic Neo",sans-serif}
.win.testi .wb{padding:0;display:flex;flex-direction:column;background:#fff}
.tx-meta{flex:none;display:flex;align-items:center;gap:10px;padding:9px 14px;border-bottom:1px solid #eaeef2;font-size:11.5px;color:#57606a}
.tx-who{font-weight:600;color:#1f2328}.tx-who em{font-style:normal;font-weight:400;color:#6e7781;margin-left:6px}
.tx-rec{display:flex;align-items:center;gap:5px;color:#cf222e;font-weight:600}
.tx-rec i{width:6px;height:6px;border-radius:50%;background:#cf222e;animation:blink 1.4s steps(2) infinite}
.tx-life{margin-left:auto;display:flex;align-items:center;gap:3px}
.tx-life i{width:6px;height:6px;border-radius:50%;background:#1f883d}.tx-life i:first-of-type{margin-left:5px}
.tx-life i.off{background:#d0d7de}
.tx-line{flex:1;min-height:0;overflow:auto;display:grid;grid-template-columns:26px 1fr;column-gap:8px;padding:14px 16px 12px 10px;align-content:start}
.tx-no{font:500 11px/1 ui-monospace,Menlo,monospace;color:#8c959f;text-align:right;padding-top:6px}
.tx-line p{margin:0;font:600 15px/1.65 "Apple SD Gothic Neo",-apple-system,sans-serif;color:#1f2328;word-break:keep-all}
.tx-bar{flex:none;display:grid;grid-template-columns:auto 1fr 1fr;gap:8px;padding:10px 12px;border-top:1px solid #eaeef2;background:#f6f8fa}
.tx-pager{display:flex;align-items:center;height:36px;border:1px solid #d0d7de;border-radius:6px;background:#fff;overflow:hidden}
.tx-pager button{width:28px;height:100%;border:none;background:none;color:#57606a;font-size:17px;line-height:1;cursor:pointer}
.tx-pager button:hover{background:#f3f4f6;color:#1f2328}
.tx-pager span{min-width:34px;text-align:center;font:600 12px ui-monospace,Menlo,monospace;color:#1f2328;border-left:1px solid #eaeef2;border-right:1px solid #eaeef2;line-height:34px}
.tx-pager small{font-size:11px;font-weight:400;color:#8c959f}
.tx-btn{height:36px;display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid #d0d7de;border-radius:6px;background:#fff;color:#1f2328;font:600 13px "Apple SD Gothic Neo",-apple-system,sans-serif;cursor:pointer;transition:background .12s,border-color .12s}
.tx-btn:hover{background:#f3f4f6;border-color:#afb8c1}
.tx-btn.pri{background:#cf222e;border-color:#a40e26;color:#fff}
.tx-btn.pri:hover{background:#a40e26}
/* 메모장(기록) */
.win.lg .wt button{margin-left:auto}
.lg-tabs{flex:none;display:flex;gap:2px;padding:0 10px;border-bottom:1px solid #eaeef2;background:#fff}
.lg-tabs button{border:none;background:none;padding:9px 10px 8px;font:600 12px "Apple SD Gothic Neo",-apple-system,sans-serif;color:#6e7781;cursor:pointer;box-shadow:inset 0 -2px 0 transparent}
.lg-tabs button.on{color:#1f2328;box-shadow:inset 0 -2px 0 #1f2328}
.lg-b{padding:6px 14px 12px;background:#fff;font-size:12.5px;line-height:1.6;color:#1f2328}
.lg-h{position:sticky;top:-6px;margin:10px -14px 4px;padding:6px 14px;background:#f6f8fa;border-top:1px solid #eaeef2;border-bottom:1px solid #eaeef2;font-weight:600;font-size:11.5px;color:#1f2328;display:flex;gap:8px;align-items:baseline}
.lg-h small{font-weight:400;color:#6e7781}
.lg-b p{margin:5px 0}
.lg-s b{display:inline-block;min-width:64px;margin-right:8px;font-weight:600;color:#57606a}
.lg-c i{font-style:normal;font-size:10.5px;color:#8c959f;margin-left:6px}
.lg-n{color:#6e7781}
.lg-p,.lg-e{display:flex;gap:8px;align-items:baseline}
.lg-p span,.lg-e span{flex:none;font-size:10.5px;font-weight:600;padding:1px 6px;border-radius:4px;border:1px solid #d0d7de;color:#57606a;background:#f6f8fa}
.lg-p{font-weight:600}
.lg-e span{border-color:#a5d6b4;color:#1a7f37;background:#eef9f1}
.lg-ol{margin:4px 0 8px;padding-left:26px}.lg-ol li{margin:4px 0}.lg-ol li::marker{font:500 11px ui-monospace,Menlo,monospace;color:#8c959f}
.lg-q{padding:9px 0;border-bottom:1px solid #eaeef2}.lg-q small{display:block;color:#6e7781;font-size:11px}.lg-q p{margin:2px 0 0;font-weight:600}
.lg-empty{color:#8c959f;text-align:center;margin-top:24px!important}
/* 셀시트: 안내줄·수식줄도 표와 함께 스크롤, 머리행만 고정 · 아래 버튼 낮춤 */
.win.xl .wb .xtip,.win.xl .wb .xbar{position:static}
.win.xl .xact{padding:6px 8px}
.win.xl .xact button{height:38px}

/* 책상 테마 (js/desks.js): 키보드 쪽을 옆으로 밀거나 ‹ › 로 바꿈 */
#desk{position:relative;height:96px;touch-action:pan-y;user-select:none}
.dk-stage{flex:1;align-self:stretch;height:100%;display:flex;align-items:flex-end;justify-content:center;perspective:340px}
.dk-stage svg{width:min(100%,420px);height:auto;transform:rotateX(30deg);transform-origin:50% 100%;margin-bottom:-6px}
.dk-arr{position:absolute;top:50%;transform:translateY(-50%);width:26px;height:26px;border-radius:50%;border:1px solid #ffffff40;background:#00000055;color:#fff;font:600 16px/24px sans-serif;cursor:pointer;opacity:.55;transition:opacity .15s}
.dk-arr.l{left:0}.dk-arr.r{right:0}
#desk:hover .dk-arr{opacity:1}
.dk-name{position:absolute;left:50%;bottom:4px;transform:translateX(-50%);padding:4px 10px;border-radius:12px;background:#000000b0;color:#fff;font:600 11px -apple-system,"Apple SD Gothic Neo",sans-serif;white-space:nowrap;opacity:0;transition:opacity .2s;pointer-events:none}
.dk-name.on{opacity:1}
body.pre .dk-stage,body.pre .dk-arr,body.pre .dk-name{display:none}
/* 셀시트 제목의 증거 경로 표시 */
.win.xl .wt .via{font-style:normal;font-size:10px;font-weight:700;margin-left:6px;padding:1px 6px;border-radius:4px;background:#ffffff26;color:#fff}
.win.xl .wt .via.ok{background:#dcfce7;color:#166534}
.win.xl .wt .via.ng{background:#fee2e2;color:#991b1b}
.lg-t span{border-color:#fcd34d!important;color:#92400e!important;background:#fffbeb!important}
/* 팀즈 · 썰 모음 */
.ss-list{gap:2px!important;padding:6px!important;background:#fff!important}
.ss-row{display:flex;align-items:center;gap:10px;width:100%;padding:8px;border:none;background:none;border-radius:6px;text-align:left;cursor:pointer;font-family:"Segoe UI",-apple-system,"Apple SD Gothic Neo",sans-serif}
.ss-row:hover{background:#f5f5f5}
.ss-row .av{margin:0}
.ss-row span{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.ss-row strong{font-size:13px;color:#242424}
.ss-row small{font-size:11px;color:#616161;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ss-row i{font-style:normal;font-size:9.5px;font-weight:700;color:#fff;background:#c4314b;border-radius:8px;padding:1px 6px}
.ss-day{align-self:center;font-size:11px;color:#616161;background:#ebebeb;border-radius:10px;padding:2px 10px}
.ss-tip{align-self:stretch;display:flex;gap:8px;align-items:baseline;padding:8px 10px;border:1px solid #fcd34d;background:#fffbeb;border-radius:6px;font-size:12.5px;color:#78350f;line-height:1.5}
.ss-tip span{flex:none;font-size:10.5px;font-weight:700}
.ss-foot{flex-direction:row!important;justify-content:space-between}
.ss-btn{height:30px;padding:0 12px;border:1px solid #d1d1d1;border-radius:4px;background:#fff;color:#242424;font:600 12px "Segoe UI",-apple-system,sans-serif;cursor:pointer}
.ss-btn:hover{background:#f5f5f5}
.ss-foot .ss-btn:only-child{margin-left:auto}
/* ===== 썰 제보 (중립 회색 + 1px 선, 주요 버튼 하나만 진하게) ===== */
.ss-btn.pri{background:#5b5fc7;border-color:#4f52b2;color:#fff}.ss-btn.pri:hover{background:#4f52b2}
.ss-fab{position:fixed;top:14px;right:14px;z-index:30;display:flex;align-items:center;gap:6px;height:34px;padding:0 13px;border-radius:17px;border:1px solid #ffffff2e;background:#121621b3;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#f0f2f5;font:600 12.5px -apple-system,"Apple SD Gothic Neo",sans-serif;cursor:pointer}
.ss-fab:hover{background:#1b2030d9}
@media (max-width:600px){.ss-fab{top:10px;right:10px;width:34px;padding:0;justify-content:center}.ss-fab b{display:none}}
#subOv{position:fixed;inset:0;z-index:40;display:none;align-items:center;justify-content:center;padding:16px;background:#0a0d14b8}
#subOv.on{display:flex}
.sub{width:min(440px,100%);max-height:calc(100dvh - 32px);display:flex;flex-direction:column;background:#fff;border-radius:12px;overflow:hidden;color:#1f2328;font-family:-apple-system,"Apple SD Gothic Neo",sans-serif;box-shadow:0 1px 2px #0000001a,0 16px 40px #00000052}
.sub-hd{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 20px 6px}
.sub-hd h2{margin:0;font-size:16px;font-weight:700;letter-spacing:-.2px}
.sub-hd p{margin:3px 0 0;font-size:13px;color:#656d76}
.sub-x{flex:none;width:28px;height:28px;display:grid;place-items:center;border:none;border-radius:6px;background:none;color:#656d76;cursor:pointer}
.sub-x:hover{background:#f3f4f6;color:#1f2328}
.sub-b{flex:1;min-height:0;overflow:auto;padding:12px 20px 4px;display:flex;flex-direction:column;gap:10px}
.sub-ta{position:relative}
.sub textarea{display:block;width:100%;min-height:190px;resize:vertical;padding:12px 12px 26px;border:1px solid #d0d7de;border-radius:8px;background:#fff;font:14px/1.6 -apple-system,"Apple SD Gothic Neo",sans-serif;color:#1f2328;outline:none;-webkit-user-select:text;user-select:text;transition:border-color .12s,box-shadow .12s}
.sub textarea::placeholder{color:#8c959f}
.sub textarea:focus{border-color:#1f2328;box-shadow:0 0 0 3px #1f232814}
.sub-ta span{position:absolute;right:10px;bottom:8px;font:500 11px ui-monospace,Menlo,monospace;color:#8c959f;pointer-events:none}
.sub-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.sub-info{margin:0;font-size:12px;line-height:1.65;color:#656d76}
.sub-msg{margin:0;min-height:16px;font-size:12px;color:#cf222e}
.sub-ft{display:flex;align-items:center;gap:8px;padding:12px 20px 16px}
.sub-ft small{margin-right:auto;font-size:11.5px;color:#8c959f}
.sub-btn{height:34px;padding:0 14px;border:1px solid #d0d7de;border-radius:6px;background:#fff;color:#1f2328;font:600 13px -apple-system,"Apple SD Gothic Neo",sans-serif;cursor:pointer;transition:background .12s}
.sub-btn:hover{background:#f3f4f6}
.sub-btn.pri{background:#1f2328;border-color:#1f2328;color:#fff}.sub-btn.pri:hover{background:#32383f}
.sub-btn:disabled{opacity:.55;cursor:default}
.sub-done{display:flex;flex-direction:column;align-items:center;gap:6px;padding:28px 8px 18px;text-align:center}
.sub-done h3{margin:6px 0 0;font-size:15px}.sub-done p{margin:0;font-size:13px;color:#656d76;line-height:1.6}
.sub .sub-agree{display:flex;align-items:flex-start;gap:8px;font-size:12.5px;line-height:1.55;color:#1f2328;cursor:pointer}
.sub-agree input{flex:none;width:16px;height:16px;margin:2px 0 0;accent-color:#1f2328;cursor:pointer}
.sub-ft{justify-content:flex-end}

#nmI{letter-spacing:1px}
/* 에피소드 엔딩: 조서 평가 */
.endbox .grade{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;margin:10px 0 6px;padding:10px 12px;border:1px solid #00000022;border-radius:6px;background:#ffffff66;text-align:left}
.endbox .grade span{grid-column:1;font-size:11px;font-weight:700;color:#6b5b3e}
.endbox .grade b{grid-column:1;grid-row:2;font:900 30px/1 Georgia,serif}
.endbox .grade b.gA{color:#15803d}.endbox .grade b.gB{color:#b45309}.endbox .grade b.gC{color:#b91c1c}
.endbox .grade p{grid-column:2;grid-row:1/3;margin:0;font-size:12px;line-height:1.55;color:#2b2418}
.endbox .grade em{display:block;font-style:normal;font-weight:700;font-size:11px;color:#6b5b3e;margin-bottom:2px}
