/* Runna Media chat assistant and phone contact bar (assets/assist/assist-2026-11-02.css)
   Loaded on every page except /go/. Pairs with assist-2026-11-02.js. Every class starts with rmc- so nothing
   here touches the site's own styles. Clean frosted glass, no photo or image backgrounds.
   Stacking: launcher, teaser and phone bar z-index 90 (below the nav 100, the video modal 1000, the cookie banner
   100000 and the skip link 100001); the open panel 99990 (above everything except the cookie banner and skip link). */

.rmc-root {
  --rmc-ink: #F5F5F7;
  --rmc-ink-2: #C9C9CF;
  --rmc-dim: #A1A1A8;
  --rmc-glass: rgba(12, 12, 14, 0.88);
  --rmc-glass-solid: rgba(10, 10, 12, 0.97);
  --rmc-line: rgba(255, 255, 255, 0.12);
  --rmc-line-soft: rgba(255, 255, 255, 0.08);
  --rmc-bot: rgba(255, 255, 255, 0.075);
  --rmc-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --rmc-display: 'League Spartan', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --rmc-text: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --rmc-blur: blur(24px) saturate(160%);
  font-family: var(--rmc-text);
  color: var(--rmc-ink);
}
.rmc-root *, .rmc-root *::before, .rmc-root *::after { box-sizing: border-box; }
.rmc-root [hidden] { display: none !important; }
.rmc-root p { margin: 0; }
.rmc-root button, .rmc-root input {
  font: inherit; color: inherit; margin: 0; text-transform: none; letter-spacing: normal;
  -webkit-appearance: none; appearance: none;
}
.rmc-root button { background: none; border: 0; padding: 0; cursor: pointer; }
.rmc-root a { color: inherit; }
.rmc-root svg { display: block; flex: none; }
.rmc-root :focus { outline: none; }
.rmc-root :focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }
.rmc-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------------ launcher (768px and wider) */
.rmc-launcher {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #FFFFFF;
  background: rgba(12, 12, 14, 0.72);
  -webkit-backdrop-filter: var(--rmc-blur); backdrop-filter: var(--rmc-blur);
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.7);
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(0.92);
  transition: opacity 0.45s var(--rmc-ease), transform 0.45s var(--rmc-ease), visibility 0s linear 0.45s, background 0.2s ease;
}
.rmc-launcher.rmc-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.rmc-launcher:hover { background: rgba(28, 28, 32, 0.82); }
.rmc-launcher svg { width: 24px; height: 24px; }
.rmc-launcher .rmc-ico-x { display: none; width: 20px; height: 20px; }
.rmc-launcher[aria-expanded="true"] .rmc-ico-chat { display: none; }
.rmc-launcher[aria-expanded="true"] .rmc-ico-x { display: block; }
.rmc-launcher .rmc-dot { opacity: 1; }
.rmc-launcher.rmc-intro .rmc-dot { animation: rmc-dotin 0.5s var(--rmc-ease) both; }
.rmc-launcher.rmc-intro .rmc-dot:nth-of-type(2) { animation-delay: 0.12s; }
.rmc-launcher.rmc-intro .rmc-dot:nth-of-type(3) { animation-delay: 0.24s; }
@keyframes rmc-dotin { from { opacity: 0; transform: translateY(2px); } to { opacity: 1; transform: none; } }

.rmc-pill {
  position: fixed; right: 92px; bottom: 36px; z-index: 90;
  font: 600 13px/1 var(--rmc-display); letter-spacing: 0.02em; color: var(--rmc-ink);
  padding: 9px 14px 8px; border-radius: 999px;
  background: var(--rmc-glass);
  -webkit-backdrop-filter: var(--rmc-blur); backdrop-filter: var(--rmc-blur);
  border: 1px solid var(--rmc-line);
  opacity: 0; transform: translateX(8px); pointer-events: none;
  transition: opacity 0.4s var(--rmc-ease), transform 0.4s var(--rmc-ease);
}
.rmc-pill.rmc-on { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ teaser (desktop, once per visit) */
.rmc-teaser {
  position: fixed; right: 24px; bottom: 94px; z-index: 91;
  width: 272px; padding: 14px 14px 14px;
  border-radius: 20px;
  background: var(--rmc-glass);
  -webkit-backdrop-filter: var(--rmc-blur); backdrop-filter: var(--rmc-blur);
  border: 1px solid var(--rmc-line);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.45s var(--rmc-ease), transform 0.45s var(--rmc-ease), visibility 0s linear 0.45s;
}
.rmc-teaser.rmc-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.rmc-teaser-who {
  display: flex; align-items: center; gap: 8px;
  font: 600 11px/1 var(--rmc-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--rmc-dim);
  padding-right: 26px;
}
.rmc-teaser-who img { height: 12px !important; width: auto !important; max-width: none; }
.rmc-teaser-line { font-size: 14px; line-height: 1.4; margin: 10px 0 12px !important; color: var(--rmc-ink); }
.rmc-teaser .rmc-dismiss {
  position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--rmc-dim);
}
.rmc-teaser .rmc-dismiss:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.08); }
.rmc-teaser .rmc-dismiss svg { width: 14px; height: 14px; }

