/* DRNOJR MEDIA — ECLIPSE GATE THEME
   Static visual layer for the existing Django platform.
   No background animation or theme selector is used. */

:root {
    --bg: #05070e;
    --panel: #0a0d18;
    --panel2: #111525;
    --text: #f7f5f0;
    --muted: #a8afbd;
    --line: rgba(177, 194, 220, 0.18);
    --accent: #7af5ed;
    --accent2: #bd83ff;
    --cyan: #7af5ed;
    --violet: #bd83ff;
    --magenta: #f35bb9;
    --amber: #ffbd6c;
    --emerald: #75e5ad;
    --ok: #75e5ad;
    --danger: #ff7f91;
    --max: 1380px;
    --serif: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
    --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 15% 12%, rgba(189, 131, 255, 0.05), transparent 26%),
        var(--bg);
    color: var(--text);
    font-family: var(--sans);
    text-rendering: optimizeLegibility;
}

body::selection {
    color: var(--bg);
    background: var(--cyan);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 4px;
}

main {
    min-height: calc(100vh - 220px);
}

/* Header and brand */

.site-header {
    position: relative;
    z-index: 50;
    width: 100%;
    max-width: none;
    min-height: 88px;
    margin: 0;
    padding: 0 clamp(20px, 4vw, 72px);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 34px;
    border-bottom: 1px solid rgba(183, 204, 226, 0.15);
    background: linear-gradient(180deg, rgba(2, 4, 10, 0.96), rgba(2, 4, 10, 0.76));
    backdrop-filter: blur(12px);
}

.eclipse-home .site-header {
    position: absolute;
    inset: 0 0 auto;
    background: linear-gradient(180deg, rgba(2, 4, 10, 0.95), rgba(2, 4, 10, 0.18));
}

.brand.brand-lockup,
.brand-lockup {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-weight: inherit;
    letter-spacing: normal;
}

.brand-mark {
    position: relative;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.brand-mark::before {
    content: "";
    position: absolute;
    inset: 18%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(122, 245, 237, 0.24), rgba(189, 131, 255, 0.09) 50%, transparent 72%);
    filter: blur(6px);
}

.brand-mark img {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 0 9px rgba(122, 245, 237, 0.3)) drop-shadow(0 0 17px rgba(189, 131, 255, 0.14));
}

.brand-copy {
    display: grid;
    gap: 5px;
    line-height: 1;
}

.brand .brand-name,
.brand-name {
    width: fit-content;
    background: linear-gradient(104deg, #ffffff 5%, #a7fff8 40%, #c7a1ff 68%, #ff8fd1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: "Arial Black", Impact, var(--sans);
    font-size: 20px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: 0.095em;
    text-transform: uppercase;
    text-shadow: 0 0 18px rgba(122, 245, 237, 0.14);
}

.brand-media {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--amber) !important;
    font-family: var(--mono);
    font-size: 6px;
    font-weight: 800;
    letter-spacing: 0.34em;
    text-shadow: 0 0 10px rgba(255, 189, 108, 0.25);
}

.brand-media i {
    width: 11px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--magenta));
}

.brand-media i:last-child {
    background: linear-gradient(90deg, var(--magenta), transparent);
}

.desktop-nav {
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(15px, 2.1vw, 31px);
    flex-wrap: nowrap;
}

.desktop-nav a {
    padding: 31px 0 29px;
    color: #c1c6d0;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.065em;
    white-space: nowrap;
}

.desktop-nav a:hover {
    color: #fff;
}

.header-text-link,
.nav-logout-button.header-text-link {
    padding: 10px 0;
    border: 0;
    background: transparent;
    color: #abb5c3;
    font-family: var(--mono);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.header-text-link:hover,
.nav-logout-button.header-text-link:hover {
    color: #fff;
}

.portal-button,
.desktop-nav .portal-button {
    min-height: 42px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    border: 1px solid rgba(122, 245, 237, 0.44);
    background: linear-gradient(115deg, rgba(83, 43, 136, 0.32), rgba(13, 70, 78, 0.38));
    color: #fff;
    font-family: var(--mono);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    box-shadow: 0 0 28px rgba(122, 245, 237, 0.06);
}

.portal-button:hover,
.desktop-nav .portal-button:hover {
    border-color: var(--cyan);
    background: linear-gradient(115deg, rgba(100, 49, 163, 0.46), rgba(16, 87, 95, 0.48));
}

.nav-logout {
    display: inline-flex;
    margin: 0;
}

.nav-logout-button {
    cursor: pointer;
}

/* Existing Django pages inherit the new visual language. */

.page,
.section,
.portal-hero,
.portal-section,
.account-settings-hero,
.account-settings-section,
.media-hub-hero,
.media-hub-section,
.media-workflow-hero,
.media-workflow-section {
    max-width: var(--max);
}

body:not(.eclipse-home) .page:first-child,
body:not(.eclipse-home) .portal-hero:first-child,
body:not(.eclipse-home) .account-settings-hero:first-child,
body:not(.eclipse-home) .media-hub-hero:first-child,
body:not(.eclipse-home) .media-workflow-hero:first-child {
    position: relative;
    padding-top: clamp(92px, 9vw, 145px);
}

body:not(.eclipse-home) .page:first-child::before,
body:not(.eclipse-home) .portal-hero:first-child::before,
body:not(.eclipse-home) .account-settings-hero:first-child::before,
body:not(.eclipse-home) .media-hub-hero:first-child::before,
body:not(.eclipse-home) .media-workflow-hero:first-child::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 50%;
    width: min(96vw, 1500px);
    height: 100%;
    transform: translateX(-50%);
    background:
        radial-gradient(circle at 18% 30%, rgba(189, 131, 255, 0.12), transparent 28%),
        radial-gradient(circle at 82% 18%, rgba(122, 245, 237, 0.08), transparent 28%);
    pointer-events: none;
}

h1,
h2,
h3 {
    font-family: var(--serif);
}

.page h1,
.portal-hero h1,
.account-settings-hero h1,
.media-hub-hero h1,
.media-workflow-hero h1 {
    color: #fff;
    text-shadow: 0 9px 36px rgba(0, 0, 0, 0.35);
}

.eyebrow {
    color: var(--cyan);
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.19em;
}

.lead,
.muted {
    color: var(--muted);
}

.card,
.panel,
.form-card,
.status-list,
.portal-card,
.portal-summary-card,
.settings-card,
.media-hub-card,
.media-choice,
.media-workflow-card {
    border: 1px solid rgba(177, 194, 220, 0.17);
    border-radius: 0;
    background:
        linear-gradient(150deg, rgba(17, 19, 37, 0.9), rgba(7, 10, 20, 0.97));
    box-shadow: 0 22px 65px rgba(0, 0, 0, 0.2);
}

.card {
    min-height: 280px;
    padding: 32px;
}

.card h3,
.panel h2,
.portal-card-title,
.settings-title {
    color: #f8f7f3;
}

.card p,
.panel p,
.portal-card p,
.settings-card p {
    color: #9ca5b4;
}

.button,
.button-small,
button.button {
    border: 1px solid rgba(122, 245, 237, 0.52);
    border-radius: 0;
    background: linear-gradient(115deg, rgba(83, 43, 136, 0.52), rgba(13, 70, 78, 0.48));
    color: #fff;
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.23);
}

.button:hover,
.button-small:hover,
button.button:hover {
    border-color: var(--cyan);
    background: linear-gradient(115deg, rgba(100, 49, 163, 0.65), rgba(16, 87, 95, 0.57));
}

.button.secondary {
    border: 1px solid rgba(177, 194, 220, 0.24);
    border-radius: 0;
    background: rgba(11, 15, 27, 0.82);
    color: #e0e4ea;
}

.form-field input,
.form-field select,
.form-field textarea,
.form-card input {
    border: 1px solid rgba(177, 194, 220, 0.24);
    border-radius: 0;
    background: rgba(4, 7, 14, 0.9);
    color: #fff;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.form-card input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(122, 245, 237, 0.08);
}

.message-stack {
    position: relative;
    z-index: 55;
}

.site-message {
    border-radius: 0;
    background: rgba(10, 13, 24, 0.96);
    backdrop-filter: blur(10px);
}

/* Full-site Eclipse Gate coverage.
   Legacy Django templates keep their structure while sharing one art direction. */

