/* Fullscreen worlds. Every rule is scoped to the audio modal; embedded pages keep their own geometry. */
:root[data-theme="eclipse"]{--stage-frame:48% 48% 22% 22%;--stage-edge:#b5a0ff;--stage-scenic-opacity:.36;--stage-scene-position:50% 50%}
:root[data-theme="anime"]{--stage-frame:42% 42% 24px 24px;--stage-edge:#ffd0f1;--stage-scenic-opacity:.35;--stage-scene-position:50% 42%}
:root[data-theme="cyber"]{--stage-frame:8px;--stage-edge:#52eaff;--stage-scenic-opacity:.42;--stage-scene-position:50% 50%}
:root[data-theme="girly"]{--stage-frame:44% 44% 28px 28px;--stage-edge:#ffc0df;--stage-scenic-opacity:.32;--stage-scene-position:50% 50%}
:root[data-theme="miami"]{--stage-frame:48% 48% 8px 8px;--stage-edge:#ffab99;--stage-scenic-opacity:.43;--stage-scene-position:50% 50%}
:root[data-theme="cuban"]{--stage-frame:44% 44% 12px 12px;--stage-edge:#f1ce8a;--stage-scenic-opacity:.36;--stage-scene-position:50% 50%}
:root[data-theme="aurora"]{--stage-frame:46% 46% 24% 24%;--stage-edge:#b1f5e6;--stage-scenic-opacity:.4;--stage-scene-position:50% 38%}
:root[data-theme="verdant"]{--stage-frame:45% 18% 40% 16%;--stage-edge:#cbeb9d;--stage-scenic-opacity:.42;--stage-scene-position:50% 50%}
:root[data-theme="fps"]{--stage-frame:4px;--stage-edge:#dfc598;--stage-scenic-opacity:.4;--stage-scene-position:50% 50%}
:root[data-theme="rpg"]{--stage-frame:48% 48% 6px 6px;--stage-edge:#edd292;--stage-scenic-opacity:.44;--stage-scene-position:50% 45%}
:root[data-theme="moba"]{--stage-frame:22% 22% 8px 8px;--stage-edge:#b7d8ff;--stage-scenic-opacity:.44;--stage-scene-position:50% 45%}
#stage.stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"art deck";grid-template-rows:auto;align-content:center;align-items:center;justify-content:center;column-gap:clamp(24px,4vw,80px);padding:100px max(32px,5vw) 40px;background:var(--bg,#050713);isolation:isolate;overflow:auto}
#stage.stage::before,#stage.stage::after{content:none;animation:none}
#stage .stage-scenery{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none}
#stage .stage-scene-landscape{position:absolute;inset:0;background:var(--theme-world-art) var(--stage-scene-position)/cover no-repeat;opacity:var(--stage-scenic-opacity);transform:none}
#stage .stage-scene-light{position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(3,5,14,.32) 55%,rgba(3,5,14,.76)),linear-gradient(0deg,var(--bg),transparent 50%,rgba(3,5,14,.2));}
#stage .stage-scene-lines{position:absolute;inset:0;background:radial-gradient(ellipse at 24% 50%,transparent 26%,color-mix(in srgb,var(--a2) 8%,transparent) 26.15%,transparent 26.35% 36%,color-mix(in srgb,var(--a1) 8%,transparent) 36.15%,transparent 36.3%)}
#stage .stage-art{grid-area:art;position:relative;width:min(100%,520px);height:min(66vh,650px);min-height:360px;justify-self:center;align-self:center;display:block;filter:none;margin:0}
#stage .stage-art::before{content:none;animation:none}
#stage .stage-avatar{position:absolute;inset:0 6% 44px 10%;isolation:isolate;pointer-events:none}
#stage .stage-avatar-frame{position:absolute;inset:5% 0 0;border:1px solid var(--stage-edge);border-radius:var(--stage-frame);background:radial-gradient(ellipse at 50% 25%,color-mix(in srgb,var(--a3) 22%,transparent),transparent 72%),linear-gradient(180deg,rgba(255,255,255,.035),color-mix(in srgb,var(--bg2) 55%,transparent));box-shadow:inset 0 0 0 7px color-mix(in srgb,var(--bg) 65%,transparent),inset 0 0 0 8px color-mix(in srgb,var(--stage-edge) 25%,transparent),0 28px 70px -40px color-mix(in srgb,var(--a3) 65%,#000)}
#stage .stage-avatar-frame::before{content:"";position:absolute;inset:-16px;border:1px solid color-mix(in srgb,var(--stage-edge) 18%,transparent);border-radius:inherit}
#stage .stage-avatar-frame::after{content:"";position:absolute;left:16%;right:16%;bottom:12%;height:20%;background:radial-gradient(ellipse,var(--a2),transparent 70%);opacity:.14;filter:blur(22px)}
#stage #stageAvatarArt{position:absolute;height:104%;width:auto;max-width:none;right:-4%;bottom:0;object-fit:contain;filter:drop-shadow(0 14px 20px #0006);transform-origin:50% 90%}
#stage .stage-avatar-caption{position:absolute;left:18px;right:18px;bottom:14px;padding:12px 16px;border:1px solid color-mix(in srgb,var(--stage-edge) 25%,transparent);border-radius:10px;background:color-mix(in srgb,var(--bg) 88%,transparent);text-align:right;box-shadow:0 8px 24px #0004}
#stage .stage-avatar-caption span{display:block;color:var(--a2);font:700 .55rem/1.5 Inter,sans-serif;letter-spacing:.18em;text-transform:uppercase}
#stage .stage-avatar-caption strong{font:700 .85rem/1.4 var(--world-heading,Inter);color:var(--fg)}
#stage .stage-disc{position:absolute;z-index:2;left:-2%;bottom:-5%;width:clamp(160px,16vw,230px);height:auto;aspect-ratio:1;display:grid;place-items:center;isolation:isolate;filter:drop-shadow(0 10px 24px #0008)}
#stage .stage-disc::before{content:"";position:absolute;inset:6%;width:auto;height:auto;border:1px solid color-mix(in srgb,var(--stage-edge) 40%,transparent);border-radius:50%;background:var(--bg2);box-shadow:0 0 0 6px color-mix(in srgb,var(--bg) 75%,transparent);transform:none;animation:none}
#stage .stage-disc .cover{width:69%;height:69%;border-radius:18px;box-shadow:0 12px 24px #0008,0 0 0 1px color-mix(in srgb,var(--stage-edge) 55%,transparent);overflow:hidden}
#stage .stage-disc .cover img{width:100%;height:100%;object-fit:cover}
#stage .stage-disc .viz{position:absolute;inset:0;width:100%;height:100%;z-index:0}
#stage .stage-pet{position:absolute;inset:auto -1% -5% auto;z-index:3;width:110px;height:130px;padding:0 0 12px;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;background:linear-gradient(165deg,color-mix(in srgb,var(--a2) 10%,var(--bg2)),var(--bg));border:1px solid color-mix(in srgb,var(--stage-edge) 40%,transparent);border-radius:22px;box-shadow:0 16px 40px #0006;transform:translateY(var(--pet-lift,0px));overflow:visible}
#stage .stage-pet .stage-pet-figure{display:none}
#stage .stage-companion-art{position:absolute;left:-9%;bottom:21px;width:118%;height:auto;filter:drop-shadow(0 6px 8px #0005);pointer-events:none}
#stage .stage-companion-name{font:700 .67rem/1.4 Inter,sans-serif;letter-spacing:.06em;color:var(--fg);text-transform:uppercase}
#stage .stage-pet-bubble{right:0;bottom:calc(100% + 12px);top:auto;max-width:220px;text-align:center;background:var(--bg2);color:var(--fg);z-index:8}
#stage .stage-pet-bubble::after{right:28px;top:auto;bottom:-5px;transform:rotate(45deg)}
#stage .stage-deck{grid-area:deck;position:relative;display:flex;flex-direction:column;align-items:stretch;gap:20px;width:min(100%,610px);min-width:0;justify-self:start;padding:clamp(22px,3vw,42px);border:1px solid color-mix(in srgb,var(--stage-edge) 25%,transparent);border-radius:var(--world-radius,22px);background:linear-gradient(145deg,color-mix(in srgb,var(--bg2) 94%,transparent),color-mix(in srgb,var(--bg) 91%,transparent));box-shadow:inset 0 1px rgba(255,255,255,.06),0 30px 80px #0004}
#stage .stage-meta{max-width:100%;width:100%;min-width:0;text-align:left;padding:0;align-self:stretch}
#stage .stage-meta .st{font:800 clamp(1.75rem,3.1vw,3.4rem)/1.1 var(--world-heading,Inter,sans-serif);letter-spacing:var(--world-tracking,-.04em);text-wrap:balance;max-width:100%;overflow-wrap:anywhere;text-shadow:none;margin:12px 0}
#stage .stage-meta .sa{display:inline-block;font:500 clamp(.9rem,1.1vw,1.08rem)/1.5 Inter,sans-serif;color:var(--muted);text-underline-offset:5px;max-width:100%;overflow-wrap:anywhere}
#stage .stage-meta .sa:hover{color:var(--a2);text-decoration:underline}
#stage .stage-station{max-width:100%;font:700 .59rem/1.45 Inter,sans-serif;letter-spacing:.12em;padding:6px 10px;border:1px solid color-mix(in srgb,var(--a2) 25%,transparent);background:color-mix(in srgb,var(--a2) 6%,var(--bg));color:var(--a2)}
#stage .stage-seek{width:100%;padding:8px 0;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;gap:12px}
#stage .stage-ctrls{width:100%;max-width:100%;display:flex;justify-content:center;align-items:center;gap:clamp(10px,1.6vw,24px);padding:0;margin:0}
#stage .stage-ctrls .pp{width:72px;height:72px;flex:none;background:linear-gradient(135deg,var(--a1),var(--a2));color:#0b1721;box-shadow:0 0 0 7px color-mix(in srgb,var(--a2) 7%,transparent),0 12px 32px -12px color-mix(in srgb,var(--a1) 38%,#000)}
#stage .stage-ctrls .pp svg{fill:currentColor}
#stage .stage-feedback{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px;max-width:100%;padding-top:20px;border-top:1px solid var(--line);margin:0}
#stage .stage-feedback .feedback-btn{font:600 .66rem/1.3 Inter,sans-serif;padding:8px 11px;min-height:40px;background:var(--bg2);backdrop-filter:none;-webkit-backdrop-filter:none;border-color:var(--line);box-shadow:none}
#stage .stage-intelligence{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-start;margin:0}
#stage .stage-tool{font:600 .65rem/1.35 Inter,sans-serif;min-height:40px;padding:7px 10px;background:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
#stage .why-panel{width:100%;background:var(--bg2)}
#stage .playback-recovery{width:100%;margin:0}
#stage .stage-world-tools{position:absolute;top:max(18px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);z-index:5;display:flex;gap:10px;align-items:center;padding:5px 8px;border:1px solid var(--line);border-radius:14px;background:var(--bg2)}
#stage .stage-world-tools label{display:flex;align-items:center;gap:10px;color:var(--muted);font:600 .67rem/1.4 Inter,sans-serif;padding-left:8px}
#stage .stage-world-tools select,#stage .stage-world-tools button{min-height:44px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--fg);font:600 .73rem/1.4 Inter,sans-serif;padding:7px 10px;max-width:150px}
#stage .stage-world-tools button{white-space:nowrap;color:var(--a2)}
#stage .stage-run-hud{position:absolute;left:max(24px,env(safe-area-inset-left));bottom:16px;top:auto;right:auto;max-width:270px;padding:9px 12px;background:var(--bg2);border-color:var(--line);opacity:.75;pointer-events:none}
#stage .stage-run-objective,#stage .stage-run-track{display:none}
#stage .stage-close,#stage .stage-dl{position:absolute;z-index:7;top:max(20px,env(safe-area-inset-top));width:48px;height:48px;background:var(--bg2);border:1px solid var(--line);box-shadow:none}
#stage .stage-close{left:max(22px,env(safe-area-inset-left))}
#stage .stage-dl{right:max(22px,env(safe-area-inset-right))}
#stage .queue-drawer{position:fixed;z-index:10;background:var(--bg2)}
/* World-specific frames and atmosphere, not a shared blob with different colors. */
:root[data-theme="eclipse"] #stage .stage-avatar-frame{box-shadow:inset 0 0 0 9px #0b112966,inset 0 0 0 10px #b5a0ff44,0 0 80px -40px #a99dff}
:root[data-theme="eclipse"] #stage .stage-avatar-frame::before{inset:7% -16% 12%;border-radius:50%;transform:rotate(-24deg);border-color:#b5a0ff66}
:root[data-theme="anime"] #stage .stage-avatar-frame{background:radial-gradient(circle at 25% 20%,#fff9c455 0 2px,transparent 3px) 0 0/56px 73px,linear-gradient(155deg,#8cbdfb33,#a772d833)}
:root[data-theme="anime"] #stage .stage-avatar-frame::before{inset:14px -12px -12px 14px;border:2px dashed #d9c4f477;border-radius:24px;transform:rotate(4deg)}
:root[data-theme="girly"] #stage .stage-avatar-frame{background:linear-gradient(135deg,#ffdbef20,transparent 30% 65%,#ffd6e820),linear-gradient(170deg,#9d447044,#542e6944);box-shadow:inset 0 0 0 8px #ffa8d318,inset 0 0 0 9px #ffd2e644,0 20px 50px -30px #ed81c5}
:root[data-theme="girly"] #stage .stage-avatar-frame::before{inset:12px;border:1px dotted #ffe3f080}
:root[data-theme="cyber"] #stage .stage-avatar-frame{border-width:1px 3px;background:repeating-linear-gradient(0deg,transparent 0 5px,#37e4ff08 6px),linear-gradient(135deg,#0a253baa,#271731aa);clip-path:polygon(9% 0,100% 0,100% 91%,91% 100%,0 100%,0 9%)}
:root[data-theme="cyber"] #stage .stage-avatar-frame::before{inset:12px;border:1px solid #ed56d988;border-left:0;border-bottom:0;border-radius:0}
:root[data-theme="cyber"] #stage .stage-scene-lines{background:repeating-linear-gradient(0deg,transparent 0 5px,#52eaff04 6px),linear-gradient(90deg,transparent 4%,#52eaff22 4.1%,transparent 4.2% 95%,#ed56d922 95.1%,transparent 95.2%)}
:root[data-theme="miami"] #stage .stage-avatar-frame{background:repeating-linear-gradient(0deg,transparent 0 24px,#ffb2a922 25px 27px),linear-gradient(180deg,#fbba5955,#f254a530 60%,#2b256130)}
:root[data-theme="miami"] #stage .stage-avatar-frame::before{inset:-20px 18px 12%;border-radius:50% 50% 0 0;border-color:#69e9e633}
:root[data-theme="miami"] #stage .stage-scene-lines{top:65%;background:repeating-linear-gradient(0deg,transparent 0 45px,#ea97d411 46px 47px),repeating-linear-gradient(90deg,transparent 0 90px,#79ebec11 91px 92px);transform:perspective(350px) rotateX(40deg);transform-origin:50% 0}
:root[data-theme="cuban"] #stage .stage-avatar-frame{border:2px solid #dfb56b99;background:repeating-linear-gradient(90deg,transparent 0 27px,#d8b17b11 28px 29px),linear-gradient(150deg,#3a3d2999,#113a3d99);box-shadow:inset 0 0 0 8px #0b302a99,inset 0 0 0 10px #dfb56b44}
:root[data-theme="cuban"] #stage .stage-deck{border-top:3px solid #c7984f}
:root[data-theme="aurora"] #stage .stage-avatar-frame{background:linear-gradient(125deg,#9febdb18,#70a7e814,transparent 55%,#bdb2f52b);border-color:#b4efe699}
:root[data-theme="aurora"] #stage .stage-avatar-frame::before{inset:-12px 8px 12px -8px;transform:rotate(-7deg);border-color:#bed4ff44}
:root[data-theme="verdant"] #stage .stage-avatar-frame{border-color:#bbd99c88;background:repeating-linear-gradient(145deg,transparent 0 35px,#c3ef9920 36px 37px),linear-gradient(155deg,#1b4e3099,#091e2299)}
:root[data-theme="verdant"] #stage .stage-avatar-frame::before{inset:-10px 10px 10px -10px;transform:rotate(-6deg);border-color:#bbe59044}
:root[data-theme="fps"] #stage .stage-avatar-frame{background:linear-gradient(#dfc59877,#dfc59877) left top/36px 3px no-repeat,linear-gradient(#dfc59877,#dfc59877) right bottom/36px 3px no-repeat,repeating-linear-gradient(0deg,transparent 0 35px,#d4ecbb0c 36px),#18221c66;border-color:#b9cba84d}
:root[data-theme="fps"] #stage .stage-avatar-frame::before{inset:14px;border-style:dashed;border-radius:0}
:root[data-theme="fps"] #stage .stage-scene-lines{background:repeating-linear-gradient(0deg,transparent 0 79px,#c6d3a509 80px),repeating-linear-gradient(90deg,transparent 0 79px,#c6d3a509 80px)}
:root[data-theme="rpg"] #stage .stage-avatar-frame{border:2px solid #caaa6eaa;background:radial-gradient(ellipse at 50% 25%,#de99302b,transparent 70%),#192f2399;box-shadow:inset 0 0 0 8px #132018aa,inset 0 0 0 10px #caaa6e55}
:root[data-theme="rpg"] #stage .stage-avatar-frame::before{inset:18px;border-color:#caaa6e66;border-radius:48% 48% 0 0}
:root[data-theme="moba"] #stage .stage-avatar-frame{clip-path:polygon(15% 0,85% 0,100% 14%,100% 86%,85% 100%,15% 100%,0 86%,0 14%);background:conic-gradient(from 45deg,#34528666,#392e5766,#73465d44,#34528666);border:2px solid #c2d4ee77}
:root[data-theme="moba"] #stage .stage-avatar-frame::before{inset:14px;border:1px solid #e4c29f66;border-radius:0;transform:rotate(5deg)}
:root:is([data-theme="fps"],[data-theme="rpg"],[data-theme="moba"]) #stage #stageAvatarArt{right:50%;transform:translateX(50%);height:108%}
:root:is([data-theme="cyber"],[data-theme="fps"],[data-theme="moba"]) #stage .stage-disc::before{border-radius:8px;inset:3% 5% 10%;background:var(--bg2)}
:root:is([data-theme="cyber"],[data-theme="fps"],[data-theme="moba"]) #stage .stage-disc .cover{border-radius:6px;width:77%;height:77%;margin-top:-8%}
:root:is([data-theme="cyber"],[data-theme="fps"]) #stage .stage-station{font-family:ui-monospace,monospace;border-radius:4px}
:root:is([data-theme="cuban"],[data-theme="miami"]) #stage .stage-disc .cover{border-radius:50%}
/* Listeners can foreground their album artwork without changing their chosen world. */
#stage[data-world-view="cover"] .stage-avatar{display:none}
#stage[data-world-view="cover"] .stage-disc{width:90%;left:5%;top:4%;bottom:auto}
#stage[data-world-view="cover"] .stage-pet{bottom:0;right:3%}
#stage[data-world-view="cover"] .stage-scene-landscape{opacity:.15}
#stage:not(.is-playing) .stage-companion-art{filter:drop-shadow(0 6px 8px #0005) saturate(.8)}
@media(max-width:899px){
  #stage.stage{grid-template-columns:minmax(0,1fr);grid-template-areas:"art" "deck";padding:94px 20px 32px;gap:26px;align-content:start}
  #stage .stage-art{height:340px;min-height:0;width:320px;max-width:88vw}
  #stage .stage-deck{width:min(100%,610px);justify-self:center;padding:24px;gap:15px}
  #stage .stage-avatar{inset:0 12% 15px}
  #stage .stage-disc{width:140px;min-width:0;left:-5%;bottom:-7%}
  #stage .stage-pet{width:82px;height:98px;right:-3%;bottom:-5%;border-radius:17px}
  #stage .stage-companion-art{bottom:18px}
  #stage .stage-companion-name{font-size:.57rem}
  #stage .stage-meta .st{font-size:clamp(1.5rem,5vw,2.5rem)}
  #stage .stage-run-hud{display:none}
  #stage[data-world-view="cover"] .stage-disc{width:290px;max-width:95%;top:0;left:3%}
}
@media(max-width:540px){
  #stage.stage{padding:82px 12px 24px;gap:22px}
  #stage .stage-art{height:270px;width:260px}
  #stage .stage-disc{width:118px;bottom:-8%;left:-4%}
  #stage .stage-avatar-caption{left:8px;right:8px;bottom:8px;padding:8px;text-align:center}
  #stage .stage-avatar-caption span{font-size:.47rem}
  #stage .stage-avatar-caption strong{font-size:.65rem}
  #stage .stage-pet{width:72px;height:86px;bottom:-8%}
  #stage .stage-deck{padding:20px 16px;gap:13px}
  #stage .stage-feedback{gap:7px;padding-top:14px}
  #stage .stage-feedback .feedback-btn,#stage .stage-tool{min-height:44px;font-size:.65rem}
  #stage .stage-world-tools{top:12px;left:70px;right:12px;transform:none;justify-content:space-between;padding:4px;gap:5px}
  #stage .stage-world-tools label{font-size:0;padding:0;gap:0}
  #stage .stage-world-tools select{font-size:.7rem;width:118px;max-width:100%}
  #stage .stage-world-tools button{font-size:.65rem;padding:7px}
  #stage .stage-close{top:14px;left:12px;width:44px;height:44px}
  #stage .stage-dl{top:72px;right:12px;width:40px;height:40px}
  #stage[data-world-view="cover"] .stage-disc{width:250px}
}
/* Native screen-control stylesheet follows this one; these rules cover its new deck. */
@media(min-width:640px) and (max-height:680px){
  #stage.stage{grid-template-columns:minmax(120px,.55fr) minmax(0,1.5fr);grid-template-areas:"art deck";align-items:start;gap:16px;padding:80px 20px 20px}
  #stage .stage-art{height:230px;min-height:0;width:100%;max-width:220px}
  #stage .stage-deck{padding:16px 20px;gap:10px;width:100%}
  #stage .stage-avatar{inset:0 8% 0}
  #stage .stage-avatar-caption,#stage .stage-run-hud{display:none}
  #stage .stage-disc{width:100px;left:-5%;bottom:-5%}
  #stage .stage-deck .stage-meta .st{font-size:1.35rem;margin:7px 0}
  #stage .stage-meta .sa{font-size:.8rem}
  #stage .stage-pet{display:none}
  #stage .stage-ctrls .pp{width:60px;height:60px}
  #stage .stage-feedback{padding-top:12px}
  #stage .stage-world-tools{top:9px}
  #stage[data-world-view="cover"] .stage-disc{width:100%;left:0;top:8%}
}
@media(prefers-reduced-motion:reduce){#stage .stage-companion-art,#stage .stage-pet,#stage .stage-disc .cover,#stage .stage-scene-landscape{animation:none!important;transition:none!important;transform:none!important}}
:root[data-display-mode="tv"] #stage .stage-pet{transform:none!important}
:root[data-display-mode="tv"] #stage .stage-companion-art{animation:none!important}
@supports not (background:color-mix(in srgb,black,white)){#stage .stage-deck,#stage .stage-avatar-caption{background:var(--bg2)}#stage .stage-avatar-frame{border-color:var(--a2)}#stage .stage-pet{background:var(--bg2)}}
/* Keep the companion card upright and give the portrait room to breathe. */
#stage .stage-pet{animation:none;rotate:0deg}
#stage .stage-avatar-caption{display:none}

/* Redline's garage display keeps real music controls in the foreground. */
:root[data-theme="racing"]{--stage-frame:8px;--stage-edge:#ffbd69;--stage-scenic-opacity:.52;--stage-scene-position:50% 65%}
:root[data-theme="racing"] #stage .stage-avatar{inset:0 0 34px 0}
:root[data-theme="racing"] #stage .stage-avatar-frame{inset:12% 0 0;overflow:hidden;border:1px solid #8f795b;border-top:3px solid #ffbd69;background:linear-gradient(0deg,#080d12dd,transparent 75%),var(--game-world) 52% 70%/cover no-repeat;box-shadow:inset 0 0 0 6px #080d1244,0 24px 50px -30px #000}
:root[data-theme="racing"] #stage .stage-avatar-frame::before{inset:9px;border:1px solid #ffbd6938;border-left:0;border-bottom:0;border-radius:0}
:root[data-theme="racing"] #stage #stageAvatarArt{height:102%;right:-4%;bottom:0;max-width:68%;object-fit:contain;object-position:right bottom}
:root[data-theme="racing"] #stage .stage-avatar-caption{left:12px;right:12px;bottom:12px;border-radius:4px;border-left:3px solid #ffbd69;text-align:left}
:root[data-theme="racing"] #stage .stage-avatar-caption strong{font-family:ui-monospace,monospace;font-size:.75rem}
:root[data-theme="racing"] #stage .stage-disc::before{inset:1%;border:8px solid #10171d;outline:1px solid #8397a4;background:repeating-conic-gradient(from 12deg,#263945 0deg 6deg,#101a23 7deg 30deg);box-shadow:0 0 0 4px #080d12,inset 0 0 0 3px #c1a477;transform:none}
:root[data-theme="racing"] #stage .stage-disc .cover{border-radius:50%;width:68%;height:68%;border:3px solid #080d12;box-shadow:0 0 0 2px #8ba0ab}
:root[data-theme="racing"] #stage .stage-deck{border-radius:12px;border-top:3px solid #ffbd69;background:linear-gradient(125deg,#1a242ded,#10171ff2 60%);box-shadow:inset 0 1px #ffffff09,0 28px 64px -30px #000}
:root[data-theme="racing"] #stage .stage-station{border-radius:3px;font-family:ui-monospace,monospace;letter-spacing:.11em;color:var(--a1);border-color:#ffbd6938}
:root[data-theme="racing"] #stage .stage-scene-lines{background:repeating-linear-gradient(115deg,transparent 0 150px,#80dcf209 151px 152px,transparent 153px 300px)}
:root[data-theme="racing"] #stage .stage-ctrls .pp{background:linear-gradient(145deg,#ffd996,#ffbd69);color:#111820;box-shadow:0 0 0 5px #111820,0 0 0 6px #91acb8,0 0 0 10px #111820,inset 0 1px #fff3}
:root[data-theme="racing"] #stage .stage-pet{border-radius:12px;background:linear-gradient(145deg,#25343f,#101820);border-color:#ab956f}
@media(max-width:540px){:root[data-theme="racing"] #stage .stage-avatar{inset:0 0 20px}:root[data-theme="racing"] #stage .stage-avatar-caption strong{font-size:.64rem}}
