:root { font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif; color: #fef0d7; background: #27170d; font-synthesis: none; }
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; overscroll-behavior: none; }
#surface { position: fixed; inset: 0; isolation: isolate; background: radial-gradient(ellipse at 48% 44%,#c8a059,#543015 72%,#2b180e); overflow: hidden; touch-action: pinch-zoom; }
#soup { width: 100%; height: 100%; display: block; touch-action: pinch-zoom; cursor: crosshair; }
.top-hint { position: absolute; top: max(21px,env(safe-area-inset-top) + 16px); left: 0; right: 0; text-align: center; pointer-events: none; font-size: 12px; letter-spacing: .17em; font-weight: 500; color: #fff6e1d9; text-shadow: 0 1px 10px #36200d88; transition: opacity 1s ease; }
.top-hint.is-hidden { opacity: 0; }
.controls { position: absolute; left: 50%; bottom: max(23px,env(safe-area-inset-bottom) + 12px); transform: translateX(-50%); display: flex; align-items: center; justify-content: center; gap: 3px; padding: 5px; border: 1px solid #ffffff25; border-radius: 999px; background: #1e160f9e; box-shadow: 0 6px 22px #10070133, inset 0 1px #ffffff20; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); white-space: nowrap; max-width: calc(100vw - 24px); }
.soup-option, .reset { -webkit-tap-highlight-color: transparent; appearance: none; border: 0; background: transparent; color: #f9ecd8b2; font: inherit; font-size: 11px; font-weight: 500; padding: 10px 10px; min-height: 39px; border-radius: 999px; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.soup-option { display: flex; align-items: center; gap: 5px; }
.soup-option.is-active { background: #fff3dc22; color: #fff9ed; }
.soup-option:focus-visible, .reset:focus-visible { outline: 2px solid #ffe1a0; outline-offset: 2px; }
.dot { width: 9px; height: 9px; flex: none; border-radius: 50%; border: 1px solid #ffffff60; box-shadow: 0 1px 3px #0f090750; }
.dot.consomme { background: #efc365; }.dot.ramen { background: #aa5b20; }.dot.chili { background: #ce3b13; }
.reset { font-size: 22px; line-height: 1; padding: 8px 10px 11px; border-left: 1px solid #ffffff12; }
.error { position: absolute; top: 40%; left: 50%; transform: translate(-50%,-50%); background: #180e0cde; color: white; width: min(90vw,400px); padding: 20px; font-size: 14px; border-radius: 12px; text-align: center; }
@media (max-width: 365px) { .soup-option { padding: 9px 6px; font-size: 10px; } .reset { padding: 7px 9px 10px; } }
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { transition-duration: .01ms !important; } }
