* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --ink: #18181b;
  --muted: #52525b;
  --line: #d4d4d8;
  --panel: #ffffff;
  --soft: #f8fafc;
  --accent: #0f766e;
  --accent-soft: #ccfbf1;
}

body.match-page {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

button,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

button,
.primary-action {
  background: var(--ink);
  color: #fff;
}

.secondary-action,
button.secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

button.danger {
  background: #b91c1c;
  color: #fff;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.hidden {
  display: none !important;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.match-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
}

.match-header > * {
  min-width: 0;
}

.match-brand,
.match-header nav,
.match-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.match-brand {
  min-width: 0;
  color: var(--ink);
  font-weight: 950;
  text-decoration: none;
}

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

.match-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.match-header nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.match-header nav .match-login {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.match-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: center;
  max-width: 1180px;
  min-height: min(760px, calc(100vh - 76px));
  margin: 0 auto;
  padding: 56px 24px 76px;
}

.match-public-home {
  max-width: 1440px;
}

.match-public-home > div {
  width: 100%;
}

.match-hero > * {
  min-width: 0;
}

.match-hero h1 {
  max-width: 720px;
  margin: 0 0 20px;
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

.match-hero p,
.match-section p,
.match-grid p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}

.match-preview {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.match-screen-mockup {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid #d4d4d8;
  border-radius: 24px;
  background: #18181b;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

.match-screen-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px 2px;
  color: #fff;
  font-size: 13px;
}

.match-screen-top span {
  width: 42px;
  height: 5px;
  border-radius: 999px;
  background: #3f3f46;
}

.match-screen-search,
.match-screen-event,
.match-screen-photographer {
  border-radius: 14px;
  background: #fff;
}

.match-screen-search {
  padding: 13px 14px;
  color: #71717a;
  font-weight: 850;
}

.match-screen-event {
  padding: 16px;
}

.match-screen-event small {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #ccfbf1;
  color: #0f766e;
  font-size: 12px;
  font-weight: 950;
}

.match-screen-event strong,
.match-screen-photographer strong {
  display: block;
  color: #18181b;
}

.match-screen-event p,
.match-screen-photographer p {
  margin: 5px 0 0;
  color: #71717a;
  font-size: 14px;
}

.match-screen-photographer {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
}

.match-screen-photographer.second {
  background: #f8fafc;
}

.match-screen-logo {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #ccfbf1;
  border-radius: 12px;
  background: #ecfeff;
  color: #0f766e;
  font-size: 13px;
  font-weight: 950;
}

.match-card,
.match-grid article,
.match-section,
.match-dashboard-grid article,
.match-panel,
.match-user-row {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.match-card {
  min-width: 0;
  padding: 24px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

.match-card span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 950;
}

.match-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(22px, 2.3vw, 28px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.match-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.match-hero-facts span {
  display: inline-flex;
  padding: 8px 11px;
  border: 1px solid #99f6e4;
  border-radius: 999px;
  background: #f0fdfa;
  color: #115e59;
  font-size: 13px;
  font-weight: 950;
}

.match-section,
.match-grid,
.match-app {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px 0;
}

.match-section {
  padding: 30px;
}

.match-feature-strip,
.match-status-grid {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.match-feature-strip,
.match-material-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.match-feature-strip article,
.match-material-grid article,
.match-status-grid article {
  min-width: 0;
  padding: 18px;
  border: 1px solid #e4e4e7;
  border-radius: 10px;
  background: #fff;
}

.match-feature-strip strong,
.match-material-grid strong,
.match-status-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

.match-feature-strip span,
.match-material-grid span,
.match-status-grid p {
  color: var(--muted);
  line-height: 1.52;
}

.match-material-grid {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.match-material-grid article {
  display: grid;
  gap: 10px;
  align-content: start;
}

.match-material-preview,
.match-material-admin-preview {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e4e4e7;
  border-radius: 10px;
  background: #f8fafc;
}

.match-material-preview {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.match-material-preview img,
.match-material-admin-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.match-material-admin-preview {
  width: 92px;
  height: 92px;
}

.match-material-grid .primary-action {
  width: fit-content;
}

.match-empty-materials {
  margin-top: 20px;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: #fff;
}

.match-empty-materials strong {
  display: block;
  margin-bottom: 8px;
}

.match-material-row {
  align-items: start;
  grid-template-columns: 92px minmax(0, 1fr) auto;
}

.material-inline-editor {
  grid-column: 1 / -1;
  margin-top: 8px;
}

.match-register-flow {
  margin-bottom: 18px;
  padding-top: 30px;
}

.match-status-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.match-status-section {
  margin-top: 24px;
  background: #fff;
}

.muted-section {
  margin-top: 24px;
  margin-bottom: 56px;
  background: #ecfeff;
}

.integration-section {
  margin-top: 24px;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.integration-grid article {
  min-width: 0;
  padding: 18px;
  border: 1px solid #ccfbf1;
  border-radius: 10px;
  background: #f0fdfa;
}

.integration-grid h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.integration-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.52;
}

.free-note {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  background: #eff6ff;
}

.free-note strong {
  display: block;
  margin-bottom: 8px;
  color: #1e3a8a;
  font-size: 18px;
}

.free-note p {
  margin: 0;
  color: #334155;
  line-height: 1.55;
}

.match-bottom-actions {
  margin-top: 20px;
}

.match-section h2,
.match-grid h3,
.match-dashboard-grid h2,
.match-panel h2 {
  margin: 0 0 12px;
}

.match-subsection {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #e4e4e7;
}

.match-subsection:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.match-subsection h3 {
  margin: 0 0 6px;
}

.match-danger-zone {
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 18px;
  background: #fff7f7;
}

.match-danger-zone:first-of-type {
  border-top: 1px solid #fecaca;
  padding-top: 18px;
}

.match-danger-zone h3 {
  color: #991b1b;
}

.match-help-text {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.5;
}

.match-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 16px;
}

.match-grid article {
  padding: 24px;
}

.match-app {
  padding-bottom: 48px;
}

.match-app-header,
.match-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.match-panel-header.compact {
  margin-bottom: 12px;
}

.match-app-header h1 {
  margin: 0 0 8px;
  font-size: clamp(32px, 4vw, 52px);
}

.match-app-header p {
  margin: 0;
  color: var(--muted);
}

.match-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.match-dashboard-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.match-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.match-tabs button {
  width: auto;
  min-height: 40px;
  background: #fff;
  color: var(--muted);
  border-color: var(--line);
  box-shadow: none;
}

.match-tabs button.active {
  background: var(--ink);
  color: #fff;
}

.match-participant-mode .match-tabs {
  display: none;
}

.match-participant-mode .match-app-header {
  margin-bottom: 24px;
}

.match-dashboard-grid article,
.match-panel {
  padding: 24px;
}

.match-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.match-form-grid label {
  display: grid;
  gap: 6px;
  color: #27272a;
  font-weight: 850;
}

.match-form-grid .wide {
  grid-column: 1 / -1;
}

.match-form-grid h3 {
  margin: 8px 0 10px;
  font-size: 18px;
}

.match-form-grid label:has(input:disabled),
.match-form-grid label:has(select:disabled) {
  color: #71717a;
}

.match-dashboard-grid li {
  margin-bottom: 8px;
}

.match-user-editor {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid #e4e4e7;
  border-radius: 10px;
  background: #fafafa;
}

.match-checkbox {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 850;
}

.match-checkbox input {
  width: auto;
}

.region-wide {
  align-self: end;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.match-option-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.match-option-check {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  gap: 7px;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid #e4e4e7;
  border-radius: 999px;
  background: #fff;
  color: #27272a;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.match-option-check input {
  width: 14px;
  height: 14px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--accent);
}

.match-option-check:has(input:checked) {
  border-color: #5eead4;
  background: #ccfbf1;
  color: #0f766e;
}

.match-empty-note {
  margin: 0 0 12px;
  color: var(--muted);
}

.match-link-token-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 10px;
  align-items: center;
}

.match-admin-filter {
  display: grid;
  grid-template-columns: minmax(150px, 0.6fr) minmax(260px, 1fr) auto auto;
  gap: 10px;
  margin-bottom: 12px;
}

.match-event-search {
  grid-template-columns: minmax(0, 1fr) auto;
}

.match-event-search button {
  min-width: 96px;
  padding-inline: 12px;
}

.match-view-switch {
  display: inline-grid;
  grid-template-columns: auto minmax(150px, 1fr);
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.match-view-switch select {
  min-height: 38px;
  padding: 8px 10px;
}

.match-shop-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.match-shop-list .secondary-action {
  min-height: 34px;
  padding: 0 11px;
  font-size: 14px;
}

.match-photographer-card {
  display: inline-grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: min(260px, 100%);
  min-height: 58px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-align: left;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.match-photographer-card:hover,
.match-photographer-card:focus-visible {
  border-color: #5eead4;
  background: #f0fdfa;
}

.match-photographer-card strong,
.match-photographer-card small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-photographer-card small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.match-logo-thumb,
.match-public-profile-logo {
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
  border: 1px solid #ccfbf1;
  background: #ecfeff;
  color: #0f766e;
  font-weight: 950;
}

.match-logo-thumb {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 13px;
}

.match-logo-thumb img,
.match-public-profile-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.match-club-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  width: auto;
  margin-top: 12px;
  padding: 8px 10px;
  border: 1px solid #e4e4e7;
  border-radius: 10px;
  background: #fff;
  color: #18181b;
  font-weight: 850;
  cursor: pointer;
}

.match-club-link:hover {
  border-color: #0f766e;
  color: #0f766e;
}

.match-inline-info {
  width: fit-content;
  margin: 18px 0 4px;
}

.public-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 18px 0 12px;
  width: 100%;
}

.public-search fieldset {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 0.35fr) minmax(170px, 0.35fr);
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.public-search fieldset:nth-of-type(3),
.public-search fieldset:nth-of-type(4) {
  grid-template-columns: minmax(0, 1fr);
}

.public-search legend {
  padding: 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.public-search > button {
  grid-column: 1 / -1;
  justify-self: start;
}

.public-search input,
.public-search select {
  min-width: 0;
}

.public-search select {
  min-width: 170px;
}

.match-checkbox {
  display: inline-grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
}

.match-checkbox input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.match-admin-filter.public-search {
  margin-top: 18px;
}

.match-date-filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  min-width: 0;
  max-width: 100%;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.match-date-filter input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.required-marker {
  color: #b91c1c;
  font-weight: 950;
}

.address-autocomplete-anchor {
  position: relative;
}

.address-suggestions {
  grid-column: 1 / -1;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
  overflow: hidden;
  z-index: 20;
}

.address-suggestions button {
  justify-content: flex-start;
  width: 100%;
  min-height: 42px;
  border-radius: 0;
  border: 0;
  background: #fff;
  color: var(--ink);
  text-align: left;
  box-shadow: none;
}

.address-suggestions button:hover,
.address-suggestions button:focus-visible {
  background: #f4f4f5;
}

.address-suggestions button + button {
  border-top: 1px solid var(--line);
}

.address-suggestions span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.match-suggestion-list {
  padding: 12px;
  border: 1px solid #fde68a;
  border-radius: 10px;
  background: #fffbeb;
  color: #92400e;
}

.match-import-box {
  padding: 14px;
  border: 1px solid #ccfbf1;
  border-radius: 10px;
  background: #f0fdfa;
}

.match-import-box h3 {
  margin: 0 0 10px;
  color: #115e59;
}

.match-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(24, 24, 27, 0.46);
}

.match-overlay-panel {
  width: min(860px, 100%);
  max-height: min(720px, calc(100vh - 40px));
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.24);
}

.match-overlay-footer {
  position: sticky;
  bottom: -22px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 20px -22px -22px;
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
}

.match-report-panel {
  width: min(620px, 100%);
}

.match-public-profile-head {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.match-public-profile-head-actions {
  justify-content: space-between;
  width: 100%;
  align-items: flex-start;
}

.compact-actions {
  flex-wrap: nowrap;
  gap: 8px;
}

.compact-actions .secondary-action,
.match-public-profile-head-actions > .secondary-action {
  min-height: 36px;
  padding: 0 12px;
  white-space: nowrap;
}

.match-public-profile-head h2,
.match-public-profile-head p {
  margin: 0;
}

.match-public-profile-head p {
  color: var(--muted);
}

.match-public-profile-logo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  font-size: 20px;
}

.match-public-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 16px;
}

.match-public-profile-grid section {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.match-public-profile-grid .wide {
  grid-column: 1 / -1;
}

.match-public-profile-grid h3 {
  margin: 0 0 10px;
}

.match-profile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0;
}

.match-profile-chips span {
  padding: 6px 9px;
  border-radius: 999px;
  background: #f4f4f5;
  color: #3f3f46;
  font-size: 12px;
  font-weight: 900;
}

.match-public-events-header {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.match-profile-links {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.match-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
}

.match-share-note {
  display: grid;
  gap: 8px;
  margin: 8px 0 16px;
  padding: 12px;
  border: 1px solid #e4e4e7;
  border-radius: 14px;
  background: #f8fafc;
  color: #3f3f46;
}

.match-share-note strong {
  color: #18181b;
}

.match-share-note span {
  font-size: 14px;
  line-height: 1.45;
}

.match-share-note .secondary-action {
  justify-self: start;
  margin-top: 2px;
}

.match-story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.match-story-actions .secondary-action {
  width: auto;
}

.match-story-button {
  white-space: nowrap;
}

.match-story-preview {
  margin-top: 14px;
}

.match-story-preview-card {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 12px;
  border: 1px solid #e4e4e7;
  border-radius: 16px;
  background: #f8fafc;
}

.match-story-preview-card img {
  width: min(100%, 260px);
  max-height: 420px;
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.18);
}

.match-story-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.match-icon-action {
  width: 46px;
  height: 46px;
  min-width: 46px;
  padding: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.match-icon-action svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.match-share-facebook {
  color: #1877f2;
}

.match-share-instagram {
  color: #be185d;
}

.match-share-x {
  color: #18181b;
}

.match-profile-links a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 9px 11px;
  border: 1px solid #ccfbf1;
  border-radius: 8px;
  background: #f0fdfa;
  color: #0f766e;
  font-weight: 900;
  text-decoration: none;
}

.match-profile-links .match-instagram-link {
  border-color: #fbcfe8;
  background: #fdf2f8;
  color: #be185d;
}

.match-social-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.match-profile-links a:hover,
.match-profile-links a:focus-visible {
  border-color: #5eead4;
  text-decoration: underline;
}

.match-public-events {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.match-public-event-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  background: #fafafa;
}

.match-public-event-row strong,
.match-public-event-row small {
  display: block;
  min-width: 0;
}

.match-public-event-row small {
  margin-top: 3px;
  color: var(--muted);
}

.match-legal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 24px 34px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.match-legal-footer a {
  text-decoration: none;
}

.match-legal-footer a:hover,
.match-legal-footer a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.match-users-list {
  display: grid;
  gap: 12px;
}

.match-compact-table {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid #e4e4e7;
  border-radius: 10px;
  background: #fff;
}

.match-compact-row {
  display: grid;
  grid-template-columns: 130px minmax(220px, 1fr) 90px 90px 180px;
  gap: 10px;
  align-items: center;
  min-height: 40px;
  padding: 7px 10px;
  border-top: 1px solid #f1f5f9;
  color: #27272a;
  font-size: 14px;
}

.match-compact-row:first-child {
  border-top: 0;
}

.match-compact-row.head {
  min-height: 34px;
  background: #f8fafc;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.match-compact-row strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-compact-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.match-compact-actions button {
  min-height: 30px;
  padding: 0 9px;
  font-size: 13px;
}

.match-events-list {
  display: grid;
  gap: 12px;
}

.match-detail-page {
  padding: 34px 0 64px;
}

.match-detail-hero {
  display: grid;
  gap: 12px;
}

.match-detail-hero h1 {
  margin: 0;
}

.match-detail-logo {
  width: min(180px, 45vw);
  max-height: 110px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 12px;
}

.match-public-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.match-public-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.match-public-card h3,
.match-public-card p {
  margin: 0;
}

.match-public-card-logo {
  width: 96px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 8px;
}

.match-event-row.public {
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.match-event-row.public:hover,
.match-event-row.public:focus {
  border-color: rgba(24, 24, 27, 0.26);
  transform: translateY(-1px);
}

.match-event-sortbar {
  display: grid;
  grid-template-columns: minmax(170px, 0.4fr) minmax(150px, 0.35fr) minmax(220px, 1fr);
  gap: 10px;
  margin: 10px 0 16px;
  align-items: end;
}

.match-event-sortbar label {
  margin: 0;
}

.match-user-row,
.match-event-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
}

.match-user-row strong,
.match-user-row span,
.match-user-row small {
  display: block;
}

.match-user-row span,
.match-user-row small,
.match-status {
  color: var(--muted);
}

.match-user-row p,
.match-event-row p,
.match-event-row small {
  margin: 8px 0 0;
  color: var(--muted);
}

.match-event-row h3 {
  margin: 8px 0 4px;
  font-size: 22px;
}

.match-clickable-row {
  cursor: pointer;
}

.match-clickable-row:hover,
.match-clickable-row:focus {
  outline: none;
  border-color: rgba(24, 24, 27, 0.2);
  background: #f8fafc;
}

.match-pill {
  display: inline-flex;
  margin-right: 6px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
}

.muted-pill {
  background: #f4f4f5;
  color: #3f3f46;
}

@media (max-width: 880px) {
  .match-hero,
  .match-grid,
  .integration-grid,
  .match-feature-strip,
  .match-material-grid,
  .match-status-grid,
  .match-option-grid,
  .match-link-token-row,
  .match-admin-filter,
  .match-compact-row,
  .match-form-grid,
  .match-public-profile-grid,
  .match-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .public-search,
  .public-search fieldset {
    grid-template-columns: 1fr;
  }

  .public-search select,
  .match-date-filter,
  .match-date-filter input {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .public-search input,
  .public-search select,
  .public-search button,
  .match-date-filter input[type="date"] {
    display: block;
    inline-size: 100%;
    max-inline-size: 100%;
  }

  .match-date-filter input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 8px;
  }

  .match-event-row,
  .match-user-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .match-event-sortbar {
    grid-template-columns: 1fr;
  }

  .match-event-row h3 {
    font-size: 19px;
    line-height: 1.22;
  }

  .match-event-row p,
  .match-event-row small,
  .match-user-row span,
  .match-user-row small {
    overflow-wrap: anywhere;
  }

  .match-compact-row.head {
    display: none;
  }

  .match-compact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .match-header,
  .match-app-header,
  .match-panel-header,
  .match-user-row,
  .match-event-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .match-header nav {
    width: 100%;
    align-items: stretch;
  }

  .match-header nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }

  .match-hero,
  .match-section,
  .match-grid,
  .match-app {
    padding-left: 16px;
    padding-right: 16px;
  }

  .match-hero {
    min-height: 0;
    padding-top: 34px;
    padding-bottom: 48px;
  }

  .match-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .match-actions .primary-action,
  .match-actions .secondary-action,
  .match-actions button {
    width: 100%;
  }

  .match-overlay-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .match-overlay-footer .primary-action,
  .match-overlay-footer .secondary-action,
  .match-overlay-footer button {
    width: 100%;
  }
}
