@layer splot-interface {
/* Splot interface palette. Artwork, product mockups, logos, canvases and payment-provider widgets retain their own colors.
   Surfaces: page > card > raised; purple: actions/links; semantic colors: status text only.
   Add new interface colors here rather than defining a page-specific palette. */
:root {
 --ui-page:#f5f5f5!important; --ui-surface:#fff!important; --ui-raised:#f0f0f0!important; --ui-hover:#e8e8e8!important;
 --ui-text:#222!important; --ui-muted:#606060!important; --ui-border:#d2d2d2!important; --ui-control-border:#828282!important;
 --ui-primary:#7950bd!important; --ui-primary-hover:#6740a4!important; --ui-on-primary:#fff!important;
 --ui-link:#633a9e!important; --ui-focus:#7950bd!important; --ui-success:#186146!important; --ui-warning:#805800!important; --ui-error:#a12d2d!important;
 color-scheme:light;
}
html.king-night {
 --ui-page:#111!important; --ui-surface:#1b1b1b!important; --ui-raised:#242424!important; --ui-hover:#2d2d2d!important;
 --ui-text:#f5f5f5!important; --ui-muted:#b8b8b8!important; --ui-border:#3c3c3c!important; --ui-control-border:#797979!important;
 --ui-link:#c6a7f4!important; --ui-focus:#c6a7f4!important; --ui-success:#91d5b6!important; --ui-warning:#edc16a!important; --ui-error:#ffaaa6!important;
 color-scheme:dark;
}
html body.splot-design-system {background:var(--ui-page)!important;color:var(--ui-text)!important;}
html.king-night body.splot-design-system {background:var(--ui-page)!important;color:var(--ui-text)!important;}
body.splot-design-system a {color:var(--ui-link);}
body.splot-design-system :where(a,button,input,select,textarea,summary,[tabindex]):focus-visible {outline:2px solid var(--ui-focus)!important;outline-offset:3px;}
body.splot-design-system :where(a,button,input,select,textarea) {accent-color:var(--ui-primary);}
/* Bridge older components to the same palette, including their hover states. */
body.splot-design-system.splot-customer-orders {
 --sco-bg:var(--ui-surface)!important; --sco-fg:var(--ui-text)!important; --sco-muted:var(--ui-muted)!important;
 --sco-line:var(--ui-border)!important; --sco-hover:var(--ui-hover)!important; --sco-link:var(--ui-link)!important;
 --sco-soft:var(--ui-raised)!important; --sco-badge:var(--ui-raised)!important; --sco-badge-fg:var(--ui-text)!important;
}
body.splot-design-system :where(.smo-profile-setup,.smo-setup-banner) {
 --smo-bg:var(--ui-surface)!important; --smo-fg:var(--ui-text)!important; --smo-muted:var(--ui-muted)!important;
 --smo-line:var(--ui-border)!important; --smo-accent:var(--ui-focus)!important;
}
body.splot-design-system .splot-header-refresh {--sh-bg:var(--ui-surface)!important;--sh-border:var(--ui-border)!important;--sh-text:var(--ui-text)!important;--sh-muted:var(--ui-muted)!important;}
body.splot-design-system.splot-merch-product {--merch-surface:var(--ui-surface)!important;--merch-text:var(--ui-text)!important;--merch-muted:var(--ui-muted)!important;--merch-border:var(--ui-border)!important;}
body.splot-design-system #primary:where(.splot-post-page,.imagetemplate-v1) {--sp-surface:var(--ui-surface)!important;--sp-inset:var(--ui-page)!important;--sp-line:var(--ui-border)!important;--sp-text:var(--ui-text)!important;--sp-muted:var(--ui-muted)!important;--sp-accent:var(--ui-link)!important;}
body.splot-design-system #primary.splot-about-v2 {--sa-text:var(--ui-text)!important;--sa-muted:var(--ui-muted)!important;--sa-purple:var(--ui-link)!important;--sa-line:var(--ui-border)!important;}
/* Public cards and panels. Use solid fills, not decorative gradients. */
body.splot-design-system :where(.site-main>.page,.page-site-main,.king-simple-post,.king-modal-form,.comments-area,.comment-respond,.post-author,.post-nav-np,.splot-update-card,.splot-updates-hero,.sa-network,.splot-feed-quest,.splot-feed-cta,.splot-artist-card,.splot-batch-card article,.splot-market-group article,.king-cart-content,.king-nav-dropdown,.king-submit-drop,.user-header-menu,.king-notify-menu,.splot-mobile-tools,.splot-order-tracking,.woocommerce-customer-details address,.splot-product-summary-wrapper,#splot-merch-search,#primary.splot-login-page) {
 background:var(--ui-surface)!important;color:var(--ui-text)!important;border-color:var(--ui-border)!important;box-shadow:none!important;
}
body.splot-design-system :where(.splot-updates-hero,.splot-update-card,.splot-order-tracking,.woocommerce-customer-details address) {border:1px solid var(--ui-border);}
body.splot-design-system :where(.splot-order-tracking,.woocommerce-customer-details address) {border-radius:12px;padding:20px;}
body.splot-design-system :where(.splot-update-card,.splot-updates-hero,.splot-artist-card,#primary.splot-login-page) :where(h1,h2,h3,h4,h5,h6) {color:var(--ui-text)!important;}
body.splot-design-system :where(.splot-update-card p,.splot-updates-hero p,.splot-artist-bio,.splot-artist-note,.splot-artist-identity span,.splot-artist-stats span,.splot-artist-works span,.splot-login-page p,.splot-login-page label) {color:var(--ui-muted)!important;}
body.splot-design-system :where(.splot-update-date,.splot-updates-kicker,.splot-artist-stats strong) {color:var(--ui-link)!important;}
body.splot-design-system #primary.splot-post-page #main>:where(.hentry,.imagetemplatev2,.splot-post-media,.splot-artist-card) {background:var(--ui-surface)!important;border-color:var(--ui-border)!important;color:var(--ui-text)!important;}
body.splot-design-system #ShowNFT :where(.splot-market-group article,.king-post-item article),body.splot-design-system #ShowMerch li.product {background:var(--ui-surface)!important;border-color:var(--ui-border)!important;color:var(--ui-text)!important;}
body.splot-design-system #ShowNFT :where(.article-meta,.entry-meta),body.splot-design-system #ShowMerch :where(.king-shop-meta,.king-shop-addcart) {background:transparent!important;color:var(--ui-text)!important;}
body.splot-design-system #ShowNFT :where(h2,h3,.entry-title a),body.splot-design-system #ShowMerch :where(.woocommerce-loop-product__title,.price,.woocommerce-Price-amount) {color:var(--ui-text)!important;}
/* Global navigation and chrome. */
body.splot-design-system :where(#masthead,.king-leftmenu,#colophon.splot-footer,.splot-header-refresh .splot-discovery) {background:var(--ui-surface)!important;color:var(--ui-text)!important;border-color:var(--ui-border)!important;}
body.splot-design-system .splot-header-refresh :where(.splot-header-brand,.splot-primary-nav a,.king-leftmenu a,.splot-drawer-icon,.splot-guest-signin,.splot-account-menu a) {color:var(--ui-text)!important;}
body.splot-design-system .splot-header-refresh :where(.splot-primary-nav a:hover,.king-leftmenu a:hover,.splot-account-menu a:hover) {color:var(--ui-link)!important;}
body.splot-design-system .splot-header-refresh .king-header,body.splot-design-system #colophon.splot-footer :where(.fatfooter,.footer-info) {background:transparent!important;border-color:var(--ui-border)!important;}
body.splot-design-system #colophon.splot-footer :where(p,.site-info) {color:var(--ui-muted)!important;}
body.splot-design-system #colophon.splot-footer :where(a,.splot-footer-wordmark) {color:var(--ui-text)!important;}
body.splot-design-system .splot-discovery::before {display:none;}
body.splot-design-system :where(.splot-discovery-price,.splot-signup-strip.king-headerstrip,#notifymenu .splot-notify-unread,.smo-notice-symbol,.smo-readiness) {background:var(--ui-raised)!important;color:var(--ui-text)!important;border-color:var(--ui-border)!important;}
body.splot-design-system .splot-discovery-progress {background:var(--ui-primary)!important;}
body.splot-design-system #notifymenu :where(a,.splot-notify-message,.smo-payout-notice>a) {color:var(--ui-text)!important;}
body.splot-design-system :where(#notifymenu p,.splot-menu-title,.splot-discovery-label,.userCreditHeader) {color:var(--ui-muted)!important;}
/* Profile fallback only: keep user-uploaded cover images intact. */
body.splot-design-system .king-profile-top.splot-profile--glow,body.splot-design-system .king-profile-top.splot-profile--glow>.profile-cover {background:var(--ui-surface)!important;box-shadow:inset 0 0 0 1px var(--ui-border)!important;}
body.splot-design-system .king-profile-top :where(.profile-stats,.king-profile-badges,.splot-profile-nav) {background:var(--ui-raised)!important;box-shadow:none!important;border-color:var(--ui-border)!important;}
body.splot-design-system .king-profile-top :where(.king-profile-info,.profile-stats-num,.profile-stats-num strong,.king-profile-name,.splot-profile-nav a) {color:var(--ui-text)!important;}
body.splot-design-system .king-profile-top .king-profile-avatar img {border-color:var(--ui-border)!important;}
body.splot-design-system :where(.splot-profile-filters,.splot-listing-tabs,.page-top-header.hot) {background:var(--ui-page)!important;color:var(--ui-text)!important;}
body.splot-design-system :where(.splot-profile-filters,.splot-listing-tabs) a {color:var(--ui-muted)!important;}
body.splot-design-system :where(.splot-profile-filters,.splot-listing-tabs) :where(a.active,a:hover) {color:var(--ui-link)!important;}
/* Forms: native site fields only. Do not recolor provider-hosted fields, editors or color controls. */
body.splot-design-system :where(.smo-setup-fields input,.king-form-group .bpinput,.king-form-group .bptextarea,.splot-login-page #login-form .bpinput,#splot-merch-query,#ShowNFT #user-search-input,#ShowNFT select,.splot-feed-sort select,.splot-market-view select,.woocommerce input.input-text,.woocommerce textarea.input-text,.woocommerce .quantity .qty,.woocommerce .select2-selection,.splot-merch-product .summary .quantity input,.splot-merch-product .splot-size-btn,.splot-merch-product .burn-container select,.single-post #comments #comment,#sharemodal #splot-share-url) {
 background-color:var(--ui-surface)!important;color:var(--ui-text)!important;border-color:var(--ui-control-border)!important;box-shadow:none;
}
body.splot-design-system :where(input,textarea)::placeholder {color:var(--ui-muted)!important;opacity:1;}
body.splot-design-system .woocommerce :where(label,.form-row label,.select2-selection__rendered) {color:var(--ui-text)!important;}
body.splot-design-system :where(.splot-merch-product .splot-size-btn.active,.splot-header-refresh .king-leftmenu a[aria-current="page"]) {background:var(--ui-raised)!important;color:var(--ui-link)!important;border-color:var(--ui-primary)!important;}
/* Primary actions: one purple and one hover value. */
body.splot-design-system :where(a.button,button.button,input[type="submit"],.king-submit-button,.king-submit-open,.splot-guest-signup,.sa-button,.splot-feed-sort button,#splot-merch-search button,#splot-merch-more,.splot-merch-open,.splot-profile-merch .merchButton,#ShowMerch .splot-merch-open,.splot-share-native,.smo-profile-setup .button,.smo-setup-banner .button,.woocommerce a.checkout-button,.woocommerce button.alt):not(:where(.remove,.cancel,.delete,.disabled,:disabled,[aria-disabled="true"])) {
 background:var(--ui-primary)!important;color:var(--ui-on-primary)!important;border-color:var(--ui-primary)!important;box-shadow:none!important;text-decoration:none;
}
body.splot-design-system :where(a.button,button.button,input[type="submit"],.king-submit-button,.king-submit-open,.splot-guest-signup,.sa-button,.splot-feed-sort button,#splot-merch-search button,#splot-merch-more,.splot-merch-open,.splot-share-native,.smo-profile-setup .button,.smo-setup-banner .button,.woocommerce a.checkout-button,.woocommerce button.alt):not(:where(.remove,.cancel,.delete,.disabled,:disabled,[aria-disabled="true"])):hover {background:var(--ui-primary-hover)!important;border-color:var(--ui-primary-hover)!important;color:var(--ui-on-primary)!important;}
/* Secondary actions: quiet neutral controls. Back is navigation, not a primary CTA. */
body.splot-design-system :where(.splot-customer-orders a.button[href$="/my-orders/"],.splot-shopping-actions a.button,.splot-feed-back,.splot-feed-more button,.sa-button--outline,.splot-share-copy-button,.splot-details-copy,.splot-artist-links a,.splot-header-refresh #searchv2-button,.splot-header-refresh .king-head-toggle,.splot-header-refresh .king-leftmenu-close,.splot-discovery-controls button,#notifymenu button,#parent-detail-modal .splot-details-close,#sharemodal .king-modal-close,.single-post #comments .king-gif-toggle,.single-post #comments .king-emj-toggle) {
 background:var(--ui-surface)!important;color:var(--ui-text)!important;border:1px solid var(--ui-control-border)!important;box-shadow:none!important;text-decoration:none;
}
body.splot-design-system :where(.splot-customer-orders a.button[href$="/my-orders/"],.splot-shopping-actions a.button,.splot-feed-back,.splot-feed-more button,.sa-button--outline,.splot-share-copy-button,.splot-details-copy,.splot-artist-links a,.splot-header-refresh #searchv2-button,.splot-header-refresh .king-head-toggle,.splot-header-refresh .king-leftmenu-close,.splot-discovery-controls button,#notifymenu button,#parent-detail-modal .splot-details-close,#sharemodal .king-modal-close,.single-post #comments .king-gif-toggle,.single-post #comments .king-emj-toggle):hover {background:var(--ui-hover)!important;color:var(--ui-text)!important;border-color:var(--ui-control-border)!important;}
body.splot-design-system.splot-customer-orders a.button[href$="/my-orders/"] {min-height:44px;padding:11px 20px;border-radius:10px;display:inline-flex;align-items:center;gap:8px;}
body.splot-design-system.splot-customer-orders a.button[href$="/my-orders/"]::before {content:'←';font-size:18px;}
body.splot-design-system :where(button,input[type="submit"],a.button):where(:disabled,.disabled,[aria-disabled="true"]) {background:var(--ui-raised)!important;color:var(--ui-muted)!important;border-color:var(--ui-border)!important;opacity:1!important;cursor:not-allowed;}
/* Commerce tables and notices, retaining semantic status meaning. */
body.splot-design-system .woocommerce :where(table.shop_table,.woocommerce-checkout-review-order,.woocommerce-cart-form,.cart_totals) {background:var(--ui-surface)!important;color:var(--ui-text)!important;border-color:var(--ui-border)!important;}
body.splot-design-system .woocommerce table.shop_table :where(th,td) {background:var(--ui-surface)!important;color:var(--ui-text)!important;border-color:var(--ui-border)!important;}
body.splot-design-system .woocommerce table.shop_table thead th {background:var(--ui-raised)!important;color:var(--ui-muted)!important;}
body.splot-design-system .woocommerce table.shop_table tbody tr:where(:hover,:focus-within)>td {background:var(--ui-hover)!important;color:var(--ui-text)!important;}
body.splot-design-system .woocommerce table.shop_table a:not(.button) {color:var(--ui-link)!important;}
body.splot-design-system .woocommerce :where(.woocommerce-info,.woocommerce-message,.woocommerce-error) {background:var(--ui-raised)!important;color:var(--ui-text)!important;border-color:var(--ui-link)!important;}
body.splot-design-system .woocommerce .woocommerce-message {border-top-color:var(--ui-success)!important;}
body.splot-design-system .woocommerce .woocommerce-error {border-top-color:var(--ui-error)!important;}
body.splot-design-system :where(.sco-status) {background:var(--ui-raised)!important;color:var(--ui-text)!important;border:1px solid var(--ui-border);}
body.splot-design-system :where(.sco-status-shipped,.sco-status-completed,.sco-status-production,.smo-success) {color:var(--ui-success)!important;}
body.splot-design-system :where(.sco-status-attention,.sco-status-review,.sco-status-on-hold) {color:var(--ui-warning)!important;}
body.splot-design-system :where(.sco-status-failed,.sco-status-cancelled,.king-error) {color:var(--ui-error)!important;}
body.splot-design-system :where(#parent-detail-modal .modal-content,#sharemodal.splot-share .king-modal-form) {background:var(--ui-surface)!important;color:var(--ui-text)!important;border-color:var(--ui-border)!important;}
body.splot-design-system :where(#parent-detail-modal,#sharemodal) :where(h2,h3,dt,dd,p,summary,code) {color:var(--ui-text)!important;}
body.splot-design-system .king-night-box {background:var(--ui-raised)!important;color:var(--ui-text)!important;border:1px solid var(--ui-border);}
body.splot-design-system input.sds-theme-toggle.hide {display:block!important;position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);opacity:0;}
body.splot-design-system input.sds-theme-toggle:focus-visible+.king-night-box {outline:2px solid var(--ui-focus)!important;outline-offset:3px;}
@media(forced-colors:active) {body.splot-design-system :where(a,button,input,select,textarea,summary):focus-visible {outline-color:Highlight!important;}body.splot-design-system :where(.sco-status) {border-color:CanvasText;}}

/* High-specificity legacy commerce and comment selectors share the primary role too. */
body.splot-design-system.single-post #comments #submit,
body.splot-design-system.woocommerce-cart #primary .woocommerce :where(a.button,button.button):not(:disabled) {background:var(--ui-primary)!important;color:var(--ui-on-primary)!important;border-color:var(--ui-primary)!important;}
body.splot-design-system.single-post #comments #submit:hover,
body.splot-design-system.woocommerce-cart #primary .woocommerce :where(a.button,button.button):not(:disabled):hover {background:var(--ui-primary-hover)!important;border-color:var(--ui-primary-hover)!important;}
body.splot-design-system article.type-post .entry-image.king-postimg:has(>img):not([style*="background-image"]) {background:var(--ui-surface)!important;}

/* Homepage and discovery cards use the same surfaces as account pages. */
body.splot-design-system :where(.splot-home-strip__inner,.splot-home-feed-cta) {background:var(--ui-surface)!important;color:var(--ui-text)!important;border-color:var(--ui-border)!important;box-shadow:none!important;}
body.splot-design-system :where(.splot-home-strip__inner,.splot-home-feed-cta)::before,body.splot-design-system :where(.splot-home-strip__inner,.splot-home-feed-cta)::after {background:none!important;}
body.splot-design-system :where(.splot-home-strip__inner,.splot-home-feed-cta) :where(h1,h2,h3,strong) {color:var(--ui-text)!important;}
body.splot-design-system :where(.splot-home-strip__copy p,.splot-home-feed-cta p,.splot-home-feed-cta__eyebrow) {color:var(--ui-muted)!important;}
body.splot-design-system .splot-home-strip__action {background:var(--ui-raised)!important;color:var(--ui-text)!important;border-color:var(--ui-border)!important;}
body.splot-design-system .splot-home-strip__action:hover {background:var(--ui-hover)!important;border-color:var(--ui-control-border)!important;}
body.splot-design-system .splot-home-strip__action :where(strong,span,small) {color:var(--ui-text)!important;}
body.splot-design-system .splot-home-strip__icon {background:var(--ui-primary)!important;color:var(--ui-on-primary)!important;}
body.splot-design-system .splot-home-feed-cta__button {background:var(--ui-primary)!important;color:var(--ui-on-primary)!important;border-color:var(--ui-primary)!important;}
body.splot-design-system .splot-home-feed-cta__button:hover {background:var(--ui-primary-hover)!important;}
/* Over-art labels keep an opaque neutral scrim for contrast in either theme. */
body.splot-design-system :where(.splot-nft-provenance,.splot-batch-more,.splot-market-thumbs span) {background:rgba(17,17,17,.88)!important;color:#fff!important;}
body.splot-design-system .splot-nft-provenance :where(a,span,strong) {color:#fff!important;}
body.splot-design-system :where(.splot-batch-hero,.splot-batch-thumbs>a,.splot-market-hero,.splot-market-thumbs a) {background-color:var(--ui-raised)!important;}
body.splot-design-system :where(.splot-batch-heading,.splot-batch-card footer,.splot-market-group header,.splot-feed-more,.splot-batch-intro,.splot-feed-sort,#ShowNFT .splot-market-view) {color:var(--ui-muted)!important;}
body.splot-design-system :where(.splot-batch-heading>a,.splot-batch-heading>a>span,.splot-market-artist,.splot-batch-intro h2,.page-top-header .page-title,.splot-feed-sort label,#ShowNFT .splot-market-view label) {color:var(--ui-text)!important;}
body.splot-design-system :where(.splot-batch-card footer a,.splot-market-group footer a,#ShowNFT .splot-market-credit a) {color:var(--ui-link)!important;}
body.splot-design-system :where(.splot-feed-sort p,#ShowNFT .splot-market-view p,#ShowNFT .splot-market-credit>span) {color:var(--ui-muted)!important;}
body.splot-design-system .king-profile-top .profile-stats :where(span,strong,a),body.splot-design-system .king-profile-top .profile-stats {color:var(--ui-text)!important;}
body.splot-design-system .splot-header-refresh :where(.splot-header-cart,.splot-header-cart svg,.splot-discovery-item,.splot-discovery-title) {color:var(--ui-text)!important;}
body.splot-design-system .splot-header-refresh .splot-create-menu .king-submit-buttons a {background:var(--ui-raised)!important;color:var(--ui-text)!important;border-color:var(--ui-border)!important;}
body.splot-design-system .splot-header-refresh .splot-create-menu .king-submit-buttons a:hover {background:var(--ui-hover)!important;}
body.splot-design-system .splot-discovery-price {color:var(--ui-link)!important;}
body.splot-design-system .woocommerce :where(.woocommerce-message::before,.woocommerce-info::before) {color:var(--ui-success)!important;}
body.splot-design-system .woocommerce .woocommerce-error::before {color:var(--ui-error)!important;}

body.splot-design-system #colophon .splot-footer-wordmark span {color:var(--ui-link)!important;}
body.splot-design-system .king-profile-top .profile-stats i {color:var(--ui-text)!important;}
body.splot-design-system :where(.splot-order-tracking,.woocommerce-customer-details address) {box-sizing:border-box;}
body.splot-design-system.splot-merch-product :where(.summary .price,.summary .price span,.woocommerce-variation-price,.woocommerce-variation-price span,.king-single-shop) {color:var(--ui-text)!important;}
body.splot-design-system :where(#ShowNFT select,.splot-feed-sort select,.splot-market-view select,.woocommerce select) {appearance:auto!important;background-image:none!important;}

/* Keep the order container inside the viewport; reserve space for mobile product names. */
body.splot-design-system.splot-customer-orders #primary>.kflex.lr-padding {margin-inline:0!important;max-width:100%;box-sizing:border-box;}
@media(max-width:767px) {
 body.splot-design-system.splot-customer-orders .woocommerce-order-details .woocommerce-table--order-details {table-layout:fixed;}
 body.splot-design-system.splot-customer-orders .woocommerce-table--order-details .product-name {width:74%;}
 body.splot-design-system.splot-customer-orders .woocommerce-table--order-details .product-total {width:26%;}
 body.splot-design-system.splot-customer-orders .woocommerce-table--order-details tfoot td {overflow-wrap:anywhere;}
}

}
