/* Backgrounds are local images; HUD geometry remains V10.2. */
body[data-theme=oasis]{--scene:url('oasis-scene.png');--accent:#edc480;--accent2:#94c797;--bg:#171e18;--panel:#232b22;--line:#d4c18a40;--hero1:#44432a;--hero2:#304935;--hero3:#131e18;--scene-shade:#07140b22}
body[data-theme=crimson]{--scene:url('crimson-scene.png');--accent:#f59e86;--accent2:#e8c39a;--bg:#231717;--panel:#302222;--line:#edab8240;--hero1:#56302c;--hero2:#45332a;--hero3:#1e1415;--scene-shade:#1c080822}
body[data-theme=moody]{--scene:url('moody-scene.png');--accent:#efce88;--accent2:#8dbbd3;--bg:#0d1c28;--panel:#142b39;--line:#8fbbcf44;--hero1:#193b50;--hero2:#263748;--hero3:#091722;--scene-shade:#03111b18}
body[data-theme=afterglow]{--scene:url('afterglow-scene.png');--accent:#f3b4cb;--accent2:#92d4df;--bg:#201b30;--panel:#2a2538;--line:#e8b3db40;--hero1:#55405a;--hero2:#343f58;--hero3:#181825;--scene-shade:#15102122}
.theme-oasis i{background:url('oasis-scene.png') center/cover}.theme-crimson i{background:url('crimson-scene.png') center/cover}.theme-moody i{background:url('moody-scene.png') center/cover}.theme-afterglow i{background:url('afterglow-scene.png') center/cover}
body:is([data-theme=oasis],[data-theme=crimson],[data-theme=moody],[data-theme=afterglow]) .new-vault-tile{background:color-mix(in srgb,var(--panel) 88%,transparent);border-color:color-mix(in srgb,var(--accent) 50%,transparent);color:#f5f1e8}
.vault-content>.search-box>label{text-shadow:0 1px 4px #000,0 0 8px #000}
body:is([data-theme=oasis],[data-theme=crimson],[data-theme=moody],[data-theme=afterglow]){--surface101:color-mix(in srgb,var(--panel) 92%,#101516);--edge101:color-mix(in srgb,var(--accent) 28%,transparent)}
body:is([data-theme=oasis],[data-theme=crimson],[data-theme=moody],[data-theme=afterglow]) :is(.deck-panel,.album-section,.vault-header,.topbar){background:color-mix(in srgb,var(--panel) 93%,transparent)!important;border-color:var(--edge101)}
.matrix-mark{width:26px;height:21px;display:inline-block;vertical-align:middle;flex-shrink:0;fill:var(--accent)}
.matrix-mark .matrix-center{fill:color-mix(in srgb,var(--accent) 65%,white)}.matrix-mark .matrix-neighbors{fill:var(--accent);opacity:.78}.matrix-mark .matrix-corners{fill:var(--accent);opacity:.3}
.album-matrix b{display:flex;gap:8px;align-items:center;justify-content:center}.tile-action .matrix-mark{width:24px;height:20px;stroke:none}.mode-icon .matrix-mark{width:150px;height:117px;transform:none}.mode-card.matrix .mode-icon{opacity:.32;transform:none}
.album-card .card-preview img{object-fit:cover}
/* This switch controls all sleeve sheen on cards, not identity borders. */
body[data-overlay=off] .album-card::after{content:none!important}
body[data-overlay=on] .album-card.super-tile::after{content:'';position:absolute;inset:0 0 49px;z-index:3;pointer-events:none;opacity:.72;mix-blend-mode:screen;background:linear-gradient(118deg,transparent 5%,#79e6ff30 22%,#f2a1e754 39%,#ffdf8460 48%,#93ffd735 62%,transparent 79%);background-size:220% 100%;background-position:0 0;transition:background-position .9s}
body[data-overlay=on] .album-card.super-tile:is(:hover,:focus-within,.touch-lit)::after{background-position:100% 0}
.album-card.super-tile{border:2px solid color-mix(in srgb,var(--accent) 55%,#dab2f8);box-shadow:0 0 0 1px #d2afe640,0 6px 18px #0006}
body[data-overlay=on] .super-tile .tile-number{background:linear-gradient(130deg,#c5f3e9,#e5b9e3,#fae6ac);color:#252631}
body[data-overlay=off] .super-tile .tile-number{background:var(--panel);color:var(--accent)}
.album-card.preview-text .card-preview{background:linear-gradient(90deg,transparent 23px,#bf6b6340 23px 24px,transparent 24px),repeating-linear-gradient(0deg,transparent 0 25px,#687a9526 25px 26px),linear-gradient(135deg,#f4e9cf,#ddd1b7);box-shadow:inset 0 0 25px #a8874330;filter:brightness(.9)}
.album-card.preview-text .thumb-fallback{display:block;padding:39px 16px 12px 32px}
.album-card.preview-text .text-preview{display:block;padding:0;font:15px/26px Georgia,serif;color:#38352f;text-shadow:none}
.album-card.preview-text .card-preview:before{content:'';position:absolute;right:0;top:0;border-style:solid;border-width:0 0 21px 21px;border-color:transparent transparent #b3a68c transparent;filter:drop-shadow(-1px 2px 1px #0002)}
.editor-theme{flex:0 0 auto;box-shadow:none;min-height:48px;font-size:13px;border-radius:14px;align-self:stretch;padding:10px 14px}
.vault-stars{overflow-wrap:anywhere;line-height:1.2}
@media(hover:hover) and (pointer:fine){.album-card>.card-grip{left:8px;opacity:1;cursor:grab}.album-card>.card-grip:active{cursor:grabbing}.album-card>.tile-menu{display:none}.album-card:focus-within .tile-actions{opacity:1;visibility:visible;pointer-events:auto}}
@media(hover:none),(pointer:coarse){.album-card>.tile-menu{opacity:1;max-width:none;min-width:38px}.album-card>.card-grip{opacity:1;left:50px}}
@media(max-width:820px){.album-toolbar .editor-theme{order:4;margin-left:auto}}
@media(prefers-reduced-motion:reduce){body[data-overlay=on] .album-card::after{transition:none!important}}
