/* ============================================================
   Event Page Styles — TamilBuzz Events
   Extracted from eventTemplate.js for easy editing.
   ============================================================ */


/* ── Reset ──────────────────────────────────────────────────── */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ── Design Tokens ──────────────────────────────────────────── */

:root {
    --bg: #f7efe4;
    --bg-soft: #fffaf4;
    --surface: #fffdf8;
    --surface-strong: #fff7ef;
    --surface-tint: #fff2e5;
    --line: #ecd8c5;
    --line-strong: #d7b594;
    --accent: #d85b45;
    --accent-dark: #b94734;
    --accent-soft: #fff0ea;
    --gold: #d19b46;
    --gold-soft: #fff6de;
    --success: #198754;
    --amber: #b97913;
    --danger: #cf453d;
    --text: #2f1f18;
    --text-2: #5f4a3d;
    --text-3: #8f796a;
    --white: #fff;
    --shadow: 0 24px 60px rgba(118, 69, 33, 0.14);
    --shadow-soft: 0 12px 28px rgba(118, 69, 33, 0.10);
}


/* ── Base ───────────────────────────────────────────────────── */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    background:
        radial-gradient(circle at top left, #fff7ea 0%, transparent 32%),
        radial-gradient(circle at bottom right, #ffeede 0%, transparent 28%),
        var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

body::before,
body::after {
    content: '';
    position: fixed;
    z-index: -1;
    border-radius: 999px;
    filter: blur(12px);
    opacity: .55;
    pointer-events: none;
}

body::before {
    width: 280px;
    height: 280px;
    top: -70px;
    left: -100px;
    background: rgba(209, 155, 70, .15);
}

body::after {
    width: 320px;
    height: 320px;
    right: -120px;
    bottom: -120px;
    background: rgba(216, 91, 69, .14);
}

a {
    color: inherit;
    text-decoration: none;
}


/* ── Animations ─────────────────────────────────────────────── */

@keyframes gradientMove {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes boardRise {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes ep-fadein {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes share-rise {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ── Page Shell ─────────────────────────────────────────────── */

.ep-page {
    padding: 22px 16px 48px;
    min-height: 100vh;
}

.ep-shell {
    width: 95vw;
    max-width: none;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    animation: boardRise .55s ease both;
}


/* ── Stage Grid ─────────────────────────────────────────────── */

.ep-stage {
    display: grid;
    grid-template-columns: minmax(260px, .88fr) minmax(0, 1.12fr);
    gap: 22px;
    align-items: stretch;
}

.ep-stage-poster,
.ep-stage-content,
.ep-panel,
.ep-ticket-card,
.ep-ribbon {
    position: relative;
    border: 1px solid rgba(215, 181, 148, .58);
    background: rgba(255, 253, 248, .96);
    box-shadow: var(--shadow);
}

.ep-stage-poster,
.ep-stage-content {
    border-radius: 30px;
    overflow: hidden;
}

.ep-stage-poster {
    display: flex;
    flex-direction: column;
    aspect-ratio: 2 / 3;
    align-self: start;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .32), rgba(255, 255, 255, 0)),
        linear-gradient(135deg, #ffe7d7 0%, #f7c38d 100%);
}

.ep-stage-poster::before,
.ep-stage-content::before,
.ep-panel::before,
.ep-ticket-card::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: inherit;
    pointer-events: none;
}

.ep-stage-poster-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    display: block;
}

.ep-stage-poster-fill {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 34px;
    background: linear-gradient(135deg, #ffbf8b 0%, #f08973 44%, #d85b45 100%);
    background-size: 240% 240%;
    animation: gradientMove 10s ease infinite;
}

.ep-stage-poster-fill strong {
    max-width: 260px;
    font-family: 'Sora', sans-serif;
    font-size: 34px;
    line-height: 1.05;
    color: var(--white);
    letter-spacing: -.03em;
}


/* ── Stage Badge ────────────────────────────────────────────── */

.ep-stage-badge {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    background: rgba(255, 250, 244, .92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 22px;
    padding: 15px 17px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    box-shadow: var(--shadow-soft);
}

.ep-stage-badge-line {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: .18em;
    margin-bottom: 4px;
}

.ep-stage-badge strong {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    color: var(--text);
    letter-spacing: -.03em;
}

.ep-stage-badge span:last-child {
    font-size: 12px;
    color: var(--text-2);
    font-weight: 700;
    text-align: right;
}


/* ── Stage Content ──────────────────────────────────────────── */

.ep-stage-content {
    padding: 44px 44px 48px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .76), rgba(255, 253, 248, .99));
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
}


/* ── Kicker ─────────────────────────────────────────────────── */

.ep-kicker {
    font-size: 12px;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .24em;
}


/* ── Type Pill ──────────────────────────────────────────────── */

.ep-type-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    width: fit-content;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4);
}

.ep-type-pill i {
    font-size: 13px;
}

.ep-type-pill.free {
    background: #edf8ef;
    color: #198754;
    border: 1px solid rgba(25, 135, 84, .18);
}

.ep-type-pill.paid {
    background: var(--accent-soft);
    color: var(--accent);
    border: 1px solid rgba(216, 91, 69, .18);
}

.ep-type-pill.approval {
    background: var(--gold-soft);
    color: var(--amber);
    border: 1px solid rgba(209, 155, 70, .26);
}


/* ── Hero Typography ────────────────────────────────────────── */

.ep-hero-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: .96;
    letter-spacing: -.05em;
    color: var(--text);
    max-width: none;
    text-wrap: balance;
    margin-bottom: 14px;
}

