/* Shared platform chrome only. Character art, authored prologues and selected chat palettes are not recolored. */
html[data-ui-theme="star-orbit"]{
 --so-bg:#130d17;--so-panel:#241522;--so-line:#ff77bb50;--so-accent:#ff8bc7;--so-ink:#fff4fa;--so-muted:#c3a7bc;--so-gold:#ffa2cf;
 --so-button:radial-gradient(ellipse at 100% 0,#ffb1da26,transparent 56%),linear-gradient(115deg,#812343,#a52b62 52%,#5c153d);
 --nr-bg:var(--so-bg);--nr-card:var(--so-panel);--nr-gold:var(--so-accent);--nr-text:var(--so-ink);--nr-muted:var(--so-muted);
 --background:19 13 23;--foreground:255 244 250;--primary:255 139 199;--primary-foreground:39 12 29;
 --heroui-primary:329 100% 77%;--heroui-primary-foreground:332 45% 10%;
 --heroui-primary-50:332 38% 12%;--heroui-primary-100:332 40% 18%;--heroui-primary-200:332 42% 27%;--heroui-primary-300:332 45% 40%;--heroui-primary-400:332 50% 60%;--heroui-primary-500:332 64% 82%;--heroui-primary-600:332 64% 85%;--heroui-primary-700:332 64% 89%;--heroui-primary-800:332 64% 92%;--heroui-primary-900:332 64% 96%;
 color-scheme:dark;
}
html[data-ui-theme="star-orbit"] body{
 --nr-gold:var(--so-accent);--nr-bg:var(--so-bg);--nr-card:var(--so-panel);--pp-gold:var(--so-accent);
 background-color:var(--so-bg);color:var(--so-ink);
}
html[data-ui-theme="star-orbit"] body:is([data-repair-page="profile"],[data-repair-page="settings"],[data-email-mode]){
 background:radial-gradient(ellipse at 15% 0,#924b6c16,transparent 42%),radial-gradient(ellipse at 95% 30%,#b9688e09,transparent 40%),var(--so-bg);
}
html[data-ui-theme="star-orbit"] body[data-repair-page="publicProfile"]{--pp-gold:var(--so-accent)}
html[data-ui-theme="star-orbit"] body[data-repair-page="settings"]{--st-bg:var(--so-bg);--st-card:var(--so-panel);--st-border:var(--so-line);--st-lilac:var(--so-accent)}

/* Primary buttons: cool neon pink, rose glass edges and a dark cherry base. */
html[data-ui-theme="star-orbit"] :is(.nr-gold,.gc-page button.gc-primary,.cc-actions button.cc-primary,.st-primary,.sf-primary.is-ready:not(:disabled),.sf-order-card .sf-order-actions .sf-primary,.pts-checkin>button,.lot-invite button,.lot-error a,.lot-error button,.pts-error a,.pts-error button,.pp-follow:not(.is-following),.pp-error a,.pp-error button,.an-next,.auth-card #email-submit,.ln-panel .ln-confirm,.st-page #st-logout){
 background:var(--so-button)!important;color:var(--so-ink)!important;border:1px solid #cd729c70!important;box-shadow:inset 0 1px 0 #f4c8dd26,0 6px 22px #9e376733!important;
}
html[data-ui-theme="star-orbit"] :is(.nr-gold,.gc-primary,.sf-primary,.pts-checkin>button,.lot-invite button,.an-next,.auth-card #email-submit,.ln-confirm,.st-page #st-logout):not(:disabled):hover{filter:brightness(1.1)}
html[data-ui-theme="star-orbit"] :is(.nr-gold,.sf-primary,.gc-primary,.ln-confirm,#email-submit,#st-logout):disabled{opacity:.45;cursor:not-allowed}
html[data-ui-theme="star-orbit"] :is(.nr-gold,.st-logout,.ln-confirm,#email-submit):focus-visible{outline:2px solid var(--so-accent)!important;outline-offset:4px}
html[data-ui-theme="star-orbit"] :is(.st-page,.nr-profile,.sf-page,.gc-page,.nr-character-create,.cl-dialog,.av-studio,.rm-editor,.ln-panel,.auth-card) :is(input[type="checkbox"],input[type="radio"]){accent-color:#de7daa}

/* Native and retained discovery navigation share the same orbit rail. */
html[data-ui-theme="star-orbit"] :is(#nr-bottom,nav[aria-label="主导航"],nav[aria-label="Primary navigation"],nav[aria-label="主導覽"]){
 background:radial-gradient(ellipse at 50% 0,#de78a829,transparent 62%),#201118eb!important;border-top:1px solid #d491b038!important;box-shadow:0 -9px 32px #1c051038;color:#c58ea8;
}
html[data-ui-theme="star-orbit"] :is(#nr-bottom,nav[aria-label="主导航"],nav[aria-label="Primary navigation"],nav[aria-label="主導覽"]):before{content:'';position:absolute;left:12%;right:12%;top:0;height:1px;background:linear-gradient(90deg,transparent,#ff4fae78,#ffb1da88,#ff4fae78,transparent);pointer-events:none}
html[data-ui-theme="star-orbit"] :is(#nr-bottom,nav[aria-label="主导航"],nav[aria-label="Primary navigation"],nav[aria-label="主導覽"]) a[aria-current="page"]{color:var(--so-accent)!important;filter:drop-shadow(0 0 8px #ff4fae59)}
html[data-ui-theme="star-orbit"] :is(#nr-bottom .nr-create,nav:is([aria-label="主导航"],[aria-label="Primary navigation"],[aria-label="主導覽"]) button:is([aria-label="创建"],[aria-label="Create"],[aria-label="建立"])){background:var(--so-button)!important;color:#fff4fa!important;border:1px solid #ff77bb88!important;box-shadow:0 3px 23px #ff4fae45,inset 0 1px 0 #ffd2e533!important}
html[data-ui-theme="star-orbit"] body[data-repair-page="settings"] #nr-bottom .nr-create{background:transparent!important;border:0!important;box-shadow:none!important}
html[data-ui-theme="star-orbit"] body[data-repair-page="settings"] #nr-bottom .nr-create:before{background:var(--so-button)!important;border:1px solid #cd729c88;box-shadow:0 3px 23px #c14c835c,inset 0 1px 0 #fad2e533!important}

/* Account and settings surfaces retain their existing controls and dimensions. */
html[data-ui-theme="star-orbit"] :is(.nr-profile,.st-page){background:transparent}
html[data-ui-theme="star-orbit"] .nr-wallet{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(140deg,#422231,#2e1822);border:1px solid var(--so-line);box-shadow:0 12px 34px #15040c26}
html[data-ui-theme="star-orbit"] .nr-wallet:before{content:'';position:absolute;z-index:-1;right:-80px;top:-130px;width:300px;height:300px;border:1px solid #db9eba3b;border-radius:50%;transform:rotate(-30deg) scaleY(.58);pointer-events:none}
html[data-ui-theme="star-orbit"] .nr-membership{background:radial-gradient(ellipse at 100% 0,#dd78a724,transparent 70%),linear-gradient(110deg,#632642,#8e3e63 58%,#412130)!important;border-bottom:1px solid #cd729c50;color:#feedf5}
html[data-ui-theme="star-orbit"] .nr-membership>span{background:#f1b1cf1a;border:1px solid #f9c4dd26}
html[data-ui-theme="star-orbit"] .nr-membership>button{background:#31122099!important;color:#fde2ef!important;border:1px solid #cd729c80!important}
html[data-ui-theme="star-orbit"] :is(.nr-quick-cards>button,.nr-quick-cards>a,.nr-service-list>a,.st-card){background:radial-gradient(ellipse at 100% 0,#c6779c15,transparent 65%),var(--so-panel)!important;border:1px solid #bc72953d!important}
html[data-ui-theme="star-orbit"] :is(.nr-quick-cards .nr-icon,.nr-service-list .nr-icon,.nr-creator-manage>span:first-child,.nr-avatar,.st-section-heading>svg){color:var(--so-accent)!important}
html[data-ui-theme="star-orbit"] .st-row:not(.st-delete-entry) .st-icon-tile{background:linear-gradient(135deg,#633148,#442332);border-color:#c780a160;color:#f8c5dd}
html[data-ui-theme="star-orbit"] .st-language select{background:#472535;border-color:#cb8eaa66;color:#fde0ee}
html[data-ui-theme="star-orbit"] .nr-selected{color:var(--so-accent)!important}

/* Embedded login is its own document, so this stylesheet is also loaded there. */
html[data-ui-theme="star-orbit"] body.auth-embedded{background:transparent!important}
html[data-ui-theme="star-orbit"] .front-auth-dialog{border:1px solid #d085a86b;box-shadow:0 24px 90px #12030aa8,0 0 34px #af4b7a26;background:#2e1621}
html[data-ui-theme="star-orbit"] .front-auth-dialog::backdrop{background:#1d0711c9;backdrop-filter:blur(6px)}
html[data-ui-theme="star-orbit"] :is(.auth-card,.auth-embedded .auth-card){isolation:isolate;background:radial-gradient(ellipse at 100% 0,#cc6d9915,transparent 55%),linear-gradient(155deg,#472434f5,#2a131efa);border-color:#d085a870;box-shadow:0 20px 70px #12030a66,inset 0 1px 0 #fddfed0e}
html[data-ui-theme="star-orbit"] .auth-embedded .auth-card{box-shadow:inset 0 1px 0 #fddfed0e}
html[data-ui-theme="star-orbit"] .auth-card:before{content:'';position:absolute;z-index:-1;right:-62px;top:-52px;width:235px;height:235px;border:1px solid #ebabc930;border-radius:50%;transform:rotate(-32deg) scaleY(.55);pointer-events:none}
html[data-ui-theme="star-orbit"] .auth-card:after{content:'';position:absolute;z-index:-1;top:22px;left:19px;width:3px;height:3px;border-radius:50%;background:#d487ab88;box-shadow:190px 30px 0 #e4a1c055,270px 110px 0 #d487ab55;pointer-events:none}
html[data-ui-theme="star-orbit"] .hello-mark{background:linear-gradient(110deg,#a1507680,transparent);color:#fcc1dd}
html[data-ui-theme="star-orbit"] .auth-tabs a[aria-current]{background:var(--so-button);border:1px solid #ce97b155;box-shadow:inset 0 1px 0 #f4b1d01a;color:#fff}
html[data-ui-theme="star-orbit"] .auth-tabs a:not([aria-current]):hover{background:#954a6d4d}
html[data-ui-theme="star-orbit"] .auth-field{background:#c285a115;border-color:#e1a0be20}
html[data-ui-theme="star-orbit"] .auth-field:focus-within{background:#c285a122;border-color:#ee9cc2;box-shadow:0 0 0 2px #c868951c}
html[data-ui-theme="star-orbit"] :is(.auth-consent button,.auth-consent strong,.auth-reset-back,.ln-panel .ln-consent button){color:#fab0d3}
html[data-ui-theme="star-orbit"] .ln-brand{background:radial-gradient(ellipse at 100% 0,#e176a82a,transparent 70%),linear-gradient(145deg,#af547e,#74254a 65%,#45192e);border-color:#cd729c70;box-shadow:inset 0 1px 0 #fddceb26,0 8px 22px #21041244}
html[data-ui-theme="star-orbit"] :is(.auth-card .auth-consent input[type="checkbox"],.ln-panel input.auth-round-check):checked{background:#b14b7b;border-color:#e689b4}

/* Secondary platform accents (not authored story content or safety statuses). */
html[data-ui-theme="star-orbit"] :is(.gc-page a,.gc-badge,.cc-tag-toggle,.cb-editor button,.cb-example-map dt,.cb-preview-caption,.nt-head button,.nt-symbol,.nt-unread,.an-eyebrow,.oi-head a,.oi-avatar,.oi-bubble strong,.pts-balance button,.pts-actions>a>i,.pts-ledger-list b,.lot-invite>div>span,.lot-invite p b,.legal-brand,.legal-kicker,.legal-copy h2,.legal-list-item span,.legal-error a,.sf-identity a,.sf-wallet>p,.sf-tier-tabs button em,.sf-step-title span,.sf-checkout a,.sf-rules a,.sf-checkout .sf-inline-refresh,.sf-membership-entry,.sf-order-state,.sf-plan .sf-save,.sf-comparison .is-selected,.sf-plan:has(input:checked):after,.sf-coin-pack i,.pay-product b,.pay-products .pay-price,.pay-total>strong,.pay-product-top i,.nr-shop-price,.mc-payment-summary>b,.mc-payment-terms a,.mc-benefits h2,.mc-benefits header span,.mc-benefits article strong,.mc-benefits i){color:var(--so-accent)!important}
html[data-ui-theme="star-orbit"] :is(.gc-tabs a[aria-current],.gc-pick:has(input:checked),.pay-product:has(input:checked),.pay-method-card:has(input:checked),.sf-coin-pack:has(input:checked),.sf-plan:has(input:checked),.sf-methods label:has(input:checked),.sf-tier-tabs button[aria-pressed=true],.mc-card:has(input:checked),.av-result[aria-pressed=true]){border-color:#de84ae!important;background-color:#d671a014!important;box-shadow:inset 0 0 0 1px #de84ae40!important}
html[data-ui-theme="star-orbit"] :is(.gc-tabs a[aria-current],.pay-tabs a[aria-current],.nr-income-details nav button[aria-current=page]){color:var(--so-accent)!important;border-bottom-color:var(--so-accent)}
html[data-ui-theme="star-orbit"] :is(.nr-income-details #nr-income-panel>p b,.nr-income-history>p b,.legal-account:hover,.legal-back:hover,.legal-document-footer a:hover,.nt-empty>span,.pay-eyebrow){color:var(--so-accent)!important}
html[data-ui-theme="star-orbit"] :is(.sf-coin-pack mark,.sf-methods label:has(input:checked) b,.sf-tier-tabs button[aria-pressed=true]:after,.pts-days>span.done i){background:#db84ad!important;color:#2a0f1c!important;border-color:#ea9cc0!important}
html[data-ui-theme="star-orbit"] :is(.sf-redeem button,.sf-ledger-dialog button){background:var(--so-button);color:#feeaf3;border:1px solid #de84ae55}
html[data-ui-theme="star-orbit"] :is(.sf-page,.sf-membership,.mc-page){background:radial-gradient(ellipse at 15% 0,#c8769c1a,transparent 44%),var(--so-bg)!important}
html[data-ui-theme="star-orbit"] :is(.sf-rights h2,.sf-plan .sf-save,.sf-comparison .is-selected,.sf-membership-entry){background-color:#d671a010;border-color:#de84ae44}
html[data-ui-theme="star-orbit"] .mc-page .mc-card.mc-river{--card-accent:#e19bbc;--card-rgb:247,143,191}
html[data-ui-theme="star-orbit"] .mc-river .mc-card-main{background:radial-gradient(ellipse at 100% 0,#cd729c24,transparent 70%),linear-gradient(145deg,#834260,#421e2f)!important;color:#feedf5}
html[data-ui-theme="star-orbit"] .mc-benefits i{background:#de84ae14;border-color:#de84ae66}
html[data-ui-theme="star-orbit"] .lot-wheel{border-color:#c7769c;box-shadow:0 0 0 7px #411f2f,0 0 0 10px #b96c9055,inset 0 0 20px #0005}
html[data-ui-theme="star-orbit"] .lot-wheel-button{background:var(--so-button)!important;border-color:#db8fb2!important;color:#fef1f7!important;box-shadow:0 0 0 7px #4f2539,0 10px 20px #0007}
html[data-ui-theme="star-orbit"] .lot-pointer{border-top-color:#e79bbe}
html[data-ui-theme="star-orbit"] .lot-segment i{color:#f5b4d2;border-color:#dd8db2}
html[data-ui-theme="star-orbit"] .cc-steps button span{background:#3d1f2d;color:#d29eb6}
html[data-ui-theme="star-orbit"] .cc-steps i{background:#884665}
html[data-ui-theme="star-orbit"] .cc-steps :is(li.active,li.done) button span{background:#632f47;color:#fabcd9}
html[data-ui-theme="star-orbit"] .cc-language button[aria-pressed=true]{border-color:#e496ba;background:#d987ad18;color:#f5b1d1}
html[data-ui-theme="star-orbit"] .nr-character-create #cc-avatar-choose{color:var(--so-accent)}
html[data-ui-theme="star-orbit"] :is(.av-studio,.av-picker,.cc-tag-field,.cb-editor,.pr-studio-tools) :is(button,summary):focus-visible{outline-color:var(--so-accent)!important}
html[data-ui-theme="star-orbit"] .jp-home{border-color:#de84ae55}
html[data-ui-theme="star-orbit"] .jp-home>summary{color:#f2bdd6}
html[data-ui-theme="star-orbit"] .jp-home button{color:#f9d6e6}
html[data-ui-theme="star-orbit"] .jp-growth progress{accent-color:#de8eb3}
html[data-ui-theme="star-orbit"] .sc-shell:not([data-chat-palette]) #sc-send{background:var(--so-button);color:#feedf5;border:1px solid #cd729c66}
html[data-ui-theme="star-orbit"] .sc-shell:not([data-chat-palette]) .sc-scene{border-left-color:#e192b7}
/* Workshop artwork is platform decoration, not user-uploaded imagery. */
html[data-ui-theme="star-orbit"] :is(.cw-hero h2 span,.cw-badge,.cw-quick-arrow,.cw-art-back b,.cw-library-icon){color:var(--so-accent)}
html[data-ui-theme="star-orbit"] .cw-hero{background:radial-gradient(ellipse at 90% 50%,#ff4fae1c,transparent 63%),radial-gradient(ellipse at 0 0,#ff8bc71a,transparent 63%),#20131f;border-color:var(--so-line)}
html[data-ui-theme="star-orbit"] .cw-orbit{border-color:#ff77bb35}
html[data-ui-theme="star-orbit"] .cw-star{background:#ffa2cf;box-shadow:0 0 17px #ff4fae80}
html[data-ui-theme="star-orbit"] :is(.cw-ready i,.cw-wave i){background:#ff8bc7;box-shadow:0 0 12px #ff4fae55}
html[data-ui-theme="star-orbit"] .cw-quick{background:linear-gradient(115deg,#ff4fae18,#551b3a30 75%),#241522;border-color:#ff77bb70}
html[data-ui-theme="star-orbit"] .cw-quick h3{color:#ffe1f0}
html[data-ui-theme="star-orbit"] .cw-quick .cw-entry-icon{background:#ff4fae16;border-color:#ff77bb55;color:#ff8bc7}
html[data-ui-theme="star-orbit"] .cw-workshop a:focus-visible{outline-color:var(--so-accent)}
/* Brand decoration in the deletion dialog changes; destructive controls/warnings do not. */
html[data-ui-theme="star-orbit"] :is(.rc-confirm .rc-confirm-eyebrow,.rc-confirm-panel:after){color:var(--so-accent)}
@media(prefers-reduced-motion:reduce){html[data-ui-theme="star-orbit"] :is(.nr-gold,.st-logout,.auth-tabs a,.auth-consent input,.ln-panel input){transition:none!important}}
