/* ==========================================================================
   Car & Bike Expo — site styles
   Palette taken from the logo: signal red, asphalt black, white, with a yellow accent.
   ========================================================================== */

:root {
    --red: #e3202a;
    --red-dark: #b3141d;
    --yellow: #ffc61a;
    --ink: #0b0b0d;
    --ink-2: #141418;
    --ink-3: #1e1e24;
    --line: #2b2b33;
    --paper: #ffffff;
    --paper-2: #f4f4f6;
    --text: #16161a;
    --muted: #6b6b78;
    --muted-dark: #a3a3b0;
    --ok: #1f9d55;
    --warn: #f0a500;

    --font-display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue Condensed", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;
    --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;

    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 18px 50px rgba(0, 0, 0, .35);
    --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 28px; } }
.narrow { max-width: 820px; }
.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; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--yellow); color: var(--ink); padding: 8px 14px; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 8px; top: 8px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.nowrap { white-space: nowrap; }
.w-full { width: 100%; }
code { background: var(--paper-2); padding: 1px 6px; border-radius: 4px; font-size: .9em; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    font: 700 1rem/1 var(--font-body);
    text-decoration: none; text-transform: uppercase; letter-spacing: .04em;
    padding: .9em 1.4em; border-radius: 999px; border: 2px solid transparent;
    cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(227, 32, 42, .35); }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-ghost-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); color: #fff; }
.btn-lg { font-size: 1.05rem; padding: 1.05em 1.7em; }
.btn-sm { font-size: .8rem; padding: .65em 1.1em; }
.btn-xs { font-size: .72rem; padding: .5em .85em; }
.btn-warn { background: var(--warn); color: var(--ink); }
.btn-ok { background: var(--ok); color: #fff; }
.btn-danger { background: transparent; color: var(--red); border-color: var(--red); }
.btn-danger:hover { background: var(--red); color: #fff; }
.btn-link { background: none; border: 0; color: var(--red); font: inherit; font-weight: 600; cursor: pointer; padding: .4em 0; text-decoration: underline; text-underline-offset: 3px; }
.btn-link:disabled { color: var(--muted); cursor: default; text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(11, 11, 13, .92);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand:hover { color: #fff; }
.brand img { width: 52px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-display); text-transform: uppercase; }
.brand-text strong { font-size: 1.15rem; font-weight: 900; font-style: italic; letter-spacing: .02em; }
.brand-text span { font-size: .78rem; color: var(--yellow); letter-spacing: .18em; margin-top: 3px; }
.brand-sm img { width: 40px; }

.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle .bar { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 4px; padding: 12px 16px 20px;
    background: var(--ink); border-bottom: 1px solid var(--line);
}
.site-nav.open { display: flex; }
.site-nav a:not(.btn) {
    color: #e9e9ee; text-decoration: none; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .9rem;
    padding: 10px 4px; border-bottom: 2px solid transparent;
}
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"]:not(.btn) { color: #fff; border-bottom-color: var(--red); }
.site-nav .btn { margin-top: 8px; }
@media (min-width: 900px) {
    .nav-toggle { display: none; }
    .site-nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 22px; padding: 0; background: none; border: 0; }
    .site-nav .btn { margin: 0 0 0 6px; }
}

/* ---------- Shared section styles ---------- */
.eyebrow {
    display: inline-block; font-weight: 800; text-transform: uppercase; letter-spacing: .2em; font-size: .78rem;
    color: var(--red); margin-bottom: 14px;
}
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 3px; background: currentColor; vertical-align: middle; margin-right: 10px; transform: skewX(-20deg); }
.eyebrow-light { color: #fff; }
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section-title {
    font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase;
    font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -.01em;
}
.lead { font-size: 1.12rem; color: var(--muted); }
.prose p { font-size: 1.06rem; }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .lead, .section-dark p { color: var(--muted-dark); }
.section-red { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.section-red::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-60deg, transparent 0 42px, rgba(0,0,0,.06) 42px 84px); pointer-events: none; }
.section-red > .container { position: relative; z-index: 1; }
.split { display: grid; gap: 28px; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; }
.link-arrow .icon { transition: transform .15s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero, .register-wrap, .page-hero, .poster { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.hero-stripes {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 60% 70% at 85% 30%, rgba(227, 32, 42, .35), transparent 70%),
        linear-gradient(115deg, transparent 0 58%, rgba(227, 32, 42, .9) 58% 61%, transparent 61% 63%, rgba(255, 198, 26, .85) 63% 64%, transparent 64%),
        repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 80px);
}
.hero-grid { position: relative; display: grid; gap: 40px; padding: 56px 16px 72px; align-items: center; }
@media (min-width: 720px) { .hero-grid { padding: 72px 28px 96px; } }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 7fr 5fr; min-height: calc(100vh - 72px); max-height: 880px; } }
.hero .eyebrow { color: var(--yellow); }
.hero-title {
    font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase;
    font-size: clamp(3.2rem, 11vw, 7.2rem); line-height: .88; letter-spacing: -.02em; margin-bottom: 22px;
}
.hero-title .accent { color: var(--red); -webkit-text-stroke: 0; }
.hero-title .amp { color: var(--yellow); }
.hero-tagline { font-size: 1.12rem; color: #cfcfd8; max-width: 560px; }
.hero-facts { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 10px; }
.hero-facts li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 1.05rem; }
.hero-facts .icon { color: var(--red); flex: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badge { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.hero-badge img { width: min(78vw, 400px); filter: drop-shadow(0 24px 40px rgba(0,0,0,.6)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-1deg); } }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; max-width: 400px; }
.countdown div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-sm); text-align: center; padding: 12px 4px; }
.countdown strong { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 900; font-style: italic; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted-dark); }
.countdown.live strong { color: var(--yellow); }

