/* Transport row, paired hero and straight-on rental shelves.
   Existing user edits remain in their stylesheets; custom.css still loads last. */
.hybrid-body .site-header {
  --header-logo-height:clamp(75px,8.5vw,115px);
  --transport-height:calc(var(--header-logo-height) * .75);
  display:flex; flex-wrap:nowrap; align-items:center;
  padding:clamp(12px,2.5vw,28px) clamp(10px,4vw,60px);
  gap:clamp(8px,2vw,28px); min-height:0;
}
.hybrid-body .site-header .store-logo {
  display:block; flex:0 0 auto; width:calc(var(--header-logo-height) * 275 / 129);
  height:var(--header-logo-height); min-height:75px; min-width:0; max-width:none;
}
.hybrid-body .site-header .header-sticker-logo { display:block; width:auto; height:var(--header-logo-height); min-height:75px; max-width:none; }
.hybrid-body .site-header nav {
  display:flex; flex:1 1 620px; order:0; width:auto; min-width:0;
  flex-wrap:nowrap; justify-content:flex-end; gap:clamp(3px,.75vw,10px); padding:0;
}
.hybrid-body .site-header nav .transport-key {
  display:flex; flex:1 1 0; width:0; min-width:0; max-width:160px;
  align-items:center; justify-content:center; gap:clamp(3px,.8vw,11px);
  height:var(--transport-height); max-height:var(--transport-height); min-height:0;
  padding:clamp(5px,1vw,12px) clamp(2px,1vw,14px);
  border:1px solid #454545; border-top-color:#696969; border-bottom-color:#111;
  border-radius:6px; background:linear-gradient(180deg,#3b3b3b,#202020 48%,#191919);
  box-shadow:0 4px 0 #070707,inset 0 1px 0 #ffffff1a,inset 0 -1px 0 #0008;
  color:#f2ecd8; text-decoration:none; cursor:pointer;
}
.hybrid-body .site-header nav .transport-key:hover { background:linear-gradient(180deg,#464646,#282828 48%,#202020); }
.hybrid-body .site-header nav .transport-key:active { transform:translateY(3px); box-shadow:0 1px 0 #070707; }
.hybrid-body .site-header nav .transport-key:after { content:none; }
.hybrid-body .site-header nav .transport-key.nav-active { border-color:#af5b2b; border-top-color:#fd9a58; }
.hybrid-body .site-header nav .transport-key.is-on,
.hybrid-body:has(#signin-dialog[open]) .site-header .transport-account { border-color:#fb3f05; border-top-color:#ffad75; box-shadow:0 4px 0 #070707,inset 0 0 0 1px #fb3f0540; }
.hybrid-body .site-header .transport-symbol { font-size:clamp(15px,2vw,23px); flex-shrink:0; }
.hybrid-body .site-header .transport-copy { min-width:0; }
.hybrid-body .site-header .transport-copy b { font-size:clamp(6px,1.1vw,12px); letter-spacing:.06em; white-space:nowrap; }
.hybrid-body .site-header .transport-copy b:before { content:none; display:none; }
.hybrid-body .site-header .transport-copy small { font-size:clamp(7px,.8vw,9px); white-space:nowrap; }
.hybrid-body .site-header .transport-account .transport-symbol { letter-spacing:0; padding:0; color:#ffc475; }
.hybrid-body .site-header .transport-eject .transport-symbol { color:#ffad75; }
.patreon-signup { margin-top:24px; }
.patreon-signup a { color:#fd9a58; text-decoration:underline; text-underline-offset:4px; }

.hybrid-body .hero {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);
  column-gap:clamp(14px,4vw,54px); row-gap:38px; align-items:center; min-height:0;
}
.hybrid-body .hero-copy { grid-column:1; grid-row:1; min-width:0; }
.hybrid-body .hero-visual { grid-column:2; grid-row:1; min-width:0; padding:10px 3px; align-self:center; }
.hybrid-body .hero-photo-frame { width:100%; margin:0; }
.hybrid-body .hero-photo-frame img { width:100%; height:auto; }
.hybrid-body .hero-bottom {
  grid-column:1 / -1; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);
  gap:clamp(14px,4vw,54px); align-items:start; padding-top:8px;
}
.hybrid-body .hero-bottom .club-membership { width:100%; max-width:360px; grid-template-columns:minmax(0,1fr); }
.hybrid-body .hero-bottom .hero-policy-note { position:relative; inset:auto; width:100%; max-width:350px; margin:0; align-self:start; }
.hybrid-body .hero-sub { white-space:pre-line; }
.hybrid-body .round-description { white-space:pre-line; }
.hybrid-body .hero h1 { font-size:clamp(22px,5.6vw,76px); }
.hybrid-body .hero h1 em { font-size:1em; }

/* Shelf uprights, dark display backs and orange front rails, viewed head-on. */
.rental-shelves {
  --shelf-accent:#fb3f05; --shelf-gap:clamp(12px,4vw,56px);
  max-width:920px; margin:26px auto 36px; padding:0 clamp(10px,2vw,25px);
  background:linear-gradient(90deg,#050608,#202329 1.1%,#08090b 2.5%,transparent 2.5%,transparent 97.5%,#202329 97.5%,#08090b 100%);
  border:1px solid #30343a; border-radius:4px 4px 0 0;
  box-shadow:10px 18px 40px #0008;
}
.shelf-sign {
  margin:0 calc(clamp(10px,2vw,25px) * -1) 0; padding:14px 20px;
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  background:linear-gradient(#fd6a09,var(--shelf-accent)); border:3px solid #080b10;
  border-bottom:4px solid #ffb17b; color:#17100a;
}
.shelf-sign>span { font:900 clamp(18px,3vw,32px)/1 'Archivo',sans-serif; letter-spacing:.02em; }
.shelf-sign>small { font:400 clamp(11px,1.5vw,17px)/1.15 var(--mono); text-align:right; }
.rental-shelf {
  background:repeating-linear-gradient(90deg,transparent 0,transparent 31%,#ffffff03 31.3%,transparent 31.6%),linear-gradient(180deg,#06080b,#14191f 78%,#050709);
  box-shadow:inset 0 15px 18px #000a;
}
.shelf-row { display:flex; flex-wrap:nowrap; justify-content:center; align-items:flex-end; gap:var(--shelf-gap); padding:clamp(22px,4vw,42px) 8px 0; }
.rental-shelves .shelf-row .movie-card {
  flex:0 1 calc((100% - var(--shelf-gap) * 2) / 3); width:calc((100% - var(--shelf-gap) * 2) / 3);
  max-width:245px; min-width:0; margin:0; padding:0; grid-column:auto;
  background:transparent; border:0; border-radius:1px; transform:none;
  box-shadow:6px 0 8px #0008; z-index:1;
}
.rental-shelves .movie-card:hover:not(.locked-card) { transform:translateY(-6px); box-shadow:8px 0 10px #0009; }
.rental-shelves .movie-card.chosen { outline:3px solid #fd9a58; outline-offset:4px; }
.rental-shelves .movie-card:has(input:focus-visible) { outline:3px solid #8defff; outline-offset:5px; }
.rental-shelves .movie-card>input { position:absolute; width:1px; height:1px; min-height:0; margin:-1px; padding:0; border:0; opacity:0; overflow:hidden; }
.rental-shelves .sleeve-shell { border-width:clamp(3px,.5vw,7px); border-left-width:clamp(7px,1.5vw,20px); }
.rental-shelves .movie-art { aspect-ratio:2 / 3; }
.rental-shelves .sleeve-image { display:block; width:100%; height:100%; object-fit:contain; }
.rental-shelves .sleeve-fallback { padding:clamp(5px,1.6vw,20px); }
.rental-shelves .sleeve-fallback>b { font-size:clamp(9px,2.7vw,30px); line-height:1.12; }
.rental-shelves .sleeve-fallback>span { font-size:clamp(3px,.65vw,7px); letter-spacing:.08em; }
.rental-shelves .sleeve-fallback>small { font-size:clamp(4px,.8vw,9px); }
.rental-shelves .sleeve-fallback>i { font-size:clamp(5px,.9vw,11px); right:6px; bottom:8px; }
.rental-shelves .sleeve-spine { font-size:clamp(5px,.8vw,10px); }
.rental-shelves .sleeve-bottom { font-size:clamp(4px,.8vw,8px); }
.rental-shelves .rental-tab { font-size:clamp(4px,.7vw,9px); padding:clamp(3px,.7vw,7px); }
.shelf-rail {
  position:relative; z-index:2; min-height:28px; padding:7px 14px;
  display:flex; justify-content:space-between; align-items:center; gap:20px;
  border-top:2px solid #ffac77; border-bottom:6px solid #160803;
  background:linear-gradient(180deg,#fd6a09 0,var(--shelf-accent) 24%,#a32903 100%);
  box-shadow:0 12px 15px #000b;
  color:#fff1e6; font:400 clamp(10px,1.3vw,14px)/1 var(--mono); letter-spacing:.12em;
}
.shelf-rail i { height:3px; width:28%; background:#070b10; border-bottom:1px solid #ffffff1f; }
.shelf-plinth { height:25px; margin:0 -6px; background:linear-gradient(#1c2025,#060709); border-top:2px solid #343940; box-shadow:0 12px 18px #0008; }
@media(max-width:820px) {
  .hybrid-body .site-header nav .transport-key { flex-direction:column; gap:3px; padding-block:4px; }
  .hybrid-body .site-header .transport-copy { text-align:center; gap:2px; }
  .hybrid-body .site-header .transport-copy b { justify-content:center; }
  .hybrid-body .site-header .transport-copy b:before { display:none; }
  .hybrid-body .site-header .transport-copy small { font-size:7px; }
  .hybrid-body .hero h1 { font-size:clamp(20px,5.6vw,52px); letter-spacing:-.035em; }
  .hybrid-body .hero-osd { font-size:clamp(9px,1.6vw,14px); gap:6px; padding:5px; }
  .hybrid-body .hero-sub { font-size:clamp(10px,1.65vw,14px); line-height:1.65; }
  .hybrid-body .hero-bottom .postit { padding:clamp(12px,4cqi,26px); }
  .hybrid-body .hero-bottom .postit h2 { font-size:clamp(17px,7cqi,30px); }
  .hybrid-body .hero-bottom .postit h3 { font-size:clamp(12px,5cqi,20px); }
  .hybrid-body .hero-bottom .postit p { font-size:clamp(10px,4cqi,15px); }
  .hybrid-body .hero-bottom .postit ol { padding-left:15px; }
}
@media(max-width:480px) {
  .hybrid-body .site-header .transport-copy small { display:none; }
  .hybrid-body .hero { padding-top:30px; row-gap:25px; }
  .hybrid-body .hero-osd { flex-wrap:wrap; }
  .hybrid-body .hero-visual { padding:0; }
  .hybrid-body .hero-photo-frame { border-width:5px; }
  .hybrid-body .hero-bottom .card-heading { top:16px; left:8px; right:8px; gap:4px; }
  .hybrid-body .hero-bottom .card-wordmark { font-size:clamp(8px,2.1vw,12px); }
  .hybrid-body .hero-bottom .card-heading strong { font-size:5px; letter-spacing:.7px; }
  .hybrid-body .hero-bottom .card-sticker-logo { width:42%; }
  .hybrid-body .hero-bottom .card-name { left:8px; right:8px; bottom:25px; min-height:18px; padding:2px 4px; font-size:9px; }
  .hybrid-body .hero-bottom .card-details { left:8px; right:8px; bottom:8px; font-size:8px; }
  .hybrid-body .hero-bottom .card-stripe { height:8px; }
  .hybrid-body .hero-bottom .membership-actions .button { font-size:9px; padding:9px 8px; }
  .hybrid-body .hero-bottom .membership-actions p { font-size:9px; }
  .shelf-sign { padding:10px; }
  .shelf-sign>small { display:none; }
  .shelf-row { padding-inline:3px; }
  .shelf-rail { min-height:22px; padding:5px 8px; }
}
@media(prefers-reduced-motion:reduce) {
  .rental-shelves .movie-card,.hybrid-body .site-header .transport-key { transition:none; }
}

/* Compact title line uses its own form width rather than the viewport width. */
.hybrid-body .request-slip { container-type:inline-size; }
.hybrid-body .slip-heading { flex-wrap:nowrap; gap:clamp(4px,2cqi,15px); padding:clamp(12px,4cqi,19px) clamp(8px,3cqi,25px); }
.hybrid-body .slip-heading h4 { min-width:0; white-space:nowrap; font-size:clamp(9px,4.2cqi,20px); letter-spacing:clamp(0px,.15cqi,1px); }
.hybrid-body .slip-heading>span { flex-shrink:0; white-space:nowrap; font-size:clamp(8px,4cqi,21px); }
.hybrid-body #signin-dialog #close-dialog { color:#fb3f05; background:transparent; opacity:1; }
.hybrid-body #signin-dialog #close-dialog:hover { color:#fd6a09; }

/* Account action and post-login activity chooser. */
.hybrid-body #hero-membership { color:#fff; }
.hybrid-body #hero-membership .patreon-button-logo { display:block; width:24px; height:24px; flex:0 0 24px; object-fit:contain; }
.hybrid-body #participation-dialog { --text:#fff; width:min(820px,calc(100% - 32px)); max-width:820px; max-height:calc(100dvh - 40px); overflow:auto; padding:clamp(24px,4vw,40px); border:1px solid #fb3f05; border-radius:16px; background:radial-gradient(ellipse at 50% 0,#fb3f0524,transparent 70%),#151515; color:#eee8dc; box-shadow:0 0 0 5px #0009,0 24px 90px #000c; }
.hybrid-body #participation-dialog::backdrop { background:#000c; backdrop-filter:blur(6px); }
.hybrid-body #participation-dialog .dialog-close { color:#fb3f05; background:transparent; top:10px; right:12px; padding:4px 8px; min-width:40px; min-height:40px; }
.hybrid-body #participation-dialog .eyebrow { color:#ff935e; margin:0 36px 16px 0; }
.hybrid-body #participation-title { color:#fff; font-family:'Archivo',sans-serif; font-size:clamp(24px,5vw,40px); font-weight:900; line-height:1.15; text-transform:uppercase; margin:0 0 14px; }
.hybrid-body #participation-description { color:#c9c3b9; margin:0 0 24px; }
.participation-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.participation-choice { display:flex; flex-direction:column; min-width:0; border:1px solid #ffffff30; border-radius:10px; overflow:hidden; color:#fff; text-decoration:none; background:#202020; transition:transform .15s,border-color .15s; }
.participation-choice img { display:block; width:100%; height:auto; aspect-ratio:1; object-fit:cover; }
.participation-choice strong { display:block; padding:18px 16px 8px; font-family:'Archivo',sans-serif; font-weight:900; font-size:clamp(14px,2.6vw,21px); }
.participation-choice>span { padding:0 16px 18px; font-size:13px; line-height:1.5; color:#cec8bd; }
.participation-choice>span b { color:#fd6a09; }
.participation-choice:hover { transform:translateY(-3px); border-color:#fb3f05; }
.participation-choice:focus-visible { outline:3px solid #fd6a09; outline-offset:3px; }
@media(max-width:460px) { .participation-choices { gap:12px; } .participation-choice strong { padding:12px 10px 6px; font-size:13px; } .participation-choice>span { padding:0 10px 12px; font-size:11px; } }
@media(prefers-reduced-motion:reduce) { .participation-choice { transition:none; } .participation-choice:hover { transform:none; } }

/* Result cases share the full sleeve art and contain no voting controls. */
.hybrid-body .results .result-row { display:flex; align-items:center; gap:clamp(12px,3vw,24px); }
.hybrid-body .results .result-movie-card {
  height:100px; max-height:100px; width:67px; min-width:0; max-width:67px; flex:0 0 67px;
  margin:0; padding:0; border:0; background:transparent; transform:none; box-shadow:3px 3px 7px #0007; cursor:default;
}
.hybrid-body .results .result-movie-card .sleeve-shell { display:flex; flex-direction:column; height:100%; max-height:100px; border-width:2px; border-left-width:6px; overflow:hidden; }
.hybrid-body .results .result-movie-card .movie-art { flex:1; min-height:0; aspect-ratio:auto; }
.hybrid-body .results .result-movie-card .sleeve-image { display:block; width:100%; height:100%; object-fit:contain; }
.hybrid-body .results .result-movie-card .sleeve-bottom { flex:0 0 9px; height:9px; min-height:9px; padding:0 2px; font-size:3px; overflow:hidden; }
.hybrid-body .results .result-movie-card .sleeve-bottom b { font-size:4px; }
.hybrid-body .results .result-movie-card .sleeve-bottom .barcode { width:10px; height:4px; }
.hybrid-body .results .result-movie-card .sleeve-spine { font-size:3px; }
.hybrid-body .results .result-movie-card .sleeve-fallback { padding:4px; }
.hybrid-body .results .result-movie-card .sleeve-fallback>b { font-size:8px; letter-spacing:0; }
.hybrid-body .results .result-movie-card .sleeve-fallback>span { font-size:2px; letter-spacing:0; }
.hybrid-body .results .result-movie-card .sleeve-fallback>small { font-size:3px; }
.hybrid-body .results .result-movie-card .sleeve-fallback>i { font-size:4px; right:3px; bottom:3px; }
.hybrid-body .results .result-body { flex:1; min-width:0; }
@media(max-width:360px) {
  .hybrid-body .site-header { padding-inline:8px; gap:6px; }
  .hybrid-body .site-header nav { gap:2px; }
  .hybrid-body .site-header .transport-copy { display:none; }
}
