/* Dashboard / landing (/) — reuses the app.css tokens. Clubhouse-screen feel:
   one confident hero with Kevin's crest, then calm, evenly paired cards. */

main.home { padding-top: 22px; }

/* ---------- hero ---------- */
.home-hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 44px;
  padding: 40px 48px 40px 40px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background:
    radial-gradient(520px 340px at 150px 50%, rgba(215, 178, 93, 0.16), transparent 70%),
    linear-gradient(180deg, #121419 0%, #0b0c0f 100%);
  box-shadow: var(--shadow);
}
/* faint mowing stripes + a gold hairline along the top edge */
.home-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(112deg, rgba(255, 255, 255, 0.018) 0 34px, transparent 34px 68px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
  mask-image: linear-gradient(90deg, transparent, #000 45%);
}
.home-hero::after {
  content: ""; position: absolute; left: 8%; right: 8%; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0.55;
}

.home-crest-wrap { position: relative; width: 200px; aspect-ratio: 1; flex: none; }
.home-crest-wrap::before {
  content: ""; position: absolute; inset: -18%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(215, 178, 93, 0.24) 0%, rgba(215, 178, 93, 0.06) 45%, transparent 68%);
}
.home-crest-wrap::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 1px solid var(--gold-line); opacity: 0.7;
}
.home-crest {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(215, 178, 93, 0.28)) drop-shadow(0 6px 24px rgba(0, 0, 0, 0.6));
}

.home-hero-body { min-width: 0; }
.home-eyebrow { display: block; }
.home-title {
  margin-top: 12px; font-size: clamp(36px, 4.6vw, 58px); line-height: 0.98; text-wrap: balance;
  background: linear-gradient(180deg, #ffffff 30%, #e8dfc7 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.home-sub {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
  margin: 14px 0 0; font-size: 17px; color: var(--text-2);
}
.home-sub-strong { color: var(--text); font-weight: 700; }
.home-sub-sep { color: var(--gold-deep); }

.home-season { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 18px; }
.home-pips { display: flex; align-items: center; gap: 5px; list-style: none; margin: 0; padding: 0; }
.pip { width: 20px; height: 6px; border-radius: 3px; background: var(--surface-3); }
.pip-done { background: var(--gold-deep); }
.pip-now { width: 34px; height: 8px; border-radius: 4px; background: var(--gold-strong); box-shadow: 0 0 12px rgba(236, 201, 116, 0.55); }
.pip-tbs { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
/* no-play week (holiday): a short gap mark between league weeks */
.pip-off, .pip-off-now { width: 8px; height: 2px; border-radius: 1px; background: var(--line-strong); }
.pip-off-now { width: 12px; height: 4px; border-radius: 2px; background: var(--text-2); }
.home-season-label { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

.home-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- admin quick strip ---------- */
.home-admin {
  display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 10px 12px 10px 18px;
  border: 1px solid var(--gold-line); border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(215, 178, 93, 0.10), rgba(215, 178, 93, 0.02));
}
.home-admin-label {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
}
.home-admin-label .icon { width: 16px; height: 16px; }
.home-admin-links { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-left: auto; }
.home-admin-links::-webkit-scrollbar { display: none; }
.home-admin-link {
  display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 38px; padding: 7px 14px;
  border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line);
  color: var(--text-2); font-size: 14px; font-weight: 600;
}
.home-admin-link .icon { width: 17px; height: 17px; color: var(--gold); }
.home-admin-link:hover { color: var(--text); border-color: var(--gold-line); }
.home-count {
  display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--gold-soft); color: var(--gold-strong); font-size: 12px; font-weight: 700;
}

/* ---------- dashboard grid ---------- */
.home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.home-wide { grid-column: 1 / -1; }
.home-card { display: flex; flex-direction: column; min-width: 0; }
.home-card > .card-foot { margin-top: auto; }
.home-card > :has(+ .card-foot) { margin-bottom: 18px; }
.home-card .card-head { margin-bottom: 12px; }
.home-card .card-head .h3 .icon { color: var(--gold); }
.home-head-note { font-size: 13px; color: var(--muted); white-space: nowrap; }
.home-link { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; margin: -10px 0; font-size: 14.5px; font-weight: 600; }
.home-link .icon { width: 16px; height: 16px; }
.home-quiet {
  padding: 18px; border-radius: var(--radius); border: 1px dashed var(--line-strong);
  color: var(--text-2); text-align: center; font-size: 15px;
}

