@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800;900&family=Cormorant+Garamond:wght@500;600;700&display=swap');

:root {
    --bg: #f4f7fc;
    --bg-2: #e8eef9;
    --panel: rgba(255, 255, 255, 0.96);
    --panel-strong: rgba(248, 251, 255, 0.98);
    --line: rgba(14, 34, 84, 0.12);
    --line-strong: rgba(14, 34, 84, 0.18);
    --text: #10244b;
    --muted: rgba(16, 36, 75, 0.72);
    --gold: #f5bf3b;
    --gold-deep: #d79b17;
    --red: #e11d36;
    --red-deep: #b2152b;
    --blue: #1f4fa8;
    --blue-deep: #0d2f73;
    --violet: #dce6ff;
    --cream: #fff8df;
    --shadow: 0 22px 48px rgba(18, 48, 110, 0.12);
    --shadow-strong: 0 34px 80px rgba(18, 48, 110, 0.18);
    --radius-xl: 36px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1180px;
}

.ticket-auth-modal[hidden] {
    display: none !important;
}

.ticket-auth-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    width: 100vw;
    height: 100dvh;
    padding: 20px;
}

/* The page reveal transform must not become the fixed modal's containing block. */
body.has-ticket-auth-modal .tickets-page {
    transform: none !important;
}

.ticket-auth-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 29, 67, 0.58);
    backdrop-filter: blur(4px);
}

.ticket-auth-modal__card {
    position: relative;
    width: min(100%, 480px);
    padding: 30px;
    border: 1px solid rgba(31, 79, 168, 0.16);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 35, 84, 0.28);
}

.ticket-auth-modal__card h2 {
    margin: 10px 0 8px;
    color: var(--blue-deep);
    font-size: clamp(1.5rem, 4vw, 2rem);
}

.ticket-auth-modal__card p {
    margin: 0;
    color: var(--muted);
}

.ticket-auth-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 1.7rem;
    cursor: pointer;
}

.ticket-auth-modal__actions {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.checkout-auth-note {
    display: grid;
    gap: 6px;
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(31, 79, 168, 0.18);
    border-radius: 14px;
    background: #eef4ff;
    color: var(--blue-deep);
}

.checkout-auth-note span {
    color: var(--muted);
    font-size: 0.94rem;
}

body.has-ticket-auth-modal {
    overflow: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 10%, rgba(31, 79, 168, 0.12), transparent 26%),
        radial-gradient(circle at 84% 16%, rgba(225, 29, 54, 0.12), transparent 22%),
        radial-gradient(circle at 50% 112%, rgba(245, 191, 59, 0.16), transparent 30%),
        linear-gradient(180deg, var(--bg) 0%, #f8fbff 42%, var(--bg-2) 100%);
    line-height: 1.6;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(31, 79, 168, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 79, 168, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
    opacity: 0.4;
    z-index: -2;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(100% - 28px, var(--container));
    margin: 0 auto;
}

.site-shell {
    position: relative;
}

.site-announce {
    border-bottom: 1px solid rgba(31, 79, 168, 0.12);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
}

.site-announce__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 46px;
    padding: 10px 0;
    text-align: center;
}

.site-announce__badge,
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(31, 79, 168, 0.08);
    border: 1px solid rgba(31, 79, 168, 0.18);
    color: var(--blue-deep);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.site-announce p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(225, 29, 54, 0.16);
    background: linear-gradient(90deg, rgba(13, 47, 115, 0.97), rgba(31, 79, 168, 0.94));
    backdrop-filter: blur(18px);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header[data-scrolled='true'] {
    border-bottom-color: rgba(245, 191, 59, 0.2);
    box-shadow: 0 18px 50px rgba(13, 47, 115, 0.22);
    background: linear-gradient(90deg, rgba(11, 39, 98, 0.98), rgba(27, 70, 151, 0.96));
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 64px;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand__mark {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.92) 0 6px, transparent 7px),
        radial-gradient(circle at 50% 50%, rgba(13, 47, 115, 0.98) 0 16px, transparent 17px),
        radial-gradient(circle at center, rgba(220, 230, 255, 0.92) 0 23px, transparent 24px),
        linear-gradient(145deg, var(--red) 0%, var(--gold) 48%, var(--blue) 100%);
    box-shadow: 0 14px 28px rgba(31, 79, 168, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.brand__mark--logo {
    padding: 3px;
    background: rgba(255, 255, 255, 0.14);
}

.brand__logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.brand__text {
    display: grid;
    gap: 2px;
}

.brand__text span {
    color: var(--muted);
    font-size: 0.74rem;
    letter-spacing: 0.24em;
}

.brand__text strong {
    font-size: 0.98rem;
    color: #ffffff;
}

.nav {
    display: none;
    position: fixed;
    top: 76px;
    right: 12px;
    z-index: 55;
    flex-direction: column;
    gap: 8px;
    width: min(100vw - 24px, 340px);
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(10, 35, 92, 0.99), rgba(18, 56, 139, 0.99));
    box-shadow: var(--shadow-strong);
    overflow: hidden;
}

.nav__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 2px 2px 6px;
}

.nav__title {
    color: #ffe8a3;
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.nav__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1;
}

.site-header__backdrop {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 60px;
    bottom: 0;
    /* Keep the backdrop below the header so the open navigation remains clickable. */
    z-index: 49;
    width: 100%;
    border: 0;
    background: rgba(8, 24, 58, 0.42);
}

body.nav-open .site-header__backdrop {
    display: block;
}

body.nav-open .nav {
    display: flex;
}

.nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.96);
    font-size: 0.96rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.16);
}

.nav a:hover,
.nav a.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(225, 29, 54, 0.42), rgba(245, 191, 59, 0.22));
    transform: translateX(2px);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.account-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 800;
    white-space: nowrap;
}

.account-link:hover {
    background: rgba(255, 255, 255, 0.12);
}

.account-link__icon {
    font-size: 1rem;
    line-height: 1;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.button:hover {
    transform: translateY(-1px);
}

.button--primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--red) 0%, #ff5164 58%, var(--gold) 100%);
    box-shadow: 0 18px 36px rgba(225, 29, 54, 0.2);
}

.button--ghost {
    color: var(--blue-deep);
    border-color: rgba(31, 79, 168, 0.22);
    background: rgba(255, 255, 255, 0.88);
}

.button--sm {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.9rem;
}

.button--full {
    width: 100%;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.site-main {
    padding: 8px 0 70px;
}

.hero-shell {
    display: grid;
    gap: 16px;
}

.hero {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: calc(var(--radius-xl) + 4px);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 248, 253, 0.86)),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(232, 238, 249, 0.96));
    box-shadow: var(--shadow-strong);
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(8px);
}

.hero::before {
    width: 260px;
    height: 260px;
    right: -90px;
    top: -110px;
    background: radial-gradient(circle, rgba(31, 79, 168, 0.18), transparent 68%);
}

.hero::after {
    width: 320px;
    height: 320px;
    left: -140px;
    bottom: -160px;
    background: radial-gradient(circle, rgba(225, 29, 54, 0.16), transparent 70%);
}

.hero--grand {
    display: grid;
    gap: 24px;
    padding: 24px;
}

.hero-copy,
.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-copy {
    display: grid;
    gap: 16px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    color: var(--red);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red));
}

.hero-title,
.section-title,
.display {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 0.94;
}

.hero-title {
    max-width: 11ch;
    font-size: clamp(3rem, 12vw, 6.3rem);
}

.hero-text,
.section-lead,
.feature-card p,
.price-card p,
.attraction-card p,
.gallery-item p,
.schedule-panel li,
.footer-brand p,
.footer-contact,
.muted {
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill,
.cta-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(31, 79, 168, 0.16);
    background: rgba(255, 255, 255, 0.84);
    color: var(--blue-deep);
    font-size: 0.9rem;
    font-weight: 700;
}

.hero-visual {
    min-height: 460px;
    display: grid;
    align-items: center;
    justify-items: center;
    isolation: isolate;
}

.spotlight {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 20%, rgba(31, 79, 168, 0.16), transparent 16%),
        radial-gradient(circle at 50% 38%, rgba(245, 191, 59, 0.16), transparent 25%),
        radial-gradient(circle at 50% 64%, rgba(225, 29, 54, 0.14), transparent 28%);
    opacity: 0.95;
}

.showcase-card {
    position: relative;
    width: min(100%, 430px);
    padding: 22px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(31, 79, 168, 0.14);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 253, 0.94)),
        linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(232, 238, 249, 0.96));
    box-shadow: var(--shadow-strong);
    overflow: hidden;
}

.showcase-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(31, 79, 168, 0.1), transparent 22%),
        radial-gradient(circle at bottom left, rgba(225, 29, 54, 0.1), transparent 24%);
    pointer-events: none;
}

.showcase-card__top,
.showcase-stage,
.showcase-stats {
    position: relative;
    z-index: 1;
}

.showcase-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.showcase-status {
    color: var(--blue);
    font-size: 0.86rem;
    font-weight: 700;
}

.showcase-stage {
    display: grid;
    gap: 8px;
    padding: 22px 18px;
    border-radius: var(--radius-lg);
    background: rgba(31, 79, 168, 0.05);
    border: 1px solid rgba(31, 79, 168, 0.08);
}

.showcase-stage__label {
    color: var(--red);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.showcase-stage strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.2rem, 12vw, 5rem);
    line-height: 0.9;
}

.showcase-stage p {
    margin: 0;
    color: var(--muted);
}

.showcase-stats {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.mini-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(31, 79, 168, 0.08);
}

.mini-stat strong {
    font-size: 1.1rem;
    color: var(--blue-deep);
}

.mini-stat span {
    color: var(--muted);
    text-align: right;
    font-size: 0.92rem;
}

.orbit-card {
    position: absolute;
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(31, 79, 168, 0.14);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
    transform: rotate(-4deg);
}

.orbit-card span {
    color: var(--muted);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.orbit-card strong {
    font-size: 0.98rem;
}

.orbit-card--left {
    left: 10px;
    bottom: 18px;
}

.orbit-card--right {
    right: 10px;
    top: 14px;
    transform: rotate(6deg);
}

.ticker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 999px;
    border: 1px solid rgba(31, 79, 168, 0.16);
    background: rgba(255, 255, 255, 0.82);
    color: var(--blue-deep);
    box-shadow: var(--shadow);
}

.section {
    padding-top: 30px;
}

.section-head {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.section-head--split {
    gap: 16px;
}

.section-title {
    font-size: clamp(2.1rem, 6.6vw, 4.5rem);
}

.section-lead {
    max-width: 66ch;
}

.grid {
    display: grid;
    gap: 16px;
}

.grid--2,
.grid--3,
.grid--4 {
    grid-template-columns: 1fr;
}

.feature-card,
.price-card,
.attraction-card,
.schedule-panel,
.table-card,
.map-card,
.auth-card,
.card {
    border: 1px solid rgba(31, 79, 168, 0.12);
    border-radius: var(--radius-lg);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.feature-card,
.price-card,
.attraction-card {
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.feature-card__glow {
    position: absolute;
    inset: auto -30px -50px auto;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(31, 79, 168, 0.12), transparent 66%);
    pointer-events: none;
}

.feature-card__eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--red);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.feature-card h3,
.price-card h3,
.attraction-card h3,
.schedule-panel h3,
.card h3 {
    margin: 0 0 8px;
    font-size: 1.18rem;
}

.feature-card p,
.price-card p,
.attraction-card p,
.card p {
    margin: 0;
}

.schedule-layout {
    display: grid;
    gap: 16px;
}

.schedule-panel {
    padding: 20px;
}

.schedule-panel--accent {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 248, 253, 0.92)),
        linear-gradient(155deg, rgba(232, 238, 249, 0.98), rgba(245, 248, 253, 0.96));
}

.schedule-panel__head {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.schedule-panel h3 {
    margin-bottom: 0;
    font-size: 1.4rem;
}

.schedule-list {
    display: grid;
    gap: 12px;
}

.schedule-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(31, 79, 168, 0.05);
    border: 1px solid rgba(31, 79, 168, 0.08);
}

.schedule-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1rem;
}

.schedule-item span {
    color: var(--muted);
    font-size: 0.92rem;
}

.schedule-item__time {
    color: var(--red);
    font-weight: 800;
    white-space: nowrap;
}

.list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.list--tight {
    margin-bottom: 18px;
}

.list li {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(31, 79, 168, 0.06);
}

.badge--soft {
    background: rgba(31, 79, 168, 0.1);
    border-color: rgba(31, 79, 168, 0.18);
    color: var(--blue-deep);
}

.customer-ticket-status--active {
    background: rgba(22, 145, 75, 0.12);
    border-color: rgba(22, 145, 75, 0.24);
    color: #11733f;
}

.customer-ticket-status--used {
    background: rgba(211, 38, 57, 0.12);
    border-color: rgba(211, 38, 57, 0.24);
    color: #b42336;
}

.customer-ticket-status--closed {
    background: rgba(106, 81, 86, 0.12);
    border-color: rgba(106, 81, 86, 0.24);
    color: #6a5156;
}

.customer-ticket-card__notice--used {
    margin: 12px 0 0;
    color: #b42336;
    font-size: 0.84rem;
    font-weight: 600;
}

.price-card {
    display: grid;
    gap: 12px;
}

.price-card__value {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: var(--red);
    line-height: 1;
}

.attraction-card {
    display: grid;
    gap: 12px;
}

.attraction-card__visual {
    height: 120px;
    border-radius: var(--radius-md);
    background:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.4), transparent 18%),
        radial-gradient(circle at 70% 32%, rgba(31, 79, 168, 0.34), transparent 22%),
        linear-gradient(135deg, rgba(225, 29, 54, 0.32), rgba(31, 79, 168, 0.75));
    border: 1px solid rgba(31, 79, 168, 0.08);
    position: relative;
    overflow: hidden;
}

