:root {
  --bg: #070707;
  --panel: #0d0d0f;
  --line: #292527;
  --red: #e11d2e;
  --deep: #7f0b16;
  --text: #f4f0ed;
  --muted: #aaa3a0;
  --nf-font-ar: Alexandria, "Segoe UI", Tahoma, sans-serif;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.15fr;
  gap: 50px;
  align-items: center;
  margin-top: 60px;
  text-align: right;
}
.product-detail .product-visual {
  min-height: 430px;
}
.product-detail h1 {
  font-size: clamp(34px, 5vw, 70px);
  margin: 12px 0;
}
.product-detail article > p {
  color: #bbb;
  line-height: 2;
  font-size: 18px;
}
.product-detail article > strong {
  display: block;
  color: #ed1b2f;
  font-size: 30px;
  margin: 25px 0;
}
.product-detail li {
  margin: 8px 0;
}
@media (max-width: 760px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .product-detail .product-visual {
    min-height: 280px;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--nf-font-ar);
  overflow-x: hidden;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
.site-header {
  height: 78px;
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 4vw;
  border-bottom: 1px solid #ffffff1c;
  background: #080808e8;
  backdrop-filter: blur(14px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  justify-self: start;
}
.brand img {
  width: 43px;
  height: 43px;
  object-fit: contain;
}
.brand span {
  display: flex;
  flex-direction: column;
  direction: ltr;
}
.brand b {
  font-size: 15px;
  letter-spacing: 2px;
}
.brand small {
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 3px;
}
.site-header nav {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 34px;
}
.site-header nav a {
  height: 100%;
  display: grid;
  place-items: center;
  color: #c5bfbc;
  font-size: 14px;
  position: relative;
}
.site-header #main-nav a[hidden] {
  display: none;
}
.site-header nav a:after {
  content: "";
  height: 2px;
  background: var(--red);
  position: absolute;
  bottom: -1px;
  inset-inline: 50%;
}
.site-header nav a.active,
.site-header nav a:hover {
  color: #fff;
}
.site-header nav a.active:after {
  inset-inline: 20%;
}
.header-actions {
  justify-self: end;
  display: flex;
  gap: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--line);
  font-weight: 700;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: 0.25s;
}
.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px #e11d2e2b;
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.btn.red {
  background: var(--red);
  border-color: var(--red);
  clip-path: polygon(
    8px 0,
    100% 0,
    100% calc(100% - 8px),
    calc(100% - 8px) 100%,
    0 100%,
    0 8px
  );
}
.btn.large {
  padding: 16px 25px;
}
.ghost {
  color: #d5cfcc;
}
.menu-btn {
  display: none;
  background: none;
  border: 0;
}
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 110px 12vw 60px;
  isolation: isolate;
}
.hero video,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
}
.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, #050505d9 0, #0505059e 46%, #0505051f),
    linear-gradient(0deg, #070707 0, transparent 30%),
    radial-gradient(circle at 75%, transparent, #070707bd);
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(25% - 1px),
    #ffffff0a 25%
  );
}
.hero-copy {
  max-width: 720px;
}
.eyebrow,
.section-head > div > span {
  color: #ff5261;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}
.hero h1 {
  font-size: clamp(74px, 10vw, 154px);
  line-height: 0.7;
  letter-spacing: -8px;
  margin: 34px 0 40px;
  direction: ltr;
  text-align: right;
}
.hero h1 span,
.hero h1 strong {
  display: block;
}
.hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1px #fff;
}
.hero h1 strong {
  color: var(--red);
  margin-left: 7vw;
}
.hero-copy > p:not(.eyebrow) {
  max-width: 570px;
  color: #d2ccca;
  font-size: 18px;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 32px;
}
.text-link {
  border-bottom: 1px solid var(--red);
  padding: 10px 0;
}
.status-rail {
  position: absolute;
  left: 4vw;
  bottom: 12vh;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 9px;
}
.status-rail small {
  color: var(--muted);
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
  box-shadow: 0 0 0 6px #e11d2e20;
  animation: pulse 1.6s infinite;
}
.hero-index {
  position: absolute;
  left: 4vw;
  top: 120px;
  color: #ffffff55;
  font-size: 12px;
  letter-spacing: 3px;
}
.section {
  padding: 110px 8vw;
}
.metrics {
  border-block: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr repeat(3, 1fr) 1.5fr;
  gap: 4vw;
  align-items: center;
}
.section-kicker {
  color: var(--red);
  font-weight: 800;
}
.metric b {
  display: block;
  font-size: 38px;
  direction: ltr;
}
.metric span,
.metrics > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* Homepage live statistics */
.pub-stats {
  padding: clamp(92px, 10vw, 148px)
    max(var(--gutter, 24px), calc((100vw - 1240px) / 2));
  background: #070a10;
  border-block: 1px solid #151c27;
}
.pub-stats-container {
  width: min(100%, 1140px);
  margin-inline: auto;
}
.pub-stats-head {
  max-width: 640px;
  margin: 0 auto clamp(48px, 5vw, 66px);
  text-align: center;
}
.pub-stats-kicker {
  margin: 0 0 13px;
  color: #aab5c7;
  font-size: 14px;
  font-weight: 700;
}
.pub-stats-head h2 {
  margin: 0;
  color: #f4f6fa;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.2;
  letter-spacing: -1.5px;
}
.pub-stats-head h2 span {
  color: var(--red);
}
.pub-stats-head > p:last-child {
  margin: 12px 0 0;
  color: #aeb8c8;
  font-size: clamp(14px, 1.2vw, 16px);
}
.pub-stats-panel {
  overflow: hidden;
  border: 1px solid #263347;
  border-radius: 22px;
  background: #0b111b;
}
.pub-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pub-stat-card {
  position: relative;
  min-width: 0;
  min-height: 194px;
  padding: 22px 22px 38px;
  color: inherit;
}
.pub-stat-card + .pub-stat-card {
  border-inline-start: 1px solid #202b3c;
}
.pub-stat-icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-inline-start: auto;
  place-items: center;
  border: 1px solid #304159;
  border-radius: 10px;
  background: #142030;
  color: #8bc9f7;
}
.pub-stat-icon svg {
  width: 20px;
  height: 20px;
}
.pub-stat-body {
  margin-top: 15px;
  text-align: right;
}
.pub-stat-label,
.pub-stat-hint {
  display: block;
  color: #aab6c8;
  font-size: 13px;
}
.pub-stat-value {
  display: block;
  margin: 4px 0 2px;
  color: #a8d9ff;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  direction: ltr;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.pub-stat-hint {
  color: #c4cfdd;
}
.pub-stat-meter {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: #1c2839;
  direction: rtl;
}
.pub-stat-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #82c9f8;
}
.pub-stat-card--discord {
  transition: background-color 180ms ease;
}
.pub-stat-card--discord:hover {
  background: #0f1825;
}
.pub-stat-card--discord:focus-visible {
  z-index: 1;
  outline: 2px solid #86caf8;
  outline-offset: -4px;
}
@media (max-width: 700px) {
  .pub-stats {
    padding: 72px 20px;
  }
  .pub-stats-head {
    margin-bottom: 38px;
  }
  .pub-stats-grid {
    grid-template-columns: 1fr;
  }
  .pub-stat-card {
    min-height: 176px;
    padding: 20px 20px 35px;
  }
  .pub-stat-card + .pub-stat-card {
    border-inline-start: 0;
    border-top: 1px solid #202b3c;
  }
  .pub-stat-meter {
    right: 20px;
    left: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pub-stat-card--discord {
    transition: none;
  }
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 60px;
}
.section-head h2,
.join h2,
.page-hero h1 {
  font-size: clamp(43px, 6vw, 86px);
  line-height: 1;
  margin: 14px 0 0;
  letter-spacing: -3px;
}
.section-head em,
.page-hero em {
  color: var(--red);
  font-style: normal;
}
.section-head > p {
  color: var(--muted);
  max-width: 420px;
  line-height: 1.9;
}
.feature-list {
  border-top: 1px solid var(--line);
}
.feature-list article {
  display: grid;
  grid-template-columns: 100px 1fr;
  padding: 35px 2vw;
  border-bottom: 1px solid var(--line);
  transition: 0.25s;
}
.feature-list article:hover {
  background: #e11d2e0e;
  padding-inline-start: 4vw;
}
.feature-list article > b {
  color: var(--red);
  font-size: 13px;
}
.feature-list h3 {
  font-size: 26px;
  margin: 0 0 8px;
}
.feature-list p {
  color: var(--muted);
  margin: 0;
}
.team {
  background: #0b0b0c;
}
.team-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.team-strip article {
  height: 410px;
  position: relative;
  background: #111;
  overflow: hidden;
}
.team-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: 0.5s;
}
.team-strip article:hover img {
  filter: grayscale(0);
  transform: scale(1.04);
}
.team-strip article:after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, #070707);
}
.team-strip article div {
  position: absolute;
  z-index: 2;
  bottom: 25px;
  right: 25px;
}
.team-strip small {
  color: #ff5c68;
}
.team-strip h3 {
  margin: 5px 0;
  font-size: 23px;
}
.join {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: end;
  background: linear-gradient(100deg, #190507, #070707 70%);
  border-top: 1px solid #4e1116;
}
.join p {
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 24px;
}
footer {
  min-height: 150px;
  padding: 40px 5vw;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}
footer > div {
  display: flex;
  gap: 25px;
}
.inner-main {
  padding-top: 78px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 85% 12%, #36070c 0, transparent 30%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent calc(20% - 1px),
      #ffffff08 20%
    );
}
.page-hero {
  padding: 100px 10vw 70px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  max-width: 1000px;
}
.page-hero > p {
  color: var(--muted);
  max-width: 580px;
  line-height: 1.9;
}
.rules-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 850px);
  gap: 70px;
  padding: 70px 10vw 120px;
}
.rules-layout aside {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.rules-layout aside > b {
  margin-bottom: 16px;
}
.filter {
  border: 0;
  border-right: 2px solid transparent;
  padding: 14px;
  color: var(--muted);
  background: transparent;
  text-align: right;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}
.filter.active,
.filter:hover {
  color: #fff;
  border-color: var(--red);
  background: #ffffff08;
}
.filter span {
  font-size: 12px;
}
.notice {
  margin-top: 25px;
  padding: 20px;
  border: 1px solid #5a151c;
  background: #18090b;
}
.notice b {
  color: #ff5c68;
}
.notice p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.search {
  height: 58px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 20px;
  margin-bottom: 28px;
  background: #0c0c0e;
}
.search span {
  font-size: 30px;
  color: var(--red);
}
.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: none;
  color: white;
  padding: 15px;
}
.rules-content details {
  border-bottom: 1px solid var(--line);
}
.rules-content summary {
  list-style: none;
  display: grid;
  grid-template-columns: 55px 1fr 30px;
  align-items: center;
  padding: 24px 8px;
  cursor: pointer;
}
.rules-content summary::-webkit-details-marker {
  display: none;
}
.rules-content summary b {
  color: var(--red);
  font-size: 12px;
}
.rules-content summary span {
  font-size: 19px;
  font-weight: 700;
}
.rules-content summary i {
  font-style: normal;
  font-size: 25px;
  color: var(--muted);
  transition: 0.2s;
}
.rules-content details[open] summary i {
  transform: rotate(45deg);
  color: var(--red);
}
.rules-content details p {
  color: var(--muted);
  padding: 0 64px 25px;
  line-height: 1.9;
  margin: 0;
}
.empty-rules,
.board-state {
  text-align: center;
  color: var(--muted);
  padding: 60px;
}
.board-wrap {
  max-width: 1150px;
  margin: auto;
  padding: 60px 25px 130px;
}
.board-bar {
  display: flex;
  justify-content: space-between;
  padding: 20px 24px;
  border: 1px solid var(--line);
  background: #0c0c0e;
  margin-bottom: 55px;
}
.board-bar div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.board-bar small,
.board-bar > span {
  color: var(--muted);
}
.spinner {
  display: block;
  width: 30px;
  height: 30px;
  margin: 0 auto 15px;
  border: 2px solid #333;
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.podium {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  align-items: end;
  gap: 18px;
  direction: ltr;
  margin-bottom: 45px;
}
.podium-card {
  direction: rtl;
  text-align: center;
  padding: 32px 15px 25px;
  background: #0e0e10;
  border: 1px solid var(--line);
  position: relative;
}
.podium-card.first {
  min-height: 330px;
  border-color: #6c151d;
  background: linear-gradient(#21090c, #0e0e10);
}
.podium-card.second,
.podium-card.third {
  min-height: 285px;
}
.podium-card .place {
  position: absolute;
  top: 12px;
  left: 14px;
  font-size: 45px;
  font-weight: 900;
  color: #ffffff12;
}
.podium-card img,
.avatar-fallback {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--red);
  margin: 15px auto;
  display: grid;
  place-items: center;
  background: #290a0d;
  font-size: 25px;
  font-weight: 900;
}
.podium-card h3 {
  font-size: 22px;
  margin: 5px;
}
.time {
  color: #ff5967;
  direction: ltr;
}
.rank-list {
  border-top: 1px solid var(--line);
}
.rank-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.rank-row .identity {
  display: flex;
  align-items: center;
  gap: 14px;
}
.rank-row img,
.rank-row .avatar-fallback {
  width: 45px;
  height: 45px;
  margin: 0;
  font-size: 13px;
}
.rank-no {
  font-size: 20px;
  color: #777;
}
.board-state b {
  font-size: 22px;
  color: #fff;
}
.error {
  border: 1px solid #5c151b;
  background: #16090b;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 12px transparent;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }
  .menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 12px;
  }
  .menu-btn i {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 78px;
    inset-inline: 0;
    height: auto;
    background: #090909;
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
  }
  .site-header nav.open {
    display: flex;
  }
  .site-header nav a {
    height: 50px;
    display: flex;
  }
  .header-actions {
    display: none;
  }
  .hero {
    padding: 110px 25px 50px;
  }
  .hero h1 {
    letter-spacing: -5px;
  }
  .status-rail {
    display: none;
  }
  .hero-shade {
    background: linear-gradient(0deg, #070707 3%, #050505a8 60%, #050505d0);
  }
  .metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 60px 25px;
  }
  .metrics .section-kicker,
  .metrics > p {
    grid-column: 1/-1;
  }
  .section {
    padding: 75px 25px;
  }
  .section-head {
    display: block;
  }
  .section-head > p {
    margin-top: 25px;
  }
  .team-strip {
    grid-template-columns: 1fr 1fr;
  }
  .team-strip article {
    height: 330px;
  }
  .join {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .rules-layout {
    grid-template-columns: 1fr;
    padding: 45px 20px 90px;
    gap: 30px;
  }
  .rules-layout aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .rules-layout aside > b,
  .notice {
    grid-column: 1/-1;
  }
  .page-hero {
    padding: 75px 25px 50px;
  }
  .board-bar > span {
    display: none;
  }
  footer {
    gap: 25px;
    flex-wrap: wrap;
  }
}
@media (max-width: 560px) {
  .brand span {
    display: none;
  }
  .hero h1 {
    font-size: 70px;
  }
  .hero h1 strong {
    margin-left: 0;
  }
  .hero-copy > p:not(.eyebrow) {
    font-size: 15px;
  }
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .metric:last-of-type {
    grid-column: 1/-1;
  }
  .section-head h2,
  .join h2,
  .page-hero h1 {
    font-size: 43px;
    letter-spacing: -2px;
  }
  .team-strip {
    grid-template-columns: 1fr;
  }
  .team-strip article {
    height: 380px;
  }
  .podium {
    display: flex;
    flex-direction: column;
  }
  .podium-card {
    width: 100%;
    min-height: 0 !important;
  }
  .podium-card.first {
    order: -1;
  }
  .rank-row {
    grid-template-columns: 45px 1fr auto;
    padding: 15px 5px;
  }
  .rules-content summary {
    grid-template-columns: 42px 1fr 25px;
  }
  .rules-content details p {
    padding-right: 45px;
  }
  .board-bar div {
    flex-wrap: wrap;
  }
  .board-wrap {
    padding-inline: 15px;
  }
  footer > p {
    order: 3;
    width: 100%;
  }
}

/* Store order archive */
.orders-shell {
  width: min(100%, 1240px);
  margin: -54px auto 100px;
  padding: 0 var(--gutter);
}
.orders-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 0 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.orders-heading small {
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}
.orders-heading h2 {
  margin: 7px 0 8px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.2;
}
.orders-heading p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.orders-secure-mark {
  flex: 0 0 auto;
  padding: 9px 12px;
  border-inline-start: 2px solid #5cdb99;
  background: #102019;
  color: #87e7b1;
  font-size: 11px;
  font-weight: 700;
}
.order-state {
  min-height: 150px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 24px;
  border-bottom: 1px solid var(--line);
  background: #0b0b0d;
}
.order-state[hidden] {
  display: none;
}
.order-state b {
  font-size: 18px;
}
.order-state p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.order-state .btn {
  margin-inline-start: auto;
  flex: 0 0 auto;
}
.order-state-code {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #493c3e;
  color: #ff6673;
  direction: ltr;
  font-weight: 900;
}
.order-error .order-state-code {
  border-color: #9f2934;
  background: #2a0d11;
}
.orders-list {
  border-bottom: 1px solid var(--line);
}
.customer-order {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #0b0b0d;
}
.customer-order:last-child {
  border-bottom: 0;
}
.customer-order:before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 4px;
  background: #6d6667;
}
.customer-order.status-paid:before {
  background: #53c887;
}
.customer-order.status-pending:before {
  background: #e5ad42;
}
.customer-order.status-failed:before,
.customer-order.status-canceled:before {
  background: #da4452;
}
.customer-order > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 26px;
  border-bottom: 1px solid #242427;
}
.customer-order > header small {
  color: #827c7d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.6px;
  direction: ltr;
}
.customer-order h3 {
  margin: 4px 0;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}