.home-live-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-strong); box-shadow: 0 0 8px var(--gold);
  animation: home-pulse 2.2s ease-in-out infinite;
}
.home-live-dot.is-green { background: var(--green); box-shadow: 0 0 8px var(--green); }
@keyframes home-pulse { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .home-live-dot { animation: none; } }

/* ---------- your week ---------- */
.home-tee {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px;
  padding: 14px 16px; border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.28); border: 1px solid var(--gold-line); color: inherit;
  transition: border-color .15s, background .15s;
}
.home-tee:hover { color: inherit; border-color: var(--gold); background: rgba(0, 0, 0, 0.4); }
.home-tee-time {
  font-family: var(--font-display); font-size: 44px; font-weight: 800; line-height: 1;
  letter-spacing: 0.01em; color: var(--gold-strong);
}
.home-tee-meta { margin-top: 6px; font-size: 14.5px; color: var(--text); }
.home-tee-range { display: block; color: var(--muted); margin-top: 1px; }
.home-tee-go { grid-column: 2; grid-row: 1 / span 2; color: var(--gold); }
.home-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.home-chips .chip { font-size: 13.5px; }
.home-chips .chip-open .icon { width: 16px; height: 16px; }

/* a new player's practice rounds (lib/practice), while they decide whether their rounds count */
.home-practice { display: grid; gap: 8px; margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--gold-line); background: rgba(0, 0, 0, 0.22); }
.home-practice.is-done { border-color: rgba(79, 194, 131, 0.35); }
.home-practice-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.home-practice-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.home-practice-steps li {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px 4px 5px; border-radius: 999px;
  border: 1px solid var(--line-strong); font-size: 13.5px; font-weight: 600; color: var(--muted);
}
.home-practice-steps li.is-done { color: var(--green); border-color: rgba(79, 194, 131, 0.35); background: var(--green-soft); }
.home-practice-steps li.is-next { color: var(--gold-strong); border-color: var(--gold-line); background: var(--gold-soft); }
.home-practice-mark { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid currentColor; font-size: 12px; }
.home-practice-mark .icon { width: 13px; height: 13px; }
.home-practice-gross { margin-left: 2px; font-size: 12px; font-weight: 700; opacity: 0.8; }
.home-practice-go { justify-self: start; }
.home-practice-go .icon { width: 15px; height: 15px; }
.home-practice p { color: var(--text-2); line-height: 1.45; }
.home-practice p strong { color: var(--text); }
.home-no-tee { padding: 16px 18px; border-radius: var(--radius); border: 1px dashed var(--gold-line); background: rgba(0, 0, 0, 0.2); }
.home-no-tee-title { font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 4px; }

.home-you-stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
}
.home-you-stats .stat { min-width: 0; }
.home-you-stats .stat + .stat { padding-left: 16px; border-left: 1px solid var(--line); }
.home-strokes { font-size: 40px; color: var(--gold-strong); }
.home-round { display: flex; align-items: center; min-height: 40px; min-width: 0; }
.home-round .badge { font-size: 13px; padding: 5px 11px; }
/* no badge in this card may push past its edge; the round status wraps if it ever has to */
.home-you .badge { max-width: 100%; }
.home-round .badge { white-space: normal; overflow-wrap: anywhere; line-height: 1.25; }
.home-you-stats .stat-sub { line-height: 1.35; }

/* ---------- this week ---------- */
.home-course {
  font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: 0.02em;
  text-transform: uppercase; line-height: 1.02;
}
.home-course + .muted { margin-top: 4px; }
.home-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; margin: 16px 0 0; }
.home-wide .home-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-fact { padding: 13px 0 12px; border-top: 1px solid var(--line); min-width: 0; }
.home-fact dt { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.home-fact dd { margin: 7px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-weight: 700; font-size: 16px; }
.home-fact-sub { flex-basis: 100%; font-size: 13px; font-weight: 400; color: var(--muted); }
.home-fact .badge { font-size: 13px; padding: 4px 10px; }
.home-pot { font-family: var(--font-display); font-size: 24px; font-weight: 800; line-height: 1; }
/* rounds-posted bar */
.home-progress { padding-top: 13px; border-top: 1px solid var(--line); }
.home-progress-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.home-progress-count { font-size: 14px; color: var(--muted); }
.home-progress-count strong { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--text); margin-right: 2px; }
.home-bar { height: 6px; margin-top: 9px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.home-bar span { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--gold-deep), var(--gold-strong)); }

