/* prep pages (0.36 layout pass): Setup, Teams, Registration, Wrestlers & Weigh-in, Weights & Seeding */

/* ---- bits shown only on a phone / only on a bigger screen */
@media (min-width: 641px) { .m-only { display: none !important; } }
@media (max-width: 640px) { .d-only { display: none !important; } }

/* ---- tablets: the low-value columns step aside by class (not by position: empty columns are left out) */
@media (min-width: 641px) and (max-width: 1000px) {
  .table.teams-table tr > * { display: table-cell; }
  .table.teams-table tr > .hide-md { display: none; }
}

/* ---- the one line under a page title, inside the page head (with the buttons beside it) */
.page-head .page-sub { margin: 4px 0 0; }

/* ---- the ⋯ in a row: quiet until hovered */
.table td.actions .more .more-btn { margin-left: 4px; font-size: 16px; min-width: 34px; line-height: 18px; padding-top: 2px; padding-bottom: 2px; }
.table td.actions .more { vertical-align: top; }
.more-note:has(.more-sw) { padding: 0; }
.more-sw { justify-content: space-between; gap: 16px; cursor: pointer; }
.more-sw .switch { transform: scale(.8); margin-right: -4px; }
.more-item .more-sub { margin-left: auto; padding-left: 12px; color: var(--muted); font-size: 12.5px; }

/* ---- Teams & Coaches */
.tl-toggle-card { padding-top: 6px; padding-bottom: 6px; }
@media (max-width: 640px) {
  .teams-table.m-cards tr { column-gap: 0; min-height: 64px; }
  .teams-table.m-cards td.tl-cell { order: -3; width: 32px; margin-right: 8px; flex: none; display: flex !important; justify-content: center; }
  .teams-table.m-cards td.m-title { flex: 1 1 calc(100% - 40px); display: flex !important; align-items: center; gap: 8px; padding-right: 44px !important; }
  .teams-table.m-cards td.m-title .pill { margin-left: auto; font-size: 11px; }
  .teams-table.m-cards td.m-hide + td.m-sub { padding-left: 40px !important; }
  .teams-table.m-cards td.m-sub { flex: none; }
  .teams-table.m-cards td.m-sub ~ td.m-sub::before { content: '\00a0·\00a0'; }
  .teams-table.m-cards td.m-sub a { color: inherit; }
  .teams-table.m-cards td.m-sub .team-code { font-size: 12.5px; color: var(--ink); padding: 0 4px; }
  .card.flush .table.teams-table.m-cards td.actions { position: absolute !important; right: 10px; top: 12px; margin: 0; flex: none; width: auto; }
}

/* ---- Wrestlers: Roster cards on a phone (name; team · weight · grade · season · today; ⋯ at the right) */
@media (max-width: 640px) {
  .wrestlers-table.m-cards tr { column-gap: 0; }
  .wrestlers-table.m-cards td.m-title { padding-right: 48px !important; font-weight: 400; font-size: 15.5px; }
  .wrestlers-table.m-cards td.m-sub { flex: none; }
  .wrestlers-table.m-cards td.m-sub ~ td.m-sub::before { content: '\00a0·\00a0'; }
  .card.flush .table.wrestlers-table.m-cards td.actions { position: absolute !important; right: 10px; top: 10px; margin: 0; flex: none; width: auto; display: flex; gap: 6px; }
}

