:root{color-scheme:light;--red:#c21d2b;--red-dark:#92111d;--deep:#0b1119;--screen:#14212a;--ivory:#f9f6f1;--muted:#63707a;--line:#d5d7da;--ink:#17232c}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at top,#353638,#151618 70%);color:var(--ink);font:15px/1.44 Arial,Helvetica,sans-serif}
a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}img{display:block;max-width:100%}.hidden{display:none!important}.sr-only,.skip{position:absolute;left:-99999px}.skip:focus{left:8px;top:8px;z-index:1000;background:white;padding:12px}
.kiosk-shell{max-width:1450px;margin:18px auto 0;border-radius:22px 22px 0 0;background:linear-gradient(90deg,#9f1420,#cf1e2d 12%,#be1b2a 86%,#94121d);padding:24px 24px 0;box-shadow:0 25px 50px #0008;border:2px solid #7a121e}
.kiosk-header{display:flex;align-items:center;justify-content:space-between;gap:14px;color:#fff;padding:7px 14px 22px}.brand{display:flex;align-items:center;gap:18px}.brand-icon{width:68px;height:68px;border:3px solid #fff;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,#f8f9f6,#dddfe1);box-shadow:0 4px 0 #7d0b13}.disc{width:43px;height:43px;border:5px solid #a61622;border-radius:50%;background:#f8f7f4;position:relative}.disc:after{content:'';position:absolute;inset:10px;background:#a61622;border-radius:50%}.brand-name strong{font-weight:900;font-size:clamp(24px,3vw,36px);line-height:1.1;letter-spacing:.055em;display:block}.brand-name span{font-weight:750;font-size:12px;letter-spacing:.25em}.header-right{display:flex;align-items:center;gap:16px;font-size:13px;font-weight:bold}.header-chip{padding:7px 13px;border:1px solid #ffffff7a;border-radius:999px}.header-right a{text-decoration:underline;text-underline-offset:3px}.accent-bar{background:linear-gradient(90deg,#d9dee2,#fff,#ccd0d5);height:9px;border-radius:7px 7px 0 0;box-shadow:0 2px 8px #2225}
.kiosk-screen{background:#f9fafb;border:5px solid #363a40;border-bottom:0;padding:27px 28px 24px;min-height:76vh;background-image:linear-gradient(0deg,#fff 0%,#f7f8f9 100%)}
.screen-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:22px}.upper{letter-spacing:.2em;font-size:11px;font-weight:800;color:#8b1420;margin:0 0 2px}.screen-head h1{font-size:clamp(30px,3vw,40px);letter-spacing:-.035em;margin:0;font-weight:800}.screen-head-right{display:flex;gap:8px;flex-direction:column;align-items:end;font-size:13px;color:#58626d}.screen-head-right span:first-child{font-weight:800;color:#9a1220}
.category-nav{display:flex;gap:7px;overflow-x:auto;scrollbar-width:thin;padding:3px 0 15px;margin-bottom:7px}.category-nav button{border:1px solid #d3d4d9;background:#fff;color:#273643;white-space:nowrap;padding:9px 13px;border-radius:7px;font-size:13px;font-weight:700;flex-shrink:0;box-shadow:0 2px 0 #dedee1}.category-nav button.active{background:#af1622;border-color:#a41522;color:#fff}.category-nav small{margin-left:6px;opacity:.75}
.toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:19px}.search{flex:1;min-width:220px}.search input{width:100%;padding:12px 14px;border:1px solid #bbc1c6;border-radius:5px;background:#fff;color:#101a21;font-size:16px}.slim-button{background:#fff;border:1px solid #c3c7cd;border-radius:5px;padding:10px 13px;color:#17232a;font-weight:750}.slim-button:disabled,.page-button:disabled{opacity:.35;cursor:not-allowed}.titleMode{font-size:13px;display:flex;align-items:center;gap:7px;white-space:nowrap}.titleMode input{width:17px;height:17px;accent-color:#bd1b27}.shelf-top{display:flex;justify-content:space-between;border-bottom:2px solid #c4cbd0;margin-bottom:12px;padding-bottom:9px;align-items:center}.shelf-top span{font-size:18px;font-weight:800}.shelf-top div{font-size:12px;color:#70777a}
.video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tape{display:flex;gap:11px;align-items:center;width:100%;min-width:0;background:#fff;border:1px solid #d5d7da;border-radius:6px;padding:9px;text-align:left;color:#202c33;min-height:90px;transition:border-color .12s,background .12s}.tape:hover,.tape:focus-visible{border-color:#bb1f2e;background:#fff8f8}.tape-thumb{flex:0 0 112px;width:112px;aspect-ratio:16/9;background:#19222b;border-radius:3px;overflow:hidden;position:relative}.tape-thumb img{width:100%;height:100%;object-fit:cover}.tape-thumb:after{content:'▶';position:absolute;right:5px;bottom:5px;background:#c61f2d;color:#fff;font-size:11px;border-radius:3px;padding:3px 6px}.tape-detail{min-width:0}.tape-title{font-size:13px;line-height:1.3;font-weight:750;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.tape-tag{font-size:10px;letter-spacing:.08em;text-transform:uppercase;font-weight:800;color:#9c1b27;display:block;margin-top:7px}.no-results{padding:35px;text-align:center;grid-column:1/-1;color:#69727b;border:1px dashed #ccc}.text-mode .tape{min-height:58px}.text-mode .tape-thumb{display:none}.text-mode .tape-title{font-size:14px;-webkit-line-clamp:2}.text-mode .tape-tag{margin-top:3px}
.pagination{display:flex;gap:14px;justify-content:center;align-items:center;margin-top:23px}.page-button{border:1px solid #bdc1c5;background:#fff;padding:11px 18px;border-radius:5px;font-weight:750}.pagination span{font-weight:700;font-size:13px;color:#5e6872}.archive-note{color:#68747d;margin:23px 0 0;font-size:11px}.kiosk-footer{display:flex;justify-content:space-between;color:#fff;padding:15px 9px 17px;font-weight:800;letter-spacing:.1em;font-size:11px}
.modal{position:fixed;inset:0;background:#070b0ee0;z-index:60;display:grid;place-items:center;padding:16px}.player-shell{background:#fafbfc;border:6px solid #c81f2e;box-shadow:0 0 0 2px #f9f9f9,0 22px 70px #000b;width:min(1450px,98vw);max-height:96vh;border-radius:10px;display:flex;flex-direction:column;overflow:hidden}.player-topline{background:#b71927;color:#fff;display:flex;align-items:center;gap:10px;padding:9px 13px;font-weight:900;font-size:12px;letter-spacing:.12em}.light-dot{width:10px;height:10px;border-radius:50%;background:#fff;box-shadow:0 0 0 3px #ffffff35}.player-topline strong{margin-left:auto;font-size:11px;color:#fff5f5}.player-topline button{border:0;background:transparent;color:#fff;font-size:30px;line-height:1;padding:0 5px}.player-body{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:0;overflow:auto;min-height:0}.screen-column{padding:14px 14px 22px;min-width:0}.video-screen{width:100%;aspect-ratio:16/9;background:#080b10;border:5px solid #151c26;box-shadow:0 0 0 1px #4c5764;position:relative}.video-screen iframe{display:block;border:0;width:100%;height:100%}.player-info h2{font-size:clamp(16px,2vw,22px);font-weight:800;line-height:1.3;margin:15px 0 12px;overflow-wrap:anywhere}.player-actions{display:flex;gap:7px;flex-wrap:wrap}.slim-button.dark{font-size:12px;background:#fff;color:#1a2531;padding:9px 10px}.slim-button.external{display:inline-flex;align-items:center}
.queue-pane{border-left:1px solid #ccd1d4;background:#f5f6f7;display:flex;flex-direction:column;padding:13px;gap:9px;min-height:0}.queue-header{display:flex;justify-content:space-between;align-items:center;color:#24303b}.queue-header strong{font-size:13px;letter-spacing:.12em}.queue-header span{font-size:11px;color:#6f7880}.queue-pane input{padding:11px;border:1px solid #b8bfc5;border-radius:5px;background:#fff;color:#101b26;width:100%;font-size:16px}.queue-list{display:grid;gap:6px;overflow:auto;max-height:55vh;min-height:180px}.queue-item{background:#fff;border:1px solid #d1d4d7;padding:11px;color:#1e2b34;text-align:left;font-size:13px;font-weight:700;border-radius:4px;line-height:1.35;overflow-wrap:anywhere}.queue-item.active{border-color:#a51420;background:#fee8ea;color:#841520}.queue-pages{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:auto}.queue-pages span{font-size:11px;color:#6d747c;white-space:nowrap}.queue-pages .slim-button{font-size:11px;padding:9px 7px}
@media(max-width:1050px){.video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.player-body{grid-template-columns:minmax(0,1fr) 260px}.queue-item{font-size:12px}.queue-list{max-height:52vh}}
@media(max-width:720px){.kiosk-shell{margin:0;border:0;border-radius:0;padding:10px 9px 0}.kiosk-header{padding:6px 4px 12px}.brand{gap:9px}.brand-icon{width:43px;height:43px;border-width:2px;border-radius:7px}.disc{width:27px;height:27px;border-width:3px}.disc:after{inset:6px}.brand-name strong{font-size:18px}.brand-name span{font-size:8px}.header-chip{display:none}.header-right{font-size:11px}.kiosk-screen{padding:17px 9px;min-height:80vh;border-width:3px}.screen-head h1{font-size:28px}.video-grid{grid-template-columns:1fr}.tape{min-height:78px;padding:7px}.tape-thumb{flex-basis:98px;width:98px}.tape-title{font-size:13px}.toolbar{gap:8px}.search{flex:1 1 100%}.pagination{gap:7px}.page-button{padding:9px;font-size:12px}.player-shell{width:100%;height:100%;max-height:100%;border-radius:0;border-width:3px}.modal{padding:0}.player-body{display:flex;flex-direction:column;overflow:auto}.screen-column{padding:7px}.player-topline{padding:10px}.queue-pane{border-left:0;border-top:1px solid #d5d8dc}.queue-list{max-height:none;min-height:0}.queue-item{font-size:13px}.player-info h2{font-size:16px;margin:8px 0}.screen-head-right{font-size:11px}.screen-head{margin-bottom:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.tape{transition:none}}