.home-tee-dot {
  display: inline-block; flex: none; width: 14px; height: 14px; border-radius: 50%;
  background: var(--tee, var(--muted)); border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
}

/* ---------- today on the tee sheet ---------- */
.home-today-sub { display: flex; flex-wrap: wrap; gap: 2px 8px; margin: -4px 0 12px; font-size: 13.5px; color: var(--muted); }
.home-today-sub span + span::before { content: "·"; margin-right: 8px; color: var(--gold-deep); }
.home-note { margin-bottom: 12px; font-size: 14px; padding: 10px 12px; }
.home-agenda { list-style: none; margin: 0; padding: 0; }
.agenda-item {
  display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 12px 0; border-top: 1px solid var(--line);
}
.agenda-item:first-child { border-top: 0; }
.agenda-time { display: flex; flex-direction: column; padding-right: 12px; border-right: 2px solid var(--line-strong); line-height: 1.15; }
.agenda-time strong { font-family: var(--font-display); font-size: 19px; font-weight: 800; letter-spacing: 0.02em; white-space: nowrap; }
.agenda-time span { font-size: 12px; color: var(--muted); margin-top: 2px; }
.agenda-item.is-next .agenda-time { border-color: var(--gold); }
.agenda-item.is-live .agenda-time { border-color: var(--green); }
.agenda-item.is-block .agenda-time { border-color: rgba(116, 167, 255, 0.55); }
.agenda-item.is-free .agenda-time { border-right-style: dashed; }
.agenda-item.is-free .agenda-title { color: var(--text-2); }
.agenda-item.is-done .agenda-time { border-color: var(--line); }
.agenda-item.is-done .agenda-time strong, .agenda-item.is-done .agenda-who, .agenda-item.is-done .agenda-title { color: var(--muted); }
.agenda-item.is-done .agenda-name.is-me { color: var(--gold); }
.agenda-body { min-width: 0; }
.agenda-who { font-weight: 600; line-height: 1.35; }
.agenda-name { white-space: nowrap; }
.agenda-name.is-me { color: var(--gold-strong); }
.agenda-item.is-mine .agenda-time strong { color: var(--gold-strong); }

/* opening / closing marks and the "now" line */
.agenda-mark, .agenda-now {
  display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 14px;
  padding: 7px 0; border-top: 1px solid var(--line);
}
.home-agenda > :first-child { border-top: 0; }
.agenda-mark-time { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.agenda-mark-label {
  font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}
.agenda-mark.is-next .agenda-mark-time { color: var(--text-2); }
.agenda-now { grid-template-columns: auto auto minmax(0, 1fr); gap: 8px; padding: 6px 0; border-top: 0; }
.agenda-now + * { border-top: 0; }
.agenda-now-label {
  font-family: var(--font-display); font-size: 11.5px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-ink); background: var(--gold); padding: 2px 8px; border-radius: 999px;
}
.agenda-now-time { font-size: 12.5px; font-weight: 600; color: var(--gold-strong); }
.agenda-now-line { height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.agenda-title { font-weight: 600; }
.agenda-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 4px; font-size: 13px; }
.agenda-sub .badge { font-size: 11.5px; padding: 2px 8px; }
a.badge-gold:hover { color: var(--gold-ink); background: var(--gold); }
.agenda-sub a.badge { position: relative; }
.agenda-sub a.badge::after { content: ""; position: absolute; inset: -10px -6px; }
.agenda-state .badge { font-size: 11.5px; }