.ep-hero-copy {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-2);
    max-width: none;
}


/* ── Hero Actions ───────────────────────────────────────────── */

.ep-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: stretch;
}

.ep-hero-cta,
.ep-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .01em;
    transition: transform .18s, box-shadow .18s, background .18s;
}

.ep-hero-cta {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 12px 24px rgba(216, 91, 69, .24);
    width: 100%;
    justify-content: center;
}

.ep-hero-link {
    background: var(--bg-soft);
    color: var(--text);
    border: 1px solid var(--line);
}

.ep-hero-cta:hover,
.ep-hero-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(118, 69, 33, .14);
}


/* ── Hero Snapshot Board ────────────────────────────────────── */

.ep-hero-snapshot {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
}

.ep-hero-board {
    padding: 18px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 247, 239, .98), rgba(255, 253, 248, .98));
    border: 1px solid rgba(236, 216, 197, .95);
    box-shadow: var(--shadow-soft);
}

.ep-hero-board-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.ep-hero-board-kicker {
    font-size: 11px;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .18em;
    margin-bottom: 6px;
}

.ep-hero-board-title {
    font-family: 'Sora', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.ep-hero-board-copy {
    font-size: 12px;
    color: var(--text-3);
    font-weight: 700;
    line-height: 1.5;
    max-width: 24ch;
    margin-top: 6px;
}

.ep-hero-board-mark {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent-soft), var(--gold-soft));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 17px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
    flex-shrink: 0;
}


/* ── Hero Primary Rows ──────────────────────────────────────── */

.ep-hero-primary {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ep-hero-primary-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 15px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--line);
    align-items: flex-start;
}

.ep-hero-primary-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-soft), var(--gold-soft));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 15px;
}

.ep-hero-primary-body {
    min-width: 0;
}

.ep-hero-primary-label {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: .18em;
    margin-bottom: 4px;
}

.ep-hero-primary-value {
    font-size: 17px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.3;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.ep-hero-primary-meta {
    font-size: 12px;
    color: var(--text-3);
    font-weight: 700;
    margin-top: 5px;
    line-height: 1.5;
}


/* ── Hero Mini Grid ─────────────────────────────────────────── */

.ep-hero-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.ep-hero-mini {
    padding: 13px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .84);
    border: 1px solid var(--line);
    min-width: 0;
}

.ep-hero-mini-label {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: .18em;
    margin-bottom: 6px;
}

.ep-hero-mini-value {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.ep-hero-mini-meta {
    display: block;
    font-size: 12px;
    color: var(--text-3);
    font-weight: 700;
    line-height: 1.45;
    margin-top: 6px;
}


/* ── Hero Inline Blocks ─────────────────────────────────────── */

.ep-hero-inline {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(255, 250, 244, .88);
    border: 1px solid rgba(236, 216, 197, .95);
}

.ep-hero-inline-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-soft), var(--gold-soft));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 15px;
    flex-shrink: 0;
}

.ep-hero-inline-body {
    min-width: 0;
}

.ep-hero-inline-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: .16em;
    margin-bottom: 6px;
}

.ep-hero-inline-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.ep-hero-inline-links a {
    color: var(--accent);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.ep-hero-inline-copy {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ── Ribbon ─────────────────────────────────────────────────── */

.ep-ribbon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.ep-ribbon {
    border-radius: 24px;
    padding: 18px 20px;
    background: rgba(255, 251, 246, .95);
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.ep-ribbon-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent-soft), var(--gold-soft));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 17px;
    flex-shrink: 0;
}

