:root{color-scheme:light;--bg: #fff8f3;--surface: #ffffff;--ink: #3d3330;--muted: #8a7d78;--line: #f0e2da;--accent: #f08a6c;--accent-ink: #ffffff;--radius: 20px;font-family:system-ui,-apple-system,Apple SD Gothic Neo,Noto Sans KR,sans-serif;color:var(--ink);background:var(--bg);-webkit-text-size-adjust:100%}*{box-sizing:border-box}body{margin:0;background:var(--bg);overflow-x:hidden}.screen{max-width:440px;margin:0 auto;padding:40px 20px 56px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;min-height:100svh}h1{font-size:32px;line-height:1.25;margin:0;letter-spacing:-.02em}h2{font-size:22px;margin:0}.eyebrow{margin:0;color:var(--accent);font-weight:700;font-size:14px;letter-spacing:.04em}.lead{margin:0;color:var(--muted);line-height:1.5}.guide{list-style:none;margin:8px 0;padding:16px 18px;width:100%;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);text-align:left;display:grid;gap:10px;font-size:15px}.button{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:54px;padding:0 20px;border-radius:999px;border:1.5px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;font-weight:700;font-size:16px;cursor:pointer}.button.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.button:focus-within,.button:focus-visible,.chip:focus-visible,.link-button:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 45%,transparent);outline-offset:2px}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.privacy,.notice{margin:4px 0 0;font-size:13px;color:var(--muted);line-height:1.5}.spinner{margin-top:30vh;width:48px;height:48px;border-radius:50%;border:5px solid var(--line);border-top-color:var(--accent);animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.loading-text,.error-text{margin:0;font-size:17px;line-height:1.5}.error-icon{margin-top:22vh;font-size:56px}.pick-canvas{width:100%;height:auto;border-radius:var(--radius);cursor:pointer}.tone-title.warm{color:#e07b39}.tone-title.cool{color:#5b84c4}.stage{width:100%;padding:20px;border-radius:28px;background:radial-gradient(circle at 50% 35%,#fff,#fdeee6);display:flex;justify-content:center}.fitting{max-width:100%;max-height:52svh;height:auto}.swatch-name{margin:0;font-weight:700}.section-label{margin:8px 0 0;font-size:14px;color:var(--muted)}.chips{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;width:100%}.chips[hidden]{display:none}.chip{aspect-ratio:1;min-height:44px;border-radius:50%;border:2px solid rgba(0,0,0,.08);background:var(--chip);cursor:pointer;padding:0}.chip[aria-pressed=true]{box-shadow:0 0 0 3px var(--bg),0 0 0 6px var(--ink)}.link-button{border:0;background:none;color:var(--accent);font:inherit;font-weight:700;min-height:44px;cursor:pointer}.debug{width:100%;margin-top:24px;padding:16px;border:1px dashed var(--muted);border-radius:12px;text-align:left;font-size:13px}.debug h3{margin:0 0 8px}.debug dl{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;margin:8px 0}.debug dt{color:var(--muted)}.debug dd{margin:0;font-family:ui-monospace,monospace}.debug-swatch{width:48px;height:48px;border-radius:8px}.debug-images{display:grid;grid-template-columns:1fr 1fr;gap:8px}.debug-images canvas{width:100%;height:auto;background:repeating-conic-gradient(#ddd 0,#ddd 25%,#fff 0,#fff 50%) 0 0 / 16px 16px}.vote-card{width:100%;height:auto;border-radius:var(--radius);box-shadow:0 6px 24px #3d33301f}