/* ---------- open seats ---------- */
.home-seats-total { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.home-big { font-family: var(--font-display); font-size: 48px; font-weight: 800; line-height: 0.9; flex: none; }
.home-seats-total .small { line-height: 1.4; }
.home-seat-list .list-item { padding: 11px 0; }
.home-seat-list .list-item .title { font-weight: 600; }
.home-date-tile {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; flex: none;
  width: 46px; height: 50px; border-radius: 12px; background: var(--bg-elev); border: 1px solid var(--line);
  line-height: 1;
}
.home-date-tile span { font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.home-date-tile strong { font-family: var(--font-display); font-size: 21px; font-weight: 800; margin-top: 4px; }
.home-seat-list .badge .icon { width: 14px; height: 14px; }

/* ---------- standings ---------- */
.home-board { list-style: none; margin: 0 -10px; padding: 0; }
.board-row {
  display: grid; grid-template-columns: 2.1em 28px minmax(0, 1fr) auto 3.6em; align-items: center; gap: 12px;
  padding: 9px 10px; border-radius: 12px;
}
.board-row { position: relative; }
.board-row + .board-row::before { content: ""; position: absolute; left: 10px; right: 10px; top: 0; height: 1px; background: var(--line); }
.board-row.is-me { background: var(--gold-soft); box-shadow: inset 3px 0 0 var(--gold); }
.board-row.is-me::before, .board-row.is-me + .board-row::before { display: none; }
.board-row .rank { width: auto; font-size: 17px; }
.board-name { display: flex; flex-direction: column; min-width: 0; }
.board-player { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-you { font-size: 10.5px; padding: 1px 7px; vertical-align: 1px; }
.board-meta { font-size: 12.5px; color: var(--muted); }
.board-move { font-size: 12px; font-weight: 700; white-space: nowrap; }
.board-move.up { color: var(--green); }
.board-move.down { color: var(--red); }
.board-move.same { color: var(--muted); }
.board-pts { font-family: var(--font-display); font-size: 22px; font-weight: 800; text-align: right; white-space: nowrap; }
.board-pts small { font-family: var(--font-body); font-size: 11px; font-weight: 600; color: var(--muted); margin-left: 3px; letter-spacing: 0.04em; }
.is-leader .board-pts { color: var(--gold-strong); }
.board-gap { display: flex; align-items: center; height: 14px; padding: 0 10px; }
.board-gap span { flex: 1; border-top: 1px dashed var(--line-strong); }

/* ---------- skins ---------- */
.home-skins-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  padding: 14px 16px; border-radius: var(--radius); background: rgba(0, 0, 0, 0.22); border: 1px solid var(--line);
}
.home-skins-stats .stat + .stat { padding-left: 12px; border-left: 1px solid var(--line); }
.home-skins-stats .stat-value { font-size: 28px; }
.home-earners-label { margin: 16px 0 2px; }
.home-earners .list-item { padding: 10px 0; }
.home-owed { font-family: var(--font-display); font-size: 21px; font-weight: 800; white-space: nowrap; }
.home-skins-note { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; }
.home-skins-note .icon { width: 14px; height: 14px; }

/* ---------- haven't played with yet ---------- */
.home-mates-intro { margin: -4px 0 14px; }
.home-mate-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.home-mate {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  column-gap: 12px; align-items: start; padding: 14px; min-width: 0;
  grid-template-areas: "av body" "av seat" "av act"; grid-template-rows: auto auto 1fr;
  border-radius: var(--radius); background: var(--bg-elev); border: 1px solid var(--line);
}
.home-mate > .avatar { grid-area: av; }
.home-mate-body { grid-area: body; min-width: 0; }
.home-mate-name { font-weight: 700; line-height: 1.3; }
.home-mate-name .badge { font-size: 10.5px; padding: 1px 7px; vertical-align: 1px; }
.home-mate-sub { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 13px; color: var(--muted); margin-top: 2px; }
.home-mate-seat {
  grid-area: seat; justify-self: start; display: inline-flex; align-items: center; gap: 5px; margin-top: 4px;
  font-size: 13px; font-weight: 600; white-space: nowrap;
}
.home-mate-seat .icon { width: 15px; height: 15px; }
.home-mate-actions { grid-area: act; align-self: end; display: flex; gap: 8px; margin-top: 10px; }
.home-mate-actions .btn { flex: 1; min-height: 36px; padding: 7px 10px; font-size: 12.5px; }
.home-mate-actions .icon { width: 16px; height: 16px; }
.home-mate-hidden { display: flex; align-items: flex-start; gap: 6px; margin-top: 10px; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.home-mate-hidden .icon { width: 14px; height: 14px; margin-top: 1px; color: var(--faint); }

.home-more { margin-top: 12px; }
.home-more summary {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none;
  color: var(--gold-strong); font-weight: 600; font-size: 14.5px; min-height: 40px; padding: 6px 0;
}
.home-more summary::-webkit-details-marker { display: none; }
.home-more summary .icon { width: 16px; height: 16px; transform: rotate(90deg); transition: transform .15s; }
.home-more[open] summary .icon { transform: rotate(-90deg); }
.home-more[open] .home-more-closed, .home-more:not([open]) .home-more-open { display: none; }
.home-more > .home-mate-grid { margin-top: 8px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .home-mate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-hero { gap: 32px; padding: 34px 32px; }
  .home-crest-wrap { width: 168px; }
}
@media (max-width: 800px) {
  .home-grid { grid-template-columns: minmax(0, 1fr); }
  .home-wide .home-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  main.home { padding-top: 14px; }
  .home-hero {
    grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 22px;
    padding: 34px 20px 24px; border-radius: 20px;
    background:
      radial-gradient(320px 260px at 50% 22%, rgba(215, 178, 93, 0.18), transparent 70%),
      linear-gradient(180deg, #121419 0%, #0b0c0f 100%);
  }
  .home-hero::before { -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%); mask-image: linear-gradient(180deg, transparent, #000 60%); }
  .home-crest-wrap { width: 150px; }
  .home-title { font-size: 34px; margin-left: auto; margin-right: auto; max-width: 13ch; }
  .home-sub { flex-direction: column; align-items: center; gap: 2px; font-size: 15.5px; }
  .home-sub-break { display: none; }
  .home-today-sub { flex-direction: column; }
  .home-today-sub span + span::before { content: none; }
  .home-season { justify-content: center; flex-direction: column; gap: 8px; }
  .pip { width: 15px; }
  .pip-now { width: 26px; }
  .pip-off { width: 6px; }
  .pip-off-now { width: 10px; }
  .home-ctas { flex-direction: column; width: 100%; margin-top: 22px; }
  .home-ctas .btn { width: 100%; }

  .home-admin { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px; }
  .home-admin-label { padding-left: 4px; }
  .home-admin-links { margin-left: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-admin-link { justify-content: flex-start; min-height: 44px; }
  .home .btn-sm { min-height: 42px; }
  .home-mate-seat { position: relative; }
  .home-mate-seat::after { content: ""; position: absolute; inset: -12px -6px; }
  .home-admin-link .home-count { margin-left: auto; }

  .home-grid { gap: 14px; margin-top: 16px; }
  .home-tee-time { font-size: 40px; }
  .home-course { font-size: 27px; }
  .home-mate-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .home-mate { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "av body act" "av seat seat"; grid-template-rows: auto auto; align-items: center; padding: 12px; }
  .home-mate-actions { align-self: center; }
  .home-mate-seat { margin-top: 6px; }
  .home-mate-actions { margin-top: 0; }
  .home-mate-actions .btn { flex: none; width: 42px; min-height: 42px; height: 42px; padding: 0; }
  .home-mate-actions .icon { width: 19px; height: 19px; }
  .home-mate-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .home-mate-sub { column-gap: 8px; }
  .agenda-item { grid-template-columns: 76px minmax(0, 1fr) auto; gap: 12px; }
  .agenda-mark { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
  .home-skins-stats { padding: 12px; gap: 8px; }
  .home-skins-stats .stat + .stat { padding-left: 10px; }
  .home-skins-stats .stat-value { font-size: 24px; }
  .home-skins-stats .stat-label { font-size: 11px; letter-spacing: 0.08em; }
}
@media (max-width: 380px) {
  .home-title { font-size: 30px; }
  .home-round .badge { font-size: 12px; padding: 4px 9px; }
  .board-row { gap: 9px; }
  .agenda-state { display: none; }
}

/* phones: small inline links (seat badges, "Open seat …" links) get an invisible 40px tap area */
@media (max-width: 640px) {
  a.badge, .home-mate-seat { position: relative; }
  a.badge::after, .home-mate-seat::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 40px; transform: translateY(-50%); }
}

/* ---------- standings: your playoff line ---------- */
.home-playoff { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.home-playoff .stat-label { font-size: 11px; }
.home-playoff-text { font-weight: 600; color: var(--text-2); }
.home-playoff-text.is-bye { color: var(--gold-strong); }
.home-playoff-text.is-play-in, .home-playoff-text.is-seed-tie, .home-playoff-text.is-cut { color: var(--blue); }
.home-playoff-text.is-ineligible { color: var(--red); }
.home-playoff-text.is-left { color: var(--muted); }
