/* DigiAvand Match: a scoped, mobile-first personal selection desk. */
[data-match-root],
.match-page-shell {
  --match-coral: #f5535b;
  --match-coral-deep: #df3d47;
  --match-blush: #fff0f2;
  --match-ink: #18212f;
  --match-slate: #66758a;
  --match-cloud: #f6f8fb;
  --match-mint: #158b73;
}

[data-match-root] {
  position: fixed;
  inset: 0;
  z-index: 10050;
  color: var(--match-ink);
}

[data-match-root][hidden] {
  display: none;
}

html.match-dialog-open,
html.match-dialog-open body {
  overflow: hidden;
}

.match-dialog {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  isolation: isolate;
}

.match-dialog__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 18%, rgba(245, 83, 91, .2), transparent 32%),
    rgba(19, 27, 39, .64);
  -webkit-backdrop-filter: blur(9px) saturate(110%);
  backdrop-filter: blur(9px) saturate(110%);
  animation: match-fade-in .24s ease-out both;
}

.match-dialog__panel,
.match-page-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-height: min(820px, calc(100dvh - 48px));
  overflow: hidden auto;
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 32px 90px rgba(16, 24, 38, .34), 0 2px 12px rgba(16, 24, 38, .08);
  animation: match-panel-in .28s cubic-bezier(.22, .9, .36, 1) both;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 83, 91, .45) transparent;
}

.match-dialog__panel::before,
.match-page-panel::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 34px;
  left: 34px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, transparent, var(--match-coral), transparent);
  content: '';
}

.match-dialog__grabber {
  display: none;
}

.match-dialog__chrome {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px 8px;
}

.match-dialog__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--match-coral);
  font-family: ui-rounded, "SF Pro Rounded", Tahoma, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
}

.match-dialog__brand i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 10px;
  background: var(--match-blush);
  font-size: 13px;
}

.match-dialog__close {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e8ecf2;
  border-radius: 13px;
  background: #fff;
  color: #7b8899;
  box-shadow: 0 4px 14px rgba(24, 33, 47, .06);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, color .18s ease, background .18s ease;
}

.match-dialog__close:hover {
  border-color: #f9c8cd;
  background: var(--match-blush);
  color: var(--match-coral);
  transform: rotate(-4deg);
}

.match-dialog__content {
  min-height: 0;
}

.match-screen {
  padding: 4px 38px 34px;
}

.match-screen--intro {
  padding-top: 8px;
}

.match-screen__heading {
  margin-top: 26px;
}

.match-screen__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--match-coral);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.match-screen__title {
  margin: 9px 0 0;
  color: var(--match-ink);
  font-size: clamp(23px, 3.7vw, 31px);
  font-weight: 850;
  line-height: 1.5;
  letter-spacing: -.035em;
  outline: none;
}

.match-screen__copy {
  max-width: 590px;
  margin: 8px 0 0;
  color: var(--match-slate);
  font-size: 13px;
  line-height: 1.95;
}

.match-intro {
  display: grid;
  grid-template-columns: 148px 1fr;
  align-items: center;
  gap: 30px;
}

.match-intro__mark {
  position: relative;
  display: grid;
  width: 138px;
  height: 138px;
  place-items: center;
}

