/* Fauji Ambawade Marathon — public site */
:root {
  --green-900: #16301F;   /* regimental green */
  --green-700: #2D5A3D;
  --green-100: #E4ECE3;
  --marigold:  #E9A21B;
  --laterite:  #B5452A;   /* Konkan red earth */
  --paper:     #F5F6F1;
  --white:     #FFFFFF;
  --ink:       #18221B;
  --muted:     #56655B;
  --line:      #D6DCD3;

  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Mukta", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --ridge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 80V52l80-12 70 8 90-26 60 12 80-22 70 18 70-4 80 18 90-26 70 12 80-22 80 26 90-6 70 18 90-26 80 16 80-12 110 16v40z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.125rem/1.65 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-underline-offset: .18em; }
a:hover { color: var(--laterite); }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--marigold); color: var(--ink); padding: .5rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; }
.muted { color: var(--muted); }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: .005em; margin: 0 0 .5em; }
h2 { font-size: 2.1rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 700; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 46px; padding: .55rem 1.3rem;
  font: 700 1.15rem/1 var(--display); letter-spacing: .02em; text-decoration: none; border: 2px solid var(--green-900);
  background: var(--green-900); color: var(--white); border-radius: 4px; cursor: pointer; }
.btn:hover { background: var(--green-700); border-color: var(--green-700); color: var(--white); }
.btn-marigold { background: var(--marigold); border-color: var(--marigold); color: var(--ink); }
.btn-marigold:hover { background: #F4B43A; border-color: #F4B43A; color: var(--ink); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-ghost-dark { background: transparent; color: var(--green-900); }
.btn-ghost-dark:hover { background: var(--green-100); color: var(--green-900); }
.btn-light { background: var(--white); border-color: var(--white); color: var(--green-900); }
.btn-light:hover { background: var(--marigold); border-color: var(--marigold); color: var(--ink); }
.btn-small { min-height: 38px; padding: .4rem .9rem; font-size: 1rem; }
.btn-big { min-height: 56px; padding-inline: 2rem; font-size: 1.35rem; }
.btn-block { width: 100%; }
.btn-disabled { background: #6c7a70; border-color: #6c7a70; cursor: default; }

/* ---------- header ---------- */
.site-header { background: var(--green-900); color: var(--white); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; gap: 1rem; min-height: 70px; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--white); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--white); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font: 700 1.3rem/1 var(--display); }
.brand-text span { font-size: .85rem; opacity: .8; }
.nav-toggle { display: none; }
.site-nav { display: flex; align-items: center; gap: 1rem; }
.site-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: .1rem; }
.site-nav a, .sub-toggle { display: block; white-space: nowrap; padding: .5rem .5rem; color: var(--white); text-decoration: none; font: 500 1rem/1.2 var(--body);
  background: none; border: 0; cursor: pointer; border-radius: 3px; }
.site-nav a:hover, .sub-toggle:hover { background: rgba(255,255,255,.1); color: var(--white); }
.site-nav a[aria-current="page"], .has-sub.is-active > .sub-toggle { box-shadow: inset 0 -3px 0 var(--marigold); }
.sub-toggle::after { content: ""; display: inline-block; margin-left: .35em; border: 5px solid transparent; border-top-color: currentColor; transform: translateY(3px); }
.has-sub { position: relative; }
.sub { display: none; position: absolute; top: 100%; left: 0; min-width: 260px; list-style: none; margin: 0; padding: .4rem; background: var(--white); border-radius: 4px; box-shadow: 0 10px 30px rgba(22,48,31,.25); }
.sub a { color: var(--ink); }
.sub a:hover { background: var(--green-100); color: var(--ink); }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { display: block; }
.site-nav .btn-register { background: var(--marigold); border: 2px solid var(--marigold); color: var(--ink); min-height: 42px; padding: .5rem 1.1rem; font: 700 1.1rem/1 var(--display); }
.site-nav .btn-register:hover { background: #F4B43A; border-color: #F4B43A; color: var(--ink); }

@media (max-width: 1240px) {
  .nav-my { padding: .75rem .25rem; font-size: 1.1rem; }
  .nav-toggle { display: block; background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.6); border-radius: 4px; padding: .45rem .9rem; font: 700 1rem var(--display); cursor: pointer; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--green-900); flex-direction: column; align-items: stretch; padding: .5rem 1.25rem 1.25rem; border-top: 1px solid rgba(255,255,255,.15); max-height: calc(100vh - 70px); overflow-y: auto; }
  .site-nav.open { display: flex; }
  .site-nav > ul { flex-direction: column; }
  .site-nav a, .sub-toggle { padding: .75rem .25rem; font-size: 1.1rem; width: 100%; text-align: left; }
  .sub { position: static; display: none; box-shadow: none; background: rgba(255,255,255,.06); }
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: none; }
  .has-sub.open .sub { display: block; }
  .sub a { color: var(--white); }
  .sub a:hover { background: rgba(255,255,255,.1); color: var(--white); }
  .site-nav .btn-register { margin-top: .5rem; text-align: center; justify-content: center; }
}

