@font-face{font-family:'Mansion Flags';src:url('/fonts/mansion-flags.woff2') format('woff2');font-display:swap}
:root{color-scheme:light;--paper:#efeee6;--surface:#d8d9d2;--line:#a1a09b;--ink:#292c28;--muted:#454941;--accent:#52514c;--sidebar:190px;--font-size:15px}*{box-sizing:border-box}body{margin:0;background:#74736c;color:var(--ink);font:var(--font-size)/1.75 'Gulim','Noto Sans CJK KR','Yu Gothic',Tahoma,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;touch-action:manipulation}button:disabled{cursor:not-allowed;background:#cccbc8;color:#4c4b47;border-color:#a2a19b}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #54534f;outline-offset:3px}button svg{pointer-events:none}svg{display:block;flex-shrink:0}a{color:#484743;text-underline-offset:3px}h1,h2,h3,p{overflow-wrap:anywhere}input,select{color:var(--ink)}.skip-link{position:fixed;top:10px;left:10px;z-index:500;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link:focus{width:auto;height:auto;clip-path:none;padding:12px 18px;background:#eeedec;color:#2e2e2b}.loading-screen{min-height:100vh;display:grid;place-items:center;color:#e8e8e7}.shell{padding-left:var(--sidebar);min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);padding:28px 16px;background:#474743;border-right:1px solid #363532;z-index:20}.brand{display:block;word-break:keep-all;color:#e3e3e2;font-family:'Batang','Noto Serif CJK KR',Georgia,serif;font-size:19px;line-height:1.8;text-decoration:none;margin:0 8px 30px}.nav{display:grid;gap:4px}.nav-btn{min-height:48px;width:100%;display:flex;align-items:center;gap:10px;padding:11px 12px;text-align:left;background:none;border:0;border-left:2px solid transparent;color:#d9d8d6;font-size:13px}.nav-btn svg{width:17px;height:17px;color:#c2c1bd;stroke-width:1.5}.nav-btn:hover{background:#575651}.nav-btn.active{background:#d1d0cd;border-left:2px solid #9e9d98;color:#3b3a37}.nav-btn.active svg{color:#3a3936}.nav-btn:disabled{background:none;border-color:transparent;color:#abaaa5}.nav-btn:focus-visible{outline-color:#d0cfcc}.workspace{max-width:1550px;min-height:100vh;background:#c6c5c2}.topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 32px;border-bottom:1px solid #9f9e99;background:#d6d6d3;min-height:73px}.compact-status{display:flex;align-items:center;flex-wrap:wrap;gap:10px 21px;font-size:12px;color:#43423e}.compact-status>span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.compact-status b{font-weight:400}.compact-status svg{width:14px;height:14px;color:#474642}.compact-status .status-name{font-weight:600;font-size:14px;max-width:220px;white-space:normal;overflow-wrap:anywhere}.status-name small{font:11px 'Courier New',monospace;color:#484743}.language-select{min-height:44px;background:#eaeae8;border:1px solid #9a9994;padding:8px 9px;font-size:12px;max-width:118px;flex-shrink:0}.main{padding:30px 34px 22px;min-height:calc(100vh - 73px)}.page-title{font-family:'Batang','Noto Serif CJK KR',Georgia,serif;font-weight:500;font-size:26px;line-height:1.5;color:#3b3b38;margin:0 0 25px;padding-bottom:17px;border-bottom:1px solid #9c9b95}.exploration-content{max-width:1050px;margin:0 auto}.story{background:var(--paper);padding:29px 34px 33px;border-left:2px solid #979791;box-shadow:0 2px 4px #48484415}.story-title{font-family:'Batang','Noto Serif CJK KR',Georgia,serif;font-weight:500;font-size:24px;line-height:1.6;color:#3c3c39;margin:0 0 23px;padding-bottom:14px;border-bottom:1px solid #b8b8b4}.story-text{font-family:'Batang','Noto Serif CJK KR','Yu Mincho',Georgia,serif;font-size:17px;line-height:2.05;white-space:pre-wrap;overflow-wrap:anywhere;color:#33322f}.story-text:focus{outline:none}.story-text p{margin:0 0 20px}.story-text p:last-child{margin:0}.story-text:empty{display:none}.choices{display:grid;gap:11px;margin-top:27px}.choice{display:flex;align-items:flex-start;gap:13px;text-align:left;padding:13px 16px;min-height:50px;border:1px solid #aaa9a4;background:#dcdcda;color:#393936;line-height:1.9}.choice:hover{background:#e9e9e7;border-color:#86847d}.choice kbd{display:grid;place-items:center;min-width:25px;height:27px;margin-top:1px;font:12px 'Courier New',monospace;background:#ecebea;border:1px solid #afaeaa;color:#42423e}.choice span{font-size:15px}.choice:active{background:#c3c3c0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #93928c;background:#dad9d7;color:#41403d;padding:10px 15px;min-height:44px;font-size:13px;line-height:1.7;border-radius:1px;box-shadow:0 1px 1px #49494520}.btn:hover{background:#e9e9e7;border-color:#75746e}.btn:active{background:#c3c2bf;box-shadow:inset 0 1px 2px #4b4a4644}.btn-primary{background:#5c5c57;color:#e9e9e8;border-color:#4c4c48;font-weight:500}.btn-primary:hover{background:#4a4a46;border-color:#3d3d3a}.btn-subtle{background:#e2e2e1}.btn-danger{color:#43433f}.btn svg{width:15px;height:15px}.btn-sm{font-size:12px;min-height:44px;padding:8px 12px}.btn-wide{width:100%}.lobby-actions{display:flex;gap:12px;flex-wrap:wrap;padding:23px 0 4px;border-top:1px solid #a2a19b;margin-top:22px}.lobby-actions .btn:first-child{min-width:158px}.action-message{font-size:14px;line-height:1.9;padding:16px 0;margin-top:17px;border-top:1px solid #a4a49f;white-space:pre-wrap;overflow-wrap:anywhere;color:#494844}.elevator-controls{background:#b2b1ad;border:1px solid #888781;padding:24px;margin-top:23px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:13px;padding-bottom:13px;border-bottom:1px solid #a6a5a0;margin-bottom:18px}.panel-heading h2{font-size:15px;font-weight:600;margin:0;display:flex;gap:9px;align-items:center;color:#403f3c}.panel-heading h2 svg{width:17px;height:17px;color:#43423e}.panel-heading small{font-size:11px;color:#3d3c39}.input-row{display:flex;gap:11px;align-items:center}.input-row>.btn{white-space:nowrap;flex-shrink:0}.text-input{min-width:0;width:100%;min-height:44px;border:1px solid #999893;background:#efefee;padding:10px 12px;color:#363633;border-radius:0;box-shadow:inset 0 1px 2px #59595416}.text-input::placeholder{color:#4b4a46}.floor-input{font:17px/1.7 'Courier New',monospace;letter-spacing:.06em}.keypad{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px;max-width:650px}.keypad button{min-width:44px;min-height:44px;border:1px solid #7f7e77;background:linear-gradient(#d3d3d1,#c1c0bc);color:#3a3a37;font:14px 'Courier New',monospace;box-shadow:0 1px 1px #47464233}.keypad button:hover{background:#e3e3e2}.keypad button:active{background:#b0afab;box-shadow:inset 0 1px 2px #56555033}.hint{font-size:12px;line-height:1.9;color:#393835;margin:12px 0 0}.hint svg{display:inline-block;vertical-align:middle;margin-right:5px}.footer{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-top:33px;padding-top:16px;border-top:1px solid #9e9d97;color:#3c3b38;font-size:11px}.welcome{max-width:730px;margin:8px auto 0;padding:30px 32px;background:var(--paper);border-left:2px solid #979791}.welcome h1{font-family:'Batang','Noto Serif CJK KR',Georgia,serif;color:#3e3d3a;font-weight:500;font-size:29px;line-height:1.6;margin:0 0 22px}.welcome-form{display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:17px;margin-top:27px}.welcome-form label{font-size:13px;display:grid;gap:8px;color:#373734}.welcome-form select,.form-row select{min-height:44px;padding:9px 11px;background:#eeedec;border:1px solid #9e9d98;color:#3f3f3c;border-radius:0}.welcome-actions{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;margin-top:27px}.content-note{font-size:12px;line-height:1.9;color:#3b3a37;margin-top:25px}.panel{background:#dbdad8;border:1px solid #a1a09b}.panel-padding{padding:24px}.section-stack{display:grid;gap:23px}.section-intro{font-size:14px;line-height:1.9;color:#4b4b47;margin:0 0 22px}.section-title{font-size:16px;font-weight:500;line-height:1.7;display:flex;align-items:center;justify-content:space-between;gap:15px;color:#41403d;margin:0 0 18px}.section-title small{font-size:12px;font-weight:400}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:23px}.toolbar .text-input{max-width:290px;font-size:13px}.inline-list,.btn-group{display:flex;gap:10px;flex-wrap:wrap}.counter{font:18px 'Courier New',monospace;color:#393936}.counter.invalid{color:#474642}.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.game-card{display:flex;flex-direction:column;position:relative;min-width:0;background:#e8e8e7;border:1px solid #a6a5a0;padding:21px;box-shadow:1px 2px #64635e30;text-align:left;overflow:hidden;color:#3e3d3a}.card-type{font:11px/1.6 'Courier New','Gulim',monospace;display:flex;gap:6px;align-items:center;color:#40403c;margin-bottom:16px}.card-type svg{width:14px;height:14px;color:#4c4c48}.game-card h3{word-break:keep-all;overflow-wrap:anywhere;font-size:16px;font-weight:600;color:#454541;line-height:1.8;margin:0 0 13px;overflow-wrap:anywhere}.game-card p{word-break:keep-all;overflow-wrap:anywhere;font-size:13px;line-height:1.9;color:#373734;white-space:pre-wrap;margin:0 0 20px;flex:1;overflow-wrap:anywhere}.card-stats{display:flex;flex-wrap:wrap;gap:9px;padding-top:13px;border-top:1px dashed #b0afaa;margin-top:auto;font:12px 'Courier New',monospace;color:#3c3c39}.card-stats span{display:inline-flex;align-items:center;gap:4px}.card-stats svg{width:13px;height:13px}.card-count{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px}.card-count button{display:grid;place-items:center;width:44px;height:44px;border:1px solid #94938d;background:#d6d6d4;color:#474743;font-size:18px}.card-count b{font:14px 'Courier New',monospace;color:#383835}.card-count>span{font-size:12px!important;color:#42413d!important}.game-card.selectable:hover{background:#f1f1f1;border-color:#72716b}.game-card.selected{outline:2px solid #60605b;outline-offset:0;background:#dcdcda;border:1px solid #82817a;box-shadow:none}.game-card.selected:after{content:'✓';position:absolute;right:9px;top:6px;font-weight:700;color:#40403c}.game-card:disabled{background:#bcbcb8;border-color:#9f9e99;box-shadow:none}.game-card:disabled h3{color:#40403c;text-decoration:line-through}.game-card:disabled p,.game-card:disabled .card-type,.game-card:disabled .card-stats{color:#43433f}.battle-top{padding:20px 23px;background:#c5c5c2;border-bottom:1px solid #a5a49f}.battle-title{font-family:'Batang','Noto Serif CJK KR',Georgia,serif;font-size:24px;font-weight:500;line-height:1.6;margin:0 0 19px;color:#33352f}.battle-top .panel-heading{padding:0;border:0}.bar{height:8px;border:1px solid #a3a29d;background:#dadad8;margin-top:13px;overflow:hidden}.bar>i{display:block;height:100%;max-width:100%;background:#7c7b75}.battle-body{padding:23px;background:#d1d0cd}.battle-section+.battle-section{margin-top:27px}.battle-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;padding:3px}.battle-cards .game-card{min-height:205px;padding:16px 13px}.battle-cards .game-card h3{font-size:14px}.battle-cards .game-card p{font-size:12px}.battle-cards .card-type{font-size:10px;margin-bottom:12px}.battle-cards .card-stats{font-size:11px;gap:7px}.card-back{align-items:center;justify-content:center;min-height:160px!important;background:repeating-linear-gradient(45deg,#ababa6 0,#ababa6 3px,#a3a29d 3px,#a3a29d 6px);border:1px solid #919089}.card-back .mystery-mark{font:43px Georgia,serif;color:#3e3d3a}.card-back .card-type{color:#383734;margin:9px 0 0}.battle-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #a7a6a1;margin-top:25px;padding-top:21px}.battle-actions .btn{min-width:115px}.battle-selection{font-size:12px;color:#3c3c39}.battle-details{display:flex;gap:9px;flex-wrap:wrap;margin-top:19px}.battle-details:empty{display:none}.battle-details .btn{font-size:11px;text-align:left}.mobile-card-hint{display:none}.tag{border:1px solid #a7a6a1;background:#e5e5e4;color:#3a3a37;padding:5px 8px;font-size:11px;line-height:1.7}.skill-tags{display:flex;gap:7px;flex-wrap:wrap;font-size:12px;margin-top:15px}.skill-tags button{min-height:44px}.tabs{display:flex;gap:7px;flex-wrap:wrap}.tab-btn{min-height:44px;padding:9px 14px;background:#cececb;border:1px solid #a1a09b;color:#393835;font-size:13px}.tab-btn.active{background:#ebebea;border-color:#7c7b75;font-weight:500}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.report-card{background:#e5e5e4;border:1px solid #a4a39e;padding:23px}.report-card h3{font-size:17px;color:#474642;font-weight:500;margin:0 0 13px}.report-code{font:14px/1.8 'Courier New',monospace;color:#3f3e3b;letter-spacing:.05em}.report-card .tag{display:inline-block;margin-top:13px}.document-text{font-family:'Gulim','Noto Sans CJK KR',sans-serif;font-size:15px;line-height:1.95}.log-list{background:#ebeae9}.log-row{padding:16px 0;border-bottom:1px dotted #a9a9a4;font-size:15px;line-height:1.95;color:#393936;white-space:pre-wrap;overflow-wrap:anywhere}.log-row:first-child{padding-top:0}.log-row:last-child{padding-bottom:0;border:0}.log-row time{font:11px 'Courier New',monospace;display:block;margin-bottom:7px;color:#484844}.form-row{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:23px 0;border-bottom:1px solid #aeada8}.form-row:first-child{padding-top:0}.form-row:last-child{padding-bottom:0;border:0}.form-label{overflow-wrap:anywhere;max-width:100%;font-size:15px;color:#494945}.form-label p{font-size:13px;line-height:1.9;color:#42413d;max-width:490px;margin:8px 0 0}.form-row select{min-width:135px}.switch{appearance:none;flex-shrink:0;width:44px;height:44px;border:1px solid #93928b;background:#edeceb;cursor:pointer;position:relative}.switch:checked:before{content:'✓';position:absolute;inset:0;display:grid;place-items:center;font:bold 30px Tahoma,sans-serif;color:#454541}.help-block h3{font-size:17px;font-weight:500;color:#4a4945;margin:25px 0 11px}.help-block h3:first-child{margin-top:0}.help-block p,.help-block li{font-size:15px;line-height:1.95;color:#3f3e3b}.key-help{display:grid;grid-template-columns:100px 1fr;gap:13px;font-size:13px;color:#3d3d3a}.key-help kbd{font:12px 'Courier New',monospace;color:#3e3d3a}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:23px}.empty-state{padding:42px 25px;text-align:center;background:#e8e8e6;color:#41403d}.empty-state svg{width:34px;height:34px;color:#474642;margin:0 auto 18px}.empty-state h2{font-size:20px;color:#373633;font-weight:500;margin:0 0 13px}.empty-state p{font-size:14px;line-height:1.9;max-width:510px;margin:0 auto 23px}.manager-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px}.member-slot{display:flex;flex-direction:column;background:#e0dfdd}.member-slot h3{margin:0 0 17px;font-size:17px;font-weight:500;color:#393936}.member-slot h3 small{font:12px 'Courier New',monospace;color:#484844}.member-assets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;padding:15px;background:#ededec;border:1px solid #b1b0ab;margin:0}.member-assets>div{min-width:0}.member-assets dt{font-size:12px;color:#3f3f3c}.member-assets dd{font:18px/1.8 'Courier New',monospace;color:#373734;margin:4px 0 0;overflow-wrap:anywhere}.member-slot .member-assets{grid-template-columns:repeat(2,minmax(0,1fr))}.member-slot .skill-tags{flex:1;margin-bottom:16px}.member-slot>.btn{margin-top:19px}.manager-cost{display:flex;align-items:center;gap:8px;padding:13px;background:#e0e0de;border:1px solid #acaca7;color:#41403d;font-size:14px}.empty-member{display:grid;place-content:center;justify-items:center;min-height:172px;flex:1;color:#4c4b47}.empty-member svg{width:36px;height:36px}.empty-member p{font-size:14px;margin:11px 0}.maze-panel{margin-top:25px;border-top:1px solid #b3b3af;padding-top:22px}.maze-pad{display:grid;grid-template:repeat(3,86px)/repeat(3,1fr);gap:8px;width:283px;max-width:100%;margin:auto}.maze-direction{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:8px;border:1px solid #989791;font-size:12px;line-height:1.5;font-weight:600}.maze-direction:hover{outline:2px solid #4f4e4a;outline-offset:1px}.maze-direction kbd{position:absolute;top:3px;left:7px;font:10px 'Courier New',monospace;color:#3a3936}.maze-arrow{font:29px/1 Tahoma,sans-serif}.maze-wall{color:#193555;background:#c8dbdf}.maze-start{color:#5e2b1f;background:#e5c8ad}.maze-exit{color:#295a24;background:#cbdcaa}.maze-path{color:#383734;background:#d9d8d6}.maze-dir-6{grid-area:1/2}.maze-dir-8{grid-area:2/1}.maze-dir-10{grid-area:3/2}.maze-dir-12{grid-area:2/3}.maze-position{grid-area:2/2;display:grid;place-items:center;font-size:27px;color:#41403d}.source-green{color:#2b6729}.source-blue{color:#1a3c60}.source-highlight{font-weight:600;background:#f2edc8;color:#324627}.source-red{color:#672b20}.source-yellow{color:#56441a;background:#f4ebc4}.external-link{font-size:14px;line-height:1.9;margin:20px 0 0}.external-link a{display:inline-block;min-height:44px;padding:10px 0}.link-note{font-size:12px}.terminal-input-row{display:flex;align-items:center;gap:10px;padding:15px;margin-top:24px;background:#292927;color:#cfcecb;border:1px solid #8f8e87}.terminal-input-row label{font:15px 'Courier New',monospace}.terminal-input{min-width:0;flex:1;min-height:44px;padding:9px;background:#292927;border:0;border-bottom:1px solid #807f79;color:#d9d8d6;font:17px 'Courier New',monospace}.terminal-input:focus-visible{outline-color:#cfcecb}dialog{background:#e1e1df;color:#403f3c;padding:0;border:1px solid #8f8e88;width:min(560px,calc(100% - 28px));max-height:85vh;box-shadow:0 12px 50px #2b2a2866}dialog::backdrop{background:#2a29278c}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 18px;border-bottom:1px solid #a4a39d;background:#c7c7c4}.dialog-head h2{font-size:19px;font-weight:500;line-height:1.7;margin:0;color:#494844}.icon-btn{display:grid;place-items:center;min-width:44px;min-height:44px;padding:8px;border:1px solid #a2a19b;background:#d9d8d6;color:#3d3d3a}.icon-btn svg{width:20px;height:20px}.dialog-body{font-size:16px;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere;color:#383835;padding:23px 23px 9px}.dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:21px 23px}.dialog-actions .btn{min-width:90px}#toast{position:fixed;bottom:28px;left:calc(50% + var(--sidebar)/2);transform:translateX(-50%);max-width:calc(100% - 30px);padding:13px 19px;background:#e0e0de;color:#3b3b38;border:1px solid #a1a09a;box-shadow:2px 3px #54534e33;font-size:13px;z-index:100;opacity:0;pointer-events:none}#toast.visible{opacity:1}.busy .main{cursor:wait;pointer-events:none}.error-box{padding:23px;background:#e2e2e0;border:1px solid #aaaaa5;color:#403f3c;font-size:15px;line-height:1.9;white-space:pre-wrap}.error-box .btn{margin-top:15px}.text-muted{color:#3e3d3a}.mt-20{margin-top:20px}.no-motion *{animation:none!important;transition:none!important;scroll-behavior:auto!important}.large-text{--font-size:17px}.large-text .story-text{font-size:20px}.large-text .game-card p,.large-text .section-intro,.large-text .choice span,.large-text .log-row,.large-text .form-label,.large-text .btn{font-size:16px}.large-text .game-card h3{font-size:18px}.large-text .card-type,.large-text .hint{font-size:14px}.high-contrast .text-muted,.high-contrast .hint,.high-contrast .card-type,.high-contrast .form-label p{color:#2e2e2b}.high-contrast .panel,.high-contrast .game-card{border-color:#6a6964}
.topbar-empty{justify-content:flex-end}
.credits{display:flex;align-items:center;justify-content:inherit;flex-wrap:wrap;gap:0 7px}.credit-link{display:inline-flex;align-items:center;min-height:44px;padding:0 2px;text-decoration:underline;overflow-wrap:anywhere}

.language-button span{font-family:'Mansion Flags','Noto Color Emoji','Apple Color Emoji','Segoe UI Emoji',sans-serif}
.language-buttons{display:flex;align-items:center;gap:4px;flex-shrink:0;margin-left:auto}.language-button{display:grid;place-items:center;width:44px;min-width:44px;height:44px;padding:4px;border:1px solid #92918b;background:#d8d7d2;font:25px/1 'Noto Color Emoji','Apple Color Emoji','Segoe UI Emoji',sans-serif}.language-button[aria-pressed=true]{outline:2px solid #474642;outline-offset:-3px;background:#f0efe9}.language-button:hover{background:#f0efe9}.auth-shell{padding-left:0;padding-bottom:0}.auth-shell .main{width:min(620px,100%);margin:0 auto;padding:32px 24px}.auth-shell .topbar{min-height:68px}.auth-panel{padding:30px;background:var(--paper);border:1px solid var(--line);box-shadow:1px 2px #65645f30}.auth-panel h1{font:500 26px/1.6 'Batang','Noto Serif CJK KR',Georgia,serif;margin:0 0 23px}.auth-panel h2{font-size:19px;font-weight:500;margin:0 0 22px}.auth-panel form{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.auth-panel label{font-size:15px;line-height:1.7}.auth-panel input{width:100%;min-width:0;min-height:44px}.auth-panel .hint{font-size:13px;margin:0 0 13px}.password-row{display:flex;gap:8px}.password-row input{flex:1}.password-toggle{flex:0 0 44px;min-width:44px;padding:9px}.auth-submit{width:100%;margin-top:2px}.auth-error{padding:13px;background:#eee2d9;border:1px solid #9d8175;color:#672b20;line-height:1.8;font-size:14px;overflow-wrap:anywhere}.auth-error[hidden]{display:none}.recovery-note{border-left:2px solid #8a8070;padding:10px 13px;background:#e8e4db;font-size:14px;line-height:1.9;margin:8px 0 14px}.recovery-note p{margin:0}.recovery-note p+p{margin-top:10px}.auth-switch{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:19px 0 0;font-size:14px}.text-button{border:0;background:none;text-decoration:underline;text-underline-offset:3px;min-height:44px;padding:7px 5px}.account-details{margin:0 0 20px;display:grid;gap:16px}.account-details>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:15px}.account-details dt{font-size:13px;color:var(--muted)}.account-details dd{margin:0;overflow-wrap:anywhere;font-size:15px}.page-layout{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:22px;align-items:start}.page-content{min-width:0}.shortcut-aside{position:sticky;top:20px;min-width:0}.keyboard-disclosure{background:#d4d3cc;border:1px solid var(--line)}.keyboard-disclosure summary{min-height:44px;padding:11px 13px;cursor:pointer;font-size:14px}.keyboard-disclosure summary:focus-visible{outline:2px solid #54534f;outline-offset:3px}.keyboard-disclosure table{width:100%;border-collapse:collapse;font-size:12px}.keyboard-disclosure th,.keyboard-disclosure td{padding:8px 11px;border-top:1px solid #aaa9a1;text-align:left;vertical-align:top;overflow-wrap:anywhere;line-height:1.7}.keyboard-disclosure th{font-weight:400;width:62px}.keyboard-disclosure kbd{font:12px/1.7 'Courier New',monospace;white-space:nowrap}.keyboard-disclosure .hint{padding:8px 12px;margin:0;font-size:11px}.pending-action{padding:18px;background:#eee9dc;border:1px solid #a59b84;margin-bottom:20px;line-height:1.85}.pending-action p{margin:0 0 12px}.help-block h2{font-size:18px;line-height:1.8;font-weight:500;margin:24px 0 10px}.help-block h2:first-child{margin-top:0}
@media(max-width:1100px){.page-layout{grid-template-columns:minmax(0,1fr)}.shortcut-aside{position:static}.keyboard-disclosure table{font-size:13px}.keyboard-disclosure .hint{font-size:12px}}
@media(min-width:1800px){.workspace{margin:0 auto}.main{padding:35px 45px}.topbar{padding-left:45px;padding-right:45px}}
html[lang=ko] .form-label,html[lang=ko] .story-text,html[lang=ko] .help-block,html[lang=ko] .choice span,html[lang=ko] .section-intro{word-break:keep-all;overflow-wrap:anywhere}
@media(max-width:1200px){:root{--sidebar:172px}.sidebar{padding:25px 12px}.brand{font-size:17px;margin-left:8px;margin-right:4px}.nav-btn{font-size:12px;padding:10px 10px;gap:8px}.main{padding:26px 25px}.topbar{padding:12px 25px}.compact-status{gap:9px 15px;font-size:11px}.compact-status .status-name{font-size:13px}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.battle-cards{gap:8px}.battle-cards .game-card{padding:13px 10px}.battle-cards .game-card h3{font-size:13px}.battle-cards .game-card p{font-size:11px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 240px;gap:18px}}
@media(max-width:1000px){.topbar{align-items:flex-start}.compact-status{max-width:650px;gap:8px 16px}.compact-status .status-name{width:100%;max-width:none}.story{padding:27px}.battle-cards{overflow-x:auto;display:flex;padding:3px 3px 13px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#8b8a84 #d7d7d5}.battle-cards .game-card{flex:0 0 152px;min-width:152px;scroll-snap-align:start}.mobile-card-hint{display:block;font-size:12px;color:#42413d;margin:-6px 0 13px}.dashboard-grid{grid-template-columns:1fr}.manager-grid{gap:18px}.panel-padding{padding:21px}}
@media(max-width:700px){:root{--sidebar:0px}.shell{padding:0 0 78px}.sidebar{inset:auto 0 0;width:100%;height:72px;padding:4px 3px;border:0;border-top:1px solid #85837c;background:#494945}.brand{display:none}.nav{height:100%;display:flex;gap:1px}.nav-btn{display:flex;align-items:center;justify-content:center;flex-direction:column;flex:1;width:0;min-height:60px;padding:5px 2px;gap:5px;border:0;border-top:2px solid transparent;text-align:center;font-size:10px;line-height:1.4;color:#dbdad8}.nav-btn svg{width:18px;height:18px;color:#c6c6c3}.nav-btn.active{border:0;border-top:2px solid #a1a09a;background:#c4c4c1;color:#43433f}.nav-btn:hover:not(.active):not(:disabled){background:#64635d;color:#f3f2f0}.nav-btn[data-page=help]{display:none}.nav-btn:disabled{color:#abaaa5}.workspace{min-height:calc(100vh - 78px)}.topbar{min-height:93px;padding:12px 15px;gap:10px;align-items:flex-start}.compact-status{gap:6px 13px;font-size:11px;line-height:1.5;max-width:100%;flex-basis:100%}.compact-status .status-name{font-size:13px;width:100%;max-width:100%}.compact-status>span{gap:4px}.compact-status b{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.compact-status svg{width:12px;height:12px}.language-select{min-height:44px;width:84px;font-size:11px;padding:7px 5px}.main{padding:23px 15px 18px;min-height:calc(100vh - 171px)}.page-title{font-size:25px;margin-bottom:21px;padding-bottom:14px}.story{padding:24px 21px 27px}.story-title{font-size:24px;line-height:1.65;margin-bottom:20px;padding-bottom:13px}.story-text{font-size:17px;line-height:2.05}.story-text p{margin-bottom:21px}.choices{gap:12px;margin-top:26px}.choice{padding:13px 12px;gap:10px}.choice span{font-size:15px}.choice kbd{font-size:12px;min-width:25px;height:26px}.lobby-actions{gap:10px;margin-top:20px;padding-top:20px}.lobby-actions .btn{font-size:12px;flex:1}.lobby-actions .btn:first-child{flex-basis:100%;min-width:0}.elevator-controls{padding:21px 18px;margin-top:20px}.input-row{gap:8px}.input-row .btn{padding:10px 11px;font-size:13px}.floor-input{font-size:16px}.keypad{gap:8px}.keypad button{min-width:44px;min-height:44px;font-size:14px}.hint{font-size:12px}.footer{font-size:10px;gap:12px;margin-top:28px;justify-content:center}.footer span:last-child{font-size:10px}.welcome{margin:0;padding:27px 22px}.welcome h1{font-size:27px}.welcome-form{grid-template-columns:1fr;gap:15px}.welcome .section-intro{font-size:15px}.welcome-actions{gap:13px;margin-top:24px}.welcome-actions .btn{width:100%;font-size:14px}.content-note{font-size:12px}.panel-padding{padding:21px}.toolbar{gap:16px}.toolbar .text-input{max-width:none;font-size:14px}.toolbar>span{font-size:14px}.card-grid{grid-template-columns:1fr;gap:18px}.game-card{padding:23px}.game-card h3{font-size:18px}.game-card p{font-size:15px}.card-type{font-size:12px}.card-count{justify-content:flex-end;gap:16px}.card-count>span{margin-right:auto;font-size:13px!important}.card-count b{font-size:15px}.battle-top{padding:19px 17px}.battle-body{padding:20px 11px}.battle-section .section-title{font-size:14px;gap:10px;padding:0 4px}.battle-section .section-title small{display:none}.mobile-card-hint{font-size:12px;padding:0 4px}.battle-cards{gap:10px;padding:4px 4px 14px}.battle-cards .game-card{flex-basis:158px;min-width:158px;min-height:217px;padding:17px 13px}.battle-cards .game-card h3{font-size:15px}.battle-cards .game-card p{font-size:13px}.battle-cards .card-type{font-size:11px}.battle-cards .card-back{min-height:166px!important}.battle-cards .card-back .card-type{font-size:11px;white-space:nowrap}.battle-cards .card-back .mystery-mark{font-size:42px}.battle-actions{flex-wrap:wrap;gap:12px;margin-top:20px;padding:20px 4px 0}.battle-selection{width:100%;font-size:13px}.battle-actions .btn{flex:1;min-width:0;font-size:13px}.battle-details{padding:0 4px}.battle-details .btn{font-size:12px}.tabs{gap:7px}.tab-btn{font-size:12px;padding:8px 10px}.report-grid{grid-template-columns:1fr;gap:18px}.report-card{padding:23px}.document-text{font-size:16px;line-height:1.95}.log-row{font-size:15px}.form-row{flex-wrap:wrap;gap:17px}.form-label{flex:1;min-width:163px;font-size:15px}.form-label p{font-size:13px}.form-row select{min-width:110px;font-size:13px}.form-row .btn-group{width:100%}.form-row .btn-group .btn{flex:1}.help-block h3{font-size:18px}.help-block p,.help-block li{font-size:15px}.key-help{font-size:14px;grid-template-columns:102px 1fr}.key-help kbd{font-size:13px}.section-title{font-size:15px}.manager-grid{grid-template-columns:1fr;gap:19px}.member-assets{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.member-assets dt{font-size:13px}.member-assets dd{font-size:19px}.manager-cost{font-size:14px}.member-slot>.btn{font-size:14px}.maze-pad{grid-template-rows:repeat(3,84px);gap:7px}.maze-direction{font-size:11px}.dialog-head{padding:12px 14px}.dialog-head h2{font-size:17px}.dialog-body{font-size:16px;padding:21px 18px 8px}.dialog-actions{padding:20px 18px}.terminal-input-row{gap:7px;padding:12px}.terminal-input-row label{font-size:13px}.terminal-input{font-size:16px}.large-text .story-text{font-size:20px}.large-text .nav-btn{font-size:11px}.large-text .battle-cards .game-card{flex-basis:184px;min-width:184px}.large-text .battle-cards .game-card h3{font-size:18px}.large-text .battle-cards .game-card p{font-size:15px}#toast{left:50%;bottom:87px;font-size:13px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.brand>span{display:block}

@media(max-width:700px){.topbar{flex-wrap:wrap;gap:10px}.topbar .language-buttons{order:-1}.auth-shell .main{padding:22px 15px}.auth-panel{padding:23px 20px}.auth-panel h1{font-size:24px}.auth-panel h2{font-size:18px}.auth-panel .hint,.recovery-note{font-size:13px}.auth-shell .footer{margin-top:22px}.auth-shell .workspace{min-height:100vh}.account-details>div{grid-template-columns:minmax(0,1fr);gap:4px}.page-layout{gap:22px}.keyboard-disclosure summary{font-size:15px}.keyboard-disclosure th{width:90px}.auth-shell .topbar{min-height:68px;padding:12px 15px}.auth-shell .main{min-height:calc(100vh - 68px)}}
