/*! Copyright (c) MatchFlow.gg. All rights reserved. Proprietary: see https://matchflow.gg/terms */
.mf-safety-document {
  --safety-panel: rgba(6, 8, 39, 0.91);
  --safety-panel-raised: rgba(9, 11, 51, 0.94);
  --safety-line: rgba(76, 129, 218, 0.28);
  --safety-blue: #31a8ff;
  --safety-violet: #795bff;
  --safety-pink: #ef4cb8;
  background:
    radial-gradient(circle at 78% 11%, rgba(71, 55, 224, 0.13), transparent 29rem),
    radial-gradient(circle at 18% 38%, rgba(30, 118, 235, 0.08), transparent 25rem),
    #020417 !important;
}
.mf-safety-document .mf-nav a.is-active {
  color: #fff;
}
.mf-safety-document .mf-nav a:first-child::after {
  display: none;
}
.mf-safety-document .mf-nav a.is-active::after {
  display: block;
  transform: scaleX(1);
}
.mf-safety-page {
  display: grid;
  gap: 18px;
  padding-bottom: 24px;
}
.mf-safety-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(500px, 1.18fr);
  align-items: center;
  min-height: 370px;
  overflow: hidden;
  border-bottom: 1px solid rgba(70, 119, 207, 0.22);
}
.mf-safety-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 75% 42%, rgba(131, 48, 255, 0.16), transparent 34%);
  mask-image: linear-gradient(90deg, transparent 26%, #000 68%, transparent);
}
.mf-safety-hero-copy {
  z-index: 2;
  display: grid;
  gap: 14px;
  padding: 42px 0 42px 34px;
}
.mf-safety-hero h1 {
  max-width: 9ch;
  margin: 0;
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: clamp(3.4rem, 5.3vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}
.mf-safety-hero h1 span {
  display: block;
  background: linear-gradient(100deg, #2ea5ff, #7760ff 54%, #ef4fba);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mf-safety-hero-copy > p {
  max-width: 54ch;
  margin: 0;
  color: rgba(205, 215, 242, 0.78);
  font-size: 0.94rem;
  line-height: 1.7;
}
.mf-safety-hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 5px;
}
.mf-safety-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b8c8f5;
  font-size: 0.82rem;
  font-weight: 700;
}
.mf-safety-text-link:hover,
.mf-safety-text-link:focus-visible {
  color: #fff;
}
.mf-safety-hero-art {
  align-self: stretch;
  display: grid;
  place-items: center;
  min-width: 0;
}
.mf-safety-hero-art img {
  width: min(100%, 790px);
  height: auto;
  filter: drop-shadow(0 24px 46px rgba(49, 49, 224, 0.28));
  transform: translateY(2%);
}
.mf-safety-panel {
  border: 1px solid var(--safety-line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(65, 63, 175, 0.08), transparent 32%),
    linear-gradient(145deg, rgba(7, 9, 43, 0.94), rgba(4, 6, 29, 0.94));
  box-shadow: 0 22px 54px rgba(0, 2, 18, 0.2), inset 0 1px rgba(255, 255, 255, 0.025);
}
.mf-safety-journey,
.mf-safety-rules,
.mf-safety-tools {
  padding: 22px;
}
.mf-safety-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}
.mf-safety-section-heading h2,
.mf-safety-offline h2,
.mf-safety-help h2,
.mf-safety-final-cta h2 {
  margin: 4px 0 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.mf-safety-section-heading > p {
  max-width: 48ch;
  margin: 0;
  color: rgba(189, 201, 233, 0.65);
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: right;
}
.mf-safety-stage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.mf-safety-stage {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(79, 120, 198, 0.25);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(9, 11, 53, 0.96), rgba(6, 8, 36, 0.94));
}
.mf-safety-stage-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.mf-safety-stage-heading > span,
.mf-safety-rule-list > li > span,
.mf-safety-tool-grid article > span,
.mf-safety-offline-icon,
.mf-safety-help-copy > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: linear-gradient(145deg, #288cff, #2854b7);
  box-shadow: 0 10px 26px rgba(38, 102, 221, 0.25);
}
.mf-safety-stage-heading > span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
}
.mf-safety-stage-during .mf-safety-stage-heading > span {
  background: linear-gradient(145deg, #7b5dff, #4d2ab7);
}
.mf-safety-stage-after .mf-safety-stage-heading > span {
  background: linear-gradient(145deg, #f04eae, #9b237a);
}
.mf-safety-stage-heading small {
  display: block;
  color: rgba(181, 194, 229, 0.55);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mf-safety-stage h3,
.mf-safety-tool-grid h3,
.mf-safety-enforcement h3 {
  margin: 2px 0 0;
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
}
.mf-safety-stage ul,
.mf-safety-rule-list,
.mf-safety-offline ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mf-safety-stage li {
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
}
.mf-safety-stage li > i {
  margin-top: 3px;
  color: #35b8f9;
  font-size: 0.72rem;
}
.mf-safety-stage-during li > i {
  color: #966dff;
}
.mf-safety-stage-after li > i {
  color: #f153b3;
}
.mf-safety-stage li p,
.mf-safety-rule-list p,
.mf-safety-tool-grid p,
.mf-safety-enforcement p,
.mf-safety-offline p,
.mf-safety-help p,
.mf-safety-final-cta p {
  margin: 0;
  color: rgba(191, 202, 232, 0.7);
  font-size: 0.72rem;
  line-height: 1.5;
}
.mf-safety-stage li strong,
.mf-safety-rule-list strong {
  display: block;
  margin-bottom: 2px;
  color: #f6f8ff;
  font-size: 0.74rem;
}
.mf-safety-middle-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.85fr);
  gap: 14px;
}
.mf-safety-rules-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 245px;
  gap: 18px;
}
.mf-safety-rule-list {
  gap: 0;
}
.mf-safety-rule-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(83, 113, 177, 0.18);
}
.mf-safety-rule-list li:first-child {
  padding-top: 0;
}
.mf-safety-rule-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.mf-safety-rule-list > li > span {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(111, 76, 241, 0.72), rgba(61, 41, 151, 0.72));
}
.mf-safety-enforcement {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 18px;
  border: 1px solid rgba(104, 121, 203, 0.28);
  border-radius: 15px;
  background: rgba(9, 11, 41, 0.72);
  text-align: center;
}
.mf-safety-enforcement > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 10px;
  border-radius: 50%;
  color: #ff52b7;
  background: rgba(221, 54, 164, 0.12);
  font-size: 1.55rem;
}
.mf-safety-enforcement p {
  margin-top: 7px;
}
.mf-safety-enforcement a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: #ef67bd;
  font-size: 0.7rem;
  font-weight: 800;
}
.mf-safety-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 14px;
}
.mf-safety-tool-grid article {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
}
.mf-safety-tool-grid article > span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.mf-safety-tool-grid article:nth-child(2) > span,
.mf-safety-tool-grid article:nth-child(3) > span {
  background: linear-gradient(145deg, #e943ad, #8d277c);
}
.mf-safety-tool-grid article:nth-child(4) > span {
  background: linear-gradient(145deg, #31c1d4, #19729d);
}
.mf-safety-offline {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(230px, 0.7fr);
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
}
.mf-safety-offline-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  font-size: 1.4rem;
}
.mf-safety-offline ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  color: rgba(222, 229, 250, 0.82);
  font-size: 0.7rem;
}
.mf-safety-offline li {
  display: flex;
  align-items: center;
  gap: 7px;
}
.mf-safety-offline li i {
  color: #51bdff;
}
.mf-safety-help {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.9fr);
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  overflow: hidden;
  border: 1px solid rgba(120, 104, 255, 0.5);
  border-radius: 18px;
  background:
    radial-gradient(circle at 95% 0%, rgba(242, 68, 191, 0.3), transparent 32%),
    linear-gradient(105deg, #1f68f0, #644ad8 50%, #bb399f);
}
.mf-safety-help-copy {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
}
.mf-safety-help-copy > span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
}
.mf-safety-help small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
}
.mf-safety-help h2 {
  margin-top: 1px;
}
.mf-safety-help p {
  color: rgba(255, 255, 255, 0.78);
}
.mf-safety-help-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.mf-safety-help-actions a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  color: #fff;
  background: rgba(7, 9, 49, 0.17);
  transition: transform 160ms ease, background 160ms ease;
}
.mf-safety-help-actions a:hover,
.mf-safety-help-actions a:focus-visible {
  color: #fff;
  background: rgba(7, 9, 49, 0.3);
  transform: translateY(-2px);
}
.mf-safety-help-actions span {
  min-width: 0;
}
.mf-safety-help-actions strong,
.mf-safety-help-actions small {
  display: block;
}
.mf-safety-help-actions strong {
  font-size: 0.72rem;
}
.mf-safety-help-actions small {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.6rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mf-safety-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  border: 1px solid rgba(76, 129, 218, 0.28);
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(8, 10, 55, 0.94), rgba(17, 17, 65, 0.9));
}
.mf-safety-final-cta p:last-child {
  margin-top: 6px;
}
@media (max-width: 1020px) {
  .mf-safety-hero {
    grid-template-columns: minmax(320px, 0.9fr) minmax(390px, 1.1fr);
  }
  .mf-safety-middle-grid {
    grid-template-columns: 1fr;
  }
  .mf-safety-rules-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}
