/* Shared website and desktop controls. Platform behavior lives in adapters. */
.wall-logo {
  position: absolute;
  left: 38px;
  top: 34px;
  width: 170px;
  z-index: 8;
  pointer-events: none;
}
.auth-wall-tools {
  justify-content: flex-end;
}
.auth-form label > span {
  display: none;
}
.auth-form input::placeholder {
  opacity: 0.7;
}
.auth-panel .auth-brand {
  display: none;
}
.auth-form .eyebrow {
  display: none;
}
.auth-form h2 {
  margin-bottom: 24px;
}
.auth-form input {
  height: 50px;
}
.auth-visual::after {
  content: none !important;
}
/* Labels sit above the control without changing the action-row height. */
#actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 10px;
  padding-top: 24px;
}
.desktop-track-choices {
  display: contents;
  color: var(--muted);
  font-size: 12px;
}
.desktop-track-choices .choice-field {
  flex: 1 1 115px;
  position: relative;
  display: flex;
  min-width: 0;
  max-width: 230px;
}
.desktop-track-choices .choice-label {
  position: absolute;
  bottom: calc(100% + 7px);
  left: 16px;
  font-size: 10px;
  line-height: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.desktop-track-choices .choice-trigger {
  width: 100%;
  max-width: 230px;
  height: 46px;
  min-height: 46px;
  padding: 0 32px 0 16px;
  color: var(--fg);
  border: 1px solid rgba(178, 203, 225, 0.22);
  border-radius: 23px;
  background: #151d25;
  text-overflow: ellipsis;
}
#actions > button {
  height: 46px;
  min-height: 46px;
  margin: 0;
  flex: 0 0 auto;
}
#actions:has(.desktop-track-choices) {
  row-gap: 32px;
}
body .btn,
#actions > button {
  border-radius: 999px !important;
  border: 1px solid rgba(178, 203, 225, 0.24);
  background: linear-gradient(160deg, #253440, #121d27);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.09),
    0 3px 10px rgba(0, 0, 0, 0.14);
  transition:
    background 0.18s,
    border-color 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
body .btn.secondary,
#actions > button:not(.detail-play-action) {
  background: rgba(22, 32, 40, 0.78);
  color: #dae7ee;
  border-color: rgba(178, 203, 225, 0.24);
}
body .btn:hover:not(:disabled),
#actions > button:hover:not(:disabled) {
  border-color: #8fcce9;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.15),
    0 4px 16px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}
body .btn:active:not(:disabled),
#actions > button:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.18);
}
body .btn:focus-visible,
#actions > button:focus-visible,
.desktop-track-choices .choice-trigger:focus-visible {
  outline: 2px solid #a9ddf5;
  outline-offset: 4px;
}
body .btn:disabled,
#actions > button:disabled {
  opacity: 0.45;
  cursor: wait;
  transform: none;
}
#actions .detail-play-action,
.hero-actions .btn.primary {
  background: #c0e4f4;
  color: #13232f;
  border-color: #d6edf7;
  padding: 0 23px 0 10px !important;
  gap: 12px;
  box-shadow:
    inset 0 1px #f0fbff,
    0 5px 18px rgba(76, 142, 181, 0.18);
}
#actions .detail-play-action > svg,
.hero-actions .btn.primary > svg {
  box-sizing: content-box;
  width: 17px;
  height: 17px;
  padding: 7px;
  border-radius: 50%;
  background: #183a4d;
  color: #e2f5fe;
}
#actions button[aria-pressed="true"],
#actions button.is-following {
  color: #bbe7fa;
  background: #213c4c;
  border-color: #6799b2;
}
#actions button[aria-pressed="true"] svg {
  fill: rgba(151, 210, 240, 0.25);
}
#actions .detail-icon-action {
  border-radius: 50% !important;
  width: 46px;
  padding: 0 !important;
  border-radius: 50%;
}
@media (prefers-reduced-motion: reduce) {
  body .btn,
  #actions > button {
    transition: none;
  }
  body .btn:hover:not(:disabled),
  #actions > button:hover:not(:disabled),
  body .btn:active:not(:disabled),
  #actions > button:active:not(:disabled) {
    transform: none;
  }
}
.page-section-pending {
  min-height: 90px;
  padding: 24px 0;
  color: var(--muted);
  font-size: 13px;
}
.page-section-pending::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--accent-2);
}
.home-section-slot:empty {
  display: none;
}
.person-page .page-more {
  display: block;
  margin: 24px auto;
}
.home-v2 {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}
.home-hero-carousel .cinema-hero {
  height: auto !important;
  aspect-ratio: 16/9;
  min-height: 450px !important;
  max-height: 760px;
}
.cinema-hero .hero-media img {
  object-fit: cover;
}
.cinema-hero .hero-media.is-poster-fallback img {
  object-fit: contain;
  object-position: right center;
  background: var(--bg);
}
.brand-logo-auth,
.brand-logo-rail {
  object-fit: contain;
}
@media (max-width: 1100px) {
  .home-hero-carousel .cinema-hero {
    min-height: 410px !important;
  }
  .desktop-track-choices .choice-trigger {
    max-width: 175px;
  }
}

