.match-assistant {
  --ma-blue: #1966ff;
  --ma-ink: #11203a;
  --ma-pink: #ff377f;
  --ma-violet: #7a46ff;
  --ma-green: #15a96b;
  --ma-gold: #ffba49;
  --ma-line: #dfe9fb;
  --ma-soft: #f5f8ff;
  --ma-muted: #667792;
  --ma-surface: rgba(255, 255, 255, 0.98);
  --ma-shadow: 0 24px 60px rgba(25, 74, 168, 0.12);
  background:
    radial-gradient(circle at top right, rgba(25, 102, 255, 0.16), transparent 22%),
    radial-gradient(circle at top left, rgba(255, 55, 127, 0.12), transparent 18%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 44%, #f9fbff 100%);
  color: var(--ma-ink);
  padding: 38px 0 58px;
}

.match-assistant__shell {
  max-width: 1280px;
}

.match-assistant__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  min-width: 300px;
  padding: 12px 30px;
  border-radius: 999px;
  border: 2px solid rgba(255, 186, 73, 0.75);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(25, 102, 255, 0.08);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.match-assistant__hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 28px;
  align-items: center;
  padding: 8px 0 22px;
}

.match-assistant__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(122, 70, 255, 0.1);
  color: var(--ma-violet);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.match-assistant__hero-copy h1 {
  margin: 18px 0 0;
  max-width: 650px;
  font-size: clamp(3rem, 6vw, 5.1rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.match-assistant__hero-copy h1,
.match-assistant__hero-copy h1 * {
  background: linear-gradient(90deg, var(--ma-pink) 0%, var(--ma-violet) 44%, var(--ma-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.match-assistant__hero-copy p {
  max-width: 560px;
  margin: 22px 0 26px;
  color: var(--ma-ink);
  font-size: 1.25rem;
  line-height: 1.55;
  font-weight: 500;
}

.match-assistant__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.match-assistant__button,
.match-assistant__button:hover,
.match-assistant__button:focus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.match-assistant__button:hover,
.match-assistant__button:focus {
  transform: translateY(-2px);
}

.match-assistant__button--primary {
  background: linear-gradient(135deg, #1f74ff 0%, #1550e6 100%);
  box-shadow: 0 16px 30px rgba(25, 102, 255, 0.24);
  color: #fff;
}

.match-assistant__button--ghost {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--ma-line);
  box-shadow: 0 16px 30px rgba(17, 32, 58, 0.08);
  color: var(--ma-ink);
}

.match-assistant__hero-context {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.match-assistant__context-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid var(--ma-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 26px rgba(17, 32, 58, 0.05);
  color: var(--ma-ink);
  font-size: 0.96rem;
  font-weight: 600;
}

.match-assistant__context-pill i {
  color: var(--ma-blue);
}

.match-assistant__hero-art {
  position: relative;
  min-height: 420px;
}

.match-assistant__hero-art img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 30px 70px rgba(17, 47, 110, 0.18));
}

.match-assistant__hero-float {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(223, 233, 251, 0.9);
  box-shadow: var(--ma-shadow);
}

.match-assistant__hero-float strong {
  font-size: 1.02rem;
  font-weight: 800;
}

.match-assistant__hero-float span {
  color: var(--ma-muted);
  font-size: 0.92rem;
}

.match-assistant__workspace,
.match-assistant__timeline-card,
.match-assistant__trust,
.match-assistant__chat-card,
.match-assistant__fixture-card,
.match-assistant__guide-card,
.match-assistant__insight-card,
.match-assistant__match-card {
  background: var(--ma-surface);
  border: 1px solid var(--ma-line);
  box-shadow: var(--ma-shadow);
}

.match-assistant__workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.58fr);
  gap: 18px;
  padding: 18px;
  border-radius: 30px;
}

.match-assistant__chat-card,
.match-assistant__fixture-card,
.match-assistant__timeline-card,
.match-assistant__guide-card,
.match-assistant__insight-card {
  border-radius: 26px;
}

.match-assistant__chat-card {
  padding: 18px;
}

.match-assistant__chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(223, 233, 251, 0.8);
}

.match-assistant__chat-title {
  font-size: 1.08rem;
  font-weight: 800;
}

.match-assistant__chat-subtitle,
.match-assistant__chat-time,
.match-assistant__chat-note {
  color: var(--ma-muted);
  font-size: 0.94rem;
}

.match-assistant__chat-time {
  white-space: nowrap;
}

.match-assistant__chat-messages {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 300px;
  max-height: 430px;
  padding: 18px 0;
  overflow: auto;
}

.match-assistant__message {
  max-width: 86%;
  padding: 15px 18px;
  border-radius: 22px;
  font-size: 1rem;
  line-height: 1.55;
}

.match-assistant__message strong {
  font-weight: 800;
}

.match-assistant__message p,
.match-assistant__message ul,
.match-assistant__message ol {
  margin: 0 0 10px;
}

.match-assistant__message p:last-child,
.match-assistant__message ul:last-child,
.match-assistant__message ol:last-child {
  margin-bottom: 0;
}

.match-assistant__message ul,
.match-assistant__message ol {
  padding-left: 18px;
}

.match-assistant__message--bot {
  align-self: flex-start;
  background: #f4f7ff;
  color: var(--ma-ink);
}

.match-assistant__message--bot.is-highlight {
  background: linear-gradient(135deg, rgba(25, 102, 255, 0.08), rgba(122, 70, 255, 0.12));
  border: 1px solid rgba(25, 102, 255, 0.12);
}

.match-assistant__message--user {
  align-self: flex-end;
  background: linear-gradient(135deg, #1e6fff 0%, #6a55ff 100%);
  color: #fff;
}

.match-assistant__message--user strong {
  color: inherit;
}

.match-assistant__prompt-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.match-assistant__prompt,
.match-assistant__guide-copy button,
.match-assistant__text-link,
.match-assistant__cta,
.match-assistant__match-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.match-assistant__prompt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--ma-line);
  border-radius: 999px;
  background: #fff;
  color: var(--ma-ink);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.match-assistant__prompt:hover,
.match-assistant__guide-copy button:hover,
.match-assistant__text-link:hover,
.match-assistant__cta:hover,
.match-assistant__match-card:hover {
  transform: translateY(-2px);
}

.match-assistant__prompt:hover {
  border-color: rgba(25, 102, 255, 0.22);
  background: rgba(25, 102, 255, 0.08);
  color: var(--ma-blue);
}

.match-assistant__input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--ma-line);
  border-radius: 999px;
  background: #fff;
}