/* ------------------------------------------------------------------ chips */
.rmc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rmc-root .rmc-chip {
  border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.04); color: var(--rmc-ink);
  border-radius: 999px; padding: 8px 12px; font-size: 13px; line-height: 1.25; text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.rmc-root .rmc-chip:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.34); }
.rmc-chips.rmc-pop .rmc-chip { animation: rmc-pop 0.42s var(--rmc-ease) both; }
.rmc-chips.rmc-pop .rmc-chip:nth-child(2) { animation-delay: 0.07s; }
.rmc-chips.rmc-pop .rmc-chip:nth-child(3) { animation-delay: 0.14s; }
.rmc-chips.rmc-pop .rmc-chip:nth-child(4) { animation-delay: 0.21s; }
.rmc-chips.rmc-pop .rmc-chip:nth-child(5) { animation-delay: 0.28s; }
@keyframes rmc-pop { from { opacity: 0; transform: translateY(6px) scale(0.97); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ panel */
.rmc-panel {
  position: fixed; right: 24px; bottom: 94px; z-index: 99990;
  width: 380px; height: min(640px, calc(100vh - 128px));
  display: flex; flex-direction: column;
  border-radius: 24px; overflow: hidden;
  background: var(--rmc-glass);
  -webkit-backdrop-filter: var(--rmc-blur); backdrop-filter: var(--rmc-blur);
  border: 1px solid var(--rmc-line);
  box-shadow: 0 30px 80px -24px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(0, 0, 0, 0.4);
  opacity: 0; transform: translateY(12px) scale(0.98); transform-origin: bottom right;
  transition: opacity 0.35s var(--rmc-ease), transform 0.45s var(--rmc-ease);
}
.rmc-panel.rmc-open { opacity: 1; transform: none; }
.rmc-panel:focus { outline: none; }

.rmc-head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 14px 14px 16px; border-bottom: 1px solid var(--rmc-line-soft);
}
.rmc-mark {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: #000000; border: 1px solid rgba(255, 255, 255, 0.14);
}
.rmc-mark img { height: 16px !important; width: auto !important; max-width: none; display: block; }
.rmc-id { min-width: 0; flex: 1; }
.rmc-name { font: 600 16px/1.15 var(--rmc-display); letter-spacing: 0.01em; color: #FFFFFF; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rmc-tag {
  font: 600 10px/1 var(--rmc-display); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--rmc-ink-2); border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; padding: 4px 7px 3px;
}
.rmc-sub { font-size: 12.5px; line-height: 1.35; color: var(--rmc-dim); margin-top: 4px !important; }
.rmc-root .rmc-x {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center; color: var(--rmc-ink-2);
  transition: background 0.2s ease, color 0.2s ease;
}
.rmc-root .rmc-x:hover { background: rgba(255, 255, 255, 0.08); color: #FFFFFF; }
.rmc-root .rmc-x svg { width: 16px; height: 16px; }

.rmc-quick { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--rmc-line-soft); }
.rmc-root .rmc-q {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 36px; padding: 0 8px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2); color: var(--rmc-ink);
  font: 600 12.5px/1 var(--rmc-display); letter-spacing: 0.02em; text-decoration: none; white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.rmc-root .rmc-q:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.34); }
