/* Dealt Golf — design tokens from the printed deck: 1B4332 green, C9A227 gold, FAF6EF cream */
:root {
  --green: #1B4332;
  --green-ink: #14352A;
  --gold: #C9A227;
  --cream: #FAF6EF;
  --paper: #F2EBDD;
  --ink: #1D2420;
  --muted: #6E7A72;
  --line: #E3DACA;
  --line-strong: #D3C7B2;
  --rookie: #4C7A5A;
  --pro: #1B4332;
  --legend: #B08A1E;
  --mythic: #8E3A2E;
  --team: #2F5D8A;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", sans-serif;
  --r: 16px;
  --shadow: 0 1px 2px rgba(27, 67, 50, .05), 0 14px 34px -22px rgba(27, 67, 50, .45);
  color-scheme: light;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 50% -10%, #234F3C 0%, #14352A 55%, #0E2A21 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.app {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-width: 460px;
  margin: 0 auto;
  background: var(--cream);
  overflow: hidden;
  isolation: isolate;
}

main {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px 16px 22px;
  scrollbar-width: thin;
}

/* ---------------------------------------------------------------- top bar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px);
}

.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.mark { width: 34px; height: 34px; flex: none; }
.brandtext { min-width: 0; }
.league {
  margin: 0;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: .01em;
  color: var(--green);
}
.sub {
  margin: 1px 0 0;
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.install {
  flex: none;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .01em;
  color: var(--cream);
  background: var(--green);
  border-radius: 999px;
}
.install:active { transform: translateY(1px); }

/* ---------------------------------------------------------------- type */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; color: var(--green); }
.eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 26px 2px 10px;
}
.section-head h2 { font-size: 17px; }
.section-head .link { font-size: 12px; color: var(--muted); }
.section-head .link:hover { color: var(--green); }

.tnum { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- week hero */
.hero {
  position: relative;
  margin-top: 2px;
  padding: 20px 20px 18px;
  border-radius: 22px;
  color: var(--cream);
  background:
    radial-gradient(120% 130% at 88% -20%, rgba(201, 162, 39, .34), transparent 58%),
    linear-gradient(160deg, #1F4B37 0%, #16392C 60%, #123023 100%);
  box-shadow: 0 18px 40px -26px rgba(18, 48, 35, .9);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(250, 246, 239, .07) 1px, transparent 1px);
  background-size: 13px 13px;
  opacity: .55;
  pointer-events: none;
}
.hero-top { display: flex; align-items: center; justify-content: space-between; position: relative; }
.hero-top .eyebrow { color: var(--gold); }
.hero-date { font-size: 12px; color: rgba(250, 246, 239, .72); }
.hero-total {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 12px 0 2px;
  font-family: var(--serif);
  font-size: 46px;
  line-height: 1;
  letter-spacing: -.02em;
}
.hero-total .of { font-family: var(--sans); font-size: 12px; letter-spacing: .02em; color: rgba(250, 246, 239, .68); }
.dots { display: flex; gap: 6px; margin: 14px 0 0; position: relative; }
.dot { width: 26px; height: 4px; border-radius: 3px; background: rgba(250, 246, 239, .22); }
.dot.on { background: var(--gold); }
.hero-note {
  position: relative;
  margin: 12px 0 0;
  font-size: 11.5px;
  color: rgba(250, 246, 239, .62);
}

/* ---------------------------------------------------------------- cards */
.cards { display: grid; gap: 10px; }

.card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 14px 14px 20px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, background .2s ease;
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  border-radius: var(--r) 0 0 var(--r);
  background: var(--tier, var(--green));
}
.card:hover { transform: translateY(-1px); }
.card:active { transform: translateY(0); }
.card .tier {
  display: block;
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tier, var(--green));
}
.card .name {
  display: block;
  margin-top: 4px;
  font-size: 14.5px;
  line-height: 1.32;
  color: var(--ink);
}
.card .meta { display: block; margin-top: 6px; font-size: 11px; color: var(--muted); }
.card .pts {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--green);
  line-height: 1;
  text-align: right;
}
.card .pts small { display: block; font-family: var(--sans); font-size: 9.5px; letter-spacing: .12em; color: var(--muted); margin-top: 3px; text-transform: uppercase; }

