/* Home and shared chrome matched to yeongnamdae_redesign layout v3 / sim v3. */
:root{
  --bg:#f3f6f9; --surface:#fff; --ink:#0c2340; --ink-2:#2a4160; --muted:#475a73;
  --line:#d4dde8; --line-2:#b4c3d4; --sign:#01387A; --sign-d:#012a5c; --sign-ink:#fff; --sign-soft:#dcf3f8;
  --cy:#00AACC; --ink-d:#00224d; --util:#012a5c; --track:#dbe5ee; --lock:#e7ecf1;
}
body{background:var(--bg);color:var(--ink);font-family:'IBM Plex Sans KR','Noto Sans SC','Noto Sans',system-ui,sans-serif;word-break:keep-all;overflow-wrap:anywhere}
body::before{background:var(--util)}
.brand::before{content:none !important}
.brand{font-family:'IBM Plex Sans KR',sans-serif;letter-spacing:-.01em;font-weight:600;font-size:17px;color:var(--ink)}
.brand i{width:36px;height:36px;display:grid;place-items:center;background:var(--sign);color:#fff;border-radius:11px 11px 4px 11px;font-style:normal;font-weight:700;font-size:18px}
.ico{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}

.util{background:var(--util);color:#fff}
.util .wrap,.hdr .wrap{max-width:1440px;margin:0 auto;padding:0 40px;display:flex;flex-direction:row;align-items:center}
.util .wrap{min-height:44px;gap:0}
.lang{display:flex;align-items:center}
.lang button{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;font-size:15px;font-weight:500;color:rgba(255,255,255,.88);background:none;border:0;position:relative}
.lang button+button::before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:1px;background:rgba(255,255,255,.28)}
.lang button[aria-current="true"]{color:#fff;font-weight:700}
.lang button[aria-current="true"]::after{content:"";position:absolute;left:16px;right:16px;bottom:6px;height:2px;background:#fff;border-radius:1px}
.util .sp{flex:1}
.util .acct{display:inline-flex;align-items:center;gap:14px;font-size:15px}
.util .acct button{min-height:44px;display:inline-flex;align-items:center;padding:0 4px;font-weight:600;color:#fff;background:none;border:0;cursor:pointer}
.util .acct button[hidden]{display:none !important}

.hdr.top{position:sticky;top:0;z-index:20;background:#fff;color:var(--ink);border-bottom:1px solid var(--line);min-height:0;padding:0;gap:0;flex-wrap:nowrap}
.hdr .wrap{height:40px;gap:12px;width:100%}
.hdr .brand{font-size:16px;line-height:1.2}
.hdr .brand i{width:28px;height:28px;font-size:14px;border-radius:8px 8px 3px 8px}
body.home-view .util,body.home-view .hdr.top{position:fixed;left:0;right:0}
body.home-view .util{top:0;z-index:41}
body.home-view .hdr.top{top:44px;z-index:40}
body.home-view{padding-top:84px}
body.home-view .util .wrap,body.home-view .hdr .wrap{width:100%;max-width:1440px;padding:0 40px}
body.home-view #lessons,body.home-view #evaluation,body.home-view #sos,body.home-view #progress{scroll-margin-top:96px}
.mnav{display:flex;gap:4px;margin-left:auto}
.mnav a{display:inline-flex;align-items:center;min-height:0;height:32px;padding:0 12px;border-radius:8px;font-weight:500;font-size:15px;line-height:1.2;color:var(--ink-2);white-space:nowrap;text-decoration:none}
.mnav a:hover,.mnav a[aria-current="true"]{background:var(--sign-soft);color:var(--sign-d)}
body.home-view #nowTitle,body.home-view #modeChip{display:none !important}
body:not(.home-view) .mnav{display:none}
body:not(.home-view) .hdr .now{display:block;margin-left:16px;padding-left:16px;border-left:1px solid var(--line);font-size:16px;font-weight:600;color:var(--ink);max-width:46vw}
body:not(.home-view) #modeChip{margin-left:auto}

html:has(body.home-view),body.home-view{height:auto;min-height:100%;overflow:auto;overflow-anchor:none}
body.home-view #app{height:auto;min-height:100%}
body.home-view #home{overflow:visible;flex:none;padding:0}
body.home-view #home .wrap{max-width:1440px;margin:0 auto;padding:0 40px;display:block}

body.home-view .hero{padding:16px 0 16px}
body.home-view .hero-stage{position:relative;height:min(460px,calc(100vh - 240px));min-height:340px;border-radius:28px;overflow:hidden;background:#d9dfdb;box-shadow:0 14px 36px rgba(8,24,48,.18)}
body.home-view .hero-stage img{position:absolute;inset:0;z-index:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:64% center;opacity:0;transition:opacity .9s ease}
body.home-view .hero-stage img.on{opacity:1}
body.home-view .hero-stage::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(1,42,92,.97) 0,rgba(1,42,92,.95) 34%,rgba(1,42,92,.55) 42%,rgba(1,42,92,0) 52%)}
body.home-view .hero-stage::after{content:"";position:absolute;inset:0;z-index:3;border-radius:28px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);pointer-events:none}
body.home-view .copy-h{position:absolute;z-index:2;left:64px;top:50%;transform:translateY(-50%);width:470px;color:#fff}
body.home-view .copy-h h1{font-family:'IBM Plex Sans KR',sans-serif;font-weight:600;font-size:46px;line-height:1.25;letter-spacing:-.02em;margin:0}
body.home-view .copy-h .lede{margin-top:18px;font-size:18px;line-height:1.7;color:rgba(255,255,255,.92)}
body.home-view .hbtn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:58px;margin-top:30px;padding:0 28px;border:0;border-radius:14px;background:#fff;color:var(--sign-d);font-weight:700;font-size:18px;box-shadow:0 6px 18px rgba(0,0,0,.22);cursor:pointer}
body.home-view .hbtn .ico{width:20px;height:20px;stroke-width:2.2}
body.home-view .hero-hud{position:absolute;z-index:2;display:flex;gap:10px;align-items:center}
body.home-view .hero-hud.tl{left:24px;top:22px}
body.home-view .hero-hud.tr{right:24px;top:22px}
body.home-view .pill{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 16px;border-radius:999px;background:rgba(255,255,255,.95);color:var(--ink);font-size:15px;font-weight:600;box-shadow:0 2px 8px rgba(8,24,48,.18)}
body.home-view .pill b{color:var(--sign);font-weight:700}
body.home-view .pill .ico{width:16px;height:16px;fill:var(--cy);stroke:none}
body.home-view .hero-bar{position:absolute;z-index:2;left:0;right:0;bottom:0;height:6px;background:rgba(255,255,255,.55)}
body.home-view .hero-bar i{display:block;height:100%;background:var(--cy)}

body.home-view .band{background:linear-gradient(180deg,var(--sign-d),var(--sign));color:#fff;padding:20px 0 0}
body.home-view #home .band .wrap{display:flex;flex-direction:row;align-items:baseline;gap:16px;padding-bottom:14px}
body.home-view .band h2{font-size:22px;font-weight:700;letter-spacing:-.01em;margin:0}
body.home-view .band .wrap p{margin:0;font-size:15px;color:rgba(255,255,255,.88)}
body.home-view .steps{list-style:none;display:flex;margin:0;padding:0 0 24px;overflow-x:auto}
body.home-view .steps li{flex:1 1 0;min-width:128px}
body.home-view .steps li+li{margin-left:-18px}
body.home-view .steps button{display:flex;flex-direction:column;justify-content:center;gap:2px;width:100%;height:92px;padding:0 44px 0 52px;border:0;background:rgba(255,255,255,.14);color:#fff;text-align:left;cursor:pointer;clip-path:polygon(0 0,calc(100% - 32px) 0,100% 50%,calc(100% - 32px) 100%,0 100%,32px 50%)}
body.home-view .steps li:first-child button{padding-left:40px;clip-path:polygon(0 0,calc(100% - 32px) 0,100% 50%,calc(100% - 32px) 100%,0 100%)}
body.home-view .steps li:last-child button{padding-right:28px;clip-path:polygon(0 0,100% 0,100% 100%,0 100%,32px 50%)}
body.home-view .steps .nm{display:flex;align-items:center;gap:6px;font-weight:700;font-size:16px;white-space:nowrap}
body.home-view .steps .lt{width:24px;height:24px;border-radius:7px;background:rgba(255,255,255,.22);display:grid;place-items:center;font-size:13px}
body.home-view .steps .sub{font-size:14px;font-weight:500;white-space:nowrap}
body.home-view .steps .done button{background:var(--cy);color:var(--ink-d)}
body.home-view .steps .done .lt{background:rgba(0,34,77,.16)}
body.home-view .steps .here button{background:#fff;color:var(--sign-d)}
body.home-view .steps .here .lt{background:var(--sign-soft)}
body.home-view .steps .lock button{background:rgba(255,255,255,.1);color:rgba(255,255,255,.9)}
body.home-view .steps .nm .ico{width:18px;height:18px;stroke-width:2.4}

body.home-view section.blk{padding:64px 0 0}
body.home-view .hd{display:flex;align-items:baseline;gap:16px;margin-bottom:24px;flex-wrap:wrap}
body.home-view .hd h2{margin:0;font-weight:700;font-size:28px;line-height:1.35;letter-spacing:-.015em}
body.home-view .hd p{margin:0;font-size:16px;color:var(--muted)}
body.home-view .lessons{display:grid;grid-template-columns:300px 1fr;gap:40px;align-items:start}
body.home-view .plist{list-style:none;margin:0;padding:0;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}
body.home-view .plist li+li{border-top:1px solid var(--line)}
body.home-view .plist button{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:8px 18px;border:0;background:transparent;text-align:left;cursor:pointer;color:inherit}
body.home-view .plist .lt{width:32px;height:32px;border-radius:9px;background:var(--sign-soft);color:var(--sign);display:grid;place-items:center;font-weight:700;font-size:15px;flex:none}
body.home-view .plist .nm{flex:1;font-weight:600;font-size:17px}
body.home-view .plist .cn{font-size:14px;color:var(--muted);font-weight:500;display:inline-flex;align-items:center;gap:6px}
body.home-view .plist .cn .ico{width:18px;height:18px;color:var(--sign);stroke-width:2.4}
body.home-view .plist button:hover{background:#f6f8fa}
body.home-view .plist button[aria-current="true"]{background:var(--sign);color:#fff}
body.home-view .plist button[aria-current="true"] .lt{background:#fff;color:var(--sign-d)}
body.home-view .plist button[aria-current="true"] .cn{color:rgba(255,255,255,.9)}
body.home-view .plist button[aria-current="true"] .cn .ico{color:#fff}
body.home-view .ph-head{display:flex;align-items:center;gap:16px;margin-bottom:20px}
body.home-view .ph-head .lt{width:44px;height:44px;border-radius:12px;background:var(--sign);color:#fff;display:grid;place-items:center;font-weight:700;font-size:20px;flex:none}
body.home-view .ph-head h3{margin:0;font-size:28px;font-weight:700;letter-spacing:-.015em;line-height:1.3}
body.home-view .ph-head .meta{margin-left:auto;display:flex;align-items:center;gap:14px;font-size:15px;color:var(--muted)}
body.home-view .ph-head .meta b{color:var(--ink);font-size:16px}
body.home-view .track{width:140px;height:8px;border-radius:4px;background:var(--track);overflow:hidden}
body.home-view .track i{display:block;height:100%;background:var(--sign)}
body.home-view .cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
body.home-view .lc{display:flex;flex-direction:column;gap:6px;min-height:168px;padding:20px 22px;border-radius:18px;background:#fff;border:1px solid var(--line);text-align:left;cursor:pointer;color:inherit;font:inherit}
body.home-view .lc:hover{border-color:var(--line-2)}
body.home-view .lc .card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
body.home-view .lc .admin-card-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px;flex:none;max-width:168px}
body.home-view .lc .admin-edit{margin:0;flex:none;padding:5px 8px;font-size:12px}
body.home-view .lc .no{font-weight:700;font-size:15px;color:var(--sign)}
body.home-view .lc h4{margin:0;font-size:21px;font-weight:600;line-height:1.35}
body.home-view .lc .pl{font-size:15px;color:var(--muted)}
body.home-view .lc .ft{margin-top:auto;display:flex;align-items:center;justify-content:space-between;min-height:32px;gap:8px}
body.home-view .lc .acts{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
body.home-view .lc .acts button{position:relative;flex:1 1 0;min-height:36px;padding:0 8px;border-radius:10px;border:1px solid var(--sign);background:#fff;color:var(--sign);font-family:inherit;font-weight:700;font-size:13px;cursor:pointer;white-space:nowrap}
body.home-view .lc .acts button.pri{background:var(--sign);color:#fff}
body.home-view .lc .mode-check{position:absolute;top:-7px;right:-5px;width:16px;height:16px;border-radius:50%;background:#1f8a4c;color:#fff;font-style:normal;font-size:11px;font-weight:800;line-height:16px;text-align:center;box-shadow:0 0 0 2px #fff}
#hTime[hidden]{display:none !important}
body.home-view .lc .acts button:hover{filter:brightness(.97)}
body.home-view .lc.on{border:2px solid var(--sign);padding:19px 21px;box-shadow:0 6px 18px rgba(1,56,122,.14)}
body.home-view .lc.locked{background:#f6f8fa}
body.home-view .tag{font-size:13px;font-weight:600;line-height:1.4;padding:4px 12px;border-radius:999px;background:var(--sign);color:#fff}
body.home-view .tag.g{background:#eceeec;color:var(--muted)}
body.home-view .scene-shot{position:relative;margin-top:16px;height:420px;border-radius:24px;overflow:hidden;background:#dde2df;box-shadow:0 10px 28px rgba(8,24,48,.14)}
body.home-view .scene-shot img{width:100%;height:100%;object-fit:cover}

body.home-view .egrid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
body.home-view .rank{margin-top:28px;padding:22px;border-radius:22px;background:#fff;border:1px solid var(--line)}
body.home-view .rank h3{margin:0;font-size:22px}
body.home-view .rank p{margin:6px 0 14px;color:var(--muted)}
body.home-view .rank ol{list-style:none;margin:0;padding:0;display:grid;gap:8px}
body.home-view .rank li{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 14px;border-radius:14px;background:#f6f8fb}
body.home-view .rank li.mine{background:var(--sign-soft);box-shadow:inset 0 0 0 2px var(--sign)}
body.home-view .rank b{font-size:18px;color:var(--sign)}
body.home-view .rank span{font-weight:700}
body.home-view .rank em{font-style:normal;font-weight:800;color:var(--sign-d)}
body.home-view .ec{display:flex;flex-direction:column;gap:14px;padding:22px;border-radius:22px;background:#fff;border:1px solid var(--line);min-height:280px;text-align:left;color:inherit}
body.home-view .ec .top{display:flex;align-items:center;gap:10px}
body.home-view .ec .lt{width:34px;height:34px;border-radius:10px;background:var(--sign-soft);color:var(--sign);display:grid;place-items:center;font-weight:700;font-size:16px;flex:none}
body.home-view .ec h3{margin:0;font-size:20px;font-weight:700;line-height:1.3}
body.home-view .ec .state{margin:0;font-size:15px;color:var(--ink-2);font-weight:500;line-height:1.5;min-height:46px}
body.home-view .ec .levels{display:flex;flex-direction:column;gap:8px}
body.home-view .ec .levels span{display:flex;align-items:center;justify-content:space-between;gap:8px}
body.home-view .ec .levels b{font-weight:700;color:var(--ink)}
body.home-view .ec .levels em{font-style:normal;font-weight:700;font-size:13px;line-height:1.3;padding:3px 10px;border-radius:999px}
body.home-view .ec .levels .ok em{background:var(--sign-soft);color:var(--sign-d)}
body.home-view .ec .levels .no em{background:#eef2f6;color:var(--muted)}
body.home-view .ec .eval-edit{align-self:flex-start;margin:0}
body.home-view .ec .ab{margin-top:auto;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;border-radius:12px;font-weight:600;font-size:15px;width:100%;border:0;cursor:pointer}
body.home-view .ec .ab .ico{width:18px;height:18px}
body.home-view .ec.earned{background:var(--sign);border-color:var(--sign);color:#fff}
body.home-view .ec.earned .lt{background:#fff;color:var(--sign-d)}
body.home-view .ec.earned .state{color:rgba(255,255,255,.9)}
body.home-view .ec.earned .ab{background:#fff;color:var(--sign-d)}
body.home-view .ec.open{border:2px solid var(--sign);box-shadow:0 8px 22px rgba(1,56,122,.16)}
body.home-view .ec.open .ab{background:var(--sign);color:#fff}
body.home-view .ec.lock{background:var(--lock);border-color:var(--lock)}
body.home-view .ec.lock .state{color:var(--muted)}
body.home-view .ec.lock .lt{background:#fff;color:var(--muted)}
body.home-view .ec.lock .ab{background:transparent;border:1px dashed var(--line-2);color:var(--muted)}
body.home-view .ec.exp{grid-column:span 2;display:grid;grid-template-columns:1fr minmax(150px,38%);padding:0;gap:0;background:var(--ink);border-color:var(--ink);color:#fff;overflow:hidden}
body.home-view .ec.exp .txt{display:flex;flex-direction:column;gap:10px;padding:22px 8px 22px 22px;min-width:0}
body.home-view .ec.exp h3{font-size:22px}
body.home-view .ec.exp .big{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
body.home-view .ec.exp .big b{color:var(--cy);font-size:40px;line-height:1.05;font-weight:700;letter-spacing:-.04em}
body.home-view .ec.exp .big span{font-size:20px;font-weight:600;line-height:1.4;white-space:pre-line}
body.home-view .ec.exp ul{list-style:none;margin:auto 0 0;padding:0;display:grid;gap:8px;font-size:15px;color:rgba(255,255,255,.92)}
body.home-view .ec.exp li{display:flex;gap:10px;align-items:baseline}
body.home-view .ec.exp li b{min-width:44px}
body.home-view .ec.exp .mascot{position:relative;border-radius:0;background:var(--sign-soft);min-height:100%}
body.home-view .ec.exp .mascot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 40%;display:block}

body.home-view .sos{background:var(--cy);color:var(--ink-d);margin-top:72px}
body.home-view #home .sos .wrap{display:flex;flex-direction:row;align-items:center;gap:32px;min-height:100px}
body.home-view .sos h2{margin:0 auto 0 0;font-size:21px;font-weight:700;display:flex;align-items:center;gap:10px}
body.home-view .sos .ico{width:26px;height:26px}
body.home-view .sos a{display:flex;align-items:center;gap:12px;min-height:56px;padding:0 8px;color:inherit;text-decoration:none}
body.home-view .sos a b{font-size:36px;font-weight:700;line-height:1}
body.home-view .sos a span{font-size:16px;font-weight:500}
body.home-view .site-foot{background:#fff;border-top:1px solid var(--line)}
body.home-view #home .site-foot .wrap{display:grid;grid-template-columns:1.2fr 1fr;gap:48px;padding-top:44px;padding-bottom:28px}
body.home-view .site-foot p{margin:12px 0 0;font-size:15px;color:var(--muted);max-width:36em}
body.home-view .cp{border-top:1px solid var(--line);font-size:14px;color:var(--muted)}
body.home-view #home .cp .wrap{display:flex;flex-direction:row;justify-content:space-between;gap:16px;padding-top:18px;padding-bottom:96px}

.fab{display:none}
body.home-view .fab{position:fixed;right:28px;bottom:28px;z-index:30;display:flex;flex-direction:column;align-items:flex-end;gap:10px;border:0;background:none;padding:0;cursor:pointer}
body.home-view #app > .sheet-wrap{top:84px;z-index:35;overflow:hidden;overscroll-behavior:contain}
html:has(body.home-view #app > .sheet-wrap),
body.home-view:has(#app > .sheet-wrap){overflow:hidden}
body.home-view #app > .sheet-wrap > .sheet{
  max-height:100%;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scroll-padding-top:48px;scroll-padding-bottom:16px;
  scrollbar-width:thin;scrollbar-color:#5d7590 transparent}
body.home-view #app > .sheet-wrap > .sheet > *{flex-shrink:0}
body.home-view #app > .sheet-wrap > .sheet::-webkit-scrollbar{width:10px}
body.home-view #app > .sheet-wrap > .sheet::-webkit-scrollbar-thumb{background:#5d7590;border-radius:999px;border:2px solid transparent;background-clip:padding-box}
@media(max-width:720px){body.home-view #app > .sheet-wrap{top:72px}}
body.home-view .fab .bub{position:relative;background:#fff;border:1px solid var(--line);border-radius:16px;padding:10px 16px;font-size:15px;font-weight:500;line-height:1.45;box-shadow:0 6px 18px rgba(8,24,48,.18);max-width:220px;color:var(--ink);white-space:pre-line;text-align:left}
body.home-view .fab .bub::after{content:"";position:absolute;right:30px;bottom:-8px;width:14px;height:14px;background:#fff;border-right:1px solid var(--line);border-bottom:1px solid var(--line);transform:rotate(45deg)}
body.home-view .fab .av{width:80px;height:80px;border-radius:50%;background:#fff;border:3px solid var(--sign);display:grid;place-items:center;box-shadow:0 8px 24px rgba(8,24,48,.28);position:relative}
body.home-view .fab .av img{width:62px;height:62px;object-fit:contain}
body.home-view .fab .av em{position:absolute;bottom:-8px;left:50%;transform:translateX(-50%);background:var(--sign);color:#fff;font-style:normal;font-weight:600;font-size:14px;line-height:1.3;padding:2px 12px;border-radius:999px;white-space:nowrap}
body.home-view.chat-open .fab{display:none}
body.home-view.chat-open #kimChat{display:flex !important;position:fixed;right:28px;bottom:28px;z-index:40;width:500px;height:min(740px,calc(100vh - 40px));flex-direction:column;background:#fff;border-radius:24px;box-shadow:0 18px 52px rgba(8,24,48,.38);overflow:hidden;margin:0}
body.home-view.chat-open #kimChat header{display:flex;align-items:center;gap:12px;padding:14px 16px;background:var(--sign);color:#fff}
body.home-view.chat-open #kimChat header strong{font-size:19px}
body.home-view.chat-open #kimChat .kim-av{width:44px;height:44px;border-radius:50%;object-fit:contain;background:#fff;border:2px solid var(--cy)}
body.home-view.chat-open #kimChat .kim-sub{display:block;font-size:14px;font-weight:500;color:rgba(255,255,255,.92)}
body.home-view.chat-open #kimChat header button{margin-left:auto;width:44px;height:44px;border-radius:12px;background:transparent;color:#fff}
body.home-view:not(.chat-open) #kimChat{display:none !important}

#kimLaunch{top:16px;right:18px;bottom:auto;width:auto;height:68px;padding:0 18px 0 8px;border-radius:999px;border:3px solid #fff;background:#01387A;display:inline-flex;align-items:center;gap:10px}
#kimLaunch[hidden]{display:none !important}
#kimLaunch img{width:52px;height:52px;border-radius:50%;object-fit:contain;background:#fff;flex:none}
#kimLaunch .kim-cap{display:flex;flex-direction:column;align-items:flex-start;color:#fff;line-height:1.25;text-align:left}
#kimLaunch .kim-cap b{font-size:16px;font-weight:700}
#kimLaunch .kim-cap small{font-size:12px;font-weight:500;color:rgba(255,255,255,.92)}
body.kim-mini:not(.kim-collapsed) .kim-launch{box-shadow:0 0 0 4px #00AACC,0 8px 22px rgba(0,0,0,.28)}
.kim-bubble{top:96px;right:24px;bottom:auto}
.kim-bubble::after{top:-7px;bottom:auto;border-width:0 6px 7px;border-color:transparent transparent #ffffffeb}
body.kim-mini .kim-chat.drop-down::after{top:-7px;bottom:auto;border:0;transform:rotate(225deg)}
body.help-open #stage .camera-help{background:rgba(2,30,66,.94);color:#fff}
body.help-open #stage .camera-help .help-line b{color:#9ee4f4}
body.help-open #stage .camera-help kbd{color:#0c2340}

@media(max-width:1100px){
  .util .wrap,.hdr .wrap,body.home-view #home .wrap{padding:0 24px}
  body.home-view .util .wrap,body.home-view .hdr .wrap{padding:0 24px}
  body.home-view .lessons{grid-template-columns:240px 1fr;gap:24px}
  body.home-view .egrid{grid-template-columns:repeat(3,1fr)}
  body.home-view .ec.exp{grid-column:span 3}
  body.home-view .copy-h h1{font-size:40px}
}
@media(max-width:860px){
  body.home-view section.blk{padding-top:48px}
  .mnav a{padding:0 12px;font-size:15px}
  body.home-view .hero-stage{height:min(360px,52vh);min-height:220px}
  body.home-view .scene-shot{height:220px}
  body.home-view .hdr .brand span{display:inline-block;max-width:28vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom}
  body.home-view .hero-stage img{left:0;object-position:center}
  body.home-view .hero-stage::before{background:linear-gradient(180deg,rgba(1,42,92,.97) 0,rgba(1,42,92,.9) 46%,rgba(1,42,92,.2) 78%,rgba(1,42,92,0) 100%)}
  body.home-view .copy-h{left:24px;top:78px;transform:none;width:calc(100% - 48px)}
  body.home-view .copy-h h1{font-size:32px}
  body.home-view .hero-hud.tr{display:none}
  body.home-view .steps{overflow-x:auto}
  body.home-view .steps li{flex:0 0 190px}
  body.home-view .lessons{grid-template-columns:1fr}
  body.home-view .plist{display:flex;overflow-x:auto}
  body.home-view .plist li{flex:0 0 auto}
  body.home-view .plist li+li{border-top:0;border-left:1px solid var(--line)}
  body.home-view .plist button{white-space:nowrap}
  body.home-view .cards{grid-template-columns:1fr}
  body.home-view .egrid{grid-template-columns:repeat(2,1fr)}
  body.home-view .ec.exp{grid-column:span 2}
  body.home-view #home .sos .wrap{flex-wrap:wrap;padding-top:16px;padding-bottom:16px}
  body.home-view .sos h2{width:100%}
  body.home-view #home .site-foot .wrap,body.home-view #home .cp .wrap{grid-template-columns:1fr;flex-direction:column}
  body.home-view.chat-open #kimChat{right:12px;bottom:12px;width:calc(100vw - 24px)}
}
@media(max-width:720px){
  body.home-view{padding-top:72px}
  body.home-view .util .wrap{min-height:32px;padding:0 8px}
  body.home-view .util .acct button{min-height:32px;font-size:13px}
  body.home-view .lang{overflow:auto}
  body.home-view .lang button{min-height:32px;padding:0 8px;font-size:13px}
  body.home-view .lang button+button::before{top:8px;bottom:8px}
  body.home-view .hdr.top{top:32px}
  body.home-view .hdr .wrap{height:40px;padding:0 8px;gap:6px}
  body.home-view .brand{font-size:14px;gap:6px;min-width:0}
  body.home-view .brand i{width:24px;height:24px;font-size:13px}
  body.home-view .hdr .brand span{max-width:34vw}
  body.home-view .mnav{min-width:0;overflow:auto;gap:2px}
  body.home-view .mnav a{height:28px;padding:0 8px;font-size:13px}
  body.home-view #lessons,body.home-view #evaluation,body.home-view #sos,body.home-view #progress{scroll-margin-top:80px}
  body.home-view #home .wrap{padding:0 12px}
  body.home-view .hero{padding:8px 0}
  body.home-view .hero-stage{height:250px;min-height:0;border-radius:16px}
  body.home-view .copy-h{left:16px;top:16px;width:calc(100% - 32px)}
  body.home-view .copy-h h1{font-size:26px}
  body.home-view .copy-h .lede{margin-top:8px;font-size:14px;line-height:1.45}
  body.home-view .band{padding-top:8px}
  body.home-view #home .band .wrap{flex-direction:column;align-items:flex-start;gap:2px;padding-bottom:8px}
  body.home-view .band h2{font-size:18px}
  body.home-view .band .wrap p{font-size:13px}
  body.home-view .steps{gap:8px;padding:0 12px 14px}
  body.home-view .steps li{flex:0 0 auto;min-width:0}
  body.home-view .steps li+li{margin-left:8px}
  body.home-view .steps button{height:auto;min-height:58px;width:auto;min-width:104px;padding:8px 12px;border-radius:12px;clip-path:none}
  body.home-view .steps li:first-child button,body.home-view .steps li:last-child button{padding:8px 12px;clip-path:none}
  body.home-view .steps .nm{font-size:14px}
  body.home-view .steps .sub{font-size:12px;white-space:normal}
  body.home-view section.blk{padding-top:24px}
  body.home-view .hd{margin-bottom:12px;gap:4px}
  body.home-view .hd h2{font-size:20px}
  body.home-view .hd p{font-size:13px}
  body.home-view .plist{display:block;overflow:visible}
  body.home-view .plist li{flex:none}
  body.home-view .plist li+li{border-left:0;border-top:1px solid var(--line)}
  body.home-view .plist button{min-height:48px;padding:6px 12px;white-space:normal}
  body.home-view .plist .nm{font-size:15px}
  body.home-view .ph-head{flex-wrap:wrap;gap:8px;margin-bottom:12px}
  body.home-view .ph-head h3{font-size:20px}
  body.home-view .ph-head .meta{margin-left:0;width:100%}
  body.home-view .track{flex:1;width:auto}
  body.home-view .cards{gap:10px}
  body.home-view .lc{min-height:0;padding:14px 14px;gap:4px}
  body.home-view .lc.on{padding:13px}
  body.home-view .lc h4{font-size:17px}
  body.home-view .lc .pl{font-size:13px}
  body.home-view .scene-shot{height:180px;margin-top:12px;border-radius:16px}
  body.home-view .egrid{grid-template-columns:1fr;gap:10px}
  body.home-view .ec{grid-column:auto;min-height:0;padding:16px}
  body.home-view .ec.exp{grid-column:auto;min-height:0;padding:0;grid-template-columns:1fr}
  body.home-view .ec.exp .txt{padding:20px}
  body.home-view .ec.exp .mascot{order:-1;min-height:0;height:170px}
  body.home-view .ec.exp .mascot img{object-position:50% 38%}
  body.home-view .ec h3,body.home-view .ec.exp h3{font-size:18px}
  body.home-view .ec .state{min-height:0}
  body.home-view .ec.exp .big b{font-size:28px}
  body.home-view .ec.exp .big span{font-size:16px}
  body.home-view .sos h2{font-size:18px}
  body.home-view .sos a{min-height:44px}
  body.home-view .sos a b{font-size:24px}
  body.home-view #home .cp .wrap{padding-bottom:108px}
  body.home-view .fab{right:12px;bottom:12px}
  body.home-view .fab .av{width:60px;height:60px}
  body.home-view .fab .av img{width:46px;height:46px}
  body.home-view .fab .bub{max-width:168px;font-size:13px;padding:8px 12px}
  body.home-view.chat-open #kimChat{right:8px;bottom:8px;width:calc(100vw - 16px);height:min(68vh,560px);border-radius:18px}
}
@media(max-width:520px){
  .lang button{padding:0 8px;font-size:14px}
  .util .acct span{display:none}
  body.home-view .egrid,body.home-view .ec.exp{grid-column:auto}
  body.home-view .egrid{grid-template-columns:1fr}
  body:not(.home-view) .brand{font-size:0;gap:0}
  .mnav a{padding:0 10px}
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){--bg:#f3f6f9;--surface:#fff;--ink:#0c2340;--muted:#475a73;--line:#d4dde8;--sign:#01387A;--sign-ink:#fff;--scene:#dfe6ee;--screen:#f7fafc;color-scheme:light}}
:root[data-theme="dark"]{--bg:#f3f6f9;--surface:#fff;--ink:#0c2340;--muted:#475a73;--line:#d4dde8;--sign:#01387A;--sign-ink:#fff;--scene:#dfe6ee;--screen:#f7fafc;color-scheme:light}
@media(max-width:720px){
  body.home-view #kimLaunch{top:auto;bottom:max(16px,env(safe-area-inset-bottom));right:max(12px,env(safe-area-inset-right));height:56px;padding:0 14px 0 6px}
  body.home-view #kimLaunch .kim-cap small{display:none}
  body.home-view .kim-bubble{top:auto;right:max(16px,env(safe-area-inset-right));bottom:max(84px,calc(env(safe-area-inset-bottom) + 72px))}
  body.home-view .kim-bubble::after{top:auto;bottom:-6px;border-width:7px 6px 0;border-color:#ffffffeb transparent transparent}
}

/* Simulation chrome from main-sim.html. Home keeps the rules above. */
.lsel{display:none}
body:not(.home-view):has(#stage:not([hidden])) .util{display:none}
body:not(.home-view) .hdr.top{min-height:0;overflow:visible}
body:not(.home-view) .hdr .wrap{height:64px;max-width:none;padding:0 64px 0 16px;overflow:visible}
body:not(.home-view) .brand{font-size:16px;gap:8px;line-height:1.2}
body:not(.home-view) .brand i{width:28px;height:28px;font-size:14px}
body:not(.home-view) #nowTitle{display:flex;align-items:center;gap:8px;margin:0 0 0 8px;padding:0;border:0;max-width:none;font-size:16px;line-height:1.2;font-weight:600;color:var(--ink)}
body:not(.home-view) #nowTitle::before{content:"";width:1px;height:16px;background:var(--line-2);margin-right:10px}
body:not(.home-view) #nowTitle b{color:var(--sign);font-weight:700;margin-right:4px}
body:not(.home-view) #modeChip{display:none !important}
body:not(.home-view):has(#stage:not([hidden])) .lsel{display:inline-flex;position:relative;align-items:center;margin-left:auto}
body:not(.home-view) .lang-face{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 14px 0 16px;border:1px solid var(--line-2);border-radius:12px;background:#fff;color:var(--ink);box-shadow:none;font:500 16px/1 'IBM Plex Sans KR',sans-serif;cursor:pointer}
body:not(.home-view) .lang-face .ico{width:18px;height:18px;color:var(--ink)}
body:not(.home-view) .lang-face .chev{transition:transform .15s ease}
body:not(.home-view) .lang-face[aria-expanded="true"]{border-color:var(--sign);box-shadow:0 0 0 3px rgba(1,56,122,.16)}
body:not(.home-view) .lang-face[aria-expanded="true"] .chev{transform:rotate(180deg)}
body:not(.home-view) .lang-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:30;min-width:100%;margin:0;padding:6px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 12px 32px rgba(8,24,48,.18);display:grid;gap:2px}
body:not(.home-view) .lang-menu[hidden]{display:none}
body:not(.home-view) .lang-menu button{display:flex;align-items:center;width:100%;min-height:40px;margin:0;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--ink);font:500 15px/1 'IBM Plex Sans KR',sans-serif;text-align:left;white-space:nowrap;cursor:pointer}
body:not(.home-view) .lang-menu button:hover{background:#f1f5f9}
body:not(.home-view) .lang-menu button[aria-selected="true"]{background:var(--sign-soft);color:var(--sign-d);font-weight:700}
body:not(.home-view) #endBtn{position:fixed;top:12px;right:12px;z-index:40;width:40px;height:40px;padding:0;border:0;border-radius:12px;background:transparent;box-shadow:none;color:var(--ink);display:grid;place-items:center}
body:not(.home-view) #endBtn .ico{width:20px;height:20px;stroke-width:2.2}
body:not(.home-view) #endBtn:hover{background:#eaf0f6}
body:not(.home-view) #helpBtn{display:none}

body:not(.home-view) #stage .loc-cluster{position:absolute;top:16px;left:24px;right:auto;z-index:6;display:flex;align-items:stretch;gap:8px;height:56px;max-width:calc(100% - 520px);pointer-events:none}
body:not(.home-view) #stage .scene-caption{position:relative;top:auto;left:auto;right:auto;z-index:1;display:flex;align-items:stretch;flex:1 1 auto;min-width:0;height:100%;gap:0;padding:0;border:0;border-radius:16px;background:rgba(255,255,255,.96);box-shadow:0 4px 16px rgba(0,0,0,.18);color:var(--ink);font-size:17px;pointer-events:auto;max-width:none}
body:not(.home-view) #stage .scene-caption .where{display:flex;align-items:center;gap:10px;padding:0 18px;font-weight:700;font-size:18px;white-space:nowrap}
body:not(.home-view) #stage .scene-caption .where .ico{width:20px;height:20px;stroke:var(--sign);fill:none}
body:not(.home-view) #stage .scene-caption .what{display:flex;align-items:center;gap:12px;min-width:0;padding:0 8px 0 18px;border-left:1px solid var(--line);font-weight:600}
body:not(.home-view) #stage .scene-caption .what b{color:var(--sign);font-weight:700}
body:not(.home-view) #locTitle{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body:not(.home-view) #lessonSwap{width:56px;display:grid;place-items:center;border:0;border-left:1px solid var(--line);border-radius:0 16px 16px 0;background:transparent;color:var(--ink);flex:none}
body:not(.home-view) #lessonSwap .ico{width:24px;height:24px;stroke-width:2.2}
body:not(.home-view) #lessonSwap[aria-expanded="true"]{background:var(--sign-soft);color:var(--sign-d)}
body:not(.home-view) #lessonSwap[aria-expanded="true"] .ico{transform:rotate(180deg)}
body:not(.home-view) #driveActions{position:absolute;left:50%;bottom:calc(100% + 14px);z-index:7;display:flex;align-items:center;gap:8px;transform:translateX(-50%);pointer-events:none}
body:not(.home-view) #driveActions>*{pointer-events:auto}
body:not(.home-view) #autoWalk{position:relative;left:auto;bottom:auto;z-index:7;display:inline-flex;align-items:center;justify-content:center;min-height:46px;margin:0;padding:0 22px;border:3px solid #ffd000;border-radius:14px;background:#01387A;color:#fff;font:700 16px/1 'IBM Plex Sans KR',sans-serif;white-space:nowrap;cursor:pointer;transform:none;animation:autoWalkRim 1.35s ease-in-out infinite}
body:not(.home-view) #driveExit{display:inline-flex;align-items:center;justify-content:center;min-height:46px;margin:0;padding:0 18px;border:3px solid #fff;border-radius:14px;background:#ffc83d;color:#3a2c08;font:700 16px/1 'IBM Plex Sans KR',sans-serif;white-space:nowrap;cursor:pointer;box-shadow:0 8px 18px rgba(0,0,0,.22)}
body:not(.home-view) #driveExit[hidden]{display:none !important}
body:not(.home-view) #driveExit:active{transform:translateY(2px)}
body:not(.home-view) #autoWalk[hidden]{display:none !important}
body:not(.home-view) #autoWalk.going{width:44px;height:44px;min-height:44px;padding:0;border-radius:12px;background:#01387A;border-color:#ffd000;animation:none;box-shadow:0 0 0 3px rgba(255,208,0,.28),0 8px 18px rgba(0,0,0,.22)}
body.skill-auto #driveActions{z-index:46}
body.skill-auto #autoWalk.going.stop{width:auto;min-width:220px;height:auto;min-height:64px;padding:0 28px;border:4px solid #fff;border-radius:18px;background:#c62828;color:#fff;font-size:20px;animation:none;box-shadow:0 0 0 6px rgba(198,40,40,.38),0 12px 28px rgba(0,0,0,.32)}
body:not(.home-view) #autoWalk .spin{width:26px;height:26px;display:block;transform-origin:50% 50%;animation:autoWalkTurn 1.15s linear infinite}
@keyframes autoWalkRim{
  0%,100%{box-shadow:0 0 0 0 rgba(255,208,0,.7),0 8px 18px rgba(0,0,0,.22)}
  50%{box-shadow:0 0 0 8px rgba(255,208,0,0),0 8px 18px rgba(0,0,0,.22)}
}
@keyframes autoWalkTurn{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){body:not(.home-view) #autoWalk .spin{animation:none}}
body:not(.home-view) #locEnd{display:inline-flex;align-items:center;justify-content:center;align-self:stretch;flex:none;margin:0;padding:0 18px;border:0;border-radius:16px;background:#f47a1f;color:#fff;box-shadow:0 4px 16px rgba(0,0,0,.18);font:700 15px/1 'IBM Plex Sans KR',sans-serif;white-space:nowrap;pointer-events:auto;cursor:pointer}
body:not(.home-view) #locEnd:hover{background:#de6810}
body:not(.home-view) #lessonPane{position:absolute;left:24px;top:84px;z-index:8;width:min(480px,calc(100% - 48px));background:#fff;border-radius:16px;box-shadow:0 16px 48px rgba(0,0,0,.36);overflow:hidden}
body:not(.home-view) #lessonPane[hidden]{display:none}
body:not(.home-view) #lessonPane .list{list-style:none;margin:0;padding:8px 10px}
body:not(.home-view) #lessonPane .row{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:8px;align-items:center;width:100%;min-height:48px;margin:0;padding:6px 10px;border:0;border-radius:12px;background:transparent;text-align:left;color:inherit}
body:not(.home-view) #lessonPane .row+.row{margin-top:2px}
body:not(.home-view) #lessonPane .row:hover{background:#f1f5f9}
body:not(.home-view) #lessonPane .no{font-weight:700;font-size:13px;color:var(--sign)}
body:not(.home-view) #lessonPane .row b{display:block;font-size:15px;font-weight:600;line-height:1.3}
body:not(.home-view) #lessonPane .pl{display:block;font-size:12px;color:var(--muted);font-weight:500}
body:not(.home-view) #lessonPane .row.now{margin:0;background:var(--sign-soft);box-shadow:inset 0 0 0 2px var(--sign)}
body:not(.home-view) #lessonPane .tag{font-size:12px;font-weight:600;padding:3px 8px;border-radius:999px;background:var(--sign);color:#fff;white-space:nowrap}
body:not(.home-view) #lessonPane .tag.g{background:#e7ecf1;color:var(--muted)}

body:not(.home-view) #simCorner{position:absolute;top:12px;right:24px;z-index:6;display:flex;align-items:center;gap:8px;pointer-events:none}
body:not(.home-view) #simCorner>.hud{position:static;top:auto;right:auto;left:auto;width:max-content;max-width:none;margin:0;justify-content:flex-end;pointer-events:none}
body:not(.home-view) #simCorner>#kimLaunch{position:static;top:auto;right:auto;bottom:auto;left:auto;pointer-events:auto}
body:not(.home-view) #stage .hud .h{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:6px 16px;border-radius:999px;border:0;background:rgba(255,255,255,.92);color:var(--ink);box-shadow:0 2px 10px rgba(0,0,0,.14);font:600 16px/1.2 'IBM Plex Sans KR',sans-serif}
body:not(.home-view) #stage .hud .h .ico{width:20px;height:20px;color:var(--muted)}
body:not(.home-view) #stage .hud .h b{font-family:var(--f-mono);font-weight:600;font-size:17px}
body:not(.home-view) #stage .hud #hStep{background:rgba(255,255,255,.92);color:var(--ink)}
body:not(.home-view) #stage .hud #hStep .ico,body:not(.home-view) #stage .hud #hStep b{color:var(--sign)}
body.is-admin:not(.home-view) #stage .ins:has(#stepJumpBar:not([hidden]))::after{content:none}
body:not(.home-view) #stepJumpBar{position:absolute;left:26px;top:-46px;z-index:7;display:flex;align-items:center;gap:8px;pointer-events:auto}
#stage.floor-sheet #stepJumpBar{visibility:visible;z-index:40}
body:not(.home-view) #stepJumpBar[hidden]{display:none !important}
body:not(.home-view) #stepBadge{display:inline-flex;align-items:center;height:28px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--sign);font:700 13px/1 'IBM Plex Sans KR',sans-serif;letter-spacing:.04em;white-space:nowrap}
body:not(.home-view) #stage .step-jump{pointer-events:auto;display:inline-flex;align-items:center;gap:2px;height:28px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--sign);font:700 13px/1 'IBM Plex Sans KR',sans-serif;cursor:pointer}
body:not(.home-view) #stage .step-jump[hidden]{display:none}
body:not(.home-view) #stage .step-jump:disabled{opacity:.38;cursor:default}
body:not(.home-view) #stage .step-jump:not(:disabled):hover{background:var(--sign-soft)}
body:not(.home-view) .kim-bubble{display:none !important}

body:not(.home-view) #stage .dock{padding:0 440px 28px 24px;justify-content:center;z-index:6}
body:not(.home-view) #stage .ins{flex-direction:column;align-items:stretch;gap:0;width:min(1000px,100%);max-width:1000px;padding:18px 32px 22px;border:0;border-radius:24px;background:rgba(255,255,255,.98);box-shadow:0 12px 36px rgba(0,0,0,.3)}
body:not(.home-view) #stage .q-h{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700;color:var(--sign)}
body:not(.home-view) #stage .q-h .ico{width:18px;height:18px}
body:not(.home-view) #taskEdit{margin-left:auto;border:1px solid var(--line-2);background:#fff;color:var(--sign);border-radius:999px;padding:5px 12px;font:700 13px/1 'IBM Plex Sans KR',sans-serif;cursor:pointer}
body:not(.home-view) #taskEdit:hover{background:var(--sign-soft)}
body:not(.home-view) #taskEdit[hidden]{display:none}
.task-edit-panel{position:absolute;z-index:9;display:grid;gap:8px;padding:16px 16px 14px;border-radius:16px;background:#fff;box-shadow:0 16px 40px rgba(8,24,48,.28);color:var(--ink)}
.task-edit-panel[hidden]{display:none !important}
.task-edit-panel h3{margin:0;font-size:16px;font-weight:700}
.task-edit-panel .sub{margin:0;font-size:13px;color:var(--muted);font-weight:500}
.task-edit-panel label{display:grid;gap:6px;font-size:12px;font-weight:700;color:var(--muted)}
.task-edit-panel textarea{width:100%;min-height:72px;border:1px solid var(--line);border-radius:12px;padding:10px 12px;font:500 15px/1.45 'IBM Plex Sans KR',sans-serif;color:var(--ink);background:#fff;resize:vertical}
.task-edit-panel textarea#taskEditKo{min-height:88px}
.task-edit-panel .row{display:flex;justify-content:flex-end;gap:8px}
.task-edit-panel .row button{min-height:36px;padding:0 14px;border-radius:10px;border:1px solid var(--line);background:#fff;color:var(--ink);font:700 14px/1 'IBM Plex Sans KR',sans-serif;cursor:pointer}
.task-edit-panel .row button.pri{background:var(--sign);color:#fff;border-color:var(--sign)}
.task-edit-panel .admin-note{margin:0;color:#8d3a30;font-size:13px;font-weight:600}
body:not(.home-view) #stage .ins .ko{margin-top:6px;font-size:21px;font-weight:500;line-height:1.65;letter-spacing:-.005em}
body:not(.home-view) #stage .ins .btn{align-self:flex-end;margin-top:12px}
body:not(.home-view) #stage .bar{display:none}
body:not(.home-view) #segs{display:flex;gap:6px;margin-top:14px}
body:not(.home-view) #segs i{flex:1;height:8px;border-radius:4px;background:#d9e3ee}
body:not(.home-view) #segs i.on,body:not(.home-view) #segs i.cur{background:#00AACC}

body:not(.home-view) #stage .phone-launch{flex-direction:row;align-items:center;gap:16px;width:auto;color:var(--ink)}
body:not(.home-view) #stage .phone-launch .glyph{width:84px;height:84px;border-radius:24px;border:3px solid var(--sign);background:#fff;box-shadow:0 8px 20px rgba(0,0,0,.32);display:grid;place-items:center;color:var(--sign);position:relative}
body:not(.home-view) #stage .phone-launch .glyph::before{content:none}
body:not(.home-view) #stage .phone-launch .bezel{width:36px;height:62px;padding:5px 4px 4px;border-radius:10px;background:#111;box-shadow:inset 0 0 0 2px #3a3a3c}
body:not(.home-view) #stage .phone-launch .notch{width:14px;height:3px;border-radius:2px;background:#2a2a2c}
body:not(.home-view) #stage .phone-launch .glass{margin-top:4px;border-radius:4px;background:#dff6ea}
body:not(.home-view) #stage .phone-launch .home{width:8px;height:8px;margin-top:4px;border-width:1.5px;border-color:#5a5a5e}
body:not(.home-view) #stage .phone-launch .dot{position:absolute;right:-10px;top:-10px;width:28px;height:28px;border-radius:50%;background:#d92d20;color:#fff;border:3px solid #fff;display:grid;place-items:center;font-weight:700;font-size:16px;line-height:1}
body:not(.home-view) #stage .phone-launch .cap{display:none}
body:not(.home-view) #stage .ins .ko-row{display:flex;align-items:center;gap:14px;margin-top:6px}
body:not(.home-view) #stage .ins .ko-row .ko{flex:1 1 auto;min-width:0;margin-top:0}
body:not(.home-view) #stage .ins .phone-launch{position:relative;left:auto;right:auto;top:auto;bottom:auto;transform:none;flex:none;align-self:center;margin:0;z-index:2}
body:not(.home-view) #stage .ins .phone-launch[hidden]{display:none}
body:not(.home-view) #stage .ins .hint{display:flex;align-items:center;gap:8px;margin:10px 0 0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:#3d5166;font-family:'IBM Plex Sans KR','Noto Sans SC','Noto Sans',sans-serif;font-size:14px;font-weight:500;line-height:1.45}
body:not(.home-view) #stage .ins .hint::before{content:"";width:6px;height:6px;border-radius:50%;background:#00AACC;flex:none}

body:not(.home-view) #stage .camera-help{display:flex;pointer-events:auto;top:auto;bottom:24px;right:24px;left:auto;width:min(392px,calc(100% - 48px));max-width:none;margin:0;padding:6px 18px 16px;border-radius:18px;background:rgba(2,30,66,.92);color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.28);z-index:6;text-align:left}
body:not(.home-view):not(.help-open) #stage .camera-help{width:auto;padding-bottom:6px}
body:not(.home-view):not(.help-open) #stage .camera-help .help-line{display:none}
body:not(.home-view) #stage .camera-help .kh{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}
body:not(.home-view) #stage .camera-help h2{display:flex;align-items:center;gap:8px;margin:0;font-size:15px;font-weight:600;color:rgba(255,255,255,.92)}
body:not(.home-view) #stage .camera-help h2 .ico{width:20px;height:20px}
body:not(.home-view) #stage .camera-help .sw{display:inline-flex;align-items:center;gap:10px;min-height:44px;border:0;background:transparent;color:rgba(255,255,255,.92);font-size:14px;font-weight:600}
body:not(.home-view) #stage .camera-help .sw i{position:relative;width:46px;height:26px;border-radius:13px;background:#6b7f99}
body:not(.home-view) #stage .camera-help .sw i::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff}
body:not(.home-view) #stage .camera-help .sw[aria-checked="true"] i{background:#00AACC}
body:not(.home-view) #stage .camera-help .sw[aria-checked="true"] i::after{left:23px}
body:not(.home-view) #stage .camera-help .help-line{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;min-height:36px}
body:not(.home-view) #stage .camera-help .help-line b{color:rgba(255,255,255,.92);font-size:16px;font-weight:600}
body:not(.home-view) #stage .camera-help kbd{min-width:36px;height:36px;padding:0 8px;border:0;border-radius:8px;background:#fff;color:var(--ink);box-shadow:0 2px 0 #aab8c8;font-size:16px;font-weight:600}
body:not(.home-view) #stage .camera-help kbd.wide{width:auto;padding:0 12px;font-family:'IBM Plex Sans KR',sans-serif;font-size:14px;font-weight:600;white-space:nowrap}
body.card-intro #stage.floor-sheet>.camera-help{visibility:visible;z-index:7}
body:not(.home-view) .sheet-wrap.floor .sheet.brief{display:flex;flex-direction:column;align-items:stretch;width:min(640px,calc(100% - 48px));max-width:640px;max-height:min(70vh,520px);margin:0 auto 20px;padding:16px 20px;gap:0;border:0;border-radius:20px;background:rgba(255,255,255,.98);box-shadow:0 14px 44px rgba(0,0,0,.34);color:var(--ink);font-family:'IBM Plex Sans KR','Noto Sans SC','Noto Sans',sans-serif}
body:not(.home-view) .sheet-wrap.floor .sheet.brief>h3{margin:0;padding:0;min-height:auto;flex:none;position:static;display:flex;align-items:center;gap:8px;background:none;box-shadow:none;color:var(--ink);font-family:inherit;font-size:20px;font-weight:700;letter-spacing:-.015em;line-height:1.3;text-shadow:none}
body:not(.home-view) .sheet-wrap.floor .sheet.brief>h3::before{content:"";position:static;left:auto;top:auto;width:14px;height:14px;margin:0;flex:none;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);background:var(--sign);filter:none}
body:not(.home-view) .sheet-wrap.floor .sheet.brief .sub{flex:none;margin:4px 0 0;padding:0;align-self:stretch;border-radius:0;background:none;color:#3d5166;font-size:14px;font-weight:400;line-height:1.45}
body:not(.home-view) .sheet-wrap.floor .sheet.brief .sumrow{flex:none;display:grid;grid-template-columns:36px minmax(0,1fr) 36px;gap:8px;align-items:center;margin-top:10px}
body:not(.home-view) .sheet-wrap.floor .sheet.brief .arw{width:36px;height:36px;padding:0;border-radius:50%;border:1.5px solid var(--line-2);background:#fff;color:var(--ink);display:grid;place-items:center;box-shadow:0 2px 6px rgba(0,0,0,.12)}
body:not(.home-view) .sheet-wrap.floor .sheet.brief .arw .ico{width:18px;height:18px;stroke-width:2.4}
body:not(.home-view) .sheet-wrap.floor .sheet.brief .arw:disabled{opacity:.35;cursor:default}
body:not(.home-view) .sheet-wrap.floor .sheet.brief .sum{border:1px solid #bfe6ef;border-radius:14px;background:linear-gradient(180deg,#e9f8fc,#dcf3f8);box-shadow:none;padding:10px 14px 12px;gap:0}
body:not(.home-view) .sheet-wrap.floor .sheet.brief .sum-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
body:not(.home-view) .sheet-wrap.floor .sheet.brief .sum .admin-edit{margin-top:0;flex:none}
body:not(.home-view) .sheet-wrap.floor .sheet.brief.admin-editing{overflow:auto;max-height:min(78vh,680px)}
body:not(.home-view) .sheet-wrap.floor .sheet.brief .sum .k{position:static;align-self:flex-start;display:inline-block;margin:0;padding:2px 10px;border:0;border-radius:999px;background:#fff;color:var(--sign-d)!important;font:600 12px/1.4 'IBM Plex Sans KR',sans-serif!important;letter-spacing:0;box-shadow:none;text-shadow:none}
body:not(.home-view) .sheet-wrap.floor .sheet.brief .sum h4{margin:6px 0 0;font-family:inherit;font-size:16px;font-weight:700;letter-spacing:-.02em;color:var(--ink)}
body:not(.home-view) .sheet-wrap.floor .sheet.brief .sum ul{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:4px}
body:not(.home-view) .sheet-wrap.floor .sheet.brief .sum li{display:flex;gap:8px;align-items:baseline;position:static;padding:0;font-size:14px;line-height:1.45;color:var(--ink)}
body:not(.home-view) .sheet-wrap.floor .sheet.brief .sum li::before{content:"";position:static;left:auto;top:auto;width:7px;height:7px;margin:0;border-radius:50%;background:#00AACC;box-shadow:none;flex:none;transform:translateY(-1px)}
body:not(.home-view) .sheet-wrap.floor .sheet.brief .cfoot{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;padding-left:44px}
body:not(.home-view) .sheet-wrap.floor .sheet.brief .cfoot .dots{justify-content:flex-start;gap:6px}
body:not(.home-view) .sheet-wrap.floor .sheet.brief .dots i{width:8px;height:8px;border-radius:50%;background:#c6d3e0}
body:not(.home-view) .sheet-wrap.floor .sheet.brief .dots i.on{width:22px;border-radius:4px;background:#00AACC}
body:not(.home-view) .sheet-wrap.floor .sheet.brief .go{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 18px;border:0;border-radius:12px;background:var(--sign);color:#fff;font-family:inherit;font-size:15px;font-weight:700;box-shadow:0 6px 16px rgba(0,0,0,.28)}
body:not(.home-view) .sheet-wrap.floor .sheet.brief .go.practical{background:#e23d3d;color:#fff;transition:transform .16s ease}
body:not(.home-view) .sheet-wrap.floor .sheet.brief .go.practical:hover{background:#e23d3d;transform:scale(1.045)}
body:not(.home-view) .sheet-wrap.floor .sheet.brief .go .ico{width:16px;height:16px;fill:currentColor;stroke:none}
body:not(.home-view) .sheet-wrap.floor .sheet.brief .go:hover{background:var(--sign-d)}
@media(max-width:1640px){
  body.card-intro.help-open .sheet-wrap.floor{padding-right:432px}
}

@media(max-width:1100px){
  body:not(.home-view) #stage .loc-cluster{left:8px;right:8px;top:8px;max-width:none}
  body:not(.home-view) #simCorner{top:72px;right:8px}
  body:not(.home-view) #stage .dock{padding-right:24px}
  body:not(.home-view).help-open #stage .dock{padding-right:384px}
  body:not(.home-view) #stage .ins{width:min(1000px,100%)}
  body:not(.home-view) #stage .camera-help{left:auto;right:12px;bottom:12px;width:min(360px,calc(100% - 24px))}
}
@media(max-width:720px){
  body:not(.home-view) .hdr .wrap{height:48px;padding:0 48px 0 12px}
  body:not(.home-view) .lang-face{height:36px;padding:0 10px 0 12px;font-size:14px}
  body:not(.home-view) #endBtn{top:6px;right:6px;width:36px;height:36px}
  body:not(.home-view) .brand{font-size:0;gap:0}
  body:not(.home-view) .brand i{width:28px;height:28px;font-size:14px}
  body:not(.home-view) #nowTitle{font-size:15px;line-height:1.2;white-space:nowrap}
  body:not(.home-view) #stage .ins{padding:12px 14px 14px}
  body:not(.home-view) #stage .ins .ko{font-size:16px}
  body:not(.home-view) #stage .ins .hint{margin-top:6px;font-size:13px}
  body:not(.home-view) #simCorner{top:56px;right:8px;gap:6px}
  body:not(.home-view) #kimLaunch{height:44px;padding:0 10px 0 4px}
  body:not(.home-view) #kimLaunch img{width:36px;height:36px}
  body:not(.home-view) #kimLaunch .kim-cap b{font-size:13px}
  body:not(.home-view) #kimLaunch .kim-cap small{display:none}
}

body:not(.home-view) #stage .ins::before{content:none;display:none}
body:not(.home-view) .sheet-wrap.floor .sheet{scrollbar-width:none;-ms-overflow-style:none}
body:not(.home-view) .sheet-wrap.floor .sheet::-webkit-scrollbar{width:0;height:0;display:none}

/* Phone and tablet simulation. The header is the desktop nav, so it stays off while a lesson is open. */
body.sim-mobile .hdr.top{display:none}
body.sim-mobile #endBtn{display:none !important}
body.sim-mobile #stage .loc-cluster{top:8px;left:8px;right:auto;height:40px;max-width:calc(100% - 230px);gap:6px}
body.sim-mobile #stage .scene-caption{height:100%;border-radius:12px;font-size:13px}
body.sim-mobile #stage .scene-caption .where{gap:6px;padding:0 10px;font-size:13px}
body.sim-mobile #stage .scene-caption .where .ico{width:16px;height:16px}
body.sim-mobile #stage .scene-caption .where span{overflow:hidden;text-overflow:ellipsis;max-width:34vw}
body.sim-mobile #stage .scene-caption .what{gap:6px;padding:0 6px 0 10px;font-size:13px}
body.sim-mobile #locTitle{max-width:28vw}
body.sim-mobile #lessonSwap{width:36px;border-radius:0 12px 12px 0}
body.sim-mobile #lessonSwap .ico{width:18px;height:18px}
body.sim-mobile #driveActions{bottom:calc(100% + 8px)}
body.sim-mobile #autoWalk{min-height:36px;padding:0 14px;border-radius:12px;font-size:13px}
body.sim-mobile #driveExit{min-height:36px;padding:0 12px;border-radius:12px;font-size:13px;border-width:2px}
body.sim-mobile #autoWalk.going{width:36px;height:36px;min-height:36px}
body.sim-mobile #locEnd{padding:0 12px;border-radius:12px;font-size:12px}
body.sim-mobile #lessonPane{left:8px;top:52px;width:min(420px,calc(100% - 16px));border-radius:14px}
body.sim-mobile #lessonPane .row{min-height:40px;grid-template-columns:36px minmax(0,1fr) auto;gap:6px;padding:4px 8px}
body.sim-mobile #lessonPane .no{font-size:12px}
body.sim-mobile #lessonPane .row b{font-size:13px}
body.sim-mobile #lessonPane .pl{font-size:11px}
body.sim-mobile #lessonPane .tag{font-size:11px;padding:2px 7px}
body.sim-mobile #simCorner{top:8px;right:8px;gap:6px}
body.sim-mobile #simCorner>#kimLaunch{width:auto;height:40px;padding:0 10px 0 4px;gap:6px;border-width:2px;border-radius:999px;overflow:visible;right:auto;bottom:auto}
body.sim-mobile #kimLaunch img{width:32px;height:32px}
body.sim-mobile #kimLaunch .kim-cap b{font-size:12px}
body.sim-mobile #kimLaunch .kim-cap small{display:none}
body.sim-mobile #stage .hud .h{min-height:32px;padding:3px 10px;font-size:12px;gap:4px}
body.sim-mobile #stage .hud .h .ico{width:14px;height:14px}
body.sim-mobile #stage .hud .h b{font-size:13px}
body.sim-mobile #stage .camera-help,
body.sim-mobile.help-open #stage .camera-help,
body.touch-phone.help-open #stage .camera-help{top:auto;left:auto;right:8px;bottom:8px;width:min(260px,calc(100% - 16px));max-height:46vh;overflow:auto;padding:4px 12px 8px;border-radius:14px}
body.sim-mobile #stage .camera-help h2{font-size:13px}
body.sim-mobile #stage .camera-help .sw{min-height:32px;font-size:12px}
body.sim-mobile #stage .camera-help .help-line{min-height:28px}
body.sim-mobile #stage .camera-help .help-line b{font-size:13px}
body.sim-mobile #stage .camera-help kbd{min-width:28px;height:28px;font-size:13px}
body.sim-mobile #stage .camera-help kbd.wide{font-size:11px;padding:0 8px}
body.sim-mobile.card-intro #stage.floor-sheet>.camera-help{visibility:hidden}
body.sim-mobile .sheet-wrap.floor:not(.phone-center) .sheet.brief{width:min(520px,calc(100% - 16px));max-width:calc(100% - 16px);margin:0 auto 8px;padding:12px 12px;border-radius:16px}
body.sim-mobile .sheet-wrap.floor .sheet.brief>h3{font-size:16px;gap:6px}
body.sim-mobile .sheet-wrap.floor .sheet.brief>h3::before{width:12px;height:12px}
body.sim-mobile .sheet-wrap.floor .sheet.brief .sub{font-size:12px}
body.sim-mobile .sheet-wrap.floor .sheet.brief .sumrow{grid-template-columns:32px minmax(0,1fr) 32px;gap:6px;margin-top:8px}
body.sim-mobile .sheet-wrap.floor .sheet.brief .arw{width:32px;height:32px}
body.sim-mobile .sheet-wrap.floor .sheet.brief .arw .ico{width:16px;height:16px}
body.sim-mobile .sheet-wrap.floor .sheet.brief .sum{padding:8px 10px;border-radius:12px}
body.sim-mobile .sheet-wrap.floor .sheet.brief .sum .k{font-size:11px !important;padding:2px 8px}
body.sim-mobile .sheet-wrap.floor .sheet.brief .sum h4{font-size:14px;margin-top:4px}
body.sim-mobile .sheet-wrap.floor .sheet.brief .sum li{font-size:12px;line-height:1.4;gap:6px}
body.sim-mobile .sheet-wrap.floor .sheet.brief .cfoot{margin-top:8px;padding-left:38px}
body.sim-mobile .sheet-wrap.floor .sheet.brief .go{min-height:36px;padding:0 12px;font-size:13px;border-radius:10px}
body.sim-mobile .sheet-wrap.floor .sheet.brief .go .ico{width:14px;height:14px}
body.sim-mobile #stage .ins{width:min(100%,calc(100% - 120px));max-width:calc(100% - 120px);padding:10px 12px 12px;border-radius:16px}
body.sim-mobile #stage .q-h{font-size:12px}
body.sim-mobile #stage .ins .ko{font-size:14px;line-height:1.4}
body.sim-mobile #stage .phone-launch .glyph{width:56px;height:56px;border-radius:16px;border-width:2px}
body.sim-mobile #stage .phone-launch .bezel{width:26px;height:44px;padding:3px 3px 3px;border-radius:8px}
body.sim-mobile #stage .phone-launch .notch{width:10px;height:2px}
body.sim-mobile #stage .phone-launch .home{width:6px;height:6px;margin-top:2px}
body.sim-mobile #stage .dock{padding:0 12px 10px}

/* Phone landscape: keep chrome small enough that the room stays visible. */
body.sim-mobile #stage .loc-cluster{top:max(6px,env(safe-area-inset-top));left:max(6px,env(safe-area-inset-left));right:auto;height:32px;max-width:calc(100% - min(360px,52vw));min-width:0;gap:4px;z-index:6}
body.sim-mobile #stage .scene-caption{min-width:0;border-radius:10px;font-size:11px}
body.sim-mobile #stage .scene-caption .where{min-width:0;gap:4px;padding:0 8px;font-size:11px}
body.sim-mobile #stage .scene-caption .where .ico{width:13px;height:13px}
body.sim-mobile #stage .scene-caption .where span,
body.sim-mobile #locTitle{display:block;max-width:16vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.sim-mobile #stage .scene-caption .what{min-width:0;gap:4px;padding:0 4px 0 8px;font-size:11px}
body.sim-mobile #locTitle{max-width:14vw}
body.sim-mobile #lessonSwap{width:28px;border-radius:0 10px 10px 0}
body.sim-mobile #lessonSwap .ico{width:14px;height:14px}
body.sim-mobile #driveActions{bottom:calc(100% + 6px);gap:6px}
body.sim-mobile #autoWalk{min-height:32px;padding:0 12px;border-width:2px;border-radius:10px;font-size:12px}
body.sim-mobile #driveExit{min-height:32px;padding:0 10px;border-width:2px;border-radius:10px;font-size:12px}
body.sim-mobile #autoWalk.going{width:32px;height:32px;min-height:32px}
body.sim-mobile #autoWalk .spin{width:16px;height:16px}
body.sim-mobile #locEnd{padding:0 8px;border-radius:10px;font-size:11px;box-shadow:0 2px 8px rgba(0,0,0,.18)}
body.sim-mobile #lessonPane{left:6px;top:40px;width:min(320px,calc(100% - 12px))}
body.sim-mobile #lessonPane .row{min-height:34px;padding:3px 6px}
body.sim-mobile #simCorner{top:max(6px,env(safe-area-inset-top));right:max(6px,env(safe-area-inset-right));left:auto;gap:4px;max-width:min(360px,52vw);flex-wrap:nowrap;z-index:6}
body.sim-mobile #simCorner>.hud{position:static !important;top:auto !important;left:auto !important;right:auto !important;width:auto;max-width:none;flex-wrap:nowrap}
body.sim-mobile #stage .hud .grp{flex-wrap:nowrap}
body.sim-mobile #simCorner>#kimLaunch{height:30px;padding:0 8px 0 3px;gap:4px}
body.sim-mobile #kimLaunch img{width:24px;height:24px}
body.sim-mobile #kimLaunch .kim-cap b{font-size:11px}
body.sim-mobile #stage .hud .h{min-height:24px;padding:2px 7px;font-size:11px;gap:3px}
body.sim-mobile #stage .hud .h .ico{width:12px;height:12px}
body.sim-mobile #stage .hud .h b{font-size:11px}
body.sim-mobile #stepJumpBar{left:8px;top:-28px;gap:4px}
body.sim-mobile #stepBadge,body.sim-mobile #stage .step-jump{height:20px;padding:0 8px;font-size:11px}
body.sim-mobile #stage .step-jump .tx{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.sim-mobile #stage .dock,
body.touch-phone.sim-mobile #stage .dock,
body.touch-tablet.sim-mobile #stage .dock{padding:0 max(128px,calc(env(safe-area-inset-right,0px) + 120px)) max(6px,env(safe-area-inset-bottom,0px)) max(70px,calc(env(safe-area-inset-left,0px) + 64px));justify-content:center}
body.sim-mobile #stage .ins,
body.touch-phone #stage .ins{width:min(260px,40vw);max-width:min(260px,40vw);padding:5px 8px;border-width:0;border-radius:12px;gap:2px}
body.sim-mobile #stage .ins::before,
body.touch-phone #stage .ins::before{display:none}
body.sim-mobile #stage .q-h{font-size:11px}
body.sim-mobile #stage .ins .ko,
body.touch-phone #stage .ins .ko{margin-top:1px;font-size:12px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.sim-mobile #stage .ins .en{display:none}
body.sim-mobile #segs{margin-top:4px;gap:3px}
body.sim-mobile #segs i{height:4px}
body.sim-mobile #stage .phone-launch{left:max(8px,env(safe-area-inset-left));right:auto;top:auto;bottom:calc(78px + env(safe-area-inset-bottom,0px));transform:none;z-index:6}
body.sim-mobile #stage .ins .ko-row,
body.touch-phone #stage .ins .ko-row{margin-top:1px;gap:8px}
body.sim-mobile #stage .ins .ko-row .ko,
body.touch-phone #stage .ins .ko-row .ko{margin-top:0}
body.sim-mobile #stage .ins .phone-launch,
body.touch-phone #stage .ins .phone-launch{position:relative;left:auto;right:auto;top:auto;bottom:auto;transform:none;margin:0;z-index:2}
body.sim-mobile #stage .phone-launch .glyph,
body.touch-phone #stage .phone-launch .glyph{width:40px;height:40px;border-radius:12px;border-width:2px}
body.sim-mobile #stage .phone-launch .bezel,
body.touch-phone #stage .phone-launch .bezel{width:18px;height:30px;padding:2px;border-radius:6px}
body.sim-mobile #stage .phone-launch .notch,
body.touch-phone #stage .phone-launch .notch{width:8px;height:2px}
body.sim-mobile #stage .phone-launch .home,
body.touch-phone #stage .phone-launch .home{width:4px;height:4px;margin-top:2px}
body.sim-mobile #stage .phone-launch .dot{width:16px;height:16px;right:-5px;top:-5px;border-width:2px;font-size:10px}
body.sim-mobile #stage .joy,
body.touch-phone #stage .joy{width:58px;height:58px;left:max(6px,env(safe-area-inset-left));bottom:max(6px,env(safe-area-inset-bottom))}
body.sim-mobile #stage .joy-knob,
body.touch-phone #stage .joy-knob{width:24px;height:24px;margin:-12px 0 0 -12px}
body.sim-mobile .sheet-wrap.floor:not(.phone-center) .sheet.brief{width:min(420px,calc(100% - 96px));max-width:calc(100% - 96px);max-height:min(62vh,280px);margin:0 auto 6px;padding:10px 12px;overflow:auto;border-radius:14px}
body.sim-mobile .sheet-wrap.floor .sheet.brief>h3{font-size:15px;line-height:1.25}
body.sim-mobile .sheet-wrap.floor .sheet.brief .sub{margin-top:6px;font-size:12px;line-height:1.4}
body.sim-mobile .sheet-wrap.floor .sheet.brief .sum{padding:8px 10px}
body.sim-mobile .sheet-wrap.floor .sheet.brief .sum h4{font-size:13px;line-height:1.3;margin-top:4px}
body.sim-mobile .sheet-wrap.floor .sheet.brief .sum li{font-size:12px;line-height:1.4}
body.sim-mobile .sheet-wrap.floor .sheet.brief .sumrow{margin-top:8px}
body.sim-mobile .sheet-wrap.floor .sheet.brief .cfoot{margin-top:8px;padding-left:0}
body.sim-mobile .sheet-wrap.floor .sheet.brief .go{min-height:32px;padding:0 12px;font-size:13px}
body.sim-mobile .sheet-wrap.floor .sheet.brief.admin-editing{max-height:min(78vh,640px)}
body.sim-mobile #stage .camera-help,
body.sim-mobile.help-open #stage .camera-help,
body.touch-phone.help-open #stage .camera-help{top:auto;left:auto;bottom:max(6px,env(safe-area-inset-bottom));right:max(6px,env(safe-area-inset-right));max-height:26vh;width:min(168px,34vw);padding:2px 8px 6px}
#rotateGate[hidden]{display:none !important}
body.sim-mobile #stage .interact-mark .tap{width:28px;height:28px}
body.sim-mobile #stage .interact-mark .name{height:18px;font-size:10px;padding:0 6px}

/* Practice mode: a bright rim on the correct choice. No extra sparkles. */
#guideArrow{display:none !important}
body.guide-assist .guide-pick{
  outline:3px solid #ffd24a;
  outline-offset:-4px;
  animation:guideRim 1.8s ease-in-out infinite;
}
@keyframes guideRim{
  0%,100%{outline-color:#f0a800}
  50%{outline-color:#fff6c4}
}
/* PC 목록은 바깥 테두리가 잘리므로, 버튼 안쪽에 금색 테두리를 둔다. */
body.guide-assist .dv.pc .mlist button.guide-pick{
  outline:none;
  background:#fff8dc;
  animation:pcListRim 1.8s ease-in-out infinite;
}
@keyframes pcListRim{
  0%,100%{box-shadow:inset 0 0 0 3px #e8a000}
  50%{box-shadow:inset 0 0 0 3px #ffe56a}
}
body.guide-assist .dv.phone .guide-pick,
body.guide-assist .sheet.phone-dock .guide-pick{
  transform:none !important;
  outline:none;
  animation:phonePickWash 2s ease-in-out infinite;
}
body.guide-assist .dv.phone .guide-pick.pri,
body.guide-assist .sheet.phone-dock .guide-pick.pri,
body.guide-assist .dv.phone .btn.pri.guide-pick,
body.guide-assist .sheet.phone-dock .btn.pri.guide-pick,
body.guide-assist .dv.phone .cal button.guide-pick,
body.guide-assist .sheet.phone-dock .cal button.guide-pick,
body.guide-assist .dv.phone .rd-b button.guide-pick,
body.guide-assist .sheet.phone-dock .rd-b button.guide-pick{
  animation:phonePickRim 2s ease-in-out infinite;
  outline:3px solid #ffd24a;
  outline-offset:3px;
  filter:none;
}
body.guide-assist .dv.phone .guide-pick::before,
body.guide-assist .sheet.phone-dock .guide-pick::before,
body.guide-assist .dv.phone :not(.mlist) > .guide-pick::after,
body.guide-assist .sheet.phone-dock :not(.mlist) > .guide-pick::after{
  content:none !important;
  display:none !important;
  animation:none !important;
  background:none !important;
  transform:none !important;
}
@keyframes phonePickWash{
  0%,100%{background-color:#fff}
  50%{background-color:#ffe4a0}
}
/* 통화 모달의 대화 마치기(.reply.go)는 배경이 하얗게 씻기므로 글자는 검게 둔다 */
body.guide-assist .dv.phone .reply.go.guide-pick,
body.guide-assist .sheet.phone-dock .reply.go.guide-pick{
  color:#000;
}
@keyframes phonePickRim{
  0%,100%{outline-color:#e8a000;box-shadow:0 0 0 1px #fff, 0 0 8px 0 rgba(255,176,20,.4)}
  50%{outline-color:#fff8d0;box-shadow:0 0 0 1px #fff, 0 0 16px 1px rgba(255,230,120,.95)}
}
body.guide-assist #stage .phone-launch.guide-glow .glyph{animation:guidePhone 1.8s ease-in-out infinite}
body.guide-assist #stage .interact-mark.guide-glow{animation:guideMark 1.8s ease-in-out infinite}
@keyframes guideMark{
  0%,100%{box-shadow:0 0 0 2px #e09600, 0 8px 22px rgba(20,40,32,.16)}
  50%{box-shadow:0 0 0 3px #ffe56a, 0 8px 22px rgba(20,40,32,.16)}
}
@keyframes guidePhone{
  0%,100%{border-color:#e09600;box-shadow:0 8px 20px rgba(0,0,0,.32)}
  50%{border-color:#ffe56a;box-shadow:0 0 0 2px #ffd24a, 0 8px 20px rgba(0,0,0,.32)}
}
@media (prefers-reduced-motion: reduce){
  body.guide-assist .guide-pick,
  body.guide-assist .dv.phone .guide-pick,
  body.guide-assist .sheet.phone-dock .guide-pick,
  body.guide-assist #stage .phone-launch.guide-glow .glyph,
  body.guide-assist #stage .interact-mark.guide-glow{animation:none}
  body.guide-assist .guide-pick{outline-color:#ffc21a}
  body.guide-assist .dv.pc .mlist button.guide-pick{animation:none;background:#fff6d0;box-shadow:inset 0 0 0 3px #ffc21a}
  body.guide-assist .dv.phone .mlist .guide-pick,
  body.guide-assist .sheet.phone-dock .mlist .guide-pick,
  body.guide-assist .dv.phone .slots button.guide-pick,
  body.guide-assist .sheet.phone-dock .slots button.guide-pick,
  body.guide-assist .dv.phone .chk button.guide-pick,
  body.guide-assist .sheet.phone-dock .chk button.guide-pick{background-color:#ffe4a0;filter:none;outline:none}
  body.guide-assist .dv.phone .guide-pick.pri,
  body.guide-assist .sheet.phone-dock .guide-pick.pri,
  body.guide-assist .dv.phone .btn.pri.guide-pick,
  body.guide-assist .sheet.phone-dock .btn.pri.guide-pick,
  body.guide-assist .dv.phone .cal button.guide-pick,
  body.guide-assist .sheet.phone-dock .cal button.guide-pick,
  body.guide-assist .dv.phone .rd-b button.guide-pick,
  body.guide-assist .sheet.phone-dock .rd-b button.guide-pick{filter:none;outline:3px solid #ffc21a;outline-offset:3px}
  body.guide-assist #stage .phone-launch.guide-glow .glyph{border-color:#ffc21a}
  body.guide-assist #stage .interact-mark.guide-glow{box-shadow:0 0 0 2px #ffc21a, 0 8px 22px rgba(20,40,32,.16)}
  /* 움직임이 꺼지면 남색 배경이 그대로라 글자는 다시 흰색 */
  body.guide-assist .dv.phone .reply.go.guide-pick,
  body.guide-assist .sheet.phone-dock .reply.go.guide-pick{color:#fff}
}
