html, body { overflow: hidden; overscroll-behavior: none; touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
body { display: flex; flex-direction: column; height: 100dvh; }
#top { flex: none; display: flex; align-items: center; justify-content: space-between; padding: max(14px, env(safe-area-inset-top)) 20px 10px; }
#top img { height: 30px; }
#score { font-size: 17px; font-weight: 800; color: var(--coral); }
#app { flex: 1; min-height: 0; position: relative; display: flex; flex-direction: column; padding: 8px 20px max(20px, env(safe-area-inset-bottom)); }
.center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; animation: in .35s ease-out both; }
@keyframes in { from { opacity: 0; translate: 0 16px; } }
h1 { font-size: 34px; font-weight: 900; line-height: 1.1; letter-spacing: -.8px; }
p.s { font-size: 18px; line-height: 1.35; color: var(--mist); }
.token { position: relative; width: 150px; height: 150px; border-radius: 50%; background: var(--coral); border: 6px solid var(--cream); overflow: hidden; animation: bob 2.4s ease-in-out infinite; }
.token img { position: absolute; left: 8%; top: 12%; width: 84%; }
@keyframes bob { 50% { translate: 0 -10px; } }
input { width: 100%; font: 800 24px 'Be Vietnam Pro', Arial, sans-serif; text-align: center; padding: 16px; border-radius: 18px; border: 3px solid var(--teal-line); background: var(--teal-soft); color: var(--cream); outline: none; user-select: text; -webkit-user-select: text; }
input:focus { border-color: var(--coral); }
button { font-family: inherit; border: 0; cursor: pointer; color: inherit; }
.cta { display: block; width: 100%; font-size: 21px; font-weight: 900; padding: 18px; border-radius: 18px; background: var(--coral); color: var(--teal); text-align: center; text-decoration: none; box-shadow: 0 6px 0 var(--coral-deep); }
.cta:active { translate: 0 4px; box-shadow: 0 2px 0 var(--coral-deep); }
form { width: 100%; display: flex; flex-direction: column; gap: 14px; }
.answers { flex: 1; display: grid; gap: 12px; min-height: 0; }
.ans { display: flex; align-items: center; gap: 16px; padding: 0 22px; border-radius: 22px; font-size: 26px; font-weight: 800; text-align: left; animation: in .3s ease-out both; }
.ans svg { flex: none; width: 32px; height: 32px; }
.duelv { font-size: 42px; justify-content: center; }
.o0 { background: var(--coral); color: var(--teal); } .o1 { background: var(--cream); color: var(--teal); }
.o2 { background: var(--coral-deep); color: var(--cream); } .o3 { background: var(--teal-soft); color: var(--cream); box-shadow: inset 0 0 0 3px var(--teal-line); }
.tag { align-self: center; font-size: 14px; font-weight: 800; padding: 6px 14px; border-radius: 999px; background: var(--coral); color: var(--teal); margin-bottom: 10px; }
.result { font-size: 66px; font-weight: 900; letter-spacing: -2px; line-height: 1; }
.win { position: fixed; inset: 0; z-index: -1; background: var(--coral); }
.win ~ * { color: var(--teal); }
.rank { font-size: 92px; font-weight: 900; color: var(--coral); line-height: 1; letter-spacing: -3px; }
