
.fm-surface {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: normal;
  color: #17342c;
  background: #f3f6f3;
  --green: #176448;
  --line: #cbdad2;
  --ink: #17342c;
}
.fm-board-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
#fm-draw-options { position: relative; font-size: 13px; }
#fm-draw-options summary { cursor: pointer; padding: 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
#fm-draw-options > div { position: absolute; right: 0; z-index: 20; min-width: 150px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 4px 14px #17342c22; }
#fm-seed-display-dialog { width: min(440px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); overflow: auto; }
#fm-seed-display-custom { margin-top: 12px; }
@media print { #fm-draw-options { display: none; } }
:where(.fm-surface) * {
  box-sizing: border-box;
}
.fm-surface {
  margin: 0;
}
ct-interpro-bracket.interpro-board-host { display: block; max-width: 100%; }
.interpro-board-host .interpro-bracket-scroll { max-width: 100%; margin-bottom: 20px; }
.interpro-board-host .fm-match-schedule.is-preview { color: #b45309; }
.interpro-board-host .fm-match-schedule.is-published { color: #176448; }
.fm-public-panel[hidden] { display: none; }
.fm-placement-source { display: inline-block; margin-left: 4px; padding: 1px 5px; border-radius: 4px; font-size: 10px; line-height: 1.4; font-weight: 600; white-space: normal; background: #e7edf3; color: #3b5066; }
.fm-placement-source-ctr { background: #e1f4e8; color: #176448; }
.fm-placement-source-ctr_unavailable { background: #fff0d7; color: #795310; }
:where(.fm-surface) button.fm-slot.fm-sourced-slot { display: flex; align-items: center; }
.fm-sourced-slot .fm-player-name-text { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.fm-sourced-slot .fm-placement-source { flex: 0 0 auto; margin-left: auto; font-size: 9px; }
#fm-rankings-dialog { width: min(760px, calc(100vw - 24px)); max-width: calc(100vw - 24px); max-height: calc(100dvh - 32px); overflow: auto; }
.fm-rankings-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
.fm-rankings-table caption { text-align: left; font-weight: 700; padding: 12px 0; }
.fm-rankings-table th, .fm-rankings-table td { text-align: left; vertical-align: top; padding: 9px 6px; border-bottom: 1px solid #cbdad2; overflow-wrap: anywhere; }
.fm-rankings-table th:first-child { width: 48px; }
.fm-rankings-table th:last-child { width: 40%; }
.fm-public-timetable { margin: 20px 24px; padding: 24px 32px; overflow-x: auto; border: 1px solid #dbe5ec; border-radius: 14px; background: #fff; }
.fm-public-timetable-help { margin: -4px 0 18px; color: #617269; font-size: 14px; }
.fm-public-timetable table { width: 100%; border-collapse: collapse; font-size: 14px; }
.fm-public-timetable th, .fm-public-timetable td { padding: 10px; border-bottom: 1px solid #cbdad2; text-align: left; }
.fm-public-timetable th { color: #526579; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.fm-public-timetable td:nth-child(4) { color: #0d675e; font-size: 16px; font-weight: 800; white-space: nowrap; }
.fm-public-schedule-pending { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-left: 4px solid #d79000; border-radius: 8px; background: #fff7df; color: #704b00; }
:where(.fm-surface) button,
:where(.fm-surface) input,
:where(.fm-surface) select {
  font: inherit;
}
:where(.fm-surface) button,
:where(.fm-surface) a {
  touch-action: manipulation;
}
:where(.fm-surface) button {
  cursor: pointer;
  border: 1px solid #b7cbc0;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 9px 13px;
  font-weight: 600;
}
:where(.fm-surface) button:hover {
  background: #edf5ee;
}
:where(.fm-surface) button:disabled {
  opacity: 0.45;
  cursor: default;
}
:where(.fm-surface) button:focus-visible,
:where(.fm-surface) a:focus-visible,
:where(.fm-surface) input:focus-visible,
:where(.fm-surface) select:focus-visible {
  outline: 3px solid #d69d31;
  outline-offset: 2px;
}
:where(.fm-surface) a {
  color: var(--green);
  font-weight: 600;
}
:where(.fm-surface) .fm-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
:where(.fm-surface) .fm-primary:hover {
  background: #104e36;
}
:where(.fm-surface) .fm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.fm-public-shell { padding: 20px 24px 0; }
.fm-public-shell .ct-public-draw-header { margin-bottom: 12px; }
.fm-public-shell .ct-public-draw-nav { margin-bottom: 0; }
.fm-public-shell .ct-public-draw-nav button { flex: 1 0 auto; border: 0; border-radius: .5rem; padding: .5rem 1rem; background: transparent; color: #526579; }
.fm-public-shell .ct-public-draw-nav button.active { background: #fff; color: #172e45; box-shadow: 0 1px 4px rgba(23,46,69,.1); }
:where(.fm-surface) .fm-eyebrow {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 2px;
  color: #61816d;
}
:where(.fm-surface) h1 {
  font-size: 24px;
  margin: 7px 0 0;
  letter-spacing: -0.5px;
}
:where(.fm-surface) h2 {
  font-size: 16px;
  margin: 0 0 12px;
}
:where(.fm-surface) nav {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
:where(.fm-surface) main {
  padding: 24px 32px;
}
:where(.fm-surface) .fm-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
:where(.fm-surface) .fm-intro strong {
  font-size: 20px;
}
:where(.fm-surface) .fm-intro p {
  color: #617269;
  font-size: 14px;
  margin: 8px 0;
}
:where(.fm-surface) .fm-badge {
  background: #e2eee6;
  border: 1px solid #bed6c5;
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 12px;
  white-space: nowrap;
}
:where(.fm-surface) .fm-rule {
  padding: 12px 16px;
  background: #fff8e7;
  border-left: 3px solid #c5922b;
  font-size: 13px;
  border-radius: 4px;
}
:where(.fm-surface) .fm-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0;
}
:where(.fm-surface) .fm-toolbar label {
  font-size: 13px;
}
:where(.fm-surface) .fm-spacer {
  flex: 1;
}
:where(.fm-surface) select,
:where(.fm-surface) input {
  border: 1px solid #bdcfc3;
  border-radius: 7px;
  background: white;
  padding: 9px;
  color: var(--ink);
}
:where(.fm-surface) .fm-workspace {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 20px;
}
:where(.fm-surface) aside,
:where(.fm-surface) .fm-board-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 0;
}
:where(.fm-surface) aside {
  padding: 18px;
  align-self: start;
  position: sticky;
  top: 12px;
}
:where(.fm-surface) aside input {
  width: 100%;
}
:where(.fm-surface) label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
}
:where(.fm-surface) .fm-help {
  font-size: 12px;
  color: #647c6c;
  line-height: 1.5;
}
:where(.fm-surface) .fm-player {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  margin: 7px 0;
  padding: 11px 9px;
  gap: 8px;
  font-size: 13px;
}
:where(.fm-surface) .fm-player small {
  font-size: 10px;
  color: #62816d;
}
:where(.fm-surface) .fm-player.assigned {
  background: #dff2e6;
  border-color: #6cad84;
  color: #135438;
}
:where(.fm-surface) .fm-player.assigned small {
  color: #135438;
  font-weight: 700;
}
:where(.fm-surface) .fm-player[draggable="true"],
:where(.fm-surface) .fm-slot[draggable="true"] {
  cursor: grab;
}
:where(.fm-surface) #fm-sidebar.drop-target {
  background: #edf5ee;
  outline: 3px solid var(--green);
  outline-offset: 2px;
}
:where(.fm-surface) .fm-player.selected {
  outline: 2px solid var(--green);
}
:where(.fm-surface) #fm-players {
  max-height: 60vh;
  overflow-y: auto;
}
:where(.fm-surface) #fm-count {
  font-size: 12px;
  font-weight: 400;
  color: #607968;
}
:where(.fm-surface) .fm-board-heading {
  padding: 17px 20px;
  border-bottom: 1px solid #e4ece6;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}
:where(.fm-surface) .fm-board-heading h2 {
  margin: 0;
}
:where(.fm-surface) .fm-board-heading span {
  font-size: 12px;
  color: #738579;
}
:where(.fm-surface) :is(#fm-scroll, .fm-scroll) {
  overflow-x: auto;
  padding: 16px;
  overscroll-behavior-x: contain;
}
:where(.fm-surface) :is(#fm-board, .fm-board) {
  position: relative;
  min-height: 240px;
  font-family: 'Noto Sans JP', Arial, sans-serif;
  color: #111;
}
:where(.fm-surface) .fm-round-title {
  position: absolute;
  top: 0;
  font-size: 12px;
  font-weight: 750;
  color: #607968;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}
:where(.fm-surface) .fm-match {
  position: absolute;
  width: 220px;
  z-index: 1;
  pointer-events: none;
}
:where(.fm-surface) .fm-match-head {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  font-size: 10px;
  color: #64748b;
  background: #fff;
  padding: 2px 0;
}
:where(.fm-surface) .fm-match-schedule {
  position: absolute;
  top: calc(50% - 5px);
  left: 6px;
  right: 6px;
  z-index: 3;
  max-width: calc(100% - 12px);
  height: 10px;
  overflow: hidden;
  color: #176448;
  background: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 10px;
  pointer-events: auto;
  text-align: right;
  white-space: nowrap;
}
:where(.fm-surface) .fm-match-has-schedule .fm-match-head {
  top: calc(50% - 15px);
  transform: none;
  padding: 0;
  height: 10px;
  line-height: 10px;
}
:where(.fm-surface) .fm-schedule-line {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  height: 10px;
  line-height: 10px;
}
:where(.fm-surface) .fm-schedule-when,
:where(.fm-surface) .fm-schedule-venue {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 10px;
}
:where(.fm-surface) .fm-schedule-when {
  flex: 0 0 auto;
}
:where(.fm-surface) .fm-player-name-text {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 12px;
}
:where(.fm-surface) .fm-player-name-text:has(.plus-player-name-hint) {position:relative;padding-right:29px;}
:where(.fm-surface) .fm-player-name-text .plus-player-name-hint {position:absolute;right:0;top:50%;transform:translateY(-50%);margin:0;}
:where(.fm-surface) .fm-player-ll {
  flex: 0 0 auto;
  white-space: pre;
}
:where(.fm-surface) .fm-slot {
  position: absolute;
  left: 0;
  border: 0;
  border-radius: 0;
  width: 100%;
  padding: 5px 6px;
  height: 32px;
  min-height: 32px;
  font-size: 13px;
  text-align: left;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  background: #fff;
  pointer-events: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
:where(.fm-surface) button.fm-slot {
  display: block;
}
:where(.fm-surface) button.fm-slot.fm-seeded-slot {
  display: flex;
  justify-content: flex-start;
}
:where(.fm-surface) .fm-player-seed {
  flex: 0 0 auto;
  white-space: pre;
}
:where(.fm-surface) .fm-player-identity > .fm-player-seed {order:2;}
:where(.fm-surface) .fm-slot:disabled {
  opacity: 1;
}
:where(.fm-surface) .fm-slot-name {
  min-width: 0;
  white-space: normal;
}
:where(.fm-surface) .fm-player-score { flex: 0 0 auto; white-space: nowrap; font-variant-numeric: tabular-nums; }
:where(.fm-surface) .fm-player-identity {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  min-height: 30px;
  padding: 1px 5px;
  border: 1px solid #b9d8ee;
  border-radius: 6px;
  color: #155d91;
  background: #eaf5fc;
  font-weight: 750;
  line-height: 1.35;
  max-height: 30px;
  gap: 3px;
}
:where(.fm-surface) .fm-player-link {
  min-width: 0;
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
  white-space: normal;
}
:where(.fm-surface) .fm-player-link:hover { text-decoration: underline; }
:where(.fm-surface) .fm-player-identity [data-rating-registration] {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 3px;
}
:where(.fm-surface) .fm-ctr-cue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
}
:where(.fm-surface) .fm-ctr-cue [data-ctr-badge] { --ctr-draw-ink:#095c60;width:26px!important;height:26px!important;margin:0!important;padding:2px!important;gap:0!important;background:var(--ctr-draw-ink)!important;-webkit-print-color-adjust:exact;print-color-adjust:exact; }
:where(.fm-surface) .fm-ctr-cue [data-ctr-stage="red"] { --ctr-draw-ink:#c91822; }
:where(.fm-surface) .fm-ctr-cue [data-ctr-stage="orange"] { --ctr-draw-ink:#b94a00; }
:where(.fm-surface) .fm-ctr-cue [data-ctr-badge]>svg { color:#fff!important; }
:where(.fm-surface) .fm-ctr-cue [data-ctr-badge]>span { color:#fff!important; }
:where(.fm-surface) .fm-ctr-cue [data-ctr-badge]>svg circle:first-child { stroke-width:4;stroke-dasharray:none; }
:where(.fm-surface) .fm-ctr-cue [data-ctr-badge]>svg circle:not(:first-child) { display:none; }
:where(.fm-surface) .fm-ctr-cue [data-ctr-badge]>span:nth-of-type(1) {font-size:5px!important;font-weight:700;letter-spacing:.04em!important;}
:where(.fm-surface) .fm-ctr-cue [data-ctr-badge]>span:nth-of-type(2) {font:800 12px/1 Arial,sans-serif!important;letter-spacing:0!important;}
:where(.fm-surface) .fm-ctr-cue [data-ctr-badge]>span:nth-of-type(3) {display:none;}
:where(.fm-surface) .fm-ctr-qualification { position:absolute;top:0;right:0;padding:0 1px;border-radius:2px;background:#fff3d9;color:#754b0c;font:700 7px/1 Arial,sans-serif; }
:where(.fm-surface) .fm-player-identity-withdrawal {
  color: #b42318;
  border-color: #f1a7a1;
  background: #fff0ee;
}
:where(.fm-surface) .fm-withdrawal-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 6px;
  min-width: 22px;
  padding: 2px 5px;
  border: 1px solid #b02a37;
  border-radius: 999px;
  color: #fff;
  background: #dc3545;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .25px;
  line-height: 1.1;
  text-transform: uppercase;
}
:where(.fm-surface) .fm-late-withdrawal-notice {
  border-color: #e15b52;
  color: #9f2118;
  background: #fff0ee;
}
:where(.fm-surface) .fm-source-name {
  display: inline-flex;
  max-width: 100%;
  padding: 2px 6px;
  border-radius: 6px;
  color: #765e2a;
  background: #fff4d6;
  font-size: 11px;
  font-weight: 650;
}
:where(.fm-surface) .fm-source-name.fm-feeder-name {
  font-size: 9px;
  font-weight: 500;
  padding: 1px 4px;
}
:where(.fm-surface) .fm-slot strong {
  flex-shrink: 0;
  color: #176448;
}
:where(.fm-surface) .fm-slot.empty {
  color: #64748b;
  font-size: 11px;
  font-weight: 400;
}
:where(.fm-surface) .fm-slot.direct {
  font-weight: 700;
}
:where(.fm-surface) .fm-slot.bye {
  color: #64748b;
  font-weight: 400;
  font-style: italic;
}
:where(.fm-surface) .fm-slot.drop-target {
  background: #d2ebd7;
  outline: 2px solid var(--green);
  outline-offset: -2px;
}
:where(.fm-surface) .fm-slot.winner {
  font-weight: 750;
  color: #166534;
}
:where(.fm-surface) .fm-slot.winner .fm-player-identity,
:where(.fm-surface) .fm-player-identity-winner {
  color: #166534;
  border-color: #166534;
  background: #e4f3e7;
}
:where(.fm-surface) .fm-slot.loser .fm-player-identity { color: #b91c1c; border-color: #b91c1c; background: #fce8e8; }
:where(.fm-surface) .fm-winner-endpoint {
  position: absolute;
  z-index: 3;
  width: 220px;
  min-height: 44px;
  padding: 3px 6px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: auto;
}
:where(.fm-surface) .fm-winner-label {
  color: #607968;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.7px;
  line-height: 1;
  text-transform: uppercase;
}
:where(.fm-surface) .fm-winner-name {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 26px;
  color: #111;
  font-size: 13px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
:where(.fm-surface) .fm-score-button {
  position: absolute;
  top: 50%;
  left: 6px;
  transform: translateY(-50%);
  border: 0;
  padding: 4px 6px;
  font-size: 11px;
  color: var(--green);
  pointer-events: auto;
}
:where(.fm-surface) .fm-match-note {
  position: absolute;
  top: calc(100% + 3px);
  left: 6px;
  font-size: 10px;
  color: #64748b;
}
:where(.fm-surface) .fm-match-note-alert { color: #b42318; font-weight: 750; }
:where(.fm-surface) .fm-match-note-previous {
  max-width: calc(100% - 12px);
  padding: 2px 5px;
  border: 1px solid #a7d8b8;
  border-radius: 4px;
  background: #eaf7ee;
  color: #166534;
  font-weight: 700;
  line-height: 1.35;
}
:where(.fm-surface) .fm-links {
  position: absolute;
  /* Keep vertical strokes above slot backgrounds, including at fractional zoom. */
  z-index: 2;
  top: 0;
  left: 0;
  overflow: visible;
  pointer-events: none;
}
:where(.fm-surface) #fm-message:not(:empty) {
  padding: 12px 16px;
  margin: 10px 0;
  border-radius: 7px;
  background: #e1eee5;
  font-size: 14px;
}
:where(.fm-surface) #fm-message.error {
  background: #ffebe7;
  color: #952c21;
}
:where(.fm-surface) .fm-section-label {
  position: absolute;
  left: 0;
  font-size: 17px;
  font-weight: 700;
}
:where(.fm-surface) #fm-results {
  margin-top: 24px;
}
:where(.fm-surface) #fm-positions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
:where(.fm-surface) .fm-position {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
}
:where(.fm-surface) .fm-position strong {
  margin-right: 12px;
}
:where(.fm-surface) dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  width: min(460px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  color: var(--ink);
  box-shadow: 0 20px 90px #12342140;
}
:where(.fm-surface) dialog::backdrop {
  background: #18372b65;
}
:where(.fm-surface) dialog input:not([type='checkbox']),
:where(.fm-surface) dialog select {
  width: 100%;
  margin-bottom: 14px;
}
:where(.fm-surface) dialog select[size] {
  min-height: 150px;
}
:where(.fm-surface) dialog h2 {
  font-size: 21px;
  margin-top: 10px;
}
:where(.fm-surface) dialog p {
  font-size: 13px;
  line-height: 1.5;
}
:where(.fm-surface) .fm-close {
  float: right;
  padding: 0 8px;
  font-size: 24px;
  border: 0;
}
:where(.fm-surface) .fm-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
:where(.fm-surface) #fm-score-error {
  color: #9d3226;
}
:where(.fm-surface) #fm-reset-label {
  font-size: 13px;
  line-height: 1.5;
  margin: 12px 0;
}
:where(.fm-surface) [hidden] {
  display: none !important;
}
:where(.fm-surface) .fm-demo-note {
  font-size: 12px;
}
:where(.fm-surface) .fm-section-tabs {
  display: flex;
  gap: 8px;
}
@media (max-width: 760px) {
.fm-public-shell { padding: 12px 12px 0; }
.fm-public-shell .ct-public-draw-nav { position: sticky; top: 8px; z-index: 20; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.fm-public-shell .ct-public-draw-nav button { width: 100%; min-height: 44px; padding: 10px 8px; }
.fm-public-timetable { margin: 12px; padding: 18px 14px; overflow: visible; }
.fm-public-timetable table,
.fm-public-timetable tbody,
.fm-public-timetable tr,
.fm-public-timetable td { display: block; width: 100%; }
.fm-public-timetable thead { display: none; }
.fm-public-timetable tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; margin-bottom: 12px; padding: 13px; border: 1px solid #dbe5ec; border-top: 4px solid #14796e; border-radius: 10px; box-shadow: 0 3px 12px rgba(23,46,69,.06); }
.fm-public-timetable td { grid-column: 1 / -1; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px; padding: 4px 0; border: 0; }
.fm-public-timetable td::before { content: attr(data-label); color: #6b7d8f; font-size: 11px; font-weight: 750; letter-spacing: .03em; text-transform: uppercase; }
.fm-public-timetable td[data-label="Date"] { grid-column: 1; grid-row: 1; display: block; padding-bottom: 9px; border-bottom: 1px solid #e2ebe7; color: #176448; font-weight: 750; }
.fm-public-timetable td[data-label="Time"] { grid-column: 2; grid-row: 1; display: block; min-width: 72px; padding-bottom: 9px; border-bottom: 1px solid #e2ebe7; color: #0d675e; font-size: 20px; font-weight: 800; text-align: right; }
.fm-public-timetable td[data-label="Date"]::before,
.fm-public-timetable td[data-label="Time"]::before { display: block; margin-bottom: 2px; }
.fm-public-timetable td[data-label="Players"] { grid-row: 2; padding: 11px 0 9px; border-bottom: 1px solid #e8eef1; font-size: 15px; font-weight: 700; line-height: 1.4; }
.fm-public-timetable td[data-label="Venue"] { grid-row: 3; padding-top: 9px; }
.fm-public-timetable td[data-label="Court"] { grid-row: 4; }
.fm-public-timetable td[data-label="Match"] { grid-row: 5; color: #607286; font-size: 12px; }
:where(.fm-surface) .fm-header {
    padding: 18px 16px;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
:where(.fm-surface) h1 {
    font-size: 21px;
  }
:where(.fm-surface) main {
    padding: 16px 12px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }
:where(.fm-surface) .fm-intro {
    align-items: flex-start;
  }
:where(.fm-surface) .fm-intro strong {
    font-size: 17px;
  }
:where(.fm-surface) .fm-intro p {
    font-size: 12px;
  }
:where(.fm-surface) .fm-toolbar {
    gap: 8px;
  }
:where(.fm-surface) .fm-toolbar button {
    font-size: 12px;
    padding: 10px;
  }
:where(.fm-surface) .fm-workspace {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
:where(.fm-surface) aside {
    position: static;
    padding: 14px;
  }
:where(.fm-surface) #fm-players {
    max-height: 145px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
:where(.fm-surface) .fm-player {
    margin: 0;
  }
:where(.fm-surface) .fm-help {
    margin: 8px 0;
  }
:where(.fm-surface) .fm-board-heading {
    padding: 14px;
  }
:where(.fm-surface) .fm-board-heading span {
    font-size: 10px;
  }
:where(.fm-surface) .fm-spacer {
    display: none;
  }
:where(.fm-surface) nav {
    gap: 14px;
    font-size: 12px;
  }
:where(.fm-surface) .fm-rule {
    font-size: 12px;
  }
:where(.fm-surface) dialog {
    padding: 18px;
    padding-bottom: max(18px, env(safe-area-inset-bottom));
  }
}
@media print {
  :where(.fm-surface) .fm-pending-result { visibility: hidden !important; }
  :where(.fm-surface) .fm-print-result { width: 20%; min-width: 32mm; }
  @page {
    size: landscape;
    margin: 10mm;
  }
.fm-surface {
    background: white;
  }
:where(.fm-surface) .fm-header {
    padding: 0 0 10px;
  }
:where(.fm-surface) main {
    padding: 0;
  }
:where(.fm-surface) nav,
:where(.fm-surface) .fm-toolbar,
:where(.fm-surface) aside,
:where(.fm-surface) .fm-intro p,
:where(.fm-surface) #fm-message,
:where(.fm-surface) .fm-score-button,
:where(.fm-surface) .fm-board-heading span {
    display: none !important;
  }
:where(.fm-surface) .fm-workspace {
    display: block;
  }
:where(.fm-surface) .fm-board-wrap {
    border: 0;
  }
:where(.fm-surface) :is(#fm-scroll, .fm-scroll) {
    overflow: visible;
    max-height: none;
    padding: 0;
  }
:where(.fm-surface) :is(#fm-board, .fm-board) {
    zoom: var(--ct-print-scale, 0.65);
  }
:where(.fm-surface) .fm-match {
    box-shadow: none;
    break-inside: avoid;
  }
:where(.fm-surface) .fm-rule {
    background: white;
    margin: 8px 0;
  }
:where(.fm-surface) .fm-header h1 {
    font-size: 18px;
  }
:where(.fm-surface) .fm-slot {
    color: #111 !important;
  }
:where(.fm-surface) .fm-board-heading {
    padding: 8px 0;
  }
:where(.fm-surface) #fm-results {
    break-before: page;
  }
}
:where(.fm-surface) .fm-print-only {
  display: none;
}
:where(.fm-surface) #fm-slot-error {
  color: #9d3226;
}
@media print {
:where(.fm-surface) .fm-links.ct-bracket-svg { max-width: none; height: auto; }
:where(.fm-surface) .fm-print-only {
    display: block;
    break-before: page;
  }
:where(.fm-surface) .fm-print-section {
    margin: 18px 0;
  }
:where(.fm-surface) .fm-print-section h2 {
    break-after: avoid;
  }
:where(.fm-surface) .fm-print-section table {
    border-collapse: collapse;
    width: 100%;
    font-size: 11px;
  }
:where(.fm-surface) .fm-print-section td,
:where(.fm-surface) .fm-print-section th {
    border: 1px solid #b7cbc0;
    padding: 7px;
    text-align: left;
  }
:where(.fm-surface) .fm-print-section tr {
    break-inside: avoid;
  }
:where(.fm-surface) .fm-print-section thead {
    display: table-header-group;
  }
:where(.fm-surface) #fm-results {
    break-before: auto;
    break-after: page;
  }
}