.match-assistant__input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ma-ink);
  font-size: 1rem;
  outline: 0;
}

.match-assistant__send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #1f74ff 0%, #1550e6 100%);
  box-shadow: 0 14px 24px rgba(25, 102, 255, 0.24);
  color: #fff;
  cursor: pointer;
}

.match-assistant__send:disabled {
  opacity: 0.7;
  cursor: wait;
}

.match-assistant__send i {
  font-size: 1.05rem;
}

.match-assistant__chat-note {
  margin-top: 14px;
}

.match-assistant__fixture-card {
  padding: 18px;
}

.match-assistant__fixture-stage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.match-assistant__fixture-stage span {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 55, 127, 0.08);
  color: var(--ma-pink);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.match-assistant__fixture-stage a,
.match-assistant__section-head a,
.match-assistant__text-link {
  color: var(--ma-violet);
  font-weight: 700;
  text-decoration: none;
}

.match-assistant__text-link {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.match-assistant__fixture-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.match-assistant__team-tile {
  padding: 16px 14px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, var(--team-primary) 0%, var(--team-secondary) 100%);
  color: var(--team-accent);
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.match-assistant__team-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 30px;
  margin-bottom: 8px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.match-assistant__team-tile strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
}

.match-assistant__versus {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--ma-muted);
}