.person-page .inline-state {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 20px 0 30px;
  min-height: 0;
  text-align: left;
  color: var(--muted);
  box-shadow: none;
}
.person-page .inline-state::before {
  content: "—";
  margin-right: 12px;
  color: var(--muted-2);
}

body .btn.danger { color:#ffd4cc; border-color:#915a51; background:#402723; }
body .btn.danger:hover:not(:disabled) { border-color:#e89a88; }

.detail-actions-shell { display:block; width:100%; }

@media(max-width:720px) {
 .auth-panel .auth-brand {display:block;}
 .home-hero-carousel .cinema-hero {aspect-ratio:auto;min-height:440px!important;max-height:none;}
 #actions {gap:28px 8px;}
 .desktop-track-choices .choice-field {flex-basis:120px;max-width:none;}
 .desktop-track-choices .choice-trigger {max-width:100%;}
 .wall-logo {display:none;}
}

/* Menus use the browser top layer so detail containers cannot clip them. */
.choice-trigger {display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer;font:inherit;transition:border-color .2s,background .2s;}
.choice-trigger .choice-value {flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.choice-trigger svg,.choice-option svg {width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
.desktop-track-choices .choice-trigger {padding-right:14px;}
.choice-trigger:hover,.choice-trigger[aria-expanded="true"] {border-color:#8fcce9;background:#20313e;}
.choice-trigger svg {transition:transform .22s;}
.choice-trigger[aria-expanded="true"] svg {transform:rotate(180deg);}
.choice-menu {position:fixed;inset:auto;margin:0;box-sizing:border-box;padding:6px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;color:#e4edf4;background:linear-gradient(155deg,#223440,#121d27 80%);border:1px solid #496170;border-radius:17px;box-shadow:0 14px 38px #0008,inset 0 1px #ffffff0a;z-index:10000;font:13px/1.5 var(--font-body,system-ui,sans-serif);animation:choice-appear .2s cubic-bezier(.2,.65,.25,1);}
.choice-menu::backdrop {background:transparent;pointer-events:none;}
.choice-option {display:flex;align-items:center;gap:12px;min-height:42px;box-sizing:border-box;padding:10px 12px;border-radius:11px;cursor:pointer;}
.choice-option>span {flex:1;min-width:0;overflow-wrap:anywhere;}
.choice-option svg {opacity:0;color:#c0e4f4;}
.choice-option[aria-selected="true"] {color:#c0e4f4;}
.choice-option[aria-selected="true"] svg {opacity:1;}
.choice-option.is-active {background:#b4def018;box-shadow:inset 0 0 0 1px #b4def024;}
@keyframes choice-appear {from {opacity:0;transform:translateY(4px) scale(.98);}to {opacity:1;transform:none;}}
@media(prefers-reduced-motion:reduce) {.choice-menu {animation:none;}.choice-trigger,.choice-trigger svg {transition:none;}}