@media (max-width: 760px) {
  .mf-safety-document .mf-shell {
    width: min(calc(100vw - 24px), var(--mf-max-width));
  }
  .mf-safety-page {
    gap: 14px;
  }
  .mf-safety-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 20px;
    border: 1px solid rgba(75, 128, 218, 0.3);
    border-radius: 22px;
    background: linear-gradient(140deg, rgba(7, 9, 49, 0.96), rgba(12, 13, 59, 0.94));
  }
  .mf-safety-hero-copy {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
  }
  .mf-safety-hero h1 {
    font-size: clamp(2.6rem, 13vw, 4.1rem);
  }
  .mf-safety-hero-copy > p {
    font-size: 0.84rem;
  }
  .mf-safety-hero-art {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    margin: -8px auto -18px;
  }
  .mf-safety-hero-art img {
    width: 100%;
    transform: none;
  }
  .mf-safety-section-heading {
    display: block;
  }
  .mf-safety-section-heading > p {
    margin-top: 8px;
    text-align: left;
  }
  .mf-safety-stage-grid,
  .mf-safety-rules-layout,
  .mf-safety-help {
    grid-template-columns: 1fr;
  }
  .mf-safety-stage-grid {
    gap: 10px;
  }
  .mf-safety-journey,
  .mf-safety-rules,
  .mf-safety-tools {
    padding: 16px;
  }
  .mf-safety-offline {
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 18px;
  }
  .mf-safety-offline-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
  }
  .mf-safety-offline ul {
    grid-column: 1 / -1;
  }
  .mf-safety-help-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mf-safety-final-cta {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}
@media (max-width: 480px) {
  .mf-safety-hero {
    padding: 18px;
  }
  .mf-safety-hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }
  .mf-safety-text-link {
    justify-content: center;
  }
  .mf-safety-tool-grid,
  .mf-safety-help-actions,
  .mf-safety-offline ul {
    grid-template-columns: 1fr;
  }
  .mf-safety-help {
    padding: 17px;
  }
  .mf-safety-help-copy {
    grid-template-columns: 42px minmax(0, 1fr);
  }
  .mf-safety-help-copy > span {
    width: 42px;
    height: 42px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mf-safety-help-actions a {
    transition: none;
  }
}
