.shelf-view-toggle{display:flex;justify-content:flex-end;gap:0;margin:0 0 22px}.shelf-view-toggle[hidden],.vhs-shelves[hidden],#grid[hidden]{display:none}.shelf-view-toggle button{min-height:44px;padding:10px 20px;border:1px solid var(--muted);background:var(--panel,#211b35);color:var(--muted);font:inherit;font-weight:700;cursor:pointer}.shelf-view-toggle button:first-child{border-radius:10px 0 0 10px}.shelf-view-toggle button:last-child{border-radius:0 10px 10px 0}.shelf-view-toggle button[aria-pressed=true]{color:var(--cyan);border-color:var(--cyan);background:color-mix(in srgb,var(--cyan) 12%,var(--panel,#211b35));box-shadow:0 0 16px color-mix(in srgb,var(--cyan) 15%,transparent)}.vhs-mode .toolbar>.tabs{display:none}.vhs-mode .list-heading{margin-bottom:8px}.vhs-hint{font-size:.85rem;color:var(--muted);margin:0 0 22px}.vhs-shelves{min-width:0;max-width:100%;padding-bottom:24px}.vhs-section{margin:0 0 34px;min-width:0}.vhs-section-heading{display:flex;align-items:center;gap:14px;margin-bottom:0;padding:9px 16px;background:linear-gradient(0deg,#191519,#403029 45%,#281e1d);border-top:1px solid #7c5943;border-radius:5px 5px 0 0;box-shadow:0 0 20px #0006}.vhs-section-heading h2{margin:0;background:#dfd1ad;color:#302925;transform:rotate(-2deg);font-size:1rem;padding:4px 16px;box-shadow:1px 3px 4px #0007}.vhs-section-heading>span{font-size:.85rem;color:#e2d5c3}.vhs-rack{display:flex;align-items:flex-end;gap:5px;overflow-x:auto;overscroll-behavior-x:contain;max-width:100%;padding:28px 16px 16px;min-height:282px;background:linear-gradient(180deg,#080a11dd,#0b0a13bb),repeating-linear-gradient(90deg,#231e25 0 2px,#18161e 2px 6px);border-inline:9px solid #302522;border-bottom:19px solid #493229;box-shadow:inset 0 10px 20px #000b,0 5px 0 #221a18,0 12px 18px #0005;scrollbar-color:var(--cyan) #1c1824;scrollbar-width:thin;touch-action:pan-x pan-y}.vhs-tape{position:relative;flex:0 0 58px;height:238px;padding:0;border:1px solid #9a8b7459;border-radius:4px 4px 2px 2px;background:#12151b;color:#eee7d6;cursor:pointer;box-shadow:3px 0 3px #000b,inset 3px 0 1px #ffffff18;transition:transform .2s,box-shadow .2s;isolation:isolate;overflow:hidden}.vhs-tape::after{content:'';position:absolute;inset:0;pointer-events:none;z-index:3;border:2px solid #ddd0b221;border-radius:inherit;background:linear-gradient(100deg,#ffffff16,transparent 20%,transparent 85%,#0007)}.vhs-cover{position:absolute;inset:0;display:block;background:linear-gradient(145deg,var(--tape-color),#12131f);opacity:.22}.vhs-cover img{width:100%;height:100%;object-fit:cover}.vhs-cover-title{position:absolute;inset:auto 8px 18px;text-align:center;font-size:1rem;font-weight:900;color:#fff;text-shadow:0 2px 4px #000;display:none}.vhs-spine{position:absolute;inset:0;display:flex;align-items:center;flex-direction:column;padding:10px 4px 8px;background:linear-gradient(90deg,#0007,transparent 30%,#0004)}.vhs-stripe{height:5px;width:75%;background:var(--tape-color);margin-bottom:10px}.vhs-spine strong{writing-mode:vertical-rl;text-orientation:mixed;font-size:17px;line-height:1.1;letter-spacing:.5px;text-transform:uppercase;font-weight:900;max-height:168px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 1px 3px #000}.vhs-year{margin-top:auto;font-size:9px;letter-spacing:1px}.vhs-mark{font:bold italic 10px Arial;border:1px solid #c0b9a6;padding:0 3px;margin-top:5px}.vhs-face{flex-basis:156px}.vhs-face .vhs-cover{opacity:1}.vhs-face .vhs-spine{display:none}.vhs-face .vhs-cover-title{display:block;background:#0008;border-radius:3px}.vhs-stars{position:absolute;right:3px;top:6px;z-index:4;background:#e7be68;color:#1c1726;padding:3px;border-radius:3px;font-size:11px;font-weight:800}.vhs-tape:hover,.vhs-tape:focus-visible{transform:translateY(-12px) rotate(-1deg);box-shadow:0 0 0 2px var(--cyan),0 8px 22px #000b;outline:none}.vhs-rack:focus-visible,.shelf-view-toggle button:focus-visible{outline:2px solid var(--cyan);outline-offset:4px}.vhs-empty{margin:0;padding:40px 20px;color:var(--muted);background:#100e18aa;border-bottom:14px solid #493229}@media(min-width:1000px){.vhs-rack{min-height:304px}.vhs-tape{height:260px;flex-basis:64px}.vhs-face{flex-basis:172px}.vhs-spine strong{max-height:187px}}@media(max-width:600px){.shelf-view-toggle{justify-content:stretch}.shelf-view-toggle button{flex:1}.vhs-rack{gap:4px;padding:20px 10px 14px;border-inline-width:5px;min-height:250px}.vhs-tape{height:210px;flex-basis:49px}.vhs-face{flex-basis:138px}.vhs-spine strong{font-size:15px;max-height:141px}.vhs-section{margin-bottom:26px}}@media(prefers-reduced-motion:reduce){.vhs-tape{transition:none}.vhs-tape:hover,.vhs-tape:focus-visible{transform:none}}
@media(hover:hover){.vhs-tape{transition:transform .2s,box-shadow .2s,flex-basis .2s}.vhs-tape:not(.vhs-face):hover,.vhs-tape:not(.vhs-face):focus-visible{flex-basis:156px}.vhs-tape:hover .vhs-cover,.vhs-tape:focus-visible .vhs-cover{opacity:1}.vhs-tape:hover .vhs-cover-title,.vhs-tape:focus-visible .vhs-cover-title{display:block;background:#0008}.vhs-tape:hover .vhs-spine,.vhs-tape:focus-visible .vhs-spine{display:none}}@media(prefers-reduced-motion:reduce){.vhs-tape{transition:none}}
.shelf-view-toggle{gap:4px;width:max-content;margin:0 0 24px auto;padding:5px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.shelf-view-toggle button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 18px;border:1px solid transparent;border-radius:8px!important;background:transparent;line-height:1.25}
.shelf-view-toggle button[aria-pressed=true]{background:var(--theme-active,var(--surface));box-shadow:none}
.vhs-mode .toolbar{padding-top:16px}.vhs-mode .list-heading{margin-bottom:14px}.vhs-hint{margin:0 0 20px;padding:0 2px;line-height:1.6}
@media(max-width:600px){.shelf-view-toggle{width:100%;margin-bottom:20px}.shelf-view-toggle button{min-width:0;padding:10px 14px}}