.ep-ribbon-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: .16em;
    margin-bottom: 5px;
}

.ep-ribbon-value {
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.35;
}

.ep-ribbon-meta {
    font-size: 12px;
    color: var(--text-3);
    margin-top: 4px;
}

.ep-ribbon-status.ok .ep-ribbon-icon {
    background: linear-gradient(135deg, #eaf8ef, #ddf5e8);
    color: var(--success);
}

.ep-ribbon-status.low .ep-ribbon-icon {
    background: linear-gradient(135deg, #fff5df, #ffedc5);
    color: var(--amber);
}

.ep-ribbon-status.sold .ep-ribbon-icon {
    background: linear-gradient(135deg, #ffede9, #ffd8d1);
    color: var(--danger);
}


/* ── Board & Layout ─────────────────────────────────────────── */

.ep-board {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.ep-board.ep-board-solo {
    grid-template-columns: minmax(0, 1fr);
}

.ep-main,
.ep-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}


/* ── Panel ──────────────────────────────────────────────────── */

.ep-panel {
    border-radius: 28px;
    padding: 36px 40px;
    background: rgba(255, 253, 248, .97);
    scroll-margin-top: 24px;
}

.ep-panel-form {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ep-panel-share {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ep-panel-head {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.ep-panel-head-share {
    margin-bottom: 0;
}


/* ── Step Row & Pills ───────────────────────────────────────── */

.ep-step-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.ep-step-pill,
.ep-trust-pill,
.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ep-step-pill {
    background: var(--gold-soft);
    color: var(--amber);
    border: 1px solid rgba(209, 155, 70, .22);
}

.ep-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

.ep-trust-pill {
    background: var(--surface-tint);
    color: var(--text-2);
    border: 1px solid var(--line);
    text-transform: none;
    letter-spacing: 0;
    font-size: 12px;
    padding: 8px 12px;
}

.ep-trust-pill i {
    color: var(--accent);
}


/* ── Registration Text ──────────────────────────────────────── */

.ep-reg-title {
    font-family: 'Sora', sans-serif;
     font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.04em;
    color: var(--text);
}

.ep-reg-sub {
    font-size: 16px;
    color: var(--text-2);
    line-height: 1.65;
    max-width: 54ch;
}


/* ── Registration Messages ──────────────────────────────────── */

.registration-message {
    padding: 15px 16px;
    border-radius: 18px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}

.success-message {
    background: rgba(25, 135, 84, .09);
    color: var(--success);
    border: 1px solid rgba(25, 135, 84, .22);
}

.error-message {
    background: rgba(207, 69, 61, .08);
    color: var(--danger);
    border: 1px solid rgba(207, 69, 61, .2);
}


/* ── Note Block ─────────────────────────────────────────────── */

.ep-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--surface-tint);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px 14px;
    font-size: 14px;
    color: var(--text-2);
    margin-bottom: 14px;
    line-height: 1.6;
}

.ep-note i {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 3px;
}


/* ── Form Layout ────────────────────────────────────────────── */

.ep-frow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ep-fg {
    margin-bottom: 12px;
}

.ep-fg label {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-2);
    text-transform: uppercase;
    letter-spacing: .14em;
    margin-bottom: 6px;
}

.ep-fg .req {
    color: var(--accent);
}

.ep-fg input,
.ep-fg select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    background: var(--bg-soft);
    border: 1.5px solid var(--line);
    border-radius: 16px;
    font-size: 14px;
    color: var(--text);
    font-family: inherit;
    outline: none;
    transition: border-color .18s, box-shadow .18s, background .18s;
    -webkit-appearance: none;
}

.ep-fg input::placeholder {
    color: var(--text-3);
}

.ep-fg input:focus,
.ep-fg select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(216, 91, 69, .12);
    background: #fff;
}


/* ── Phone / Country Code Picker ────────────────────────────── */

.ep-phone-wrap {
    display: flex;
    position: relative;
    align-items: stretch;
}

.ep-phone-wrap input.ep-phone-number {
    border-radius: 0 16px 16px 0 !important;
    flex: 1;
    min-width: 0;
}

.fi {
    width: 1.33em;
    height: 1em;
    display: inline-block;
    background-size: cover;
    background-position: center;
    border-radius: 2px;
    flex-shrink: 0;
    vertical-align: middle;
}

.ep-cc-trigger {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 48px;
    padding: 0 10px 0 14px;
    background: var(--surface-tint);
    border: 1.5px solid var(--line);
    border-right: none;
    border-radius: 16px 0 0 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    transition: border-color .18s, background .18s;
    user-select: none;
    line-height: 1;
}

.ep-cc-trigger:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(216, 91, 69, .12);
}

