/* Shared Cinema Light theme. Loaded after each screen's structural styles. */
:root.cinema-light {
  color-scheme: light;
  --home-bg: #f7f9fc;
  --home-surface: #fff;
  --home-alt: #f1f5fb;
  --home-border: #d9e2f0;
  --home-ink: #0f172a;
  --home-secondary: #475569;
  --home-muted: #64748b;
  --home-accent: #2f5bea;
  --home-hover: #264cc5;
  --home-soft: #e8eeff;
  --home-lavender: #f1ebff;
  --home-success: #15803d;
  --home-warning: #b45309;
  --home-danger: #b91c1c;
  background: var(--home-bg);
  color: var(--home-ink);
}
.cinema-light body { background: var(--home-bg); }
.cinema-light [hidden] { display: none !important; }
.cinema-light .ui-icon { flex-shrink: 0; vertical-align: middle; }
.cinema-light .home-header { width: min(100%, 820px); margin: 0 auto; }
.cinema-light .browser-context { padding: 12px 18px 0; gap: 2px; font-size: .8rem; }
.cinema-light .browser-context-row { justify-content: space-between; gap: 10px; min-width: 0; }
.cinema-light .browser-identity,
.cinema-light .browser-library-name { min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.cinema-light .browser-library-name { display: flex; align-items: center; gap: 7px; }
.cinema-light .browser-library-name .ui-icon { width: 16px; height: 16px; }
.cinema-light .browser-library-row { color: var(--home-secondary); }
.cinema-light .browser-logout,
.cinema-light .browser-nav-link { flex-shrink: 0; }
.cinema-light .browser-nav-link { min-height: 44px; gap: 6px; color: var(--home-secondary); text-decoration: none; font-size: .8rem; }
.cinema-light .browser-library-row .browser-nav-link { color: var(--home-accent); }
.cinema-light .browser-nav-link:hover { color: var(--home-hover); text-decoration: underline; }
.cinema-light .page { padding: 14px 18px 40px; }
.cinema-light .home-title { padding-bottom: 0; }
.cinema-light .home-content { padding-top: 12px; }
.cinema-light .topbar { margin-bottom: 4px; gap: 10px; flex-wrap: wrap; }
.cinema-light h1 { font-size: clamp(1.9rem, 7vw, 2.8rem); line-height: 1.15; }
.cinema-light .eyebrow { color: var(--home-secondary); font-size: .68rem; letter-spacing: .08em; }
.cinema-light .topbar-actions { gap: 6px; margin-left: auto; }
.cinema-light .settings-gear { background: var(--home-surface); color: var(--home-secondary); border-color: var(--home-border); width: 44px; min-height: 44px; }
.cinema-light .settings-gear:hover { color: var(--home-accent); background: var(--home-soft); }
.cinema-light .badge { padding: 4px 7px; font-size: .65rem; color: var(--home-secondary); border-color: var(--home-border); background: var(--home-alt); }
.cinema-light .home-brand-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.cinema-light .home-brand-meta .eyebrow { margin: 0; }
.cinema-light .home-style-menu { position: relative; padding: 0; border: 0; background: transparent; }
.cinema-light .home-style-menu summary { list-style: none; cursor: pointer; }
.cinema-light .home-style-menu summary::-webkit-details-marker { display: none; }
.cinema-light .home-style-picker { position: absolute; z-index: 5; top: calc(100% + 8px); right: 0; width: 216px; display: grid; gap: 8px; padding: 16px; border: 1px solid var(--home-border); border-radius: 16px; background: var(--home-surface); color: var(--home-secondary); box-shadow: 0 8px 24px #0f172a14; font-size: .8rem; }
.cinema-light .home-style-picker select { min-height: 44px; max-width: 100%; padding: 6px 26px 6px 10px; border: 1px solid var(--home-border); border-radius: 10px; background: var(--home-surface); color: var(--home-ink); font: inherit; font-size: 1rem; cursor: pointer; }
.cinema-light :is(a, button, select, summary):focus-visible { outline: 3px solid var(--home-accent); outline-offset: 3px; }
.cinema-light .scan-card,
.cinema-light .library { padding: 22px; border-color: var(--home-border); border-radius: 22px; background: var(--home-surface); box-shadow: 0 4px 16px #0f172a03; }
.cinema-light .scan-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cinema-light .scan-heading h2 { margin: 0; font-size: 1.5rem; letter-spacing: -.035em; }
.cinema-light .scan-icon { display: grid; place-items: center; width: 36px; height: 36px; margin: 0; border-radius: 12px; background: var(--home-lavender); color: var(--home-accent); }
.cinema-light .scan-card > p { color: var(--home-secondary); font-size: .9rem; line-height: 1.6; margin-bottom: 18px; }
.cinema-light #scan-form { gap: 12px; margin-top: 0; }
.cinema-light .photo-slot { gap: 12px; padding: 14px; border-color: var(--home-border); background: var(--home-alt); border-radius: 16px; }
.cinema-light .photo-slot-heading { gap: 8px; font-size: .85rem; }
.cinema-light .photo-slot-heading span { color: var(--home-secondary); font-size: .7rem; }
.cinema-light .photo-slot-heading .required-pill { padding: 3px 7px; border-radius: 6px; background: var(--home-soft); color: var(--home-accent); font-size: .68rem; }
.cinema-light .upload-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 14px 4px; text-align: center; }
.cinema-light .upload-empty > .ui-icon { width: 28px; height: 28px; color: var(--home-muted); }
.cinema-light .upload-empty strong { font-size: .85rem; font-weight: 600; }
.cinema-light .upload-empty small { display: block; margin-top: 4px; font-size: .75rem; color: var(--home-secondary); }
.cinema-light .photo-slot:has(.preview.visible) .upload-empty { display: none; }
.cinema-light :is(.scan-button, #upload-button, .primary-action, .secondary-button, .save-final-button) { min-height: 48px; padding: 11px 12px; gap: 8px; border-radius: 12px; font-size: .85rem; line-height: 1.4; }
.cinema-light :is(.scan-button, #upload-button, .primary-action) { background: var(--home-accent); color: #fff; border: 1px solid transparent; }
.cinema-light :is(.scan-button:hover, #upload-button:enabled:hover, .primary-action:enabled:hover) { background: var(--home-hover); }
.cinema-light :is(.secondary-button, .scan-button.secondary, .small-action) { background: transparent; border: 1px solid var(--home-border); color: var(--home-secondary); }
.cinema-light :is(.secondary-button, .scan-button.secondary, .small-action):hover { background: var(--home-alt); color: var(--home-ink); }
.cinema-light #upload-button { margin-top: 6px; }
.cinema-light :is(#upload-button, .primary-action, .save-final-button):disabled { opacity: 1; background: #e2e8f0; color: #526176; border-color: transparent; cursor: default; }
.cinema-light .save-final-button { background: var(--home-success); color: #fff; }
.cinema-light .text-button { min-height: 44px; color: var(--home-secondary); }
.cinema-light #image1-input,
.cinema-light #image2-input { display: block; position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cinema-light .photo-slot:has(input:focus-visible) .scan-button { outline: 3px solid var(--home-accent); outline-offset: 3px; }
.cinema-light .preview { background: var(--home-alt); border-color: var(--home-border); }
.cinema-light .file-name { color: var(--home-secondary); font-size: .75rem; }
.cinema-light .file-name:empty { display: none; }
/* Keep every later stage legible in the same light document. */
.cinema-light :is(.scan-result, .finalize-section, .ocr-result, .ocr-line, .tmdb-manual-search) { border-color: var(--home-border); }
.cinema-light :is(.result-item, .crop-section, .medium-correction, .movie-card) { background: var(--home-alt); }
.cinema-light :is(.crop-card, details, .tmdb-section, .tmdb-card) { border-color: var(--home-border); background: var(--home-surface); }
.cinema-light :is(.crop-card-heading span, .section-heading span, .selected-preview-label, .crop-help, .field-label, .result-item span, .save-status, .finalize-help, .ocr-help, .ocr-empty, .movie-card small, .movie-meta, .empty-state, .empty-state small, .library-recent-heading, .tmdb-original, .tmdb-meta, .tmdb-query, .tmdb-overview, .tmdb-attribution) { color: var(--home-secondary); }
.cinema-light :is(summary, .ocr-line) { color: var(--home-ink); }
.cinema-light :is(.editor-help, .tmdb-score, .tmdb-link) { color: var(--home-accent); }
.cinema-light :is(.selected-preview, .tmdb-poster, .tmdb-poster-placeholder) { border-color: var(--home-border); background: var(--home-alt); }
.cinema-light .tmdb-poster-placeholder { color: var(--home-secondary); }
.cinema-light .tmdb-manual-form input { border-color: var(--home-border); background: var(--home-surface); color: var(--home-ink); }
.cinema-light .tmdb-manual-form input::placeholder { color: var(--home-muted); }
.cinema-light .medium-buttons button { background: var(--home-surface); color: var(--home-secondary); border-color: var(--home-border); }
.cinema-light .medium-buttons button.selected { background: var(--home-soft); color: var(--home-accent); border-color: var(--home-accent); }
.cinema-light .tmdb-card:first-child { border-color: var(--home-accent); }
.cinema-light .tmdb-card.selected { border-color: var(--home-success); box-shadow: 0 0 0 1px var(--home-success); }
.cinema-light .tmdb-card.selected .tmdb-select-button { background: #ecfdf3; color: var(--home-success); border-color: var(--home-success); }
.cinema-light .recognition-info { margin-top: 12px; }
.cinema-light .status.pending { background: var(--home-soft); color: var(--home-hover); }
.cinema-light .status.success { background: #ecfdf3; color: var(--home-success); }
.cinema-light .status.error { background: #fef2f2; color: var(--home-danger); }
.cinema-light .success-text { color: var(--home-success); }
.cinema-light .error-text { color: var(--home-danger); }
.cinema-light .pending-text { color: var(--home-hover); }
.cinema-light .crop-found { color: var(--home-success) !important; }
.cinema-light .crop-missing { color: var(--home-warning) !important; }
.cinema-light .duplicate-warning { background: #fffbeb; color: var(--home-warning); border-color: var(--home-warning); }
.cinema-light .duplicate-warning strong { color: var(--home-warning); }
.cinema-light .duplicate-warning .duplicate-accept-button { background: var(--home-warning); color: #fff; border-color: var(--home-warning); }
.cinema-light .duplicate-warning .duplicate-accept-button:hover { background: #92400e; color: #fff; }
.cinema-light .library .section-heading h2 { font-size: 1.3rem; margin-bottom: 0; }
.cinema-light .library-recent-heading { font-size: .8rem; }
.cinema-light .movie-card { min-width: 0; }
.cinema-light .movie-card > div:first-child { min-width: 0; overflow-wrap: anywhere; }
.cinema-light .movie-meta { flex-shrink: 0; }
.cinema-light .reports-link { margin-top: 10px; }
/* Skupiony: minimal nesting and a small, structured empty photo field. */
.cinema-light[data-home-style="focused"] .home-title .topbar > div:first-child { display: flex; flex-direction: column-reverse; gap: 4px; }
.cinema-light[data-home-style="focused"] .eyebrow { text-transform: none; letter-spacing: 0; }
.cinema-light[data-home-style="focused"] .browser-library-row { padding: 0 10px; border-radius: 12px; background: var(--home-alt); }
.cinema-light[data-home-style="focused"] .scan-icon { width: 28px; height: 28px; background: transparent; }
.cinema-light[data-home-style="focused"] .photo-slot { padding: 0; border: 0; background: transparent; }
.cinema-light[data-home-style="focused"] .upload-empty { flex-direction: row; justify-content: flex-start; text-align: left; padding: 16px 12px; border-radius: 12px; background: var(--home-alt); }
.cinema-light[data-home-style="focused"] #show-second-button { border: 0; padding-left: 0; justify-content: flex-start; color: var(--home-accent); }
.cinema-light[data-home-style="focused"] #upload-button { margin-top: 10px; }
.cinema-light[data-home-style="focused"] .library { padding: 10px 4px; background: transparent; border: 0; box-shadow: none; }
.cinema-light[data-home-style="focused"] .movie-card { background: var(--home-surface); border: 1px solid var(--home-border); }
/* Kinowy: expressive title, lavender photo field and a quieter collection. */
.cinema-light[data-home-style="cinematic"] h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); }
.cinema-light[data-home-style="cinematic"] .scan-card { border-top: 4px solid #c7b6ff; }
.cinema-light[data-home-style="cinematic"] .scan-heading h2 { font-size: 1.8rem; }
.cinema-light[data-home-style="cinematic"] .scan-icon { width: 40px; height: 40px; }
.cinema-light[data-home-style="cinematic"] .photo-slot { background: var(--home-lavender); border-style: dashed; }
.cinema-light[data-home-style="cinematic"] .upload-empty { padding: 22px 4px; }
.cinema-light[data-home-style="cinematic"] .library { padding: 10px 4px; background: transparent; border: 0; box-shadow: none; }
.cinema-light[data-home-style="cinematic"] .movie-card { background: var(--home-surface); border: 1px solid var(--home-border); }
@media (min-width: 640px) {
  .cinema-light .browser-context { padding: 16px 18px 0; }
  .cinema-light .page { padding-top: 18px; }
  .cinema-light .home-content { padding-top: 12px; }
  .cinema-light :is(.scan-card, .library) { padding: 28px; }
}
@media (max-width: 380px) {
  .cinema-light .page { padding-left: 14px; padding-right: 14px; }
  .cinema-light .browser-context { padding-left: 14px; padding-right: 14px; }
  .cinema-light :is(.scan-card, .library) { padding: 18px 14px; }
  .cinema-light .topbar { flex-wrap: nowrap; gap: 4px; }
  .cinema-light h1 { font-size: 1.6rem; }
  .cinema-light .topbar-actions { gap: 4px; }
  .cinema-light .home-brand-meta .eyebrow { font-size: .6rem; }
}

/* Shared page shell and hierarchy, including pre-auth and confirmation screens. */
:root.cinema-light {
  --ui-card-padding: 22px;
  --ui-gap: 16px;
  --ui-radius: 22px;
  --ui-title: clamp(1.9rem, 7vw, 2.8rem);
}
.cinema-light .browser-context,
.cinema-light .appearance-header { width: min(100%, 820px); margin: 0 auto; }
.cinema-light .browser-user-row { align-items: flex-start; }
.cinema-light .browser-identity { min-height: 44px; }
.cinema-light .browser-account-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.cinema-light .appearance-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px 0; }
.cinema-light .appearance-brand { font-weight: 750; text-decoration: none; color: var(--home-ink); }
.cinema-light .settings-gear { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--home-border); border-radius: 12px; padding: 0; }
.cinema-light .home-style-menu { flex-shrink: 0; }
.cinema-light .home-style-picker { z-index: 30; }
.cinema-light .topbar { margin-bottom: var(--ui-gap); }
.cinema-light .topbar > div:first-child { min-width: 0; }
.cinema-light h1 { font-size: var(--ui-title); overflow-wrap: anywhere; }
.cinema-light :is(h2, h3, h4) { color: var(--home-ink); overflow-wrap: anywhere; }
.cinema-light :is(.scan-card, .report-section, .settings-card) {
  padding: var(--ui-card-padding);
  margin-bottom: var(--ui-gap);
  border: 1px solid var(--home-border);
  border-radius: var(--ui-radius);
  background: var(--home-surface);
  box-shadow: 0 4px 16px #0f172a03;
}
.cinema-light :is(.report-kicker, .settings-kicker) { color: var(--home-accent); }
.cinema-light :is(.report-section, .settings-card, .scan-card) > h1 { margin-bottom: 18px; }
.cinema-light :is(.settings-card, .report-section, .auth-card) > p { color: var(--home-secondary); line-height: 1.6; }
.cinema-light a { color: var(--home-accent); text-underline-offset: 3px; }
.cinema-light a:hover { color: var(--home-hover); }
.cinema-light :is(.summary-card, .breakdown-card, .genre-row, .genre-movie-card,
  .report-movie-card, .copy-detail-card, .cast-row, .dimension-row, .report-empty,
  .settings-toggle-row, .sync-run, .auth-pending, .target-list-block) {
  border-color: var(--home-border); background: var(--home-alt); color: var(--home-ink);
  box-shadow: none;
}
.cinema-light :is(.genre-link, .breakdown-link, .report-movie-card, .cast-link, .dimension-link):is(:hover, :focus-visible) {
  border-color: var(--home-accent); background: var(--home-soft); color: var(--home-ink);
}
.cinema-light :is(.summary-card span, .summary-card small, .breakdown-row small,
  .genre-row small, .genre-movie-card small, .report-movie-main small,
  .report-movie-meta, .genre-movie-meta, .report-note, .report-empty,
  .movie-original-title, .detail-list dt, .cast-row span, .copy-detail-heading span,
  .copy-detail-heading small, .copy-facts, .copy-image-card figcaption, .inline-code,
  .library-loaded-count, .library-export-note, .library-load-status, .settings-help,
  .settings-muted, .settings-message, .settings-toggle-row small, .sync-run-head span,
  .sync-run-meta, .settings-facts dt, .people-search-heading p, .people-role-fieldset legend,
  .people-search-field > label, .people-search-status, .people-suggestion small,
  .settings-field > span, .schedule-grid label > span, .provider-options p) { color: var(--home-secondary); }
.cinema-light :is(.breakdown-label strong, .detail-list dd, .invitation-fixed-role) { color: var(--home-ink); }
.cinema-light :is(.genre-footer span, .movie-open-hint, .cast-row small, .ranking-more,
  .settings-link-button, .schedule-target-facts a) { color: var(--home-accent); }
.cinema-light :is(.detail-list > div, .people-search, .settings-facts > div) { border-color: var(--home-border); }
.cinema-light .bar-track { background: var(--home-border); }
.cinema-light .bar-fill { background: var(--home-accent); }
.cinema-light .data-missing .breakdown-label span { color: var(--home-warning); }
.cinema-light :is(.report-movie-thumb, .movie-detail-cover, .copy-image-card a, .copy-image-card img) { background: var(--home-alt); border-color: var(--home-border); color: var(--home-muted); }
.cinema-light :is(.detail-chip, .library-copy-chip, .dimension-rank, .settings-status-pill) {
  background: var(--home-soft); border-color: var(--home-border); color: var(--home-hover);
}
.cinema-light :is(.summary-grid, .report-columns, .dimension-list, .report-movie-list,
  .genre-list, .genre-movie-list, .copy-detail-list, .cast-list) { gap: var(--ui-gap); }
.cinema-light :is(.back-link, .settings-back, .library-action, .library-load-more,
  .ranking-more-button, .settings-secondary, .button-like) {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 44px; padding: 10px 14px; border: 1px solid var(--home-border); border-radius: 12px;
  background: var(--home-surface); color: var(--home-accent); text-decoration: none;
}
.cinema-light :is(.back-link, .settings-back, .library-action, .library-load-more,
  .ranking-more-button, .settings-secondary, .button-like):is(:hover, :focus-visible):not(:disabled) {
  background: var(--home-soft); border-color: var(--home-accent); color: var(--home-hover);
}
.cinema-light :is(.settings-primary, .people-search-button, .auth-action,
  .scan-card button:not([class]):not([data-medium]):not([data-edition-type]), .settings-card button:not([class])) {
  min-height: 44px; padding: 10px 14px; border: 1px solid var(--home-accent);
  border-radius: 12px; background: var(--home-accent); color: #fff; cursor: pointer;
}
.cinema-light :is(.settings-primary, .people-search-button, .auth-action,
  .scan-card button:not([class]):not([data-medium]):not([data-edition-type]), .settings-card button:not([class])):enabled:hover { background: var(--home-hover); }
.cinema-light :is(button, select, input):disabled,
.cinema-light a[aria-disabled="true"] { opacity: 1; background: #e2e8f0; border-color: var(--home-border); color: #526176; cursor: not-allowed; }
.cinema-light :is(input[type="text"], input[type="email"], input[type="search"], input[type="password"], input[type="time"], input[type="number"], input[type="url"], input:not([type]), select) {
  min-height: 44px; max-width: 100%; padding: 10px 12px; border: 1px solid var(--home-border);
  border-radius: 10px; background: var(--home-surface); color: var(--home-ink); font: inherit; line-height: 1.5;
}
.cinema-light select:not([multiple]), .cinema-light .home-style-picker select {
  appearance: none; -webkit-appearance: none;
  padding-right: 40px;
  background-image: url('/static/select-chevron.svg');
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.cinema-light [data-preferences-form] { display: grid; gap: 16px; }
.cinema-light [data-preferences-form] .settings-field { margin: 0; }
.cinema-light [data-preferences-form] > button { justify-self: start; }
.cinema-light input::placeholder { color: var(--home-muted); }
.cinema-light input:focus-visible { outline: 3px solid var(--home-accent); outline-offset: 3px; }
.cinema-light :is(input[type="checkbox"], input[type="radio"]) { accent-color: var(--home-accent); }
.cinema-light .people-role-option span { border-color: var(--home-border); background: var(--home-surface); color: var(--home-secondary); }
.cinema-light .people-role-option input:checked + span { background: var(--home-soft); border-color: var(--home-accent); color: var(--home-hover); }
.cinema-light .people-search-suggestions { border-color: var(--home-border); background: var(--home-surface); box-shadow: 0 8px 24px #0f172a14; }
.cinema-light .people-suggestion { color: var(--home-ink); border-color: var(--home-border); min-height: 44px; }
.cinema-light .people-suggestion:is(:hover, :focus-visible) { background: var(--home-soft); }
.cinema-light .settings-or { color: var(--home-secondary); }
.cinema-light .settings-or::before,
.cinema-light .settings-or::after { background: var(--home-border); }
.cinema-light :is(.settings-warning, .settings-danger-note, .removal-notice) { border-color: var(--home-warning); background: #fffbeb; color: var(--home-warning); }
.cinema-light :is(.settings-warning code, .settings-danger-note strong) { color: #92400e; }
.cinema-light :is(.settings-status-pill.connected, .invitation-created) { border-color: var(--home-success); background: #ecfdf3; color: var(--home-success); }
.cinema-light .settings-status-pill.error { border-color: var(--home-danger); background: #fef2f2; color: var(--home-danger); }
.cinema-light :is(.settings-message.success, .library-load-status.success, .sync-run-status-success .sync-run-head strong) { color: var(--home-success); }
.cinema-light :is(.settings-message.error, .library-load-status.error, .sync-run-error, .sync-run-status-failure .sync-run-head strong, .auth-card .login-denial) { color: var(--home-danger); }
.cinema-light .sync-run-status-partial .sync-run-head strong { color: var(--home-warning); }
.cinema-light .sync-run-status-success { border-color: var(--home-success); }
.cinema-light .sync-run-status-failure { border-color: var(--home-danger); }
.cinema-light .sync-run-status-partial { border-color: var(--home-warning); }
.cinema-light .removal-actions button { background: var(--home-danger); border-color: var(--home-danger); border-radius: 12px; }
.cinema-light .removal-actions a { padding: 10px 14px; min-height: 44px; border: 1px solid var(--home-border); border-radius: 12px; color: var(--home-accent); text-decoration: none; }
.cinema-light .page.auth-page { padding-top: 24px; }
.cinema-light .auth-card .provider-button { border-radius: 4px; }
.cinema-light .scan-card form[method="post"] { display: grid; gap: 12px; margin-top: 16px; }
.cinema-light .membership-form { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; }
.cinema-light .membership-form label { overflow-wrap: anywhere; }
.cinema-light .scan-card.auth-card form { margin-top: 0; }
.cinema-light .provider-options { gap: 12px; }
.cinema-light :is(a, button, select, summary):focus-visible { outline: 3px solid var(--home-accent); outline-offset: 3px; }
/* The same three directions apply to every page, not only the upload card. */
.cinema-light[data-home-style="focused"] :is(.breakdown-card, .summary-card) { background: var(--home-alt); }
.cinema-light[data-home-style="compact"] { --ui-card-padding: 16px; --ui-gap: 12px; --ui-radius: 16px; --ui-title: clamp(1.7rem, 6vw, 2.3rem); }
.cinema-light[data-home-style="compact"] :is(.report-movie-card, .dimension-row, .cast-row, .copy-detail-card) { padding: 10px; }
.cinema-light[data-home-style="compact"] .report-movie-thumb { height: 104px; }
.cinema-light[data-home-style="compact"] .library-movie-card { min-height: 124px; }
.cinema-light[data-home-style="cinematic"] { --ui-card-padding: 26px; --ui-gap: 22px; --ui-radius: 24px; --ui-title: clamp(2.2rem, 8vw, 3.2rem); }
.cinema-light[data-home-style="cinematic"] :is(.report-section, .settings-card, .scan-card) { border-top: 4px solid #c7b6ff; }
.cinema-light[data-home-style="cinematic"] :is(.summary-card, .dimension-rank, .detail-chip) { background: var(--home-lavender); }
.cinema-light[data-home-style="cinematic"] .report-movie-card { grid-template-columns: 100px minmax(0, 1fr); }
.cinema-light[data-home-style="cinematic"] :is(.report-movie-thumb-wrap, .report-movie-thumb) { width: 100px; }
.cinema-light[data-home-style="cinematic"] .report-movie-thumb { height: 145px; }
@media (max-width: 480px) {
  .cinema-light { --ui-card-padding: 18px; }
  .cinema-light[data-home-style="compact"] { --ui-card-padding: 14px; }
  .cinema-light[data-home-style="cinematic"] { --ui-card-padding: 20px; }
  .cinema-light .browser-account-actions { gap: 8px; }
  .cinema-light .browser-logout .browser-nav-link { font-size: .75rem; }
  .cinema-light .browser-logout .ui-icon { display: none; }
  .cinema-light .browser-library-row { flex-wrap: wrap; gap: 0 10px; }
  .cinema-light .browser-library-name { flex: 1 1 120px; min-height: 32px; }
  .cinema-light :is(.reports-topbar, .settings-topbar) { align-items: flex-start; }
  .cinema-light .membership-form { grid-template-columns: 1fr; }
  .cinema-light[data-home-style="cinematic"] .report-movie-card { grid-template-columns: 72px minmax(0, 1fr); }
  .cinema-light[data-home-style="cinematic"] :is(.report-movie-thumb-wrap, .report-movie-thumb) { width: 72px; }
  .cinema-light[data-home-style="cinematic"] .report-movie-thumb { height: 108px; }
}

.cinema-light :is(input, select):disabled { background: #e2e8f0; color: #526176; border-color: var(--home-border); }

.cinema-light :is(.settings-primary, .people-search-button, .settings-secondary, .button-like, .library-load-more):disabled { background: #e2e8f0; border-color: var(--home-border); color: #526176; cursor: not-allowed; }
.cinema-light :is(.report-kicker, .settings-kicker) { color: var(--home-accent); }
.cinema-light .settings-facts dd { color: var(--home-ink); }
.cinema-light :is(.target-list-block > strong, .target-list-heading strong) { color: var(--home-ink); }
