/* Two commands on hover; touch and keyboard users have the same entry points. */
.album-card .tile-actions{inset:auto 8px 56px;display:flex;gap:6px;justify-content:center;align-items:center;flex-wrap:nowrap;z-index:8}
.album-card .tile-actions .album-group122{flex:1;min-width:0;padding:8px 5px;min-height:36px;font:600 12px/1.2 'Segoe UI',sans-serif;background:#172028f2;border:1px solid #aab8c355;color:#f0f3f7}
.album-card>.card-grip,.album-card>.tile-delete{top:8px!important;width:27px;height:28px;min-width:0;opacity:1!important;z-index:9}
.album-card>.card-grip{left:7px!important}.album-card>.tile-delete{right:7px!important}
.album-card>.album-open122{position:absolute;top:8px;left:40px;right:40px;height:28px;display:flex;align-items:center;justify-content:center;border:1px solid #aab8c355;border-radius:8px;background:#111b24e8;color:var(--accent);cursor:pointer;z-index:9}
.album-open122 .matrix-mark{width:23px;height:19px}
.album-card>.tile-number{top:43px!important;right:8px!important;z-index:7;pointer-events:none}
.card-commands122{display:grid;gap:10px}.card-command122{width:100%;text-align:left;min-height:44px;font-size:14px}
.album-card:focus-within .tile-actions{opacity:1!important;visibility:visible!important;pointer-events:auto!important}
@media(hover:none),(pointer:coarse){.album-card .tile-actions{opacity:1!important;visibility:visible!important;pointer-events:auto!important}}
/* A light sleeve for ordinary cards; Super Cards retain their stronger holo. */
body[data-overlay=on] .album-card:not(.super-tile)::after{content:'';position:absolute;inset:0 0 49px;z-index:3;pointer-events:none;opacity:.65;background:linear-gradient(115deg,transparent 22%,#d7f3ff08 37%,#ffffff35 46%,#bcdfff10 54%,transparent 68%);background-size:240% 100%;background-position:100% 0;transition:background-position .8s ease}
body[data-overlay=on] .album-card:not(.super-tile):is(:hover,:focus-within,.touch-lit)::after{background-position:0 0}
body[data-overlay=off] .album-card::after{content:none!important}
.order-pending122{display:inline-grid;place-items:center;margin-left:7px;width:18px;height:21px;color:#ffe56c;font-size:19px;font-weight:900;text-shadow:0 1px 2px #000}
.order-pending122[hidden]{display:none}
.album-sort [data-act=sortCards],#sortVaults11{white-space:nowrap;min-height:34px;width:auto;height:auto;padding:9px 10px;font:600 12px/1.2 'Segoe UI',sans-serif;flex-shrink:0}
@media(min-width:1101px) and (max-width:1550px){.album-sort-controls{grid-row:2;grid-column:1/4;margin:0 128px 0 0}.album-sort .album-matrix{grid-row:2}}
@media(max-width:640px){.album-sort-controls{flex-wrap:wrap}.album-sort-controls select{max-width:110px}.deck-panel .topbar{height:auto;min-height:100px;row-gap:12px}.deck-panel .topbar h1{flex:1 1 120px}.deck-panel .topbar .history-tools{margin-left:auto}}
@media(prefers-reduced-motion:reduce){body[data-overlay=on] .album-card::after{transition:none!important}}

@media(max-width:1000px){.deck-panel .topbar{flex:0 0 auto;height:auto}}