.ep-cc-trigger .cc-dial {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}

.ep-cc-trigger .cc-caret {
    font-size: 9px;
    color: var(--text-3);
    margin-left: 1px;
}

.ep-cc-drop {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 340px;
    max-height: 340px;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 16px 48px rgba(118, 69, 33, .18);
    z-index: 1000;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.ep-cc-drop.open {
    display: flex;
}

.ep-cc-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.ep-cc-search i {
    color: var(--text-3);
    font-size: 14px;
    flex-shrink: 0;
}

.ep-cc-search input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    background: transparent;
}

.ep-cc-search input::placeholder {
    color: var(--text-3);
}

.ep-cc-list {
    overflow-y: auto;
    flex: 1;
}

.ep-cc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text);
    transition: background .12s;
}

.ep-cc-item:hover,
.ep-cc-item.active {
    background: var(--surface-tint);
}

.ep-cc-item .cc-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    font-size: 13px;
}

.ep-cc-item .cc-dial {
    color: var(--text-3);
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.ep-cc-empty {
    padding: 18px 14px;
    text-align: center;
    color: var(--text-3);
    font-size: 13px;
}


/* ── Field Errors ───────────────────────────────────────────── */

.ep-field-err {
    color: var(--danger);
    font-size: 12px;
    margin-top: 6px;
    display: none;
    font-weight: 700;
    line-height: 1.45;
}

.ep-field-err.show {
    display: block;
}


/* ── Promo Code ─────────────────────────────────────────────── */

.ep-promo-wrap {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.ep-promo-wrap input {
    flex: 1;
}

.ep-promo-btn {
    min-height: 48px;
    padding: 0 18px;
    background: var(--white);
    border: 1.5px solid var(--line-strong);
    border-radius: 16px;
    font-size: 13px;
    font-weight: 800;
    color: var(--accent);
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    transition: background .18s, color .18s, border-color .18s;
}

.ep-promo-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.promo-feedback {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.promo-valid {
    color: var(--success);
}

.promo-invalid {
    color: var(--danger);
}


/* ── Checkbox Consent ───────────────────────────────────────── */

.ep-check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 10px 0 16px;
    padding: 12px 14px;
    background: rgba(255, 248, 241, .86);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.ep-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    flex-shrink: 0;
    margin-top: 3px;
    cursor: pointer;
}

.ep-check label {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.6;
    cursor: pointer;
}


/* ── Register Button ────────────────────────────────────────── */

.register-btn {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border: none;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform .18s, box-shadow .18s, filter .18s;
    box-shadow: 0 16px 32px rgba(216, 91, 69, .26);
    letter-spacing: .01em;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(216, 91, 69, .28);
    filter: saturate(1.02);
}

.register-btn:disabled {
    opacity: .65;
    transform: none;
    cursor: not-allowed;
    box-shadow: none;
}


/* ── Closed State ───────────────────────────────────────────── */

.ep-closed {
    background: linear-gradient(180deg, rgba(255, 247, 239, .94), rgba(255, 253, 248, .96));
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 38px;
    text-align: center;
}

.ep-closed i {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 16px;
    display: block;
}

.ep-closed h3 {
    font-family: 'Sora', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 10px;
    letter-spacing: -.04em;
}

.ep-closed p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.8;
}


/* ── Ticket Card ────────────────────────────────────────────── */

.ep-ticket-card {
    border-radius: 34px;
    padding: 28px 28px 24px;
    background: linear-gradient(180deg, rgba(255, 247, 239, .98), rgba(255, 253, 248, .98));
    position: sticky;
    top: 24px;
    overflow: hidden;
}

.ep-ticket-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.ep-ticket-kicker {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: .2em;
    margin-bottom: 5px;
}

.ep-ticket-price {
    font-family: 'Sora', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -.04em;
    white-space: nowrap;
}

.ep-ticket-name {
    font-family: 'Sora', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.02;
    letter-spacing: -.05em;
    margin-bottom: 8px;
}

.ep-ticket-sub {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 16px;
}

.ep-ticket-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}


/* ── Generic Pill ───────────────────────────────────────────── */

.pill {
    padding: 8px 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .76);
    text-transform: none;
    letter-spacing: 0;
    font-size: 12px;
}

.pill i {
    font-size: 11px;
}

.pill-green {
    background: rgba(25, 135, 84, .08);
    color: var(--success);
    border-color: rgba(25, 135, 84, .18);
}