body.eclipse-site:not(.eclipse-home) main {
    position: relative;
    isolation: isolate;
    background-color: var(--bg);
    background-image:
        linear-gradient(180deg, rgba(5, 7, 14, 0.18) 0, rgba(5, 7, 14, 0.48) 360px, #05070e 760px),
        linear-gradient(90deg, rgba(5, 7, 14, 0.97) 0, rgba(5, 7, 14, 0.82) 43%, rgba(5, 7, 14, 0.42) 100%),
        url("../img/eclipse-gate/unified-worlds-hero-v2.87835435a67b.png");
    background-position: center top, center top, 64% -85px;
    background-size: auto, auto, clamp(1280px, 108vw, 1900px) auto;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

body.eclipse-site:not(.eclipse-home) main::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(122, 245, 237, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(122, 245, 237, 0.018) 1px, transparent 1px),
        radial-gradient(circle at 15% 45%, rgba(189, 131, 255, 0.07), transparent 25%),
        radial-gradient(circle at 88% 72%, rgba(122, 245, 237, 0.05), transparent 26%);
    background-size: 72px 72px, 72px 72px, auto, auto;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.12), #000 680px, #000);
}

body.eclipse-site:not(.eclipse-home) .page:first-of-type,
body.eclipse-site:not(.eclipse-home) .portal-hero,
body.eclipse-site:not(.eclipse-home) .account-settings-hero,
body.eclipse-site:not(.eclipse-home) .media-hub-hero,
body.eclipse-site:not(.eclipse-home) .media-workflow-hero {
    min-height: 460px;
    padding-top: clamp(105px, 10vw, 160px);
    padding-bottom: clamp(75px, 8vw, 120px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid rgba(177, 194, 220, 0.16);
}

body.eclipse-site:not(.eclipse-home) .page.narrow {
    max-width: 760px;
}

body.eclipse-site:not(.eclipse-home) .page h1,
body.eclipse-site:not(.eclipse-home) .portal-hero h1,
body.eclipse-site:not(.eclipse-home) .account-settings-hero h1,
body.eclipse-site:not(.eclipse-home) .media-hub-hero h1,
body.eclipse-site:not(.eclipse-home) .media-workflow-hero h1 {
    width: fit-content;
    max-width: 100%;
    margin-top: 16px;
    background: linear-gradient(101deg, #ffffff 5%, #dffdfa 36%, #d3b5ff 68%, #ffaddb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 8px 42px rgba(0, 0, 0, 0.34);
}

body.eclipse-site:not(.eclipse-home) .page .eyebrow,
body.eclipse-site:not(.eclipse-home) .portal-hero .eyebrow,
body.eclipse-site:not(.eclipse-home) .account-settings-hero .eyebrow,
body.eclipse-site:not(.eclipse-home) .media-hub-hero .eyebrow,
body.eclipse-site:not(.eclipse-home) .media-workflow-hero .eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
}

body.eclipse-site:not(.eclipse-home) .page .eyebrow::before,
body.eclipse-site:not(.eclipse-home) .portal-hero .eyebrow::before,
body.eclipse-site:not(.eclipse-home) .account-settings-hero .eyebrow::before,
body.eclipse-site:not(.eclipse-home) .media-hub-hero .eyebrow::before,
body.eclipse-site:not(.eclipse-home) .media-workflow-hero .eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, var(--cyan), var(--violet));
}

body.eclipse-site:not(.eclipse-home) .page .lead,
body.eclipse-site:not(.eclipse-home) .portal-hero .lead,
body.eclipse-site:not(.eclipse-home) .account-settings-hero .lead,
body.eclipse-site:not(.eclipse-home) .media-hub-hero .lead,
body.eclipse-site:not(.eclipse-home) .media-workflow-hero .lead {
    max-width: 760px;
    color: #c2c9d4;
    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.6);
}

body.eclipse-site:not(.eclipse-home) .section,
body.eclipse-site:not(.eclipse-home) .portal-section,
body.eclipse-site:not(.eclipse-home) .account-settings-section,
body.eclipse-site:not(.eclipse-home) .media-hub-section,
body.eclipse-site:not(.eclipse-home) .media-workflow-section {
    position: relative;
}

body.eclipse-site:not(.eclipse-home) .section + .section,
body.eclipse-site:not(.eclipse-home) .portal-section + .portal-section,
body.eclipse-site:not(.eclipse-home) .account-settings-section + .account-settings-section,
body.eclipse-site:not(.eclipse-home) .media-hub-section + .media-hub-section,
body.eclipse-site:not(.eclipse-home) .media-workflow-section + .media-workflow-section {
    border-top: 1px solid rgba(177, 194, 220, 0.1);
}

body.eclipse-site:not(.eclipse-home) .section.panel {
    overflow: hidden;
    border-color: rgba(189, 131, 255, 0.24);
    background:
        radial-gradient(circle at 94% 10%, rgba(122, 245, 237, 0.08), transparent 32%),
        radial-gradient(circle at 4% 95%, rgba(243, 91, 185, 0.08), transparent 30%),
        linear-gradient(145deg, rgba(13, 17, 31, 0.96), rgba(6, 9, 18, 0.98));
}

body.eclipse-site:not(.eclipse-home) .section.panel::before,
body.eclipse-site:not(.eclipse-home) .account-form-panel::before,
body.eclipse-site:not(.eclipse-home) .form-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--violet), var(--magenta), var(--amber));
}

body.eclipse-site:not(.eclipse-home) .cards {
    gap: 16px;
}

body.eclipse-site:not(.eclipse-home) .card,
body.eclipse-site:not(.eclipse-home) .portal-card,
body.eclipse-site:not(.eclipse-home) .portal-summary-card,
body.eclipse-site:not(.eclipse-home) .settings-card,
body.eclipse-site:not(.eclipse-home) .media-hub-card,
body.eclipse-site:not(.eclipse-home) .media-choice,
body.eclipse-site:not(.eclipse-home) .media-workflow-card,
body.eclipse-site:not(.eclipse-home) .account-form-panel,
body.eclipse-site:not(.eclipse-home) .form-card {
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

body.eclipse-site:not(.eclipse-home) .card::before,
body.eclipse-site:not(.eclipse-home) .portal-card::before,
body.eclipse-site:not(.eclipse-home) .portal-summary-card::before,
body.eclipse-site:not(.eclipse-home) .settings-card::before,
body.eclipse-site:not(.eclipse-home) .media-hub-card::before,
body.eclipse-site:not(.eclipse-home) .media-choice::before,
body.eclipse-site:not(.eclipse-home) .media-workflow-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, rgba(122, 245, 237, 0.9), rgba(189, 131, 255, 0.5), transparent 76%);
}

body.eclipse-site:not(.eclipse-home) .card:nth-child(3n + 2)::before,
body.eclipse-site:not(.eclipse-home) .portal-summary-card:nth-child(3n + 2)::before {
    background: linear-gradient(90deg, rgba(243, 91, 185, 0.88), rgba(255, 189, 108, 0.5), transparent 76%);
}

body.eclipse-site:not(.eclipse-home) .card:nth-child(3n + 3)::before,
body.eclipse-site:not(.eclipse-home) .portal-summary-card:nth-child(3n + 3)::before {
    background: linear-gradient(90deg, rgba(117, 229, 173, 0.88), rgba(122, 245, 237, 0.5), transparent 76%);
}

body.eclipse-site:not(.eclipse-home) .card:hover,
body.eclipse-site:not(.eclipse-home) .portal-card:hover,
body.eclipse-site:not(.eclipse-home) .portal-summary-card:hover,
body.eclipse-site:not(.eclipse-home) .settings-card:hover,
body.eclipse-site:not(.eclipse-home) .media-hub-card:hover,
body.eclipse-site:not(.eclipse-home) .media-choice:hover,
body.eclipse-site:not(.eclipse-home) .media-workflow-card:hover {
    border-color: rgba(122, 245, 237, 0.36);
    box-shadow: 0 26px 74px rgba(0, 0, 0, 0.34), 0 0 34px rgba(122, 245, 237, 0.04);
}

body.eclipse-site:not(.eclipse-home) .account-form-panel,
body.eclipse-site:not(.eclipse-home) .form-card {
    padding: clamp(26px, 4vw, 44px);
    border-color: rgba(122, 245, 237, 0.26);
    background:
        radial-gradient(circle at 92% 5%, rgba(189, 131, 255, 0.1), transparent 34%),
        linear-gradient(150deg, rgba(13, 17, 31, 0.97), rgba(6, 9, 18, 0.99));
}