.match-intro__mark::before {
  position: absolute;
  inset: 15px;
  border-radius: 38% 62% 56% 44% / 45% 42% 58% 55%;
  background: linear-gradient(145deg, #ff7b82, var(--match-coral));
  box-shadow: 0 18px 40px rgba(245, 83, 91, .28);
  content: '';
  transform: rotate(8deg);
}

.match-intro__orbit {
  position: absolute;
  border: 1px solid rgba(245, 83, 91, .24);
  border-radius: 50%;
}

.match-intro__orbit--one {
  inset: 1px 13px 11px 0;
}

.match-intro__orbit--two {
  inset: 10px 0 0 15px;
  border-style: dashed;
  transform: rotate(18deg);
}

.match-intro__spark {
  position: relative;
  z-index: 1;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 19px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 24px;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.match-intro__promises {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 26px;
  padding: 9px;
  border: 1px solid #ebeff4;
  border-radius: 18px;
  background: var(--match-cloud);
}

.match-intro__promises span {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 12px;
  color: #536176;
  font-size: 11px;
  font-weight: 700;
}

.match-intro__promises i {
  color: var(--match-coral);
  font-size: 13px;
}

.match-progress {
  padding: 15px 18px 13px;
  border: 1px solid #e9edf3;
  border-radius: 20px;
  background: linear-gradient(180deg, #fafbfd, #f7f9fb);
}

.match-progress__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: #8793a3;
  font-size: 10px;
  font-weight: 700;
}

.match-progress__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.match-progress__track::before {
  position: absolute;
  z-index: 0;
  top: 13px;
  right: calc(16.666% + 13px);
  left: calc(16.666% + 13px);
  height: 2px;
  background: #dfe5ec;
  content: '';
}

.match-progress__track li {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #99a4b2;
}

.match-progress__track li > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 3px solid var(--match-cloud);
  border-radius: 50%;
  background: #dfe5ec;
  color: #788697;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 0 0 1px #dfe5ec;
}

.match-progress__track li small {
  font-size: 9px;
  font-weight: 700;
}

.match-progress__track li.is-current,
.match-progress__track li.is-complete {
  color: var(--match-ink);
}

.match-progress__track li.is-current > span,
.match-progress__track li.is-complete > span {
  background: var(--match-coral);
  color: #fff;
  box-shadow: 0 0 0 1px var(--match-coral), 0 5px 14px rgba(245, 83, 91, .2);
}

.match-progress__track li.is-complete > span {
  color: transparent;
}

.match-progress__track li.is-complete > span::after {
  position: absolute;
  color: #fff;
  content: '✓';
}

.match-screen__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.match-screen__dismiss {
  margin-top: 10px;
}

.match-screen--intro .match-screen__dismiss .match-button {
  width: 100%;
}

.match-screen__actions--split {
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid #edf0f4;
}

.match-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 15px;
  padding: 11px 20px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease, background .18s ease;
}

.match-button i {
  font-size: 13px;
}

.match-button:focus-visible,
.match-choice:focus-within,
.match-budget-presets button:focus-visible,
.match-dialog__close:focus-visible,
.match-screen__reset button:focus-visible {
  outline: 3px solid rgba(245, 83, 91, .2);
  outline-offset: 2px;
}

.match-button--primary {
  border-color: var(--match-coral);
  background: linear-gradient(135deg, #ff646c, var(--match-coral) 55%, var(--match-coral-deep));
  color: #fff;
  box-shadow: 0 9px 22px rgba(245, 83, 91, .24);
}

.match-button--primary:hover {
  color: #fff;
  box-shadow: 0 12px 28px rgba(245, 83, 91, .32);
  transform: translateY(-1px);
}

.match-button--hero {
  position: relative;
  width: 100%;
  min-height: 58px;
  justify-content: flex-start;
  padding-inline: 20px 58px;
  overflow: hidden;
}

.match-button--hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .2), transparent 70%);
  content: '';
  transform: translateX(105%);
  transition: transform .45s ease;
}

.match-button--hero:hover::after {
  transform: translateX(-105%);
}

.match-button--hero > span {
  font-size: 14px;
}

.match-button--hero > small {
  margin-inline-start: auto;
  color: rgba(255, 255, 255, .75);
  font-size: 10px;
  font-weight: 600;
}

.match-button--hero > i {
  position: absolute;
  left: 20px;
  font-size: 16px;
}

.match-button--secondary,
.match-button--quiet {
  border-color: #e5eaf0;
  background: #fff;
  color: #536176;
}

.match-button--secondary {
  border-color: #f7cdd1;
  background: var(--match-blush);
  color: var(--match-coral-deep);
}

.match-button--quiet:hover,
.match-button--secondary:hover {
  border-color: var(--match-coral);
  color: var(--match-coral-deep);
  transform: translateY(-1px);
}

.match-button--wide {
  width: 100%;
  margin-top: 16px;
}

.match-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.match-choice {
  position: relative;
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  border: 1px solid #e4e9ef;
  border-radius: 16px;
  background: #fff;
  padding: 10px 12px;
  color: #536176;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.match-choice:hover {
  border-color: #f6bbc0;
  transform: translateY(-1px);
}

.match-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.match-choice__initial {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  place-items: center;
  border-radius: 12px;
  background: var(--match-cloud);
  color: #758397;
  font-size: 13px;
  font-weight: 850;
  transition: background .16s ease, color .16s ease;
}

.match-choice__text {
  min-width: 0;
  flex: 1;
}

.match-choice__check {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  border: 1px solid #dfe5ec;
  border-radius: 50%;
  color: transparent;
  font-size: 8px;
}