.pill-amber {
    background: rgba(185, 121, 19, .08);
    color: var(--amber);
    border-color: rgba(185, 121, 19, .18);
}

.pill-red {
    background: rgba(207, 69, 61, .08);
    color: var(--danger);
    border-color: rgba(207, 69, 61, .18);
}


/* ── Ticket Perforated Divider ──────────────────────────────── */

.ep-ticket-perf {
    position: relative;
    height: 1px;
    margin: 18px 0 20px;
}

.ep-ticket-perf::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -1px;
    border-top: 2px dashed rgba(215, 181, 148, .75);
}


/* ── Ticket Meta Rows ───────────────────────────────────────── */

.ep-ticket-meta {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ep-ticket-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ep-ticket-row i {
    width: 18px;
    text-align: center;
    color: var(--accent);
    margin-top: 2px;
    flex-shrink: 0;
}

.ep-ticket-row strong {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: .16em;
    margin-bottom: 4px;
}

.ep-ticket-row span {
    font-size: 14px;
    color: var(--text);
    font-weight: 700;
    line-height: 1.6;
    overflow-wrap: anywhere;
    word-break: break-word;
}


/* ── Order Total Box ────────────────────────────────────────── */

.ep-total-box {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(255, 255, 255, .85);
    border: 1.5px solid rgba(216, 91, 69, .18);
    border-radius: 20px;
    padding: 14px 16px;
    margin: 10px 0 0;
    animation: ep-fadein .25s ease;
}

.ep-total-box.visible {
    display: flex;
}

.ep-total-lbl {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: .18em;
    margin-bottom: 4px;
}

.ep-total-amount {
    font-family: 'Sora', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -.05em;
}

.ep-total-breakdown {
    font-size: 12px;
    color: var(--text-3);
    margin-top: 6px;
    line-height: 1.5;
}


/* ── Ticket Note ────────────────────────────────────────────── */

.ep-ticket-note {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .76);
    border: 1px solid var(--line);
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.7;
}


/* ── Panel Title & Sub ──────────────────────────────────────── */

.ep-panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -.03em;
    margin-bottom: 8px;
}

.ep-panel-title i {
    color: var(--accent);
}

.ep-panel-sub {
    font-size: 14px;
    color: var(--text-3);
    line-height: 1.7;
    margin-bottom: 18px;
}


/* ── Info List ──────────────────────────────────────────────── */

.ep-info-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.ep-info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 22px;
    background: var(--surface-strong);
    border: 1px solid var(--line);
    min-width: 0;
}

.ep-info-row.ep-info-row-wide {
    grid-column: 1 / -1;
}

.ep-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent-soft), var(--gold-soft));
    border: 1px solid rgba(216, 91, 69, .10);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
    color: var(--accent);
}

.ep-info-lbl {
    font-size: 11px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: .14em;
    margin-bottom: 4px;
    font-weight: 800;
}

.ep-info-val {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.5;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.ep-info-val a {
    color: var(--accent);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.ep-info-val a:hover {
    text-decoration: underline;
}

.ep-info-meta {
    display: block;
    font-size: 12px;
    color: var(--text-3);
    font-weight: 700;
    margin-top: 4px;
}


/* ── Price Display ──────────────────────────────────────────── */

.ep-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 2px;
    flex-wrap: wrap;
}

.ep-price-val {
    font-family: 'Sora', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -.05em;
}

.ep-price-unit {
    font-size: 12px;
    color: var(--text-3);
    font-weight: 700;
}


/* ── Description ────────────────────────────────────────────── */

.ep-desc {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.9;
}

.ep-desc * {
    max-width: 100%;
}

.ep-desc h1,
.ep-desc h2,
.ep-desc h3 {
    font-family: 'Sora', sans-serif;
    color: var(--text);
    margin: 18px 0 8px;
    font-weight: 700;
    letter-spacing: -.03em;
}

.ep-desc p {
    margin-bottom: 12px;
}

.ep-desc ul,
.ep-desc ol {
    padding-left: 22px;
    margin: 12px 0;
}

.ep-desc a {
    color: var(--accent);
}


/* ── Sponsors ───────────────────────────────────────────────── */

.ep-sponsors-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ep-sponsor-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 12px;
    border-radius: 18px;
    background: var(--surface-strong);
    border: 1px solid var(--line);
}

.ep-sponsor-img {
    height: 40px;
    max-width: 110px;
    object-fit: contain;
    filter: saturate(.98);
}


/* ── Share Row (inline panel) ───────────────────────────────── */

