/* reels.css -- the reels app on reels.tallshipchannel.com (reels.js). REELS_CSS_VERSION 2026-10-20-r6 (r6: JOB 301 -- no 9:16 column on wide screens: a landscape reel uses the full width, every reel fits inside (contain), nothing turned or cropped; r5: JOB 84 -- About this reel (list, own changes); r4: JOB 78 -- own-reel line, focused item in My reels; r3: JOB 82 -- filter button, chips, empty result; r2: JOB 71 -- icon buttons, More above Publish, progress, feed fits instead of crops; r1: first version, JOB 55) */
.rl-top { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 10px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 10px; color: #fff; background: linear-gradient(#000a, transparent); font-family: Inter, Arial, sans-serif; }
.rl-top.still { position: sticky; background: #06243d; }
.rl-top b { letter-spacing: .08em; font-size: 15px; } .rl-top .sp { flex: 1; }
.rl-top a, .rl-top button { color: #fff; font: inherit; font-size: 14px; font-weight: 600; background: #0006; border: 1px solid #fff8; border-radius: 18px; padding: 6px 12px; cursor: pointer; text-decoration: none; }
.rl-top .rl-plus { font-size: 22px; line-height: 1; padding: 2px 13px 5px; background: #c2410c; border-color: #c2410c; }
#rl-feed { position: fixed; inset: 0; overflow-y: scroll; scroll-snap-type: y mandatory; background: #000; overscroll-behavior: contain; scrollbar-width: none; }
#rl-feed::-webkit-scrollbar { display: none; }
.rl-reel { position: relative; height: 100dvh; width: 100%; scroll-snap-align: start; scroll-snap-stop: always; display: grid; place-items: center; overflow: hidden; }
.rl-reel video { position: absolute; inset: 0; margin: auto; height: 100%; width: 100%; object-fit: contain; background: #111; }   /* r2: fit inside, no cropping; r6: no 9:16 cap (a landscape reel is shown landscape on a desktop) */
.rl-over { position: absolute; left: 0; right: 64px; bottom: 0; padding: 16px 14px calc(20px + env(safe-area-inset-bottom, 0px)); color: #fff;
  background: linear-gradient(transparent, #000b); font-family: Inter, Arial, sans-serif; pointer-events: none; }
.rl-over h2 { margin: 0 0 6px; font-size: 18px; } .rl-over p { margin: 0 0 6px; font-size: 14px; line-height: 1.4; }
.rl-over a { color: #fff; font-weight: 700; pointer-events: auto; } .rl-over .credit { font-size: 11px; opacity: .8; }
.rl-side { position: absolute; right: 10px; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 14px; align-items: center; }
.rl-side button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: #0008; color: #fff; font-size: 20px; cursor: pointer; }
.rl-side small { color: #fff; font: 600 12px Inter, Arial, sans-serif; margin-top: -10px; }
.rl-like.on { color: #f43f5e; }
.rl-sound { position: absolute; top: calc(60px + env(safe-area-inset-top, 0px)); right: 12px; color: #fff; background: #0008; border-radius: 14px; padding: 4px 10px;
  font: 600 12px Inter, Arial, sans-serif; pointer-events: none; }
.rl-sheet { position: fixed; inset: 0; z-index: 30; background: #fff; color: #092b46; overflow-y: auto; font-family: Inter, Arial, sans-serif;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 16px calc(24px + env(safe-area-inset-bottom, 0px)); }
.rl-sheet h2 { margin: 6px 0 12px; } .rl-sheet label { display: block; font-size: 13px; color: #607286; margin: 12px 0 4px; }
.rl-sheet input[type=text], .rl-sheet select, .rl-sheet textarea { width: 100%; box-sizing: border-box; padding: 10px; border: 1px solid #dbe4ea; border-radius: 8px; font-size: 16px; }
.rl-sheet video { width: 100%; max-height: 50dvh; background: #000; border-radius: 10px; object-fit: contain; }
.rl-btn { display: block; width: 100%; margin-top: 16px; padding: 14px; border: 0; border-radius: 10px; background: #c2410c; color: #fff; font-size: 17px; font-weight: 800; cursor: pointer; }
.rl-btn.ghost { background: #fff; color: #c2410c; border: 1px solid #c2410c; }
.rl-link { background: none; border: 0; color: #0b3858; text-decoration: underline; font-size: 15px; padding: 12px 0 0; cursor: pointer; }
.rl-msg { margin-top: 12px; font-size: 15px; } .rl-err { color: #b91c1c; } .rl-ok { color: #15803d; font-weight: 700; }
.rl-close { float: right; background: none; border: 0; font-size: 26px; color: #607286; cursor: pointer; }
.rl-row { display: flex; gap: 10px; } .rl-row > div { flex: 1; }
.rl-sheet input[type=range] { width: 100%; }
.rl-item { border-top: 1px solid #dbe4ea; padding: 12px 0; }
/* r2 (JOB 71): three icon buttons, More above Publish, progress, lock */
.rl-top .rl-icons { display: inline-flex; gap: 8px; }
.rl-top .rl-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; }
.rl-top .rl-ic.rl-plus { padding: 0; font-size: inherit; }
.rl-more-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 14px; border: 1px solid #0b3858; border-radius: 10px; background: #fff;
  color: #0b3858; font: 600 15px Inter, Arial, sans-serif; cursor: pointer; }
.rl-sheet progress { width: 100%; height: 10px; margin-top: 10px; accent-color: #c2410c; }
.rl-sheet .rl-aud { display: flex; gap: 8px; align-items: center; color: #092b46; margin: 6px 0; font-size: 15px; }
.rl-sheet .rl-row .rl-btn { display: inline-flex; justify-content: center; align-items: center; gap: 6px; }
.rl-btn:disabled { opacity: .6; cursor: default; }
.rl-lock { color: #607286; vertical-align: -2px; }
/* r2: the bar fits a phone: the name shrinks first, the icons and "My reels" always stay whole */
.rl-top { gap: 6px; padding-left: 10px; padding-right: 10px; }
.rl-top b { font-size: 13px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 0 1 auto; }
.rl-top .sp { flex: 1 1 0; min-width: 0; }
.rl-top a, .rl-top button { flex: 0 0 auto; white-space: nowrap; }
#rl-mine-link, #rl-review-link { font-size: 13px; padding: 6px 9px; }
.rl-top .rl-icons { gap: 6px; flex: 0 0 auto; }
.rl-top .rl-ic { width: 38px; height: 38px; }
@media (max-width: 460px) { .rl-top .rl-brand { display: none; } }   /* r2: narrow phones show REELS only */
/* r3 (JOB 82): filters */
.rl-top .rl-ic.on { background: #c2410c; border-color: #c2410c; }
.rl-chips { position: fixed; left: 10px; right: 10px; top: calc(60px + env(safe-area-inset-top, 0px)); z-index: 21; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.rl-chip { pointer-events: auto; display: inline-flex; align-items: center; gap: 4px; background: #fffe; color: #092b46; border-radius: 14px; padding: 4px 4px 4px 10px;
  font: 600 13px Inter, Arial, sans-serif; border: 0; }
.rl-chip button { border: 0; background: #0b3858; color: #fff; border-radius: 50%; width: 24px; height: 24px; cursor: pointer; font-size: 15px; line-height: 1; }
.rl-chip.rl-clear { padding: 4px 10px; background: #c2410c; color: #fff; cursor: pointer; }
.rl-empty { height: 100dvh; display: grid; place-content: center; text-align: center; color: #fff; font: 16px Inter, Arial, sans-serif; padding: 0 24px; }
.rl-empty .rl-btn { max-width: 260px; margin: 12px auto 0; }
/* r4 (JOB 78): your own reel opened by a message link; the reel a message is about in My reels */
.rl-own { position: absolute; left: 10px; right: 64px; top: calc(100px + env(safe-area-inset-top, 0px)); z-index: 3; background: #fffe; color: #092b46;
  border-radius: 10px; padding: 8px 10px; font: 600 13px Inter, Arial, sans-serif; }
.rl-item.rl-focus { border: 2px solid #c2410c; border-radius: 10px; padding: 10px; }
.rl-sheet a.rl-btn { text-align: center; text-decoration: none; box-sizing: border-box; }
/* r5 (JOB 84): About this reel; a sub-heading in the sheets */
.rl-side .rl-info { font-size: 0; display: grid; place-items: center; }
.rl-sheet h3.rl-sub { font-size: 15px; margin: 18px 0 2px; color: #092b46; }
.rl-info-list { display: grid; grid-template-columns: max-content 1fr; gap: 8px 14px; margin: 0; font-size: 15px; }
.rl-info-list dt { color: #607286; } .rl-info-list dd { margin: 0; overflow-wrap: anywhere; } .rl-info-list a { color: #0b5f9e; text-decoration: underline; }
#rl-info-edit { border-top: 1px solid #dbe4ea; margin-top: 16px; }
