/* KRAYMO / Industrial surface, crystalline depth / 2026-10-28.
   Shared presentation layer. No game, account or payment behavior. */
:root{
 --bg-0:#050A14;--bg-1:#0A1220;--bg-2:#0E1729;--bg-3:#142138;
 --text-primary:#F0F6FF;--text-secondary:#A9BBD9;--text-muted:#7A8BA8;
 --crystal:#39CFFF;--crystal-hover:#6BDBFF;--energy:#FFB86B;--danger:#FF6B6B;--success:#5BE39B;
 --border-subtle:rgba(107,138,255,.15);--border-strong:rgba(107,138,255,.35);--focus:#6BDBFF;
 --glow-crystal:0 0 24px rgba(57,207,255,.25);--glow-energy:0 0 20px rgba(255,184,107,.2);
 --r-sm:8px;--r-md:12px;--r-lg:18px;
 --s-1:4px;--s-2:8px;--s-3:12px;--s-4:16px;--s-5:24px;--s-6:32px;--s-7:48px;--s-8:64px;
 --kr-bg:#080d17;--kr-s0:#101923;--kr-s1:#172431;--kr-s2:#213343;--kr-s3:#2c4355;
 --kr-ink:#f4f8ff;--kr-copy:#c8d4e0;--kr-muted:#a3b5c6;--kr-crystal:#65dcf4;
 --kr-energy:#ffbf73;--kr-success:#8ce1b6;--kr-danger:#ffaaaa;--kr-line:#405568;
 --kr-input-line:#708a9d;--kr-radius:12px;--kr-small:7px;--kr-wide:1280px;
 --kr-shadow:0 18px 50px #02070d40;--kr-ease:cubic-bezier(.2,.75,.25,1);
 --bg:var(--kr-bg);--bg2:var(--kr-s0);--white:var(--kr-ink);--muted:var(--kr-muted);
 --blue:var(--kr-crystal);--electric:#388bff;--amber:var(--kr-energy);--line:var(--kr-line);
 --radius:var(--kr-radius);color-scheme:dark;
}
html{background:var(--kr-bg);scroll-padding-top:110px}
html:root body,html:root body[data-kw27]{
 --kr-bg:var(--bg-0);--kr-s0:var(--bg-1);--kr-s1:var(--bg-2);--kr-s2:var(--bg-3);
 --kr-ink:var(--text-primary);--kr-copy:var(--text-secondary);--kr-muted:var(--text-secondary);
 --kr-crystal:var(--crystal);--kr-energy:var(--energy);--kr-success:var(--success);--kr-danger:var(--danger);
 --kr-radius:var(--r-md);--kr-small:var(--r-sm);--kr-line:#405568;
 min-height:100vh;color:var(--kr-ink);font-family:Manrope,Inter,"Segoe UI",Arial,sans-serif;
 font-size:16px;line-height:1.65;
 background-color:var(--kr-bg)!important;
 background-image:linear-gradient(90deg,#080d1730,#080d1752 35%,#080d1752 65%,#080d1730),url('/kraymo-world-20261026.webp')!important;
 background-size:cover!important;background-position:center top!important;background-repeat:no-repeat!important;background-attachment:scroll!important;
}
html:root body::before,html:root body::after{content:none!important}
html:root body *,html:root body *::before,html:root body *::after{box-sizing:border-box}
html:root body :where(h1,h2,h3,h4){color:var(--kr-ink);line-height:1.2;text-wrap:balance;overflow-wrap:break-word}
html:root body h1{font-size:clamp(32px,3.6vw,52px);letter-spacing:-.035em}
html:root body h2{font-size:clamp(25px,2.5vw,36px);letter-spacing:-.025em}
html:root body h3{font-size:21px;letter-spacing:-.015em}
html:root body :where(p,li){overflow-wrap:break-word}
html:root body :where(a){color:var(--kr-crystal);text-underline-offset:4px}
html:root body :where(a,button,summary,input,select,textarea):focus-visible{outline:3px solid var(--kr-crystal)!important;outline-offset:4px!important;scroll-margin:110px 0 30px}
html:root body :where(img,svg,video){max-width:100%}
html:root body :where(button,input,select,textarea){font:inherit}
html:root body [hidden]{display:none!important}
html:root body ::selection{color:var(--kr-bg);background:var(--kr-crystal)}
html:root body .container{max-width:var(--kr-wide)}
html:root body :is(.topbar,.footer){background:var(--kr-s0)!important;border-color:var(--kr-line)!important;backdrop-filter:none!important;color:var(--kr-copy)}
html:root body .topbar{border-bottom:1px solid var(--kr-line);box-shadow:0 6px 28px #02070d30}
html:root body .topbar .nav{min-height:80px;gap:24px;align-items:center}
html:root body :is(.navlinks,.navright){gap:14px}
html:root body .navlinks a{font-size:14px!important;font-weight:650;letter-spacing:0;text-transform:none;color:var(--kr-copy)!important;min-height:44px;display:inline-flex;align-items:center}
html:root body .navlinks a:hover,html:root body .navlinks a[aria-current=page]{color:var(--kr-crystal)!important}
html:root body .lang-switch{gap:3px}
html:root body .lang-switch a{font-size:13px!important;min-width:36px;min-height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px}
html:root body .footer{margin-top:64px;padding-top:42px}
html:root body .footer a{color:var(--kr-copy)}
html:root body .footer :is(p,small,.copyright){color:var(--kr-muted);font-size:14px;line-height:1.7}
html:root body .footer h3{font-size:17px}
html:root body :is(.btn,.krp-button,.ks-btn){display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:13px 22px!important;border:1px solid var(--kr-crystal)!important;border-radius:var(--kr-small)!important;background:var(--kr-crystal)!important;color:#08151d!important;font-size:15px!important;font-weight:800!important;text-transform:none!important;letter-spacing:0!important;text-decoration:none!important;box-shadow:none!important;clip-path:none!important;line-height:1.35!important;cursor:pointer;transition:transform 180ms var(--kr-ease),opacity 180ms var(--kr-ease)}
html:root body :is(.btn,.ks-btn,.krp-button):hover{transform:translateY(-2px)}
html:root body :is(.btn,.ks-btn,.krp-button):active{transform:translateY(0)}
html:root body :is(.btn.outline,.btn.secondary,.btn.ghost,.ks-btn-outline,.ks-btn-ghost,.krp-button-secondary){background:var(--kr-s1)!important;border-color:var(--kr-input-line)!important;color:var(--kr-ink)!important;font-weight:650!important}
html:root body :is(button:disabled,.btn[aria-disabled=true],.ks-btn[aria-disabled=true]){opacity:.65!important;cursor:not-allowed;transform:none!important;box-shadow:none!important}
html:root body :is(.actions,.kg-actions,.krg-actions,.kw-actions,.ks-hero-actions){gap:12px;flex-wrap:wrap}
html:root body :is(.eyebrow,.krg-kicker,.kg-kicker,.krd-kicker,.kw-eyebrow,.kr-alex-kicker){font-size:12px!important;font-weight:750;letter-spacing:.1em;color:var(--kr-muted)!important}
html:root body :is(.chip,.status-pill,.pill){border-radius:6px!important;font-size:13px!important;line-height:1.5}
html:root body .status-dot{animation:none!important;box-shadow:none!important}
/* Purposeful reading surfaces; decoration remains outside their content. */
html:root body :is(.krg-page,.kg-section,.kr-unity-copy,.krd-main,.krd-section,.kr-alex-section,#kraymo-wiki-v5,#kraymo-wiki-v4,.form-panel,.glass-box,.panel,.card,.kw-panel,.kw-hero,.kw-evidence,.kw-join,.krg-feature,#kr-alex-discovery,#kr-wiki27-entry,.ks-wallet-card,.ks-future-card,.ks-under-note){
 background:var(--kr-s0)!important;color:var(--kr-copy)!important;border:1px solid var(--kr-line)!important;border-radius:var(--kr-radius)!important;box-shadow:var(--kr-shadow)!important;clip-path:none!important;
}
html:root body :is(.krg-page,.kg-section,.kr-unity-copy,.krd-main,.krd-section,#kraymo-wiki-v5,#kraymo-wiki-v4,.kw-panel,.kw-hero,.krg-feature,#kr-alex-discovery,#kr-wiki27-entry){padding:clamp(24px,3vw,42px)!important;margin-top:28px;margin-bottom:28px}
html:root body :is(.krg-page,.krg-feature,#kr-alex-discovery,#kr-wiki27-entry){width:calc(100% - 48px)!important;max-width:var(--kr-wide)!important;margin-inline:auto!important}
html:root body :is(.krg-page,.kg-section,.kr-unity-copy,.krd-main,.krd-section,#kraymo-wiki-v5,#kraymo-wiki-v4,.kw-panel) p{max-width:72ch;color:var(--kr-copy)!important;font-size:16px;line-height:1.75}
html:root body :is(.krg-page,.kg-section,.kr-unity-copy,.krd-section,#kraymo-wiki-v5,#kraymo-wiki-v4) h2{margin-top:36px;margin-bottom:20px}
html:root body :is(.krg-page,.kg-section,.kr-unity-copy,.krd-section,#kraymo-wiki-v5,#kraymo-wiki-v4) h2:first-child{margin-top:0}
html:root body :is(.krg-card,.kg-card,.kr-alex-card,.krp-guide,.kw-card,.kw-mechanics>a,.kw-use-card,.ks-rank,.ks-step){background:var(--kr-s1)!important;border:1px solid var(--kr-line)!important;border-radius:var(--kr-radius)!important;box-shadow:none!important;clip-path:none!important;padding:24px!important;color:var(--kr-copy)!important;min-width:0}
html:root body :is(.krg-card,.kg-card,.kr-alex-card,.krp-guide,.kw-card,.kw-use-card,.ks-rank) :is(p,span,small){color:var(--kr-copy)}
html:root body :is(.krg-card,.kg-card,.kr-alex-card,.kw-card,.ks-rank) h3{color:var(--kr-ink)!important;margin-top:0}
html:root body :is(.krg-grid,.kg-grid,.kr-alex-grid,.kw-mechanics){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
html:root body #kr-alex-discovery .kr-alex-card{display:flex;flex-direction:column;gap:14px;text-decoration:none}
html:root body #kr-alex-discovery .kr-alex-card strong{font-size:22px;color:var(--kr-ink)}
html:root body #kr-alex-discovery .kr-alex-card span{font-size:16px;line-height:1.65}
html:root body #kr-alex-discovery .kr-alex-links{display:flex;flex-wrap:wrap;gap:16px;margin-top:24px}
html:root body #kr-wiki27-entry{border-left:3px solid var(--kr-crystal)!important}
html:root body #kr-wiki27-entry .krg-actions{display:flex}
html:root body #kr-wiki27-entry .krg-actions a{padding:10px 14px;background:var(--kr-s1);border:1px solid var(--kr-line);border-radius:7px}
html:root body :is(.krg-cta,.kg-cta,.krx-cta,.kw-join){padding:28px!important;background:var(--kr-s1)!important;border:1px solid var(--kr-line)!important;border-left:3px solid var(--kr-crystal)!important;border-radius:var(--kr-radius)!important;color:var(--kr-copy)!important}
html:root body :is(.krg-note,.kg-note,.kw-note,.kw-embed-caution,.ks-preview){padding:18px 22px!important;background:#2b251c!important;color:#f3d5b0!important;border:1px solid #66533b!important;border-left:3px solid var(--kr-energy)!important;border-radius:7px!important;font-size:15px!important;line-height:1.65}
html:root body :is(.krg-table,.kr-ru24-table,.kw-table-scroll){max-width:100%;overflow:auto;border-radius:8px;border:1px solid var(--kr-line)}
html:root body :is(.krg-table,.kr-ru24-table,.kw-table-scroll) table{border-collapse:collapse;width:100%;margin:0}
html:root body :is(.krg-table,.kr-ru24-table,.kw-table-scroll) :is(th,td){padding:15px 18px!important;text-align:left;border-bottom:1px solid var(--kr-line);line-height:1.65}
html:root body :is(.krg-table,.kr-ru24-table,.kw-table-scroll) th{background:var(--kr-s2)!important;color:var(--kr-ink)!important}
html:root body :is(.krg-table,.kr-ru24-table,.kw-table-scroll) td{background:var(--kr-s0);color:var(--kr-copy)}
/* Industrial: image and a real, opaque control panel. */
html:root body .kr-unity-hero{min-height:600px!important;height:auto!important;overflow:hidden;border-bottom:1px solid var(--kr-line);background:var(--kr-bg)!important}
html:root body .kr-unity-hero .hero-art{inset:0!important}
html:root body .kr-unity-hero .hero-img{width:100%;height:100%;object-fit:cover;object-position:center}
html:root body .kr-unity-hero .hero-shade{background:linear-gradient(90deg,#080d1777,transparent 65%),linear-gradient(0deg,#080d17,transparent 45%)!important}
html:root body .kr-unity-hero .hero-top{position:relative;padding-top:28px!important;color:var(--kr-copy)}
html:root body .kr-unity-hero .hero-bottom{position:relative!important;inset:auto!important;display:flex!important;align-items:end!important;gap:28px!important;padding-top:56px!important;padding-bottom:44px!important}
html:root body .kr-unity-hero .hero-content{background:var(--kr-s0)!important;padding:36px!important;border:1px solid var(--kr-line);border-top:2px solid var(--kr-crystal);border-radius:12px;max-width:720px!important;width:100%;box-shadow:var(--kr-shadow)}
html:root body .kr-unity-hero h1{font-size:clamp(32px,3.5vw,50px)!important;line-height:1.12!important;margin:20px 0!important;max-width:22ch}
html:root body .kr-unity-hero p{color:var(--kr-copy)!important;max-width:58ch;line-height:1.7;font-size:17px!important}
html:root body .kr-unity-hero .status-pill{background:var(--kr-s0)!important;border:1px solid var(--kr-line);padding:20px!important;flex-shrink:0;flex-wrap:wrap;max-width:300px;color:var(--kr-copy)!important}
html:root body .kr-unity-spec{display:flex;flex-wrap:wrap;gap:14px;font-size:13px!important;color:var(--kr-muted)}
html:root body .kr-unity-features{gap:20px;margin-block:32px}
/* Forms: one coherent frame, input borders remain legible. */
html:root body .auth-art{display:none!important}
html:root body .auth-page{display:block!important;width:min(640px,calc(100% - 40px))!important;margin:48px auto 72px!important;padding:0!important;min-height:0!important;background:none!important;border:0!important}
html:root body .auth-page .form-panel{width:100%!important;max-width:none!important;padding:clamp(24px,4vw,44px)!important;border-top:2px solid var(--kr-crystal)!important}
html:root body .form-panel h1{font-size:36px!important;margin:14px 0 18px}
html:root body .form-panel label{display:block;font-size:15px;color:var(--kr-copy);margin-bottom:18px}
html:root body :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]),select,textarea){background:var(--kr-bg)!important;border:1px solid var(--kr-input-line)!important;border-radius:7px!important;color:var(--kr-ink)!important;padding:13px 15px!important;min-height:48px;font-size:16px!important;max-width:100%}
html:root body input::placeholder,html:root body textarea::placeholder{color:var(--kr-muted)!important;opacity:1}
html:root body :is(input,select,textarea)[aria-invalid=true]{border-color:var(--kr-danger)!important}
html:root body .checkbox-label{display:flex!important;align-items:flex-start;gap:12px;line-height:1.6}
html:root body input[type=checkbox]{width:20px;height:20px;flex-shrink:0;accent-color:var(--kr-crystal);margin-top:3px}
html:root body .form-result:empty{margin:0;padding:0}
html:root body .form-result:not(:empty){margin-top:20px;padding:16px;background:var(--kr-s1);border:1px solid var(--kr-line);border-radius:7px;color:var(--kr-ink)}
html:root body .kraymo-signup-guide{margin:28px 0 0;padding:22px;background:var(--kr-s1);border:1px solid var(--kr-line);border-radius:9px}
html:root body .kraymo-signup-guide h2{font-size:20px}
html:root body .kraymo-signup-guide :is(p,li){font-size:14px;line-height:1.7;color:var(--kr-copy)}
html:root body:has(.account-layout) .page-hero-image{display:none!important}
html:root body :is(.account-layout,.dashboard-grid){gap:24px}
html:root body .account-layout :is(.panel,.card){padding:28px!important}
html:root body:has(.account-grid) .page-hero{display:block!important;position:relative!important;background:none!important;min-height:0!important;height:auto!important;padding:32px 0 0!important;margin:0!important}
html:root body:has(.account-grid) :is(.page-hero-image,.page-hero-overlay){display:none!important}
html:root body:has(.account-grid) .page-hero-text{position:relative!important;inset:auto!important;transform:none!important;width:calc(100% - 48px)!important;max-width:1280px!important;margin:0 auto!important;padding:30px 36px!important;background:var(--kr-s0)!important;border:1px solid var(--kr-line)!important;border-radius:12px!important}
html:root body:has(.account-grid) .page-hero h1{font-size:clamp(30px,3vw,40px)!important;margin:12px 0!important}
html:root body:has(.account-grid) .account-grid{padding-top:24px!important;padding-bottom:48px!important;gap:24px}
html:root body:has(.account-grid) :is(.account-main,.account-nav a){background:var(--kr-s0)!important;border-color:var(--kr-line)!important;border-radius:8px!important;color:var(--kr-copy)}
html:root body:has(.account-grid) .account-main{padding:30px!important}
/* Launcher: preserve the actual release and download controls. */
html:root body:has(.kraymo-launcher-hero) #main>.kraymo-launcher-hero{min-height:520px!important;height:auto!important;clip-path:none!important;border-radius:0!important;padding:32px 0!important}
html:root body:has(.kraymo-launcher-hero) .page-hero-text{background:var(--kr-s0)!important;padding:36px!important;max-width:760px!important;border:1px solid var(--kr-line);border-top:2px solid var(--kr-crystal);border-radius:12px!important;margin:20px 0}
html:root body:has(.kraymo-launcher-hero) .page-hero-text h1{font-size:clamp(30px,3.4vw,46px)!important;line-height:1.15!important}
html:root body:has(.kraymo-launcher-hero) :is(.duo>.square-graphic,.krb-download){display:none!important}
html:root body:has(.kraymo-launcher-hero) #main>.duo{display:block!important}
html:root body:has(.kraymo-launcher-hero) #main>.duo>div:first-child{width:100%!important;max-width:none!important}
html:root body:has(.kraymo-launcher-hero) #release-current{margin:0 0 20px!important;max-width:none!important}
html:root body:has(.kraymo-launcher-hero) #release-current code{overflow-wrap:anywhere;word-break:break-word}
html:root body:not([data-kr-p0-home]):not([data-kw27]) #main>.section:not(.account-grid){max-width:var(--kr-wide)!important;width:calc(100% - 48px)!important;margin:28px auto!important;padding:32px!important;background:var(--kr-s0)!important;border:1px solid var(--kr-line)!important;border-radius:12px!important;clip-path:none!important}
html:root body.kr-alex-v2 :is(article.details,.wrap>.status){background:var(--kr-s0)!important;color:var(--kr-copy)!important;border:1px solid var(--kr-line)!important;border-radius:12px!important;padding:28px!important}
html:root body.kr-alex-v2 article.details :is(p,li){font-size:16px;line-height:1.75;color:var(--kr-copy)}
html:root body:has(.kraymo-launcher-hero) #main>.section>ol{counter-reset:kr-install;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:0;margin:24px 0;max-width:none}
html:root body:has(.kraymo-launcher-hero) #main>.section>ol>li{counter-increment:kr-install;position:relative;padding:24px 24px 24px 62px;margin:0;background:var(--kr-s1);border:1px solid var(--kr-line);border-radius:9px;line-height:1.7}
html:root body:has(.kraymo-launcher-hero) #main>.section>ol>li::before{content:counter(kr-install,decimal-leading-zero);position:absolute;left:20px;top:24px;font-family:ui-monospace,monospace;color:var(--kr-energy);font-size:17px}
/* Encyclopedia: crafted inventory, quiet provenance and readable recipes. */
html:root body[data-kw27] #main{background:transparent!important}
html:root body .kw27{width:min(1280px,calc(100% - 48px));font-size:16px}
html:root body .kw-hero{grid-template-columns:minmax(0,1fr) 210px;border-top:2px solid var(--kr-crystal)!important;gap:32px}
html:root body .kw-hero h1{font-size:clamp(30px,3.3vw,46px)}
html:root body .kw-stats{border-color:var(--kr-line);font-variant-numeric:tabular-nums}
html:root body .kw-stats strong{font-size:36px;color:var(--kr-ink)}
html:root body .kw-stats span{font-size:14px;color:var(--kr-muted)}
html:root body .kw-tabs a{background:var(--kr-s0);border:1px solid var(--kr-line);border-radius:7px;min-height:44px;font-size:14px;color:var(--kr-copy)}
html:root body .kw-tabs a[aria-current]{color:var(--kr-crystal);border-color:var(--kr-crystal);background:var(--kr-s1)}
html:root body .kw-breadcrumb{background:var(--kr-s0);color:var(--kr-muted);font-size:14px;line-height:1.7;overflow-wrap:anywhere;border:1px solid var(--kr-line);border-radius:7px;padding:14px 18px}
html:root body .kw-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
html:root body .kw-card{min-height:240px!important;gap:12px;padding:22px!important;transform:none;transition:transform 180ms var(--kr-ease)}
html:root body .kw-card img{image-rendering:pixelated}
html:root body .kw-card :is(small,.kw-mod){font-size:12px!important;color:var(--kr-muted)!important}
html:root body .kw-card strong{font-size:17px!important;line-height:1.4}
html:root body .kw-card code{display:none}
html:root body .kw-placeholder{background:var(--kr-s2)!important;border-color:var(--kr-input-line);border-radius:7px;color:var(--kr-muted)}
html:root body .kw-big-icon{background:var(--kr-s2);border-color:var(--kr-line);border-radius:12px}
html:root body .kw-recipe,html:root body .kw-recipe:nth-child(even){background:var(--kr-s1)!important;border:1px solid var(--kr-line)!important;border-radius:10px!important;padding:24px!important;margin:24px 0!important;box-shadow:none!important}
html:root body .kw-recipe-head{gap:12px;margin-bottom:14px}
html:root body .kw-recipe-head h3{font-size:19px!important;line-height:1.4}
html:root body .kw-recipe .kw-pill{background:var(--kr-s2)!important;border-color:var(--kr-line)!important;color:var(--kr-ink)!important;font-size:12px;padding:6px 10px}
html:root body .kw-slot{background:var(--kr-bg)!important;border-color:var(--kr-input-line)!important;border-radius:6px;min-height:108px!important}
html:root body .kw-slot .kw-itemlink{font-size:12px!important;line-height:1.4;color:var(--kr-copy)}
html:root body .kw-output{background:#142c2c!important;border:1px solid #5f9181!important;border-radius:8px;color:var(--kr-ink)}
html:root body .kw-output .kw-itemlink{color:#b7efdd}
html:root body .kw-input{background:var(--kr-bg)!important;border-color:var(--kr-line);font-size:14px;padding:15px}
html:root body :is(.kw-facts div,.kw-use-icon,.kw-variant){background:var(--kr-s2)!important}
html:root body :is(.kw-muted,.kw-station,.kw-source,.kw-nbt,.kw-pagination span){font-size:14px!important;color:var(--kr-muted)!important}
html:root body :is(.kw-source,.kw-nbt,.kw-more) summary{min-height:44px;padding-block:10px;cursor:pointer;color:var(--kr-copy)!important;font-size:14px!important;line-height:1.6}
html:root body .kw-source{border-color:var(--kr-line);margin-top:24px}
html:root body .kw-partial{border-color:#806749!important}
html:root body .kw-mechanics strong{font-size:17px}
html:root body .kw-mechanics small{font-size:13px;color:var(--kr-muted)}
html:root body .kw-embed{max-width:1280px!important;margin:40px auto!important}
html:root body .kw-embed>.kw-panel{background:var(--kr-s0)!important}
/* Store and news: use the same restrained surface scale. */
html:root body .ks-hero{background:transparent!important}
html:root body .ks-hero-content{background:var(--kr-s0);border:1px solid var(--kr-line);border-radius:12px;padding:36px}
html:root body .ks-hero h1 em{color:var(--kr-crystal)!important;font-style:normal}
html:root body .ks-rank-grid{gap:20px}
html:root body .ks-rank{border-top:2px solid var(--kr-line)!important;transform:none!important}
html:root body .ks-rank .ks-price{font-variant-numeric:tabular-nums;color:var(--kr-ink);font-size:32px}
html:root body .ks-emblem{box-shadow:none!important}
html:root body .ks-rank :is(p,li){font-size:15px;color:var(--kr-copy)}
html:root body :is(.ks-preview,.ks-under-note){font-size:15px;line-height:1.7;margin-block:24px}
html:root body :is(.ks-wallet-card,.ks-future-card){padding:28px!important}
html:root body :is(.news-card,.news-item,.news-article,.article-card){background:var(--kr-s0)!important;border:1px solid var(--kr-line)!important;border-radius:12px!important;overflow:hidden}
html:root body :is(.news-card,.news-item,.article-card) :is(.content,.news-copy){padding:24px}
html:root body :is(.news-card,.news-item,.news-article) p{color:var(--kr-copy);line-height:1.75;font-size:16px}
html:root body :is(.news-card,.news-item,.news-article) time{color:var(--kr-muted);font-size:13px}
html:root body.kr-news .kr-hero{background:var(--kr-s0)!important;border:1px solid var(--kr-line);border-top:2px solid var(--kr-crystal);border-radius:12px;padding:36px;margin:28px auto;width:calc(100% - 48px);max-width:1280px}
html:root body.kr-news .kr-grid{gap:24px}
html:root body.kr-news .kr-card{background:var(--kr-s0)!important;border:1px solid var(--kr-line)!important;border-radius:12px!important;overflow:hidden;box-shadow:none!important}
html:root body.kr-news .kr-card-body{padding:28px!important}
html:root body.kr-news .kr-card :is(p,li){color:var(--kr-copy)!important;font-size:16px;line-height:1.7}
html:root body.kr-news .kr-card :is(time,.muted){color:var(--kr-muted)!important;font-size:13px}
html:root body.kr-news .kr-card h2{font-size:24px}
/* New homepage composition. Existing hooks remain on the live status/download. */
html:root body[data-kr-p0-home] #main{overflow:visible;background:transparent!important}
.kri-home{--kri-gutter:48px}
.kri-shell{width:calc(100% - var(--kri-gutter));max-width:1280px;margin-inline:auto}
.kri-hero{padding:56px 0 44px;position:relative}
.kri-hero-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);gap:36px;align-items:center}
.kri-intro{position:relative;background:var(--kr-s0);border:1px solid var(--kr-line);border-radius:12px;padding:40px;overflow:hidden}
.kri-intro::before{content:'';position:absolute;width:72px;height:2px;top:0;left:40px;background:var(--kr-crystal)}
.kri-kicker{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:12px;font-weight:750;letter-spacing:.12em;color:var(--kr-muted);margin:0 0 24px}
.kri-alpha{padding:4px 9px;border:1px solid #765e3e;background:#2b251c;color:var(--kr-energy);letter-spacing:.04em;border-radius:4px}
html:root body #main .kri-intro h1{font-size:clamp(42px,4.7vw,68px)!important;line-height:1.04!important;letter-spacing:-.045em!important;margin:0 0 24px!important;max-width:none!important}
.kri-intro h1 span{display:block;color:var(--kr-crystal)}
.kri-intro .kri-lead{font-size:18px;line-height:1.7;color:var(--kr-copy);max-width:44ch;margin:0 0 26px}
.kri-specs{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 26px;padding:0;list-style:none}
.kri-specs li{padding:6px 10px;background:var(--kr-s1);border:1px solid var(--kr-line);border-radius:5px;font-size:13px;color:var(--kr-copy)}
.kri-links{display:flex;flex-wrap:wrap;gap:22px;font-size:15px;font-weight:700}
.kri-links a{min-height:44px;display:inline-flex;align-items:center;text-decoration:none}
.kri-links a:last-child{color:var(--kr-copy)}
.kri-launch{position:relative;background:var(--kr-s0);padding:24px;border:1px solid var(--kr-line);border-radius:12px;box-shadow:var(--kr-shadow)}
.kri-live{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:0 0 20px;margin-bottom:20px;border-bottom:1px solid var(--kr-line);line-height:1.4}
.kri-live-title{display:flex;flex-direction:column;gap:5px;font-size:14px;color:var(--kr-muted)}
.kri-live-title b{color:var(--kr-ink);font-size:18px;letter-spacing:.02em}
.kri-live-state{display:flex;flex-direction:column;align-items:flex-end;gap:5px}
.kri-live [data-server-status]{font-size:18px;color:var(--kr-copy);font-weight:700}
.kri-live [data-server-players]{font:700 27px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--kr-ink)}
html:root body[data-kr-p0-home] #main .kri-launch .krp-launcher-art{display:block;width:100%!important;margin:0!important;aspect-ratio:1672/941;background-size:cover!important;background-position:center!important;border:1px solid var(--kr-crystal)!important;border-radius:8px!important;box-shadow:0 10px 30px #0003!important;position:relative;overflow:hidden;transition:transform 180ms var(--kr-ease)}
.kri-launch-note{margin:17px 0 0;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;color:var(--kr-muted);font-size:13px;line-height:1.6}
.kri-launch-note a{color:var(--kr-copy)}
.kri-route{margin-top:28px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:var(--kr-s0);border:1px solid var(--kr-line);border-radius:8px;list-style:none;padding:0;overflow:hidden}
.kri-route li{display:flex;align-items:center;gap:14px;padding:18px 22px;border-right:1px solid var(--kr-line);font-size:14px;color:var(--kr-copy)}
.kri-route li:last-child{border:0}.kri-route b{color:var(--kr-energy);font:500 14px/1 ui-monospace,monospace}.kri-route a{color:var(--kr-copy);text-decoration:none}
.kri-section{margin:32px auto 64px}
.kri-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:26px;padding:24px 28px;background:var(--kr-s0);border-left:2px solid var(--kr-crystal);border-radius:0 8px 8px 0}
.kri-heading .kri-kicker{margin-bottom:10px;font-size:12px}.kri-heading h2{margin:0;font-size:clamp(27px,3vw,38px)}
.kri-heading>a{font-size:14px;flex-shrink:0;text-decoration:none}
.kri-world{display:grid;grid-template-columns:1.15fr 1fr;background:var(--kr-s0);border:1px solid var(--kr-line);border-radius:12px;overflow:hidden}
.kri-world-image{position:relative;min-height:350px}.kri-world-image img{display:block;width:100%;height:100%;object-fit:cover}
.kri-world-image small{position:absolute;bottom:16px;left:16px;padding:5px 9px;background:var(--kr-s0);font-size:12px;color:var(--kr-muted);border-radius:4px}
.kri-world-copy{padding:36px}.kri-world-copy h3{font-size:30px;margin:0 0 18px}.kri-world-copy p{color:var(--kr-copy);font-size:17px;line-height:1.75;margin-bottom:24px}
.kri-world-copy a{font-size:15px;font-weight:750}
.kri-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:20px}
.kri-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;background:var(--kr-s0);border:1px solid var(--kr-line);border-radius:12px;padding:28px;text-decoration:none;color:var(--kr-ink);position:relative;transition:transform 180ms var(--kr-ease)}
.kri-card-index{font:500 13px/1.4 ui-monospace,Consolas,monospace;color:var(--kr-energy);margin-bottom:28px;letter-spacing:.08em}
.kri-card h3{font-size:23px;margin:0 0 14px}.kri-card p{font-size:16px;line-height:1.7;color:var(--kr-copy);margin:0 0 26px}
.kri-card-next{margin-top:auto;font-size:14px;font-weight:700;color:var(--kr-crystal)}
.kri-card time{font-size:13px;color:var(--kr-muted);margin-bottom:20px}
.kri-card h3 a{color:var(--kr-ink);text-decoration:none}.kri-card h3 a:hover{color:var(--kr-crystal);text-decoration:underline}
.kri-grid--steps{counter-reset:kr-step}.kri-grid--steps .kri-card{background:var(--kr-s1)}
.kri-faq{display:grid;grid-template-columns:.75fr 1.25fr;gap:32px}
.kri-faq-intro{padding:28px;background:var(--kr-s0);border:1px solid var(--kr-line);border-radius:12px;align-self:start}
.kri-faq-intro h2{margin:0 0 20px}.kri-faq-intro p{color:var(--kr-copy);font-size:16px;line-height:1.75}
.kri-faq-list{display:grid;gap:12px;align-content:start}.kri-faq details{background:var(--kr-s0);border:1px solid var(--kr-line);border-radius:8px;overflow:hidden}
.kri-faq summary{padding:23px 50px 23px 24px;position:relative;cursor:pointer;list-style:none;font-size:17px;font-weight:700;line-height:1.5}
.kri-faq summary::-webkit-details-marker{display:none}.kri-faq summary::after{content:'+';position:absolute;right:23px;color:var(--kr-crystal)}
.kri-faq details[open] summary{border-bottom:1px solid var(--kr-line)}.kri-faq details[open] summary::after{content:'−'}
.kri-faq details p{padding:22px 24px;margin:0;color:var(--kr-copy);font-size:16px;line-height:1.75}
.kr-design-details{margin:22px 0;padding:16px 20px;background:var(--kr-s1);border:1px solid var(--kr-line);border-radius:8px}
.kr-design-details>summary{font-size:14px;color:var(--kr-muted);cursor:pointer;min-height:44px;display:list-item;align-content:center}
/* Only genuine links move; data cards and read-only panels remain still. */
@media(hover:hover){html:root body :is(a.kri-card,a.kr-alex-card,a.kw-card,a.krp-guide):hover{transform:translateY(-3px);border-color:var(--kr-crystal)!important}.kri-links a:hover,.kri-heading>a:hover{text-decoration:underline}}
@keyframes kr-enter{from{opacity:.65;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes kr-signal{from{opacity:0;transform:translateX(-120%)}to{opacity:.55;transform:translateX(240%)}}
@media(prefers-reduced-motion:no-preference){.kr-reveal-once{animation:kr-enter 480ms var(--kr-ease) both}.kri-launch .krp-launcher-art::after{content:'';pointer-events:none;position:absolute;inset:0;width:45%;background:linear-gradient(90deg,transparent,#fff3,transparent);animation:kr-signal 850ms var(--kr-ease) 250ms 1 both}}
@media(min-width:1600px){.kri-hero{padding-top:76px;padding-bottom:52px}.kri-hero-grid{gap:48px}}
@media(max-width:1100px){html:root body .topbar .nav{gap:16px;flex-wrap:wrap}.kri-hero-grid{grid-template-columns:minmax(0,1fr) minmax(300px,.9fr);gap:22px}.kri-intro{padding:28px}.kri-intro .kri-lead{font-size:17px}.kri-card{padding:24px}.kri-world-copy{padding:28px}.kri-route li{padding:16px}.kri-grid{gap:16px}html:root body .kw-cards{grid-template-columns:repeat(3,minmax(0,1fr))}html:root body .kr-unity-hero .hero-bottom{flex-wrap:wrap}html:root body .kr-unity-hero .status-pill{max-width:none}}
@media(max-width:760px){.kri-home{--kri-gutter:32px}.kri-hero{padding:24px 0 20px}.kri-hero-grid,.kri-world,.kri-faq{grid-template-columns:1fr}.kri-intro{padding:28px 24px}.kri-intro h1{font-size:44px!important}.kri-launch{padding:20px}.kri-route{grid-template-columns:1fr}.kri-route li{border-right:0;border-bottom:1px solid var(--kr-line)}.kri-grid{grid-template-columns:1fr}.kri-section{margin-bottom:40px}.kri-heading{align-items:start;flex-direction:column;padding:22px;gap:18px}.kri-world-image{min-height:0;aspect-ratio:16/9}.kri-card{padding:26px}.kri-card-index{margin-bottom:20px}.kri-faq{gap:20px}html:root body :is(.krg-grid,.kg-grid,.kr-alex-grid,.kw-mechanics){grid-template-columns:1fr}html:root body :is(.krg-page,.krg-feature,#kr-alex-discovery,#kr-wiki27-entry,.kw27){width:calc(100% - 32px)!important}html:root body .kw-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}html:root body .kw-card{padding:16px!important;min-height:230px!important}html:root body .kw-hero{grid-template-columns:1fr}html:root body .kw-stats{display:flex;gap:12px;flex-wrap:wrap;border-left:0;padding-left:0}html:root body .kw-stats strong{font-size:25px}html:root body .kw-recipe{padding:18px!important}html:root body .kr-unity-hero .hero-content{padding:24px!important}html:root body:has(.kraymo-launcher-hero) .page-hero-text{padding:24px!important;margin:16px}html:root body:has(.kraymo-launcher-hero) #main>.section>ol{grid-template-columns:1fr}html:root body .ks-hero-content{padding:24px}}
@media(max-width:420px){html:root body .kw-cards{grid-template-columns:1fr}.kri-kicker{font-size:11px;letter-spacing:.07em}.kri-specs li{font-size:12px}.kri-launch-note{font-size:13px}.kri-intro .kri-lead{font-size:16px}html:root body #main .kri-intro h1{font-size:42px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}html:root body *,html:root body *::before,html:root body *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.kr-reveal-once{opacity:1;transform:none}}
/* Live acceptance fixes: old language-specific sheets and store selectors. */
html:root body .mark{width:clamp(36px,3.1vw,48px)!important;height:auto!important;flex-shrink:0}
html:root body .topbar .navright .btn{background:var(--kr-s1)!important;color:var(--kr-crystal)!important;border-color:var(--kr-line)!important}
html:root body .kri-home .kri-route{width:100%!important;max-width:none!important}
html:root body .kri-route b{flex:0 0 auto;white-space:nowrap}
html:root body [data-server-players]{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-variant-numeric:tabular-nums}
html:root body main>article:has(#kraymo-wiki-v5,#kraymo-wiki-v4){background:var(--kr-s0)!important;padding:clamp(24px,3vw,42px)!important;border:1px solid var(--kr-line)!important;border-top:2px solid var(--kr-crystal)!important;border-radius:var(--r-md)!important;margin:28px auto!important;width:100%;max-width:1280px!important;color:var(--kr-copy)}
html:root body main>article:has(#kraymo-wiki-v5,#kraymo-wiki-v4)>:is(p,ol,ul){max-width:74ch;line-height:1.7}
html:root body main>article:has(#kraymo-wiki-v5,#kraymo-wiki-v4)>h2{padding-top:24px;border-top:1px solid var(--kr-line);margin-top:36px}
html:root body main>article :is(#kraymo-wiki-v5,#kraymo-wiki-v4){background:var(--kr-s1)!important;box-shadow:none!important}
html:root body:has(.kraymo-launcher-hero) #main .page-hero-text{position:relative!important;inset:auto!important;transform:none!important;width:calc(100% - 48px)!important;max-width:1280px!important;margin:28px auto!important}
html:root body :is(.kr-dl-primary,.ks-root .ks-button-primary){background:var(--crystal)!important;color:#05141c!important;border:1px solid var(--crystal)!important;border-radius:var(--r-sm)!important;box-shadow:var(--glow-crystal)!important;font-size:16px!important;min-height:48px;line-height:1.4;text-transform:none;transition:transform 180ms,opacity 180ms}
html:root body .kr-dl-primary{width:fit-content!important;min-width:300px;max-width:100%;padding:18px 24px!important;min-height:64px!important;gap:20px}
html:root body .kr-dl-primary :is(.kr-dl-label,.kr-dl-btn-icon,.kr-dl-chevron){font-size:20px!important;color:#05141c!important}
html:root body .ks-root .ks-button-muted{background:var(--kr-s1)!important;color:var(--kr-copy)!important;border:1px solid var(--kr-input-line)!important;border-radius:var(--r-sm)!important;box-shadow:none!important}
html:root body #main.ks-root{background:transparent!important}
html:root body .ks-root .ks-hero{padding:32px 0!important;background:none!important;min-height:0!important}
html:root body .ks-root .ks-hero::before,html:root body .ks-root .ks-hero::after{display:none!important}
html:root body .ks-root .ks-hero-inner{width:calc(100% - 48px);max-width:1280px;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:32px;padding:0}
html:root body .ks-root .ks-hero-content{padding:36px!important;border-top:2px solid var(--crystal);background:var(--kr-s0)!important}
html:root body .ks-root .ks-hero h1{font-size:clamp(34px,4vw,56px)!important;line-height:1.12!important;margin:24px 0!important}
html:root body .ks-root .ks-hero h1 em{background:none!important;-webkit-text-fill-color:var(--kr-crystal)!important;color:var(--kr-crystal)!important}
html:root body .ks-root .ks-hero-desc{font-size:17px;line-height:1.7;color:var(--kr-copy)}
html:root body .ks-root .ks-hero-foot{font-size:12px;color:var(--kr-copy)}
html:root body .ks-root .ks-art{aspect-ratio:1.2;max-height:480px;border-radius:var(--r-md)}
html:root body .ks-root :is(.ks-section-top,.ks-steps-head){background:var(--kr-s0);border:1px solid var(--kr-line);border-left:3px solid var(--crystal);border-radius:var(--r-sm);padding:24px}
html:root body .ks-root .ks-rank-meta{color:var(--kr-copy);font-size:12px}
html:root body .ks-root .ks-rank-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
html:root body .ks-root .ks-rank{padding:24px!important}
html:root body .ks-root .ks-button:hover,html:root body .kr-dl-primary:hover{transform:translateY(-2px)}
html:root body .ks-root .ks-button:active,html:root body .kr-dl-primary:active{transform:none}
/* Three layers: moving landscape, quiet atmospheric scrim, readable interface. */
html:root body.kr-depth-enabled{isolation:isolate;background-image:none!important}
.kr-depth-layer{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;contain:strict}
.kr-depth-art{display:block;width:100%!important;max-width:none!important;height:auto!important;min-height:140vh;object-fit:cover;will-change:transform;transform:translate3d(0,0,0)}
.kr-depth-scrim{position:absolute;inset:0;background:linear-gradient(90deg,#050a142b,#050a1457 35%,#050a1457 65%,#050a142b)}
@keyframes kr-crystal-once{0%{opacity:0;transform:scale(.985)}50%{opacity:.42}100%{opacity:0;transform:scale(1.025)}}
@media(prefers-reduced-motion:no-preference){.kri-launch .krp-launcher-art::after{content:'';position:absolute;inset:0;border:1px solid var(--crystal);border-radius:inherit;box-shadow:inset 0 0 20px #39cfff70;pointer-events:none;opacity:0;animation:kr-crystal-once 550ms ease-out 1}}
@media(max-width:760px){html:root body .ks-root .ks-hero-inner{grid-template-columns:1fr;gap:24px;width:calc(100% - 32px)}html:root body .ks-root .ks-hero-content{padding:24px!important}html:root body .ks-root .ks-rank-grid{grid-template-columns:1fr}html:root body main>article:has(#kraymo-wiki-v5,#kraymo-wiki-v4){padding:24px!important}html:root body .kr-dl-primary{min-width:0;width:100%!important}html:root body:has(.kraymo-launcher-hero) #main .page-hero-text{width:calc(100% - 32px)!important;padding:24px!important}}
@media(prefers-reduced-motion:reduce){.kr-depth-layer{display:none!important}html:root body.kr-depth-enabled{background-image:linear-gradient(90deg,#050a142b,#050a1457 35%,#050a1457 65%,#050a142b),url('/kraymo-world-20261026.webp')!important}.krp-launcher-art::after{animation:none!important}html:root body .ks-root .ks-button,html:root body .kr-dl-primary{transition:none!important;transform:none!important}}
/* Remaining conflicts found during the second live pass. */
html:root body #kraymo-launcher-download-now{background:var(--crystal)!important;color:#05141c!important;box-shadow:var(--glow-crystal)!important}
html:root body .kraymo-contact-footer a{display:inline-block;margin-right:18px;margin-bottom:8px;overflow-wrap:anywhere}
html:root body .footer a{font-size:14px;line-height:1.7}
html:root body main.wrap:has(>#kw-wiki-search-v2){width:calc(100% - 48px)!important;max-width:1280px!important;margin:28px auto!important;padding:clamp(24px,3vw,42px)!important;background:var(--kr-s0)!important;border:1px solid var(--kr-line);border-top:2px solid var(--crystal);border-radius:var(--r-md)}
html:root body #kraymo-v4-learning-path{background:var(--kr-s1)!important;border:1px solid var(--kr-line)!important;border-radius:var(--r-md)!important;padding:28px!important;margin:28px 0!important}
html:root body .ks-switch button[aria-pressed=true]{background:var(--crystal)!important;color:#05141c!important;box-shadow:none!important}
html:root body :is(.kr-dl-primary,.ks-button)[aria-busy=true]{cursor:progress;opacity:.7}
html:root body .kr-dl-primary[aria-disabled=true]{cursor:not-allowed;opacity:.65;transform:none!important}
@media(max-width:760px){html:root body main.wrap:has(>#kw-wiki-search-v2){width:calc(100% - 32px)!important;padding:24px!important}}
/* Getting-started pages share the same controls and reading panels. */
html:root body :is(.kr-primary,.kr-secondary){display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 22px!important;border-radius:var(--r-sm)!important;font-size:16px!important;line-height:1.4;text-decoration:none!important;transition:transform 180ms,opacity 180ms}
html:root body .kr-primary{background:var(--crystal)!important;color:#05141c!important;border:1px solid var(--crystal)!important;box-shadow:var(--glow-crystal)!important}
html:root body .kr-secondary{background:var(--kr-s1)!important;color:var(--kr-copy)!important;border:1px solid var(--kr-input-line)!important;box-shadow:none!important}
html:root body :is(.kr-primary,.kr-secondary):hover{transform:translateY(-2px)}
html:root body :is(.kr-primary,.kr-secondary):active{transform:none}
html:root body .kr-panel{background:var(--kr-s0)!important;border:1px solid var(--kr-line)!important;border-radius:var(--r-md)!important;padding:28px!important;color:var(--kr-copy)!important}
html:root body main .kr-hero-content{background:var(--kr-s0)!important;border:1px solid var(--kr-line)!important;border-top:2px solid var(--crystal)!important;border-radius:var(--r-md)!important;padding:32px!important;margin:28px auto!important;width:calc(100% - 48px)!important;max-width:1000px!important}
html:root body main.wrap>p:first-child{background:var(--kr-s0);border:1px solid var(--kr-line);border-radius:var(--r-sm);padding:14px 18px;color:var(--kr-copy)}
@media(prefers-reduced-motion:reduce){html:root body :is(.kr-primary,.kr-secondary){transition:none!important;transform:none!important}}
