:root {
  --green: #0f7148;
  --green-dark: #0a5636;
  --green-soft: #e6f3ee;
  --brand: #243447;        /* calm slate: header text, main buttons */
  --brand-dark: #16212e;
  --brand-soft: #eef1f5;
  --gold: #fbc640;
  --orange: #f08a30;
  --red: #dc262e;
  --ink: #1d2a26;
  --muted: #5e6b66;
  --line: #dde5e1;
  --bg: #f6f8f7;
  --card: #ffffff;
  --danger: #b3261e;
  --danger-soft: #fdecea;
  --ok-soft: #e6f4ea;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 40, 30, .06), 0 4px 16px rgba(16, 40, 30, .06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.55 -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--green); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: 1.7rem; } h2 { font-size: 1.3rem; } h3 { font-size: 1.1rem; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.main { padding-top: 24px; padding-bottom: 48px; min-height: 70vh; }
.muted { color: var(--muted); }
.center { text-align: center; }
.small { font-size: .875rem; }

/* header */
.site-header { background: #fff; color: var(--brand); position: sticky; top: 0; z-index: 20; box-shadow: 0 2px 8px rgba(0,0,0,.08); border-bottom: 4px solid; border-image: linear-gradient(90deg, #e64632, #f08a30 55%, #fbc640) 1; }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 62px; gap: 12px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--brand); text-decoration: none; }
.brand-logo { background: #fff; border-radius: 10px; padding: 0; width: 46px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text small { color: var(--green); font-weight: 600; font-size: .75rem; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a, .nav .linkbtn { white-space: nowrap; color: var(--brand); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: .95rem; }
.nav a:hover, .nav .linkbtn:hover { background: var(--brand-soft); }
.nav a.on { background: var(--brand-soft); font-weight: 600; }
.nav a.btn { background: var(--gold); color: #3b2a00; font-weight: 700; }
.nav a.btn:hover { background: #ffd45c; }
.navtoggle { display: none; }
.burger { display: none; cursor: pointer; padding: 10px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--brand); margin: 4px 0; }
form.inline { display: inline; margin: 0; }
.linkbtn { background: none; border: 0; cursor: pointer; font: inherit; color: var(--green); padding: 0; }
.nav .linkbtn { color: var(--brand); }

@media (max-width: 1180px) {
  .burger { display: block; }
  .nav { display: none; position: absolute; top: 62px; left: -16px; right: -16px; flex-direction: column; align-items: stretch; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 8px 16px rgba(0,0,0,.08); padding: 8px 16px 14px; }
  .navtoggle:checked ~ .nav { display: flex; }
  .nav a, .nav .linkbtn { padding: 12px; text-align: left; }
}

/* cards & layout */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 20px; }
.card.narrow { max-width: 460px; margin-left: auto; margin-right: auto; }
.card.medium { max-width: 760px; margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 16px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; } }
@media (min-width: 761px) and (max-width: 980px) { .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }

/* hero */
.hero { background: linear-gradient(135deg, #243447, #16212e); color: #fff; border-radius: 16px; padding: 40px 28px; margin-bottom: 24px; position: relative; overflow: hidden; }
.hero h1 { font-size: 2.1rem; margin-bottom: .3em; }
.hero p { max-width: 560px; opacity: .95; margin: 0 0 18px; }
.hero .stripe { position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; border-radius: 50%; background: rgba(251,198,64,.2); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* buttons */
.btn { display: inline-block; background: var(--brand); color: #fff; border: 0; border-radius: 10px; padding: 11px 20px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--brand-dark); }
.btn-small { padding: 7px 14px; font-size: .9rem; }
.btn-gold { background: var(--gold); color: #3b2a00; } .btn-gold:hover { background: #ffd45c; }
.btn-ghost { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); } .btn-ghost:hover { background: var(--brand-soft); }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); } .hero .btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-danger { background: var(--danger); } .btn-danger:hover { background: #8f1e18; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-block { display: block; width: 100%; text-align: center; }

/* forms */
label { display: block; font-weight: 600; margin: 14px 0 6px; font-size: .95rem; }
.hint { font-weight: 400; color: var(--muted); font-size: .85rem; margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=search], input[type=date], input[type=time], select, textarea {
  width: 100%; padding: 11px 12px; border: 1.5px solid #c9d4cf; border-radius: 10px; font: inherit; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(11,110,79,.25); border-color: var(--green); }
textarea { min-height: 84px; resize: vertical; }
.row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } }
/* show/hide password eye (added by app.js) */
.pw-wrap { position: relative; }
.pw-wrap input[type=password], .pw-wrap input[type=text] { padding-right: 46px; }
.pw-wrap input::-ms-reveal, .pw-wrap input::-ms-clear { display: none; } /* Edge draws its own eye; keep just ours */
.pw-toggle { position: absolute; top: 0; right: 0; height: 100%; width: 44px; display: flex; align-items: center; justify-content: center; background: none; border: 0; padding: 0; color: #4d5f58; cursor: pointer; border-radius: 0 10px 10px 0; }
.pw-toggle:hover { color: var(--green-dark); }
.pw-toggle:focus-visible { outline: 3px solid rgba(11,110,79,.35); outline-offset: -3px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; margin: 12px 0; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--green); }
.radio-row { display: flex; gap: 20px; margin-top: 4px; }
.radio-row label { display: flex; gap: 6px; align-items: center; font-weight: 500; margin: 0; }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 6px 16px 16px; margin: 20px 0 0; min-width: 0; }
legend { font-weight: 700; color: var(--green-dark); padding: 0 8px; }
.rc-box { margin: 14px 0 4px; min-height: 78px; }
@media (max-width: 380px) { .rc-box .g-recaptcha { transform: scale(.86); transform-origin: 0 0; } .rc-box { min-height: 68px; } }
.captcha-box { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.captcha-box img { border: 1.5px solid #c9d4cf; border-radius: 8px; background: #f4f1e8; height: 64px; width: 190px; }
.captcha-box button { background: none; border: 0; color: var(--green); cursor: pointer; font: inherit; text-decoration: underline; }
.otp-input { font-size: 1.8rem !important; letter-spacing: 10px; text-align: center; font-weight: 700; }
.pw-rules { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }

/* alerts */
.alert { padding: 12px 16px; border-radius: 10px; margin: 0 0 18px; border: 1px solid transparent; }
.alert-error { background: var(--danger-soft); color: #7a1510; border-color: #f4c2bd; }
.alert-success { background: var(--ok-soft); color: #14502a; border-color: #bfe2c9; }
.alert-info { background: #e8f1fb; color: #123a63; border-color: #c3d9f2; }
.alert-warn { background: #fff4d6; color: #5d4300; border-color: #f0dc9b; }

/* tables & chips */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { background: #f0f5f2; font-size: .8rem; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafcfb; }
.chip { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: .78rem; font-weight: 700; background: var(--green-soft); color: var(--green-dark); }
.chip.gold { background: #fff0c7; color: #6b4a00; }
.chip.grey { background: #eceff0; color: #4a5558; }
.chip.red { background: var(--danger-soft); color: #7a1510; }
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--green-soft); display: inline-grid; place-items: center; color: var(--green-dark); font-weight: 700; }

/* player cards */
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow); }
.pcard img, .pcard .ph { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--green-soft); display: grid; place-items: center; font-weight: 700; color: var(--green-dark); flex: none; }
.pcard .meta { min-width: 0; }
.pcard .name { font-weight: 700; }
.pcard .sub { color: var(--muted); font-size: .85rem; }

/* stats */
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.stat .n { font-size: 2rem; font-weight: 800; color: var(--green-dark); line-height: 1; }
.stat .l { color: var(--muted); font-size: .85rem; margin-top: 6px; }

/* admin */
.admin-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-nav a { padding: 8px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .92rem; }
.admin-nav a.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; margin-bottom: 14px; }
.toolbar > div { flex: 1 1 160px; }
.toolbar label { margin-top: 0; }
.photo-box { display: flex; gap: 16px; align-items: center; }
.photo-box img, .photo-box .ph { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; background: var(--green-soft); display: grid; place-items: center; color: var(--green-dark); font-weight: 800; font-size: 1.6rem; }
.pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.pagination a, .pagination span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; background: #fff; }
.pagination .cur { background: var(--brand); color: #fff; border-color: var(--brand); }
.progress { height: 10px; background: #e3ebe7; border-radius: 99px; overflow: hidden; }
.progress > div { height: 100%; background: var(--green); }

.site-footer { border-top: 1px solid var(--line); background: #fff; padding: 18px 0; color: var(--muted); font-size: .88rem; }
/* logo placements */
.hero { padding-right: 280px; }
.hero-logo { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); width: 210px; height: auto; background: #fff; border-radius: 22px; padding: 14px 16px; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
@media (max-width: 720px) {
  .hero { padding-right: 28px; }
  .hero-logo { position: static; transform: none; display: block; width: 150px; margin: 0 0 16px; padding: 10px 12px; }
}
.auth-logo { display: block; margin: 0 auto 8px; height: 80px; width: auto; }
.site-footer .foot { display: flex; align-items: center; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; }
.site-footer .foot-left { display: flex; align-items: center; gap: 10px; }
.site-footer .foot-right { text-align: right; }
.site-footer .foot-right strong { color: var(--brand); font-weight: 600; }
.site-footer .foot-right a { text-decoration: none; }
.site-footer .foot-right a:hover strong, .site-footer .foot-right a:focus strong { text-decoration: underline; }
@media (max-width: 720px) { .site-footer .foot { flex-direction: column; justify-content: center; text-align: center; } .site-footer .foot-left { flex-direction: column; gap: 6px; } .site-footer .foot-right { text-align: center; } }
.site-footer .foot img { background: #fff; border-radius: 6px; padding: 2px 3px; }
fieldset[disabled] { opacity: .55; }
.du-ok { display: flex; gap: 10px; align-items: center; background: var(--green-soft); border: 1px solid #b9dccd; border-left: 6px solid var(--green); border-radius: 10px; padding: 10px 14px; margin-top: 16px; color: var(--green-dark); }
.du-ok .tick { background: var(--green); color: #fff; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; flex: none; }
.du-card { background: #fffaf0; border: 1px solid #f3d9a4; border-left: 6px solid var(--orange); border-radius: 12px; padding: 14px 18px 12px; margin-top: 16px; }
.du-card h2 { font-size: 1.15rem; margin: 0 0 6px; }
.du-card p { margin: 6px 0; }
.du-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin-top: 10px; }
.du-field { flex: 1 1 260px; }
.du-field label { margin-top: 0; }
.du-form .btn { margin-bottom: 1px; }
.du-links { margin-top: 10px; }
.du-links form.inline { display: inline; }
.must-read { background: #fff3f1; border: 1px solid #f1b9b4; border-left: 6px solid #d3202a; border-radius: 10px; padding: 12px 16px 10px; margin-top: 20px; }
.must-read > label { color: #b3171f; font-weight: 700; margin-top: 0; font-size: 1rem; }
.must-read .radio-row label { color: var(--ink); font-weight: 600; }
.req { color: #d3202a; font-weight: 700; margin-left: 1px; }
.req-note { font-size: .85rem; color: var(--muted); margin: 10px 0 0; }
@media print { .site-header, .site-footer, .admin-nav, .toolbar, .btn { display: none !important; } body { background: #fff; } .card { box-shadow: none; } }

/* registration: conditional blocks, availability pickers */
[hidden] { display: none !important; }
.time-red { color: #c0261b; font-weight: 800; }
.chk { display: flex; gap: 8px; align-items: center; font-weight: 500; margin: 0; cursor: pointer; }
.chk.big { font-weight: 700; padding: 8px 0; }
.chk input { width: 18px; height: 18px; flex: none; margin: 0; accent-color: var(--green); }
.pw { border: 1px solid var(--line); border-radius: 10px; padding: 4px 14px; margin-top: 10px; background: #fff; }
.pd { padding: 2px 0 12px 26px; }
.daygrid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chk.day { border: 1px solid var(--line); border-radius: 99px; padding: 7px 14px; background: #f6faf8; }
.chk.day:has(input:checked) { background: var(--green-soft); border-color: var(--green); font-weight: 700; }
.chk.day small { color: var(--muted); }
.hint.err { color: #b3261e; font-weight: 600; }
.cond { margin-top: 4px; }

/* team logos */
.tlogo { display: block; border-radius: 12px; object-fit: cover; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.18); flex: none; height: auto; }
.tl-sm { width: 38px; border-radius: 8px; } .tl-md { width: 84px; } .tl-lg { width: 100%; max-width: 150px; } .tl-xl { width: 120px; border-radius: 16px; }
.team-row { display: flex; align-items: center; gap: 16px; }
.team-row h1, .team-row h2 { line-height: 1.15; }
.team-head { margin-bottom: 10px; } .team-head h1 { margin: 0; }
.team-tile { display: flex; justify-content: center; }
.b-head .team-row { gap: 12px; } .b-head .tl-lg { width: 64px; max-width: 64px; border-radius: 10px; }
@media (max-width: 560px) { .tl-md { width: 64px; } .tl-xl { width: 88px; } }

/* homepage photo */
.home-photo { margin: 0 0 24px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: #e3ebe7; line-height: 0; }
.home-photo img { width: 100%; height: auto; display: block; }
@media (max-width: 560px) { .home-photo { border-radius: 12px; margin-bottom: 18px; } }

.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }

/* homepage photo banner */
.hero-photo { min-height: 340px; display: flex; flex-direction: column; justify-content: center; padding-top: 44px; padding-bottom: 44px; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.hero-slide.on { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,18,30,.78) 0%, rgba(10,18,30,.5) 48%, rgba(10,18,30,.08) 85%); }
.hero-photo .hero-text, .hero-photo .hero-logo { position: relative; z-index: 2; }
.hero-photo .hero-logo { position: absolute; right: 22px; bottom: 14px; top: auto; transform: none; width: 230px; height: auto; padding: 0; background: none; border-radius: 0; box-shadow: none; opacity: .94; pointer-events: none; }   /* painted on the field */
.hero-photo h1, .hero-photo p { text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.hero-ctl { position: absolute; right: 16px; top: 14px; z-index: 3; display: flex; align-items: center; gap: 8px; }
.hero-ctl button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: var(--brand); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.hero-ctl button:hover { background: #fff; }
.hero-dots { display: flex; gap: 6px; }
.hero-dots button { width: 10px; height: 10px; padding: 0; background: rgba(255,255,255,.55); }
.hero-dots button.on { background: var(--gold); }
@media (max-width: 720px) {
  .hero-photo { min-height: 580px; justify-content: flex-start; padding-top: 22px; padding-bottom: 60px; }
  .hero-photo .hero-logo { width: 150px; margin-bottom: 0; }
  .hero-photo h1 { font-size: 1.9rem; }
  .hero-photo p { font-size: .98rem; margin-bottom: 14px; }
  .hero-photo .actions .btn { padding: 10px 16px; }
  .hero-shade { background: linear-gradient(180deg, rgba(10,18,30,.78) 0%, rgba(10,18,30,.5) 50%, rgba(10,18,30,.3) 100%); }
  .hero-photo .hero-logo { position: absolute; right: 12px; bottom: 58px; }
  .hero-ctl { right: 50%; top: auto; bottom: 14px; transform: translateX(50%); }
  .hero-photo .actions { flex-direction: column; align-items: flex-start; }   /* one button under the other: Register, Browse players, then Log in */
  .hero-photo .actions .btn-login { order: 3; white-space: nowrap; }
}
/* pictures that already carry the logo (Admin -> Banner): keep the right side, where the logo is, when the box is narrower than the picture */
.hero-photo.logo-in-pic .hero-slide img { object-position: right bottom; }
@media (max-width: 720px) {
  .hero-photo.logo-in-pic .hero-shade { background: linear-gradient(180deg, rgba(10,18,30,.78) 0%, rgba(10,18,30,.5) 45%, rgba(10,18,30,0) 78%); }
}
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } }

/* photo strip on the home page: 3 photos on wide screens, 2 on tablets, 1 on phones */
.strip-sec { margin: 34px 0 8px; }
.strip-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.strip-head h2 { margin-bottom: .5em; }
.strip { position: relative; }
.strip-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; border-radius: 12px; }
.strip-track::-webkit-scrollbar { display: none; }
.strip-item { flex: 0 0 calc((100% - 28px) / 3); aspect-ratio: 4 / 3; scroll-snap-align: start; border-radius: 12px; overflow: hidden; background: #e3ebe7; display: block; box-shadow: var(--shadow); }
.strip-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.strip-item:hover img { transform: scale(1.04); }
.strip-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--brand); font-size: 1.3rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.strip-btn:hover { background: #fff; }
.strip-btn[hidden] { display: none; }
.strip-prev { left: -8px; } .strip-next { right: -8px; }
@media (max-width: 980px) { .strip-item { flex-basis: calc((100% - 14px) / 2); } }
@media (max-width: 600px) { .strip-item { flex-basis: 100%; } .strip-prev { left: 6px; } .strip-next { right: 6px; } }

.jersey-card { margin: 18px 0 6px; padding: 14px 16px 16px; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 10px; background: #fafcfb; }
.jersey-card h2 { margin: 0 0 6px; font-size: 1.05rem; }

/* season archive (past squads) */
.season-pick { display: flex; gap: 10px; align-items: center; margin: 0 0 16px; }
.season-pick select { width: auto; }
.arch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 12px; margin: 0 0 22px; }
.arch-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; display: flex; gap: 14px; align-items: center; }
.arch-card img, .arch-card .ph { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--green-soft); display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; color: var(--green-dark); flex: none; }
.arch-meta { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.arch-meta .name { font-weight: 700; line-height: 1.25; }
.arch-meta .sub { color: var(--muted); font-size: .85rem; line-height: 1.3; }
.arch-stats { margin-top: 6px; font-size: .82rem; line-height: 1.4; color: var(--ink); }
.arch-stats strong { color: var(--muted); font-weight: 600; }
.arch-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
@media (max-width: 480px) { .arch-grid { grid-template-columns: 1fr; } }
.arch-admin td { vertical-align: top; }
.aa-who { display: flex; gap: 10px; align-items: center; }
.aa-who .avatar { width: 44px; height: 44px; flex: none; }
.aa-sugg { display: flex; gap: 8px; align-items: center; margin: 0 0 6px; flex-wrap: wrap; }
.aa-sugg select { width: auto; max-width: 100%; min-width: 220px; }
.btn-ghost.on { background: var(--green-soft); border-color: var(--green-dark); }
.arch-meta .name a { color: inherit; text-decoration: none; }
.arch-meta .name a:hover { text-decoration: underline; }
.arch-hero { display: flex; gap: 20px; align-items: center; }
.arch-hero img, .arch-hero .ph { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; background: var(--green-soft); display: grid; place-items: center; font-size: 3rem; font-weight: 800; color: var(--green-dark); flex: none; }
.arch-big { font-size: 1.8rem; font-weight: 800; }
.arch-big2 { font-size: 1.05rem; font-weight: 700; margin-top: 4px; }
@media (max-width: 560px) { .arch-hero { flex-direction: column; align-items: flex-start; } }

/* homepage banner notice (Admin -> Settings) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-photo .hero-notice h1 { color: var(--gold); text-transform: uppercase; font-size: clamp(2.1rem, 5.4vw, 3.6rem); line-height: 1.05; margin: 0 0 12px; letter-spacing: .01em; }
.hero-photo .hero-notice .hn-when { color: #fff; font-weight: 700; font-size: clamp(1.25rem, 3.2vw, 2rem); line-height: 1.2; margin: 0; }
.hero-photo .hero-notice .hn-venue { color: #fff; font-size: clamp(1.05rem, 2.5vw, 1.55rem); margin: 6px 0 14px; }
.hero-photo .hero-notice .hn-extra { color: #fff; font-size: 1.05rem; margin: 0 0 12px; }
.hero-photo .hero-notice .hn-tag { opacity: .85; margin-bottom: 18px; }

/* My DUTCL */
.dot { display: inline-block; width: .8em; height: .8em; border-radius: 50%; margin-right: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
td form.inline { display: inline; }
.badge-n { display: inline-block; min-width: 1.4em; padding: 0 .4em; border-radius: 999px; background: #d4402b; color: #fff; font-size: .75em; line-height: 1.5; text-align: center; vertical-align: middle; }

.claim-list { list-style: none; margin: 0; padding: 0; }
.claim-list li { padding: 12px 0; border-top: 1px solid var(--line, #e3e8e5); display: grid; gap: 2px; }
.claim-list li:first-child { border-top: 0; }
.claim-list form.inline { margin-left: 10px; }
@media (max-width: 520px) {
  table.scorecard.season-tbl th, table.scorecard.season-tbl td { padding: 10px 3px; font-size: .82rem; }
  table.scorecard.season-tbl th { font-size: .68rem; letter-spacing: 0; }
  table.scorecard.season-tbl th:first-child, table.scorecard.season-tbl td:first-child { padding-left: 8px; white-space: nowrap; }
  table.scorecard.season-tbl th:last-child, table.scorecard.season-tbl td:last-child { padding-right: 8px; }
}