.attraction-card__visual::before,
.gallery-item__shine {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.22), transparent 24%),
        linear-gradient(300deg, rgba(245, 191, 59, 0.16), transparent 28%);
    mix-blend-mode: screen;
}

.gallery-grid {
    display: grid;
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(31, 79, 168, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 248, 253, 0.96)),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(235, 240, 250, 0.98));
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
}

.gallery-item:nth-child(2n) {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 248, 253, 0.96)),
        linear-gradient(145deg, rgba(235, 240, 250, 0.98), rgba(241, 245, 252, 0.98));
}

.gallery-item__shine {
    pointer-events: none;
    opacity: 0.9;
}

.gallery-item h3,
.gallery-item p {
    position: relative;
    z-index: 1;
    margin: 0;
}

.cta-band {
    display: grid;
    gap: 18px;
    padding: 24px;
    border-radius: calc(var(--radius-xl) + 4px);
    border: 1px solid rgba(31, 79, 168, 0.12);
    background:
        radial-gradient(circle at top right, rgba(31, 79, 168, 0.16), transparent 24%),
        radial-gradient(circle at bottom left, rgba(225, 29, 54, 0.12), transparent 28%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 252, 0.98));
    box-shadow: var(--shadow-strong);
}

.cta-band__meta {
    display: grid;
    gap: 10px;
}

.cta-chip {
    width: fit-content;
}

.home-story {
    display: grid;
    gap: 18px;
    padding: 18px;
    border-radius: calc(var(--radius-xl) + 4px);
    border: 1px solid rgba(31, 79, 168, 0.12);
    background:
        radial-gradient(circle at top right, rgba(31, 79, 168, 0.12), transparent 28%),
        radial-gradient(circle at bottom left, rgba(225, 29, 54, 0.08), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 252, 0.98));
    box-shadow: var(--shadow-strong);
}

.home-story__frame {
    overflow: hidden;
    padding: 10px;
    border-radius: calc(var(--radius-xl) - 2px);
    border: 1px solid rgba(255, 255, 255, 0.88);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(231, 238, 248, 0.96)),
        linear-gradient(135deg, rgba(31, 79, 168, 0.08), rgba(245, 191, 59, 0.1));
    box-shadow: 0 18px 40px rgba(17, 42, 92, 0.14);
}

.home-story__image {
    width: 100%;
    height: 100%;
    min-height: 220px;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: center;
    border-radius: calc(var(--radius-lg) - 4px);
    background: transparent;
}

.home-story__empty {
    display: grid;
    place-items: center;
    gap: 8px;
    min-height: 220px;
    padding: 24px;
    border-radius: calc(var(--radius-lg) - 4px);
    text-align: center;
    color: var(--muted);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(235, 241, 250, 0.92)),
        linear-gradient(135deg, rgba(31, 79, 168, 0.08), rgba(225, 29, 54, 0.06));
}

.home-story__empty strong {
    color: var(--text);
    font-size: 1rem;
}

.home-story__content {
    display: grid;
    gap: 10px;
    justify-items: center;
    text-align: center;
}

.home-story__content .section-title {
    max-width: 22ch;
    margin-inline: auto;
}

.home-story__text {
    max-width: 58ch;
    margin: 0 auto;
}

.presentation-config-grid {
    display: grid;
    gap: 16px;
    align-items: start;
}

.presentation-preview-card,
.presentation-config-card {
    display: grid;
    gap: 16px;
    padding: 18px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(31, 79, 168, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 247, 252, 0.98)),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(235, 240, 250, 0.98));
    box-shadow: var(--shadow);
}

.presentation-preview-card__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.presentation-preview-card__hint {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.presentation-preview-card__frame {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    padding: 12px;
    border-radius: 24px;
    border: 1px solid rgba(31, 79, 168, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(235, 240, 250, 0.96)),
        linear-gradient(135deg, rgba(31, 79, 168, 0.08), rgba(245, 191, 59, 0.1));
}

.presentation-preview-card__frame img {
    width: 100%;
    height: 100%;
    min-height: 216px;
    object-fit: contain;
    object-position: center;
}

.presentation-preview-card__empty {
    display: grid;
    gap: 8px;
    place-items: center;
    min-height: 216px;
    padding: 18px;
    text-align: center;
    color: var(--muted);
}

.presentation-preview-card__empty strong {
    color: var(--text);
}

.presentation-config-card .field textarea {
    min-height: 144px;
    resize: vertical;
}

.presentation-config-card__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.home-info {
    display: grid;
    gap: 0;
    padding: 18px;
    border-radius: calc(var(--radius-xl) + 4px);
    border: 1px solid rgba(31, 79, 168, 0.12);
    background:
        radial-gradient(circle at top right, rgba(31, 79, 168, 0.1), transparent 26%),
        radial-gradient(circle at bottom left, rgba(225, 29, 54, 0.08), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 252, 0.98));
    box-shadow: var(--shadow-strong);
}

.home-info__frame {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    padding: 10px;
    border-radius: calc(var(--radius-xl) - 4px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(235, 240, 250, 0.96)),
        linear-gradient(135deg, rgba(31, 79, 168, 0.08), rgba(245, 191, 59, 0.08));
}

.home-info__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: contain;
    object-position: center;
    border-radius: calc(var(--radius-lg) - 4px);
}

.home-info__empty {
    display: grid;
    place-items: center;
    gap: 8px;
    min-height: 220px;
    padding: 20px;
    color: var(--muted);
    text-align: center;
}

.home-info__empty strong {
    color: var(--text);
    font-size: 1rem;
}

.info-config-grid {
    display: grid;
    gap: 16px;
    align-items: start;
}

.info-preview-card,
.info-config-card {
    display: grid;
    gap: 16px;
    padding: 18px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(31, 79, 168, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 247, 252, 0.98)),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(235, 240, 250, 0.98));
    box-shadow: var(--shadow);
}

.info-preview-card__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.info-preview-card__hint {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.info-preview-card__frame {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    padding: 10px;
    border-radius: 24px;
    border: 1px solid rgba(31, 79, 168, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(235, 240, 250, 0.96)),
        linear-gradient(135deg, rgba(31, 79, 168, 0.08), rgba(245, 191, 59, 0.08));
}

.info-preview-card__frame img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: contain;
    object-position: center;
}

.info-preview-card__empty {
    display: grid;
    place-items: center;
    gap: 8px;
    min-height: 220px;
    padding: 18px;
    text-align: center;
    color: var(--muted);
}

.info-preview-card__empty strong {
    color: var(--text);
}

.info-config-card__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.info-config-card__remove {
    display: grid;
    margin-top: 4px;
}

.home-gallery {
    display: grid;
    gap: 18px;
    padding: 20px 18px 18px;
    border-radius: calc(var(--radius-xl) + 4px);
    border: 1px solid rgba(31, 79, 168, 0.12);
    background:
        radial-gradient(circle at top right, rgba(31, 79, 168, 0.12), transparent 28%),
        radial-gradient(circle at bottom left, rgba(225, 29, 54, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 252, 0.98));
    box-shadow: var(--shadow-strong);
}

.home-gallery__head {
    display: grid;
    justify-items: center;
    text-align: center;
}

.home-gallery__title {
    margin: 0;
    text-align: center;
}

.home-gallery__rows {
    display: grid;
    gap: 12px;
}

.home-gallery__row {
    overflow: hidden;
    position: relative;
    padding-block: 2px;
    mask-image: linear-gradient(90deg, transparent 0%, black 4%, black 96%, transparent 100%);
}

.home-gallery__track {
    display: flex;
    align-items: stretch;
    gap: 12px;
    width: max-content;
    will-change: transform;
    animation: home-gallery-marquee 32s linear infinite;
}

.home-gallery__row--top .home-gallery__track {
    animation-direction: reverse;
    animation-duration: 24s;
}

.home-gallery__row--bottom .home-gallery__track {
    animation-duration: 28s;
}

.home-gallery:hover .home-gallery__track,
.home-gallery:focus-within .home-gallery__track,
.home-gallery[data-paused='true'] .home-gallery__track {
    animation-play-state: paused;
}

.home-gallery__item {
    flex: 0 0 auto;
    overflow: hidden;
    position: relative;
    margin: 0;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(235, 240, 250, 0.98)),
        linear-gradient(135deg, rgba(31, 79, 168, 0.08), rgba(245, 191, 59, 0.08));
    box-shadow: 0 14px 34px rgba(17, 42, 92, 0.14);
}

.home-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-gallery__item--1 {
    width: clamp(150px, 24vw, 260px);
    aspect-ratio: 1.1 / 1;
}

.home-gallery__item--2 {
    width: clamp(190px, 30vw, 340px);
    aspect-ratio: 16 / 10;
}

.home-gallery__item--3 {
    width: clamp(130px, 20vw, 200px);
    aspect-ratio: 3 / 4;
}

.home-gallery__item--4 {
    width: clamp(170px, 26vw, 280px);
    aspect-ratio: 4 / 3;
}

.home-gallery__placeholder {
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, rgba(31, 79, 168, 0.18), rgba(225, 29, 54, 0.12)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(235, 240, 250, 0.92));
}

.home-gallery__empty {
    display: grid;
    place-items: center;
    gap: 8px;
    min-height: 220px;
    padding: 18px;
    border-radius: 24px;
    text-align: center;
    color: var(--muted);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(235, 240, 250, 0.94)),
        linear-gradient(135deg, rgba(31, 79, 168, 0.08), rgba(245, 191, 59, 0.08));
    border: 1px dashed rgba(31, 79, 168, 0.16);
}

.home-gallery__empty strong {
    color: var(--text);
}

.home-gallery-admin__stats {
    margin-bottom: 4px;
}

.home-gallery-admin-groups {
    display: grid;
    gap: 18px;
}

.home-gallery-admin-group {
    display: grid;
    gap: 12px;
}

.home-gallery-admin-group__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.home-gallery-admin-group__head h3 {
    margin: 0;
    font-size: 1.02rem;
    color: var(--text);
}

.home-gallery-admin-list {
    display: grid;
    gap: 12px;
}

.home-gallery-admin-card {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 12px;
    padding: 12px;
    border-radius: 22px;
    border: 1px solid rgba(31, 79, 168, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 247, 252, 0.98)),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(235, 240, 250, 0.98));
    box-shadow: var(--shadow);
}

.home-gallery-admin-card.is-inactive {
    opacity: 0.74;
}

.home-gallery-admin-card__preview {
    position: relative;
    overflow: hidden;
    min-height: 152px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(31, 79, 168, 0.08), rgba(245, 191, 59, 0.08)),
        rgba(255, 255, 255, 0.92);
}

.home-gallery-admin-card__preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-gallery-admin-card__preview .badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
}

.home-gallery-admin-card__empty {
    display: grid;
    place-items: center;
    min-height: 152px;
    padding: 12px;
    text-align: center;
    color: var(--muted);
}

.home-gallery-admin-card__body {
    display: grid;
    gap: 12px;
}

.home-gallery-admin-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.home-gallery-admin-card__eyebrow {
    margin-bottom: 4px;
    color: var(--red);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.home-gallery-admin-card__head h3 {
    margin: 0;
    font-size: 0.98rem;
}

.home-gallery-admin-card__controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.home-gallery-admin-card__field {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.home-gallery-admin-card__field input,
.home-gallery-admin-card__field select {
    min-height: 42px;
}

.home-gallery-admin-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.home-gallery-admin-empty {
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 16px;
    border-radius: 18px;
    text-align: center;
    color: var(--muted);
    border: 1px dashed rgba(31, 79, 168, 0.16);
    background: rgba(255, 255, 255, 0.72);
}

.social-follow {
    display: grid;
    gap: 16px;
    justify-items: center;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 8px;
    padding: 28px 18px 24px;
    border-radius: calc(var(--radius-xl) + 8px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
        radial-gradient(circle at 14% 18%, rgba(225, 29, 54, 0.24), transparent 24%),
        radial-gradient(circle at 86% 14%, rgba(245, 191, 59, 0.24), transparent 20%),
        radial-gradient(circle at 50% 110%, rgba(31, 79, 168, 0.18), transparent 28%),
        linear-gradient(160deg, rgba(13, 47, 115, 0.98), rgba(31, 79, 168, 0.94) 52%, rgba(11, 39, 98, 0.98));
    box-shadow: 0 34px 80px rgba(13, 47, 115, 0.24);
    text-align: center;
}

.social-follow::before,
.social-follow::after {
    content: '';
    position: absolute;
    pointer-events: none;
    inset: auto;
    border-radius: 50%;
    filter: blur(8px);
    opacity: 0.9;
    z-index: -1;
}

.social-follow::before {
    width: 180px;
    height: 180px;
    left: -48px;
    top: -58px;
    background: radial-gradient(circle, rgba(225, 29, 54, 0.34), transparent 68%);
}

.social-follow::after {
    width: 220px;
    height: 220px;
    right: -68px;
    bottom: -78px;
    background: radial-gradient(circle, rgba(245, 191, 59, 0.24), transparent 68%);
}

.social-follow__head {
    display: grid;
    gap: 8px;
    justify-items: center;
    position: relative;
    z-index: 1;
}

.social-follow__eyebrow {
    color: #f8e7b0;
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.social-follow__title {
    margin: 0;
    text-align: center;
    color: #ffffff;
    font-size: clamp(2.2rem, 6.2vw, 4.2rem);
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.social-follow__text {
    max-width: 56ch;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.82);
}

.social-follow__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: min(100%, 820px);
    position: relative;
    z-index: 1;
}

.social-follow-card {
    --social-accent: linear-gradient(135deg, var(--blue), var(--red), var(--gold));
    display: grid;
    place-items: center;
    gap: 12px;
    min-height: 138px;
    padding: 18px 14px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background:
        radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.28), transparent 26%),
        radial-gradient(circle at 82% 88%, rgba(245, 191, 59, 0.12), transparent 24%),
        linear-gradient(160deg, rgba(8, 24, 64, 0.88), rgba(15, 44, 110, 0.9) 56%, rgba(23, 72, 160, 0.8));
    box-shadow: 0 18px 40px rgba(5, 19, 53, 0.28);
    color: #ffffff;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, filter 0.22s ease;
}

.social-follow-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 56px rgba(5, 19, 53, 0.34);
    border-color: rgba(255, 255, 255, 0.24);
    filter: saturate(1.04);
}