.match-choice:has(input:checked) {
  border-color: var(--match-coral);
  background: var(--match-blush);
  color: var(--match-coral-deep);
  box-shadow: 0 7px 20px rgba(245, 83, 91, .1);
}

.match-choice:has(input:checked) .match-choice__initial,
.match-choice:has(input:checked) .match-choice__check {
  border-color: var(--match-coral);
  background: var(--match-coral);
  color: #fff;
}

.match-choice-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.match-choice--compact {
  min-height: 44px;
  justify-content: center;
  padding: 8px 10px;
  text-align: center;
}

.match-choice--compact .match-choice__check {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 18px;
  height: 18px;
}

.match-budget-input {
  display: block;
  margin-top: 22px;
}

.match-budget-input__label {
  display: block;
  margin-bottom: 8px;
  color: #4e5d71;
  font-size: 11px;
  font-weight: 800;
}

.match-budget-input__field {
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 10px;
  border: 1px solid #dfe5ec;
  border-radius: 18px;
  background: #fff;
  padding: 0 17px;
  box-shadow: 0 8px 24px rgba(24, 33, 47, .05);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.match-budget-input__field:focus-within {
  border-color: var(--match-coral);
  box-shadow: 0 0 0 4px rgba(245, 83, 91, .1), 0 8px 24px rgba(24, 33, 47, .05);
}

.match-budget-input__field > i {
  color: var(--match-coral);
  font-size: 18px;
}

.match-budget-input input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--match-ink);
  font: inherit;
  font-size: 19px;
  font-weight: 850;
  outline: none;
}

.match-budget-input input::placeholder {
  color: #b3bdc9;
}

.match-budget-input__field small {
  color: #7d8a9b;
  font-size: 11px;
  font-weight: 700;
}

.match-field-hint {
  margin-top: 8px;
  color: #8a96a6;
  font-size: 10px;
}

.match-budget-presets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.match-budget-presets button {
  display: grid;
  gap: 2px;
  min-height: 54px;
  place-content: center;
  border: 1px solid #e4e9ef;
  border-radius: 14px;
  background: var(--match-cloud);
  color: #526075;
  font: inherit;
  cursor: pointer;
  transition: border-color .16s ease, color .16s ease, background .16s ease, transform .16s ease;
}

.match-budget-presets button span {
  font-size: 12px;
  font-weight: 850;
}

.match-budget-presets button small {
  color: #97a2b0;
  font-size: 9px;
}

.match-budget-presets button:hover,
.match-budget-presets button.is-selected {
  border-color: var(--match-coral);
  background: var(--match-blush);
  color: var(--match-coral-deep);
  transform: translateY(-1px);
}

.match-form-error {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 15px 0 -5px;
  border-radius: 12px;
  background: #fff0f1;
  padding: 9px 11px;
  color: #c82f39;
  font-size: 11px;
  font-weight: 700;
}

.match-empty-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--match-slate);
  font-size: 12px;
}

.match-option-section {
  margin-top: 15px;
  border: 1px solid #e8ecf2;
  border-radius: 20px;
  background: var(--match-cloud);
  padding: 15px;
}

.match-option-section__heading {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 10px;
}

.match-option-section__icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 13px;
  background: var(--match-blush);
  color: var(--match-coral);
  font-size: 15px;
}

.match-option-section__icon--fabric {
  background: #eaf7f4;
  color: var(--match-mint);
}

.match-option-section__heading h2 {
  margin: 0;
  color: var(--match-ink);
  font-size: 12px;
  font-weight: 850;
}

.match-option-section__heading p {
  margin: 2px 0 0;
  color: #8a96a6;
  font-size: 9px;
}

.match-option-section__optional {
  border-radius: 999px;
  background: #fff;
  padding: 5px 8px;
  color: #8995a5;
  font-size: 9px;
  font-weight: 700;
}

.match-option-section__empty {
  margin: 12px 0 0;
  border-radius: 12px;
  background: #fff;
  padding: 10px;
  color: #7d8999;
  font-size: 10px;
  line-height: 1.8;
}

