:root {
  --ink: #1d2024;
  --ink-soft: #363940;
  --pink: #ee3d65;
  --pink-dark: #cf2d54;
  --pink-light: #fff0f3;
  --cream: #faf7f1;
  --green: #d7e7d7;
  --muted: #777b80;
  --line: #e9e8e5;
  --body: "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif;
  --display: "Kanit", "Noto Sans Thai", "Leelawadee UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font: 15px/1.7 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.wrap { width: min(1160px, calc(100% - 56px)); margin-inline: auto; }
.topline { min-height: 31px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 4px 12px; color: #fff; background: var(--ink); font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.topline-dot { width: 6px; height: 6px; border-radius: 50%; background: #f15b7d; box-shadow: 0 0 0 4px #ee3d6533; }
.topline-tag { color: #ff92a8; font-weight: 500; letter-spacing: .02em; }
.site-header { position: relative; z-index: 20; min-height: 78px; display: flex; justify-content: space-between; align-items: center; padding: 9px max(28px, calc((100vw - 1160px) / 2)); background: #fff; border-bottom: 1px solid #f1eeec; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 190px; }
.brand-logo { width: 47px; height: 47px; flex: none; overflow: hidden; border: 1px solid #f3e2e4; border-radius: 50%; background: #fff; }
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1.15; }
.brand b { font: 700 17px/1.1 var(--display); letter-spacing: .02em; }
.brand small { margin-top: 4px; color: var(--pink); font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.nav-links { display: flex; align-items: center; gap: 29px; font-size: 12px; font-weight: 600; }
.nav-links a { transition: color .18s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--pink); }
.nav-toggle { display: none; width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 50%; background: #fff; }
.main { min-height: 50vh; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 15px; color: #777b80; font-size: 9px; font-weight: 800; letter-spacing: .17em; }
.eyebrow > span { width: 23px; height: 2px; background: var(--pink); }
.eyebrow-light { color: #f5e9e8; }
.eyebrow-light > span { background: #ff7895; }
.hero-shell { position: relative; min-height: min(690px, calc(100svh - 109px)); display: flex; align-items: center; overflow: hidden; background: #282a2d; color: #fff; isolation: isolate; }
.hero-photo, .hero-shade { position: absolute; inset: 0; z-index: -2; }
.hero-photo { background: url("event/event-venue-1.png") center 51% / cover no-repeat; transform: scale(1.01); }
.hero-shade { z-index: -1; background: linear-gradient(90deg, #121518dc 0%, #1d2024a6 49%, #1d202440 100%), linear-gradient(0deg, #17191c70, transparent 48%); }
.hero-content { padding-top: 39px; padding-bottom: 56px; }
.hero-content h1 { margin: 0; font: 700 clamp(56px, 8vw, 101px)/.96 var(--display); letter-spacing: -.035em; }
.hero-content h1 em { color: #ff7994; font-style: normal; font-size: .73em; letter-spacing: -.015em; }
.hero-tagline { margin: 19px 0 0; color: #fff; font: 600 clamp(22px, 3vw, 32px)/1.5 var(--display); }
.hero-desc { margin: 9px 0 0; color: #f2edeb; font-size: 13px; line-height: 2; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 27px; }
.button { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 20px; border: 0; border-radius: 999px; font-size: 12px; font-weight: 800; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--pink); box-shadow: 0 9px 23px #ee3d6538; }
.button-primary:hover { background: var(--pink-dark); box-shadow: 0 11px 27px #ee3d6545; }
.button-primary:disabled { cursor: not-allowed; opacity: .48; transform: none; box-shadow: none; }
.button-glass { color: #fff; border: 1px solid #ffffff7a; background: #ffffff12; backdrop-filter: blur(8px); }
.button-glass:hover { background: #ffffff24; }
.hero-caption { position: absolute; right: max(28px, calc((100vw - 1160px) / 2)); bottom: 24px; display: flex; align-items: center; gap: 10px; color: #f7eded; font-size: 9px; letter-spacing: .1em; }
.hero-caption span:first-child { color: #ff91a6; font-weight: 800; }
.hero-caption i { width: 28px; height: 1px; background: #ffffff88; }
.event-strip { border-bottom: 1px solid var(--line); background: #fff; }
.strip-inner { min-height: 91px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.strip-inner > div { display: flex; flex-direction: column; line-height: 1.5; }
.strip-inner small { color: #a0a0a1; font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.strip-inner b { font: 600 14px var(--display); }
.strip-heart { color: var(--pink); font-size: 21px; }
.strip-inner > a { padding: 8px 0 8px 12px; color: var(--pink); font-size: 11px; font-weight: 800; white-space: nowrap; }
.strip-inner > a span { margin-left: 8px; }
.section { padding-top: 100px; padding-bottom: 104px; }
.welcome-section { display: grid; grid-template-columns: 1fr .8fr; gap: 10%; align-items: center; }
.welcome-copy h2, .section-title h2, .gallery-heading h2, .register-band h2 { margin: 0; font: 600 clamp(37px, 5vw, 57px)/1.28 var(--display); letter-spacing: -.035em; }
.welcome-copy h2 em, .section-title h2 em, .gallery-heading h2 em, .register-band h2 em { color: var(--pink); font-style: normal; }
.welcome-copy > p:not(.eyebrow) { max-width: 465px; margin: 15px 0 19px; color: var(--muted); font-size: 13px; line-height: 2; }
.text-link { display: inline-flex; align-items: center; gap: 13px; color: var(--pink); font-size: 12px; font-weight: 800; }
.text-link span { font-size: 19px; line-height: 1; transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }
.welcome-stat { min-height: 300px; position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 18px; background: radial-gradient(circle at 50% 42%, #fff 0 28%, transparent 29%), #fff1f3; }
.welcome-stat::before, .welcome-stat::after { content: ""; position: absolute; width: 350px; height: 160px; border: 1px solid #ed819654; border-radius: 50%; transform: rotate(-20deg); }
.welcome-stat::after { transform: rotate(24deg); border-color: #e9c18a65; }
.stat-circle { z-index: 1; width: 143px; height: 143px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #e95572; border-radius: 50%; color: var(--pink); font: 800 9px/1.3 var(--display); letter-spacing: .22em; transform: rotate(8deg); }
.stat-circle b { margin: 5px 0; font-size: 28px; }
.stat-note { position: absolute; right: 29px; bottom: 24px; display: flex; align-items: center; gap: 8px; color: #89848a; font-size: 9px; line-height: 1.5; }
.stat-note b { color: var(--pink); font: 700 37px/1 var(--display); }
.line-section { padding: 100px 0 90px; background: var(--cream); }
.section-title h2 { font-size: clamp(36px, 4.8vw, 52px); }
.section-title > p:not(.eyebrow) { margin: 10px 0 0; color: #838187; font-size: 12px; }
.section-title-center { margin: 0 auto 37px; text-align: center; }
.section-title-center .eyebrow { justify-content: center; }
.section-title-center .eyebrow span:last-child { background: #f4a1b0; }
.line-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.line-card { min-height: 225px; display: flex; flex-direction: column; align-items: flex-start; padding: 18px 18px 16px; border-radius: 12px; }
.line-pink { color: #582633; background: #ffe4e9; }
.line-dark { color: #fff; background: var(--ink); }
.line-cream { color: #3d3734; background: #fff; border: 1px solid #efe8e2; }
.line-green { color: #2d4234; background: #e6eee5; }
.line-card-top { width: 100%; display: flex; justify-content: space-between; align-items: start; }
.line-index { opacity: .5; font: 700 9px var(--display); letter-spacing: .12em; }
.line-icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 19px; }
.line-card-copy { margin-top: 20px; }
.line-card h3 { margin: 0; font: 600 17px/1.5 var(--display); }
.line-card p { margin: 4px 0 0; font-size: 9px; opacity: .68; }
.line-action { width: 100%; display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding: 10px 0 0; border: 0; border-top: 1px solid currentColor; color: inherit; background: transparent; font-size: 10px; font-weight: 800; opacity: .92; }
.line-action > span { font-size: 15px; }
.line-action-pending { opacity: .47; cursor: default; }
.line-note { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 17px 0 0; color: #9a9495; font-size: 9px; }
.line-note span { width: 15px; height: 15px; display: grid; place-items: center; border: 1px solid #c8bfc0; border-radius: 50%; font-size: 8px; }
.categories-section { padding-top: 99px; padding-bottom: 105px; }
.category-list { margin-top: 32px; border-top: 1px solid var(--line); }
.category-item { min-height: 100px; display: grid; grid-template-columns: 46px 48px 1fr 1.25fr; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); }
.category-no { color: #aaa6a6; font: 700 10px var(--display); letter-spacing: .12em; }
.category-heart { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 50%; color: #ca3457; background: #ffedf1; font-size: 22px; }
.category-heart.rainbow { color: #6659b7; background: #eeecff; }
.category-heart.neutral { color: #a47a45; background: #fff4e5; }
.category-heart.couple { color: #fff; background: var(--pink); }
.category-item small { color: #979196; font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.category-item h3 { margin: 0; font: 600 18px var(--display); }
.category-item > p { margin: 0; color: #85828a; font-size: 10px; }
.gallery-section { background: var(--ink); color: #fff; }
.gallery-wrap { padding-top: 91px; padding-bottom: 101px; }
.gallery-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 29px; }
.gallery-heading h2 { font-size: clamp(36px, 4.7vw, 52px); }
.gallery-heading h2 em { color: #ff8098; }
.gallery-heading > p { margin: 0 0 5px; color: #bcb9be; font-size: 11px; line-height: 1.9; text-align: right; }
.photo-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; grid-template-rows: 225px 205px; gap: 11px; }
.photo { position: relative; margin: 0; overflow: hidden; border-radius: 10px; background: #363a3c; }
.photo-large { grid-row: span 2; }
.photo-wide { grid-column: span 2; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo:hover img { transform: scale(1.04); }
.photo::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, #17191ccc); }
.photo figcaption { position: absolute; z-index: 1; right: 14px; bottom: 12px; left: 14px; color: #fff; font-size: 10px; font-weight: 600; }
.photo figcaption span { margin-right: 9px; color: #ff96a9; font: 700 9px var(--display); }
.register-band { min-height: 300px; display: grid; grid-template-columns: 66px 1fr auto; gap: 23px; align-items: center; }
.register-mark { width: 57px; height: 57px; display: grid; place-items: center; border-radius: 50%; color: var(--pink); background: var(--pink-light); font-size: 20px; }
.register-band h2 { font-size: clamp(31px, 4vw, 43px); }
.register-band > div:nth-child(2) > p:last-child { margin: 8px 0 0; color: #828087; font-size: 11px; }
.site-footer { padding: 25px 0 0; background: #f8f7f5; }
.footer-wrap { width: min(1160px, calc(100% - 56px)); min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: auto; border-bottom: 1px solid #e9e6e3; }
.footer-brand { min-width: 0; }
.footer-brand .brand-logo { width: 39px; height: 39px; }
.footer-brand b { font-size: 14px; }
.footer-brand small { font-size: 7px; }
.footer-wrap > p { margin: 0; color: #8a858a; font-size: 10px; line-height: 1.6; }
.footer-wrap > p span { color: #a5a0a4; }
.footer-admin { color: #9d969a; font-size: 9px; }
.footer-privacy { color: #9d969a; font-size: 9px; }
.copyright { padding: 11px 18px 14px; color: #a49fa1; font-size: 8px; text-align: center; letter-spacing: .08em; }
.privacy-page { max-width: 850px; padding-top: 51px; padding-bottom: 85px; }
.privacy-page article { padding: 0 0 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.privacy-page h2 { margin: 0; font: 600 19px var(--display); }
.privacy-page p { margin: 8px 0 0; color: #737078; font-size: 12px; line-height: 2; }
.privacy-note { margin: 8px 0 24px; padding: 13px 15px; border-radius: 8px; color: #6d666a; background: var(--cream); font-size: 10px; }

/* Registration and ticket */
.page-banner { padding: 59px 0 62px; color: #fff; background: var(--ink); }
.page-banner h1 { margin: 0; font: 600 clamp(38px, 5vw, 56px)/1.3 var(--display); }
.page-banner h1 span { margin-left: 10px; color: #ff7892; }
.page-banner > .wrap > p:last-child { margin: 5px 0 0; color: #ccc6ca; font-size: 12px; }
.form-page { max-width: 900px; padding-top: 48px; padding-bottom: 100px; }
.form-intro { margin-bottom: 29px; }
.form-step { display: inline-block; margin-bottom: 8px; color: var(--pink); font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.form-intro h2 { margin: 0; font: 600 30px var(--display); }
.form-intro p { margin: 5px 0 0; color: #818087; font-size: 11px; }
.form-intro p b, .registration-form label > b, .consent-box b { color: var(--pink); }
.registration-form { display: flex; flex-direction: column; gap: 12px; }
.registration-form fieldset { min-width: 0; margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: 12px; }
.registration-form legend { padding: 0 10px 0 0; font: 600 17px var(--display); }
.registration-form legend span { margin-right: 8px; color: var(--pink); font: 800 10px var(--display); letter-spacing: .1em; }
.form-grid { display: grid; gap: 16px; }
.form-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.registration-form label, .auth-form label { display: flex; flex-direction: column; gap: 6px; color: #4e4c52; font-size: 11px; font-weight: 700; }
.registration-form input:not([type=checkbox]):not([type=radio]), .registration-form select, .registration-form textarea, .auth-form input, .admin-form input, .admin-form select, .search-form input { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #e4e0dd; border-radius: 7px; outline: none; color: var(--ink); background: #fff; font-size: 12px; }
.registration-form textarea { resize: vertical; }
.registration-form input:focus, .registration-form select:focus, .registration-form textarea:focus, .auth-form input:focus, .admin-form input:focus, .admin-form select:focus, .search-form input:focus { border-color: #eb7188; box-shadow: 0 0 0 3px #f9d5dc; }
.registration-form label > small { color: #9b969a; font-size: 9px; font-weight: 400; }
.registration-form .field-error, .field-error { color: #c92848 !important; font-size: 10px !important; }
.field-error { display: block; margin-top: 4px; }
.span-two { grid-column: span 2; }
.radio-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radio-card { min-height: 65px; display: flex !important; flex-direction: row !important; align-items: center; gap: 11px !important; padding: 12px 14px; border: 1px solid #e9e4e2; border-radius: 8px; cursor: pointer; }
.radio-card:has(input:checked) { border-color: #eb8296; background: #fff6f7; }
.radio-card > input { accent-color: var(--pink); }
.radio-card span { display: flex; flex-direction: column; }
.radio-card b { color: var(--ink); font-size: 11px; }
.radio-card small { color: #969096; font-size: 9px; font-weight: 400; }
.conditional-field { display: none !important; }
.conditional-field.is-visible { display: flex !important; margin-top: 14px; }
.address-fields.is-visible { display: block !important; }
.size-mini { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 13px; margin: 14px 0 18px; padding: 11px 13px; border-radius: 7px; background: #fbf7f5; color: #77727a; font-size: 9px; }
.size-mini b { margin-right: 4px; color: var(--ink); font-size: 10px; }
.size-mini small { width: 100%; color: #a09a9d; font-size: 8px; }
.field-block { margin-top: 16px; }
.field-label { display: block; margin-bottom: 8px; color: #4e4c52; font-size: 11px; font-weight: 700; }
.field-label small { margin-left: 5px; color: #9b969a; font-size: 9px; font-weight: 400; }
.channel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.channel-option { display: grid !important; grid-template-columns: 17px 80px 1fr; align-items: center; gap: 7px !important; min-height: 53px; padding: 7px 9px; border: 1px solid #ece7e5; border-radius: 7px; }
.channel-option.is-selected { border-color: #ed92a3; background: #fff8f8; }
.channel-option input[type=checkbox], .consent-box input { accent-color: var(--pink); }
.channel-option > span { font-size: 9px; }
.channel-option input[name^=channel_value] { min-height: 32px !important; padding: 5px 7px !important; font-size: 9px !important; }
.emergency-grid { margin-top: 16px; }
.consent-box { margin-top: 4px; padding: 16px; border-radius: 9px; background: var(--cream); }
.consent-box label { display: flex; align-items: flex-start; gap: 9px; color: #6f6a70; font-size: 10px; }
.consent-box input { flex: none; margin-top: 5px; }
.consent-box .field-error { margin-left: 24px; }
.form-submit { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 13px; }
.form-submit p { margin: 0; color: #716e75; font-size: 10px; }
.form-submit p small { color: #9b969a; font-size: 9px; }
.form-alert { margin: 0 0 18px; padding: 13px 15px; border: 1px solid #f4c3ca; border-radius: 8px; color: #8e273a; background: #fff3f4; font-size: 11px; }
.form-alert ul { margin: 5px 0 0; padding-left: 18px; }
.ticket-page { min-height: 66vh; display: grid; place-items: center; padding-top: 45px; padding-bottom: 65px; }
.ticket-card { width: min(700px, 100%); padding: 29px; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 48px #2021240d; }
.ticket-top { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.ticket-top h1, .ticket-error h1 { margin: 0; font: 600 32px var(--display); }
.ticket-top p:last-child, .ticket-error > p:not(.eyebrow) { margin: 4px 0 0; color: #858087; font-size: 11px; }
.ticket-heart { color: var(--pink); font-size: 36px; }
.ticket-code-wrap { display: flex; flex-direction: column; margin-top: 24px; padding: 16px; border-radius: 9px; background: #fff1f3; }
.ticket-code-wrap small { color: #a1707b; font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.ticket-code-wrap strong { color: var(--pink-dark); font: 700 25px var(--display); letter-spacing: .1em; }
.ticket-details { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 20px; }
.ticket-details > div { display: flex; flex-direction: column; }
.ticket-details small { color: #9a9599; font-size: 9px; }
.ticket-details b { font-size: 12px; }
.ticket-qr-row { display: flex; align-items: center; gap: 19px; margin-top: 22px; padding-top: 18px; border-top: 1px dashed #ddd5d4; }
#ticket-qr { width: 156px; height: 156px; display: grid; flex: none; place-items: center; border: 1px solid #eee; border-radius: 5px; color: #79747a; font: 700 10px var(--display); }
#ticket-qr canvas { max-width: 100%; }
.ticket-qr-row p { color: #858087; font-size: 10px; }
.ticket-qr-row p b { color: var(--ink); }
.ticket-private { color: #a49da0; font-size: 9px; }
.ticket-actions { display: flex; align-items: center; gap: 18px; margin-top: 20px; }
.ticket-error { text-align: center; }
.ticket-error .button { margin-top: 19px; }
.ticket-symbol, .success-symbol { width: 44px; height: 44px; display: grid; place-items: center; margin: 0 auto 14px; border-radius: 50%; color: var(--pink); background: var(--pink-light); font: 700 22px var(--display); }

/* Admin */
.admin-banner h1 span { color: #ff7994; }
.auth-section { max-width: 540px; padding-top: 55px; padding-bottom: 80px; }
.auth-card { padding: 29px; border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 15px 45px #27232a0c; }
.auth-card h2 { margin: 0; font: 600 27px var(--display); }
.auth-card > p:not(.eyebrow) { margin: 5px 0 19px; color: #858087; font-size: 11px; }
.auth-form { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.auth-form .button { align-self: flex-start; margin-top: 3px; }
.setup-help { color: var(--pink); font-size: 11px; font-weight: 700; }
.success-symbol { margin-left: 0; color: #277648; background: #e8f5ec; }
.admin-main { padding-top: 39px; padding-bottom: 80px; }
.admin-heading { display: flex; justify-content: space-between; align-items: end; gap: 15px; margin-bottom: 23px; }
.admin-heading h1 { margin: 0; font: 600 32px var(--display); }
.admin-heading p { margin: 4px 0 0; color: #87828a; font-size: 11px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-link-button { display: inline-flex; align-items: center; justify-content: center; min-height: 37px; padding: 0 12px; border: 1px solid #e5e0de; border-radius: 7px; color: #4c4b51; background: #fff; font-size: 10px; font-weight: 700; }
.admin-link-button:hover { border-color: #eb899b; color: var(--pink); }
.muted-count { color: #969096; font-size: 9px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 25px; }
.metric-card { min-height: 117px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.metric-card small { color: #88838a; font-size: 9px; }
.metric-card strong { display: block; margin-top: 5px; font: 700 30px var(--display); }
.metric-card span { color: #aaa4a8; font-size: 8px; }
.admin-panel { padding: 21px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.admin-panel h2 { margin: 0 0 13px; font: 600 17px var(--display); }
.admin-shortcuts { display: flex; flex-wrap: wrap; gap: 9px; }
.admin-note { margin-top: 18px; padding: 13px 15px; border-radius: 8px; color: #6e686b; background: var(--cream); font-size: 10px; }
.admin-note strong { color: var(--pink-dark); }
.search-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.search-form { display: flex; gap: 7px; width: min(500px, 100%); }
.search-form input { min-height: 38px; flex: 1; }
.search-form .button { min-height: 38px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 9px; }
.data-table { width: 100%; border-collapse: collapse; white-space: nowrap; font-size: 10px; }
.data-table th { padding: 11px 12px; color: #77727a; background: #f9f7f5; font-size: 9px; text-align: left; }
.data-table td { padding: 11px 12px; border-top: 1px solid #f0edeb; }
.data-table tr:hover td { background: #fffafb; }
.status-pill { display: inline-block; padding: 3px 7px; border-radius: 99px; color: #6c5d33; background: #fff2cf; font-size: 8px; }
.status-confirmed, .status-received, .status-delivered { color: #256441; background: #e3f4e9; }
.status-cancelled { color: #9a3245; background: #ffe8ed; }
.status-sent, .status-preparing { color: #2a587e; background: #e8f3fc; }
.empty-state { padding: 37px 15px; color: #99939a; text-align: center; font-size: 11px; }
.admin-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-form .wide { grid-column: 1 / -1; }
.admin-form label { display: flex; flex-direction: column; gap: 6px; color: #545159; font-size: 10px; font-weight: 700; }
.admin-form textarea { width: 100%; min-height: 93px; padding: 9px 11px; border: 1px solid #e4e0dd; border-radius: 7px; outline: none; font: inherit; font-size: 11px; }
.admin-form .button { justify-self: start; }
.link-setting-card { padding: 17px; border: 1px solid #ece8e5; border-radius: 9px; background: #fff; }
.link-setting-card h3 { margin: 0 0 3px; font: 600 15px var(--display); }
.link-setting-card p { margin: 0 0 11px; color: #918c91; font-size: 9px; }
.link-setting-card label { display: flex; flex-direction: column; gap: 6px; font-size: 10px; font-weight: 700; }
.link-setting-card input { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid #e4e0dd; border-radius: 7px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.detail-box { padding: 14px; border: 1px solid #eeebe8; border-radius: 8px; }
.detail-box small { display: block; color: #979198; font-size: 9px; }
.detail-box b, .detail-box span { display: block; margin-top: 3px; font-size: 11px; overflow-wrap: anywhere; }
.detail-full { grid-column: 1 / -1; }
.flash-notice { margin-bottom: 16px; padding: 11px 13px; border: 1px solid #cfead8; border-radius: 7px; color: #27613d; background: #f0faf3; font-size: 10px; }
.flash-notice.error { border-color: #f0cbd0; color: #962f42; background: #fff2f3; }
.user-list { display: flex; flex-direction: column; }
.user-row { display: grid; grid-template-columns: 1fr 170px 95px 80px; align-items: center; gap: 12px; min-height: 63px; padding: 9px 0; border-top: 1px solid #f0edeb; }
.user-ident { display: flex; flex-direction: column; }
.user-ident b { font-size: 11px; }
.user-ident small { color: #99939a; font-size: 8px; }
.user-row select { min-height: 34px; padding: 5px 8px; border: 1px solid #e5e0de; border-radius: 6px; background: #fff; font-size: 9px; }
.user-active { display: flex; align-items: center; gap: 5px; color: #625f65; font-size: 9px; }
.user-active input { accent-color: var(--pink); }
.owner-badge { color: var(--pink-dark); font-size: 8px; font-weight: 800; }

@media (max-width: 850px) {
  .site-header { padding-inline: 22px; }
  .nav-links { gap: 16px; font-size: 10px; }
  .line-grid { grid-template-columns: repeat(2, 1fr); }
  .line-card { min-height: 195px; }
  .photo-grid { grid-template-rows: 190px 170px; }
  .welcome-section { gap: 6%; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .wrap, .footer-wrap { width: calc(100% - 36px); }
  .topline { min-height: 29px; font-size: 8px; }
  .site-header { min-height: 68px; padding-inline: 17px; }
  .brand { min-width: 0; gap: 8px; }
  .brand-logo { width: 40px; height: 40px; }
  .brand b { font-size: 14px; }
  .brand small { font-size: 7px; }
  .nav-toggle { display: grid; place-items: center; color: var(--ink); }
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 7px 18px 13px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 13px 22px #1d202410; }
  .nav-links.nav-open { display: flex; }
  .nav-links a { padding: 10px 4px; border-bottom: 1px solid #f1eeec; font-size: 12px; }
  .hero-shell { min-height: min(650px, calc(100svh - 97px)); align-items: end; }
  .hero-photo { background-position: 44% center; }
  .hero-shade { background: linear-gradient(0deg, #121518ed 0%, #1d2024ad 49%, #1d202438 100%); }
  .hero-content { padding-top: 110px; padding-bottom: 66px; }
  .hero-content h1 { font-size: clamp(47px, 13vw, 72px); }
  .hero-content h1 em { font-size: .7em; }
  .hero-tagline { margin-top: 14px; font-size: 22px; }
  .hero-desc { font-size: 11px; }
  .hero-caption { right: 18px; bottom: 17px; font-size: 8px; }
  .strip-inner { min-height: 73px; gap: 9px; }
  .strip-inner small { font-size: 7px; }
  .strip-inner b { font-size: 10px; }
  .strip-inner > div:nth-of-type(2) { display: none; }
  .strip-heart { font-size: 17px; }
  .strip-inner > a { font-size: 9px; }
  .section { padding-top: 68px; padding-bottom: 72px; }
  .welcome-section { grid-template-columns: 1fr; gap: 26px; }
  .welcome-copy h2, .section-title h2, .gallery-heading h2 { font-size: 39px; }
  .welcome-copy > p:not(.eyebrow) { font-size: 11px; }
  .welcome-stat { min-height: 255px; }
  .line-section { padding: 68px 0 65px; }
  .section-title-center { margin-bottom: 25px; }
  .section-title > p:not(.eyebrow) { font-size: 10px; }
  .line-grid { gap: 8px; }
  .line-card { min-height: 184px; padding: 13px; border-radius: 9px; }
  .line-icon { width: 31px; height: 31px; font-size: 16px; }
  .line-card-copy { margin-top: 16px; }
  .line-card h3 { font-size: 14px; }
  .line-card p { font-size: 8px; line-height: 1.6; }
  .line-action { font-size: 9px; }
  .line-note { align-items: flex-start; font-size: 8px; line-height: 1.6; }
  .line-note span { flex: none; }
  .categories-section { padding-top: 68px; padding-bottom: 73px; }
  .category-list { margin-top: 22px; }
  .category-item { min-height: 88px; grid-template-columns: 27px 37px 1fr; gap: 8px; }
  .category-no { font-size: 8px; }
  .category-heart { width: 32px; height: 32px; font-size: 18px; }
  .category-item small { font-size: 6px; }
  .category-item h3 { font-size: 14px; }
  .category-item > p { grid-column: 3; margin-top: -18px; align-self: end; font-size: 8px; }
  .gallery-wrap { padding-top: 68px; padding-bottom: 72px; }
  .gallery-heading { align-items: start; }
  .gallery-heading > p { margin-top: 23px; font-size: 9px; }
  .photo-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 130px 150px; gap: 7px; }
  .photo-large { grid-column: span 2; grid-row: auto; }
  .photo-wide { grid-column: span 2; }
  .photo figcaption { right: 9px; bottom: 8px; left: 9px; font-size: 8px; }
  .register-band { min-height: 0; grid-template-columns: 47px 1fr; gap: 12px; padding-top: 54px; padding-bottom: 58px; }
  .register-mark { width: 43px; height: 43px; font-size: 16px; }
  .register-band h2 { font-size: 29px; }
  .register-band > div:nth-child(2) > p:last-child { max-width: 240px; font-size: 9px; }
  .register-band > .button { grid-column: 2; justify-self: start; margin-top: 7px; }
  .footer-wrap { flex-wrap: wrap; justify-content: space-between; padding-bottom: 13px; }
  .footer-wrap > p { order: 3; width: 100%; }
  .copyright { font-size: 7px; }
  .page-banner { padding: 44px 0 46px; }
  .page-banner h1 { font-size: 39px; }
  .page-banner > .wrap > p:last-child { font-size: 10px; }
  .form-page { padding-top: 34px; padding-bottom: 63px; }
  .form-intro h2 { font-size: 25px; }
  .form-intro p { font-size: 9px; }
  .registration-form fieldset { padding: 17px 13px 15px; }
  .registration-form legend { font-size: 15px; }
  .form-grid-three, .form-grid-two { grid-template-columns: 1fr 1fr; gap: 11px; }
  .form-grid-three > label:nth-child(2), .form-grid-three > label:nth-child(3), .form-grid-three > label:nth-child(7) { grid-column: span 2; }
  .registration-form label { font-size: 9px; }
  .registration-form input:not([type=checkbox]):not([type=radio]), .registration-form select { min-height: 39px; padding: 7px 8px; font-size: 10px; }
  .registration-form textarea { font-size: 10px; }
  .radio-row { grid-template-columns: 1fr; gap: 7px; }
  .radio-card { min-height: 56px; padding: 9px; }
  .radio-card b { font-size: 10px; }
  .radio-card small { font-size: 8px; }
  .size-mini { gap: 5px 9px; font-size: 8px; }
  .size-mini b { width: 100%; }
  .channel-grid { grid-template-columns: 1fr; }
  .channel-option { grid-template-columns: 17px 67px 1fr; }
  .span-two { grid-column: span 2; }
  .form-submit { align-items: flex-start; flex-direction: column; }
  .form-submit p { font-size: 9px; }
  .ticket-page { min-height: 55vh; padding-top: 28px; padding-bottom: 44px; }
  .ticket-card { padding: 19px 15px; }
  .ticket-top h1 { font-size: 25px; }
  .ticket-top p:last-child { font-size: 9px; }
  .ticket-details { gap: 12px; }
  .ticket-details b { font-size: 10px; }
  .ticket-qr-row { gap: 12px; }
  #ticket-qr { width: 118px; height: 118px; }
  #ticket-qr canvas { width: 110px !important; height: 110px !important; }
  .ticket-qr-row p { font-size: 9px; }
  .auth-section { padding-top: 32px; padding-bottom: 55px; }
  .auth-card { padding: 19px; }
  .admin-main { padding-top: 29px; padding-bottom: 58px; }
  .admin-heading { align-items: flex-start; flex-direction: column; }
  .admin-heading h1 { font-size: 27px; }
  .metric-grid { gap: 7px; }
  .metric-card { min-height: 95px; padding: 12px; }
  .metric-card strong { font-size: 24px; }
  .admin-panel { padding: 14px; }
  .admin-form, .detail-grid { grid-template-columns: 1fr; }
  .admin-form .wide, .detail-full { grid-column: auto; }
  .search-row { align-items: stretch; }
  .search-form { width: 100%; }
  .user-row { grid-template-columns: 1fr auto; gap: 8px; }
  .user-ident { grid-column: 1 / -1; }
  .user-row select { width: 100%; }
}
@media print {
  .topline, .site-header, .site-footer, .ticket-actions { display: none !important; }
  body { background: #fff; }
  .ticket-page { min-height: auto; padding: 0; }
  .ticket-card { border: 0; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }

/* Runner registration, portal, and payment flows */
.nav-runner { gap: 12px; flex-wrap: wrap; justify-content: flex-end; font-size: 10px; }
.wizard-stepper { display: flex; gap: 9px; overflow-x: auto; margin: 0 0 19px; padding: 3px 1px 9px; scrollbar-width: thin; }
.wizard-progress { min-width: 72px; display: flex; flex-direction: column; align-items: center; gap: 4px; color: #aaa4a8; font-size: 11px; }
.wizard-progress::first-line { font-weight: 800; }
.wizard-progress { position: relative; }
.wizard-progress span { font-size: 8px; white-space: nowrap; }
.wizard-progress.is-current { color: var(--pink); font-weight: 800; }
.wizard-progress.is-complete { color: #558364; }
.wizard-panel[hidden] { display: none !important; }
.wizard-controls { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 9px; margin-top: 13px; }
.wizard-controls .button { min-height: 43px; }
.button-secondary, .button-save-draft { border: 1px solid #e7e1df; color: #45434a; background: #fff; }
.button-secondary:hover, .button-save-draft:hover { border-color: #eb899b; color: var(--pink-dark); }
.button-save-draft { padding-inline: 16px; font-size: 10px; }
.category-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.runner-category-card { min-height: 175px; align-items: flex-start; padding: 16px; border: 1px solid #eee8e6; border-radius: 10px; background: #fff; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.runner-category-card:has(input:checked) { border-color: var(--pink); background: #fff6f7; transform: translateY(-2px); }
.runner-category-card > input { accent-color: var(--pink); }
.runner-category-icon { font-size: 24px; }
.runner-category-card b { font-size: 12px; }
.runner-category-card small { color: #8b858b; font-size: 9px; font-weight: 400; }
.runner-category-card em { margin-top: auto; color: var(--pink); font-size: 9px; font-style: normal; font-weight: 800; }
.shirt-preview { min-height: 145px; display: flex; flex-direction: column; justify-content: center; gap: 6px; margin: 2px 0 17px; padding: 20px; border-radius: 10px; color: #fff; background: radial-gradient(circle at 82% 12%, #f47b93 0, #ee3d65 36%, #292c32 36.5%, #1d2024 100%); }
.shirt-preview span { color: #ffdbe2; font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.shirt-preview b { font: 600 24px var(--display); }
.shirt-preview small { color: #f0e7e9; font-size: 9px; }
.review-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.review-card-grid article { padding: 13px; border: 1px solid #eee8e6; border-radius: 9px; }
.review-card-grid h3 { margin: 0 0 7px; font-size: 12px; }
.review-card-grid p { margin: 2px 0; color: #716c73; font-size: 10px; overflow-wrap: anywhere; }
.review-card-grid button { margin-top: 8px; padding: 4px 9px; border: 0; border-radius: 999px; color: var(--pink-dark); background: var(--pink-light); font-size: 9px; font-weight: 800; }
.consent-stack { display: grid; gap: 8px; }
.wizard-payment-note { display: flex; flex-direction: column; gap: 3px; margin-top: 14px; padding: 13px 15px; border-radius: 8px; color: #69575b; background: #fff4f5; font-size: 10px; }
.wizard-payment-note b { color: var(--pink-dark); }
.runner-portal, .info-page { padding-top: 30px; padding-bottom: 74px; }
.runner-login-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.runner-login-card h2, .runner-account-panel h2 { margin: 0; font: 600 21px var(--display); }
.runner-login-card > p:not(.eyebrow), .runner-account-panel p:not(.eyebrow) { color: #858087; font-size: 10px; }
.runner-login-card > .button { margin-top: 10px; }
.runner-lookup-form { margin-top: 14px; }
.runner-login-help { margin-top: 16px; padding: 14px 16px; border-radius: 8px; background: var(--cream); font-size: 10px; }
.runner-login-help p { margin: 4px 0 0; color: #817b82; }
.runner-dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.runner-dashboard-heading h2 { margin: 0; font: 600 25px var(--display); }
.runner-dashboard-heading p:last-child { margin: 2px 0 0; color: #858087; font-size: 10px; }
.runner-dashboard-heading p b { color: var(--pink-dark); }
.runner-status-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-bottom: 16px; }
.runner-status-grid article, .runner-profile-grid article { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.runner-status-grid small, .runner-profile-grid small { color: #918a91; font-size: 8px; }
.runner-status-grid b, .runner-profile-grid b { font-size: 11px; overflow-wrap: anywhere; }
.runner-tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-bottom: 16px; }
.runner-tool-card { min-height: 120px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .2s, transform .2s; }
.runner-tool-card:hover { border-color: #ee9aaa; transform: translateY(-2px); }
.runner-tool-card > span { font-size: 22px; }
.runner-tool-card b { font: 600 15px var(--display); }
.runner-tool-card small { color: #8a848b; font-size: 9px; }
.runner-account-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 14px; margin-bottom: 14px; }
.runner-account-panel .line-auth-status { grid-column: 1 / -1; margin: 0; }
.runner-profile-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.runner-info-links, .payment-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.runner-info-links a { color: #6f6870; font-size: 10px; font-weight: 700; }
.line-auth-status { min-height: 1em; color: var(--pink-dark); font-size: 10px; }
.info-content-card { margin: 25px 0 15px; padding: clamp(18px,4vw,38px); border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.info-copy, .info-content-card > p { color: #5e5960; font-size: 12px; line-height: 2; white-space: normal; }
.empty-content { padding: 23px; color: #8f8990; text-align: center; font-size: 11px; }
.event-info-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 25px; }
.event-info-grid article { display: flex; flex-direction: column; gap: 4px; padding: 15px; border-radius: 8px; background: var(--cream); }
.event-info-grid small { color: #908a90; font-size: 9px; }
.event-info-grid b { font-size: 12px; }
.faq-list details { padding: 14px 0; border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-size: 12px; font-weight: 800; }
.faq-list details p { color: #77717a; font-size: 10px; }
.contact-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.contact-list a { padding: 9px 13px; border-radius: 999px; color: var(--pink-dark); background: var(--pink-light); font-size: 10px; font-weight: 800; }
.payment-page { padding-top: 26px; }
.payment-summary { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 10px; margin-bottom: 15px; }
.payment-summary > div { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-height: 79px; padding: 14px; border: 1px solid var(--line); border-radius: 9px; }
.payment-summary small { color: #8a848b; font-size: 9px; }
.payment-summary strong { color: var(--pink-dark); font: 700 24px var(--display); }
.payment-summary b { font-size: 11px; }
.payment-method-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; align-items: stretch; }
.payment-method-card { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.payment-method-card h2 { margin: 0; }
.payment-method-card > p { margin: 0; color: #77717a; font-size: 10px; }
.payment-icon { font-size: 23px; }
.payment-method-card .button { min-height: 39px; margin-top: 3px; padding-inline: 13px; font-size: 10px; }
.promptpay-qr { width: min(220px,100%); max-height: 240px; object-fit: contain; align-self: center; margin: 6px auto; }
.muted-note { color: #989199 !important; font-size: 9px !important; }
.bank-details { width: 100%; margin: 0; }
.bank-details div { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-bottom: 1px solid #f1edeb; font-size: 9px; }
.bank-details dt { color: #8a848b; }
.bank-details dd { margin: 0; text-align: right; font-weight: 800; overflow-wrap: anywhere; }
.slip-form { width: 100%; display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.slip-form label { display: flex; flex-direction: column; gap: 5px; color: #5b565e; font-size: 9px; font-weight: 800; }
.slip-form input[type=file] { width: 100%; padding: 7px; border: 1px solid #e6e0df; border-radius: 7px; font-size: 9px; }
.slip-form small { color: #938d94; font-weight: 400; }
.method-select-form { margin-top: auto; }
.payment-warning, .payment-paid, .payment-review-note { margin: 13px 0; }
.payment-warning p, .payment-paid p, .payment-review-note p { color: #77717a; font-size: 10px; }
.payment-paid h2 { color: #267348; }
.payment-qr-preview { padding: 10px; border: 1px solid var(--line); border-radius: 8px; }
.payment-qr-preview img { width: 180px; max-height: 180px; object-fit: contain; }
.payment-settings-form h2 { grid-column: 1 / -1; margin: 10px 0 -7px; padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.payment-settings-form label small { color: #8e888f; font-size: 9px; font-weight: 400; }
.payment-settings-form input[type=file] { padding: 8px; }
.payment-search { margin: 0 0 15px; }
.payment-review-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.payment-review-actions form { display: inline-flex; }
.payment-review-actions .button { min-height: 34px; padding-inline: 10px; font-size: 9px; }
.payment-review-actions .button-secondary { border: 1px solid #e5e0de; }
.status-review { color: #385e81; background: #e8f3fc; }
.status-paid { color: #256441; background: #e3f4e9; }
.status-rejected { color: #9a3245; background: #ffe8ed; }
.ebib-page, .receipt-page { padding-top: 30px; padding-bottom: 70px; }
.ebib-card { position: relative; width: min(650px,100%); margin: 0 auto; padding: clamp(20px,5vw,42px); overflow: hidden; border: 1px solid #e7e3e1; border-radius: 17px; background: linear-gradient(145deg,#fff 0%,#fff 63%,#fff0f3 63.2%,#fff7f8 100%); box-shadow: 0 18px 55px #1d202414; text-align: center; }
.ebib-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; text-align: left; }
.ebib-brand img { width: 54px; height: 54px; object-fit: cover; border-radius: 50%; }
.ebib-brand div { display: flex; flex-direction: column; }
.ebib-brand b { font: 700 18px var(--display); }
.ebib-brand div span { color: var(--pink); font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.ebib-heart { margin-left: auto; color: var(--pink); font-size: 31px; }
.ebib-card > .eyebrow { justify-content: center; }
.ebib-number { display: flex; flex-direction: column; margin: 8px 0; }
.ebib-number small { color: #8d878e; font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.ebib-number strong { color: var(--pink-dark); font: 700 clamp(46px,12vw,82px)/1.15 var(--display); letter-spacing: .04em; }
.ebib-card h1 { margin: 4px 0 17px; font: 600 20px var(--display); }
.ebib-details { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding: 15px 0; border-top: 1px dashed #ded7d8; border-bottom: 1px dashed #ded7d8; text-align: left; }
.ebib-details div { display: flex; flex-direction: column; min-width: 0; }
.ebib-details small { color: #928b92; font-size: 8px; letter-spacing: .1em; }
.ebib-details b { font-size: 10px; overflow-wrap: anywhere; }
.ebib-qr { width: 170px; height: 170px; display: grid; place-items: center; margin: 16px auto 4px; border: 1px solid #eee; border-radius: 6px; color: #79747a; font-size: 9px; }
.ebib-qr canvas { max-width: 100%; }
.ebib-tagline { margin: 8px 0 0; color: var(--pink-dark); font: 600 15px var(--display); }
.ebib-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 15px auto; }
.ebib-locked { max-width: 650px; margin: auto; }
.ebib-locked h1 { font: 600 24px var(--display); }
.ebib-locked p { color: #77717a; font-size: 10px; }
.receipt-card { width: min(700px,100%); margin: 0 auto; padding: clamp(20px,5vw,42px); border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.receipt-heading { display: flex; align-items: center; gap: 14px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.receipt-heading img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; }
.receipt-heading .eyebrow { margin-bottom: 3px; }
.receipt-heading h1 { margin: 0; font: 600 24px var(--display); }
.receipt-heading p:last-child { margin: 0; color: #8a848b; font-size: 9px; }
.receipt-row { display: flex; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px solid #f1edeb; font-size: 10px; }
.receipt-row span { color: #88828a; }
.receipt-row b { text-align: right; }
.receipt-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 14px 0; padding: 16px; border-radius: 8px; background: #fff1f3; }
.receipt-total span { color: #6e6267; font-size: 11px; }
.receipt-total strong { color: var(--pink-dark); font: 700 22px var(--display); }
.receipt-footnote { margin-top: 22px; color: #99939a; text-align: center; font-size: 9px; }
.status-pending { color: #735f31; background: #fff2cf; }

@media (max-width: 1120px) {
  .site-header { position: sticky; top: 0; }
  .nav-toggle { display: grid; place-items: center; color: var(--ink); }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100svh - 110px); overflow-y: auto; padding: 7px max(22px, calc((100vw - 1160px) / 2)) 13px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 13px 22px #1d202410; }
  .nav-links.nav-open { display: flex; }
  .nav-links a { padding: 9px 3px; border-bottom: 1px solid #f1eeec; font-size: 11px; }
}
@media (max-width: 760px) {
  .category-card-grid { grid-template-columns: 1fr 1fr; }
  .runner-login-grid, .payment-method-grid { grid-template-columns: 1fr; }
  .runner-status-grid { grid-template-columns: 1fr 1fr; }
  .runner-tool-grid { grid-template-columns: 1fr 1fr; }
  .runner-profile-grid { grid-template-columns: 1fr; }
  .payment-summary { grid-template-columns: 1fr 1fr; }
  .payment-summary > div:first-child { grid-column: 1 / -1; }
  .event-info-grid { grid-template-columns: 1fr; }
  .payment-review-actions { min-width: 150px; }
}
@media (max-width: 520px) {
  .wizard-stepper { gap: 5px; }
  .wizard-progress { min-width: 64px; }
  .category-card-grid, .review-card-grid { grid-template-columns: 1fr 1fr; }
  .runner-dashboard-heading { align-items: flex-start; }
  .runner-dashboard-heading h2 { font-size: 20px; }
  .runner-status-grid { gap: 6px; }
  .runner-status-grid article { padding: 10px; }
  .runner-tool-card { min-height: 104px; padding: 12px; }
  .runner-account-panel { grid-template-columns: 1fr; }
  .runner-account-panel .button { justify-self: start; }
  .payment-summary { gap: 6px; }
  .payment-summary strong { font-size: 20px; }
  .wizard-controls { justify-content: stretch; }
  .wizard-controls .button { flex: 1; padding-inline: 10px; }
  .receipt-row { align-items: flex-start; }
  .receipt-heading img { width: 49px; height: 49px; }
  .receipt-heading h1 { font-size: 19px; }
}
@media print {
  .ebib-actions, .receipt-page .ebib-actions, .line-auth-status { display: none !important; }
  .ebib-page, .receipt-page { width: 100%; padding: 0; }
  .ebib-card, .receipt-card { width: 100%; border: 0; border-radius: 0; box-shadow: none; }
}