.social-follow-card:active {
    transform: translateY(0) scale(0.99);
}

.social-follow-card__icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 26px;
    background: var(--social-accent);
    box-shadow:
        0 18px 32px rgba(5, 19, 53, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.18) inset;
    color: #ffffff;
    transform: translateZ(0);
    animation: social-icon-breathe 4.8s ease-in-out infinite;
}

.social-follow-card__icon svg {
    width: 30px;
    height: 30px;
}

.social-follow-card__label {
    color: rgba(255, 255, 255, 0.96);
    font-size: 0.98rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.social-follow-card--instagram {
    --social-accent: linear-gradient(135deg, var(--blue), #2f6ad8 55%, var(--red) 100%);
}

.social-follow-card--facebook {
    --social-accent: linear-gradient(135deg, var(--blue-deep), var(--blue));
}

.social-follow-card--tiktok {
    --social-accent: linear-gradient(135deg, #10182f, var(--red-deep));
}

.social-follow-card--youtube {
    --social-accent: linear-gradient(135deg, var(--red), var(--gold));
}

.social-follow__empty {
    display: grid;
    place-items: center;
    gap: 8px;
    width: min(100%, 760px);
    min-height: 110px;
    padding: 18px;
    border-radius: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    border: 1px dashed rgba(255, 255, 255, 0.16);
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.12), transparent 38%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(15, 44, 110, 0.5));
}

.social-follow__empty strong {
    color: #ffffff;
}

.social-config__stats {
    margin-bottom: 4px;
}

.social-config-grid {
    display: grid;
    gap: 12px;
}

.social-config-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(31, 79, 168, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 252, 0.98)),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(235, 240, 250, 0.98));
    box-shadow: var(--shadow);
}

.social-config-card.is-inactive {
    opacity: 0.84;
}

.social-config-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.social-config-card__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 20px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--red), var(--gold));
    box-shadow: 0 14px 28px rgba(18, 48, 110, 0.18);
}

.social-config-card__icon svg {
    width: 28px;
    height: 28px;
}

.social-config-card__title {
    display: grid;
    gap: 4px;
}

.social-config-card__title h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--text);
}

.social-config-card__title p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.social-config-card__fields {
    display: grid;
    gap: 12px;
}

.social-config__actions {
    display: flex;
    justify-content: center;
    margin-top: 4px;
}

.home-location {
    display: grid;
    gap: 18px;
    padding: clamp(18px, 3vw, 28px);
    border-radius: 30px;
    border: 1px solid rgba(31, 79, 168, 0.08);
    background:
        radial-gradient(circle at top, rgba(31, 79, 168, 0.08), transparent 34%),
        radial-gradient(circle at 84% 12%, rgba(225, 29, 54, 0.08), transparent 18%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 246, 252, 0.98));
    box-shadow: var(--shadow);
}

.home-location__head {
    display: grid;
    justify-items: center;
    gap: 8px;
    text-align: center;
}

.home-location__eyebrow {
    color: var(--red);
}

.home-location__title {
    max-width: 15ch;
}

.home-location__text {
    max-width: 60ch;
}

.home-location__body {
    display: grid;
    gap: 14px;
}

.home-location__address-card,
.home-location__map-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 24px;
    border: 1px solid rgba(31, 79, 168, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 246, 252, 0.98));
}

.home-location__address-card {
    box-shadow: 0 12px 28px rgba(18, 48, 110, 0.08);
}

.home-location__address-label {
    color: var(--red);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-location__address {
    color: var(--text);
    font-size: clamp(1rem, 2.2vw, 1.08rem);
    line-height: 1.6;
    font-weight: 800;
}

.home-location__map-frame {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(31, 79, 168, 0.08);
    background:
        radial-gradient(circle at 18% 22%, rgba(31, 79, 168, 0.16), transparent 16%),
        radial-gradient(circle at 80% 38%, rgba(225, 29, 54, 0.14), transparent 18%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(245, 248, 253, 0.94));
}

.home-location__map {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.home-location__map--empty {
    display: grid;
    place-items: center;
    gap: 8px;
    min-height: 240px;
    text-align: center;
    color: var(--muted);
}

.home-location__map--empty strong {
    color: var(--blue-deep);
}

.home-location__button {
    justify-self: center;
    min-width: min(100%, 260px);
}

.location-config-grid {
    display: grid;
    gap: 12px;
}

.location-preview-card,
.location-config-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(31, 79, 168, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(243, 246, 252, 0.98)),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(235, 240, 250, 0.98));
    box-shadow: var(--shadow);
}

.location-preview-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.location-preview-card__hint {
    color: var(--muted);
    font-size: 0.88rem;
}

.location-preview-card__frame {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(31, 79, 168, 0.08);
    background:
        radial-gradient(circle at 18% 22%, rgba(31, 79, 168, 0.16), transparent 16%),
        radial-gradient(circle at 80% 38%, rgba(225, 29, 54, 0.14), transparent 18%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(245, 248, 253, 0.94));
}

.location-preview-card__map {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.location-preview-card__empty {
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 20px;
    min-height: 240px;
    text-align: center;
    color: var(--muted);
}

.location-preview-card__empty strong {
    color: var(--blue-deep);
}

.location-config-card__actions {
    display: flex;
    justify-content: flex-start;
}

@keyframes home-gallery-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes social-icon-breathe {
    0%,
    100% {
        transform: translateY(0);
        box-shadow:
            0 18px 32px rgba(5, 19, 53, 0.28),
            0 0 0 1px rgba(255, 255, 255, 0.18) inset;
    }

    50% {
        transform: translateY(-2px);
        box-shadow:
            0 22px 38px rgba(5, 19, 53, 0.34),
            0 0 0 1px rgba(255, 255, 255, 0.22) inset;
    }
}

.tickets-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 0 2px;
}

.tickets-cta__button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: min(100%, 680px);
    min-height: clamp(58px, 10vw, 76px);
    padding: 0 clamp(20px, 4vw, 34px);
    border-radius: 999px;
    border: 2px solid rgba(94, 63, 0, 0.16);
    background:
        linear-gradient(135deg, #ffdd61 0%, #f5bf3b 50%, #e6a81f 100%);
    color: #1f2140;
    box-shadow:
        0 18px 34px rgba(184, 129, 10, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.28) inset;
    font-size: clamp(1rem, 2.2vw, 1.16rem);
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    overflow: hidden;
    transform: translateZ(0);
    animation: tickets-cta-pulse 2.8s ease-in-out infinite;
}

.tickets-cta__button::before {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.42), transparent 34%, transparent 62%, rgba(255, 255, 255, 0.22));
    opacity: 0.7;
    pointer-events: none;
}