.match-results-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.match-results-heading__mark {
  display: grid;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(145deg, #ff777e, var(--match-coral));
  color: #fff;
  box-shadow: 0 12px 28px rgba(245, 83, 91, .23);
  font-size: 20px;
  transform: rotate(4deg);
}

.match-results-heading .match-screen__title {
  font-size: clamp(22px, 3.4vw, 28px);
}

.match-result-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.match-result-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  border: 1px solid #e5eaf0;
  border-radius: 20px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 8px 24px rgba(24, 33, 47, .045);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.match-result-card:hover {
  border-color: #f5c3c7;
  box-shadow: 0 13px 30px rgba(24, 33, 47, .08);
  transform: translateY(-1px);
}

.match-result-card__media {
  position: relative;
  min-height: 132px;
  overflow: hidden;
  border-radius: 15px;
  background: linear-gradient(145deg, #f7f8fb, #eef2f6);
}

.match-result-card__media img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: transparent;
  font-size: 0;
}

.match-result-card__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #c3cbd5;
  font-size: 22px;
}

.match-result-card__rank {
  position: absolute;
  z-index: 2;
  top: 7px;
  right: 7px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .85);
  border-radius: 9px;
  background: var(--match-coral);
  color: #fff;
  font-size: 9px;
  font-weight: 850;
  box-shadow: 0 4px 12px rgba(245, 83, 91, .24);
}

.match-result-card__content {
  min-width: 0;
  padding: 3px 2px;
}

.match-result-card__topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.match-result-card__category {
  color: #9aa5b2;
  font-size: 9px;
  font-weight: 700;
}

.match-result-card__topline h2 {
  margin: 3px 0 0;
  color: var(--match-ink);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.65;
}

.match-result-card__score {
  display: grid;
  min-width: 48px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #c9ebe3;
  border-radius: 12px;
  background: #eaf8f4;
  padding: 6px 7px 5px;
  color: var(--match-mint);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
}

.match-result-card__score small {
  margin-top: 3px;
  font-size: 7px;
  font-weight: 700;
}

.match-result-card__facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 12px;
  margin-top: 6px;
}

.match-result-card__price {
  margin: 0;
  color: var(--match-ink);
  font-size: 12px;
  font-weight: 900;
}

.match-result-card__price small {
  color: #758296;
  font-size: 8px;
}

.match-result-card__facts > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #738095;
  font-size: 9px;
  font-weight: 700;
}

.match-result-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  color: #738095;
  font-size: 8px;
  line-height: 1.7;
}

.match-result-card li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.match-result-card li i {
  color: var(--match-mint);
  font-size: 7px;
}

.match-result-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  color: var(--match-coral-deep);
  font-size: 10px;
  font-weight: 850;
  text-decoration: none;
}

.match-empty-state {
  display: grid;
  justify-items: center;
  margin-top: 22px;
  border: 1px dashed #f2bfc4;
  border-radius: 22px;
  background: var(--match-blush);
  padding: 26px 18px;
  text-align: center;
}

.match-empty-state__icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 18px;
  background: #fff;
  color: var(--match-coral);
  box-shadow: 0 8px 22px rgba(245, 83, 91, .13);
  font-size: 18px;
}

.match-empty-state h2 {
  margin: 12px 0 0;
  color: var(--match-ink);
  font-size: 15px;
  font-weight: 850;
}

.match-empty-state p {
  margin: 6px 0 0;
  color: var(--match-slate);
  font-size: 11px;
  line-height: 1.8;
}

.match-screen__reset {
  margin-top: 14px;
  text-align: center;
}

.match-screen__reset button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  padding: 8px;
  color: #9aa5b2;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}

.match-page-shell {
  display: grid;
  min-height: 68vh;
  place-items: center;
  padding: 34px 12px;
  background:
    radial-gradient(circle at 72% 8%, rgba(245, 83, 91, .08), transparent 27%),
    #f8fafc;
}

.match-page-panel {
  max-height: none;
  padding-top: 22px;
}

.match-mobile-trigger {
  position: fixed;
  z-index: 9984;
  bottom: calc(84px + env(safe-area-inset-bottom));
  left: 50%;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: 999px;
  background: rgba(24, 33, 47, .9);
  padding: 9px 15px;
  color: #fff;
  box-shadow: 0 10px 28px rgba(24, 33, 47, .22);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
}

.match-mobile-trigger i {
  color: #ff737a;
}

.match-mobile-trigger:active {
  transform: translateX(-50%) scale(.96);
}