.match-assistant__fixture-meta {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  color: var(--ma-ink);
}

.match-assistant__fixture-meta div {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--ma-soft);
}

.match-assistant__fixture-meta i {
  color: var(--ma-blue);
}

.match-assistant__countdown {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(25, 102, 255, 0.08), rgba(122, 70, 255, 0.1));
  text-align: center;
}

.match-assistant__countdown-label,
.match-assistant__countdown-unit {
  display: block;
  color: var(--ma-muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.match-assistant__countdown-value {
  display: block;
  margin: 6px 0;
  color: var(--ma-blue);
  font-size: 3rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.match-assistant__countdown-detail {
  margin: 10px 0 0;
  color: var(--ma-ink);
  font-size: 0.95rem;
  line-height: 1.55;
}

.match-assistant__section {
  margin-top: 28px;
}

.match-assistant__section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.match-assistant__section-head h2 {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.match-assistant__section-head p {
  margin: 6px 0 0;
  color: var(--ma-muted);
}

.match-assistant__refresh-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(25, 102, 255, 0.08);
  border: 1px solid rgba(25, 102, 255, 0.12);
  color: var(--ma-blue);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.match-assistant__match-card {
  padding: 18px;
  border-radius: 24px;
  text-align: left;
  cursor: pointer;
}

.match-assistant__match-card.is-active {
  border-color: rgba(25, 102, 255, 0.24);
  background: linear-gradient(180deg, rgba(25, 102, 255, 0.05), rgba(255, 255, 255, 0.98));
  box-shadow: 0 20px 44px rgba(25, 102, 255, 0.14);
}

.match-assistant__match-card-top,
.match-assistant__match-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--ma-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.match-assistant__match-card-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin: 16px 0;
}

.match-assistant__match-card-teams strong {
  font-size: 1.04rem;
  font-weight: 800;
}

.match-assistant__match-card-teams span {
  color: var(--ma-blue);
  font-size: 0.88rem;
  font-weight: 900;
}

.match-assistant__spotlight {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  padding: 20px;
  border-radius: 30px;
  background: var(--ma-surface);
  border: 1px solid var(--ma-line);
  box-shadow: var(--ma-shadow);
}

.match-assistant__spotlight-art {
  border-radius: 24px;
  overflow: hidden;
  min-height: 280px;
  background: linear-gradient(135deg, #edf4ff 0%, #f6f8ff 100%);
}

.match-assistant__spotlight-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.match-assistant__spotlight-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.match-assistant__spotlight-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 55, 127, 0.08);
  color: var(--ma-pink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.match-assistant__spotlight-copy h2 {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.match-assistant__spotlight-copy h2 small {
  color: var(--ma-muted);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.match-assistant__spotlight-headline {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.65;
  font-weight: 600;
  color: var(--ma-ink);
}

.match-assistant__spotlight-note {
  padding: 16px 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(122, 70, 255, 0.08), rgba(25, 102, 255, 0.08));
  border: 1px solid rgba(122, 70, 255, 0.12);
  color: var(--ma-ink);
  font-weight: 600;
  line-height: 1.6;
}

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

.match-assistant__spotlight-fact {
  padding: 16px 18px;
  border-radius: 22px;
  background: var(--ma-soft);
}

.match-assistant__spotlight-fact span,
.match-assistant__trip-head span,
.match-assistant__list-card span,
.match-assistant__trip-time {
  display: block;
  color: var(--ma-muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.match-assistant__spotlight-fact strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.55;
}

.match-assistant__spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.match-assistant__host-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--ma-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 34px rgba(17, 32, 58, 0.06);
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.match-assistant__host-card:hover {
  transform: translateY(-2px);
  border-color: rgba(25, 102, 255, 0.2);
}

.match-assistant__host-card.is-active {
  border-color: rgba(25, 102, 255, 0.28);
  background: linear-gradient(180deg, rgba(25, 102, 255, 0.06), rgba(255, 255, 255, 0.98));
  box-shadow: 0 22px 44px rgba(25, 102, 255, 0.12);
}

.match-assistant__host-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--ma-muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.match-assistant__host-card h3 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.match-assistant__host-card p {
  margin: 0;
  color: var(--ma-muted);
  line-height: 1.6;
}

.match-assistant__host-card strong {
  color: var(--ma-ink);
  font-size: 0.96rem;
  font-weight: 800;
}

.match-assistant__guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.match-assistant__guide-card {
  overflow: hidden;
}

.match-assistant__guide-image {
  aspect-ratio: 1.7 / 1;
  background: linear-gradient(135deg, #eff5ff 0%, #eef6ff 100%);
}

.match-assistant__guide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.match-assistant__guide-copy {
  padding: 18px;
}

.match-assistant__guide-label {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(122, 70, 255, 0.08);
  color: var(--ma-violet);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.match-assistant__guide-copy h3 {
  margin: 14px 0 6px;
  font-size: 1.34rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.match-assistant__guide-meta {
  color: var(--ma-blue);
  font-size: 0.92rem;
  font-weight: 700;
}

.match-assistant__guide-copy p {
  margin: 0 0 14px;
  color: var(--ma-muted);
  line-height: 1.58;
}

.match-assistant__guide-copy button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ma-violet);
  font-weight: 800;
  cursor: pointer;
}

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

.match-assistant__trip-panel {
  padding: 20px;
  border-radius: 30px;
  background: var(--ma-surface);
  border: 1px solid var(--ma-line);
  box-shadow: var(--ma-shadow);
}

.match-assistant__trip-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.match-assistant__trip-head h3 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.match-assistant__trip-head h3 span {
  display: inline;
  color: var(--ma-blue);
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: uppercase;
}

.match-assistant__list-card {
  display: flex;
  gap: 14px;
  padding: 16px 0;
}

.match-assistant__list-card + .match-assistant__list-card {
  border-top: 1px solid rgba(220, 232, 251, 0.9);
}

.match-assistant__list-card h4,
.match-assistant__trip-copy h4 {
  margin: 0 0 5px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
}

.match-assistant__list-card p,
.match-assistant__trip-copy p {
  margin: 0;
  color: var(--ma-muted);
  line-height: 1.7;
}

.match-assistant__list-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(23, 102, 255, 0.12) 0%, rgba(17, 184, 216, 0.18) 100%);
  color: var(--ma-blue);
}

.match-assistant__list-icon--warm {
  background: linear-gradient(135deg, rgba(255, 140, 66, 0.16) 0%, rgba(255, 211, 82, 0.22) 100%);
  color: #f97316;
}

.match-assistant__trip-panel--timeline {
  background:
    radial-gradient(circle at top right, rgba(122, 70, 255, 0.08), transparent 32%),
    var(--ma-surface);
}

.match-assistant__trip-timeline {
  display: grid;
  gap: 14px;
}

.match-assistant__trip-timeline-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(220, 232, 251, 0.95);
  background: rgba(255, 255, 255, 0.96);
}

.match-assistant__trip-copy {
  position: relative;
  padding-left: 18px;
}

.match-assistant__trip-copy::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ma-pink), var(--ma-blue));
  box-shadow: 0 0 0 6px rgba(25, 102, 255, 0.08);
}

.match-assistant__timeline-card {
  padding: 22px;
}

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

.match-assistant__timeline-item {
  position: relative;
  padding: 20px;
  border-radius: 24px;
  background: var(--ma-soft);
}

.match-assistant__timeline-item::before {
  content: "";
  position: absolute;
  top: 28px;
  left: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ma-pink), var(--ma-violet));
  box-shadow: 0 0 0 5px rgba(122, 70, 255, 0.08);
}