.customer-order time {
  color: var(--muted);
  font-size: 12px;
}
.order-status {
  min-width: 110px;
  padding: 10px 13px;
  border: 1px solid #474044;
  text-align: center;
}
.order-status b,
.order-status span {
  display: block;
}
.order-status b {
  font-size: 13px;
}
.order-status span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}
.status-paid .order-status {
  border-color: #2e704a;
  background: #0e2117;
  color: #7be2a7;
}
.status-pending .order-status {
  border-color: #755a29;
  background: #211a0e;
  color: #f0c56e;
}
.status-failed .order-status,
.status-canceled .order-status {
  border-color: #722c34;
  background: #210e11;
  color: #ff808b;
}
.customer-order-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 34px;
  padding: 20px 26px 24px;
}
.customer-order-items h4 {
  margin: 0 0 9px;
  color: #aaa4a4;
  font-size: 11px;
}
.customer-order-items > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-top: 1px solid #232326;
}
.customer-order-items span,
.customer-order-items small {
  display: block;
}
.customer-order-items small,
.order-items-missing {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}
.customer-order-items strong {
  align-self: center;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.customer-order-total {
  padding-inline-start: 24px;
  border-inline-start: 1px solid var(--line);
}
.customer-order-total small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.customer-order-total > b {
  display: block;
  margin-top: 5px;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}
.customer-order-total p {
  margin: 18px 0 0;
  color: #aaa4a4;
  font-size: 11px;
  line-height: 1.6;
}
@media (max-width: 700px) {
  .orders-shell {
    margin-top: -48px;
    padding-inline: 20px;
  }
  .orders-heading {
    align-items: start;
    flex-direction: column;
  }
  .order-state {
    align-items: start;
    flex-wrap: wrap;
    padding: 23px 18px;
  }
  .order-state .btn {
    width: 100%;
    margin-inline-start: 0;
  }
  .customer-order > header {
    align-items: start;
    padding: 18px;
  }
  .order-status {
    min-width: 94px;
  }
  .customer-order-body {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 18px;
  }
  .customer-order-total {
    padding: 16px 0 0;
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
.btn.is-pending {
  opacity: 0.62;
  cursor: not-allowed;
}
.btn.is-pending:after {
  content: "قريباً";
  font-size: 9px;
  margin-inline-start: 7px;
  padding: 2px 5px;
  border: 1px solid currentColor;
}
.btn.is-pending:hover {
  transform: none;
  box-shadow: none;
}
@media (max-width: 560px) {
  .podium {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .podium-card {
    width: 100%;
    min-height: 205px !important;
    padding: 18px 8px;
  }
  .podium-card.first {
    grid-column: 1/-1;
    grid-row: 1;
    min-height: 285px !important;
  }
  .podium-card.second {
    grid-column: 1;
    grid-row: 2;
    border-top: 2px solid #b9bec5;
  }
  .podium-card.third {
    grid-column: 2;
    grid-row: 2;
    border-top: 2px solid #a66a43;
  }
  .podium-card img,
  .podium-card .avatar-fallback {
    width: 70px;
    height: 70px;
  }
  .podium-card.first img,
  .podium-card.first .avatar-fallback {
    width: 105px;
    height: 105px;
  }
  .podium-card .place {
    font-size: 34px;
  }
}

/* Comfortable-scale refinement */
:root {
  --content: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
}
.discord-session {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
}
.discord-identity {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 150px;
}
.discord-identity img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #ed1b2f;
}
.discord-identity b {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.discord-logout {
  border: 0;
  border-bottom: 1px solid #ed1b2f;
  background: transparent;
  color: #ddd;
  padding: 7px 2px;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
.discord-logout:hover,
.discord-logout:focus-visible {
  color: #fff;
}
.discord-logout:focus-visible {
  outline: 2px solid #ed1b2f;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .discord-session {
    width: 100%;
    justify-content: center;
  }
  .discord-identity {
    max-width: 130px;
  }
  .discord-session-login {
    width: auto !important;
  }
}
.site-header {
  height: 72px;
  padding-inline: max(var(--gutter), calc((100vw - var(--content)) / 2));
}
.brand img {
  width: 38px;
  height: 38px;
}
.brand b {
  font-size: 14px;
}
.site-header nav {
  gap: clamp(22px, 2.2vw, 32px);
}
.site-header nav a {
  font-size: 13px;
}
.btn {
  padding: 9px 15px;
  font-size: 14px;
}
.btn.large {
  padding: 13px 21px;
}
.hero {
  min-height: clamp(620px, 82vh, 820px);
  padding: 100px max(var(--gutter), calc((100vw - var(--content)) / 2)) 52px;
}
.hero-copy {
  max-width: 620px;
}
.hero h1 {
  font-size: clamp(64px, 7.4vw, 116px);
  line-height: 0.74;
  letter-spacing: clamp(-7px, -0.38vw, -4px);
  margin: 26px 0 30px;
}
.hero-copy > p:not(.eyebrow) {
  max-width: 520px;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.8;
}
.hero-actions {
  gap: 22px;
  margin-top: 26px;
}
.hero-index {
  top: 104px;
}
.status-rail {
  bottom: 9vh;
}
.section {
  width: 100%;
  padding: clamp(72px, 6vw, 92px)
    max(var(--gutter), calc((100vw - var(--content)) / 2));
}
.metrics {
  grid-template-columns: 1fr repeat(3, 1fr) 1.35fr;
  gap: clamp(26px, 3vw, 44px);
}
.metric b {
  font-size: clamp(30px, 2.3vw, 36px);
}
.section-head {
  margin-bottom: clamp(36px, 3.8vw, 50px);
}
.section-head h2,
.join h2,
.page-hero h1 {
  font-size: clamp(40px, 4vw, 60px);
  letter-spacing: clamp(-3px, -0.16vw, -2px);
}
.section-head > p {
  max-width: 380px;
  font-size: 14px;
  line-height: 1.8;
}
.feature-list article {
  grid-template-columns: 80px 1fr;
  padding: 27px 20px;
}
.feature-list h3 {
  font-size: 22px;
}
.team-strip article {
  height: clamp(300px, 25vw, 350px);
}
.team-strip article div {
  bottom: 20px;
  right: 20px;
}
.team-strip h3 {
  font-size: 20px;
}
.join {
  grid-template-columns: 1.35fr 1fr;
}
.join p {
  font-size: 14px;
  margin-bottom: 20px;
}
footer {
  min-height: 128px;
  padding: 32px max(var(--gutter), calc((100vw - var(--content)) / 2));
}
.inner-main {
  padding-top: 72px;
}
.page-hero {
  padding: clamp(68px, 6vw, 88px)
    max(var(--gutter), calc((100vw - var(--content)) / 2))
    clamp(48px, 4vw, 62px);
}
.page-hero h1 {
  max-width: 850px;
}
.page-hero > p {
  font-size: 15px;
  line-height: 1.8;
}
.rules-layout {
  grid-template-columns: 230px minmax(0, 820px);
  gap: clamp(38px, 5vw, 64px);
  max-width: var(--content);
  margin: auto;
  padding: clamp(48px, 4vw, 64px) var(--gutter) clamp(80px, 7vw, 105px);
}
.filter {
  padding: 12px;
}
.notice {
  padding: 17px;
}
.search {
  height: 52px;
  margin-bottom: 22px;
}
.search span {
  font-size: 26px;
}
.rules-content summary {
  padding: 19px 8px;
}
.rules-content summary span {
  font-size: 17px;
}
.rules-content details p {
  padding-bottom: 21px;
  font-size: 14px;
}
.board-wrap {
  max-width: 1080px;
  padding: 48px 25px 100px;
}
.board-bar {
  padding: 17px 20px;
  margin-bottom: 42px;
}
.podium {
  gap: 15px;
  margin-bottom: 36px;
}
.podium-card {
  padding: 25px 13px 21px;
}
.podium-card.first {
  min-height: 280px;
}
.podium-card.second,
.podium-card.third {
  min-height: 245px;
}
.podium-card img,
.avatar-fallback {
  width: 78px;
  height: 78px;
  margin: 12px auto;
}
.podium-card h3 {
  font-size: 19px;
}
.podium-card .place {
  font-size: 38px;
}
.rank-row {
  padding: 15px 17px;
}
@media (max-width: 900px) {
  .site-header {
    height: 68px;
    padding-inline: 20px;
  }
  .site-header nav {
    top: 68px;
  }
  .inner-main {
    padding-top: 68px;
  }
  .hero {
    min-height: 680px;
    padding: 96px 25px 48px;
  }
  .hero h1 {
    font-size: clamp(60px, 12vw, 92px);
  }
  .metrics {
    padding: 56px 25px;
  }
  .section {
    padding: clamp(52px, 7vw, 64px) 25px;
  }
  .section-head {
    margin-bottom: 36px;
  }
  .team-strip article {
    height: clamp(280px, 42vw, 330px);
  }
  .page-hero {
    padding: 58px 25px 44px;
  }
  .rules-layout {
    padding: 40px 20px 72px;
  }
  .board-wrap {
    padding-top: 40px;
  }
}
@media (max-width: 560px) {
  .hero {
    min-height: 620px;
    padding-top: 88px;
  }
  .hero h1 {
    font-size: clamp(54px, 18vw, 72px);
    margin: 22px 0 25px;
  }
  .hero-actions {
    gap: 14px;
    margin-top: 22px;
  }
  .section {
    padding: 50px 20px;
  }
  .metrics {
    padding: 48px 20px;
  }
  .section-head h2,
  .join h2,
  .page-hero h1 {
    font-size: clamp(36px, 11vw, 46px);
  }
  .section-head {
    margin-bottom: 30px;
  }
  .team-strip article {
    height: clamp(290px, 82vw, 350px);
  }
  .feature-list article {
    grid-template-columns: 46px 1fr;
    padding: 22px 8px;
  }
  .feature-list h3 {
    font-size: 20px;
  }
  .page-hero {
    padding: 50px 20px 38px;
  }
  .rules-layout {
    padding: 32px 15px 64px;
  }
  .rules-layout aside {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }
  .filter {
    font-size: 13px;
  }
  .board-wrap {
    padding: 32px 14px 70px;
  }
  .board-bar {
    margin-bottom: 28px;
  }
  .podium-card {
    min-height: 185px !important;
  }
  .podium-card.first {
    min-height: 245px !important;
  }
  .podium-card.first img,
  .podium-card.first .avatar-fallback {
    width: 88px;
    height: 88px;
  }
  .rank-row {
    padding: 13px 4px;
  }
  footer {
    min-height: 115px;
    padding: 28px 20px;
  }
}

/* Homepage opening frame: header + hero always equal one visible viewport. */
body[data-page="home"] .hero {
  height: calc(100vh - 72px);
  height: calc(100svh - 72px);
  height: calc(100dvh - 72px);
  min-height: 0;
  margin-top: 72px;
  padding-block: clamp(24px, 5vh, 52px);
  overflow: hidden;
}
body[data-page="home"] .hero-copy {
  max-width: min(610px, 62vw);
}
body[data-page="home"] .eyebrow {
  font-size: 13px;
}
body[data-page="home"] .hero h1 {
  font-size: clamp(64px, 6.8vw, 98px);
  line-height: 0.76;
  margin: clamp(19px, 3vh, 28px) 0 clamp(21px, 3.2vh, 31px);
}
body[data-page="home"] .hero-copy > p:not(.eyebrow) {
  font-size: clamp(16px, 1.08vw, 18px);
  line-height: 1.72;
  max-width: 540px;
}
body[data-page="home"] .hero-actions {
  gap: 23px;
  margin-top: clamp(18px, 3vh, 25px);
}
body[data-page="home"] .btn.large {
  min-height: 47px;
  padding: 12px 21px;
  font-size: 15px;
}
body[data-page="home"] .hero-actions .text-link {
  font-size: 15px;
}
body[data-page="home"] .hero-index {
  top: clamp(24px, 4vh, 42px);
}
body[data-page="home"] .status-rail {
  bottom: clamp(28px, 6vh, 56px);
}

@media (max-height: 800px) and (min-width: 901px) {
  body[data-page="home"] .hero {
    padding-block: 22px;
  }
  body[data-page="home"] .hero h1 {
    font-size: clamp(59px, 9.2vh, 79px);
    margin: 16px 0 19px;
  }
  body[data-page="home"] .hero-copy > p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.6;
    max-width: 470px;
  }
  body[data-page="home"] .hero-actions {
    margin-top: 17px;
  }
  body[data-page="home"] .hero-index {
    top: 22px;
  }
  body[data-page="home"] .status-rail {
    bottom: 25px;
  }
}

@media (max-width: 900px) {
  body[data-page="home"] .hero {
    height: calc(100vh - 68px);
    height: calc(100svh - 68px);
    height: calc(100dvh - 68px);
    min-height: 0;
    margin-top: 68px;
    padding: clamp(24px, 5vh, 42px) 25px;
  }
  body[data-page="home"] .hero-copy {
    max-width: min(560px, 85vw);
  }
  body[data-page="home"] .hero h1 {
    font-size: clamp(57px, 12vw, 86px);
  }
}

@media (max-width: 560px) {
  body[data-page="home"] .hero {
    padding: 24px 20px 28px;
    align-items: center;
  }
  body[data-page="home"] .hero-copy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: 0 1 100%;
    direction: rtl;
    overflow: visible;
  }
  body[data-page="home"] .hero-copy > * {
    max-width: 100%;
  }
  body[data-page="home"] .eyebrow {
    font-size: 10px;
    letter-spacing: 1.4px;
  }
  body[data-page="home"] .hero h1 {
    width: 100%;
    min-width: 0;
    font-size: clamp(52px, 16.5vw, 70px);
    letter-spacing: -4px;
    margin: 17px 0 20px;
    overflow-wrap: anywhere;
  }
  body[data-page="home"] .hero-copy > p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.65;
  }
  body[data-page="home"] .hero-actions {
    width: 100%;
    min-width: 0;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
  }
  body[data-page="home"] .hero-actions .btn {
    width: auto;
    max-width: 100%;
    min-height: 42px;
    white-space: normal;
    text-align: center;
  }
  body[data-page="home"] .hero-actions .text-link {
    max-width: 100%;
  }
  body[data-page="home"] .hero-index {
    top: 18px;
    left: 20px;
  }
}

@media (max-height: 680px) {
  body[data-page="home"] .hero {
    padding-block: 16px;
  }
  body[data-page="home"] .hero h1 {
    font-size: clamp(48px, 9.7vh, 63px);
    margin: 12px 0 14px;
  }
  body[data-page="home"] .hero-copy > p:not(.eyebrow) {
    font-size: 13px;
    line-height: 1.5;
    max-width: 440px;
  }
  body[data-page="home"] .hero-actions {
    margin-top: 12px;
    gap: 12px;
  }
  body[data-page="home"] .hero-actions .btn {
    min-height: 40px;
    padding-block: 8px;
  }
}

/* Store / inventory manifest */
.store-hero {
  position: relative;
  overflow: hidden;
}
.store-status {
  display: inline-block;
  margin-top: 20px;
  padding: 9px 13px;
  color: #ffd5d8;
  background: #2a090d;
  border-inline-start: 3px solid var(--red);
  font-size: 13px;
}
.store-shell {
  max-width: 1240px;
  margin: auto;
  padding: 58px var(--gutter) 110px;
}
.manifest-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.manifest-head small {
  color: var(--red);
  letter-spacing: 2px;
}
.manifest-head h2 {
  margin: 7px 0 0;
  font-size: clamp(32px, 4vw, 52px);
}
.manifest-head .cart-open b,
.header-actions .cart-open b {
  color: #ff6673;
  margin-inline-start: 7px;
}
.product-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 24px 0 32px;
}
.product-filters .filter {
  border-right: 0;
  border-bottom: 2px solid transparent;
  min-width: 90px;
  text-align: center;
  justify-content: center;
}
.product-filters .filter.active {
  border-bottom-color: var(--red);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-inline-start: 1px solid var(--line);
}
.product-card {
  min-width: 0;
  border-inline-end: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0b0b0d;
  animation: product-in 0.45s both;
  animation-delay: calc(var(--order) * 70ms);
}
.product-card.featured {
  box-shadow: inset 0 3px var(--red);
}
.product-visual {
  height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(-45deg, #111 0 15px, #141414 15px 30px);
  position: relative;
  overflow: hidden;
}
.product-visual:after {
  content: "NF // AUTHORIZED";
  position: absolute;
  bottom: 12px;
  inset-inline-start: 14px;
  color: #ffffff35;
  font-size: 9px;
  letter-spacing: 2px;
  direction: ltr;
}
.product-visual span {
  font-size: 72px;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px #e11d2e88;
  direction: ltr;
}
.product-visual small {
  color: #777;
  letter-spacing: 4px;
  direction: ltr;
}
.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-meta {
  padding: 24px;
}
.stock {
  display: inline-block;
  color: #8d8583;
  font-size: 11px;
}
.stock:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-inline-end: 7px;
  background: #555;
}
.stock.available {
  color: #ff6571;
}
.stock.available:before {
  background: var(--red);
  box-shadow: 0 0 12px #e11d2e;
}
.product-meta h3 {
  margin: 11px 0 8px;
  font-size: 21px;
}
.product-meta p {
  color: var(--muted);
  min-height: 52px;
  margin: 0;
  line-height: 1.7;
  font-size: 14px;
}
.product-meta > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 22px;
}
.product-meta > div > b {
  font-size: 20px;
  direction: rtl;
}
.product-meta button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: #000b;
}
.cart-drawer {
  position: fixed;
  z-index: 50;
  top: 0;
  bottom: 0;
  inset-inline-end: 0;
  width: min(440px, 100%);
  background: #09090b;
  border-inline-start: 1px solid #541018;
  transform: translateX(-105%);
  transition: transform 0.3s ease;
  display: grid;
  grid-template-rows: auto 1fr auto;
  outline: 0;
}
[dir="rtl"] .cart-drawer {
  transform: translateX(-105%);
}
.cart-drawer.open {
  transform: translateX(0);
}
.cart-drawer > header {
  display: flex;
  justify-content: space-between;
  padding: 28px;
  border-bottom: 1px solid var(--line);
}
.cart-drawer h2 {
  margin: 4px 0 0;
}
.cart-drawer header small {
  color: var(--red);
  letter-spacing: 2px;
}
.cart-close {
  color: white;
  background: none;
  border: 0;
  font-size: 34px;
  cursor: pointer;
}
.cart-items {
  overflow: auto;
  padding: 10px 28px;
}
.cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.cart-row small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}
.quantity {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
}
.quantity button,
.quantity span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: white;
  background: none;
  border: 0;
}
.quantity button {
  cursor: pointer;
  color: #ff6673;
}
.cart-empty {
  text-align: center;
  padding: 70px 10px;
  color: var(--muted);
}
.cart-empty b {
  color: white;
  font-size: 21px;
}
.cart-footer {
  display: block;
  min-height: 0;
  padding: 24px 28px;
  background: #111;
  border-top: 1px solid var(--line);
}
.cart-footer > div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}
.cart-footer .btn {
  width: 100%;
}
.cart-footer .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.cart-footer p {
  margin: 12px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}