.card.is-logged { background: #F7F4EC; border-color: var(--line-strong); }
.card.is-logged .name { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.card.is-logged::after {
  content: "Logged";
  position: absolute;
  top: 10px; right: 12px;
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(27, 67, 50, .08);
  padding: 3px 7px;
  border-radius: 999px;
}
.card.is-logged .pts { color: var(--muted); }
.card.legend { --tier: var(--legend); }
.card.rookie { --tier: var(--rookie); }
.card.pro { --tier: var(--pro); }
.card.mythic { --tier: var(--mythic); }
.card.team { --tier: var(--team); }

/* compact deck grid */
.deckgrid { display: grid; gap: 8px; }
.deckgrid .card { padding: 11px 12px 11px 17px; border-radius: 13px; }
.deckgrid .card .name { font-size: 13px; }
.deckgrid .card .pts { font-size: 18px; }
.deckgrid .card .pts small { font-size: 8.5px; }

/* ---------------------------------------------------------------- rows */
.row {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.row:last-child { border-bottom: 0; }
.row:hover { background: rgba(27, 67, 50, .03); }
.rank { font-family: var(--serif); font-size: 15px; color: var(--muted); text-align: center; }
.row .who { min-width: 0; }
.row .name { display: block; font-size: 14px; font-weight: 560; }
.row .tiny { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.row .score { font-family: var(--serif); font-size: 20px; color: var(--green); font-variant-numeric: tabular-nums; }

.row.is-you { background: rgba(201, 162, 39, .09); border-radius: 12px; border-bottom-color: transparent; }
.row.is-you .name { font-weight: 700; }
.row.is-leader .rank { color: var(--gold); }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel .pad,
.panel.pad { padding: 14px 14px 6px; }

.spark { display: flex; align-items: flex-end; gap: 2px; height: 22px; width: 52px; justify-content: flex-end; }
.spark i { width: 4px; border-radius: 2px; background: rgba(27, 67, 50, .22); display: block; }
.spark i.hot { background: var(--gold); }

.howline {
  margin: 0 2px 14px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}
.howline b { color: var(--green); font-weight: 650; }

.whatif {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 12px 0 0;
  padding: 11px 13px;
  border-radius: 13px;
  background: rgba(201, 162, 39, .12);
  border: 1px solid rgba(201, 162, 39, .32);
  font-size: 12.5px;
  line-height: 1.45;
  color: #6b551a;
}
.whatif b { color: #4d3d10; }

/* ---------------------------------------------------------------- chips */
.chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 2px 0 12px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.chip.is-on { color: var(--cream); background: var(--green); border-color: var(--green); }

/* ---------------------------------------------------------------- season */
.statgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat {
  padding: 13px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.stat .k { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.stat .v { margin-top: 6px; font-family: var(--serif); font-size: 24px; color: var(--green); }
.stat .v small { font-family: var(--sans); font-size: 11px; color: var(--muted); }

.payrow {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.payrow:last-child { border-bottom: 0; }
.payrow .place { font-family: var(--serif); color: var(--gold); }
.payrow .amt { font-variant-numeric: tabular-nums; font-weight: 650; }

.vote { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.vote:last-child { border-bottom: 0; }
.vote .label { display: flex; justify-content: space-between; font-size: 13px; }
.vote .bar { height: 5px; margin-top: 8px; border-radius: 3px; background: var(--paper); overflow: hidden; }
.vote .bar i { display: block; height: 100%; background: var(--green); border-radius: 3px; }
.vote .label span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }

.footlink {
  display: block;
  margin: 22px 0 4px;
  padding: 13px;
  text-align: center;
  font-size: 12.5px;
  color: var(--green);
  background: rgba(27, 67, 50, .05);
  border-radius: 13px;
}
.footlink span { color: var(--muted); }

/* ---------------------------------------------------------------- tab bar */
.tabbar {
  flex: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(12px);
}
.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 5px 0;
  font-size: 10.5px;
  letter-spacing: .03em;
  color: var(--muted);
  border-radius: 10px;
}
.tab svg { width: 21px; height: 21px; }
.tab.is-active { color: var(--green); }
.tab.is-active svg { filter: drop-shadow(0 1px 0 rgba(201, 162, 39, .5)); }

/* ---------------------------------------------------------------- sheet */
.sheetwrap { position: fixed; inset: 0; z-index: 40; display: grid; align-items: end; justify-items: center; }
.scrim { position: absolute; inset: 0; background: rgba(16, 38, 29, .42); backdrop-filter: blur(2px); animation: fade .2s ease; }
.sheet {
  position: relative;
  width: min(460px, 100%);
  max-height: 84dvh;
  overflow-y: auto;
  padding: 10px 18px calc(20px + env(safe-area-inset-bottom));
  background: var(--cream);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -18px 50px -20px rgba(0, 0, 0, .45);
  animation: rise .26s cubic-bezier(.22, .8, .3, 1);
}
.grip { width: 38px; height: 4px; margin: 0 auto 12px; border-radius: 3px; background: var(--line-strong); }
.sheet h3 { font-size: 19px; }
.sheet .big { font-family: var(--serif); font-size: 34px; color: var(--green); margin: 6px 0 0; }
.sheet .sub2 { margin: 2px 0 16px; font-size: 12.5px; color: var(--muted); }
.line { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.line:last-of-type { border-bottom: 0; }
.line .r { font-variant-numeric: tabular-nums; color: var(--green); font-weight: 600; }
.line.off { color: var(--muted); }
.line.off .r { color: var(--muted); font-weight: 500; }
.closebtn {
  width: 100%;
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  background: var(--green);
  color: var(--cream);
  font-weight: 650;
  font-size: 13.5px;
}
.code {
  margin: 10px 0 4px;
  padding: 14px;
  text-align: center;
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: .18em;
  color: var(--green);
  background: #fff;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
}

/* ---------------------------------------------------------------- toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  z-index: 50;
  transform: translate(-50%, 12px);
  padding: 10px 16px;
  font-size: 13px;
  color: var(--cream);
  background: var(--green-ink);
  border-radius: 999px;
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .6);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  white-space: nowrap;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(26px); opacity: .6; } }

/* ---------------------------------------------------------------- desktop */
@media (min-width: 720px) {
  body { padding: 26px 0; }
  .app {
    height: calc(100dvh - 52px);
    border-radius: 26px;
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6), 0 0 0 1px rgba(250, 246, 239, .1);
  }
  .toast { bottom: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* ---- rules, majors fantasy, commissioner console ---- */
.backlink {
  display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 10px;
  font-size: 12px; color: var(--muted);
}
.backlink:hover { color: var(--green); }
.backlink b { font-weight: 600; color: var(--green); }

.rule { padding: 15px 2px 16px; border-bottom: 1px solid var(--line); }
.rule:last-of-type { border-bottom: 0; }
.rule h2 { font-size: 16.5px; margin-bottom: 8px; }
.rule p { margin: 0 0 9px; font-size: 13px; line-height: 1.55; }
.rule p:last-child { margin-bottom: 0; }
.rule ul { margin: 0 0 10px; padding-left: 17px; font-size: 13px; line-height: 1.5; }
.rule li { margin-bottom: 6px; }
.rule li:last-child { margin-bottom: 0; }
.rule .step { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.45; }
.rule .step:last-child { border-bottom: 0; padding-bottom: 0; }
.rule .step dt { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.rule table { width: 100%; border-collapse: collapse; font-size: 12.5px; margin: 4px 0 10px; }
.rule th { text-align: left; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 0 0 6px; border-bottom: 1px solid var(--line-strong); }
.rule td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.rule th:last-child, .rule td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.rule td:first-child { font-weight: 550; }
.work { background: var(--paper); border: 1px solid var(--line); border-radius: 13px; padding: 13px 14px; margin: 10px 0 2px; }
.work h4 { margin: 0 0 7px; font-family: var(--serif); font-size: 14.5px; color: var(--green); }
.work p, .work li { font-size: 12.5px; color: #33413a; }
.work ul { margin-bottom: 6px; }

.pill {
  display: inline-block; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 999px; border: 1px solid var(--line-strong);
  color: var(--muted); white-space: nowrap;
}
.pill.live { background: var(--green); border-color: var(--green); color: var(--cream); }
.pill.done { color: var(--green); border-color: var(--green); }
.pill.out { background: var(--paper); }

.major { border: 1px solid var(--line); border-radius: 16px; background: #fff; margin-bottom: 11px; overflow: hidden; }
.major .mhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; background: var(--paper); border-bottom: 1px solid var(--line); }
.major h3 { font-size: 15px; }
.major .mwhen { font-size: 11px; color: var(--muted); margin-top: 2px; }
.major .mbody { padding: 2px 14px 8px; }
.major .note { font-size: 11.5px; color: var(--muted); padding: 8px 0 10px; line-height: 1.45; }
.winnerline { font-size: 12px; color: var(--green); padding: 10px 0 8px; border-bottom: 1px solid var(--line); }
.winnerline b { font-weight: 650; }
.pick { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.pick:last-child { border-bottom: 0; }
.pick .pn { font-size: 13px; font-weight: 550; }
.pick .pros { font-size: 11px; color: var(--muted); line-height: 1.4; }
.pick .nums { grid-row: 1 / span 2; grid-column: 2; text-align: right; min-width: 54px; }
.pick .pt { font-family: var(--serif); font-size: 17px; color: var(--green); font-variant-numeric: tabular-nums; }
.pick .td { display: block; font-size: 10.5px; color: var(--muted); font-variant-numeric: tabular-nums; margin-top: 1px; }
.pick.is-you .pn { color: var(--green); }
.major.is-out { opacity: .74; }

.lockbox { text-align: center; padding: 22px 16px 8px; }
.lockbox .lk { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; }
.lockbox h2 { font-size: 18px; margin-bottom: 8px; }
.lockbox p { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 0 auto 16px; max-width: 300px; }

.commhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 2px 12px; }
.commhead .eyebrow { color: var(--gold); }
.commrow { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.commrow:last-child { border-bottom: 0; }
.commrow .cname { font-size: 13px; min-width: 0; }
.commrow .cname small { display: block; font-size: 10.5px; color: var(--muted); margin-top: 1px; }
.commrow .cpts { font-family: var(--serif); font-size: 17px; color: var(--green); min-width: 34px; text-align: right; font-variant-numeric: tabular-nums; }
.ticks { display: flex; gap: 6px; }
.tick { width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--line-strong); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; background: #fff; }
.tick.on { background: var(--green); border-color: var(--green); color: var(--cream); }
.legendline { font-size: 11px; color: var(--muted); padding: 0 0 10px; line-height: 1.5; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px 0 4px; }
.btn { border: 1px solid var(--line-strong); border-radius: 10px; padding: 9px 13px; font-size: 12.5px; background: #fff; }
.cbtns { display: flex; gap: 4px; align-items: center; flex: none; }
.cbtns .btn { padding: 6px 7px; font-size: 11px; white-space: nowrap; }
.btn.primary { background: var(--green); color: var(--cream); border-color: var(--green); }
.btn.warn { color: #8a2b1f; border-color: #e3c3bc; background: #fdf6f4; }
.btn:active { transform: translateY(1px); }
.sheet .actions { padding-top: 14px; }
.sheet .actions .btn { flex: 1 1 auto; }

.switch { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.switch:last-child { border-bottom: 0; }
.switch .sl { font-size: 13px; }
.switch .sd { font-size: 11px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.sw { width: 44px; height: 26px; border-radius: 999px; background: var(--line-strong); position: relative; flex: none; transition: background .16s ease; }
.sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .16s ease; }
.sw.on { background: var(--green); }
.sw.on::after { transform: translateX(18px); }
.field { display: block; margin: 6px 0 14px; }
.field span { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line-strong); font: inherit; font-size: 16px; letter-spacing: .3em; background: var(--cream); }
.field select { width: 100%; padding: 13px 12px; border-radius: 12px; border: 1px solid var(--line-strong); font: inherit; font-size: 15px; letter-spacing: 0; background: var(--cream); }
.coursegrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 12px 0 10px; }
.linkbtn { background: none; border: 0; padding: 0; margin: -6px 0 12px; font: inherit; font-size: 12.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hint { font-size: 11.5px; color: var(--muted); margin: 10px 0 0; line-height: 1.5; }
.request { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 2px 0 6px; }
.request .rn { font-size: 13.5px; }
.request .rd { font-size: 11px; color: var(--muted); margin-top: 2px; }
.mini { display: flex; gap: 8px; flex-wrap: wrap; padding: 2px 0 0; }
.tabbar { display: grid; grid-template-columns: repeat(5, 1fr); }

.rule dd { margin: 0; min-width: 0; }
.rule .step dd { line-height: 1.5; }

/* commissioner · own cards + payout splitter */
.ownrow { display: flex; gap: 10px; align-items: flex-end; margin-bottom: 10px; }
.ownrow .field { flex: 1; margin: 0; }
.ownrow .field.pts { flex: 0 0 74px; }
.ownuse { display: flex; gap: 6px; padding-bottom: 2px; }
.ownuse .btn { padding: 9px 11px; font-size: 12px; min-width: 0; }
.payrow { display: flex; gap: 10px; margin: 4px 0 12px; }
.payrow .field { flex: 1; margin: 0; }
