:root {
  --bg: #f3f5f1;
  --surface: #fffefa;
  --surface-2: #f7faf6;
  --ink: #18201d;
  --muted: #606c67;
  --line: #d6ded8;
  --line-strong: #b7c4bd;
  --primary: #0f766e;
  --primary-dark: #0a4d48;
  --accent: #c5741a;
  --accent-soft: #fff2df;
  --danger: #b5443a;
  --danger-soft: #fff0ed;
  --focus: #2f6fa8;
  --header: #17201d;
  --header-2: #20332d;
  --shadow: 0 12px 32px rgba(24, 32, 29, .10);
}

* { box-sizing: border-box; }
html { min-width: 320px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
}
a { color: var(--primary-dark); text-decoration: none; }
a:hover { color: var(--primary); text-decoration: underline; }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.22; letter-spacing: 0; margin: 0 0 12px; }
h1 { font-size: clamp(32px, 5vw, 54px); }
h2 { font-size: clamp(22px, 3vw, 30px); }
h3 { font-size: 18px; }
p { margin: 0 0 14px; }
small { color: var(--muted); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(16px, 4vw, 56px);
  background: var(--header);
  border-bottom: 3px solid var(--accent);
  color: #eef5f1;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 4px 18px rgba(17, 24, 20, .18);
}
.brand {
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--accent);
  box-shadow: 10px 0 0 var(--primary);
}
.brand:hover { color: #fff; text-decoration: none; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; font-size: 14px; }
.nav a {
  color: #eef5f1;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 8px 10px;
}
.nav a:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); text-decoration: none; }