.checkout-fields {
  display: grid !important;
  gap: 12px;
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #0c0c0e;
}
.checkout-fields[hidden] {
  display: none !important;
}
.checkout-fields label,
.checkout-fields label > span {
  display: grid;
  gap: 7px;
}
.checkout-fields label > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  color: #d8d2ce;
  font-size: 12px;
  font-weight: 600;
}
.checkout-fields label small {
  color: var(--muted);
  font-weight: 400;
}
.checkout-fields input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #393436;
  border-radius: 7px;
  outline: 0;
  background: #131316;
  color: var(--text);
}
.checkout-fields input:focus {
  border-color: #e22335;
  box-shadow: 0 0 0 3px #e2233522;
}
.cart-footer.is-busy {
  pointer-events: none;
  opacity: 0.72;
}

.payment-result-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px 20px;
  background:
    radial-gradient(circle at 50% 10%, #301015 0, transparent 34%), #0b0b0d;
}
.payment-result-card {
  width: min(100%, 620px);
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid #302b2d;
  border-radius: 16px;
  background: #121216;
  text-align: center;
}
.payment-result-card .brand {
  width: max-content;
  margin: 0 auto 34px;
}
.payment-result-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border: 1px solid #4b4446;
  border-radius: 50%;
  color: #f2eeea;
  font-size: 28px;
  font-weight: 800;
}
[data-payment-status="paid"] .payment-result-mark {
  border-color: #2e8b57;
  color: #70d69b;
}
[data-payment-status="failed"] .payment-result-mark,
[data-payment-status="canceled"] .payment-result-mark {
  border-color: #9f2934;
  color: #ff7b87;
}
.payment-result-card h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 44px);
}
.payment-result-card > p {
  max-width: 500px;
  margin: 16px auto 0;
  color: var(--muted);
  line-height: 1.9;
}
.payment-result-card dl {
  margin: 28px 0 0;
  border-block: 1px solid var(--line);
}
.payment-result-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
}
.payment-result-card dt {
  color: var(--muted);
}
.payment-result-card dd {
  margin: 0;
  direction: ltr;
  font-weight: 700;
}
.payment-result-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
@media (max-width: 520px) {
  .payment-result-actions {
    flex-direction: column;
  }
}
.cart-is-open {
  overflow: hidden;
}
@keyframes product-in {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
}
@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .store-shell {
    padding: 38px 15px 70px;
  }
  .manifest-head {
    align-items: start;
    gap: 15px;
  }
  .manifest-head h2 {
    font-size: 31px;
  }
  .product-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .product-filters .filter {
    flex: 0 0 auto;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-visual {
    height: 185px;
  }
  .product-meta {
    padding: 20px;
  }
  .cart-drawer > header,
  .cart-items,
  .cart-footer {
    padding-inline: 20px;
  }
}
