@import "https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap";:root{color:#e7e9ed;font-synthesis:none;text-rendering:optimizelegibility;--surface:#15181d;--raised:#1a1e24;--border:#292e36;--muted:#9299a6;--green:#22c55e;--bright:#4ade80;--red:#fb7185;--mono:"IBM Plex Mono",monospace;background:#0d0f12;font-family:Noto Sans KR,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:#0d0f12;min-width:320px;min-height:100vh;margin:0}button,select{font:inherit}button{cursor:pointer}button:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--bright);outline-offset:2px}.app-shell{min-height:100vh}.topbar{border-bottom:1px solid var(--border);z-index:20;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#0d0f12f0;align-items:center;gap:42px;height:64px;padding:0 max(24px,50vw - 740px);display:flex;position:sticky;top:0}.brand{color:#fff;font:700 1.05rem var(--mono);align-items:center;gap:10px;text-decoration:none;display:flex}.brand-mark{color:#07110b;background:var(--bright);border-radius:7px 7px 7px 2px;place-items:center;width:30px;height:30px;display:grid}.topbar nav{color:#737b88;align-items:center;gap:28px;height:100%;font-size:.88rem;display:flex}.topbar nav a{color:#d9dce1;border-bottom:2px solid var(--green);align-items:center;height:100%;text-decoration:none;display:flex}.server-state{color:var(--muted);align-items:center;gap:8px;margin-left:auto;font-size:.78rem;display:flex}.server-state i{background:var(--green);border-radius:50%;width:7px;height:7px;box-shadow:0 0 10px #22c55eaa}main{width:min(1480px,100% - 40px);margin:0 auto;padding:28px 0 52px}.generator-bar{background:var(--surface);border:1px solid var(--border);border-radius:10px;grid-template-columns:1fr 200px 180px 190px;align-items:end;gap:16px;min-height:92px;padding:18px 20px;display:grid}.generator-title{align-self:center;align-items:center;gap:13px;display:flex}.generator-title div,.dock-heading>div{flex-direction:column;gap:3px;display:flex}.generator-title strong,.dock-heading strong{font-size:.95rem}.generator-title small,.dock-heading small{color:var(--muted);font-size:.75rem}.step-number{color:var(--bright);font:600 .72rem var(--mono);border:1px solid #2c5e3d;border-radius:4px;padding:5px 6px}.generator-bar label{color:#9ba2ae;flex-direction:column;gap:7px;font-size:.73rem;font-weight:600;display:flex}select{color:#eef0f3;background:#101318;border:1px solid #333943;border-radius:6px;min-height:42px;padding:11px 34px 11px 12px}.primary-button,.submit-button{color:#07110b;background:var(--bright);border:0;border-radius:6px;min-height:43px;padding:0 20px;font-weight:800;transition:all .18s}.primary-button:hover:not(:disabled),.submit-button:hover:not(:disabled){background:#6ee795;transform:translateY(-1px)}button:disabled{cursor:not-allowed;opacity:.45}.spinner{vertical-align:-2px;border:2px solid #07110b55;border-top-color:#07110b;border-radius:50%;width:13px;height:13px;margin-right:7px;animation:.8s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.alert{border-radius:7px;gap:10px;margin-top:14px;padding:13px 42px 13px 16px;font-size:.85rem;display:flex;position:relative}.error-alert{color:#fda4af;background:#2b161b;border:1px solid #652c39}.alert button{color:inherit;background:0 0;border:0;font-size:1.4rem;position:absolute;top:7px;right:10px}.empty-stage{grid-template-columns:1.1fr .9fr;align-items:center;gap:clamp(50px,8vw,120px);min-height:590px;padding:70px clamp(20px,5vw,78px);display:grid}.terminal-visual{background:#111419;border:1px solid #303640;border-radius:11px;overflow:hidden;transform:perspective(1200px)rotateY(4deg);box-shadow:0 30px 80px #0008}.terminal-bar{border-bottom:1px solid var(--border);background:#191d23;align-items:center;gap:7px;height:44px;padding:0 14px;display:flex}.terminal-bar i{background:#3b414b;border-radius:50%;width:8px;height:8px}.terminal-bar i:first-child{background:#fb7185}.terminal-bar i:nth-child(2){background:#fbbf24}.terminal-bar i:nth-child(3){background:#4ade80}.terminal-bar span{color:#838b98;font:.72rem var(--mono);margin-left:10px}.terminal-visual pre{font:500 clamp(.75rem,1.25vw,.96rem)/2 var(--mono);color:#d8dce3;margin:0;padding:clamp(24px,4vw,42px);overflow:auto}.terminal-visual b{color:#c084fc;font-weight:500}.terminal-visual em{color:#07110b;background:var(--bright);border-radius:3px;padding:2px 4px;font-style:normal}.terminal-visual .muted{color:#505762;margin-right:12px}.eyebrow{color:var(--bright);font:600 .73rem var(--mono);letter-spacing:.14em}.empty-stage h1{letter-spacing:-.055em;margin:17px 0 21px;font-size:clamp(2.45rem,4.2vw,4.3rem);line-height:1.08}.empty-stage h1 em{color:var(--bright);font-style:normal}.empty-stage p{color:#9ca3ad;max-width:490px;margin:0;font-size:1rem;line-height:1.85}.start-button{margin-top:30px;padding:0 22px}.start-button span{margin-left:28px}.loading-stage{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:560px;display:flex}.loader-orbit{border:1px solid #304038;border-radius:50%;width:64px;height:64px;margin-bottom:26px;animation:2s linear infinite spin;position:relative}.loader-orbit span{background:var(--bright);width:10px;height:10px;box-shadow:0 0 18px var(--green);border-radius:50%;position:absolute;top:8px;right:4px}.loading-stage strong{font-size:1.2rem}.loading-stage p{color:var(--muted);font-size:.88rem}.loading-steps{gap:9px;margin-top:28px;display:flex}.loading-steps span{border:1px solid var(--border);color:#666e7a;font:.7rem var(--mono);border-radius:4px;padding:7px 10px}.loading-steps .done{color:var(--bright);border-color:#28583a}.problem-layout{grid-template-columns:minmax(0,.92fr) minmax(540px,1.08fr);align-items:start;gap:12px;margin-top:18px;display:grid}.problem-panel,.solver-panel{border:1px solid var(--border);background:var(--surface);border-radius:9px;min-width:0;overflow:hidden}.panel-tabs{border-bottom:1px solid var(--border);background:#12151a;height:48px;display:flex}.panel-tabs button{color:#858d99;background:0 0;border:0;border-bottom:2px solid #0000;padding:0 21px;font-size:.82rem}.panel-tabs button.active{color:#f3f4f6;border-bottom-color:var(--bright)}.panel-tabs b{color:#929aa6;font:600 .65rem var(--mono);background:#272c34;border-radius:8px;margin-left:5px;padding:1px 5px}.problem-content{min-height:670px;max-height:calc(100vh - 220px);padding:clamp(24px,3vw,42px);overflow-y:auto}.problem-meta{color:#868e9a;font:.72rem var(--mono);align-items:center;gap:9px;display:flex}.problem-meta span{border-right:1px solid #343a43;padding-right:9px}.problem-meta span:last-child{border:0}.problem-meta .difficulty{border:0;border-radius:4px;padding:4px 8px}.difficulty.easy{color:#55d98a;background:#153623}.difficulty.normal{color:#fbbf24;background:#3b2d11}.difficulty.hard{color:#fb7185;background:#401b25}.problem-content h1{letter-spacing:-.04em;margin:19px 0 23px;font-size:clamp(1.6rem,2.4vw,2.3rem)}.description{color:#c1c6ce;white-space:pre-wrap;font-size:.95rem;line-height:1.85}.problem-content h2{border-top:1px solid var(--border);margin:42px 0 16px;padding-top:25px;font-size:1rem}.test-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.test-card{border:1px solid var(--border);background:#111419;border-radius:6px;overflow:hidden}.test-card>div{color:#a6adb8;border-bottom:1px solid var(--border);background:#191d23;padding:9px 13px;font-size:.72rem}.test-card dl{grid-template-columns:55px 1fr;align-items:stretch;margin:0;display:grid}.test-card dt,.test-card dd{border-bottom:1px solid #242932;margin:0;padding:10px}.test-card dt{color:#777f8a;font-size:.68rem}.test-card code,.test-detail pre{font:.76rem/1.6 var(--mono);white-space:pre-wrap;word-break:break-word}.section-caption{color:var(--muted);margin-top:-12px;margin-bottom:28px}.test-detail{border:1px solid var(--border);border-radius:7px;margin-bottom:18px;padding:18px}.test-detail>strong{margin-bottom:14px;display:block}.test-detail label{color:var(--muted);font-size:.72rem}.test-detail pre{color:#dce1e8;background:#0e1115;border-radius:5px;margin:6px 0 12px;padding:12px}.editor-head{color:#8d95a1;border-bottom:1px solid var(--border);background:#12151a;justify-content:space-between;align-items:center;height:48px;padding:0 17px;font-size:.72rem;display:flex}.editor-head>div{align-items:center;gap:8px;display:flex}.editor-head strong{color:#d9dde3;font:500 .75rem var(--mono)}.language-dot{background:#3b82f6;border-radius:50%;width:8px;height:8px}.code-editor{background:#0f1216;min-height:300px;max-height:390px;display:flex;overflow:auto}.line-numbers{color:#454c56;font:.77rem/1.75 var(--mono);-webkit-user-select:none;user-select:none;border-right:1px solid #20252c;flex-direction:column;flex:0 0 50px;align-items:end;padding:20px 12px;display:flex}.code-editor pre{margin:0;padding:20px}.code-editor code{color:#dce1e8;font:.78rem/1.75 var(--mono);white-space:pre}.answer-dock{border-top:1px solid var(--border);background:var(--raised);padding:18px}.dock-heading{justify-content:space-between;align-items:center;display:flex}.dock-heading>div{flex-direction:row;align-items:center;gap:10px}.text-button{color:#939ba7;background:0 0;border:0;font-size:.75rem}.text-button:hover{color:#fff}.slots{grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:7px;margin-top:15px;display:grid}.answer-slot{color:#666e79;text-align:left;background:#111419;border:1px dashed #363d47;border-radius:5px;align-items:center;gap:8px;min-width:0;height:43px;padding:0 9px;display:flex}.answer-slot>span{width:19px;height:19px;font:.65rem var(--mono);background:#262c34;border-radius:3px;place-items:center;display:grid}.answer-slot code{text-overflow:ellipsis;white-space:nowrap;font:.7rem var(--mono);overflow:hidden}.answer-slot b{margin-left:auto;font-weight:400}.answer-slot.filled{color:#dce3df;background:#14241b;border-style:solid;border-color:#386149}.answer-slot.filled>span{color:var(--bright);background:#20432d}.block-pool{flex-wrap:wrap;gap:7px;margin:14px 0 18px;display:flex}.block-pool button{color:#d7dce3;background:#101318;border:1px solid #353c46;border-radius:5px;align-items:center;gap:10px;max-width:100%;padding:9px 10px;display:flex}.block-pool button:hover:not(:disabled){background:#15241b;border-color:#4c9b68}.block-pool code{text-overflow:ellipsis;font:.7rem var(--mono);overflow:hidden}.block-pool span{color:var(--bright)}.submit-row{border-top:1px solid var(--border);color:#7f8793;justify-content:space-between;align-items:center;gap:12px;padding-top:15px;font-size:.75rem;display:flex}.submit-button{min-width:130px}.result-box{border-radius:6px;align-items:center;gap:12px;margin:12px 0;padding:13px;display:flex}.result-box>span{border-radius:50%;place-items:center;width:26px;height:26px;font-weight:800;display:grid}.result-box strong{font-size:.85rem}.result-box p{color:#aab1bc;margin:3px 0 0;font-size:.72rem}.result-box.correct{background:#14291c;border:1px solid #2d6b43}.result-box.correct>span{color:#07110b;background:var(--bright)}.result-box.wrong{background:#2a171c;border:1px solid #713240}.result-box.wrong>span{color:#fff;background:var(--red)}.solution{border-top:1px solid var(--border);margin-top:16px;padding-top:13px}.solution summary{color:#9199a5;cursor:pointer;font-size:.76rem}.solution pre{background:#0e1115;border-radius:5px;max-height:280px;margin:12px 0 0;padding:15px;overflow:auto}.solution code{color:#d7dce3;font:.72rem/1.65 var(--mono);white-space:pre}footer{border-top:1px solid var(--border);color:#636b76;align-items:center;gap:16px;width:min(1480px,100% - 40px);min-height:74px;margin:0 auto;font-size:.75rem;display:flex}footer>span{color:#aeb4bd;font:600 .78rem var(--mono)}footer small{margin-left:auto}@media (width<=1050px){.generator-bar{grid-template-columns:1fr 1fr 1fr}.generator-title{grid-column:1/-1}.problem-layout{grid-template-columns:1fr}.problem-content{min-height:auto;max-height:none}.code-editor{max-height:none}.empty-stage{gap:45px;padding-left:10px;padding-right:10px}}@media (width<=720px){.topbar{padding:0 16px}.topbar nav span,.server-state{display:none}.topbar nav{margin-left:auto}.topbar{gap:16px}main,footer{width:min(100% - 24px,1480px)}.generator-bar{grid-template-columns:1fr 1fr}.generator-bar .primary-button{grid-column:1/-1}.empty-stage{grid-template-columns:1fr;padding-top:42px}.terminal-visual{order:2;transform:none}.empty-stage h1{font-size:2.6rem}.test-grid{grid-template-columns:1fr}.problem-content{padding:25px 19px}.slots{grid-template-columns:1fr}.submit-row{flex-direction:column;align-items:stretch}.submit-button{width:100%}.code-editor code{font-size:.7rem}.line-numbers{flex-basis:42px}.loading-steps{flex-wrap:wrap;justify-content:center}footer p{display:none}}@media (width<=470px){.generator-bar{grid-template-columns:1fr}.generator-bar .primary-button{grid-column:auto}.problem-layout{margin-left:-6px;margin-right:-6px}.brand{font-size:.9rem}.topbar nav{font-size:.78rem}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.01ms!important}}.topbar nav button{color:#737b88;background:0 0;border:0;border-bottom:2px solid #0000;height:100%;padding:0}.topbar nav button.active{color:#d9dce1;border-bottom-color:var(--green)}.dashboard{padding-top:54px}.dashboard-hero{justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:36px;display:flex}.dashboard-hero h1{letter-spacing:-.055em;margin:12px 0 10px;font-size:clamp(2rem,3.5vw,3.5rem)}.dashboard-hero h1 em{color:var(--bright);font-style:normal}.dashboard-hero p{color:var(--muted);margin:0}.dashboard-hero .primary-button{min-width:190px}.dashboard-hero .primary-button span{margin-left:20px}.stat-grid{grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:12px;display:grid}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:9px;flex-direction:column;justify-content:space-between;min-height:142px;padding:20px 22px;display:flex}.stat-card>div{color:#aeb4bd;justify-content:space-between;gap:10px;font-size:.8rem;display:flex}.stat-card small{color:#5fd58a;font:.67rem var(--mono)}.stat-card>strong{font:600 2.3rem var(--mono);letter-spacing:-.05em}.stat-card>strong em{color:#777f8b;margin-left:7px;font:500 .75rem Noto Sans KR,sans-serif}.dashboard-grid{grid-template-columns:1.15fr .85fr;gap:12px;display:grid}.dashboard-card{background:var(--surface);border:1px solid var(--border);border-radius:9px;padding:20px}.card-heading{justify-content:space-between;align-items:center;min-height:42px;margin-bottom:22px;display:flex}.card-heading>div{align-items:center;gap:11px;display:flex}.card-heading>div>div{flex-direction:column;gap:3px;display:flex}.card-heading strong{font-size:.92rem}.card-heading small,.card-note{color:var(--muted);font-size:.7rem}.progress-list{flex-direction:column;gap:19px;display:flex}.progress-row{grid-template-columns:75px 1fr 54px;align-items:center;gap:14px;display:grid}.progress-row>strong{font:500 .75rem var(--mono)}.progress-row>span{color:#8e96a2;text-align:right;font:.68rem var(--mono)}.progress-track{background:#252a31;border-radius:20px;height:7px;overflow:hidden}.progress-track i{border-radius:inherit;height:100%;display:block}.retry-card{flex-direction:column;display:flex}.retry-list{flex-direction:column;gap:8px;display:flex}.retry-list button{color:#dce0e6;text-align:left;background:#111419;border:1px solid #2d333b;border-radius:6px;grid-template-columns:34px 1fr auto;align-items:center;gap:11px;width:100%;padding:12px;display:grid}.retry-list button:hover{background:#1c1518;border-color:#5b3741}.retry-icon{color:#fb7185;background:#3a1b23;border-radius:50%;place-items:center;width:28px;height:28px;font-weight:800;display:grid}.retry-list button div{flex-direction:column;gap:3px;display:flex}.retry-list button div strong{font-size:.78rem}.retry-list button small,.retry-list button>span:last-child{color:#858d99;font-size:.66rem}.retry-list button>span:last-child{color:#fb91a2}.retry-empty{color:#6f7782;align-items:center;gap:10px;margin-top:auto;padding-top:18px;display:flex}.retry-empty>span{width:26px;height:26px;color:var(--bright);border:1px solid #315d40;border-radius:50%;place-items:center;font-size:.72rem;display:grid}.retry-empty p{margin:0;font-size:.68rem;line-height:1.5}.history-card{grid-column:1/-1;padding-bottom:10px}.history-table{font-size:.75rem}.history-head,.history-row{grid-template-columns:1.6fr .8fr .65fr .65fr .8fr;align-items:center;gap:12px;padding:0 12px;display:grid}.history-head{color:#656d78;border-bottom:1px solid var(--border);height:34px;font-size:.66rem}.history-row{border-bottom:1px solid #242930;min-height:52px}.history-row:last-child{border-bottom:0}.history-row>span,.history-row time{color:#969eaa}.history-row b{text-align:center;border-radius:4px;width:43px;padding:4px 0;font-size:.66rem}.history-row b.correct{color:#58dc8d;background:#173522}.history-row b.wrong{color:#fb8da0;background:#3a1b23}@media (width<=1050px){.stat-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=720px){.topbar nav{gap:16px}.dashboard{padding-top:34px}.dashboard-hero{flex-direction:column;align-items:flex-start}.stat-grid,.dashboard-grid{grid-template-columns:1fr}.history-card{grid-column:auto;overflow-x:auto}.history-table{min-width:620px}}@media (width<=470px){.topbar nav{font-size:.74rem}.stat-grid{grid-template-columns:1fr 1fr}.stat-card{min-height:125px;padding:16px}.stat-card>div{flex-direction:column}.stat-card>strong{font-size:1.8rem}}.auth-area{color:#cdd2d9;align-items:center;gap:10px;margin-left:auto;font-size:.75rem;display:flex}.auth-area img{object-fit:cover;border:1px solid #39414c;border-radius:50%;width:28px;height:28px}.auth-loading{color:var(--muted)}.google-login{color:#e8eaed;background:#171a1f;border:1px solid #383e47;border-radius:6px;justify-content:center;align-items:center;gap:9px;min-height:38px;padding:0 14px;font-size:.76rem;font-weight:600;display:flex}.google-login:hover{background:#20242b;border-color:#59616d}.google-login svg{flex:none;width:18px;height:18px}.logout-button{color:#858d98;background:0 0;border:0;padding:4px 8px;font-size:.68rem}.logout-button:hover{color:#fff}.auth-required{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:620px;display:flex}.auth-required>.brand-mark{width:48px;height:48px;margin-bottom:24px;font-size:1.2rem}.auth-required h1{letter-spacing:-.045em;margin:0;font-size:clamp(1.8rem,3vw,2.8rem)}.auth-required p{color:var(--muted);margin:14px 0 28px}.google-login.large{color:#202124;background:#fff;border-color:#fff;min-height:48px;padding:0 22px;font-size:.85rem}.google-login.large:hover{background:#f1f3f4}.dashboard-empty{color:#747c87;text-align:center;margin:18px 0;font-size:.75rem}@media (width<=720px){.auth-area>span,.logout-button{display:none}.google-login{padding:0 10px}.google-login:not(.large){font-size:0}.topbar nav,.topbar{gap:12px}}.policy-links{gap:14px;margin-left:auto;display:flex}.policy-links a{color:#707884;text-decoration:none}.policy-links a:hover{color:#c7ccd3}footer .policy-links+small{margin-left:0}@media (width<=720px){.policy-links{margin-left:auto}.policy-links a{font-size:.67rem}footer>span{display:none}}.legal-shell[data-v-4e468558]{background:#0d0f12;min-height:100vh}.legal-header[data-v-4e468558]{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;height:64px;padding:0 max(24px,50vw - 460px);display:flex}.legal-header>a[data-v-4e468558]:last-child{color:#8d95a1;font-size:.78rem;text-decoration:none}.legal-header>a[data-v-4e468558]:last-child:hover{color:#fff}.legal-page[data-v-4e468558]{width:min(800px,100% - 40px);padding:72px 0 96px}.legal-page h1[data-v-4e468558]{letter-spacing:-.06em;margin:16px 0 18px;font-size:clamp(2.5rem,6vw,4.5rem)}.legal-intro[data-v-4e468558]{color:#b4bac3;max-width:650px;font-size:1.05rem;line-height:1.8}.effective-date[data-v-4e468558]{color:#69717d;font:.72rem var(--mono);margin:24px 0 55px}section[data-v-4e468558]{border-top:1px solid var(--border);padding:30px 0}section h2[data-v-4e468558]{margin:0 0 16px;font-size:1.08rem}section p[data-v-4e468558],section li[data-v-4e468558]{color:#aab1bc;font-size:.9rem;line-height:1.85}section p[data-v-4e468558]{margin:0 0 12px}section ul[data-v-4e468558]{margin:0 0 12px;padding-left:20px}section a[data-v-4e468558]{color:var(--bright)}.legal-footer[data-v-4e468558]{width:min(800px,100% - 40px);min-height:86px}.legal-footer nav[data-v-4e468558]{gap:18px;margin-left:auto;display:flex}.legal-footer a[data-v-4e468558]{color:#7e8692;text-decoration:none}.legal-footer a[data-v-4e468558]:hover{color:#fff}@media (width<=600px){.legal-header[data-v-4e468558]{padding:0 20px}.legal-page[data-v-4e468558]{padding-top:48px}.legal-footer[data-v-4e468558]{flex-direction:column;justify-content:center;align-items:flex-start}.legal-footer nav[data-v-4e468558]{margin-left:0}}