.main { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0 58px; }
.site-footer {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px clamp(16px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.eyebrow { color: var(--accent); font-weight: 800; letter-spacing: 0; }
.meta, .muted { color: var(--muted); }
.page-header { margin: 0 0 24px; }
.page-header.compact { max-width: 680px; margin-inline: auto; text-align: center; }
.page-header p { max-width: 760px; }

.search-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
  margin-bottom: 34px;
  background: var(--header);
  color: #f4fbf7;
  border: 1px solid #263932;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.search-hero h1 { color: #fff; }
.search-hero p:not(.eyebrow) { color: #dbe6e0; font-size: 17px; }
.search-hero .search-box { box-shadow: none; }

.search-box,
.form-panel,
.side-panel,
.team-card,
.team-row,
.stat,
.detail-section,
.detail-grid > div,
.dashboard-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 8px 22px rgba(24, 32, 29, .06);
}
.search-box, .form-panel { display: grid; gap: 14px; }
.side-panel h2, .team-card h3, .detail-section h2, .detail-grid h2 { color: var(--header); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; color: var(--header); }
input, select, textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 9px 10px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
textarea { min-height: 160px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(47, 111, 168, .20);
  border-color: var(--focus);
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 6px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #152012;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
button:hover, .button:hover { background: #b8e84a; border-color: var(--primary-dark); color: #152012; text-decoration: none; }
.button.ghost, button.ghost { color: var(--primary-dark); background: #fff; border-color: var(--line-strong); }
.button.ghost:hover, button.ghost:hover { background: var(--surface-2); color: var(--primary-dark); border-color: var(--primary); }
.button.accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.button.accent:hover { background: #9b5813; border-color: #9b5813; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.check input { width: auto; min-height: auto; }

.section-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.team-card { display: grid; gap: 8px; align-content: start; }
.team-card h3, .team-row h2 { margin-bottom: 4px; }
.team-list { display: grid; gap: 14px; margin-top: 18px; }
.team-row { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.filter-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; align-items: end; margin-bottom: 18px; }

.notice {
  padding: 12px 14px;
  border-radius: 6px;
  margin: 0 0 16px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.notice.success { border-color: #88bea5; background: #eef8f2; color: #164f3f; }
.notice.error { border-color: #e5a59a; background: var(--danger-soft); color: #7d251f; }

.detail-header { display: flex; justify-content: space-between; gap: 24px; align-items: start; }
.actions, .split-actions, .quick-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
dl { display: grid; grid-template-columns: 130px 1fr; gap: 8px 12px; }
dt { color: var(--muted); }
dd { margin: 0; overflow-wrap: anywhere; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tags span, .status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  background: var(--surface-2);
  color: var(--header);
  font-size: 13px;
  font-weight: 700;
}
.status-pill.open, .status-pill.published, .status-pill.active, .status-pill.done { background: #e9f7f2; border-color: #94cdb8; color: #145844; }
.status-pill.pending, .status-pill.new, .status-pill.reviewing { background: var(--accent-soft); border-color: #ebc48d; color: #7a430d; }
.status-pill.closed, .status-pill.suspended, .status-pill.rejected, .status-pill.spam { background: var(--danger-soft); border-color: #eba99e; color: #822b24; }
.map-placeholder {
  min-height: 280px;
  display: grid;
  place-items: center;
  border: 1px dashed #93a29a;
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface-2);
}

.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.stat span { display: block; color: var(--muted); font-size: 13px; font-weight: 700; }
.stat strong { font-size: 30px; color: var(--header); }
.narrow { max-width: 520px; margin-inline: auto; }

.table-wrap { overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 22px rgba(24,32,29,.06); }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
th, td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--header); color: #f3f8f5; font-weight: 800; position: sticky; top: 0; }
td { background: #fff; }
tr:nth-child(even) td { background: #fbfcfa; }
.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.admin-tabs a { padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); font-weight: 700; }
.admin-tabs a:hover { background: var(--header); color: #fff; text-decoration: none; }
.inline-form { display: flex; gap: 8px; align-items: center; margin: 0; flex-wrap: wrap; }
.inline-form input, .inline-form select { min-height: 34px; max-width: 180px; }
.inline-form button { min-height: 34px; padding: 6px 10px; }

.dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dashboard-panel { display: grid; gap: 10px; align-content: start; }
.panel-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.panel-list li { padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); }
.message-box { background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.field-note { color: var(--muted); font-size: 13px; font-weight: 500; }

@media (max-width: 900px) {
  .site-header, .team-row, .detail-header { align-items: flex-start; flex-direction: column; }
  .search-hero, .section-grid, .detail-grid, .filter-bar, .form-grid, .stat-grid, .dashboard-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  h1 { font-size: 34px; }
  table { min-width: 640px; }
}


.team-search-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 28px;
  padding: clamp(36px, 6vw, 58px) clamp(18px, 4vw, 54px);
  background: #073848;
  color: #fff;
  border-radius: 0;
  border: 1px solid #0b4657;
  box-shadow: 0 16px 38px rgba(8, 27, 32, .18);
}
.team-search-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(166,217,47,.13) 0 2px, transparent 2px 84px),
    linear-gradient(45deg, rgba(34,126,122,.16) 0 2px, transparent 2px 96px);
  opacity: .8;
}
.hero-copy,
.hero-search-form { position: relative; z-index: 1; }
.hero-copy { text-align: center; margin: 0 auto 18px; }
.hero-copy h1 { color: #fff; font-size: clamp(34px, 6vw, 54px); text-shadow: 0 3px 0 rgba(0,0,0,.18); }
.hero-copy p { color: #f2f9f6; font-weight: 800; }
.hero-search-form {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1.05fr 1.15fr 1.05fr .95fr 58px;
  align-items: stretch;
  background: #fff;
  border-radius: 999px;
  padding: 8px;
  box-shadow: 0 16px 34px rgba(0,0,0,.24);
}
.hero-search-field {
  position: relative;
  display: grid;
  align-content: center;
  gap: 1px;
  padding: 0 12px 0 38px;
  min-height: 44px;
  border-right: 1px solid #d4dde1;
  font-size: 12px;
  font-weight: 800;
  color: #577079;
}
.hero-search-field::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  border: 2px solid #0b3d61;
  border-radius: 50%;
}
.hero-search-field.field-region::before { border-radius: 50% 50% 50% 0; transform: translateY(-58%) rotate(-45deg); }
.hero-search-field.field-city::before { border-radius: 3px; }
.hero-search-field.field-sport-category::before { box-shadow: inset 0 0 0 3px #fff; background: #0b3d61; }
.hero-search-field.field-sport-detail::before { border-radius: 3px 8px 8px 3px; }
.hero-search-field.field-age::before { border-radius: 50%; background: linear-gradient(90deg, transparent 45%, #0b3d61 45% 55%, transparent 55%); }
.hero-search-field select {
  min-height: 22px;
  padding: 0 22px 0 0;
  border: 0;
  background: transparent;
  color: #082b3b;
  font-weight: 800;
  appearance: auto;
}
.hero-search-field select:focus { outline: none; border: 0; }
.hero-search-field select:disabled { color: #8a9aa1; cursor: not-allowed; }
.hero-search-button {
  width: 50px;
  min-width: 50px;
  height: 50px;
  min-height: 50px;
  padding: 0;
  border-radius: 999px;
  border-color: #a6d92f;
  background: #a6d92f;
  color: #14310d;
  position: relative;
}
.hero-search-button span { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
.hero-search-button::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 3px solid #073848;
  border-radius: 50%;
  transform: translate(-1px, -1px);
}
.hero-search-button::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 3px;
  border-radius: 2px;
  background: #073848;
  transform: translate(10px, 10px) rotate(45deg);
}

.team-search-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(24,32,29,.06);
  margin-bottom: 18px;
}
.empty-results {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  margin: 18px 0;
}
.sport-browser {
  margin: 24px 0;
  padding: 24px;
  background: #071323;
  border-radius: 8px;
  color: #fff;
  border: 1px solid #10253b;
}
.sport-browser-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}
.sport-browser h2 {
  color: #fff;
  font-size: 22px;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
  margin: 0;
}
.sport-browser p { color: #b9c8d0; margin: 0; }
.sport-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 16px;
}
.sport-tile {
  min-height: 150px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 9px;
  padding: 16px 12px;
  background: #082033;
  border: 1px solid #0e2b43;
  border-radius: 6px;
  color: #fff;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.sport-tile:hover {
  text-decoration: none;
  color: #fff;
  border-color: #a6d92f;
  background: #0a2a40;
  transform: translateY(-1px);
}
.sport-thumb {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,.9);
  background: radial-gradient(circle at 30% 30%, #f4f6f0, #8fb84a 44%, #0e5d62 45%, #052439);
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  text-shadow: 0 2px 5px rgba(0,0,0,.45);
}
.sport-thumb::after { content: attr(data-mark); }
.sport-thumb-soccer,
.sport-thumb-futsal { background: radial-gradient(circle at 42% 42%, #f8f9f4 0 18%, #1f2b31 19% 24%, #f8f9f4 25% 43%, #58a55d 44% 100%); color: #0b2532; text-shadow: none; }
.sport-thumb-baseball,
.sport-thumb-softball { background: radial-gradient(circle, #faf8ef 0 55%, #b0c65b 56% 100%); color: #7b1e18; text-shadow: none; }
.sport-thumb-volleyball,
.sport-thumb-basketball,
.sport-thumb-handball,
.sport-thumb-dodgeball { background: linear-gradient(135deg, #f1a22b, #b84c24 50%, #331915); }
.sport-thumb-tennis,
.sport-thumb-soft-tennis,
.sport-thumb-table-tennis,
.sport-thumb-badminton { background: radial-gradient(circle at 32% 35%, #f1ff70 0 34%, #0b7566 35% 100%); color: #10210a; text-shadow: none; }
.sport-thumb-judo,
.sport-thumb-kendo,
.sport-thumb-karate,
.sport-thumb-aikido { background: linear-gradient(135deg, #ffffff, #d9dedf 55%, #111827 56% 100%); color: #111827; text-shadow: none; }
.sport-thumb-track-and-field,
.sport-thumb-running { background: linear-gradient(135deg, #d6403a, #f6c047 55%, #126b64); }
.sport-thumb-swimming,
.sport-thumb-water-polo { background: linear-gradient(135deg, #1e88c8, #4bd0d6 58%, #073848); }
.sport-name { font-weight: 900; font-size: 16px; }
.sport-category-name { color: #9fb5c0; font-size: 12px; font-weight: 800; }

@media (max-width: 1020px) {
  .hero-search-form { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 18px; }
  .hero-search-field { border-right: 0; border-bottom: 1px solid #d4dde1; }
  .hero-search-button { width: 100%; min-width: 100%; grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .team-search-hero { padding: 28px 14px; }
  .hero-search-form { grid-template-columns: 1fr; }
  .sport-browser { padding: 18px; }
  .sport-browser-header { display: block; }
  .sport-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sport-tile { min-height: 132px; padding: 12px 8px; }
  .sport-thumb { width: 62px; height: 62px; font-size: 18px; }
}


/* Hierarchical search picker */
.hero-search-form {
  grid-template-columns: minmax(0, 1fr) 58px;
}
.hero-search-form > .filter-picker { min-width: 0; }
.filter-picker { min-width: 0; }
.filter-pill-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  min-width: 0;
}
.filter-pill {
  min-height: 50px;
  border: 0;
  border-right: 1px solid #d4dde1;
  border-radius: 0;
  background: #fff;
  color: #082b3b;
  padding: 8px 16px 8px 42px;
  justify-content: flex-start;
  gap: 10px;
  position: relative;
  font-weight: 800;
  overflow: hidden;
}
.filter-pill:first-child { border-radius: 999px 0 0 999px; }
.filter-pill:last-child { border-right: 0; }
.filter-pill:hover { background: #f5faf4; color: #082b3b; border-color: transparent; }
.filter-pill::after {
  content: "⌄";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-54%);
  color: #08364a;
  font-size: 18px;
  font-weight: 900;
}
.filter-pill-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  border: 2px solid #0b3d61;
  border-radius: 50%;
}
.filter-pill-region .filter-pill-icon { border-radius: 50% 50% 50% 0; transform: translateY(-58%) rotate(-45deg); }
.filter-pill-sport .filter-pill-icon { box-shadow: inset 0 0 0 3px #fff; background: #0b3d61; }
.filter-pill-age .filter-pill-icon { background: linear-gradient(90deg, transparent 45%, #0b3d61 45% 55%, transparent 55%); }
.filter-pill-label {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 20px;
}
.team-search-panel .filter-pill-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.team-search-panel .filter-pill,
.team-search-panel .filter-pill:first-child {
  border-radius: 0;
}
.secondary-filter-bar { margin-top: 14px; }

html.filter-drawer-open,
html.filter-drawer-open body { overflow: hidden; }
.filter-drawer[hidden] { display: none !important; }
.filter-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: stretch;
  background: rgba(3, 16, 25, .42);
}
.filter-drawer-panel {
  width: min(430px, 100vw);
  height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #052f3d;
  color: #eaf4f6;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
}
.filter-drawer-header {
  min-height: 52px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  padding: 0 8px;
  border-bottom: 1px solid rgba(136, 184, 193, .22);
}
.filter-drawer-header strong {
  font-size: 16px;
  font-weight: 900;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.filter-back,
.filter-close {
  width: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #eaf4f6;
  font-size: 28px;
  line-height: 1;
}
.filter-back { font-size: 26px; }
.filter-back:hover,
.filter-close:hover { background: rgba(255,255,255,.08); color: #fff; }
.filter-drawer-body {
  min-height: 0;
  overflow: auto;
  scrollbar-color: #9fa7aa #f4f4f4;
}
.filter-screen-heading {
  position: sticky;
  top: 0;
  z-index: 1;
  margin: 0;
  padding: 12px 12px 10px;
  background: #052f3d;
  color: #eaf4f6;
  font-size: 15px;
  font-weight: 900;
  border-bottom: 1px solid rgba(136, 184, 193, .22);
}

.filter-screen[hidden],
.filter-check-row[hidden],
.filter-nav-row[hidden] { display: none !important; }
.filter-nav-row,
.filter-check-row {
  width: 100%;
  min-height: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(136, 184, 193, .24);
  border-radius: 0;
  background: #052f3d;
  color: #c7d7db;
  text-align: left;
  font-weight: 900;
}
.filter-nav-row:hover,
.filter-check-row:hover { background: #073848; color: #fff; }
.filter-nav-row .chevron {
  justify-self: end;
  color: #dce6e8;
  font-size: 34px;
  line-height: 1;
}
.filter-check-row {
  grid-template-columns: 22px minmax(0, 1fr);
  cursor: pointer;
}
.filter-check-row span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.filter-check-row input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  appearance: none;
  border: 2px solid #22df7b;
  border-radius: 2px;
  background: transparent;
}
.filter-check-row input:checked {
  background: #22df7b;
  box-shadow: inset 0 0 0 3px #052f3d;
}
.filter-drawer-footer {
  padding: 16px 24px 18px;
  background: #052f3d;
  border-top: 1px solid rgba(136, 184, 193, .2);
  display: grid;
  gap: 8px;
  justify-items: center;
}
.filter-apply {
  width: min(286px, 100%);
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: #20d86f;
  color: #062838;
  font-weight: 900;
}
.filter-apply:hover { background: #33e980; color: #062838; }
.filter-reset {
  min-height: 34px;
  border: 0;
  background: transparent;
  color: #fff;
  font-weight: 900;
}
.filter-reset:hover { background: rgba(255,255,255,.08); color: #fff; }

@media (max-width: 1020px) {
  .hero-search-form { grid-template-columns: minmax(0, 1fr) 58px; border-radius: 999px; }
  .hero-search-field { border-bottom: 0; }
  .hero-search-button { width: 50px; min-width: 50px; grid-column: auto; }
}
@media (max-width: 760px) {
  .hero-search-form {
    grid-template-columns: minmax(0, 1fr) 54px;
    border-radius: 22px;
  }
  .filter-pill-row { grid-template-columns: 1fr; }
  .filter-pill,
  .filter-pill:first-child,
  .filter-pill:last-child {
    min-height: 46px;
    border-radius: 0;
    border-right: 0;
    border-bottom: 1px solid #d4dde1;
  }
  .filter-pill:first-child { border-radius: 14px 0 0 0; }
  .filter-pill:last-child { border-bottom: 0; border-radius: 0 0 0 14px; }
  .hero-search-button { width: 50px; min-width: 50px; height: 100%; min-height: 50px; align-self: stretch; }
}
@media (max-width: 460px) {
  .filter-drawer { justify-content: flex-start; background: #052f3d; }
  .filter-drawer-panel { width: 100vw; }
}


/* No global header layout */
.main { padding-top: 0; }

.team-search-hero { margin-top: 0; background: #17201d; border-color: #24332d; }
.team-search-hero::before {
  background:
    linear-gradient(135deg, rgba(15,118,110,.18) 0 2px, transparent 2px 84px),
    linear-gradient(45deg, rgba(197,116,26,.16) 0 2px, transparent 2px 96px);
}
.hero-brand {
  width: fit-content;
  margin: 0 auto 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 900;
}
.hero-brand img { width: 42px; height: 42px; border-radius: 8px; }
.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.hero-ghost { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; }
.hero-ghost:hover { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.55); }
.hero-search-button { background: var(--accent); border-color: var(--accent); color: #fff; }
.hero-search-button:hover { background: #9b5813; border-color: #9b5813; }
.hero-search-button::before { border-color: #fff; }
.hero-search-button::after { background: #fff; }

.sport-browser { background: #17201d; border-color: #24332d; }
.sport-tile { background: #20332d; border-color: #31453e; }
.sport-tile:hover { background: #264139; border-color: var(--accent); }
.sport-thumb {
  background: #fffefa;
  border: 2px solid rgba(255,255,255,.92);
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}
.sport-thumb::after { display: none; }
.sport-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.listing-cta {
  margin: 24px 0;
  padding: 22px clamp(18px, 4vw, 28px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(24, 32, 29, .06);
}
.listing-cta h2 { margin-bottom: 8px; }
.listing-cta p:last-child { margin-bottom: 0; }

.site-footer {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr) auto;
  align-items: start;
  gap: 22px;
  background: #17201d;
  color: #dce6e1;
  border-top: 4px solid var(--accent);
}
.site-footer a { color: #eef5f1; }
.site-footer a:hover { color: #fff; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img { width: 42px; height: 42px; border-radius: 8px; }
.footer-brand strong { display: block; color: #fff; font-size: 17px; }
.footer-brand span { display: block; color: #aebdb7; font-size: 12px; font-weight: 800; }
.footer-links,
.footer-admin-links {
  display: flex;
  gap: 8px 14px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 800;
}
.footer-admin-links { justify-content: flex-end; font-size: 13px; color: #aebdb7; }

@media (max-width: 820px) {
  .listing-cta { grid-template-columns: 1fr; }
  .listing-cta .button { width: 100%; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-admin-links { justify-content: flex-start; }
}


/* Borderless generated pictogram icons */
.sport-thumb {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.sport-thumb img {
  object-fit: contain !important;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.16));
}
.sport-tile {
  border-color: transparent;
  background: rgba(255,255,255,.045);
}
.sport-tile:hover { border-color: transparent; }
.hero-brand img,
.footer-brand img { background: transparent; }

.plain-list { margin: 0; padding-left: 1.2em; }
.plain-list li { margin: 0 0 8px; }
.policy-page, .faq-list { display: grid; gap: 16px; }
.policy-page .detail-section, .faq-list .detail-section { margin: 0; }
.operator-info dl { grid-template-columns: 160px minmax(0, 1fr); }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}
.contact-form { gap: 18px; }
.contact-side { display: grid; gap: 14px; }
.contact-side .dashboard-panel { box-shadow: none; }
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .operator-info dl { grid-template-columns: 1fr; }
}


/* Reference-style sport icon cards */
.sport-browser {
  background: #f8faf6 !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
}
.sport-browser h2 { color: var(--header) !important; }
.sport-browser p { color: var(--muted) !important; }
.sport-card-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.sport-tile {
  min-height: 218px;
  padding: 12px 12px 14px;
  gap: 7px;
  background: #fffefa !important;
  border: 1px solid #e7ded0 !important;
  border-radius: 8px;
  color: var(--ink) !important;
  box-shadow: 0 8px 18px rgba(24, 32, 29, .07);
}
.sport-tile:hover {
  background: #fffefa !important;
  border-color: #d3c6b6 !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(24, 32, 29, .12);
}
.sport-thumb {
  width: min(128px, 100%);
  height: auto;
  aspect-ratio: 1 / 1;
  background: transparent !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
.sport-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  border-radius: 8px;
  display: block;
  filter: none !important;
}
.sport-name { color: #13231f; font-size: 16px; line-height: 1.25; }
.sport-category-name { color: #4c6760; font-size: 12px; }
@media (max-width: 620px) {
  .sport-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sport-tile { min-height: 190px; }
  .sport-thumb { width: min(112px, 100%); }
}

/* Final visual refinement: lime CTA, compact page header, search polish */
:root {
  --primary: #b7ef3a;
  --primary-dark: #6f9816;
  --accent: #b7ef3a;
  --accent-soft: #f1ffd1;
  --focus: #0f8c82;
}

.page-site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(16px, 4vw, 54px);
  background: rgba(23, 32, 29, .96);
  color: #f4fbf6;
  border-bottom: 3px solid var(--primary);
  box-shadow: 0 10px 28px rgba(12, 18, 15, .22);
  backdrop-filter: blur(12px);
}
.page-site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}
.page-site-brand:hover { color: #fff; text-decoration: none; }
.page-site-brand img { width: 34px; height: 34px; border-radius: 8px; }
.page-site-nav { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.page-site-nav a {
  color: #eaf4ef;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 800;
}
.page-site-nav a:hover { background: rgba(255,255,255,.10); color: #fff; text-decoration: none; }
.page-site-header + .main { padding-top: 28px; }

button,
.button {
  border-color: var(--primary) !important;
  background: var(--primary) !important;
  color: #14200e !important;
  box-shadow: 0 8px 18px rgba(86, 126, 10, .20);
}
button:hover,
.button:hover {
  background: #c6ff50 !important;
  border-color: #c6ff50 !important;
  color: #111c0c !important;
  text-decoration: none;
}
.button.ghost,
button.ghost,
.filter-reset,
.filter-back,
.filter-close,
.filter-nav-row,
.filter-pill {
  background: #fffefa !important;
  border-color: #d6ded8 !important;
  color: #17201d !important;
  box-shadow: none !important;
}
.button.ghost:hover,
button.ghost:hover,
.filter-reset:hover,
.filter-back:hover,
.filter-close:hover,
.filter-nav-row:hover,
.filter-pill:hover {
  background: #f3f8ed !important;
  border-color: #b7c4bd !important;
  color: #17201d !important;
}
.button.accent,
.listing-cta .button,
.side-panel .button,
.hero-search-button,
.search-submit-button,
.filter-apply {
  background: linear-gradient(135deg, #c8ff4d, #9bdd22) !important;
  border-color: #b7ef3a !important;
  color: #14200e !important;
  box-shadow: 0 12px 24px rgba(104, 151, 12, .25);
}
.button.accent:hover,
.listing-cta .button:hover,
.side-panel .button:hover,
.hero-search-button:hover,
.search-submit-button:hover,
.filter-apply:hover {
  background: linear-gradient(135deg, #d6ff72, #abea2b) !important;
  border-color: #d6ff72 !important;
}
.hero-search-button::before { border-color: #14200e !important; }
.hero-search-button::after { background: #14200e !important; }

.team-search-hero {
  padding: clamp(30px, 6vw, 64px) clamp(18px, 5vw, 58px) clamp(26px, 5vw, 48px);
  border: 0;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 18px 42px rgba(12, 18, 15, .20);
}
.team-search-hero h1 { font-size: clamp(34px, 6vw, 62px); }
.team-search-hero p { color: #d8e7e0; }
.hero-brand { border-color: rgba(183,239,58,.38); background: rgba(183,239,58,.10); }
.hero-search-form {
  width: min(980px, 100%);
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 260px) 62px;
  gap: 6px;
  align-items: stretch;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 18px;
  background: #fffefa;
  box-shadow: 0 18px 42px rgba(0,0,0,.20);
}
.hero-search-form .filter-pill-row { height: 100%; }
.hero-keyword-field,
.search-keyword-field {
  min-height: 56px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 8px 14px;
  border: 1px solid #dce5df;
  border-radius: 13px;
  background: #fffefa;
  color: #17201d;
  font-size: 12px;
  font-weight: 900;
}
.hero-keyword-field input,
.search-keyword-field input {
  min-height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #17201d;
  font-weight: 800;
  box-shadow: none;
}
.hero-keyword-field input:focus,
.search-keyword-field input:focus { outline: 0; border: 0; }
.hero-search-button {
  width: 62px;
  min-width: 62px;
  min-height: 56px;
  border-radius: 14px;
  padding: 0;
}
.hero-actions .button { min-height: 46px; border-radius: 999px; padding-inline: 18px; }
.hero-ghost,
.hero-actions .button.ghost {
  background: rgba(255,255,255,.10) !important;
  border-color: rgba(255,255,255,.34) !important;
  color: #fff !important;
  box-shadow: none;
}
.hero-ghost:hover,
.hero-actions .button.ghost:hover { background: rgba(255,255,255,.18) !important; color: #fff !important; }

.team-search-panel-modern {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
  padding: 18px;
  border: 0;
  border-radius: 14px;
  background: #17201d;
  color: #f4fbf6;
  box-shadow: 0 18px 38px rgba(12, 18, 15, .16);
}
.team-search-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.team-search-heading strong { display: block; font-size: 18px; color: #fff; }
.team-search-heading span { display: block; color: #bfcec7; font-size: 13px; }
.team-search-panel-modern .filter-pill-row {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 14px;
  background: #fffefa;
}
.search-inline-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}
.search-submit-button {
  min-width: 142px;
  min-height: 58px;
  border-radius: 13px;
  font-size: 15px;
}

.sport-browser {
  background: #fffefa !important;
  border: 0 !important;
  box-shadow: 0 10px 30px rgba(24, 32, 29, .06);
}
.sport-card-grid { gap: 18px; }
.sport-tile {
  min-height: 198px;
  padding: 12px 8px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.sport-tile:hover {
  background: #f3f8ed !important;
  border: 0 !important;
  border-radius: 12px;
  transform: translateY(-2px);
  box-shadow: none !important;
}
.sport-thumb {
  width: min(136px, 100%);
  border-radius: 0 !important;
}
.sport-thumb img {
  object-fit: contain !important;
  border-radius: 0 !important;
  mix-blend-mode: multiply;
}
.sport-name { font-size: 16px; font-weight: 900; }
.sport-category-name { color: #587168; font-weight: 800; }

.listing-cta { border-left-color: var(--primary); }
.site-footer { border-top-color: var(--primary); }

@media (max-width: 820px) {
  .page-site-header { align-items: flex-start; flex-direction: column; }
  .page-site-nav { justify-content: flex-start; }
  .hero-search-form { grid-template-columns: 1fr; border-radius: 16px; }
  .hero-search-form .filter-pill-row { grid-template-columns: 1fr; }
  .hero-search-button { width: 100%; min-width: 0; }
  .search-inline-controls { grid-template-columns: 1fr; }
  .search-submit-button { width: 100%; }
  .team-search-heading { align-items: flex-start; flex-direction: column; }
  .team-search-heading .button { width: 100%; }
}

/* GPT single sport icons: transparent, no generated card frame */
.sport-thumb {
  width: min(142px, 100%);
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.sport-thumb img {
  object-fit: contain !important;
  border-radius: 0 !important;
  mix-blend-mode: normal !important;
  filter: drop-shadow(0 10px 16px rgba(23, 32, 29, .14));
}
.sport-tile {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.sport-tile:hover {
  background: #f3f8ed !important;
  border: 0 !important;
  box-shadow: none !important;
}
@media (max-width: 620px) {
  .sport-thumb { width: min(124px, 100%); }
}

/* Homepage search refresh, friendly listing CTA, polished forms and operator page */
.team-search-hero {
  margin: 0 0 30px;
  padding: clamp(34px, 5.4vw, 58px) clamp(18px, 4vw, 42px) clamp(28px, 4vw, 42px);
  background: #073848 !important;
  border: 0 !important;
  border-radius: 0 0 16px 16px !important;
  box-shadow: 0 18px 42px rgba(7, 56, 72, .22);
}
.team-search-hero::before {
  background-image:
    linear-gradient(180deg, rgba(7,56,72,.88), rgba(7,56,72,.88)),
    url("../img/ui/hero-sports-pattern.svg") !important;
  background-size: cover, cover !important;
  background-position: center !important;
  opacity: 1 !important;
}
.hero-copy { margin-bottom: 18px; }
.hero-copy h1 {
  max-width: 980px;
  margin-inline: auto;
  color: #fff;
  font-size: clamp(34px, 5.2vw, 58px) !important;
  font-weight: 900;
  text-shadow: 0 4px 0 rgba(0,0,0,.18);
}
.hero-copy p {
  color: #f1fbf6 !important;
  font-size: clamp(14px, 2vw, 17px);
  font-weight: 900;
}
.hero-brand { display: none; }
.hero-search-form {
  grid-template-columns: minmax(0, 1fr) 62px !important;
  width: min(980px, 100%);
  padding: 7px;
  border: 0 !important;
  border-radius: 999px !important;
  background: #fffefa !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .24) !important;
}
.hero-search-form > .filter-picker { min-width: 0; }
.hero-search-form .filter-pill-row {
  height: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border-radius: 999px 0 0 999px;
}
.hero-search-form .filter-pill {
  min-height: 52px;
  padding-left: 50px;
  background: #fffefa !important;
  border-right: 1px solid #dce5df !important;
  color: #073848 !important;
}
.hero-search-form .filter-pill:first-child { border-radius: 999px 0 0 999px !important; }
.hero-search-form .filter-pill:last-child { border-right: 0 !important; border-radius: 0 !important; }
.filter-pill::after { content: "⌄"; color: #073848; }
.filter-pill-icon {
  left: 17px;
  width: 24px !important;
  height: 24px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: center !important;
  box-shadow: none !important;
  transform: translateY(-50%) !important;
}
.filter-pill-region .filter-pill-icon { background-image: url("../img/ui/search-region.svg") !important; }
.filter-pill-sport .filter-pill-icon { background-image: url("../img/ui/search-sport.svg") !important; }
.filter-pill-age .filter-pill-icon { background-image: url("../img/ui/search-age.svg") !important; }
.filter-pill-label { font-size: 15px; }
.hero-search-button {
  width: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  border-radius: 999px !important;
  background: #b7ef3a !important;
  border-color: #b7ef3a !important;
  box-shadow: 0 10px 22px rgba(183, 239, 58, .32) !important;
}
.hero-search-button:hover { background: #caff55 !important; border-color: #caff55 !important; }
.hero-search-button::before { border-color: #073848 !important; }
.hero-search-button::after { background: #073848 !important; }
.hero-actions { margin-top: 18px; }
.hero-actions .button { border-radius: 999px; }

.listing-cta-friendly {
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  gap: 18px;
  align-items: center;
  padding: 22px clamp(18px, 4vw, 30px) !important;
  background: #074858 !important;
  border: 1px solid rgba(183, 239, 58, .22) !important;
  border-left: 0 !important;
  border-radius: 0 !important;
  color: #f6fffb;
  box-shadow: 0 14px 34px rgba(7, 72, 88, .18) !important;
}
.listing-cta-friendly .eyebrow { color: #b7ef3a; }
.listing-cta-friendly h2 { color: #fff; font-size: clamp(20px, 2.8vw, 26px); }
.listing-cta-friendly p { color: #e5f4ef; font-weight: 700; }
.listing-cta-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #1ff3d8;
  color: #073848;
  font-weight: 1000;
  line-height: 1;
}
.home-listing-panel {
  background: #fffefa;
  border-left: 4px solid #b7ef3a;
}

.form-page-header {
  margin-bottom: 22px;
}
.form-page-header h1 { font-size: clamp(30px, 4.2vw, 44px); }
.form-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}
.polished-form {
  gap: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 14px !important;
  background: #fffefa !important;
  box-shadow: 0 18px 42px rgba(24, 32, 29, .10) !important;
}
.polished-form .form-section {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 26px);
  border-bottom: 1px solid #e1e8e3;
}
.polished-form .form-section:last-of-type { border-bottom: 0; }
.form-section-heading {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.form-section-heading h2 {
  margin: 0 0 3px;
  font-size: 19px;
  color: #17201d;
}
.form-section-heading p { margin: 0; color: #66746e; font-size: 13px; font-weight: 700; }
.form-step {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #b7ef3a;
  color: #17201d;
  font-weight: 1000;
  line-height: 1;
}
.polished-form label { color: #17201d; }
.polished-form input,
.polished-form select,
.polished-form textarea {
  min-height: 48px;
  border-color: #cfdad3;
  border-radius: 9px;
  background: #fbfdf8;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.polished-form textarea { min-height: 190px; }
.polished-form input:focus,
.polished-form select:focus,
.polished-form textarea:focus {
  outline: 0;
  border-color: #7fbd12;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(183, 239, 58, .20);
}
.form-consent-box {
  background: #f5faec;
}
.form-consent-box .check {
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid #d7e9b6;
  border-radius: 9px;
  background: #fffefa;
}
.form-consent-box input[type="checkbox"] { margin-top: 5px; }
.form-submit-row {
  padding: 18px clamp(18px, 3vw, 26px) clamp(20px, 3vw, 28px);
  background: #fffefa;
}
.form-submit-row button { width: 100%; min-height: 52px; border-radius: 10px; font-size: 16px; }
.form-help-panel {
  padding: 20px;
  border: 1px solid #dfe8e2;
  border-radius: 14px;
  background: #fffefa;
  box-shadow: 0 14px 34px rgba(24, 32, 29, .07);
}
.form-help-panel h2 { font-size: 19px; }
.form-flow-list {
  margin: 0 0 14px;
  padding-left: 1.25em;
  font-weight: 800;
}
.form-flow-list li { margin-bottom: 8px; }
.enhanced-contact-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
}
.form-help-stack { display: grid; gap: 14px; }
.form-help-stack .dashboard-panel { box-shadow: 0 14px 34px rgba(24, 32, 29, .07); }
.soft-panel { background: #f5faec !important; }

.operator-hero {
  margin: 0 0 24px;
  padding: clamp(26px, 5vw, 44px);
  border-radius: 16px;
  background: #073848;
  color: #fff;
  box-shadow: 0 18px 42px rgba(7, 56, 72, .18);
  position: relative;
  overflow: hidden;
}
.operator-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/ui/hero-sports-pattern.svg");
  background-size: cover;
  background-position: center;
  opacity: .20;
}
.operator-hero > * { position: relative; z-index: 1; }
.operator-hero .eyebrow { color: #b7ef3a; }
.operator-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 52px); }
.operator-hero p { max-width: 760px; color: #e9f7f2; font-weight: 800; }
.operator-overview {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 18px;
  margin-bottom: 18px;
}
.operator-profile-card,
.operator-info-card,
.operator-policy-card,
.operator-panel,
.operator-contact-note {
  border: 1px solid #dfe8e2;
  border-radius: 14px;
  background: #fffefa;
  box-shadow: 0 14px 34px rgba(24, 32, 29, .07);
}
.operator-profile-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 22px;
}
.operator-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, #b7ef3a, #1ff3d8);
  color: #073848;
  font-weight: 1000;
  font-size: 22px;
}
.operator-profile-card h2 { font-size: 23px; }
.operator-info-card { padding: 20px; }
.operator-info-card dl {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 10px 16px;
  margin: 0;
}
.operator-info-card dt { color: #5c6b65; font-weight: 900; }
.operator-info-card dd { margin: 0; overflow-wrap: anywhere; }
.operator-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}
.operator-policy-card { padding: 20px; }
.operator-card-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #b7ef3a;
  color: #17201d;
  font-weight: 1000;
}
.operator-policy-card h2 { font-size: 20px; }
.operator-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}
.operator-panel { margin: 0 !important; }
.muted-panel { background: #f5faec; }
.operator-contact-note { margin: 0 !important; }

@media (max-width: 920px) {
  .form-shell,
  .enhanced-contact-layout,
  .operator-overview,
  .operator-two-column { grid-template-columns: 1fr; }
  .operator-card-grid { grid-template-columns: 1fr; }
  .listing-cta-friendly { grid-template-columns: 1fr !important; }
  .listing-cta-icon { width: 32px; height: 32px; }
}
@media (max-width: 760px) {
  .hero-search-form {
    grid-template-columns: 1fr !important;
    border-radius: 20px !important;
    padding: 8px;
  }
  .hero-search-form .filter-pill-row {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }
  .hero-search-form .filter-pill,
  .hero-search-form .filter-pill:first-child,
  .hero-search-form .filter-pill:last-child {
    border-radius: 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid #dce5df !important;
  }
  .hero-search-form .filter-pill:first-child { border-radius: 14px 14px 0 0 !important; }
  .hero-search-form .filter-pill:last-child { border-bottom: 0 !important; border-radius: 0 0 14px 14px !important; }
  .hero-search-button { width: 100% !important; min-width: 0 !important; }
  .operator-profile-card { grid-template-columns: 1fr; }
  .operator-info-card dl { grid-template-columns: 1fr; }
}

/* Consent checkbox and listing photo guidance fixes */
.polished-form .form-consent-box .check {
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  min-height: auto !important;
  line-height: 1.55;
}
.polished-form .form-consent-box .check input[type="checkbox"] {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  flex: 0 0 18px !important;
  margin: 3px 0 0 !important;
  padding: 0 !important;
  border-radius: 3px !important;
  box-shadow: none !important;
}
.polished-form .form-consent-box .check span {
  display: block;
  min-width: 0;
}
.photo-guide-box {
  background: #fbfdf8;
}
.photo-guide-card {
  padding: 14px 16px;
  border: 1px solid #d7e9b6;
  border-radius: 10px;
  background: #f5faec;
}
.photo-guide-card strong {
  display: block;
  margin-bottom: 4px;
  color: #17201d;
}
.photo-guide-card p {
  margin: 0;
  color: #56645e;
  font-weight: 700;
}

/* Listing application upload field */
.photo-upload-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid #d7e9b6;
  border-radius: 10px;
  background: #f5faec;
}
.photo-upload-card strong {
  color: #17201d;
  font-size: 16px;
}
.photo-upload-card p {
  margin: 0;
  color: #56645e;
  font-weight: 700;
}
.file-upload-label {
  display: grid !important;
  gap: 8px !important;
  padding: 14px;
  border: 1px dashed #96bd31;
  border-radius: 10px;
  background: #fffefa;
  color: #17201d;
}
.file-upload-label > span {
  font-weight: 900;
}
.polished-form .file-upload-label input[type="file"] {
  min-height: auto;
  padding: 10px;
  border: 1px solid #d8e2db;
  border-radius: 8px;
  background: #fff;
}

.admin-filter-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 220px) auto auto;
  gap: 12px;
  align-items: end;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid rgba(154, 230, 30, .24);
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
}
.admin-filter-form label { display: grid; gap: 6px; margin: 0; }
.admin-filter-form span { color: var(--muted); font-size: .86rem; font-weight: 700; }
.admin-filter-form input,
.admin-filter-form select {
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .92);
  color: #13201c;
  padding: 0 12px;
}
@media (max-width: 760px) {
  .admin-filter-form { grid-template-columns: 1fr; }
}
/* Admin usability */
.admin-layout { background: #eef3ec; }
.admin-layout .main { width: min(1480px, calc(100% - 20px)); padding-top: 24px; }
.admin-page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.admin-page-header h1 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 4px; }
.admin-count-summary { margin: 0; color: var(--muted); font-weight: 800; white-space: nowrap; }
.admin-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0 0 18px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.75);
}
.admin-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}
.admin-tabs a:hover { background: var(--header); color: #fff; text-decoration: none; }
.admin-action-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
.admin-filter-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(140px, 180px) minmax(120px, 150px) auto auto;
  gap: 10px;
  align-items: end;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid rgba(15, 118, 110, .18);
  border-radius: 10px;
  background: #fffefa;
  box-shadow: 0 8px 22px rgba(24, 32, 29, .06);
}
.admin-filter-form label { display: grid; gap: 5px; margin: 0; }
.admin-filter-form span { color: var(--muted); font-size: 12px; font-weight: 800; }
.admin-filter-form input,
.admin-filter-form select,
.admin-status-form select {
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  padding: 0 10px;
  font-size: 13px;
}
.admin-pagination {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  margin: 12px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.admin-pagination a,
.admin-pagination span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: #fffefa;
}
.admin-pagination a.current,
.admin-pagination a:hover { background: var(--header); color: #fff; text-decoration: none; }
.admin-table-wrap {
  width: 100%;
  overflow-x: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffefa;
}
.admin-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.35;
}
.admin-table th,
.admin-table td {
  padding: 7px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  overflow: hidden;
}
.admin-table th { background: #f7faf6; color: var(--muted); font-weight: 900; text-align: left; }
.admin-table tr:hover td { background: #fbfff5; }
.admin-cell-truncate {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-table .col-id { width: 54px; }
.admin-table .col-created_at,
.admin-table .col-updated_at,
.admin-table .col-approved_at { width: 128px; }
.admin-table .col-status,
.admin-table .col-review_status,
.admin-table .col-publication_status,
.admin-table .col-recruiting_status,
.admin-table .col-photo_upload_status { width: 92px; }
.admin-table .col-source_url { width: 120px; }
.admin-table .col-sport_guess,
.admin-table .col-sport_name,
.admin-table .col-prefecture_name,
.admin-table .col-area_guess { width: 120px; }
.admin-table .col-attachment_count,
.admin-table .col-contact_enabled { width: 58px; text-align: center; }
.admin-table .col-actions { width: 190px; }
.admin-table .col-raw_name .admin-cell-truncate,
.admin-table .col-team_name .admin-cell-truncate,
.admin-table .col-name .admin-cell-truncate {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef3ec;
  color: var(--muted);
  font-weight: 900;
  white-space: nowrap;
}
.status-needs_review,
.status-new,
.status-pending_review { background: #fff3d8; color: #8a5400; }
.status-approved,
.status-active,
.status-published,
.status-done,
.status-applied { background: #e9fbd2; color: #336000; }
.status-rejected,
.status-suspended,
.status-spam { background: var(--danger-soft); color: var(--danger); }
.status-duplicate,
.status-archived,
.status-private { background: #edf1f4; color: #57636b; }
.admin-status-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
  margin: 0;
}
.admin-status-form button {
  min-height: 34px;
  padding: 5px 9px;
  border-radius: 7px;
  border: 0;
  background: var(--header);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
.admin-stat-grid { margin-bottom: 18px; }
.admin-stat-card span { font-size: 13px; font-weight: 900; color: var(--muted); }
.admin-stat-card strong { font-size: clamp(24px, 4vw, 38px); color: var(--header); }
.admin-dashboard-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 20px; }
.admin-dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.admin-summary-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffefa;
  box-shadow: 0 8px 22px rgba(24, 32, 29, .06);
}
.admin-summary-panel h2 { font-size: 18px; margin-bottom: 12px; }
.admin-mini-list { display: grid; gap: 8px; }
.admin-mini-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f7faf6;
  color: var(--ink);
  font-weight: 800;
}
.admin-mini-list a:hover { background: var(--header); color: #fff; text-decoration: none; }
@media (max-width: 900px) {
  .admin-page-header { display: block; }
  .admin-count-summary { white-space: normal; }
  .admin-filter-form { grid-template-columns: 1fr; }
  .admin-dashboard-grid { grid-template-columns: 1fr; }
  .admin-table { min-width: 920px; }
  .admin-table-wrap { overflow-x: auto; }
}
.results-pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 28px 0 8px;
}
.results-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
}
.results-pagination a.current,
.results-pagination a:hover {
  background: var(--header);
  color: #fff;
  text-decoration: none;
}

/* Keep the filter drawer above homepage hero CTAs. */
html.filter-drawer-open .hero-search-form,
html.filter-drawer-open .team-search-panel,
html.filter-drawer-open .team-search-panel-modern {
  position: relative;
  z-index: 5000 !important;
}
html.filter-drawer-open .hero-actions {
  visibility: hidden !important;
  pointer-events: none !important;
}
html.filter-drawer-open .filter-drawer {
  z-index: 6000 !important;
}
.filter-drawer-panel {
  position: relative;
  z-index: 1;
}

/* Team result cards and detail page visual refresh. */
.team-list-modern {
  gap: 16px;
}
.team-result-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  background: linear-gradient(145deg, #061e31, #031728) !important;
  border: 1px solid rgba(38, 213, 255, .18) !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 36px rgba(0, 15, 25, .18) !important;
  color: #edf8fb;
}
.team-result-main {
  min-width: 0;
  display: grid;
  gap: 9px;
}
.team-card-topline,
.team-detail-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.sport-badge,
.age-badge,
.contact-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.sport-badge {
  gap: 8px;
  padding: 4px 10px 4px 5px;
  color: #f4fff6;
  border: 1px solid rgba(183, 239, 58, .62);
  background: rgba(183, 239, 58, .08);
}
.sport-badge img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 4px;
  background: rgba(255,255,255,.96);
}
.age-badge {
  padding: 5px 10px;
  color: #fff8dc;
  border: 1px solid #f4b33e;
  background: rgba(244, 179, 62, .06);
}
.contact-badge {
  padding: 6px 10px;
  color: #092314;
  background: #66ef82;
  border: 1px solid #66ef82;
}
.contact-badge.is-muted {
  color: #dbe8e8;
  border-color: rgba(219,232,232,.28);
  background: rgba(255,255,255,.06);
}
.team-result-card h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(19px, 2.4vw, 24px);
}
.team-result-card h2 a {
  color: #fff;
}
.team-result-card h2 a:hover {
  color: #b7ef3a;
  text-decoration: none;
}
.team-area-line {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #d3e5e8;
  font-weight: 800;
}
.team-area-line span {
  color: #f4b33e;
  font-weight: 900;
}
.team-summary-line {
  max-width: 760px;
  margin: 2px 0 0;
  padding: 9px 12px;
  border-radius: 5px;
  background: rgba(244, 179, 62, .22);
  color: #f7fbf7;
  font-size: 14px;
  line-height: 1.55;
}
.team-detail-button {
  min-width: 96px;
  border-radius: 999px !important;
  align-self: center;
}
.team-detail-modern {
  display: grid;
  gap: 18px;
  color: #edf8fb;
}
.team-detail-hero-card,
.team-detail-section {
  background: linear-gradient(145deg, #061e31, #031728) !important;
  border: 1px solid rgba(38, 213, 255, .18) !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 42px rgba(0, 15, 25, .20) !important;
}
.team-detail-hero-card {
  padding: clamp(18px, 3vw, 28px);
  display: grid;
  gap: 20px;
}
.team-detail-hero-body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}
.team-detail-icon-wrap {
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #f4b33e, #ffca65);
  box-shadow: 0 14px 28px rgba(244, 179, 62, .20);
}
.team-detail-icon-wrap img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255,255,255,.96);
}
.team-detail-title-block {
  min-width: 0;
}
.team-detail-title-block h1 {
  color: #fff;
  font-size: clamp(28px, 4.2vw, 44px);
  margin-bottom: 8px;
}
.team-detail-lead {
  margin: 12px 0 0;
  padding: 11px 13px;
  border-radius: 5px;
  background: rgba(244, 179, 62, .20);
  color: #f5fbf8;
  font-weight: 750;
}
.team-detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding-top: 4px;
}
.team-primary-action {
  min-width: min(280px, 100%);
  border-radius: 999px !important;
  font-size: 17px;
}
.team-secondary-action {
  color: #dbe8e8 !important;
  border-color: rgba(219,232,232,.26) !important;
  background: rgba(255,255,255,.06) !important;
}
.team-detail-section {
  padding: clamp(18px, 3vw, 26px);
}
.team-detail-section h2 {
  margin-bottom: 14px;
  padding-bottom: 8px;
  color: #fff !important;
  border-bottom: 2px solid rgba(38, 213, 255, .32);
  font-size: 22px;
}
.team-detail-section p,
.team-detail-section dd {
  color: #eef8fb;
}
.team-info-list {
  display: grid;
  grid-template-columns: minmax(110px, 150px) minmax(0, 1fr);
  gap: 0;
}
.team-info-list dt,
.team-info-list dd {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(147, 193, 202, .20);
}
.team-info-list dt {
  color: #d5e6e9;
  font-weight: 900;
}
.team-info-list dd {
  overflow-wrap: anywhere;
  font-weight: 750;
}
.team-detail-tags span {
  border-color: #f4b33e !important;
  background: rgba(244, 179, 62, .08) !important;
  color: #fff4d4 !important;
}
.team-detail-modern .map-placeholder {
  background: rgba(255,255,255,.04);
  border-color: rgba(147,193,202,.32);
  color: #d3e5e8;
}
@media (max-width: 760px) {
  .team-result-card {
    align-items: stretch;
    flex-direction: column;
  }
  .team-detail-button {
    width: 100%;
  }
  .team-detail-hero-body {
    grid-template-columns: 1fr;
  }
  .team-detail-icon-wrap {
    width: 78px;
    height: 78px;
  }
  .team-detail-icon-wrap img {
    width: 62px;
    height: 62px;
  }
  .team-info-list {
    grid-template-columns: 1fr;
  }
  .team-info-list dt {
    padding-bottom: 3px;
    border-bottom: 0;
  }
  .team-info-list dd {
    padding-top: 0;
  }
}

/* Team result cards and public detail refresh */
.team-card-topline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
  margin-bottom: 10px;
}
.sport-badge,
.age-badge,
.status-chip {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 32px;
  line-height: 1.15;
  white-space: nowrap;
  font-weight: 900;
}
.sport-badge {
  gap: 7px;
  max-width: 100%;
  padding: 4px 11px 4px 6px;
  border: 1px solid #d9b354;
  border-radius: 999px;
  background: #fffdf4;
  color: #073848;
  font-size: 13px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.70);
}
.sport-badge img {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(7,56,72,.16));
}
.sport-badge span,
.age-badge { overflow-wrap: anywhere; }
.age-badge {
  padding: 6px 10px;
  border: 1px solid #efb43f;
  border-radius: 999px;
  background: #fffefa;
  color: #073848;
  font-size: 12px;
}
.age-badge-soft {
  border-color: #25bf80;
  background: #effff6;
  color: #07523b;
}
.team-list-modern { gap: 16px; }
.team-result-card {
  align-items: center;
  gap: 24px;
  padding: 22px;
  border: 1px solid #dce5df;
  border-left: 4px solid #b7ef3a;
  background: #fffefa;
  box-shadow: 0 12px 26px rgba(24, 32, 29, .08);
}
.team-result-card:hover {
  border-color: #cddbd1;
  border-left-color: #9bdd22;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(24, 32, 29, .11);
}
.team-result-main { min-width: 0; flex: 1 1 auto; }
.team-result-card h2,
.team-home-card h3 { margin-bottom: 4px; }
.team-result-card h2 { font-size: 24px; }
.team-result-card h2 a,
.team-home-card h3 a { color: #15362f; }
.team-area-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: #0b6171;
  font-size: 14px;
  font-weight: 900;
}
.team-area-pin {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}
.team-area-pin::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0;
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}
.team-area-pin::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.team-summary-line { margin: 0; color: #56645e; font-weight: 700; }
.team-detail-button { min-width: 92px; border-radius: 8px; }
.team-home-card { gap: 8px; }
.team-home-card .sport-badge { font-size: 12px; }
.team-home-card .age-badge { min-height: 28px; padding: 5px 8px; font-size: 11px; }
.team-home-card .team-area-line { margin-bottom: 4px; }

.team-detail-modern {
  display: grid;
  gap: 18px;
}
.team-detail-hero,
.team-detail-section {
  background: #062435;
  border: 1px solid rgba(55, 188, 206, .24);
  border-radius: 8px;
  color: #f4fbf7;
  box-shadow: 0 16px 34px rgba(6, 36, 53, .18);
}
.team-detail-hero { padding: 24px; }
.team-detail-topline { margin-bottom: 0; }
.team-detail-hero .sport-badge {
  border-color: rgba(183,239,58,.55);
  background: #4bf189;
  color: #062435;
}
.status-chip {
  padding: 6px 10px;
  border: 1px solid #f1b94b;
  border-radius: 999px;
  background: rgba(255,255,255,.02);
  color: #fff;
  font-size: 12px;
}
.status-chip-open {
  border-color: rgba(46,230,142,.65);
  background: rgba(46,230,142,.14);
  color: #65ffac;
}
.status-chip-muted {
  border-color: rgba(184,199,206,.40);
  color: #c5d3d9;
}
.team-detail-identity {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 20px;
}
.team-detail-icon {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: #f4b84c;
  box-shadow: 0 12px 24px rgba(0,0,0,.22);
  overflow: hidden;
}
.team-detail-icon img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(6,36,53,.24));
}
.team-detail-heading h1 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 30px;
}
.team-detail-hero .team-area-line {
  margin-bottom: 8px;
  color: #dff7ff;
}
.team-detail-lead {
  display: inline-block;
  max-width: 820px;
  margin: 4px 0 0;
  padding: 10px 12px;
  border-left: 4px solid #f1b94b;
  border-radius: 6px;
  background: rgba(255,255,255,.13);
  color: #fff;
  font-weight: 800;
}
.team-detail-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.team-detail-labels .age-badge,
.team-info-list .age-badge {
  background: transparent;
  color: #fff;
}
.team-detail-labels .age-badge-soft {
  border-color: rgba(46,230,142,.72);
  color: #8dffc2;
}
.team-detail-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.team-contact-button {
  min-width: min(320px, 100%);
  border-radius: 999px !important;
  font-size: 16px;
}
.team-correction-button { border-radius: 999px !important; }
.team-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.team-detail-section { padding: 22px 24px; }
.team-detail-section h2 {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(25, 184, 204, .64);
  color: #fff;
  font-size: 20px;
}
.team-detail-section p {
  color: #f2fbf7;
  font-weight: 750;
}
.team-info-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
}
.team-info-list > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(83, 202, 217, .20);
}
.team-info-list > div:last-child { border-bottom: 0; }
.team-info-list dt {
  color: #d7fff0;
  font-weight: 900;
}
.team-info-list dd {
  margin: 0;
  color: #fff;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.inline-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.team-detail-tags span {
  border-color: rgba(46,230,142,.58);
  background: rgba(46,230,142,.12);
  color: #73ffae;
}
.team-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.team-link-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid rgba(46,230,142,.48);
  border-radius: 999px;
  color: #67ff9e;
  font-weight: 900;
}
.team-link-list a:hover {
  background: rgba(46,230,142,.12);
  color: #9effc5;
  text-decoration: none;
}
.team-detail-section .map-placeholder {
  background: #071d2b;
  border-color: rgba(83,202,217,.42);
  color: #d7fff0;
}
.team-detail-section .muted { color: #c5d3d9; }

@media (max-width: 760px) {
  .team-result-card {
    display: grid;
    gap: 14px;
    align-items: start;
    padding: 18px;
  }
  .team-result-card h2 { font-size: 21px; }
  .team-detail-button,
  .team-contact-button,
  .team-correction-button { width: 100%; }
  .team-detail-hero,
  .team-detail-section { padding: 18px; }
  .team-detail-identity { grid-template-columns: 1fr; }
  .team-detail-icon { width: 78px; height: 78px; }
  .team-detail-icon img { width: 62px; height: 62px; }
  .team-detail-heading h1 { font-size: 25px; }
  .team-detail-grid { grid-template-columns: 1fr; }
  .team-info-list > div { grid-template-columns: 1fr; gap: 4px; }
  .sport-badge,
  .age-badge,
  .status-chip { white-space: normal; }
}

/* Final palette alignment: orange + lime on a light surface. */
.team-result-card {
  background: #fffefa !important;
  color: #17201d !important;
  border: 1px solid #e2e7d9 !important;
  border-left: 6px solid #f4a62a !important;
  box-shadow: 0 12px 28px rgba(58, 72, 38, .10) !important;
}
.team-result-card:hover {
  background: #fffffb !important;
  border-color: #d9e2c8 !important;
  border-left-color: #b7ef3a !important;
  box-shadow: 0 16px 34px rgba(58, 72, 38, .13) !important;
}
.team-result-card h2,
.team-result-card h2 a,
.team-home-card h3 a {
  color: #173024 !important;
}
.team-result-card h2 a:hover,
.team-home-card h3 a:hover {
  color: #6f9816 !important;
  text-decoration: none;
}
.sport-badge {
  background: #fffefa !important;
  border-color: #f4a62a !important;
  color: #173024 !important;
  box-shadow: 0 2px 0 rgba(244,166,42,.14) !important;
}
.sport-badge img {
  background: #f5ffe2 !important;
  border: 1px solid #e3e9c8 !important;
  border-radius: 8px !important;
}
.age-badge {
  background: #f1ffd2 !important;
  border-color: #b7ef3a !important;
  color: #365d00 !important;
}
.age-badge-soft {
  background: #fff3dc !important;
  border-color: #f4a62a !important;
  color: #7a4300 !important;
}
.status-chip {
  background: #fff3dc !important;
  border-color: #f4a62a !important;
  color: #7a4300 !important;
}
.status-chip-open {
  background: #f1ffd2 !important;
  border-color: #b7ef3a !important;
  color: #365d00 !important;
}
.status-chip-muted {
  background: #f3f5ee !important;
  border-color: #d5ddcd !important;
  color: #606c67 !important;
}
.team-area-line {
  color: #587168 !important;
}
.team-area-line span,
.team-area-pin {
  color: #f4a62a !important;
}
.team-summary-line,
.team-detail-lead {
  background: #fff5e4 !important;
  border-left: 4px solid #f4a62a !important;
  color: #4f5b4f !important;
}
.team-detail-modern {
  color: #17201d !important;
}
.team-detail-hero,
.team-detail-hero-card,
.team-detail-section {
  background: #fffefa !important;
  border: 1px solid #e2e7d9 !important;
  color: #17201d !important;
  box-shadow: 0 14px 30px rgba(58, 72, 38, .10) !important;
}
.team-detail-hero {
  background: linear-gradient(135deg, #fffefa 0%, #f5ffe2 100%) !important;
  border-top: 6px solid #f4a62a !important;
}
.team-detail-section {
  border-left: 4px solid #b7ef3a !important;
}
.team-detail-hero .sport-badge {
  background: #fffefa !important;
  border-color: #f4a62a !important;
  color: #173024 !important;
}
.team-detail-icon,
.team-detail-icon-wrap {
  background: #fff3dc !important;
  border: 2px solid #f4a62a !important;
  box-shadow: 0 12px 22px rgba(244, 166, 42, .20) !important;
}
.team-detail-icon img,
.team-detail-icon-wrap img {
  background: transparent !important;
}
.team-detail-heading h1,
.team-detail-title-block h1,
.team-detail-section h2 {
  color: #173024 !important;
}
.team-detail-section h2 {
  border-bottom-color: #dce8b7 !important;
}
.team-detail-section p,
.team-detail-section dd,
.team-info-list dd {
  color: #17201d !important;
}
.team-info-list dt {
  color: #6f7a59 !important;
}
.team-info-list > div,
.team-info-list dt,
.team-info-list dd {
  border-bottom-color: #e2e7d9 !important;
}
.team-detail-labels .age-badge,
.team-info-list .age-badge {
  background: #f1ffd2 !important;
  color: #365d00 !important;
}
.team-detail-labels .age-badge-soft {
  background: #fff3dc !important;
  border-color: #f4a62a !important;
  color: #7a4300 !important;
}
.team-detail-tags span {
  background: #fff3dc !important;
  border-color: #f4a62a !important;
  color: #7a4300 !important;
}
.team-link-list a {
  background: #f1ffd2 !important;
  border-color: #b7ef3a !important;
  color: #365d00 !important;
}
.team-link-list a:hover {
  background: #e7ffb8 !important;
  color: #294900 !important;
}
.team-detail-modern .map-placeholder,
.team-detail-section .map-placeholder {
  background: #f8fbf2 !important;
  border-color: #d7e3bf !important;
  color: #606c67 !important;
}
.team-detail-section .muted {
  color: #606c67 !important;
}

