/* Stoney After Dark — an aggressive, content-first product shell. */

:root {
  --bg: #060806;
  --panel: #0c120d;
  --surface: #111a13;
  --surface-2: #19251b;
  --text: #f7f3df;
  --muted: #aeb2a1;
  --border: rgba(189, 211, 144, 0.16);
  --leaf: #a8d53f;
  --gold: #ffc324;
  --plum: #da702e;
  --display: Iowan Old Style, Baskerville, "Palatino Linotype", Palatino, serif;
  --sans: Avenir Next, Avenir, Inter, ui-sans-serif, system-ui, sans-serif;
}

html { background: var(--bg); }

body {
  background:
    radial-gradient(70rem 42rem at 6% -16%, rgba(85, 137, 49, 0.2), transparent 62%),
    radial-gradient(54rem 38rem at 96% 6%, rgba(255, 195, 36, 0.07), transparent 62%),
    linear-gradient(145deg, #060806, #090d0a 52%, #050705);
  color: var(--text);
}

body::before { opacity: 0.13; background-size: 72px 72px; mask-image: linear-gradient(to bottom, black, transparent 84%); }
h1, h2, h3 { color: var(--text); }
h1 { font-size: clamp(3.25rem, 7vw, 7.8rem); line-height: 0.84; letter-spacing: -0.065em; }
.eyebrow { margin: 0 0 11px; color: var(--gold); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; }
.meta, .small { color: var(--muted); font-size: 0.82rem; }

/* A floating broadcast dock replaces the permanent dashboard sidebar. */
.app-shell { min-height: 100vh; display: block; padding-top: 94px; }
.sidebar {
  position: fixed;
  inset: 14px 18px auto;
  z-index: 30;
  width: auto;
  height: 66px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 7px 9px;
  overflow: visible;
  border: 1px solid rgba(189, 211, 144, 0.18);
  border-radius: 22px;
  background: rgba(8, 14, 9, 0.88);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(26px) saturate(1.25);
}
.brand { flex: 0 0 auto; gap: 10px; padding: 0 9px 0 0; }
.brand img { width: 50px; height: 50px; border: 1px solid rgba(168, 213, 63, 0.3); border-radius: 16px; box-shadow: 0 9px 26px rgba(0, 0, 0, 0.38), 0 0 24px rgba(88, 151, 50, 0.12); }
.brand-title { max-width: 145px; color: var(--text); font-family: var(--display); font-size: 1rem; line-height: 1; white-space: nowrap; }
.brand-subtitle { display: none; }
.nav { flex: 0 0 auto; display: flex; gap: 3px; }
.nav button { min-height: 48px; padding: 5px 11px; gap: 7px; border: 0; border-radius: 15px; background: transparent; color: #c5c9b7; font-size: 0.82rem; font-weight: 800; }
.nav-icon { width: 27px; height: 27px; border-radius: 9px; background: transparent; color: inherit; font-size: 1.18rem; }
.nav button:hover, .nav button:focus-visible { background: rgba(168, 213, 63, 0.08); color: var(--text); }
.nav button.active { border: 0; background: var(--leaf); color: #0a1008; box-shadow: 0 9px 26px rgba(105, 147, 37, 0.22); }
.nav button.active .nav-icon { background: transparent; color: inherit; }
.shell-search-wrap { min-width: 150px; max-width: 360px; flex: 1 1 260px; margin-left: auto; }
.shell-search { min-height: 44px; border-color: rgba(189, 211, 144, 0.15); border-radius: 14px; background: rgba(255, 255, 255, 0.045); }
.shell-search:focus { outline: 2px solid rgba(168, 213, 63, 0.38); border-color: var(--leaf); }
.wallet { position: static; flex: 0 0 auto; display: flex; align-items: center; gap: 7px; margin: 0 0 0 auto; padding: 0; }
.wallet::before, .wallet::after { content: none; }
.wallet > .notice, .wallet > .file-mode-notice { display: none; }
.rail-status { display: flex; align-items: center; gap: 7px; padding: 0 8px; color: var(--muted); font-size: 0.75rem; }
.rail-status-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 999px; background: var(--leaf); box-shadow: 0 0 0 4px rgba(168, 213, 63, 0.11); }
.rail-balance, .shell-more summary { min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 5px 12px; border: 1px solid rgba(189, 211, 144, 0.14); border-radius: 14px; background: rgba(255, 255, 255, 0.035); color: var(--text); font: inherit; cursor: pointer; }
.rail-balance { flex-direction: column; line-height: 1; }
.rail-balance strong { color: #ffcf43; font-size: 0.9rem; }
.rail-balance span, .shell-more summary span:last-child { color: var(--muted); font-size: 0.72rem; }
.shell-more { position: relative; }
.shell-more summary { flex-direction: column; min-width: 52px; padding-inline: 8px; list-style: none; }
.shell-more summary::-webkit-details-marker { display: none; }
.shell-more summary span:first-child { color: #d8e996; letter-spacing: 0.12em; }
.shell-more[open] summary { border-color: rgba(168, 213, 63, 0.4); background: rgba(168, 213, 63, 0.11); }
.shell-more-menu { position: absolute; z-index: 40; top: calc(100% + 14px); right: 0; width: 245px; display: grid; gap: 6px; padding: 12px; border: 1px solid rgba(189, 211, 144, 0.18); border-radius: 18px; background: rgba(12, 19, 13, 0.98); box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48); }
.shell-more-menu .ghost-button { min-height: 40px; justify-content: flex-start; padding-inline: 11px; text-align: left; }

/* Shared route canvas. */
.main { width: 100%; min-width: 0; padding: 18px clamp(18px, 3vw, 52px) 54px; }
.topbar { display: none; }
.view, .search-context-panel, .main-status-row { width: 100%; max-width: 1540px; margin-inline: auto; }
.page-header { min-height: 180px; align-items: end; margin: 0 0 26px; padding: 18px 0 25px; border-bottom: 1px solid rgba(189, 211, 144, 0.14); }
.page-header h1 { margin: 0; }
.page-header .meta { margin-top: 18px; font-size: 0.9rem; }
.section-destination-tabs { position: sticky; top: 94px; z-index: 12; width: fit-content; margin: 0 0 10px auto; padding: 4px; border: 1px solid rgba(189, 211, 144, 0.15); border-radius: 999px; background: rgba(8, 14, 9, 0.82); backdrop-filter: blur(18px); }
.section-destination-tabs .tab-button { min-height: 38px; padding: 6px 16px; border: 0; border-radius: 999px; background: transparent; font-size: 0.82rem; }
.section-destination-tabs .tab-button.active { background: #edf5ce; color: #10160d; }
.primary-button { border-color: #ffd55c; border-radius: 14px; background: linear-gradient(180deg, #ffd54f, #f2a51a); color: #171207; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48), 0 10px 28px rgba(212, 132, 15, 0.17); }
.ghost-button, .icon-button, .chip, .tab-button { border-color: rgba(189, 211, 144, 0.16); border-radius: 13px; background: rgba(255, 255, 255, 0.035); }
.ghost-button:hover, .ghost-button:focus-visible, .icon-button:hover, .icon-button:focus-visible, .chip:hover, .chip:focus-visible { border-color: rgba(168, 213, 63, 0.4); background: rgba(168, 213, 63, 0.1); color: #f2f6db; }
.card, .detail-panel, .feature-panel, .metric-card, .people-discovery-metric, .notification-card, .remote-guidance { border-color: rgba(189, 211, 144, 0.14); border-radius: 22px; background: rgba(15, 23, 17, 0.7); box-shadow: none; }
.card:hover { border-color: rgba(168, 213, 63, 0.34); transform: translateY(-3px); }
.studio-toolbar { padding: 0 0 16px; border: 0; border-bottom: 1px solid rgba(189, 211, 144, 0.12); border-radius: 0; background: transparent; }
.studio-toolbar .tabs { gap: 7px; }
.studio-toolbar .tab-button { border-radius: 999px; }

/* Home is a viewing room, not a dashboard. */
.route-home .main { padding-top: 8px; overflow: hidden; }
.home-view { max-width: 1720px; gap: 0; }
.home-top-install:empty { display: none; }
.home-cinema-shell { min-width: 0; display: grid; grid-template-columns: minmax(540px, 1fr) minmax(290px, 340px); gap: clamp(18px, 2.4vw, 38px); align-items: start; }
.home-stage-column { min-width: 0; display: grid; gap: 12px; }
.home-stage-column .home-feed-header { min-height: 92px; padding: 5px 2px 14px; border: 0; border-bottom: 1px solid rgba(189, 211, 144, 0.13); border-radius: 0; background: transparent; box-shadow: none; }
.home-stage-column .home-feed-header h1 { max-width: min(70vw, 920px); margin: 0; overflow: hidden; color: var(--text); font-size: clamp(2.45rem, 5vw, 5.4rem); line-height: 0.82; text-overflow: ellipsis; white-space: nowrap; }
.home-stage-column .home-feed-header.has-live h1::before { display: block; margin-bottom: 9px; color: #d9e99a; content: "NOW PLAYING"; font-family: var(--sans); font-size: 0.76rem; font-weight: 900; letter-spacing: 0.18em; }
.home-feed-tabs { margin-top: 14px; }
.home-feed-tabs .tab-button, .home-feed-tabs .tab-button.active { min-height: 36px; padding: 7px 15px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 0.82rem; }
.home-feed-tabs .tab-button.active { background: #edf5ce; color: #10160d; }
.home-feed-coach { display: none; }
.home-watch-feed { height: calc(100dvh - 225px); max-height: 980px; gap: 24px; }
.home-reel-card { position: relative; width: 100%; display: block; }
.home-reel-media { min-height: calc(100dvh - 225px); height: calc(100dvh - 225px); max-height: 980px; border-color: rgba(189, 211, 144, 0.2); border-radius: 30px; background: #030503; box-shadow: 0 35px 100px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.home-reel-media::after { position: absolute; inset: 0; z-index: 1; pointer-events: none; border: 1px solid rgba(255, 255, 255, 0.05); border-radius: inherit; content: ""; }
.home-reel-gradient, .home-reel-card.is-live .home-reel-gradient { height: 66%; background: linear-gradient(180deg, transparent 0%, rgba(4, 8, 5, 0.45) 38%, rgba(4, 8, 5, 0.97) 100%), radial-gradient(circle at 12% 100%, rgba(111, 163, 51, 0.22), transparent 42%); }
.home-reel-copy { left: clamp(22px, 3.5vw, 58px); right: 110px; bottom: clamp(24px, 4vw, 58px); gap: 11px; }
.home-reel-copy h2 { max-width: 850px; font-family: var(--display); font-size: clamp(2.1rem, 4.4vw, 4.8rem); line-height: 0.9; letter-spacing: -0.055em; }
.home-reel-copy p { max-width: 680px; color: rgba(247, 243, 223, 0.84); font-size: 0.96rem; line-height: 1.45; }
.home-reel-actions { position: absolute; z-index: 8; right: 16px; bottom: 20px; width: 68px; align-self: auto; padding: 0; }
.home-reel-action { min-height: 58px; border-color: rgba(224, 237, 192, 0.18); border-radius: 20px; background: rgba(8, 14, 9, 0.8); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22); backdrop-filter: blur(18px); }
.home-reel-action span { background: rgba(168, 213, 63, 0.13); color: #def19c; }

.home-cinema-rail { position: sticky; top: 102px; height: calc(100dvh - 120px); min-height: 580px; overflow: auto; display: grid; align-content: start; gap: 24px; padding: clamp(21px, 2.2vw, 30px); border: 1px solid rgba(189, 211, 144, 0.16); border-radius: 30px; background: radial-gradient(30rem 20rem at 90% -8%, rgba(255, 195, 36, 0.11), transparent 62%), linear-gradient(155deg, rgba(20, 31, 22, 0.96), rgba(8, 15, 10, 0.97)); box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3); scrollbar-width: thin; }
.cinema-rail-intro { display: grid; gap: 11px; padding-bottom: 23px; border-bottom: 1px solid rgba(189, 211, 144, 0.13); }
.cinema-rail-kicker { color: var(--gold); font-size: 0.76rem; font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase; }
.cinema-rail-intro > strong { color: var(--text); font-family: var(--display); font-size: clamp(2rem, 2.7vw, 2.8rem); line-height: 0.9; letter-spacing: -0.05em; }
.cinema-rail-intro p { margin: 0 0 5px; color: #bcc0ad; font-size: 0.9rem; line-height: 1.5; }
.cinema-rail-intro .primary-button { width: 100%; }
.cinema-rail-section, .cinema-rail-list { display: grid; gap: 9px; }
.cinema-rail-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #eff4d9; font-size: 0.82rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.cinema-rail-heading .text-button { min-height: 30px; color: #d3df98; font-size: 0.75rem; text-transform: none; }
.cinema-media-row { width: 100%; min-width: 0; min-height: 62px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px; border: 1px solid transparent; border-radius: 16px; background: rgba(255, 255, 255, 0.025); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.cinema-media-row:hover, .cinema-media-row:focus-visible { border-color: rgba(168, 213, 63, 0.34); background: rgba(168, 213, 63, 0.08); }
.cinema-media-row .avatar { width: 42px; height: 42px; }
.cinema-media-copy { min-width: 0; display: grid; gap: 3px; }
.cinema-media-copy strong, .cinema-media-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cinema-media-copy strong { font-size: 0.84rem; }
.cinema-media-copy small, .cinema-media-cue { color: var(--muted); font-size: 0.75rem; }
.cinema-media-row.is-live .cinema-media-cue { padding: 4px 6px; border-radius: 999px; background: rgba(231, 96, 79, 0.14); color: #ff9585; font-weight: 900; }
.cinema-rail-empty { min-height: 54px; display: flex; gap: 11px; align-items: center; padding: 10px; color: var(--muted); font-size: 0.8rem; }
.cinema-standing-card { width: 100%; min-width: 0; display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 13px; align-items: center; padding: 12px; border: 1px solid rgba(255, 195, 36, 0.24); border-radius: 20px; background: linear-gradient(135deg, rgba(255, 195, 36, 0.11), rgba(168, 213, 63, 0.07)); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.cinema-standing-card img { width: 66px; height: 66px; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.3)); }
.cinema-standing-card span { min-width: 0; display: grid; gap: 3px; }
.cinema-standing-card small { color: var(--gold); font-size: 0.72rem; font-weight: 900; text-transform: uppercase; }
.cinema-standing-card strong { font-size: 0.86rem; line-height: 1.25; }
.cinema-standing-card em { color: var(--muted); font-size: 0.75rem; font-style: normal; }

/* Discover and People lose the stacked dashboard furniture. */
.people-page { max-width: 1540px; }
.people-header { min-height: 116px; align-items: end; margin-bottom: 10px; padding: 10px 0 18px; background: radial-gradient(42rem 12rem at 5% 100%, rgba(168, 213, 63, 0.09), transparent 70%); }
.people-header h1 { font-size: clamp(2.7rem, 5vw, 5.2rem); line-height: 0.88; }
.people-header .meta { margin-top: 11px; }
.people-toolbar { position: sticky; top: 94px; z-index: 10; display: flex; align-items: center; margin-bottom: 20px; padding: 9px 0 16px; background: linear-gradient(180deg, rgba(6, 8, 6, 0.98) 68%, transparent); }
.people-result-count { margin-left: auto; color: var(--muted); font-size: 0.78rem; }
.people-results { min-width: 0; }
.people-grid { grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 2px 14px; }
.people-account-row {
  min-width: 0;
  min-height: 94px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 4px;
  border: 0;
  border-bottom: 1px solid rgba(189, 211, 144, 0.11);
  background: transparent;
}
.people-account-row:hover { background: linear-gradient(90deg, rgba(168, 213, 63, 0.055), transparent 86%); }
.people-account-row .avatar { width: 54px; height: 54px; }
.people-account-copy { min-width: 0; display: grid; gap: 4px; }
.people-account-title { min-width: 0; display: flex; align-items: baseline; gap: 7px; }
.people-account-title strong, .people-account-title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.people-account-title strong { flex: 0 1 auto; color: var(--text); font-size: 0.94rem; }
.people-account-title span { flex: 1 1 auto; color: var(--muted); font-size: 0.76rem; }
.people-account-copy > p { min-width: 0; margin: 0; overflow: hidden; color: #b8bcaa; font-size: 0.8rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.people-account-meta { min-width: 0; display: flex; align-items: center; gap: 6px 10px; overflow: hidden; color: var(--muted); font-size: 0.74rem; white-space: nowrap; }
.people-account-meta button { min-height: 24px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.people-account-meta button:hover, .people-account-meta button:focus-visible { color: #e6f3b8; text-decoration: underline; }
.people-account-meta .badge { padding: 2px 6px; font-size: 0.68rem; }
.people-live-label { color: #ff8f7f; font-size: 0.7rem; }
.people-account-actions { display: flex; align-items: center; gap: 6px; }
.people-account-actions .compact-button { min-width: 78px; min-height: 34px; padding: 5px 12px; border-radius: 9px; font-size: 0.78rem; }
.people-account-actions .follow-action { border-color: transparent; background: var(--leaf); color: #0a1008; }
.people-channel-button { width: 34px; min-height: 34px; border: 1px solid rgba(189, 211, 144, 0.15); border-radius: 9px; background: rgba(255, 255, 255, 0.035); color: #dbe6a7; font-size: 1.35rem; line-height: 1; }
.people-account-actions .safety-button { width: 34px; min-height: 34px; }
.activity-avatar-wrap { position: relative; display: inline-grid; place-items: center; flex: 0 0 auto; }
.activity-status { display: inline-flex; align-items: center; gap: 6px; width: fit-content; color: #bec4b0; font-size: 0.72rem; font-weight: 800; line-height: 1; white-space: nowrap; }
.activity-status[hidden] { display: none; }
.activity-status-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 999px; background: #7f897a; box-shadow: 0 0 0 3px rgba(127, 137, 122, 0.12); }
.activity-status.is-online { color: #dffb9c; }
.activity-status.is-online .activity-status-dot { background: #8ee532; box-shadow: 0 0 0 3px rgba(142, 229, 50, 0.14), 0 0 12px rgba(142, 229, 50, 0.46); }
.activity-status.is-compact { position: absolute; right: -1px; bottom: -1px; z-index: 2; width: 13px; height: 13px; display: grid; place-items: center; border: 2px solid #080d09; border-radius: 999px; background: #080d09; }
.activity-status.is-compact[hidden] { display: none; }
.activity-status.is-compact .activity-status-dot { width: 9px; height: 9px; box-shadow: none; }
.people-account-meta .activity-status { flex: 0 0 auto; }
.public-profile-copy > .activity-status { margin-top: 2px; }
.direct-conversation-row .activity-status { margin-top: 5px; }
.view:not(.home-view) > .grid { grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)); gap: 12px; }
.view:not(.home-view) > .grid .card { border-color: transparent; background: rgba(255, 255, 255, 0.024); }

/* Studio becomes a workbench instead of a stack of panels. */
.creator-studio-view { max-width: 1500px; gap: 22px; }
.studio-hero { min-height: 270px; border-radius: 30px; }
.studio-command-grid { grid-template-columns: 1.35fr repeat(4, minmax(155px, 1fr)); gap: 8px; }
.studio-command { min-height: 128px; padding: 18px; border-color: transparent; border-radius: 20px; background: rgba(255, 255, 255, 0.032); }
.studio-command.primary { border-color: transparent; background: linear-gradient(145deg, #b8e14b, #729f2e); color: #0a1008; }
.studio-command.primary span { color: rgba(10, 16, 8, 0.72); }
.studio-command:hover, .studio-command:focus-visible { border-color: rgba(168, 213, 63, 0.32); transform: translateY(-2px); }

/* Arrival: Stoney is the host, not a logo dropped above a form. */
.auth-gate { min-height: 100dvh; position: relative; overflow: hidden; display: grid; place-items: center; padding: clamp(24px, 5vw, 72px); background: linear-gradient(110deg, rgba(5, 8, 6, 0.2), rgba(5, 8, 6, 0.86)), radial-gradient(52rem 38rem at 17% 40%, rgba(109, 164, 53, 0.22), transparent 68%), radial-gradient(36rem 26rem at 85% 4%, rgba(255, 195, 36, 0.1), transparent 72%); }
.auth-gate::before { position: absolute; left: -3vw; bottom: -0.19em; z-index: 0; content: "WEEDIT / REAP"; color: rgba(235, 243, 207, 0.028); font-family: var(--display); font-size: clamp(7rem, 17vw, 19rem); font-weight: 900; line-height: 0.72; letter-spacing: -0.08em; white-space: nowrap; pointer-events: none; }
.auth-gate-inner { position: relative; z-index: 1; width: min(100%, 1380px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(390px, 0.7fr); gap: clamp(42px, 8vw, 132px); align-items: center; }
.auth-welcome { min-width: 0; display: grid; grid-template-columns: minmax(170px, 0.44fr) minmax(0, 1fr); gap: 24px clamp(26px, 4vw, 58px); align-items: center; max-width: none; }
.auth-welcome .auth-logo { grid-row: 1 / span 2; width: 100%; max-width: 290px; border: 1px solid rgba(168, 213, 63, 0.34); border-radius: 33%; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45), 0 0 90px rgba(83, 144, 46, 0.18); transform: rotate(-4deg); }
.auth-welcome-copy { display: grid; gap: 14px; }
.auth-kicker { margin: 0; color: var(--gold); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase; }
.auth-welcome h1 { margin: 0; max-width: 760px; font-size: clamp(3.6rem, 7vw, 8rem); line-height: 0.8; letter-spacing: -0.07em; }
.auth-welcome-copy > p:last-child { max-width: 540px; margin: 3px 0 0; color: #c5c9b7; font-size: 1rem; line-height: 1.5; }
.auth-benefits { grid-column: 1 / -1; width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 12px 0 0; border-top: 1px solid rgba(189, 211, 144, 0.15); border-bottom: 1px solid rgba(189, 211, 144, 0.15); }
.auth-benefits li, .auth-benefits li:last-child { min-height: 96px; padding: 18px; border: 0; border-right: 1px solid rgba(189, 211, 144, 0.15); }
.auth-benefits li:last-child { border-right: 0; }
.auth-benefits span { color: var(--gold); font-size: 0.75rem; }
.auth-benefits strong { font-size: 0.9rem; }
.auth-benefits small { color: var(--muted); font-size: 0.75rem; }
.auth-card { width: 100%; max-width: 450px; justify-self: end; gap: 14px; padding: clamp(20px, 2.5vw, 30px); border: 1px solid rgba(189, 211, 144, 0.18); border-radius: 28px; background: rgba(12, 20, 14, 0.82); box-shadow: 0 35px 100px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.045); backdrop-filter: blur(22px); }
.auth-mode-toggle { padding: 4px; border-radius: 15px; background: rgba(0, 0, 0, 0.25); }
.auth-mode-toggle button { min-height: 46px; border-radius: 12px; font-size: 0.85rem; }
.auth-mode-toggle button.active { background: #edf5ce; color: #11170e; box-shadow: none; }
.auth-input { min-height: 58px; border-color: rgba(189, 211, 144, 0.2); border-radius: 15px; background: rgba(2, 6, 3, 0.46); }
.auth-submit { min-height: 58px; border-radius: 15px; }
.auth-help { color: var(--muted); font-size: 0.78rem; line-height: 1.45; }

@media (max-width: 1240px) {
  .brand > div, .rail-status { display: none; }
  .nav button { padding-inline: 9px; }
  .home-cinema-shell { grid-template-columns: minmax(480px, 1fr) 300px; gap: 18px; }
  .cinema-standing-card { display: none; }
  .studio-command-grid { grid-template-columns: repeat(3, minmax(180px, 1fr)); }
}

@media (max-width: 1020px) {
  .nav-label { display: none; }
  .nav button { width: 44px; justify-content: center; padding-inline: 5px; }
  .shell-search-wrap { max-width: none; }
  .home-cinema-shell { grid-template-columns: minmax(0, 1fr); }
  .home-cinema-rail { position: static; height: auto; min-height: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 18px; }
  .cinema-rail-intro { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .cinema-rail-intro p, .cinema-rail-kicker { display: none; }
  .cinema-rail-intro .primary-button { width: auto; }
  .auth-gate-inner { grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr); gap: 38px; }
  .auth-welcome { grid-template-columns: 150px minmax(0, 1fr); }
  .auth-welcome h1 { font-size: clamp(3.2rem, 6vw, 5.2rem); }
}

@media (max-width: 820px) {
  .auth-gate { align-items: start; overflow: visible; }
  .auth-gate-inner { width: min(100%, 620px); grid-template-columns: 1fr; gap: 26px; }
  .auth-welcome { grid-template-columns: 122px minmax(0, 1fr); gap: 20px; }
  .auth-welcome .auth-logo { grid-row: auto; }
  .auth-welcome h1 { font-size: clamp(2.6rem, 9vw, 4.4rem); }
  .auth-benefits { display: none; }
  .auth-card { max-width: none; justify-self: stretch; }
}

@media (max-width: 760px) {
  .app-shell { padding-top: 0; }
  .sidebar { display: none; }
  .main { padding: 15px 14px calc(104px + env(safe-area-inset-bottom, 0px)); }
  .topbar:not(.no-search) { display: block; margin-bottom: 14px; }
  .topbar-wallet-slot { display: none; }
  .mobile-global-search { min-height: 48px; border-radius: 15px; }
  .page-header { min-height: 150px; padding-top: 10px; }
  .page-header h1 { font-size: clamp(2.8rem, 16vw, 5rem); }
  .section-destination-tabs { position: static; margin: 0 0 8px; }
  .people-toolbar { top: 0; overflow-x: auto; }
  .people-result-count { display: none; }
  .people-grid { grid-template-columns: 1fr; }
  .people-account-row { min-height: 88px; padding-inline: 1px; }
  .route-home .main { padding: 10px 10px calc(96px + env(safe-area-inset-bottom, 0px)); overflow: visible; }
  .home-cinema-shell { display: block; }
  .home-stage-column { gap: 8px; }
  .home-stage-column .home-feed-header { min-height: 84px; padding: 3px 5px 11px; }
  .home-stage-column .home-feed-header h1 { font-size: clamp(2rem, 11vw, 3.2rem); }
  .home-watch-feed, .home-reel-media { height: calc(100dvh - 112px); min-height: calc(100dvh - 112px); }
  .home-reel-media { border-radius: 24px; }
  .home-reel-copy { left: 20px; right: 76px; bottom: 25px; }
  .home-reel-copy h2 { font-size: clamp(1.7rem, 9vw, 2.8rem); }
  .home-reel-actions { right: 9px; bottom: 14px; width: 55px; }
  .home-reel-action { min-height: 50px; border-radius: 17px; }
  .home-cinema-rail { display: none; }
  .studio-command-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .auth-gate { padding: 24px 16px 36px; }
  .auth-welcome { grid-template-columns: 94px minmax(0, 1fr); gap: 15px; }
  .auth-welcome h1 { font-size: clamp(2.25rem, 12vw, 3.3rem); }
  .auth-welcome-copy > p:last-child { font-size: 0.86rem; }
  .auth-card { padding: 18px; border-radius: 24px; }
  .studio-command-grid { grid-template-columns: 1fr; }
  .people-account-row { grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
  .people-account-actions { grid-column: 2; justify-content: flex-start; }
  .people-account-copy > p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .card, .studio-command, .auth-welcome .auth-logo { transform: none; transition: none; }
}