/* ---- Weigh-in settings pop-up (page head) */
.wi-set { position: relative; }
.btn.wi-set-btn { font-weight: 500; letter-spacing: 0; min-width: 0; padding-left: 12px; padding-right: 12px; }
.btn.wi-set-btn svg.ic { width: 15px; height: 15px; margin-right: 4px; vertical-align: -2px; }
.btn.wi-set-btn[aria-expanded="true"] { background: #eef4ff; border-color: #98b4fc; }
.wi-pop { width: 330px; padding: 14px 16px; z-index: 45; }
.wi-pop h3 { margin: 0 0 8px; font-size: 15px; }
.wi-set-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14px; }
.wi-set-row > span { font-weight: 600; }
.wi-set-row small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.wi-set-row.col { flex-direction: column; align-items: stretch; gap: 6px; }
.wi-set-row input { width: 84px; }
.wi-pop hr { border: 0; border-top: 1px solid #e4e7ec; margin: 8px 0; }
.wi-pop p { margin: 0; }
.wi-tools p { margin: 0 0 12px; }

/* the title and Settings share the first line on a phone; the other buttons go under them */
@media (max-width: 640px) {
  .wr-head.wi-on .head-actions { display: contents; }
  .wr-head.wi-on .wr-title { flex: 1 1 calc(100% - 150px); min-width: 0; }
  .wr-head .wi-set { order: 0; }
  .wr-head > .head-actions > .btn { order: 1; }
  .wi-pop { width: min(330px, calc(100vw - 32px)); }
}

/* ---- Weigh-in on a phone: two lines per wrestler — name and team, then class, the scale weight and the skin check */
@media (max-width: 640px) {
  .wi-table, .wi-table tbody { display: block; width: 100%; }
  .wi-table thead { display: none; }
  .wi-table tr { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 14px 12px; border-bottom: 1px solid var(--line); }
  .wi-table tr:last-child { border-bottom: 0; }
  .wi-table tr::before { content: ''; order: 2; flex: 1 1 100%; height: 0; }
  .wi-table td { display: block; border: 0 !important; padding: 0 !important; background: none !important; text-align: left !important; min-width: 0; }
  .card.flush .table.wi-table td.actions { position: static; box-shadow: none; }
  .wi-table td.wc-name { order: 1; font-size: 15px; }
  .wi-table td.wc-team { order: 1; color: var(--muted); font-size: 13px; }
  .wi-table td.wc-state { order: 1; margin-left: auto; }
  .wi-table td.wc-act { order: 1; }
  .wi-table td.wc-act:empty { display: none; }
  .wi-table td.wc-class { order: 3; font-size: 15px; font-weight: 700; min-width: 74px; white-space: nowrap; }
  .wi-table td.wc-class .m-only { font-size: 13px; font-weight: 400; color: var(--muted); }
  .wi-table td.wc-lim { order: 3; font-size: 12.5px; }
  .wi-table td.wc-lim.same { display: none; }
  .wi-table td.wc-in { order: 3; flex: 0 0 96px; }
  .wi-table td.wc-in input { width: 100%; text-align: right; font-variant-numeric: tabular-nums; }
  .wi-table td.wc-skin { order: 3; flex: 1 1 0; }
  .wi-table td.wc-skin select { width: 100%; }
  .wi-table td[colspan] { order: 1; }
}

/* ---- Weights & Seeding: the draw box folded to one line once every weight is drawn */
.wt-fold { padding: 0; margin-bottom: 16px; }
.wt-fold > summary { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 18px; cursor: pointer; }
.wt-fold > summary::-webkit-details-marker { display: none; }
.wt-fold-ok { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #dcfae6; color: #079455; flex: none; }
.wt-fold-ok svg.ic { width: 14px; height: 14px; }
.wt-fold-more { color: var(--brand, #2563eb); font-weight: 600; }
.wt-fold-arrow { display: inline-block; transition: transform .15s; }
.wt-fold[open] .wt-fold-arrow { transform: rotate(90deg); }
.wt-fold-body { margin: 0; border: 0; border-top: 1px solid var(--line2, #eef0f3); border-radius: 0 0 12px 12px; }
/* the seeding page: Reset set apart from View bracket */
.wt-drawn-acts { align-items: center; }
.wt-sep { width: 1px; height: 22px; background: #e4e7ec; margin: 0 6px 0 10px; }

/* ---- Weights & Seeding cards on a phone: weight; wrestlers · format · status; Seed, Bracket and ⋯ */
@media (max-width: 640px) {
  .wtable.m-cards tr { column-gap: 0; }
  .wtable.m-cards td.m-title a { color: var(--ink); }
  .wtable.m-cards td.m-sub { flex: none; }
  .wtable.m-cards td.m-sub ~ td.m-sub::before { content: '\00a0·\00a0'; }
  .wtable.m-cards td.m-sub a { color: inherit; }
  .wtable.m-cards td.m-sub .muted.small { display: none; }
  .wtable.m-cards td.wt-fmt select { max-width: 200px; font-size: 13px; padding: 2px 6px; }
  .wtable.m-cards td.wt-st .wstat, .wtable.m-cards td.wt-st .wbar { display: none; }
  .wst-m { font-weight: 600; }
  .wst-m.k-live { color: #be123c; } .wst-m.k-done { color: #16803c; } .wst-m.k-ready { color: #1d4ed8; } .wst-m.k-seed { color: #9a4a06; } .wst-m.k-drawn { color: #6b3fc9; } .wst-m.k-empty { color: var(--muted); }
  .wtable.m-cards td.actions .wt-seed { background: var(--brand, #1d4ed8); border-color: var(--brand, #1d4ed8); color: #fff; }
  .wtable.m-cards td.actions .wt-more { margin-left: auto; }
  .wtable.m-cards td.actions .btn { padding: 6px 14px; }
  .wtable.m-cards tr.div-row td { flex: 1 1 100%; }
}

/* ---- Registration: the summary once it has closed */
.reg-sum { display: flex; align-items: center; gap: 16px; padding: 18px 20px; }
.reg-sum-ic { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #ecfdf3; color: #067647; display: grid; place-items: center; }
.reg-sum-ic svg.ic { width: 22px; height: 22px; }
.reg-sum-t { flex: 1; min-width: 0; }
.reg-sum-t > b { font-size: 17px; }
.reg-sum-t .muted { margin-top: 2px; }
.reg-sum-dot { color: #98a2b3; margin: 0 2px; font-size: 17px; font-weight: 700; }
.reg-sum-n { font-size: 16px; color: #344054; white-space: nowrap; }
.reg-form > .card-head { margin-bottom: 4px; }
.reg-rec .sw-row { border-top: 0; }
@media (max-width: 640px) {
  .reg-sum { flex-wrap: wrap; }
  .reg-sum .btn { flex: 1 1 100%; }
  .reg-table.m-cards tr { column-gap: 0; }
  .reg-table.m-cards td.m-sub { flex: none; }
  .reg-table.m-cards td.m-sub ~ td.m-sub::before { content: '\00a0·\00a0'; }
  .reg-table.m-cards td.m-sub .team-code { font-size: 12.5px; }
  .reg-table.m-cards td.actions { justify-content: flex-start; }
  .reg-addteam { flex-wrap: wrap; }
  .reg-table.reg-closed.m-cards td.m-title { padding-right: 80px !important; }
  .card.flush .table.reg-table.reg-closed.m-cards td.actions { position: absolute !important; right: 12px; top: 50%; transform: translateY(-50%); margin: 0; width: auto; flex: none; }
  .reg-sum-t > b { font-size: 16px; }
  .reg-sum-n { font-size: 15px; }
}

/* ---- Setup */
/* the Save bar sticks to the bottom of the window on every Setup form (Event too), with "Unsaved changes" */
form[data-form] > .save-bar { position: sticky; bottom: 0; z-index: 5; margin: 4px -18px -18px; padding: 12px 18px !important; background: #fff; border-top: 1px solid var(--line2, #eef0f3); border-radius: 0 0 12px 12px; box-shadow: 0 -6px 12px -8px rgba(16, 24, 40, .15); }
form[data-form=sessions] > .save-bar { margin: 0; border-radius: 0; }
form[data-form] .save-dirty { font-size: 14px; }
.sec-lead { margin: -6px 0 0; }
.dbl-row { display: flex; gap: 28px; align-items: flex-end; flex-wrap: wrap; }
.dbl-inputs { display: flex; gap: 16px; flex-wrap: wrap; }
.dbl-field { width: 220px; margin: 0; }
.dbl-row .sw-row { flex: 1 1 360px; border-top: 0; padding: 0 0 4px; justify-content: flex-start; flex-direction: row-reverse; }
.dbl-row .sw-row small { max-width: 600px; }
.pp-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin-top: 4px; }
.pp-row .field { width: 150px; margin: 0; }
.pp-row .field.sm { width: 92px; }
.pp-name { width: 130px; font-weight: 600; font-size: 13px; padding-bottom: 10px; }
.pp-field > span:first-child { display: block; }
.rr-card h2 { margin-bottom: 2px; }
.rr-card .saves-live, .card > h2 + .saves-live { display: flex; margin: 0 0 8px; }
.tb-h { margin: 14px 0 2px; font-size: 15px; }
.tb-pts { margin-top: 14px; padding-top: 4px; border-top: 1px solid var(--line2, #eef0f3); }
.form-grid > div > .sw-row { border-top: 0; }
@media (max-width: 640px) {
  .dbl-field, .pp-row .field { width: 100%; }
  .dbl-row .sw-row { flex-direction: row; justify-content: space-between; }
  .pp-row .field.sm { width: 72px; }
  form[data-form] > .save-bar { margin-left: -14px; margin-right: -14px; }
}
@media (max-width: 640px) {
  .req-table.m-cards td:not(.m-title):not(.actions) { flex: 1 1 100%; }
  .req-table.m-cards td.m-title .small { font-weight: 400; }
}
@media (max-width: 640px) {
  .reg-table.m-cards td.reg-roster { flex: 1 1 100%; margin-top: 4px; }
  .reg-table.reg-closed.m-cards td.reg-roster { display: none !important; }
}
.wt-draw .row, .wt-fold-body .row { flex-wrap: wrap; }
@media (max-width: 640px) {
  .preset-row { flex-wrap: wrap; }
  .preset-row .field { min-width: 0; flex: 1 1 100%; }
  .preset-row .field select { width: 100%; min-width: 0; }
}

/* ---- Weights & Seeding list fits a laptop (1366): Matches each and the format wrap in two short lines, Hold is a
   small switch, the rare Reset / Delete are in the row's ⋯ (Reset also shows as a quiet red link when there's room) */
.wtable th, .wtable td { padding-left: 7px; padding-right: 7px; }
.wtable td.wt-mx { min-width: 70px; }
.wtable td.wt-fmt { min-width: 96px; }
.wtable .fs-cell { white-space: normal; display: inline-block; line-height: 1.3; }
.wtable .wt-size { color: var(--muted); font-size: 13px; }
.wtable td.wt-hold .switch { width: 36px; height: 20px; vertical-align: middle; }
.wtable td.wt-hold .switch span::before { width: 14px; height: 14px; }
.wtable td.wt-hold .switch input:checked + span { background: #d97706; }
.wtable td.wt-hold .switch input:checked + span::before { transform: translateX(16px); }
.wtable td.wt-hold .switch input:focus-visible + span { outline: 2px solid var(--brand, #2563eb); outline-offset: 2px; }
.wtable td.actions { white-space: nowrap; }
.wtable td.actions .wt-reset { display: none; padding: 4px 6px; font-size: 13px; }
.wtable td.actions .more { display: inline-block; vertical-align: middle; }
.wtable td.actions .wt-more-d .more-btn { min-width: 30px; padding-left: 6px; padding-right: 6px; }
@media (min-width: 1440px) { .wtable td.actions .wt-reset { display: inline-block; } }
@media (max-width: 640px) { .wtable td.actions .wt-reset { display: none !important; } }
/* a drawn weight's seeds are set: on a computer its row has Bracket (Seeding page is in ⋯, and the name opens it) */
@media (min-width: 641px) { .wtable tr.wt-is-drawn td.actions .wt-seed { display: none; } }

/* ---- the seeding page: Lock is a switch; the wrestlers become cards on a phone (seed, name, team · grade · record,
   why, then Results and the ▲ ▼ / position box, big enough to tap) */
.seed-ctl .sw-row { border-top: 0; padding: 0; gap: 12px; flex-direction: row-reverse; justify-content: flex-end; align-self: flex-end; margin-bottom: 6px; }
@media (max-width: 640px) {
  .seed-ctl .sw-row { flex: 1 1 100%; flex-direction: row; justify-content: space-between; margin: 0; }
  .seed-table.m-cards tr { column-gap: 0; padding-left: 12px; }
  .seed-table.m-cards tr.seeded td { background: none !important; }
  .seed-table.m-cards tr.seeded { background: #f7faff; }
  .seed-table.m-cards tr.seed-cut { border-bottom: 2px solid var(--brand, #2563eb); }
  .seed-table.m-cards td.sd-n { order: -3; flex: none; min-width: 26px; font-size: 16px; color: var(--brand, #2563eb); }
  .seed-table.m-cards td.sd-n:empty { display: block !important; min-width: 0; }
  .seed-table.m-cards td.m-title { flex: 1 1 calc(100% - 40px); white-space: normal; }
  .seed-table.m-cards td.m-sub { flex: none; }
  .seed-table.m-cards td.m-sub ~ td.m-sub::before { content: '\00a0·\00a0'; }
  .seed-table.m-cards td.sd-ex { order: 1; }
  .seed-table.m-cards td.sd-why { flex: 1 1 100%; order: 2; margin-top: 2px; }
  .seed-table.m-cards td.sd-why:empty { display: none !important; }
  .seed-table.m-cards td.sd-res { order: 3; margin-top: 8px; }
  .seed-table.m-cards td.sd-move { order: 4; margin: 8px 0 0 auto; display: flex; align-items: center; gap: 4px; }
  .seed-table.m-cards td.sd-move:empty { display: none !important; }
  .seed-table.m-cards td.sd-move .icon-btn { min-width: 44px; min-height: 40px; font-size: 14px; border: 1px solid var(--line, #e4e7ec); border-radius: 8px; background: #fff; }
  .seed-table.m-cards td.sd-move .seed-num { width: 56px; min-height: 40px; }
  .seed-table.m-cards td[data-label] { order: 1; margin-right: 10px; }
}

/* ---- Registration → Entry fees and Entries (open) as cards on a phone */
@media (max-width: 640px) {
  .fee-table.m-cards tr { column-gap: 14px; row-gap: 4px; }
  .fee-table.m-cards td.m-title .small { font-weight: 400; font-size: 13px; }
  .fee-table.m-cards td.fee-st { order: -1; flex: 1 1 100%; }
  .fee-table.m-cards td.num { font-size: 14px; }
  .entries-table.m-cards tr { column-gap: 0; row-gap: 4px; }
  .entries-table.m-cards td.m-title { padding-right: 24px !important; }
  .entries-table.m-cards td.m-title .small { font-weight: 400; font-size: 13px; }
  .entries-table.m-cards td.m-sub { flex: none; }
  .entries-table.m-cards td.m-sub ~ td.m-sub::before { content: '\00a0·\00a0'; }
  .entries-table.m-cards td.m-sub .ent-cap { display: inline; margin-left: 4px; }
  .entries-table.m-cards td.ent-contact { flex: 1 1 100%; overflow-wrap: anywhere; }
  .entries-table.m-cards td.ent-st { flex: 1 1 100%; }
  .entries-table.m-cards td[data-label] { margin-right: 12px; }
  .entries-table.m-cards td.actions .more { margin-left: auto; }
}
.entries-table td.actions .btn-quiet-danger { margin-left: 6px; font-size: 13px; }
.req-table td.actions .req-no { margin-left: 8px; }
/* the skin check keeps room for its words ("✓ Cleared"): the class wraps onto two short lines instead */
@media (max-width: 640px) {
  .wi-table td.wc-class { white-space: normal; min-width: 0; flex: 0 1 auto; line-height: 1.2; }
  .wi-table td.wc-class .m-only { display: block; }
  .wi-table td.wc-in { flex: 0 0 82px; }
  .wi-table td.wc-skin { flex: 1 0 106px; }
  .wi-table td.wc-skin select { padding-left: 6px; padding-right: 22px; }
}
/* a Madison pool's card on a phone: its grouping line wraps on its own line */
@media (max-width: 640px) {
  .wtable.m-cards tr.madison-row td[colspan].m-sub { flex: 1 1 100%; white-space: normal; }
  .wtable.m-cards tr.madison-row td[colspan].m-sub::before, .wtable.m-cards tr.madison-row td[colspan].m-sub ~ td.m-sub::before { content: none; }
  .wtable.m-cards tr.madison-row td.actions .more { margin-left: auto; }
}

/* ---- 0.39 Setup per kind of event (H1, H3, H4): the three kind cards (Setup › Event, New event…, Try a demo), the
   Duals & lineups / Dual tournament & lineups tab, Team scoring in dual events, Weigh-ins in Event */
.ek-guide.ek3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ek-guide.ek3 .ek-card { min-width: 0; }
.ek-guide.ek3 .ek-card:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.ek-note .ek-moved { display: block; margin-top: 4px; color: #344054; }
/* Setup > Event: how brackets are made, under the Tournament card */
.ek-style { position: relative; margin-top: 14px; border: 1.5px solid var(--brand, #2563eb); background: #f7faff; border-radius: 12px; padding: 14px 16px; }
.ek-style::before { content: ''; position: absolute; top: -9px; left: 132px; width: 16px; height: 16px; background: #f7faff; border-left: 1.5px solid var(--brand, #2563eb); border-top: 1.5px solid var(--brand, #2563eb); transform: rotate(45deg); }
.ek-style h3 { margin: 0 0 8px; font-size: 14.5px; }
.ek-style h3 small { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.ek-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ek-chip { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 5px 11px; font-weight: 500; font-size: 13px; font-family: inherit; cursor: pointer; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.ek-chip:hover { border-color: #b7c3d4; }
.ek-chip.on { font-weight: 700; background: var(--brand, #2563eb); border-color: var(--brand, #2563eb); color: #fff; }
.ek-chip em { font-style: normal; font-size: 10px; font-weight: 800; text-transform: uppercase; background: #dcfae6; color: #067647; border-radius: 99px; padding: 1px 6px; }
.ek-chip.on em { background: rgba(255,255,255,.25); color: #fff; }
.ek-style .ek-desc { margin: 10px 0 0; font-size: 13.5px; color: var(--ink); max-width: 760px; }
.ek-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 10px; padding-top: 10px; border-top: 1px solid #dbe7fb; font-size: 13px; color: var(--muted); }
.ek-facts b { color: var(--ink); }
.ek-facts a { margin-left: auto; font-weight: 600; }
@media (max-width: 700px) { .ek-style::before { left: 40px; } .ek-facts a { margin-left: 0; flex-basis: 100%; } }
[id^="at-"] { scroll-margin-top: 14px; }
.at-hilite { animation: atHilite 2.2s ease-out 1; border-radius: 8px; }
@keyframes atHilite { 0%, 35% { background: #fff4c7; box-shadow: 0 0 0 6px #fff4c7; } 100% { background: transparent; box-shadow: 0 0 0 6px transparent; } }
.form-grid > h2.wi-sec small { font-weight: 500; font-size: 13px; }
.dm-tab .dm-fmt { padding-bottom: 14px; margin-bottom: 16px; }
.dm-tab .dm-fmt > small { display: block; margin-top: 8px; }
.dm-tab .dm-fmt .dm-h { margin-bottom: 10px; }
.dm-fmts.dm-fmts3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sw-line .lock-time.lock-lead { gap: 4px 6px; }
.sw-line .lock-lead b, .sw-line .lock-lead .ll-after { white-space: nowrap; font-size: 13.5px; }
.sw-line .lock-lead .ll-after { color: var(--ink); font-weight: 400; font-size: 13.5px; }
.sw-line .lock-lead input[type=number] { width: 58px; padding: 4px 8px; font-size: 13.5px; }
.dm-pts-note { margin: 10px 0 0; }
.dm.dm-flat { border: 0; padding: 0; background: none; margin: 0; }
.dm.dm-flat .dm-tb { font-size: 13px; }
.dm-deduct { margin: 10px 0 0; }
@media (max-width: 900px) { .dm-fmts.dm-fmts3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .ek-guide.ek3 { grid-template-columns: 1fr; gap: 8px; }
  .ek-guide.ek3 .ek-card .ek-eg { display: none; }
}
@media (min-width: 901px) { .dm-tab .dm-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); gap: 0 28px; } }
/* the head table's wrestler form: the USA Bracketing fields */
.form-grid > h3.wr-usab-h { margin: 8px 0 -6px; font-size: 14px; padding-top: 10px; border-top: 1px solid var(--line2, #eef0f3); }
.form-grid > h3.wr-usab-h small { display: block; font-weight: 400; font-size: 12px; margin-top: 2px; }
/* the kind cards in New event… and Try a demo: a little tighter, so the window fits a laptop screen */
.modal .ek-guide.ek3 .ek-card { grid-template-columns: 36px minmax(0, 1fr) 18px; gap: 10px; padding: 10px 12px; }
.modal .ek-guide.ek3 .ek-ic { width: 36px; height: 36px; }
.modal .ek-guide.ek3 .ek-ic svg.ic { width: 20px; height: 20px; }
.modal .ek-guide.ek3 .ek-card b { font-size: 15px; }
.modal .ek-guide.ek3 .ek-card .ek-d { font-size: 12.5px; line-height: 1.35; }
.modal .ek-guide.ek3 .ek-card .ek-eg { display: none; }
.modal .ek-guide.ek3 .ek-rad { width: 18px; height: 18px; }
.modal .ek-guide.ek3 .ek-card.on .ek-rad { border-width: 5px; }
