.owner-preview-badge{position:absolute;right:0;top:0;z-index:65;display:flex;align-items:center;gap:7px;padding:5px 7px;border:1px solid #87649c;border-radius:8px;background:#160f25ee;color:#d5b9ee;font:600 8px/1.2 Arial,sans-serif;letter-spacing:1px}.owner-preview-badge button{appearance:none;padding:3px 5px;background:#332044;border:1px solid #76568c;border-radius:4px;color:#eee2f9;font:600 9px Arial,sans-serif;cursor:pointer}.owner-preview-badge button:focus-visible{outline:2px solid #8deeff;outline-offset:3px}
/* Owner-only LCD palette. Never tint the shell, artwork, control faces or LEDs. */
html[data-owner-preview="true"]{color-scheme:dark;--paper:#07070d;--ink:#f0eaf7;--muted:#aca2b9;--green:#c6a4e8;--lime:#95d9dc;--line:#3d304b;--white:#14101c;--purple:#c6a4e8;--cyan:#95d9dc;--screen:#090810}
html[data-owner-preview="true"] #handheld-unit.browsing #screen-contents{background:#090810;color:var(--ink)}
html[data-owner-preview="true"] .browsing .screen-topline{background:#100d18;border-color:#44344f;color:#d8c8e4}
html[data-owner-preview="true"] .browsing .status-strip{background:#100d17;border-color:#372b43}
html[data-owner-preview="true"] #screen-ui .status-strip strong{color:#d9c7ed}
html[data-owner-preview="true"] #screen-ui .status-strip span{color:#b4a7c2}
html[data-owner-preview="true"] #screen-ui .screen-scroll{scrollbar-color:#665073 #090810}
html[data-owner-preview="true"] #screen-ui .monster-card{background:#15101d;border-color:#493653;box-shadow:none}
html[data-owner-preview="true"] #screen-ui .monster-card:hover{border-color:#9a7bad;box-shadow:none;transform:none}
html[data-owner-preview="true"] #screen-ui :is(.type-filters,.searchbox,.wallet-form,.table-wrap){background:#0e0b14;border-color:#493653;box-shadow:none}
html[data-owner-preview="true"] #screen-ui :is(select,.outline,.source-button,.viewer-return,.icon-button){background:#1b1424;border-color:#594365;color:#e9ddf2}
html[data-owner-preview="true"] #screen-ui .type-filters button.active{background:#3c284b;border-color:#86639b;color:#f2e6ff;box-shadow:none}
html[data-owner-preview="true"] #screen-ui .primary{background:#49305e;border-color:#88669f;color:#f6ecff;box-shadow:none}
html[data-owner-preview="true"] #screen-ui :is(th,.trainer-summary,.trainer-card,.owner-card,.detail-facts,.fact){background:#15101e;border-color:#493653;color:#d3c5df}
html[data-owner-preview="true"] #screen-ui td{border-color:#382b42}
html[data-owner-preview="true"] #screen-ui #detail-dialog{background:#0e0b15;border-color:#715284;color:#f0eaf7}
html[data-owner-preview="true"] #screen-ui .dialog-top{background:#100c18;border-color:#493653}
html[data-owner-preview="true"] #screen-ui input{color:#f0eaf7;accent-color:#bd98da}
html[data-owner-preview="true"] #screen-ui input::placeholder{color:#a69aaf}
/* Light transport starts at the real emitter and stays on clear material. */
.admin-refraction{pointer-events:none;forced-color-adjust:none;isolation:isolate}
.refraction-source .refraction-strength{opacity:var(--source-strength,1)}
.refraction-source[data-control-press="held"]{opacity:0}
.refraction-source[data-control-press^="pulse-"]{animation:led-blink-a .18s steps(1,end) both}
.refraction-source[data-control-press="pulse-b"]{animation-name:led-blink-b}
@media(prefers-reduced-motion:reduce){.refraction-source[data-control-press]{animation:none;opacity:1}}
/* Missy's personal palette is scoped to her authenticated profile only. */
html[data-admin-profile="owner"] :is(#haptic-toggle,#device-power){--led-color:#91e4ef}
html[data-admin-profile="owner"] #haptic-toggle[aria-pressed="false"],html[data-admin-profile="owner"] #device-power[aria-pressed="true"]{--led-color:#ed9670}
html[data-admin-profile="owner"] #layout-mode[data-mode="auto"]{--led-color:#91e4ef}
html[data-admin-profile="owner"] #layout-mode[data-mode="desktop"]{--led-color:#e2c26a}
html[data-admin-profile="owner"] #layout-mode[data-mode="mobile"]{--led-color:#e77677}
html[data-admin-profile="owner"] :is(#music-on,#sfx-on) stop:nth-child(1){stop-color:#fff0ff}
html[data-admin-profile="owner"] :is(#music-on,#sfx-on) stop:nth-child(2){stop-color:#e7c1ff}
html[data-admin-profile="owner"] :is(#music-on,#sfx-on) stop:nth-child(3){stop-color:#bf82ff}
html[data-admin-profile="owner"] :is(#music-on,#sfx-on) stop:nth-child(4){stop-color:#67318d}
html[data-admin-profile="owner"] :is(#music-off,#sfx-off) stop:nth-child(1){stop-color:#ffd4eb}
html[data-admin-profile="owner"] :is(#music-off,#sfx-off) stop:nth-child(2){stop-color:#f486bd}
html[data-admin-profile="owner"] :is(#music-off,#sfx-off) stop:nth-child(3){stop-color:#78355b}
html[data-admin-profile="missy"] #haptic-toggle{--led-color:#9fe9ff}
html[data-admin-profile="missy"] #haptic-toggle[aria-pressed="false"]{--led-color:#edac88}
html[data-admin-profile="missy"] #device-power{--led-color:#c291ff}
html[data-admin-profile="missy"] #device-power[aria-pressed="true"]{--led-color:#ff91c7}
html[data-admin-profile="missy"] #layout-mode[data-mode="auto"]{--led-color:#9fe9ff}
html[data-admin-profile="missy"] #layout-mode[data-mode="desktop"]{--led-color:#ffe2a3}
html[data-admin-profile="missy"] #layout-mode[data-mode="mobile"]{--led-color:#ff9da9}
html[data-admin-profile="missy"] :is(#music-on,#sfx-on) stop:nth-child(1){stop-color:#f6fcff}
html[data-admin-profile="missy"] :is(#music-on,#sfx-on) stop:nth-child(2){stop-color:#d4f4ff}
html[data-admin-profile="missy"] :is(#music-on,#sfx-on) stop:nth-child(3){stop-color:#9fe9ff}
html[data-admin-profile="missy"] :is(#music-on,#sfx-on) stop:nth-child(4){stop-color:#4b9ab7}
html[data-admin-profile="missy"] :is(#music-off,#sfx-off) stop:nth-child(1){stop-color:#ffe4d2}
html[data-admin-profile="missy"] :is(#music-off,#sfx-off) stop:nth-child(2){stop-color:#edac88}
html[data-admin-profile="missy"] :is(#music-off,#sfx-off) stop:nth-child(3){stop-color:#935452}

html[data-admin-profile="owner"] #device-back{--cap-light:#8663af;--cap-mid:#493163}
html[data-admin-profile="owner"] #featured-inspect{--cap-light:#91d5dc;--cap-mid:#306b81}
html[data-admin-profile="missy"] #device-back{--cap-light:#d5b8ea;--cap-mid:#80639e}
html[data-admin-profile="missy"] #featured-inspect{--cap-light:#bcefff;--cap-mid:#518ba7}
