.tc-assistant-media {
  border-top: 1px solid #dce4ef;
  margin-top: 20px;
  padding-top: 18px;
}
.tc-assistant-media fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.tc-assistant-media input[type="file"] {
  max-width: 100%;
}
.tc-media-questions > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}
.tc-media-questions .tc-btn {
  white-space: normal;
  text-align: left;
  max-width: 100%;
}
.tc-assistant-media [data-media-status] {
  color: #244c86;
  overflow-wrap: anywhere;
}
.tc-assistant-media-reports {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.tc-assistant-media img {
  display: block;
  max-width: 100%;
  border-radius: 12px;
}
.tc-media-report .tc-video-review-heading {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.tc-media-report .tc-video-review-heading span {
  white-space: normal;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.tc-evidence-image { position: relative; }
.tc-video-review .tc-evidence-image > img { display: block; width: 100%; height: auto; max-height: none; }
.tc-evidence-image > svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.tc-media-findings { display: grid; gap: 12px; margin: 16px 0; }
.tc-media-finding { padding: 14px; border: 1px solid #d7e2ee; border-left: 5px solid #bd8511; border-radius: 12px; background: #fff; overflow-wrap: anywhere; }
.tc-media-finding h5 { margin: 10px 0; font-size: 15px; }
.tc-media-finding p { line-height: 1.55; }
.tc-finding-ball_out, .tc-finding-violation { border-left-color: #bd293a; }
.tc-finding-ball_in, .tc-finding-no_violation { border-left-color: #16825d; }
.tc-finding-decision { font-weight: 800; font-size: 13px; letter-spacing: .02em; }
.tc-finding-limit { padding: 10px; background: #fff5db; border-radius: 8px; }
.tc-media-log { padding: 14px; background: #edf3fa; border-radius: 12px; margin-top: 14px; overflow-wrap: anywhere; }
.tc-active-review { padding: 14px; border: 2px solid #375fc9; border-radius: 14px; background: var(--c-surface,#fff); }
.tc-active-review h4 { margin: 0 0 12px; }
.tc-evidence-sequence { margin: 14px 0; padding: 12px; border: 1px solid #c8d8ed; border-radius: 12px; background: #f4f7fc; }
.tc-evidence-sequence summary { cursor: pointer; font-weight: 750; color: #173d78; }
.tc-evidence-sequence-grid { display: grid; gap: 14px; margin: 12px 0; }
.tc-evidence-sequence-grid section > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.tc-evidence-sequence-grid h5 { margin: 4px 0 8px; }
.tc-evidence-sequence-grid figure { margin: 0; min-width: 0; }
.tc-evidence-sequence-grid figure:only-child { grid-column: 1 / -1; }
.tc-evidence-sequence-grid svg { display: block; width: 100%; height: auto; background: #102231; }
.tc-evidence-sequence-grid figcaption { margin-top: 4px; font-size: 11px; color: #405a7d; }
@media(max-width:480px) { .tc-evidence-sequence-grid section > div { grid-template-columns: 1fr; } }
.tc-focus-picker { position: relative; margin: 12px 0; padding: 12px; border: 1px solid #c5d7ef; border-radius: 12px; background: #f3f7fd; }
.tc-focus-picker canvas { display: block; width: 100%; height: auto; min-height: 100px; background: #132238; cursor: crosshair; touch-action: manipulation; }
.tc-focus-picker canvas:focus-visible { outline: 3px solid #2169da; outline-offset: 3px; }
.tc-focus-picker video { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.tc-focus-picker input[type="range"] { width: 100%; min-height: 40px; }
.tc-focus-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0; }
.tc-focus-actions button { min-height: 44px; padding: 8px 10px; border: 1px solid #bfd0ec; border-radius: 8px; background: #fff; color: #173a6c; font: inherit; }
.tc-focus-actions button[aria-pressed="true"] { background: #184ba6; color: #fff; }
.tc-match-scoring { margin: 10px 0 16px; padding: 12px; border: 1px solid #c9d9f0; border-radius: 12px; background: #f3f7fd; scroll-margin-top: 28px; }
.tc-match-scoring:empty { display: none; }
.tc-match-scoring h4 { margin: 0 0 10px; color: #183e77; }
.tc-review-allowances { display: grid; gap: 8px; margin: 12px 0; }
.tc-review-allowances > div { padding: 8px 10px; background: #eef3fc; border-radius: 10px; }
.tc-review-allowances small { display: block; margin-top: 5px; }
.tc-published-review { margin-top: 12px; }
.tc-published-review summary { padding: 10px; cursor: pointer; font-weight: 700; }
.tc-live-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0 16px;
  color: #52657d;
}
.tc-match-state.tc-match-live {
  color: #086b47;
  background: #dff6e9;
  border-radius: 12px;
  padding: 5px 10px;
  font-weight: 700;
}
.tc-root {
  padding: 4px 16px 110px;
}

.tc-root-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.tc-intro,
.tc-detail-head,
.tc-create {
  border: 1px solid rgba(29, 42, 62, .09);
  border-radius: 22px;
  background: linear-gradient(140deg, #fff 20%, #f6f8fc 100%);
  box-shadow: 0 12px 32px rgba(19, 31, 52, .055);
}

.tc-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  margin: 4px 0 22px;
}

.tc-eyebrow {
  display: block;
  color: #66748a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.4;
}

.tc-intro h3,
.tc-create h3,
.tc-detail-head h3 {
  margin: 7px 0 6px;
  color: #152238;
  font-size: clamp(21px, 5vw, 28px);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.tc-intro p,
.tc-detail-head p {
  margin: 0;
  color: #68758a;
  font-size: 13px;
  line-height: 1.55;
}

.tc-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 0;
  border-radius: 13px;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}

.tc-btn:active {
  transform: scale(.98);
}

.tc-btn:disabled {
  opacity: .58;
  cursor: wait;
}

.tc-btn-primary {
  color: #fff;
  background: #1769dc;
  box-shadow: 0 7px 18px rgba(23, 105, 220, .19);
}

.tc-btn-primary:hover {
  background: #0e59c2;
}

.tc-btn-secondary {
  color: #1b385d;
  background: #edf3fa;
}

.tc-btn-secondary:hover {
  background: #e3edf8;
}

.tc-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tc-list-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid #e6eaf0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(18, 33, 55, .045);
}

.tc-card-top,
.tc-card-meta,
.tc-subnav,
.tc-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tc-format,
.tc-status,
.tc-manager-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
}

.tc-format {
  color: #315277;
  background: #edf4fb;
}

.tc-status-draft {
  color: #7c5b14;
  background: #fff5d8;
}

.tc-status-in_progress {
  color: #075f55;
  background: #dff6ef;
}

.tc-status-completed {
  color: #5a6272;
  background: #edf0f4;
}

.tc-list-card h3 {
  margin: 15px 0 4px;
  color: #17243a;
  font-size: 18px;
  letter-spacing: -.025em;
}

.tc-list-card p {
  margin: 0;
  color: #788396;
  font-size: 12px;
}

.tc-list-card p b {
  color: #46556a;
}

.tc-card-meta {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 16px 0;
  color: #68758a;
  font-size: 11px;
}

.tc-card-meta span + span::before {
  content: "·";
  margin-right: 8px;
  color: #aab4c1;
}

.tc-list-card > .tc-btn {
  width: 100%;
}

.tc-empty,
.tc-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 26px 18px;
  border: 1px dashed #d8e0ea;
  border-radius: 20px;
  background: rgba(255, 255, 255, .76);
  text-align: center;
}

.tc-empty-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #1769dc;
  background: #eaf2fd;
  font-size: 13px;
  font-weight: 850;
}

.tc-empty h3 {
  margin: 14px 0 5px;
  color: #18263b;
  font-size: 18px;
}

.tc-empty p {
  max-width: 300px;
  margin: 0 0 15px;
  color: #738095;
  font-size: 13px;
  line-height: 1.5;
}

.tc-state {
  flex-direction: row;
  gap: 10px;
  min-height: 100px;
  color: #68758a;
  font-size: 13px;
}

.tc-spinner {
  width: 17px;
  height: 17px;
  border: 2px solid #d9e5f3;
  border-top-color: #1769dc;
  border-radius: 50%;
  animation: tc-spin .75s linear infinite;
}

@keyframes tc-spin {
  to { transform: rotate(360deg); }
}

.tc-privacy-note {
  margin: 19px 3px 0;
  color: #7b8798;
  font-size: 11px;
  line-height: 1.5;
}

.tc-notice {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid #d7e7fb;
  border-radius: 12px;
  color: #245182;
  background: #f1f7ff;
  font-size: 13px;
  line-height: 1.45;
}

.tc-subnav {
  margin: 2px 0 15px;
}

.tc-back-link {
  padding: 8px 0;
  border: 0;
  color: #1769dc;
  background: none;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.tc-create {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(18px, 5vw, 28px);
}

.tc-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 19px;
  color: #24344b;
  font-size: 13px;
  font-weight: 750;
}

.tc-field input,
.tc-field select,
.tc-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid #dce3ec;
  border-radius: 12px;
  outline: none;
  color: #19283e;
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
}

.tc-field textarea {
  min-height: 154px;
  resize: vertical;
  line-height: 1.55;
}

.tc-field input:focus,
.tc-field select:focus,
.tc-field textarea:focus,
.tc-score-form input:focus {
  border-color: #6ea5ed;
  box-shadow: 0 0 0 3px rgba(23, 105, 220, .11);
}

.tc-field small {
  color: #788598;
  font-size: 11px;
  font-weight: 450;
  line-height: 1.5;
}

.tc-create-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 18px;
  padding: 13px;
  border-radius: 12px;
  color: #49617f;
  background: #f0f5fb;
  font-size: 11px;
  line-height: 1.45;
}

.tc-create-note b {
  color: #263d5c;
  font-size: 12px;
}

.tc-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 21px;
}

.tc-form-error {
  min-height: 18px;
  margin-top: 9px;
  color: #b42332;
  font-size: 12px;
}

.tc-detail-head {
  position: relative;
  margin-bottom: 15px;
  padding: 20px;
}

.tc-detail-head h3 {
  max-width: 650px;
  margin-top: 11px;
}

.tc-manager-badge {
  margin-top: 12px;
  color: #0b6555;
  background: #dcf6ed;
}

.tc-start-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 17px;
  padding: 15px;
  border: 1px solid #d8e8fb;
  border-radius: 16px;
  background: #f2f7fe;
}

.tc-start-box > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tc-start-box b {
  color: #1e3e64;
  font-size: 13px;
}

.tc-start-box span {
  color: #657b96;
  font-size: 11px;
  line-height: 1.4;
}

.tc-champion {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 16px;
  padding: 13px 15px;
  border: 1px solid #efdda3;
  border-radius: 13px;
  color: #5e4a15;
  background: linear-gradient(110deg, #fff8df, #fffdf4);
}

.tc-champion small {
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .12em;
}

.tc-champion b {
  font-size: 18px;
}

.tc-section {
  margin-top: 22px;
}

.tc-section-heading {
  align-items: flex-end;
  margin-bottom: 12px;
}

.tc-section-heading h3 {
  margin: 4px 0 0;
  color: #17243a;
  font-size: 19px;
  letter-spacing: -.025em;
}

.tc-section-help {
  margin: 0;
  color: #758296;
  font-size: 11px;
  line-height: 1.45;
}

.tc-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.tc-group,
.tc-round {
  min-width: 0;
  padding: 14px;
  border: 1px solid #e5eaf0;
  border-radius: 16px;
  background: #fff;
}

.tc-group > h4,
.tc-round > h4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 12px;
  color: #23344c;
  font-size: 14px;
}

.tc-group > h4 small {
  color: #8a95a5;
  font-size: 10px;
  font-weight: 600;
}

.tc-table-wrap {
  overflow-x: auto;
}

.tc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.tc-table th {
  padding: 7px 5px;
  color: #8792a2;
  font-size: 9px;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.tc-table td {
  padding: 8px 5px;
  border-top: 1px solid #eef1f5;
  color: #34445a;
}

.tc-table td:first-child,
.tc-table td:nth-last-child(-n+2) {
  width: 34px;
  color: #6c7b90;
  text-align: center;
}

.tc-matches {
  display: grid;
  gap: 9px;
}

.tc-match {
  min-width: 0;
  padding: 11px;
  border: 1px solid #edf0f4;
  border-radius: 12px;
  background: #fbfcfe;
}

.tc-match-preview {
  border-style: dashed;
  border-color: #c9d8ed;
  background: #f8fbff;
}

.tc-match-label {
  display: block;
  margin-bottom: 6px;
  color: #8893a2;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.tc-match-time {
  display: block;
  margin: -2px 0 8px;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
}

.tc-match-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: center;
  gap: 7px;
  min-height: 26px;
  color: #425167;
  font-size: 11px;
}

.tc-match-line span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tc-match-line b {
  color: #68758a;
  text-align: center;
  font-size: 11px;
}

.tc-match-line .tc-winner,
.tc-match-line .tc-winner + b {
  color: #0c735d;
  font-weight: 800;
}

.tc-match-foot {
  margin-top: 7px;
}

.tc-match-score {
  display: inline-flex;
  color: #0d715d;
  font-size: 10px;
  font-weight: 800;
}

.tc-match-state {
  display: inline-flex;
  color: #8a95a5;
  font-size: 10px;
}

.tc-correct {
  padding: 5px 0;
  border: 0;
  color: #1769dc;
  background: none;
  font: inherit;
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
}

.tc-score-form {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.tc-score-form-series {
  display: grid;
  align-items: stretch;
  gap: 8px;
}

.tc-score-set-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 6px;
}

.tc-score-set-row > b {
  padding-bottom: 10px;
  color: #788598;
  font-size: 9px;
  white-space: nowrap;
}

.tc-score-form-series > small {
  color: #788598;
  font-size: 10px;
  line-height: 1.4;
}

.tc-score-form-series .tc-save-score {
  width: 100%;
}

.tc-score-form label {
  display: flex;
  flex: 1 1 80px;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  color: #5e6b7e;
  font-size: 9px;
  line-height: 1.25;
}

.tc-score-form label span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tc-score-form input {
  width: 100%;
  height: 35px;
  padding: 5px 8px;
  border: 1px solid #dce3ec;
  border-radius: 9px;
  outline: none;
  color: #1f314a;
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
}

.tc-score-separator {
  padding-bottom: 10px;
  color: #8a95a5;
  font-size: 12px;
  font-weight: 800;
}

.tc-save-score {
  width: 100%;
  min-height: 36px;
  margin-top: 3px;
  border-radius: 10px;
  font-size: 11px;
}

.tc-rounds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  align-items: start;
  gap: 12px;
}

.tc-round {
  padding: 12px;
}

.tc-round > h4 {
  margin-bottom: 10px;
}

.tc-form-section {
  justify-content: flex-start;
  margin: 22px 0 10px;
}

.tc-category-rows {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.tc-category-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.2fr) auto;
  align-items: end;
  gap: 9px;
  padding: 12px;
  border: 1px solid #e4e9f0;
  border-radius: 14px;
  background: #f9fbfd;
}

.tc-category-row label,
.tc-voucher-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #526177;
  font-size: 11px;
  font-weight: 700;
}

.tc-category-row select,
.tc-category-row input,
.tc-voucher-form select,
.tc-voucher-form input,
.tc-field input,
.tc-field select,
.tc-field textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #dce3ec;
  border-radius: 11px;
  outline: none;
  color: #1f314a;
  background: #fff;
  font: inherit;
  font-size: 13px;
}

.tc-category-row select:focus,
.tc-category-row input:focus,
.tc-voucher-form select:focus,
.tc-voucher-form input:focus,
.tc-field input:focus,
.tc-field select:focus {
  border-color: #73a5ee;
  box-shadow: 0 0 0 3px rgba(23, 105, 220, .1);
}

.tc-remove-category {
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  color: #7c3540;
  background: #fff0f1;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}

.tc-money-input {
  display: flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid #dce3ec;
  border-radius: 11px;
  background: #fff;
}

.tc-money-input > span {
  padding-left: 12px;
  color: #65748a;
  font-size: 13px;
  font-weight: 700;
}

.tc-money-input input {
  border: 0;
  box-shadow: none;
}

.tc-check-field {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 10px 0;
  color: #45556d;
  font-size: 12px;
  line-height: 1.45;
}

.tc-check-field input {
  margin: 2px 0 0;
  accent-color: #1769dc;
}

.tc-category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 16px 0;
  padding: 2px 1px 7px;
  scrollbar-width: thin;
}

.tc-category-tab {
  display: grid;
  flex: 0 0 auto;
  gap: 4px;
  min-width: 135px;
  padding: 11px 13px;
  border: 1px solid #e0e6ee;
  border-radius: 13px;
  color: #31445e;
  background: #fff;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.tc-category-tab.active {
  border-color: #8bb5ef;
  color: #1258b1;
  background: #edf5ff;
}

.tc-category-tab span {
  font-size: 12px;
  font-weight: 800;
}

.tc-category-tab small,
.tc-category-single {
  color: #748196;
  font-size: 10px;
}

.tc-category-single {
  margin: 16px 0 10px;
  padding: 9px 12px;
  border-radius: 11px;
  background: #f1f5fa;
  font-weight: 700;
}

.tc-share-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.tc-share-row > span {
  color: #788396;
  font-size: 10px;
}

.tc-signup {
  margin: 14px 0 18px;
  padding: 18px;
  border: 1px solid #dce9fb;
  border-radius: 18px;
  background: linear-gradient(145deg, #f5f9ff, #fff);
}

.tc-signup h4 {
  margin: 5px 0 6px;
  color: #17243a;
  font-size: 18px;
}

.tc-signup p {
  margin: 0 0 12px;
  color: #69768a;
  font-size: 12px;
  line-height: 1.5;
}

.tc-signup .tc-price {
  margin: 6px 0 14px;
}

.tc-signup form {
  display: grid;
  gap: 10px;
}

.tc-signup form > .tc-btn {
  width: 100%;
}

.tc-selected-partner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 11px;
  color: #245b4d;
  background: #e9f8f2;
  font-size: 12px;
}

.tc-selected-partner button {
  border: 0;
  color: #1769dc;
  background: transparent;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.tc-player-results {
  display: grid;
  gap: 6px;
  max-height: 185px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid #e3e9f1;
  border-radius: 12px;
  background: #fff;
}

.tc-player-results button {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px;
  border: 0;
  border-radius: 9px;
  color: #2b3e58;
  background: #f7f9fc;
  text-align: left;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.tc-player-results button:hover {
  background: #edf5ff;
}

.tc-player-results small {
  color: #7b8798;
}

.tc-invitations {
  display: grid;
  gap: 9px;
}

.tc-invitation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
  border: 1px solid #e1e7ef;
  border-radius: 14px;
  background: #fff;
}

.tc-invitation > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: #293d59;
  font-size: 12px;
}

.tc-invitation span {
  color: #788396;
  font-size: 10px;
}

.tc-manager-tools {
  margin-top: 20px;
}

.tc-manager-tools .tc-section-heading {
  align-items: center;
}

.tc-manager-tools .tc-section-heading .tc-btn {
  flex: 0 0 auto;
}

.tc-registration-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #53657d;
  background: #f2f6fb;
  font-size: 11px;
}

.tc-registration-summary b {
  color: #1d5e44;
}

.tc-admin-enroll {
  display: grid;
  gap: 10px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid #dbe5f1;
  border-radius: 15px;
  background: #f8fafd;
}

.tc-admin-enroll > b {
  color: #263950;
  font-size: 13px;
}

.tc-admin-enroll > p {
  margin: 0;
  color: #718097;
  font-size: 11px;
  line-height: 1.5;
}

.tc-admin-enroll .tc-field {
  margin: 0;
}

.tc-admin-enroll > .tc-btn,
.tc-admin-enroll-confirm .tc-btn {
  width: 100%;
}

.tc-admin-user-results {
  display: grid;
  gap: 7px;
}

.tc-admin-user-results .tc-btn {
  width: 100%;
  text-align: left;
}

.tc-admin-guest-option {
  display: grid;
  gap: 8px;
}

.tc-admin-guest-option .tc-btn {
  width: 100%;
}

.tc-admin-enroll-confirm {
  display: grid;
  gap: 9px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}

.tc-admin-enroll-confirm p {
  margin: 0;
  color: #50627a;
  font-size: 12px;
}

.tc-admin-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #53657d;
  font-size: 11px;
  line-height: 1.45;
}

.tc-admin-consent input {
  flex: 0 0 auto;
  margin-top: 1px;
}

.tc-admin-added-note {
  display: block;
  margin-top: 3px;
  color: #6f7f93;
  font-size: 10px;
}

.tc-manager-registration-table th:first-child,
.tc-manager-registration-table td:first-child {
  width: 1%;
  white-space: nowrap;
  text-align: center;
}

.tc-registration-number {
  color: #315b9c;
  font-weight: 800;
}

.tc-manager-registration-table td:nth-last-child(-n+2) {
  width: auto;
  text-align: left;
}

.tc-withdraw-help {
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff8ee;
  color: #745723;
}

.tc-registration-withdraw {
  min-height: 34px;
  padding: 6px 9px;
  border: 1px solid #e6c6c6;
  border-radius: 9px;
  background: #fff;
  color: #9d3030;
  font: inherit;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
}

.tc-registration-withdraw:hover {
  background: #fff2f2;
}

.tc-manager-format {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid #dbe5f1;
  border-radius: 15px;
  background: #f8fafd;
}

.tc-manager-format .tc-field {
  margin: 0;
}

.tc-manager-format .tc-btn {
  align-self: end;
}

.tc-category-label-controls {
  margin: 14px 0;
  padding: 14px;
  border: 1px solid #dbe5f1;
  border-radius: 15px;
  background: #f8fafd;
}

.tc-category-label-controls > b {
  display: block;
  margin-bottom: 8px;
  color: #243953;
}

.tc-category-label-controls > small {
  display: block;
  margin-top: 8px;
  color: #6f7f94;
  line-height: 1.4;
}

.tc-category-label-form {
  margin: 8px 0;
}

.tc-voucher-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 15px;
  background: #f8fafd;
}

.tc-voucher-form .tc-btn {
  align-self: end;
}

.tc-voucher-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0 15px;
}

.tc-voucher-list span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #315277;
  background: #edf4fb;
  font-size: 10px;
}

/* Tablet typography follows the expanded shell, without enlarging phone UI. */
@media (min-width: 600px) {
  .tc-root {
    padding-inline: clamp(20px, 2.5vw, 36px);
  }

  .tc-groups {
    gap: 20px;
  }

  .tc-group,
  .tc-round {
    padding: 18px;
  }

  .tc-group > h4,
  .tc-round > h4 {
    font-size: 16px;
  }

  .tc-group > h4 small,
  .tc-match-time {
    font-size: 12px;
  }

  .tc-table,
  .tc-match-line {
    font-size: 14px;
    line-height: 1.45;
  }

  .tc-table th,
  .tc-match-label {
    font-size: 10px;
  }

  .tc-table td {
    padding-block: 11px;
  }

  .tc-match {
    padding: 14px;
  }

  .tc-match-line {
    min-height: 32px;
  }

  .tc-match-line span {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .tc-match-line b,
  .tc-section-help {
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .tc-root {
    padding: 4px 12px 100px;
  }

  .tc-intro {
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
    padding: 18px;
    border-radius: 18px;
  }

  .tc-intro > .tc-btn {
    width: 100%;
  }

  .tc-list,
  .tc-groups {
    grid-template-columns: minmax(0, 1fr);
  }

  .tc-list-card {
    padding: 15px;
  }

  .tc-start-box {
    align-items: stretch;
    flex-direction: column;
  }

  .tc-start-box .tc-btn {
    width: 100%;
  }

  .tc-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .tc-category-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .tc-category-row .tc-remove-category {
    width: 100%;
  }

  .tc-voucher-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .tc-manager-tools .tc-section-heading {
    align-items: stretch;
  }

  .tc-manager-tools .tc-section-heading .tc-btn {
    width: 100%;
  }

  .tc-manager-format {
    grid-template-columns: minmax(0, 1fr);
  }

  .tc-manager-format .tc-btn {
    width: 100%;
  }

  .tc-registration-summary {
    flex-direction: column;
  }

  .tc-invitation {
    align-items: stretch;
    flex-direction: column;
  }

  .tc-invitation .tc-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tc-spinner {
    animation-duration: 1.8s;
  }
  .tc-btn {
    transition: none;
  }
}

.tc-manager-tabs {
  display: flex;
  gap: 6px;
  margin: 18px 0 12px;
  padding: 5px;
  border: 1px solid #e0e7f0;
  border-radius: 13px;
  background: #f1f5fa;
}

.tc-manager-tabs button {
  flex: 1 1 0;
  min-height: 40px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  color: #596b82;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.tc-manager-tabs button.active {
  color: #1d4f9e;
  background: #fff;
  box-shadow: 0 2px 8px #233b5b14;
}

.tc-assistant-panel {
  display: grid;
  gap: 12px;
  margin: 12px 0 20px;
}

.tc-assistant-intro,
.tc-assistant-form,
.tc-assistant-proposal,
.tc-assistant-history {
  padding: 14px;
  border: 1px solid #dfe7f1;
  border-radius: 15px;
  background: #f8fafd;
}

.tc-assistant-intro b,
.tc-assistant-proposal > b {
  color: #233a59;
  font-size: 14px;
}

.tc-assistant-intro p,
.tc-assistant-proposal p {
  margin: 6px 0 0;
  color: #697991;
  font-size: 12px;
  line-height: 1.5;
}

.tc-assistant-messages {
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow: auto;
  padding: 2px;
}

.tc-assistant-message {
  max-width: 92%;
  padding: 10px 12px;
  border: 1px solid #e1e7ef;
  border-radius: 13px;
  background: #fff;
}

.tc-assistant-user {
  justify-self: end;
  border-color: #d5e4fa;
  background: #edf4ff;
}

.tc-assistant-message b {
  display: block;
  margin-bottom: 4px;
  color: #314966;
  font-size: 10px;
}

.tc-assistant-message p,
.tc-assistant-empty {
  margin: 0;
  color: #52647a;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.tc-assistant-form {
  display: grid;
  gap: 10px;
}

.tc-assistant-form .tc-field,
.tc-forfeit-form .tc-field {
  margin: 0;
}

.tc-assistant-form textarea,
.tc-forfeit-form textarea {
  width: 100%;
  min-height: 76px;
  padding: 10px 12px;
  border: 1px solid #dce3ec;
  border-radius: 10px;
  outline: none;
  color: #263a54;
  background: #fff;
  font: inherit;
  font-size: 13px;
  resize: vertical;
}

.tc-assistant-form small,
.tc-assistant-proposal small,
.tc-forfeit-form small {
  color: #718097;
  font-size: 10px;
  line-height: 1.45;
}

.tc-assistant-proposal {
  display: grid;
  gap: 8px;
  border-color: #bcd3f5;
  background: #f1f6ff;
}

.tc-assistant-proposal > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.tc-assistant-history summary {
  color: #344a64;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.tc-assistant-history > div {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.tc-assistant-audit-item {
  display: grid;
  gap: 5px;
  padding: 10px 0;
  border-top: 1px solid #e2e8f0;
}

.tc-assistant-audit-item > div {
  display: grid;
  gap: 4px;
}

.tc-assistant-audit-item b {
  color: #344a64;
  font-size: 11px;
}

.tc-assistant-audit-item small {
  color: #788598;
  font-size: 10px;
}

.tc-match-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tc-forfeit-form {
  display: grid;
  gap: 9px;
  margin-top: 8px;
  padding: 11px;
  border: 1px solid #e0e7f0;
  border-radius: 12px;
  background: #f8fafd;
}

.tc-forfeit-form > b {
  color: #314966;
  font-size: 11px;
}

.tc-forfeit-form select {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #dce3ec;
  border-radius: 9px;
  color: #263a54;
  background: #fff;
  font: inherit;
  font-size: 12px;
}

.tc-forfeit-form > .tc-btn {
  width: 100%;
}

.tc-video-review-upload,
.tc-video-review-manager,
.tc-video-review-decision {
  display: grid;
  gap: 9px;
}

.tc-video-review-upload {
  margin-top: 9px;
}

.tc-video-review-upload form,
.tc-video-review-decision {
  padding: 11px;
  border: 1px solid #dce5f0;
  border-radius: 12px;
  background: #f8fafd;
}

.tc-video-review-upload small,
.tc-video-review small,
.tc-video-review-status,
.tc-video-review-ai span {
  color: #6e7c90;
  font-size: 11px;
  line-height: 1.5;
}

.tc-video-review-upload input[type="file"] {
  width: 100%;
  max-width: 100%;
  min-height: 40px;
  font-size: 11px;
}

.tc-video-review-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #243b57;
  font-size: 12px;
}

.tc-video-review-heading span {
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 999px;
  color: #355b81;
  background: #edf3fa;
  font-size: 10px;
}

.tc-video-review {
  display: grid;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
  padding: 11px;
  border: 1px solid #dce5f0;
  border-radius: 12px;
  background: #fbfcfe;
}

.tc-video-review video {
  display: block;
  width: 100%;
  max-height: 320px;
  border-radius: 9px;
  background: #101826;
}

.tc-video-review figure {
  display: grid;
  gap: 5px;
  margin: 0;
}

.tc-video-review figure img {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: 8px;
  background: #eef2f7;
}

.tc-video-review figcaption,
.tc-video-review p,
.tc-video-review-note {
  margin: 0;
  color: #526277;
  font-size: 11px;
  line-height: 1.5;
}

.tc-video-review-ai {
  padding: 9px;
  border-radius: 9px;
  background: #f0f5fb;
}

.tc-video-review-ai b {
  color: #29496d;
  font-size: 11px;
}

.tc-review-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #40536c;
  font-size: 11px;
  line-height: 1.45;
}

.tc-review-consent input {
  flex: 0 0 auto;
  margin-top: 2px;
}

.tc-video-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tc-video-review-actions > button {
  flex: 1 1 150px;
}

@media (max-width: 560px) {
  .tc-manager-tabs button {
    padding-inline: 6px;
    font-size: 11px;
  }

  .tc-assistant-message {
    max-width: 100%;
  }
}

.tc-rules-panel,
.tc-discipline-reports {
  margin: 14px 0;
  padding: 14px;
  border: 1px solid var(--tc-border, #dce4ef);
  border-radius: 16px;
  background: var(--tc-card, #fff);
}

.tc-rules-panel summary {
  color: var(--tc-ink, #17233d);
  font-weight: 750;
  cursor: pointer;
}

.tc-rules-panel p,
.tc-rules-panel li,
.tc-discipline-report p,
.tc-discipline-report small {
  color: var(--tc-muted, #68758a);
  line-height: 1.5;
}

.tc-rules-panel ul {
  display: grid;
  gap: 7px;
  padding-left: 20px;
}

.tc-rules-panel h4 {
  margin: 14px 0 7px;
}

.tc-rules-panel a {
  color: var(--tc-primary, #2867d9);
  text-decoration: underline;
}

.tc-rule-accept {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 14px 0;
  color: var(--tc-ink, #17233d);
  font-size: 13px;
  line-height: 1.45;
}

.tc-rule-accept input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.tc-rules-accepted {
  display: block;
  margin-top: 10px;
  color: var(--tc-muted, #68758a);
}

.tc-discipline-report {
  margin-top: 12px;
  padding: 13px;
  border: 1px solid var(--tc-border, #dce4ef);
  border-radius: 14px;
}

.tc-discipline-report > b {
  color: var(--tc-ink, #17233d);
}

.tc-disciplinary-proposal {
  display: grid;
  gap: 10px;
}

.tc-disciplinary-proposal small {
  line-height: 1.5;
}
