:root{
  --page:#e9e6e1;--paper:#f9f8f5;--line:#d5d1cb;--ink:#292c30;--muted:#858581;
  --dark:#24272c;--dark-2:#30343a;--accent:#edaa82;
  font-family:"Segoe UI","Pretendard","Noto Sans KR",-apple-system,BlinkMacSystemFont,sans-serif;
  font-synthesis:none;color:var(--ink);background:var(--page);-webkit-tap-highlight-color:transparent;
}
*{box-sizing:border-box}body{margin:0;min-width:0;min-height:100vh;min-height:100dvh;overflow-x:hidden;display:flex;align-items:center;justify-content:center}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:3px solid #bd94f3;outline-offset:3px}
.app-fit{position:relative;margin-inline:auto;width:1300px;height:1002px}
.app{position:absolute;top:0;left:0;width:1300px;max-width:none;margin:0;padding:29px 35px 16px;transform-origin:top left}
.masthead{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
.brand{display:flex;align-items:center;gap:15px}.brand-mark{width:55px;height:55px;border:1px solid #c4c0bb;border-radius:15px;display:grid;place-items:center;background:#f9f8f6;box-shadow:0 4px 0 #d1ccc7;color:#46474c}.brand-mark span{font-size:29px;line-height:1}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.23em;color:#8b8a84;margin:0 0 4px}.brand h1{font-weight:750;font-size:34px;letter-spacing:-.065em;margin:0;line-height:1.1}.brand h1 span{font-weight:450;color:#85837e}.version-tag{font-size:12px;font-weight:650;letter-spacing:.01em;color:#686864;padding:12px 15px;border:1px solid #d5d0c9;border-radius:30px;background:#f6f3ef}.version-tag i{font-style:normal;padding:0 5px;color:#b5afa6}.version-dot{width:7px;height:7px;border-radius:50%;background:#8fbfa4;display:inline-block;margin-right:7px}
.dashboard{display:grid;grid-template-columns:minmax(0,1fr) 314px;align-items:start;gap:19px}
.screen-panel{min-width:0;background:#f7f5f1;border:1px solid var(--line);border-radius:22px;padding:17px;box-shadow:0 8px 24px #78716b0d}
.panel-heading{height:33px;display:flex;align-items:center;justify-content:space-between;padding:0 4px 12px;gap:12px}.panel-heading>div{display:flex;gap:10px;align-items:center}.section-index{font-weight:800;color:#88877f;font-size:11px;letter-spacing:.04em}.section-caption{color:#55585a;font-size:11px;letter-spacing:.14em;font-weight:800}.panel-heading-right{color:#97938e;font-size:11px}
.screen-frame{border-radius:17px;background:#1f2226;border:7px solid #e4e0da;box-shadow:inset 0 0 0 1px #c5c0ba,0 3px 12px #554b4025;padding:0;overflow:hidden}.screen-viewport{position:relative;height:632px;overflow:hidden;isolation:isolate;background:#292d33}.screen-stack{position:absolute;inset:0;display:flex;flex-direction:column;transform:translate3d(0,0,0);will-change:transform}.screen-stack.moving{transition:transform 680ms cubic-bezier(.22,.78,.17,1);transform:translate3d(0,-100%,0);pointer-events:none}.screen-scene{position:relative;flex:0 0 100%;min-height:0;width:100%;overflow:hidden;background:linear-gradient(155deg,#32363d 0%,#272b30 58%,#24282d 100%);color:#f6f4f0}
.panel-foot{display:flex;justify-content:space-between;color:#99948d;padding:12px 3px 0;font-size:10px;font-weight:700;letter-spacing:.14em}
.sidebar{display:flex;flex-direction:column;gap:13px;min-width:0}.side-card{background:#f9f8f5;border:1px solid #d9d5cf;border-radius:17px;padding:17px 17px 16px;box-shadow:0 6px 18px #7c6e610a}.side-heading{display:flex;align-items:center;gap:9px;min-height:19px;margin-bottom:15px}.side-heading h2{font-size:14px;font-weight:800;letter-spacing:-.035em;margin:0;flex:1}.chip{font-weight:800;font-size:9px;letter-spacing:.12em;border-radius:5px;padding:5px 7px}.chip-warm{background:#f5e3d6;color:#b37e60}.chip-cool{background:#ddeaf0;color:#77929d}.subtle-label{font-size:10px;color:#a6a19a;font-weight:750;letter-spacing:.08em}
.records-best{border-top:3px solid #e4b7a3}.records-now{border-top:3px solid #b6cbd2}
.record-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.record{background:#fff;border:1px solid #e9e5df;border-radius:12px;min-width:0;padding:12px}.record-label{display:block;color:#777570;font-size:11px;font-weight:700}.record strong{font-size:29px;letter-spacing:-.05em;font-variant-numeric:tabular-nums;display:block;margin-top:6px;line-height:1.08;overflow-wrap:anywhere}.record small{display:block;color:#bab5ac;font-size:9px;font-weight:800;letter-spacing:.15em;margin-top:4px}
.theme-card{border-top:3px solid #d7d1c9}.theme-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.theme-key{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-height:67px;border:1px solid #d6d5d3;border-bottom:4px solid #c8c5c3;border-radius:10px;background:#fff;color:#6c6c6d;font-size:11px;font-weight:750;transition:transform .1s,border-bottom-width .1s}.theme-key .theme-symbol{font-size:18px;line-height:1;color:#a1a0a0}.theme-key.is-selected{background:#d9d9d8;border-color:#bab9ba;border-bottom-width:1px;transform:translateY(3px);color:#3c3d40;cursor:default}.theme-key.is-selected .theme-symbol{color:#67676a}.theme-key:disabled{opacity:.47;cursor:not-allowed}.section-note{font-size:10px;color:#aaa49b;letter-spacing:-.02em;margin:14px 0 0}
.settings-card{border-top:3px solid #bcd1c4}.setting-line{display:flex;justify-content:space-between;align-items:center;gap:9px;margin-top:14px;font-size:12px;font-weight:700;color:#555752}.setting-line:first-of-type{margin-top:2px}.setting-line output{font-size:11px;color:#7c7c79;font-variant-numeric:tabular-nums}.not-ready{font-size:10px;color:#aba39a;font-weight:500;padding-left:4px}.volume-slider{display:block;width:100%;height:15px;margin:7px 0 12px;accent-color:#899c91;cursor:pointer}.settings-divider{height:1px;background:#e6e1d9;margin:15px 0}.reset-title{font-size:11px;color:#71716e;font-weight:750;margin-bottom:10px}.reset-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.reset-actions button{border:1px solid #d7d4d0;background:#f4f3ef;border-radius:9px;padding:10px 4px;font-size:11px;font-weight:700;color:#79746f;transition:background .15s}.reset-actions button:hover{background:#e8e4de}
.app-footer{display:flex;justify-content:space-between;gap:8px;margin-top:19px;font-size:10px;letter-spacing:.12em;color:#a6a099;font-weight:700}
/* A. start scene */
.scene-start{display:flex;flex-direction:column;padding:37px 58px 34px}.scene-start::after{content:"";position:absolute;width:350px;height:350px;right:-175px;top:110px;border:1px solid #ffffff12;border-radius:50%;pointer-events:none}.scene-ornament-left{position:absolute;top:-120px;left:-120px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,#76818a10,transparent 65%);pointer-events:none}.intro-top{font-size:10px;letter-spacing:.19em;color:#b7b6b3;font-weight:700}.intro-dot{display:inline-block;background:#b1c5bb;width:6px;height:6px;border-radius:50%;margin-right:9px}.intro-content{position:relative;margin:auto 0;padding:8px 0 26px}.scene-kicker{display:block;letter-spacing:.2em;font-size:10px;font-weight:800;color:#d7bcae}.intro-content h2{font-family:Georgia,"Times New Roman",serif;font-weight:500;letter-spacing:-.055em;font-size:109px;line-height:.93;margin:24px 0 20px;color:#fffdfa}.intro-content h2 em{font-weight:400;color:#e9b28e}.intro-content p{font-size:13px;line-height:1.9;color:#bdbec0;margin:0}.intro-keycaps{display:flex;gap:7px;margin-top:35px}.intro-keycaps span{display:grid;place-items:center;width:51px;height:45px;background:#e5e5e6;border:1px solid #fffa;border-bottom:5px solid #b3b5b8;border-radius:9px;color:#52565e;font-size:16px;font-weight:700;box-shadow:0 3px 9px #05070955}.intro-keycaps span:nth-child(2){transform:translateY(4px)}.intro-keycaps span:nth-child(4){width:66px;background:#d8bdad;border-bottom-color:#ae8f7b}.intro-footer,.result-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:18px;border-top:1px solid #ffffff25}.intro-footer>span,.result-footer>span{font-size:10px;color:#999d9e;letter-spacing:.19em;font-weight:700}.scene-cta{border:1px solid #f8e5d7;border-radius:10px;background:#f3e2d5;color:#312d2a;font-size:14px;font-weight:800;min-width:171px;min-height:52px;padding:12px 17px;display:flex;justify-content:space-between;align-items:center;gap:24px;box-shadow:0 4px 0 #c4a894;transition:transform .12s,box-shadow .12s}.scene-cta span{font-size:21px;line-height:1}.scene-cta:hover{background:#f8e9e0}.scene-cta:active{transform:translateY(3px);box-shadow:0 1px 0 #c4a894}
/* B. play scene. 1 top button, board anchored low */
.scene-play{padding:28px 43px 18px;display:flex;flex-direction:column}.play-top{display:flex;justify-content:space-between;gap:15px;align-items:center}.play-top h2{font-size:33px;font-weight:750;letter-spacing:-.055em;margin:6px 0 0}.board-reset{font-size:12px;font-weight:750;color:#eee9e1;padding:11px 14px;border-radius:10px;border:1px solid #777a7b;background:#44494e;box-shadow:0 3px 0 #1d2023;white-space:nowrap}.board-reset span{font-size:20px;vertical-align:-1px;margin-right:5px}.board-reset:hover{background:#565b60}.board-reset:active{transform:translateY(2px);box-shadow:0 1px 0 #1d2023}.play-status{display:flex;align-items:center;gap:9px;color:#a9acae;font-size:11px;letter-spacing:-.01em;margin:15px 0 4px}.status-bullet{height:6px;width:6px;border-radius:50%;background:#9baea5;flex:none}.play-board-region{margin-top:auto;display:flex;justify-content:center;align-items:flex-end;width:100%;min-height:0;padding-top:8px}.board-shell{width:min(100%,510px);border:1px solid #7676764d;border-radius:15px;background:#c5beb8;padding:4px;box-shadow:0 12px 24px #1116,0 0 0 2px #14181c50;overflow:hidden}.board-shell .board{width:100%}
/* C. result scene */
.scene-result{padding:36px 57px 34px;display:flex;flex-direction:column}.result-top{display:flex;justify-content:space-between;align-items:center}.result-index{font-size:11px;color:#959ba0}.result-content{margin:auto 0;max-width:520px}.result-symbol{font-size:66px;color:#cda98f;margin-bottom:7px;font-weight:300}.result-label{color:#d4ab8b;font-size:11px;font-weight:800;letter-spacing:.19em;margin:0 0 10px}.result-content h2{font-size:78px;line-height:1.09;margin:0 0 15px;letter-spacing:-.065em}.result-content>p:not(.result-label){line-height:1.75;font-size:13px;color:#b9bbbe}.result-stats{display:flex;gap:14px;margin-top:29px}.result-stats>div{min-width:135px;flex:1;max-width:190px;padding:13px 15px;background:#fff1;border:1px solid #ffffff28;border-radius:11px}.result-stats small{display:block;font-size:10px;letter-spacing:.16em;color:#9a9fa4;font-weight:700}.result-stats strong{display:block;margin-top:6px;font-size:34px;color:#fff;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
@media(prefers-reduced-motion:reduce){.screen-stack.moving{transition-duration:.01ms}.keycap-top{transition:none!important}}

/* v2.2 — numeric records with reusable line icons (no background props added) */
.icon-sprite{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.ui-icon{width:21px;height:21px;display:block;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round;flex:none}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.icon-side-heading{margin-bottom:12px}
.icon-heading{display:flex;align-items:center;color:#827c72;min-height:24px}
.icon-heading .ui-icon{width:23px;height:23px}
.records-best .icon-heading{color:#b58169}
.records-now .icon-heading{color:#77929d}
.record-label{display:flex;align-items:center;height:24px;color:#817e79}
.record-label .ui-icon{width:21px;height:21px}
.records-best .record-label{color:#b58a6d}
.records-now .record-label{color:#7695a1}
.record strong{margin-top:8px}
.reset-title{min-height:21px;display:flex;align-items:center;color:#827c72}
.reset-title .ui-icon{width:18px;height:18px}
.reset-actions button{min-height:44px;padding:7px;display:flex;align-items:center;justify-content:center;gap:7px}
.reset-actions .ui-icon{width:22px;height:22px}
.reset-actions .reset-icon{width:17px;height:17px;color:#969089}
.reset-actions button:hover .reset-icon{color:#5e7165}
.result-stats small{min-height:22px;display:flex;align-items:center;color:#d3ad92}
.result-stats small .ui-icon{width:22px;height:22px}
