.s6-hero h1,
.s6-public-hero h1,
.s6-season-mark strong,
.s6-section-head h2,
.s6-tournament-card__number,
.s6-stage strong,
.s6-form h2,
.s6-editor h2 {
  font-family: var(--font-score);
}

.s6-source__flag,
.s6-year--pending {
  background: #d0e2ff;
  color: #001d6c;
}

.s6-public-hero {
  background-color: #08152f;
  background-image: linear-gradient(90deg, rgba(0, 17, 65, .9) 0%, rgba(0, 17, 65, .72) 52%, rgba(0, 17, 65, .16) 100%), url('/assets/images/tournaments-hero-d104.png');
  background-position: center, right center;
  background-repeat: no-repeat;
  background-size: 100% 100%, auto 100%;
}

.s6-public-hero .s6-kicker {
  max-width: none;
  color: #78a9ff;
  font-size: 12px;
}

/* D103: shared shell and compact tournament rows. */
body[data-shared-page="tournaments"] .s6-main {
  padding-top: 28px;
}

body[data-shared-page="tournaments"] .brand {
  min-width: 44px;
  min-height: 44px;
}

.s6-tournament-list { gap: 10px; }

.s6-tournament-card {
  grid-template-columns: 96px minmax(250px, 1fr) minmax(270px, .78fr) auto;
  gap: 24px;
  min-height: 112px;
  padding: 18px 28px;
  background: #e8edf2;
  border-color: #c3cdd8;
}

.s6-tournament-card:hover {
  border-color: #90a2b6;
  background: #edf1f5;
}

.s6-tournament-card__mark {
  align-self: stretch;
  display: grid;
  align-content: center;
  justify-items: start;
  border-right: 1px solid #c3cdd8;
}

.s6-tournament-card__mark span {
  color: #69788a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.s6-tournament-card__mark strong {
  color: #7d8895;
  font: 700 31px/1 var(--font-score);
}

.s6-tournament-card__summary { min-width: 0; }
.s6-tournament-card__summary h2 {
  margin: 0 0 6px;
  color: #001141;
  font: 700 20px/1.2 var(--font-score);
  letter-spacing: -.02em;
}
.s6-tournament-card__summary p {
  margin: 0;
  color: #33445a;
  font-size: 14px;
  line-height: 1.45;
}