/* ---------- ridge (Sahyadri skyline divider) ---------- */
.ridge { height: clamp(36px, 5vw, 64px); background: var(--paper); -webkit-mask: var(--ridge) bottom / 100% 100% no-repeat; mask: var(--ridge) bottom / 100% 100% no-repeat; }

/* ---------- race bib ---------- */
.bib { position: relative; background: var(--white); color: var(--ink); border-radius: 6px; padding: 0 0 1.1rem; box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 18px 40px -18px rgba(22,48,31,.45); overflow: hidden; }
.bib-band { display: flex; justify-content: space-between; gap: 1rem; background: var(--laterite); color: var(--white); padding: .7rem 1.6rem; font: 700 1.05rem/1.1 var(--display); letter-spacing: .02em; }
.bib-number { font: 800 clamp(4.5rem, 11vw, 8.5rem)/.9 var(--display); letter-spacing: -.02em; padding: 1.1rem 1.4rem .4rem; font-variant-numeric: tabular-nums; }
.bib-number small { font-size: .32em; font-weight: 700; margin-left: .2em; letter-spacing: 0; }
.bib-foot { display: flex; justify-content: space-between; gap: 1rem; padding: 0 1.6rem; color: var(--muted); font-weight: 500; }
.pin { position: absolute; width: 13px; height: 13px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff 0 18%, #c9cfcb 40%, #8d9690 100%); box-shadow: inset 0 0 0 2px rgba(0,0,0,.08); }
.p1 { top: 52px; left: 10px; } .p2 { top: 52px; right: 10px; } .p3 { bottom: 10px; left: 10px; } .p4 { bottom: 10px; right: 10px; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--green-900); color: var(--white); overflow: hidden; }
.hero.has-photo { background: linear-gradient(100deg, rgba(22,48,31,.94) 0 42%, rgba(22,48,31,.55) 75%, rgba(22,48,31,.35)), var(--hero) center / cover no-repeat, var(--green-900); }
.hero::before { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: var(--green-700); opacity: .45; -webkit-mask: var(--ridge) bottom / 100% 100% no-repeat; mask: var(--ridge) bottom / 100% 100% no-repeat; pointer-events: none; }
.hero.has-photo::before { display: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding: clamp(3rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3.5rem); }
.hero-mr { font-size: 1.35rem; font-weight: 500; color: var(--marigold); margin: 0 0 .25rem; }
.hero h1 { font-size: clamp(3rem, 7.4vw, 5.9rem); font-weight: 800; margin: 0 0 .7rem; max-width: 11ch; line-height: .92; }
.hero-tag { font-size: 1.3rem; max-width: 34ch; margin: 0 0 1.6rem; opacity: .92; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 0 0 2rem; }
.hero-facts dt { font-size: .9rem; opacity: .7; }
.hero-facts dd { margin: 0; font-weight: 700; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.bib-hero { transform: rotate(-3deg); max-width: 440px; justify-self: end; width: 100%; animation: bib-in .9s cubic-bezier(.2,.8,.2,1) both .15s; }
@keyframes bib-in { from { opacity: 0; transform: translateY(30px) rotate(-9deg); } to { opacity: 1; transform: rotate(-3deg); } }
.hero .ridge { position: relative; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .bib-hero { justify-self: start; max-width: 360px; }
}

/* ---------- countdown ---------- */
.countdown-strip { background: var(--paper); }
.countdown { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.6rem; padding: .3rem 0 1rem; color: var(--muted); }
.cd-label { font-weight: 500; }
.cd-unit b { font: 800 2.4rem/1 var(--display); color: var(--green-900); margin-right: .2rem; font-variant-numeric: tabular-nums; }

/* ---------- sections ---------- */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-title { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--green-900); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.link-strong { font-weight: 700; color: var(--laterite); }
.lead { font-size: 1.3rem; line-height: 1.55; max-width: 60ch; }

.race-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 1.2rem; }
.bib-race .bib-number { font-size: clamp(4rem, 8vw, 6rem); }
.race-meta { list-style: none; margin: .4rem 0 0; padding: 0 1.6rem; }
.race-meta li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-top: 1px dashed var(--line); }
.race-meta span { color: var(--muted); }
.race-actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.6rem 0; }
.race-actions a:not(.btn) { font-weight: 700; }
@media (max-width: 900px) { .race-list { grid-template-columns: 1fr; max-width: 480px; } }