.ep-share-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.ep-share-btn {
    min-height: 52px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: transform .18s, box-shadow .18s;
    box-shadow: 0 10px 20px rgba(118, 69, 33, .12);
}

.ep-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(118, 69, 33, .16);
}

.ep-share-btn.wa {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.ep-share-btn.fb {
    background: linear-gradient(135deg, #1877f2, #0d5dbf);
}

.ep-share-btn.tw {
    background: #000;
}

.ep-share-btn.ig {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}


/* ── Share FAB & Drawer ─────────────────────────────────────── */

.ep-share-fab {
    position: fixed;
    bottom: 28px;
    right: 24px;
    z-index: 900;
}

.ep-share-fab-btn {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(216, 91, 69, .34);
    transition: transform .18s, box-shadow .18s, background .18s;
}

.ep-share-fab-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 14px 32px rgba(216, 91, 69, .42);
}

.ep-share-fab-btn.active {
    background: linear-gradient(135deg, #2f1f18, #3e2a22);
}

.ep-share-drawer {
    position: fixed;
    bottom: 92px;
    right: 24px;
    z-index: 901;
    width: min(320px, calc(100vw - 32px));
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(118, 69, 33, .22);
    padding: 18px;
    display: none;
    flex-direction: column;
    gap: 14px;
}

.ep-share-drawer.open {
    display: flex;
    animation: share-rise .22s ease;
}


/* ── Rich Text ──────────────────────────────────────────────── */

.ep-rich-text {
    color: var(--text-1);
    line-height: 1.7;
    font-size: clamp(14px, 1.1vw, 16px);
}

.ep-rich-text p {
    margin: 0 0 .6em;
}

.ep-rich-text p:last-child {
    margin-bottom: 0;
}

.ep-rich-text p:empty,
.ep-rich-text p br:only-child {
    display: block;
    height: .4em;
}

.ep-rich-text ol,
.ep-rich-text ul {
    margin: .4em 0 .6em 1.4em;
    padding: 0;
}

.ep-rich-text ol {
    list-style-type: decimal;
}

.ep-rich-text ol[style*="lower-alpha"] {
    list-style-type: lower-alpha;
}

.ep-rich-text ol[style*="upper-alpha"] {
    list-style-type: upper-alpha;
}

.ep-rich-text ol[style*="lower-roman"] {
    list-style-type: lower-roman;
}

.ep-rich-text ol[style*="upper-roman"] {
    list-style-type: upper-roman;
}

.ep-rich-text ul {
    list-style-type: disc;
}

.ep-rich-text li {
    margin-bottom: .25em;
}

.ep-rich-text strong,
.ep-rich-text b {
    font-weight: 700;
}

.ep-rich-text em,
.ep-rich-text i {
    font-style: italic;
}

.ep-rich-text u {
    text-decoration: underline;
}

.ep-rich-text s,
.ep-rich-text strike,
.ep-rich-text del {
    text-decoration: line-through;
}

.ep-rich-text h1,
.ep-rich-text h2,
.ep-rich-text h3,
.ep-rich-text h4 {
    font-weight: 700;
    margin: .6em 0 .3em;
}

.ep-rich-text a {
    color: var(--accent);
    text-decoration: underline;
}

.ep-rich-text span[style] {
    display: inline;
}


/* ── Share Drawer Components ────────────────────────────────── */

.ep-share-drawer-title {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: .18em;
    margin-bottom: 8px;
}

.ep-share-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.ep-share-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px 4px;
    border-radius: 14px;
    background: var(--surface-tint);
    border: 1px solid var(--line);
    cursor: pointer;
    font-size: 9px;
    font-weight: 800;
    color: var(--text-2);
    text-decoration: none;
    transition: background .15s, transform .15s, border-color .15s;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-family: inherit;
}

.ep-share-chip:hover {
    background: var(--accent-soft);
    border-color: rgba(216, 91, 69, .2);
    transform: translateY(-2px);
}

.ep-share-chip i {
    font-size: 18px;
}

.ep-share-chip.wa i  { color: #25d366; }
.ep-share-chip.fb i  { color: #1877f2; }
.ep-share-chip.ig i  { color: #e1306c; }
.ep-share-chip.tt i  { color: #010101; }
.ep-share-chip.yt i  { color: #ff0000; }
.ep-share-chip.sc i  { color: #d4ac00; }
.ep-share-chip.li i  { color: #0077b5; }
.ep-share-chip.ws i  { color: var(--accent); }
.ep-share-chip.cp i  { color: var(--text-3); }
.ep-share-chip.tg i  { color: #2CA5E0; }
.ep-share-chip.em i  { color: #d85b45; }
.ep-share-chip.tw i  { color: #000; font-size: 24px; }

.ep-share-divider {
    border: none;
    border-top: 1px solid var(--line);
    margin: 0;
}


/* ── Copy Toast ─────────────────────────────────────────────── */

.ep-copy-toast {
    position: fixed;
    bottom: 158px;
    right: 28px;
    background: var(--text);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 15px;
    border-radius: 999px;
    opacity: 0;
    transition: opacity .25s;
    pointer-events: none;
    z-index: 1000;
    white-space: nowrap;
}

.ep-copy-toast.show {
    opacity: 1;
}


/* ── Responsive: ≤ 480px (Mobile) ──────────────────────────── */

@media (max-width: 480px) {
    .ep-page {
        padding: 12px 10px 32px;
    }

    .ep-shell {
        width: 100%;
        max-width: 460px;
        gap: 16px;
    }

    .ep-stage {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ep-stage-poster,
    .ep-stage-content,
    .ep-panel,
    .ep-ticket-card,
    .ep-ribbon {
        border-radius: 22px;
    }

    .ep-stage-poster {
        width: 100%;
        height: 100vh;
    }

    .ep-stage-poster .ep-stage-poster-img {
        object-fit: cover;
        object-position: center center;

    }

    .ep-stage-content {
        min-height: auto;
        padding: 22px 18px;
    }

    .ep-stage-badge {
        left: 14px;
        right: 14px;
        bottom: 14px;
        padding: 14px;
        border-radius: 18px;
        flex-direction: column;
        align-items: flex-start;
    }

    .ep-stage-badge strong {
        font-size: 17px;
    }

    .ep-stage-badge span:last-child {
        text-align: left;
    }

    .ep-hero-title {
        font-size: clamp(28px, 10vw, 42px);
        max-width: 12ch;
    }

    .ep-hero-copy {
        font-size: 15px;
    }

    .ep-hero-board {
        padding: 16px;
    }

    .ep-hero-board-head {
        gap: 10px;
    }

    .ep-hero-board-title {
        font-size: 20px;
    }

    .ep-hero-board-mark,
    .ep-hero-primary-icon,
    .ep-hero-inline-icon {
        width: 36px;
        height: 36px;
        border-radius: 12px;
        font-size: 14px;
    }

    .ep-hero-primary-row {
        grid-template-columns: 36px minmax(0, 1fr);
        padding: 13px 14px;
    }

    .ep-hero-mini-grid,
    .ep-info-list,
    .ep-share-row {
        grid-template-columns: 1fr;
    }

    .ep-frow {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ep-phone-wrap {
        flex-direction: column;
        gap: 10px;
    }

    .ep-cc-trigger {
        border-right: 1.5px solid var(--line) !important;
        border-radius: 18px !important;
        width: 100%;
    }

    .ep-phone-wrap input.ep-phone-number {
        border-radius: 18px !important;
    }

    .ep-cc-drop {
        width: 100%;
    }

    .ep-promo-wrap {
        flex-direction: column;
    }

    .ep-check {
        padding: 14px 16px;
    }

    .register-btn {
        min-height: 56px;
    }

    .ep-ticket-top {
        flex-direction: column;
        gap: 8px;
    }

    .ep-total-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .ep-share-fab {
        bottom: 20px;
        right: 14px;
    }

    .ep-share-drawer {
        right: 10px;
        bottom: 86px;
        width: calc(100vw - 20px);
    }

    .ep-copy-toast {
        right: 14px;
        bottom: 150px;
    }
}


/* ── Responsive: 481px – 768px (Tablet Portrait) ────────────── */

@media (min-width: 481px) and (max-width: 768px) {
    .ep-page {
        padding: 14px 14px 36px;
    }

    .ep-shell {
        width: 100%;
        max-width: 760px;
        gap: 18px;
    }

    .ep-stage {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ep-stage-poster,
    .ep-stage-content,
    .ep-panel,
    .ep-ticket-card,
    .ep-ribbon {
        border-radius: 24px;
    }

    .ep-stage-poster {
        width: 100%;
        height: 180vh;
    }

    .ep-stage-poster .ep-stage-poster-img {
        object-fit: cover;
        object-position: center center;
    }


    .ep-stage-content {
        min-height: auto;
        padding: 24px 22px;
    }

    .ep-stage-badge {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 14px 16px;
        border-radius: 18px;
    }

    .ep-stage-badge strong {
        font-size: 18px;
    }

    .ep-hero-title {
        font-size: clamp(30px, 7vw, 44px);
        max-width: 14ch;
    }

    .ep-hero-copy {
        font-size: 15px;
    }

    .ep-hero-board-title {
        font-size: 22px;
    }

    .ep-hero-mini-grid,
    .ep-info-list {
        grid-template-columns: 1fr;
    }

    .ep-frow {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ep-share-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* ── Responsive: 769px – 1024px (Tablet Landscape) ─────────── */

@media (min-width: 769px) and (max-width: 1024px) {
    .ep-page {
        padding: 16px 16px 40px;
    }

    .ep-shell {
        width: 100%;
        max-width: 1020px;
    }

    .ep-stage {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ep-stage-content {
        min-height: auto;
        padding: 32px 32px;
    }

    .ep-panel {
        padding: 30px 32px;
    }

    .ep-hero-title {
        font-size: clamp(32px, 5vw, 48px);
    }

    .ep-info-list {
        grid-template-columns: 1fr;
    }

      .ep-stage-poster {
        width: 100%;
        height: 260vh;
    }

    .ep-stage-poster .ep-stage-poster-img {
        object-fit: cover;
        object-position: center center;
    }
}


/* ── Responsive: 1025px – 1280px (Small Desktop) ───────────── */

@media (min-width: 1025px) and (max-width: 1280px) {
    body {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .ep-page {
        padding: 20px 20px 44px;
    }

    .ep-shell {
        width: min(98vw, 1280px);
    }

    .ep-stage {
        grid-template-columns: minmax(400px, 1fr) minmax(0, 1.12fr);
        gap: 16px;
        align-items: start;
    }

    .ep-stage-poster {
        width: 100%;
        height: 1020px;
        aspect-ratio: unset;
        align-self: start;
    }

    .ep-stage-poster .ep-stage-poster-img {
        object-fit: cover;
        object-position: center top;
    }

    .ep-stage-content {
        padding: 36px 36px;
    }

    .ep-panel {
        padding: 32px 36px;
    }
}


/* ── Responsive: 1281px – 1536px (Medium Desktop) ──────────── */

@media (min-width: 1281px) and (max-width: 1536px) {
    body {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .ep-page {
        padding: 24px 24px 48px;
    }

    .ep-shell {
        width: min(98vw, 1536px);
    }

    .ep-stage {
        grid-template-columns: minmax(430px, 1fr) minmax(0, 1.14fr);
        gap: 16px;
        align-items: start;
    }

    .ep-stage-poster {
        position: sticky;
        top: 18px;
        width: 100%;
        height: 1020px;
        aspect-ratio: unset;
        align-self: start;
    }

    .ep-stage-poster .ep-stage-poster-img {
        object-fit: cover;
        object-position: center top;
    }

    .ep-stage-content {
        position: sticky;
        top: 18px;
        align-self: start;
    }
}


/* ── Responsive: ≥ 1537px (Wide / Ultra Desktop) ───────────── */

@media (min-width: 1537px) {
    body {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .ep-page {
        padding: 28px 28px 52px;
    }

    .ep-shell {
        --ep-desktop-equal-height: calc(100vh - 60px);
        min-height: auto;
        display: grid;
        grid-template-columns:
            minmax(380px, 1fr)
            minmax(640px, 1.28fr)
            minmax(400px, 1.04fr);
        grid-template-areas: "poster form hero";
        align-items: stretch;
        gap: 16px;
    }

    .ep-shell.ep-shell-no-sponsors {
        grid-template-areas: "poster form hero";
    }

    .ep-stage {
        display: contents;
    }

    .ep-board {
        grid-area: form;
        min-height: var(--ep-desktop-equal-height);
        align-self: stretch;
        overflow: visible;
    }

    .ep-main {
        height: auto;
        min-height: var(--ep-desktop-equal-height);
    }

    .ep-stage-poster {
        grid-area: poster;
        aspect-ratio: unset;
        min-height: unset;
        height: 1020px;
        max-height: none;
        position: sticky;
        top: 18px;
        align-self: start;
    }

    .ep-stage-poster .ep-stage-poster-img {
        object-fit: cover;
        object-position: center top;
    }

    .ep-stage-content {
        grid-area: hero;
        min-height: var(--ep-desktop-equal-height);
        height: auto;
        align-self: stretch;
        position: sticky;
        top: 18px;
    }

    #registration-panel {
        flex: 1 1 auto;
        height: auto;
        min-height: 0;
    }

    #festival-supporters {
        align-self: stretch;
        flex: 0 0 auto;
        height: auto;
    }
}