body.eclipse-site:not(.eclipse-home) .form-field label,
body.eclipse-site:not(.eclipse-home) .settings-form label,
body.eclipse-site:not(.eclipse-home) .media-workflow-form label {
    color: #d9e0e8;
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.eclipse-site:not(.eclipse-home) .form-field input,
body.eclipse-site:not(.eclipse-home) .form-field select,
body.eclipse-site:not(.eclipse-home) .form-field textarea,
body.eclipse-site:not(.eclipse-home) .settings-form input,
body.eclipse-site:not(.eclipse-home) .settings-form select,
body.eclipse-site:not(.eclipse-home) .settings-form textarea,
body.eclipse-site:not(.eclipse-home) .media-workflow-form input,
body.eclipse-site:not(.eclipse-home) .media-workflow-form select,
body.eclipse-site:not(.eclipse-home) .media-workflow-form textarea {
    min-height: 49px;
    padding: 12px 14px;
    border-color: rgba(177, 194, 220, 0.28);
    background: rgba(2, 5, 12, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

body.eclipse-site:not(.eclipse-home) .form-help,
body.eclipse-site:not(.eclipse-home) .form-help li {
    color: #8793a4;
}

body.eclipse-site:not(.eclipse-home) .form-errors {
    padding: 12px 14px;
    border-left: 2px solid var(--danger);
    background: rgba(255, 81, 107, 0.07);
    color: #ffc0c9;
}

body.eclipse-site:not(.eclipse-home) .panel a:not(.button):not(.portal-action-link),
body.eclipse-site:not(.eclipse-home) .form-card a:not(.button),
body.eclipse-site:not(.eclipse-home) .text-link {
    color: var(--cyan);
}

body.eclipse-site:not(.eclipse-home) .panel a:not(.button):not(.portal-action-link):hover,
body.eclipse-site:not(.eclipse-home) .form-card a:not(.button):hover,
body.eclipse-site:not(.eclipse-home) .text-link:hover {
    color: #fff;
}

/* Portal and account surfaces */

body.eclipse-site:not(.eclipse-home) .portal-section-heading,
body.eclipse-site:not(.eclipse-home) .media-state-header {
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(177, 194, 220, 0.12);
}

body.eclipse-site:not(.eclipse-home) .portal-section-heading h2,
body.eclipse-site:not(.eclipse-home) .media-state-header h2,
body.eclipse-site:not(.eclipse-home) .settings-title,
body.eclipse-site:not(.eclipse-home) .media-side-title,
body.eclipse-site:not(.eclipse-home) .media-workflow-side-title {
    color: #f7f5f0;
}

body.eclipse-site:not(.eclipse-home) .portal-summary-value {
    width: fit-content;
    background: linear-gradient(90deg, var(--cyan), #d7c1ff, var(--magenta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 22px rgba(122, 245, 237, 0.09);
}

body.eclipse-site:not(.eclipse-home) .portal-status {
    border: 1px solid rgba(177, 194, 220, 0.2);
    border-radius: 0;
    background: rgba(4, 7, 14, 0.7);
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.eclipse-site:not(.eclipse-home) .portal-status.state-good {
    border-color: rgba(117, 229, 173, 0.38);
    color: var(--emerald);
}

body.eclipse-site:not(.eclipse-home) .portal-status.state-warning,
body.eclipse-site:not(.eclipse-home) .portal-notice.warning {
    border-color: rgba(255, 189, 108, 0.4);
    color: var(--amber);
}

body.eclipse-site:not(.eclipse-home) .portal-notice {
    border-radius: 0;
    background: rgba(7, 10, 20, 0.9);
}

body.eclipse-site:not(.eclipse-home) .portal-action-list {
    border: 1px solid rgba(177, 194, 220, 0.14);
    background: rgba(4, 7, 14, 0.56);
}

body.eclipse-site:not(.eclipse-home) .portal-action-link {
    border-color: rgba(177, 194, 220, 0.12);
    background: linear-gradient(90deg, rgba(122, 245, 237, 0.025), transparent 70%);
}

body.eclipse-site:not(.eclipse-home) .portal-action-link:hover {
    border-color: rgba(122, 245, 237, 0.28);
    background: linear-gradient(90deg, rgba(122, 245, 237, 0.09), rgba(189, 131, 255, 0.04));
}

body.eclipse-site:not(.eclipse-home) .portal-action-link strong {
    color: #eaf7f6;
}

body.eclipse-site:not(.eclipse-home) .portal-detail-grid > div,
body.eclipse-site:not(.eclipse-home) .settings-detail-list > div,
body.eclipse-site:not(.eclipse-home) .settings-email-status,
body.eclipse-site:not(.eclipse-home) .account-details > div {
    border-color: rgba(177, 194, 220, 0.13);
    background: rgba(4, 7, 14, 0.52);
}

body.eclipse-site:not(.eclipse-home) .portal-history-item {
    border-color: rgba(177, 194, 220, 0.12);
}

body.eclipse-site:not(.eclipse-home) .portal-history-dot {
    border-color: var(--cyan);
    background: radial-gradient(circle, var(--cyan) 0 28%, rgba(122, 245, 237, 0.14) 31% 100%);
    box-shadow: 0 0 12px rgba(122, 245, 237, 0.26);
}

/* Status, media, and workflow surfaces */

body.eclipse-site:not(.eclipse-home) .status-list {
    border-color: rgba(122, 245, 237, 0.19);
    background: rgba(6, 9, 18, 0.88);
    backdrop-filter: blur(12px);
}

body.eclipse-site:not(.eclipse-home) .status-list > div,
body.eclipse-site:not(.eclipse-home) .status-row {
    border-color: rgba(177, 194, 220, 0.11);
}

body.eclipse-site:not(.eclipse-home) .status-value.ok,
body.eclipse-site:not(.eclipse-home) .ok {
    color: var(--emerald);
    text-shadow: 0 0 12px rgba(117, 229, 173, 0.18);
}

body.eclipse-site:not(.eclipse-home) .status-value.down,
body.eclipse-site:not(.eclipse-home) .down {
    color: var(--danger);
}

body.eclipse-site:not(.eclipse-home) .media-progress-panel,
body.eclipse-site:not(.eclipse-home) .media-safety-note {
    border-color: rgba(189, 131, 255, 0.22);
    border-radius: 0;
    background: rgba(7, 10, 20, 0.9);
}

body.eclipse-site:not(.eclipse-home) .media-progress-track {
    overflow: hidden;
    border: 1px solid rgba(122, 245, 237, 0.2);
    border-radius: 0;
    background: rgba(2, 5, 12, 0.9);
}

body.eclipse-site:not(.eclipse-home) .media-progress-fill {
    background: linear-gradient(90deg, var(--cyan), var(--violet), var(--magenta));
    box-shadow: 0 0 18px rgba(122, 245, 237, 0.18);
}

body.eclipse-site:not(.eclipse-home) .media-progress-steps span {
    border-color: rgba(177, 194, 220, 0.25);
    background: #080b14;
}

body.eclipse-site:not(.eclipse-home) .media-progress-steps .complete span {
    border-color: var(--emerald);
    background: rgba(117, 229, 173, 0.14);
    color: var(--emerald);
}

body.eclipse-site:not(.eclipse-home) .checkbox-field {
    border-color: rgba(177, 194, 220, 0.18);
    border-radius: 0;
    background: rgba(4, 7, 14, 0.62);
}

@media (max-width: 900px) {
    body.eclipse-site:not(.eclipse-home) main {
        background-position: center top, center top, 68% -20px;
        background-size: auto, auto, 1280px auto;
    }

    body.eclipse-site:not(.eclipse-home) .page:first-of-type,
    body.eclipse-site:not(.eclipse-home) .portal-hero,
    body.eclipse-site:not(.eclipse-home) .account-settings-hero,
    body.eclipse-site:not(.eclipse-home) .media-hub-hero,
    body.eclipse-site:not(.eclipse-home) .media-workflow-hero {
        min-height: 410px;
    }
}

@media (max-width: 600px) {
    body.eclipse-site:not(.eclipse-home) main {
        background-image:
            linear-gradient(180deg, rgba(5, 7, 14, 0.35) 0, rgba(5, 7, 14, 0.72) 340px, #05070e 660px),
            linear-gradient(90deg, rgba(5, 7, 14, 0.92), rgba(5, 7, 14, 0.52)),
            url("../img/eclipse-gate/unified-worlds-hero-v2.87835435a67b.png");
        background-position: center top, center top, 70% 0;
        background-size: auto, auto, auto 610px;
    }

    body.eclipse-site:not(.eclipse-home) .page:first-of-type,
    body.eclipse-site:not(.eclipse-home) .portal-hero,
    body.eclipse-site:not(.eclipse-home) .account-settings-hero,
    body.eclipse-site:not(.eclipse-home) .media-hub-hero,
    body.eclipse-site:not(.eclipse-home) .media-workflow-hero {
        min-height: 360px;
        padding-top: 82px;
        padding-bottom: 72px;
    }

    body.eclipse-site:not(.eclipse-home) .account-form-panel,
    body.eclipse-site:not(.eclipse-home) .form-card {
        padding: 24px 20px;
    }
}

/* Homepage hero */

.eclipse-home main {
    min-height: 0;
}

.world-hero {
    position: relative;
    min-height: max(840px, 100svh);
    padding: 145px clamp(22px, 6vw, 110px) 92px;
    display: flex;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.world-hero-art,
.world-hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.world-hero-art {
    z-index: -3;
    background: #05070e url("../img/eclipse-gate/unified-worlds-hero-v2.87835435a67b.png") center center / cover no-repeat;
    transform: none;
    animation: none;
}

.world-hero-overlay {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(2, 4, 10, 0.97) 0%, rgba(4, 7, 15, 0.84) 29%, rgba(4, 7, 15, 0.2) 61%, rgba(4, 7, 15, 0.06) 100%),
        linear-gradient(180deg, rgba(2, 4, 10, 0.3) 0%, transparent 44%, rgba(2, 4, 10, 0.22) 70%, rgba(2, 4, 10, 0.94) 100%);
}

.world-hero-content {
    position: relative;
    z-index: 2;
    width: min(720px, 53vw);
}

.world-eyebrow {
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--cyan);
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.world-eyebrow > span {
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.world-brand-lockup {
    margin: 0 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 17px;
}

.world-brand-mark {
    position: relative;
    width: clamp(70px, 5.5vw, 91px);
    height: clamp(70px, 5.5vw, 91px);
    flex: 0 0 auto;
}

.world-brand-mark::before {
    content: "";
    position: absolute;
    inset: 19%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(122, 245, 237, 0.28), rgba(189, 131, 255, 0.11) 52%, transparent 73%);
    filter: blur(10px);
}

.world-brand-mark img {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 0 12px rgba(122, 245, 237, 0.33)) drop-shadow(0 0 24px rgba(189, 131, 255, 0.17));
}

.world-brand-copy {
    display: grid;
    gap: 8px;
    line-height: 1;
}

.world-brand-name {
    width: fit-content;
    background: linear-gradient(104deg, #fff 5%, #a7fff8 40%, #c7a1ff 68%, #ff8fd1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: "Arial Black", Impact, var(--sans);
    font-size: clamp(38px, 4vw, 64px);
    font-weight: 950;
    letter-spacing: 0.085em;
    text-transform: uppercase;
    text-shadow: 0 0 24px rgba(122, 245, 237, 0.16), 0 0 42px rgba(243, 91, 185, 0.1);
}

.world-brand-media {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--amber);
    font-family: var(--mono);
    font-size: clamp(7px, 0.62vw, 10px);
    font-weight: 800;
    letter-spacing: 0.52em;
    text-shadow: 0 0 11px rgba(255, 189, 108, 0.25);
}

.world-brand-media i {
    width: clamp(19px, 2.2vw, 34px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--magenta));
}

.world-brand-media i:last-child {
    background: linear-gradient(90deg, var(--magenta), transparent);
}

.world-concept-label {
    margin: 0 0 17px;
    color: #7f8ca0;
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: 0.16em;
}

.world-hero h1,
.world-section-heading h2,
.world-access-heading h2,
.world-about-section h2 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -0.05em;
}

.world-hero h1 {
    font-size: clamp(68px, 7vw, 112px);
    line-height: 0.88;
    text-shadow: 0 6px 38px rgba(0, 0, 0, 0.67);
}

.world-hero h1 em {
    background: linear-gradient(96deg, #ffd08f 4%, #ff9ccb 43%, #c9a5ff 72%, #8ff9f1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 400;
    text-shadow: 0 0 26px rgba(243, 91, 185, 0.12);
}

.world-section-heading h2 em,
.world-access-heading h2 em,
.world-about-section h2 em {
    color: #ffd08f;
    font-weight: 400;
}

.world-hero-copy {
    max-width: 550px;
    margin: 29px 0 0;
    color: #bbc2ce;
    font-size: clamp(15px, 1.15vw, 18px);
    line-height: 1.75;
}

.world-actions {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 21px;
}

.world-primary-cta {
    min-width: 218px;
    min-height: 54px;
    padding: 0 18px 0 21px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid rgba(122, 245, 237, 0.54);
    background: linear-gradient(115deg, rgba(83, 43, 136, 0.52), rgba(13, 70, 78, 0.48));
    color: #fff;
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
}

.world-primary-cta:hover {
    border-color: var(--cyan);
    background: linear-gradient(115deg, rgba(100, 49, 163, 0.62), rgba(16, 87, 95, 0.56));
}

.world-primary-cta span {
    font-size: 15px;
}

.world-secondary-cta {
    position: relative;
    padding: 12px 0;
    color: #d5d9df;
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.world-secondary-cta::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 6px;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--magenta), var(--amber), transparent);
}

.world-approval-note {
    margin: 18px 0 0;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #7f8a9c;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.world-approval-note span {
    color: var(--emerald);
}

/* Homepage sections */

.world-platform-section {
    padding: clamp(105px, 10vw, 170px) clamp(22px, 6vw, 110px);
    background:
        radial-gradient(circle at 10% 25%, rgba(189, 131, 255, 0.09), transparent 27%),
        radial-gradient(circle at 90% 75%, rgba(122, 245, 237, 0.07), transparent 27%),
        #070a13;
}

.world-section-heading {
    max-width: 1430px;
    margin: 0 auto 64px;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: clamp(42px, 8vw, 125px);
    align-items: end;
}

.world-section-heading h2,
.world-access-heading h2,
.world-about-section h2 {
    font-size: clamp(47px, 5vw, 80px);
    line-height: 1;
}

.world-section-heading > p,
.world-access-heading > p:not(.world-eyebrow) {
    margin: 0 0 5px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.82;
}

.world-area-grid {
    max-width: 1430px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.world-area-card {
    min-height: 425px;
    padding: 29px clamp(24px, 2.5vw, 38px) 32px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(177, 194, 220, 0.17);
    background:
        linear-gradient(150deg, rgba(17, 19, 37, 0.9), rgba(7, 10, 20, 0.97));
    box-shadow: 0 22px 65px rgba(0, 0, 0, 0.2);
}

.world-card-number {
    color: #657186;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.17em;
}

.world-area-icon {
    width: 72px;
    height: 72px;
    margin: 42px 0 32px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(122, 245, 237, 0.32);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(189, 131, 255, 0.09), transparent 68%);
}

.world-area-icon svg {
    width: 37px;
    height: 37px;
    fill: none;
    stroke: var(--cyan);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.world-area-icon svg path:first-child {
    fill: rgba(122, 245, 237, 0.07);
}

.world-card-label {
    margin: 0 0 12px;
    color: var(--magenta);
    font-family: var(--mono);
    font-size: 8px;
    font-weight: 750;
    letter-spacing: 0.18em;
}

.world-area-card h3 {
    margin: 0;
    color: #f8f7f3;
    font-family: var(--serif);
    font-size: 31px;
    font-weight: 400;
    letter-spacing: -0.025em;
}

.world-area-card > p:not(.world-card-label) {
    margin: 18px 0 26px;
    color: #939cab;
    font-size: 13px;
    line-height: 1.75;
}

.world-member-label {
    margin-top: auto;
    padding-top: 17px;
    border-top: 1px solid rgba(177, 194, 220, 0.12);
    color: #777f8e;
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.world-member-label span {
    margin-right: 8px;
    color: var(--amber);
}

.world-access-section {
    padding: clamp(110px, 10vw, 170px) clamp(22px, 7vw, 130px);
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(540px, 1.22fr);
    gap: clamp(60px, 9vw, 145px);
    align-items: center;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #050810;
}

.world-access-heading > p:not(.world-eyebrow) {
    max-width: 590px;
    margin-top: 29px;
}

.world-access-help a {
    color: var(--cyan);
    border-bottom: 1px solid rgba(122, 245, 237, 0.28);
}

.world-steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    border: 1px solid rgba(177, 194, 220, 0.17);
    background: rgba(177, 194, 220, 0.14);
}

.world-steps-grid article {
    min-height: 190px;
    padding: 28px;
    background: linear-gradient(145deg, #0b0f1b, #080b14);
}

.world-steps-grid article > span {
    color: var(--cyan);
    font-family: var(--mono);
    font-size: 8px;
}

.world-steps-grid h3 {
    margin: 28px 0 0;
    color: #f7f5f0;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
}

.world-steps-grid p {
    margin: 10px 0 0;
    color: #848e9e;
    font-size: 12px;
    line-height: 1.65;
}

.world-about-section {
    min-height: 670px;
    padding: 130px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        radial-gradient(circle at 50% 50%, rgba(189, 131, 255, 0.12), transparent 34%),
        linear-gradient(150deg, rgba(243, 91, 185, 0.04), rgba(122, 245, 237, 0.03)),
        #070912;
}

.world-about-section > p:first-child {
    margin: 0 0 24px;
    color: var(--cyan);
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.2em;
}

.world-about-copy {
    max-width: 650px;
    margin: 28px auto 0;
    color: #a7aebb;
    font-size: 15px;
    line-height: 1.75;
}

.world-centered-actions {
    justify-content: center;
}

/* Footer */

.site-footer {
    width: 100%;
    max-width: none;
    min-height: 150px;
    margin: 0;
    padding: 34px clamp(22px, 5vw, 86px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 28px;
    border-top: 1px solid var(--line);
    background: #03050a;
    color: #697385;
}

.site-footer p {
    margin: 9px 0 0;
    color: #697385;
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-access {
    justify-self: end;
    text-align: right;
}

.footer-access span {
    margin-right: 6px;
    color: var(--emerald);
}

/* Responsive layout */

@media (max-width: 1180px) {
    .desktop-nav {
        gap: 17px;
    }

    .desktop-nav .nav-extra {
        display: none;
    }

    .world-hero-content {
        width: min(700px, 66vw);
    }
}

@media (max-width: 900px) {
    .site-header {
        grid-template-columns: 1fr auto;
    }

    .desktop-nav .nav-anchor,
    .desktop-nav .nav-member,
    .desktop-nav > .header-text-link {
        display: none;
    }

    .world-hero-art {
        background-position: 64% center;
    }

    .world-hero-overlay {
        background:
            linear-gradient(90deg, rgba(2, 4, 10, 0.96), rgba(4, 7, 15, 0.68) 60%, rgba(4, 7, 15, 0.12)),
            linear-gradient(180deg, rgba(2, 4, 10, 0.2), transparent 38%, rgba(2, 4, 10, 0.88) 100%);
    }

    .world-hero-content {
        width: min(650px, 87vw);
    }

    .world-section-heading {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .world-section-heading > p {
        max-width: 610px;
    }

    .world-area-grid {
        grid-template-columns: 1fr;
        max-width: 620px;
    }

    .world-area-card {
        min-height: 380px;
    }

    .world-access-section {
        grid-template-columns: 1fr;
        padding-left: 24px;
        padding-right: 24px;
    }

    .world-access-heading {
        max-width: 700px;
    }
}

@media (max-width: 760px) {
    .site-header {
        min-height: 76px;
        padding: 0 15px;
        display: grid;
        align-items: center;
        flex-direction: initial;
    }

    .brand-lockup {
        gap: 8px;
    }

    .brand-mark {
        width: 37px;
        height: 37px;
    }

    .brand-name {
        font-size: 15px;
        letter-spacing: 0.075em;
    }

    .brand-media {
        gap: 4px;
        font-size: 5px;
        letter-spacing: 0.25em;
    }

    .brand-media i {
        width: 7px;
    }

    .desktop-nav {
        gap: 9px;
    }

    .desktop-nav .portal-button {
        min-height: 38px;
        padding: 0 11px;
        font-size: 7px;
    }

    .nav-logout-button.header-text-link {
        display: inline-flex;
        font-size: 7px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .site-footer {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .footer-access {
        justify-self: center;
        text-align: center;
    }
}

@media (max-width: 580px) {
    .world-hero {
        min-height: 860px;
        padding: 118px 18px 60px;
        align-items: flex-start;
    }

    .world-hero-art {
        background-position: 69% top;
    }

    .world-hero-overlay {
        background:
            linear-gradient(90deg, rgba(2, 4, 10, 0.96), rgba(4, 7, 15, 0.55)),
            linear-gradient(180deg, rgba(2, 4, 10, 0.18), rgba(2, 4, 10, 0.35) 42%, rgba(2, 4, 10, 0.94) 100%);
    }

    .world-hero-content {
        width: 100%;
        margin-top: 48px;
    }

    .world-eyebrow {
        font-size: 8px;
        letter-spacing: 0.17em;
    }

    .world-brand-lockup {
        gap: 12px;
        margin-bottom: 16px;
    }

    .world-brand-mark {
        width: 62px;
        height: 62px;
    }

    .world-brand-name {
        font-size: clamp(32px, 10vw, 45px);
    }

    .world-brand-media {
        font-size: 6px;
        letter-spacing: 0.32em;
    }

    .world-brand-media i {
        width: 12px;
    }

    .world-hero h1 {
        font-size: clamp(58px, 18vw, 80px);
    }

    .world-hero-copy {
        line-height: 1.65;
    }

    .world-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .world-primary-cta {
        width: min(100%, 310px);
    }

    .world-platform-section,
    .world-access-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .world-section-heading h2,
    .world-access-heading h2,
    .world-about-section h2 {
        font-size: clamp(42px, 13vw, 59px);
    }

    .world-area-card {
        min-height: 400px;
    }

    .world-steps-grid {
        grid-template-columns: 1fr;
    }

    .world-steps-grid article {
        min-height: 165px;
    }

    .world-about-section {
        min-height: 620px;
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================
   PHASE 7A.4 — COMMAND CENTER HERO
   Chromium-safe Eclipse Gate implementation

   Source artwork: 1672 x 941
   Full image is shown without cropping or distortion.
   ========================================================== */

body.phase7-command-center main {
    background: #05070e !important;
}

/*
 * Do not use the legacy full-page decorative overlay on the
 * Command Center. Chrome/Chromium rendered its large layered
 * effects inconsistently.
 */
body.phase7-command-center main::after {
    content: none !important;
    display: none !important;
}

/*
 * Full-bleed hero using the source artwork's native aspect ratio.
 */
body.phase7-command-center .command-hero {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;

    width: 100vw !important;
    max-width: none !important;

    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;

    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 1672 / 941 !important;

    box-sizing: border-box !important;

    padding-left:
        max(32px, calc((100vw - var(--max)) / 2 + 18px))
        !important;

    padding-right:
        max(32px, calc((100vw - var(--max)) / 2 + 18px))
        !important;

    background: none !important;
}

/*
 * Artwork layer.
 *
 * The hero box uses the exact source aspect ratio, so 100% x 100%
 * displays every pixel of the image without cover-cropping.
 */
body.phase7-command-center .command-hero::before {
    content: "" !important;
    display: block !important;

    position: absolute !important;
    inset: 0 !important;

    width: auto !important;
    height: auto !important;

    z-index: -2 !important;
    pointer-events: none !important;

    transform: none !important;

    background-image:
        url("../img/eclipse-gate/unified-worlds-hero-v2.87835435a67b.png")
        !important;

    background-size: 100% 100% !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;

    filter:
        brightness(1.10)
        saturate(1.16)
        contrast(1.04)
        !important;
}

/*
 * Single left-side readability veil.
 * Keeps text readable without washing out the portal/city artwork.
 */
body.phase7-command-center .command-hero::after {
    content: "" !important;
    display: block !important;

    position: absolute !important;
    inset: 0 !important;

    z-index: -1 !important;
    pointer-events: none !important;

    background:
        linear-gradient(
            90deg,
            rgba(5, 7, 14, 0.86) 0%,
            rgba(5, 7, 14, 0.72) 18%,
            rgba(5, 7, 14, 0.42) 36%,
            rgba(5, 7, 14, 0.18) 54%,
            rgba(5, 7, 14, 0.06) 68%,
            rgba(5, 7, 14, 0.00) 80%
        )
        !important;
}

body.phase7-command-center .command-hero > * {
    position: relative !important;
    z-index: 1 !important;
}

/*
 * Large blurred text shadows produced dark Chrome raster halos.
 */
body.phase7-command-center .command-hero h1,
body.phase7-command-center .command-hero .lead {
    text-shadow: none !important;
}

/*
 * Dashboard content beneath the hero is intentionally clean/dark.
 */
body.phase7-command-center .portal-section {
    background: #05070e !important;
}

/* ==========================================================
   PHASE 7A.4C — ECLIPSE GATE VISUAL CONSISTENCY
   Final consolidated implementation

   Accepted design:
   - Command Center retains full uncropped 1672x941 hero
   - Compact/member/public/utility heroes use shared artwork
   - Artwork rendering is uniform across the site
   - Legacy full-page artwork is disabled
   - Large panel/card halo shadows are disabled
   - Homepage artwork matches site vividness
   ========================================================== */


/* ----------------------------------------------------------
   NON-HOME PAGE BASE
   Artwork belongs to explicit hero elements only.
   ---------------------------------------------------------- */

body.eclipse-site:not(.eclipse-home) main {
    background: #05070e !important;
    background-image: none !important;
    background-position: initial !important;
    background-size: initial !important;
    background-repeat: initial !important;
    background-attachment: initial !important;
}

body.eclipse-site:not(.eclipse-home) main::after {
    content: none !important;
    display: none !important;
    background: none !important;
}


/* ----------------------------------------------------------
   FULL-WIDTH HERO CONTAINERS
   ---------------------------------------------------------- */

body.eclipse-site:not(.eclipse-home) .portal-hero:not(.command-hero),
body.eclipse-site:not(.eclipse-home) .account-settings-hero,
body.eclipse-site:not(.eclipse-home) .media-hub-hero,
body.eclipse-site:not(.eclipse-home) .media-workflow-hero,
body.eclipse-site:not(.eclipse-home) main > .page:first-child:not(.portal-hero):not(.account-settings-hero):not(.media-hub-hero):not(.media-workflow-hero) {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;

    width: 100vw !important;
    max-width: none !important;

    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;

    box-sizing: border-box !important;

    padding-left:
        max(32px, calc((100vw - var(--max)) / 2 + 18px))
        !important;

    padding-right:
        max(32px, calc((100vw - var(--max)) / 2 + 18px))
        !important;

    background: #05070e !important;
}


/*
 * Member hubs receive the taller compact hero.
 */
body.eclipse-site:not(.eclipse-home) .portal-hero:not(.command-hero),
body.eclipse-site:not(.eclipse-home) .account-settings-hero,
body.eclipse-site:not(.eclipse-home) .media-hub-hero {
    min-height: clamp(380px, 31vw, 520px) !important;
}


/*
 * Task-focused media workflows and generic public/account pages
 * use the shorter hero height.
 */
body.eclipse-site:not(.eclipse-home) .media-workflow-hero,
body.eclipse-site:not(.eclipse-home) main > .page:first-child:not(.portal-hero):not(.account-settings-hero):not(.media-hub-hero):not(.media-workflow-hero) {
    min-height: clamp(300px, 24vw, 410px) !important;
}


/* ----------------------------------------------------------
   SHARED HERO ARTWORK
   Same rendering values everywhere outside Command Center.
   ---------------------------------------------------------- */

body.eclipse-site:not(.eclipse-home) .portal-hero:not(.command-hero)::before,
body.eclipse-site:not(.eclipse-home) .account-settings-hero::before,
body.eclipse-site:not(.eclipse-home) .media-hub-hero::before,
body.eclipse-site:not(.eclipse-home) .media-workflow-hero::before,
body.eclipse-site:not(.eclipse-home) main > .page:first-child:not(.portal-hero):not(.account-settings-hero):not(.media-hub-hero):not(.media-workflow-hero)::before {
    content: "" !important;
    display: block !important;

    position: absolute !important;
    inset: 0 !important;

    width: auto !important;
    height: auto !important;

    z-index: 0 !important;
    pointer-events: none !important;

    opacity: 1 !important;
    transform: none !important;

    background:
        url("../img/eclipse-gate/unified-worlds-hero-v2.87835435a67b.png")
        60% 48% / cover no-repeat
        !important;

    filter:
        brightness(1.10)
        saturate(1.16)
        contrast(1.04)
        !important;

    mix-blend-mode: normal !important;

    mask: none !important;
    -webkit-mask: none !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    box-shadow: none !important;
    border: 0 !important;
}


/* ----------------------------------------------------------
   SHARED HERO READABILITY VEIL
   ---------------------------------------------------------- */

body.eclipse-site:not(.eclipse-home) .portal-hero:not(.command-hero)::after,
body.eclipse-site:not(.eclipse-home) .account-settings-hero::after,
body.eclipse-site:not(.eclipse-home) .media-hub-hero::after,
body.eclipse-site:not(.eclipse-home) .media-workflow-hero::after,
body.eclipse-site:not(.eclipse-home) main > .page:first-child:not(.portal-hero):not(.account-settings-hero):not(.media-hub-hero):not(.media-workflow-hero)::after {
    content: "" !important;
    display: block !important;

    position: absolute !important;
    inset: 0 !important;

    z-index: 1 !important;
    pointer-events: none !important;

    opacity: 1 !important;
    transform: none !important;

    background:
        linear-gradient(
            90deg,
            rgba(5, 7, 14, 0.86) 0%,
            rgba(5, 7, 14, 0.72) 18%,
            rgba(5, 7, 14, 0.42) 36%,
            rgba(5, 7, 14, 0.18) 54%,
            rgba(5, 7, 14, 0.06) 68%,
            rgba(5, 7, 14, 0.00) 80%
        )
        !important;

    filter: none !important;

    mask: none !important;
    -webkit-mask: none !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    box-shadow: none !important;
}


/*
 * Hero content always renders above artwork and veil.
 */
body.eclipse-site:not(.eclipse-home) .portal-hero:not(.command-hero) > *,
body.eclipse-site:not(.eclipse-home) .account-settings-hero > *,
body.eclipse-site:not(.eclipse-home) .media-hub-hero > *,
body.eclipse-site:not(.eclipse-home) .media-workflow-hero > *,
body.eclipse-site:not(.eclipse-home) main > .page:first-child:not(.portal-hero):not(.account-settings-hero):not(.media-hub-hero):not(.media-workflow-hero) > * {
    position: relative !important;
    z-index: 2 !important;
}


/* ----------------------------------------------------------
   CHROME-SAFE HERO TYPOGRAPHY
   ---------------------------------------------------------- */

body.eclipse-site:not(.eclipse-home) .portal-hero h1,
body.eclipse-site:not(.eclipse-home) .account-settings-hero h1,
body.eclipse-site:not(.eclipse-home) .media-hub-hero h1,
body.eclipse-site:not(.eclipse-home) .media-workflow-hero h1,
body.eclipse-site:not(.eclipse-home) main > .page:first-child h1,
body.eclipse-site:not(.eclipse-home) .portal-hero .lead,
body.eclipse-site:not(.eclipse-home) .account-settings-hero .lead,
body.eclipse-site:not(.eclipse-home) .media-hub-hero .lead,
body.eclipse-site:not(.eclipse-home) .media-workflow-hero .lead,
body.eclipse-site:not(.eclipse-home) main > .page:first-child .lead {
    text-shadow: none !important;
}


/* ----------------------------------------------------------
   CLEAN CONTENT SURFACES
   ---------------------------------------------------------- */

body.eclipse-site:not(.eclipse-home) .section,
body.eclipse-site:not(.eclipse-home) .portal-section,
body.eclipse-site:not(.eclipse-home) .account-settings-section,
body.eclipse-site:not(.eclipse-home) .media-hub-section,
body.eclipse-site:not(.eclipse-home) .media-workflow-section {
    background-color: #05070e;
}


/*
 * Remove large decorative pseudo glows from form containers.
 */
body.eclipse-site:not(.eclipse-home) .account-form-panel::before,
body.eclipse-site:not(.eclipse-home) .form-card::before,
body.eclipse-site:not(.eclipse-home) .section.panel::before {
    content: none !important;
    display: none !important;
}


/* ----------------------------------------------------------
   NO LARGE CARD / PANEL HALOS
   Preserve borders and colored accent lines.
   ---------------------------------------------------------- */

body.eclipse-site:not(.eclipse-home) .card,
body.eclipse-site:not(.eclipse-home) .panel,
body.eclipse-site:not(.eclipse-home) .portal-card,
body.eclipse-site:not(.eclipse-home) .portal-summary-card,
body.eclipse-site:not(.eclipse-home) .settings-card,
body.eclipse-site:not(.eclipse-home) .media-hub-card,
body.eclipse-site:not(.eclipse-home) .media-choice,
body.eclipse-site:not(.eclipse-home) .media-workflow-card,
body.eclipse-site:not(.eclipse-home) .account-form-panel,
body.eclipse-site:not(.eclipse-home) .form-card,
body.eclipse-site:not(.eclipse-home) .section.panel,
body.eclipse-site:not(.eclipse-home) .status-list,
body.eclipse-site:not(.eclipse-home) .portal-action-list,
body.eclipse-site:not(.eclipse-home) .media-progress-panel,
body.eclipse-site:not(.eclipse-home) .media-safety-note {
    box-shadow: none !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.eclipse-site:not(.eclipse-home) .card:hover,
body.eclipse-site:not(.eclipse-home) .portal-card:hover,
body.eclipse-site:not(.eclipse-home) .portal-summary-card:hover,
body.eclipse-site:not(.eclipse-home) .settings-card:hover,
body.eclipse-site:not(.eclipse-home) .media-hub-card:hover,
body.eclipse-site:not(.eclipse-home) .media-choice:hover,
body.eclipse-site:not(.eclipse-home) .media-workflow-card:hover {
    box-shadow: none !important;
}


/* ----------------------------------------------------------
   HOMEPAGE ARTWORK
   Match accepted site-wide vividness.
   ---------------------------------------------------------- */

.eclipse-home .world-hero-art {
    filter:
        brightness(1.10)
        saturate(1.16)
        contrast(1.04)
        !important;

    opacity: 1 !important;
    transform: none !important;
    mix-blend-mode: normal !important;
}

.eclipse-home .world-hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(5, 7, 14, 0.86) 0%,
            rgba(5, 7, 14, 0.72) 18%,
            rgba(5, 7, 14, 0.42) 36%,
            rgba(5, 7, 14, 0.18) 54%,
            rgba(5, 7, 14, 0.06) 68%,
            rgba(5, 7, 14, 0.00) 80%
        )
        !important;

    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}


/*
 * Homepage primary CTA keeps its border/gradient but not the
 * large rectangular shadow.
 */
.eclipse-home .world-primary-cta,
.eclipse-home .world-primary-cta:hover,
.eclipse-home .world-primary-cta:focus,
.eclipse-home .world-primary-cta:active {
    box-shadow: none !important;
}



/* ----------------------------------------------------------
   PHASE 7B.2 — RECENTLY WATCHED
   ---------------------------------------------------------- */

body.eclipse-site:not(.eclipse-home) .media-watch-panel {
    margin-top: 24px;
}

body.eclipse-site:not(.eclipse-home) .media-watch-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

body.eclipse-site:not(.eclipse-home) .media-watch-heading h2 {
    margin-bottom: 8px;
    color: #f7f5f0;
}

body.eclipse-site:not(.eclipse-home) .media-watch-heading .muted {
    max-width: 620px;
    margin: 0;
}

body.eclipse-site:not(.eclipse-home) .media-watch-count {
    flex: 0 0 auto;
    padding: 8px 11px;
    border: 1px solid rgba(122, 245, 237, 0.24);
    background: rgba(4, 7, 14, 0.8);
    color: var(--cyan);
    font-family: var(--mono);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

body.eclipse-site:not(.eclipse-home) .media-watch-grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fill,
            minmax(215px, 1fr)
        );
    gap: 18px;
}

body.eclipse-site:not(.eclipse-home) .media-watch-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(177, 194, 220, 0.14);
    background:
        linear-gradient(
            155deg,
            rgba(13, 17, 31, 0.98),
            rgba(5, 8, 16, 0.99)
        );
    box-shadow: none;
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        background-color 160ms ease;
}

body.eclipse-site:not(.eclipse-home) .media-watch-card:hover {
    transform: translateY(-2px);
    border-color: rgba(122, 245, 237, 0.36);
}

body.eclipse-site:not(.eclipse-home) .media-watch-art {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-bottom: 1px solid rgba(177, 194, 220, 0.12);
    background:
        radial-gradient(
            circle at 75% 20%,
            rgba(189, 131, 255, 0.18),
            transparent 42%
        ),
        linear-gradient(
            145deg,
            rgba(14, 20, 34, 1),
            rgba(4, 7, 14, 1)
        );
}

body.eclipse-site:not(.eclipse-home) .media-watch-art::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            transparent 52%,
            rgba(5, 7, 14, 0.68) 100%
        );
}

body.eclipse-site:not(.eclipse-home) .media-watch-art img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter:
        brightness(0.96)
        saturate(1.08)
        contrast(1.03);
}

body.eclipse-site:not(.eclipse-home) .media-watch-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-content: center;
    text-align: center;
    color: rgba(234, 247, 246, 0.76);
    font-family: var(--mono);
    letter-spacing: 0.14em;
}

body.eclipse-site:not(.eclipse-home) .media-watch-placeholder span {
    color: var(--cyan);
    font-weight: 850;
}

body.eclipse-site:not(.eclipse-home) .media-watch-placeholder small {
    margin-top: 3px;
    color: #8996a8;
    font-size: 0.58rem;
}

body.eclipse-site:not(.eclipse-home) .media-watch-type {
    position: absolute;
    z-index: 2;
    left: 10px;
    bottom: 9px;
    padding: 5px 8px;
    border: 1px solid rgba(122, 245, 237, 0.28);
    background: rgba(4, 7, 14, 0.88);
    color: #eaf7f6;
    font-family: var(--mono);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.eclipse-site:not(.eclipse-home) .media-watch-body {
    display: flex;
    flex-direction: column;
    min-height: 168px;
    padding: 16px;
}

body.eclipse-site:not(.eclipse-home) .media-watch-series {
    margin: 0 0 5px;
    overflow: hidden;
    color: var(--cyan);
    font-family: var(--mono);
    font-size: 0.66rem;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

body.eclipse-site:not(.eclipse-home) .media-watch-title {
    margin: 0;
    color: #f7f5f0;
    font-size: 1rem;
    line-height: 1.3;
}

body.eclipse-site:not(.eclipse-home) .media-watch-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    margin-top: 8px;
    color: #8f9bab;
    font-family: var(--mono);
    font-size: 0.68rem;
}

body.eclipse-site:not(.eclipse-home) .media-watch-meta span + span::before {
    content: "·";
    margin-right: 12px;
    color: rgba(122, 245, 237, 0.45);
}

body.eclipse-site:not(.eclipse-home) .media-watch-footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid rgba(177, 194, 220, 0.1);
    color: #7f8b9c;
    font-size: 0.7rem;
}

@media (max-width: 760px) {
    body.eclipse-site:not(.eclipse-home) .media-watch-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    body.eclipse-site:not(.eclipse-home) .media-watch-grid {
        display: grid;
        grid-auto-columns: minmax(245px, 82vw);
        grid-auto-flow: column;
        grid-template-columns: none;
        gap: 14px;
        overflow-x: auto;
        padding-bottom: 10px;
        scroll-snap-type: x proximity;
    }

    body.eclipse-site:not(.eclipse-home) .media-watch-card {
        scroll-snap-align: start;
    }
}


/* ----------------------------------------------------------
   PHASE 7B.2A — RECENTLY WATCHED VISUAL REFINEMENT
   ---------------------------------------------------------- */

@media (min-width: 1101px) {
    body.eclipse-site:not(.eclipse-home) .media-watch-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }
}

body.eclipse-site:not(.eclipse-home) .media-watch-card {
    background:
        linear-gradient(
            155deg,
            rgba(14, 18, 32, 0.99),
            rgba(5, 8, 16, 1)
        );
}

body.eclipse-site:not(.eclipse-home) .media-watch-art {
    aspect-ratio: 16 / 9;
}

body.eclipse-site:not(.eclipse-home) .media-watch-body {
    min-height: 178px;
    padding: 18px;
}

body.eclipse-site:not(.eclipse-home) .media-watch-series {
    margin-bottom: 7px;
    font-size: 0.7rem;
}

body.eclipse-site:not(.eclipse-home) .media-watch-title {
    font-size: 1.08rem;
    line-height: 1.32;
}

body.eclipse-site:not(.eclipse-home) .media-watch-meta {
    margin-top: 9px;
    font-size: 0.72rem;
}

body.eclipse-site:not(.eclipse-home) .media-watch-footer {
    margin-top: auto;
    padding-top: 14px;
    font-size: 0.73rem;
}

body.eclipse-site:not(.eclipse-home) .media-watch-type {
    left: 12px;
    bottom: 11px;
    padding: 5px 9px;
    font-size: 0.61rem;
}

@media (min-width: 761px) and (max-width: 1100px) {
    body.eclipse-site:not(.eclipse-home) .media-watch-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* ----------------------------------------------------------
   PHASE 7B.2B — MEDIA DASHBOARD WIDTH
   Wider member-media workspace without changing site-wide
   Eclipse Gate layout.
   ---------------------------------------------------------- */

body.eclipse-site:not(.eclipse-home) .media-hub-section {
    width: min(calc(100% - 48px), 1240px);
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

@media (max-width: 760px) {
    body.eclipse-site:not(.eclipse-home) .media-hub-section {
        width: min(calc(100% - 32px), 1240px);
    }
}


/* ----------------------------------------------------------
   PHASE 7B.3 — RECENTLY ADDED GALLERY
   Shared Eclipse Gate media-card presentation.
   ---------------------------------------------------------- */

body.eclipse-site:not(.eclipse-home) .media-watch-title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    min-height: 2.64em;
}

body.eclipse-site:not(.eclipse-home) .media-recent-panel {
    margin-top: 24px;
}


/* ----------------------------------------------------------
   PHASE 7B.4 — CONTINUE WATCHING
   ---------------------------------------------------------- */

body.eclipse-site:not(.eclipse-home) .media-resume-panel {
    margin-top: 24px;
}

body.eclipse-site:not(.eclipse-home) .media-resume-meter {
    margin-top: 14px;
}

body.eclipse-site:not(.eclipse-home) .media-resume-progress {
    display: block;
    width: 100%;
    height: 6px;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    appearance: none;
    background: rgba(177, 194, 220, 0.12);
}

body.eclipse-site:not(.eclipse-home) .media-resume-progress::-webkit-progress-bar {
    border-radius: 999px;
    background: rgba(177, 194, 220, 0.12);
}

body.eclipse-site:not(.eclipse-home) .media-resume-progress::-webkit-progress-value {
    border-radius: 999px;
    background: var(--cyan);
}

body.eclipse-site:not(.eclipse-home) .media-resume-progress::-moz-progress-bar {
    border-radius: 999px;
    background: var(--cyan);
}

body.eclipse-site:not(.eclipse-home) .media-resume-footer span:last-child {
    color: var(--cyan);
    font-family: var(--mono);
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}


/* ----------------------------------------------------------
   PHASE 7B.4A — CLICKABLE CONTINUE WATCHING
   ---------------------------------------------------------- */

body.eclipse-site:not(.eclipse-home) .media-resume-card {
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}

body.eclipse-site:not(.eclipse-home) .media-resume-card:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}

body.eclipse-site:not(.eclipse-home) .media-resume-card:hover .media-resume-cta {
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.eclipse-site:not(.eclipse-home) .media-resume-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

body.eclipse-site:not(.eclipse-home) .media-resume-cta > span {
    transition: transform 140ms ease;
}

body.eclipse-site:not(.eclipse-home) .media-resume-card:hover .media-resume-cta > span {
    transform: translateX(3px);
}


/* ==========================================================
   PHASE 7C — REQUEST BOARD
   ========================================================== */

.request-board-hero {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 2rem;

    /* Utility pages keep the Eclipse Gate
       atmosphere without pushing the actual
       controls below the fold. */
    min-height: 340px;
    box-sizing: border-box;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.request-board-hero-actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.request-board-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.request-board-stat {
    padding: 1.1rem 1.25rem;
}

.request-board-stat span {
    display: block;
    font-size: .72rem;
    letter-spacing: .13em;
    opacity: .65;
    margin-bottom: .35rem;
}

.request-board-stat strong {
    display: block;
    font-size: 1.9rem;
    line-height: 1;
}

.request-board-filters {
    display: grid;
    grid-template-columns:
        minmax(220px, 2fr)
        repeat(4, minmax(130px, 1fr))
        auto;
    gap: .85rem;
    align-items: end;
    padding: 1rem;
    margin-bottom: 2rem;
}

.request-board-filters label {
    display: block;
    font-size: .7rem;
    letter-spacing: .11em;
    text-transform: uppercase;
    opacity: .72;
    margin: 0 0 .4rem;
}

.request-board-filters input,
.request-board-filters select {
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
    border: 1px solid rgba(126, 231, 255, .2);
    border-radius: .55rem;
    background: rgba(5, 9, 18, .86);
    color: inherit;
    padding: .7rem .75rem;
}

.request-board-filters input:focus,
.request-board-filters select:focus {
    outline: 2px solid rgba(126, 231, 255, .65);
    outline-offset: 2px;
}

.request-board-filter-actions {
    display: flex;
    gap: .5rem;
}

.request-board-results-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin: 0 0 1rem;
}

.request-board-results-heading h2 {
    margin-bottom: 0;
}

.request-board-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.request-board-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    min-height: 198px;
    overflow: hidden;
    padding: 0;
}

.request-board-poster {
    background:
        linear-gradient(
            145deg,
            rgba(126, 231, 255, .1),
            rgba(124, 91, 255, .08)
        );
    min-height: 198px;
}

.request-board-poster img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 198px;
    object-fit: cover;
}

.request-board-poster-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 198px;
}

.request-board-poster-fallback span {
    font-size: .72rem;
    letter-spacing: .16em;
    opacity: .55;
}

.request-board-card-body {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.05rem;
    min-width: 0;
}

.request-board-title-row h3 {
    margin: .15rem 0 .85rem;
    font-size: 1.06rem;
    line-height: 1.28;
}

.request-board-title-row h3 span {
    opacity: .58;
    font-weight: 500;
}

.request-board-meta {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: .65rem 1rem;
    margin: 0 0 1rem;
}

.request-board-meta div {
    min-width: 0;
}

.request-board-meta dt {
    font-size: .66rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .55;
    margin-bottom: .14rem;
}

.request-board-meta dd {
    margin: 0;
    font-size: .86rem;
    overflow-wrap: anywhere;
}

.request-board-meta .request-board-seasons {
    grid-column: 1 / -1;
}

.request-board-status-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: .7rem;
    margin-top: auto;
}