.section-village { background: var(--green-100); }
.village { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: center; }
.village-quote { margin: 0; font: 800 clamp(2.6rem, 6vw, 4.4rem)/1.05 var(--body); color: var(--green-900); border-left: 6px solid var(--marigold); padding-left: 1.4rem; }
.village-quote p { margin: 0; }
.village-quote p + p { color: var(--laterite); }
@media (max-width: 760px) { .village { grid-template-columns: 1fr; gap: 1.5rem; } }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1rem; }
.g-item { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--green-100); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.g-item:hover img { transform: scale(1.04); }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: .6rem .8rem; color: #fff; font-size: .95rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.gallery-full { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (max-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,20,14,.92); display: grid; place-items: center; padding: 3rem 1rem; }
.lightbox img { max-height: 82vh; width: auto; border-radius: 4px; }
.lightbox p { color: #fff; text-align: center; margin: .8rem 0 0; }
.lightbox button { position: absolute; top: 1rem; right: 1rem; }

.section-sponsors { background: var(--white); }
.sponsor-row { list-style: none; display: flex; flex-wrap: wrap; gap: 2rem 3rem; align-items: center; margin: 1rem 0 0; padding: 0; }
.sponsor-row img { max-height: 70px; width: auto; }
.sponsor-row span { font: 700 1.3rem var(--display); color: var(--muted); }

/* ---------- inner pages ---------- */
.page-head { background: var(--green-900); color: var(--white); padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; max-width: 20ch; }
.page-intro { font-size: 1.25rem; max-width: 55ch; opacity: .9; margin: 0 0 1rem; }
.page-head .ridge { margin-top: 1.5rem; }
.page-body { padding: 2rem 0 4.5rem; }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 3.5rem; align-items: start; }
.bib-aside { position: sticky; top: 96px; }
.bib-aside .bib-number { font-size: 5.2rem; }
.bib-aside .btn { margin: 1rem 1.6rem 0; width: calc(100% - 3.2rem); }
@media (max-width: 900px) { .with-aside { grid-template-columns: 1fr; } .bib-aside { position: static; max-width: 420px; } }

.prose { max-width: 72ch; }
.prose h2 { font-size: 2rem; color: var(--green-900); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.prose li::marker { color: var(--laterite); }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.6rem; background: var(--white); font-size: 1.02rem; display: block; overflow-x: auto; }
.prose table tbody, .prose table thead { display: table; width: 100%; border-collapse: collapse; }
.prose th, .prose td { text-align: left; padding: .65rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--green-900); color: var(--white); font-weight: 700; }
.prose tbody th { width: 34%; color: var(--muted); font-weight: 500; }
.prose img { border-radius: 4px; margin: 1rem 0; }
.prose figure { margin: 1.5rem 0; }
.prose figcaption { color: var(--muted); font-size: .95rem; }
.prose iframe { max-width: 100%; }

