/* --------------------------------------------------------------------------
   ONRUSHA REFINEMENT LAYER — minimal monochrome / refined motion / glass UI
   -------------------------------------------------------------------------- */
:root {
  --ref-bg: #080808;
  --ref-panel: #101010;
  --ref-panel-2: #151515;
  --ref-line: rgba(255,255,255,.105);
  --ref-line-strong: rgba(255,255,255,.18);
  --ref-text: #f3f3f3;
  --ref-muted: #929292;
  --ref-dim: #666;
  --ref-ease: cubic-bezier(.2,.75,.25,1);
}
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(ellipse at 12% 7%, rgba(255,255,255,.075), transparent 32%),
    radial-gradient(ellipse at 88% 25%, rgba(160,160,160,.055), transparent 30%),
    radial-gradient(ellipse at 50% 78%, rgba(255,255,255,.025), transparent 42%),
    linear-gradient(180deg,#090909 0%,#0c0c0c 48%,#080808 100%);
  background-attachment: fixed;
}
body:before {
  opacity: .16;
  background-image: radial-gradient(rgba(255,255,255,.24) .55px, transparent .65px);
  background-size: 30px 30px;
}
body:after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .45;
  background: linear-gradient(115deg,transparent 0%,rgba(255,255,255,.018) 48%,transparent 72%);
  mask-image: linear-gradient(to bottom,black,transparent 75%);
}
.ambient { display:block!important; opacity:.1!important; filter:blur(125px)!important; background:#fff!important; }
.ambient-one { width:500px!important;height:500px!important;left:-360px!important;top:180px!important; }
.ambient-two { width:520px!important;height:520px!important;right:-380px!important;top:760px!important; }
.site-header { background:rgba(8,8,8,.78); border-bottom-color:rgba(255,255,255,.085); }
.site-header:after { content:"";position:absolute;left:0;right:0;bottom:-1px;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent);pointer-events:none; }
.button,.script-card,.compat-item,.dev-quicklink,.detail-card,.admin-panel,.key-card,.glass-surface { transition-timing-function:var(--ref-ease); }
.glass-surface:before,.script-card:before,.compat-item:before,.detail-card:before,.admin-panel:before,.dev-quicklink:before {
  background:radial-gradient(440px circle at var(--mx,50%) var(--my,50%),rgba(255,255,255,.13),transparent 64%);
  mix-blend-mode:screen;
  opacity:0;
  transition:opacity .35s ease;
}
.glass-surface:hover:before,.script-card:hover:before,.compat-item:hover:before,.detail-card:hover:before,.admin-panel:hover:before,.dev-quicklink:hover:before { opacity:1; }

