/* MEIAI appearance controls and intentional dark palette. Media keeps its colours. */
html[data-theme="dark"]{color-scheme:dark;background:#252d38;color:#e1e5e7;
 --ink:#e1e5e7;--ink-2:#c9d1d5;--ink-3:#aab5be;--ink-4:#9faab3;--muted:#aab5be;
 --paper:#252d38;--surface:#2d3744;--surface-2:#333e4d;--surface-3:#3a4757;--cream:#303a48;--ivory:#2a3340;--app-bg:#252d38;
 --line:#485666;--line-2:#5b6979;--line-3:#738292;--blush:#3c3545;
 --accent:#8fc7cb;--accent-deep:#abd6d9;--accent-soft:#304952;
 --rose:#d39aaa;--rose-deep:#dfadba;--rose-soft:#493947;--aqua:#85bec7;--aqua-deep:#a0d1d6;--aqua-soft:#304954;--aqua-tint:#303e49;
 --identity-ink:#e1e5e7;--identity-secondary:#aab5be;--identity-soft-text:#b6bfc8;--identity-line:#485666;--identity-background:#252d38;
 --identity-pink:#d39aaa;--identity-pink-dark:#dfadba;--identity-pink-soft:#493947;--identity-aqua:#85bec7;--identity-aqua-dark:#a0d1d6;--identity-aqua-soft:#304954;
 --identity-gradient:linear-gradient(110deg,#b77d93,#5e99a2);--pf-pink:#d39aaa;--pf-aqua:#8fc7cb;--pf-line:#485666;--pf-wash:linear-gradient(115deg,#403744,#202731 48%,#30454e);
 --pm-nav-fill:linear-gradient(120deg,#4c3e52,#355360);--pm-nav-border:#687989;
 --ec-ink:#e1e5e7;--ec-secondary:#aab5be;--ec-teal:#8fc7cb;--ec-line:#485666;
 --ds-ground:#252d38;--ds-tonal:#313d4b;--ds-line:#485666;--ds-separator:#3c4a59;
 --wash:#202731;--meiai-action-fill:linear-gradient(110deg,#d2b7c6,#b4d5dc);--meiai-action-ink:#344b57;--meiai-action-border:#b3c5d1;
}
html[data-theme="dark"] body{background:#252d38;color:#e1e5e7}
.phone .appearance-section{padding:0;border:0;background:none}
.phone .appearance-description{font-size:12px;line-height:1.8;color:var(--ink-3,#727b7d);margin:0 0 14px}
.appearance-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;border:0;padding:0;margin:0;min-width:0}
.appearance-options legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.appearance-option{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;padding:10px 8px 9px;border:1px solid var(--line,#e6e9e8);border-radius:13px;background:var(--surface,#fff);cursor:pointer}
.appearance-option input{position:absolute;top:10px;right:9px;width:15px;height:15px;margin:0;accent-color:#508892;z-index:1}
.appearance-option:has(input:checked){border-color:var(--accent,#2b7880);box-shadow:inset 0 0 0 1px var(--accent,#2b7880)}
.appearance-option:has(input:focus-visible){outline:2px solid var(--accent,#2b7880);outline-offset:3px}
.appearance-option strong{color:var(--ink,#354245);font-size:12px;font-weight:500;text-align:center;line-height:1.5}
.appearance-option small{color:var(--ink-3,#727b7d);font-size:9px;text-align:center;line-height:1.5}
.appearance-swatch{position:relative;height:64px;overflow:hidden;border-radius:7px;background:#fafaf9;border:1px solid #e3e6e7;display:block}
.appearance-swatch:before{content:'';position:absolute;left:9px;top:13px;width:25px;height:5px;border-radius:3px;background:linear-gradient(110deg,#cb8ca0,#68aeb8)}
.appearance-swatch:after{content:'';position:absolute;left:9px;right:9px;top:27px;height:22px;border-radius:4px;background:#ebeef0;box-shadow:0 28px 0 #e7e5e9}
.appearance-swatch-dark{background:#252d38;border-color:#36414d}
.appearance-swatch-dark:after{background:#303945;box-shadow:0 28px 0 #343041}
.appearance-swatch-system{background:linear-gradient(90deg,#fafaf9 50%,#252d38 50%);border-color:#707a87}
.appearance-swatch-system:after{background:linear-gradient(90deg,#ebeef0 50%,#303945 50%);box-shadow:none}
.appearance-foot{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:13px}
.appearance-foot [data-appearance-status]{margin:0;color:var(--ink-3,#727b7d);font-size:10px;line-height:1.6}
.appearance-preview{font-size:11px;line-height:1.7;color:var(--accent,#2b7880);text-decoration:underline;text-underline-offset:4px;padding:5px 0}
html[data-theme="dark"] :is(.bh-wordmark,.ls-desktop-wordmark,.brand>img){filter:brightness(1.35) saturate(.75)}
html[data-theme="dark"] .phone .bl-logo-art{filter:brightness(0) invert(.82)}
html[data-theme="dark"] :is(input,textarea,select){caret-color:#b9dfe3}
html[data-theme="dark"] :is(input,textarea)::placeholder{color:#95a2ae}
html[data-theme="dark"] :is(button,a,input,textarea,select):focus-visible{outline-color:#9bccd2}
html[data-theme="dark"] .b7-buy-sheet[open]{background:transparent}
html[data-theme="dark"] .b7-buy-sheet[open] .b7-buy-product,html[data-theme="dark"] .b7-buy-footer{background:#303b49;color:#e1e5e7}
html[data-theme="dark"] .b7-buy-choice{background:#374453;color:#c9d1d9;border-color:#536575}
html[data-theme="dark"] .b7-buy-choice[aria-pressed=true]{background:#4b475c;border-color:#afcad4;color:#ebedf0;box-shadow:inset 0 0 0 .5px #afcad4}
html[data-theme="dark"] .b7-buy-add{background:#303b49;border-color:#98b6c2;color:#ccdee5}
html[data-theme="dark"] .b7-buy-now{background:linear-gradient(110deg,#d2b7c6,#b4d5dc);color:#344b57}
html[data-theme="dark"] .b7-added-card{background:#304944;border-color:#608379;color:#b2d9cd}
html[data-theme="dark"] .b7-added-bag{background:#38534f;color:#c5e0d8;border-color:#638079}
html[data-theme="dark"] body.single #home_video>.app-header .bh-wordmark,html[data-theme="dark"] .phone.rn-video-detail>.app-header .bh-wordmark{filter:brightness(0) invert(.93)}
/* Image viewers, camera and WATCH already use image-safe dark overlays. */
html[data-theme="dark"] :is(.hv-caption,.hv-social-rail,.hv-playback,.hv-stage,.hv-description,.hv-author,.rn-video-detail,.pg-viewer,.b7-gallery-purchase){color:#f0eef0}
html[data-theme="dark"] .phone .b7-gallery-select{background:linear-gradient(110deg,#d2b7c6,#b4d5dc);color:#344b57}
html[data-theme="dark"] :is(.meiai-tap-sheen,meiai-tap-sheen){opacity:.3}
@media(prefers-reduced-motion:reduce){.appearance-option{transition:none}}