.match-header-trigger {
  border: 1px solid #f7ced1;
  border-radius: 999px;
  background: var(--match-blush, #fff0f2);
  padding: 7px 12px;
  box-shadow: 0 5px 16px rgba(245, 83, 91, .08);
}

.match-catalog-cta {
  position: relative;
  overflow: hidden;
  border: 1px solid #f5d5d8;
  background: linear-gradient(145deg, #fff 0%, #fff5f6 100%);
  box-shadow: 0 12px 32px rgba(24, 33, 47, .06);
}

.match-catalog-cta::after {
  position: absolute;
  width: 90px;
  height: 90px;
  bottom: -48px;
  left: -35px;
  border: 16px solid rgba(245, 83, 91, .07);
  border-radius: 50%;
  content: '';
}

.match-catalog-cta__button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #f3bfc4;
  border-radius: 14px;
  background: #fff;
  padding: 9px 15px;
  color: #df3d47;
  box-shadow: 0 7px 18px rgba(245, 83, 91, .1);
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.match-catalog-cta__button:hover {
  border-color: #f5535b;
  box-shadow: 0 9px 22px rgba(245, 83, 91, .16);
  color: #df3d47;
  transform: translateY(-1px);
}

@keyframes match-panel-in {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes match-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 640px) {
  .match-dialog {
    align-items: flex-end;
    padding: 0;
  }

  .match-dialog__panel {
    width: 100%;
    max-height: min(92dvh, 820px);
    border-width: 1px 0 0;
    border-radius: 30px 30px 0 0;
  }

  .match-dialog__panel::before {
    display: none;
  }

  .match-dialog__grabber {
    display: block;
    width: 42px;
    height: 4px;
    margin: 9px auto -3px;
    border-radius: 999px;
    background: #dfe4ea;
  }

  .match-dialog__chrome {
    min-height: 58px;
    padding: 10px 18px 5px;
  }

  .match-dialog__brand {
    font-size: 10px;
  }

  .match-dialog__brand i {
    width: 26px;
    height: 26px;
  }

  .match-dialog__close {
    width: 35px;
    height: 35px;
  }

  .match-screen {
    padding: 2px 20px calc(22px + env(safe-area-inset-bottom));
  }

  .match-intro {
    grid-template-columns: 90px 1fr;
    gap: 16px;
  }

  .match-intro__mark {
    width: 88px;
    height: 88px;
  }

  .match-intro__mark::before {
    inset: 10px;
    border-radius: 31% 69% 57% 43% / 45% 38% 62% 55%;
  }

  .match-intro__spark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 18px;
  }

  .match-screen__title {
    font-size: 21px;
    line-height: 1.55;
  }

  .match-screen__copy {
    font-size: 11px;
    line-height: 1.85;
  }

  .match-intro__promises {
    margin-top: 20px;
  }

  .match-intro__promises span {
    display: grid;
    min-height: 48px;
    justify-items: center;
    gap: 4px;
    font-size: 9px;
  }

  .match-progress {
    padding: 12px 10px 10px;
  }

  .match-progress__meta {
    margin-inline: 5px;
  }

  .match-screen__heading {
    margin-top: 20px;
  }

  .match-choice-grid--categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 17px;
  }

  .match-choice--category {
    min-height: 53px;
    padding: 8px;
  }

  .match-choice__initial {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
    border-radius: 10px;
  }

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

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

  .match-option-section {
    padding: 13px;
  }

  .match-screen__actions--split {
    position: sticky;
    bottom: 0;
    z-index: 3;
    margin: 20px -20px 0;
    padding: 14px 20px 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .82), #fff 28%);
  }

  .match-screen__actions--split .match-button {
    min-width: 0;
    flex: 1;
    padding-inline: 12px;
  }

  .match-result-card {
    grid-template-columns: 88px 1fr;
    gap: 10px;
    border-radius: 17px;
    padding: 8px;
  }

  .match-result-card__media {
    min-height: 120px;
  }

  .match-result-card ul {
    display: grid;
    gap: 2px;
  }

  .match-results-heading__mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 17px;
  }
}

@media (max-width: 390px) {
  .match-screen {
    padding-inline: 16px;
  }

  .match-screen__actions--split {
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .match-intro {
    grid-template-columns: 72px 1fr;
    gap: 12px;
  }

  .match-intro__mark {
    width: 70px;
    height: 70px;
  }

  .match-intro__spark {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .match-screen__title {
    font-size: 19px;
  }

  .match-choice-grid--categories {
    grid-template-columns: 1fr;
  }

  .match-progress__track li small {
    font-size: 8px;
  }

  .match-result-card {
    grid-template-columns: 76px 1fr;
  }
}

@media (min-width: 1024px) {
  .match-mobile-trigger {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .match-dialog__backdrop,
  .match-dialog__panel,
  .match-button,
  .match-choice,
  .match-result-card,
  .match-dialog__close {
    animation: none;
    transition: none;
  }
}