.tickets-cta__button:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow:
        0 24px 44px rgba(184, 129, 10, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.tickets-cta__button:focus-visible {
    outline: 3px solid rgba(31, 79, 168, 0.24);
    outline-offset: 4px;
}

.tickets-cta__icon,
.tickets-cta__text {
    position: relative;
    z-index: 1;
}

.tickets-cta__icon {
    font-size: 1.25em;
    line-height: 1;
}

@keyframes tickets-cta-pulse {
    0%,
    100% {
        box-shadow:
            0 18px 34px rgba(184, 129, 10, 0.22),
            0 0 0 0 rgba(245, 191, 59, 0.22),
            0 0 0 1px rgba(255, 255, 255, 0.28) inset;
    }

    50% {
        box-shadow:
            0 22px 40px rgba(184, 129, 10, 0.28),
            0 0 0 10px rgba(245, 191, 59, 0.06),
            0 0 0 1px rgba(255, 255, 255, 0.32) inset;
    }
}

.site-footer {
    padding: 16px 0 20px;
    color: var(--blue-deep);
}

.footer-bottom {
    display: grid;
    justify-items: center;
    gap: 4px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    text-align: center;
    font-size: 0.86rem;
    color: var(--blue-deep);
    font-weight: 600;
}

.footer-credit {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 500;
}

.footer-credit strong {
    color: var(--blue-deep);
    font-weight: 800;
}

.footer-credit__link {
    color: inherit;
    text-decoration: none;
}

.footer-credit__link:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.card,
.auth-card,
.table-card,
.map-card {
    background: var(--panel);
}

.table-card {
    overflow: hidden;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

th,
td {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(31, 79, 168, 0.08);
    text-align: left;
}

th {
    color: var(--red);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

tbody tr:hover {
    background: rgba(31, 79, 168, 0.03);
}

.map-card {
    padding: 18px;
}

.map-frame {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid rgba(31, 79, 168, 0.08);
    background:
        radial-gradient(circle at 18% 22%, rgba(31, 79, 168, 0.16), transparent 16%),
        radial-gradient(circle at 80% 38%, rgba(225, 29, 54, 0.14), transparent 18%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(245, 248, 253, 0.9)),
        repeating-linear-gradient(90deg, rgba(31, 79, 168, 0.05) 0 1px, transparent 1px 72px),
        repeating-linear-gradient(rgba(31, 79, 168, 0.05) 0 1px, transparent 1px 72px);
}

.map-pin {
    position: absolute;
    left: 52%;
    top: 44%;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 16px rgba(225, 29, 54, 0.12), 0 0 0 30px rgba(31, 79, 168, 0.06);
}

.map-pin::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: #fff;
}

.map-meta {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.auth-shell {
    min-height: calc(100vh - 46px);
    display: grid;
    place-items: center;
    padding: 24px 0 56px;
}

.auth-shell > .container {
    display: grid;
    place-items: center;
    width: 100%;
}

.auth-card {
    width: min(100%, 520px);
    padding: 26px;
}

.auth-subtitle {
    margin: 8px 0 4px;
    color: var(--blue-deep);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-title {
    margin-top: 10px;
    font-size: clamp(2.8rem, 7vw, 4.4rem);
}

.auth-note {
    margin-top: 16px;
}

.customer-portal {
    display: grid;
    gap: 18px;
}

.customer-auth-grid {
    gap: 14px;
}

.customer-auth-card {
    width: min(100%, 560px);
    margin: 0 auto;
    padding: 18px;
    border: 1px solid rgba(31, 79, 168, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

.customer-auth-card[hidden],
.customer-auth-panel[hidden] {
    display: none !important;
}

.customer-auth-switch {
    display: block;
    width: 100%;
    margin-top: 14px;
    padding: 4px;
    border: 0;
    background: transparent;
    color: var(--blue-deep);
    font-weight: 800;
    text-align: center;
    cursor: pointer;
}

.customer-auth-switch:hover {
    color: var(--red);
    text-decoration: underline;
}

.customer-auth-panel,
.customer-profile-card {
    padding: 18px;
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 46px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--blue-deep);
    cursor: pointer;
    opacity: 0.72;
}

.password-toggle:hover,
.password-toggle:focus-visible {
    background: rgba(31, 79, 168, 0.08);
    opacity: 1;
}

.password-match {
    min-height: 18px;
    margin: -8px 0 0;
    font-size: 0.82rem;
    font-weight: 700;
}

.password-match.is-valid {
    color: #17804b;
}

.password-match.is-invalid {
    color: #d62845;
}

.password-requirements {
    display: grid;
    gap: 4px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.35;
}

.password-requirements strong {
    color: var(--blue-deep);
    font-weight: 700;
}

.password-requirements [data-password-requirement]::before {
    display: inline-block;
    width: 1.2em;
    margin-right: 3px;
    content: '\2715';
    color: #8a94a6;
    font-weight: 800;
}

.password-requirements [data-password-requirement].is-met {
    color: #138a4b;
    font-weight: 600;
}

.password-requirements [data-password-requirement].is-met::before {
    content: '\2713';
    color: #138a4b;
}

.password-requirements [data-password-requirement].is-unmet {
    color: #c62845;
}

.password-requirements [data-password-requirement].is-unmet::before {
    color: #c62845;
}

.password-security-error {
    margin: 8px 0 0;
    color: #b4233f;
    font-size: 0.82rem;
    font-weight: 700;
}

.password-field input.is-invalid {
    border-color: #c62845;
    box-shadow: 0 0 0 3px rgba(198, 40, 69, 0.1);
}

[data-register-submit]:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.customer-auth-panel__head,
.customer-hero__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.customer-dashboard {
    display: grid;
    gap: 16px;
}

.customer-hero {
    display: grid;
    gap: 16px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(31, 79, 168, 0.12);
    background:
        radial-gradient(circle at top right, rgba(225, 29, 54, 0.08), transparent 28%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(240, 244, 251, 0.98));
}

.customer-hero h2 {
    margin: 0 0 8px;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.customer-hero p {
    margin: 0;
    color: var(--muted);
}

.customer-stats {
    display: grid;
    gap: 12px;
}

@media (min-width: 760px) {
    .customer-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.customer-dashboard__grid {
    gap: 16px;
}

.customer-empty {
    display: grid;
    gap: 8px;
    min-height: 130px;
    align-content: center;
    padding: 18px;
    border-radius: 20px;
    border: 1px dashed rgba(31, 79, 168, 0.16);
    background: rgba(31, 79, 168, 0.04);
    color: var(--muted);
    text-align: center;
}

.customer-empty strong {
    color: var(--text);
}

.customer-profile-card__actions {
    display: flex;
    justify-content: flex-start;
}

.customer-dashboard--legacy {
    display: none !important;
}

.customer-dashboard--compact {
    max-width: 980px;
    margin-inline: auto;
    gap: 12px;
}

.customer-hero--compact {
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
}

.customer-hero--compact h2 {
    margin: 0;
    font-size: clamp(1.7rem, 4vw, 2.45rem);
}

.customer-hero--compact .customer-stats {
    gap: 8px;
}

.customer-hero--compact .mini-card {
    padding: 12px;
    border-radius: 14px;
}

.customer-tabs__nav {
    display: flex;
    gap: 6px;
    padding: 5px;
    border: 1px solid rgba(31, 79, 168, 0.12);
    border-radius: 14px;
    background: rgba(231, 237, 248, 0.72);
}

.customer-tab {
    flex: 1;
    border: 0;
    border-radius: 10px;
    padding: 10px 12px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 800;
    cursor: pointer;
}

.customer-tab.is-active {
    background: #fff;
    color: var(--blue-deep);
    box-shadow: 0 5px 14px rgba(31, 79, 168, 0.1);
}

.customer-tab-panel {
    padding: 18px;
    border: 1px solid rgba(31, 79, 168, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.95);
}

.customer-tab-panel[hidden] {
    display: none !important;
}

.customer-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.customer-panel-head h2 {
    margin: 4px 0 0;
    font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.customer-ticket-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.customer-ticket-card {
    padding: 14px;
    border: 1px solid rgba(31, 79, 168, 0.14);
    border-radius: 15px;
    background: linear-gradient(145deg, #fff, rgba(240, 244, 251, 0.72));
}

.customer-ticket-card.is-future {
    border-color: rgba(225, 29, 54, 0.3);
    box-shadow: 0 8px 20px rgba(225, 29, 54, 0.08);
}

.customer-ticket-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    color: var(--muted);
    font-size: 0.8rem;
}

.customer-ticket-card__title {
    display: block;
    margin: 10px 0;
    color: var(--blue-deep);
    font-size: 1.08rem;
}

.customer-ticket-card__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}

.customer-ticket-card__details span {
    display: grid;
    gap: 2px;
    color: var(--muted);
    font-size: 0.75rem;
}

.customer-ticket-card__details b {
    overflow-wrap: anywhere;
    color: var(--blue-deep);
    font-size: 0.86rem;
}

.customer-transfer-modal[hidden] {
    display: none;
}

.customer-transfer-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: grid;
    place-items: center;
    padding: calc(76px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom));
    overflow: hidden;
}

.customer-transfer-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(4px);
}

.customer-transfer-modal__card {
    position: relative;
    width: min(100%, 520px);
    min-height: 0;
    max-height: min(760px, calc(100dvh - 100px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));
    overflow-y: auto;
    padding: 24px;
    box-sizing: border-box;
    border: 1px solid rgba(31, 79, 168, 0.18);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(16, 45, 100, 0.28);
}

@media (max-width: 600px) {
    .customer-transfer-modal {
        padding: calc(72px + env(safe-area-inset-top)) 12px calc(18px + env(safe-area-inset-bottom));
    }

    .customer-transfer-modal__card {
        width: 100%;
        max-height: calc(100dvh - 90px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
        padding: 22px 18px;
        border-radius: 18px;
    }
}

.customer-transfer-modal__card h2 {
    margin: 8px 0 14px;
    color: var(--blue-deep);
}

.customer-transfer-modal__warning {
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid rgba(225, 29, 54, 0.18);
    border-radius: 12px;
    background: rgba(225, 29, 54, 0.06);
    color: var(--blue-deep);
    font-size: 0.9rem;
}

.customer-transfer-modal__hint {
    margin: -6px 0 18px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.customer-transfer-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(31, 79, 168, 0.16);
    border-radius: 50%;
    background: #fff;
    color: var(--blue-deep);
    font-size: 1.35rem;
    cursor: pointer;
}

body.has-transfer-modal {
    overflow: hidden;
}

.customer-order-list {
    display: grid;
    gap: 8px;
}

.customer-order-card {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(31, 79, 168, 0.14);
    border-radius: 13px;
    background: rgba(240, 244, 251, 0.5);
}

.customer-order-card > div {
    display: grid;
    gap: 4px;
}

.customer-order-card > div:last-child {
    text-align: right;
}

.customer-order-card span {
    color: var(--muted);
    font-size: 0.8rem;
}

.customer-order-status {
    color: var(--blue-deep) !important;
    font-weight: 800;
}

.customer-password-heading {
    margin-top: 6px;
    color: var(--blue-deep);
    font-weight: 800;
}

@media (max-width: 640px) {
    .customer-hero--compact .customer-hero__head {
        align-items: center;
    }

    .customer-hero--compact .mini-card {
        padding: 10px 8px;
    }

    .customer-hero--compact .mini-card span {
        font-size: 0.66rem;
    }

    .customer-hero--compact .mini-card strong {
        font-size: 1.25rem;
    }

    .customer-tabs__nav {
        overflow-x: auto;
    }

    .customer-tab {
        min-width: 100px;
        padding: 10px 8px;
        font-size: 0.78rem;
    }

    .customer-tab-panel {
        padding: 14px;
        border-radius: 16px;
    }

    .customer-ticket-grid {
        grid-template-columns: 1fr;
    }

    .customer-order-card {
        padding: 11px;
    }
}

.form {
    display: grid;
    gap: 16px;
}

.field {
    display: grid;
    gap: 8px;
}

.field label {
    color: var(--blue-deep);
    font-weight: 800;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid rgba(31, 79, 168, 0.14);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    outline: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: rgba(31, 79, 168, 0.42);
    box-shadow: 0 0 0 4px rgba(31, 79, 168, 0.12);
}

.alert {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(225, 29, 54, 0.22);
    background: rgba(225, 29, 54, 0.1);
    color: #9c1224;
}

.admin-layout {
    display: grid;
    gap: 18px;
}

.admin-sidebar {
    padding: 18px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: rgba(14, 20, 36, 0.95);
}

.admin-sidebar nav {
    display: grid;
    gap: 8px;
}

.admin-sidebar a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
}

.admin-sidebar a.is-active {
    color: #ffffff;
    border-color: rgba(245, 191, 59, 0.22);
    background: rgba(225, 29, 54, 0.14);
}

.admin-content {
    display: grid;
    gap: 18px;
}

.dashboard-grid {
    display: grid;
    gap: 16px;
}

.stat {
    padding: 18px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(31, 79, 168, 0.1);
    background: rgba(255, 255, 255, 0.88);
}

.stat strong {
    display: block;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    margin-bottom: 4px;
}

.stack {
    display: grid;
    gap: 14px;
}

.split {
    display: grid;
    gap: 16px;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.banner-hero {
    margin-top: 0;
}

.banner-carousel,
.banner-hero__frame {
    position: relative;
    overflow: hidden;
    display: grid;
    width: 100%;
    gap: 6px;
    padding: 3px;
    border-radius: calc(var(--radius-xl) + 4px);
    border: 2px solid rgba(255, 255, 255, 0.42);
    background:
        radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.16), transparent 18%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
    box-shadow: 0 18px 40px rgba(18, 48, 110, 0.12);
}

.banner-carousel:not(.banner-carousel--compact) {
    padding: 3px;
    gap: 3px;
}

.banner-carousel__viewport {
    position: relative;
    min-height: clamp(240px, 50vw, 560px);
    aspect-ratio: 16 / 9;
}

.banner-carousel__slide {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    transition: opacity 0.45s ease, transform 0.45s ease;
    transform: scale(0.985);
}

.banner-carousel__slide.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.banner-carousel__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.banner-carousel:not(.banner-carousel--compact) .banner-carousel__image {
    width: 100%;
    height: auto;
    max-width: none;
    object-fit: contain;
}

.banner-carousel__empty-state {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    gap: 6px;
    padding: 12px;
    border-radius: var(--radius-lg);
    border: 1px dashed rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.22);
    color: var(--muted);
    text-align: center;
}

.banner-carousel__empty-state strong {
    color: var(--text);
}

.banner-carousel__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.banner-carousel__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(31, 79, 168, 0.14);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    color: var(--blue-deep);
    font-size: 1.35rem;
    font-weight: 900;
    box-shadow: var(--shadow);
}

.banner-carousel__button:hover {
    transform: translateY(-1px);
}

.banner-carousel__dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    flex-wrap: wrap;
}

.banner-carousel__dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(31, 79, 168, 0.22);
}

.banner-carousel__dot.is-active {
    width: 30px;
    background: linear-gradient(90deg, var(--red), var(--gold));
}

.banner-carousel--empty .banner-carousel__viewport {
    min-height: clamp(220px, 48vw, 420px);
}

.banner-carousel:not(.banner-carousel--compact) .banner-carousel__viewport {
    display: grid;
    aspect-ratio: auto;
    min-height: 0;
}

.banner-carousel:not(.banner-carousel--compact) .banner-carousel__slide {
    position: relative;
    inset: auto;
    grid-area: 1 / 1;
    min-height: 0;
}

.support-section {
    padding-top: 18px;
}

.support-section__head {
    justify-items: center;
    text-align: center;
    margin-bottom: 14px;
}

.support-section__title {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    line-height: 0.95;
    letter-spacing: 0.02em;
    text-align: center;
    text-transform: uppercase;
}

.banner-carousel--compact {
    padding: 3px;
    gap: 4px;
}

.banner-carousel--compact .banner-carousel__viewport {
    min-height: clamp(150px, 34vw, 260px);
    aspect-ratio: 16 / 7.5;
}

.banner-carousel--compact .banner-carousel__slide {
    width: 100%;
    height: 100%;
    padding: 1px;
}

.banner-carousel--compact .banner-carousel__empty-state {
    min-height: 120px;
    padding: 10px 12px;
    font-size: 0.94rem;
}

.banner-carousel--compact .banner-carousel__image {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.banner-carousel--compact .banner-carousel__slide {
    place-items: center;
}

.banner-carousel--compact .banner-carousel__controls {
    gap: 10px;
    justify-content: center;
}

.banner-carousel--compact .banner-carousel__button {
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
}

.banner-carousel--compact .banner-carousel__dot {
    width: 9px;
    height: 9px;
}

.banner-carousel--compact .banner-carousel__dot.is-active {
    width: 24px;
}

.banner-admin-card.dragging {
    opacity: 0.55;
    box-shadow: 0 16px 40px rgba(18, 48, 110, 0.18);
}

.banner-hero__frame--fallback {
    background:
        radial-gradient(circle at 50% 18%, rgba(245, 191, 59, 0.14), transparent 20%),
        radial-gradient(circle at 10% 10%, rgba(31, 79, 168, 0.2), transparent 16%),
        radial-gradient(circle at 86% 16%, rgba(225, 29, 54, 0.16), transparent 16%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(241, 245, 252, 0.98));
}

.banner-hero__image {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    filter: saturate(1.08) contrast(1.05);
    border-radius: calc(var(--radius-xl) + 2px);
}


.alert--success {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 18px;
    border: 1px solid #4fba78 !important;
    background: #bcefcf !important;
    color: #082c18 !important;
    font-weight: 700;
    line-height: 1.45;
    box-shadow: 0 6px 18px rgba(20, 92, 59, 0.12);
}

.alert--success::before,
.portaria-alert--success::before {
    content: "\2713";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #2f9e63;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}

.banner-upload-card,
.banner-preview-card {
    display: grid;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(31, 79, 168, 0.12);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
}

.banner-upload-card__header,
.banner-preview-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.banner-preview {
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid rgba(31, 79, 168, 0.08);
    background:
        radial-gradient(circle at 30% 30%, rgba(31, 79, 168, 0.14), transparent 20%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(241, 245, 252, 0.98));
    min-height: 240px;
}

.banner-preview img {
    width: 100%;
    height: 100%;
    max-height: 320px;
    object-fit: contain;
    display: block;
}

.banner-preview--empty {
    display: grid;
    place-items: center;
    padding: 22px;
    color: var(--muted);
    text-align: center;
}

.banner-preview--empty strong {
    display: block;
    margin-bottom: 6px;
    color: var(--blue-deep);
}

.admin-body {
    background:
        radial-gradient(circle at 10% 0%, rgba(31, 79, 168, 0.1), transparent 24%),
        radial-gradient(circle at 90% 10%, rgba(225, 29, 54, 0.1), transparent 20%),
        linear-gradient(180deg, #f4f7fc 0%, #eef3fb 48%, #e8eef9 100%);
}

.admin-shell {
    min-height: 100vh;
}

.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 288px;
    padding: 20px 18px;
    border-right: 1px solid rgba(31, 79, 168, 0.14);
    background: linear-gradient(180deg, rgba(13, 47, 115, 0.98), rgba(31, 79, 168, 0.96));
    backdrop-filter: blur(22px);
    box-shadow: 24px 0 64px rgba(18, 48, 110, 0.18);
}

.brand--admin {
    width: fit-content;
}

.admin-sidebar__brand {
    padding-bottom: 2px;
}

.admin-nav {
    display: grid;
    gap: 10px;
    overflow: auto;
}

.admin-nav__link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 50px;
    padding: 0 14px;
    border-radius: 16px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
    font-weight: 800;
}

.admin-nav__link:hover,
.admin-nav__link.is-active {
    border-color: rgba(245, 191, 59, 0.22);
    background: rgba(225, 29, 54, 0.14);
    color: #ffffff;
}

.admin-nav__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #fff4c4;
    flex: 0 0 18px;
}