/* ---------- Ticker ---------- */
.ticker { background: var(--yellow); color: var(--ink); overflow: hidden; border-block: 3px solid var(--ink); }
.ticker-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker-track span {
    font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.15rem;
    padding: 12px 22px; white-space: nowrap;
}
.ticker-track span::after { content: "★"; margin-left: 44px; color: var(--red); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 18px; margin-top: 36px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.zone-card {
    position: relative; background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px 24px; overflow: hidden; transition: transform .2s ease, border-color .2s ease;
}
.zone-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform .25s ease; }
.zone-card:hover { transform: translateY(-4px); border-color: #3b3b46; }
.zone-card:hover::before { transform: scaleY(1); }
.zone-num { position: absolute; right: 18px; top: 10px; font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: 3.2rem; color: rgba(255,255,255,.06); line-height: 1; }
.zone-icon { display: inline-flex; width: 58px; height: 58px; align-items: center; justify-content: center; border-radius: 12px; background: rgba(227,32,42,.14); color: var(--red); margin-bottom: 18px; }
.zone-card h3 { font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.35rem; color: #fff; }
.zone-card p { margin: 0; color: var(--muted-dark); }

/* ---------- Participating brands ---------- */
.brands { background: var(--paper-2); }
.brands-group {
    display: flex; align-items: center; gap: 10px; margin: 40px 0 16px;
    font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.4rem;
}
.brands-group .icon { color: var(--red); }
.brand-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .brand-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1040px) { .brand-grid-cars { grid-template-columns: repeat(4, 1fr); } .brand-grid-bikes { grid-template-columns: repeat(4, 1fr); } }
.brand-card {
    position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-3);
    aspect-ratio: 4 / 3; box-shadow: 0 10px 28px rgba(0, 0, 0, .14);
}
.brand-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .4s ease; }
.brand-card img.pos-low { object-position: center 70%; }
.brand-card img.pos-low-right { object-position: 70% 75%; }
.brand-card:hover img { transform: scale(1.05); }
.brand-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 11, 13, .88) 0, rgba(11, 11, 13, .2) 45%, transparent 70%); pointer-events: none; }
.brand-name {
    position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; color: #fff;
    font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase;
    font-size: clamp(1.05rem, 2.6vw, 1.45rem); letter-spacing: .02em; line-height: 1.05;
}
.brand-name::before { content: ""; display: block; width: 28px; height: 3px; background: var(--red); margin-bottom: 8px; transform: skewX(-20deg); }
.brands-note { margin: 22px 0 0; }
.credits-list { padding-left: 1.2em; }
.credits-list li { margin-bottom: .5em; }

