/* Reels: one screen per item, buttons on the right, the comments in a slide-out. Colours only from the site's variables. */
.rl-page { overflow: hidden; }
.rl-page .ch-bar, .rl-page .ch-foot { display: none; } /* (the left menu stays: it opens over the feed from the header's menu button) */
.rl-back { display: none; }
.rl-page { padding-left: 0 !important; } /* the page is a fixed full-screen feed: the left menu's room is not kept (!important only beats the layout rule that reserves it) */
.rl { position: fixed; top: var(--ch-h, 54px); left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); align-items: stretch; background: var(--msg-black); color: var(--msg-white); transition: padding-right .28s ease; }
.rl.has-side { padding-right: 400px; }
.rl-info-out { grid-column: 1; } /* fixed places: the reel stays in the middle even while the words beside it are hidden (nobody live, nothing to show) */
.rl.is-zone-up, .rl.is-zone-down { cursor: pointer; }
.rl-col { grid-column: 2; position: relative; height: 100%; width: min(100vw, calc((100vh - var(--ch-h, 54px)) * 9 / 16 + 2px)); width: min(100vw, calc((100dvh - var(--ch-h, 54px)) * 9 / 16 + 2px)); background: var(--msg-black); }
.rl-feed { height: 100%; overflow-y: scroll; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; outline: none; -webkit-overflow-scrolling: touch; }
.rl-feed::-webkit-scrollbar { display: none; }
.rl-item { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; background: var(--msg-black); }
.rl-bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(34px) brightness(.55); transform: scale(1.15); }
.rl-media { position: absolute; inset: 0; overflow: hidden; }
.rl-v, .rl-img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: transparent; }
.rl-item.is-fit .rl-v, .rl-item.is-fit .rl-img { object-fit: contain; }
.rl-item.is-fill .rl-v, .rl-item.is-fill .rl-img { object-fit: cover; }
.rl-shade { position: absolute; left: 0; right: 0; bottom: 0; height: 38%; pointer-events: none; background: linear-gradient(to top, color-mix(in srgb, var(--msg-black) 78%, transparent), transparent); }
.rl-info { position: absolute; left: 14px; right: 84px; bottom: calc(18px + env(safe-area-inset-bottom)); display: grid; gap: 6px; text-shadow: 0 1px 4px color-mix(in srgb, var(--msg-black) 80%, transparent); }
.rl-who { display: inline-flex; align-items: center; gap: 8px; color: var(--msg-white); text-decoration: none; font-size: 18px; }
.rl-live { background: var(--msg-live); color: var(--msg-on-live); border-radius: 6px; padding: 1px 7px; font-size: 12px; font-weight: 800; letter-spacing: .05em; }
.rl-title { margin: 0; font-size: 15px; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.rl-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: color-mix(in srgb, var(--msg-white) 25%, transparent); }
.rl-prog i { display: block; height: 100%; width: 0; background: var(--msg-white); }
.rl-pp { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; color: var(--msg-white); filter: drop-shadow(0 2px 8px color-mix(in srgb, var(--msg-black) 70%, transparent)); }
.rl-pp[hidden] { display: none; }
.rl-err, .rl-empty p { margin: 0; padding: 24px; text-align: center; font-size: 17px; }
.rl-empty { height: 100%; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 24px; text-align: center; color: var(--msg-white); }
.rl-mute { position: absolute; top: 12px; right: 12px; z-index: 6; width: 44px; height: 44px; border: 0; border-radius: var(--btn-rc, 50%); background: color-mix(in srgb, var(--msg-black) 55%, transparent); color: var(--msg-white); display: grid; place-items: center; cursor: pointer; }
.rl-mute[hidden] { display: none; }
/* the Videos / Live switch at the top of the picture */
.rl-tabs { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 6; display: flex; gap: 2px; padding: 3px; border-radius: var(--btn-r, 999px); background: color-mix(in srgb, var(--msg-black) 55%, transparent); backdrop-filter: blur(6px); }
.rl-tabs[hidden] { display: none; }
.rl-tabs button { min-height: var(--btn-h, 36px); padding: 0 16px; border: 0; border-radius: var(--btn-r, 999px); background: transparent; color: color-mix(in srgb, var(--msg-white) 72%, transparent); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.rl-tabs button.is-on { background: var(--msg-white); color: var(--msg-black); }
.rl-tabdot { width: 8px; height: 8px; border-radius: 50%; background: var(--msg-danger); }
/* a live reel: the stream FILLS the phone-shaped screen whatever its shape (a wide one loses its left and right edges); the model's picture shows until it plays */
.rl-item.is-live .rl-v, .rl-item.is-live .rl-img { object-fit: cover; }
.rl-item.is-live .rl-lposter { transition: opacity .3s ease; }
.rl-item.is-live.is-playing .rl-lposter { opacity: 0; }
.rl-item.is-live { cursor: pointer; }
.rl-watching { margin: 0; font-size: 14px; font-weight: 600; }
.rl-lnote { margin: 0; font-size: 14px; }
.rl-lnote:empty { display: none; }
.rl-hint { position: absolute; left: 50%; top: 66px; transform: translateX(-50%); z-index: 7; margin: 0; padding: 8px 14px; border-radius: 999px; background: color-mix(in srgb, var(--msg-black) 78%, transparent); color: var(--msg-white); font-size: 14px; max-width: 86%; text-align: center; }
.rl-hint[hidden] { display: none; }
/* the buttons: beside the picture on a wide screen, over it on a phone */
.rl-actions { align-self: end; justify-self: start; display: grid; gap: 14px; justify-items: center; padding: 0 16px 28px; width: 84px; }
.rl-actions[hidden] { display: none; }
.rl-av { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--msg-accent); color: var(--msg-on-accent); font-weight: 800; font-size: 20px; text-decoration: none; border: 2px solid var(--msg-white); }
.rl-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rl-btn { min-width: 56px; border: 0; background: none; color: var(--msg-white); display: grid; justify-items: center; gap: 5px; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; text-decoration: none; text-shadow: 0 1px 4px color-mix(in srgb, var(--msg-black) 80%, transparent); }
.rl-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--msg-white) 14%, transparent); transition: background .15s ease, transform .15s ease; }
.rl-btn > span:last-child { max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* a longer translated label (Portuguese "Compartilhar") is cut with ... and never runs off the screen's edge (owner 2026-11-11) */
.rl-btn:hover .rl-ic { background: color-mix(in srgb, var(--msg-white) 26%, transparent); }
.rl-btn:active .rl-ic { transform: scale(.92); }
.rl-btn.is-on svg { fill: var(--msg-danger); stroke: var(--msg-danger); }
.rl-nav { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); display: grid; gap: 14px; z-index: 25; transition: right .28s ease; }
.rl.has-side .rl-nav { right: 424px; }
.rl-nav[hidden] { display: none; }
.rl-nav button { width: 52px; height: 52px; border: 0; border-radius: var(--btn-rc, 50%); background: color-mix(in srgb, var(--msg-white) 14%, transparent); color: var(--msg-white); cursor: pointer; display: grid; place-items: center; transition: background .15s ease; }
.rl-nav button:hover:not(:disabled) { background: color-mix(in srgb, var(--msg-white) 26%, transparent); }
.rl-nav button:disabled { opacity: .35; cursor: default; }
/* the text beside the picture on a wide screen (like YouTube Shorts); on a phone it sits over the picture */
.rl-info-out { align-self: end; justify-self: start; display: grid; gap: 10px; padding: 0 24px 32px; max-width: min(420px, 100%); box-sizing: border-box; }
.rl-info-out[hidden] { display: none; }
.rl-info-out .rl-who { font-size: 17px; font-weight: 700; }
.rl-info-out .rl-title { font-size: 20px; font-weight: 700; line-height: 1.3; -webkit-line-clamp: 4; }
.rl-visit { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--msg-white); color: var(--msg-black); font-weight: 700; text-decoration: none; }
/* the comments slide-out */
.rl-side { position: fixed; top: var(--ch-h, 54px); right: 0; bottom: 0; width: min(400px, 100%); z-index: 20; background: var(--msg-surface); border-left: 1px solid var(--msg-border); transform: translateX(100%); transition: transform .28s ease; display: flex; flex-direction: column; color: var(--msg-text); }
.rl-side[hidden] { display: none; }
.rl-side.is-in { transform: none; }
.rl-side-x { position: absolute; top: 8px; right: 8px; z-index: 3; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--msg-surface-2); color: var(--msg-text); cursor: pointer; display: grid; place-items: center; }
.rl-side .mc-head { min-height: 60px; padding-right: 60px; box-sizing: border-box; display: flex; align-items: center; } /* room for the close X, so it never sits over the bar below */
.rl-side-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.rl-side .lv-lb-side.mc { position: static; height: 100%; max-height: 100%; width: 100%; border: 0; border-radius: 0; box-shadow: none; grid-column: auto; flex: 1; }
@media (min-width: 901px) {
  .rl-info { display: none; }
}
@media (max-width: 900px) {
  /* a phone: the feed IS the screen (no site header), and a back arrow in the top left corner leads back to where you were */
  .rl-page #ch, .rl-page .ch { display: none; }
  .rl { top: 0; display: flex; }
  /* a soft dark fade under the clock and the buttons (the feed runs under the status bar when the app uses the see-through bar, and the clock must stay readable over any picture) */
  .rl-page::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: calc(env(safe-area-inset-top, 0px) + 92px); z-index: 7; pointer-events: none; background: linear-gradient(to bottom, color-mix(in srgb, var(--msg-black) 60%, transparent), transparent); }
  .rl-back { position: fixed; top: calc(10px + env(safe-area-inset-top)); left: 10px; z-index: 8; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--msg-white); background: color-mix(in srgb, var(--msg-black) 45%, transparent); text-decoration: none; }
  .rl-mute { top: calc(12px + env(safe-area-inset-top)); }
  .rl-tabs { top: calc(12px + env(safe-area-inset-top)); z-index: 9; }
  .rl-hint { top: calc(66px + env(safe-area-inset-top)); }
  /* the out-of-time message keeps clear of the buttons on the right: stacked, centred in the room that is left, above the middle */
  .rl-item .gl-view { box-sizing: border-box; padding: 0 88px 12vh 12px; }
  .rl-item .gl-card { max-width: 100%; padding: 12px; gap: 14px; }
  .rl-item .gl-row { flex-direction: column; text-align: center; gap: 10px; }
  .rl.has-side { padding-right: 0; }
  .rl-info-out { display: none; }
  .rl-col { width: 100%; }
  .rl-ic { background: color-mix(in srgb, var(--msg-black) 38%, transparent); }
  .rl-nav { display: none; }
  .rl-actions { position: absolute; right: 0; bottom: 0; z-index: 5; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .rl-side { top: auto; height: 72dvh; width: 100%; border-left: 0; border-top: 1px solid var(--msg-border); border-radius: 16px 16px 0 0; transform: translateY(100%); }
  .rl-side.is-in { transform: none; }
}
@media (hover: none) { .rl-nav { display: none; } }
@media (prefers-reduced-motion: reduce) { .rl-side, .rl, .rl-nav { transition: none; } }