.callout { background: #FFF6E0; border-left: 5px solid var(--marigold); padding: .9rem 1.2rem; margin: 1rem 0; border-radius: 0 4px 4px 0; }
.callout p { margin: .3em 0; }
.notice { padding: .9rem 1.2rem; border-radius: 4px; margin: 0 0 1.5rem; font-weight: 500; }
.notice.err { background: #FBE9E5; border-left: 5px solid var(--laterite); color: #6E2412; }

/* ---------- registration form ---------- */
.reg-form { max-width: 860px; }
.reg-form fieldset { border: 0; margin: 0 0 2rem; padding: 0; }
.reg-form legend { font: 800 1.8rem/1.1 var(--display); color: var(--green-900); margin-bottom: .9rem; padding: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.4rem; }
.span-2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
.reg-form label { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .4rem; font-weight: 500; font-size: 1rem; }
.reg-form label > input, .reg-form label > select, .reg-form label > textarea, .reg-form label > .field-error { flex: 1 0 100%; }
.reg-form input:not([type=radio]):not([type=checkbox]), .reg-form select, .reg-form textarea {
  font: 400 1.08rem/1.4 var(--body); color: var(--ink); background: var(--white); border: 1.5px solid #B9C3BC; border-radius: 4px; padding: .7rem .8rem; min-height: 50px; width: 100%; }
.reg-form textarea { min-height: 70px; }
.reg-form input:focus, .reg-form select:focus, .reg-form textarea:focus { border-color: var(--green-700); outline: 3px solid rgba(233,162,27,.45); outline-offset: 0; }
.reg-form [aria-invalid="true"] { border-color: var(--laterite) !important; background: #FFF8F6 !important; }
.field-error { color: var(--laterite); font-size: .95rem; font-weight: 500; margin: .1rem 0 0; }
.opt { color: var(--muted); font-weight: 400; font-size: .9rem; }
.race-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
@media (max-width: 720px) { .race-pick { grid-template-columns: 1fr; } }
.race-option { position: relative; cursor: pointer; }
.race-option input { position: absolute; opacity: 0; inset: 0; }
.ro-body { display: flex; flex-direction: column; gap: .15rem; height: 100%; padding: 1rem 1.1rem; background: var(--white); border: 2px solid var(--line); border-radius: 6px; border-top: 8px solid var(--line); }
.ro-dist { font: 800 2.6rem/1 var(--display); }
.ro-dist small { font-size: 1rem; }
.ro-name { font-weight: 700; }
.ro-meta { color: var(--muted); font-size: .95rem; }
.race-option:hover .ro-body { border-color: var(--green-700); }
.race-option input:checked + .ro-body { border-color: var(--green-900); border-top-color: var(--laterite); box-shadow: 0 10px 24px -14px rgba(22,48,31,.6); }
.race-option input:focus-visible + .ro-body { outline: 3px solid var(--marigold); outline-offset: 2px; }
.check { flex-direction: row !important; align-items: flex-start; gap: .7rem !important; font-weight: 400 !important; margin-bottom: .8rem; }
.check input { width: 22px; height: 22px; margin-top: .2rem; flex: none; accent-color: var(--green-900); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.confirm { display: grid; grid-template-columns: 420px 1fr; gap: 3rem; align-items: start; }
.bib-confirm { transform: rotate(-2deg); }
.bib-reg { font-size: clamp(2.6rem, 6vw, 3.6rem) !important; padding-block: 1.6rem .8rem !important; }
@media (max-width: 860px) { .confirm { grid-template-columns: 1fr; } .bib-confirm { max-width: 420px; } }

/* ---------- contact & sponsors pages ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.2rem; }
.contact-list span { color: var(--muted); font-size: 1rem; padding-top: .15rem; }
.contact-list a { font-weight: 700; }
.map iframe { width: 100%; min-height: 420px; border: 0; border-radius: 6px; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.sponsor-tier { margin-bottom: 2.5rem; }
.sponsor-tier h2 { color: var(--green-900); }
.sponsor-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.sponsor-grid li > *, .sponsor-grid li { display: flex; flex-direction: column; align-items: center; gap: .6rem; text-align: center; }
.sponsor-grid li { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 1.4rem 1rem; }
.sponsor-grid a { text-decoration: none; color: var(--ink); font-weight: 700; }
.sponsor-grid img { max-height: 90px; width: auto; }

/* ---------- footer ---------- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.88); margin-top: 0; }
.site-footer .ridge { background: var(--green-900); margin-top: -1px; transform: translateY(calc(-100% + 1px)); position: absolute; left: 0; right: 0; }
.site-footer { position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding: 3.5rem 0 2rem; }
.footer-title { font: 700 1.35rem var(--display); color: var(--white); margin: 0 0 .6rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--marigold); }
.site-footer .btn-light { color: var(--green-900); }
.site-footer .btn-light:hover { color: var(--ink); }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { margin: .35rem 0; }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.15); padding: 1.2rem 0 2rem; font-size: .95rem; }
.footer-base p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- v2: logo, payments, my registration ---------- */
.brand-logo { height: 46px; width: auto; background: #fff; border-radius: 4px; padding: 2px; flex: none; }
.nav-my { color: var(--white); text-decoration: none; font-size: 1rem; white-space: nowrap; padding: .5rem .2rem; }
.nav-my:hover { color: var(--marigold); }
.nav-my[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--marigold); }
.footer-links a { margin-left: 1rem; }
.small { font-size: .95rem; }
.notice.ok { background: #EAF4EC; border-left: 5px solid var(--green-700); color: var(--green-900); }

.pay-panel { margin-top: 2.5rem; background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--marigold); border-radius: 6px; padding: clamp(1.2rem, 3vw, 2rem); }
.pay-panel h2 { color: var(--green-900); font-size: clamp(1.8rem, 4vw, 2.4rem); }
.pay-grid { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; }
.pay-qr img { width: 240px; height: 240px; image-rendering: pixelated; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.pay-qr .btn { margin-top: .8rem; }
.pay-qr { display: flex; flex-direction: column; }
.pay-app { order: -1; margin: 0 0 1rem !important; min-height: 54px; font-size: 1.25rem; background: var(--marigold); border-color: var(--marigold); color: var(--ink); }
.pay-app:hover { background: #F4B43A; border-color: #F4B43A; color: var(--ink); }
@media (hover: hover) and (pointer: fine) and (min-width: 761px) { .pay-app { display: none; } }
.pay-steps { padding-left: 1.3em; margin-top: 0; }
.pay-steps li { margin: .35em 0; }
.pay-details { display: grid; gap: .1rem; margin: 1rem 0 1.4rem; }
.pay-details div { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; padding: .45rem 0; border-bottom: 1px dashed var(--line); }
.pay-details dt { color: var(--muted); }
.pay-details dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.utr-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .8rem; }
.utr-form label { display: flex; flex-direction: column; gap: .3rem; font-weight: 500; flex: 1 1 240px; }
.utr-form input { font: 400 1.15rem/1.4 var(--body); letter-spacing: .06em; border: 1.5px solid #B9C3BC; border-radius: 4px; padding: .7rem .8rem; min-height: 50px; }
.utr-form .field-error { flex-basis: 100%; }
@media (max-width: 760px) { .pay-grid { grid-template-columns: 1fr; } .pay-qr { align-items: center; text-align: center; } .pay-details div { grid-template-columns: 100px 1fr; } }

.my-reg .bib-reg, .confirm .bib-reg { font-size: clamp(2rem, 7vw, 2.9rem) !important; white-space: nowrap; }
.my-reg { display: grid; grid-template-columns: 400px 1fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .my-reg { grid-template-columns: 1fr; } .my-reg .bib { max-width: 400px; } }
.status-list { margin: 0 0 1.2rem; }
.status-list div { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.status-list dt { color: var(--muted); }
.status-list dd { margin: 0; font-weight: 700; }
.status { display: inline-block; padding: .1rem .7rem; border-radius: 99px; font-size: .95rem; }
.status-paid, .status-fee-waived, .status-no-fee { background: #DDEFE0; color: #1E5A2E; }
.status-payment-pending { background: #FBE9E5; color: #6E2412; }
.status-payment-being-verified { background: #FFF0CC; color: #7A5300; }
.actions-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-marigold-solid { background: var(--marigold); border-color: var(--marigold); color: var(--ink); }
.btn-marigold-solid:hover { background: #F4B43A; border-color: #F4B43A; color: var(--ink); }
.logout-form { margin-top: 2rem; }
.lookup { max-width: 640px; }