/* ---------- Experience & details ---------- */
.experience { display: grid; gap: 36px; }
@media (min-width: 980px) { .experience { grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; } }
.details-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.details-card::before { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; background: var(--red); transform: rotate(45deg); opacity: .9; }
.details-card h3 { position: relative; font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.6rem; }
.details-card dl { margin: 0 0 24px; display: grid; gap: 16px; position: relative; }
.details-card dl > div { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.details-card dt { display: flex; align-items: center; gap: 8px; font-size: .75rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted-dark); margin-bottom: 4px; }
.details-card dt .icon { color: var(--red); }
.details-card dd { margin: 0; font-weight: 700; font-size: 1.08rem; }
.details-card a { color: #fff; }
.details-card a:hover { color: var(--yellow); }
.details-card a.btn { color: #fff; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.12rem; font-weight: 600; background: rgba(0,0,0,.16); padding: 16px 18px; border-radius: var(--radius-sm); }
.checklist .icon { flex: none; background: #fff; color: var(--red); border-radius: 50%; padding: 3px; }
.checklist-dark li { background: var(--paper-2); color: var(--text); }
.checklist-dark .icon { background: var(--red); color: #fff; }

/* ---------- CTA ---------- */
.cta { background: var(--paper-2); }
.cta-inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1fr auto; } }
.cta .lead { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Inner page hero ---------- */
.page-hero { padding: 64px 0 56px; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 0 70%, var(--red) 70% 72%, transparent 72% 74%, var(--yellow) 74% 74.6%, transparent 74.6%); opacity: .9; }
.page-hero .container { position: relative; }
.page-hero .eyebrow { color: var(--yellow); }
.page-title { font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(2.4rem, 7vw, 4.4rem); line-height: .95; }
.page-hero .lead { color: #cfcfd8; margin: 0; }

/* ---------- Terms ---------- */
.terms h2 { font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.35rem; margin-top: 2em; padding-top: 1em; border-top: 1px solid #e6e6ea; }
.terms ul { padding-left: 1.2em; }
.terms li { margin-bottom: .4em; }
.terms .meta { background: var(--paper-2); border-left: 4px solid var(--red); padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"], input:not([type]), textarea, select {
    width: 100%; font: inherit; font-size: 1rem; color: var(--text);
    padding: .8em .95em; border: 2px solid #d9d9e0; border-radius: var(--radius-sm); background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(227,32,42,.15); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--red); }
textarea { resize: vertical; min-height: 140px; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field-error { color: var(--red); font-size: .88rem; font-weight: 600; margin: 6px 0 0; }
.hint { font-size: .82rem; color: var(--muted); margin: 6px 0 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.input-group { display: flex; }
.input-prefix { display: flex; align-items: center; padding: 0 14px; font-weight: 800; background: var(--paper-2); border: 2px solid #d9d9e0; border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); color: var(--muted); }
.input-group input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.check { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; font-weight: 600; }
.alert { padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-weight: 600; white-space: pre-line; }
.alert-error { background: #fdecee; color: #9b111a; border: 1px solid #f5c2c6; }
.alert-success { background: #e8f6ee; color: #146c3b; border: 1px solid #b9e3c9; }
.alert-info { background: #eef3fb; color: #1d4b8f; border: 1px solid #c8d8f0; }

.contact-grid { display: grid; gap: 32px; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 7fr 5fr; align-items: start; } }
.form-card { background: #fff; border: 1px solid #ececf0; border-radius: var(--radius); padding: 28px 22px; box-shadow: 0 10px 40px rgba(0,0,0,.06); }
@media (min-width: 720px) { .form-card { padding: 36px; } }

/* ---------- Registration ---------- */
.register-wrap { padding: 48px 0 80px; }
.register-grid { position: relative; display: grid; gap: 36px; align-items: center; }
@media (min-width: 980px) { .register-grid { grid-template-columns: 1fr 440px; gap: 64px; min-height: 620px; } }
.register-intro .eyebrow { color: var(--yellow); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: center; color: #d8d8e0; }
.steps li::before { content: counter(s); flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-weight: 900; font-family: var(--font-display); font-style: italic; }
.reg-card { background: #fff; color: var(--text); border-radius: 18px; padding: 30px 22px; box-shadow: 0 30px 80px rgba(0,0,0,.55); border-top: 6px solid var(--red); }
@media (min-width: 720px) { .reg-card { padding: 36px 34px; } }
.reg-title { font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.7rem; }
.fineprint { font-size: .82rem; color: var(--muted); }
.otp-input { text-align: center; font-family: var(--font-display); font-size: 2.2rem !important; font-weight: 900; letter-spacing: .6em; padding-left: 1.2em !important; }
.otp-actions { display: flex; justify-content: space-between; margin-top: 12px; }
.reg-done { text-align: center; }
.reg-done:focus { outline: none; }
.done-icon { display: inline-flex; width: 78px; height: 78px; border-radius: 50%; align-items: center; justify-content: center; background: #e8f6ee; color: var(--ok); margin-bottom: 14px; }
.reg-done .btn { margin-top: 20px; }
.ticket { position: relative; margin: 18px auto 0; background: var(--ink); color: #fff; border-radius: 12px; padding: 18px 20px; display: grid; gap: 4px; }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 22px; height: 22px; background: #fff; border-radius: 50%; transform: translateY(-50%); }
.ticket::before { left: -11px; }
.ticket::after { right: -11px; }
.ticket-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--muted-dark); }
.ticket-code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 2.4rem; font-weight: 800; letter-spacing: .25em; color: var(--yellow); }

/* ---------- QR poster ---------- */
.page-poster { background: var(--ink); }
.poster { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 16px; }
.poster-card { position: relative; width: 100%; max-width: 520px; text-align: center; background: linear-gradient(150deg, var(--red) 0%, #6d0c12 45%, var(--ink-2) 85%); border: 1px solid rgba(255,255,255,.15); border-radius: 22px; padding: 34px 26px; box-shadow: 0 30px 80px rgba(0,0,0,.7); }
.poster-logo { width: 170px; margin: 0 auto 8px; }
.poster-title { font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(2rem, 7vw, 2.8rem); color: var(--yellow); margin-bottom: 6px; }
.poster-meta { font-weight: 700; margin-bottom: 18px; }
.poster-cta { font-size: 1.2rem; color: #fff3c4; margin-bottom: 14px; }
.qr-box { display: inline-block; background: #fff; padding: 16px; border-radius: 16px; min-width: 312px; min-height: 312px; }
.qr-box img { width: 280px; height: 280px; image-rendering: pixelated; }
.poster-url { font-family: ui-monospace, Menlo, Consolas, monospace; margin: 14px 0 4px; font-weight: 700; word-break: break-all; }
.poster-hint { color: rgba(255,255,255,.7); font-size: .9rem; }
.poster-footer { position: relative; margin-top: 18px; color: var(--muted-dark); font-size: .85rem; }
@media print {
    .no-print { display: none !important; }
    .page-poster, .poster { background: #fff !important; }
    .poster-card { box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .hero-stripes { display: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfcfd8; padding: 64px 0 0; border-top: 4px solid var(--red); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-logo { width: 72px; margin-bottom: 14px; }
.site-footer .muted { color: var(--muted-dark); max-width: 340px; }
.footer-title { font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.05rem; color: #fff; letter-spacing: .04em; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .95rem; }
.site-footer a { color: #e9e9ee; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 22px; padding-bottom: 22px; margin-top: 48px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted-dark); }

/* ==========================================================================
   Admin
   ========================================================================== */
.admin { background: var(--paper-2); min-height: 100vh; display: flex; flex-direction: column; }
.admin-bar { background: var(--ink); color: #fff; border-bottom: 3px solid var(--red); }
.admin-bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.admin-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.admin-nav a { color: #e9e9ee; text-decoration: none; font-weight: 700; font-size: .9rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.admin-nav a:hover, .admin-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--red); }
.admin-nav .muted { color: var(--muted-dark); text-transform: none; letter-spacing: 0; font-weight: 500; }
.admin-main { flex: 1; padding: 28px 0 48px; }
.admin-footer { padding-top: 16px; padding-bottom: 20px; color: var(--muted); font-size: .85rem; text-align: right; }
.admin-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.admin-head h1 { font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 2.1rem; margin: 0; }
.admin-head p { margin: 4px 0 0; }
.admin-head-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.admin-head-actions .btn-ghost, .toolbar .btn-ghost, .pager .btn-ghost, .message .btn-ghost { color: var(--ink); border-color: #c9c9d2; }
.admin-head-actions .btn-ghost:hover, .toolbar .btn-ghost:hover, .pager .btn-ghost:hover, .message .btn-ghost:hover { border-color: var(--ink); }
.admin-bar .btn-ghost { font-size: .72rem; }
.select-sm { width: auto; padding: .5em .8em; font-size: .9rem; }
.inline-form { display: inline-flex; gap: 6px; align-items: center; margin: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.stat { background: #fff; border-radius: var(--radius-sm); padding: 16px 18px; border-left: 4px solid var(--red); box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.stat:nth-child(2) { border-left-color: var(--warn); }
.stat:nth-child(3) { border-left-color: var(--ok); }
.stat-num { display: block; font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: 2rem; line-height: 1; }
.stat-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.tabs { display: flex; gap: 6px; background: #fff; padding: 5px; border-radius: 999px; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.tabs a { text-decoration: none; color: var(--text); font-weight: 700; font-size: .88rem; padding: 8px 16px; border-radius: 999px; }
.tabs a[aria-current="page"] { background: var(--ink); color: #fff; }
.search-form { display: flex; gap: 8px; align-items: center; flex: 1; max-width: 460px; min-width: 240px; }
.search-form input { padding: .55em .85em; }
.pill { display: inline-block; font-size: .72rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: #e8e8ee; color: var(--text); }
.tabs a[aria-current="page"] .pill { background: var(--red); color: #fff; }
.pill-warn { background: #fff3d6; color: #8a5d00; }
.pill-ok { background: #e8f6ee; color: #146c3b; }
.pill-muted { background: #ececf0; color: var(--muted); }
.table-wrap { background: #fff; border-radius: var(--radius-sm); overflow-x: auto; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); background: #fafafb; padding: 12px 14px; border-bottom: 1px solid #ececf0; white-space: nowrap; }
.table td { padding: 11px 14px; border-bottom: 1px solid #f1f1f4; vertical-align: middle; }
.table tbody tr:hover { background: #fcfcfd; }
.table .empty { text-align: center; color: var(--muted); padding: 40px 14px; }
.table-compact td, .table-compact th { padding: 8px 10px; }
.pass-badge { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 800; letter-spacing: .12em; background: var(--ink); color: var(--yellow); padding: 3px 8px; border-radius: 6px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.otp-mini { width: 78px !important; padding: .45em .55em !important; font-size: .9rem !important; text-align: center; letter-spacing: .2em; }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 20px 0; }
.login-card { max-width: 400px; margin: 48px auto; background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: 0 10px 40px rgba(0,0,0,.08); border-top: 6px solid var(--red); }
.login-card > img { margin: 0 auto 10px; }
.login-card h1 { text-align: center; font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.8rem; }
.panel { background: #fff; border-radius: var(--radius-sm); padding: 24px; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.panel h2 { font-size: 1.2rem; }
.panel h3 { font-size: 1rem; margin-top: 24px; }
.narrow-panel { max-width: 680px; }
.admin-cols { display: grid; gap: 18px; }
@media (min-width: 900px) { .admin-cols { grid-template-columns: 1fr 1fr; align-items: start; } }
.empty-box { background: #fff; padding: 40px; text-align: center; color: var(--muted); border-radius: var(--radius-sm); }
.messages { display: grid; gap: 12px; }
.message { background: #fff; border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: 0 2px 10px rgba(0,0,0,.04); border-left: 4px solid transparent; }
.message.unread { border-left-color: var(--red); }
.message-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.message-head a { margin-left: 6px; }
.message-body { white-space: normal; overflow-wrap: anywhere; }