.rmc-root .rmc-q-main { background: #FFFFFF; color: #0A0A0A; border-color: #FFFFFF; flex: 1.5; }
.rmc-root .rmc-q-main:hover { background: #E5E5E5; border-color: #E5E5E5; }
.rmc-q svg { width: 14px; height: 14px; }

.rmc-log {
  flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 8px;
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}
.rmc-log:focus { outline: none; }
.rmc-log:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.6); outline-offset: -2px; }
.rmc-msg {
  max-width: 85%; padding: 10px 13px; border-radius: 18px;
  font-size: 14.5px; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-line;
}
.rmc-msg.rmc-anim { animation: rmc-pop 0.35s var(--rmc-ease) both; }
.rmc-bot { align-self: flex-start; background: var(--rmc-bot); border: 1px solid var(--rmc-line-soft); border-bottom-left-radius: 6px; color: var(--rmc-ink); }
.rmc-me { align-self: flex-end; background: #FFFFFF; color: #0A0A0A; border-bottom-right-radius: 6px; }
.rmc-msg a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.rmc-root .rmc-cta {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  margin: 2px 0 2px; padding: 9px 14px 8px; border-radius: 999px;
  background: #FFFFFF; color: #0A0A0A; text-decoration: none;
  font: 600 13px/1 var(--rmc-display); letter-spacing: 0.02em;
}
.rmc-root .rmc-cta:hover { background: #E5E5E5; }
.rmc-root .rmc-cta svg { width: 13px; height: 13px; }
.rmc-root .rmc-link {
  align-self: flex-start; font-size: 13px; color: var(--rmc-ink-2); text-decoration: underline; text-underline-offset: 3px;
  padding: 2px 2px;
}
.rmc-root .rmc-link:hover { color: #FFFFFF; }
.rmc-log .rmc-chips { margin: 4px 0 2px; }

.rmc-typing {
  align-self: flex-start; display: flex; align-items: center; gap: 4px;
  padding: 13px 14px; border-radius: 18px; border-bottom-left-radius: 6px;
  background: var(--rmc-bot); border: 1px solid var(--rmc-line-soft);
}
.rmc-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--rmc-ink-2); opacity: 0.4; animation: rmc-bounce 1.2s infinite ease-in-out; }
.rmc-typing i:nth-of-type(2) { animation-delay: 0.15s; }
.rmc-typing i:nth-of-type(3) { animation-delay: 0.3s; }
@keyframes rmc-bounce { 0%, 60%, 100% { transform: none; opacity: 0.4; } 30% { transform: translateY(-3px); opacity: 1; } }
.rmc-typing .rmc-typing-label { display: none; font-size: 12.5px; color: var(--rmc-dim); margin-right: 4px; }
.rmc-typing.rmc-static i { animation: none; opacity: 0.7; }
.rmc-typing.rmc-static .rmc-typing-label { display: inline; }

/* lead capture card */
.rmc-lead {
  align-self: stretch; margin: 2px 0 4px; padding: 14px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--rmc-line);
}
.rmc-lead-row { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }
.rmc-lead label { font: 600 11.5px/1.2 var(--rmc-display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--rmc-ink-2); }
.rmc-lead label span { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--rmc-dim); }
.rmc-root .rmc-lead input {
  width: 100%; min-height: 42px; padding: 9px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.4);   /* about 4:1 on the glass (WCAG 1.4.11) */
  color: #FFFFFF; font-size: 16px; line-height: 1.3;
}
.rmc-root .rmc-lead input::placeholder { color: #B4B4BA; opacity: 1; }
.rmc-root .rmc-lead input:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 1px; }
.rmc-lead-consent { font-size: 12px; line-height: 1.4; color: var(--rmc-dim); margin: 2px 0 12px !important; }
.rmc-lead-actions { display: flex; gap: 8px; align-items: center; }
.rmc-root .rmc-lead-send {
  flex: 1; min-height: 42px; border-radius: 999px; background: #FFFFFF; color: #0A0A0A;
  font: 600 14px/1 var(--rmc-display); letter-spacing: 0.02em;
}
.rmc-root .rmc-lead-send:hover { background: #E5E5E5; }
.rmc-root .rmc-lead-send[disabled] { opacity: 0.6; cursor: progress; }
.rmc-root .rmc-lead-skip { min-height: 42px; padding: 0 12px; border-radius: 999px; color: var(--rmc-ink-2); font-size: 13.5px; }
.rmc-root .rmc-lead-skip:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.06); }
.rmc-lead-err { font-size: 12.5px; line-height: 1.4; color: #FFB4AB; margin-top: 8px !important; }
.rmc-lead-err:empty { display: none; }

/* input */
.rmc-form { display: flex; gap: 8px; align-items: center; padding: 10px 12px 8px; border-top: 1px solid var(--rmc-line-soft); }
.rmc-root .rmc-input {
  flex: 1; min-width: 0; min-height: 44px; padding: 10px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.4);   /* about 4:1 on the glass (WCAG 1.4.11) */
  color: #FFFFFF; font-size: 16px; line-height: 1.3;
}
.rmc-root .rmc-input::placeholder { color: #A1A1A8; opacity: 1; }
.rmc-root .rmc-input:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 1px; }
.rmc-root .rmc-send {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: #FFFFFF; color: #0A0A0A; transition: background 0.2s ease, opacity 0.2s ease;
}
.rmc-root .rmc-send:hover { background: #E5E5E5; }
.rmc-root .rmc-send[aria-disabled="true"] { opacity: 0.55; cursor: default; }
.rmc-root .rmc-send svg { width: 18px; height: 18px; }
.rmc-fine { font-size: 11.5px; line-height: 1.4; color: var(--rmc-dim); padding: 0 16px 12px; }
.rmc-fine a { color: var(--rmc-ink-2); text-underline-offset: 2px; }

/* ------------------------------------------------------------------ phone bar (under 768px) */
.rmc-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px;
  padding: 8px max(12px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  background: rgba(10, 10, 12, 0.86);
  -webkit-backdrop-filter: var(--rmc-blur); backdrop-filter: var(--rmc-blur);
  border-top: 1px solid var(--rmc-line);
  transform: translateY(110%); visibility: hidden;
  transition: transform 0.45s var(--rmc-ease), visibility 0s linear 0.45s;
}
.rmc-bar.rmc-on { transform: none; visibility: visible; transition-delay: 0s; }
.rmc-root .rmc-b {
  min-height: 44px; border-radius: 14px; padding: 0 4px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.04); color: var(--rmc-ink);
  font: 600 13.5px/1 var(--rmc-display); letter-spacing: 0.02em; text-decoration: none; white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.rmc-root .rmc-b:active { background: rgba(255, 255, 255, 0.12); }
.rmc-root .rmc-b-main { background: #FFFFFF; color: #0A0A0A; border-color: #FFFFFF; }
.rmc-root .rmc-b-main:active { background: #E5E5E5; }
.rmc-b svg { width: 17px; height: 17px; }
.rmc-spacer { display: none; height: calc(60px + env(safe-area-inset-bottom)); }
html.rmc-has-bar .rmc-spacer { display: block; }

/* ------------------------------------------------------------------ tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .rmc-launcher { width: 52px; height: 52px; right: 20px; bottom: 20px; }
  .rmc-teaser { right: 20px; bottom: 86px; }
  .rmc-panel { right: 20px; bottom: 86px; height: min(640px, calc(100vh - 116px)); }
}

/* ------------------------------------------------------------------ phone: the panel is a full height sheet */
@media (max-width: 767px) {
  .rmc-launcher, .rmc-pill, .rmc-teaser { display: none !important; }
  .rmc-panel {
    left: 0; right: 0; top: 0; bottom: auto; width: auto;
    height: 100vh; height: 100dvh;
    border-radius: 0; border: 0;
    background: var(--rmc-glass-solid);
    box-shadow: none;
    transform: translateY(24px); transform-origin: bottom center;
    padding-top: env(safe-area-inset-top);
  }
  .rmc-panel.rmc-open { transform: none; }
  .rmc-head { padding: 12px 10px 12px max(16px, env(safe-area-inset-left)); }
  .rmc-quick { padding: 10px 12px; }
  .rmc-root .rmc-q { min-height: 40px; font-size: 13.5px; }
  .rmc-log { padding: 16px 12px 8px; }
  .rmc-msg { font-size: 15.5px; }
  .rmc-form { padding: 10px max(12px, env(safe-area-inset-right)) 8px max(12px, env(safe-area-inset-left)); }
  .rmc-fine { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  html.rmc-lock, html.rmc-lock body { overflow: hidden !important; }
}
@media (min-width: 768px) {
  .rmc-bar, .rmc-spacer { display: none !important; }
}

/* ------------------------------------------------------------------ short screens (phone held sideways, 200 to 400% zoom) */
/* The whole panel scrolls, the conversation keeps a readable height, and the fine print and Privacy link stay reachable
   (WCAG 1.4.10 Reflow). */
@media (max-height: 560px) {
  .rmc-panel { overflow-y: auto; overscroll-behavior: contain; }
  .rmc-log { flex: none; height: 180px; min-height: 180px; }
  .rmc-sub { display: none; }
}
@media (max-height: 560px) and (min-width: 768px) {
  .rmc-panel { top: 8px; height: auto; }
}

/* ------------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  .rmc-launcher, .rmc-teaser, .rmc-panel, .rmc-bar, .rmc-pill { transition: opacity 0.01s linear, visibility 0s !important; transform: none !important; }
  .rmc-msg.rmc-anim, .rmc-chips.rmc-pop .rmc-chip, .rmc-launcher.rmc-intro .rmc-dot { animation: none !important; }
  .rmc-typing i { animation: none !important; opacity: 0.7; }
  .rmc-typing .rmc-typing-label { display: inline; }
}

/* Windows high contrast */
@media (forced-colors: active) {
  .rmc-launcher, .rmc-panel, .rmc-teaser, .rmc-bar, .rmc-msg, .rmc-chip, .rmc-q, .rmc-b, .rmc-cta { border: 1px solid CanvasText !important; }
}

@media print { .rmc-root, .rmc-spacer { display: none !important; } }


/* ================================================================== Film look (Nov 2 2026): Devin's face on the launcher,
   a frame from the reel behind the header, a record dot, and real clips inside the thread. */
.rmc-root .rmc-face { border-radius: 50%; object-fit: cover; display: block; flex: none; max-width: none; }
.rmc-launcher { padding: 0; overflow: visible; background: #000; }
.rmc-launcher .rmc-face { width: 100% !important; height: 100% !important; border-radius: 50%; }
.rmc-launcher[aria-expanded="true"] .rmc-face { display: none; }
.rmc-launcher .rmc-ico-x { display: none; }
.rmc-launcher[aria-expanded="true"] .rmc-ico-x { display: block; }
.rmc-launcher .rmc-live {
  position: absolute; right: -1px; bottom: 1px; width: 14px; height: 14px; border-radius: 50%;
  background: #34C759; border: 2.5px solid #0A0A0C; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.rmc-launcher[aria-expanded="true"] .rmc-live { display: none; }
.rmc-teaser-who .rmc-face, .rmc-teaser-who img { width: 22px !important; height: 22px !important; border-radius: 50%; object-fit: cover; }
.rmc-teaser-who { text-transform: none; letter-spacing: 0.01em; font-size: 12.5px; color: var(--rmc-ink); }
.rmc-root .rmc-b .rmc-face { width: 22px !important; height: 22px !important; }

.rmc-head { position: relative; display: block; padding: 0; height: 118px; overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, 0.1); background: #000; }
.rmc-head .rmc-frame { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; filter: saturate(0.6) brightness(0.55); }
.rmc-head-in {
  position: absolute; inset: 0; padding: 14px 16px 13px; display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(11, 11, 12, 0.96));
}
.rmc-rec { display: flex; align-items: center; gap: 7px; font: 600 10.5px/1 var(--rmc-display); letter-spacing: 0.14em; text-transform: uppercase; color: #D9D9D9; }
.rmc-rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #E5484D; box-shadow: 0 0 10px #E5484D; animation: rmc-rec 2.4s ease-in-out infinite; }
@keyframes rmc-rec { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.rmc-who { display: flex; align-items: center; gap: 10px; }
.rmc-who .rmc-face { width: 40px !important; height: 40px !important; border: 1.5px solid #fff; }
.rmc-name { font: 600 17px/1 var(--rmc-display); color: #fff; }
.rmc-sub { font-size: 12px; color: #B5B5B5; margin-top: 4px !important; display: flex; align-items: center; gap: 6px; }
.rmc-sub::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34C759; flex: none; }
.rmc-root .rmc-x { position: absolute; top: 10px; right: 10px; z-index: 1; background: rgba(0, 0, 0, 0.35); color: #fff; }
.rmc-root .rmc-x:hover { background: rgba(0, 0, 0, 0.6); }

.rmc-bot { background: #161618; border: 0; }
.rmc-reel { align-self: stretch; flex: none; position: relative; height: 0; padding-top: 56.25%; border-radius: 14px; overflow: hidden; background: #000; margin: 2px 0; }
.rmc-reel-v { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; background: #000; }
.rmc-reel-tag {
  position: absolute; left: 10px; bottom: 9px; pointer-events: none;
  font: 600 10.5px/1 var(--rmc-display); letter-spacing: 0.1em; text-transform: uppercase; color: #fff;
  background: rgba(0, 0, 0, 0.55); padding: 6px 8px; border-radius: 6px;
}
.rmc-reel.rmc-playing .rmc-reel-tag { display: none; }
.rmc-reel-v::-webkit-media-controls-panel { background: linear-gradient(transparent, rgba(0, 0, 0, 0.6)); }

@media (max-width: 767px) {
  .rmc-head { height: 112px; border-radius: 0; }
  .rmc-head-in { padding: calc(12px + env(safe-area-inset-top)) max(16px, env(safe-area-inset-left)) 12px; }
  .rmc-root .rmc-x { top: calc(8px + env(safe-area-inset-top)); }
}
@media (max-height: 560px) { .rmc-head { height: 72px; } .rmc-rec { display: none; } .rmc-sub { display: flex; } }
@media (prefers-reduced-motion: reduce) { .rmc-rec::before { animation: none; } }
@media (forced-colors: active) { .rmc-head .rmc-frame { display: none; } .rmc-reel { border: 1px solid CanvasText; } }
