:root {
    --green: #009366;
    --green-hover: #007a55;
    --green-deep: #01402d;
    --green-bright: #38e07b;
    --green-soft: #a7f1c4;
    --mint: #ddfaf1;
    --mint-2: #d4e9e3;
    --red: #ff3b30;
    --red-hover: #e0332a;
    --red-dark: #b3261e;
    --red-soft: #f3e0e0;
    --red-alert: #c21818;
    --ink: #000;
    --ink-2: #1c1c1c;
    --muted: #727272;
    --muted-2: #9e9e9e;
    --line: #dfdfdf;
    --line-2: #e9e9e9;
    --input-line: #c1c3c6;
    --bg: #fff;
    --bg-soft: #f7f7f7;
    --bg-grey: #f3f3f3;
    --field-grey: #f4f4f4;
    --card-grey: #e3e3e3;
    --menu-bg: #424141;
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-head: "Open Sans", "Inter", system-ui, sans-serif;
    --container: 1296px;
    --container-org: 1200px;
    --gutter: clamp(16px, 5.2vw, 100px);
    --radius-xs: 2px;
    --radius-sm: 4px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 999px;
    --shadow-card: 0 0 2px rgba(0, 0, 0, .25);
    --shadow-lift: 0 10px 28px rgba(0, 0, 0, .14);
    --bottom-nav-h: 64px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.4;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    font-optical-sizing: none; /* match Figma's Inter (text optical size) */
}

body.bg-soft { background: var(--bg-soft); }
body.bg-grey { background: var(--bg-grey); }

