/* Tel2Ticket — yellow + black brand */
:root {
  --yellow: #FFD60A;
  --yellow-tint: #FFF8D6;
  --yellow-soft: #FFF0A8;
  --black: #111111;
  --paper: #F5F3EE;
  --white: #FFFFFF;
  --line: #E4E1DA;
  --line-strong: #D4D0C8;
  --muted: #5E5A6B;
  --muted-light: #C9C5D6;
  --gold-text: #7A5C00;
  --ok: #0B6B45;
  --ok-bg: #D8F3E6;
  --error: #B42318;
  --error-bg: #FDE7E5;
  --gray-bg: #ECEAF1;
  --display: 'Bricolage Grotesque', 'IBM Plex Sans Thai', system-ui, sans-serif;
  --body: 'IBM Plex Sans Thai', system-ui, sans-serif;
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--black); font-family: var(--body); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--black); text-decoration: none; }
a:hover { color: var(--gold-text); }
h1, h2, h3 { margin: 0; }
h2 { font-family: var(--display); font-size: 30px; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 20px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--black); outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--yellow); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip-link:focus { left: 8px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }
.section { padding-top: 48px; padding-bottom: 16px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.strong { font-weight: 700; }
.block { display: block; }
.mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.text-error { color: var(--error) !important; }
.empty { padding: 32px; text-align: center; color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.icon { flex: none; }
.with-icon { display: flex; align-items: center; gap: 8px; font-size: 14px; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.brand svg { flex: none; }
.wordmark { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 24px; letter-spacing: -0.03em; color: var(--black); }
.wordmark.light { color: var(--white); }
.wordmark .two { background: var(--yellow); color: var(--black); padding: 0 0.08em; border-radius: 0.12em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent; font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; background: none; white-space: nowrap; }
.btn:disabled, .btn[aria-disabled='true'] { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: var(--yellow); color: var(--black); font-weight: 700; }
.btn-primary:hover { background: #F2C800; color: var(--black); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { color: var(--yellow); }
.btn-outline { border-color: var(--black); background: var(--white); color: var(--black); }
.btn-ghost { color: var(--black); text-decoration: underline; }
.btn-ghost-light { color: var(--white); border-color: #3A3548; }
.btn-ghost-light:hover { color: var(--yellow); }
.btn-sm { min-height: 40px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 17px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row.center { justify-content: center; }

/* Badges & notices */
.badge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; color: var(--black); }
.badge-open { background: var(--ok-bg); color: #0B4D33; }
.badge-soon { background: var(--yellow-soft); }
.badge-yellow { background: var(--yellow); }
.badge-ended, .badge-draft { background: var(--gray-bg); }
.badge-soldout { background: var(--black); color: var(--yellow); }
.soon-card .badge-soldout { background: var(--yellow); color: var(--black); }
.notice { padding: 12px 16px; border-radius: 12px; margin: 0 0 16px; font-size: 15px; }
.notice-ok { background: var(--ok-bg); color: #0B4D33; }
.notice-error { background: var(--error-bg); color: var(--error); }
.notice-warn { background: var(--yellow-tint); border: 1px solid var(--yellow-soft); color: var(--black); }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 14px; padding-bottom: 14px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px; font-weight: 500; font-size: 15px; }
.nav a { padding: 10px 12px; border-radius: 10px; }
.nav a:hover { background: var(--paper); }
.header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.search { margin-left: auto; display: flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; height: 44px; color: var(--muted); }
.search input { border: 0; background: transparent; outline: none; width: 220px; font-size: 15px; color: var(--black); }
@media (max-width: 600px) { .search input { width: 150px; } }
.user-menu { display: flex; align-items: center; gap: 8px; }
.user-chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; min-height: 44px; }
.user-chip img, .avatar-fallback { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.avatar-fallback { display: inline-flex; align-items: center; justify-content: center; background: var(--yellow); font-weight: 700; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 40px; }
.hero-poster { flex: 1 1 520px; min-width: 0; border-radius: 28px; overflow: hidden; background: var(--black); color: var(--white); min-height: 400px; display: flex; }
.hero-poster:hover { color: var(--white); }
.hero-poster img { width: 100%; height: 100%; object-fit: cover; }
.hero-type { padding: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; width: 100%; }
.hero-top, .hero-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 14px; color: var(--muted-light); }
.hero-bottom { border-top: 3px dashed #3A3548; padding-top: 18px; }
.hero-title { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(44px, 7vw, 76px); line-height: 0.92; letter-spacing: -0.04em; text-transform: uppercase; }
.hero-info { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--gold-text); letter-spacing: 0.04em; }
.h-display { font-family: var(--display); font-size: clamp(32px, 4.5vw, 46px); line-height: 1.08; letter-spacing: -0.02em; }
.h-display.light { color: var(--white); }
.h-page { font-family: var(--display); font-size: 32px; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 8px; }
.meta-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.meta-list li { display: flex; align-items: center; gap: 10px; }

/* Event grid */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-weight: 600; font-size: 15px; }
.chip.on { background: var(--black); border-color: var(--black); color: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.section-head h2 { margin-bottom: 0; }
.sort-form { display: flex; align-items: center; gap: 8px; }
.sort-select {
  appearance: none; -webkit-appearance: none; min-height: 44px; padding: 0 40px 0 14px; border: 1px solid var(--line); border-radius: 12px; background-color: var(--white);
  font-weight: 700; font-size: 16px; color: var(--black); cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.sort-select:hover { border-color: var(--black); }
.grid-events { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.card:hover { color: var(--black); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(17, 17, 17, 0.08); }
.poster { width: 100%; object-fit: cover; }
.poster-type { display: flex; align-items: flex-end; padding: 18px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; letter-spacing: -0.03em; line-height: 0.95; text-transform: uppercase; color: var(--black); overflow: hidden; }
.card-poster { aspect-ratio: 4 / 5; height: auto; font-size: 28px; object-fit: contain; background: #111; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-title { font-size: 17px; font-weight: 600; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; font-size: 15px; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.step-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.step-card p { margin: 0; color: var(--muted); font-size: 15px; }
.step-card.dark { background: var(--black); color: var(--white); border-color: var(--black); }
.step-card.dark p { color: var(--muted-light); }
.step-num { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 44px; line-height: 1; color: var(--gold-text); }
.step-card.dark .step-num { color: var(--yellow); }
.step-card strong { font-size: 20px; }

/* Footer */
.site-footer { background: var(--black); color: var(--muted-light); margin-top: 64px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.footer-brand { max-width: 320px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-brand p { margin: 0; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 48px; font-size: 14px; }
.footer-cols div { display: flex; flex-direction: column; gap: 10px; }
.footer-cols strong { color: var(--white); }
.footer-cols a { color: var(--muted-light); }
.footer-cols a:hover { color: var(--yellow); }
.footer-legal { border-top: 1px solid #2E2A3B; padding-top: 18px; padding-bottom: 28px; font-size: 13px; }

/* Event page */
.event-hero { background: var(--black); color: var(--white); padding: 24px 0 48px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; font-size: 14px; color: var(--muted-light); margin-bottom: 24px; }
.breadcrumb a { color: var(--muted-light); }
.breadcrumb.dark, .breadcrumb.dark a { color: var(--muted); margin-bottom: 6px; }
.event-hero-row { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.event-poster { flex: 1 1 340px; min-width: 0; max-width: 440px; aspect-ratio: 4 / 5; border-radius: 24px; font-size: 48px; padding: 28px; }
.event-hero-info { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.kv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: 0; width: 100%; }
.kv-grid dt { font-size: 13px; color: var(--muted-light); }
.kv-grid dd { margin: 2px 0 0; font-weight: 600; }
.event-desc { margin: 0; color: var(--muted-light); line-height: 1.7; white-space: pre-line; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }

.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.panel.flush { padding: 0; overflow: hidden; }
.panel-title { font-size: 18px; font-weight: 700; padding: 0; }
fieldset.panel { margin: 0; }
.booking-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.booking-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.seatmap { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.zone-list { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.zone-list legend { margin-bottom: 12px; }
.zone-option { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 16px; border: 2px solid var(--line); background: var(--white); cursor: pointer; }
.zone-option:has(input:checked) { border-color: var(--black); background: var(--yellow-tint); }
.zone-option.disabled { opacity: 0.55; cursor: not-allowed; }
.zone-option input { width: 20px; height: 20px; accent-color: var(--black); flex: none; }
.zone-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.zone-text strong { font-size: 17px; }
.zone-price { font-size: 18px; font-weight: 700; min-width: 80px; text-align: right; }
@media (max-width: 600px) { .zone-option { flex-wrap: wrap; gap: 10px; } .zone-price { margin-left: auto; } }
.summary { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 16px; }
.sum-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sum-line.total { font-size: 20px; font-weight: 700; padding-top: 6px; }
.sum-totals { border-top: 1px dashed var(--line-strong); padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.qty { display: flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 12px; padding: 2px; }
.qty button { width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--paper); font-size: 20px; font-weight: 700; cursor: pointer; }
.qty input { width: 44px; text-align: center; border: 0; font-weight: 700; font-size: 17px; -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.soon-card { background: var(--black); color: var(--white); border-radius: 24px; padding: 48px 32px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.soon-card.light { background: var(--white); color: var(--black); border: 1px solid var(--line); }
.soon-card strong { font-family: var(--display); font-size: clamp(26px, 4vw, 38px); letter-spacing: -0.02em; }
.soon-card p { margin: 0; color: var(--muted-light); max-width: 520px; }
.notify-form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; width: 100%; max-width: 560px; }
.notify-form .input { flex: 1 1 260px; }
.terms ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: #3E3A4A; }
.terms h2 { font-size: 22px; margin-bottom: 14px; }

/* Forms */
.input { width: 100%; min-height: 46px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px 12px; font-size: 15px; background: var(--white); color: var(--black); }
textarea.input { resize: vertical; line-height: 1.6; }
input[type='color'].input { padding: 4px; height: 46px; }
.input-warn { border-color: var(--error); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field.small { font-size: 12px; }
.field-row { display: flex; justify-content: space-between; gap: 8px; }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.form-stack { display: flex; flex-direction: column; gap: 16px; }
.form-stack.tight { gap: 8px; }
.form-stack.narrow { max-width: 560px; }
.radio-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; border: 2px solid var(--line); cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--black); background: var(--yellow-tint); }
.radio-card input { width: 20px; height: 20px; accent-color: var(--black); }
.radio-card > span { display: flex; flex-direction: column; }
.check { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: var(--black); }
.inline-options { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.inline-options legend { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.counter { font-weight: 600; }
.counter.ok { color: var(--ok); }
.counter.bad { color: var(--error); }

/* Ticket */
.center-col { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.success-dot { width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); display: flex; align-items: center; justify-content: center; }
.success-dot .icon { width: 30px; height: 30px; stroke-width: 2.5; }
.ticket { width: 100%; max-width: 680px; display: flex; flex-wrap: wrap; background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; text-align: left; }
.ticket-main { flex: 1 1 340px; padding: 28px; display: flex; flex-direction: column; gap: 14px; background: var(--black); color: var(--white); }
.ticket-code { font-size: 13px; color: var(--muted-light); letter-spacing: 0.06em; }
.ticket-title { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 28px; line-height: 1.05; }
.ticket-stub { flex: 1 1 220px; padding: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border-left: 3px dashed var(--line-strong); }
.ticket-stack { width: 100%; max-width: 680px; display: flex; flex-direction: column; gap: 20px; }
.ticket-stack .ticket { max-width: none; }
.ticket-seat { display: inline-flex; align-items: baseline; gap: 8px; align-self: flex-start; background: var(--yellow); color: var(--black); border-radius: 12px; padding: 6px 14px; }
.ticket-seat strong { font-family: 'Bricolage Grotesque', var(--body); font-size: 30px; line-height: 1.1; }
.ticket-actions { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; padding: 14px 20px; border-top: 1px solid var(--line); background: var(--paper); }
.seat-input { width: 90px; text-transform: uppercase; }
.seat-field { grid-column: span 2; }
.ticket-art { flex: 1 1 100%; width: 100%; aspect-ratio: 8 / 3; object-fit: cover; }
.barcode { width: 100%; max-width: 260px; }
.barcode svg { width: 100%; height: auto; display: block; }
.qr { width: 168px; height: 168px; }
.qr svg { width: 100%; height: 100%; }
.qr-pending { display: flex; align-items: center; justify-content: center; border: 2px dashed var(--line-strong); border-radius: 12px; color: var(--muted); font-weight: 600; }
.ticket-list { display: flex; flex-direction: column; gap: 12px; }
.ticket-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.ticket-row-main { flex: 1 1 260px; display: flex; flex-direction: column; }

/* Login */
.login-wrap { display: flex; flex-wrap: wrap; min-height: 100vh; }
.login-side { flex: 1 1 420px; background: var(--black); color: var(--white); padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
@media (max-width: 600px) { .login-side { padding: 24px 16px; } .login-pitch svg { width: 120px; height: 80px; } }
.login-pitch { display: flex; flex-direction: column; gap: 18px; }
.login-headline { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 5vw, 48px); line-height: 1.05; letter-spacing: -0.02em; }
.login-headline em { font-style: normal; color: var(--yellow); }
.login-pitch p { margin: 0; color: var(--muted-light); max-width: 420px; }
.login-main { flex: 1 1 480px; display: flex; align-items: center; justify-content: center; padding: 48px 16px; }
.login-box { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 16px; }
.provider-list { display: flex; flex-direction: column; gap: 12px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line-strong); }
.center-text { text-align: center; margin: 0; }
.verify-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.provider-btn { display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--white); font-weight: 600; font-size: 16px; }
.provider-btn:hover { border-color: var(--black); color: var(--black); }
.provider-btn.disabled { opacity: 0.6; cursor: not-allowed; }
.provider-btn.disabled .small { margin-left: auto; }
.pv-icon { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; font-family: Arial, sans-serif; font-weight: 800; flex: none; }
.pv-line { background: #06C755; color: #fff; border-radius: 8px; font-size: 9px; }
.pv-google { border: 1px solid var(--line); border-radius: 50%; color: #4285F4; font-size: 16px; }
.pv-facebook { background: #1877F2; color: #fff; border-radius: 50%; font-size: 20px; }

/* Admin */
.admin-body { background: var(--paper); }
.admin { display: flex; flex-wrap: wrap; min-height: 100vh; }
.admin-side { flex: 1 1 240px; max-width: 100%; background: var(--black); color: var(--muted-light); padding: 24px 16px; display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 1000px) { .admin-side { flex: 0 0 248px; } }
.admin-side .wordmark { font-size: 20px; }
.admin-tag { font-size: 11px; font-weight: 700; background: #2E2A3B; color: var(--white); padding: 3px 8px; border-radius: 6px; }
.admin-nav { display: flex; flex-direction: column; gap: 4px; font-weight: 500; }
.admin-nav a { padding: 12px; border-radius: 10px; color: var(--muted-light); }
.admin-nav a:hover { color: var(--white); }
.admin-nav a.on { background: var(--yellow); color: var(--black); font-weight: 700; }
.admin-user { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.admin-main { flex: 999 1 760px; min-width: 0; padding: 32px; display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 600px) { .admin-main { padding: 20px 16px; } }
.admin-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.admin-head p { margin: 0; }
.inline-form { display: flex; gap: 8px; align-items: center; }
.inline-form .input { width: auto; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.stat strong { font-size: 28px; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.filter-tabs a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.filter-tabs a.on { background: var(--black); color: var(--white); }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 15px; }
table.data th { text-align: left; color: var(--muted); font-size: 13px; font-weight: 600; padding: 12px; }
table.data td { padding: 12px; border-top: 1px solid var(--gray-bg); vertical-align: middle; }
table.data th:first-child, table.data td:first-child { padding-left: 20px; }
table.data th:last-child, table.data td:last-child { padding-right: 20px; }
.row-event { display: flex; align-items: center; gap: 14px; }
.thumb { width: 52px; height: 64px; border-radius: 8px; flex: none; font-size: 9px; padding: 6px; }
.row-switch { display: flex; align-items: center; gap: 10px; }
.dot-label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.dot-label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.dot-label.ok { color: var(--ok); }
.dot-label.warn { color: var(--error); }
.switch-form { display: flex; align-items: center; gap: 10px; margin: 0; }
.switch { position: relative; width: 52px; height: 30px; border-radius: 999px; border: 0; padding: 3px; background: #9C98A8; display: flex; justify-content: flex-start; cursor: pointer; flex: none; }
/* 44px tap area around the 30px switch */
.switch::after { content: ""; position: absolute; inset: -7px -4px; }
.switch.on { background: var(--black); justify-content: flex-end; }
.switch .knob { width: 24px; height: 24px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
.switch.on .knob { background: var(--yellow); }
.switch-label { font-size: 14px; font-weight: 600; }
.switch-label.ok { color: var(--ok); }
.switch-label.warn { color: var(--gold-text); }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); }
.tab { min-height: 48px; display: inline-flex; align-items: center; padding: 0 18px; border-bottom: 3px solid transparent; margin-bottom: -1px; font-weight: 500; }
.tab.on { border-bottom-color: var(--yellow); font-weight: 700; }
.admin-cols { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.admin-col-main { flex: 999 1 520px; min-width: 0; }
.admin-col-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.panel-attn { border: 2px solid var(--yellow); }
.meter { display: flex; flex-direction: column; gap: 6px; }
.meter.compact { margin-top: 6px; color: var(--muted); }
.meter-bar { display: block; height: 8px; border-radius: 999px; background: var(--gray-bg); overflow: hidden; }
.meter-bar span { display: block; height: 100%; background: var(--black); }
.upload-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.upload-card { display: flex; flex-direction: column; gap: 12px; }
.upload-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.upload-head.wrap { flex-wrap: wrap; align-items: center; }
.upload-preview { width: 100%; border-radius: 12px; object-fit: cover; background: var(--paper); }
.upload-preview.empty { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; border: 1px dashed var(--line-strong); }
.up-poster { aspect-ratio: 4 / 5; max-height: 280px; }
.up-banner, .up-og { aspect-ratio: 16 / 9; }
.up-seatmap { aspect-ratio: 4 / 3; object-fit: contain; }
.dropzone { display: flex; align-items: center; gap: 10px; padding: 14px; border: 2px dashed #8C8898; border-radius: 12px; background: #FAF9F6; cursor: pointer; font-size: 13px; }
.dropzone:hover, .dropzone:focus-within { border-color: var(--black); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.gallery-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.gallery-item { border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.zone-edit { display: flex; flex-direction: column; gap: 8px; }
.zone-edit-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; align-items: end; }
.zone-edit-form .full { grid-column: 1 / -1; }
.zone-sold { align-self: center; }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.check-list li { display: flex; gap: 10px; }
.check-list li span { font-weight: 700; width: 16px; flex: none; }
.check-list .ok span { color: var(--ok); }
.check-list .bad span { color: var(--error); }
.serp { gap: 4px; font-family: Arial, sans-serif; }
.serp strong { font-family: var(--body); margin-bottom: 6px; }
.serp-url { font-size: 13px; color: #3C4043; word-break: break-all; }
.serp-title { font-size: 19px; color: #1A0DAB; line-height: 1.3; }
.serp-desc { font-size: 14px; color: #4D5156; line-height: 1.55; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.filter-bar select.input { width: auto; }
.filter-bar input.input { flex: 1 1 260px; width: auto; }
.filter-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.seg { display: inline-flex; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 3px; gap: 2px; }
.seg a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 9px; font-weight: 600; font-size: 14px; }
.seg a.on { background: var(--black); color: var(--white); }
.hero-stat strong { font-size: 34px; }
.panel-pad { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
table.data.compact { min-width: 0; }
.dl-list { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 0; font-size: 14px; }
.dl-list dt { color: var(--muted); }
.dl-list dd { margin: 0; text-align: right; word-break: break-word; }
.chart { width: 100%; height: auto; display: block; }
.chart .grid { stroke: var(--gray-bg); stroke-width: 1; }
.chart .baseline { stroke: var(--line-strong); stroke-width: 1; }
.chart .axis { fill: var(--muted); font-size: 12px; font-family: var(--body); }
.chart .bar path { fill: var(--black); }
.chart .bar .hit { fill: transparent; }
.chart .bar:hover .hit { fill: var(--yellow-tint); }
.chart .bar:hover path { fill: #3A3548; }
details summary { cursor: pointer; min-height: 32px; display: flex; align-items: center; }
/* Blog */
.blog-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 24px; }
.blog-hero { position: relative; display: flex; align-items: flex-end; min-height: 320px; border-radius: 24px; overflow: hidden; background: var(--black); color: var(--white); margin-bottom: 28px; }
.blog-hero:hover { color: var(--white); }
.blog-hero-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-hero-cover.cover-type { font-size: 64px; }
.blog-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(17, 17, 17, 0.92), rgba(17, 17, 17, 0.1) 70%); }
.blog-hero-text { position: relative; z-index: 1; padding: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: 760px; }
.blog-hero-title { font-family: var(--display); font-size: clamp(26px, 4vw, 40px); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
.blog-hero-excerpt { color: #E4E1DA; font-size: 16px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.post-card:hover { color: var(--black); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(17, 17, 17, 0.08); }
.post-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--paper); }
.cover-type { display: flex; align-items: flex-end; padding: 16px; background: var(--black); color: var(--yellow); font-family: 'Bricolage Grotesque', var(--body); font-weight: 800; font-size: 24px; line-height: 1; overflow: hidden; }
.post-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-title { font-size: 17px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-excerpt { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13px; color: var(--muted); padding-top: 6px; }
.post-views { margin-left: auto; }
.post-source { margin-left: auto; font-weight: 600; color: var(--black); }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; }
.article { max-width: 760px; padding-top: 40px; }
.article-title { font-family: var(--display); font-size: clamp(30px, 5vw, 44px); line-height: 1.12; letter-spacing: -0.02em; margin: 4px 0 12px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.article-lead { font-size: 19px; line-height: 1.6; color: #3E3A4A; margin: 0 0 24px; }
.article-cover { width: 100%; border-radius: var(--radius); margin-bottom: 28px; }
.prose { font-size: 17px; line-height: 1.85; }
.prose h2 { font-size: 26px; margin: 36px 0 12px; }
.prose h3 { font-size: 20px; margin: 28px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; }
.prose a { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.prose img { border-radius: 14px; margin: 8px 0; }
.prose figure { margin: 24px 0; }
.prose figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 6px; }
.prose blockquote { margin: 24px 0; padding: 8px 0 8px 20px; border-left: 4px solid var(--yellow); font-size: 19px; color: #3E3A4A; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.article-event { display: flex; align-items: center; gap: 16px; padding: 16px; margin-top: 36px; background: var(--white); border: 2px solid var(--black); border-radius: var(--radius); flex-wrap: wrap; }
.article-event:hover { color: var(--black); background: var(--yellow-tint); }
.article-event-poster { width: 72px; height: 90px; border-radius: 10px; font-size: 10px; padding: 6px; flex: none; }
.article-event-text { flex: 1 1 200px; display: flex; flex-direction: column; gap: 2px; }
.thumb-wide { width: 88px; height: 50px; border-radius: 8px; object-fit: cover; font-size: 0; padding: 0; }
.inline-image { display: grid; grid-template-columns: 56px 1fr auto; gap: 8px; align-items: center; }
.inline-image img { width: 56px; height: 40px; object-fit: cover; border-radius: 6px; }
.feed-settings { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: flex-end; }
.feed-settings .field { flex: 1 1 180px; }
form.inline { display: inline; }
.mono-soft { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 14px; line-height: 1.7; }

/* Check-in (dark, phone-first) */
.checkin-body { background: var(--black); color: var(--white); min-height: 100vh; }
.checkin-body a { color: var(--muted-light); }
.checkin-body a:hover { color: var(--yellow); }
.checkin-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #2E2A3B; }
.checkin-top .wordmark { font-size: 18px; }
.checkin-main { max-width: 720px; margin: 0 auto; padding: 20px 16px 48px; display: flex; flex-direction: column; gap: 16px; }
.checkin-events { display: flex; flex-direction: column; gap: 10px; }
.checkin-event { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; background: #1D1A28; border: 1px solid #2E2A3B; min-height: 64px; }
.checkin-body a.checkin-event { color: var(--white); }
.checkin-event.today { border-color: var(--yellow); }
.scanner { display: flex; flex-direction: column; gap: 16px; }
.scanner-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: flex-end; }
.scanner-title { font-family: var(--display); font-size: 24px; line-height: 1.15; margin: 4px 0; }
.scanner-count { display: flex; flex-direction: column; align-items: flex-end; }
.scanner-count strong { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--yellow); }
.scan-result { border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 4px; border: 3px solid transparent; }
.scan-result strong { font-size: 22px; line-height: 1.3; }
.scan-result.idle { background: #1D1A28; border-color: #2E2A3B; }
.scan-result.r-ok { background: #0B6B45; border-color: #3DDC97; }
.scan-result.r-duplicate, .scan-result.r-invalid, .scan-result.r-wrong_event { background: #8A1C12; border-color: #FF7A6E; }
.scan-result.r-unpaid { background: #7A5C00; border-color: var(--yellow); }
.scan-result.r-undo { background: #2E2A3B; border-color: var(--muted-light); }
.camera-box { position: relative; border-radius: 18px; overflow: hidden; background: #1D1A28; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.camera-box video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.camera-frame { position: absolute; inset: 18% 22%; border: 3px solid var(--yellow); border-radius: 16px; opacity: 0; pointer-events: none; }
.camera-on .camera-frame { opacity: 0.9; }
.camera-start { position: relative; }
.camera-note { color: var(--muted-light); margin: -8px 0 0; min-height: 1em; }
.manual-form { display: flex; flex-direction: column; gap: 6px; color: var(--muted-light); }
.manual-row { display: flex; gap: 8px; }
.manual-row .input { flex: 1; font-size: 18px; min-height: 52px; text-transform: uppercase; }
.recent-title { font-size: 16px; margin: 8px 0 0; font-family: var(--body); }
.recent-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.recent-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #1D1A28; border-left: 4px solid #2E2A3B; }
.recent-list li.r-ok { border-left-color: #3DDC97; }
.recent-list li.r-duplicate, .recent-list li.r-invalid, .recent-list li.r-wrong_event { border-left-color: #FF7A6E; }
.recent-list li.r-unpaid { border-left-color: var(--yellow); }
.recent-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.recent-main .small { color: var(--muted-light); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-meta { color: var(--muted-light); white-space: nowrap; }
.checkin-who { max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.staff-name { display: flex; flex-direction: column; gap: 6px; color: var(--muted-light); }
.staff-name .input { min-height: 48px; font-size: 16px; }
.link-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.link-list li { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.link-list li.inactive { opacity: 0.6; }
.link-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.created-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.qr-admin { width: 220px; height: 220px; flex: none; background: var(--white); }
.created-text { flex: 1 1 280px; min-width: 0; }
.ticket-used { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--gray-bg); color: var(--black); }
pre.code { margin: 0; background: var(--black); color: var(--paper); border-radius: 12px; padding: 16px; font-family: 'IBM Plex Mono', monospace; font-size: 13px; line-height: 1.6; overflow-x: auto; }

/* Long unbroken words (URLs, English titles in Thai text) must wrap instead of clipping */
.post-title, .card-title, .blog-hero-title, .blog-hero-excerpt, .cover-type span, .poster-type span, .ticket-title, .scanner-title, .h-display, .article-title { overflow-wrap: anywhere; }
.blog-hero-text { min-width: 0; width: 100%; box-sizing: border-box; }
/* Links inside tables and back links get a usable tap height */
table.data td a:not(.btn) { display: inline-block; padding: 10px 0; }
.breadcrumb a, a.small { padding: 10px 0; display: inline-block; }

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  body { font-size: 15px; }
  h2 { font-size: 24px; margin-bottom: 14px; }
  .section { padding-top: 32px; }

  /* Give the logo and account controls their own rows on narrow screens. */
  .header-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .header-row > .brand { grid-column: 1; grid-row: 1; justify-self: start; }
  .header-actions { grid-column: 1; grid-row: 2; min-width: 0; width: 100%; gap: 8px; }
  .header-actions .user-menu { width: 100%; min-width: 0; gap: 8px; flex-wrap: wrap; }
  .header-actions .user-menu > * { flex-shrink: 0; }
  .search { grid-column: 1; grid-row: 3; margin-left: 0; min-width: 0; }
  .search input { width: 100%; font-size: 16px; } /* 16px stops iOS zooming on focus */
  .nav { grid-column: 1; grid-row: 4; min-width: 0; flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 2px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; padding: 10px 12px; background: var(--paper); }
  .wordmark { font-size: 21px; }
  .user-menu { gap: 4px; }
  .user-name { display: none; }
  .user-menu .btn-ghost { padding: 0 8px; }
  .header-actions > .btn-dark { min-height: 44px; padding: 0 14px; }

  /* Home hero: poster no longer fills the whole first screen */
  .hero { gap: 20px; padding-top: 16px; }
  .hero-poster { min-height: 0; aspect-ratio: 4 / 3; border-radius: 20px; flex-basis: 100%; }
  .hero-type { padding: 20px; gap: 12px; }
  .hero-title { font-size: clamp(30px, 10vw, 44px); }
  .hero-info { gap: 14px; }
  .btn-row .btn-lg { width: 100%; }

  .chip-row { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 20px; padding: 0 16px 4px; scrollbar-width: none; }
  .chip-row::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; flex: none; }
  .section-head { align-items: center; }
  .sort-select { font-size: 15px; }
  .grid-events, .post-grid { grid-template-columns: 1fr; gap: 16px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { padding: 20px; }

  /* Event page: compact poster banner, booking summary flows after the zones */
  .event-hero { padding: 12px 0 28px; }
  .breadcrumb { margin-bottom: 8px; }
  .breadcrumb [aria-current] { display: none; }
  .event-hero-row { gap: 20px; }
  .event-poster { flex-basis: 100%; max-width: none; aspect-ratio: 16 / 9; font-size: clamp(28px, 9vw, 40px); padding: 18px; border-radius: 18px; }
  .event-hero-info { gap: 14px; }
  .event-hero-info .btn-lg { width: 100%; }
  .kv-grid { gap: 10px 16px; }
  .panel { padding: 18px; border-radius: 16px; }
  .summary { position: static; }
  .zone-option { padding: 14px; gap: 10px 12px; }
  .zone-text strong { font-size: 16px; }
  .soon-card { padding: 32px 20px; border-radius: 20px; }

  /* Ticket */
  .ticket-main, .ticket-stub { padding: 20px; }
  .ticket-stub { border-left: 0; border-top: 3px dashed var(--line-strong); }
  .ticket-title { font-size: 24px; }

  /* Blog */
  .blog-hero { min-height: 240px; border-radius: 18px; }
  .blog-hero-text { padding: 20px; }
  .article { padding-top: 20px; }
  .prose { font-size: 16px; line-height: 1.8; }
  .article-lead { font-size: 17px; }
  .pager .btn { padding: 0 12px; }

  /* Sign-in pages: the dark brand panel shrinks to a header strip */
  .login-wrap { min-height: 0; }
  .login-side { flex-basis: 100%; padding: 16px; gap: 0; min-height: 0; }
  .login-side .login-pitch, .login-side > .small { display: none; }
  .login-main { padding: 24px 16px 40px; align-items: flex-start; }
  .h-page { font-size: 26px; }
  .provider-btn { min-height: 52px; font-size: 15px; }

  .admin-main { padding: 16px; gap: 16px; }
  .admin-head .btn-row, .admin-head > .btn { width: 100%; }
  .admin-head .btn-row > *, .admin-head > .btn { flex: 1 1 auto; }
  .inline-form { flex-wrap: wrap; }
  .inline-form .input { flex: 1 1 140px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 14px; }
  .stat strong { font-size: 22px; }
  .hero-stat strong { font-size: 26px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tab { white-space: nowrap; flex: none; padding: 0 14px; }
  .filter-tabs, .seg { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; }
  .seg a, .filter-tabs a { white-space: nowrap; flex: none; }
  .filter-row { flex-direction: column; align-items: stretch; }
  .zone-edit-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qr-admin { width: 180px; height: 180px; margin: 0 auto; }
  .upload-grid { grid-template-columns: 1fr; }

  /* Check-in: counter sits beside the title, camera keeps a phone-friendly height */
  .checkin-main { padding: 14px 12px 40px; gap: 12px; }
  .scanner-head { flex-wrap: nowrap; align-items: flex-start; }
  .scanner-title { font-size: 20px; }
  .scanner-count strong { font-size: 32px; }
  .scanner-count { flex: none; text-align: right; }
  .scan-result { padding: 14px; }
  .scan-result strong { font-size: 19px; }
  .camera-box { aspect-ratio: 1 / 1; }
  .manual-row .btn { padding: 0 14px; }
}

/* ---------- Admin below desktop width: sidebar becomes a top bar ---------- */
@media (max-width: 999px) {
  .admin { flex-direction: column; flex-wrap: nowrap; }
  .admin-side { flex: none; padding: 10px 16px; gap: 6px; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .admin-side > .brand { flex: 1 1 auto; }
  .admin-nav { flex-direction: row; overflow-x: auto; order: 3; flex-basis: 100%; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .admin-nav::-webkit-scrollbar { display: none; }
  .admin-nav a { white-space: nowrap; padding: 10px 12px; min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; }
  .admin-user { margin-top: 0; flex-direction: row; align-items: center; }
  .admin-user .small { display: none; }
}

/* Portrait event artwork: preserve all poster details on desktop and mobile. */
.hero-poster.vertical { flex: 0 1 400px; width: 100%; max-width: 400px; min-height: 0; aspect-ratio: 4 / 5; align-self: center; margin-inline: auto; }
.hero-poster.vertical img { object-fit: contain; }
.user-menu { flex-wrap: wrap; }

.account-shortcut { margin-top: 12px; margin-bottom: 24px; }
/* Customer account: membership pass, profile card and attendance tickets. */
.account-page { max-width: 1120px; }
.account-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px; margin-bottom:28px; }
.account-heading .h-page { margin-top:8px; margin-bottom:0; }
.account-grid { display:grid; grid-template-columns:minmax(260px,340px) minmax(0,1fr); gap:28px; align-items:start; }
.member-ticket { background:#fff; border:1px solid var(--line); border-radius:24px; overflow:hidden; box-shadow:0 8px 28px #11111108; min-width:0; }
.member-ticket-top { display:flex; justify-content:space-between; gap:12px; padding:22px; background:var(--yellow); font-size:12px; font-weight:800; letter-spacing:.06em; }
.member-ticket-body { display:flex; flex-direction:column; align-items:center; gap:10px; text-align:center; padding:32px 24px; }
.member-avatar { width:76px; height:76px; border-radius:50%; object-fit:cover; margin-bottom:8px; }
.member-initial { display:grid; place-items:center; background:var(--paper); font-size:30px; font-weight:800; }
.member-name { font-size:24px; line-height:1.3; overflow-wrap:anywhere; }
.member-email { font-size:14px; color:var(--muted); overflow-wrap:anywhere; max-width:100%; }
.member-ticket-stub { position:relative; border-top:2px dashed var(--line); display:flex; flex-direction:column; gap:12px; padding:24px; text-align:center; font-size:13px; }
.member-ticket-stub a { font-weight:700; font-size:16px; }
.member-ticket-stub::before,.member-ticket-stub::after { content:''; position:absolute; top:-11px; width:20px; height:20px; border-radius:50%; background:var(--paper); border:1px solid var(--line); }
.member-ticket-stub::before { left:-11px; }.member-ticket-stub::after { right:-11px; }
.account-panel { min-width:0; background:#fff; border:1px solid var(--line); border-radius:24px; overflow:hidden; }
.account-panel-head { padding:24px 28px 0; }
.account-panel-head h2 { font-size:23px; margin:0 0 6px; }
.account-panel-head p { margin:0; font-size:14px; line-height:1.6; }
.account-panel .profile-form { border:0; border-radius:0; margin:0; padding:24px 28px 28px; box-shadow:none; }
.account-panel .profile-form button { align-self:flex-start; min-width:160px; }
.account-history { margin-top:28px; }
.attendance-empty { display:flex; flex-direction:column; align-items:center; gap:12px; text-align:center; padding:32px 24px 36px; }
.attendance-empty p { margin:0 0 6px; }.attendance-empty strong { font-size:20px; }
.empty-ticket-icon { font-size:36px; }
.attended-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:16px; padding:24px 28px 28px; }
.attended-ticket { display:flex; flex-direction:column; gap:12px; border:1px solid var(--line); border-left:6px solid var(--yellow); border-radius:16px; padding:22px; }
.attended-ticket strong { font-size:18px; }.attended-ticket > span:last-child { border-top:1px dashed var(--line); padding-top:12px; font-size:14px; }
@media(max-width:700px) {
 .account-grid { grid-template-columns:minmax(0,1fr); gap:20px; }
 .account-heading { align-items:flex-start; gap:16px; margin-bottom:24px; }
 .account-heading .btn-row { width:100%; }
 .account-panel-head { padding:22px 20px 0; }
 .account-panel .profile-form { padding:20px; }
 .account-panel .profile-form button { width:100%; }
 .account-history { margin-top:20px; }
 .attended-grid { padding:20px; grid-template-columns:minmax(0,1fr); }
}
/* Balanced site navigation, with account actions in one accessible disclosure. */
.site-header .header-row { display:grid; grid-template-columns:auto minmax(180px,1fr) auto; align-items:center; gap:16px 28px; padding-top:18px; padding-bottom:14px; }
.site-header .header-row > .brand { grid-column:1; grid-row:1; white-space:nowrap; }
.site-header .search { grid-column:2; grid-row:1; width:100%; max-width:500px; justify-self:center; margin:0; min-width:0; }
.site-header .search input { width:100%; min-width:0; }
.site-header .header-actions { grid-column:3; grid-row:1; width:auto; justify-self:end; }
.site-header .nav { grid-column:1 / -1; grid-row:2; display:flex; justify-content:center; gap:12px; margin:0; padding:4px 0 0; min-width:0; }
.account-menu { position:relative; z-index:20; }
.account-trigger { display:flex; align-items:center; gap:10px; padding:7px 12px 7px 7px; min-height:48px; border:1px solid var(--line); border-radius:999px; cursor:pointer; font-size:14px; font-weight:700; list-style:none; white-space:nowrap; }
.account-trigger::-webkit-details-marker { display:none; }
.account-trigger img { border-radius:50%; object-fit:cover; flex:none; }
.account-menu[open] .account-trigger { background:var(--paper); border-color:var(--black); }
.account-trigger:focus-visible { outline:3px solid var(--yellow); outline-offset:3px; }
.account-chevron { font-size:20px; line-height:1; }
.account-dropdown { position:absolute; top:calc(100% + 10px); right:0; width:min(300px,calc(100vw - 32px)); display:flex; flex-direction:column; padding:12px; border:1px solid var(--line); border-radius:18px; background:white; box-shadow:0 12px 40px #11111118; }
.account-dropdown strong { padding:10px 12px 14px; border-bottom:1px solid var(--line); overflow-wrap:anywhere; }
.account-dropdown a,.account-dropdown button { display:block; width:100%; text-align:left; padding:12px; border:0; border-radius:10px; background:none; font:inherit; font-size:14px; color:var(--black); cursor:pointer; text-decoration:none; }
.account-dropdown a:hover,.account-dropdown button:hover { background:var(--paper); }
.account-dropdown form { border-top:1px solid var(--line); margin-top:4px; padding-top:4px; }
img.event-poster { padding:0; object-fit:contain; background:#111; height:auto; }
@media(max-width:700px) {
 .site-header .header-row { grid-template-columns:minmax(0,1fr) auto; gap:14px 12px; padding-top:14px; padding-bottom:12px; }
 .site-header .header-actions { grid-column:2; grid-row:1; }
 .site-header .search { grid-column:1 / -1; grid-row:2; max-width:none; }
 .site-header .nav { grid-column:1 / -1; grid-row:3; justify-content:flex-start; flex-wrap:nowrap; overflow-x:auto; margin:0 -16px; padding:0 16px 2px; gap:8px; }
 .site-header .brand { gap:7px; }
 .site-header .brand > svg { width:36px; }
 .site-header .wordmark { font-size:21px; }
 .account-trigger { padding:5px; gap:5px; }
 .account-trigger > span:not(.avatar-fallback) { display:none; }
 .account-trigger img,.account-trigger .avatar-fallback { width:34px; height:34px; }
 .event-poster { flex-basis:100%; width:100%; max-width:400px; aspect-ratio:4 / 5; margin-inline:auto; }
 img.event-poster { padding:0; object-fit:contain; }
}
@media(max-width:380px) { .site-header .wordmark { font-size:18px; } .site-header .brand > svg { width:32px; } }

/* Refined storefront header: compact masthead and a distinct navigation rail. */
.site-header { position:relative; background:var(--white); border-bottom:1px solid #e9e6de; box-shadow:0 4px 20px #11111104; }
.site-header .header-row { column-gap:40px; row-gap:0; padding-top:20px; padding-bottom:0; }
.site-header .header-row > .brand { gap:11px; min-height:50px; }
.site-header .wordmark { font-size:26px; letter-spacing:-.045em; }
.site-header .search { height:50px; max-width:520px; gap:12px; padding:5px 5px 5px 16px; border-radius:16px; background:#f7f7f5; border-color:#eae9e4; transition:border-color .18s, box-shadow .18s, background .18s; }
.site-header .search > .icon { width:19px; height:19px; color:#898982; }
.site-header .search:focus-within { background:#fff; border-color:#d4b200; box-shadow:0 0 0 4px #ffd60a26; }
.site-header .search input { flex:1; font-size:14px; }
.site-header .search input::placeholder { color:#8b8b83; }
.search-submit { display:grid; place-items:center; flex:none; width:38px; height:38px; border:0; border-radius:11px; background:var(--yellow); cursor:pointer; transition:background .18s; }
.search-submit:hover { background:#efc900; }
.search-submit .icon { width:18px; height:18px; }
.site-header .nav { justify-content:center; align-items:center; gap:8px; margin-top:18px; padding:8px 0; border-top:1px solid #f0eee8; }
.site-header .nav a { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:42px; padding:8px 20px; border-radius:10px; color:#56564f; font-size:14px; font-weight:500; white-space:nowrap; transition:color .18s, background .18s; }
.site-header .nav a:hover { color:var(--black); background:var(--yellow-tint); }
.site-header .nav .nav-tickets { margin-left:12px; padding-left:24px; border-left:1px solid var(--line); border-radius:0 10px 10px 0; color:var(--black); font-weight:600; }
.nav-tickets .icon { width:17px; height:17px; }
.account-trigger { min-height:48px; padding:6px 14px 6px 6px; gap:10px; border-color:#eae9e4; background:#fff; font-size:13px; font-weight:600; transition:background .18s, border-color .18s; }
.account-trigger:hover { background:#fafaf7; border-color:#d7d4c9; }
.account-trigger img,.account-trigger .avatar-fallback { width:34px; height:34px; box-shadow:0 0 0 2px #fff; }
.account-chevron { width:7px; height:7px; margin:0 3px 4px 5px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); font-size:0; transition:transform .18s; }
.account-menu[open] .account-chevron { transform:translateY(3px) rotate(225deg); }
.site-header .header-actions > .btn { border-radius:999px; padding-inline:22px; font-size:14px; }
@media(max-width:900px) and (min-width:701px) {
 .site-header .header-row { column-gap:20px; }
 .site-header .wordmark { font-size:23px; }
 .site-header .search { padding-left:12px; gap:8px; }
 .account-trigger { font-size:12px; gap:7px; }
}
@media(max-width:700px) {
 .site-header .header-row { gap:14px 12px; padding-top:14px; padding-bottom:0; }
 .site-header .wordmark { font-size:23px; }
 .site-header .header-row > .brand { gap:8px; min-height:44px; }
 .site-header .search { height:48px; max-width:none; border-radius:14px; }
 .site-header .search input { font-size:16px; }
 .search-submit { width:36px; height:36px; border-radius:10px; }
 .site-header .nav { margin:0; padding:8px 0 10px; gap:4px; justify-content:flex-start; scrollbar-width:thin; }
 .site-header .nav a { flex:none; padding:8px 14px; background:transparent; font-size:13px; }
 .site-header .nav .nav-tickets { margin-left:4px; padding-left:16px; }
 .account-trigger { padding:5px; }
}
@media(max-width:380px) {
 .site-header .wordmark { font-size:21px; }
}

/* Policy pages and privacy controls. */
.footer-legal { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:20px; }
.legal-links { display:flex; flex-wrap:wrap; gap:12px 24px; }
.legal-links a,.legal-links button { color:var(--muted-light); font:inherit; }
.legal-links button,.policy-settings-link { border:0; padding:0; background:none; cursor:pointer; text-decoration:underline; text-underline-offset:4px; }
.legal-links a:hover,.legal-links button:hover { color:var(--yellow); }
.policy-page { max-width:920px; padding-top:40px; padding-bottom:24px; }
.policy-heading { padding:28px 0 18px; }
.policy-heading h1 { font-size:clamp(28px,5vw,42px); margin:10px 0; line-height:1.35; }
.policy-tabs { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:24px; }
.policy-tabs a { padding:10px 16px; border:1px solid var(--line); border-radius:999px; font-size:14px; background:#fff; }
.policy-tabs a[aria-current='page'] { background:var(--black); color:var(--yellow); border-color:var(--black); }
.policy-content { padding:32px; background:#fff; border:1px solid var(--line); border-radius:24px; overflow-wrap:anywhere; }
.policy-content h2 { font-family:var(--body); font-size:20px; line-height:1.5; margin:28px 0 10px; }
.policy-content h2:first-child { margin-top:0; }
.policy-content p,.policy-content li { color:#595951; line-height:1.9; }
.policy-content ul { padding-left:24px; }
.policy-notice { background:var(--yellow-tint); border:1px solid var(--yellow-soft); border-radius:14px; padding:16px; margin:20px 0; font-size:13px; line-height:1.75; }
.policy-notice p { margin:6px 0; }
.policy-notice > span { display:block; color:var(--muted); font-size:12px; }
.policy-notice a,.cookie-links a,.policy-noscript a { text-decoration:underline; text-underline-offset:3px; }
.policy-settings-link { font-size:13px; color:var(--muted); margin-top:8px; }
.cookie-dialog { width:calc(100% - 32px); max-width:580px; max-height:calc(100dvh - 32px); padding:28px; border:1px solid var(--line); border-radius:24px; color:var(--black); background:white; box-shadow:0 24px 100px #0003; overflow-y:auto; }
.cookie-dialog::backdrop { background:#11111166; backdrop-filter:blur(4px); }
.cookie-mark { display:grid; place-items:center; width:44px; height:38px; margin-bottom:18px; background:var(--yellow); border-radius:10px; font-family:var(--display); font-weight:800; font-size:27px; }
.cookie-dialog h2 { font-family:var(--body); font-size:26px; line-height:1.4; margin:8px 0 12px; }
.cookie-dialog > p { font-size:14px; color:var(--muted); line-height:1.8; }
.cookie-category { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:15px 0; border-top:1px solid var(--line); font-size:14px; }
.cookie-category > span:last-child { font-size:12px; color:var(--ok); }
.cookie-category small { display:block; color:var(--muted); font-size:12px; margin-top:4px; }
.cookie-category input { width:22px; height:22px; accent-color:var(--black); flex:none; }
.cookie-links { display:flex; flex-wrap:wrap; gap:16px; font-size:12px; margin:14px 0 22px; }
.cookie-buttons { display:flex; flex-wrap:wrap; gap:8px; }
.cookie-buttons .btn { flex:1 1 140px; font-size:13px; padding-inline:12px; }
.policy-noscript { padding:16px; font-size:13px; background:var(--yellow-tint); }
@media(max-width:600px) {
 .policy-content { padding:22px 18px; border-radius:18px; }
 .cookie-dialog { padding:22px; }
 .cookie-dialog h2 { font-size:23px; }
 .cookie-buttons { flex-direction:column; }
 .cookie-buttons .btn { flex:auto; width:100%; }
 .legal-links { gap:12px 18px; }
}

/* Compact, non-modal cookie notice anchored to the bottom edge. */
.cookie-dialog { position:fixed; inset:auto 0 0; z-index:100; width:100%; max-width:none; max-height:50dvh; margin:0; padding:20px max(24px, calc((100vw - 1152px) / 2)); border:0; border-top:1px solid var(--line); border-radius:0; box-shadow:0 -6px 28px #11111112; }
.cookie-dialog[open] { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px 36px; align-items:center; }
.cookie-dialog h2 { grid-column:1; margin:0; font-size:18px; }
.cookie-dialog > p { grid-column:1; margin:0; font-size:13px; line-height:1.7; }
.cookie-dialog .cookie-links { grid-column:1; margin:4px 0 0; gap:16px; }
.cookie-dialog .cookie-buttons { grid-column:2; grid-row:1 / 4; flex-wrap:nowrap; }
.cookie-dialog .cookie-buttons .btn { flex:none; padding-inline:18px; }
@media(max-width:700px) {
 .cookie-dialog { padding:16px; max-height:60dvh; }
 .cookie-dialog[open] { grid-template-columns:minmax(0,1fr); gap:8px; }
 .cookie-dialog .cookie-buttons { grid-column:1; grid-row:auto; flex-direction:row; margin-top:4px; }
 .cookie-dialog .cookie-buttons .btn { flex:1; width:auto; padding-inline:10px; }
 .cookie-dialog h2 { font-size:17px; }
}

/* Keep account screens compact enough for a typical laptop or phone viewport. */
.login-wrap { min-height:100dvh; }
.login-main { padding:20px 24px; }
.login-box { max-width:480px; gap:10px; }
.login-box > p { margin:0; }
.login-box .h-page { font-size:28px; margin:0; }
.login-box .provider-list { gap:8px; }
.login-box .provider-btn { min-height:44px; padding:0 14px; font-size:14px; border-radius:11px; }
.login-box .form-stack { gap:10px; }
.login-box .field { gap:4px; font-size:13px; }
.login-box .input { min-height:40px; padding:7px 12px; }
.login-box .btn-lg { min-height:44px; font-size:15px; }
.login-box .policy-notice { margin:4px 0 0; padding:12px 14px; border-radius:12px; font-size:12px; line-height:1.6; }
.login-box .policy-notice p { margin:4px 0; }
.login-box .policy-notice > span { font-size:11px; }
.login-box .policy-settings-link { align-self:flex-start; margin-top:0; font-size:12px; }
@media(min-width:701px) {
 .login-wrap { display:grid; grid-template-columns:minmax(0, .9fr) minmax(0, 1.1fr); }
 .login-side { min-width:0; padding:clamp(24px,4vw,48px); }
 .login-main { min-width:0; }
}
@media(max-width:700px) {
 .login-wrap { display:flex; flex-direction:column; flex-wrap:nowrap; }
 .login-side { flex:none; padding:12px 16px; gap:0; }
 .login-side .login-pitch,.login-side > .small { display:none; }
 .login-main { flex:1; padding:14px 16px; align-items:center; }
 .login-box { gap:8px; }
 .login-box .h-page { font-size:24px; }
 .login-box .input { font-size:16px; }
}
@media(max-height:760px) {
 .login-main { padding-top:12px; padding-bottom:12px; }
 .login-box { gap:7px; }
 .login-box .form-stack { gap:7px; }
 .login-box .provider-list { gap:6px; }
 .login-box .policy-notice { padding:10px 12px; font-size:11px; }
 .login-pitch > svg { width:120px; height:80px; }
}

/* Keep each management row aligned, even when forms sit beside links. */
.table-actions { display:flex; align-items:center; justify-content:flex-end; flex-wrap:nowrap; gap:8px; margin:0; }
.table-actions > form { display:flex; margin:0; }
.table-actions .btn { flex:none; min-height:36px; padding:0 12px; border-radius:9px; font-size:13px; line-height:1.4; }
.table-actions .text-error { border-color:#f0c9c3; background:#fff7f5; }
.table-actions .text-error:hover { background:#fde7e5; color:var(--error); }
.order-delete-action { margin-bottom:20px; }
/* Poster artwork stays visible in full on article cards. */
.post-cover { object-fit:contain; background:#161616; }

/* Editorial poster wall: each cover keeps its original dimensions. */
.blog-head { align-items:center; gap:24px; margin-bottom:28px; }
.blog-head .eyebrow { display:block; font-family:var(--display); font-size:11px; font-weight:700; letter-spacing:.16em; margin-bottom:10px; }
.blog-head .h-page { font-size:clamp(30px,4vw,42px); line-height:1.3; margin-bottom:8px; }
.blog-intro { margin:0; color:var(--muted); font-size:14px; line-height:1.8; }
.post-grid { display:block; columns:3; column-gap:24px; }
.post-card { display:inline-flex; vertical-align:top; width:100%; margin:0 0 24px; break-inside:avoid; border-color:#e7e4dc; border-radius:18px; box-shadow:0 2px 4px #11111103; }
.post-card:hover { color:var(--black); transform:translateY(-3px); border-color:#d6d1c2; box-shadow:0 12px 30px #1111110c; }
.post-card:focus-visible { outline-offset:4px; }
img.post-cover { display:block; width:100%; height:auto; aspect-ratio:auto; object-fit:contain; background:transparent; }
.post-cover.cover-type { aspect-ratio:4 / 3; background:var(--black); }
.post-body { padding:20px; gap:10px; }
.post-kicker { align-self:flex-start; font-size:11px; font-weight:600; letter-spacing:.02em; color:var(--gold-text); background:var(--yellow-tint); border-radius:6px; padding:4px 8px; }
.post-title { font-size:18px; line-height:1.65; letter-spacing:-.015em; -webkit-line-clamp:3; }
.post-excerpt { font-size:13px; line-height:1.8; -webkit-line-clamp:2; }
.post-meta { font-size:11px; gap:8px; padding-top:4px; }
.post-read { display:flex; align-items:center; justify-content:space-between; border-top:1px solid #eeece6; padding-top:12px; margin-top:4px; font-size:12px; font-weight:600; }
.post-read > span { display:grid; place-items:center; width:26px; height:26px; border-radius:50%; background:var(--paper); font-size:16px; }
.post-card:hover .post-read > span { background:var(--yellow); }
/* Featured stories place text beside the poster instead of over the artwork. */
.blog-hero { display:grid; grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr); align-items:center; min-height:0; background:var(--black); border:1px solid var(--line); }
.blog-hero::after { display:none; }
img.blog-hero-cover { position:static; width:100%; height:auto; object-fit:contain; }
.blog-hero-cover.cover-type { position:static; min-height:260px; height:100%; }
.blog-hero-text { padding:36px; gap:18px; }
.blog-hero-title { line-height:1.45; }
.blog-hero-excerpt { font-size:14px; line-height:1.8; }
.article-cover { display:block; width:auto; max-width:100%; max-height:760px; height:auto; margin:0 auto 32px; object-fit:contain; border-radius:16px; }
@media(max-width:960px) {
 .post-grid { columns:2; column-gap:20px; }
 .post-card { margin-bottom:20px; }
 .blog-hero-text { padding:24px; }
}
@media(max-width:600px) {
 .blog-head { align-items:flex-start; gap:18px; }
 .blog-intro { font-size:13px; }
 .post-grid { columns:1; }
 .post-card { margin-bottom:20px; border-radius:16px; }
 .post-body { padding:18px; }
 .blog-hero { grid-template-columns:minmax(0,1fr); }
 .blog-hero-cover { max-width:100%; }
 .blog-hero-text { padding:22px; }
 .article-cover { max-height:none; border-radius:12px; }
}
@media(prefers-reduced-motion:reduce) { .post-card { transition:none; } .post-card:hover { transform:none; } }
