.tcl-native-ladder .tcl-ladder-row:has(.tcl-challenge-details[open]) { flex-wrap: wrap; }
.tcl-challenge-details { margin-left: auto; font-size: 13px; }
.tcl-challenge-details summary, .tcl-match-open-link { padding: 9px 14px; background: #d2f33d; color: #173d2d; border-radius: 20px; cursor: pointer; font-weight: 700; }
.tcl-challenge-details[open] { flex-basis: 100%; }
.tcl-challenge-details[open] summary { display: inline-block; margin: 8px 0; }
.tcl-match-action { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin: 12px 0; }
.tcl-match-action label { display: grid; gap: 6px; font-size: 13px; min-width: 130px; flex: 1; }
.tcl-match-action textarea, .tcl-match-action input { box-sizing: border-box; background: #fff; color: #193b2c; border: 1px solid #cbd3c5; border-radius: 8px; padding: 10px; max-width: 100%; width: 100%; }
.tcl-match-action button, .tcl-live-score button { background: #214d3b; color: #edffb1; border: 0; padding: 11px 15px; border-radius: 8px; font: inherit; cursor: pointer; }
.tcl-match-action button.is-secondary { background: #e8eddc; color: #214d3b; }
.tcl-match-action button:focus-visible, .tcl-live-score button:focus-visible, .tcl-challenge-details summary:focus-visible { outline: 3px solid #8a6329; outline-offset: 3px; }
.tcl-live-score button:disabled { opacity: .5; cursor: not-allowed; }
.tcl-ladder-matches { background: #fdfcf7; color: #203e31; border: 1px solid #d3dacb; border-radius: 18px; padding: clamp(16px, 3vw, 28px); margin: 24px 0; }
.tcl-ladder-matches h2 { margin: 5px 0 18px; }
.tcl-match-kicker { font-size: 11px; letter-spacing: .12em; font-weight: 700; color: #657753; }
.tcl-match-card { border: 1px solid #d4ddce; border-radius: 14px; padding: 20px; margin: 16px 0; }
.tcl-match-card.is-selected { outline: 2px solid #567c32; }
.tcl-match-card header { display: flex; flex-wrap: wrap; gap: 12px; align-items: start; justify-content: space-between; }
.tcl-match-card h3 { margin: 8px 0; font-size: 21px; }
.tcl-match-card header p, .tcl-match-card time { font-size: 13px; }
.tcl-match-state { display: inline-block; background: #edf2e0; border-radius: 20px; padding: 5px 10px; font-size: 12px; font-weight: 700; }
.tcl-match-score-entry { width: 100%; margin: 8px 0; }
.tcl-match-score-entry > div, .tcl-match-score-entry > label { display: grid; grid-template-columns: minmax(90px, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: center; margin: 8px 0; }
.tcl-match-score-entry strong { overflow-wrap: anywhere; font-size: 13px; }
.tcl-match-score-entry p { font-size: 13px; line-height: 1.6; }
.tcl-match-waiting, .tcl-match-result, .tcl-match-notice { background: #eef3e3; border-radius: 10px; padding: 14px; line-height: 1.6; }
.tcl-live-score { background: #eef3e7; border-radius: 12px; padding: 16px; }
.tcl-live-score h4 { margin: 0; font-size: 18px; }
.tcl-live-score-row { display: grid; grid-template-columns: minmax(90px, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 8px; align-items: center; margin: 12px 0; }
.tcl-live-score-row button { padding: 12px 5px; min-height: 44px; font-size: 13px; }
.tcl-live-score > button { margin: 4px 6px 4px 0; }
.tcl-live-score details { font-size: 13px; line-height: 1.7; }
.tcl-ladder-notifications ul, .tcl-promotion-targets { list-style: none; padding: 0; }
.tcl-ladder-notifications li { padding: 14px; border-bottom: 1px solid #d4ddce; }
.tcl-ladder-notifications li.is-unread { border-left: 4px solid #587736; background: #f0f5e7; }
.tcl-ladder-notifications a, .tcl-ladder-notifications span { display: block; color: inherit; text-decoration: none; }
.tcl-ladder-notifications time { display: block; margin-top: 7px; font-size: 12px; }
.tcl-promotion-targets > li { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid #d4ddce; }
@media (max-width: 540px) {
  .tcl-match-card { padding: 12px; }
  .tcl-match-action { align-items: stretch; }
  .tcl-match-action > label { flex-basis: 100%; }
  .tcl-live-score { padding: 10px; }
  .tcl-live-score-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tcl-live-score-row strong { grid-column: 1 / -1; }
}
/* Web app City Ladders search and native WordPress standings. */
.tcl-city-layout, .tcl-native-ladder, .tcl-ladder-matches {
  --ld-forest: #203b2b;
  --ld-lime: #d0f333;
  --ld-sage: #e4ecd6;
  --ld-line: #ccd7bf;
  --ld-cream: #f5f5ec;
  color: var(--ld-forest);
  font-family: "DM Sans", system-ui, sans-serif;
  min-width: 0;
}
.tcl-city-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: start;
  gap: 1.6rem clamp(1.5rem, 5vw, 4rem);
  text-align: left;
}
.tcl-city-layout > * { min-width: 0; }
.tcl-city-layout:not(.tcl-city-layout-no-photo) { grid-template-rows: auto minmax(0, 1fr); }
.tcl-city-intro { grid-column: 1; }
.tcl-city-layout .tcl-city-kicker { color: #914c37; font-size: .85rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.tcl-city-intro :is(h1, h2) { margin: .55rem 0 .85rem; font-weight: 850; font-size: clamp(2.25rem, 5vw, 3.8rem); line-height: .97; letter-spacing: -.055em; }
.tcl-city-intro :is(h1, h2) + p { max-width: 34ch; color: #4e624e; }
.tcl-city-panel {
  grid-column: 2; grid-row: 1 / span 2;
  display: grid;
  gap: 1rem;
  padding: clamp(1.15rem, 3vw, 1.85rem);
  border: 1px solid var(--ld-line);
  border-radius: 1.65rem;
  background: #fffef9;
  box-shadow: 0 4px 12px #203b2b0c;
}
.tcl-city-form { display: grid; gap: 1rem; margin: 0; }
.tcl-city-form h3 { margin: 0; font-size: 1.5rem; color: var(--ld-forest); }
.tcl-city-photo { grid-column: 1; grid-row: 2; overflow: hidden; margin: 0; border-radius: 1.65rem; background: var(--ld-forest); }
.tcl-city-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 38%; }
.tcl-city-panel :focus-visible, .tcl-native-ladder a:focus-visible {
  outline: 3px solid #627d34; outline-offset: 2px;
}
.tcl-city-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.tcl-city-form label { display: block; font-size: .88rem; font-weight: 800; }
.tcl-city-form :is(input, select) {
  box-sizing: border-box; width: 100%; min-width: 0; min-height: 48px; padding: .5rem .75rem;
  border: 1px solid #bac9ab; border-radius: 12px; background: #fcfbf3; color: var(--ld-forest); font: inherit;
}
.tcl-city-form select { margin-top: .3rem; }
.tcl-city-form button { min-height: 48px; padding: .5rem 1rem; border: 0; border-radius: 999px; background: var(--ld-forest); color: #fff; font: inherit; font-size: .88rem; font-weight: 800; cursor: pointer; }
.tcl-city-form button:hover { background: #335642; }
.tcl-city-form button:disabled { opacity: .65; cursor: wait; }
.tcl-city-form .tcl-city-locate { background: var(--ld-lime); color: var(--ld-forest); }
.tcl-city-form .tcl-city-locate:hover { background: #c5e533; }
.tcl-city-location p { max-width: 42ch; color: #4e624e; font-size: .8rem; margin-top: .45rem; }
.tcl-city-location p:empty { display: none; }
.tcl-city-manual, .tcl-city-status { border-top: 1px solid var(--ld-line); padding-top: .85rem; }
.tcl-city-manual > div { margin-top: .35rem; display: grid; gap: .5rem; grid-template-columns: minmax(0, 1fr) auto; }
.tcl-city-panel .tcl-city-status, .tcl-city-directory-link { font-size: .88rem; font-weight: 800; }
.tcl-city-results { display: grid; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.tcl-city-results a { display: flex; justify-content: space-between; gap: .5rem; align-items: center; min-height: 44px; padding: .35rem .65rem; border: 1px solid var(--ld-line); border-radius: 12px; background: #f2f5eb; font-weight: 800; }
.tcl-city-results a:hover, .tcl-city-results a[aria-current] { background: #e4ecd6; }
.tcl-city-standings { min-width: 0; padding-top: 1rem; border-top: 1px solid var(--ld-line); scroll-margin-top: calc(var(--tcl-header-height, 90px) + 1rem); }
.tcl-team-sponsor {
  max-width: 400px; margin: 0 auto .85rem; border: 1px solid var(--ld-line);
  border-radius: 16px; background: #eef2e4;
}
.tcl-team-sponsor a { display: block; border-radius: inherit; color: var(--ld-forest); text-decoration: none; }
.tcl-team-sponsor a:hover { background: #e4ecd6; }
.tcl-team-sponsor a > img {
  display: block; width: 100%; height: auto; max-height: 130px; aspect-ratio: 4 / 1;
  object-fit: contain; border-radius: 15px 15px 0 0; background: #e4ecd6;
}
.tcl-team-sponsor-copy { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .7rem 1rem; }
.tcl-team-sponsor-copy strong { display: block; font-size: .95rem; line-height: 1.3; overflow-wrap: anywhere; }
.tcl-team-sponsor-label { display: block; margin-bottom: .2rem; color: #52634b; font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tcl-city-other-ladders summary { cursor: pointer; font-size: .88rem; font-weight: 800; }
.tcl-city-other-ladders[open] summary { margin-bottom: .65rem; }
.tcl-ladder-empty h2 { margin: .3rem 0; font-size: clamp(1.35rem, 3vw, 1.9rem); line-height: 1.1; }
.tcl-ladder-empty p { margin: .4rem 0 0; color: #4e624e; }
.tcl-ladder-empty { margin: 0; padding: clamp(1.2rem, 4vw, 2.3rem); border-radius: 16px; background: #e4ecd6; color: #203b2b; }
.tcl-native-ladder { max-width: 400px; margin-inline: auto; background: var(--ld-cream); border: 1px solid var(--ld-line); border-radius: 20px; overflow: hidden; box-shadow: 0 8px 24px #203b2b0d; container-type: inline-size; }
.tcl-ladder-ad-slot { padding: 12px 12px 0; background: #203b2b; }
.tcl-ladder-ad-slot:empty { display: none; }
.tcl-ladder-ad-slot .tcl-team-sponsor { width: auto; max-width: none; margin: 0; }
.tcl-studio-public-banner { isolation: isolate; position: relative; min-height: 9rem; overflow: hidden; border: 1px solid #ffffff30; border-radius: 12px; color: #fff; display: flex; align-items: center; }
.tcl-studio-public-photo { position: absolute; z-index: -1; inset: 0 0 0 auto; width: 42%; height: 100%; object-fit: cover; mask-image: linear-gradient(to right, transparent, black 33%); }
.tcl-studio-public-copy { width: 72%; display: grid; align-content: center; justify-items: start; gap: .12rem; padding: .6rem .85rem; overflow-wrap: anywhere; }
.tcl-studio-public-copy > span, .tcl-studio-public-copy b { font-size: .68rem; color: #d0ed50; text-transform: uppercase; letter-spacing: .08em; }
.tcl-studio-public-copy b { color: #fff; }
.tcl-studio-public-copy b img { display: inline-block; width: 20px; height: 20px; object-fit: contain; margin-right: .35rem; vertical-align: middle; }
.tcl-studio-public-copy strong { font-size: clamp(1rem, 3.5vw, 1.2rem); line-height: 1.15; }
.tcl-native-ladder .tcl-studio-public-copy p { margin: 0; color: #ffffffe0; font-size: .75rem; line-height: 1.25; }
.tcl-native-ladder .tcl-studio-public-copy a { color: #d0ed50; font-weight: 700; font-size: .75rem; }
/* Board dimensions, artwork, and colors follow the original challenge-tennis theme. */
.tcl-ladder-board-head {
  position: relative; isolation: isolate; display: grid;
  grid-template-columns: minmax(0, 1fr) 84px; gap: 20px 12px; align-items: center; padding: 20px;
  background: linear-gradient(105deg, #163b2bea, #315d3e99), #294f37 url("ladder-assets/court.webp") center 45% / cover no-repeat;
  color: #fff9ee;
}
.tcl-ladder-board-head::after { content: ""; position: absolute; inset: 0; background: #102d21a6; z-index: -1; pointer-events: none; }
.tcl-native-ladder .tcl-ladder-team-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tcl-ladder-board-head:has(.tcl-ladder-team-art) { background: #203b2b; }
.tcl-ladder-category { grid-column: 1; display: flex; flex-wrap: wrap; gap: 5px 12px; align-items: center; }
.tcl-ladder-chip {
  display: inline-flex; padding: 7px 12px; border-radius: 99px; background: var(--ld-lime);
  color: var(--ld-forest); font-size: 12px; font-weight: 700; letter-spacing: .04em; line-height: 20px; white-space: nowrap;
}
.tcl-ladder-division { display: inline-flex; align-items: center; gap: 4px; color: #e0e5da; font-size: 11px; font-weight: 600; }
.tcl-ladder-division img { width: 22px; height: 22px; object-fit: contain; }
.tcl-ladder-title { grid-column: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.tcl-ladder-title img { flex: none; width: 26px; height: 32px; object-fit: contain; opacity: .84; }
.tcl-native-ladder .tcl-ladder-title h2 { margin: 0 0 3px; color: #fff9ee; font: 800 23px/1.08 "DM Sans", system-ui, sans-serif; letter-spacing: -.025em; overflow-wrap: anywhere; }
.tcl-native-ladder .tcl-ladder-title p { margin: 0; color: #d4dfcd; font-size: 11px; font-weight: 500; line-height: 1.4; }
.tcl-ladder-stat { grid-column: 2; grid-row: 1 / 3; align-self: stretch; display: grid; align-content: center; justify-items: center; text-align: center; padding: 10px 5px; border: 1px solid #ffffff24; border-radius: 14px; background: #ffffff12; }
.tcl-ladder-stat span { max-width: 7ch; margin-bottom: 4px; color: #e0e5da; font-size: 9px; font-weight: 700; letter-spacing: .06em; line-height: 1.4; text-transform: uppercase; }
.tcl-ladder-stat strong { color: var(--ld-lime); font-size: 30px; line-height: 1.1; }
.tcl-ladder-columns { display: grid; grid-template-columns: 72px 1fr; padding: 12px 18px; background: #e4ebd8; color: #52634b; font-size: 10px; font-weight: 700; letter-spacing: .1em; line-height: 16px; text-transform: uppercase; }
.tcl-native-ladder .tcl-ladder-rows { display: grid; gap: 10px; margin: 0; padding: 12px; list-style: none; }
.tcl-ladder-row {
  --ld-podium: #dce6c7;
  --ld-rank-fill: #203b2b;
  --ld-rank-text: #f5f5ec;
  display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  min-height: 80px; padding: 12px 10px 12px 12px; border: 1px solid #cad8b8; border-inline-start: 4px solid #a1b098;
  border-radius: 12px; background: var(--ld-sage);
}
.tcl-ladder-row:nth-child(even) { background: #dbe7cb; }
.tcl-native-ladder .tcl-ladder-row-open { background: #f7f9ef; border: 1px dashed #9eaf8e; color: #56674c; }
.tcl-ladder-visually-hidden { position: absolute; overflow: hidden; clip-path: inset(50%); width: 1px; height: 1px; white-space: nowrap; }
.tcl-ladder-fuzzy-name { display: flex; gap: .55rem; width: min(100%, 8rem); align-items: center; }
.tcl-ladder-fuzzy-name::before, .tcl-ladder-fuzzy-name::after { content: ""; height: .55em; border-radius: 1em; filter: blur(2.5px); background: #879882; }
.tcl-ladder-fuzzy-name::before { width: 52%; }
.tcl-ladder-fuzzy-name::after { width: 30%; opacity: .8; }
.tcl-ladder-row-open:nth-child(odd) .tcl-ladder-fuzzy-name::before { width: 38%; }
.tcl-ladder-row-open:nth-child(odd) .tcl-ladder-fuzzy-name::after { width: 42%; }
.tcl-ladder-row[data-current-player] { border-inline-start-color: #789345; background: #d5e7b0; }
.tcl-ladder-row:is([data-rank="1"], .tcl-ladder-row-preview) { --ld-podium: #d4aa32; --ld-rank-fill: #d4aa32; --ld-rank-text: #203b2b; border-inline-start-color: #d4aa32; }
/* Use the displayed rung number so empty and occupied rungs share podium colors. */
.tcl-ladder-row[value="2"] { --ld-podium: #949fa9; --ld-rank-fill: #c5ccd2; --ld-rank-text: #203b2b; }
.tcl-ladder-row[value="3"] { --ld-podium: #9e6336; --ld-rank-fill: #bf8756; --ld-rank-text: #24150e; }
.tcl-ladder-row[data-rank="2"], .tcl-ladder-row[data-rank="3"] { border-inline-start-color: var(--ld-podium); }
.tcl-ladder-identity { position: relative; display: block; width: 40px; }
.tcl-ladder-crown { position: absolute; inset-block-start: -9px; inset-inline-start: 13px; width: 16px; height: 13px; }
.tcl-ladder-rank {
  position: absolute; inset-block-start: 25px; inset-inline-start: -7px;
  display: grid; place-items: center; min-width: 22px; height: 22px; padding-inline: 2px;
  border: 2px solid var(--ld-cream); border-radius: 99px; background: var(--ld-rank-fill);
  color: var(--ld-rank-text); font-size: 11px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums;
}
.tcl-ladder-monogram {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ld-cream); color: var(--ld-forest); border: 2px solid var(--ld-podium); font-weight: 700; font-size: 14px;
}
.tcl-ladder-row-name { font-size: 13px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.tcl-ladder-row-name small { display: block; margin-top: 4px; color: #52634b; font-size: 11px; font-weight: 600; }
.tcl-ladder-row a, .tcl-ladder-pagination a, .tcl-ladder-directory-link a { color: #203b2b; font-size: .85rem; font-weight: 800; }
.tcl-ladder-row .tcl-ladder-join {
  display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 8px 14px;
  border-radius: 99px; background: var(--ld-lime); color: var(--ld-forest);
  font-size: 13px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none;
}
.tcl-ladder-row .tcl-ladder-join:hover { background: #e1ff62; color: var(--ld-forest); }
.tcl-native-ladder .tcl-ladder-preview-note { margin: 0 12px 12px; padding: 12px; background: #e4ebd8; border-radius: 10px; color: #52634b; font-size: 12px; line-height: 1.5; }
.tcl-native-ladder > .tcl-ladder-empty { margin: .9rem; }
.tcl-ladder-pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .85rem; padding: .75rem; font-size: .8rem; }
.tcl-ladder-resources { display: flex; flex-wrap: wrap; gap: 10px; padding: 12px; border-top: 1px solid #dce3d2; }
.tcl-ladder-resources a { display: flex; flex: 1 1 116px; align-items: center; gap: 8px; min-height: 62px; padding: 8px; border-radius: 12px; background: var(--ld-forest); color: var(--ld-cream); text-decoration: none; }
.tcl-ladder-resources a:hover { background: #335642; color: var(--ld-cream); }
.tcl-ladder-resources img { flex: none; object-fit: contain; }
.tcl-ladder-resources strong, .tcl-ladder-resources small { display: block; }
.tcl-ladder-resources strong { font-size: 12px; }
.tcl-ladder-resources small { font-size: 10px; color: #c8d4c2; }
.tcl-ladder-resource-arrow { margin-inline-start: auto; color: var(--ld-lime); font-size: 26px; line-height: 1; }
.tcl-native-ladder .tcl-ladder-rows { background: #f5f5ec; }
.tcl-native-ladder .tcl-ladder-row:not(.tcl-ladder-row-open) { background: var(--ld-sage); border-color: #cad8b8; border-inline-start-color: var(--ld-podium); border-radius: 12px; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 7px; padding: 12px 7px; }
.tcl-native-ladder .tcl-ladder-row:nth-child(even):not(.tcl-ladder-row-open) { background: #dbe7cb; }
.tcl-native-ladder .tcl-ladder-row[data-current-player] { background: #d6e8af !important; }
.tcl-native-ladder .tcl-ladder-row:not(.tcl-ladder-row-open) .tcl-ladder-row-name { color: #203b2b; }
.tcl-native-ladder .tcl-ladder-row-name small { color: #52634b; }
.tcl-ladder-tools { display: flex; align-items: center; gap: 4px; justify-content: end; }
.tcl-ladder-tools .tcl-ladder-image-tool { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 48px; min-width: 0; min-height: 0; padding: 0; border: 0; border-radius: 50%; box-shadow: none; background: transparent; cursor: pointer; line-height: 1; }
.tcl-ladder-tools .tcl-ladder-image-tool:hover { background: #ffffff24; }
.tcl-ladder-tools .tcl-ladder-image-tool:focus-visible { outline: 3px solid #dbff36; outline-offset: 2px; }
.tcl-ladder-tools .tcl-ladder-image-tool img { display: block; width: 44px; height: 44px; max-width: none; object-fit: contain; }
.tcl-ladder-small-tools { display: grid; gap: 2px; }
.tcl-ladder-tools .tcl-ladder-small-tools .tcl-ladder-image-tool { width: 26px; height: 26px; border-radius: 5px; }
.tcl-ladder-tools .tcl-ladder-small-tools img { width: 26px; height: 26px; }
.tcl-ladder-popup { box-sizing: border-box; width: min(540px, calc(100vw - 28px)); max-width: calc(100vw - 28px); max-height: calc(100dvh - 40px); overflow: auto; padding: 20px; border: 1px solid #7d9465; border-radius: 16px; background: #f8f8ed; color: #203b2b; box-shadow: 0 24px 90px #0007; font: 400 14px/1.5 system-ui, sans-serif; }
.tcl-ladder-popup::backdrop { background: #10291dde; }
.tcl-ladder-popup > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #ced8bf; padding-bottom: 10px; margin-bottom: 16px; }
/* Dialogs move under body: outrank the theme's large landing-page headings,
   regardless of stylesheet order, without changing headings outside popups. */
dialog.tcl-ladder-popup h2 { margin: 0; color: #203b2b; font: 700 22px/1.25 system-ui, sans-serif; letter-spacing: -.02em; text-transform: none; overflow-wrap: anywhere; }
dialog.tcl-ladder-popup h3 { margin: 8px 0; font: 700 18px/1.35 system-ui, sans-serif; letter-spacing: -.01em; text-transform: none; overflow-wrap: anywhere; }
dialog.tcl-ladder-popup h4 { font: 700 16px/1.4 system-ui, sans-serif; letter-spacing: normal; text-transform: none; }
dialog.tcl-ladder-popup :is(p, label, input, textarea, select) { font-size: 14px; line-height: 1.5; }
dialog.tcl-ladder-popup .tcl-match-card :is(header p, time) { font-size: 12px; line-height: 1.5; }
.tcl-ladder-popup [data-tcl-dialog-close] { flex: none; width: 40px; height: 40px; padding: 0; border: 1px solid #cad5ba; border-radius: 50%; background: #e5edda; color: #203b2b; font-size: 25px; cursor: pointer; }
.tcl-ladder-popup form { display: grid; gap: 12px; }
.tcl-ladder-popup label { display: grid; gap: 5px; font-weight: 600; }
.tcl-ladder-popup input, .tcl-ladder-popup textarea { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; padding: 10px; border: 1px solid #a1b18c; border-radius: 6px; background: #fff; color: #203b2b; font: inherit; }
.tcl-ladder-popup input[type="hidden"] { display: none; }
.tcl-ladder-popup button[type="submit"], .tcl-ladder-call-link { display: inline-block; padding: 12px 16px; border: 0; border-radius: 8px; background: #284c36; color: #f3ffbc; font: 700 14px/1.2 system-ui, sans-serif; cursor: pointer; }
.tcl-ladder-popup .tcl-match-card { margin: 0; }
.tcl-ladder-popup .tcl-match-score-entry input { width: 100%; }
.tcl-native-ladder .tcl-ladder-tier-label { margin: 0; padding: 11px 16px; background: #e4ebd8; color: #39573d; font: 700 13px/1.4 system-ui, sans-serif; letter-spacing: .05em; }
.tcl-native-ladder .tcl-ladder-next-level { margin: 0; padding: 0; }
.tcl-native-ladder .tcl-ladder-next-level .tcl-ladder-rows { margin: 0; }
@media (max-width: 370px) {
  .tcl-ladder-tools { gap: 2px; }
  .tcl-ladder-tools .tcl-ladder-image-tool, .tcl-ladder-tools .tcl-ladder-image-tool img { width: 37px; height: 40px; }
  .tcl-native-ladder .tcl-ladder-row-name { font-size: 12px; }
}
.tcl-ladder-matches { margin-top: 1rem; }
.tcl-ladder-matches ul { display: grid; gap: .45rem; list-style: none; padding: 0; }
.tcl-ladder-matches li { display: flex; flex-wrap: wrap; gap: .6rem; align-items: baseline; padding: .65rem; border: 1px solid var(--ld-line); border-radius: 10px; }
.tcl-ladder-matches time { font-size: .83rem; }
@media (max-width: 760px) {
  .tcl-city-layout { grid-template-columns: minmax(0, 1fr); }
  .tcl-city-layout:not(.tcl-city-layout-no-photo) { grid-template-rows: none; }
  .tcl-city-panel, .tcl-city-photo { grid-column: 1; grid-row: auto; }
}
@media (max-width: 470px) {
  .tcl-city-manual > div { grid-template-columns: minmax(0, 1fr); }
}
@container (max-width: 350px) {
  .tcl-ladder-board-head { padding: 16px; grid-template-columns: minmax(0, 1fr) 70px; gap: 14px 9px; }
  .tcl-native-ladder .tcl-ladder-title h2 { font-size: 20px; }
  .tcl-ladder-columns { grid-template-columns: 61px 1fr; padding-inline: 14px; }
  .tcl-native-ladder .tcl-ladder-rows { padding: 8px; }
  .tcl-ladder-row { grid-template-columns: 43px minmax(0, 1fr) auto; gap: 6px; padding: 10px 6px 10px 9px; }
  .tcl-ladder-row .tcl-ladder-join { padding-inline: 9px; }
  .tcl-native-ladder .tcl-ladder-preview-note { margin-inline: 8px; }
}
