:root { --red: #b8281c; --deep: #7a1510; --yellow: #f2b51d; --teal: #1f6f72; --ink: #2b1a14; --muted: #8a7363; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; color: var(--ink); font-family: "Noto Sans JP", sans-serif;
  background: radial-gradient(circle, rgba(242, 181, 29, .35) 0 2px, transparent 2.5px) 0 0 / 26px 26px, linear-gradient(160deg, #a51e18, #7a1510); }
button { font: inherit; color: inherit; cursor: pointer; }
.top { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; color: #fff3dc; }
.logo { display: flex; align-items: baseline; gap: 10px; }
.logo b { font-family: "Dela Gothic One", sans-serif; font-size: 26px; letter-spacing: .06em; color: var(--yellow); }
.logo small { font-size: 12px; opacity: .85; }
.pill { padding: 6px 14px; border-radius: 99px; background: rgba(255, 246, 227, .14); font-size: 12px; font-weight: 700; }
.pill b { font-size: 18px; color: var(--yellow); margin-left: 4px; }
.stage { display: grid; gap: 16px; padding: 0 18px 28px; max-width: 1280px; margin: 0 auto; }
@media (min-width: 1000px) { .stage { grid-template-columns: 250px minmax(0, 1fr) 300px; align-items: start; } }
.jars, .result { background: #fff9ee; border-radius: 20px; padding: 16px; box-shadow: 0 18px 34px -18px rgba(0, 0, 0, .6); border-top: 6px solid var(--yellow); }
h2 { margin: 0 0 12px; font-family: "Dela Gothic One", sans-serif; font-weight: 400; font-size: 17px; color: var(--deep); }
.small { font-size: 11.5px; color: var(--muted); margin: 10px 0 0; }
#jars { display: grid; gap: 8px; }
@media (max-width: 999px) { #jars { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }
.jar { position: relative; display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left; padding: 8px 10px; border: 2px solid #f0dfc4; border-radius: 14px; background: #fff; transition: transform .15s, border-color .15s; }
.jar:hover { transform: translateX(3px); border-color: var(--c); }
.jar:active { transform: scale(.97); }
.lid { position: absolute; left: 16px; top: 6px; width: 28px; height: 8px; border-radius: 4px 4px 2px 2px; background: #3b2a20; }
.glass { grid-row: span 2; width: 36px; height: 40px; margin-top: 6px; border-radius: 6px 6px 10px 10px; background: rgba(255, 255, 255, .6); border: 2px solid #d8c7ad; overflow: hidden; position: relative; }
.glass i { position: absolute; left: 0; right: 0; bottom: 0; height: 70%; background: radial-gradient(circle, rgba(255, 255, 255, .25) 0 1px, transparent 1.5px) 0 0 / 5px 5px, var(--c); }
.jar b { font-size: 14px; }
.jar small { font-size: 11px; color: var(--muted); }
.jar em { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-style: normal; font-family: "Dela Gothic One", sans-serif; font-size: 18px; color: var(--c); }
.pot-area { display: grid; gap: 12px; justify-items: center; }
.odai { width: 100%; display: grid; justify-items: center; gap: 2px; padding: 12px 16px; border-radius: 16px; background: var(--yellow); color: var(--deep); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .6); }
.odai span { font-size: 11px; font-weight: 700; }
.odai b { font-family: "Dela Gothic One", sans-serif; font-weight: 400; font-size: 22px; }
.odai small { font-size: 11.5px; }
.pot-wrap { position: relative; width: min(520px, 100%); }
.pot-wrap canvas { width: 100%; height: auto; display: block; }
.spoon { position: absolute; left: 50%; top: -10px; width: 70px; height: 22px; margin-left: -35px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: #e6dccb; opacity: 0; box-shadow: inset 0 -8px 0 var(--c); }
.spoon::after { content: ""; position: absolute; left: 60px; top: 7px; width: 70px; height: 6px; border-radius: 3px; background: #d6c8b0; }
.spoon.drop { animation: drop .7s ease-in forwards; }
@keyframes drop { 0% { opacity: 1; transform: translateY(0) rotate(0); } 60% { opacity: 1; transform: translateY(170px) rotate(0); } 100% { opacity: 0; transform: translateY(190px) rotate(-60deg); } }
.pot-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.btn { padding: 10px 20px; border-radius: 99px; border: 2px solid #fff3dc; background: rgba(255, 246, 227, .12); color: #fff3dc; font-weight: 700; }
.btn.primary { background: var(--yellow); border-color: var(--yellow); color: var(--deep); font-family: "Dela Gothic One", sans-serif; font-weight: 400; font-size: 16px; }
.btn.ghost { border-color: transparent; }
#radar { width: 100%; height: auto; }
#radar .ring { fill: none; stroke: #f0dfc4; }
#radar .target { fill: rgba(31, 111, 114, .18); stroke: var(--teal); stroke-width: 2; stroke-dasharray: 5 4; }
#radar .mine { fill: rgba(184, 40, 28, .35); stroke: var(--red); stroke-width: 2.5; transition: all .3s; }
#radar text { font-size: 11px; text-anchor: middle; fill: var(--ink); font-weight: 700; }
.verdict { margin-top: 8px; padding: 12px; border-radius: 14px; background: #fff1cf; text-align: center; min-height: 80px; }
.verdict p { margin: 4px 0 0; font-size: 13px; }
.verdict b { display: block; font-size: 14px; margin-top: 4px; }
.score { font-family: "Dela Gothic One", sans-serif; font-size: 48px; line-height: 1; color: var(--red); }
.score small { font-size: 16px; }
.score.gold { color: #c8a21a; text-shadow: 0 2px 0 var(--deep); }
.spoons { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.spoons li { font-size: 12px; padding: 3px 10px; border-radius: 99px; background: #fff; border: 2px solid var(--c); }
.spoons li.none { border-color: #f0dfc4; color: var(--muted); }
