/* v5.9: a distinct orbital reactor, violet energy, and a perspective floor. */
.reactor-scene{display:none}
body[data-shop-background=reactor] .ambient{background:#06050d!important;isolation:isolate}
body[data-shop-background=reactor] .ambient:before,body[data-shop-background=reactor] .ambient:after{content:none!important;animation:none!important}
body[data-shop-background=reactor] .ambient>.glow,body[data-shop-background=reactor] .ambient>.aurora-ribbon,body[data-shop-background=reactor] #particles{display:none!important}
body[data-shop-background=reactor] .reactor-scene{display:block;position:absolute;inset:0;overflow:hidden;opacity:var(--dryzn-background-intensity,1);pointer-events:none}
.reactor-haze{position:absolute;inset:0;background:radial-gradient(ellipse at 95% 35%,#7524b947,transparent 48%),radial-gradient(ellipse at 2% 90%,#6722bf44,transparent 38%),linear-gradient(120deg,#080811b0 20%,transparent 80%)}
.reactor-gate{position:absolute;width:min(86vw,1200px);aspect-ratio:1;right:-8%;top:-18%;transform:rotate(-28deg);opacity:.9}
.reactor-halo{position:absolute;inset:7%;border:2px solid #bd84ff44;border-radius:50%;box-shadow:0 0 80px #7634c540,inset 0 0 70px #632dae45;background:radial-gradient(circle,transparent 63%,#a252fc22 68%,transparent 72%)}
.reactor-orbit{position:absolute;inset:4%;border-radius:50%;background:conic-gradient(from 0deg,transparent 0deg,#9053d2 20deg,#e7caff 23deg,transparent 26deg 98deg,#712bb0 120deg,#d4a1ff 123deg,transparent 128deg 260deg,#b36ce5 280deg,transparent 288deg);mask:radial-gradient(circle,transparent 66%,#000 66.4% 67.2%,transparent 67.6%);animation:reactor-orbit 65s linear infinite;opacity:.85}
.reactor-inner{position:absolute;inset:20%;border:1px dashed #d0a6ff30;border-radius:50%;box-shadow:0 0 45px #9d46fd20;animation:reactor-orbit 95s linear infinite reverse}
.reactor-axis{position:absolute;inset:15%;border:1px solid #d5b0fc17;transform:rotate(45deg);clip-path:polygon(0 0,100% 0,100% 100%,0 100%);background:linear-gradient(135deg,transparent 49.8%,#da95ff33 50%,transparent 50.2%)}
.reactor-core{position:absolute;inset:38%;border-radius:50%;background:radial-gradient(circle,#d7aaff22,transparent 70%);box-shadow:0 0 75px #ae5aff2b;animation:reactor-breathe 8s ease-in-out infinite alternate}
.reactor-horizon{position:absolute;left:-10%;right:-10%;bottom:21%;height:1px;transform:rotate(-9deg);background:linear-gradient(90deg,transparent,#bd70ff60,#f0ccff70,transparent);box-shadow:0 0 22px #ab54fa6b}
.reactor-floor{position:absolute;left:-45%;width:190%;height:55%;bottom:-34%;perspective:420px;opacity:.5;mask-image:linear-gradient(to bottom,transparent,#000 22%,#000 70%,transparent)}
.reactor-floor>div{position:absolute;inset:-60% -10%;background-image:linear-gradient(#b56ff02a 1px,transparent 1px),linear-gradient(90deg,#b56ff02a 1px,transparent 1px);background-size:85px 85px;transform:rotateX(62deg) rotateZ(-9deg);animation:reactor-grid 18s linear infinite}
.reactor-shard{position:absolute;width:1px;height:48%;background:linear-gradient(transparent,#9b54e459,#e0b5ff77,transparent);transform:rotate(32deg);box-shadow:0 0 18px #a35dff38;opacity:.65}
.shard-one{left:7%;top:5%}.shard-two{left:19%;bottom:-25%;height:65%;opacity:.35}.shard-three{right:13%;top:40%;height:70%;opacity:.5}
.reactor-dust{position:absolute;inset:0;background-image:radial-gradient(circle,#dbc3ff80 1px,transparent 1.5px),radial-gradient(circle,#bd77fa60 .8px,transparent 1.3px);background-size:277px 233px,421px 367px;background-position:31px 72px,183px 109px;opacity:.45;animation:reactor-dust 36s ease-in-out infinite alternate}
@keyframes reactor-orbit{to{transform:rotate(360deg)}}
@keyframes reactor-breathe{to{opacity:.3;transform:scale(.88)}}
@keyframes reactor-grid{to{transform:rotateX(62deg) rotateZ(-9deg) translateY(85px)}}
@keyframes reactor-dust{to{transform:translateY(-20px);opacity:.25}}
.motion-off .reactor-scene *,.ambient-paused .reactor-scene *,.reactor-paused .reactor-scene *,body[data-shop-background-motion=off] .reactor-scene *{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.reactor-scene *{animation:none!important}}
@media(max-width:700px){.reactor-gate{width:115vw;right:-58%;top:2%;opacity:.65}.reactor-floor{height:45%;bottom:-26%;opacity:.3}.reactor-shard{opacity:.28}.reactor-dust{opacity:.22;animation:none}.reactor-horizon{bottom:16%;opacity:.6}}
html[data-theme=light] body[data-shop-background=reactor] .ambient{background:#f2edf9!important}html[data-theme=light] .reactor-scene{opacity:.3!important}

/* Crisp text next to the existing shop logo. CMS remains editable. */
body .store-header .header-brand-copy b{background:none;-webkit-text-fill-color:currentColor;transform:none;filter:none;font-style:normal;font-weight:700;font-family:'Barlow Condensed',Prompt,sans-serif;color:#faf7ff;letter-spacing:1.7px}
body .store-header .header-brand-copy small{font-size:11px;color:#b7a9ca}
html[data-theme=light] body .store-header .header-brand-copy b{color:#241c33}
@media(max-width:700px){body .store-header .header-brand-copy b{font-size:12px;letter-spacing:.4px}body .store-header .header-brand-copy small{display:none}}
@media(max-width:350px){body .store-header .header-brand-copy b{font-size:10px;letter-spacing:0}}

/* The owner toolbar stays visible; Dashboard uses every pixel underneath. */
body[data-current-view=dashboard]:has(.dash-shell) .preview-bar.production-admin-bar{display:flex!important;position:fixed;inset:0 0 auto;z-index:100;width:100%;box-sizing:border-box;background:#100d19f5;backdrop-filter:blur(14px);border-bottom:1px solid #b374ee30}
body[data-current-view=dashboard] .dash-shell{top:var(--dash-toolbar-height,52px);left:0;right:0;bottom:0;width:100%;max-width:none!important;min-height:0;height:calc(100dvh - var(--dash-toolbar-height,52px));margin:0}
body[data-current-view=dashboard] .dash-main{scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:auto;max-width:none;width:100%;height:100%;min-height:0}
body[data-current-view=dashboard] .dash-main::-webkit-scrollbar{display:none;width:0;height:0}
body[data-current-view=dashboard] .dash-sidebar{min-height:0}
body[data-current-view=dashboard] .dash-savebar{bottom:0}
@media(max-width:700px){body[data-current-view=dashboard] .preview-bar.production-admin-bar{padding:6px 8px;gap:4px}body[data-current-view=dashboard] .preview-bar.production-admin-bar>span{display:none}body[data-current-view=dashboard] .preview-bar.production-admin-bar .view-tabs{margin:0;display:flex;flex-wrap:wrap;justify-content:flex-start;gap:2px;width:100%}body[data-current-view=dashboard] .preview-bar [role=tab]{font-size:10px;padding:6px 8px;min-height:32px}}

@media(min-width:701px){.reactor-shard{width:min(15vw,210px);height:65%;background:linear-gradient(150deg,#dbb9ff08,#8c41cc26 45%,#25153808);clip-path:polygon(0 15%,70% 0,100% 82%,30% 100%);transform:rotate(24deg);box-shadow:none}.reactor-shard:after{content:'';position:absolute;inset:0;background:linear-gradient(150deg,transparent 0 44%,#d4a3ff55 44.15%,transparent 44.4%)}.shard-one{left:-7%;top:9%;opacity:.9}.shard-two{left:9%;bottom:-36%;opacity:.5}.shard-three{right:-8%;top:42%;opacity:.55}.reactor-halo{border-color:#bf7af26b;box-shadow:0 0 80px #8835da54,inset 0 0 65px #7032ba4a}}

.dash-shop-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dash-shop-tabs .btn{font-size:12px}.dash-shop-help{padding:13px;border:1px solid #9f71d12c;background:#a76ce90b;border-radius:10px;font-size:11px;line-height:1.9;color:#bda9d1}.dash-role-mention{color:#b3bbff;background:#5865f222;border-radius:5px;padding:4px 8px;width:fit-content}body[data-current-view=dashboard] .dash-sidebar:has(#dash-command-categories:not([hidden])){gap:10px}body[data-current-view=dashboard] .dash-sidebar:has(#dash-command-categories:not([hidden])) nav button{min-height:32px;padding:6px 9px}body[data-current-view=dashboard] .dash-sidebar:has(#dash-command-categories:not([hidden])) .dash-owner{display:none}#dash-command-categories{scrollbar-width:none}#dash-command-categories::-webkit-scrollbar{display:none}

/* v5.10.1: normal-flow actions across every studio pane; no blur while scrolling. */
body[data-current-view=dashboard] .dash-savebar{position:static;inset:auto;margin:0 0 20px;transform:none;backdrop-filter:none;-webkit-backdrop-filter:none;background:#171222;box-shadow:none;z-index:auto}
body[data-current-view=dashboard] .dash-preview-column{position:static}
body[data-current-view=dashboard] .dash-shell .glass{backdrop-filter:none;-webkit-backdrop-filter:none;background:#12101b}
body[data-current-view=dashboard] .dash-main{padding-bottom:30px;scroll-behavior:auto}
body[data-current-view=dashboard] .ambient,body[data-current-view=admin] .ambient{visibility:hidden}
body[data-current-view=dashboard] .ambient *,body[data-current-view=admin] .ambient *,body[data-current-view=dashboard] .ambient:before,body[data-current-view=dashboard] .ambient:after,body[data-current-view=admin] .ambient:before,body[data-current-view=admin] .ambient:after{animation-play-state:paused!important}
@media(max-width:700px){body[data-current-view=dashboard] .dash-savebar{margin:0 0 14px;display:grid;gap:8px}body[data-current-view=dashboard] .dash-savebar>div{display:flex;flex-wrap:wrap}body[data-current-view=dashboard] .dash-savebar .btn{flex:1 1 95px;min-height:44px}body[data-current-view=dashboard] .dash-savebar #dash-preview-private{display:inline-flex;flex-basis:100%}}

body[data-current-view=dashboard] .dash-savebar{margin:20px 0;gap:16px}
body[data-current-view=dashboard] .dash-toolbar-copy{display:block;flex:1;min-width:0}
body[data-current-view=dashboard] .dash-toolbar-copy .dash-message{margin:0;padding:0;border:0;background:none}
body[data-current-view=dashboard] .dash-toolbar-copy .dash-message.error{color:#ffbcc7}
body[data-current-view=dashboard] #dash-dirty{display:block;font-size:10px;margin-top:4px;color:#b19abe}
body[data-current-view=dashboard] #dash-save-actions{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:700px){body[data-current-view=dashboard] .dash-savebar{margin:14px 0}body[data-current-view=dashboard] #dash-save-actions{width:100%}}

/* The customer's sale price is the visual focus, matching the Discord V2 result. */
.dash-sale-price{margin:18px 0;padding:20px;border:1px solid #c38aff65;border-radius:13px;background:linear-gradient(125deg,#a855f724,#692daa12);display:grid;gap:8px;color:#ead5ff}
.dash-sale-price>b{font-size:15px;color:#e1baff}.dash-sale-price>strong{font-size:clamp(30px,3vw,42px);line-height:1.3;color:#fff;font-variant-numeric:tabular-nums}.dash-sale-price>strong small{font-size:14px;color:#d6b4f6}
.dash-rate-table .dash-sale-column{background:#a855f712;color:#f1ddff}.dash-rate-table .dash-sale-column input{font-weight:700;color:#f1ddff;font-size:14px}
.dash-price-preview-tabs{display:flex;gap:8px;margin-bottom:12px}.dash-price-preview-tabs .btn{flex:1;min-height:42px;font-size:11px;padding:8px}
@media(max-width:700px){.dash-sale-price{padding:14px}.dash-sale-price>b{font-size:12px}.dash-sale-price>strong{font-size:30px}}

.dash-price-rates{margin-top:24px}

/* v5.10.5: labelled price summary */
.dash-price-details{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:12px;margin:16px 0}.dash-price-details>div{min-width:0;padding:14px;border:1px solid #a78bfa33;border-radius:12px;background:#a78bfa08}.dash-price-details span,.dash-price-details b,.dash-price-details small,.dash-sale-price>small{display:block}.dash-price-details span{font-size:12px;color:#c4b5fd;margin-bottom:8px}.dash-price-details b{overflow-wrap:anywhere;font-size:18px}.dash-price-details small{font-size:12px;color:#aaa4bc;margin-top:5px}.dash-sale-price>small{color:#c4b5fd;margin:6px 0 8px;font-size:12px}@media(max-width:480px){.dash-price-details{grid-template-columns:1fr}}

.dash-native-source,.dash-quote-requester{color:#aaa4ba;font-size:12px}.dash-native-sale{margin:18px 0 24px}.dash-native-sale>strong{display:block;font-size:38px;line-height:1.4;color:#fff;margin:6px 0;overflow-wrap:anywhere}.dash-native-sale strong small{font-size:20px}.dash-native-sale>small{color:#aaa4ba}.dash-native-ticket{margin-top:18px}@media(max-width:480px){.dash-native-sale>strong{font-size:30px}}