.request-board-status-grid small {
    display: block;
    font-size: .62rem;
    letter-spacing: .09em;
    opacity: .5;
    margin-bottom: .25rem;
}

.request-board-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    padding: .25rem .55rem;
    font-size: .74rem;
    line-height: 1.1;
}

.request-board-status[data-status="available"],
.request-board-status[data-status="completed"],
.request-board-status[data-status="approved"] {
    border-color: rgba(102, 255, 186, .32);
    background: rgba(102, 255, 186, .08);
}

.request-board-status[data-status="processing"],
.request-board-status[data-status="partially-available"],
.request-board-status[data-status="pending"] {
    border-color: rgba(126, 231, 255, .32);
    background: rgba(126, 231, 255, .08);
}

.request-board-status[data-status="declined"],
.request-board-status[data-status="failed"],
.request-board-status[data-status="blocklisted"],
.request-board-status[data-status="deleted"] {
    border-color: rgba(255, 124, 124, .32);
    background: rgba(255, 124, 124, .08);
}

.request-board-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.request-board-pagination span {
    font-size: .85rem;
    opacity: .72;
}


@media (max-width: 1180px) {

    .request-board-filters {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .request-board-search {
        grid-column: span 2;
    }

    .request-board-filter-actions {
        grid-column: span 2;
    }

}


@media (max-width: 900px) {

    .request-board-hero {
        display: block;
        min-height: 300px;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .request-board-hero-actions {
        justify-content: flex-start;
        margin-top: 1rem;
    }

    .request-board-summary {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .request-board-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 680px) {

    .request-board-filters {
        grid-template-columns: 1fr;
    }

    .request-board-search,
    .request-board-filter-actions {
        grid-column: auto;
    }

    .request-board-filter-actions {
        flex-wrap: wrap;
    }

    .request-board-card {
        grid-template-columns: 98px minmax(0, 1fr);
    }

    .request-board-poster,
    .request-board-poster img,
    .request-board-poster-fallback {
        min-height: 168px;
    }

    .request-board-meta,
    .request-board-status-grid {
        grid-template-columns: 1fr;
    }

    .request-board-results-heading {
        display: block;
    }

    .request-board-pagination {
        flex-wrap: wrap;
    }

}

/* ======================================================
   PHASE 7D.1 — MY REQUESTS
   Personalized request lifecycle intentionally reuses
   the accepted Phase 7C Request Board presentation.
   ====================================================== */


/* ==========================================================
   PHASE 7D.2 — REQUEST DETAIL
   ========================================================== */

.request-board-card-actions {
    display: flex;
    margin-top: auto;
    padding-top: 0.85rem;
}

.request-board-card-actions .button {
    width: 100%;
    justify-content: center;
}

.request-detail-shell {
    display: grid;
    grid-template-columns: minmax(210px, 310px) minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: start;
}

.request-detail-poster {
    overflow: hidden;
    border-radius: 1rem;
    aspect-ratio: 2 / 3;
    min-height: 0;
}

.request-detail-poster img,
.request-detail-poster .request-board-poster-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.request-detail-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.request-detail-heading h2 {
    margin: 0;
}

.request-detail-heading h2 span {
    font-size: 0.78em;
    font-weight: 500;
    opacity: 0.72;
}

.request-detail-status-grid {
    max-width: 620px;
}

.request-detail-overview h3,
.request-detail-section-heading h3 {
    margin-bottom: 0.5rem;
}

.request-detail-overview p {
    margin: 0;
    max-width: 75ch;
    line-height: 1.7;
}

.request-detail-meta {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(180px, 1fr)
    );
    gap: 0.85rem;
    margin: 0;
}

.request-detail-meta div {
    min-width: 0;
}

.request-detail-meta dt {
    margin-bottom: 0.25rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.72;
}

.request-detail-meta dd {
    margin: 0;
}

.request-detail-seasons {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.request-detail-season-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(170px, 1fr)
    );
    gap: 0.75rem;
}

.request-detail-season {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.9rem;
    border: 1px solid currentColor;
    border-radius: 0.8rem;
}

.request-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 0.25rem;
}

