/* Kridemy Adventure Universe | Presentation only | core 0.8.2 */
body.kxe-adventure{--kx-bg:#101425;--kx-panel:#19223a;--kx-panel2:#222e49;--kx-line:#3b4b69;--kx-text:#f5f7ff;--kx-muted:#b8c7df;--kx-mint:#79f0cc;--kx-gold:#ffd36d;--kx-purple:#bcabff;--kx-coral:#ff927d;--kx-shadow:0 14px 32px #05091455;--kx-radius:22px;background:var(--kx-bg);color:var(--kx-text);font-family:ui-rounded,'Nunito','Trebuchet MS',system-ui,sans-serif;line-height:1.5;}
.kxe-adventure .ks-hero{background:radial-gradient(ellipse at 76% 0%,#343260 0,transparent 43%),radial-gradient(ellipse at 7% 40%,#1a3b4c 0,transparent 35%),var(--kx-bg);padding:clamp(18px,3vw,44px) 0 48px;color:var(--kx-text);min-height:70vh;}
.kxe-adventure .ksp-layout{width:min(96%,1440px);max-width:1440px;margin:auto;padding:0 clamp(4px,1vw,16px);box-sizing:border-box;gap:18px;align-items:start;}
.kxe-adventure .ksp-layout *, .kxe-adventure .kxe-rail *{box-sizing:border-box;}
.kxe-adventure .ksp-layout h1,.kxe-adventure .ksp-layout h2,.kxe-adventure .ksp-layout h3{font-family:inherit;color:var(--kx-text);font-weight:850;letter-spacing:-.025em;line-height:1.18;overflow-wrap:anywhere;}
.kxe-adventure .ksp-layout p{line-height:1.6;}
.kxe-adventure .ksp-layout [hidden],.kxe-adventure #ksp-drawer [hidden]{display:none!important;}
.kxe-adventure .ksp-layout :is(button,a,input,select,summary):focus-visible,.kxe-adventure #ksp-drawer :is(button,a):focus-visible,.kxe-adventure .ksp-menu-toggle:focus-visible{outline:3px solid var(--kx-gold);outline-offset:3px;}
.kxe-adventure .ksp-layout .ks-kicker,.kxe-adventure .ksp-kicker{color:var(--kx-mint);font-size:11px;font-weight:850;letter-spacing:.16em;text-transform:uppercase;}
.kxe-adventure .ksp-layout .ksp-muted,.kxe-adventure .ksp-layout .ks-lead{color:var(--kx-muted);}
.kxe-adventure .ksp-layout .ks-notice,.kxe-adventure .ksp-banner{color:#ffebb4;background:#392f2b;border:1px solid #8c7047;border-radius:12px;padding:9px 14px;font-size:12px;box-shadow:none;}
.kxe-adventure .ksp-layout .ks-button,.kxe-adventure #ksp-drawer .ks-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:10px 18px;max-width:100%;white-space:normal;text-align:center;text-decoration:none;border:1px solid #a4fce0;border-radius:13px;background:var(--kx-mint);color:#102c30;font-weight:850;font-size:14px;line-height:1.25;box-shadow:0 4px 0 #338a77;cursor:pointer;transition:background .16s,box-shadow .16s,translate .16s;}
.kxe-adventure .ksp-layout .ks-button--outline,.kxe-adventure #ksp-drawer .ks-button--outline{background:#27334e;color:var(--kx-text);border:1px solid #566b8d;box-shadow:0 4px 0 #0c1426;}
.kxe-adventure .ksp-layout .ks-button:not(:disabled):hover{background:#abffe6;translate:0 -2px;}.kxe-adventure .ksp-layout .ks-button--outline:not(:disabled):hover{background:#354664;}.kxe-adventure .ksp-layout .ks-button:not(:disabled):active{translate:0 2px;box-shadow:none;}.kxe-adventure .ksp-layout .ks-button:disabled{opacity:.48;cursor:not-allowed;translate:none;}
.kxe-adventure .ksp-layout :is(input:not([type=hidden]):not([type=radio]):not([type=checkbox]),select){background:#10192d;color:var(--kx-text);border:1px solid #526789;border-radius:12px;min-height:44px;max-width:100%;padding:10px 12px;color-scheme:dark;}
.kxe-adventure .ksp-layout :is(input[type=radio],input[type=checkbox]){accent-color:var(--kx-mint);flex:none;}.kxe-adventure .ksp-form label,.kxe-adventure .ksp-search label{color:var(--kx-muted);font-size:13px;font-weight:750;}
/* Existing theme chrome remains, including support/legal links. */
.kxe-adventure #ks-header{background:#151d31;color:var(--kx-text);border-bottom:1px solid #354763;box-shadow:0 5px 20px #05091455;}.kxe-adventure #ks-header a:not(.ks-button),.kxe-adventure #ks-header .ks-brand-label{color:var(--kx-text);}.kxe-adventure #ks-header .ks-button{background:#263650;color:var(--kx-text);border:1px solid #58718d;border-radius:12px;}.kxe-adventure #ks-header .ksp-wallet{background:#232d46;border:1px solid #485a78;color:var(--kx-muted);padding:7px 12px;border-radius:12px;font-weight:650;}.kxe-adventure #ks-header .ksp-wallet b{color:var(--kx-gold);}.kxe-adventure #ks-header .ksp-menu-toggle{background:#263650;border:1px solid #58718d;color:var(--kx-mint);}.kxe-adventure #ks-footer{background:#131b2e;color:var(--kx-muted);border-top:1px solid var(--kx-line);}.kxe-adventure #ks-footer a{color:var(--kx-text);}
.kxe-adventure #ksp-drawer{background:#182238;color:var(--kx-text);border-left:1px solid #4b6283;}.kxe-adventure #ksp-drawer .ksp-drawer-head button{background:#293955;color:var(--kx-text);}.kxe-adventure #ksp-drawer a{color:var(--kx-text);}.kxe-adventure #ksp-drawer .ksp-learn-nav{border-color:var(--kx-line);}.kxe-adventure #ksp-drawer .ksp-learn-nav a{background:#222f49;border:1px solid #405678;color:var(--kx-text);}.kxe-adventure #ksp-drawer .ksp-learn-nav a[aria-current=page]{background:#79f0cc;color:#102c30;}
/* Login / world gateway */
.kxe-adventure .ks-hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);align-items:center;gap:clamp(24px,5vw,80px);min-height:480px;padding:clamp(14px,3vw,42px);}
.kxe-adventure .ks-hero-grid>div:first-child{position:relative;min-width:0;}.kxe-adventure .ks-hero-grid h1{font-size:clamp(46px,7vw,88px);line-height:.99;margin:15px 0 24px;letter-spacing:-.055em;text-shadow:0 5px 0 #05091444;}.kxe-adventure .ks-hero-grid h1 span{color:var(--kx-mint);}.kxe-adventure .ks-hero-grid .ks-lead{font-size:clamp(16px,2vw,21px);max-width:36ch;}.kxe-adventure .ks-access{background:linear-gradient(145deg,#24344d,#172139);color:var(--kx-text);padding:clamp(20px,4vw,42px);border-radius:30px;border:1px solid #536989;box-shadow:var(--kx-shadow);}.kxe-adventure .ks-access h2{font-size:clamp(23px,3vw,34px);}.kxe-adventure .ksp-register{border-color:var(--kx-line);}.kxe-adventure .ksp-register summary{color:var(--kx-mint);}
.kxe-gateway-art{width:min(100%,380px);height:auto;display:block;margin:24px 0 0;pointer-events:none;}.kxe-adventure .kxe-gateway-art .kx-star{transform-box:fill-box;transform-origin:center;}
/* Desktop command rail, built from actual enabled core navigation. */
.kxe-adventure .ksp-layout.kxe-has-rail{grid-template-columns:210px minmax(0,1fr);column-gap:24px;}.kxe-adventure .kxe-has-rail>.ksp-banner,.kxe-adventure .kxe-has-rail>.ks-notice{grid-column:1/-1;}.kxe-adventure .kxe-rail{position:sticky;top:112px;display:grid;gap:14px;background:linear-gradient(150deg,#202c45,#172137);border:1px solid #3c5271;border-radius:22px;padding:16px;box-shadow:var(--kx-shadow);min-width:0;}.kxe-rail .kxe-rail-brand{display:flex;gap:9px;align-items:center;font-size:16px;font-weight:900;color:var(--kx-text);}.kxe-rail-brand svg{width:35px;flex:none;}.kxe-rail .kxe-rail-caption{color:var(--kx-muted);font-size:10px;text-transform:uppercase;letter-spacing:.13em;font-weight:850;}.kxe-rail nav{display:grid;gap:7px;}.kxe-rail nav a{display:flex;align-items:center;gap:10px;min-height:45px;padding:9px 10px;border:1px solid transparent;border-radius:11px;color:var(--kx-muted);font-weight:750;font-size:13px;text-decoration:none;overflow-wrap:anywhere;}.kxe-rail nav a:hover{background:#2d3f5d;color:var(--kx-text);}.kxe-rail nav a[aria-current=page]{background:#294b49;color:#a0ffe0;border-color:#589b8b;}.kxe-nav-icon{font-size:20px;line-height:1;min-width:23px;text-align:center;color:var(--kx-gold);}.kxe-rail-note{font-size:12px;color:var(--kx-muted);margin:0;}.kxe-pref{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:0;}.kxe-pref button{border:1px solid #5b7191;border-radius:9px;background:#23334f;color:var(--kx-text);font:inherit;font-size:12px;padding:8px 10px;min-height:36px;cursor:pointer;}.kxe-pref button[aria-pressed=true]{border-color:var(--kx-mint);color:var(--kx-mint);}.kxe-adventure .ksp-dash{gap:22px;min-width:0;align-content:start;}
/* Player identity + factual stats */
.kxe-adventure .ksp-profile-hero{background:radial-gradient(ellipse at 94% 12%,#4c4174,transparent 48%),linear-gradient(120deg,#243b53,#232b49);border:1px solid #526986;padding:clamp(16px,2.8vw,32px);border-radius:26px;box-shadow:var(--kx-shadow);gap:18px;position:relative;overflow:hidden;}.kxe-adventure .ksp-profile-identity{gap:14px;z-index:1;}.kxe-adventure .ksp-profile-avatar{width:68px;height:68px;border-radius:21px;background:linear-gradient(145deg,#b7a6ff,#79f0cc);color:#20314f;border:3px solid #d4e8ff;box-shadow:0 6px 0 #142034;}.kxe-adventure .ksp-profile-avatar svg{width:39px;height:39px;}.kxe-adventure .ksp-profile-identity h1{font-size:clamp(26px,4vw,43px);margin:3px 0;}.kxe-adventure .ksp-profile-identity div>span:last-child{color:var(--kx-muted);font-size:13px;}.kxe-adventure .ksp-stat,.kxe-adventure .ksp-rich .ksp-stat,.kxe-adventure .ksp-profile-hero .ksp-stat{background:linear-gradient(145deg,#283954,#1e2b43);border:1px solid #516787;border-radius:16px;box-shadow:0 4px 0 #111b2b;color:var(--kx-text);padding:15px;gap:7px;}.kxe-adventure .ksp-stat span{color:var(--kx-muted);font-size:12px;font-weight:700;}.kxe-adventure .ksp-stat strong{color:var(--kx-gold);font-weight:900;font-size:clamp(19px,3vw,32px);}.kxe-adventure .ksp-stat[data-kxe-metric=xp] strong{color:var(--kx-mint);}.kxe-adventure .ksp-stat[data-kxe-metric=gems] strong{color:var(--kx-purple);}.kxe-stat-icon{font-size:17px;color:var(--kx-mint);line-height:1;}.kxe-adventure .ksp-stat-prev,.kxe-adventure .ksp-stat-next{background:#273954;border:1px solid #597391;color:var(--kx-text);}.kxe-adventure .ksp-stat-position{color:var(--kx-muted);}.kxe-adventure .ksp-stat-carousel .ksp-stat{min-height:88px;}.kxe-profile-signal{font-size:11px;font-weight:800;letter-spacing:.1em;color:var(--kx-mint);text-transform:uppercase;}
/* Exploration board and mission cards */
.kxe-adventure .ksp-catalog,.kxe-adventure .ksp-rich .ksp-catalog{padding:0;background:transparent;border:0;gap:20px;}.kxe-adventure .ksp-catalog-heading{position:relative;overflow:hidden;background:linear-gradient(120deg,#263b56,#3b3562);border:1px solid #61708c;border-radius:24px;padding:clamp(20px,3vw,34px);min-height:153px;align-content:center;}.kxe-adventure .ksp-catalog-heading h2{font-size:clamp(28px,4vw,48px);max-width:78%;color:var(--kx-text);z-index:1;}.kxe-adventure .ksp-catalog-heading .ksp-chips{z-index:1;}.kxe-world-orbit{position:absolute;right:12px;top:0;width:clamp(90px,21%,190px);height:100%;pointer-events:none;opacity:.8;}.kxe-adventure .ksp-chip{background:#303d59;color:#e1e8ff;border:1px solid #51688b;border-radius:8px;}.kxe-adventure .ksp-grade{background:#483e31;color:#ffe0a3;border-color:#93764e;}.kxe-adventure .ksp-views{background:#254640;color:#a4f4d9;border-color:#4f8b7f;}.kxe-adventure .ksp-country{background:#254158;color:#c0e4ff;border-color:#4d7798;}.kxe-adventure .ksp-catalog .ksp-search{background:#1b2940;border:1px solid #435a79;border-radius:16px;padding:15px;}.kxe-adventure .ksp-catalog-grid{grid-template-columns:repeat(var(--ksp-cols,3),minmax(0,1fr));gap:17px;}.kxe-adventure .ksp-tile,.kxe-adventure .ksp-catalog-tile{background:linear-gradient(155deg,#283852,#1b293e 75%);color:var(--kx-text);border:1px solid #4b6080;border-radius:21px;box-shadow:0 6px 0 #0b1323,0 12px 22px #090e1c45;padding:17px;gap:12px;position:relative;min-width:0;}.kxe-adventure .ksp-catalog-tile h3{color:var(--kx-text);font-size:clamp(18px,2.2vw,23px);}.kxe-adventure .ksp-tile p{color:var(--kx-muted);}.kxe-adventure .ksp-catalog-tile .ks-button{justify-self:stretch;width:100%;}.kxe-adventure .ksp-catalog-tile .ksp-thumb{border-radius:14px;aspect-ratio:16/11;object-fit:cover;}.kxe-adventure .ksp-art,.kxe-adventure .ksp-concept-icon{background:radial-gradient(circle at 70% 30%,#7570bd,transparent 38%),linear-gradient(140deg,#23445c,#483b72);color:#e4e4ff;border:1px solid #6475a2;border-radius:14px;}.kxe-adventure .ksp-art{min-height:130px;}.kxe-adventure .ksp-concept-icon{width:70px;height:70px;}.kxe-adventure .ksp-locked{border-color:#485369;}.kxe-adventure .ksp-locked .ksp-lesson-cover:after{background:#10172788;}.kxe-adventure .ksp-lock-overlay{font-size:32px;}.kxe-adventure .ksp-read-badge{color:var(--kx-mint);}.kxe-mission-number{font-size:10px;color:var(--kx-mint);font-weight:850;letter-spacing:.13em;text-transform:uppercase;}.kxe-adventure .ksp-concepts-grid .ksp-catalog-tile{border-left:4px solid var(--kx-purple);}.kxe-adventure .ksp-comics-grid .ksp-catalog-tile:not(.ksp-locked){border-top:3px solid var(--kx-mint);}.kxe-adventure .ksp-teacher-strip{padding:5px 4px 14px;gap:12px;scrollbar-color:#536a90 #19263d;}.kxe-adventure .ksp-teacher-card{background:#25354e;border:1px solid #506587;box-shadow:0 4px 0 #0b1428;border-radius:15px;}.kxe-adventure .ksp-teacher-card strong{background:#293955;color:var(--kx-text);}.kxe-adventure .ksp-teacher-symbol{background:linear-gradient(140deg,#394b78,#60538a);color:#e9ddff;}.kxe-adventure .ksp-teacher-card[aria-current=true]{outline:2px solid var(--kx-mint);border-color:var(--kx-mint);}.kxe-adventure .ksp-teacher-card[aria-current=true] strong{background:#285348;color:#cbffec;}
/* Reading theater: preserve core fullscreen sizing, image zoom and hit geometry. */
.kxe-adventure.ksp-focus-screen .ks-hero{padding:12px 0 32px;}.kxe-adventure.ksp-focus-screen .ksp-layout{max-width:1180px;gap:10px;}.kxe-adventure.ksp-focus-screen .ksp-dash{gap:14px;}.kxe-adventure .ksp-reading-heading{padding:12px 15px;background:#202d46;border:1px solid #485f81;border-radius:15px;}.kxe-adventure .ksp-reading-heading h2{font-size:clamp(20px,3vw,31px);}.kxe-adventure .ksp-reader{background:#18233a;border:1px solid #53688b;border-radius:19px;color:var(--kx-text);box-shadow:var(--kx-shadow);}.kxe-adventure .ksp-reader-image{background:#0b101d;border:1px solid #394b68;border-radius:12px;}.kxe-adventure .ksp-page-placeholder{color:var(--kx-text);background:radial-gradient(ellipse at center,#273958,#111b30);width:100%;max-width:none;}.kxe-adventure .ksp-page-arrow{background:linear-gradient(#334665,#27334d);border:1px solid #587294;color:#c9f9e9;border-radius:12px;}.kxe-adventure .ksp-page-arrow:hover:not(:disabled){background:#3e6c68;color:#fff;}.kxe-adventure .ksp-page-arrow:disabled{opacity:.38;}.kxe-adventure .ksp-transcript,.kxe-adventure .ksp-reader:fullscreen .ksp-transcript{background:#202d44;border:1px solid #415876;color:var(--kx-text);}.kxe-adventure .ksp-transcript summary{font-weight:800;color:var(--kx-mint);}.kxe-adventure .ksp-reader:fullscreen{background:#101727;border-radius:0;}.kxe-adventure .ksp-reader-toolbar{font-weight:750;}.kxe-adventure .ksp-finish-dialog{background:linear-gradient(145deg,#263956,#1c2943);color:var(--kx-text);border:1px solid #63789d;}.kxe-adventure .ksp-finish-star{background:#314d54;color:var(--kx-gold);border:2px solid #79c5ad;}.kxe-adventure .ksp-finish-dialog::backdrop{background:#080d1bbd;}.kxe-adventure .ksp-fact-image{border-radius:13px;}.kxe-adventure .ksp-layout progress{width:100%;height:10px;appearance:none;border:0;border-radius:20px;overflow:hidden;background:#101a2d;accent-color:var(--kx-mint);}.kxe-adventure .ksp-layout progress::-webkit-progress-bar{background:#101a2d;border-radius:20px;}.kxe-adventure .ksp-layout progress::-webkit-progress-value{background:linear-gradient(90deg,#61d9c2,#b9ffe3);border-radius:20px;}.kxe-adventure .ksp-layout progress::-moz-progress-bar{background:linear-gradient(90deg,#61d9c2,#b9ffe3);border-radius:20px;}
/* Normal quiz: spacious two-column arena, actual core radio controls retained. */
.kxe-adventure .ksp-quiz,.kxe-adventure .ksp-quiz-result{background:radial-gradient(ellipse at 98% 0%,#343d70,transparent 43%),linear-gradient(145deg,#24334f,#1a253c);border:1px solid #576d94;border-radius:26px;box-shadow:var(--kx-shadow);padding:clamp(19px,4vw,38px);gap:16px;}.kxe-adventure .ksp-quiz h2{font-size:clamp(23px,3.6vw,36px);}.kxe-adventure .ksp-quiz form{gap:20px;}.kxe-adventure .ksp-quiz-top{color:var(--kx-mint);font-size:14px;align-items:center;}.kxe-adventure #ksp-quiz-clock:not(:empty){background:#18233b;color:var(--kx-gold);border:1px solid #53688d;border-radius:10px;padding:5px 12px;font-variant-numeric:tabular-nums;}.kxe-adventure .ksp-question{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;}.kxe-adventure .ksp-question legend{font-size:clamp(22px,3.4vw,33px);font-weight:850;padding:8px 0;margin:0 0 12px;color:var(--kx-text);max-width:100%;overflow-wrap:anywhere;}.kxe-adventure .ksp-option,.kxe-adventure .ksp-hc-options label{position:relative;display:flex;align-items:center;gap:11px;min-height:82px;background:#293a58;color:var(--kx-text);border:2px solid #4d6389;border-radius:16px;padding:15px;box-shadow:0 4px 0 #111b30;font-size:clamp(15px,1.8vw,18px);font-weight:700;overflow-wrap:anywhere;min-width:0;cursor:pointer;}.kxe-adventure .ksp-option:hover,.kxe-adventure .ksp-hc-options label:hover{border-color:#9bb6d7;background:#354967;}.kxe-adventure .ksp-option:has(input:checked),.kxe-adventure .ksp-rich .ksp-option:has(input:checked),.kxe-adventure .ksp-hc-options label:has(input:checked){border-color:var(--kx-mint);background:#24554f;color:#d9fff1;box-shadow:0 4px 0 #113b36;transform:none;}.kxe-adventure .ksp-option:focus-within,.kxe-adventure .ksp-hc-options label:focus-within{outline:3px solid var(--kx-gold);outline-offset:2px;}.kxe-choice-letter{display:grid;place-items:center;flex:none;width:28px;height:28px;border:1px solid #7791b5;border-radius:9px;font-size:12px;color:var(--kx-text);background:#19263e;font-weight:850;}.kxe-adventure .ksp-quiz .ksp-controls{justify-content:space-between;padding-top:12px;border-top:1px solid #435a7c;}.kxe-adventure #ksp-quiz-next,.kxe-adventure #ksp-quiz-submit{margin-left:auto;}.kxe-adventure #ksp-quiz-message{color:var(--kx-gold);}.kxe-adventure .ksp-quiz-result h2{font-size:clamp(48px,9vw,96px);color:var(--kx-mint);line-height:1;}.kxe-adventure .ksp-quiz-result .ks-kicker{color:var(--kx-gold);}.kxe-adventure .ksp-after-quiz{background:#24334e;border:1px solid #455f80;border-radius:16px;}.kxe-result-emblem{display:grid;place-items:center;width:70px;height:70px;border-radius:22px;background:#2a554e;border:2px solid #79c5ad;color:var(--kx-gold);font-size:38px;box-shadow:0 6px 0 #183b39;}
/* Hardcore: arena HUD with high contrast, no change to timer or risk logic. */
.kxe-adventure .ksp-hc{--kx-mint:#ffd36d;background:radial-gradient(ellipse at 100% 0%,#5c3154,transparent 45%),linear-gradient(145deg,#282138,#201b33);border:1px solid #765674;border-radius:26px;padding:clamp(16px,3vw,34px);gap:16px;box-shadow:var(--kx-shadow);}.kxe-adventure .ksp-hc h2{font-size:clamp(23px,3.7vw,37px);color:#fff7ed;}.kxe-adventure .ksp-hc-heading{color:#ffe2a2;padding-bottom:10px;border-bottom:1px solid #74516c;font-size:17px;}.kxe-adventure .ksp-hc-heading a{font-size:13px;color:#e4d5ef;}.kxe-adventure .ksp-hc-stats>div{background:#3b304a;border:1px solid #785d79;border-radius:14px;padding:12px 15px;box-shadow:0 4px 0 #1c1729;}.kxe-adventure .ksp-hc-stats b{font-size:clamp(22px,3.5vw,34px);color:#ffd36d;}.kxe-adventure .ksp-hc-stats>div:nth-child(2) b{color:#9de9d7;}.kxe-adventure .ksp-hc-stats>div:nth-child(3) b{color:#e1c7ff;}.kxe-adventure .ksp-hc-meter{background:#211b33;border:1px solid #73516d;border-radius:16px;padding:8px 14px;}.kxe-adventure #ksp-hc-clock{background:#ffd36d;color:#30213d;border-radius:12px;min-width:70px;font-weight:900;font-size:25px;}.kxe-adventure #ksp-hc-clock.ksp-hc-urgent{background:#ffb2a2;color:#63292a;}.kxe-adventure .ksp-hc:has(#ksp-hc-clock.ksp-hc-urgent) .ksp-hc-meter{border-color:#ff927d;}.kxe-adventure #ksp-hc-progress::-webkit-progress-value{background:linear-gradient(90deg,#ff927d,#ffd36d);}.kxe-adventure #ksp-hc-progress::-moz-progress-bar{background:linear-gradient(90deg,#ff927d,#ffd36d);}.kxe-adventure .ksp-hc-difficulty{justify-self:start;background:#4b3b3c;color:#ffe0a3;border:1px solid #9a785b;}.kxe-adventure .ksp-hc-options label{background:#3b304e;border-color:#735b7d;box-shadow:0 4px 0 #1b142a;min-height:68px;}.kxe-adventure .ksp-hc-options label:has(input:checked){background:#57443e;color:#fff0cb;border-color:#ffd36d;}.kxe-adventure .ksp-hc .ks-button{background:#ffd36d;border-color:#ffe8ac;color:#38283b;box-shadow:0 4px 0 #9c6a39;}.kxe-adventure .ksp-hc .ks-button--outline{background:#3e3350;border-color:#8b7199;color:#fff3e8;box-shadow:0 4px 0 #201a32;}.kxe-adventure .ksp-hc .ks-button:not(:disabled):hover{background:#ffe8ac;}.kxe-adventure .ksp-hc .ks-button--outline:not(:disabled):hover{background:#594363;}.kxe-adventure .ksp-hc-form{gap:12px;}.kxe-adventure .ksp-hc-options{gap:12px;}.kxe-adventure .ksp-hc-powers{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}.kxe-adventure .ksp-hc-powers form{background:linear-gradient(145deg,#473955,#30283f);border:1px solid #8a7093;border-radius:17px;padding:14px;box-shadow:0 4px 0 #1c152b;}.kxe-adventure .ksp-hc-powers label{color:#f4e9ff;font-size:13px;line-height:1.45;}.kxe-adventure .ksp-hc-powers form .ks-button{width:100%;}.kxe-power-icon{display:grid;place-items:center;width:47px;height:47px;border-radius:13px;color:#fff4c9;background:#614e79;border:1px solid #ad8cc4;font-size:27px;}.kxe-adventure .ksp-hc-feedback,.kxe-adventure .ksp-hc-note{background:#352c47;border:1px solid #715b82;border-radius:15px;}.kxe-adventure .ksp-hc-hint-panel{background:#3a3454;border:1px solid #9a85bd;}.kxe-adventure .ksp-hc-hint-shade{background:#19172d;}.kxe-adventure .ksp-hc-legacy{background:#3c3049;color:#ead9f5;border:1px solid #695278;}.kxe-adventure .ksp-hc[data-kxe-state=feedback] h2{color:#b4f6dd;}.kxe-adventure .ksp-hc[data-kxe-state=feedback] form:has(input[value=hc_finish]) .ks-button{background:#a4eed8;color:#163b36;border-color:#d0ffed;box-shadow:0 4px 0 #4e9785;}.kxe-adventure .ksp-hc[data-kxe-state=timeout] h2,.kxe-adventure .ksp-hc[data-kxe-state=lost] h2{color:#ffc1ae;}
/* Wallet, account and discovery panels */
.kxe-adventure .ksp-dash[data-kxe-screen=wallet] .ksp-card-grid .ksp-tile{border-top:3px solid var(--kx-purple);}.kxe-adventure .ksp-dash[data-kxe-screen=faq] .ksp-tile{border-left:4px solid var(--kx-mint);}.kxe-adventure .ksp-dash[data-kxe-screen=dyk] .ksp-tile{border-left:4px solid var(--kx-gold);}.kxe-adventure .ksp-avatar,.kxe-adventure .ksp-avatar-text{background:#38536a;color:var(--kx-mint);}.kxe-adventure .ksp-danger{border:1px solid #c16b75;}.kxe-adventure .ksp-danger .ks-button{background:#653a4a;color:#ffe3e3;border-color:#c16b75;box-shadow:0 4px 0 #3b2131;}.kxe-adventure .ksp-danger .ks-button:hover:not(:disabled){background:#814756;}.kxe-prefs-focus{justify-self:end;}.kxe-adventure .ksp-controls{min-width:0;}.kxe-adventure .ksp-layout a:not(.ks-button){color:var(--kx-mint);}.kxe-adventure .ksp-layout .ksp-tile strong{color:var(--kx-text);}
/* Existing core entrance animations are replaced only when the experience JS initializes. */
.kxe-adventure.kxe-active .ksp-motion :is(.ksp-catalog-tile,.ksp-teacher-card,.ksp-stat,.ksp-question,.ksp-quiz-result,.ksp-hc-feedback){animation:none;}.kxe-adventure.kxe-active .ksp-motion .ksp-option:has(input:checked){transform:none;}.kxe-adventure .ksp-dash .ksp-hc [hidden]{display:none!important;}
@media(max-width:1050px){.kxe-adventure .ksp-layout.kxe-has-rail{grid-template-columns:180px minmax(0,1fr);gap:14px;}.kxe-adventure .ksp-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.kxe-adventure .ksp-hc-powers{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:760px){.kxe-adventure .ksp-layout.kxe-has-rail{grid-template-columns:1fr;}.kxe-adventure .kxe-rail{position:static;padding:10px;gap:8px;}.kxe-rail .kxe-rail-brand,.kxe-rail .kxe-rail-caption,.kxe-rail .kxe-rail-note{display:none;}.kxe-rail nav{display:flex;overflow-x:auto;gap:6px;padding-bottom:3px;}.kxe-rail nav a{flex:0 0 auto;white-space:nowrap;min-height:43px;}.kxe-adventure .ks-hero-grid{grid-template-columns:1fr;min-height:0;padding:10px;gap:20px;}.kxe-adventure .ks-hero-grid h1{font-size:clamp(42px,11vw,64px);}.kxe-gateway-art{width:210px;margin-top:10px;}.kxe-adventure .ksp-question,.kxe-adventure .ksp-hc-options{grid-template-columns:1fr;}.kxe-adventure .ksp-option,.kxe-adventure .ksp-hc-options label{min-height:62px;}.kxe-adventure .ksp-catalog-heading{min-height:115px;}.kxe-adventure .ksp-catalog-heading h2{max-width:82%;}.kxe-adventure .ksp-stat-carousel .ksp-stat{padding:8px;min-height:78px;}.kxe-adventure .ksp-stat-carousel .ksp-stat strong{font-size:clamp(16px,4.5vw,24px);}.kxe-adventure .ksp-stat-carousel .ksp-stat span{font-size:10px;}.kxe-adventure .ksp-profile-avatar{width:51px;height:51px;}.kxe-adventure .ksp-profile-avatar svg{width:29px;height:29px;}.kxe-adventure .ksp-hc-stats>div{padding:8px;}.kxe-adventure .ksp-hc-stats small{font-size:11px;}.kxe-adventure .ksp-hc-stats b{font-size:22px;}.kxe-adventure .ksp-reading-heading{padding:8px;}.kxe-adventure .ksp-reading-heading h2{min-width:0;}.kxe-adventure .ksp-hc-powers form{padding:10px;}.kxe-adventure .ksp-hc-powers label{font-size:12px;}.kxe-adventure .ksp-quiz,.kxe-adventure .ksp-hc{padding:15px;}.kxe-adventure #ks-header .ksp-wallet{font-size:10px;padding:5px;}.kxe-adventure .ksp-page-arrow{min-height:44px;}}
@media(max-width:440px){.kxe-adventure .ksp-catalog-grid{grid-template-columns:1fr;}.kxe-adventure .ksp-stats:not(.ksp-stat-slide){grid-template-columns:repeat(2,minmax(0,1fr));}.kxe-adventure .ksp-layout{width:98%;}.kxe-adventure .ksp-hc-stats>div{padding:6px;}.kxe-adventure .ksp-hc-stats b{font-size:19px;}.kxe-adventure .ksp-hc-powers{gap:8px;}.kxe-adventure .ksp-hc-powers form{padding:8px;}.kxe-adventure .ksp-hc-powers .ks-button{font-size:12px;}.kxe-adventure .ksp-stat-carousel .ksp-stat{padding:5px;}.kxe-adventure .ksp-stat-carousel .ksp-stat strong{font-size:16px;}}
@media(prefers-reduced-motion:reduce){.kxe-adventure .ksp-layout *,.kxe-adventure #ksp-drawer *{animation:none!important;transition:none!important;scroll-behavior:auto!important;}.kxe-adventure .ksp-layout .ks-button{translate:none!important;}}
.kxe-adventure.kxe-motion-off .ksp-layout *,.kxe-adventure.kxe-motion-off #ksp-drawer *{animation:none!important;transition:none!important;scroll-behavior:auto!important;}.kxe-adventure.kxe-motion-off .ksp-layout .ks-button{translate:none!important;}
.kxe-rail nav a[aria-current=location]{background:#294b49;color:#a0ffe0;border-color:#589b8b;}.kxe-stat-icon{font-style:normal;}.kxe-rail-brand>span:first-child{display:flex;align-items:center;}.kxe-adventure .ksp-layout .kxe-pref button:disabled{opacity:.8;cursor:default;}
.kxe-adventure .ksp-art.kxe-world-art{background:radial-gradient(ellipse at 50% 40%,var(--world-bg),#1a243d);color:var(--world-ink);border-color:color-mix(in srgb,var(--world-ink) 45%,#28354a);}.kxe-world-illustration{display:block;width:min(80%,190px);line-height:0;}.kxe-world-illustration svg{width:100%;height:auto;}.kxe-adventure .ksp-catalog-tile:has(.kxe-world-art):hover{border-color:#88a5c7;}.kxe-adventure .ksp-catalog-tile:has(.kxe-world-art) .ks-button--outline:hover{background:#3a506d;}

/* Phase 2: focus routes hide the persistent rail, restoring it on catalog/account routes. */
.kxe-adventure .kxe-rail[hidden],.kxe-adventure .kxe-rail a[hidden]{display:none!important}