/* HERO — a small, polished laptop displaying the Onrusha workspace */
.hero-laptop-visual { min-height:540px;display:flex;align-items:center;justify-content:center;position:relative;isolation:isolate;overflow:visible; }
.laptop-aura { position:absolute;width:90%;height:65%;left:5%;top:17%;border-radius:50%;background:radial-gradient(ellipse,rgba(255,255,255,.12),rgba(255,255,255,.035) 36%,transparent 72%);filter:blur(38px);animation:laptop-aura 8s ease-in-out infinite alternate;pointer-events:none; }
.laptop-scene { position:relative;width:min(670px,110%);z-index:2;perspective:1500px;transform:translateY(4px); }
.laptop-device { position:relative;width:100%;filter:drop-shadow(0 36px 32px rgba(0,0,0,.5));transform:rotateY(-12deg) rotateX(3deg) rotateZ(-1deg);transform-style:preserve-3d;animation:laptop-hover 8s ease-in-out infinite; }
.laptop-lid { position:relative;width:95%;margin:0 auto;padding:10px 10px 13px;border:1px solid #646464;border-bottom-color:#343434;border-radius:15px 15px 7px 7px;background:linear-gradient(135deg,#8e8e8e 0%,#292929 12%,#111 34%,#222 74%,#777 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.45),inset 0 -2px 0 rgba(0,0,0,.8),0 0 0 1px rgba(0,0,0,.8); }
.laptop-camera { position:absolute;top:4px;left:50%;z-index:4;width:4px;height:4px;border-radius:50%;background:#070707;box-shadow:0 0 0 1px #444;transform:translateX(-50%); }
.laptop-display { position:relative;overflow:hidden;aspect-ratio:1.57;border:1px solid #050505;border-radius:7px;background:#0b0b0b;box-shadow:0 0 0 1px #555,0 0 28px rgba(255,255,255,.04); }
.laptop-appbar { height:8.5%;min-height:23px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 3.2%;background:linear-gradient(180deg,#181818,#101010);border-bottom:1px solid #2b2b2b;color:#858585;font:clamp(6px,.65vw,9px) var(--mono);letter-spacing:.1em; }
.laptop-app-brand { display:flex;align-items:center;gap:7px;color:#eee;font-weight:700; }
.laptop-app-brand b { width:17px;height:17px;display:grid;place-items:center;border-radius:5px;background:#eee;color:#111;font:800 10px var(--sans);letter-spacing:0; }
.laptop-app-path i { color:#555;font-style:normal;padding:0 5px; }
.laptop-app-status { display:flex;align-items:center;gap:6px;color:#c9c9c9; }
.laptop-app-status i,.metric-online i { width:5px;height:5px;border-radius:50%;background:#ddd;box-shadow:0 0 9px #fff8; }
.laptop-appbody { height:91.5%;display:grid;grid-template-columns:24% 1fr;background:radial-gradient(ellipse at 80% 0%,#1d1d1d 0%,transparent 52%),#0b0b0b;color:#eee; }
.laptop-sidebar { position:relative;padding:6% 8%;border-right:1px solid #282828;background:rgba(11,11,11,.85);display:flex;flex-direction:column;gap:4%; }
.laptop-side-heading { margin:0 0 3%;font:clamp(5px,.52vw,7px) var(--mono);color:#626262;letter-spacing:.12em; }
.laptop-side-link { display:flex;align-items:center;gap:7px;padding:7px 8px;border:1px solid transparent;border-radius:5px;color:#929292;font-size:clamp(6px,.66vw,9px);white-space:nowrap; }
.laptop-side-link i { color:#bdbdbd;font-style:normal;font-size:11px; }
.laptop-side-link.active { color:#fff;border-color:#383838;background:linear-gradient(100deg,#252525,#171717);box-shadow:inset 2px 0 #e8e8e8; }
.laptop-side-profile { display:flex;align-items:center;gap:6px;margin-top:auto;padding-top:10%;border-top:1px solid #252525; }
.laptop-side-profile>span { width:22px;height:22px;display:grid;place-items:center;border-radius:6px;background:#eee;color:#111;font-size:9px;font-weight:800; }
.laptop-side-profile b,.laptop-side-profile small { display:block;white-space:nowrap; }
.laptop-side-profile b { font-size:clamp(5px,.57vw,8px); }
.laptop-side-profile small { margin-top:2px;color:#717171;font-size:clamp(4px,.45vw,6px); }
.laptop-screen-content { padding:4.2% 4.5%;min-width:0; }
.laptop-welcome { display:flex;align-items:flex-start;justify-content:space-between; }
.laptop-welcome small { color:#737373;font:clamp(5px,.5vw,7px) var(--mono);letter-spacing:.09em; }
.laptop-welcome h3 { margin:5px 0 2px;font-size:clamp(15px,1.75vw,24px);font-weight:620;letter-spacing:-.06em; }
.laptop-welcome p { margin:0;color:#8c8c8c;font-size:clamp(6px,.63vw,9px); }
.laptop-avatar { width:27px;height:27px;display:grid;place-items:center;border:1px solid #4a4a4a;border-radius:50%;background:linear-gradient(145deg,#333,#171717);font-size:9px; }
.laptop-metrics { display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:5.2% 0 5%; }
.laptop-metrics>div { min-width:0;padding:8px 9px;border:1px solid #303030;border-radius:6px;background:linear-gradient(140deg,#191919,#101010); }
.laptop-metrics small,.laptop-metrics span { display:block;color:#777;font-size:clamp(4px,.45vw,6px); }
.laptop-metrics small { font-family:var(--mono);letter-spacing:.06em; }
.laptop-metrics b { display:block;margin:4px 0 3px;font-size:clamp(12px,1.2vw,17px);letter-spacing:-.05em; }
.laptop-metrics .metric-online { display:flex;align-items:center;gap:6px;font-size:clamp(9px,.95vw,13px); }
.laptop-releases-head { display:flex;align-items:center;justify-content:space-between;margin-bottom:7px; }
.laptop-releases-head b { font-size:clamp(7px,.78vw,11px); }
.laptop-releases-head span { color:#888;font:clamp(4px,.46vw,6px) var(--mono);letter-spacing:.08em; }
.laptop-release-list { display:grid;gap:6px; }
.laptop-release { display:flex;align-items:center;gap:9px;padding:7px 9px;border:1px solid #2c2c2c;border-radius:6px;background:rgba(22,22,22,.82);transition:transform .25s var(--ref-ease),border-color .25s,background .25s; }
.laptop-release:hover { transform:translateX(3px);border-color:#666;background:#1c1c1c; }
.laptop-release-icon { width:27px;height:27px;flex:none;display:grid;place-items:center;border-radius:6px;background:#e6e6e6;color:#111;font-size:10px;font-weight:800;overflow:hidden; }
.laptop-release-icon img { width:100%;height:100%;object-fit:cover; }
.laptop-release-copy { flex:1;min-width:0; }
.laptop-release-copy b,.laptop-release-copy small { display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.laptop-release-copy b { font-size:clamp(6px,.66vw,9px); }
.laptop-release-copy small { margin-top:2px;color:#777;font-size:clamp(4px,.48vw,6px); }
.laptop-release-version { padding:3px 5px;border:1px solid #373737;border-radius:4px;color:#aaa;font:clamp(4px,.45vw,6px) var(--mono); }
.laptop-release-arrow { color:#aaa;font-size:10px; }
.laptop-screen-reflection { position:absolute;inset:0;pointer-events:none;background:linear-gradient(120deg,rgba(255,255,255,.09),transparent 26%,transparent 75%,rgba(255,255,255,.035));mix-blend-mode:screen; }
.laptop-base { position:relative;width:100%;height:28px;margin-top:-1px;border:1px solid #858585;border-top:1px solid #aaa;border-radius:3px 3px 22px 22px;background:linear-gradient(180deg,#b0b0b0 0%,#5a5a5a 12%,#222 35%,#555 75%,#999 100%);box-shadow:inset 0 2px 2px rgba(255,255,255,.35),0 12px 18px rgba(0,0,0,.38);clip-path:polygon(2.5% 0,97.5% 0,100% 65%,96% 100%,4% 100%,0 65%); }
.laptop-base-notch { position:absolute;top:0;left:46%;width:8%;height:4px;border-radius:0 0 5px 5px;background:linear-gradient(180deg,#222,#666); }
.laptop-trackpad { position:absolute;left:39%;top:5px;width:22%;height:14px;border:1px solid rgba(0,0,0,.28);border-radius:0 0 5px 5px;box-shadow:inset 0 1px 2px rgba(255,255,255,.12); }
.laptop-float-label { position:absolute;z-index:4;display:flex;align-items:center;gap:9px;padding:10px 13px;border:1px solid rgba(255,255,255,.14);border-radius:9px;background:rgba(18,18,18,.86);box-shadow:0 16px 40px rgba(0,0,0,.35);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);color:#aaa;font:8px var(--mono);letter-spacing:.08em; }
.laptop-float-label.label-top { top:5%;right:0;animation:label-float 7s ease-in-out infinite; }
.laptop-float-label.label-bottom { left:-3%;bottom:8%;font-family:var(--sans);letter-spacing:0; }
.label-indicator { width:6px;height:6px;border-radius:50%;background:#eee;box-shadow:0 0 12px #fff9; }
.label-command { width:28px;height:28px;display:grid;place-items:center;border:1px solid #444;border-radius:7px;background:#222;color:#eee;font:11px var(--mono); }
.laptop-float-label.label-bottom b,.laptop-float-label.label-bottom small { display:block; }
.laptop-float-label.label-bottom b { color:#eee;font-size:9px; }
.laptop-float-label.label-bottom small { margin-top:3px;color:#818181;font-size:7px; }
.label-copy-icon { margin-left:13px;color:#ddd;font-size:13px; }
@keyframes laptop-hover { 0%,100%{transform:rotateY(-12deg) rotateX(3deg) rotateZ(-1deg) translateY(0)}50%{transform:rotateY(-10deg) rotateX(2deg) rotateZ(-.5deg) translateY(-9px)} }
@keyframes laptop-aura { from{transform:scale(.92);opacity:.55}to{transform:scale(1.08);opacity:.9} }
@keyframes label-float { 0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)} }

/* INTERFACE PREVIEW — isolated window; the game world is deliberately removed */
.preview-page-heading { width:min(1160px,calc(100% - 64px));margin:0 auto;padding-top:96px;padding-bottom:28px; }
.preview-page-heading h1 { font-size:clamp(42px,5vw,66px);letter-spacing:-.065em; }
.preview-page-heading p { max-width:650px;color:#969696;font-size:13px;line-height:1.8; }
.preview-disclaimer { background:rgba(255,255,255,.025);border-color:#343434;color:#bdbdbd; }
.preview-disclaimer i { width:3px;height:3px;border-radius:50%;background:#686868;margin:0 2px; }
.menu-demo-section { width:min(1160px,calc(100% - 64px));margin:0 auto 88px; }
.interface-lab-topline { display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 4px 13px;color:#777;font:8px var(--mono);letter-spacing:.1em; }
.interface-lab-topline>div,.lab-topline-right { display:flex;align-items:center;gap:9px; }
.interface-lab-topline b { color:#ddd;font-weight:600; }
.lab-live-dot { width:6px;height:6px;border-radius:50%;background:#eee;box-shadow:0 0 12px #fff9; }
.lab-divider,.lab-topline-separator { color:#444; }
.lab-topline-right kbd { padding:4px 7px;border:1px solid #383838;border-radius:5px;background:#171717;color:#ddd;font:8px var(--mono); }
.lab-version { color:#777; }
.interface-frame { position:relative;padding:clamp(10px,2.2vw,24px);border:1px solid rgba(255,255,255,.1);border-radius:20px;background:radial-gradient(ellipse at 50% 0%,rgba(255,255,255,.085),transparent 52%),linear-gradient(145deg,#111,#090909 70%);box-shadow:0 45px 120px rgba(0,0,0,.5),inset 0 1px rgba(255,255,255,.055);isolation:isolate;overflow:visible; }
.interface-frame:before { content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(130deg,rgba(255,255,255,.045),transparent 35%,transparent 72%,rgba(255,255,255,.025));z-index:-1; }
.interface-frame-glow { position:absolute;width:62%;height:40%;top:-12%;left:19%;background:rgba(255,255,255,.075);filter:blur(90px);pointer-events:none;z-index:-1; }
.game-menu {
  --menu-radius:16px;
  position:relative;left:auto;top:auto;transform:none;width:100%;max-width:1100px;min-height:690px;height:auto;margin:0 auto;
  display:grid;grid-template-columns:224px minmax(0,1fr);align-items:stretch;overflow:hidden;
  border:1px solid rgba(255,255,255,.14);border-radius:var(--menu-radius);
  background:linear-gradient(145deg,rgba(20,20,20,.985),rgba(9,9,9,.985));
  box-shadow:0 30px 90px rgba(0,0,0,.62),0 0 0 1px rgba(255,255,255,.025),inset 0 1px rgba(255,255,255,.08);
  color:#f1f1f1;transition:opacity .35s var(--ref-ease),transform .45s var(--ref-ease),border-radius .3s,box-shadow .3s;
}
.game-menu:after { content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(255,255,255,.025); }
.demo-sidebar { position:relative;padding:20px 14px 15px;border-right:1px solid rgba(255,255,255,.085);background:linear-gradient(180deg,rgba(19,19,19,.98),rgba(11,11,11,.99)); }
.demo-brand { position:relative;gap:10px;padding:0 4px 22px; }
.demo-brand-icon { width:32px;height:32px;flex:none;overflow:hidden;border-radius:9px;background:linear-gradient(145deg,#fff,#cfcfcf);color:#111;font-size:13px;box-shadow:0 4px 16px rgba(255,255,255,.12); }
.demo-brand-icon img { width:100%;height:100%;object-fit:contain; }
.demo-brand b { font-size:12px;letter-spacing:-.025em; }
.demo-brand small { font-size:8px;color:#777; }
.demo-sidebar-collapse { position:absolute;right:0;top:5px;width:23px;height:23px;border:1px solid #333;border-radius:6px;background:#171717;color:#999;cursor:pointer;transition:all .22s; }
.demo-sidebar-collapse:hover { color:#fff;border-color:#777;background:#222; }
.demo-workspace { margin:0 4px 10px;font-size:8px;color:#696969;letter-spacing:.13em; }
.demo-workspace span { border:1px solid #343434;background:#1d1d1d;color:#bbb;border-radius:4px;padding:3px 5px; }
.demo-tabs { display:grid;gap:5px; }
.demo-tab { min-height:42px;height:auto;gap:11px;padding:0 11px;border:1px solid transparent;border-radius:8px;color:#969696;font-size:11px;transition:background .25s,border-color .25s,color .25s,transform .25s var(--ref-ease); }
.demo-tab span { width:20px;height:20px;display:grid;place-items:center;border:1px solid #363636;border-radius:6px;background:#1a1a1a;color:#bdbdbd;font:9px var(--mono); }
.demo-tab b { font-weight:560; }
.demo-tab:hover { background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.09);color:#fff;transform:translateX(2px); }
.demo-tab.active { background:linear-gradient(100deg,rgba(255,255,255,.1),rgba(255,255,255,.035));border-color:rgba(255,255,255,.15);color:#fff;box-shadow:inset 2px 0 #eee,0 5px 15px #0004; }
.demo-tab.active span { background:#eee;color:#111;border-color:#eee; }
.demo-tab.active:after { display:none; }
.demo-sidebar-footer { margin-top:auto;padding-top:20px; }
.demo-profile { padding:10px;border-radius:9px;background:rgba(255,255,255,.035);border-color:rgba(255,255,255,.09); }
.profile-letter { width:28px;height:28px;background:linear-gradient(145deg,#444,#1d1d1d);border-color:#555;font-size:10px; }
.demo-profile b { font-size:8px;letter-spacing:.06em; }
.demo-profile small { font-size:7px; }
.demo-profile i { width:6px;height:6px;box-shadow:0 0 9px #fff8; }
.demo-sidebar-build { display:flex;justify-content:space-between;gap:5px;margin:12px 3px 0;color:#555;font:7px var(--mono);letter-spacing:.11em; }
.demo-sidebar-build span { color:#8b8b8b; }
.demo-content { min-height:690px;position:relative;display:flex;flex-direction:column;min-width:0;background:radial-gradient(ellipse at 95% 0%,rgba(255,255,255,.035),transparent 45%); }
.demo-topbar { height:84px;flex:none;padding:0 24px;border-bottom:1px solid rgba(255,255,255,.08); }
.demo-breadcrumb { margin-bottom:6px;color:#666;font:7px var(--mono);letter-spacing:.13em; }
.demo-breadcrumb span { padding:0 5px;color:#444; }
.demo-breadcrumb b { color:#aaa;font-weight:500; }
.demo-topbar h2 { font-size:18px;letter-spacing:-.04em; }
.demo-topbar p { font-size:10px;color:#858585;margin-top:3px; }
.demo-tools { gap:9px; }
.demo-tools kbd,.demo-hotkey,.demo-search kbd { font-size:8px;padding:4px 6px;border-radius:5px; }
.demo-search { width:190px;height:34px;padding:0 9px;border-radius:8px;background:#111;border-color:#383838;transition:border-color .2s,box-shadow .2s; }
.demo-search:focus-within { border-color:#aaa;box-shadow:0 0 0 3px rgba(255,255,255,.06); }
.demo-search>span { font-size:18px; }
.demo-search input { font-size:10px; }
.demo-minimize,.demo-close { width:29px;height:29px;border:1px solid transparent;font-size:17px;transition:all .2s; }
.demo-minimize:hover,.demo-close:hover { border-color:#3d3d3d;background:#242424; }
.demo-panel-area { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:20px;padding:23px 24px 25px;height:590px;max-height:590px;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#555 transparent; }
.demo-panel-area::-webkit-scrollbar { width:7px; }
.demo-panel-area::-webkit-scrollbar-track { background:transparent; }
.demo-panel-area::-webkit-scrollbar-thumb { background:#3b3b3b;border:2px solid transparent;border-radius:10px;background-clip:padding-box; }
.demo-column { min-width:0;display:block; }
.demo-section-head { display:flex;align-items:center;height:30px;margin:0 0 10px;border-bottom:1px solid rgba(255,255,255,.1); }
.demo-section-head b { font-size:11px;font-weight:650;letter-spacing:-.01em; }
.demo-section-head span { color:#656565;font:7px var(--mono);letter-spacing:.1em; }
.demo-control-card { position:relative;margin:0 0 10px;padding:15px 15px 14px;border:1px solid rgba(255,255,255,.09);border-radius:10px;background:linear-gradient(145deg,rgba(29,29,29,.92),rgba(18,18,18,.92));box-shadow:0 5px 16px rgba(0,0,0,.12);transition:transform .25s var(--ref-ease),border-color .25s,background .25s,box-shadow .25s; }
.demo-control-card:hover { border-color:rgba(255,255,255,.2);background:linear-gradient(145deg,#202020,#151515);box-shadow:0 12px 28px rgba(0,0,0,.23);transform:translateY(-1px); }
.demo-control-card b { font-size:11px;font-weight:620; }
.demo-control-card p { margin:7px 0 0;color:#858585;font-size:9px;line-height:1.65; }
.demo-control-head { margin-bottom:10px; }
.demo-control-row { gap:12px; }
.demo-control-row>span,.demo-control-row>output { color:#d0d0d0;font-size:9px; }
.demo-control-row p { max-width:250px;margin:0; }
.demo-kicker,.demo-mini-key { color:#717171;font:7px var(--mono);letter-spacing:.08em; }
.demo-switch { width:38px;height:21px;flex:none;padding:2px;border:1px solid #4b4b4b;background:#242424;border-radius:20px;transition:background .28s,border-color .28s,box-shadow .28s; }
.demo-switch i { width:13px;height:13px;background:#969696;transition:transform .28s var(--ref-ease),background .28s; }
.demo-switch.is-on { background:#eee;border-color:#eee;box-shadow:0 0 15px rgba(255,255,255,.09); }
.demo-switch.is-on i { background:#151515; }
.demo-range { height:4px;margin:16px 0 1px;background:linear-gradient(90deg,#eee,#555);border:0; }
.demo-range::-webkit-slider-thumb { width:14px;height:14px;background:#f4f4f4;box-shadow:0 0 0 4px rgba(255,255,255,.08),0 2px 8px #0008; }
.demo-range::-moz-range-thumb { width:14px;height:14px;background:#f4f4f4;border:0;box-shadow:0 0 0 4px rgba(255,255,255,.08); }
.demo-hotkey { min-width:44px;height:32px;border:1px solid #484848;border-radius:7px;background:linear-gradient(180deg,#303030,#1c1c1c);color:#eee;box-shadow:inset 0 1px #ffffff14,0 3px 8px #0005;cursor:pointer; }
.demo-hotkey span { margin-left:8px;color:#777; }
.demo-reset { padding:8px 11px;border:1px solid #444;border-radius:7px;background:#252525;color:#eee;font-size:9px;white-space:nowrap;transition:all .22s;cursor:pointer; }
.demo-reset:hover { border-color:#888;background:#333; }
.demo-reset span { margin-left:6px;color:#aaa; }
.demo-status-card { min-height:65px;display:flex;align-items:center;gap:11px; }
.demo-status-card>div { flex:1; }
.demo-status-card .status-pulse { width:8px;height:8px;flex:none;background:#e5e5e5;box-shadow:0 0 0 5px rgba(255,255,255,.055),0 0 14px #fff8; }
.demo-status-chip { padding:4px 6px;border:1px solid #3c3c3c;border-radius:5px;color:#aaa;font:7px var(--mono); }
.demo-window-footer { display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:auto;padding:12px 24px;border-top:1px solid rgba(255,255,255,.075);color:#5f5f5f;font:7px var(--mono);letter-spacing:.09em; }
.demo-window-footer span:first-child { display:flex;align-items:center;gap:7px; }
.demo-window-footer i { width:5px;height:5px;border-radius:50%;background:#ddd; }
.demo-toast { right:22px;bottom:48px;padding:10px 13px;border:1px solid #555;border-radius:8px;background:rgba(242,242,242,.96);box-shadow:0 12px 32px #0009;font-size:10px; }
.demo-empty-search { grid-column:1/-1;padding:95px 10px;color:#858585;font-size:12px; }
.game-menu.theme-slate { background:linear-gradient(145deg,#171a1d,#0d1012); }
.game-menu.theme-slate .demo-sidebar { background:#101316; }
.game-menu.theme-slate .demo-control-card { background:linear-gradient(145deg,#24282b,#191d20); }
.game-menu.theme-contrast { background:#000;border-color:#888; }
.game-menu.theme-contrast .demo-control-card { background:#090909;border-color:#555; }
.game-menu.is-squared { --menu-radius:4px; }
.game-menu.is-soft { --menu-radius:24px; }
.game-menu.is-compact { grid-template-columns:78px minmax(0,1fr); }
.game-menu.is-compact .demo-brand>span:nth-child(2),.game-menu.is-compact .demo-workspace,.game-menu.is-compact .demo-tab b,.game-menu.is-compact .demo-profile>span:not(.profile-letter),.game-menu.is-compact .demo-profile i,.game-menu.is-compact .demo-sidebar-build { display:none; }
.game-menu.is-compact .demo-sidebar { padding-inline:12px; }
.game-menu.is-compact .demo-brand { justify-content:center;padding-bottom:20px; }
.game-menu.is-compact .demo-sidebar-collapse { right:-4px;top:-6px; }
.game-menu.is-compact .demo-tab { justify-content:center;padding:0; }
.game-menu.is-compact .demo-tab span { width:28px;height:28px; }
.game-menu.no-motion * { transition:none!important;animation:none!important;scroll-behavior:auto!important; }
.game-menu.low-effects { box-shadow:0 15px 45px #0008; }
.game-menu.low-effects .demo-control-card { box-shadow:none; }
.game-menu.no-glass:before { display:none; }
.game-menu.compact-spacing .demo-panel-area { gap:10px;padding:16px; }
.game-menu.compact-spacing .demo-control-card { padding:10px;margin-bottom:7px; }
.game-menu.solid-panel { background:#090909; }
.game-menu.glass-panel { background:rgba(12,12,12,.78);backdrop-filter:blur(22px); }
.game-menu.cursor-follow { box-shadow:0 30px 90px #0009,0 0 0 1px #fff2,0 0 60px rgba(255,255,255,.09); }
.game-menu.cursor-off:before { display:none; }
.game-menu.hidden-menu { opacity:0;visibility:hidden;pointer-events:none;transform:translateY(12px) scale(.985); }
.preview-restore { position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:14px 19px;display:flex;align-items:center;gap:11px;border:1px solid #555;border-radius:10px;background:rgba(20,20,20,.92);box-shadow:0 18px 50px #0009;color:#eee;backdrop-filter:blur(18px);font-size:11px;cursor:pointer;transition:all .25s; }
.preview-restore:hover { transform:translate(-50%,-50%) translateY(-3px);border-color:#aaa;background:#242424; }
.preview-restore[hidden] { display:none; }
.preview-restore>span { width:24px;height:24px;display:grid;place-items:center;background:#eee;color:#111;border-radius:6px;font-weight:800; }
.preview-restore>b { color:#999;font-size:14px; }
.preview-instructions { margin:27px 4px 0;padding:27px 0;border-top:1px solid #292929; }
.preview-instructions h2 { font-size:28px;letter-spacing:-.055em; }
.preview-instructions p { max-width:600px;font-size:11px;line-height:1.8; }
.preview-shortcuts kbd { padding:6px 9px;border-color:#414141;border-radius:6px;background:#151515;color:#ddd;font-size:8px; }
.preview-shortcuts span { font-size:10px;color:#858585; }

/* Custom dropdowns — used for every native select on the site */
.custom-select-wrap { position:relative;display:inline-flex;vertical-align:middle;min-width:145px;max-width:240px; }
.custom-select-native { position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;opacity:0!important;pointer-events:none!important; }
.custom-select-trigger { width:100%;min-width:0;min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 11px;border:1px solid #383838;border-radius:8px;background:linear-gradient(180deg,#1b1b1b,#111);color:#e7e7e7;text-align:left;font:10px var(--sans);cursor:pointer;transition:border-color .22s,background .22s,box-shadow .22s,transform .22s; }
.custom-select-trigger:hover,.custom-select-wrap.is-open .custom-select-trigger { border-color:#777;background:#202020;box-shadow:0 0 0 3px rgba(255,255,255,.035),0 8px 22px #0005; }
.custom-select-trigger:focus-visible { outline:2px solid #eee;outline-offset:3px; }
.custom-select-value { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.custom-select-arrow { width:19px;height:19px;flex:none;display:grid;place-items:center;border:1px solid #383838;border-radius:5px;background:#252525;color:#aaa;transition:transform .22s,color .22s; }
.custom-select-arrow svg { width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round; }
.custom-select-wrap.is-open .custom-select-arrow { transform:rotate(180deg);color:#fff; }
.custom-select-menu { position:fixed;z-index:10000;max-height:270px;overflow-y:auto;padding:5px;border:1px solid #484848;border-radius:10px;background:rgba(18,18,18,.97);box-shadow:0 22px 60px rgba(0,0,0,.7),inset 0 1px rgba(255,255,255,.07);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);opacity:0;transform:translateY(5px) scale(.985);transform-origin:top center;pointer-events:none;transition:opacity .16s ease,transform .2s var(--ref-ease); }
.custom-select-menu.is-open { opacity:1;transform:translateY(0) scale(1);pointer-events:auto; }
.custom-select-menu.opens-up { transform-origin:bottom center; }
.custom-select-option { width:100%;min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 9px;border:1px solid transparent;border-radius:6px;background:transparent;color:#aaa;text-align:left;font:10px var(--sans);cursor:pointer;transition:all .16s ease; }
.custom-select-option:hover,.custom-select-option:focus-visible { outline:none;background:#252525;color:#fff;border-color:#393939; }
.custom-select-option.selected { background:linear-gradient(100deg,#2a2a2a,#202020);color:#fff;border-color:#414141; }
.custom-select-option:disabled { opacity:.35;cursor:not-allowed; }
.custom-select-check { width:15px;height:15px;display:grid;place-items:center;color:#eee;opacity:0; }
.custom-select-check svg { width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round; }
.custom-select-option.selected .custom-select-check { opacity:1; }
label .custom-select-wrap { display:flex;width:100%;max-width:none;margin-top:7px; }
.key-create-panel label .custom-select-wrap { width:100%; }
.filter-bar>.custom-select-wrap { flex:0 1 190px;min-width:150px; }
.filter-bar>.custom-select-wrap .custom-select-trigger { min-height:43px; }
.demo-control-row>.custom-select-wrap { width:45%;min-width:145px;max-width:210px; }
.demo-control-row>.custom-select-wrap .custom-select-trigger { min-height:34px;font-size:9px; }
.custom-select-menu:focus { outline:none; }

/* Responsive refinements */
@media (max-width:1100px) {
  .hero-laptop-visual { min-height:460px; }
  .laptop-scene { width:min(620px,110%); }
  .laptop-float-label.label-bottom { left:0;bottom:4%; }
  .game-menu { grid-template-columns:200px minmax(0,1fr); }
  .demo-panel-area { padding:19px;gap:14px; }
}
@media (max-width:760px) {
  .hero-laptop-visual { min-height:380px;margin:0 -10px; }
  .laptop-scene { width:100%; }
  .laptop-device { transform:rotateY(-7deg) rotateX(2deg); }
  .laptop-float-label { padding:8px 10px;font-size:6px; }
  .laptop-float-label.label-top { right:2%;top:0; }
  .laptop-float-label.label-bottom { left:0;bottom:0; }
  .preview-page-heading,.menu-demo-section { width:calc(100% - 34px); }
  .preview-page-heading { padding-top:70px; }
  .interface-lab-topline { font-size:7px; }
  .lab-topline-right>span:not(.lab-version),.lab-topline-separator { display:none; }
  .interface-frame { padding:8px;border-radius:14px; }
  .game-menu { min-height:730px;grid-template-columns:155px minmax(0,1fr);border-radius:12px; }
  .demo-sidebar { padding:15px 9px 12px; }
  .demo-brand { gap:7px;padding-bottom:17px; }
  .demo-brand-icon { width:27px;height:27px; }
  .demo-brand b { font-size:10px; }
  .demo-brand small { font-size:6px; }
  .demo-sidebar-collapse { width:20px;height:20px; }
  .demo-tab { min-height:37px;gap:7px;padding:0 6px;font-size:9px; }
  .demo-tab span { width:17px;height:17px;font-size:8px; }
  .demo-profile { padding:7px;gap:5px; }
  .demo-topbar { height:76px;padding:0 13px; }
  .demo-topbar h2 { font-size:15px; }
  .demo-topbar p { font-size:8px; }
  .demo-tools { gap:4px; }
  .demo-keycap { display:none; }
  .demo-search { width:125px;height:31px; }
  .demo-search input { font-size:8px; }
  .demo-minimize,.demo-close { width:23px;height:25px; }
  .demo-panel-area { height:630px;max-height:630px;grid-template-columns:1fr;padding:14px 12px;gap:0; }
  .demo-section-head { margin:8px 0 8px; }
  .demo-control-card { padding:12px;margin-bottom:8px; }
  .demo-control-card b { font-size:10px; }
  .demo-control-card p { font-size:8px; }
  .demo-window-footer { padding:10px 12px;font-size:6px; }
  .demo-window-footer span:last-child { display:none; }
  .demo-empty-search { padding:65px 8px; }
  .demo-control-row>.custom-select-wrap { width:48%;min-width:125px; }
  .preview-instructions { grid-template-columns:1fr;gap:20px; }
  .preview-shortcuts { grid-template-columns:repeat(3,1fr); }
}
@media (max-width:480px) {
  .hero-laptop-visual { min-height:290px; }
  .laptop-appbar { min-height:17px; }
  .laptop-sidebar { gap:3%; }
  .laptop-side-link { padding:4px 5px;gap:4px; }
  .laptop-side-profile { display:none; }
  .laptop-metrics { gap:4px; }
  .laptop-metrics>div { padding:5px; }
  .laptop-release { gap:5px;padding:5px; }
  .laptop-release-icon { width:19px;height:19px; }
  .laptop-avatar { width:20px;height:20px; }
  .laptop-float-label.label-bottom { bottom:-4%; }
  .laptop-float-label.label-top { right:-2%; }
  .game-menu { grid-template-columns:115px minmax(0,1fr);min-height:730px; }
  .game-menu.is-compact { grid-template-columns:58px minmax(0,1fr); }
  .demo-sidebar { padding:12px 6px 9px; }
  .demo-brand { gap:5px; }
  .demo-brand-icon { width:23px;height:23px; }
  .demo-brand b { font-size:8px; }
  .demo-brand small { max-width:58px;font-size:5px; }
  .demo-sidebar-collapse { right:-3px;top:-4px;width:18px;height:18px; }
  .demo-tab { min-height:33px;font-size:7px;gap:5px; }
  .demo-tab span { width:15px;height:15px;font-size:7px; }
  .demo-workspace { font-size:5px; }
  .demo-topbar { padding:0 8px; }
  .demo-topbar h2 { font-size:12px; }
  .demo-topbar p { max-width:120px;font-size:6px; }
  .demo-breadcrumb { font-size:5px; }
  .demo-search { width:88px;height:27px;padding:0 5px; }
  .demo-search input { font-size:7px; }
  .demo-search kbd { display:none; }
  .demo-minimize,.demo-close { width:18px;height:22px;font-size:13px; }
  .demo-panel-area { padding:11px 8px; }
  .demo-control-card { padding:10px 8px; }
  .demo-control-card b { font-size:8px; }
  .demo-control-card p { font-size:7px; }
  .demo-control-row { gap:5px; }
  .demo-control-row>span,.demo-control-row>output { font-size:7px; }
  .demo-switch { width:31px;height:18px; }
  .demo-switch i { width:11px;height:11px; }
  .demo-reset { font-size:7px;padding:6px 7px; }
  .demo-control-row>.custom-select-wrap { min-width:95px;width:49%; }
  .demo-control-row>.custom-select-wrap .custom-select-trigger { min-height:30px;padding:0 6px;font-size:7px;gap:4px; }
  .custom-select-arrow { width:16px;height:16px; }
  .interface-lab-topline .lab-version { font-size:6px; }
  .preview-instructions h2 { font-size:23px; }
  .preview-shortcuts span { font-size:8px; }
}
@media (prefers-reduced-motion:reduce) {
  *,*:before,*:after { scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important; }
}