@media (max-width: 780px) {
    .request-detail-shell {
        grid-template-columns: 1fr;
    }

    .request-detail-poster {
        width: min(280px, 100%);
        margin-inline: auto;
    }
}

/* Phase 7E.1 — compact Jellyfin signup option */
body.eclipse-site:not(.eclipse-home)
.account-form-panel
.jellyfin-access-option {
    padding: 14px 16px;
    border: 1px solid rgba(177, 194, 220, 0.18);
    background: rgba(4, 7, 14, 0.62);
}

body.eclipse-site:not(.eclipse-home)
.account-form-panel
.jellyfin-access-option label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    cursor: pointer;
}

body.eclipse-site:not(.eclipse-home)
.account-form-panel
.jellyfin-access-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-height: 0;
    margin: 0;
    padding: 0;
    flex: 0 0 18px;
}

body.eclipse-site:not(.eclipse-home)
.account-form-panel
.jellyfin-access-option .form-help {
    margin-top: 10px;
}


/* Phase 7E.1 — final Jellyfin signup alignment */
body.eclipse-site:not(.eclipse-home)
.account-form-panel
.jellyfin-access-option {
    display: block;
}

body.eclipse-site:not(.eclipse-home)
.account-form-panel
.jellyfin-access-option .form-help {
    display: block;
    margin: 8px 0 0 30px;
    max-width: 440px;
}