.admin-nav__icon svg {
    width: 18px;
    height: 18px;
}

.admin-sidebar__footer {
    display: grid;
    gap: 14px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-sidebar__user {
    display: grid;
    gap: 4px;
}

.admin-sidebar__eyebrow {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.admin-sidebar__user strong {
    font-size: 0.98rem;
}

.admin-sidebar__user span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
}

.admin-main {
    margin-left: 288px;
    min-height: 100vh;
    padding: 18px 18px 28px;
}

.admin-topbar {
    position: sticky;
    top: 18px;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(31, 79, 168, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.admin-topbar__title {
    display: grid;
    gap: 4px;
}

.admin-topbar__eyebrow {
    color: var(--red);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.admin-topbar__title strong {
    font-size: 1.02rem;
}

.admin-topbar__spacer {
    width: 48px;
}

.admin-menu-toggle {
    display: none;
}

.admin-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 55;
    border: 0;
    background: rgba(3, 5, 10, 0.62);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.admin-page {
    display: grid;
    gap: 18px;
}

.admin-page__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.admin-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.admin-metrics {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-kpi {
    padding: 16px;
    border: 1px solid rgba(31, 79, 168, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
}

.admin-kpi--compact {
    padding: 14px;
}

.admin-kpi__label {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-kpi__value {
    display: block;
    margin-top: 10px;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.02;
}

.admin-kpi__hint {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.9rem;
}

.admin-grid {
    display: grid;
    gap: 16px;
}

.admin-panel {
    padding: 18px;
    border: 1px solid rgba(31, 79, 168, 0.12);
    border-radius: 24px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.admin-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.admin-panel__head h2 {
    margin: 6px 0 0;
    font-size: 1.15rem;
}

.admin-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(31, 79, 168, 0.12);
}

.admin-tab {
    padding: 10px 14px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
}

.admin-tab.is-active,
.admin-tab:hover,
.admin-tab:focus-visible {
    border-bottom-color: var(--red);
    color: var(--blue-deep);
}

.admin-sponsors-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.admin-sponsors-toolbar h2 {
    margin: 4px 0 0;
    color: var(--blue-deep);
    font-size: 1.1rem;
}

.sponsor-form-panel {
    margin-bottom: 14px;
}

.sponsor-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.admin-sponsors-page .sponsor-card {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
}

.admin-sponsors-page .sponsor-card .banner-admin-card__preview {
    min-height: 86px;
    height: 86px;
    border-radius: 12px;
}

.admin-sponsors-page .sponsor-card .banner-admin-card__body {
    gap: 8px;
}

.admin-sponsors-page .sponsor-card .banner-admin-card__head {
    align-items: flex-start;
}

.admin-sponsors-page .sponsor-card .banner-admin-card__body h3 {
    font-size: 0.95rem;
}

.sponsor-carousel-panel {
    max-width: 720px;
}

.admin-banners-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.admin-banners-summary article {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid rgba(31, 79, 168, 0.12);
    border-radius: 18px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.admin-banners-summary span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.admin-banners-summary strong {
    color: var(--blue-deep);
    font-size: 1.45rem;
    line-height: 1;
}

.admin-banners-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.admin-banners-toolbar h2 {
    margin: 4px 0 0;
    color: var(--blue-deep);
    font-size: 1.1rem;
}

.banner-form-panel {
    margin-bottom: 14px;
}

.admin-banner-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.admin-banners-page .admin-banner-card {
    gap: 10px;
    padding: 10px;
    border-radius: 16px;
}

.admin-banners-page .admin-banner-card__preview {
    min-height: 150px;
    aspect-ratio: 16 / 7;
    border-radius: 12px;
}

.admin-banners-page .admin-banner-card__body {
    gap: 9px;
}

.admin-banners-page .admin-banner-card__body h3 {
    font-size: 0.98rem;
}

.admin-banners-page .admin-banner-card__body p {
    display: none;
}

.admin-banner-settings {
    max-width: 720px;
}

.admin-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 14px 12px;
}

.admin-table th {
    color: var(--red);
    font-size: 0.76rem;
    letter-spacing: 0.14em;
}

.admin-table strong {
    font-weight: 800;
}

.admin-table__stack {
    display: grid;
    gap: 8px;
}

.progress {
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(31, 79, 168, 0.08);
}

.progress__bar {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--red), var(--gold));
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-list-meta {
    margin-top: 16px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.admin-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
}

.admin-pagination a {
    display: inline-flex;
    min-width: 34px;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border: 1px solid rgba(31, 79, 168, 0.18);
    border-radius: 999px;
    color: var(--blue-deep);
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}

.admin-pagination a:hover,
.admin-pagination a:focus-visible,
.admin-pagination a.is-current {
    border-color: var(--blue);
    background: var(--blue-deep);
    color: #fff;
}

.admin-pagination__ellipsis {
    padding-inline: 2px;
    color: var(--muted);
    font-weight: 800;
}

.empty-state {
    display: grid;
    gap: 10px;
    place-items: start;
    padding: 22px;
    border-radius: 20px;
    border: 1px dashed rgba(31, 79, 168, 0.18);
    background: rgba(255, 255, 255, 0.78);
    color: var(--muted);
}

.empty-state strong {
    color: var(--text);
}

.empty-state--visual {
    min-height: 260px;
    place-items: center;
    text-align: center;
}

.occupancy-list {
    display: grid;
    gap: 12px;
}

.occupancy-card {
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(31, 79, 168, 0.1);
    background: rgba(255, 255, 255, 0.82);
}

.occupancy-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.occupancy-card__top strong {
    display: block;
}

.occupancy-card__top span {
    color: var(--muted);
    font-size: 0.9rem;
}

.occupancy-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.9rem;
}

.admin-settings-grid {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.mini-card {
    display: grid;
    gap: 6px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(31, 79, 168, 0.1);
    background: rgba(255, 255, 255, 0.82);
}

.mini-card span {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.mini-card strong {
    font-size: 0.96rem;
}

.admin-note {
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(31, 79, 168, 0.16);
    background: rgba(31, 79, 168, 0.08);
    color: var(--blue-deep);
    font-size: 0.92rem;
}

.payment-gateway-card {
    display: grid;
    gap: 18px;
}

.payment-gateway-card .form {
    gap: 14px;
}

.payment-gateway-card__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.payment-gateway-card__copy-row,
.payment-gateway-card__test,
.payment-gateway-card__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-gateway-card__copy-row input {
    min-width: 0;
    flex: 1;
}

.payment-gateway-card__test {
    flex-wrap: wrap;
}

.payment-gateway-card__test .admin-note {
    flex: 1 1 260px;
}

@media (max-width: 680px) {
    .payment-gateway-card__fields {
        grid-template-columns: 1fr;
    }

    .payment-gateway-card__copy-row {
        align-items: stretch;
    }

    .payment-gateway-card__copy-row .button {
        flex: 0 0 auto;
    }
}

.banner-admin-grid {
    display: grid;
    gap: 16px;
}

.admin-sponsors-page__visibility-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.switch-field {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 700;
}

.switch-field input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--red);
}

.admin-sponsors-page .banner-admin-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.admin-sponsors-page .banner-admin-card {
    gap: 10px;
    padding: 10px;
    border-radius: 16px;
}

.admin-sponsors-page .banner-admin-card__preview,
.admin-sponsors-page .banner-admin-card__empty {
    min-height: 130px;
}

.admin-sponsors-page .banner-admin-card__body {
    gap: 9px;
}

.banner-admin-card {
    display: grid;
    gap: 16px;
    padding: 16px;
    border: 1px solid rgba(31, 79, 168, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.banner-admin-card.is-inactive {
    opacity: 0.82;
}

.banner-admin-card__preview {
    position: relative;
    min-height: 220px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(31, 79, 168, 0.08);
    background:
        radial-gradient(circle at 30% 30%, rgba(31, 79, 168, 0.12), transparent 18%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(241, 245, 252, 0.98));
}

.banner-admin-card__preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.banner-admin-card__empty {
    display: grid;
    place-items: center;
    gap: 4px;
    min-height: 220px;
    padding: 18px;
    text-align: center;
    color: var(--muted);
}

.banner-admin-card__empty strong {
    color: var(--text);
}

.banner-admin-card__body {
    display: grid;
    gap: 14px;
}

.banner-admin-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.banner-admin-card__eyebrow {
    color: var(--red);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.banner-admin-card__body h3 {
    margin: 6px 0 0;
    font-size: 1.05rem;
}

.banner-admin-card__body p {
    margin: 0;
    color: var(--muted);
}

.banner-admin-card__controls {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.banner-admin-card__order {
    display: grid;
    gap: 6px;
    min-width: 132px;
}

.banner-admin-card__order span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.banner-admin-card__order input {
    width: 100%;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(31, 79, 168, 0.14);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
}

.banner-drag-handle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(31, 79, 168, 0.16);
    background: rgba(255, 255, 255, 0.9);
    color: var(--blue-deep);
    cursor: grab;
}

.banner-drag-handle:active {
    cursor: grabbing;
}

.button--danger {
    color: #ffffff;
    border: 1px solid rgba(225, 29, 54, 0.24);
    background: rgba(225, 29, 54, 0.82);
}

.button--danger:hover {
    background: rgba(225, 29, 54, 0.9);
}

.button--xs {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.8rem;
}

.button__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.button__icon svg {
    width: 16px;
    height: 16px;
}

.banner-preview--admin {
    min-height: 280px;
}

.admin-panel--spaced {
    margin-top: 16px;
}

.logo-config-grid {
    display: grid;
    gap: 16px;
}

.logo-preview-card,
.logo-config-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(31, 79, 168, 0.12);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
}

.logo-preview-card__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.logo-preview-card__hint {
    color: var(--muted);
    font-size: 0.9rem;
}

.logo-preview-card__frame {
    display: grid;
    place-items: center;
    min-height: 180px;
    padding: 12px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(31, 79, 168, 0.12);
    background:
        radial-gradient(circle at 50% 20%, rgba(31, 79, 168, 0.1), transparent 26%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(241, 245, 252, 0.98));
}

.logo-preview-card__frame img {
    width: min(240px, 72%);
    height: auto;
    max-height: 140px;
    object-fit: contain;
    object-position: center;
    display: block;
}

.logo-preview-card__empty {
    display: grid;
    place-items: center;
    gap: 8px;
    text-align: center;
    color: var(--muted);
}

.logo-preview-card__empty strong {
    color: var(--text);
}

.logo-config-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.logo-config-card__remove {
    display: grid;
    margin-top: 4px;
}

@media (min-width: 760px) {
    .site-announce__inner {
        justify-content: space-between;
        text-align: left;
    }

    .hero--grand {
        padding: 34px;
    }

    .section-head--split,
    .split {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: start;
    }

    .schedule-layout,
    .footer-grid,
    .dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-grid--hero {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-band {
        grid-template-columns: 1.15fr 0.85fr;
        align-items: center;
    }

    .cta-band__meta {
        justify-items: end;
    }

    .presentation-config-grid {
        grid-template-columns: 0.96fr 1.04fr;
    }

    .info-config-grid {
        grid-template-columns: 0.96fr 1.04fr;
    }

    .home-location__body {
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
        align-items: start;
    }

    .location-config-grid {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    }

    .hero-actions {
        gap: 14px;
    }

}

@media (min-width: 980px) {
    .grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .grid--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .schedule-layout {
        grid-template-columns: 1.05fr 0.95fr;
    }

    .footer-grid {
        grid-template-columns: 1.2fr 0.6fr 0.8fr;
        gap: 28px;
    }

    .admin-layout {
        grid-template-columns: 280px minmax(0, 1fr);
        align-items: start;
    }

    .admin-metrics {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .admin-metrics--compact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-grid--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .social-follow__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: min(100%, 920px);
    }

    .social-config-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 979px) {
    .nav {
        top: 68px;
        left: 12px;
        right: 12px;
        width: auto;
    }

    .nav a {
        padding: 0 12px;
        border-radius: 12px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .admin-sidebar {
        width: min(86vw, 320px);
        transform: translateX(-102%);
        transition: transform 0.24s ease;
    }

    body.admin-nav-open .admin-sidebar {
        transform: translateX(0);
    }

    body.admin-nav-open .admin-backdrop {
        display: block;
        opacity: 1;
    }

    .admin-menu-toggle {
        display: inline-flex;
    }

    .admin-main {
        margin-left: 0;
        padding: 12px;
    }

    .admin-topbar {
        top: 12px;
    }

    .admin-page__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-page__actions {
        width: 100%;
        justify-content: flex-start;
    }

    .admin-metrics,
    .admin-metrics--compact,
    .admin-grid--2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 759px) {
    .site-header__inner {
        min-height: 58px;
    }

    .hero-visual {
        min-height: 380px;
    }

    .orbit-card {
        transform: none;
        max-width: 48%;
    }

    .orbit-card--left {
        left: 6px;
        bottom: 12px;
    }

    .orbit-card--right {
        right: 6px;
        top: 12px;
    }

    .schedule-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav {
        top: 60px;
        padding: 10px;
        gap: 6px;
        border-radius: 18px;
    }

    .nav a {
        min-height: 40px;
        font-size: 0.9rem;
    }

    .brand {
        gap: 8px;
    }

    .brand__mark {
        width: 30px;
        height: 30px;
    }

    .brand__text strong {
        font-size: 0.94rem;
    }

    .header-actions {
        gap: 6px;
    }

    .account-link {
        width: 40px;
        padding: 0;
        justify-content: center;
    }

    .account-link > span:last-child {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .button--sm {
        min-height: 38px;
        padding: 0 12px;
        font-size: 0.86rem;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
    }

    .site-main {
        padding-top: 6px;
    }

    .banner-carousel,
    .banner-hero__frame {
        padding: 8px;
        gap: 10px;
        border-radius: 28px;
    }

    .banner-hero {
        width: calc(100vw - 16px);
        max-width: none;
        margin: 8px auto 0;
    }

    .banner-carousel:not(.banner-carousel--compact) {
        padding: 4px;
        gap: 4px;
    }

    .banner-carousel__viewport {
        min-height: 220px;
        aspect-ratio: 4 / 3;
    }

    .banner-carousel:not(.banner-carousel--compact) .banner-carousel__viewport {
        display: block;
        width: 100%;
        min-height: 0;
        aspect-ratio: auto;
    }

    .banner-carousel:not(.banner-carousel--compact) .banner-carousel__slide {
        position: relative;
        inset: auto;
        display: block;
        width: 100%;
        margin: 0;
    }

    .banner-carousel:not(.banner-carousel--compact) .banner-carousel__slide.is-active {
        display: block;
    }

    .banner-carousel:not(.banner-carousel--compact) .banner-carousel__image {
        display: block;
        width: 100%;
        height: auto;
    }

    .banner-carousel--compact .banner-carousel__viewport {
        min-height: 150px;
        aspect-ratio: 16 / 7.5;
    }

    .banner-carousel__controls {
        flex-wrap: wrap;
        justify-content: center;
    }

    .banner-carousel__button {
        width: 38px;
        height: 38px;
    }

    .banner-admin-card__controls {
        align-items: stretch;
    }

    .home-location {
        gap: 14px;
        padding: 14px;
        border-radius: 24px;
    }

    .home-location__body {
        gap: 12px;
    }

    .home-location__address-card,
    .home-location__map-card,
    .location-preview-card,
    .location-config-card {
        padding: 14px;
        border-radius: 20px;
    }

    .home-location__map-frame,
    .location-preview-card__frame {
        aspect-ratio: 16 / 10;
        border-radius: 18px;
    }

    .home-location__map--empty,
    .location-preview-card__empty {
        min-height: 190px;
    }

    .location-preview-card__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .location-config-card__actions {
        justify-content: stretch;
    }

    .location-config-card__actions .button {
        width: 100%;
    }

    .admin-sidebar {
        top: 0;
        bottom: 0;
        padding: 18px 16px;
    }

    .admin-topbar {
        padding: 12px 14px;
        border-radius: 18px;
    }

    .admin-topbar__title strong {
        font-size: 0.98rem;
    }

    .admin-panel {
        padding: 16px;
        border-radius: 20px;
    }

    .home-story {
        gap: 14px;
        padding: 14px;
    }

    .home-story__frame {
        padding: 8px;
    }

    .home-story__image,
    .home-story__empty {
        min-height: 180px;
    }

    .home-story__content .section-title {
        max-width: 26ch;
    }

    .presentation-preview-card,
    .presentation-config-card {
        padding: 16px;
        border-radius: 20px;
    }

    .presentation-preview-card__frame {
        min-height: 200px;
        padding: 10px;
        border-radius: 18px;
    }

    .presentation-preview-card__frame img,
    .presentation-preview-card__empty {
        min-height: 176px;
    }

    .home-info {
        padding: 14px;
    }

    .home-info__frame {
        min-height: 200px;
        padding: 8px;
        border-radius: 18px;
    }

    .home-info__image,
    .home-info__empty {
        min-height: 176px;
    }

    .home-gallery {
        gap: 14px;
        padding: 14px 10px 12px;
        border-radius: 28px;
    }

    .home-gallery__rows {
        gap: 10px;
    }

    .home-gallery__row {
        padding-block: 1px;
        mask-image: linear-gradient(90deg, transparent 0%, black 3%, black 97%, transparent 100%);
    }

    .home-gallery__track {
        gap: 10px;
        animation-duration: 22s;
    }

    .home-gallery__row--top .home-gallery__track {
        animation-duration: 18s;
    }

    .home-gallery__row--bottom .home-gallery__track {
        animation-duration: 24s;
    }

    .home-gallery__item {
        border-radius: 18px;
    }

    .home-gallery__item--1 {
        width: clamp(120px, 38vw, 180px);
    }

    .home-gallery__item--2 {
        width: clamp(150px, 48vw, 220px);
    }

    .home-gallery__item--3 {
        width: clamp(100px, 30vw, 140px);
    }

    .home-gallery__item--4 {
        width: clamp(130px, 42vw, 190px);
    }

    .home-gallery__empty {
        min-height: 180px;
        padding: 14px;
    }

    .home-gallery-admin-card {
        grid-template-columns: 1fr;
    }

    .home-gallery-admin-card__preview {
        min-height: 180px;
    }

    .home-gallery-admin-card__empty {
        min-height: 180px;
    }

    .home-gallery-admin-card__controls {
        grid-template-columns: 1fr;
    }

    .home-gallery-admin-card__actions {
        justify-content: stretch;
    }

    .home-gallery-admin-card__actions .button {
        flex: 1 1 100%;
    }

    .social-follow__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
    }

    .social-follow-card {
        min-height: 116px;
        padding: 14px 12px;
        border-radius: 20px;
    }

    .social-follow-card__icon {
        width: 58px;
        height: 58px;
        border-radius: 18px;
    }

    .social-follow-card__icon svg {
        width: 26px;
        height: 26px;
    }

    .social-follow-card__label {
        font-size: 0.84rem;
        letter-spacing: 0.07em;
    }

    .social-config-card__head {
        align-items: flex-start;
    }

    .social-config-card__icon {
        width: 52px;
        height: 52px;
        border-radius: 16px;
    }

    .social-config-card__icon svg {
        width: 24px;
        height: 24px;
    }

    .info-preview-card,
    .info-config-card {
        padding: 16px;
        border-radius: 20px;
    }

    .info-preview-card__frame {
        min-height: 200px;
        padding: 8px;
        border-radius: 18px;
    }

    .info-preview-card__frame img,
    .info-preview-card__empty {
        min-height: 176px;
    }

    .admin-page {
        gap: 14px;
    }

    .admin-page__header {
        gap: 14px;
    }

    .admin-page__actions {
        gap: 8px;
    }

    .admin-kpi,
    .admin-kpi--compact {
        padding: 14px;
    }

    .admin-table {
        min-width: 640px;
    }
}

.tickets-page {
    display: grid;
    gap: 16px;
    padding-bottom: clamp(96px, 14vw, 132px);
}

.tickets-page__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0 8px;
    border-bottom: 1px solid rgba(31, 79, 168, 0.08);
}

.tickets-page__heading {
    display: grid;
    gap: 4px;
    max-width: 36ch;
}

.tickets-page__eyebrow {
    color: var(--red);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.ticket-empty {
    padding: 18px;
    border-radius: var(--radius-lg);
    border: 1px dashed var(--line-strong);
    background: var(--panel);
    box-shadow: var(--shadow);
    text-align: center;
}

.ticket-empty--compact {
    padding: 16px 18px;
}

.ticket-empty strong {
    display: block;
    font-size: 1.05rem;
    color: var(--blue-deep);
}

.ticket-empty p {
    margin: 8px 0 0;
    color: var(--muted);
}

.ticket-stage {
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(232, 238, 249, 0.92));
    box-shadow: var(--shadow);
}

.ticket-stage--checkout,
.ticket-stage--quantity {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(223, 233, 255, 0.9));
}

.ticket-stage--sector-map {
    width: min(100%, 980px);
    margin-inline: auto;
    padding: 0;
    gap: 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.ticket-stage--sector-map .ticket-stage__head {
    padding-inline: clamp(2px, 1vw, 8px);
}

.ticket-stage--sector-map .ticket-stage__head--stacked {
    align-items: center;
    text-align: center;
}

.ticket-stage--sector-map .ticket-stage__eyebrow {
    letter-spacing: 0.22em;
}

.ticket-stage--sector-map .ticket-stage__head h2 {
    font-size: clamp(1.2rem, 3.8vw, 1.95rem);
}

.ticket-stage__lead {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.ticket-session-choice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    max-width: 920px;
    margin: 0 auto 10px;
    padding: 12px 14px;
    border: 1px solid rgba(31, 79, 168, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 20px rgba(15, 35, 84, 0.08);
}

.ticket-session-choice > div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.ticket-session-choice__eyebrow {
    color: var(--red);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ticket-session-choice strong {
    color: var(--blue-deep);
    font-size: 0.9rem;
}

.ticket-stage__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.ticket-stage__head--stacked {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.ticket-stage__eyebrow {
    color: var(--red);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.ticket-stage__head h2 {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    line-height: 1;
    color: var(--blue-deep);
}

.ticket-card-grid,
.ticket-sector-grid {
    display: grid;
    gap: 12px;
}

.ticket-card-grid--compact,
.ticket-sector-grid--compact {
    gap: 10px;
}

.ticket-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 760px) {
    .ticket-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1180px) {
    .ticket-card-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.ticket-card {
    display: grid;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(31, 79, 168, 0.12);
    background: var(--panel-strong);
    box-shadow: 0 12px 28px rgba(15, 35, 84, 0.1);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ticket-card:hover,
.ticket-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(15, 35, 84, 0.16);
    border-color: rgba(31, 79, 168, 0.26);
}

.ticket-card.is-selected {
    border-color: rgba(225, 29, 54, 0.36);
    box-shadow: 0 24px 52px rgba(225, 29, 54, 0.14);
}

.ticket-card__media {
    aspect-ratio: 16 / 10;
    padding: 6px;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.92), rgba(31, 79, 168, 0.1) 52%, rgba(13, 47, 115, 0.12)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(232, 238, 249, 0.95));
}

.ticket-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
}

.ticket-card__placeholder {
    display: grid;
    place-items: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(13, 47, 115, 0.95), rgba(31, 79, 168, 0.92));
    color: #fff;
    text-align: center;
}

.ticket-card__placeholder .brand__mark {
    width: 36px;
    height: 36px;
}

.ticket-card__body {
    display: grid;
    gap: 6px;
    padding: 10px;
}

.ticket-card__topline,
.ticket-sector-card__meta,
.ticket-summary__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.ticket-card__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.ticket-card__status.open {
    background: rgba(31, 79, 168, 0.1);
    color: var(--blue-deep);
}

.ticket-card__status.full {
    background: rgba(225, 29, 54, 0.1);
    color: var(--red-deep);
}

.ticket-card__details {
    display: grid;
    gap: 2px;
    font-size: 0.78rem;
    color: var(--blue-deep);
}

.ticket-card__details > span {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.ticket-card__details-icon {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    margin-right: 6px;
    opacity: 0.9;
}

.ticket-card__date,
.ticket-card__time {
    font-weight: 650;
    color: var(--blue-deep);
}

.ticket-card__location {
    color: var(--muted);
    font-weight: 500;
}

.ticket-sector-grid {
    grid-template-columns: minmax(0, 1fr);
}

.ticket-sector-grid--compact {
    gap: 10px;
}

@media (min-width: 760px) {
    .ticket-sector-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (min-width: 1180px) {
    .ticket-sector-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.ticket-sector-card {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 12px 12px 12px 10px;
    border-radius: 18px;
    border: 1px solid rgba(31, 79, 168, 0.12);
    background: var(--panel);
    box-shadow: var(--shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ticket-sector-card:hover,
.ticket-sector-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(31, 79, 168, 0.22);
    box-shadow: 0 18px 36px rgba(15, 35, 84, 0.14);
}

.ticket-sector-card.is-selected {
    border-color: rgba(225, 29, 54, 0.28);
    box-shadow: 0 18px 34px rgba(225, 29, 54, 0.12);
}

.ticket-sector-card.is-disabled {
    opacity: 0.6;
}

.ticket-sector-card__color {
    width: 14px;
    height: 100%;
    min-height: 64px;
    border-radius: 999px;
    background: var(--sector-color, var(--blue));
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.78);
}

.ticket-sector-card__body {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.ticket-sector-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ticket-sector-card__head strong {
    color: var(--blue-deep);
    font-size: 0.98rem;
}

.ticket-sector-card__arrow {
    color: var(--blue-deep);
    font-size: 1.1rem;
    line-height: 1;
    font-weight: 900;
}

.ticket-sector-card__price {
    color: var(--red-deep);
    font-size: 0.82rem;
    font-weight: 900;
}

.ticket-sector-card__meta {
    color: var(--muted);
    font-size: 0.78rem;
}

.ticket-sector-stack {
    display: grid;
    gap: 8px;
    width: 100%;
    max-width: 920px;
    margin-inline: auto;
}

.ticket-sector-accordion {
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(31, 79, 168, 0.12);
    background: var(--panel-strong);
    box-shadow: 0 8px 18px rgba(15, 35, 84, 0.08);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.ticket-sector-accordion:hover,
.ticket-sector-accordion:focus-within {
    border-color: rgba(31, 79, 168, 0.22);
    box-shadow: 0 12px 24px rgba(15, 35, 84, 0.1);
    transform: translateY(-1px);
}

.ticket-sector-accordion.is-open {
    border-color: rgba(225, 29, 54, 0.24);
}

.ticket-sector-accordion.is-disabled {
    opacity: 0.72;
}

.ticket-sector-accordion__summary {
    width: 100%;
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    padding: 12px 12px 12px 10px;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.ticket-sector-accordion__summary:disabled {
    cursor: not-allowed;
}

.ticket-sector-accordion__color {
    width: 12px;
    height: 32px;
    border-radius: 999px;
    background: var(--sector-color, var(--blue));
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.74);
}

.ticket-sector-accordion__content {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.ticket-sector-accordion__content strong {
    color: var(--blue-deep);
    font-size: 0.98rem;
    line-height: 1.1;
}

.ticket-sector-accordion__price {
    color: var(--red-deep);
    font-size: 0.8rem;
    font-weight: 900;
}

.ticket-sector-accordion__arrow {
    color: var(--blue-deep);
    font-size: 0.96rem;
    font-weight: 900;
    line-height: 1;
    transition: transform 0.22s ease;
}

.ticket-sector-accordion__choose {
    padding: 6px 10px;
    border: 1px solid rgba(31, 79, 168, 0.2);
    border-radius: 999px;
    color: var(--blue-deep);
    font-size: 0.76rem;
    font-weight: 900;
    white-space: nowrap;
}

.ticket-sector-accordion.is-open .ticket-sector-accordion__arrow {
    transform: rotate(180deg);
}

.ticket-sector-accordion__panel {
    display: grid;
    gap: 10px;
    padding: 0 12px 12px;
    border-top: 1px solid rgba(31, 79, 168, 0.1);
}

.ticket-sector-accordion__panel[hidden] {
    display: none !important;
}

.ticket-sector-accordion__types {
    display: grid;
    gap: 0;
}

.ticket-ticket-type {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid rgba(31, 79, 168, 0.1);
    border-radius: 0;
    background: transparent;
}

.ticket-ticket-type:last-child {
    border-bottom: 0;
}

.ticket-ticket-type__details {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.ticket-ticket-type__details strong {
    color: var(--blue-deep);
    font-size: 0.93rem;
}

.ticket-ticket-type__details span {
    color: var(--red-deep);
    font-weight: 900;
    font-size: 0.92rem;
}

.ticket-ticket-type__details small {
    color: var(--muted);
    font-size: 0.8rem;
}

.ticket-ticket-type__details em {
    display: inline-flex;
    align-items: flex-start;
    gap: 6px;
    width: fit-content;
    max-width: 100%;
    margin-top: 2px;
    padding: 4px 8px;
    border: 1px solid rgba(184, 126, 10, 0.28);
    border-radius: 8px;
    background: #fff7df;
    color: #704b00;
    font-size: 0.74rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.3;
}

.ticket-ticket-type__details em::before {
    content: '\26A0';
    flex: 0 0 auto;
    color: #a66a00;
    font-size: 0.82rem;
    line-height: 1.1;
}

.ticket-ticket-type__counter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.ticket-ticket-type__step {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(31, 79, 168, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--blue-deep);
    font-size: 1rem;
    font-weight: 900;
    box-shadow: 0 4px 10px rgba(15, 35, 84, 0.06);
    cursor: pointer;
}

.ticket-ticket-type__step:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.ticket-ticket-type__value {
    min-width: 18px;
    text-align: center;
    font-size: 0.98rem;
    font-weight: 900;
    color: var(--blue-deep);
}

.ticket-sector-accordion__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 2px;
    border-top: 1px dashed rgba(31, 79, 168, 0.16);
    color: var(--muted);
    font-size: 0.82rem;
}

.ticket-sector-accordion__footer strong {
    color: var(--blue-deep);
    font-size: 0.92rem;
}

.ticket-checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 12px;
    align-items: start;
}

.ticket-checkout--compact {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
}

.ticket-quantity,
.ticket-summary {
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(31, 79, 168, 0.12);
    background: var(--panel-strong);
    box-shadow: var(--shadow);
}

.ticket-quantity {
    display: grid;
    gap: 12px;
}

.ticket-quantity label {
    color: var(--blue-deep);
    font-weight: 900;
    letter-spacing: 0.03em;
}

.ticket-quantity__controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ticket-quantity__step {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(31, 79, 168, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--blue-deep);
    font-size: 1.2rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(15, 35, 84, 0.08);
}

.ticket-quantity__step:active {
    transform: translateY(1px);
}

.ticket-quantity__step:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.ticket-quantity__controls input {
    flex: 1;
    min-width: 0;
    height: 46px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid var(--line-strong);
    background: #fff;
    color: var(--text);
    text-align: center;
    font-weight: 800;
    font-size: 1rem;
}

.ticket-quantity__hint {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.ticket-summary {
    display: grid;
    gap: 12px;
}

.ticket-summary--selection {
    width: min(100%, 760px);
    margin-inline: auto;
}

.ticket-checkout--summary {
    grid-template-columns: minmax(0, 1fr);
}

.ticket-summary__head {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    font-weight: 900;
    color: var(--blue-deep);
}

.ticket-summary__list {
    display: grid;
    gap: 10px;
}

.ticket-summary__list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.ticket-summary__list span {
    color: var(--muted);
}

.ticket-summary__list strong {
    color: var(--text);
}

.ticket-summary__empty {
    color: var(--muted);
    font-size: 0.92rem;
}

.ticket-floating-cta {
    position: fixed;
    left: 50%;
    bottom: 12px;
    z-index: 45;
    display: grid;
    gap: 10px;
    width: min(760px, calc(100vw - 24px));
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(31, 79, 168, 0.16);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 36px rgba(15, 35, 84, 0.18);
    transform: translateX(-50%);
}

.ticket-floating-cta__info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ticket-floating-cta__info span {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 800;
}

.ticket-floating-cta__info strong {
    color: var(--blue-deep);
    font-size: 1rem;
}

.ticket-floating-cta__info strong:empty {
    display: none;
}

.ticket-floating-cta__button {
    width: 100%;
}

.ticket-floating-cta__button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.ticket-sector-map {
    display: grid;
}

.ticket-sector-map__frame,
.ticket-sector-map__empty {
    padding: 4px;
    border-radius: 14px;
    border: 1px solid rgba(31, 79, 168, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(232, 238, 249, 0.95));
    box-shadow: 0 8px 18px rgba(15, 35, 84, 0.08);
}

.ticket-sector-map__frame {
    width: min(100%, 660px);
    min-height: 0;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ticket-sector-map__frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    max-width: 100%;
    max-height: clamp(200px, 32vw, 320px);
    border-radius: 10px;
}

.ticket-sector-map__empty {
    display: grid;
    gap: 6px;
    place-items: center;
    min-height: 180px;
    text-align: center;
    color: var(--muted);
}

.ticket-sector-map__empty strong {
    color: var(--blue-deep);
}

.season-config-grid,
.session-artwork-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.season-preview-card,
.season-config-card,
.session-artwork-card,
.session-artwork-list {
    padding: 18px;
    border-radius: 26px;
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.season-preview-card,
.session-artwork-list {
    display: grid;
    gap: 14px;
}

.season-preview-card__header,
.ticket-stage__head,
.session-artwork-card__actions,
.season-config-card__actions,
.season-config-card__remove,
.session-artwork-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.season-preview-card__hint {
    color: var(--muted);
    font-size: 0.9rem;
}

.season-preview-card__frame {
    min-height: 260px;
    padding: 10px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.92), rgba(31, 79, 168, 0.08) 52%, rgba(225, 29, 54, 0.08)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(232, 238, 249, 0.95));
}

.season-preview-card__frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
}

.season-preview-card__empty,
.presentation-preview-card__empty,
.info-preview-card__empty {
    display: grid;
    place-items: center;
    gap: 10px;
    min-height: 240px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(13, 47, 115, 0.92), rgba(31, 79, 168, 0.8));
    color: #fff;
    text-align: center;
}

.season-preview-card__empty span,
.presentation-preview-card__empty span,
.info-preview-card__empty span {
    max-width: 28ch;
    color: rgba(255, 255, 255, 0.84);
}

.season-config-card,
.session-artwork-card {
    display: grid;
    gap: 14px;
}

.session-artwork-list {
    max-height: 520px;
    overflow: auto;
}

.session-artwork-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.76);
}

.session-artwork-item__thumb {
    aspect-ratio: 1 / 1;
    padding: 6px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(31, 79, 168, 0.14), rgba(225, 29, 54, 0.08));
}

.session-artwork-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
}

.session-artwork-item__empty {
    display: grid;
    place-items: center;
    height: 100%;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--muted);
    text-align: center;
    font-size: 0.88rem;
}

.session-artwork-item__body {
    display: grid;
    gap: 4px;
}

.session-artwork-item__body strong {
    color: var(--blue-deep);
}

.session-artwork-item__body span {
    color: var(--muted);
    font-size: 0.9rem;
}

.empty-state--compact {
    padding: 16px;
}

.ticket-card__topline .badge,
.ticket-summary .button,
.session-artwork-item form {
    flex-shrink: 0;
}

@media (max-width: 980px) {
    .ticket-checkout,
    .season-config-grid,
    .session-artwork-grid {
        grid-template-columns: 1fr;
    }

    .ticket-card__media {
        aspect-ratio: 16 / 10;
    }

    .ticket-checkout--compact {
        grid-template-columns: 1fr;
    }

    .ticket-sector-map__frame {
        width: min(100%, 620px);
    }

    .ticket-sector-map__frame img {
        max-height: clamp(190px, 46vw, 260px);
    }

    .session-artwork-item {
        grid-template-columns: 84px minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .admin-banners-summary {
        gap: 8px;
    }

    .admin-banners-summary article {
        padding: 11px 10px;
    }

    .admin-banners-summary span {
        font-size: 0.7rem;
    }

    .admin-banners-summary strong {
        font-size: 1.2rem;
    }

    .admin-banners-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-banners-toolbar .button {
        width: 100%;
    }

    .admin-banner-card-grid {
        grid-template-columns: 1fr;
    }

    .tickets-page {
        gap: 12px;
    }

    .tickets-page__header {
        align-items: flex-start;
        padding: 2px 0 6px;
    }

    .tickets-page__heading {
        max-width: 100%;
    }

    .ticket-stage {
        padding: 12px;
    }

    .ticket-stage--sector-map {
        gap: 10px;
    }

    .ticket-session-choice {
        align-items: stretch;
        flex-direction: column;
    }

    .ticket-session-choice .button {
        width: 100%;
    }

    .ticket-card__body {
        padding: 9px;
    }

    .ticket-sector-map__frame {
        width: 100%;
    }

    .ticket-sector-map__frame img {
        max-height: clamp(180px, 58vw, 250px);
    }

    .ticket-sector-accordion__summary {
        grid-template-columns: 10px minmax(0, 1fr) auto auto;
        gap: 8px;
        padding: 10px 10px 10px 8px;
    }

    .ticket-sector-accordion__color {
        height: 28px;
    }

    .ticket-sector-accordion__content strong {
        font-size: 0.95rem;
    }

    .ticket-sector-accordion__panel {
        padding: 0 10px 10px;
    }

    .ticket-summary {
        padding: 14px;
    }

    .ticket-ticket-type {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        align-items: center;
        padding: 8px 0;
    }

    .ticket-ticket-type__counter {
        justify-content: flex-end;
    }

    .ticket-floating-cta {
        bottom: 10px;
        width: calc(100vw - 20px);
        padding: 12px;
    }

    .season-preview-card__frame,
    .season-preview-card__empty {
        min-height: 220px;
    }

    .session-artwork-item {
        grid-template-columns: 1fr;
    }

    .session-artwork-item__thumb {
        max-width: 160px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        transition: none;
        opacity: 1;
        transform: none;
    }

    .home-gallery__track,
    .tickets-cta__button {
        animation: none !important;
    }

    .social-follow-card__icon {
        animation: none !important;
    }

    .home-gallery__track {
        transform: none !important;
    }

    .tickets-cta__button {
        transition: none;
    }

    .social-follow-card {
        transition: none;
    }

    .social-follow-card__icon {
        animation: none;
    }
}

.checkout-page {
    width: min(100%, 720px);
    margin: 0 auto;
    padding: 28px 0 48px;
}

.checkout-page__header {
    margin-bottom: 18px;
}

.checkout-page__header h1 {
    color: #122e68;
    margin: 8px 0 6px;
}

.checkout-page__header p {
    color: #5d6f91;
    margin: 0;
}

.checkout-card {
    background: rgba(255, 255, 255, .95);
    border: 1px solid rgba(20, 58, 132, .14);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 14px 30px rgba(20, 58, 132, .1);
}

.checkout-card__session {
    display: grid;
    gap: 4px;
    color: #122e68;
    padding-bottom: 14px;
    border-bottom: 1px solid #d9e2f1;
}

.checkout-card__session strong {
    font-size: 1.15rem;
}

.checkout-card__session span,
.checkout-card__session small {
    color: #5d6f91;
}

.checkout-card__items {
    display: grid;
}

.checkout-card__item,
.checkout-card__total {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 0;
    color: #173b7c;
    border-bottom: 1px solid #e1e8f3;
}

.checkout-card__total {
    border-bottom: 0;
    font-size: 1.08rem;
    font-weight: 700;
}

.checkout-card__total strong,
.checkout-card__item strong {
    color: #d7193f;
    white-space: nowrap;
}

.checkout-card__notice {
    border-radius: 10px;
    background: #eef4ff;
    color: #536889;
    padding: 11px 12px;
    margin-bottom: 16px;
    font-size: .9rem;
}

.checkout-payment-card {
    text-align: center;
}

.checkout-payment-status {
    display: inline-flex;
    border-radius: 999px;
    padding: 8px 14px;
    background: #fff4d6;
    color: #8a5a00;
    font-weight: 800;
}

.checkout-payment-status--paid {
    background: #e9f9ef;
    color: #167044;
}

.checkout-payment-status--failed {
    background: #fff0f2;
    color: #ae1734;
}

.checkout-payment-card__instruction,
.checkout-payment-card__feedback {
    color: #5d6f91;
}

.checkout-payment-card__qr {
    display: block;
    width: min(260px, 100%);
    aspect-ratio: 1;
    object-fit: contain;
    margin: 16px auto 22px;
    padding: 10px;
    border: 1px solid #d9e2f1;
    border-radius: 14px;
    background: #fff;
}

.checkout-payment-card > label {
    display: block;
    color: #173b7c;
    font-weight: 700;
    text-align: left;
    margin-top: 12px;
}

.checkout-payment-card__code {
    display: block;
    width: 100%;
    min-height: 94px;
    margin: 7px 0 9px;
    padding: 10px;
    resize: vertical;
    border: 1px solid #cbd8ee;
    border-radius: 10px;
    color: #173b7c;
    background: #f8fbff;
    font: .8rem/1.4 monospace;
}

.checkout-payment-confirmed {
    display: grid;
    gap: 10px;
}

.checkout-payment-confirmed[hidden] {
    display: none !important;
}

.checkout-payment-confirmed .button--ghost {
    color: #173b7c;
    background: #fff;
}

@media (max-width: 560px) {
    .checkout-page {
        padding: 18px 0 30px;
    }

    .checkout-card {
        border-radius: 14px;
        padding: 16px;
    }
}

/* Responsive safety net: constrain layout children before applying page-specific grids. */
.admin-main,
.admin-content,
.admin-page,
.admin-panel,
.admin-topbar,
.admin-page__header,
.admin-page__actions,
.site-main,
.site-main > .container,
.site-footer,
.card,
.table-card,
.table-wrap,
.form,
.field,
.grid,
.split,
.customer-dashboard,
.customer-tab-panel,
.ticket-stage,
.tickets-page {
    min-width: 0;
}

.admin-content,
.admin-page,
.site-main,
.site-main > .container,
.table-wrap,
.form {
    max-width: 100%;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

.table-wrap table {
    max-width: none;
}

.admin-panel img,
.card img,
.table-card img,
.ticket-stage img,
.modal img {
    max-width: 100%;
    height: auto;
}

.admin-page__header > *,
.admin-page__actions > *,
.admin-panel__head > *,
.customer-panel-head > *,
.customer-ticket-card,
.ticket-card,
.banner-upload-card,
.banner-preview-card {
    min-width: 0;
}

@media (max-width: 979px) {
    .admin-layout {
        display: block;
    }

    .admin-main {
        width: 100%;
        margin-left: 0;
        padding-inline: clamp(10px, 3vw, 18px);
    }

    .admin-topbar {
        width: 100%;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(100% - 20px, var(--container));
    }

    .admin-main {
        padding-inline: 10px;
    }

    .admin-page__header,
    .admin-panel__head,
    .customer-panel-head,
    .customer-hero__head,
    .customer-auth-panel__head,
    .tickets-page__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-page__actions,
    .admin-page__actions .button,
    .form__actions,
    .form__actions .button,
    .admin-panel__head .button {
        width: 100%;
    }

    .admin-page__actions,
    .form__actions {
        justify-content: stretch;
    }

    .form__actions .button {
        flex: 1 1 100%;
    }

    .split,
    .payment-gateway-card__fields,
    .admin-grid--2,
    .customer-ticket-grid,
    .ticket-card-grid,
    .ticket-sector-grid {
        grid-template-columns: 1fr;
    }

    .admin-panel,
    .customer-tab-panel,
    .ticket-stage {
        padding: 14px;
    }

    .section-title,
    .hero-title,
    .display {
        max-width: 100%;
        overflow-wrap: anywhere;
        font-size: clamp(2rem, 12vw, 3.4rem);
    }

    .admin-table,
    .table-wrap table,
    table {
        min-width: 640px;
    }

    .table-actions {
        min-width: 150px;
    }

    .customer-tabs__nav {
        overflow-x: auto;
    }

    .customer-tab {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .hero-actions,
    .payment-gateway-card__actions,
    .payment-gateway-card__test,
    .banner-upload-card__header,
    .banner-preview-card__header {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button,
    .payment-gateway-card__actions .button,
    .payment-gateway-card__test .button {
        width: 100%;
    }

    .footer-bottom {
        justify-items: center;
        text-align: center;
    }

    .admin-customers-page .table-wrap {
        overflow: visible;
    }

    .admin-customers-page .admin-table {
        display: block;
        min-width: 0;
    }

    .admin-customers-page .admin-table thead {
        display: none;
    }

    .admin-customers-page .admin-table tbody,
    .admin-customers-page .admin-table tr,
    .admin-customers-page .admin-table td {
        display: block;
        width: 100%;
    }

    .admin-customers-page .admin-table tbody {
        display: grid;
        gap: 10px;
    }

    .admin-customers-page .admin-table tr {
        padding: 10px 12px;
        border: 1px solid rgba(31, 79, 168, 0.14);
        border-radius: 16px;
        background: rgba(248, 251, 255, 0.82);
    }

    .admin-customers-page .admin-table td {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        min-width: 0;
        padding: 8px 0;
        border-bottom: 1px solid rgba(31, 79, 168, 0.08);
        text-align: right;
        overflow-wrap: anywhere;
    }

    .admin-customers-page .admin-table td::before {
        flex: 0 0 auto;
        color: var(--red);
        font-size: 0.68rem;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-align: left;
        text-transform: uppercase;
    }

    .admin-customers-page .admin-table td:nth-child(1)::before { content: 'Nome'; }
    .admin-customers-page .admin-table td:nth-child(2)::before { content: 'CPF'; }
    .admin-customers-page .admin-table td:nth-child(3)::before { content: 'WhatsApp'; }
    .admin-customers-page .admin-table td:nth-child(4)::before { content: 'E-mail'; }
    .admin-customers-page .admin-table td:nth-child(5)::before { content: 'Cadastro'; }
    .admin-customers-page .admin-table td:nth-child(6)::before { content: 'Status'; }
    .admin-customers-page .admin-table td:nth-child(7)::before { content: 'Ações'; }

    .admin-customers-page .admin-table td:last-child {
        display: block;
        padding-top: 12px;
        border-bottom: 0;
        text-align: left;
    }

    .admin-customers-page .admin-table td:last-child::before {
        display: block;
        margin-bottom: 8px;
    }

    .admin-customers-page .table-actions {
        display: flex;
        width: 100%;
        min-width: 0;
        justify-content: flex-start;
    }

    .admin-customers-page .table-actions .button,
    .admin-customers-page .table-actions form {
        max-width: 100%;
    }
}

@media (max-width: 380px) {
    .site-header__inner {
        gap: 6px;
    }

    .brand__text strong {
        font-size: 0.84rem;
    }

    .header-actions .button--primary {
        max-width: 132px;
        overflow: hidden;
        padding-inline: 10px;
        text-overflow: ellipsis;
    }

    .admin-topbar__title strong {
        max-width: 20ch;
        overflow-wrap: anywhere;
    }
}

.checkout-buyer-form {
    display: grid;
    gap: 9px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #d9e2f1;
}

.checkout-buyer-form h2 {
    color: #122e68;
    font-size: 1.15rem;
    margin: 0 0 4px;
}

.checkout-buyer-form label {
    color: #173b7c;
    font-weight: 700;
    margin-top: 5px;
}

.checkout-buyer-form input {
    width: 100%;
    border: 1px solid #cbd8ee;
    border-radius: 10px;
    padding: 11px 12px;
    color: #142e60;
    background: #fff;
    font: inherit;
}

.checkout-field-error {
    margin-top: -6px;
    color: var(--red-deep);
    font-size: 0.82rem;
    font-weight: 700;
}

.checkout-buyer-form .button + .button {
    margin-top: 2px;
}

.checkout-holders {
    display: grid;
    gap: 12px;
    margin-top: 8px;
}

.checkout-holders__header {
    display: grid;
    gap: 2px;
    margin-top: 4px;
}

.checkout-holders__header h2 {
    margin: 0;
    color: #122e68;
    font-size: 1.15rem;
}

.checkout-holders__header p {
    margin: 0;
    color: #5d6f91;
    font-size: 0.9rem;
}

.checkout-holder-card {
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid #d9e2f1;
    border-radius: 14px;
    background: #f8fbff;
}

.checkout-holder-card__head {
    display: grid;
    gap: 1px;
}

.checkout-holder-card__head strong {
    color: #122e68;
}

.checkout-holder-card__head span {
    color: #536889;
    font-size: 0.86rem;
    font-weight: 600;
}

.checkout-holder-card__self {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin: 2px 0 0;
    color: #173b7c;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
}

.checkout-holder-card__self input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    accent-color: var(--blue);
}

.checkout-holder-card__fields {
    gap: 10px;
}

.checkout-holder-card__fields .field {
    gap: 4px;
}

.checkout-holder-card__fields input[readonly] {
    background: #eef4ff;
    color: #536889;
    cursor: not-allowed;
}

.checkout-holder-card__notice {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 0;
    padding: 6px 8px;
    border: 1px solid rgba(184, 126, 10, 0.28);
    border-radius: 8px;
    background: #fff7df;
    color: #704b00;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.35;
}

.checkout-holder-card input.is-invalid {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(225, 29, 54, 0.1);
}

/* Portaria: interface operacional independente do painel administrativo. */
.portaria-page {
    min-height: min(720px, calc(100vh - 180px));
    display: grid;
    place-items: start center;
    padding: 34px 0 48px;
}

.portaria-auth,
.portaria-panel {
    width: min(100%, 680px);
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(20, 58, 132, .14);
    border-radius: 22px;
    box-shadow: 0 16px 36px rgba(20, 58, 132, .12);
    padding: clamp(22px, 4vw, 36px);
}

.portaria-auth {
    max-width: 430px;
    margin-top: 7vh;
}

.portaria-kicker {
    color: #ed1b3b;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .22em;
}

.portaria-page h1 {
    color: #122e68;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    margin: 8px 0 6px;
}

.portaria-lead {
    color: #5d6f91;
    margin: 0 0 22px;
}

.portaria-form,
.portaria-code-form {
    display: grid;
    gap: 9px;
}

.portaria-form label,
.portaria-code-form label {
    color: #163875;
    font-weight: 700;
    margin-top: 6px;
}

.portaria-form input,
.portaria-code-form input {
    width: 100%;
    border: 1px solid #cbd8ee;
    border-radius: 11px;
    padding: 12px 13px;
    color: #142e60;
    background: #fff;
    font: inherit;
}

.portaria-form .button {
    margin-top: 10px;
    width: 100%;
}

.portaria-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.portaria-code-form {
    margin-top: 18px;
}

.portaria-code-form__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
}

.portaria-code-form input {
    letter-spacing: .3em;
    font-weight: 800;
}

.portaria-alert {
    border-radius: 11px;
    padding: 11px 13px;
    font-weight: 700;
    margin: 14px 0;
}

.portaria-alert--error,
.portaria-result--invalid {
    color: #a20d2a;
    background: #fff0f3;
    border: 1px solid #f4afbd;
}

.portaria-alert--success,
.portaria-result--valid {
    color: #145c3b;
    background: #dcf7e7;
    border: 1px solid #9bd6b5;
}

.portaria-result {
    margin-top: 24px;
    border-radius: 16px;
    padding: 18px;
}

.portaria-result__status {
    display: grid;
    gap: 4px;
}

.portaria-result__status strong {
    font-size: 1.25rem;
}

.portaria-result__status span {
    font-size: .9rem;
}

.portaria-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin: 19px 0;
}

.portaria-details div {
    border-top: 1px solid rgba(20, 58, 132, .12);
    padding-top: 8px;
}

.portaria-details dt {
    color: #5d6f91;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.portaria-details dd {
    color: #122e68;
    margin: 4px 0 0;
    font-weight: 700;
}

.portaria-ticket-type--half {
    border-top-color: rgba(225, 29, 54, .35) !important;
}

.portaria-ticket-type--half dd {
    color: #c31d3c;
    font-weight: 900;
    text-transform: uppercase;
}

.portaria-half-entry-notice {
    margin: 0 0 14px;
    border: 1px solid #f1c36d;
    border-radius: 10px;
    padding: 10px 12px;
    color: #795000;
    background: #fff8e7;
    font-weight: 800;
    font-size: .9rem;
}

.portaria-qr-open {
    white-space: nowrap;
}

.portaria-qr-reader {
    display: grid;
    gap: 10px;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid #cbd8ee;
    border-radius: 12px;
    background: #f7faff;
}

.portaria-qr-reader[hidden] {
    display: none;
}

.portaria-qr-reader__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #163875;
}

.portaria-qr-reader video {
    display: block;
    width: 100%;
    max-height: 320px;
    border-radius: 9px;
    background: #0c1b38;
    object-fit: cover;
}

.portaria-qr-reader p {
    margin: 0;
    color: #5d6f91;
    font-size: .9rem;
}

.portaria-qr-reader p.is-error {
    color: #a20d2a;
    font-weight: 700;
}

.portaria-qr-diagnostics {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid #d8e2f2;
    border-radius: 9px;
    background: #eef4fc;
    color: #5d6f91;
    font-size: .76rem;
}

.portaria-qr-diagnostics[hidden] {
    display: none;
}

.portaria-qr-diagnostics div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.portaria-qr-diagnostics dt,
.portaria-qr-diagnostics dd {
    margin: 0;
}

.portaria-qr-diagnostics dt {
    font-weight: 700;
}

.portaria-qr-diagnostics dd {
    text-align: right;
    overflow-wrap: anywhere;
}

.portaria-confirm {
    width: 100%;
}

@media (max-width: 560px) {
    .portaria-page {
        padding: 16px 0 30px;
        min-height: calc(100vh - 130px);
    }

    .portaria-auth,
    .portaria-panel {
        border-radius: 16px;
        padding: 20px 16px;
    }

    .portaria-auth {
        margin-top: 3vh;
    }

    .portaria-panel__head {
        align-items: center;
    }

    .portaria-code-form__row,
    .portaria-details {
        grid-template-columns: 1fr;
    }

    .portaria-code-form__row .button {
        width: 100%;
    }

    .portaria-code-form__row .portaria-qr-open {
        margin-top: 0;
    }
}
