:root{--forest:#122820;--pine:#203a2f;--ivory:#f6f2e8;--paper:#fffcf5;--gold:#dfc38b;--ink:#192a21;--muted:#526356;--line:#ddd9cb;--serif:Georgia,"Times New Roman",serif;--sans:system-ui,-apple-system,"Segoe UI",sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ivory);color:var(--ink);font:1rem/1.55 var(--sans)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,summary{cursor:pointer}img{display:block;max-width:100%}[hidden]{display:none!important}:focus-visible{outline:3px solid #b77b21;outline-offset:4px}.wrap{width:min(1240px,calc(100% - 112px));margin-inline:auto}.skip{position:absolute;left:1rem;top:-100px;background:var(--paper);padding:.8rem;z-index:10}.skip:focus{top:1rem}.top,.admin-top,footer{background:var(--forest);color:var(--ivory)}.nav{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:1.2rem}.nav nav{display:flex;gap:clamp(.65rem,3vw,2.5rem);font-size:.9rem}.nav a:hover,footer a:hover{color:var(--gold)}.brand{display:inline-flex;flex-direction:column;line-height:1;letter-spacing:.17em;color:var(--gold);gap:.36rem}.brand span{font-size:.68rem;font-weight:650}.brand strong{font:700 1.55rem/1 var(--serif);letter-spacing:.19em}.hero{position:relative;isolation:isolate;color:var(--ivory);background:#192b24 url('/hero.webp') center 49%/cover no-repeat;min-height:clamp(560px,65vw,710px);display:flex;flex-direction:column;justify-content:center}.hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0c1e19e8 0%,#11282073 50%,#10251b10 80%),linear-gradient(0deg,#142a22a8,transparent 28%)}.hero-copy{padding-block:5rem;animation:appear .65s ease-out both}.eyebrow{font-weight:700;letter-spacing:.17em;font-size:.72rem;color:#6b532b;margin:0 0 1rem}.hero .eyebrow,.lookup .eyebrow{color:var(--gold)}.eyebrow span,.hero-caption span{display:inline-block;vertical-align:middle;margin-right:.6rem;width:2rem;height:1px;background:currentColor}.hero h1{font:400 clamp(3.35rem,8vw,8rem)/.92 var(--serif);letter-spacing:-.06em;margin:0 0 1.8rem}.hero h1 em{font-weight:400;color:var(--gold)}.hero-copy>p:not(.eyebrow){max-width:23rem;color:#fff9e9;font-size:1.08rem;margin-bottom:1.75rem}.hero-caption{position:absolute;left:0;right:0;bottom:1.45rem;text-align:right;font-size:.65rem;letter-spacing:.21em;color:#f7eddb}.hero-caption span{width:1rem;margin-left:.5rem}.button{display:inline-flex;align-items:center;justify-content:center;gap:.65rem;border:1px solid transparent;border-radius:3px;padding:.75rem 1rem;font-size:.89rem;font-weight:680;line-height:1.25;min-height:44px;transition:background .18s,color .18s,border-color .18s}.button:hover{filter:brightness(1.05)}.button:disabled{opacity:.55;cursor:wait}.gold{background:var(--gold);color:#16251d}.secondary{background:transparent;border-color:#7b8c80;color:inherit}.outline,.nav-cta{background:transparent;border-color:#dfc38b9c;color:inherit}.nav-cta{color:var(--gold)}.danger{background:#f7e0db;color:#7f3029}.text-link,.text-button{font-weight:650;text-decoration:underline;text-underline-offset:4px}.text-button{border:0;padding:.3rem;background:none;color:inherit}.actions{display:flex;gap:.75rem;align-items:end;flex-wrap:wrap}.row{display:flex;align-items:center;justify-content:space-between;gap:1rem}.campaigns{padding-block:5rem;background:var(--ivory)}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1.75rem;padding-bottom:1.25rem;border-bottom:1px solid #c8c5b7}.section-heading>span,.muted{color:var(--muted);font-size:.88rem}h2{font:400 clamp(2rem,4vw,4.25rem)/1.05 var(--serif);letter-spacing:-.037em;margin:.25rem 0 .75rem}h3{line-height:1.2}.empty{min-height:205px;display:grid;align-content:center;justify-items:start;border:1px solid var(--line);padding:2rem;background:var(--paper)}.empty h3,.empty p{margin:0 0 .7rem}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:1.1rem}.campaign-card{background:var(--paper);border:1px solid var(--line);overflow:hidden}.campaign-card .cover{width:100%;height:225px;object-fit:cover}.card-body{padding:1.45rem}.card-body h3{font:400 2rem/1.1 var(--serif);margin:.5rem 0}.card-body .eyebrow{margin:0}.card-body>.text-link{display:inline-block;margin-top:.8rem}.description{white-space:pre-line;overflow-wrap:anywhere}.campaign-stats,.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:.6rem;margin:1.2rem 0}.campaign-stats dt,.admin-stats dt{font-size:.76rem;color:var(--muted)}.campaign-stats dd,.admin-stats dd{margin:0;font:600 1.45rem var(--serif)}.progress-label{display:flex;justify-content:space-between;font-size:.8rem}progress{width:100%;height:.52rem;border:0;border-radius:20px;overflow:hidden;accent-color:#486b52;margin:.45rem 0 .95rem}progress::-webkit-progress-bar{background:#e8e4d9}progress::-webkit-progress-value{background:#486b52}.bank{margin-block:1.1rem;border-top:1px solid var(--line);padding-top:.5rem}.bank-heading{display:flex;align-items:center;gap:.5rem}.bank-heading img{width:36px;height:36px;object-fit:contain}.bank dl{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:.35rem .9rem}.bank dd{margin:0;overflow-wrap:anywhere}.lookup{background:var(--pine);color:var(--ivory);padding-block:4.5rem}.lookup-grid{display:grid;grid-template-columns:1fr minmax(285px,.76fr);gap:1.5rem 3rem}.lookup-grid>div:first-child p:last-child{max-width:28rem;color:#e0e6db}.lookup-form{display:grid;align-content:start;gap:.75rem}.lookup-form label{font-size:.88rem}.lookup-form input{background:#fdfaf0}.phone-field{display:flex;align-items:center;gap:.7rem;padding-left:.8rem;background:#fdfaf0;color:var(--ink);border-radius:3px}.phone-field input{border:0;padding-left:0}.lookup form .button{justify-self:start}.lookup form p{margin:0}.lookup form [id=verify-fields]{display:grid;gap:.6rem;justify-items:start}.results{grid-column:1/-1}.result{background:var(--paper);color:var(--ink);padding:1rem 1.3rem;margin:.6rem 0;overflow-wrap:anywhere}.result p{margin:.4rem 0}footer{padding-block:2rem}.detail{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;padding-block:4rem}.detail h1{font:400 clamp(2rem,5vw,5rem)/1 var(--serif);margin:.35rem 0}.detail .eyebrow{margin-top:1rem}.detail-image{width:100%;height:min(62vw,560px);object-fit:cover}.admin{background:#f3f2eb}.console{padding-block:2rem 4rem}.console h1,.signin h1{font:400 clamp(2rem,5vw,4rem)/1.1 var(--serif);margin:.7rem 0 1.25rem}.console h2{font-size:1.9rem}.panel{background:var(--paper);border:1px solid var(--line);padding:1.3rem;margin-bottom:1.2rem}.admin-stats>div{padding:1rem;background:var(--paper);border:1px solid var(--line)}.admin-stats dd{margin-top:.35rem}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.form-grid .full{grid-column:1/-1}.form-grid>p{margin:0}.form-grid fieldset{min-width:0;border:1px solid var(--line);padding:.8rem}label{font-size:.88rem;display:grid;gap:.35rem}input,textarea,select{width:100%;padding:.6rem .68rem;min-height:43px;border:1px solid #b8bdb1;border-radius:3px;background:white;color:var(--ink)}textarea{min-height:118px;resize:vertical}.check{display:flex;align-items:center;gap:.45rem}.check input{width:auto;min-height:auto;accent-color:var(--pine)}.table-scroll{overflow:auto;margin-block:.8rem}table{width:100%;border-collapse:collapse;font-size:.86rem}th,td{text-align:left;padding:.55rem;border-bottom:1px solid var(--line);min-width:5rem;max-width:24rem;overflow-wrap:anywhere}th{color:var(--muted);font-weight:600}.logs{padding-left:1.2rem}.logs time{margin-left:.5rem;color:var(--muted)}.signin{display:grid;place-items:center;min-height:100svh;padding:1.25rem;background:var(--forest)}.signin>div{background:var(--paper);padding:clamp(1.4rem,5vw,3rem);width:min(100%,430px)}.signin .brand{color:#6b532b}.signin form{display:grid;gap:1rem;margin-bottom:1rem}.skeleton{height:1rem;background:#c1c9b9;animation:pulse .9s alternate infinite;border-radius:3px;max-width:24rem}@keyframes pulse{to{opacity:.45}}@keyframes appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:850px){.wrap{width:calc(100% - 54px)}.hero{min-height:580px}.hero:before{background:linear-gradient(90deg,#0c1e19ed,#10282061 72%,#10251b22)}.admin-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:590px){.wrap{width:calc(100% - 32px)}.nav{min-height:68px;gap:.55rem;flex-wrap:wrap;padding-block:.65rem}.nav nav{gap:.65rem;order:3;width:100%;padding-bottom:.1rem}.nav-cta{padding:.5rem;min-height:36px}.hero{min-height:565px;background-position:58% 50%;justify-content:end}.hero:before{background:linear-gradient(0deg,#101f19fa 7%,#10241bd6 45%,#13271b1a 95%)}.hero-copy{padding-block:12rem 4rem}.hero h1{font-size:clamp(3.2rem,12vw,5rem)}.hero-caption{bottom:.8rem}.campaigns,.lookup{padding-block:3rem}.lookup-grid,.detail,.form-grid{grid-template-columns:minmax(0,1fr)}.section-heading{align-items:start}.section-heading>span{white-space:nowrap}.detail{padding-block:2rem}.detail-image{height:290px}.campaign-stats{grid-template-columns:repeat(2,1fr)}.panel{padding:.85rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}

.race-site { --forest:#06162b; --gold:#f6ca70; --ivory:#f9f6ef; background:#06162b; color:#f4f7fd; }
.race-site .wrap { width:min(1320px, calc(100% - 88px)); }
.race-site .top { position:absolute; top:0; left:0; right:0; z-index:2; background:linear-gradient(#03152cca,transparent); }
.race-detail .top { position:relative; background:#06162b; }
.race-site .top .nav { min-height:78px; }
.race-brand { display:inline-flex; align-items:center; gap:.75rem; font-weight:850; color:#ffd379; font-size:.87rem; line-height:1; }
.race-brand strong { display:block; font-size:1.27rem; font-style:italic; margin-top:.16rem; }
.race-emblem { font-size:2.7rem; line-height:1; color:#f6c15d; }
.race-site .top nav { align-items:center; gap:clamp(.2rem,2vw,1.65rem); }
.race-site .top nav a { padding:.55rem .7rem; white-space:nowrap; }
.race-site .top nav [aria-current] { background:#8c621ccf; border-radius:30px; border:1px solid #e1b448; box-shadow:0 0 12px #e6b34270; }
.race-site .nav-cta { border-radius:28px; background:#203e5db8; color:white; border-color:#adc0dc70; padding:.55rem 1.2rem; min-height:38px; }
.race-site .hero { min-height:clamp(580px,53vw,760px); padding:102px 0 45px; background-color:#092340; background-position:center 48%; }
.race-site .hero:before { background:linear-gradient(90deg,#04162ba6,transparent 63%),linear-gradient(0deg,#05142ab5,transparent 38%); }
.race-site .hero-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,31%); align-items:center; gap:2.3rem; }
.race-site .hero-copy { padding:1.2rem 0 0; }
.race-site .hero h1 { margin:0; font:900 clamp(2.55rem,5.6vw,5.6rem)/.96 var(--sans); letter-spacing:-.065em; text-shadow:0 5px 14px #05162cbb; }
.race-site .hero h1 em { display:inline-block; color:#f6c36a; font:italic 900 clamp(4.5rem,10vw,9.4rem)/.96 var(--sans); letter-spacing:-.08em; filter:drop-shadow(0 4px 0 #6c431d); }
.race-site .hero-copy > .hero-tagline { margin:.7rem 0 1.45rem; font-size:clamp(.9rem,2vw,1.28rem); font-weight:850; letter-spacing:.08em; color:#fff; }
.hero-tagline:before { display:inline-block; content:""; width:2rem; height:2px; background:#eec46b; margin:0 .7rem .28rem 0; }
.race-site .hero-copy > .hero-intro { max-width:25rem; margin:0 0 1.4rem; font-size:1rem; line-height:1.48; color:#f4f7ff; }
.race-site .button.gold { background:linear-gradient(#f8d17a,#e2a83a); color:#15120c; border:1px solid #ffd98e; box-shadow:0 3px 8px #0004; border-radius:12px; }
.race-site .hero-copy .button { min-height:52px; padding-inline:1.35rem; }
.race-site .lookup-card { overflow:hidden; border-radius:18px; background:#f9f6f1f5; backdrop-filter:blur(12px); color:#0e1929; border:1px solid #f8cc69; box-shadow:0 15px 38px #020e2366; scroll-margin-top:1.1rem; }
.lookup-tab { display:flex; align-items:center; gap:.75rem; padding:.85rem 1.35rem; background:#eeeae5; border-bottom:2px solid #d3a23f; font-size:.88rem; font-weight:750; }
.lookup-tab span { display:grid; place-items:center; border-radius:10px; width:38px; height:38px; background:#07192f; color:#f6c567; font-size:1.25rem; }
.lookup-content { padding:clamp(1.15rem,2.4vw,2rem); }
.lookup-content h2 { font:800 clamp(1.45rem,2.35vw,2.15rem)/1.13 var(--sans); margin:0; letter-spacing:-.055em; }
.lookup-content > p { margin:.5rem 0 1.05rem; color:#364052; font-size:.91rem; }
.lookup-content .phone-field { background:#f6f5f4; border:1px solid #d2cec9; border-radius:8px; }
.lookup-content .phone-field input { background:transparent; }
.lookup-content .lookup-form .button { width:100%; min-height:47px; }
.lookup-content #lookup-status:not([hidden]) { padding:.65rem; border-radius:8px; background:#f9eacd; font-weight:700; }
.hero-rail { background:linear-gradient(90deg,#071b32,#13263d,#071b32); border-block:1px solid #7890a345; }
.hero-rail .wrap { display:grid; grid-template-columns:repeat(3,1fr); padding-block:1rem; }
.hero-rail a { display:flex; align-items:center; justify-content:center; gap:.6rem; padding:.25rem; font-weight:650; text-align:center; font-size:.9rem; }
.hero-rail a + a { border-left:1px solid #b0bec94d; }
.hero-rail a span { color:#ffce72; font-weight:900; font-size:1.5rem; line-height:1; }
.race-site .campaigns { background:radial-gradient(ellipse at 52% 0%,#173959,#061b32 58%,#061629); padding-block:clamp(2rem,4vw,3.75rem); }
.race-site .section-heading { border:0; padding:0; margin-bottom:1.2rem; }
.race-site .section-heading .eyebrow { color:#ffcb69; margin-bottom:.45rem; }
.race-site .section-heading h2 { font:850 clamp(2rem,4vw,4rem)/1.05 var(--sans); letter-spacing:-.06em; margin:0; }
.race-site .section-heading h2 em { color:#f9c364; font-style:normal; }
.race-site .section-heading p:last-child { margin:.45rem 0 0; }
.race-site .cards { grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.race-site .campaign-card { isolation:isolate; position:relative; min-height:clamp(350px,33vw,480px); display:flex; align-items:flex-end; border-radius:14px; border:1px solid #a0b3c773; background:#0b223b; }
.race-site .campaign-card .cover { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 37%; z-index:-2; }
.race-site .campaign-card:before { position:absolute; content:""; z-index:-1; inset:0; background:linear-gradient(0deg,#06172b 1%,#06172bec 28%,#06172b00 78%); }
.race-site .card-body { width:100%; padding:1.15rem; }
.race-site .card-body h3 { margin:0; font:800 clamp(1.2rem,2.25vw,2rem)/1.1 var(--sans); letter-spacing:-.04em; }
.race-site .card-body .description { margin:.45rem 0 .6rem; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; font-size:.9rem; }
.card-meta { display:flex; gap:.4rem .75rem; flex-wrap:wrap; justify-content:space-between; border-top:1px solid #d4dce244; padding:.55rem 0; font-size:.75rem; }
.race-site .card-body .button { width:100%; }
.race-site .empty,.site-help { background:#102943; border:1px solid #9caabe48; border-radius:12px; }
.site-help { padding:.85rem 1.1rem; margin-top:1rem; }
.site-help p { margin:.65rem 0 0; }
.race-detail .detail { color:#f3f6ff; }
.race-detail .campaign-stats dt { color:#c6d4e4; }
.race-detail .lookup-card { margin-top:1rem; }
.race-site footer { border-top:1px solid #91a4ba33; }
@media(max-width:900px) {
  .race-site .wrap { width:calc(100% - 46px); }
  .race-site .hero-layout { grid-template-columns:minmax(0,1fr) minmax(255px,36%); gap:1rem; }
  .race-site .cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:650px) {
  .race-site .wrap { width:calc(100% - 30px); }
  .race-site .top .nav { gap:.25rem; }
  .race-site .top nav { justify-content:space-between; gap:.05rem; font-size:.75rem; }
  .race-site .top nav a { padding:.35rem .45rem; }
  .race-site .hero { min-height:0; background-size:auto 630px; background-repeat:no-repeat; background-position:57% top; padding:7.5rem 0 1.7rem; }
  .race-site .hero:before { background:linear-gradient(90deg,#04162bcc,#04162b26),linear-gradient(0deg,#06182f 5%,transparent 70%); }
  .race-site .hero-layout,.race-site .cards { grid-template-columns:minmax(0,1fr); }
  .race-site .hero h1 { font-size:clamp(2rem,8vw,3.25rem); }
  .race-site .hero h1 em { font-size:clamp(4.5rem,16vw,6.3rem); }
  .race-site .hero-copy > .hero-intro { max-width:17rem; font-size:.9rem; }
  .hero-rail a { font-size:.69rem; flex-direction:column; }
  .race-site .campaign-card { min-height:395px; }
}
.race-site .campaign-card .cover[src="/campaign-2.webp"] { object-position:center top; }

.race-site .top .nav { display:grid; grid-template-columns:1fr auto 1fr; }
.race-site .top nav { grid-column:2; }
.race-emblem { width:52px; height:52px; object-fit:contain; flex:none; }
.lookup-content .phone-field { padding:0; }
.lookup-content .phone-field input { padding:.65rem .85rem; font-variant-numeric:tabular-nums; }
.participant-stats dl { display:grid; grid-template-columns:1fr 1fr; gap:.75rem; margin:.65rem 0 .3rem; }
.participant-stats dl > div { min-width:0; padding:.55rem .65rem; background:#081a2bbd; border:1px solid #9caabe48; border-radius:8px; }
.participant-stats dt { color:#dce5f0; font-size:.72rem; }
.participant-stats dd { margin:0; color:#f9cc73; font-weight:850; font-size:1.2rem; font-variant-numeric:tabular-nums; }
.participant-stats progress { margin:.25rem 0 .6rem; accent-color:#edbe63; background:#243a53; }
.participant-stats progress::-webkit-progress-bar { background:#243a53; }
.participant-stats progress::-webkit-progress-value { background:#edbe63; }
.card-actions { display:grid; gap:.5rem; margin-top:.55rem; }
.race-site .facebook-button { background:#0e2845; color:#f3f7ff; border:1px solid #799cc480; border-radius:10px; }
.race-site .facebook-button:hover { background:#1a416d; }
.facebook-mark { display:inline-grid; place-items:center; border-radius:50%; background:#2877eb; color:white; width:1.15rem; height:1.15rem; font:800 .9rem var(--sans); }
.contact-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:.65rem; }
.contact-actions h2 { font:700 .9rem var(--sans); margin:0 .3rem 0 0; }
@media(max-width:800px) { .race-site .top .nav { grid-template-columns:auto 1fr; } .race-site .top nav { justify-content:flex-end; } }
@media(max-width:650px) { .race-site .top .nav { display:flex; } .race-site .top nav { justify-content:space-between; width:100%; order:3; } .race-site footer .row { flex-wrap:wrap; } .contact-actions { justify-content:flex-start; } }

/* Homepage hero: keep the rider's face clear of the eligibility panel. */
@media (min-width: 900px) {
  .race-site .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 29%);
    align-items: stretch;
    gap: 2.8rem;
  }
  .race-site .lookup-card {
    align-self: end;
    transform: translateY(2.5rem);
  }
}

/* Keep eligibility lookup within the illustrated hero header without covering the rider. */
.race-site .hero { position:relative; }
.race-site .hero-layout { display:block; position:relative; min-height:clamp(580px,53vw,760px); }
.race-site .hero-copy { max-width:58rem; padding:1.2rem 0 0; }
.race-site .hero .lookup-card { position:absolute; left:0; bottom:2rem; width:min(330px,38%); margin:0; transform:none; background:rgba(5,22,42,.88); border:1px solid rgba(246,195,106,.55); backdrop-filter:blur(8px); box-shadow:0 16px 44px rgba(0,0,0,.28); }
.race-site .hero-lookup { display:none; }
@media(max-width:899px) {
  .race-site .hero { min-height:650px; background-position:62% center; }
  .race-site .hero-layout { min-height:650px; }
  .race-site .hero .lookup-card { width:min(330px,52%); bottom:1.5rem; }
}
@media(max-width:600px) {
  .race-site .hero { min-height:700px; background-position:64% center; }
  .race-site .hero-layout { min-height:700px; }
  .race-site .hero-copy { max-width:80%; }
  .race-site .hero .lookup-card { width:min(100%,330px); left:0; bottom:1rem; }
}


/* Hero refresh: large, clear eligibility card on the image side. */
@media (min-width: 901px) {
  .race-site .hero {
    min-height: clamp(650px, 56vw, 790px);
    background-position: center 48%;
  }
  .race-site .hero:before {
    background:
      linear-gradient(90deg, #04162bdc 0%, #04162b9c 38%, #04162b18 72%),
      linear-gradient(0deg, #05142a9c, transparent 42%);
  }
  .race-site .hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 43%);
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3.2rem);
    min-height: 0;
  }
  .race-site .hero-copy {
    max-width: 100%;
    padding: 1.2rem 0;
  }
  .race-site .hero-copy > .hero-tagline {
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    font-weight: 900;
    text-shadow: 0 2px 12px #000b;
  }
  .race-site .hero-copy > .hero-intro {
    max-width: 31rem;
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    text-shadow: 0 2px 10px #000b;
  }
  .race-site .hero .lookup-card {
    position: relative;
    inset: auto;
    align-self: center;
    width: 100%;
    max-width: 490px;
    margin: 0 0 0 auto;
    transform: none;
    background: rgba(250, 248, 242, .97);
    border: 2px solid #f6ca70;
    border-radius: 22px;
    box-shadow: 0 24px 65px #020b1acc, 0 0 0 6px #f6ca7022;
  }
  .race-site .hero .lookup-content {
    padding: clamp(1.5rem, 2.5vw, 2.35rem);
  }
  .race-site .hero .lookup-content h2 {
    font-size: clamp(2rem, 3vw, 2.7rem);
    color: #07192f;
  }
  .race-site .hero .lookup-content > p {
    font-size: 1rem;
    color: #34445a;
  }
  .race-site .hero .lookup-form label {
    font-size: 1rem;
    font-weight: 750;
    color: #17263a;
  }
  .race-site .hero .lookup-content .phone-field input {
    min-height: 58px;
    font-size: 1.35rem;
    letter-spacing: .08em;
  }
  .race-site .hero .lookup-content .lookup-form .button {
    min-height: 58px;
    font-size: 1.05rem;
  }
}
@media (max-width: 900px) {
  .race-site .hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    min-height: 0;
  }
  .race-site .hero-copy { max-width: min(100%, 34rem); }
  .race-site .hero .lookup-card {
    position: relative;
    inset: auto;
    width: min(100%, 440px);
    margin: .5rem 0 0;
    transform: none;
  }
}
@media (max-width: 650px) {
  .race-site .hero { padding-top: 7.5rem; }
  .race-site .hero-layout { gap: .75rem; }
  .race-site .hero .lookup-card { width: 100%; max-width: none; }
}


/* High-contrast mobile hero lookup and clear payment instructions. */
@media (max-width: 900px) {
  .race-site .hero .lookup-card {
    background: #fffdf7;
    color: #10243a;
    border: 2px solid #f4c76b;
    border-radius: 16px;
    box-shadow: 0 16px 42px #020b1acc;
  }
  .race-site .hero .lookup-content { padding: 1.25rem; }
  .race-site .hero .lookup-content h2 {
    color: #071a30;
    font-size: clamp(1.8rem, 7vw, 2.25rem);
    font-weight: 900;
  }
  .race-site .hero .lookup-content > p,
  .race-site .hero .lookup-form label { color: #25364b; font-weight: 650; }
  .race-site .hero .lookup-content > p { font-size: 1rem; line-height: 1.45; }
  .race-site .hero .lookup-content .phone-field {
    background: #fff;
    border: 2px solid #64748b;
    border-radius: 9px;
  }
  .race-site .hero .lookup-content .phone-field input {
    color: #071a30;
    font-size: 1.25rem;
    font-weight: 750;
    min-height: 54px;
  }
  .race-site .hero .lookup-content .lookup-form .button {
    color: #17130a;
    font-weight: 900;
    min-height: 54px;
  }
  .race-site .hero .lookup-content #lookup-status { color: #10243a; }
}
.payment-card {
  margin: 1rem 0 1.25rem;
  padding: clamp(1rem, 3vw, 1.45rem);
  color: #10243a;
  background: linear-gradient(145deg, #fffdf7, #f1f5f2);
  border: 1px solid #d8b45f;
  border-radius: 16px;
  box-shadow: 0 12px 30px #020b1a40;
}
.bank-brand { display:flex; align-items:center; gap:.8rem; padding-bottom:.9rem; border-bottom:1px solid #d8dedb; }
.bank-logo-mark {
  display:grid; place-items:center; width:48px; height:48px; flex:none;
  border-radius:50%; color:#fff; background:#087c45; border:3px solid #d7b75e;
  font:900 1.7rem Georgia,serif;
}
.bank-logo-image { width:52px; height:52px; object-fit:contain; flex:none; }
.bank-brand strong { display:block; color:#087343; font-size:1.1rem; font-weight:900; letter-spacing:.025em; }
.bank-brand small { display:block; color:#445468; font-size:.7rem; font-weight:800; letter-spacing:.12em; margin-top:.15rem; }
.payment-card dl { display:grid; gap:.7rem; margin:1rem 0; }
.payment-card dl > div { padding:.65rem .75rem; background:#fff; border:1px solid #dce2df; border-radius:9px; }
.payment-card dt { color:#475569; font-size:.76rem; font-weight:850; letter-spacing:.03em; }
.payment-card dd { margin:.2rem 0 0; color:#071a30; font-size:1.05rem; font-weight:850; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.payment-card dl > div:last-child dd { font-size:.9rem; }
.payment-note { margin:0; padding:.7rem .8rem; color:#713f12; background:#fff2cf; border-radius:8px; font-size:.82rem; font-weight:750; line-height:1.45; }
.ticket-price { display:flex; align-items:center; flex-wrap:wrap; gap:.65rem; color:#f7d38a; font-size:.83rem; font-weight:850; letter-spacing:.06em; }
.ticket-price strong { font-size:1.5rem; color:#fff; letter-spacing:0; }
.card-price { color:#ffe0a0; font-size:.9rem; margin:.45rem 0; }
.card-price strong { font-size:1.1rem; color:#fff; }
.bank-fields { border:1px solid #c8c5b7; border-radius:8px; padding:1rem; }
.bank-fields legend { padding:0 .45rem; font-weight:850; }
.campaign-danger-actions { display:flex; flex-wrap:wrap; gap:.75rem; margin:1rem 0; }
@media(max-width:650px) {
  .payment-card { margin-inline:0; padding:1rem; }
  .payment-card dd { font-size:1rem; }
  .ticket-price strong { font-size:1.35rem; }
  .campaign-danger-actions form { width:100%; }
  .campaign-danger-actions button { width:100%; }
}

/* Mobile-friendly sharing, contact and bank logo upload presentation. */
.race-site .contact-actions { width:100%; justify-content:center; gap:.6rem; }
.race-site .contact-actions .button { min-height:46px; display:inline-flex; align-items:center; justify-content:center; padding:.7rem 1rem; }
.race-site .card-actions { grid-template-columns:1fr; }
.race-site .facebook-button { min-height:46px; white-space:normal; text-align:center; line-height:1.25; }
.bank-logo-image { width:64px; height:64px; padding:5px; background:#fff; border:1px solid #e1e7e3; border-radius:12px; }
@media(max-width:650px) {
 .race-site footer .row { display:flex; flex-direction:column; align-items:flex-start; gap:1rem; }
 .race-site .contact-actions { display:grid; grid-template-columns:1fr; width:100%; justify-content:stretch; }
 .race-site .contact-actions .button { width:100%; }
 .race-site .card-actions { gap:.65rem; }
}


/* Clear, separated raffle ticket counters on phones and small tablets */
.race-site .campaign-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0 12px}
.race-site .campaign-stats>div{min-width:0;padding:13px 12px;background:#17372b;border:1px solid #9baf9c;border-radius:10px;box-shadow:0 3px 12px #071b1220}
.race-site .campaign-stats dt{color:#e6eadf;font:650 .78rem/1.35 system-ui,-apple-system,"Segoe UI",sans-serif;overflow-wrap:anywhere}
.race-site .campaign-stats dd{margin:7px 0 0;color:#fff;font:800 clamp(1.35rem,3.5vw,2rem)/1.1 system-ui,-apple-system,"Segoe UI",sans-serif;font-variant-numeric:tabular-nums;letter-spacing:.01em}
.race-site .campaign-stats>div:nth-child(1){border-top:4px solid #e6bd68}
.race-site .campaign-stats>div:nth-child(2){border-top:4px solid #9eb8e4}
.race-site .campaign-stats>div:nth-child(3){border-top:4px solid #82c69b}
.race-site .progress-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;color:inherit;font-size:.85rem}
.race-site .progress-label strong{flex:0 0 auto;color:#f1cc7e;font-weight:800;font-variant-numeric:tabular-nums}
.race-site .campaign-stats+.progress-label+progress{display:block;width:100%;height:10px;margin:8px 0 18px;border:0;border-radius:99px;overflow:hidden;accent-color:#e6bd68}
.race-site .campaign-stats+.progress-label+progress::-webkit-progress-bar{background:#d8dfd8;border-radius:99px}
.race-site .campaign-stats+.progress-label+progress::-webkit-progress-value{background:#d3a84e;border-radius:99px}
@media(max-width:650px){
.race-site .campaign-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0 10px}
.race-site .campaign-stats>div{min-height:88px;padding:12px 11px;display:flex;flex-direction:column;justify-content:space-between}
.race-site .campaign-stats>div:nth-child(3){grid-column:1/-1}
.race-site .campaign-stats dt{font-size:.76rem}
.race-site .campaign-stats dd{font-size:1.65rem}
.race-site .progress-label{font-size:.8rem;margin-top:10px}
.race-site .campaign-stats+.progress-label+progress{height:11px}
}
@media(max-width:360px){
.race-site .campaign-stats{gap:7px}
.race-site .campaign-stats>div{padding:10px 9px}
.race-site .campaign-stats dt{font-size:.7rem}
.race-site .campaign-stats dd{font-size:1.45rem}
}


/* Refined mobile campaign layout, ticket pricing and lookup results */
.race-site .ticket-price{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  width:fit-content;max-width:100%;margin:1.1rem 0;padding:12px 16px;
  color:#f9e4b6;background:linear-gradient(135deg,#102b43,#173d36);
  border:1px solid #d8b45f;border-left:5px solid #e8bd63;border-radius:13px;
  box-shadow:0 8px 22px #020b1a35;font-size:.78rem;letter-spacing:.07em;
}
.race-site .ticket-price strong{
  display:block;color:#ffda88;font-size:clamp(1.35rem,4vw,1.85rem);
  font-weight:950;line-height:1.15;letter-spacing:-.02em;white-space:nowrap;
}
.race-site .campaign-stats{
  grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;
  padding:0;margin:1.2rem 0 .7rem;
}
.race-site .campaign-stats>div{
  min-width:0;min-height:100px;display:flex;flex-direction:column;
  justify-content:space-between;padding:14px 12px;
  background:#102c27;border:1px solid #49685b;border-radius:13px;
  box-shadow:0 7px 18px #020b1a24;
}
.race-site .campaign-stats>div:nth-child(1){border-top:4px solid #e9bd64}
.race-site .campaign-stats>div:nth-child(2){border-top:4px solid #9eb8e4}
.race-site .campaign-stats>div:nth-child(3){border-top:4px solid #82c69b}
.race-site .campaign-stats dt{color:#e4eee7;font-size:.78rem;font-weight:750;line-height:1.3}
.race-site .campaign-stats dd{margin:.6rem 0 0;color:#fff;font:900 clamp(1.4rem,3vw,2rem)/1 system-ui,sans-serif;font-variant-numeric:tabular-nums}
.race-site .progress-label{margin:.8rem 0 .25rem;color:#e7eee9;font-size:.84rem}
.race-site .progress-label strong{color:#f5cf7b}
.race-site .campaign-stats+ .progress-label+progress{height:11px;margin:.35rem 0 1.2rem}
.race-site #lookup-status{
  margin:.85rem 0 0;padding:12px;background:#f2f7f3;
  color:#132b22;border:1px solid #c8d8ce;border-radius:12px;
  overflow-wrap:anywhere;
}
.race-site #lookup-status .lookup-total{
  display:block;margin-bottom:9px;color:#075c3c;font-size:1rem;font-weight:900;
}
.race-site #lookup-status .lookup-campaign-result{
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;
  padding:10px 0;border-top:1px solid #d5e0d9;font-size:.9rem;
}
.race-site #lookup-status .lookup-campaign-result span{min-width:0;font-weight:700}
.race-site #lookup-status .lookup-campaign-result strong{flex:none;color:#075c3c;white-space:nowrap}
.race-detail .detail{align-items:start}
.race-detail .detail-image{
  display:block;width:100%;height:auto;max-height:620px;min-height:220px;
  object-fit:contain;object-position:center;background:#0b2033;
  border:1px solid #ffffff20;border-radius:16px;
}
@media(max-width:650px){
  .race-site .campaign-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .race-site .campaign-stats>div{min-height:88px;padding:11px 10px}
  .race-site .campaign-stats>div:nth-child(3){grid-column:1/-1;min-height:76px}
  .race-site .campaign-stats dt{font-size:.74rem}
  .race-site .campaign-stats dd{font-size:1.65rem}
  .race-site .ticket-price{width:100%;padding:12px 14px}
  .race-site .ticket-price strong{font-size:1.5rem}
  .race-detail .detail{grid-template-columns:minmax(0,1fr);gap:1.25rem;padding-block:1.4rem 2.5rem}
  .race-detail .detail>div{min-width:0}
  .race-detail .detail-image{width:100%;height:auto;max-height: min(105vw,520px);min-height:0;object-fit:contain}
  .race-detail .detail>div:first-child{order:1}
  .race-detail .detail>div:nth-child(2){order:2}
}
@media(max-width:380px){
  .race-site .campaign-stats{gap:6px}
  .race-site .campaign-stats>div{padding:10px 8px}
  .race-site .campaign-stats dt{font-size:.69rem}
  .race-site .campaign-stats dd{font-size:1.45rem}
}


/* Campaign cards: separate the horse photo from all text and ticket information. */
.race-site .campaign-card{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  overflow:hidden;
  min-height:0;
  height:100%;
  background:#0b2035;
  border:1px solid #526b80;
  border-radius:18px;
  box-shadow:0 16px 38px #020b1a55;
}
.race-site .campaign-card .cover{
  position:relative;
  inset:auto;
  z-index:0;
  display:block;
  flex:0 0 auto;
  width:100%;
  height:clamp(190px,24vw,290px);
  object-fit:contain;
  object-position:center;
  background:#06182b;
}
.race-site .campaign-card:before{display:none;content:none}
.race-site .campaign-card .card-body{
  position:relative;
  z-index:1;
  width:100%;
  padding:clamp(1rem,2vw,1.4rem);
  background:linear-gradient(180deg,#102b43,#0b2035);
}
.race-site .campaign-card .card-body h3{
  margin:0 0 .45rem;
  font-size:clamp(1.25rem,2vw,1.75rem);
  line-height:1.15;
}
.race-site .campaign-card .card-body .description{
  display:block;
  overflow:visible;
  -webkit-line-clamp:unset;
  margin:.35rem 0 .85rem;
  color:#d8e4ee;
  font-size:.94rem;
  line-height:1.5;
}
.race-site .campaign-card .card-price{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:.5rem 1rem;
  margin:.8rem 0 1rem;
  padding:.85rem 1rem;
  color:#ffe4ad;
  background:linear-gradient(120deg,#3c2d14,#243b36);
  border:1px solid #dcb65d;
  border-left:5px solid #f1c76c;
  border-radius:12px;
  font-size:.9rem;
  font-weight:800;
}
.race-site .campaign-card .card-price strong{
  color:#ffda83;
  font-size:clamp(1.5rem,3vw,2rem);
  line-height:1.1;
  font-weight:950;
  white-space:nowrap;
}
.race-site .campaign-card .campaign-stats{margin:.85rem 0 .65rem}
.race-site .campaign-card .campaign-stats>div{background:#102e29}
.race-site .campaign-card .card-actions{margin-top:1rem;gap:.65rem}
.race-site .campaign-card .card-actions .button{
  min-height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  font-weight:850;
}
@media(max-width:650px){
  .race-site .campaign-card .cover{height:clamp(190px,58vw,270px)}
  .race-site .campaign-card .card-body{padding:1rem}
  .race-site .campaign-card .campaign-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .race-site .campaign-card .campaign-stats>div{min-height:78px;padding:9px 7px}
  .race-site .campaign-card .campaign-stats>div:nth-child(3){grid-column:auto;min-height:78px}
  .race-site .campaign-card .campaign-stats dt{font-size:.68rem}
  .race-site .campaign-card .campaign-stats dd{font-size:clamp(1.05rem,5vw,1.5rem)}
  .race-site .campaign-card .progress-label{font-size:.76rem}
  .race-site .campaign-card .card-price{padding:.8rem}
  .race-site .campaign-card .card-price strong{font-size:1.55rem}
}


/* Premium ticket statistics: restrained metallic accents, depth and clear hierarchy. */
.race-site .campaign-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(7px,1vw,12px);
  margin:1.15rem 0 .8rem;
}
.race-site .campaign-stats>div{
  position:relative;
  isolation:isolate;
  min-width:0;
  min-height:112px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:.7rem;
  padding:clamp(11px,1.3vw,16px);
  overflow:hidden;
  background:linear-gradient(145deg,#183247 0%,#102638 58%,#0c202f 100%);
  border:1px solid #7890a044;
  border-radius:14px;
  box-shadow:inset 0 1px 0 #ffffff12,0 8px 20px #020b1a40;
}
.race-site .campaign-stats>div:before{
  content:"";
  position:absolute;
  z-index:-1;
  width:105px;
  height:105px;
  right:-40px;
  bottom:-55px;
  border-radius:50%;
  background:radial-gradient(circle,#ffffff13 0%,#ffffff00 72%);
}
.race-site .campaign-stats>div:nth-child(1){
  border-top:3px solid #d9ad57;
  background:linear-gradient(145deg,#263b3b,#142b2b 72%,#102321);
}
.race-site .campaign-stats>div:nth-child(2){
  border-top:3px solid #9db8d7;
  background:linear-gradient(145deg,#26394d,#172b40 72%,#102236);
}
.race-site .campaign-stats>div:nth-child(3){
  border-top:3px solid #82bd9b;
  background:linear-gradient(145deg,#244239,#15352e 72%,#102820);
}
.race-site .campaign-stats dt{
  color:#c8d5df;
  font:700 clamp(.68rem,1vw,.8rem)/1.35 system-ui,-apple-system,"Segoe UI",sans-serif;
  letter-spacing:.015em;
}
.race-site .campaign-stats dd{
  margin:0;
  color:#f8fafc;
  font:900 clamp(1.35rem,2.6vw,2rem)/1 system-ui,-apple-system,"Segoe UI",sans-serif;
  letter-spacing:-.035em;
  font-variant-numeric:tabular-nums;
  text-shadow:0 2px 12px #0005;
}
.race-site .campaign-stats>div:nth-child(1) dd{color:#f2d18e}
.race-site .campaign-stats>div:nth-child(2) dd{color:#e1eaf5}
.race-site .campaign-stats>div:nth-child(3) dd{color:#a9dfbd}
.race-site .progress-label{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:.85rem 0 .35rem;
  color:#dce6ed;
  font-size:.85rem;
  font-weight:650;
}
.race-site .progress-label strong{
  color:#f2cf83;
  font-weight:900;
  font-variant-numeric:tabular-nums;
}
.race-site .campaign-stats+.progress-label+progress{
  display:block;
  width:100%;
  height:10px;
  margin:.35rem 0 1.15rem;
  overflow:hidden;
  border:0;
  border-radius:99px;
  background:#dce4e8;
  accent-color:#d8ad59;
}
.race-site .campaign-stats+.progress-label+progress::-webkit-progress-bar{
  background:#dce4e8;
  border-radius:99px;
}
.race-site .campaign-stats+.progress-label+progress::-webkit-progress-value{
  background:linear-gradient(90deg,#b88a3e,#f0cf7b);
  border-radius:99px;
  box-shadow:0 0 12px #e5bc6755;
}
.race-site .campaign-stats+.progress-label+progress::-moz-progress-bar{
  background:linear-gradient(90deg,#b88a3e,#f0cf7b);
  border-radius:99px;
}
@media(max-width:650px){
  .race-site .campaign-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .race-site .campaign-stats>div{min-height:88px;padding:10px 8px;border-radius:11px}
  .race-site .campaign-stats>div:nth-child(3){grid-column:auto;min-height:88px}
  .race-site .campaign-stats dt{font-size:clamp(.62rem,2.35vw,.72rem)}
  .race-site .campaign-stats dd{font-size:clamp(1.05rem,5vw,1.5rem)}
  .race-site .progress-label{font-size:.78rem}
}
@media(max-width:360px){
  .race-site .campaign-stats{gap:5px}
  .race-site .campaign-stats>div{padding:9px 6px}
  .race-site .campaign-stats dt{font-size:.6rem}
  .race-site .campaign-stats dd{font-size:1rem}
}

.lookup-campaign-result{margin-top:14px;padding:14px;border:1px solid #48647b;border-radius:14px;background:linear-gradient(145deg,#122b40,#0d2031)}
.lookup-campaign-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;color:#f4d18a}
.lookup-ticket-list{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:7px}
.lookup-ticket-list li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border-radius:9px;background:#ffffff09;border:1px solid #ffffff12}
.lookup-ticket-list li strong{color:#f2d18e;white-space:nowrap}
.lookup-ticket-list li span{color:#c7d4df;text-align:right;font-size:.86rem}
.campaign-share-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:14px}
.account-copy{background:#1b3b51;border:1px solid #6e91a7;color:#fff}
.bank-mini-details{margin:7px 0 0;color:#b8c8d5;font-size:.76rem;line-height:1.5}
@media(max-width:520px){.lookup-ticket-list li{align-items:flex-start;flex-direction:column;gap:4px}.lookup-ticket-list li span{text-align:left}.campaign-share-actions>*{flex:1}}

/* Sold-out seal: appears only when confirmed ticket sales reach the total */
.race-site .campaign-image-wrap,.race-site .detail-image-wrap{position:relative;isolation:isolate;overflow:hidden}
.race-site .campaign-image-wrap{width:100%;height:clamp(220px,22vw,330px);border-radius:13px 13px 0 0}
.race-site .campaign-image-wrap .cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 37%}
.race-site .sold-out-stamp{position:absolute;z-index:3;top:18px;right:16px;width:112px;height:112px;border:4px double #fff0c5;border-radius:50%;background:radial-gradient(circle at 35% 28%,#e85b49,#a81422 68%,#650b19);box-shadow:0 5px 18px #0009, inset 0 0 0 4px #a81422, inset 0 0 0 6px #f6d58b;color:#fff7df;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;transform:rotate(12deg);text-shadow:0 1px 2px #4d0710}
.race-site .sold-out-stamp:before{content:"";position:absolute;inset:8px;border:1px dashed #ffe4a8;border-radius:50%;pointer-events:none}
.race-site .sold-out-stamp span{font:900 1.65rem/1 var(--sans);letter-spacing:-.06em}
.race-site .sold-out-stamp strong{font:950 1.05rem/1.15 var(--sans);letter-spacing:.03em}
.race-site .sold-out-stamp small{font:750 .48rem/1.2 var(--sans);letter-spacing:.08em;margin-top:4px}
.race-site .detail-image-wrap{border-radius:14px;background:#071a2c}
.race-site .detail-image-wrap .detail-image{display:block;width:100%;height:auto}
.race-site .sold-out-stamp-large{width:clamp(120px,18vw,170px);height:clamp(120px,18vw,170px);top:22px;right:22px}
.race-site .sold-out-stamp-large span{font-size:clamp(1.8rem,3vw,2.6rem)}
.race-site .sold-out-stamp-large strong{font-size:clamp(1.15rem,2vw,1.55rem)}
@media(max-width:700px){.race-site .campaign-image-wrap{height:220px}.race-site .sold-out-stamp{width:96px;height:96px;top:12px;right:12px}.race-site .sold-out-stamp span{font-size:1.4rem}.race-site .sold-out-stamp strong{font-size:.9rem}.race-site .sold-out-stamp-large{width:112px;height:112px}}


/* Clear ticket lookup: group by payment transaction, emphasize ticket numbers. */
.race-site .lookup-total{display:block;margin:0 0 12px;padding:14px 16px;border:1px solid #c7a45e;border-radius:12px;background:#fff8e8;color:#173b2b;font-size:1.15rem;font-weight:900}
.race-site .lookup-campaign-result{padding:clamp(14px,2.5vw,22px);margin-top:14px;background:#10283a;border:1px solid #45647b;border-radius:15px}
.race-site .lookup-campaign-heading{padding-bottom:12px;border-bottom:1px solid #ffffff25;font-size:1rem}
.race-site .lookup-campaign-heading>strong{font-size:1.05rem;line-height:1.35}
.race-site .lookup-campaign-heading>span{flex:none;padding:5px 10px;border-radius:999px;background:#f4d18a;color:#183044;font-weight:900}
.race-site .lookup-transaction{margin-top:13px;padding:14px;border:1px solid #ffffff20;border-radius:12px;background:#ffffff08}
.race-site .lookup-transaction-meta{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 12px}
.race-site .lookup-transaction-meta>span{grid-column:1/-1;color:#aebfcb;font-size:.68rem;font-weight:850;letter-spacing:.1em}
.race-site .lookup-transaction-meta>strong{color:#fff;font-size:.94rem;font-variant-numeric:tabular-nums}
.race-site .lookup-transaction-meta>.lookup-transaction-amount{grid-column:2;grid-row:2;color:#f5d58e;font-size:1rem;white-space:nowrap}
.race-site .lookup-numbers-label{margin:14px 0 8px;color:#d2dfdf;font-size:.72rem;font-weight:850;letter-spacing:.055em}
.race-site .lookup-number-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:8px}
.race-site .lookup-number-chip{display:grid;place-items:center;min-height:46px;padding:7px 5px;border:1px solid #d7b66e;border-radius:8px;background:linear-gradient(145deg,#fff5d9,#e9ce8f);color:#172d27;font-size:1.05rem;font-weight:950;font-variant-numeric:tabular-nums;letter-spacing:.035em;box-shadow:0 2px 0 #98733b}
@media(max-width:520px){
 .race-site .lookup-transaction{padding:11px}
 .race-site .lookup-transaction-meta{grid-template-columns:1fr}
 .race-site .lookup-transaction-meta>.lookup-transaction-amount{grid-column:1;grid-row:auto;margin-top:3px}
 .race-site .lookup-number-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
 .race-site .lookup-number-chip{min-height:43px;font-size:1rem}
}


/* Stable, compact lookup output: only total rights and ticket numbers. */
.race-site #lookup-status{display:block;min-width:0;overflow-wrap:anywhere}
.race-site .lookup-total{display:block;margin:12px 0;padding:15px 17px;border:1px solid #d6b66e;border-radius:12px;background:#fff7df;color:#173b2b;font-size:clamp(1.05rem,2.5vw,1.3rem);font-weight:950}
.race-site .lookup-campaign-result{display:grid;gap:14px;margin-top:12px;padding:clamp(14px,2.5vw,22px);background:#10283a;border:1px solid #45647b;border-radius:14px}
.race-site .lookup-campaign-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#f4d18a}
.race-site .lookup-campaign-heading>strong{font-size:1.05rem;line-height:1.35}
.race-site .lookup-campaign-heading>span{flex:none;padding:6px 11px;border-radius:999px;background:#f4d18a;color:#183044;font-weight:950}
.race-site .lookup-number-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:9px}
.race-site .lookup-number-chip{display:grid;place-items:center;min-height:48px;padding:8px 5px;border:1px solid #d7b66e;border-radius:9px;background:linear-gradient(145deg,#fff5d9,#e9ce8f);color:#172d27;font-size:1.12rem;font-weight:950;font-variant-numeric:tabular-nums;letter-spacing:.035em;box-shadow:0 2px 0 #98733b}
.race-site .live-button{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:1.25rem;padding:13px 18px;border:1px solid #ff8a8a;border-radius:9px;background:#a81725;color:#fff;font-weight:900;box-shadow:0 8px 24px #0003}
.race-site .live-button small{width:100%;padding-left:22px;color:#ffe1e1;font-size:.66rem;letter-spacing:.08em}
.race-site .live-dot{width:10px;height:10px;border-radius:50%;background:#fff;box-shadow:0 0 0 4px #ffffff28}
.race-site .live-button.is-live .live-dot{background:#ffb8b8;animation:livePulse 1.5s infinite}
.race-site .live-button.is-disabled{border-color:#77818a;background:#45515c;color:#e1e6e9;cursor:not-allowed;box-shadow:none}
.race-site .live-button.is-disabled small{color:#c4cbd0}
@keyframes livePulse{50%{box-shadow:0 0 0 8px #ffffff10;opacity:.65}}
.race-site .card-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px}
.race-site .bank-mini-details{margin:8px 0 0;color:#d7e0e5;font-size:.76rem;line-height:1.5}
@media(max-width:520px){
 .race-site .lookup-number-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
 .race-site .lookup-number-chip{min-height:46px;font-size:1.05rem}
 .race-site .lookup-campaign-heading{align-items:flex-start}
 .race-site .card-actions>*{flex:1 1 100%;min-width:0}
 .race-site .live-button{width:100%;justify-content:center}
}


/* Final responsive ticket lookup layout: compact count + fluid ticket grid. */
.race-site .lookup-form #lookup-status:not([hidden]){
 display:grid!important;grid-template-columns:minmax(0,1fr);gap:12px;width:100%;max-width:100%;
 margin-top:14px;padding:0;background:transparent!important;color:var(--ivory);
 font-weight:400;overflow:visible;
}
.race-site .lookup-form #lookup-status .lookup-total{
 display:block;width:100%;min-width:0;margin:0;padding:14px 16px;
 border:1px solid #d8b66b;border-radius:10px;background:#fff4d8;color:#173b2b;
 font-size:clamp(1rem,2vw,1.25rem);line-height:1.35;font-weight:900;text-align:center;
 overflow-wrap:anywhere;
}
.race-site .lookup-form #lookup-status .lookup-campaign-result{
 display:block;width:100%;min-width:0;margin:0;padding:clamp(12px,2vw,18px);
 border:1px solid #617b8c;border-radius:12px;background:#10283a;color:#fff;
 overflow:hidden;
}
.race-site .lookup-form #lookup-status .lookup-campaign-heading{
 display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;
 width:100%;min-width:0;margin:0 0 12px;padding:0 0 10px;border-bottom:1px solid #ffffff30;
 color:#f5d58e;
}
.race-site .lookup-form #lookup-status .lookup-campaign-heading>strong{
 min-width:0;flex:1 1 130px;color:#fff;font-size:clamp(.9rem,1.5vw,1.05rem);
 line-height:1.35;overflow-wrap:anywhere;white-space:normal;
}
.race-site .lookup-form #lookup-status .lookup-campaign-heading>span{
 flex:0 0 auto;padding:5px 10px;border-radius:30px;background:#f5d58e;color:#173047;
 font-size:.85rem;font-weight:900;white-space:nowrap;
}
.race-site .lookup-form #lookup-status .lookup-number-grid{
 display:grid;width:100%;min-width:0;grid-template-columns:repeat(auto-fit,minmax(min(100%,64px),1fr));
 gap:8px;align-items:stretch;
}
.race-site .lookup-form #lookup-status .lookup-number-chip{
 display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;
 padding:7px 4px;border:1px solid #d9bd7d;border-radius:8px;
 background:linear-gradient(145deg,#fff6df,#e8ca85);color:#173529;
 font-size:clamp(.95rem,1.8vw,1.12rem);line-height:1.1;font-weight:950;
 font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:clip;
 box-shadow:0 2px 0 #92713d;
}
.race-site .live-button{display:inline-flex;align-items:center;justify-content:center;gap:11px;min-height:48px;margin-top:1rem;padding:13px 22px;border:1px solid #f06b72;border-radius:8px;background:#a81725;color:#fff;font-weight:950;letter-spacing:.06em;box-shadow:0 7px 22px #0004}
.race-site .live-button .live-dot{width:11px;height:11px;flex:none;border-radius:50%;background:#fff}
.race-site .live-button.is-live{background:#c91425;border-color:#ff8b91;animation:liveButtonPulse 1.25s ease-in-out infinite;box-shadow:0 0 0 0 #ed263a88,0 8px 24px #0004}
.race-site .live-button.is-live .live-dot{background:#fff;animation:liveDotPulse .9s ease-in-out infinite}
.race-site .live-button.is-disabled{background:#5c6670;border-color:#89939b;color:#e6e9ec;opacity:.78;cursor:not-allowed;box-shadow:none}
.race-site .phone-contact{background:#f1d18c;color:#183327;font-weight:900}
@keyframes liveButtonPulse{0%,100%{box-shadow:0 0 0 0 #ed263a00,0 8px 24px #0004;filter:brightness(1)}50%{box-shadow:0 0 0 7px #ed263a28,0 8px 28px #0005;filter:brightness(1.12)}}
@keyframes liveDotPulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.78)}}
@media(max-width:600px){
 .race-site .hero-layout{min-width:0}
 .race-site .hero-copy{min-width:0}
 .race-site .live-button{width:100%;max-width:100%}
 .race-site .lookup-form #lookup-status .lookup-number-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
 .race-site .lookup-form #lookup-status .lookup-number-chip{min-height:43px;font-size:1rem}
 .race-site .lookup-form #lookup-status .lookup-campaign-result{padding:12px}
 .race-site .contact-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;width:100%;gap:9px}
 .race-site .contact-actions .button{flex:1 1 140px;min-width:0}
}

/* Campaign detail: image and ticket status above; bank and lookup below. */
.race-site .race-detail .detail{align-items:start;gap:clamp(20px,3vw,36px)}
.race-site .race-detail .detail-image-wrap{grid-column:2;grid-row:1;align-self:start}
.race-site .race-detail .detail>div:first-child{grid-column:1;grid-row:1;min-width:0}
.race-site .race-detail .detail-lower{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;width:min(100% - 2rem,1200px);margin:0 auto;padding:0 0 clamp(28px,5vw,56px)}
.race-site .race-detail .detail-lower .payment-card,.race-site .race-detail .detail-lower .lookup-card{width:100%;max-width:none;margin:0;min-width:0}
.race-site .race-detail .detail-lower .lookup-form{max-width:100%}
.race-site .race-detail .detail-lower #lookup-status{width:100%;max-width:100%;min-width:0}
@media(max-width:700px){
 .race-site .race-detail .detail{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
 .race-site .race-detail .detail>div:first-child{grid-column:1;grid-row:2}
 .race-site .race-detail .detail-image-wrap{grid-column:1;grid-row:1;width:100%}
 .race-site .race-detail .detail-image{width:100%;height:auto;max-height:none;object-fit:contain}
 .race-site .race-detail .detail-lower{width:calc(100% - 24px);gap:12px}
}

/* 2026 copyright and privacy notice */
.race-site .legal-notice{max-width:1200px;margin:18px auto 0;padding:14px 0 20px;border-top:1px solid #ffffff25;color:#aebdc8;font-size:.72rem;line-height:1.65}
.race-site .legal-notice p{margin:5px 0}


/* Responsive payment account and transfer memo emphasis */
.race-site .bank-mini-details{display:grid;grid-template-columns:minmax(0,1fr);gap:.3rem;margin:.8rem 0 0;padding:.85rem 1rem;color:#10243a;background:#f7f3e8;border:1px solid #d8b45f;border-radius:12px;font-size:.78rem;line-height:1.35}
.race-site .bank-mini-details span{color:#536477;font-size:.68rem;font-weight:900;letter-spacing:.09em}
.race-site .bank-mini-details strong{display:block;color:#071a30;font-size:1.08rem;font-weight:950;line-height:1.35;overflow-wrap:anywhere;word-break:normal;font-variant-numeric:tabular-nums}
.race-site .bank-mini-details .memo-highlight{padding:.65rem .75rem;border-radius:8px;color:#5b250d;background:#ffe3a0;border:1px solid #e8b84f;font-size:clamp(1rem,2.2vw,1.18rem);letter-spacing:.015em}
.race-site .payment-card .payment-memo-row{background:#fff0c9;border:2px solid #e3ad38;box-shadow:0 4px 12px #9a6b1b20}
.race-site .payment-card .payment-memo-row dt{color:#74410c;font-size:.82rem;font-weight:950}
.race-site .payment-card .payment-memo-row dd{display:block;margin-top:.45rem;padding:.75rem .85rem;color:#55220b;background:#ffe2a0;border-radius:8px;font-size:clamp(1.02rem,2.6vw,1.28rem);font-weight:950;line-height:1.35;overflow-wrap:anywhere;word-break:normal}
@media(max-width:520px){.race-site .bank-mini-details{padding:.75rem .8rem}.race-site .bank-mini-details strong{font-size:1rem}.race-site .payment-card .payment-memo-row dd{font-size:1.04rem}}

/* Clearly differentiated phone lookup states for desktop and mobile. */
.race-site .lookup-form #lookup-status.lookup-status-empty,
.race-site .lookup-form #lookup-status.lookup-status-error,
.race-site .lookup-form #lookup-status.lookup-status-loading{
 display:flex!important;flex-direction:column;align-items:flex-start;gap:8px;
 width:100%;margin-top:14px;padding:16px 18px;border-radius:12px;
 font-size:.92rem;line-height:1.55;font-weight:650;text-align:left;
}
.race-site .lookup-form #lookup-status.lookup-status-empty{
 color:#762b22;background:#fff0ed;border:2px solid #d86a5e;
 box-shadow:0 5px 18px #4b130d20;
}
.race-site .lookup-form #lookup-status.lookup-status-empty strong{
 display:flex;align-items:center;gap:8px;color:#a32119;font-size:1.05rem;font-weight:950;
}
.race-site .lookup-form #lookup-status.lookup-status-empty strong:before{
 content:"!";display:grid;place-items:center;width:25px;height:25px;flex:none;
 border-radius:50%;background:#b52b20;color:white;font-size:1rem;
}
.race-site .lookup-form #lookup-status.lookup-status-empty span{color:#762b22;font-size:.88rem}
.race-site .lookup-form #lookup-status.lookup-status-error{color:#762b22;background:#fff0ed;border:1px solid #d86a5e}
.race-site .lookup-form #lookup-status.lookup-status-loading{color:#173b52;background:#eaf4fa;border:1px solid #8bb7d0}
.race-site .lookup-form #lookup-status.lookup-status-success{display:grid!important;gap:12px}
@media(max-width:600px){
 .race-site .lookup-form #lookup-status.lookup-status-empty,
 .race-site .lookup-form #lookup-status.lookup-status-error,
 .race-site .lookup-form #lookup-status.lookup-status-loading{padding:14px;font-size:.88rem}
 .race-site .lookup-form #lookup-status.lookup-status-empty strong{font-size:.98rem}
}