.match-assistant__timeline-label {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(25, 102, 255, 0.08);
  color: var(--ma-blue);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.match-assistant__timeline-item strong {
  display: block;
  margin-top: 14px;
  font-size: 1.08rem;
  font-weight: 800;
}

.match-assistant__timeline-item h3 {
  margin: 8px 0 8px;
  font-size: 1.25rem;
  font-weight: 800;
}

.match-assistant__timeline-item p {
  margin: 0;
  color: var(--ma-muted);
  line-height: 1.58;
}

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

.match-assistant__insight-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
}

.match-assistant__insight-card i {
  color: var(--ma-blue);
  font-size: 1.6rem;
}

.match-assistant__insight-card span {
  display: block;
  color: var(--ma-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.match-assistant__insight-card strong {
  display: block;
  margin-top: 4px;
  font-size: 1.15rem;
  font-weight: 800;
}

.match-assistant__insight-card p {
  margin: 8px 0 0;
  color: var(--ma-muted);
  line-height: 1.55;
}

.match-assistant__cta-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.match-assistant__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 70px;
  padding: 0 18px;
  border: 0;
  border-radius: 22px;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 18px 30px rgba(17, 32, 58, 0.12);
}

.match-assistant__cta--violet {
  background: linear-gradient(135deg, #8a36ff 0%, #5e4dff 100%);
}

.match-assistant__cta--blue {
  background: linear-gradient(135deg, #1f74ff 0%, #1550e6 100%);
}

.match-assistant__cta--green {
  background: linear-gradient(135deg, #12b76a 0%, #0e9661 100%);
}

.match-assistant__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 20px 22px;
  border-radius: 28px;
}

.match-assistant__trust article {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.match-assistant__trust i {
  color: var(--ma-blue);
  font-size: 1.4rem;
}

.match-assistant__trust strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
}

.match-assistant__trust span {
  display: block;
  margin-top: 6px;
  color: var(--ma-muted);
  line-height: 1.55;
}

@media (max-width: 1199px) {
  .match-assistant__hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .match-assistant__hero-art {
    max-width: 860px;
    margin: 0 auto;
  }

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

  .match-assistant__spotlight,
  .match-assistant__host-grid,
  .match-assistant__guide-grid,
  .match-assistant__trip-grid,
  .match-assistant__timeline,
  .match-assistant__insights,
  .match-assistant__cta-strip,
  .match-assistant__trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .match-assistant__workspace {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 767px) {
  .match-assistant {
    padding: 28px 0 44px;
  }

  .match-assistant__badge {
    min-width: 0;
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .match-assistant__hero-copy h1 {
    font-size: clamp(2.4rem, 11vw, 3.5rem);
  }

  .match-assistant__hero-copy p {
    font-size: 1.05rem;
  }

  .match-assistant__hero-float {
    position: static;
    margin-top: 12px;
  }

  .match-assistant__chat-header,
  .match-assistant__section-head {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .match-assistant__spotlight-actions {
    flex-direction: column;
  }

  .match-assistant__message {
    max-width: 100%;
  }

  .match-assistant__prompt-row {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .match-assistant__prompt {
    white-space: nowrap;
  }

  .match-assistant__spotlight,
  .match-assistant__host-grid,
  .match-assistant__fixture-teams,
  .match-assistant__match-grid,
  .match-assistant__guide-grid,
  .match-assistant__trip-grid,
  .match-assistant__timeline,
  .match-assistant__insights,
  .match-assistant__cta-strip,
  .match-assistant__trust {
    grid-template-columns: minmax(0, 1fr);
  }

  .match-assistant__trip-timeline-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .match-assistant__trip-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .match-assistant__trip-copy {
    padding-left: 0;
  }

  .match-assistant__trip-copy::before {
    display: none;
  }

  .match-assistant__timeline-item::before {
    display: none;
  }

  .match-assistant__input-row {
    border-radius: 22px;
  }

  .match-assistant__send {
    flex: 0 0 auto;
  }
}