[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
main { display: block; }

.icon { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: middle; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container--org { max-width: calc(var(--container-org) + 2 * var(--gutter)); }

:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* ---------- typography ---------- */
.section-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
    border-bottom: 1px solid var(--ink);
    padding: 0 12px 12px;
    margin-bottom: 20px;
}
.section-head--light { border-bottom-color: var(--line); }
.section-title {
    font-size: 48px; line-height: 1.05; font-weight: 900; text-transform: uppercase;
}
.section-title--md { font-size: 30px; }
.block-title { font-family: var(--font-head); font-size: 24px; font-weight: 800; text-transform: uppercase; line-height: 1.2; }
.panel-title { font-size: 22px; font-weight: 800; line-height: 1.2; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 40px; padding: 0 20px;
    border: 1px solid transparent; border-radius: var(--radius-sm);
    font-size: 15px; font-weight: 500; line-height: 1.2; text-align: center; white-space: nowrap;
    background: transparent; cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-hover); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #333; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: rgba(0, 0, 0, .05); }
.btn--outline-light { color: #fff; border-color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); }
.btn--line { background: var(--bg); color: var(--ink); border-color: var(--line); }
.btn--line:hover { border-color: var(--ink); }
.btn--danger { background: var(--red); color: #fff; }
.btn--danger:hover { background: var(--red-hover); }
.btn--danger-outline { color: var(--red-dark); border-color: var(--red-dark); background: var(--bg); }
.btn--danger-outline:hover { background: var(--red-soft); }
.btn--muted { background: #8b8b8b; color: #fff; }
.btn--muted:hover { background: #767676; }
.btn--soft { background: var(--mint); color: var(--green-deep); }
.btn--block { width: 100%; }
.btn--lg { min-height: 54px; font-size: 16px; }
.btn--sm { min-height: 32px; padding: 0 12px; font-size: 13px; }
.btn--pill { border-radius: var(--radius-pill); }
.btn--upper { text-transform: uppercase; letter-spacing: .02em; }
.btn[disabled], .btn.is-disabled { background: #9e9e9e; border-color: #9e9e9e; color: #fff; cursor: not-allowed; }

.icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; padding: 0; border: 0; border-radius: var(--radius-pill);
    background: transparent; color: inherit; cursor: pointer;
}
.icon-btn .icon { width: 24px; height: 24px; }
.icon-btn:hover { background: rgba(0, 0, 0, .06); }

.link-more { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; font-size: 15px; color: var(--ink); cursor: pointer; }
.link-more:hover { color: var(--green); }
.link-more .icon { width: 16px; height: 16px; }

/* ---------- tags & chips ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tag {
    display: inline-flex; align-items: center; height: 20px; padding: 0 8px;
    border-radius: var(--radius-pill); background: var(--green); color: #fff;
    font-size: 11px; font-weight: 600; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}
a.tag:hover { background: var(--green-hover); }
.tag--lg { height: 26px; padding: 0 12px; font-size: 13px; }

.chip {
    display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px;
    border-radius: var(--radius-xs); background: var(--green); color: #fff; font-size: 17px; white-space: nowrap;
}
.chip .icon { width: 18px; height: 18px; }
.chip:hover { background: var(--green-hover); }
.chip-toggle {
    display: inline-flex; align-items: center; height: 28px; padding: 0 12px;
    border-radius: var(--radius-pill); background: var(--mint-2); color: var(--green-deep);
    font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; user-select: none;
}
.chip-toggle.is-active, .chip-toggle:has(input:checked) { background: var(--green); color: #fff; }
.chip-toggle input { position: absolute; opacity: 0; pointer-events: none; }

.status {
    display: inline-flex; align-items: center; justify-content: center; min-width: 120px; height: 36px; padding: 0 16px;
    border: 1px solid currentColor; border-radius: var(--radius-pill); font-size: 15px; font-weight: 500; white-space: nowrap;
}
.status--approved { color: var(--green); background: var(--mint-2); }
.status--rejected { color: var(--red-dark); background: var(--red-soft); }
.status--pending { color: #8a6100; background: #fff3cd; }

/* ---------- meta row (seats / date / time) ---------- */
.meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; white-space: nowrap; }
.meta span { display: inline-flex; align-items: center; gap: 4px; }
.meta .icon { width: 14px; height: 14px; }

.place { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.place .icon { width: 14px; height: 14px; flex: none; }
.place span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }

.price { font-size: 28px; font-weight: 900; line-height: 1.1; letter-spacing: -.01em; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    --hdr-fg: var(--ink);
    --hdr-bg-active: var(--ink);
    --hdr-fg-active: #fff;
    position: relative; z-index: 50;
    color: var(--hdr-fg);
}
.site-header--overlay {
    --hdr-fg: #fff;
    --hdr-bg-active: #fff;
    --hdr-fg-active: var(--ink);
    position: absolute; top: 0; left: 0; right: 0;
    background: linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, 0));
}
.site-header__bar {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
    min-height: 76px; padding: 18px var(--gutter);
}
.site-header__left, .site-header__right { display: flex; align-items: center; gap: 34px; min-width: 0; }
.site-header__right { justify-content: flex-end; gap: 6px; }
.site-header__burger, .site-header__back, .site-header__title { display: none; }

.logo { display: inline-flex; color: var(--hdr-fg); }
.logo img { width: 30px; height: 26px; }
.site-header--overlay .logo img, .menu-sheet .logo img { filter: invert(1); }

.mode-switch {
    display: inline-flex; align-items: center; gap: 2px; padding: 3px;
    border: 1.5px solid var(--hdr-fg); border-radius: var(--radius-pill);
}
.mode-switch a {
    padding: 3px 11px; border-radius: var(--radius-pill); font-size: 17px; line-height: 1.35; white-space: nowrap;
    transition: color .2s ease, background-color .2s ease;
}
.mode-switch a.is-active { background: var(--hdr-bg-active); color: var(--hdr-fg-active); }
.mode-switch a:not(.is-active):hover { color: var(--green); }

.main-nav { display: flex; align-items: center; gap: 48px; }
.main-nav a {
    font-size: 17px; font-weight: 500; text-transform: uppercase; letter-spacing: .01em; white-space: nowrap;
    transition: color .2s ease;
}
.main-nav a:hover { color: var(--green); }
.main-nav a.is-active { color: var(--green); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.site-header--overlay .main-nav a.is-active, .site-header--overlay .main-nav a:hover { color: #3fd39e; }

.search-pill {
    display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; margin: 0;
    border: 1.5px solid var(--hdr-fg); border-radius: var(--radius-pill);
}
.search-pill .icon { width: 18px; height: 18px; }
.search-pill button { display: inline-flex; padding: 0; border: 0; background: none; color: inherit; }
.search-pill input {
    width: 92px; border: 0; padding: 0; background: transparent; outline: none; font-size: 17px; color: var(--hdr-fg);
}
.search-pill input::placeholder { color: var(--hdr-fg); opacity: 1; }
.search-pill:focus-within input { width: 160px; }
.search-pill input::-webkit-search-cancel-button { display: none; }

.ticket-pill {
    display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px;
    border: 1.5px solid var(--hdr-fg); border-radius: var(--radius-pill); font-size: 17px;
    transition: background-color .2s ease, color .2s ease;
}
.ticket-pill .icon { width: 20px; height: 20px; }
.ticket-pill.is-active, .ticket-pill:hover { background: var(--hdr-bg-active); color: var(--hdr-fg-active); }

.avatar {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; padding: 0; border: 1.5px solid var(--hdr-fg); border-radius: 50%;
    overflow: hidden; background: var(--bg-grey); color: var(--ink); cursor: pointer;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar .icon { width: 20px; height: 20px; }

.account { position: relative; }
.account__menu {
    position: absolute; top: calc(100% + 14px); right: 0; min-width: 214px; padding: 12px 8px;
    display: none; flex-direction: column; align-items: stretch;
    background: #fff; color: var(--ink); border-radius: var(--radius-md); box-shadow: 0 6px 24px rgba(0, 0, 0, .16);
}
.account__menu.is-open { display: flex; }
.account__menu a, .account__menu button {
    display: block; width: 100%; padding: 6px 12px; border: 0; border-radius: var(--radius-sm);
    background: none; font-size: 17px; text-align: center; color: var(--ink);
}
.account__menu a:hover, .account__menu button:hover { background: var(--bg-grey); }
.account__menu .is-danger { color: #d0201b; }
.account__menu form { margin: 0; }

.login-link { margin-left: 18px; font-size: 18px; font-weight: 800; white-space: nowrap; }
.login-link:hover { color: var(--green); }

/* ---------- mobile menu (burger) ---------- */
.menu-sheet {
    position: fixed; inset: 0; z-index: 100; display: none; flex-direction: column;
    padding: max(20px, env(safe-area-inset-top)) 24px max(28px, env(safe-area-inset-bottom));
    background: var(--menu-bg); color: #fff;
}
.menu-sheet.is-open { display: flex; }
.menu-sheet__top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.menu-sheet__nav { display: flex; flex-direction: column; align-items: center; gap: 48px; margin-top: 48px; }
.menu-sheet__nav a { font-size: 28px; text-transform: uppercase; }
.menu-sheet__nav a.is-active { color: #3fd39e; }
.menu-sheet__switch {
    display: grid; grid-template-columns: 1fr 1fr; width: min(100%, 300px); align-self: center; margin-top: auto; padding: 4px;
    border: 1.5px solid #fff; border-radius: var(--radius-pill);
}
.menu-sheet__switch a { padding: 13px 8px; border-radius: var(--radius-pill); font-size: 17px; text-align: center; }
.menu-sheet__switch a.is-active { background: #fff; color: var(--ink); font-weight: 700; }
.menu-sheet__login { margin: 0 auto 24px; font-size: 20px; font-weight: 700; text-decoration: underline; }

/* ---------- mobile profile sheet ---------- */
.profile-sheet {
    position: fixed; inset: 0; z-index: 100; display: none; flex-direction: column; gap: 24px;
    padding: max(16px, env(safe-area-inset-top)) 32px max(28px, env(safe-area-inset-bottom));
    background: var(--bg-grey); color: var(--ink); overflow-y: auto;
}
.profile-sheet.is-open { display: flex; }
.profile-sheet__top { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; min-height: 56px; }
.profile-sheet__top h2 { text-align: center; font-size: 18px; font-weight: 600; }
.profile-card {
    position: relative; margin-top: 52px; padding: 72px 12px 16px; border-radius: var(--radius-lg);
    background: #e9e9e9; text-align: center;
}
.profile-card__avatar {
    position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
    width: 120px; height: 120px; border-radius: 50%; border: 4px solid #e9e9e9; background: #d6d6d6; overflow: hidden;
    display: flex; align-items: center; justify-content: center; color: var(--muted);
}
.profile-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-card__avatar .icon { width: 52px; height: 52px; }
.profile-card__name { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.segmented {
    display: grid; grid-template-columns: 1fr 1fr; padding: 6px; border-radius: var(--radius-pill); background: #fff;
}
.segmented a, .segmented button, .segmented label {
    padding: 8px 8px; border: 0; border-radius: var(--radius-pill); background: none;
    font-size: 16px; font-weight: 600; color: #4d4d4d; text-align: center; cursor: pointer;
}
.segmented .is-active { background: var(--green); color: #fff; }
.profile-sheet__label { font-size: 19px; font-weight: 600; }
.profile-links { display: flex; flex-direction: column; padding: 12px 18px; border-radius: var(--radius-lg); background: #e9e9e9; }
.profile-links a { display: flex; align-items: center; gap: 14px; padding: 11px 6px; font-size: 16px; }
.profile-links a .icon { width: 24px; height: 24px; }
.profile-sheet__logout { margin-top: auto; }
.profile-sheet__logout button {
    display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 52px;
    border: 0; border-radius: var(--radius-pill); background: #636363; color: #fff; font-size: 20px;
}
.profile-sheet__logout .icon { width: 22px; height: 22px; }

/* ---------- bottom tab bar (mobile) ---------- */
.tabbar { display: none; }

/* ---------- toast ---------- */
.toast {
    position: fixed; left: 50%; bottom: 32px; z-index: 200; transform: translate(-50%, 20px);
    padding: 12px 20px; border-radius: var(--radius-pill); background: var(--ink); color: #fff; font-size: 15px;
    opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Event card
   ========================================================================== */
.card-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 44px 43px; }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 14px; }

.event-card {
    position: relative; display: flex; flex-direction: column; min-width: 0;
    padding: 4px 4px 8px; border: 2px solid var(--line-2); border-radius: var(--radius-md);
    background: #fff; box-shadow: var(--shadow-card);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: #cfe9df; z-index: 2; }
.event-card__img { aspect-ratio: 214 / 154; width: 100%; border-radius: var(--radius); object-fit: cover; background: var(--bg-grey); }
.event-card__body { display: flex; flex-direction: column; flex: 1; padding: 10px 6px 0; }
.event-card__tags { min-height: 20px; }
.event-card__title {
    margin-top: 12px; min-height: 2.6em; font-size: 14px; font-weight: 600; line-height: 1.3; text-transform: uppercase;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere;
}
.event-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.event-card__tags .tag { position: relative; z-index: 1; }
.event-card .place { margin-top: 14px; min-height: 2.7em; }
.event-card .price { margin-top: 8px; }
.event-card__cta { position: relative; z-index: 1; margin-top: 4px; min-height: 34px; font-size: 13px; }
.event-card .meta { margin-top: 10px; }
.event-card--muted .event-card__img { filter: grayscale(.6); opacity: .85; }

.add-card {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 100%;
    padding: 24px; border: 2px dashed #d0d0d0; border-radius: var(--radius-md);
    color: var(--ink); font-size: 18px; font-weight: 500; background: transparent;
    transition: border-color .2s ease, color .2s ease;
}
.add-card:hover { border-color: var(--green); color: var(--green); }
.add-card .icon { width: 22px; height: 22px; }

/* ---------- pagination ---------- */
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 40px 0 8px; }
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 8px;
    border: 1px solid #dee2e6; border-radius: var(--radius-sm); background: #fff; color: #6c757d; font-size: 17px;
}
.pagination a:hover { background: #cbcbcb; border-color: #cbcbcb; color: var(--ink); }
.pagination .is-active { background: var(--green); border-color: var(--green); color: #fff; }
.pagination .is-disabled { color: #c9c9c9; }
.pagination .icon { width: 18px; height: 18px; }

.more-row { display: flex; justify-content: center; margin-top: 40px; }
.more-row .btn { min-height: 44px; }

/* ---------- empty states ---------- */
.empty {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
    padding: 56px 16px; text-align: center; color: var(--muted-2); font-size: 18px;
}

/* ==========================================================================
   Forms
   ========================================================================== */
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > label, .field__label { font-size: 16px; font-weight: 700; }
.input, .select, .textarea {
    width: 100%; min-height: 54px; padding: 0 16px;
    border: 1px solid var(--input-line); border-radius: 6px; background: #fff; color: var(--ink);
    font-size: 16px; outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.textarea { min-height: 116px; padding: 14px 16px; resize: vertical; line-height: 1.45; }
.input::placeholder, .textarea::placeholder { color: #9aa0a6; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0, 147, 102, .15); }
.select { appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 20px; }
.input-wrap { position: relative; }
.input-wrap .input { padding-right: 52px; }
.input-wrap__btn {
    position: absolute; top: 50%; right: 8px; transform: translateY(-50%);
    display: inline-flex; padding: 8px; border: 0; background: none; color: #9aa0a6; cursor: pointer;
}
.input-wrap__btn:hover { color: var(--ink); }
.input-wrap__btn .icon { width: 20px; height: 20px; }
.input-prefix { display: flex; align-items: stretch; border: 1px solid var(--input-line); border-radius: 6px; background: #fff; }
.input-prefix:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0, 147, 102, .15); }
.input-prefix__icon { display: flex; align-items: center; justify-content: center; width: 48px; border-right: 1px solid var(--line); color: var(--muted); }
.input-prefix__icon img, .input-prefix__icon .icon { width: 18px; height: 18px; }
.input-prefix .input { border: 0; box-shadow: none; }

.check { display: flex; align-items: center; gap: 12px; font-size: 17px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--green); flex: none; cursor: pointer; }
.check small { color: var(--muted-2); font-size: 13px; }

.alert { padding: 14px 16px; border-radius: var(--radius); font-weight: 600; text-align: center; }
.alert--error { background: #f8d7da; color: #721c24; }
.alert--success { background: #d4edda; color: #155724; }

/* ==========================================================================
   Modal (image picker)
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .5); }
.modal.is-open { display: flex; }
.modal__box { width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow: auto; display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--radius-md); background: #fff; color: var(--ink); }
.modal__head { display: flex; align-items: center; justify-content: space-between; }
.modal__head h3 { font-size: 20px; font-weight: 800; }
.modal__tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--line); }
.modal__tab { padding: 8px 14px; margin-bottom: -2px; border: 0; border-bottom: 2px solid transparent; background: none; font-weight: 700; color: var(--muted); }
.modal__tab.is-active { color: var(--green); border-bottom-color: var(--green); }
.modal__panel { display: none; flex-direction: column; gap: 12px; min-height: 200px; }
.modal__panel.is-active { display: flex; }
.modal__panel p { color: var(--muted); }
.img-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.img-grid button { padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: none; }
.img-grid button:hover { border-color: var(--green); }
.img-grid img { width: 100%; height: 88px; object-fit: cover; }

/* ==========================================================================
   Home — hero carousel
   ========================================================================== */
.hero { position: relative; height: 100vh; min-height: 640px; max-height: 1080px; overflow: hidden; background: #111; color: #fff; }
.hero__slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.4); }
.hero__content { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.hero__title { max-width: 700px; font-size: 56px; line-height: 1.08; font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; overflow-wrap: anywhere; }
.hero__desc {
    max-width: 480px; margin-top: 36px; color: #e9e9e9; font-size: 18px; line-height: 1.3; text-transform: uppercase;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.hero__tags { margin-top: 12px; }
.hero__price { margin-top: 30px; font-size: 64px; font-weight: 800; line-height: 1; }
.hero__cta { margin-top: 34px; width: 296px; min-height: 54px; font-size: 14px; text-transform: uppercase; }
.hero__meta { display: flex; gap: 36px; margin-top: 26px; font-size: 17px; font-weight: 700; }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .icon { width: 20px; height: 20px; }
.hero__location { position: absolute; right: 0; bottom: 56px; left: 0; display: flex; justify-content: flex-end; pointer-events: none; }
.hero__location span { font-size: 26px; font-weight: 900; letter-spacing: .01em; text-transform: uppercase; }
.hero__location i { display: inline-block; width: 1.5px; height: 20px; margin: 0 26px; background: #fff; vertical-align: -2px; }
.hero__dots { position: absolute; left: 50%; bottom: 40px; z-index: 3; display: flex; gap: 24px; transform: translateX(-50%); }
.hero__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.hero__dots button.is-active { background: #fff; }
.hero--welcome .hero__title { font-size: 64px; }
.hero--welcome .hero__desc { font-size: 20px; }

/* ---------- home — categories ---------- */
.home-section { padding-top: 72px; }
.home-section:last-of-type { padding-bottom: 96px; }
.categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; padding: 28px 20px 0; }
.category { display: flex; align-items: center; gap: 32px; font-size: 36px; line-height: 1.15; transition: color .2s ease; }
.category__icon { display: flex; align-items: center; justify-content: center; width: 62px; height: 62px; flex: none; background: #e3e3e3; color: #4a4a4a; transition: background-color .2s ease, color .2s ease; }
.category__icon .icon { width: 30px; height: 30px; }
.category > span:last-child { min-width: 0; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.category:hover { color: var(--green); }
.category:hover .category__icon { background: var(--green); color: #fff; }

.section-tools { display: flex; justify-content: flex-end; gap: 12px; margin: -4px 0 24px; }
.sort-select {
    height: 40px; padding: 0 40px 0 16px; border: 1px solid var(--line); border-radius: var(--radius-xs);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px;
    appearance: none; font-size: 15px; text-transform: uppercase; cursor: pointer;
}

/* ==========================================================================
   Events list
   ========================================================================== */
.events-page { padding-top: 16px; padding-bottom: 80px; }
.events-layout { display: grid; grid-template-columns: 228px minmax(0, 1fr); gap: 0 108px; }
.events-search { grid-column: 2; }
.search-bar {
    display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 16px;
    border: 1.5px solid #a9a9a9; border-radius: var(--radius-pill); background: #fff;
}
.search-bar:focus-within { border-color: var(--green); }
.search-bar .icon { width: 20px; height: 20px; color: #a9a9a9; }
.search-bar input { flex: 1; min-width: 0; width: 100%; border: 0; outline: none; background: transparent; font-size: 17px; }
.search-bar input::placeholder { color: #a9a9a9; }
.search-bar button { display: inline-flex; padding: 0; border: 0; background: none; color: inherit; }
.filters { grid-row: 2 / span 2; padding-top: 30px; }
.filter-group { padding: 0 0 28px; margin-bottom: 28px; border-bottom: 1.5px solid #c8c8c8; }
.filter-group h3 { margin-bottom: 18px; font-size: 18px; font-weight: 700; text-transform: uppercase; }
.filter-group .check { padding: 6px 8px; }
.filter-group .check span { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.filter-group__empty { color: var(--muted-2); font-size: 15px; }
.filters__apply { display: none; }
.events-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 30px 0 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.events-bar__count { color: var(--muted); font-size: 15px; white-space: nowrap; }
.events-bar .chips { flex: 1; }
.sort-label { color: var(--muted); font-size: 15px; text-transform: uppercase; white-space: nowrap; }
.tag-strip { display: none; }

/* ==========================================================================
   Event page (client) + shared detail layout (organizer event info)
   ========================================================================== */
.banner { position: relative; height: 330px; background: #2b2b2b; }
.banner__img { width: 100%; height: 100%; object-fit: cover; }
.banner__shade { position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .25), rgba(0, 0, 0, 0) 35%); }
.banner__logo-row { position: absolute; left: 0; right: 0; bottom: 34px; }
.banner__logo { display: block; max-width: 220px; max-height: 84px; width: auto; height: auto; object-fit: contain; }
.banner__logo-grid { display: grid; grid-template-columns: 304px minmax(0, 1fr); gap: 26px; }
.banner__logo-grid .banner__logo { grid-column: 2; }
.no-dates { margin-bottom: 24px; }

.detail { display: grid; grid-template-columns: 304px minmax(0, 1fr); gap: 0 26px; align-items: start; padding-bottom: 96px; }
.detail__side { position: relative; margin-top: -150px; z-index: 5; display: flex; flex-direction: column; gap: 14px; }
.detail__banner-logo { grid-column: 2; }
.side-card { display: flex; flex-direction: column; padding: 4px 4px 10px; border: 2px solid var(--line-2); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-card); }
.side-card__img { width: 100%; height: 326px; border-radius: var(--radius); object-fit: cover; background: var(--bg-grey); }
.side-card__body { display: flex; flex-direction: column; padding: 10px 6px 0; }
.side-card__title { margin-top: 10px; font-size: 17px; font-weight: 700; line-height: 1.25; text-transform: uppercase; overflow-wrap: anywhere; }
.side-card .place { margin-top: 12px; font-size: 11px; }
.side-card .price { margin-top: 10px; font-size: 20px; }
.side-card__action { margin-top: 6px; }
.side-card__action .btn { min-height: 36px; font-size: 13px; }
.side-card .meta { margin-top: 12px; font-size: 12px; }
.side-card__status { margin-top: 8px; font-size: 12px; text-align: center; color: var(--muted); }
.socials { display: flex; justify-content: center; gap: 28px; padding: 6px 0; }
.socials a { display: inline-flex; padding: 4px; transition: opacity .2s ease; }
.socials a:hover { opacity: .6; }
.socials img { width: 22px; height: 22px; }
.side-actions { display: flex; flex-direction: column; gap: 14px; padding: 0 10px; }
.side-actions .btn { min-height: 42px; font-size: 14px; }

.detail__main { padding-top: 34px; min-width: 0; }
.occ-picker { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.occ-row { display: flex; flex-wrap: wrap; gap: 12px; }
.occ-pill {
    display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 20px;
    border: 1.5px solid var(--line); border-radius: 6px; background: #fff; color: #b5b5b5; font-size: 20px; font-weight: 700;
    transition: border-color .2s ease, color .2s ease;
}
.occ-pill .icon { width: 18px; height: 18px; }
.occ-pill:hover { border-color: var(--muted); color: var(--muted); }
.occ-pill.is-active { border-color: var(--ink); color: var(--ink); }
.event-title { font-size: 34px; font-weight: 900; line-height: 1.15; text-transform: uppercase; overflow-wrap: anywhere; }
.event-lead { margin-top: 18px; font-size: 15px; line-height: 1.35; text-transform: uppercase; white-space: pre-line; overflow-wrap: anywhere; }
.people { margin-top: 44px; }
.people__list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.person {
    display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 18px;
    min-width: 126px; max-width: 220px; min-height: 190px; padding: 10px 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff;
    text-align: center; font-size: 14px; font-weight: 600; text-transform: uppercase; line-height: 1.35; overflow-wrap: break-word;
}
.person__photo { width: 106px; height: 106px; border-radius: 50%; object-fit: cover; background: var(--bg-grey); display: flex; align-items: center; justify-content: center; color: var(--muted); }
.person__photo .icon { width: 44px; height: 44px; }
.rule { height: 1px; margin: 22px 0 36px; border: 0; background: #c8c8c8; }
.event-body { margin-top: 14px; font-size: 17px; line-height: 1.35; white-space: pre-line; overflow-wrap: anywhere; }
.event-map { height: 404px; margin-top: 40px; border-radius: 4px; background: #39443f; z-index: 1; }
.event-map .leaflet-tile-pane { filter: grayscale(1) brightness(.6) contrast(1.2) sepia(.4) hue-rotate(110deg) saturate(1.3); }
.map-btn { margin-top: 12px; min-height: 36px; font-size: 13px; }
.map-popup .leaflet-popup-content-wrapper { border: 2px solid #e52521; border-radius: 10px; box-shadow: none; }
.map-popup .leaflet-popup-content { margin: 8px 12px; font: 11px/1.3 var(--font); color: var(--muted); display: flex; gap: 8px; align-items: center; }
.map-popup .leaflet-popup-tip { background: #e52521; }
.map-pin { color: #e52521; }
.map-pin svg { width: 28px; height: 28px; fill: #e52521; stroke: #fff; }

.book-bar { display: none; }

/* ==========================================================================
   Tickets
   ========================================================================== */
.page-pad { padding-top: 40px; padding-bottom: 96px; }
.page-title { font-size: 30px; font-weight: 900; text-transform: uppercase; }
.page-title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.ticket-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 24px; }
.ticket {
    --notch: 12px;
    --stub: 112px;
    position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--stub); min-height: 188px;
    border-radius: 22px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .08));
    transition: transform .2s ease;
    -webkit-mask: radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 0, #0000 98%, #000) top / 100% 51% no-repeat,
                  radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
            mask: radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 0, #0000 98%, #000) top / 100% 51% no-repeat,
                  radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
.ticket:hover { transform: translateY(-3px); }
.ticket__main { display: flex; flex-direction: column; gap: 4px; padding: 22px 20px 20px 28px; border-radius: 22px 0 0 22px; background: var(--green); color: #fff; min-width: 0; }
.ticket__title { margin-bottom: 8px; font-size: 18px; font-weight: 700; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.ticket__grid { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; }
.ticket__label { font-size: 12px; opacity: .9; }
.ticket__value { font-size: 16px; font-weight: 700; letter-spacing: .03em; }
.ticket__stub {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    border-left: 2px dashed rgba(0, 147, 102, .35); border-radius: 0 22px 22px 0; background: #fff; text-align: center;
}
.ticket__month { font-size: 24px; }
.ticket__day { font-size: 36px; font-weight: 700; line-height: 1.1; color: var(--green); }
.ticket__year { font-size: 16px; }
.ticket--past .ticket__main { background: #8b8b8b; }
.ticket--past .ticket__day { color: #8b8b8b; }
.ticket-section + .ticket-section { margin-top: 48px; }
.ticket-section h2 { margin-bottom: 20px; font-size: 20px; font-weight: 800; }

/* ==========================================================================
   Settings
   ========================================================================== */
.settings { max-width: 530px; margin: 0 auto; padding: 48px 16px 80px; }
.settings__photo { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 72px; }
.settings__avatar {
    position: relative; width: 168px; height: 168px; padding: 4px; border: 2px solid var(--ink); border-radius: 50%;
    background: #fff; display: flex; align-items: center; justify-content: center; color: var(--muted);
}
.settings__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.settings__avatar .icon { width: 56px; height: 56px; }
.settings__camera { display: none; }
.settings__photo .btn { width: 168px; min-height: 42px; border-radius: var(--radius-xs); font-size: 16px; }
.settings .alert { margin-bottom: 24px; }
.settings-form { display: flex; flex-direction: column; gap: 28px; }
.settings-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.settings-form .field > label { display: none; }
.settings__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 2px; }
.settings__actions .btn { min-height: 60px; border-radius: var(--radius-xs); font-size: 16px; }
.settings__actions .btn--outline { min-height: 60px; }
.settings h1 { display: none; }

/* ==========================================================================
   Organizer — dashboard
   ========================================================================== */
.org-page { padding-top: 56px; padding-bottom: 96px; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 20px; }
.stat {
    position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 128px;
    padding: 18px 20px; border-radius: var(--radius-lg); background: #fff; overflow: hidden;
}
.stat__value { font-size: 40px; font-weight: 900; line-height: 1.1; letter-spacing: -.01em; }
.stat__label { margin-top: 18px; font-size: 15px; }
.stat__art { width: 92px; height: 80px; object-fit: contain; flex: none; }
.stat__icon { display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; flex: none; border-radius: 50%; background: var(--mint); color: var(--green); }
.stat__icon .icon { width: 38px; height: 38px; }
.stat--alert { background: var(--red-alert); color: #fff; }
.stat--alert .stat__icon { background: rgba(255, 255, 255, .18); color: #fff; }
.stat-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.dash { display: grid; grid-template-columns: minmax(0, 1fr) 404px; gap: 40px 46px; margin-top: 40px; align-items: start; }
.dash__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; min-height: 34px; }
.dash__head-left { display: flex; align-items: center; gap: 24px; }
.wide-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wide-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: #fff; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.wide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.wide-card__img { width: 100%; height: 150px; object-fit: cover; background: var(--bg-grey); }
.wide-card__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 52px 44px; }
.wide-card__title { margin: 0; font-size: 24px; font-weight: 900; line-height: 1.05; text-transform: uppercase; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.wide-card .place { font-size: 10px; }
.wide-card .meta { font-size: 14px; margin-top: 6px; }
.wide-card .meta .icon { width: 16px; height: 16px; }
.dash-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 260px; color: var(--muted-2); font-size: 20px; }

.seg { display: inline-flex; border: 1px solid var(--ink); border-radius: var(--radius-xs); overflow: hidden; }
.seg button { padding: 5px 12px; border: 0; border-left: 1px solid var(--ink); background: #fff; font-size: 15px; }
.seg button:first-child { border-left: 0; }
.seg button.is-active { background: #090909; color: #fff; }

.soon-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.soon-card { display: flex; flex-direction: column; gap: 10px; min-height: 192px; padding: 14px 20px 18px; border-radius: var(--radius-lg); background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.soon-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.soon-card[hidden] { display: none; }
.soon-card__date { display: flex; align-items: baseline; gap: 6px; margin-bottom: 14px; }
.soon-card__day { font-size: 38px; line-height: 1; }
.soon-card__month { font-size: 26px; }
.soon-card__img { display: none; }
.soon-card__title { font-size: 15px; font-weight: 500; line-height: 1.2; text-transform: uppercase; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.soon-card .place { font-size: 10px; }
.soon-card__time { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.soon-card__time .icon { width: 14px; height: 14px; }

.calendar { padding: 22px 24px 26px; border-radius: var(--radius-lg); background: #fff; }
.calendar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.calendar__head strong { font-size: 18px; }
.calendar__head .icon-btn { width: 32px; height: 32px; }
.calendar__head .icon-btn .icon { width: 18px; height: 18px; }
.calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px 6px; text-align: center; }
.calendar__dow { font-size: 18px; font-weight: 700; padding-bottom: 8px; }
.calendar__day { display: flex; align-items: center; justify-content: center; height: 40px; border-radius: var(--radius); font-size: 18px; }
.calendar__day.has-event { background: var(--green-soft); }
.calendar__day.is-today { background: var(--green-bright); font-weight: 700; }
.calendar__legend { display: flex; gap: 18px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.calendar__legend span { display: inline-flex; align-items: center; gap: 6px; }
.calendar__legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--green-soft); }
.calendar__legend i.is-today { background: var(--green-bright); }

/* ---------- organizer events ---------- */
.org-section + .org-section { margin-top: 40px; }
.org-section .card-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 14px; }

/* ==========================================================================
   Organizer — event info (guests)
   ========================================================================== */
.guests { margin-top: 26px; padding: 0 10px 10px; border-radius: var(--radius-lg); background: #ececec; }
.guests__head, .guest { display: grid; grid-template-columns: 260px minmax(0, 1fr) 120px 80px 48px; align-items: center; gap: 12px; }
.guests__head { padding: 18px 16px 12px; font-size: 17px; font-weight: 600; text-align: center; }
.guests__head span:nth-child(2) { text-align: left; padding-left: 40px; }
.guest { margin-top: 10px; padding: 10px 16px; border-radius: var(--radius-lg); background: #f8f8f8; }
.guest__status { display: flex; gap: 8px; }
.guest__status form { display: contents; }
.guest__status .status { flex: 1; min-width: 0; }
.guest__status .btn { flex: 1; min-height: 36px; padding: 0 12px; border-radius: var(--radius-pill); font-size: 16px; }
.guest__who { min-width: 0; padding-left: 40px; }
.guest__name { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guest__email { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guest__when { font-size: 13px; color: var(--muted); text-align: center; }
.guest__count { text-align: center; font-size: 17px; }
.guest__menu { position: relative; justify-self: end; }
.guest__menu .icon-btn { color: #7d7d7d; }
.guest__menu-list {
    position: absolute; top: 100%; right: 0; z-index: 10; display: none; min-width: 170px; padding: 6px;
    border-radius: var(--radius); background: #fff; box-shadow: 0 6px 24px rgba(0, 0, 0, .16);
}
.guest__menu-list.is-open { display: block; }
.guest__menu-list button { display: block; width: 100%; padding: 8px 12px; border: 0; border-radius: var(--radius-sm); background: none; text-align: left; font-size: 15px; }
.guest__menu-list button:hover { background: var(--bg-grey); }
.guest__menu-list form { margin: 0; }
.guests__empty { padding: 32px 16px 24px; text-align: center; color: var(--muted); }
.guest__menu-list .menu-link { display: block; padding: 8px 12px; border-radius: var(--radius-sm); font-size: 15px; }
.guest__menu-list .menu-link:hover { background: var(--bg-grey); }
.bulk-row { display: flex; justify-content: flex-end; margin-top: 16px; }
.export-mobile { margin-top: 16px; width: 100%; }
.info-main { max-width: 880px; }
.info-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.info-meta { display: none; }

/* ==========================================================================
   Organizer — event editor
   ========================================================================== */
.cover { position: relative; height: 340px; background: #808080 center / cover no-repeat; color: #fff; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .25), rgba(0, 0, 0, 0) 40%); pointer-events: none; }
.cover__label { position: absolute; top: 165px; left: 50%; transform: translateX(-50%); font-size: 13px; font-weight: 700; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.cover.has-image .cover__label { display: none; }
.cover__inner { position: absolute; inset: auto 0 18px 0; z-index: 2; }
.cover__row { display: grid; grid-template-columns: 304px minmax(0, 1fr); gap: 44px; align-items: end; }
.cover__tools { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; max-width: 742px; }
.logo-box {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 202px; height: 82px;
    background: #4a4a4a center / contain no-repeat; color: #fff; font-size: 13px; font-weight: 700;
}
.logo-box.has-image { background-color: rgba(0, 0, 0, .25); }
.logo-box.has-image > span { display: none; }
.btn--chip { min-height: 26px; padding: 0 12px; border-radius: var(--radius-xs); background: #0f2a20; color: #fff; font-size: 15px; font-weight: 600; }
.btn--chip:hover { background: #000; }
.editor { display: grid; grid-template-columns: 304px minmax(0, 1fr); gap: 0 44px; align-items: start; padding-bottom: 96px; }
.editor__side { position: sticky; top: 16px; margin-top: -150px; z-index: 5; display: flex; flex-direction: column; gap: 14px; }
.photo-slot { position: relative; height: 310px; border-radius: var(--radius); background: #8f8f8f center / cover no-repeat; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; color: #fff; font-size: 13px; font-weight: 700; }
.photo-slot.has-image > span { display: none; }
.editor__side .side-card__title { font-size: 18px; }
.editor__side .meta { font-size: 12px; justify-content: space-between; text-transform: uppercase; }
.editor__side .price { font-size: 20px; }
.side-actions hr { width: 100%; height: 1.5px; margin: 6px 0 0; border: 0; background: var(--ink); }
.form-card { max-width: 742px; margin-top: 36px; padding: 50px 40px 40px; border-radius: var(--radius-lg); background: #fff; }
.form-card__title { font-family: var(--font-head); font-size: 28px; font-weight: 700; text-align: center; margin-bottom: 48px; }
.form-card__title--sub { margin: 64px 0 40px; }
.form-stack { display: flex; flex-direction: column; gap: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.removable { position: relative; padding-right: 28px; }
.remove-x { position: absolute; top: 0; right: 0; display: inline-flex; padding: 2px; border: 0; background: none; color: var(--green-deep); cursor: pointer; }
.remove-x .icon { width: 16px; height: 16px; }
.remove-x:hover { color: var(--red); }
.add-btn { align-self: center; width: 292px; max-width: 100%; min-height: 42px; font-size: 14px; }
.tag-input { display: flex; flex-direction: column; gap: 10px; }
.tag-input__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-input__chips:empty { display: none; }
.tag-input__chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 6px 0 8px; border-radius: var(--radius-xs); background: var(--green); color: #fff; font-size: 14px; font-weight: 600; }
.tag-input__chip button { display: inline-flex; padding: 0; border: 0; background: none; color: inherit; opacity: .8; }
.tag-input__chip button:hover { opacity: 1; }
.tag-input__chip .icon { width: 14px; height: 14px; }
.editor-map { height: 380px; margin-top: 12px; border: 1px solid var(--input-line); border-radius: 6px; z-index: 1; }
.editor-map[hidden] { display: none; }
.hint { font-size: 13px; color: var(--muted); }
.radio-row { display: flex; justify-content: center; gap: 36px; }
.field__sub { font-size: 16px; font-weight: 700; }
.occ-list { display: flex; flex-direction: column; gap: 18px; }
.occ-list:empty { display: none; }
.textarea--lg { min-height: 260px; }
.form-card .add-btn { margin-top: 4px; }
.photos-mobile { display: none; }

/* ==========================================================================
   Auth pages (login / sign up)
   ========================================================================== */
.auth { display: flex; min-height: 100vh; background: #000; color: #fff; }
.auth__art { flex: 1; display: flex; align-items: center; justify-content: center; background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .8)), url("/img/bg/event.jpg") center / cover no-repeat; }
.auth__art img { width: 160px; height: auto; opacity: .9; }
.auth__panel { width: 50%; max-width: 700px; display: flex; flex-direction: column; justify-content: center; padding: 48px 64px; }
.auth__form-wrap { width: 100%; max-width: 440px; margin: 0 auto; }
.auth__brand { display: none; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 32px; }
.auth__brand img { width: 50px; height: auto; }
.auth__brand span { font-size: 19px; font-weight: 900; letter-spacing: .06em; }
.auth h1 { font-size: 40px; font-weight: 900; text-transform: uppercase; }
.auth__underline { width: 50px; height: 3px; margin: 8px 0 24px; background: var(--green); }
.auth__lead { margin-bottom: 32px; color: #e9e9e9; font-size: 15px; line-height: 1.5; }
.auth__lead b { color: var(--green); }
.auth form { display: flex; flex-direction: column; gap: 18px; }
.auth .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.auth .input { background: transparent; border-color: rgba(255, 255, 255, .4); color: #fff; }
.auth .input::placeholder { color: rgba(255, 255, 255, .6); }
.auth .input:focus { border-color: var(--green); }
.auth .input-wrap__btn { color: rgba(255, 255, 255, .6); }
.auth .input-wrap__btn:hover { color: #fff; }
.auth .btn--primary { min-height: 58px; margin-top: 6px; font-weight: 700; text-transform: uppercase; }
.auth__switch { margin-top: 32px; text-align: center; color: #e9e9e9; font-size: 15px; }
.auth__switch a { color: var(--green); font-weight: 700; }
.auth__switch a:hover { color: #3fd39e; }
.auth .alert { font-size: 14px; }

/* ==========================================================================
   Responsive — tablet
   ========================================================================== */
@media (max-width: 1500px) {
    .main-nav { gap: 32px; }
    .site-header__left { gap: 24px; }
    .card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
    .card-grid--4, .org-section .card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .events-layout { gap: 0 48px; }
    .category { font-size: 28px; gap: 24px; }
}

@media (max-width: 1280px) {
    .card-grid, .org-section .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .card-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dash { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; }
    .soon-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wide-card__body { padding: 20px 24px 28px; }
    .guests__head, .guest { grid-template-columns: 230px minmax(0, 1fr) 70px 48px; }
    .guests__head span:nth-child(3), .guest__when { display: none; }
    .category { font-size: 24px; }
    .category__icon { width: 52px; height: 52px; }
}

/* ==========================================================================
   Responsive — mobile header, tab bar and single-column layouts
   ========================================================================== */
@media (max-width: 1023px) {
    body.has-tabbar { padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom)); }

    .site-header__bar { display: flex; justify-content: space-between; min-height: 64px; padding: 10px 16px; gap: 12px; }
    .site-header__left { gap: 12px; }
    .site-header .logo, .site-header .mode-switch, .main-nav, .search-pill, .site-header .create-btn { display: none; }
    .site-header__burger { display: inline-flex; margin-left: -8px; }
    .site-header__title { display: block; font-size: 24px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .site-header__right { gap: 12px; }
    .ticket-pill { height: 34px; padding: 0 12px; font-size: 17px; }
    .avatar { width: 36px; height: 36px; border-width: 0; }
    .login-link { margin-left: 0; font-size: 17px; }
    .site-header--back .site-header__burger, .site-header--back .site-header__right { display: none; }
    .site-header--back .site-header__back { display: inline-flex; margin-left: -8px; }
    .site-header--back .site-header__left { flex: 1; display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; }
    .site-header--back .site-header__title { grid-column: 2; text-align: center; font-size: 18px; font-weight: 600; }
    .site-header--overlay.site-header--back { background: none; }
    .site-header--solid-mobile { position: relative; --hdr-fg: var(--ink); --hdr-bg-active: var(--ink); --hdr-fg-active: #fff; background: none; }
    .site-header--solid-mobile .site-header__back { background: none !important; }
    .site-header--overlay .site-header__back { background: rgba(255, 255, 255, .85); color: var(--ink); }

    .tabbar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
        height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom)); padding: 8px 8px env(safe-area-inset-bottom);
        background: var(--green); color: rgba(255, 255, 255, .45);
    }
    .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
    .tabbar a .icon { width: 26px; height: 26px; }
    .tabbar a.is-active { color: #fff; }

    .section-title { font-size: 34px; }

    /* home */
    .hero { height: auto; min-height: calc(100svh - var(--bottom-nav-h)); max-height: none; }
    .hero__slide { align-items: flex-end; padding: 150px 0 72px; }
    .hero__content { padding-bottom: 8px; }
    .hero__title, .hero--welcome .hero__title { font-size: 34px; line-height: 1.12; }
    .hero__desc { margin-top: 28px; font-size: 15px; }
    .hero__price { font-size: 44px; }
    .hero__cta { width: 100%; margin-top: 30px; }
    .hero__meta { width: 100%; justify-content: space-between; gap: 12px; font-size: 17px; }
    .hero__location { top: 96px; bottom: auto; justify-content: flex-start; }
    .hero__location span { font-size: 19px; }
    .hero__location i { margin: 0 30px; height: 18px; }
    .hero__dots { bottom: 18px; }
    .home-section { padding-top: 48px; }
    .categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 16px 4px 0; }
    .category { font-size: 18px; gap: 14px; }
    .category__icon { width: 44px; height: 44px; }
    .category__icon .icon { width: 22px; height: 22px; }

    /* events */
    .events-layout { display: block; }
    .events-search .search-bar { min-width: 0; height: 44px; }
    .tag-strip { display: flex; gap: 6px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
    .tag-strip::-webkit-scrollbar { display: none; }
    .filters {
        position: fixed; inset: 0; z-index: 90; display: none; flex-direction: column; padding: 0 24px 24px;
        background: #fff; overflow-y: auto;
    }
    .filters.is-open { display: flex; }
    .filters__top { position: sticky; top: 0; display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; min-height: 64px; margin: 0 -24px 8px; padding: 0 16px; background: #fff; z-index: 2; }
    .filters__top h2 { text-align: center; font-size: 20px; font-weight: 800; text-transform: uppercase; }
    .filters__apply { display: flex; position: sticky; bottom: 0; margin-top: auto; padding-top: 12px; background: #fff; }
    .filters__apply .btn { min-height: 50px; font-size: 18px; }
    .filter-group { padding-bottom: 22px; margin-bottom: 22px; }
    .filter-group h3 { font-size: 22px; margin-bottom: 12px; }
    .filter-group .check { font-size: 19px; padding: 8px 6px; }
    .events-bar { flex-wrap: wrap; gap: 12px 10px; margin: 16px 0 18px; }
    .events-bar .filter-btn { order: 1; flex: 1; min-height: 50px; border-radius: var(--radius-sm); font-size: 18px; }
    .events-bar .filter-btn .icon { width: 22px; height: 22px; }
    .events-bar .sort-select {
        order: 2; flex: 1; min-width: 0; height: 50px; padding: 0 30px 0 12px; border: 0; border-radius: var(--radius-sm);
        color: #fff; font-size: 16px; text-transform: none;
        background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px;
    }
    .events-bar .chips { order: 3; flex: 0 0 100%; align-items: center; }
    .chip { height: 32px; font-size: 15px; }

    /* detail pages */
    .banner { height: 326px; }
    .banner__logo-row { bottom: 70px; }
    .banner__logo { max-width: 204px; max-height: 80px; }
    .banner__logo-grid { display: block; }
    .about-title { margin-top: 18px; }
    .map-title { margin-top: 28px; }
    .event-body + .map-title, .people + .rule + .block-title { margin-top: 28px; }
    .detail { display: block; padding: 0; }
    .detail__side { display: none; }
    .sheet {
        position: relative; z-index: 4; margin-top: -40px; padding: 26px 22px 32px; border-radius: 24px 24px 0 0; background: #fff;
        box-shadow: 0 -2px 12px rgba(0, 0, 0, .06);
    }
    .detail__main { padding-top: 0; }
    .event-title { font-size: 28px; line-height: 1.12; }
    .occ-picker { margin: 20px 0 16px; padding: 10px 12px 12px; border: 1px solid #a9a9a9; border-radius: var(--radius-md); gap: 8px; }
    .occ-picker__label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; }
    .occ-picker__label .icon { width: 18px; height: 18px; }
    .occ-row { gap: 8px; }
    .occ-row--dates { order: 3; }
    .occ-pill { height: 30px; padding: 0 12px; gap: 6px; border: 0; border-radius: 6px; background: #e3e3e3; color: #4d4d4d; font-size: 12px; font-weight: 500; }
    .occ-pill .icon { display: none; }
    .occ-pill.is-active { background: var(--green); color: #fff; }
    .event-facts { display: flex; flex-direction: column; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #c8c8c8; }
    .event-facts .place { color: var(--ink-2); font-size: 15px; }
    .event-facts .place .icon { width: 18px; height: 18px; }
    .event-facts .tag { height: 28px; padding: 0 14px; font-size: 14px; font-weight: 500; }
    .event-facts__seats { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; }
    .event-facts__seats .icon { width: 18px; height: 18px; }
    .block-title { font-size: 21px; font-weight: 600; text-transform: none; }
    .event-lead { margin-top: 8px; font-size: 15px; text-transform: none; letter-spacing: .01em; }
    .people { margin-top: 28px; }
    .person { width: auto; min-height: 0; padding: 0; border: 0; background: none; gap: 8px; font-size: 13px; font-weight: 400; text-transform: none; }
    .person__photo { width: 60px; height: 60px; }
    .rule { display: none; }
    .event-body { font-size: 15px; }
    .event-map { height: 200px; margin-top: 14px; border-radius: 6px; }
    .map-btn { display: none; }
    .book-bar {
        position: sticky; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 16px;
        padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: var(--mint);
    }
    .book-bar form, .book-bar > a, .book-bar > .btn { flex: 1; }
    .book-bar .btn { width: 100%; min-height: 46px; border-radius: var(--radius-md); font-size: 16px; font-weight: 500; text-transform: uppercase; }
    .book-bar__status { font-size: 12px; color: var(--green-deep); max-width: 80px; line-height: 1.2; }
    .socials--mobile { justify-content: flex-start; margin-top: 18px; }

    /* tickets */
    .page-pad { padding-top: 12px; }
    .page-title-row { display: none; }
    .ticket-grid { grid-template-columns: 1fr; gap: 20px; }

    /* settings */
    body.page-settings { background: var(--bg-grey); }
    .settings { padding-top: 20px; }
    .settings__photo { margin-bottom: 24px; }
    .settings__photo .btn { display: none; }
    .settings__avatar { width: 124px; height: 124px; padding: 0; border: 0; cursor: pointer; background: #e3e3e3; }
    .settings__camera { position: absolute; right: -6px; bottom: 4px; display: inline-flex; padding: 4px; border-radius: 6px; background: #fff; color: var(--ink); }
    .settings__camera .icon { width: 22px; height: 22px; }
    .settings-form { gap: 16px; }
    .settings-form .row { grid-template-columns: 1fr; gap: 16px; }
    .settings-form .field > label { display: block; font-size: 18px; font-weight: 500; }
    .settings-form .input { min-height: 52px; border: 0; border-radius: var(--radius-md); background: #e6e6e6; }
    .settings__actions { flex-direction: row-reverse; margin-top: 18px; }
    .settings__actions .btn { flex: 1; min-height: 48px; border-radius: var(--radius-pill); font-size: 18px; }
    .settings__actions .btn--dark { background: var(--green); flex: 2; }
    .settings__actions .btn--outline { min-height: 48px; }

    /* organizer */
    .org-page { padding-top: 12px; }
    .org-page > .container > .panel-title:first-child { display: none; }
    .stat-row { grid-template-columns: 1fr 1fr; gap: 16px; }
    .stat {
        display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 4px 12px;
        min-height: 104px; padding: 18px 20px; border-radius: 22px; background: #e3e3e3; box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    }
    .stat > div:first-child { display: contents; }
    .stat__value { grid-column: 1; grid-row: 1; font-size: 36px; }
    .stat__label { grid-column: 1 / -1; grid-row: 2; margin-top: 10px; font-size: 16px; color: var(--muted); }
    .stat__art { display: none; }
    .stat__icon { grid-column: 2; grid-row: 1; width: 42px; height: 42px; border-radius: 10px; background: rgba(0, 0, 0, .08); color: var(--ink-2); }
    .stat__icon .icon { width: 26px; height: 26px; }
    .stat--primary { grid-column: 1 / -1; min-height: 128px; padding: 22px 26px; background: var(--green); color: #fff; }
    .stat--primary .stat__label { color: rgba(255, 255, 255, .85); font-size: 18px; }
    .stat--primary .stat__value { font-size: 44px; }
    .stat--primary .stat__icon { background: rgba(255, 255, 255, .25); color: #fff; }
    .stat--alert { background: var(--red-alert); }
    .stat--alert .stat__label { color: rgba(255, 255, 255, .85); }
    .stat-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid #808080; border-radius: 22px; color: #4d4d4d; font-size: 17px; }
    .stat-add .icon { width: 26px; height: 26px; }
    .dash { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
    .dash__ongoing, .calendar { display: none; }
    .dash__head { flex-direction: column; align-items: stretch; gap: 16px; }
    .dash__head-left { flex-direction: column; align-items: stretch; gap: 16px; }
    .dash__head .panel-title { font-size: 26px; font-weight: 500; }
    .seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 5px; border: 0; border-radius: var(--radius-pill); background: #e9e9e9; }
    .seg button { padding: 9px 4px; border: 0; border-radius: var(--radius-pill); background: none; font-size: 19px; }
    .seg button.is-active { background: #9a9a9a; color: #fff; }
    .soon-cards { gap: 16px 16px; }
    .soon-card { position: relative; min-height: 0; padding: 0 0 14px; overflow: hidden; border-radius: 20px; gap: 6px; }
    .soon-card__img { display: block; width: 100%; height: 112px; object-fit: cover; -webkit-mask: linear-gradient(#000 35%, transparent); mask: linear-gradient(#000 35%, transparent); }
    .soon-card__date { position: absolute; top: 56px; left: 14px; margin: 0; }
    .soon-card__day { font-size: 44px; font-weight: 500; }
    .soon-card__month { font-size: 28px; font-weight: 500; }
    .soon-card__title, .soon-card .place, .soon-card__time { padding: 0 16px; }
    .soon-card__title { font-size: 16px; }
    .soon-card .place { font-size: 10px; }
    .dash-empty { min-height: 180px; }
    .org-section .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .org-section__head { flex-wrap: wrap; }
    .org-section .add-card { grid-column: 1 / -1; min-height: 60px; flex-direction: row; border-radius: var(--radius-pill); color: #808080; font-size: 20px; }
    .org-section .panel-title { font-size: 26px; font-weight: 500; }
    .org-section__head { flex-direction: row; align-items: center; }
    .stat--wide { grid-column: 1 / -1; min-height: 0; }
    .stat--zero { display: none; }

    /* event info */
    .info-meta { display: flex; flex-direction: column; gap: 10px; }
    .info-head .block-title { font-size: 24px; line-height: 1.15; font-weight: 900; font-family: var(--font); text-transform: uppercase; overflow-wrap: anywhere; }
    .info-head { align-items: flex-start; }
    .info-head__tools { display: flex; gap: 4px; }
    .info-meta__price { font-size: 32px; font-weight: 900; }
    .info-meta__line { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; font-size: 15px; }
    .info-meta__line .icon { width: 18px; height: 18px; }
    .info-meta__line span { display: inline-flex; align-items: center; gap: 6px; }
    .info-meta .btn { margin-top: 10px; min-height: 40px; border-radius: var(--radius-pill); }
    .stat-row--2 { gap: 14px; }
    .stat-row--2 .stat { flex-direction: column-reverse; align-items: flex-start; justify-content: flex-end; min-height: 120px; background: var(--green); color: #fff; box-shadow: none; }
    .stat-row--2 .stat__value { font-size: 26px; }
    .stat-row--2 .stat__label { margin-top: 18px; color: #fff; font-size: 15px; }
    .stat-row--2 .stat__icon { display: none; }
    .stat-row--2 .stat--alert { background: var(--red-alert); }
    .guests { padding: 0; background: none; }
    .guests__head, .guest { grid-template-columns: 136px minmax(0, 1fr) 22px 28px; gap: 6px; }
    .sheet--bleed { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
    .guests__head { padding: 18px 0 6px; font-size: 16px; font-weight: 500; }
    .guests__head span:nth-child(2), .guest__who { padding-left: 0; }
    .guest { padding: 10px; border-radius: var(--radius-md); background: #f3f3f3; }
    .guest__status { gap: 6px; }
    .guest__status .status { min-width: 0; height: 32px; padding: 0 6px; font-size: 14px; }
    .guest__status .btn { min-height: 32px; padding: 0 6px; font-size: 13px; }
    .guest__name { font-size: 13px; }
    .guest__email { font-size: 10px; }
    .guest__count { font-size: 15px; }
    .info-actions { display: none; }

    /* editor */
    .cover, .editor__side { display: none; }
    .editor { display: block; padding: 0 0 40px; }
    .form-card { max-width: none; margin: 0; padding: 8px 0 0; background: none; }
    .form-card__title { display: none; }
    .form-card__title--sub { display: block; margin: 36px 0 24px; font-family: var(--font); font-size: 20px; font-weight: 500; }
    .form-stack { gap: 22px; }
    .field > label, .field__label { font-size: 18px; font-weight: 500; }
    .form-card .input, .form-card .select, .form-card .textarea, .form-card .input-prefix { border: 0; border-radius: var(--radius-md); background-color: var(--field-grey); }
    .form-card .input-prefix .input { background: transparent; }
    .form-card .input-prefix__icon { border-right: 0; }
    .form-card .add-btn { width: 100%; min-height: 46px; border-radius: var(--radius-pill); background: #fff; color: var(--ink-2); border: 1.5px solid #808080; font-size: 18px; }
    .photos-mobile { display: flex; flex-direction: column; gap: 22px; }
    .photo-field__preview { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 16px; border-radius: var(--radius-md); background: var(--field-grey); color: #808080; font-size: 15px; overflow: hidden; }
    .photo-field__preview img { width: 44px; height: 36px; object-fit: cover; border-radius: 6px; }
    .photo-field__preview span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .editor-actions { display: flex; gap: 10px; margin-top: 36px; }
    .editor-actions .btn { flex: 1; min-height: 52px; border-radius: var(--radius-pill); font-size: 18px; }

    /* auth */
    .auth__art { display: none; }
    .auth__panel { width: 100%; max-width: none; align-items: center; padding: 24px; background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .85)), url("/img/bg/event.jpg") center / cover no-repeat; }
    .auth__brand { display: flex; }
    .auth h1, .auth__lead { text-align: center; }
    .auth__underline { margin: 8px auto 24px; }
}

@media (min-width: 1024px) {
    .sheet { display: contents; }
    .mobile-only { display: none !important; }
}

@media (max-width: 1023px) {
    .desktop-only { display: none !important; }
}

@media (max-width: 400px) {
    .categories { gap: 16px 12px; padding-left: 0; padding-right: 0; }
    .category { font-size: 15px; gap: 8px; }
    .category__icon { width: 36px; height: 36px; }
    .category__icon .icon { width: 20px; height: 20px; }
}

@media (max-width: 640px) {
    .card-grid, .card-grid--4, .org-section .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
    .event-card { padding: 4px 4px 8px; border-radius: 14px; }
    .event-card__body { padding: 8px 4px 0; }
    .event-card__title { margin-top: 8px; font-size: 14px; font-weight: 700; }
    .event-card .tag { height: 18px; padding: 0 7px; font-size: 9.5px; }
    .event-card .place { margin-top: 8px; font-size: 9px; gap: 6px; }
    .event-card .price { font-size: 22px; margin-top: 6px; }
    .event-card__cta { min-height: 34px; font-size: 14px; }
    .event-card .meta { font-size: 8.5px; font-weight: 700; gap: 2px; }
    .event-card .meta .icon { width: 11px; height: 11px; }
    .event-card:hover { transform: none; }
    .section-head { padding: 0 2px 10px; }
    .section-title { font-size: 26px; }
    .section-head .btn { min-height: 34px; padding: 0 12px; font-size: 13px; }
    .pagination a, .pagination span { min-width: 40px; height: 40px; font-size: 16px; }
    .soon-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat__value { font-size: 34px; }
    .ticket { --stub: 104px; }
    .auth .row, .form-row { grid-template-columns: 1fr 1fr; }
}
