@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+KR:wght@400;500;600;700&display=swap";:root{color:#dae2fd;font-synthesis:none;background:#0b1326;font-family:Inter,Noto Sans KR,sans-serif;line-height:1.6}*{box-sizing:border-box}body{margin:0}button,textarea{font:inherit}button{cursor:pointer;color:#dae2fd;background:#222a3d;border:1px solid #0000;border-radius:8px;padding:10px 16px;transition:background .15s}button:hover{background:#31394d}button:disabled{opacity:.35;cursor:default}button:focus-visible,a:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #4edea3}.primary{color:#003824;background:#10b981;font-weight:700}.primary:hover{background:#4edea3}h1,h2,h3,p{margin:0}h1{letter-spacing:-.6px;font-size:22px}h1 span{color:#4edea3;font-size:13px}h2{letter-spacing:-.5px;font-size:25px}h3{font-size:15px}small,.muted,.footnote{color:#aebbd0}small{font-size:12px}header{background:#131b2e;border-bottom:1px solid #222a3d;justify-content:space-between;align-items:center;gap:20px;padding:22px 32px;display:flex}.brand{align-items:center;gap:14px;display:flex}.logo{color:#4edea3;background:#222a3d;border-radius:12px;place-items:center;width:48px;height:48px;font-size:32px;display:grid}.header-actions{align-items:center;gap:10px;display:flex}.desktop-note{color:#aebbd0;font-size:12px}main{max-width:1510px;margin:0 auto;padding:24px 32px}.status{background:#131b2e;border-radius:12px;align-items:center;gap:12px;margin-bottom:24px;padding:14px 20px;font-size:14px;display:flex}.dot{background:#4edea3;border-radius:50%;width:9px;height:9px}.accent{color:#4edea3}.badge{background:#2d3449;border-radius:5px;padding:3px 9px;font-size:12px}.right{margin-left:auto}.status .right{color:#aebbd0;font-size:12px}.workspace{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:28px;display:grid}.player{background:#131b2e;border-radius:12px;align-items:center;gap:14px;padding:14px 18px;display:flex}.player strong{font-size:17px}.player small{display:block}.avatar{background:#2d3449;border-radius:9px;padding:0 10px;font-size:26px}.green{color:#003824;background:#10b981}.board-wrap{gap:14px;padding:18px 0;display:flex}.board{aspect-ratio:1;border:8px solid #222a3d;border-radius:12px;grid-template-columns:repeat(8,1fr);width:100%;display:grid;overflow:hidden}.square{aspect-ratio:1;border:0;border-radius:0;place-items:center;min-width:0;padding:0;display:grid;position:relative}.square.light{background:#eeeed2}.square.dark{background:#769656}.square.last{box-shadow:inset 0 0 0 100px #e9ce554d}.square.selected{outline-offset:-4px;outline:4px solid #10b981}.square.check{background:#cf6868}.piece{z-index:1;font-family:Segoe UI Symbol,DejaVu Sans,serif;font-size:clamp(26px,4.7vw,65px);line-height:1}.piece.w{color:#fffdf0;text-shadow:1px 1px 1px #172031,-1px -1px 1px #172031,0 3px 3px #17203199}.piece.b{color:#142031;text-shadow:0 1px 1px #ffffff80}.file,.rank{color:#17371b;font-size:10px;font-weight:700;position:absolute}.file{bottom:1px;right:4px}.rank{top:1px;left:4px}.legal{z-index:2;background:#00382466;border-radius:50%;width:24%;height:24%;position:absolute}.evaluation{color:#0b1326;background:#eeeed2;border-radius:6px;flex-shrink:0;width:25px;position:relative;overflow:hidden}.evaluation>div{background:#31394d;transition:height .3s}.evaluation>span{text-align:center;background:#eeeed2;padding:4px 0;font-size:10px;font-weight:700;position:absolute;top:48%;left:0;right:0}.position{background:#131b2e;border-radius:8px;justify-content:space-between;margin-top:16px;padding:10px 16px;font-size:14px;display:flex}.controls{background:#131b2e;border-radius:12px;justify-content:center;gap:8px;margin-top:12px;padding:12px;display:flex}.return{color:#4edea3;background:#131b2e;width:100%;margin-top:12px}.opening-banner{background:#131b2e;border-left:3px solid #4edea3;border-radius:12px;align-items:center;gap:10px;margin-bottom:16px;padding:17px 20px;display:flex}.opening-banner h2{margin:5px 0;font-size:19px}.opening-banner p{color:#aebbd0;font-size:12px}.opening-banner button{margin-left:auto}.tabs{background:#131b2e;border-radius:10px;gap:3px;margin-bottom:18px;padding:5px;display:flex}.tabs button{white-space:nowrap;background:0 0;flex:1;padding:10px 5px;font-size:13px}.tabs .active{color:#4edea3;background:#2d3449}.card{background:#131b2e;border:1px solid #222a3d;border-radius:16px;padding:24px}.insight{border-left:4px solid #4edea3}.card-top{justify-content:space-between;gap:10px;margin-bottom:14px;display:flex}.insight>h2{font-size:30px}.insight>p{margin:8px 0 18px}.callout{white-space:pre-wrap;overflow-wrap:anywhere;background:#222a3d;border-radius:12px;margin:18px 0;padding:16px;line-height:1.9}.callout small{margin-top:12px;display:block}.callout code{font-size:12px}.explanation{margin-top:20px}.explanation h3{color:#4edea3;margin-bottom:7px}.explanation p{white-space:pre-wrap;font-size:14px;line-height:1.9}.plans{background:#222a3d;border-radius:8px;margin-top:14px;padding:12px;font-size:13px}.analysis-action{justify-content:space-between;align-items:center;gap:12px;margin:20px 0;display:flex}.analysis-action>button.primary{width:100%}.candidates{border-top:1px solid #2d3449;padding-top:16px}.candidate{text-align:left;justify-content:space-between;gap:10px;width:100%;margin-top:10px;font-size:13px;display:flex}.candidate small{margin-top:5px;font-size:11px;display:block}.candidate>span:last-child{text-align:right;white-space:nowrap}.bottom-actions{gap:10px;margin-top:18px;display:flex}.bottom-actions button{flex:1}.footnote{margin:18px 4px;font-size:11px}.movelist{max-height:580px;overflow:auto}.move-row{grid-template-columns:35px 1fr 1fr;align-items:center;gap:8px;font-family:monospace;font-size:14px;display:grid}.move-row>span{color:#aebbd0}.move{text-align:left;background:0 0;padding:8px 12px}.move.active{color:#4edea3;background:#2d3449;border-left:3px solid #4edea3}.table-head{margin-bottom:12px}.timeline{text-align:left;width:100%;margin-top:5px;display:block}.error{color:#ffb4ab;background:#522c35;border-radius:8px;justify-content:space-between;gap:15px;margin:12px 0;padding:12px 18px;display:flex}.error button{padding:2px 10px}footer{color:#aebbd0;background:#060e20;justify-content:space-between;gap:12px;margin-top:30px;padding:24px 32px;font-size:11px;display:flex}a{color:#4edea3}dialog{color:#dae2fd;background:#131b2e;border:1px solid #3c4a42;border-radius:16px;width:min(680px,100% - 32px);padding:26px}dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#060e20cc}.dialog-title{justify-content:space-between;align-items:center;display:flex}.dialog-title h2{font-size:22px}dialog p{margin:14px 0}textarea{resize:vertical;color:#dae2fd;background:#060e20;border:1px solid #3c4a42;border-radius:8px;width:100%;padding:14px;font-family:monospace;font-size:14px}.dialog-actions{justify-content:flex-end;gap:10px;margin-top:18px;display:flex}@media (width>=1200px){.board-area{align-self:start;position:sticky;top:12px}}@media (width<=1199px){.workspace{grid-template-columns:1fr;max-width:760px;margin:auto}.piece{font-size:clamp(30px,8vw,70px)}.desktop-note{display:none}.board-area{position:static}}@media (width<=767px){header{align-items:flex-start;padding:16px}h1{font-size:18px}.brand small{font-size:10px}.logo{width:38px;height:38px}.header-actions{gap:6px}.header-actions button{padding:8px;font-size:11px}main{padding:16px}.status{gap:8px;padding:12px;font-size:11px}.status .right{display:none}.workspace{gap:20px}.board{border-width:5px}.board-wrap{gap:8px}.evaluation{width:19px}.piece{font-size:clamp(23px,9vw,62px)}.player{padding:10px}.player strong{font-size:14px}.player button{padding:7px;font-size:11px}.position{font-size:12px}.controls{z-index:5;position:sticky;bottom:8px;box-shadow:0 4px 20px #0008}.controls button{padding:10px 13px}.card{padding:18px}.opening-banner{padding:14px}.opening-banner h2{font-size:17px}.tabs button{font-size:12px}.candidate{font-size:11px}.candidate>span:last-child{white-space:normal}.bottom-actions button{padding:12px 8px;font-size:12px}footer{flex-direction:column;padding:18px}}.chess-piece{filter:drop-shadow(0 2px 1px #0004);pointer-events:none;width:86%;height:86%}.full-status{color:#90e5b8;background:#132d29;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;padding:12px 18px;font-size:13px;display:flex}.full-status button{flex-shrink:0;font-size:12px}.board{position:relative}.move-arrow{pointer-events:none;z-index:3;width:100%;height:100%;position:absolute;inset:0}.quality{background:#222a3d;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;margin-top:10px;padding:12px 16px;font-size:13px;display:flex}.quality.best,.quality.good{color:#6ffbbe}.quality.inaccuracy{color:#fbbf24}.quality.mistake{color:#fb923c}.quality.blunder{color:#ff9c93}.quality span{font-size:12px}.highlights{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px;display:grid}.highlight{text-align:left;background:#171f33;border:1px solid #2d3449;padding:14px 18px}.highlight small,.highlight strong{display:block}.highlight.best strong{color:#6ffbbe}.highlight.blunder strong{color:#ff9c93}.highlight strong{font-size:20px}.highlight:disabled{opacity:.6}@media (width<=767px){.quality{flex-direction:column;align-items:flex-start;gap:3px}.highlight{padding:12px}.highlight strong{font-size:17px}}.evidence-arrows{pointer-events:none;z-index:4;width:100%;height:100%;position:absolute;inset:0}.evidence-panel{background:#192b32;border-radius:10px;margin:18px 0;padding:14px}.evidence-panel h3{color:#6ffbbe}.evidence-panel p{margin:12px 0;font-size:14px;line-height:1.9}.evidence-options{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.evidence-options button{padding:7px 10px;font-size:12px}.evidence-options .active{background:#273e4c;border-color:#67cafa}.evidence-panel small{font-size:11px}.comparison-note{color:#6ffbbe;background:#213f31;border-radius:8px;margin-top:10px;padding:10px}