.s6-tournament-card__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(105px, 1fr));
  gap: 22px;
  margin: 0;
}
.s6-tournament-card__fact-group { display: grid; align-content: center; gap: 7px; }
.s6-tournament-fact { min-width: 0; }
.s6-tournament-fact dd { min-width: 0; margin: 0; color: #001141; font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.s6-tournament-card__actions { display: grid; grid-template-columns: repeat(2, auto); gap: 10px; }
.s6-tournament-card__actions .s6-card-action {
  min-width: 118px;
  min-height: 48px;
  padding: 10px 16px;
  border: 2px solid #0043ce;
  color: #003b96;
  background: transparent;
  font-weight: 800;
  transition: color 220ms, background-color 220ms, border-color 220ms;
}
.s6-tournament-card__actions .s6-card-action:hover,
.s6-tournament-card__actions .s6-card-action:focus-visible { color: #fff; background: #0043ce; border-color: #0043ce; }

.s6-public-dialog {
  width: min(720px, calc(100% - 28px));
  max-height: calc(100dvh - 40px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #172332;
  background: #e8edf2;
  box-shadow: 0 26px 80px rgba(0,17,65,.34);
}
.s6-public-dialog::backdrop { background: rgba(0,17,65,.68); }
.s6-public-dialog__surface { max-height: calc(100dvh - 40px); overflow: auto; }
.s6-public-dialog__header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border-bottom: 1px solid #c9d2dc;
  background: #e8edf2;
}
.s6-public-dialog__header h2 { margin: 2px 0 0; color: #001141; font: 700 26px/1.15 var(--font-score); }
.s6-public-dialog__header button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid #a9b7c7; border-radius: 8px; background: transparent; cursor: pointer; }
.s6-public-dialog__header button img { width: 22px; height: 22px; }
.s6-public-dialog__header button:hover,.s6-public-dialog__header button:focus-visible { background: #d7e0e9; border-color: #0043ce; }
.s6-dialog-status { margin: 0; padding: 0 24px; color: #58697c; }
.s6-dialog-status:not(:empty) { padding-block: 22px; }
.s6-public-dialog__body { padding: 24px; }
.s6-public-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; }
.s6-public-details div { padding: 14px; border: 1px solid #c9d2dc; border-radius: 8px; background: #dce3eb; }
.s6-public-details dt { color: #58697c; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.s6-public-details dd { margin: 7px 0 0; color: #001141; font-weight: 700; line-height: 1.4; }
.s6-public-categories { display: grid; gap: 10px; }
.s6-public-category { padding: 16px; border: 1px solid #c9d2dc; border-radius: 8px; background: #dce3eb; }
.s6-public-category__heading { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.s6-public-category h3 { margin: 0; color: #001141; font-size: 17px; }
.s6-public-category__heading > span { color: #58697c; font-size: 12px; }
.s6-public-category__weights { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.s6-public-category__weights span { padding: 6px 9px; border: 1px solid #aebaca; border-radius: 6px; background: #e8edf2; font-size: 12px; font-weight: 700; }
.s6-dialog-empty { margin: 0; color: #58697c; }

@media (max-width:1080px) {
  .s6-tournament-card { grid-template-columns: 74px minmax(220px, 1fr) minmax(235px, .9fr); }
  .s6-tournament-card__actions { grid-column: 2 / -1; justify-content: end; }
}

@media (max-width:720px) {
  .s6-public-hero { padding: 44px 0 48px; background-position: center, right center; }
  body[data-shared-page="tournaments"] .s6-main { padding-top: 18px; padding-bottom: 24px; }
  .s6-tournament-card { grid-template-columns: 56px minmax(0, 1fr); gap: 14px 16px; min-height: 0; padding: 18px; }
  .s6-tournament-card__mark { grid-row: 1 / span 2; border-right: 1px solid #c3cdd8; }
  .s6-tournament-card__mark strong { font-size: 26px; }
  .s6-tournament-card__summary h2 { font-size: 18px; }
  .s6-tournament-card__summary p { font-size: 13px; }
  .s6-tournament-card__facts { grid-column: 2; grid-template-columns: 1fr; gap: 6px; }
  .s6-tournament-card__fact-group { gap: 6px; }
  .s6-tournament-card__actions { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; }
  .s6-tournament-card__actions .s6-card-action { min-width: 0; width: 100%; min-height: 46px; padding-inline: 10px; }
  .s6-public-dialog { width: 100%; max-width: none; max-height: 84dvh; margin: auto 0 0; border-radius: 18px 18px 0 0; }
  .s6-public-dialog__surface { max-height: 84dvh; }
  .s6-public-dialog__header { padding: 20px 18px 14px; }
  .s6-public-dialog__header h2 { font-size: 21px; }
  .s6-public-dialog__body { padding: 18px 18px calc(24px + env(safe-area-inset-bottom)); }
  .s6-public-details { grid-template-columns: 1fr; }
  .s6-public-category__heading { display: grid; gap: 4px; }
}

@media (prefers-reduced-motion:reduce) {
  .s6-tournament-card__actions .s6-card-action { transition-duration: 1ms !important; }
}

/* Stage 06 interactive targets keep the documented 44px minimum. */
.s6-brand,
.s6-header nav a,
.s6-filters button,
[data-smart-select] > button,
[data-smart-select] > [role="listbox"] button,
.s6-card-action,
.s6-dialog__close button,
.s6-editor-tabs button,
.s6-public-dialog__header button {
  min-width: 44px;
  min-height: 44px;
}

.s6-header nav a {
  display: inline-flex;
  align-items: center;
}

/* D107: the Stage 06 admin is an operational work queue, visually aligned with the public shell. */
body[data-stage06-admin] {
  min-height: 100vh;
  font-family: var(--font-ui);
  background: var(--ucl-page);
}

body[data-stage06-admin] .s6-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid #173a83;
  background: var(--carbon-blue-100);
}

body[data-stage06-admin] .s6-header__inner {
  min-height: 68px;
  padding-inline: 24px;
}

body[data-stage06-admin] .s6-brand {
  min-height: 44px;
  font-size: 15px;
  letter-spacing: -.025em;
}

body[data-stage06-admin] .s6-brand img {
  width: 42px;
  height: 42px;
}

body[data-stage06-admin] .s6-header nav {
  align-self: stretch;
  align-items: stretch;
  gap: 2px;
}

body[data-stage06-admin] .s6-header nav a {
  position: relative;
  justify-content: center;
  gap: 8px;
  min-width: 54px;
  min-height: 54px;
  padding: 0 12px;
  color: var(--carbon-blue-20);
  font-size: 13px;
  font-weight: 700;
  transition: background-color var(--motion-duration) var(--motion-curve), color var(--motion-duration) var(--motion-curve);
}

body[data-stage06-admin] .s6-header nav a img {
  width: 21px;
  height: 21px;
  filter: brightness(0) invert(1);
  opacity: .7;
  transition: opacity var(--motion-duration) var(--motion-curve);
}

body[data-stage06-admin] .s6-header nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--carbon-blue-40);
  transform: translateX(-50%);
  transition: width var(--motion-duration) var(--motion-curve);
}

body[data-stage06-admin] .s6-header nav a:hover,
body[data-stage06-admin] .s6-header nav a:focus-visible,
body[data-stage06-admin] .s6-header nav a[aria-current="page"] {
  color: #fff;
  background: #0b2b72;
}

body[data-stage06-admin] .s6-header nav a:hover img,
body[data-stage06-admin] .s6-header nav a:focus-visible img,
body[data-stage06-admin] .s6-header nav a[aria-current="page"] img { opacity: 1; }
body[data-stage06-admin] .s6-header nav a[aria-current="page"]::after { width: 20px; }

body[data-stage06-admin] .s6-hero {
  padding: 42px 0 46px;
  border-top: 0;
  background: var(--carbon-blue-100);
}

body[data-stage06-admin] .s6-hero__grid {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 56px;
}

body[data-stage06-admin] .s6-hero__copy { min-width: 0; }

body[data-stage06-admin] .s6-hero h1 {
  max-width: none;
  margin: 8px 0 14px;
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1;
}

body[data-stage06-admin] .s6-hero p {
  max-width: 700px;
  margin: 0;
  color: var(--carbon-blue-20);
  font-size: 16px;
  line-height: 1.55;
}

body[data-stage06-admin] .s6-hero .s6-kicker {
  color: var(--carbon-blue-40);
  font-size: 11px;
}

body[data-stage06-admin] .s6-hero__controls {
  display: flex;
  align-items: center;
  gap: 32px;
}

body[data-stage06-admin] .s6-season-mark {
  min-width: 172px;
  padding: 9px 0 9px 22px;
  border-left: 3px solid var(--carbon-blue-40);
}

body[data-stage06-admin] .s6-season-mark strong {
  font-size: 46px;
  line-height: 1;
}

body[data-stage06-admin] .s6-season-mark span,
body[data-stage06-admin] .s6-season-mark small { font-size: 11px; }

body[data-stage06-admin] .s6-button--create {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 190px;
  min-height: 54px;
  padding-inline: 22px;
}

body[data-stage06-admin] .s6-button--create img {
  width: 21px;
  height: 21px;
  filter: brightness(0) invert(1);
}

body[data-stage06-admin] .s6-main {
  padding-top: 22px;
  padding-bottom: 72px;
}

body[data-stage06-admin] .s6-livebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  margin-bottom: 16px;
}

body[data-stage06-admin] .s6-live { min-height: 0; margin: 0; color: var(--muted); font-size: 13px; }

body[data-stage06-admin] .s6-refresh {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #aebaca;
  border-radius: 8px;
  color: var(--ucl-ink);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: background-color var(--motion-duration), border-color var(--motion-duration), color var(--motion-duration);
}

body[data-stage06-admin] .s6-refresh img { width: 18px; height: 18px; }
body[data-stage06-admin] .s6-refresh:hover,
body[data-stage06-admin] .s6-refresh:focus-visible { border-color: var(--carbon-blue-70); color: var(--carbon-blue-70); background: var(--ucl-surface); }

body[data-stage06-admin] .s6-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body[data-stage06-admin] .s6-overview-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 122px;
  padding: 20px;
  border: 1px solid #bdc9d6;
  border-radius: 8px;
  background: var(--ucl-surface);
}

body[data-stage06-admin] .s6-overview-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #d5dde7;
}

body[data-stage06-admin] .s6-overview-card__icon--ready { background: var(--carbon-blue-20); }
body[data-stage06-admin] .s6-overview-card__icon--published { background: #cce8dd; }
body[data-stage06-admin] .s6-overview-card__icon img { width: 25px; height: 25px; }

body[data-stage06-admin] .s6-overview-card strong {
  display: block;
  color: var(--carbon-blue-100);
  font: 700 29px/1 var(--font-score);
}

body[data-stage06-admin] .s6-overview-card h2 {
  margin: 6px 0 2px;
  color: var(--ucl-ink);
  font-size: 15px;
  line-height: 1.25;
}

body[data-stage06-admin] .s6-overview-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.4; }

body[data-stage06-admin] .s6-section-head { margin: 38px 0 16px; }
body[data-stage06-admin] .s6-section-head h2 { color: var(--carbon-blue-100); font-size: 31px; }
body[data-stage06-admin] .s6-section-note { margin: 7px 0 0; color: var(--muted); font-size: 14px; }

body[data-stage06-admin] .s6-filters [data-smart-select] { min-width: 154px; }
body[data-stage06-admin] .s6-filters button,
body[data-stage06-admin] [data-smart-select] > button { min-height: 46px; background: var(--ucl-surface); border-color: #aebaca; }

body[data-stage06-admin] .s6-worklist-head,
body[data-stage06-admin] .s6-tournament-card {
  display: grid;
  grid-template-columns: 72px minmax(210px, 1.25fr) minmax(165px, .8fr) minmax(150px, .72fr) minmax(132px, .58fr) 116px;
  gap: 20px;
  align-items: center;
}

body[data-stage06-admin] .s6-worklist-head {
  padding: 0 20px 10px;
  color: #66778b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body[data-stage06-admin] .s6-tournament-list { gap: 8px; }

body[data-stage06-admin] .s6-tournament-card {
  min-height: 112px;
  padding: 16px 20px;
  border-color: #bdc9d6;
  background: var(--ucl-surface);
}

body[data-stage06-admin] .s6-tournament-card:hover { border-color: #8fa1b5; background: #edf1f5; }

body[data-stage06-admin] .s6-tournament-card__mark {
  align-self: stretch;
  display: grid;
  align-content: center;
  border-right: 1px solid #c3cdd8;
}

body[data-stage06-admin] .s6-tournament-card__mark span,
body[data-stage06-admin] .s6-queue-field > span {
  color: #69788a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body[data-stage06-admin] .s6-tournament-card__mark strong {
  color: var(--carbon-blue-70);
  font: 700 29px/1 var(--font-score);
}

body[data-stage06-admin] .s6-tournament-card__summary { min-width: 0; }
body[data-stage06-admin] .s6-tournament-card__summary h3 { margin: 0 0 6px; color: var(--carbon-blue-100); font-size: 17px; line-height: 1.25; overflow-wrap: anywhere; }
body[data-stage06-admin] .s6-tournament-card__summary p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.4; }

body[data-stage06-admin] .s6-queue-field { min-width: 0; display: grid; gap: 4px; }
body[data-stage06-admin] .s6-queue-field strong { color: var(--ucl-ink); font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
body[data-stage06-admin] .s6-queue-field small { color: var(--muted); font-size: 12px; }
body[data-stage06-admin] .s6-tournament-card__status { min-width: 0; }

body[data-stage06-admin] .s6-card-action {
  width: 100%;
  min-height: 46px;
  border: 2px solid var(--carbon-blue-70);
  color: #003b96;
  background: transparent;
  font-weight: 800;
  transition: color var(--motion-duration), background-color var(--motion-duration), border-color var(--motion-duration);
}

body[data-stage06-admin] .s6-card-action:hover,
body[data-stage06-admin] .s6-card-action:focus-visible { color: #fff; background: var(--carbon-blue-70); border-color: var(--carbon-blue-70); }

body[data-stage06-admin] .s6-source {
  margin-top: 46px;
  padding-top: 4px;
  border-top-color: #b8c4d1;
}

body[data-stage06-admin] .s6-source .s6-section-head { margin-top: 24px; }
body[data-stage06-admin] .s6-source__flag { background: var(--carbon-blue-20); color: var(--carbon-blue-90); }

body[data-stage06-admin] .s6-dialog__close button {
  display: grid;
  place-items: center;
  border: 1px solid #aebaca;
  background: var(--ucl-page);
}

body[data-stage06-admin] .s6-dialog__close button:hover,
body[data-stage06-admin] .s6-dialog__close button:focus-visible { border-color: var(--carbon-blue-70); background: var(--carbon-blue-20); }

@media (max-width: 1120px) {
  body[data-stage06-admin] .s6-header nav a span { display: none; }
  body[data-stage06-admin] .s6-header nav a { width: 54px; padding: 0; }
  body[data-stage06-admin] .s6-worklist-head { display: none; }
  body[data-stage06-admin] .s6-tournament-card {
    grid-template-columns: 70px minmax(220px, 1fr) minmax(160px, .8fr) minmax(140px, .7fr) 116px;
    grid-template-areas: "mark summary schedule profile action" "mark summary status status action";
  }
  body[data-stage06-admin] .s6-tournament-card__mark { grid-area: mark; }
  body[data-stage06-admin] .s6-tournament-card__summary { grid-area: summary; }
  body[data-stage06-admin] .s6-queue-field:nth-of-type(3) { grid-area: schedule; }
  body[data-stage06-admin] .s6-queue-field:nth-of-type(4) { grid-area: profile; }
  body[data-stage06-admin] .s6-tournament-card__status { grid-area: status; }
  body[data-stage06-admin] .s6-card-action { grid-area: action; }
}

@media (max-width: 900px) {
  body[data-stage06-admin] .s6-hero__grid { grid-template-columns: 1fr; gap: 28px; }
  body[data-stage06-admin] .s6-hero__controls { justify-content: space-between; }
  body[data-stage06-admin] .s6-overview { grid-template-columns: 1fr; }
  body[data-stage06-admin] .s6-overview-card { min-height: 92px; }
  body[data-stage06-admin] .s6-tournament-card {
    grid-template-columns: 62px minmax(0, 1fr) 116px;
    grid-template-areas: "mark summary action" "mark schedule action" "mark profile status";
  }
}

@media (max-width: 640px) {
  body[data-stage06-admin] .s6-header__inner { min-height: 62px; padding-inline: 16px; }
  body[data-stage06-admin] .s6-brand img { width: 40px; height: 40px; }
  body[data-stage06-admin] .s6-header nav a { width: 46px; min-width: 46px; }
  body[data-stage06-admin] .s6-hero { padding: 30px 0 34px; }
  body[data-stage06-admin] .s6-hero h1 { font-size: clamp(36px, 11vw, 46px); }
  body[data-stage06-admin] .s6-hero p { font-size: 15px; }
  body[data-stage06-admin] .s6-hero__controls { align-items: stretch; gap: 18px; }
  body[data-stage06-admin] .s6-season-mark { min-width: 126px; padding-left: 16px; }
  body[data-stage06-admin] .s6-season-mark strong { font-size: 39px; }
  body[data-stage06-admin] .s6-button--create { min-width: 0; min-height: 52px; padding-inline: 16px; }
  body[data-stage06-admin] .s6-main { padding-top: 14px; padding-bottom: 36px; }
  body[data-stage06-admin] .s6-livebar { align-items: flex-start; }
  body[data-stage06-admin] .s6-refresh { flex: 0 0 auto; }
  body[data-stage06-admin] .s6-overview-card { grid-template-columns: 46px minmax(0, 1fr); padding: 16px; }
  body[data-stage06-admin] .s6-overview-card__icon { width: 46px; height: 46px; }
  body[data-stage06-admin] .s6-section-head { margin-top: 30px; }
  body[data-stage06-admin] .s6-tournament-card {
    grid-template-columns: 54px minmax(0, 1fr);
    grid-template-areas: "mark summary" "mark status" "schedule schedule" "profile profile" "action action";
    gap: 14px 16px;
    padding: 16px;
  }
  body[data-stage06-admin] .s6-tournament-card__mark { grid-row: auto; }
  body[data-stage06-admin] .s6-tournament-card__mark strong { font-size: 25px; }
  body[data-stage06-admin] .s6-card-action { width: 100%; }
  body[data-stage06-admin] .s6-source__flag { align-self: flex-start; }
}

@media (max-width: 420px) {
  body[data-stage06-admin] .s6-brand span { display: none; }
  body[data-stage06-admin] .s6-hero__controls { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
  body[data-stage06-admin] .s6-button--create { font-size: 13px; }
}

/* D109: quiet production administration. */
body[data-stage06-admin] {
  --admin-line: #b8c4d1;
  --admin-field: #eef2f6;
}

body[data-stage06-admin] .s6-header__inner { min-height: 64px; }
body[data-stage06-admin] .s6-header nav { align-self: stretch; gap: 24px; }
body[data-stage06-admin] .s6-header nav a {
  display: flex;
  align-items: center;
  width: auto;
  min-width: 0;
  padding: 0;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #aebbd1;
  font-size: 14px;
  font-weight: 650;
}
body[data-stage06-admin] .s6-header nav a:hover,
body[data-stage06-admin] .s6-header nav a:focus-visible,
body[data-stage06-admin] .s6-header nav a[aria-current="page"] { color: #fff; background: transparent; border-bottom-color: #60c0ca; }

body[data-stage06-admin] .s6-main { padding-top: 34px; }
body[data-stage06-admin] .s6-admin-title { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
body[data-stage06-admin] .s6-admin-title h1 { margin: 0; color: var(--carbon-blue-100); font: 700 clamp(30px, 4vw, 42px)/1.05 var(--font-score); letter-spacing: -.025em; }
body[data-stage06-admin] .s6-admin-title p { margin: 7px 0 0; color: #607084; font-size: 13px; }
body[data-stage06-admin] .s6-button,
body[data-stage06-admin] .s6-refresh,
body[data-stage06-admin] .s6-card-action { border-radius: 4px; }
body[data-stage06-admin] .s6-button--create { min-width: 0; min-height: 46px; padding: 9px 16px; }
body[data-stage06-admin] .s6-livebar { min-height: 32px; margin: 14px 0 20px; padding-bottom: 14px; border-bottom: 1px solid var(--admin-line); }
body[data-stage06-admin] .s6-refresh { min-height: 36px; padding: 6px 10px; border: 0; color: #546579; }
body[data-stage06-admin] .s6-section-head { align-items: center; margin: 0 0 12px; }
body[data-stage06-admin] .s6-filters { gap: 6px; }
body[data-stage06-admin] .s6-filters [data-smart-select] { min-width: 148px; }
body[data-stage06-admin] .s6-filters button,
body[data-stage06-admin] [data-smart-select] > button { min-height: 42px; border-radius: 4px; background: var(--admin-field); }
body[data-stage06-admin] [data-smart-select] > [role="listbox"] { border-radius: 4px; box-shadow: 0 8px 20px #0011411a; }

body[data-stage06-admin] .s6-worklist-head { padding: 10px 14px; border-bottom: 1px solid var(--admin-line); }
body[data-stage06-admin] .s6-tournament-list { display: block; }
body[data-stage06-admin] .s6-tournament-card {
  min-height: 84px;
  padding: 14px;
  border: 0;
  border-bottom: 1px solid var(--admin-line);
  border-radius: 0;
  background: transparent;
}
body[data-stage06-admin] .s6-tournament-card:hover { border-color: var(--admin-line); background: #e3e9ef; }
body[data-stage06-admin] .s6-tournament-card__mark { border-right: 0; }
body[data-stage06-admin] .s6-tournament-card__mark span { display: none; }
body[data-stage06-admin] .s6-tournament-card__mark strong { font-size: 24px; }
body[data-stage06-admin] .s6-tournament-card__summary h3 { margin: 0; font-size: 15px; }
body[data-stage06-admin] .s6-status { padding: 0; border-radius: 0; background: transparent; color: #3f5267; font-size: 12px; }
body[data-stage06-admin] .s6-status--published,
body[data-stage06-admin] .s6-status--completed { background: transparent; color: #0b6545; }
body[data-stage06-admin] .s6-status--cancelled { background: transparent; color: #8b1d2c; }
body[data-stage06-admin] .s6-card-action { min-height: 38px; border-width: 1px; font-size: 13px; }
body[data-stage06-admin] .s6-empty { padding: 30px 14px; border: 0; border-bottom: 1px solid var(--admin-line); border-radius: 0; background: transparent; color: #607084; text-align: left; }

body[data-stage06-admin] details.s6-source { margin-top: 34px; padding: 0; border-top: 1px solid var(--admin-line); }
body[data-stage06-admin] details.s6-source > summary { min-height: 52px; display: flex; align-items: center; cursor: pointer; color: #223245; font-weight: 700; list-style-position: inside; }
body[data-stage06-admin] .s6-source__body { padding: 10px 0 22px; }
body[data-stage06-admin] .s6-stage,
body[data-stage06-admin] .s6-division { border-radius: 4px; }

body[data-stage06-admin] .s6-dialog { width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 32px); border-radius: 4px; background: transparent; box-shadow: 0 18px 54px #00114140; overflow: visible; }
body[data-stage06-admin] .s6-dialog--wide { width: min(1020px, calc(100% - 32px)); }
body[data-stage06-admin] .s6-dialog::backdrop { background: #0011419c; }
body[data-stage06-admin] .s6-dialog__surface { position: relative; max-height: calc(100dvh - 32px); overflow: auto; border-radius: 4px; background: var(--ucl-surface); }
body[data-stage06-admin] .s6-dialog__close { position: absolute; inset: 0 0 auto auto; z-index: 5; height: auto; }
body[data-stage06-admin] .s6-dialog__close button { width: 38px; height: 38px; min-width: 38px; min-height: 38px; margin: 14px; border: 0; border-radius: 4px; background: transparent; font-size: 24px; }
body[data-stage06-admin] .s6-form { padding: 28px; }
body[data-stage06-admin] .s6-form > .s6-live:first-child { display: none; }
body[data-stage06-admin] .s6-form > .s6-live:first-child:not(:empty) { display: block; margin: 0 48px 14px 0; }
body[data-stage06-admin] .s6-form h2 { margin: 0 48px 22px 0; font-size: 27px; }
body[data-stage06-admin] .s6-form label { margin-top: 13px; font-size: 14px; }
body[data-stage06-admin] .s6-form input,
body[data-stage06-admin] .s6-form textarea { border-radius: 4px; background: #f2f5f8; }
body[data-stage06-admin] .s6-entry-mode { display: flex; flex-wrap: wrap; gap: 14px 24px; padding: 0; margin: 16px 0 4px; }
body[data-stage06-admin] .s6-entry-mode legend { margin-bottom: 8px; font-size: 14px; font-weight: 700; }
body[data-stage06-admin] .s6-entry-mode label { margin: 0; gap: 8px; font-size: 14px; }
body[data-stage06-admin] .s6-entry-mode input { width: 18px; height: 18px; margin: 0; padding: 0; }
body[data-stage06-admin] .s6-form-more { margin-top: 18px; border-top: 1px solid var(--admin-line); border-bottom: 1px solid var(--admin-line); }
body[data-stage06-admin] .s6-form-more > summary { display: flex; align-items: center; min-height: 48px; cursor: pointer; font-size: 14px; font-weight: 700; }
body[data-stage06-admin] .s6-form-more__body { padding: 0 0 18px; }
body[data-stage06-admin] .s6-form__actions { margin-top: 22px; }

body[data-admin-section="profiles"] .dashboard { padding-top: 34px; padding-bottom: 64px; }
body[data-admin-section="profiles"] .dashboard-heading { max-width: none; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--admin-line); }
body[data-admin-section="profiles"] .dashboard-heading h1 { margin: 0; color: var(--carbon-blue-100); font: 700 clamp(30px, 4vw, 42px)/1.05 var(--font-score); letter-spacing: -.025em; }
body[data-admin-section="profiles"] .dashboard-status { margin: 7px 0 0; min-height: 0; font-size: 13px; }
body[data-admin-section="profiles"] .dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 34px; }
body[data-admin-section="profiles"] .dash-card { min-height: 0; padding: 0; overflow: visible; border: 0; border-radius: 0; background: transparent; }
body[data-admin-section="profiles"] .dash-card::before { display: none; }
body[data-admin-section="profiles"] .dash-card--queue { min-height: 280px; }
body[data-admin-section="profiles"] .dash-card__head { align-items: center; min-height: 46px; padding-bottom: 10px; border-bottom: 1px solid var(--admin-line); }
body[data-admin-section="profiles"] .dash-card h2 { margin: 0; color: #172332; font: 700 21px/1.2 var(--font-score); }
body[data-admin-section="profiles"] .choice-group { gap: 12px; padding: 0; border: 0; border-radius: 0; }
body[data-admin-section="profiles"] .choice-group label { gap: 5px; margin: 0; font-size: 12px; }
body[data-admin-section="profiles"] .choice-group input { width: 16px; height: 16px; }
body[data-admin-section="profiles"] .card-list { gap: 0; }
body[data-admin-section="profiles"] .person-card,
body[data-admin-section="profiles"] .relation-card { min-height: 68px; padding: 12px 0; border: 0; border-bottom: 1px solid #c4ced9; border-radius: 0; background: transparent; }
body[data-admin-section="profiles"] .empty-state { min-height: 68px; padding: 20px 0; border: 0; border-radius: 0; background: transparent; }
body[data-admin-section="profiles"] .state-notice { padding: 16px 0; border: 0; border-top: 1px solid var(--admin-line); border-radius: 0; background: transparent; }
body[data-admin-section="profiles"] .dash-tool { grid-column: 1 / -1; border-top: 1px solid var(--admin-line); }
body[data-admin-section="profiles"] .dash-tool > summary { min-height: 54px; display: flex; align-items: center; cursor: pointer; color: #172332; font-weight: 700; }
body[data-admin-section="profiles"] .dash-tool__body { max-width: 820px; padding: 0 0 26px; }
body[data-admin-section="profiles"] .dash-card input,
body[data-admin-section="profiles"] .dash-card textarea,
body[data-admin-section="profiles"] .secondary-button,
body[data-admin-section="profiles"] .auth-submit { border-radius: 4px; }
body[data-admin-section="profiles"] .merge-grid { margin-top: 4px; }
body[data-admin-section="profiles"] .visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
  body[data-stage06-admin] .s6-worklist-head { display: none; }
  body[data-stage06-admin] .s6-tournament-card { grid-template-columns: 54px minmax(0, 1fr) 110px; grid-template-areas: "mark summary action" "mark schedule action" "mark profile status"; }
  body[data-stage06-admin] .s6-queue-field > span { display: block; }
  body[data-admin-section="profiles"] .dashboard-grid { grid-template-columns: 1fr; }
  body[data-admin-section="profiles"] .dash-tool { grid-column: auto; }
}

@media (max-width: 640px) {
  body[data-stage06-admin] .s6-brand span { display: none; }
  body[data-stage06-admin] .s6-header nav { gap: 15px; }
  body[data-stage06-admin] .s6-header nav a { width: auto; min-width: 0; font-size: 13px; }
  body[data-stage06-admin] .s6-admin-title { align-items: flex-start; }
  body[data-stage06-admin] .s6-admin-title h1 { font-size: 30px; }
  body[data-stage06-admin] .s6-button--create { min-height: 42px; padding-inline: 12px; font-size: 13px; }
  body[data-stage06-admin] .s6-filters { display: grid; grid-template-columns: 1fr; }
  body[data-stage06-admin] .s6-filters [data-smart-select] { min-width: 100%; }
  body[data-stage06-admin] .s6-tournament-card { grid-template-columns: 46px minmax(0, 1fr); grid-template-areas: "mark summary" "mark status" "schedule schedule" "profile profile" "action action"; }
  body[data-stage06-admin] .s6-dialog { width: 100%; max-height: calc(100dvh - 16px); margin: auto 0 0; border-radius: 0; }
  body[data-stage06-admin] .s6-dialog__surface { max-height: calc(100dvh - 16px); border-radius: 0; }
  body[data-stage06-admin] .s6-form { padding: 24px 18px; }
  body[data-admin-section="profiles"] .dashboard { padding: 26px 16px 48px; }
  body[data-admin-section="profiles"] .dash-card__head { align-items: flex-start; flex-direction: column; }
}
