/* Utilities that newer pages use and the prebuilt app.css does not contain (same names and values as Tailwind). Rebuild app.css and this file can go. */
.animate-pulse{animation:faj-pulse 2s cubic-bezier(.4,0,.6,1) infinite}
@keyframes faj-pulse{50%{opacity:.5}}
.bg-\[var\(--tint\)\]{background-color:var(--tint)}
.bg-bg\/50{background-color:color-mix(in srgb,var(--color-bg) 50%,transparent)}
.bg-surface-sunken,.hover\:bg-surface-sunken:hover{background-color:var(--color-surface-2)}
.border-accent-strong{border-color:var(--color-accent-strong)}
.border-success{border-color:var(--color-success)}
.hover\:shadow-pop:hover{box-shadow:var(--shadow-pop)}
.h-44{height:11rem}
.w-44{width:11rem}
.w-auto{width:auto}
.w-\[min\(21rem\,90vw\)\]{width:min(21rem,90vw)}
.min-h-40{min-height:10rem}
.min-w-12{min-width:3rem}
.max-h-48{max-height:12rem}
.max-h-56{max-height:14rem}
.max-h-\[34rem\]{max-height:34rem}
.max-w-xs{max-width:20rem}
.leading-8{line-height:2rem}
.list-disc{list-style-type:disc}
.text-warning{color:var(--color-warning-text)}
.text-\[\#050F1F\]{color:#050f1f}
.text-\[\#1C1003\]{color:#1c1003}
.text-\[clamp\(5rem\,16vw\,9rem\)\]{font-size:clamp(5rem,16vw,9rem)}
.peer:checked~.peer-checked\:bg-night{background-color:var(--color-night)}
.peer:checked~.peer-checked\:border-night{border-color:var(--color-night)}
.peer:checked~.peer-checked\:text-on-night{color:var(--color-on-night)}
.peer:focus-visible~.peer-focus-visible\:ring-2{box-shadow:0 0 0 2px var(--color-surface),0 0 0 4px var(--color-accent-strong)}
@media (min-width:640px){
  .sm\:hidden{display:none}
  .sm\:mt-10{margin-top:2.5rem}
  .sm\:grid-cols-\[14rem_1fr\]{grid-template-columns:14rem 1fr}
  .sm\:grid-cols-\[2fr_1fr_2fr_auto\]{grid-template-columns:2fr 1fr 2fr auto}
}
@media (min-width:1024px){
  .lg\:col-span-6{grid-column:span 6/span 6}
}
@media (min-width:768px){.md\:col-span-2{grid-column:span 2/span 2}}
/* A form field inside a grid or flex row never pushes the page wider than the phone */
input,select,textarea{max-width:100%}
.grid>input,.grid>select,.grid>textarea,.grid>label{min-width:0}
/* first column of the report tables keeps room to read on a phone; the table scrolls inside its box instead */
.cz-tbl td:first-child,.cz-tbl th:first-child{min-width:9rem}

/* update 111: real flags (flag-icons, MIT) and club badges (logo, or initials on the club's own colour) */
.flag-img{display:inline-block;width:1.3em;height:auto;aspect-ratio:4/3;border-radius:.15em;box-shadow:0 0 0 1px rgba(0,0,0,.12);vertical-align:-.12em;margin-inline-end:.35em;object-fit:cover}
.flag-img.is-on-red{box-shadow:0 0 0 1px rgba(255,255,255,.6)}
.club-badge{display:inline-grid;place-items:center;flex-shrink:0;width:2.1rem;height:2.1rem;border-radius:999px;background:hsl(var(--h,150) 55% 32%);color:#fff;font-weight:800;font-size:.78rem;line-height:1;letter-spacing:.02em;box-shadow:0 0 0 2px var(--color-surface),0 0 0 3px hsl(var(--h,150) 40% 70%)}
.club-badge.is-logo{background:#fff;object-fit:contain;padding:.15rem}
.club-badge.is-sm{width:1.7rem;height:1.7rem;font-size:.66rem}
.club-badge.is-xs{width:1.2rem;height:1.2rem;font-size:.5rem;box-shadow:0 0 0 1px hsl(var(--h,150) 40% 70%)}
.weight-pill{display:inline-flex;align-items:center;min-height:2.4rem;padding:.3rem 1rem;border-radius:999px;border:1px solid var(--color-border);background:var(--color-surface);font-weight:700;font-size:.92rem;transition:background-color .16s,border-color .16s,color .16s}
.weight-pill:hover,.weight-pill[aria-current=page]{background:var(--color-gold);border-color:var(--color-gold);color:var(--color-on-gold)}

/* update 117: on narrow phones the language button shows its code (AR/FR/EN), so the search icon never touches the logo */
.lang-menu .lang-short{display:none;font-weight:800;letter-spacing:.02em}
@media(max-width:430px){.lang-menu .lang-long{display:none}.lang-menu .lang-short{display:inline}}
/* upload progress bar */
.up-prog{margin-top:.75rem;display:grid;gap:.35rem}
.up-bar{height:.7rem;border-radius:999px;background:var(--color-bg,#eee);border:1px solid var(--color-border,#ddd);overflow:hidden}
.up-bar span{display:block;height:100%;width:0;border-radius:999px;background:linear-gradient(90deg,#006233,#00c853);transition:width .2s}
.up-prog.is-done .up-bar span{background:repeating-linear-gradient(45deg,#006233 0 10px,#00a651 10px 20px);background-size:28px 28px;animation:upStripe 1s linear infinite}
.up-prog.is-err .up-bar span{background:#d21034}
.up-txt{font-size:.9rem;font-weight:700;font-variant-numeric:tabular-nums}
.up-prog.is-err .up-txt{color:#d21034}
@keyframes upStripe{to{background-position:28px 0}}
@media(prefers-reduced-motion:reduce){.up-prog.is-done .up-bar span{animation:none}}
.up-prog{grid-column:1/-1}

/* ---- update 122: video in news ---- */
.nv-thumb { position: relative; display: block; overflow: hidden; }
.nv-thumb img, .nv-thumb video { display: block; width: 100%; height: 11rem; object-fit: cover; background: #0b1410; transition: transform .4s ease; }
.nv-thumb:hover img, .nv-thumb:hover video { transform: scale(1.04); }
.nv-play { position: absolute; inset: 0; margin: auto; width: 3.5rem; height: 3.5rem; display: grid; place-items: center; border-radius: 999px;
  background: rgba(200, 16, 46, .92); color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.35), 0 0 0 6px rgba(255,255,255,.18); pointer-events: none; transition: transform .25s ease; }
.nv-play svg { margin-inline-start: 3px; }
[dir="rtl"] .nv-play svg { margin-inline-start: 0; margin-inline-end: -3px; transform: none; }
.nv-thumb:hover .nv-play, .h2-card:hover .nv-play, .h2-card:focus-visible .nv-play { transform: scale(1.1); }
.h2-card-img.has-video { position: relative; display: block; overflow: hidden; }
.h2-card-img.has-video .nv-play { z-index: 2; }
.nv-player { margin-inline: 0; border-radius: .75rem; overflow: hidden; border: 1px solid var(--border, #e5e7eb); background: #000; }
.nv-player video { display: block; width: 100%; max-height: 70vh; aspect-ratio: 16 / 9; background: #000; }
@media (prefers-reduced-motion: reduce) { .nv-thumb img, .nv-thumb video, .nv-play { transition: none; } }

/* ---- update 123: league affiliation file, restoring cancelled papers ---- */
.lf-badge { display: inline-flex; align-items: center; border-radius: 999px; padding: .15rem .65rem; font-size: .875rem; font-weight: 700;
  border: 1px solid var(--border, #d6dbd8); color: var(--text-muted, #5b6560); white-space: nowrap; }
.lf-badge.is-ok { background: #e3f4e9; border-color: #b6dfc4; color: #0f6a35; }
.lf-badge.is-wait { background: #fff4dc; border-color: #f1d79a; color: #7a5200; }
.lf-badge.is-back { background: #fde8ea; border-color: #f3b9c0; color: #a3112a; }
.lf-state.is-active { border-color: #7cc79a; background: linear-gradient(180deg, #eef9f2, transparent); }
.lf-bar { height: .5rem; width: 100%; max-width: 16rem; border-radius: 999px; overflow: hidden; background: rgba(13, 107, 60, .12); }
.lf-bar > span { display: block; height: 100%; background: #0d6b3c; border-radius: inherit; transition: width .4s ease; }
.dr-item { display: grid; gap: .75rem; min-width: 0; }
.dr-form { display: grid; gap: .5rem; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
@media (min-width: 768px) { .dr-item { grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); align-items: end; } }
html.dark .lf-badge.is-ok, [data-theme="dark"] .lf-badge.is-ok { background: rgba(46, 160, 90, .18); color: #7fe0a6; border-color: rgba(127, 224, 166, .35); }
html.dark .lf-badge.is-wait, [data-theme="dark"] .lf-badge.is-wait { background: rgba(240, 180, 40, .15); color: #f3cf7a; border-color: rgba(243, 207, 122, .35); }
html.dark .lf-badge.is-back, [data-theme="dark"] .lf-badge.is-back { background: rgba(220, 50, 70, .16); color: #ff9aa8; border-color: rgba(255, 154, 168, .35); }
html.dark .lf-state.is-active, [data-theme="dark"] .lf-state.is-active { background: rgba(46, 160, 90, .1); border-color: rgba(127, 224, 166, .4); }

/* ---- update 123: invitations inside the Accounts page ---- */
.ui-tabs { display: inline-flex; gap: .25rem; padding: .25rem; border-radius: 999px; background: rgba(13, 107, 60, .08); }
.ui-tabs a { min-height: 2.5rem; display: inline-flex; align-items: center; padding: 0 1rem; border-radius: 999px; font-weight: 700; font-size: .9rem; color: inherit; text-decoration: none; }
.ui-tabs a[aria-current] { background: #0d6b3c; color: #fff; }
.ui-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.ui-stats > div { border-radius: .9rem; padding: .75rem; border: 1px solid var(--color-border, #dfe4e1); display: grid; gap: .1rem; text-align: center; }
.ui-stats b { font-size: 1.6rem; line-height: 1.1; font-weight: 900; font-variant-numeric: tabular-nums; }
.ui-stats span { font-size: .8rem; font-weight: 600; opacity: .8; }
.ui-stats .is-new b { color: #6b7570; } .ui-stats .is-sent b { color: #a76d00; } .ui-stats .is-done b { color: #0f6a35; }
.ui-actions { display: grid; gap: .6rem; }
.ui-act { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .5rem .9rem; align-items: center; padding: .9rem; border-radius: .9rem; border: 1px solid var(--color-border, #dfe4e1); }
.ui-act > button { grid-column: 1 / -1; justify-self: stretch; }
.ui-act b { display: block; } .ui-act small { display: block; font-size: .85rem; opacity: .75; margin-top: .1rem; }
.ui-act.is-main { border: 2px solid #0d6b3c; background: linear-gradient(180deg, rgba(13, 107, 60, .07), transparent); }
.ui-ico { width: 2.75rem; height: 2.75rem; border-radius: .8rem; display: grid; place-items: center; background: rgba(13, 107, 60, .1); color: #0d6b3c; }
@media (min-width: 720px) { .ui-act { grid-template-columns: auto minmax(0, 1fr) auto; } .ui-act > button { grid-column: auto; justify-self: end; } }
.ui-link { padding: .9rem; border-radius: .9rem; border: 2px dashed #0d6b3c; }
.ui-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem .75rem; padding: .75rem; border-radius: .75rem; border: 1px solid var(--color-border, #dfe4e1); }
.ui-row > .min-w-0 { flex: 1 1 14rem; }
.ui-act button[disabled] { opacity: .45; cursor: not-allowed; }
[data-theme="dark"] .ui-tabs { background: rgba(127, 224, 166, .1); }
[data-theme="dark"] .ui-ico { background: rgba(127, 224, 166, .12); color: #7fe0a6; }
[data-theme="dark"] .ui-act.is-main, [data-theme="dark"] .ui-link { border-color: #2e9a5c; }
[data-theme="dark"] .ui-stats .is-done b { color: #7fe0a6; } [data-theme="dark"] .ui-stats .is-sent b { color: #f3cf7a; } [data-theme="dark"] .ui-stats .is-new b { color: #aab4ae; }

/* ---- update 123: animated sign-in page ---- */
.lp { position: relative; isolation: isolate; margin: .25rem auto 1rem; max-width: 72rem; border-radius: 2rem; overflow: hidden; min-height: min(46rem, calc(100dvh - 9rem)); display: grid; }
.lp-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 85% 0%, #128a4d 0%, #0b5c33 45%, #07381f 100%); }
.lp-blob { position: absolute; border-radius: 50%; filter: blur(48px); opacity: .55; will-change: transform; }
.lp-blob.b1 { width: 26rem; height: 26rem; background: #1fae63; top: -8rem; inset-inline-start: -6rem; animation: lp-drift1 18s ease-in-out infinite alternate; }
.lp-blob.b2 { width: 20rem; height: 20rem; background: #c8102e; bottom: -7rem; inset-inline-end: 10%; opacity: .35; animation: lp-drift2 22s ease-in-out infinite alternate; }
.lp-blob.b3 { width: 16rem; height: 16rem; background: #f5f1e6; top: 40%; inset-inline-start: 38%; opacity: .12; animation: lp-drift1 26s ease-in-out infinite alternate-reverse; }
.lp-mat { position: absolute; inset: 0; opacity: .09; background-image: linear-gradient(rgba(255,255,255,.9) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.9) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(80% 70% at 30% 40%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(80% 70% at 30% 40%, #000 30%, transparent 80%); animation: lp-mat 40s linear infinite; }
@keyframes lp-drift1 { to { transform: translate3d(6rem, 4rem, 0) scale(1.15); } }
@keyframes lp-drift2 { to { transform: translate3d(-5rem, -3rem, 0) scale(1.1); } }
@keyframes lp-mat { to { background-position: 64px 64px, 64px 64px; } }

.lp-grid { display: grid; gap: 1.5rem; align-items: center; padding: clamp(1rem, 3vw, 2.5rem); }
@media (min-width: 1024px) { .lp-grid { grid-template-columns: 1.05fr minmax(0, 27rem); gap: 3rem; padding: 3rem; } }
.lp-side { display: none; color: #fff; }
@media (min-width: 1024px) { .lp-side { display: grid; gap: 1.1rem; align-content: center; } }
.lp-side h2 { font-family: var(--font-display, inherit); font-weight: 900; font-size: clamp(2rem, 3.2vw, 2.9rem); line-height: 1.2; text-wrap: balance; }
.lp-side > p { font-size: 1.1rem; opacity: .85; max-width: 32rem; }
.lp-brand { display: flex; align-items: center; gap: .75rem; font-weight: 900; font-size: 1.4rem; }
.lp-feats { display: grid; gap: .65rem; margin-top: .5rem; }
.lp-feats li { display: flex; align-items: center; gap: .75rem; font-weight: 700; }
.lp-feats li > span { width: 2.4rem; height: 2.4rem; border-radius: .8rem; display: grid; place-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }
.lp-belts { display: flex; gap: .4rem; margin-top: 1rem; }
.lp-belts i { height: .45rem; width: 2.4rem; border-radius: 999px; transform-origin: left center; animation: lp-belt 1.1s cubic-bezier(.2,.8,.2,1) both; }
.lp-belts i:nth-child(1) { background: #fff; animation-delay: .9s; } .lp-belts i:nth-child(2) { background: #f6d34a; animation-delay: 1s; }
.lp-belts i:nth-child(3) { background: #f08a24; animation-delay: 1.1s; } .lp-belts i:nth-child(4) { background: #35b26b; animation-delay: 1.2s; }
.lp-belts i:nth-child(5) { background: #2d6fd6; animation-delay: 1.3s; } .lp-belts i:nth-child(6) { background: #111; box-shadow: 0 0 0 1px rgba(255,255,255,.35); animation-delay: 1.4s; }
@keyframes lp-belt { from { transform: scaleX(0); opacity: 0; } }

.lp-logo { width: 3.25rem; height: 3.25rem; flex: none; border-radius: 1rem; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.18); position: relative; }
.lp-logo img { width: 2.6rem; height: 2.6rem; object-fit: contain; }
.lp-pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 1.2rem; border: 2px solid #1fae63; opacity: 0; animation: lp-ring 2.8s ease-out 1.2s infinite; }
@keyframes lp-ring { 0% { opacity: .7; transform: scale(.95); } 100% { opacity: 0; transform: scale(1.25); } }

.lp-card { position: relative; background: var(--color-surface, #fbfaf6); color: var(--color-text, #111); border-radius: 1.6rem; padding: clamp(1.25rem, 4vw, 2rem);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08); }
.lp-head { display: flex; align-items: center; gap: .9rem; }
.lp-head h1 { font-family: var(--font-display, inherit); font-weight: 900; font-size: clamp(1.7rem, 5vw, 2.1rem); line-height: 1.15; }
.lp-head p { color: var(--color-text-muted, #5b6560); margin-top: .15rem; }
.lp-err { margin-top: 1.1rem; display: flex; gap: .5rem; align-items: flex-start; border-radius: 1rem; padding: .75rem 1rem; font-weight: 600; color: #a3112a; background: #fdecee; border: 1px solid #f3b9c0; }
.lp-form { display: grid; gap: 1rem; margin-top: 1.4rem; }
.lp-field label { display: block; font-weight: 700; margin-bottom: .4rem; }
.lp-input { position: relative; display: flex; align-items: center; }
.lp-input input { width: 100%; height: 3.25rem; border-radius: 1rem; border: 1.5px solid var(--color-border-input, #c9d0cc); background: var(--color-surface, #fff); color: inherit;
  padding-inline: 3rem 3rem; font-size: 1.05rem; transition: border-color .2s, box-shadow .2s; }
.lp-input input:focus { outline: none; border-color: #0d6b3c; box-shadow: 0 0 0 4px rgba(13,107,60,.16); }
.lp-ic { position: absolute; inset-inline-start: 1rem; color: var(--color-text-muted, #6b7570); pointer-events: none; display: grid; transition: color .2s; }
.lp-input:focus-within .lp-ic { color: #0d6b3c; }
.lp-eye { position: absolute; inset-inline-end: .35rem; width: 2.75rem; height: 2.75rem; border-radius: .8rem; display: grid; place-items: center; color: var(--color-text-muted, #6b7570); }
.lp-eye:hover, .lp-eye[aria-pressed="true"] { color: #0d6b3c; background: rgba(13,107,60,.08); }
.lp-caps { margin-top: .35rem; font-size: .85rem; font-weight: 600; color: #8a5a00; }
.lp-btn { position: relative; overflow: hidden; height: 3.4rem; border-radius: 1rem; background: linear-gradient(135deg, #0f7a44, #0b5c33); color: #fff; font-weight: 800; font-size: 1.1rem;
  box-shadow: 0 12px 24px -10px rgba(13,107,60,.7); transition: transform .15s, box-shadow .2s; }
.lp-btn:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -12px rgba(13,107,60,.8); }
.lp-btn:active { transform: translateY(1px); }
.lp-btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s; }
.lp-btn:hover::before { transform: translateX(120%); }
.lp-btn-in { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.lp-spin { position: absolute; inset: 0; margin: auto; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 3px solid rgba(255,255,255,.35); border-top-color: #fff; opacity: 0; }
.lp-btn.is-busy .lp-btn-in { opacity: 0; } .lp-btn.is-busy .lp-spin { opacity: 1; animation: lp-rot .8s linear infinite; }
@keyframes lp-rot { to { transform: rotate(1turn); } }

.lp-or { display: flex; align-items: center; gap: .75rem; margin: 1.4rem 0 1rem; color: var(--color-text-muted, #6b7570); font-size: .9rem; font-weight: 600; }
.lp-or::before, .lp-or::after { content: ""; flex: 1; height: 1px; background: var(--color-border, #dfe4e1); }
.lp-ath { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .35rem .9rem; align-items: center; padding: 1rem; border-radius: 1.2rem; text-decoration: none; color: inherit;
  border: 2px solid transparent; background: linear-gradient(var(--color-surface, #fbfaf6), var(--color-surface, #fbfaf6)) padding-box, linear-gradient(120deg, #c8102e, #f6d34a, #0d6b3c) border-box;
  transition: transform .2s, box-shadow .2s; }
.lp-ath:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(0,0,0,.4); }
.lp-ath-ic { width: 3rem; height: 3rem; border-radius: 1rem; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #c8102e, #e2463c); grid-row: span 2; animation: lp-bob 3s ease-in-out infinite; }
@keyframes lp-bob { 50% { transform: translateY(-3px) rotate(-4deg); } }
.lp-ath b { display: block; font-size: 1.05rem; } .lp-ath small { display: block; color: var(--color-text-muted, #5b6560); font-size: .9rem; margin-top: .1rem; }
.lp-ath-go { grid-column: 2; justify-self: start; display: inline-flex; gap: .35rem; align-items: center; margin-top: .35rem; padding: .45rem 1rem; border-radius: 999px; font-weight: 800; color: #fff; background: #c8102e; }
.lp-foot { margin-top: 1.3rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; font-size: .9rem; }
.lp-foot a { display: inline-flex; gap: .4rem; align-items: center; font-weight: 700; color: #0d6b3c; text-decoration: none; }
.lp-foot a:hover { text-decoration: underline; }
.lp-safe { display: inline-flex; gap: .35rem; align-items: center; color: var(--color-text-muted, #6b7570); }

.lp-in { animation: lp-up .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--d, 0) * 90ms + 80ms); }
@keyframes lp-up { from { opacity: 0; transform: translateY(18px); } }
.lp-shake { animation: lp-shake .45s cubic-bezier(.36,.07,.19,.97) both !important; }
@keyframes lp-shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }

[data-theme="dark"] .lp-card { background: #121a16; color: #e8eee9; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.06); }
[data-theme="dark"] .lp-input input { background: #0c130f; border-color: #2c3a33; }
[data-theme="dark"] .lp-ath { background: linear-gradient(#121a16, #121a16) padding-box, linear-gradient(120deg, #c8102e, #f6d34a, #1fae63) border-box; }
[data-theme="dark"] .lp-err { background: rgba(220,50,70,.14); color: #ff9aa8; border-color: rgba(255,154,168,.35); }
[data-theme="dark"] .lp-foot a { color: #7fe0a6; }
@media (prefers-reduced-motion: reduce) {
  .lp-blob, .lp-mat, .lp-pulse::after, .lp-ath-ic, .lp-belts i, .lp-in { animation: none !important; }
  .lp-btn::before { display: none; }
}
@media (max-width: 1023px) { .lp { min-height: 0; border-radius: 1.6rem; } .lp-grid { padding: 1.1rem .75rem; } }
/* login: one plain card, centred, no side text and no decoration */
.lp { max-width: 30rem; min-height: 0; overflow: visible; border-radius: 0; background: none; margin-top: clamp(.5rem, 4vh, 2.5rem); }
.lp-grid { grid-template-columns: minmax(0, 1fr) !important; padding: 0 !important; gap: 0; }
.lp-card { box-shadow: 0 20px 50px -24px rgba(0,0,0,.35), 0 0 0 1px var(--color-border, #e2e6e3); }
.lp-foot-c { justify-content: center; }
.lp-pulse::after { display: none; }
/* login: one plain "sign up" button under the sign-in button */
.lp-ath-btn { display: flex; align-items: center; justify-content: center; gap: .5rem; height: 3.25rem; border-radius: 1rem; font-weight: 800; font-size: 1.05rem;
  color: #c8102e; border: 2px solid #c8102e; text-decoration: none; transition: background .2s, color .2s; }
.lp-ath-btn:hover, .lp-ath-btn:focus-visible { background: #c8102e; color: #fff; }
[data-theme="dark"] .lp-ath-btn { color: #ff8a9a; border-color: #ff8a9a; } [data-theme="dark"] .lp-ath-btn:hover { background: #c8102e; color: #fff; border-color: #c8102e; }
/* signup: who you are (athlete, coach, referee) */
.ss-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.ss-roles label { position: relative; cursor: pointer; }
.ss-roles input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.ss-roles span { display: flex; align-items: center; justify-content: center; min-height: 3rem; padding: .25rem .5rem; border-radius: .9rem; text-align: center;
  border: 1.5px solid var(--color-border-input, #c9d0cc); font-weight: 700; transition: background .2s, color .2s, border-color .2s; }
.ss-roles input:checked + span { background: #0d6b3c; border-color: #0d6b3c; color: #fff; }
.ss-roles input:focus-visible + span { outline: 3px solid rgba(13,107,60,.35); outline-offset: 2px; }

/* ---- signup page: soft fields (grey fill, round corners), the national number in one line ---- */
.su-form input[type="text"], .su-form input[type="email"], .su-form input[type="password"], .su-form input[type="date"] {
  height: 3.25rem !important; border-radius: 1rem !important; border: 1.5px solid transparent !important; background-color: #f1f3f2 !important; padding-inline: 1rem !important; font-size: 1rem; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.su-form input[type="text"]:focus, .su-form input[type="email"]:focus, .su-form input[type="password"]:focus, .su-form input[type="date"]:focus {
  outline: none; border-color: #0d6b3c !important; background-color: var(--color-surface, #fff) !important; box-shadow: 0 0 0 4px rgba(13,107,60,.12); }
[data-theme="dark"] .su-form input[type="text"], [data-theme="dark"] .su-form input[type="email"], [data-theme="dark"] .su-form input[type="password"], [data-theme="dark"] .su-form input[type="date"] { background-color: #1a2520 !important; }
.su-form button[type="submit"], .su-form > div > button { min-height: 3.25rem; border-radius: 1rem; }
.su-in { position: relative; display: flex; align-items: center; }
.su-in .su-ic { position: absolute; inset-inline-start: 1rem; display: grid; color: var(--color-text-muted, #6b7570); pointer-events: none; }
.su-form .nin-in input[type="text"] { padding-inline: 3rem !important; font-size: 1.15rem; font-weight: 700; letter-spacing: .14em; font-variant-numeric: tabular-nums; text-align: left; }
.su-form .nin-in input::placeholder { letter-spacing: .14em; opacity: .35; }
.nin-ok { position: absolute; inset-inline-end: 1rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: .9rem;
  color: #fff; background: #0d6b3c; transform: scale(0); transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.nin-in:focus-within .su-ic { color: #0d6b3c; }
.su-form .nin-in.is-full input[type="text"] { border-color: #1f9d57 !important; background-color: #eef9f2 !important; }
.nin-in.is-full .nin-ok { transform: scale(1); }
.nin-in.is-full .su-ic { color: #0d6b3c; }
[data-theme="dark"] .su-form .nin-in.is-full input[type="text"] { background-color: rgba(46,160,90,.14) !important; }
.nin-bar { display: grid; grid-template-columns: repeat(18, minmax(0, 1fr)); gap: 3px; direction: ltr; }
.nin-bar i { height: 4px; border-radius: 4px; background: var(--color-border, #dfe4e1); transition: background .2s; }
.nin-bar i:nth-child(6), .nin-bar i:nth-child(12) { margin-right: 4px; }
.nin-bar i.on { background: #1f9d57; }
.su-in { width: 100%; min-width: 0; }
.su-in input { width: 100%; min-width: 0; flex: 1 1 auto; }
.su-form { min-width: 0; max-width: 100%; }
.su-form .nin-in input[type="text"] { font-size: clamp(.9rem, 3.7vw, 1.15rem) !important; letter-spacing: .05em !important; padding-inline: 2.7rem 2.7rem !important; text-align: center; }
.su-form .nin-in input::placeholder { letter-spacing: .05em; }
.su-in .su-ic { inset-inline-start: .85rem; } .nin-ok { inset-inline-end: .85rem; }

/* update 128: clubs activated / frozen, precautionary suspensions */
.cf-pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.cf-active { background: #dcfce7; color: #166534; } .cf-pending { background: #fef3c7; color: #92400e; }
.cf-frozen { background: #dbeafe; color: #1e40af; } .cf-suspended { background: #fee2e2; color: #991b1b; }
[data-theme="dark"] .cf-active { background: rgba(22,163,74,.2); color: #86efac; } [data-theme="dark"] .cf-pending { background: rgba(245,158,11,.2); color: #fcd34d; }
[data-theme="dark"] .cf-frozen { background: rgba(59,130,246,.2); color: #93c5fd; } [data-theme="dark"] .cf-suspended { background: rgba(220,38,38,.2); color: #fca5a5; }
.cf-danger { border-color: #dc2626 !important; color: #dc2626; }
.cf-danger-solid { background: #dc2626 !important; color: #fff !important; }
.cf-table th { text-align: start; padding: 10px 12px; font-size: 12px; color: var(--color-text-muted, #6b7280); font-weight: 600; }
.cf-table td { padding: 10px 12px; border-top: 1px solid var(--color-border, #e5e7eb); vertical-align: middle; }
.cf-table td .inline-flex + .inline-flex { margin-inline-start: 6px; }

/* update 129: registration with a document */
#scanBox [hidden] { display: none !important; }
.rgx-docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rgx-doc { display: grid; gap: 4px; justify-items: start; text-align: start; padding: 16px; border-radius: 16px; border: 2px solid var(--color-border, #e5e7eb); background: var(--color-surface, #fff); cursor: pointer; font: inherit; color: inherit; min-height: 104px; }
.rgx-doc:hover { border-color: var(--color-accent, #0f7a3d); }
.rgx-doc[aria-pressed="true"] { border-color: var(--color-accent-strong, #0f7a3d); box-shadow: 0 0 0 3px rgba(15,122,61,.18); }
.rgx-doc b { font-size: 16px; } .rgx-doc small { color: var(--color-text-muted, #6b7280); font-size: 13px; }
.rgx-ico { font-size: 28px; line-height: 1; }
.rgx-manual { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; text-decoration: underline; color: var(--color-text-muted, #6b7280); cursor: pointer; min-height: 44px; }
@media (max-width: 420px) { .rgx-doc { padding: 12px; min-height: 96px; } }
