/* V0.14 — confirmed status, wallet and native public auth controls. */
.kxe-adventure .kxe-wallet-stale-note{font-size:10px;line-height:1.2;color:#ffe6a3;white-space:normal;max-width:12ch;text-align:center;order:4}.kxe-wallet-stale-note[hidden]{display:none!important}.kxe-adventure .kxe-wallet-stale .kxe-hud-badge{border-color:#ffd061!important}.kxe-wallet-stale .kxe-hud-badge b{opacity:.85}
body.kxe-adventure .ksp-quiz-start[data-ksp-normal-attempted=true] .ks-button{display:flex;flex-direction:column;align-items:center;gap:4px;line-height:1.3;white-space:normal}.kxe-practice-label{font-size:11px;font-weight:500;color:#d9fff0;max-width:100%;text-align:center}
body.kxe-adventure .ksp-hc-form[data-kxe-attempt-tone=available] .ks-button:not(:disabled){background:#523681!important;border-color:#b99be9!important;color:#fff1be!important}body.kxe-adventure .ksp-hc-form[data-kxe-attempt-tone=unknown] .ks-button:not(:disabled){background:#493b69!important;color:#fff!important;border-color:#b8a9d8!important}body.kxe-adventure .ksp-hc-form[data-kxe-attempt-tone] .ks-button:disabled{background:#403950!important;color:#e8e1f1!important;border-color:#82738f!important;opacity:1!important}body.kxe-adventure .ksp-hc-form[data-kxe-attempt-tone] .ks-button{white-space:normal;line-height:1.3}
.kxe-adventure .kxe-gem-exchange{padding:clamp(14px,2vw,24px);border:1px solid #79cde5;border-radius:18px;background:linear-gradient(135deg,#30205f,#201b48);color:#fff;gap:12px;max-width:100%;box-sizing:border-box}.kxe-exchange-heading{display:flex;align-items:center;gap:12px}.kxe-exchange-icon{width:58px;height:58px;object-fit:contain;flex:none}.kxe-exchange-title{font-size:21px;font-weight:750;color:#ffd061}.kxe-adventure .kxe-gem-exchange label,.kxe-adventure .ks-access label:has(input[name=privacy_consent]){display:flex;align-items:flex-start;gap:10px;color:#fff;line-height:1.5}.kxe-adventure :is(.kxe-gem-exchange,.ks-access) input[type=checkbox]{width:20px;min-width:20px;height:20px;min-height:20px;padding:0;margin:3px 0 0;flex:none}.kxe-gem-confirm{background:#21154b;color:#fff;border:1px solid #76e8ff;border-radius:20px;padding:24px;width:min(420px,calc(100vw - 36px));box-sizing:border-box;box-shadow:0 15px 60px #09051b;z-index:10000}.kxe-gem-confirm::backdrop{background:#0c0726bf}.kxe-gem-confirm h2{color:#ffd061;margin:8px 0;font-size:23px}.kxe-gem-confirm p{color:#f5edff}.kxe-gem-confirm-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.kxe-gem-confirm .ks-button{color:#21154b!important;background:#ffd061!important;border:1px solid #ffdf8e!important;padding:10px 16px;border-radius:10px;font-weight:700}.kxe-gem-confirm .ks-button--outline{color:#fff!important;background:#49317e!important;border-color:#b39ae5!important}.kxe-gem-confirm button:focus-visible{outline:3px solid #76e8ff;outline-offset:3px}.kxe-gem-reward{position:fixed;z-index:905;pointer-events:none;display:grid;justify-items:center;color:#baf5ff;font-size:20px;font-weight:800;text-shadow:0 2px 5px #100927;transform:translate(-50%,-50%)}.kxe-gem-reward-art{width:92px;height:92px;object-fit:contain}.kxe-motion-off .kxe-gem-reward{display:none!important}
.kxe-adventure .ks-access .ksp-register summary{display:block;padding:13px 15px;border-radius:12px;background:#38216f;color:#ffe6a3;border:1px solid #a98adf;cursor:pointer}.kxe-adventure .ks-access .ksp-register summary::after{content:'+';float:right}.kxe-adventure .ks-access .ksp-register[open] summary::after{content:'−'}.kxe-adventure .ks-access .ksp-register a{color:#a9edff;text-decoration:underline}.kxe-adventure .ks-access .ksp-register p{color:#f1e8ff}.kxe-adventure .ks-access .ksp-register select{width:100%;min-height:44px;border-radius:10px;padding:8px}.kxe-adventure .ks-access .ksp-form label{color:#f4edff}.kxe-adventure .ks-access .ksp-register form{margin-top:12px}.kxe-adventure .ks-access .ksp-register summary:focus-visible{outline:3px solid #76e8ff;outline-offset:3px}
@media(max-width:760px){.kxe-adventure .kxe-wallet-stale-note{font-size:9px;max-width:8ch}.kxe-adventure .kxe-exchange-title{font-size:18px}.kxe-gem-reward-art{width:70px;height:70px}}
@media(prefers-reduced-motion:reduce){.kxe-gem-reward{display:none!important}}
