:root {
  --panel: #121212;
  --border: #252525;
  --muted: #aaa4ae;
  --accent: #e53935;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
body {
  background: #09090b;
}
button,
input,
textarea,
select {
  font: inherit;
}
textarea {
  resize: vertical;
}
img {
  max-width: 100%;
}
button,
a.btn {
  touch-action: manipulation;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}
.muted {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.header {
  gap: 24px;
  background: #0b0b0def;
  border-bottom: 1px solid #ffffff0b;
}
.brand {
  gap: 0;
}
.brand img {
  width: 130px;
  height: 45px;
  object-fit: contain;
}
.brand small {
  display: none;
}
.brand img.brand-mark {
  width: 36px;
  height: 36px;
  margin-right: 10px;
}
.account-link {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  min-height: 44px;
  max-width: 180px;
}
.account-link > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.avatar {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}
.avatar-fallback {
  display: inline-grid;
  place-items: center;
  background: linear-gradient(145deg, #e53935, #601027);
  color: white;
  font-weight: 700;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}
footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-left: auto;
}
footer nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 12px;
}
footer {
  color: #b0a7b1;
}
.btn {
  min-height: 46px;
  border-radius: 11px;
  padding: 12px 20px;
  background: #1f1f1f;
  border-color: #313131;
  font-size: 13px;
}
.btn.primary {
  box-shadow: 0 6px 25px #e5393520;
}
.hero {
  min-height: 470px;
  height: auto;
  background: #101014;
}
.hero-content {
  padding-top: 78px;
  padding-bottom: 78px;
}
.hero h1 {
  line-height: 1.1;
}
.hero p {
  font-size: 14px;
}
.intro {
  gap: 24px;
}
.collection-links {
  flex-shrink: 0;
}
.section-heading {
  gap: 18px;
}
.section-heading h2 {
  line-height: 1.35;
}
.section-link {
  white-space: nowrap;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.poster {
  border-color: #282828;
  box-shadow: 0 8px 25px #0003;
}
.poster-card:focus-visible .poster,
.poster-card:hover .poster {
  border-color: #e53935;
}
.content {
  padding-top: 28px;
}
.page-wrap {
  max-width: 1280px;
  margin: auto;
  padding: 42px 5% 64px;
}
.page-heading {
  margin-bottom: 32px;
}
.page-heading h1 {
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: -1.5px;
  margin: 12px 0;
}
.page-heading p {
  color: var(--muted);
  line-height: 1.65;
}
.panel {
  background: linear-gradient(145deg, #141414, #111115);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: 18px;
}
.panel h2 {
  font-size: 21px;
  margin: 0 0 20px;
  letter-spacing: -0.4px;
}
.stack-form {
  display: grid;
  gap: 14px;
}
.stack-form label {
  display: grid;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: #e2dce5;
}
.stack-form input,
.stack-form textarea,
.stack-form select {
  width: 100%;
  min-width: 0;
  background: #0b0b0b;
  border: 1px solid #323232;
  border-radius: 10px;
  color: #fff;
  padding: 13px 14px;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
.stack-form input:focus,
.stack-form textarea:focus {
  outline: 2px solid #e5393555;
  border-color: var(--accent);
  outline-offset: 1px;
}
.stack-form .btn {
  justify-self: start;
}
.stack-form textarea {
  min-height: 90px;
}
.form-status {
  font-size: 13px;
  color: #8fdeae;
  line-height: 1.6;
  margin: 0;
  min-height: 20px;
}
.is-error {
  color: #ff91a2 !important;
}
.text-button {
  border: 0;
  background: none;
  color: #e53935;
  padding: 8px 0;
  font-size: 13px;
  min-height: 44px;
  text-align: left;
}
.panel hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 30px 0;
}
.account-layout,
.support-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.profile-hero {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #252525;
  min-height: 275px;
  background: #121212;
}
.profile-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.default-banner {
  background: radial-gradient(
    ellipse at 80% 10%,
    #a31d44,
    #111111 55%,
    #0c0c0c
  );
}
.profile-summary {
  position: relative;
  display: flex;
  align-items: end;
  gap: 24px;
  padding: 100px 32px 32px;
  background: linear-gradient(transparent, #09090bef);
  min-height: 275px;
}
.profile-summary h1 {
  font-size: 36px;
  margin: 12px 0 6px;
}
.profile-summary p {
  color: #ccc3cc;
  font-size: 13px;
  margin: 0;
}
.profile-avatar {
  width: 108px;
  height: 108px;
  object-fit: cover;
  border-radius: 25px;
  border: 4px solid #101010;
  flex-shrink: 0;
  font-size: 38px;
}
.account-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.account-stats > div {
  display: grid;
  gap: 6px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #111111;
}
.account-stats strong {
  font-size: 28px;
}
.account-stats span {
  font-size: 12px;
  color: var(--muted);
}
.upload-grid {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.upload-button {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 1px dashed #594353;
  border-radius: 10px;
  padding: 13px 20px;
  color: #eedfea;
  font-size: 13px;
  min-height: 46px;
}
.upload-button input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.session-row {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.session-row > div {
  min-width: 0;
}
.session-row strong {
  font-size: 14px;
}
.session-row p {
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.session-row small {
  color: #8e8692;
  font-size: 11px;
}
.history-panel {
  margin-top: 24px;
}
.continue-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.continue-card {
  background: #131313;
  border: 1px solid #252525;
  border-radius: 14px;
  overflow: hidden;
}
.continue-cover {
  position: relative;
  aspect-ratio: 16/9;
  background: #131313;
  overflow: hidden;
}
.continue-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}
.continue-cover span {
  position: absolute;
  bottom: 10px;
  left: 12px;
  border-radius: 6px;
  padding: 5px 9px;
  background: #0a0a0ad9;
  font-size: 11px;
  font-weight: 650;
}
.continue-text {
  padding: 14px;
}
.continue-text h3 {
  margin: 0;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.continue-text p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}
.continue-text progress {
  height: 4px;
  width: 100%;
  appearance: none;
  border: 0;
  border-radius: 5px;
  background: #292929;
}
.continue-text progress::-webkit-progress-bar {
  background: #292929;
  border-radius: 5px;
}
.continue-text progress::-webkit-progress-value {
  background: #e53935;
  border-radius: 5px;
}
.continue-text progress::-moz-progress-bar {
  background: #e53935;
}
.comments-section {
  margin-top: 38px;
}
.comments-section > p {
  margin-top: -7px;
}
.comments-section .stack-form {
  margin: 22px 0;
}
.comment {
  display: flex;
  gap: 14px;
  padding: 23px 0;
  border-top: 1px solid var(--border);
}
.comment-body {
  min-width: 0;
  flex: 1;
}
.comment-body strong {
  font-size: 14px;
}
.comment-body time {
  font-size: 11px;
  color: var(--muted);
  margin-left: 12px;
}
.comment-body p,
.report-row > p,
.update-card > p {
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.75;
  color: #cfc6d2;
  overflow-wrap: anywhere;
}
.report-row {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.report-row h3 {
  font-size: 17px;
  margin: 12px 0 6px;
}
.report-row small {
  color: var(--muted);
}
.status-pill,
.version-pill {
  display: inline-flex;
  padding: 6px 11px;
  border: 1px solid #e539354a;
  border-radius: 7px;
  font-size: 11px;
  color: #e53935;
  background: #e539350e;
}
.report-response {
  padding: 18px;
  background: #1c2220;
  border-radius: 12px;
  font-size: 13px;
  color: #abd0bb;
}
.report-response p {
  white-space: pre-wrap;
  line-height: 1.6;
}
.report-row .stack-form {
  margin-top: 18px;
}
.update-timeline {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}
.update-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.update-meta time {
  font-size: 12px;
  color: var(--muted);
}
.update-card h2 {
  font-size: 25px;
  margin-bottom: 10px;
}
.updates-page {
  max-width: 1000px;
}
.auth-body .header,
.auth-body footer {
  display: none;
}
.auth-layout {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: #0a0a0a;
}
.auth-story {
  position: relative;
  padding: 55px 10%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 60px;
  background:
    radial-gradient(ellipse at 15% 85%, #90163355, transparent 65%),
    linear-gradient(130deg, #101010, #0b0b0b 60%);
  border-right: 1px solid #202020;
}
.auth-story:before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  right: 15%;
  top: 16%;
  border: 1px solid #e5393520;
  border-radius: 50%;
  box-shadow:
    0 0 0 60px #e5393505,
    0 0 0 120px #e5393503;
  pointer-events: none;
}
.auth-logo {
  width: 205px;
  height: 75px;
  object-fit: contain;
  object-position: left;
}
.auth-story h1 {
  font-size: clamp(45px, 5vw, 76px);
  line-height: 1.05;
  letter-spacing: -3px;
  margin: 26px 0;
}
.auth-story p {
  color: #b7a5b6;
  font-size: 15px;
  line-height: 1.9;
  max-width: 430px;
}
.auth-features {
  display: grid;
  gap: 18px;
  margin-top: 35px;
  color: #e4c5d5;
  font-size: 13px;
}
.auth-story small {
  color: #847180;
  font-size: 12px;
}
.auth-card {
  align-self: center;
  justify-self: center;
  width: min(100%, 490px);
  padding: 55px 38px;
}
.auth-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 20px;
}
.auth-card h2 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 0 0 16px;
}
.auth-card .muted {
  margin-bottom: 28px;
}
.auth-card .btn.primary {
  width: 100%;
  justify-self: stretch;
  margin-top: 6px;
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 82px;
}
.password-field button {
  position: absolute;
  right: 10px;
  top: 2px;
  bottom: 2px;
  color: #b4a6b8;
  background: none;
  border: 0;
  font-size: 11px;
}
.auth-links {
  margin: 8px 0 24px;
  font-size: 13px;
  color: var(--muted);
}
.auth-links > button {
  margin-right: 20px;
}
.auth-links p {
  margin: 10px 0;
}
.auth-note {
  display: block;
  padding: 15px 0;
  border-top: 1px solid #202020;
  color: #827686;
  font-size: 11px;
  line-height: 1.7;
}
.welcome-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #09090b;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  justify-content: center;
  transition: opacity 0.65s;
}
.welcome-screen img {
  width: min(60vw, 340px);
  animation: logo-arrival 1.8s ease both;
}
.welcome-screen span {
  color: #a993a4;
  font-size: 13px;
}
.welcome-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}
@keyframes logo-arrival {
  0% {
    opacity: 0;
    transform: scale(0.82);
    filter: blur(8px);
  }
  45% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
  100% {
    transform: scale(1.03);
  }
}
/* Touch targets and layout use the available width, including small Android screens. */
.watch-page .episode-list {
  flex-wrap: wrap;
  width: 100%;
  max-height: 260px;
  overflow: auto;
}
.watch-page .episode {
  min-height: 44px;
  min-width: 52px;
}
.control-row button,
.control-row button[aria-label*="10"] {
  min-width: 40px;
  min-height: 40px;
}
.control-row {
  gap: 7px;
}
.player-container:fullscreen video {
  object-fit: contain !important;
}
.player-settings {
  max-width: calc(100vw - 24px);
}
.watch-page .movyra-controls {
  padding: 25px 14px 8px;
}
.progress-track {
  padding-bottom: 5px;
}
.progress-track input {
  min-height: 6px;
}
.watch-page .player-container {
  max-height: none;
}
.section-heading {
  flex-wrap: wrap;
}
.intro h2 {
  margin-top: 0;
}
@media (max-width: 1000px) {
  .header {
    gap: 18px;
    flex-wrap: wrap;
    height: auto;
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .header nav {
    gap: 18px;
  }
  #search-form {
    flex: 1;
    max-width: none;
  }
  .account-link > span:last-child {
    display: none;
  }
  .continue-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .auth-story {
    padding: 38px 9%;
  }
  .account-layout {
    grid-template-columns: 1fr 1fr;
  }
  .auth-card {
    padding: 35px 28px;
  }
}
@media (max-width: 720px) {
  .header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 18px;
    padding: 12px 5%;
  }
  .brand img {
    width: 120px;
    height: 42px;
  }
  .header nav {
    grid-column: 1/-1;
    grid-row: 2;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    font-size: 13px;
    margin: 0;
  }
  .header nav a {
    padding: 12px 4px;
    min-height: 44px;
  }
  .header nav a.active:after {
    bottom: 4px;
  }
  #search-form {
    grid-column: 1/-1;
    grid-row: 3;
    width: 100%;
    margin: 0;
    order: unset;
    padding: 12px;
  }
  #search-input {
    font-size: 16px;
  }
  .account-link {
    grid-column: 2;
    grid-row: 1;
  }
  .hero {
    min-height: 0;
  }
  .hero-content {
    padding: 40px 5% 45px;
  }
  .hero h1 {
    font-size: clamp(30px, 8vw, 44px);
    max-width: 100%;
    margin: 20px 0;
  }
  .hero p {
    max-width: none;
    font-size: 13px;
  }
  .hero .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .hero .actions .btn {
    padding: 12px 9px;
    font-size: 12px;
    text-align: center;
  }
  .hero-image {
    object-position: center;
    opacity: 0.45;
  }
  .hero:after {
    background:
      linear-gradient(90deg, #09090be8, #09090b66),
      linear-gradient(0deg, #09090b, transparent);
  }
  .intro {
    display: block;
    margin-bottom: 26px;
  }
  .collection-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    margin-top: 18px;
  }
  .collection-links .btn {
    width: 100%;
  }
  .section-heading h2 {
    font-size: 18px;
  }
  .section-heading {
    gap: 8px;
  }
  .section-link {
    font-size: 11px;
  }
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 12px;
  }
  .card-name {
    font-size: 12px;
  }
  .card-info {
    font-size: 10px;
  }
  .page-wrap {
    padding: 28px 5% 40px;
  }
  .account-layout,
  .support-layout {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 21px;
    border-radius: 15px;
  }
  .profile-summary {
    padding: 85px 20px 24px;
    gap: 15px;
    align-items: center;
  }
  .profile-avatar {
    width: 76px;
    height: 76px;
    border-radius: 18px;
    font-size: 28px;
  }
  .profile-summary h1 {
    font-size: 25px;
  }
  .profile-summary p {
    font-size: 11px;
    overflow-wrap: anywhere;
  }
  .profile-summary .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .profile-summary > div {
    min-width: 0;
  }
  .account-stats {
    gap: 9px;
  }
  .account-stats > div {
    padding: 15px 11px;
  }
  .account-stats strong {
    font-size: 22px;
  }
  .account-stats span {
    font-size: 10px;
  }
  .continue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .continue-text {
    padding: 12px;
  }
  .continue-text h3 {
    font-size: 12px;
  }
  .continue-text p {
    font-size: 10px;
  }
  .continue-section {
    margin-bottom: 35px;
  }
  .auth-layout {
    display: block;
    min-height: 100svh;
  }
  .auth-story {
    padding: 25px 6% 30px;
    gap: 18px;
    border-right: 0;
    border-bottom: 1px solid #202020;
    background:
      radial-gradient(ellipse at 0 100%, #9a184455, transparent 75%), #0d0d0d;
  }
  .auth-logo {
    width: 160px;
    height: 55px;
  }
  .auth-story h1 {
    font-size: 36px;
    line-height: 1.1;
    margin: 13px 0;
    letter-spacing: -1.5px;
  }
  .auth-story .eyebrow {
    font-size: 8px;
  }
  .auth-story p {
    font-size: 12px;
    line-height: 1.7;
    margin: 0;
  }
  .auth-features,
  .auth-story > small {
    display: none;
  }
  .auth-card {
    padding: 30px 6% 36px;
    width: 100%;
    max-width: 500px;
    margin: auto;
  }
  .auth-card h2 {
    font-size: 26px;
  }
  .auth-icon {
    display: none;
  }
  .auth-card .stack-form input,
  .stack-form input,
  .stack-form textarea,
  .stack-form select {
    font-size: 16px;
  }
  .auth-card .muted {
    font-size: 12px;
  }
  .comments-section {
    margin-top: 24px;
  }
  .comment-body time {
    display: block;
    margin: 6px 0 0;
  }
  .watch-page .episode-panel {
    display: block;
  }
  .watch-page .episode-list {
    margin-top: 15px;
  }
  .watch-page .episode-panel .subtitle {
    margin-top: 8px;
  }
  .watch-page .episode-note {
    margin-top: 15px;
  }
  .control-row {
    gap: 1px;
    flex-wrap: nowrap;
    font-size: 10px;
  }
  .control-row button,
  .control-row button[aria-label*="10"] {
    min-width: 34px;
    min-height: 40px;
    width: 34px;
  }
  .control-row .time-separator {
    display: none;
  }
  .control-row [data-duration] {
    display: none;
  }
  .control-spacer {
    min-width: 0;
  }
  .movyra-controls {
    padding-left: 7px !important;
    padding-right: 7px !important;
  }
  .player-settings {
    right: 8px;
    bottom: 57px;
    width: 215px;
  }
  .detail-top .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .detail-top .actions .btn {
    padding: 12px 8px;
  }
  .section-count {
    font-size: 10px;
  }
  .welcome-screen span {
    font-size: 11px;
  }
  footer {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  footer nav {
    margin: 0;
    width: 100%;
    gap: 20px;
  }
  #toast {
    max-width: 90vw;
    width: max-content;
    white-space: normal;
  }
  .session-row {
    flex-wrap: wrap;
  }
  .session-row .text-button {
    min-width: 70px;
  }
  .page-heading h1 {
    letter-spacing: -1px;
  }
  .auth-card .stack-form .btn {
    font-size: 14px;
  }
}
@media (max-width: 360px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero .actions {
    grid-template-columns: 1fr;
  }
  .control-row button,
  .control-row button[aria-label*="10"] {
    min-width: 30px;
    width: 30px;
  }
  .profile-summary {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  .welcome-screen img {
    animation: none;
  }
  .welcome-screen {
    transition: none;
  }
}

.viewing-dialog{background:#0c0c0e;color:#f5f5f5;border:1px solid #303034;border-radius:22px;width:min(850px,94vw);max-height:90dvh;padding:clamp(20px,4vw,42px);overflow:auto}.viewing-dialog::backdrop{background:#000d;backdrop-filter:blur(8px)}.viewing-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.viewing-heading img{width:45px}.viewing-heading button{background:none;border:0;color:#aaa;font-size:30px;cursor:pointer}.viewing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:18px;margin:30px 0}.viewing-person{display:flex;flex-direction:column;align-items:center;gap:10px;background:#171719;border:1px solid #303034;padding:16px;border-radius:16px;color:inherit;cursor:pointer}.viewing-person.selected{border-color:#e53935}.viewing-person img{width:88px;border-radius:16px}.viewing-person small{color:#aaa}.viewing-person:disabled{opacity:.4;cursor:default}.viewing-actions{display:flex;gap:12px;flex-wrap:wrap}.viewing-avatar-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;max-width:380px}.viewing-avatar-choices img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:14px;border:2px solid transparent}.viewing-avatar-choices input:checked+img{border-color:#e53935}.viewing-avatar-choices input{position:absolute;opacity:0}.viewing-avatar-choices input:focus-visible+img{outline:2px solid white}.viewing-header{display:flex;align-items:center;gap:8px;border:0;background:transparent;color:inherit;cursor:pointer}.viewing-header img{width:32px;height:32px;border-radius:8px}.viewing-header span{font-size:12px}.viewing-account{margin-bottom:20px}
.viewing-avatar-choices label{position:relative;cursor:pointer}.viewing-avatar-choices input{inset:0;width:100%;height:100%}@media(max-width:640px){.viewing-header span{display:none}}
.viewing-dialog{background:radial-gradient(ellipse at 15% 0%,#39141c 0,transparent 48%),#09090b;border:1px solid #352128;border-radius:24px;max-width:760px;padding:30px}.viewing-dialog h1{font-size:clamp(30px,6vw,46px);letter-spacing:-1.4px;line-height:1.08}.viewing-grid{gap:18px}.viewing-person{overflow:hidden;padding:0 0 15px;border-radius:18px;background:#151517;text-align:left;transition:transform .18s,border-color .18s}.viewing-person:hover{transform:translateY(-4px)}.viewing-person img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:0;box-shadow:none}.viewing-person strong,.viewing-person small{display:block;margin:12px 14px 0}.viewing-person small{font-size:11px;letter-spacing:1px;text-transform:uppercase;margin-top:5px}.viewing-person.selected{border-color:#ee343b;box-shadow:0 0 0 1px #ee343b}.viewing-person.selected small{color:#ff777c}.viewing-person:focus-visible{outline:3px solid #fff;outline-offset:4px}@media(prefers-reduced-motion:reduce){.viewing-person{transition:none}.viewing-person:hover{transform:none}}
/* Profile selector: compact cards keep actions visible, even with only two people. */
.viewing-grid{grid-template-columns:repeat(auto-fit,minmax(125px,160px));justify-content:center;gap:20px;margin:26px 0}.viewing-person{align-items:stretch;gap:0;min-width:0;max-width:160px}.viewing-person strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.viewing-person small{font-size:10px}.viewing-header{margin-left:12px;padding:6px 10px;border:1px solid #343034;border-radius:12px;max-width:210px;background:#151214}.viewing-header span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.viewing-dialog{box-sizing:border-box;width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:28px}.viewing-dialog .viewing-actions{justify-content:center}.viewing-dialog .viewing-heading{margin-bottom:18px}.viewing-dialog [role=status]:empty{display:none}.viewing-dialog>p:last-child{text-align:center;font-size:12px;margin-top:20px}@media(max-width:520px){.viewing-dialog{padding:20px;border-radius:20px}.viewing-grid{grid-template-columns:repeat(2,minmax(0,150px));gap:14px}.viewing-person{max-width:150px}.viewing-dialog h1{font-size:30px}.viewing-header{max-width:140px;margin-left:6px;padding:5px}.viewing-dialog .viewing-actions .btn{font-size:12px;padding:10px 12px}}
/* Full-screen profile selection, shared with the native app's compact avatar layout. */
.viewing-screen{position:fixed;inset:0;margin:0;box-sizing:border-box;width:100vw;max-width:none;height:100dvh;max-height:none;padding:28px 40px;background:#09090b;border:0;border-radius:0;box-shadow:none;color:#f5f5f5;overflow:auto}.viewing-screen::backdrop{background:#09090b;backdrop-filter:none}.viewing-screen[open]{display:flex;flex-direction:column}.viewing-screen .viewing-heading{display:flex;justify-content:space-between;align-items:center;flex-shrink:0;margin:0}.viewing-brand{display:flex;align-items:center;gap:10px}.viewing-brand img{width:38px;height:38px;object-fit:contain}.viewing-brand strong{font-size:25px;letter-spacing:-1px}.viewing-brand strong span{color:#ed343a}.viewing-screen .viewing-heading button{border:0;border-radius:50%;width:40px;height:40px;font-size:26px;color:#9b9ba5;background:transparent}.viewing-stage{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 0 70px;text-align:center}.viewing-screen h1{font-size:clamp(25px,3vw,36px);font-weight:600;line-height:1.25;letter-spacing:-.6px;margin:0}.viewing-screen .viewing-subtitle{font-size:13px;color:#8e8e98;margin:12px 0 0}.viewing-screen .viewing-grid{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:26px;max-width:850px;margin:38px 0 30px}.viewing-screen .viewing-person{display:flex;flex-direction:column;align-items:center;gap:12px;width:124px;max-width:124px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;color:#9898a2;text-align:center;overflow:visible}.viewing-screen .viewing-person .viewing-face{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:124px;height:124px;background:#19191d;border:1px solid #303036;border-radius:18px;overflow:hidden}.viewing-screen .viewing-person img{display:block;width:100%;height:100%;aspect-ratio:1;object-fit:cover;border:0;border-radius:0}.viewing-screen .viewing-person strong{width:100%;font-size:13px;font-weight:400;line-height:1.4;white-space:normal;overflow-wrap:anywhere;margin:0;letter-spacing:0}.viewing-screen .viewing-person.selected{border:0;box-shadow:none;color:#fff}.viewing-screen .viewing-person.selected .viewing-face{border:2px solid #ed343a}.viewing-screen .viewing-person:hover .viewing-face{border-color:#eee}.viewing-screen .viewing-add .viewing-face>span{font-size:44px;font-weight:300;color:#9696a1}.viewing-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#0007;color:#fff;font-size:26px}.viewing-screen .viewing-actions{margin:0;gap:12px}.viewing-screen .viewing-actions .btn{font-size:12px;font-weight:400;letter-spacing:.4px;border:1px solid #45454d;border-radius:10px;background:transparent;color:#a0a0aa;padding:12px 26px;box-shadow:none}.viewing-back{color:#8e8e98;font-size:12px;text-decoration:none;margin-top:26px}.viewing-screen>h2,.viewing-screen>p,.viewing-screen>form{box-sizing:border-box;width:min(420px,100%);margin-left:auto;margin-right:auto}.viewing-screen>h2{margin-top:max(45px,12dvh)}.viewing-screen>form{margin-bottom:40px}.viewing-screen [role=status]:empty{display:none}@media(max-width:600px){.viewing-screen{padding:20px}.viewing-stage{padding:36px 0 60px}.viewing-screen .viewing-grid{width:100%;gap:24px 16px;margin:32px 0}.viewing-screen .viewing-person{width:calc((100% - 32px)/3);max-width:98px}.viewing-screen .viewing-person .viewing-face{width:100%;height:auto;aspect-ratio:1;border-radius:16px}.viewing-screen h1{font-size:26px}.viewing-brand strong{font-size:23px}.viewing-brand img{width:34px;height:34px}}
.access-gate{min-height:75dvh;max-width:520px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:20px}.access-gate h1{font-size:clamp(28px,4vw,38px);line-height:1.15;margin:0}.access-gate p,.access-gate small{color:#a1a1aa;line-height:1.6}.access-gate .btn{width:100%;text-align:center}
.viewing-kids-toggle{display:flex;align-items:center;gap:12px;font-size:13px;line-height:1.6}.viewing-kids-toggle input{width:20px;height:20px;accent-color:#e9343a}.kids-mode .header nav a:not([href="/"]){display:none}.kids-mode .header:after{content:'KIDS';font-weight:700;font-size:11px;letter-spacing:2px;color:#67d8c7;border:1px solid #67d8c744;border-radius:8px;padding:6px 9px;margin-left:10px}.kids-mode .hero .studio-kicker{color:#67d8c7}.kids-mode [data-create-room],.kids-mode .watch-room-panel,.kids-mode .comments-panel{display:none!important}
.access-blocked .header nav,.access-blocked .header button,.access-blocked .header form,.access-blocked .header-tag,.access-blocked .header .account-link{display:none!important}

/* Each auth column fills its grid area; form spacing belongs inside the panel. */
.auth-card{align-self:stretch;justify-self:stretch;width:100%;max-width:none;margin:0;padding:clamp(42px,6vw,100px) clamp(28px,5vw,96px);display:flex;flex-direction:column;justify-content:center;background:#0d0e12}
@media(max-width:800px){.auth-card{width:100%;max-width:none;margin:0;padding:34px 6% 48px}}
