.knowledge-play { width: 100%; height: 100%; padding: clamp(14px, 2dvh, 28px) 24px; }
[data-screen="knowledge-result"] { overflow-y: auto; }
[data-screen="knowledge-result"] .kq-result-panel { margin-top: 0; margin-bottom: 24px; }
.kq-name-panel { width: min(100%, 620px); margin: auto; align-self: center; padding: clamp(24px, 4vw, 44px); background: #201a32ed; border: 1px solid #ffffff24; border-radius: 24px; display: grid; gap: 16px; text-align: center; }
.kq-name-panel h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0; }
.kq-name-panel p { margin: 0; }
.kq-name-panel label { text-align: left; font-weight: 750; }
.kq-name-panel input { width: 100%; min-height: 60px; padding: 14px 18px; font: inherit; color: white; border-radius: 12px; border: 1px solid #907494; background: #120e22; }
.kq-name-panel button { min-height: 50px; }
.kq-leaderboard { padding: 14px 18px; border: 1px solid #ffffff20; border-radius: 16px; background: #15112599; }
.kq-leaderboard h2, .kq-prize-form h2 { margin: 0 0 10px; color: #ffcf78; }
.kq-leaderboard ol { display: grid; gap: 7px; margin: 0; padding-left: 28px; text-align: left; }
.kq-leaderboard li { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 12px; align-items: center; }
.kq-leaderboard li strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kq-prize-form { display: grid; gap: 10px; padding: 16px; border: 1px solid #ffcf7840; border-radius: 16px; background: #ffcf7809; text-align: left; }
.kq-prize-form[hidden], .kq-leaderboard[hidden] { display: none; }
.kq-prize-form input[type="email"] { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #ffffff30; border-radius: 12px; background: #120e22; color: #fff; font: inherit; }
.kq-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .78rem; line-height: 1.4; color: #c9c3d3; }
.kq-consent input { margin-top: 3px; accent-color: #ed245d; }
.kq-notice { color: #bfb3cc; font-size: .8rem; line-height: 1.45; }
.kq-game { width: min(100%, 740px); height: 100%; margin: auto; display: grid; grid-template-rows: auto 4px auto minmax(0,1fr) auto auto; gap: clamp(10px, 1.5dvh, 18px); }
.kq-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; font-size: .9rem; }
.kq-head button { min-height: 44px; }
.kq-progress-track { background: #ffffff12; border-radius: 10px; overflow: hidden; }
.kq-progress-track > span { display: block; height: 100%; background: #ed245d; }
.kq-timer { --remaining: 100%; width: clamp(78px, 11dvh, 128px); height: clamp(78px, 11dvh, 128px); padding: 5px; border-radius: 50%; margin: 0 auto; background: conic-gradient(#e72a61 var(--remaining), #ffffff14 0); }
.kq-pokeball { width: 100%; height: 100%; border: 5px solid #171322; border-radius: 50%; display: grid; place-items: center; position: relative; isolation: isolate; background: linear-gradient(#e12a52 0 46%, #171322 46% 54%, #e9e8f3 54%); box-shadow: inset -8px -5px 12px #0003; }
.kq-pokeball > span { display: grid; place-items: center; width: 70%; height: 70%; border-radius: 50%; background: #fff; border: 4px solid #171322; color: #20152b; font-size: clamp(20px, 3.2dvh, 32px); font-weight: 900; font-variant-numeric: tabular-nums; }
.kq-timer.is-urgent { background: conic-gradient(#ffbd63 var(--remaining), #ffffff14 0); }
.kq-prompt { min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.kq-prompt .eyebrow { margin: 0; font-size: .7rem; }
.kq-prompt h2 { font-size: clamp(1.25rem, 3.1vw, 2rem); line-height: 1.2; margin: 0; max-width: 720px; }
.kq-prompt img { height: clamp(90px, 17dvh, 210px); width: 100%; object-fit: contain; min-height: 0; }
.kq-prompt img[hidden] { display: none; }
.kq-answers { display: grid; grid-template-columns: minmax(0,1fr); gap: 9px; }
.kq-answers button { display: flex; align-items: center; gap: 16px; text-align: left; min-height: clamp(52px, 6.4dvh, 78px); width: 100%; padding: 10px 16px; background: #2b2540; border: 1px solid #ffffff27; border-radius: 15px; color: white; font: inherit; font-size: clamp(.95rem, 2.2vw, 1.2rem); font-weight: 700; cursor: pointer; }
.kq-letter { flex: 0 0 32px; display: grid; place-items: center; height: 32px; background: #ffffff0b; border: 1px solid #ffffff18; border-radius: 9px; font-size: .9rem; }
.kq-answers button:disabled { opacity: .7; cursor: default; }
.kq-answers button.is-correct { background: #204c3b; border-color: #65d39a; opacity: 1; }
.kq-answers button.is-wrong { background: #64263b; border-color: #ff7595; opacity: 1; }
.kq-answers button:focus-visible { outline: 3px solid white; outline-offset: 2px; }
.kq-bottom { display: grid; gap: 8px; }
.kq-bottom p { min-height: 24px; margin: 0; text-align: center; font-size: .9rem; }
.kq-bottom button { min-height: 52px; }
#kq-result-points { color: #ffcf78; font-size: clamp(2rem, 5vw, 3rem); }
@media(max-height:800px){.kq-game{gap:8px}.kq-timer{width:72px;height:72px}.kq-prompt h2{font-size:1.2rem}.kq-prompt img{height:90px}.kq-answers{gap:6px}.kq-answers button{min-height:46px;padding:7px 12px}.kq-bottom button{min-height:44px}.kq-head button{min-height:36px}.kq-name-panel{gap:10px}}
