:root{--ink:#202724;--muted:#697570;--green:#28644e;--mint:#eef5f0;--line:#d5ddd8;--gold:#b77a13;--photo:#b9b8b5;color-scheme:light;font-family:"Yu Gothic UI","Yu Gothic",Meiryo,system-ui,sans-serif;color:var(--ink);background:#fff;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font-family:inherit;font-size:17px;font-weight:600;line-height:1.4;cursor:pointer}button:disabled{cursor:default;opacity:.55}a{color:inherit;text-decoration:none}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid #c89936;outline-offset:4px}[hidden]{display:none!important}html{scroll-behavior:smooth}
.site-header{height:76px;margin:auto;padding:0 3.7%;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:8%;justify-content:space-between}
.wordmark{white-space:nowrap;font-size:32px;line-height:1.2;font-weight:800;letter-spacing:-1.2px}.site-header nav{display:flex;align-items:center;gap:42px;height:100%;flex:1}.site-header nav a,.site-header nav button{border:0;background:none;color:var(--muted);font-size:16px;line-height:1.4;font-weight:600;padding:24px 6px 20px;white-space:nowrap;height:100%}.site-header nav .active{color:var(--ink);border-bottom:3px solid var(--green)}.wallet{display:flex;gap:7px;align-items:baseline;font-size:17px;white-space:nowrap}.wallet strong{font-size:29px;line-height:1}.coin{align-self:center;display:block;background:#c99728;border:3px solid #d8ad4a;box-shadow:inset 0 0 0 1px #b78018;width:25px;height:25px;border-radius:50%;margin-right:4px}
main{max-width:1360px;margin:auto;padding:0 0 22px}.game{max-width:984px;margin:26px auto 0;scroll-margin-top:20px}h1{margin:0;text-align:center;font-size:48px;line-height:1.3;letter-spacing:-1.4px;font-weight:800}.intro{margin:9px 0 0;text-align:center;color:var(--muted);font-size:19px;line-height:1.65}.round-meta{display:flex;justify-content:space-between;align-items:center;font-size:17px;line-height:1.5;margin:15px 0 9px}
.choices{display:grid;grid-template-columns:1fr 1fr;gap:58px;position:relative}.choice{min-width:0}.photo{display:block;width:100%;aspect-ratio:.965;background:var(--photo);border:1px solid var(--line);border-radius:12px;overflow:hidden;position:relative;padding:0;opacity:1!important;transition:box-shadow .15s}.photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top}.letter{position:absolute;left:22px;top:10px;font-size:47px;line-height:1.2;color:#fff;font-weight:700;text-shadow:0 1px 3px #0002}.choose{position:relative;width:100%;border:1.5px solid var(--green);border-radius:10px;background:#fff;color:var(--green);font-size:21px;font-weight:700;line-height:1.4;min-height:52px;margin-top:14px}.choose:hover:not(:disabled){background:var(--mint)}kbd{position:absolute;right:13px;top:10px;border:1px solid #b7cdc2;border-radius:4px;min-width:27px;min-height:29px;padding:1px;font-family:inherit;font-weight:500;font-size:18px;line-height:1.5;color:#6b8780}button{font-family:inherit}.or{position:absolute;left:50%;top:39%;transform:translate(-50%,-50%);color:#858d88;font-size:23px;font-weight:700}.photo:hover:not(:disabled){box-shadow:0 0 0 3px #28644e33}.choice.selected .photo{box-shadow:0 0 0 4px var(--green)}.choice.selected .choose{background:var(--green);color:white;opacity:1}
.alternatives{display:flex;justify-content:center;gap:12px;margin:24px 0 20px}.alternatives button,.secondary{border:1px solid #c6ceca;border-radius:9px;background:white;color:#59635e;min-height:46px;padding:9px 24px;font-size:16px;font-weight:600}.alternatives .quiet{border-color:transparent}.alternatives button:hover:not(:disabled){background:#f5f7f5}
.rule-strip{display:flex;align-items:center;justify-content:space-around;gap:20px;background:var(--mint);border-radius:10px;margin:18px 0 25px;min-height:61px;padding:14px 24px;font-size:17px;line-height:1.5}.rule-strip span{flex:1;text-align:center;position:relative}.rule-strip span+span:before{content:"";position:absolute;height:22px;width:1px;left:-10px;top:2px;background:#c5d8cc}.rule-strip strong{color:var(--gold);font-size:21px}
.history{border-top:1px solid var(--line);padding-top:20px;scroll-margin-top:18px}.history header{display:flex;align-items:center;justify-content:space-between}h2{font-size:23px;line-height:1.4;margin:0;font-weight:750}.history header button{border:0;background:none;color:var(--green);font-size:14px;padding:8px 12px}.empty{text-align:center;color:var(--muted);font-size:16px;margin:26px 0 30px}.history ol{list-style:none;padding:0;margin:12px 0 0}.history li{padding:14px 0;border-bottom:1px solid #e7ece9;display:flex;align-items:center;gap:18px;font-size:15px}.history .history-choice{flex:1}.history .history-status{color:var(--muted);font-size:14px}.history .history-points{font-size:18px;font-weight:700;color:var(--gold)}
.result{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid var(--line);padding:22px 0;margin:24px 0 14px;animation:reveal .18s ease-out}.result strong{font-size:22px}.result p{font-size:15px;color:var(--muted);margin:7px 0 0;max-width:720px}.primary{border:0;border-radius:9px;background:var(--green);color:white;font-size:18px;padding:14px 25px;display:flex;align-items:center;gap:18px;min-height:50px;white-space:nowrap}.primary svg{height:22px;width:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.error{background:#fff2ed;color:#9d3f2a;border-radius:8px;padding:14px;font-size:16px}.complete{text-align:center;padding:60px 20px 90px}.complete h2{font-size:34px}.complete p{font-size:17px;color:var(--muted)}
footer{max-width:1360px;margin:0 auto 16px;border-top:1px solid var(--line);padding-top:12px;display:flex;gap:24px;justify-content:space-between;font-size:12px;color:var(--muted)}dialog{max-width:680px;width:calc(100% - 28px);border:0;border-radius:16px;padding:28px;box-shadow:0 12px 80px #15281f33;color:var(--ink)}dialog::backdrop{background:#16271f99}.dialog-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.dialog-heading button{background:white;border:1px solid var(--line);padding:8px 14px;border-radius:8px;font-size:15px;min-height:44px}dialog ol{padding-left:25px;font-size:16px;line-height:1.85}dialog li{padding:8px 0}dialog p{font-size:14px;line-height:1.7;color:var(--muted)}
@keyframes reveal{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
@media(max-width:1400px){main,footer{margin-left:3.7%;margin-right:3.7%}.game{max-width:984px}}@media(max-width:900px){.site-header{gap:20px}.wordmark{font-size:25px}.site-header nav{gap:16px}.site-header nav a,.site-header nav button{font-size:13px}h1{font-size:40px}.choices{gap:38px}.rule-strip{font-size:14px;gap:12px;padding:12px}.rule-strip strong{font-size:18px}.intro{font-size:17px}}
@media(max-width:620px){.site-header{height:auto;min-height:96px;position:relative;flex-wrap:wrap;padding:15px 16px 0;gap:12px}.wordmark{font-size:24px}.wallet{margin-left:auto}.wallet strong{font-size:25px}.site-header nav{order:3;flex-basis:100%;justify-content:center;gap:19px;height:37px}.site-header nav a,.site-header nav button{padding:3px 0 10px;height:auto;font-size:13px}.game{margin-top:25px}main,footer{margin-left:16px;margin-right:16px}h1{font-size:29px;letter-spacing:-.8px}.intro{font-size:14px;line-height:1.7;margin-top:10px}.round-meta{font-size:13px;margin-top:20px}.choices{gap:20px}.photo{aspect-ratio:.72;border-radius:9px}.photo img{object-fit:contain}.letter{font-size:30px;left:10px;top:8px}.or{font-size:14px;top:42%}.choose{font-size:17px;margin-top:10px;min-height:46px;border-radius:8px}kbd{display:none}.alternatives{gap:5px;margin:18px 0}.alternatives button{font-size:13px;min-height:44px;padding:9px 10px}.rule-strip{margin-top:18px;padding:12px 8px;display:grid;grid-template-columns:1fr 1fr;gap:6px;font-size:13px}.rule-strip span:last-child{grid-column:1/-1;font-size:12px;margin-top:4px}.rule-strip span+span:before{display:none}.rule-strip strong{font-size:17px}h2{font-size:21px}.history li{gap:8px;flex-wrap:wrap;font-size:13px}.history-status{font-size:12px!important}.history-points{font-size:16px!important}.result{gap:12px;align-items:flex-start}.result strong{font-size:18px}.result p{font-size:13px}.primary{font-size:16px;padding:12px 15px;gap:8px}.primary svg{width:18px}footer{font-size:10px;gap:8px;flex-direction:column;padding-bottom:8px}.complete{padding:38px 8px}.complete h2{font-size:27px}.complete p{font-size:15px}}

.reference{margin:20px auto 24px;display:flex;align-items:center;justify-content:center;gap:16px;padding:14px;background:#f4f6f4;border:1px solid var(--border,#d5ddd8);border-radius:12px;width:fit-content}.reference[hidden]{display:none}.reference img{width:128px;height:160px;object-fit:contain;border-radius:6px}.reference figcaption{font-size:16px;font-weight:600;color:#42604f}@media(max-width:600px){.reference img{width:80px;height:100px}.reference{padding:10px;gap:12px;margin:12px auto 16px}}
