/* Viduveem Cinema — the welcome page's quiet glass, throughout the signed-in site.
   Only presentation lives here. Existing navigation, player controls and data stay in their modules. */
/* Static controls have local symbols. Their original icon hosts/IDs remain available to the app. */

/* Request administration: the same glass, with a separate and compact review queue. */
.request-count[hidden] {display:none!important}
.request-count {display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 6px;border-radius:8px;background:#79d9d51a;border:1px solid #a9dce52c;color:#b9eeea;font-size:10px;font-variant-numeric:tabular-nums}
.request-management-heading {display:flex;justify-content:space-between;align-items:start;gap:18px;margin-bottom:24px}
.request-management-heading h3 {margin:7px 0 8px!important;font-size:28px!important;letter-spacing:-.035em}
.request-filters {display:flex;flex-wrap:wrap;gap:14px;margin-bottom:20px}
.request-filters label {display:grid;gap:7px;color:#9fbcc8;font-size:11px;min-width:200px}
.request-filters select {min-height:44px;background:#071c2780;color:#d0e9eb;border:1px solid #b1e2e530;border-radius:9px;padding:10px 32px 10px 12px}
.request-management-list {margin-top:16px}
.admin-request-row {display:grid;grid-template-columns:68px minmax(0,1fr) auto;align-items:center;gap:20px;padding:22px 0;border-bottom:1px solid #acdfe51a}
.admin-request-row:last-child {border-bottom:0}
.admin-request-poster {width:68px;aspect-ratio:2/3;overflow:hidden;border-radius:9px;background:#8fbcc511;border:1px solid #acdfe526}
.admin-request-poster img {width:100%;height:100%;object-fit:cover}
.admin-request-copy {min-width:0}
.admin-request-copy h4 {font-size:17px;line-height:1.45;color:#deeff1;font-weight:600;margin:5px 0 8px;overflow-wrap:anywhere}
.admin-request-copy p {font-size:12px;color:#a9c4cc;line-height:1.8}
.admin-request-copy small {font-size:11px;color:#8daebb}
.admin-request-copy .section-kicker {font-size:8px}
.admin-request-copy .admin-request-seasons {color:#b7e1df;margin-top:5px}
.admin-request-actions {display:flex;align-items:center;justify-content:end;flex-wrap:wrap;gap:8px;max-width:285px}
.admin-request-actions button {min-height:44px;font-size:11px;padding:11px 14px}
.admin-request-state {width:100%;text-align:right;color:#9fc8cb;font-size:11px;margin-bottom:5px}
.request-pagination {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px;font-size:11px;color:#a9c4cc}
.request-pagination button {min-height:44px}
.request-decision-dialog {height:fit-content;max-width:560px}
.request-decision-dialog .cinema-dialog-body p {font-size:13px;line-height:1.85;color:#b7d1d7;overflow-wrap:anywhere}
.seerr-account-status {color:#a6ded8!important}
.cinema-request-quota {color:#acd7d7;font-size:12px;line-height:1.8;margin:16px 0}
@media(max-width:720px){
 .request-management-heading {gap:12px;flex-wrap:wrap}
 .request-filters label {flex:1;min-width:180px}.request-filters select {font-size:16px;width:100%}
 .admin-request-row {grid-template-columns:50px minmax(0,1fr);gap:14px;padding:20px 0}
 .admin-request-poster {width:50px;align-self:start}
 .admin-request-copy h4 {font-size:15px}.admin-request-actions {grid-column:1/-1;max-width:none;justify-content:start}
 .admin-request-state {width:auto;flex:1;text-align:left;margin:0;font-size:10px}
 .admin-request-actions button {padding:10px 12px;font-size:10px}
 .request-decision-dialog {height:fit-content;max-height:calc(100dvh - 32px)}
 .command-tabs {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
 .command-tabs button {min-width:0;min-height:44px;justify-content:center;padding:8px 6px;font-size:10px;gap:4px}
 .command-tabs .request-count {min-width:19px;height:19px;padding:0 4px}
}
@media(max-width:389px){.command-tabs button>i,.command-tabs button>.site-symbol {display:none}}

/* App installation follows the same quiet glass on both the landing and Info. */
[data-pwa-install][hidden],[data-pwa-installed][hidden],#pwa-install-native[hidden],.pwa-install-dialog [hidden] {display:none!important}
.landing-login>.pwa-install-link {
  display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;
  margin:5px auto 0;padding:8px 16px;border:0;background:transparent;box-shadow:none;
  color:#9dbec9;font-size:11px;font-weight:500;
}
.landing-login>.pwa-install-link:hover {color:#c3eeea;background:#85d9d60a}
.pwa-info-install {margin:0 0 18px;min-height:44px}
.pwa-install-dialog {
  width:min(520px,calc(100% - 32px));max-width:none;height:fit-content;
  max-height:calc(100dvh - 32px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));
  padding:0;color:#dceff1;border:1px solid #c3eeea52;border-radius:19px;
  background:linear-gradient(130deg,#81b3bc40,#16425152 48%,#08232f8c);
  box-shadow:0 24px 90px #0006,inset 0 1px #e5ffff24;
  backdrop-filter:blur(14px) saturate(118%);-webkit-backdrop-filter:blur(14px) saturate(118%);
  overflow:hidden;
}
.pwa-install-dialog[open] {display:flex;flex-direction:column}
.pwa-install-dialog::backdrop {background:#010b1438}
.pwa-install-dialog .cinema-dialog-header {padding:24px;gap:12px;border-color:#acdfe51f}
.pwa-install-dialog .section-kicker {color:#9fc9d0;font-size:8px}
.pwa-install-dialog h2 {color:#e0f0f1;font-size:26px;font-weight:650}
.pwa-install-body {padding:24px;overflow-y:auto;overscroll-behavior:contain;min-height:0;font-size:13px;line-height:1.8;color:#b6ced5}
.pwa-app-preview {display:flex;align-items:center;gap:14px;margin-bottom:20px}
.pwa-app-preview img {width:60px;height:60px;border-radius:14px;border:1px solid #b1e2e530}
.pwa-app-preview strong {display:block;color:#e0f0f1;font-size:18px;font-weight:650}
.pwa-app-preview span {display:block;font-size:11px}
.pwa-install-body ol {margin:20px 0;padding-left:22px}
.pwa-install-body li {padding-left:5px;margin-bottom:12px}
.pwa-install-body li::marker {color:#94ddd7;font-weight:600}
.pwa-install-body strong {color:#dfedef;font-weight:600}
.pwa-install-body section>p {margin-top:20px}
#pwa-install-status:empty {display:none}
#pwa-install-status {margin-top:16px;color:#ade2db}
#pwa-install-native {width:100%;min-height:46px;margin-top:18px;background:linear-gradient(110deg,#5ae4df,#43c7dd);color:#06303b}
.pwa-install-body .pwa-install-note {margin-top:18px;padding-top:16px;border-top:1px solid #acdfe51f;color:#8faebc;font-size:11px}
.pwa-install-dialog :focus-visible,.pwa-install-link:focus-visible {outline:2px solid #9edddc;outline-offset:3px}
@media(max-width:480px) {
  .pwa-install-dialog .cinema-dialog-header,.pwa-install-body {padding:20px}
  .pwa-install-dialog h2 {font-size:23px}
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  .pwa-install-dialog {background:linear-gradient(130deg,#244752f2,#0b2330f7)}
}
@media(forced-colors:active) {
  .pwa-install-dialog {background:Canvas;border-color:CanvasText;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
  .pwa-install-dialog :is(h2,strong),.pwa-install-dialog li::marker,#pwa-install-status {color:CanvasText}
  #pwa-install-native {background:ButtonFace;color:ButtonText}
}

/* Public landing copy stays unselected during taps/drags; login fields remain editable. */
body:not(.auth-logged-in):not(.invite-mode) :is(.landing-shell,.site-header,.site-footer,.device-strip) {
  -webkit-user-select:none;user-select:none;
}
body:not(.auth-logged-in):not(.invite-mode) .landing-shell :is(input,textarea,[contenteditable="true"]) {
  -webkit-user-select:text;user-select:text;
}
i:has(>.site-symbol) {display:inline-flex;align-items:center;justify-content:center;font-style:normal}
i:has(>.site-symbol)::before {content:none!important}
.site-symbol {display:block;width:1.15em;height:1.15em;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.site-dock-expand {display:none}
#dock-collapse-icon.fa-bars .site-dock-collapse {display:none}
#dock-collapse-icon.fa-bars .site-dock-expand {display:block}
.site-hero-play {display:none}
#cinema-feature-pause i.fa-play .site-hero-pause {display:none}
#cinema-feature-pause i.fa-play .site-hero-play {display:block}
body:is(.auth-logged-in,.invite-mode) {
  --page:#050e15;
  --surface:#10252f;
  --surface-inset:#071b25d9;
  --surface-raised:#17333ec7;
  --text:#e7f4f5;
  --muted:#a7bfc7;
  --quiet:#85a6b2;
  --cyan:#87dcd9;
  --accent:var(--cyan);
  --line:#acdfe51f;
  --line-strong:#b1e2e53b;
  --primary-gradient:linear-gradient(110deg,#5ae4df,#43c7dd);
  --panel-gradient:linear-gradient(130deg,#517d8938,#102b388c 44%,#081c27c9);
  --control-gradient:linear-gradient(125deg,#87c4cb15,#10303a85);
  --control-shadow:inset 0 1px #d7ffff08,0 4px 12px #00000012;
  --glass:#0b202bd9;
  --radius:18px;
  --shadow:0 18px 48px #00000029;
}

/* One fixed, fictional collage; its crop is independent of scrolling/address-bar height. */
body:is(.auth-logged-in,.invite-mode) .landing-backdrop {display:block}
body:is(.auth-logged-in,.invite-mode) .aurora {display:none}
body:is(.auth-logged-in,.invite-mode) .landing-backdrop::after {
  background:linear-gradient(90deg,#03121be0,#06141bb3 36%,#06121b70 72%,#05131ca3),linear-gradient(0deg,#040c14ed,transparent 58%,#03101842);
}
body.auth-logged-in .landing-backdrop::before {opacity:.7}
body.auth-logged-in .site-header {
  background:linear-gradient(100deg,#051c25d9,#06131ae8 70%);
  border-bottom-color:#b1e2e516;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
body:is(.auth-logged-in,.invite-mode) .brand img {
  filter:url(#landing-logo-matte) drop-shadow(0 0 12px #58dae969);
}
body.auth-logged-in .brand-name {color:#b8e5e8;letter-spacing:.1em;font-weight:700}
body.auth-logged-in .section-kicker {color:#9bc9cf;letter-spacing:.13em;font-weight:600}
body.auth-logged-in :is(.section-heading,.my-hub-heading) h2 {
  color:var(--text);font-size:clamp(29px,3vw,42px);font-weight:650;line-height:1.22;letter-spacing:-.045em;
}
body.auth-logged-in .title-gradient {
  background-image:linear-gradient(110deg,#edf8f8,#b9d9df);
}
body.auth-logged-in .site-footer {
  position:relative;z-index:1;border-top-color:#b1e2e510;background:#040c146b;
}
/* Short search results still fill the screen; longer pages keep their natural height. */
body.auth-logged-in {display:flex;flex-direction:column}
body.auth-logged-in>.page-main {flex:1 0 auto}
body.auth-logged-in>.site-footer {flex-shrink:0}

/* A small set of surfaces carries the whole application. Text remains fully opaque. */
body.auth-logged-in :is(.panel,.admin-card,.personal-media-section,#pane-my-list,#pane-request-status,#pane-home-stats,#pane-info-steps,#pane-info-faq),
body.invite-mode .invite-accept-view {
  border:1px solid var(--line-strong);
  border-radius:var(--radius);
  background:var(--panel-gradient);
  box-shadow:inset 0 1px #e0ffff09,var(--shadow);
}
body.auth-logged-in :is(.discover-panel,.client-panel,#pane-info-steps,#pane-home-stats,#pane-info-faq) {padding:28px}
body.auth-logged-in .discover-panel .section-heading h2 {font-size:28px;line-height:1.25;letter-spacing:-.035em}
body.auth-logged-in :is(.announcement,.request-status-card,.personal-notification-item,.profile-facts>div,.profile-access-form) {
  border-color:var(--line);background:#081c2885;
}
body.auth-logged-in :is(.search-box,.client-link,.quick-action) {
  background:#071a258c;border-color:#abdce521;box-shadow:inset 0 1px #d0ffff04;
}
/* Style the actual field; its legacy ID rule otherwise paints over the glass wrapper. */
body.auth-logged-in .search-box {background:transparent;box-shadow:none}
body.auth-logged-in #seerr-search {
  background:linear-gradient(120deg,#60949b26,#0a263580);
  border-color:#acdfe53b;color:#d9ecef;
  box-shadow:inset 0 1px #d7ffff08;
}
body.auth-logged-in #seerr-search:focus {
  border-color:#8ddbdc80;box-shadow:inset 0 1px #d7ffff08,0 0 0 3px #78d8d60d;
}
body.auth-logged-in .search-box .search-icon {color:#9acbd1}
body.auth-logged-in .search-box .search-submit {
  background:linear-gradient(125deg,#73c6cc24,#123b4580);
  border-color:#acdfe536;color:#b5e9e6;box-shadow:inset 0 1px #d7ffff08;
}
body.auth-logged-in :is(.quick-action,.client-link) {color:#bfd7df}
body.auth-logged-in :is(.quick-action,.client-link) i {color:#8ac5cb}
body.auth-logged-in :is(.button-primary,.password-submit,.cinema-search-form>button) {
  background:var(--primary-gradient);border-color:#a4efee66;color:#062a34;
  box-shadow:0 5px 22px #38d6d21a,inset 0 1px #ffffff33;
}
body.auth-logged-in :is(.button-secondary,.personal-section-action,.account-actions .account-logout,.more-menu .account-logout,.cinema-global-search) {
  background:var(--control-gradient);border-color:var(--line);color:#c6e0e4;box-shadow:var(--control-shadow);
}
body.auth-logged-in :is(input:not([type=range]):not([type=checkbox]),select,textarea) {
  border-color:#a9dbe52b;background-color:#081d27;color:#d9ecef;
}
body.auth-logged-in :is(input,textarea)::placeholder {color:#88a8b5}
body.auth-logged-in select {color-scheme:dark}
body.auth-logged-in select option {background:#0e2530;color:#d9ecef}
body.auth-logged-in input[type=checkbox] {accent-color:#71d8d4}
body.auth-logged-in :is(.media-tabs,.command-tabs,.stats-periods,.insights-segment) {
  padding:4px;gap:4px;border-color:#afdfe519;border-radius:11px;background:#05151ec9;box-shadow:inset 0 1px 3px #0000001c;
}
body.auth-logged-in :is(.media-tabs,.command-tabs,.stats-periods,.insights-segment) button {color:#96b4bf;box-shadow:none}
body.auth-logged-in :is(.media-tabs,.command-tabs,.stats-periods,.insights-segment) button[aria-pressed=true] {
  background:linear-gradient(125deg,#43818780,#254e5d80)!important;
  border-color:#a7efed3b;color:#d4f6f3;box-shadow:inset 0 1px #d6ffff12;
}

/* Home: the feature is the only large, illuminated frame. */
body.auth-logged-in .cinema-feature {
  min-height:470px;border-radius:19px;border-color:#7adddc70;background:#09212b;
  box-shadow:0 0 0 1px #6bdad210,0 0 32px #22caca16,0 18px 55px #00000038,inset 0 1px #d8ffff1a;
}
body.auth-logged-in .cinema-feature::after {
  background:linear-gradient(90deg,#051c27ed,#071b28ad 42%,#04141d26 77%),linear-gradient(0deg,#061923e8,transparent 70%),radial-gradient(ellipse at 0 0,#3ee5db14,transparent 60%);
}
body.auth-logged-in .cinema-feature-copy {width:min(700px,68%);padding:42px 44px 87px}
body.auth-logged-in #cinema-feature-title {
  margin:17px 0 14px;font-size:clamp(36px,4.1vw,60px);font-weight:690;letter-spacing:-.052em;line-height:1.14;
  text-shadow:0 3px 20px #00000040;
}
body.auth-logged-in #cinema-feature-overview {color:#bdcfd5;font-size:13px;line-height:1.8}
body.auth-logged-in .cinema-feature-footer {left:44px;right:32px;bottom:22px;border-color:#bce6ed1c;color:#91adb8}
.cinema-feature-brand {display:inline-flex;align-items:center;gap:5px;line-height:1;white-space:nowrap}
.cinema-feature-brand>i {display:inline-flex;align-items:center;justify-content:center;flex:none;line-height:1}
.cinema-feature-brand>i>.site-symbol {width:1em;height:1em}
body.auth-logged-in .cinema-feature-controls button {border-color:#aedfe525;background:#12313c85;color:#b1d8dd}
body.auth-logged-in .cinema-feature-fallback {background:radial-gradient(ellipse at 75% 45%,#1d606a70,transparent 62%),#0a202b}
body.auth-logged-in .cinema-feature-fallback img {filter:url(#landing-logo-matte) drop-shadow(0 0 30px #5adbd952)}
body.auth-logged-in .cinema-home-resume {margin:4px 0 5px}
body.auth-logged-in .cinema-home-resume h2 {font-size:27px;line-height:1.3}
body.auth-logged-in .cinema-home-resume .personal-section-action {flex-shrink:0;white-space:nowrap;min-height:40px;font-size:10px;padding-inline:11px}
body.auth-logged-in .cinema-resume-card {
  border-radius:13px;border-color:#9cd6db38;background:linear-gradient(115deg,#2d747859,#0a2630ad);
  box-shadow:inset 0 1px #d8ffff09,0 8px 24px #0000001a;
}
body.auth-logged-in .cinema-resume-card a {padding:11px;min-height:108px;gap:13px}
body.auth-logged-in .cinema-resume-image {width:58px;height:84px;border-radius:7px}
body.auth-logged-in .cinema-resume-card strong {font-weight:600;font-size:13px}

/* Posters: calm at rest, a single thin light border on focus/hover. */
body.auth-logged-in .media-card {border-radius:12px;border-color:#b5dfe52e;background:#0a202c;box-shadow:0 8px 24px #00000024}
body.auth-logged-in .media-card-info {padding:64px 12px 14px!important;background:linear-gradient(0deg,#031018f5,#06131bb8 21%,transparent 56%)!important}
body.auth-logged-in .media-card-title {font-weight:600;line-height:1.5;color:#e1f1f3}
body.auth-logged-in .media-card-genre {background:#21505b85;border-color:#9edce324;color:#c0e4e6;font-weight:500}
body.auth-logged-in :is(.favorite-toggle,.my-list-remove) {border-color:#bbdfe52b;background:#061922bd;color:#b9d9df;border-radius:8px}
body.auth-logged-in .favorite-toggle[aria-pressed=true] {color:#f0b1c4;border-color:#e5accf38;background:#3d233c8c}
body.auth-logged-in .cinema-result-poster {border-radius:11px;border-color:#a9dce52e}
body.auth-logged-in .cinema-result-copy strong {color:#d9edf0;font-weight:600}
body.auth-logged-in .media-availability {color:#a8dcd9}
body.auth-logged-in :is(.media-state,.media-skeleton,.personal-media-empty,.personal-empty,.personal-notification-empty) {background:#0a202a70;border-color:#a9dce51f}
body.auth-logged-in .media-state-copy {color:var(--muted)}

/* My Hub and Info use the same inset rows and generous separation. */
body.auth-logged-in :is(.personal-media-card,.my-list-item) {border-color:#aedfe521;background:#071c278c;border-radius:12px;box-shadow:none}
body.auth-logged-in .personal-media-progress {background:#98d2d51a}
body.auth-logged-in .personal-media-progress span {background:linear-gradient(90deg,#50b9bb,#b0e9e3)}
body.auth-logged-in :is(.personal-media-copy,.my-list-item-copy) strong {color:#d9eef0;font-weight:600}
body.auth-logged-in #pane-info-steps>div>div {background:#061a2580;border-color:#a9dce51f;border-radius:10px;padding:16px}
body.auth-logged-in :is(#pane-info-steps,#pane-home-stats) h3 {font-size:23px;line-height:1.3;letter-spacing:-.035em}
body.auth-logged-in #pane-home-stats>div>div {
  min-height:101px;padding:19px;border-radius:11px;border-color:#a9dce530;
  background:linear-gradient(125deg,#6bb1b52b,#123d476b);box-shadow:inset 0 1px #e1ffff0c;
}
body.auth-logged-in #pane-home-stats>div>div>span:first-child {color:#a4e7df!important;font-weight:650}
body.auth-logged-in #pane-home-stats>div>div>span:last-child {color:#aac8cf!important}
body.auth-logged-in #pane-info-faq .section-heading {margin-bottom:20px}
body.auth-logged-in #pane-info-faq h2 {font-size:clamp(26px,3vw,34px);letter-spacing:-.035em}
body.auth-logged-in #pane-info-faq summary {min-height:61px;font-size:13px;color:#cfe5e8;border-radius:7px}
body.auth-logged-in #pane-info-faq details[open] summary {color:#bcf0e8}
body.auth-logged-in #pane-info-faq details p {color:#a9c3cc;line-height:1.85}
body.auth-logged-in #pane-info-faq summary:focus-visible {outline:1px solid #8edddc85;outline-offset:-1px;background:#82dbd608;box-shadow:none}

/* Command Center: secondary server information never competes with primary actions. */
body.auth-logged-in .admin-heading {
  min-height:165px;padding:32px 34px;border-radius:18px;border-color:#aadce52b;
  background:linear-gradient(115deg,#3f7b8545,#0d2b368c 55%,#071b27b8);box-shadow:inset 0 1px #ddffff09;
}
body.auth-logged-in .admin-heading h2 {background-image:linear-gradient(110deg,#e8f7f7,#a7d5df);font-size:clamp(30px,4vw,48px);font-weight:650;line-height:1.2;letter-spacing:-.045em}
body.auth-logged-in #admin-sys-info-banner {
  gap:0;background:var(--panel-gradient);border-color:#a9dce533;border-radius:12px;
  box-shadow:inset 0 1px #d7ffff08,0 10px 30px #00000014;
}
/* Each former opaque cell must be transparent too, including the mobile rows. */
body.auth-logged-in #admin-sys-info-banner>div {background:transparent;border-inline-end:1px solid #a9dce514}
body.auth-logged-in #admin-sys-info-banner>div:last-child {border-inline-end:0}
body.auth-logged-in #admin-sys-info-banner>div>span:first-child {color:#94bdc7}
body.auth-logged-in #admin-sys-info-banner>div>span:last-child {color:#d0e9eb}
body.auth-logged-in .admin-card h3 {color:#d2e8eb;font-weight:600}
body.auth-logged-in .admin-card h3 i {color:#91c6cc}
body.auth-logged-in :is(#admin-sessions-list,#admin-users-list,#admin-tasks-list,#admin-devices-list)>div {
  background:#071c2787!important;border-color:#a9dce51c!important;
}
body.auth-logged-in #admin-sessions-list>.admin-session-row.is-playing {background:linear-gradient(110deg,#32717a26,#071c2787)!important;border-left-color:#76d8cf!important}
body.auth-logged-in :is(.invitation-row,.access-account-row,.invite-new-link) {background:#071c277d;border-color:#a9dce51f}
body.auth-logged-in .admin-action-grid button {background:linear-gradient(120deg,#30616a33,#0b263080);border-color:#a9dce527;color:#c0dfe2}
body.auth-logged-in .role-badge {border-color:#a9dce521;background:#66a7b015;color:#a8c6cf}

/* Insights: retain the exact chart geometry and interaction; bring surfaces into the theme. */
body.auth-logged-in .insights-metric,body.auth-logged-in .statistics-metric {
  border-color:#b0dfe52c;background:linear-gradient(125deg,#437b8540,#0a2531a6 70%);box-shadow:inset 0 1px #e1ffff08,0 12px 30px #00000014;
}
body.auth-logged-in .insights-metric strong {color:#b8ece6;font-weight:600}
body.auth-logged-in .insights-metric>span {color:#b1ccd3}
body.auth-logged-in .insights-metric small {color:#93b5c1}
body.auth-logged-in .insights-grid>section,body.auth-logged-in .insights-grid .personal-statistics-panel {
  background:var(--panel-gradient);border-color:#aadce52b;
}
body.auth-logged-in .insights-plot {background:linear-gradient(180deg,#09212bcc,#061722eb);border-color:#aadce51c;box-shadow:inset 0 1px #ddffff06}
body.auth-logged-in :is(#statistics-chart,.insights-grid) .insights-fixed-axis {background:linear-gradient(90deg,#0b202b 88%,#0b202bf0)}
body.auth-logged-in .insights-readout {background:#04131a6e;border-top-color:#a9dce51a}
body.auth-logged-in .insights-line {stroke:#9edddc}
body.auth-logged-in .insights-line-halo {stroke:#73d6d2;stroke-opacity:.07}
body.auth-logged-in .insights-guide {stroke:#a9dce512}
body.auth-logged-in .insights-point {fill:#0c2630;stroke:#9edddc}
body.auth-logged-in .insights-legend>span:before {background:#9edddc}
body.auth-logged-in .insights-legend>.is-previous:before {background:repeating-linear-gradient(90deg,#6e8195 0 4px,transparent 4px 7px)}
body.auth-logged-in :is(.insights-rank,.insights-distribution) .statistics-track span {background:linear-gradient(90deg,#4e969f,#ace3de)}
body.auth-logged-in .insights-coverage {background:#79b9c009;border-color:#a9dce51a;border-left-color:#80c9c54d;color:#a4c2cb}
body.auth-logged-in .insights-day-controls .insights-day-step {background:#15333d80;border-color:#a9dce524;color:#b3dadd}

/* A shared glass surface for every dialog. Only the surface is translucent;
   text, form fields and embedded video retain their own contrast. */
body.auth-logged-in :is(.cinema-dialog,.account-profile-dialog,.password-dialog,.requests-dialog) {
  background:radial-gradient(ellipse at 0 0,#d8fffa12,transparent 62%),linear-gradient(130deg,#90c3cd29,#1f525b33 45%,#08212e5c);
  background-clip:padding-box;
  border-color:#c8f1ef4a #a9dce530 #a9dce52b;border-radius:20px;
  box-shadow:0 28px 80px #00000061,0 0 40px #5dd8d909,inset 0 1px #efffff30,inset 1px 0 #cdfcff10;
  backdrop-filter:blur(14px) saturate(118%);-webkit-backdrop-filter:blur(14px) saturate(118%);
}
/* Frost only the glass itself. A sharp, lightly dimmed page makes its translucency visible. */
body.auth-logged-in dialog::backdrop {background:#010b1438;backdrop-filter:none;-webkit-backdrop-filter:none}
body.auth-logged-in :is(.cinema-dialog-header,.profile-header,.requests-dialog-header) {
  background:linear-gradient(110deg,#d5ffff0d,#7acbd305 55%,transparent);border-color:#b8e7e524;
  box-shadow:inset 0 1px #e5ffff09;
}
body.auth-logged-in :is(.cinema-dialog-header,.profile-header,.password-dialog-header) h2 {color:#e0f0f1;font-weight:650;line-height:1.25;letter-spacing:-.04em}
body.auth-logged-in :is(.cinema-dialog-header,.profile-header,.password-dialog-header,.requests-dialog-header)>button,
body.auth-logged-in :is(.password-dialog-close,.requests-dialog-close) {
  background:linear-gradient(135deg,#b8edf514,#427d8a19);border-color:#c0e9ef2e;
  box-shadow:inset 0 1px #e5ffff0c;color:#d4edef;
}
body.auth-logged-in dialog .insights-grid>section,body.auth-logged-in dialog .insights-grid .personal-statistics-panel {
  background:linear-gradient(130deg,#8ddde512,#071d2a70);border-color:#aadce529;
}
/* Content-sized trailers also override the compact-screen general dialog height. */
body.auth-logged-in .cinema-trailer-dialog {height:fit-content;max-height:calc(100dvh - 32px)}
body.auth-logged-in .cinema-confirm {height:fit-content}
body.auth-logged-in .cinema-trailer-dialog .cinema-dialog-body {flex:0 1 auto}
body.auth-logged-in .cinema-trailer-dialog iframe {height:auto;aspect-ratio:16/9}
body.auth-logged-in :is(.profile-facts>div,.profile-access-form,.cinema-request-row,.cinema-season-choices label) {background:#061b2775;border-color:#a9dce521}
body.auth-logged-in .cinema-request-row {border-radius:12px}
body.auth-logged-in :is(.cinema-episodes,.cinema-request-panel) {background:var(--panel-gradient);border-color:#a9dce533;box-shadow:inset 0 1px #ddffff08}
/* Title artwork blends into the same glass instead of sitting under opaque navy layers. */
body.auth-logged-in .cinema-detail-hero {
  background:linear-gradient(125deg,#93d0d529,#22536047 55%,#09232e66);
  border-color:#c3eeea52 #a9dce533 #a9dce52b;border-radius:19px;
  box-shadow:0 18px 48px #00000033,inset 0 1px #e5ffff24,inset 1px 0 #cdfcff0b;
  backdrop-filter:blur(16px) saturate(118%);-webkit-backdrop-filter:blur(16px) saturate(118%);
}
body.auth-logged-in .cinema-detail-backdrop {
  opacity:.72;object-position:75% center;
  -webkit-mask-image:linear-gradient(90deg,transparent 5%,#0000003d 38%,#000 82%);
  mask-image:linear-gradient(90deg,transparent 5%,#0000003d 38%,#000 82%);
}
body.auth-logged-in .cinema-detail-hero::before {
  background:radial-gradient(ellipse at 0 0,#a2f0e414,transparent 65%),linear-gradient(90deg,#08283266,#06212e26 70%,#071b261a),linear-gradient(0deg,#061d2873,transparent 78%);
}
body.auth-logged-in .cinema-detail-copy {text-shadow:0 1px 12px #00101a40}
body.auth-logged-in .cinema-detail-copy h1 {color:#e8f5f5;font-weight:680;letter-spacing:-.045em}
body.auth-logged-in .cinema-detail-meta {color:#a3d7d8}
body.auth-logged-in .cinema-detail-overview {color:#bcd1d7}
body.auth-logged-in .cinema-detail-rest .section-heading h2 {font-size:23px;line-height:1.35;letter-spacing:-.03em}
body.auth-logged-in .cinema-episode {border-bottom-color:#a9dce51c}
body.auth-logged-in :is(.more-menu,.action-toast) {background:#0b2530f2;border-color:#9bd4dc3b;box-shadow:0 12px 40px #0000004d}

@media(min-width:1280px) {
  /* The public desktop welcome keeps only the floating status, without a second brand bar. */
  body:not(.auth-logged-in):not(.invite-mode) .site-header {
    background:transparent;border-bottom:0;box-shadow:none;
    backdrop-filter:none;-webkit-backdrop-filter:none;
  }
  body:not(.auth-logged-in):not(.invite-mode) .site-header .brand {display:none}
  /* Dark translucent rails match the glass. Existing hidden rails stay hidden. */
  * {scrollbar-color:#526b7380 #06121b26}
  html,body,body :is(.profile-dialog-scroll,.cinema-dialog-body,.command-scroll,.cinema-player-choice-menu,.cinema-player-settings-panel,.insights-chart-scroll) {
    scrollbar-color:#526b7380 #06121b26;
  }
  ::-webkit-scrollbar {width:8px;height:8px}
  ::-webkit-scrollbar-track {background:#06121b26;border-radius:20px}
  ::-webkit-scrollbar-thumb {
    min-height:32px;border:2px solid transparent;border-radius:20px;
    background:linear-gradient(180deg,#82a9ae70,#45636d80);background-clip:padding-box;
  }
  ::-webkit-scrollbar-thumb:hover {background:#78979e99;background-clip:padding-box}
  body :is(.profile-dialog-scroll,.cinema-dialog-body,.command-scroll,.cinema-player-choice-menu,.cinema-player-settings-panel,.insights-chart-scroll)::-webkit-scrollbar-track {background:#06121b26}
  body :is(.profile-dialog-scroll,.cinema-dialog-body,.command-scroll,.cinema-player-choice-menu,.cinema-player-settings-panel,.insights-chart-scroll)::-webkit-scrollbar-thumb {
    border:2px solid transparent;border-radius:20px;
    background:linear-gradient(180deg,#82a9ae70,#45636d80);background-clip:padding-box;
  }
  body :is(.profile-dialog-scroll,.cinema-dialog-body,.command-scroll,.cinema-player-choice-menu,.cinema-player-settings-panel,.insights-chart-scroll)::-webkit-scrollbar-thumb:hover {background:#78979e99;background-clip:padding-box}
  /* The reference's right-hand strip is the page rail: transparent above, teal below.
     Keep native dragging/wheel/keyboard scrolling. Show the rail only with page overflow. */
  html {overflow-y:auto;scrollbar-gutter:auto}
  html,body {scrollbar-width:thin;scrollbar-color:#23758180 #07374080}
  html::-webkit-scrollbar,body::-webkit-scrollbar {display:block;width:10px;height:10px;background:transparent}
  html::-webkit-scrollbar-track,body::-webkit-scrollbar-track {
    margin:0;border-radius:0;
    background:linear-gradient(180deg,#020b1200 0%,#02161f61 45%,#03454ec2 78%,#022d34eb 100%);
    box-shadow:inset 1px 0 #8fe8e509;
  }
  html::-webkit-scrollbar-thumb,body::-webkit-scrollbar-thumb {
    min-height:48px;border:2px solid transparent;border-radius:12px;
    background:linear-gradient(180deg,#0a36432e,#247f8a66 60%,#4ab5b65c);
    background-clip:padding-box;box-shadow:inset 1px 0 #c6fff51a;
  }
  html::-webkit-scrollbar-thumb:hover,body::-webkit-scrollbar-thumb:hover {
    background:linear-gradient(180deg,#28657559,#50c0c58c);background-clip:padding-box;
  }
  html::-webkit-scrollbar-thumb:active,body::-webkit-scrollbar-thumb:active {
    background:linear-gradient(180deg,#39849380,#74d9d8a6);background-clip:padding-box;
  }
  /* Standard non-auto scrollbar colors suppress gradient pseudo-elements in Chrome/Edge.
     Use the gradient path where available; other engines keep a teal native fallback. */
  @supports selector(::-webkit-scrollbar) {
    html,body {scrollbar-width:auto;scrollbar-color:auto}
  }
  html:has(dialog[open]),html:has(body.cinema-player-open) {overflow-y:hidden}
  html:has(body.cinema-player-open) {scrollbar-gutter:auto}
  body.auth-logged-in .app-shell {width:min(1280px,calc(100% - 80px))}
  body.auth-logged-in .topbar {min-height:80px;gap:20px}
  body.auth-logged-in .page-main {padding-top:114px}
  body.auth-logged-in .desktop-nav {gap:3px}
  body.auth-logged-in .desktop-nav .desktop-nav-button {position:relative;color:#9ebbc5;font-weight:500;border-radius:8px;min-height:38px}
  body.auth-logged-in .desktop-nav .desktop-nav-button:is(.is-active,[aria-current=page]) {background:linear-gradient(0deg,#6ad9d51f,#6ad9d507);color:#c0f2ee;box-shadow:inset 0 -1px #78e3d8a6}
  body.auth-logged-in .server-status {display:flex;order:3;width:137px;height:36px;min-height:36px;flex:0 0 137px;padding:0 10px;font-size:9px;gap:7px;border-radius:9px;margin-left:0}
  body.auth-logged-in .server-status-icon {width:23px;height:23px;flex-basis:23px;padding:4px;border-radius:6px}
  body.auth-logged-in .cinema-global-search {order:2;min-height:38px;font-size:11px;padding:0 13px;border-radius:9px}
  body.auth-logged-in .header-account {order:4}
  body.auth-logged-in .account-actions .account-logout {min-height:38px;padding:0 13px}
}
@media(max-width:1279px) {
  body.auth-logged-in .cinema-feature {min-height:450px}
  body.auth-logged-in .cinema-feature-copy {width:75%;padding:36px 32px 85px}
  body.auth-logged-in .cinema-feature-footer {left:32px;right:28px}
  body.auth-logged-in .mobile-dock {background:linear-gradient(110deg,#12333de8,#081a26f2);border-top-color:#b1e2e530;box-shadow:0 -8px 30px #00000029}
  body.auth-logged-in .dock-btn {color:#8cabb9}
  body.auth-logged-in .dock-btn.is-active {background:linear-gradient(140deg,#72d6d51f,#72d6d509);color:#b3eee6}
  body.auth-logged-in .cinema-global-search {margin-left:auto}
}
@media(max-width:767px) {
  body.auth-logged-in #admin-sys-info-banner>div {border-inline-end:0;border-bottom:1px solid #a9dce514}
  body.auth-logged-in #admin-sys-info-banner>div:last-child {border-bottom:0}
  body.auth-logged-in .landing-backdrop::after {background:linear-gradient(0deg,#040f17f0,#061923c7 55%,#04131ca3),linear-gradient(90deg,#051a23bb,#06192366)}
  body.auth-logged-in .cinema-feature {min-height:530px;border-radius:16px;box-shadow:0 0 22px #22caca0d,0 14px 36px #00000029}
  body.auth-logged-in .cinema-feature::after {background:linear-gradient(0deg,#061b25fc 4%,#061b25e8 37%,#061b2538 83%),linear-gradient(90deg,#071c2638,transparent)}
  body.auth-logged-in .cinema-feature-copy {width:100%;padding:198px 22px 83px}
  body.auth-logged-in #cinema-feature-title {font-size:clamp(31px,8vw,41px);line-height:1.16}
  body.auth-logged-in #cinema-feature-overview {font-size:12px;line-height:1.8}
  body.auth-logged-in .cinema-feature-footer {left:22px;right:22px;bottom:21px}
  body.auth-logged-in .cinema-feature-footer>span:first-child {max-width:32%;font-size:7.5px;line-height:1.6}
  body.auth-logged-in .cinema-feature-brand {display:none}
  body.auth-logged-in :is(.discover-panel,.client-panel,#pane-info-steps,#pane-home-stats,#pane-info-faq) {padding:22px 20px;border-radius:16px}
  body.auth-logged-in :is(.section-heading,.my-hub-heading) h2 {font-size:30px}
  body.auth-logged-in .discover-panel .section-heading h2 {font-size:26px}
  body.auth-logged-in .cinema-home-resume h2 {font-size:25px}
  body.auth-logged-in .media-card {border-radius:10px}
  body.auth-logged-in .media-card-info {padding:44px 10px 12px!important}
  body.auth-logged-in .media-card-title {font-size:12px}
  body.auth-logged-in .admin-heading {padding:25px 23px;border-radius:16px;min-height:155px}
  body.auth-logged-in #pane-info-faq summary {min-height:60px;font-size:12px;gap:12px}
  body.auth-logged-in #pane-info-faq details p {font-size:12px;padding-right:5px}
  body.auth-logged-in :is(.media-tabs,.command-tabs,.stats-periods) button {min-height:40px}
  body.auth-logged-in :is(.cinema-dialog,.account-profile-dialog,.password-dialog,.requests-dialog) {border-radius:16px}
}
/* Use the landscape title-card composition, adapted to a narrow portrait screen. */
@media(max-width:720px) and (orientation:portrait) {
  body.auth-logged-in .cinema-detail-hero {flex-direction:row;align-items:flex-end;min-height:440px}
  body.auth-logged-in .cinema-detail-backdrop {
    position:absolute;inset:0;z-index:-2;width:100%;height:100%;
    object-fit:cover;object-position:75% center;opacity:.72;
  }
  body.auth-logged-in .cinema-detail-content {padding:32px 20px 28px}
  body.auth-logged-in .cinema-detail-poster {
    display:block;width:100%;max-width:110px;height:auto;object-fit:contain;
    grid-column:1;grid-row:1 / 4;align-self:start;
  }
  body.auth-logged-in .cinema-detail-content:has(>.cinema-detail-poster) {
    display:grid;grid-template-columns:clamp(86px,25vw,110px) minmax(0,1fr);
    align-items:start;gap:0 16px;
  }
  body.auth-logged-in .cinema-detail-content:has(>.cinema-detail-poster)>.cinema-detail-copy {display:contents}
  body.auth-logged-in .cinema-detail-content:has(>.cinema-detail-poster) .section-kicker {grid-column:2;grid-row:1;align-self:end;font-size:9px}
  body.auth-logged-in .cinema-detail-content:has(>.cinema-detail-poster) h1 {
    grid-column:2;grid-row:2;margin:9px 0 12px;font-size:clamp(24px,7vw,34px);line-height:1.14;
  }
  body.auth-logged-in .cinema-detail-content:has(>.cinema-detail-poster) .cinema-detail-meta {grid-column:2;grid-row:3;margin:0;font-size:11px;line-height:1.7}
  body.auth-logged-in .cinema-detail-content:has(>.cinema-detail-poster) .cinema-detail-overview {grid-column:1 / -1;grid-row:4;margin-top:22px}
  body.auth-logged-in .cinema-detail-content:has(>.cinema-detail-poster) .cinema-detail-actions {grid-column:1 / -1;grid-row:5}
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  body.auth-logged-in :is(.cinema-dialog,.account-profile-dialog,.password-dialog,.requests-dialog) {
    background:linear-gradient(130deg,#244752f2,#0b2330f7);
  }
  body.auth-logged-in .cinema-detail-hero {background:linear-gradient(125deg,#173d49ed,#09232ef2)}
}
@media(hover:hover) and (pointer:fine) {
  body.auth-logged-in .media-card:hover {--lift:-3px;border-color:#85dedb96;box-shadow:0 0 22px #3fdbce18,0 16px 32px #00000038}
  body.auth-logged-in :is(.cinema-resume-card,.personal-media-card):hover {border-color:#88d9d66b;box-shadow:0 0 18px #53d7cd0e}
  body.auth-logged-in :is(.button-secondary,.personal-section-action,.quick-action,.client-link,.cinema-global-search):hover {border-color:#a4e1e54d;background:#32616a33;color:#e0f4f4}
  body.auth-logged-in #pane-info-faq summary:hover {color:#bce8e5}
}
@media(prefers-reduced-motion:reduce) {
  body.auth-logged-in :is(.media-card,.personal-media-card):hover {transform:none}
}
@media(forced-colors:active) {
  html,body,body :is(.profile-dialog-scroll,.cinema-dialog-body,.command-scroll,.cinema-player-choice-menu,.cinema-player-settings-panel,.insights-chart-scroll),* {scrollbar-color:auto}
  body:is(.auth-logged-in,.invite-mode) .landing-backdrop {display:none}
  body.auth-logged-in :is(.panel,.admin-card,.personal-media-section,.cinema-feature,.media-card,.cinema-detail-hero,.cinema-dialog,.account-profile-dialog,.password-dialog,.requests-dialog) {background:Canvas;border-color:CanvasText;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
  body.auth-logged-in .cinema-detail-hero::before {background:none}
  body.auth-logged-in .cinema-detail-backdrop {display:none}
  body.auth-logged-in :is(.title-gradient,.admin-heading h2) {background:none;color:CanvasText;-webkit-text-fill-color:CanvasText}
  body.auth-logged-in .brand img {filter:none}
}

/* Title navigation: crisp arrow matching the shared icon system. */
.cinema-title-top .cinema-title-back{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:11px 16px;border-radius:12px}
.cinema-title-back .site-symbol{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;color:#9edfe3;transition:transform .18s ease}
@media(hover:hover){.cinema-title-back:hover .site-symbol{transform:translateX(-2px)}}
@media(prefers-reduced-motion:reduce){.cinema-title-back .site-symbol{transition:none}.cinema-title-back:hover .site-symbol{transform:none}}

/* Favorites: one stable heart, quiet cyan glass, no system busy cursor. */
body.auth-logged-in :is(.favorite-toggle,.my-list-remove,.favorite-label-button){
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  border:1px solid #a2e5e538;border-radius:11px;
  background:linear-gradient(140deg,#153c488c,#061820c9);color:#a8d7dd;
  box-shadow:inset 0 1px 0 #ddffff0c,0 3px 12px #0002;
  cursor:pointer;transform:none;opacity:1;
  transition:color 180ms ease,background-color 180ms ease,border-color 180ms ease,box-shadow 180ms ease;
  -webkit-tap-highlight-color:transparent;
}
body.auth-logged-in .favorite-toggle{width:36px;height:36px;padding:8px}
body.auth-logged-in .my-list-remove{width:36px;min-width:36px;height:36px;padding:8px}
body.auth-logged-in .favorite-label-button{min-width:154px;min-height:44px;padding:10px 16px}
body.auth-logged-in :is(.favorite-toggle,.my-list-remove,.favorite-label-button)[aria-pressed=true]{
  color:#76e3df;border-color:#76e3df70;background:linear-gradient(140deg,#28606b9e,#0b2b35d9);
  box-shadow:inset 0 1px 0 #dfffff12,0 0 15px #66e2df12;
}
body.auth-logged-in :is(.favorite-toggle,.my-list-remove,.favorite-label-button):is(:active,[aria-busy=true],[aria-disabled=true]){cursor:pointer;transform:none;opacity:1}
.favorite-heart{display:block;width:19px;height:19px;flex:none;overflow:visible;transform-origin:center;pointer-events:none}
.favorite-heart path{fill:currentColor;fill-opacity:0;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:fill-opacity 180ms ease}
[aria-pressed=true]>.favorite-heart path{fill-opacity:1}
body.auth-logged-in :is(.favorite-toggle,.my-list-remove,.favorite-label-button):focus-visible{outline:2px solid #76e3df;outline-offset:3px}
@media(hover:hover){
 body.auth-logged-in :is(.favorite-toggle,.my-list-remove,.favorite-label-button):hover{color:#8aeeea;border-color:#76e3df8c;box-shadow:inset 0 1px 0 #dfffff12,0 0 18px #66e2df1c;transform:none}
}
@media(pointer:coarse){
 body.auth-logged-in :is(.favorite-toggle,.my-list-remove){width:44px;min-width:44px;height:44px;padding:12px}
}
@media(prefers-reduced-motion:reduce){
 body.auth-logged-in :is(.favorite-toggle,.my-list-remove,.favorite-label-button),.favorite-heart path{transition:none}
}
