:root {
  --brand: #b51235;
  --brand-dark: #6f0f24;
  --crimson: #b51235;
  --crimson-deep: #6f0f24;
  --crimson-bright: #e21d45;
  --crimson-soft: #fff4f6;
  --amber: #f2b33d;
  --line: #dfe4ea;
  --text: #26303d;
  --muted: #6b7280;
  --page: #f2f4f7;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--page);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--white);
  border-bottom: 1px solid #d9dee6;
  box-shadow: 0 1px 4px rgba(18, 24, 33, 0.08);
}

.header-inner,
.subnav {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 20px;
}

.header-inner {
  min-height: 70px;
}

.mobile-menu-toggle {
  display: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #26303d;
  font-size: 22px;
  letter-spacing: 0;
  font-family: "Bahnschrift", "Rajdhani", "Trebuchet MS", "Arial Black", Arial, Helvetica, sans-serif;
  white-space: nowrap;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0;
  line-height: 1;
  letter-spacing: 0.2px;
  text-transform: none;
  transform: skewX(-5deg);
}

.wordmark strong,
.wordmark em {
  font-style: normal;
}

.wordmark strong {
  color: var(--brand);
  font-weight: 900;
}

.wordmark em {
  color: #293241;
  font-weight: 900;
  position: relative;
  margin-left: -1px;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: none;
}

.primary-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1 1 auto;
}

.primary-tabs a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  color: #2f3846;
  border-radius: 6px;
  font-weight: 600;
}

.primary-tabs a[hidden] {
  display: none;
}

.primary-tabs .active {
  color: var(--brand);
  background: transparent;
}

.primary-tabs .active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
}

.primary-tabs a:hover {
  background: #f6f8fb;
}

.account-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #242b36;
  font-size: 13px;
  white-space: nowrap;
}

.user-pill,
.icon-action {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #303948;
  transition:
    color 150ms ease,
    opacity 150ms ease;
}

.user-pill {
  padding: 0;
}

.user-pill.is-signup {
  min-height: 24px;
  padding: 0 11px;
  gap: 0;
  color: #fff;
  background: linear-gradient(135deg, #ff3045 0%, #bf0d37 100%);
  border-radius: 999px;
  font-family: "Arial Narrow", "Inter Tight", "Segoe UI", Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  box-shadow:
    0 7px 16px rgba(191, 13, 55, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
}

.user-pill.is-signup:hover {
  color: #fff;
  transform: translateY(-1px);
  filter: saturate(1.04);
  box-shadow:
    0 13px 28px rgba(191, 13, 55, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.account-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

.avatar {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--crimson-deep);
  color: white;
  font-weight: 800;
  box-shadow: 0 1px 2px rgba(18, 24, 33, 0.12);
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.signup-text {
  font-weight: 900;
}

.user-pill.is-signup .avatar {
  display: none;
}

.profile-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 120;
  pointer-events: auto;
  width: min(360px, calc(100vw - 24px));
  color: #26303d;
  background: #fff;
  border: 1px solid #e3d8de;
  border-top: 4px solid var(--crimson);
  border-radius: 6px;
  box-shadow: 0 18px 42px rgba(18, 24, 33, 0.18);
  overflow: visible;
}

.profile-menu,
.profile-menu * {
  pointer-events: auto;
}

.profile-menu[hidden] {
  display: none;
}

.profile-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 24px;
  width: 16px;
  height: 16px;
  background: var(--crimson);
  transform: rotate(45deg);
  border-radius: 2px;
}

.profile-summary {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 13px;
  padding: 12px 14px 10px;
  border-bottom: 1px solid #efe3e8;
  color: inherit;
  transition:
    background 150ms ease,
    border-color 150ms ease;
}

.profile-summary:hover,
.profile-summary:focus-visible {
  background: #fff7f9;
  outline: 0;
}

.profile-summary:hover .profile-meta strong,
.profile-summary:focus-visible .profile-meta strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  border-radius: 18px;
  color: white;
  background:
    linear-gradient(135deg, rgba(255, 48, 69, 0.9), rgba(111, 15, 36, 0.96)),
    var(--crimson-deep);
  font-size: 48px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
  overflow: hidden;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-meta {
  min-width: 0;
  padding-top: 2px;
}

.profile-meta strong,
.profile-meta span {
  display: block;
}

.profile-meta strong {
  overflow: hidden;
  color: var(--brand);
  font-size: 18px;
  line-height: 1.2;
  text-overflow: ellipsis;
}

.profile-meta span {
  color: #657184;
  font-weight: 700;
}

.profile-meta dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  margin: 8px 0 0;
  color: #586274;
}

.profile-meta dt,
.profile-meta dd {
  margin: 0;
}

.profile-meta dd {
  color: var(--brand);
  font-weight: 800;
}

.profile-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 8px 0;
}

.profile-links a,
.profile-links span,
.profile-logout {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  color: #566174;
  font: inherit;
  font-weight: 600;
  text-align: left;
}

.profile-links a:hover {
  color: var(--brand);
  background: #fff4f6;
}

.profile-links span {
  color: #9a6a78;
}

.profile-logout {
  width: 100%;
  border: 0;
  border-top: 1px solid #efe3e8;
  background: #fff;
  color: var(--brand);
  cursor: pointer;
}

.profile-logout:hover {
  background: #fff4f6;
}

.icon-action {
  position: relative;
  padding: 0;
}

.icon-frame {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
}

.icon-frame img {
  width: 17px;
  height: 17px;
  object-fit: contain;
  opacity: 0.92;
}

.cart-pill .icon-frame img {
  width: 18px;
  height: 18px;
}

.action-text {
  font-weight: 600;
}

.user-pill:hover,
.icon-action:hover {
  color: var(--brand);
}

.bell {
  color: #7b8490;
}

.ultimate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--crimson);
  color: white;
  min-height: 36px;
  border-radius: 5px;
  padding: 0 15px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(181, 18, 53, 0.16);
}

.subnav {
  min-height: 44px;
  border-top: 1px solid #edf0f4;
  color: #596274;
  font-size: 13px;
}

.subnav nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.subnav-label {
  color: #929bab;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.subnav a {
  color: #566174;
}

.subnav a:hover {
  color: var(--brand);
}

.site-header .subnav {
  display: none !important;
}

.page-shell {
  flex: 0 0 auto;
  width: min(1380px, calc(100% - 32px));
  min-width: 0;
  max-width: 1380px;
  margin: 20px auto;
  background: white;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(18, 24, 33, 0.12);
  overflow: hidden;
}

#app:focus {
  outline: none;
}

.route-enter {
  opacity: 0;
  transform: translateY(10px);
}

.route-ready {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .route-enter,
  .route-ready {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.hero {
  position: relative;
  isolation: isolate;
  min-width: 0;
  margin: 0;
  min-height: 300px;
  background:
    linear-gradient(90deg, rgba(18, 24, 33, 0.9) 0%, rgba(84, 13, 31, 0.78) 52%, rgba(30, 26, 33, 0.58) 100%),
    linear-gradient(180deg, rgba(181, 18, 53, 0.36), rgba(18, 24, 33, 0.24)),
    url("/asset/img/page/wall.jpg") center / cover no-repeat;
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  padding: 48px 58px 70px;
  border-bottom: 0;
  box-shadow: inset 0 -50px 70px rgba(18, 24, 33, 0.16);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  width: auto;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.12), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 34%, rgba(181, 18, 53, 0.16));
  opacity: 1;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  width: min(100%, 980px);
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: 32px;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.hero-title {
  animation: hero-title-in 560ms ease both;
}

.hero h1 span {
  display: inline-block;
  color: #ffd7df;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.32), rgba(255, 215, 223, 0));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 0 7px;
  animation: hero-mark 900ms ease 180ms forwards;
}

.hero h1 .hero-rotating {
  min-width: 285px;
  transform-origin: left center;
  will-change: transform, opacity;
}

.hero h1 .hero-rotating.is-changing {
  animation:
    hero-title-swap 620ms cubic-bezier(.2, .85, .2, 1) both,
    hero-mark 900ms ease 110ms forwards;
}

.hero-subtitle {
  max-width: 690px;
  margin: 0 0 20px;
  color: #586274;
  font-size: 15px;
}

.stats,
.popular {
  margin: 0;
}

.popular {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.popular strong {
  color: #fff;
  margin-right: 10px;
}

.popular a {
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
}

.popular a:not(:last-child)::after {
  content: "/";
  margin: 0 9px;
  color: rgba(255, 255, 255, 0.38);
}

.popular a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.search-bar {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) 160px 82px;
  gap: 8px;
  margin: 0 0 14px;
}

.search-input,
.search-bar select,
.search-bar button {
  min-height: 46px;
  border-radius: 5px;
  font: inherit;
}

.search-input {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  padding: 0 12px;
  color: #697386;
  border: 1px solid #dfe4ea;
}

.search-input input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  font-size: 16px;
}

.search-bar select {
  padding: 0 10px;
  color: #5f6878;
  background: white;
  border: 1px solid #dfe4ea;
}

.search-bar button {
  border: 0;
  background: var(--crimson);
  color: white;
  font-weight: 700;
}

.hero-assurance {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(100%, 260px);
  min-width: 0;
  align-self: center;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 34px rgba(18, 24, 33, 0.22);
}

.showcase-media {
  position: relative;
  overflow: hidden;
  background: #f8fafc;
  height: 76px;
}

.showcase-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(181, 18, 53, 0.08));
  pointer-events: none;
}

.hero-assurance img {
  display: block;
  width: 100%;
  height: 76px;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
  transform: scale(1.01);
}

.hero-assurance img.is-changing {
  animation: showcase-image 520ms ease both;
}

.assurance-list {
  display: grid;
  gap: 0;
  background: transparent;
  color: #293241;
}

.assurance-list button {
  position: relative;
  display: block;
  width: 100%;
  padding: 7px 10px;
  border: 0;
  border-top: 1px solid #edf0f4;
  border-left: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #293241;
  text-align: left;
}

.assurance-list button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
}

.assurance-list button.active {
  border-left-color: var(--brand);
  background: rgba(255, 244, 246, 0.72);
}

.assurance-list button.active::after {
  animation: showcase-progress 6500ms linear forwards;
}

.assurance-list strong,
.assurance-list small {
  display: block;
}

.assurance-list strong {
  font-size: 11px;
  line-height: 1.25;
}

.assurance-list small {
  margin-top: 2px;
  color: #667085;
  font-size: 10px;
  line-height: 1.3;
}

@keyframes hero-title-in {
  from {
    transform: translateY(8px);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes hero-title-swap {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    filter: blur(5px);
    clip-path: inset(0 100% 0 0);
  }
  58% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes hero-mark {
  to {
    background-size: 100% 7px;
  }
}

@keyframes showcase-image {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
  to {
    opacity: 0.92;
    transform: scale(1.01);
  }
}

@keyframes showcase-progress {
  to {
    width: 100%;
  }
}

.category-strip {
  width: calc(100% - 72px);
  margin: -42px auto 30px;
  padding: 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.category-track {
  display: flex;
  width: max-content;
  animation: category-belt 34s linear infinite;
  will-change: transform;
}

.category-set {
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
  padding-right: 12px;
}

.category {
  position: relative;
  flex: 0 0 248px;
  min-height: 76px;
  border-radius: 6px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px;
  color: #293241;
  background: #fff;
  border: 1px solid #e5e9ef;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

.category img {
  width: 100%;
  height: 56px;
  object-fit: cover;
  border-radius: 5px;
  filter: saturate(0.94);
}

.category span {
  min-width: 0;
}

.category strong,
.category small {
  display: block;
}

.category strong {
  font-size: 15px;
  font-weight: 800;
}

.category:hover {
  border-color: #efd2d9;
  box-shadow: 0 8px 18px rgba(18, 24, 33, 0.08);
  transform: translateY(-1px);
}

.category:hover strong {
  color: var(--brand);
}

.cat-templates img,
.cat-bots img {
  object-fit: contain;
  padding: 8px;
  background: #111827;
}

.cat-bots img {
  padding: 10px;
  background: #f2f4f7;
}

@keyframes category-belt {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .category-track {
    animation: none;
  }
}

.content-panel {
  padding: 0 18px 18px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

h2 {
  color: var(--crimson);
  font-size: 20px;
  margin: 18px 0 4px;
}

.pager {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pager button {
  min-height: 30px;
  padding: 0 2px;
  background: transparent;
  color: #697386;
  border: 0;
  border-radius: 0;
  font-size: 34px;
  line-height: 1;
  font-weight: 400;
  transition:
    color 150ms ease,
    opacity 150ms ease,
    transform 180ms ease;
}

.pager button:hover {
  color: var(--brand);
}

.pager button[data-direction="-1"]:hover {
  transform: translateX(-3px);
}

.pager button[data-direction="1"]:hover {
  transform: translateX(3px);
}

.pager button:disabled {
  opacity: 0.32;
  transform: none;
}

.product-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scroll-padding-left: 1px;
  padding: 0 0 8px;
  scrollbar-width: none;
}

.product-row::-webkit-scrollbar {
  display: none;
}

.product-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 clamp(274px, calc((100% - 60px) / 4), 330px);
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: white;
  scroll-snap-align: start;
}

.product-card[data-card-link] {
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.product-card[data-card-link]:hover,
.product-card[data-card-link]:focus-visible {
  border-color: rgba(190, 18, 60, 0.28);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  outline: 0;
  transform: translateY(-2px);
}

.free-resource-card {
  flex-basis: clamp(254px, calc((100% - 60px) / 4), 318px);
}

.product-art {
  height: 148px;
  position: relative;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  color: white;
  overflow: hidden;
}

.product-art::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.9;
}

.product-art > * {
  position: relative;
}

.product-art strong {
  font-size: 22px;
  line-height: 1.05;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}

.product-art small {
  font-weight: 700;
}

.product-art em {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: white;
  color: #687386;
  border-radius: 4px;
  padding: 2px 6px;
  font-style: normal;
  font-size: 12px;
}

.sale {
  position: absolute;
  top: 0;
  left: 0;
  background: #c4002b;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
}

.art-core { background: linear-gradient(135deg, #151515, #333); }
.art-core strong { color: #ff3f67; text-align: center; }
.art-cobble { background: linear-gradient(135deg, #293241, #8ca65b); }
.art-cobble b { font-size: 32px; background: var(--amber); color: #3d2521; width: max-content; padding: 0 8px; }
.art-mcmmo { background: linear-gradient(135deg, #fff1c1, #f7f8fa 48%, #d18a38); color: #3f4650; }
.art-mcmmo strong { color: #3f4650; }
.art-smp { background: linear-gradient(135deg, #2e3a47, #5c2d3f); }
.art-skript { background: linear-gradient(135deg, #303740, #d18a38); }
.art-template { background: linear-gradient(135deg, #334155, #7b8798); }
.art-free-discord { background: linear-gradient(135deg, #20293a, #5865f2); }
.art-free-minecraft { background: linear-gradient(135deg, #1f3b2c, #86a35a); }
.art-free-panel { background: linear-gradient(135deg, #6f0f24, #334155); }

.free-resource-art {
  min-height: 168px;
  display: grid;
  place-items: center;
  padding: 18px;
  color: #fff;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
}

.free-resource-art strong {
  max-width: 13ch;
  font-size: 28px;
  line-height: 1.08;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.36);
}

.free-resource-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 10px 12px;
}

.product-card .free-resource-body h3 {
  margin: 10px 0 2px;
  color: var(--crimson);
  font-size: 15px;
  line-height: 1.3;
}

.product-card .free-resource-body p {
  margin: 4px 0;
  color: #4d5968;
}

.product-card .free-resource-body p span {
  color: #a30f2e;
}

.product-card .free-resource-body footer {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin: auto 0 10px;
  color: #5d6878;
  font-size: 13px;
}

.product-card .free-resource-body .stars {
  color: var(--crimson);
}

.free-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 5px;
  background: var(--crimson);
  color: white;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.free-download:hover {
  background: var(--crimson-deep);
  box-shadow: 0 5px 12px rgba(181, 18, 53, 0.16);
  transform: translateY(-1px);
}

.free-download.is-downloaded {
  background: #15803d;
}

.product-card h3 {
  margin: 10px 10px 2px;
  color: var(--crimson);
  font-size: 14px;
  line-height: 1.3;
}

.product-card p {
  margin: 4px 10px;
  color: #4d5968;
}

.product-card p span {
  color: #a30f2e;
}

.product-card footer {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin: auto 10px 10px;
  color: var(--crimson);
  font-size: 13px;
}

.product-card footer span {
  color: #586374;
}

.why > p,
.involved > p {
  margin: 0 0 10px;
  color: #4d5968;
}

.gms-standard {
  margin-top: 18px;
  padding: 14px 0 0;
  border-top: 1px solid #edf0f4;
  display: grid;
  grid-template-columns: minmax(210px, 0.62fr) minmax(0, 1.38fr);
  gap: 24px;
}

.standard-copy {
  padding-top: 2px;
}

.standard-copy span {
  display: block;
  margin-bottom: 6px;
  color: var(--crimson);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.standard-copy h2,
.gms-paths h2 {
  margin: 0 0 6px;
  color: #202938;
  font-size: 20px;
  line-height: 1.25;
}

.standard-copy p,
.gms-paths p {
  margin: 0;
  max-width: 520px;
  color: #5d697a;
  font-size: 13px;
  line-height: 1.38;
}

.standard-steps {
  border-top: 1px solid #e7ebf0;
}

.standard-steps article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #e7ebf0;
}

.standard-steps small {
  color: var(--crimson);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.standard-steps h3 {
  margin: 0 0 2px;
  color: #202938;
  font-size: 14px;
}

.standard-steps p {
  margin: 0;
  color: #5d697a;
  font-size: 13px;
  line-height: 1.34;
}

.gms-paths {
  margin-top: 24px;
  padding: 22px 0 0;
  border-top: 1px solid #edf0f4;
  display: grid;
  grid-template-columns: minmax(230px, 0.74fr) minmax(0, 1.26fr);
  gap: 34px;
  align-items: start;
}

.path-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #e7ebf0;
  border-bottom: 1px solid #e7ebf0;
}

.path-list a {
  min-height: 112px;
  padding: 16px 18px 16px 0;
  border-right: 1px solid #e7ebf0;
}

.path-list a:last-child {
  border-right: 0;
  padding-right: 0;
  padding-left: 18px;
}

.path-list a + a {
  padding-left: 18px;
}

.path-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--crimson);
}

.path-list strong::after {
  content: "\203A";
  margin-left: 8px;
  color: #202938;
  font-size: 20px;
  vertical-align: -1px;
  transition: margin-left 160ms ease;
}

.path-list span {
  display: block;
  color: #5d697a;
}

.path-list a:hover strong::after {
  margin-left: 12px;
}

.footer {
  flex: 0 0 auto;
  margin-top: auto;
  background: #fbfcfe;
  border-top: 1px solid #dfe4ea;
  padding: 26px 18px 18px;
}

.footer-grid {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.45fr repeat(4, minmax(0, 1fr));
  gap: 42px;
}

.footer-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin-bottom: 10px;
}

.footer-brand p {
  max-width: 280px;
  margin: 0;
  color: #667085;
}

.footer h2 {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--crimson);
}

.footer a {
  display: block;
  color: #4d5968;
  margin: 0 0 12px;
}

.footer a:hover {
  color: var(--crimson);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer > p {
  max-width: 1380px;
  margin: 20px auto 0;
  padding-top: 14px;
  border-top: 1px solid #e8edf3;
  text-align: center;
  color: #98a2b3;
  font-size: 12px;
}

.footer-mobile {
  display: none;
}

.footer-mobile-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--brand);
  font-weight: 900;
}

.footer-mobile-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.footer-mobile nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-mobile nav a {
  margin: 0;
  color: #344154;
  font-size: 13px;
  font-weight: 800;
}

.footer-mobile > span {
  color: #98a2b3;
  font-size: 12px;
}

button,
.button,
.secondary-action {
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  background: var(--brand);
  color: white;
}

.button:hover,
.ultimate:hover,
.search-bar button:hover {
  background: var(--crimson-deep);
}

.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  background: var(--crimson-soft);
  color: var(--crimson-deep);
  border: 1px solid #efd2d9;
}

.secondary-action:hover {
  background: #ffe3e9;
}

.full {
  width: 100%;
}

.cart-pill {
  position: relative;
  color: #303948;
}

.cart-pill [data-cart-count] {
  position: absolute;
  top: 7px;
  left: 13px;
  display: grid;
  place-items: center;
  min-width: 11px;
  height: 11px;
  padding: 0 3px;
  border-radius: 999px;
  background: var(--crimson);
  color: white;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 1px white;
}

.cart-pill [data-cart-count][hidden] {
  display: none;
}

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

.page-title h1 {
  margin: 0;
  color: var(--brand);
  font-size: 26px;
}

.page-title p {
  margin: 4px 0 0;
  color: #5e6878;
}

.cart-title {
  align-items: flex-start;
}

.cart-back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #526174;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.cart-back-link:hover {
  color: var(--crimson);
}

.catalog-layout,
.product-detail,
.dashboard-page,
.checkout-page,
.auth-page,
.legal-page {
  padding: 24px 18px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
}

.filter-panel,
.panel,
.form-card,
.summary-box,
.table-card,
.purchase-box,
.empty-state,
.legal-page {
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(18, 24, 33, 0.06);
}

.filter-panel {
  align-self: start;
  padding: 16px;
  position: sticky;
  top: 118px;
}

.catalog-mobile-filter {
  display: none;
}

.filter-panel h2,
.panel h2,
.form-card h2,
.summary-box h2,
.purchase-box h2 {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 18px;
}

.filter-panel a {
  position: relative;
  display: block;
  margin: 0 -8px;
  padding: 9px 8px 9px 12px;
  color: #4d5968;
  border-bottom: 1px solid #edf0f4;
  transition:
    background 150ms ease,
    color 150ms ease,
    padding-left 150ms ease;
}

.filter-panel a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 2px;
  background: var(--crimson);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 150ms ease;
}

.filter-panel a:hover {
  padding-left: 16px;
  background: #fff8fa;
  color: var(--crimson);
}

.filter-panel a:hover::before,
.filter-panel a.active::before {
  transform: scaleY(1);
}

.filter-panel a.active {
  color: var(--crimson);
  font-weight: 800;
  background: #fff4f6;
}

.mini-stat {
  margin-top: 14px;
  padding: 12px;
  border-radius: 4px;
  background: var(--crimson-soft);
}

.mini-stat strong {
  display: block;
  color: var(--brand);
  font-size: 24px;
}

.mini-stat span {
  color: #5e6878;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}

.product-card .product-art {
  text-decoration: none;
}

.product-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}

.product-card .cart-action {
  margin: 0 10px 14px;
  width: calc(100% - 20px);
  flex-shrink: 0;
}

.resource-grid .product-art {
  height: 118px;
  padding: 14px;
}

.resource-grid .product-art strong {
  font-size: 18px;
}

.resource-grid .product-art small {
  font-size: 11px;
}

.resource-grid .product-art em {
  right: 8px;
  bottom: 8px;
  font-size: 11px;
}

.resource-grid .product-card h3 {
  margin-top: 9px;
  font-size: 13px;
}

.resource-grid .product-card p {
  font-size: 13px;
}

.resource-grid .product-card footer {
  gap: 7px;
  font-size: 12px;
}

.resource-grid .cart-action {
  min-height: 40px;
}

.cart-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 20px);
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 5px;
  background: var(--crimson);
  color: white;
  font-weight: 800;
  transition:
    background-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.cart-action:hover {
  background: var(--crimson-deep);
  box-shadow: 0 5px 12px rgba(181, 18, 53, 0.16);
  transform: translateY(-1px);
}

.cart-action.is-added {
  background: #15803d;
  animation: cart-added 700ms ease;
}

.cart-action.is-in-cart {
  background: #293241;
}

.cart-action.is-in-cart:hover {
  background: #111827;
}

.purchase-box .cart-action {
  width: 100%;
  margin: 0;
}

@keyframes cart-added {
  0% {
    transform: scale(0.98);
  }
  45% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}

.product-detail {
  display: block;
  background: #f3f4f6;
}

.product-header {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 14px 18px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid #dde2ea;
}

.product-icon {
  width: 94px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
}

.product-icon strong {
  font-size: 44px;
  line-height: 1;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.38);
}

.product-heading h1 {
  margin: 0;
  color: #172033;
  font-size: 28px;
  line-height: 1.08;
}

.product-heading p {
  max-width: 760px;
  margin: 6px 0 0;
  color: #343f50;
  font-size: 16px;
  line-height: 1.35;
}

.product-header-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  grid-column: 2 / 3;
  color: #475569;
  font-weight: 700;
}

.product-tag,
.meta-label,
.product-badge-row span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border: 1px solid #d6dce5;
  border-radius: 7px;
  background: #fff;
  color: #4b5567;
  font-size: 13px;
  line-height: 1.2;
}

.product-buy-panel {
  width: 100%;
  padding: 16px;
  border: 1px solid #eadde1;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 247, 249, 0.94), rgba(255, 255, 255, 0.98) 44%),
    #fff;
  box-shadow: 0 14px 30px rgba(112, 14, 38, 0.08);
}

.product-price-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  color: #172033;
}

.product-price-line span {
  display: block;
  margin-bottom: 4px;
  color: var(--crimson);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-price-line h3 {
  margin: 0;
  color: #172033;
  font-size: 18px;
  line-height: 1.2;
}

.product-price-line strong {
  color: var(--crimson);
  font-size: 24px;
  line-height: 1;
}

.buy-license-summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 11px;
  padding: 12px;
  border: 1px solid rgba(190, 18, 60, 0.2);
  border-left: 4px solid var(--crimson);
  border-radius: 10px;
  background: #fff;
}

.buy-license-summary > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #9f1239;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.buy-license-summary strong {
  display: block;
  color: #172033;
  font-size: 15px;
}

.buy-license-summary p {
  margin: 3px 0 4px;
  color: #526174;
  font-size: 13px;
  line-height: 1.35;
}

.buy-license-summary a {
  color: var(--crimson);
  font-size: 12px;
  font-weight: 900;
}

.buy-section-title {
  margin: 14px 0 7px;
  color: #344154;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.buy-checklist {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0 0 12px;
  border-bottom: 1px solid #eadde1;
  list-style: none;
  color: #344154;
  font-size: 14px;
}

.buy-checklist li {
  position: relative;
  padding-left: 24px;
}

.buy-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(190, 18, 60, 0.12);
}

.buy-checklist li::after {
  content: "✓";
  position: absolute;
  left: 3px;
  top: -1px;
  color: var(--crimson);
  font-size: 14px;
  font-weight: 900;
}

.buy-addon-row,
.buy-duration-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #eadde1;
}

.buy-addon-row {
  position: relative;
  cursor: pointer;
  border-radius: 10px;
  transition:
    background 150ms ease,
    border-color 150ms ease;
}

.buy-addon-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.addon-check {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 2px solid #d6dce5;
  border-radius: 6px;
  background: #fff;
  box-shadow: inset 0 0 0 2px #fff;
  transition:
    background 150ms ease,
    border-color 150ms ease,
    transform 150ms ease;
}

.buy-addon-row:hover {
  background: rgba(190, 18, 60, 0.04);
}

.buy-addon-row input:focus-visible + .addon-check {
  outline: 2px solid rgba(190, 18, 60, 0.32);
  outline-offset: 3px;
}

.buy-addon-row.is-selected .addon-check {
  border-color: var(--crimson);
  background: var(--crimson);
}

.buy-addon-row.is-selected .addon-check::after {
  content: "✓";
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 18px;
}

.buy-addon-row strong,
.buy-duration-row strong {
  color: #172033;
  font-size: 14px;
}

.buy-addon-row > div {
  flex: 1 1 auto;
  min-width: 0;
}

.buy-addon-row p {
  margin: 3px 0 0;
  color: #526174;
  font-size: 13px;
}

.buy-addon-row em {
  margin-left: auto;
  color: var(--crimson);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.buy-duration-row span {
  color: #526174;
  font-size: 13px;
  font-weight: 800;
}

.product-button-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 10px;
  margin-top: 12px;
}

.product-button-row.no-save {
  grid-template-columns: 1fr;
}

.product-primary-action.cart-action,
.product-primary-action.free-download {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 0 18px;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(181, 18, 53, 0.18);
}

.product-heart-action {
  position: relative;
  width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--crimson);
  cursor: pointer;
  overflow: visible;
  transition:
    color 150ms ease,
    transform 150ms ease;
}

.product-heart-action span {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 29px;
  line-height: 1;
}

.product-heart-action:hover {
  color: var(--crimson);
  transform: translateY(-1px) scale(1.06);
}

.product-heart-action.is-saved {
  background: transparent;
  color: var(--crimson);
}

.product-heart-action.is-popping span {
  animation: heart-pop 520ms cubic-bezier(.2, 1.5, .35, 1);
}

.product-heart-action.is-popping::before,
.product-heart-action.is-popping::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 999px;
  border: 2px solid rgba(190, 18, 60, 0.42);
  animation: heart-ring 520ms ease-out;
}

.product-heart-action.is-popping::after {
  inset: 5px;
  animation-delay: 70ms;
}

.product-support-link {
  display: inline-block;
  margin-top: 9px;
  color: #526174;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.product-support-link:hover {
  color: var(--crimson);
}

.product-round-action {
  min-height: 48px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dce2ea;
  border-radius: 12px;
  background: #fff;
  color: #1f2937;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition:
    border-color 150ms ease,
    color 150ms ease,
    transform 150ms ease;
}

.product-round-action:hover {
  border-color: rgba(190, 18, 60, 0.35);
  color: var(--crimson);
  transform: translateY(-1px);
}

@keyframes heart-pop {
  0% {
    transform: scale(0.75);
  }
  45% {
    transform: scale(1.38);
  }
  70% {
    transform: scale(0.94);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes heart-ring {
  0% {
    opacity: .8;
    transform: scale(0.45);
  }
  100% {
    opacity: 0;
    transform: scale(1.9);
  }
}

.product-tabs {
  display: inline-flex;
  gap: 0;
  margin: 16px 0 14px;
  padding: 4px;
  border: 1px solid #e0e5ec;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  scrollbar-width: none;
}

.product-tabs::-webkit-scrollbar {
  display: none;
}

.product-tabs a {
  padding: 10px 16px;
  border-radius: 10px;
  color: #1f2937;
  font-weight: 700;
  text-decoration: none;
}

.product-tabs a.active {
  background: var(--crimson);
  color: #fff;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 14px;
  align-items: start;
}

.product-content-panel {
  min-width: 0;
  padding: 24px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.product-content-panel h2 {
  margin: 8px 0 10px;
  color: #172033;
  font-size: 28px;
}

.product-content-panel h3 {
  margin: 26px 0 10px;
  color: #172033;
  font-size: 22px;
}

.product-content-panel p {
  color: #2f3948;
  font-size: 16px;
  line-height: 1.55;
}

.product-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.product-badge-row span {
  border-color: #f0c4ce;
  background: #fff5f7;
  color: var(--crimson);
  font-weight: 800;
}

.product-callout {
  margin: 18px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--crimson);
  background: #fff7f9;
}

.product-callout strong {
  display: block;
  margin-bottom: 4px;
  color: #172033;
  font-size: 18px;
}

.product-callout p {
  margin: 0;
}

.product-feature-list,
.product-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product-feature-list article {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 2px 10px;
  padding: 14px 0;
  border-top: 1px solid #e5e9ef;
}

.product-feature-list article span {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--crimson);
}

.product-feature-list strong {
  color: #172033;
}

.product-feature-list p {
  grid-column: 2;
  margin: 0;
  color: #647083;
  font-size: 14px;
}

.product-spec-table,
.product-version-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid #e3e7ee;
  border-radius: 14px;
  background: #fff;
}

.product-spec-table th,
.product-spec-table td,
.product-version-table th,
.product-version-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e3e7ee;
  text-align: left;
  vertical-align: top;
}

.product-spec-table th,
.product-version-table th {
  background: #f7f8fa;
  color: #172033;
}

.product-spec-table tr:last-child td,
.product-version-table tr:last-child td {
  border-bottom: 0;
}

.product-gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-card {
  overflow: hidden;
  border-radius: 14px;
  background: #f8fafc;
}

.gallery-art {
  min-height: 160px;
  display: grid;
  place-items: center;
  padding: 16px;
  color: #fff;
}

.gallery-art strong {
  font-size: 24px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.gallery-card h3,
.gallery-card p,
.gallery-card small {
  margin-left: 14px;
  margin-right: 14px;
}

.gallery-card small {
  display: block;
  margin-bottom: 14px;
  color: #647083;
}

.product-filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.product-filter-row button,
.version-action {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #dce2ea;
  border-radius: 10px;
  background: #fff;
  color: #1f2937;
  font-weight: 800;
  cursor: pointer;
}

.version-action.free-download {
  width: auto;
  min-height: 36px;
  border-color: transparent;
  border-radius: 10px;
}

.product-timeline {
  border-radius: 14px;
  background: #fff;
}

.release-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 18px 8px;
  border-bottom: 1px solid #e3e7ee;
}

.release-item:last-child {
  border-bottom: 0;
}

.release-item > span {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--crimson);
}

.release-item h3 {
  margin: 0 0 2px;
  font-size: 20px;
}

.release-item small {
  color: #647083;
}

.release-item ul {
  margin: 12px 0 0;
  color: #2f3948;
}

.product-version-table small {
  display: block;
  color: #647083;
}

.product-sidebar {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 116px;
}

.product-side-card {
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.product-side-card h3 {
  margin: 0 0 12px;
  color: #172033;
  font-size: 20px;
}

.product-side-card h4 {
  margin: 14px 0 8px;
  color: #172033;
  font-size: 15px;
}

.product-side-card h4:first-child {
  margin-top: 0;
}

.product-side-card a {
  display: block;
  padding: 9px 0;
  color: #172033;
  font-weight: 800;
  border-bottom: 1px solid #e5e9ef;
}

.product-side-card a:last-child {
  border-bottom: 0;
}

.meta-label {
  margin: 0 6px 6px 0;
}

.creator-mini {
  display: flex;
  align-items: center;
  gap: 10px;
}

.creator-mini > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--crimson);
  color: #fff;
  font-weight: 900;
}

.creator-mini small {
  display: block;
  color: #647083;
}

.product-side-card dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
  margin: 0;
}

.product-side-card dt {
  color: #647083;
}

.product-side-card dd {
  margin: 0;
  font-weight: 800;
}

.product-review-list {
  display: grid;
  gap: 10px;
}

.review {
  padding: 12px 0;
  border-top: 1px solid #e5e9ef;
}

.review strong {
  color: var(--crimson);
}

.review p {
  margin: 6px 0;
}

.review span {
  color: #657184;
}

@media (max-width: 980px) {
  .product-header {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .product-icon {
    width: 76px;
    border-radius: 10px;
  }

  .product-icon strong {
    font-size: 34px;
  }

  .product-header-meta {
    grid-column: 1 / -1;
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 620px) {
  .product-header {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 12px;
  }

  .product-icon {
    width: 62px;
  }

  .product-icon strong {
    font-size: 28px;
  }

  .product-heading h1 {
    font-size: 24px;
  }

  .product-heading p {
    font-size: 14px;
  }

  .product-tabs {
    width: 100%;
    overflow-x: auto;
    border-radius: 12px;
  }

  .product-tabs a {
    flex: 1 0 auto;
    text-align: center;
    padding-inline: 12px;
  }

  .product-primary-action.cart-action,
  .product-primary-action.free-download {
    width: 100%;
    min-height: 44px;
  }

  .product-heart-action.bookmark-action {
    width: 46px;
    min-height: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .product-round-action {
    flex: 1 1 0;
    min-height: 42px;
  }

  .product-content-panel,
  .product-side-card {
    border-radius: 10px;
  }

  .product-content-panel {
    padding: 16px;
  }

  .product-feature-list,
  .product-gallery-grid,
  .product-sidebar {
    grid-template-columns: 1fr;
  }

  .product-sidebar {
    order: -1;
  }

  .release-item {
    grid-template-columns: 16px minmax(0, 1fr);
  }

  .release-item .version-action {
    grid-column: 2;
    justify-self: start;
  }

  .product-version-table {
    display: block;
    overflow-x: auto;
  }
}

.purchase-box {
  align-self: start;
  padding: 16px;
  position: sticky;
  top: 132px;
}

.purchase-box h2 {
  font-size: 30px;
}

.purchase-box dl,
.summary-box dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  margin: 16px 0;
}

.purchase-box dt,
.summary-box dt {
  color: #657184;
}

.purchase-box dd,
.summary-box dd {
  margin: 0;
  font-weight: 700;
}

.dashboard-page,
.checkout-page {
  background: #fbfcfe;
}

.account-page {
  display: grid;
  gap: 18px;
  padding: 24px 18px;
  background: #fbfcfe;
}

.account-profile-card {
  width: min(100%, 920px);
  margin: 0 auto;
  background: #fff;
  border: 1px solid #eadce1;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(18, 24, 33, 0.09);
  overflow: hidden;
}

.account-cover {
  position: relative;
  height: 230px;
  min-height: 230px;
  background:
    linear-gradient(90deg, rgba(18, 24, 33, 0.34), rgba(181, 18, 53, 0.18)),
    url("/asset/img/page/wall.jpg") center / cover no-repeat;
  overflow: hidden;
}

.account-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 24, 33, 0.05), rgba(18, 24, 33, 0.28));
  pointer-events: none;
}

.account-cover img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  display: block;
  object-fit: cover;
}

.account-profile-body {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 74px 22px 22px;
  text-align: center;
}

.account-avatar-large {
  position: absolute;
  top: -64px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 126px;
  height: 126px;
  margin-top: 0;
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 50%;
  background:
    linear-gradient(135deg, #ff3045, #6f0f24),
    var(--crimson-deep);
  color: white;
  box-shadow: 0 10px 26px rgba(18, 24, 33, 0.22);
}

.account-avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-avatar-large span {
  font-size: 58px;
  font-weight: 900;
}

.account-profile-body h1 {
  margin: 10px 0 2px;
  color: #1f2835;
  font-size: 26px;
  line-height: 1.15;
}

.account-handle,
.account-role {
  margin: 0;
  color: #667085;
}

.account-role {
  margin-top: 2px;
  color: var(--brand);
  font-weight: 800;
}

.account-bio {
  max-width: 560px;
  margin: 9px auto 0;
  color: #475467;
  line-height: 1.55;
}

.account-profile-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: auto;
  margin: 15px 0 0;
}

.profile-edit-button,
.profile-settings-button {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #1f2835;
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.profile-edit-button:hover,
.profile-settings-button:hover {
  color: var(--brand);
  background: transparent;
}

.profile-settings-button {
  width: 30px;
  padding: 0;
  cursor: pointer;
  font-size: 19px;
  line-height: 1;
  text-transform: none;
  letter-spacing: 0;
}

.account-profile-stats {
  width: min(100%, 540px);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  color: #667085;
}

.account-profile-stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 0;
}

.account-profile-stats strong {
  color: var(--brand);
  font-size: 17px;
  line-height: 1;
}

.account-profile-stats small {
  color: #667085;
  font-weight: 800;
}

.profile-edit-form {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #eadce1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(18, 24, 33, 0.07);
}

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

.profile-edit-head h2 {
  margin: 0 0 4px;
  color: var(--brand);
  font-size: 20px;
}

.profile-edit-head p {
  margin: 0;
  color: #667085;
}

.profile-edit-head span {
  flex: 0 0 auto;
  color: #8a5566;
  font-size: 12px;
  font-weight: 900;
}

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

.profile-edit-form label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 900;
}

.profile-edit-form input,
.profile-edit-form textarea {
  width: 100%;
  border: 1px solid #d8e0ea;
  border-radius: 5px;
  background: #fff;
  color: #1f2937;
  font: inherit;
}

.profile-edit-form input[type="file"] {
  min-height: 42px;
  padding: 9px 10px;
  cursor: pointer;
}

.profile-edit-form input {
  min-height: 42px;
  padding: 0 12px;
}

.profile-edit-form textarea {
  min-height: 120px;
  padding: 11px 12px;
  resize: vertical;
}

.profile-edit-form input:focus,
.profile-edit-form textarea:focus {
  outline: 2px solid rgba(191, 13, 55, 0.18);
  border-color: var(--crimson);
}

.profile-bio-field {
  grid-column: 1 / -1;
}

.bio-field-wrap {
  position: relative;
  display: block;
}

.bio-field-wrap textarea {
  width: 100%;
  padding-bottom: 34px;
}

.bio-remaining {
  position: absolute;
  right: 10px;
  bottom: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  pointer-events: none;
}

.profile-form-error {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-left: 3px solid var(--crimson);
  background: #fff4f6;
  color: var(--brand);
  font-weight: 800;
}

.profile-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.account-content-grid {
  width: min(100%, 920px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.settings-page {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  min-height: 640px;
  background: #f5f7fa;
}

.settings-sidebar {
  padding: 22px;
  border-right: 1px solid #e3e8ef;
  background: #fff;
}

.settings-back {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.settings-sidebar h1 {
  margin: 10px 0 14px;
  color: #1f2937;
  font-size: 28px;
  line-height: 1.1;
}

.settings-search {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #dfe5ee;
  border-radius: 999px;
  background: #f6f7f9;
  color: #667085;
}

.settings-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #1f2937;
  font: inherit;
}

.settings-group {
  display: grid;
  gap: 4px;
  margin-top: 22px;
}

.settings-group h2 {
  margin: 0 0 5px;
  color: var(--brand);
  font-size: 14px;
}

.settings-group button {
  min-height: 58px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 9px;
  align-items: center;
  padding: 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #1f2937;
  text-align: left;
  cursor: pointer;
}

.settings-group button:hover,
.settings-group button.active {
  background: #fff0f3;
}

.settings-icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--brand);
  font-weight: 900;
  line-height: 1;
}

.settings-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.settings-group button strong,
.settings-group button small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-group button strong {
  align-self: end;
  font-size: 14px;
}

.settings-group button small {
  align-self: start;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.settings-main {
  display: grid;
  align-content: start;
  justify-items: center;
  padding: 42px 22px;
}

.settings-card {
  width: min(100%, 860px);
  padding: 26px;
  border: 1px solid #e4e9f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(18, 24, 33, 0.08);
}

.settings-wide-card {
  width: min(100%, 1040px);
}

.settings-profile-card {
  padding: 0;
  overflow: hidden;
}

.settings-profile-card .settings-panel-title {
  padding: 24px 24px 0;
}

.settings-profile-card .profile-edit-form {
  width: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.settings-panel-title {
  margin-bottom: 18px;
}

.settings-panel-title h2 {
  margin: 0 0 6px;
  color: #1f2937;
  font-size: 24px;
}

.settings-panel-title p {
  margin: 0;
  color: #667085;
}

.settings-logout {
  margin-top: 24px;
  padding: 0;
  color: var(--brand);
  background: transparent;
  font-weight: 900;
}

.settings-form {
  display: grid;
  gap: 18px;
}

.settings-fields,
.settings-block {
  display: grid;
  gap: 14px;
}

.settings-block {
  padding-top: 18px;
  border-top: 1px solid #edf0f4;
}

.settings-block h3,
.settings-danger h3 {
  margin: 0;
  color: var(--brand);
  font-size: 16px;
}

.settings-form label,
.settings-form fieldset {
  display: grid;
  gap: 7px;
  margin: 0;
  color: #344054;
  font-weight: 800;
}

.settings-form input,
.settings-form select,
.settings-form textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid #d8e0ea;
  border-radius: 5px;
  background: #fff;
  color: #1f2937;
  font: inherit;
}

.settings-form input,
.settings-form select {
  padding: 0 11px;
}

.settings-form textarea {
  min-height: 190px;
  padding: 11px;
  resize: vertical;
}

.settings-form small,
.settings-help,
.settings-danger p,
.settings-callout p {
  margin: 0;
  color: #667085;
  line-height: 1.45;
}

.inline-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.custom-url-preview {
  display: grid;
  gap: 4px;
  padding: 12px 0 2px;
}

.custom-url-preview span {
  color: #667085;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.custom-url-preview strong {
  min-width: 0;
  color: var(--brand);
  font-size: 16px;
  overflow-wrap: anywhere;
}

.dob-row {
  display: grid;
  grid-template-columns: 150px repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
}

.dob-row > span {
  align-self: center;
  color: #344054;
  font-weight: 900;
}

.radio-group {
  grid-template-columns: repeat(3, max-content);
  align-items: center;
  column-gap: 18px;
  border: 0;
  padding: 0;
}

.radio-group legend {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}

.radio-group label,
.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.check-row,
.settings-form .check-row {
  display: flex;
  justify-content: flex-start;
  min-height: 30px;
}

.check-row input,
.radio-group input {
  width: auto;
  min-height: 0;
}

.check-row input,
.settings-form .check-row input {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--crimson);
}

.check-row span,
.settings-form .check-row span {
  min-width: 0;
  line-height: 1.35;
}

.wide-field {
  grid-column: 1 / -1;
}

.textarea-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #d8e0ea;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  background: #fbfcfe;
  color: #667085;
}

.wide-field textarea {
  border-radius: 0 0 5px 5px;
}

.settings-callout,
.settings-danger {
  display: grid;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid #edf0f4;
}

.settings-danger {
  border-top-color: #f2d8df;
}

.settings-sub-back {
  justify-self: start;
  min-height: 34px;
  margin-bottom: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #667085;
  font-weight: 900;
}

.settings-option-list,
.ownership-options,
.login-method-list,
.support-ticket-list,
.purchase-list {
  display: grid;
  gap: 10px;
}

.settings-option-row,
.login-method-row,
.purchase-row,
.support-ticket-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid #edf0f4;
  background: transparent;
  color: #1f2937;
  text-align: left;
}

.settings-option-row {
  cursor: pointer;
}

.settings-option-row:hover {
  color: var(--brand);
}

.settings-option-row span,
.login-method-row div,
.purchase-row div,
.support-ticket-card div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.settings-option-row strong,
.login-method-row strong,
.purchase-row strong,
.support-ticket-card strong {
  font-size: 15px;
}

.settings-option-row small,
.login-method-row span,
.purchase-row span,
.support-ticket-card span {
  color: #667085;
  font-weight: 700;
  line-height: 1.35;
}

.settings-option-row em,
.login-method-row em {
  justify-self: end;
  min-width: 84px;
  color: #667085;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.login-method-row em.connected {
  color: var(--brand);
}

.login-method-row em.not-connected {
  color: #98a2b3;
}

.method-action {
  justify-self: end;
  color: var(--brand);
  border: 0;
  background: transparent;
  font-weight: 900;
}

.method-action.danger {
  color: #8f102e;
}

.signed-in-note {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf0f4;
}

.signed-in-note span {
  color: #667085;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.signed-in-note strong {
  color: #1f2937;
  font-size: 18px;
}

.signed-in-note small {
  color: #667085;
  font-weight: 800;
}

.unlink-confirm-panel,
.ownership-emotion {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  border-left: 3px solid var(--crimson);
  background: #fff5f7;
}

.unlink-confirm-panel p,
.ownership-emotion p {
  margin: 0;
  color: #667085;
  line-height: 1.45;
}

.unlink-confirm-panel label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-weight: 800;
}

.unlink-confirm-panel input {
  width: 100%;
  min-height: 40px;
  border: 1px solid #d8e0ea;
  border-radius: 5px;
  padding: 0 11px;
  font: inherit;
}

.unlink-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.two-step-grid {
  display: grid;
  gap: 10px;
}

.two-step-option-list {
  display: grid;
  gap: 10px;
}

.two-step-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #edf0f4;
}

.two-step-option div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.two-step-option strong {
  color: #1f2937;
}

.two-step-option span {
  color: #667085;
  font-weight: 700;
  line-height: 1.35;
}

.two-step-option em {
  color: #98a2b3;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.two-step-option em.connected {
  color: var(--brand);
}

.two-step-login-choice {
  display: grid;
  gap: 10px;
  padding: 12px 0;
}

.two-step-login-choice div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.totp-secret {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #efd2d9;
  background: #fff;
}

.totp-secret span {
  color: #667085;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.totp-secret code {
  color: #1f2937;
  font: 900 15px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow-wrap: anywhere;
}

.two-step-method,
.settings-form .two-step-method {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #edf0f4;
}

.two-step-method input,
.settings-form .two-step-method input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin-top: 2px;
  accent-color: var(--crimson);
}

.two-step-method span {
  display: grid;
  gap: 4px;
}

.two-step-method small {
  color: #667085;
  line-height: 1.35;
}

.inventory-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.settings-empty-state {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 18px 0;
}

.settings-empty-state h3 {
  margin: 0;
  color: #1f2937;
}

.settings-empty-state p {
  margin: 0;
  color: #667085;
  line-height: 1.45;
}

.support-analytics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #edf0f4;
}

.support-analytics span {
  display: grid;
  gap: 2px;
}

.support-analytics strong {
  color: var(--brand);
  font-size: 22px;
}

.support-analytics small {
  color: #667085;
  font-weight: 800;
}

.support-ticket-card {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) auto;
}

.support-ticket-card label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-weight: 800;
}

.support-ticket-card textarea {
  width: 100%;
  min-height: 72px;
  border: 1px solid #d8e0ea;
  border-radius: 5px;
  padding: 10px;
  font: inherit;
  resize: vertical;
}

.support-ticket-card [data-ticket-status] {
  grid-column: 1 / -1;
}

.storefront-hero-card {
  overflow: hidden;
  border: 1px solid #e4e9f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(18, 24, 33, 0.08);
}

.storefront-cover {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.storefront-owner {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 0 22px 18px;
  margin-top: 0;
}

.storefront-owner > div:not(.storefront-avatar) {
  min-width: 0;
  padding-top: 13px;
}

.storefront-avatar {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin-top: -36px;
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: 18px;
  background: var(--brand);
  color: #fff;
  font-size: 36px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(18, 24, 33, 0.15);
}

.storefront-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.storefront-owner h1 {
  margin: 0;
  color: #1f2937;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.storefront-owner p,
.storefront-bio {
  margin: 0;
  color: #667085;
}

.storefront-owner strong {
  color: var(--brand);
}

.storefront-bio {
  padding: 0 22px 22px;
  line-height: 1.55;
}

.storefront-products-title {
  margin-top: 22px;
}

.storefront-fallback {
  display: grid;
  gap: 8px;
  padding: 28px;
  border: 1px solid #e4e9f0;
  border-radius: 8px;
  background: #fff;
}

.storefront-fallback h1 {
  margin: 0;
  color: var(--brand);
}

.storefront-fallback p {
  margin: 0;
  color: #667085;
}

.bookmark-list {
  display: grid;
  gap: 10px;
}

.bookmark-list a {
  display: grid;
  gap: 3px;
  padding: 10px 0;
  border-bottom: 1px solid #edf0f4;
  color: #1f2937;
}

.bookmark-list span,
.muted {
  color: #667085;
}

.bookmark-action {
  width: 100%;
  min-height: 38px;
  margin-bottom: 10px;
  border: 1px solid #efd2d9;
  background: #fff8fa;
  color: var(--brand);
  font-weight: 900;
}

.product-heart-action.bookmark-action {
  width: 48px;
  min-height: 48px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--crimson);
}

.product-heart-action.bookmark-action:hover,
.product-heart-action.bookmark-action.is-saved {
  background: transparent;
  color: var(--crimson);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.metric-card {
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.metric-card strong {
  display: block;
  color: var(--brand);
  font-size: 24px;
}

.metric-card span {
  color: #657184;
}

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

.panel {
  padding: 16px;
  min-width: 0;
}

.panel p {
  margin: 8px 0;
  color: #4d5968;
}

.creator-page {
  display: grid;
  gap: 20px;
  padding: 24px 18px 30px;
  background: #fbfcfe;
}

.creator-hero,
.creator-path,
.creator-split,
.creator-apply-head,
.creator-application-form,
.creator-application-note {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.creator-hero {
  position: relative;
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  gap: 24px;
  padding: 42px;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.9), rgba(109, 16, 43, 0.72)),
    url("/asset/img/page/wall.jpg") center/cover;
  color: #fff;
  box-shadow: 0 18px 40px rgba(65, 13, 29, 0.18);
}

.creator-hero-copy,
.creator-status-panel {
  position: relative;
  z-index: 1;
}

.creator-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: #ffccd7;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.creator-hero h1,
.creator-apply-head h1,
.creator-split h2 {
  margin: 0;
  color: inherit;
  line-height: 1.08;
}

.creator-hero h1 {
  max-width: 720px;
  font-size: clamp(34px, 5vw, 58px);
}

.creator-hero p {
  max-width: 650px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  line-height: 1.55;
}

.creator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.creator-main-action {
  min-height: 46px;
  padding-inline: 22px;
  background: var(--crimson);
  box-shadow: 0 12px 24px rgba(190, 18, 60, 0.26);
}

.creator-status-panel {
  align-self: stretch;
  display: grid;
  align-content: end;
  padding: 22px;
  border-left: 4px solid #ffccd7;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.creator-status-panel span {
  color: #ffccd7;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.creator-status-panel strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 23px;
  line-height: 1.2;
}

.creator-status-panel p {
  margin-bottom: 0;
  font-size: 14px;
}

.creator-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #e4d5dc;
  border-bottom: 1px solid #e4d5dc;
  background: #fff;
}

.creator-path article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 22px;
  border-right: 1px solid #e4d5dc;
}

.creator-path article:last-child {
  border-right: 0;
}

.creator-path span {
  color: var(--crimson);
  font-weight: 900;
}

.creator-path strong {
  display: block;
  color: #111827;
  font-size: 17px;
}

.creator-path p,
.creator-split p,
.creator-apply-head p,
.creator-application-status,
.creator-application-note span {
  color: #526174;
  line-height: 1.5;
}

.creator-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: start;
  padding: 26px 0;
}

.creator-split .creator-kicker,
.creator-apply-head .creator-kicker {
  color: var(--crimson);
}

.creator-split h2,
.creator-apply-head h1 {
  color: var(--brand);
  font-size: clamp(28px, 4vw, 42px);
}

.creator-split ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #e4d5dc;
}

.creator-split li {
  padding: 13px 0;
  border-bottom: 1px solid #e4d5dc;
  color: #111827;
  font-weight: 800;
}

.creator-apply-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.creator-application-form,
.creator-application-note {
  background: #fff;
  border: 1px solid #e4d5dc;
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(18, 24, 33, 0.06);
}

.creator-application-note {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}

.creator-application-note strong {
  color: var(--crimson);
}

.creator-application-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
}

.creator-application-form label,
.creator-application-form fieldset {
  display: grid;
  gap: 7px;
  margin: 0;
  color: #344154;
  font-weight: 800;
}

.creator-application-form textarea,
.creator-application-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #e4d5dc;
  border-radius: 4px;
  padding: 9px 10px;
  font: inherit;
}

.creator-application-form textarea {
  min-height: 126px;
  resize: vertical;
}

.creator-application-form label:nth-of-type(n + 5),
.creator-discord-note,
.creator-application-form fieldset,
.creator-application-form .creator-main-action,
.creator-application-status {
  grid-column: 1 / -1;
}

.creator-discord-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 16px;
  padding: 13px 14px;
  border-left: 4px solid var(--crimson);
  background: #fff7f9;
}

.creator-discord-note strong {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  color: var(--brand);
}

.creator-discord-note p {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  margin: 3px 0 0;
  color: #526174;
  line-height: 1.45;
}

.creator-discord-note .secondary-action {
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: end;
  white-space: nowrap;
}

.creator-application-form fieldset {
  grid-template-columns: 1fr;
  max-width: 420px;
  border: 1px solid #efe3e8;
  border-radius: 6px;
  padding: 12px;
}

.creator-application-form legend {
  grid-column: 1 / -1;
  color: var(--crimson);
  font-weight: 900;
}

.creator-application-form .check-row {
  min-height: 26px;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  color: #344154;
  font-size: 13px;
  line-height: 1.2;
}

.creator-application-form .check-row input {
  width: 15px;
  height: 15px;
  min-height: 0;
  flex: 0 0 15px;
  margin: 0;
  accent-color: var(--crimson);
}

.creator-application-form .check-row span {
  display: inline;
}

.creator-spotlight-grid {
  width: min(100%, 1120px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.creator-spotlight-grid article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid #eadce1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(18, 24, 33, 0.06);
}

.creator-spotlight-grid article > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--crimson);
  color: #fff;
  font-size: 26px;
  font-weight: 900;
}

.creator-spotlight-grid h2 {
  margin: 0;
  color: var(--brand);
  font-size: 20px;
}

.creator-spotlight-grid strong {
  display: block;
  margin-top: 3px;
  color: var(--crimson);
}

.creator-spotlight-grid p {
  color: #526174;
  line-height: 1.45;
}

.creator-spotlight-grid a {
  color: var(--crimson);
  font-weight: 900;
}

.table-card {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid #efe3e8;
  text-align: left;
  white-space: nowrap;
}

th {
  color: #71606a;
  font-size: 12px;
  text-transform: uppercase;
}

td button,
.cart-item button {
  padding: 7px 10px;
  background: var(--crimson-soft);
  color: var(--crimson-deep);
  border: 1px solid #efd2d9;
  border-radius: 4px;
}

.cart-layout,
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
}

.cart-list {
  display: grid;
  gap: 10px;
}

.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.cart-item strong,
.cart-item span {
  display: block;
}

.cart-item span {
  color: #657184;
}

.summary-box {
  padding: 16px;
  align-self: start;
}

.summary-box p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0;
}

.empty-state {
  padding: 34px;
  text-align: center;
}

.auth-page {
  min-height: 520px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255, 247, 249, 0.88), rgba(251, 252, 254, 0.96) 46%, #fff);
}

.auth-card {
  width: min(430px, 100%);
  display: grid;
  gap: 14px;
  padding: 26px 24px;
}

.oauth-card {
  display: grid;
  gap: 14px;
}

.oauth-card p,
.auth-intro {
  margin: 0;
  color: #566174;
  line-height: 1.55;
}

.oauth-card small,
.auth-legal {
  color: #7b8595;
  line-height: 1.45;
}

.auth-error {
  margin: 0;
  padding: 10px 12px;
  color: var(--brand);
  background: #fff2f5;
  border-left: 3px solid var(--crimson);
}

.email-auth-form {
  display: grid;
  gap: 12px;
}

.email-auth-form label {
  margin-bottom: 0;
}

.auth-submit {
  min-height: 42px;
  margin-top: 2px;
  letter-spacing: 0;
}

.auth-divider {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: #8a7280;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: #eadfe4;
}

.auth-switch {
  margin: 0;
  color: #566174;
  text-align: center;
}

.auth-switch a {
  color: var(--brand);
  font-weight: 900;
}

.text-action {
  width: max-content;
  margin: -2px auto 0;
  padding: 0;
  color: var(--brand);
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 900;
}

.text-action:hover {
  text-decoration: underline;
}

.oauth-actions {
  display: grid;
  gap: 10px;
}

.oauth-button {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 14px;
  color: #1f2835;
  border: 1px solid var(--line);
  background: #fff;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.oauth-button:hover {
  border-color: rgba(191, 13, 55, 0.35);
  box-shadow: 0 8px 18px rgba(31, 40, 53, 0.07);
  transform: translateY(-1px);
}

.oauth-button span {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  overflow: hidden;
  border-radius: 50%;
  background: #f6f7fb;
}

.oauth-button span img {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}

.oauth-button.discord span {
  background: #eef1ff;
}

.oauth-button.discord span img {
  width: 29px;
  height: 29px;
}

.oauth-button.google span img {
  width: 31px;
  height: 31px;
}

.linked-providers,
.link-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.linked-providers span {
  color: #657184;
  font-weight: 700;
}

.linked-providers span.connected {
  color: var(--brand);
}

.link-actions a,
.link-actions button {
  color: var(--brand);
  background: transparent;
  border: 0;
  padding: 0;
  font-weight: 800;
}

.unlink-password {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  color: #344054;
  font-weight: 800;
}

.unlink-password input {
  width: 100%;
  min-height: 40px;
  border: 1px solid #d8e0ea;
  border-radius: 5px;
  padding: 0 11px;
  font: inherit;
}

.form-card {
  padding: 18px;
}

.form-card h1 {
  margin: 0 0 18px;
  color: var(--brand);
}

.auth-card h1 {
  margin: 0;
  color: #1f2835;
  font-size: 28px;
  line-height: 1.15;
}

.auth-card .password-field {
  margin-bottom: 0;
}

.auth-card button:disabled {
  cursor: progress;
  opacity: 0.72;
}

.form-card label,
.compact-form label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  color: #586374;
  font-weight: 700;
}

.field-label {
  display: block;
  margin: 0 0 6px;
  color: #586374;
  font-weight: 700;
}

.form-card input,
.form-card select,
.form-card textarea,
.compact-form input,
.compact-form select {
  width: 100%;
  min-height: 40px;
  border: 1px solid #e4d5dc;
  border-radius: 4px;
  padding: 8px 10px;
  color: var(--text);
  font: inherit;
}

.password-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  margin-bottom: 12px;
}

.password-field input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 0;
}

.password-field button {
  min-width: 62px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #e4d5dc;
  border-left: 0;
  border-radius: 0 4px 4px 0;
  background: #fbfcfe;
  color: var(--crimson);
  font-weight: 800;
}

.password-field button:hover {
  background: #fff4f6;
}

.form-card textarea {
  min-height: 110px;
  resize: vertical;
}

.compact-form {
  display: grid;
  gap: 10px;
}

.legal-page {
  max-width: 920px;
  margin: 24px auto;
  padding: 28px;
}

.legal-page h1 {
  margin-top: 0;
  color: var(--brand);
}

.art-panel { background: linear-gradient(135deg, #293241, #697586); }
.art-discord { background: linear-gradient(135deg, #20293a, #5f6fb1); }

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 38px 40px 62px;
  }

  .hero h1 {
    max-width: 620px;
    font-size: 30px;
  }

  .hero h1 .hero-rotating {
    min-width: 245px;
  }

  .search-bar {
    grid-template-columns: minmax(220px, 1fr) 150px 82px;
  }

  .product-card {
    flex-basis: clamp(260px, calc((100% - 40px) / 3), 340px);
  }
}

@media (max-width: 1060px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 22px;
    background:
      linear-gradient(180deg, rgba(18, 24, 33, 0.86), rgba(103, 13, 38, 0.72)),
      url("/asset/img/page/wall.jpg") center / cover no-repeat;
  }

  .hero::before {
    content: "";
  }

  .hero h1 {
    max-width: 760px;
  }

  .hero-assurance {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    width: min(100%, 760px);
  }

  .showcase-media,
  .hero-assurance img {
    height: 100%;
    min-height: 102px;
  }

  .assurance-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .header-inner,
  .subnav {
    max-width: none;
    padding-left: 14px;
    padding-right: 14px;
  }

  .header-inner {
    min-height: 64px;
    gap: 14px;
    justify-content: flex-start;
    overflow: visible;
  }

  .brand {
    flex: 0 0 auto;
    font-size: 19px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .primary-tabs {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .primary-tabs a {
    min-height: 40px;
    padding: 0 10px;
    white-space: nowrap;
  }

  .primary-tabs::-webkit-scrollbar,
  .subnav::-webkit-scrollbar,
  .category-strip::-webkit-scrollbar,
  .product-row::-webkit-scrollbar {
    display: none;
  }

  .account-actions {
    flex: 0 0 auto;
    gap: 8px;
    margin-left: auto;
  }

  .account-name {
    display: none;
  }

  .mail-badge {
    display: none;
  }

  .ultimate {
    padding: 9px 12px;
  }

  .subnav {
    min-height: 42px;
    justify-content: flex-start;
    gap: 24px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .subnav nav {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 14px;
  }

  .page-shell {
    margin: 18px 14px;
    border-radius: 4px;
    overflow: hidden;
  }

  .hero h1 {
    font-size: 28px;
  }

  .search-bar {
    grid-template-columns: minmax(240px, 1fr) 150px 82px;
  }

  .category-strip {
    width: calc(100% - 36px);
  }

  .category {
    flex-basis: 224px;
    min-height: 82px;
  }

  .product-row {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 4px;
  }

  .product-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
  }

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

  .gms-standard,
  .gms-paths {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: static;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    overflow: visible;
  }

  .filter-panel h2,
  .mini-stat {
    flex: 0 0 auto;
    margin: 0;
  }

  .filter-panel a {
    flex: 0 0 auto;
    margin: 0;
    padding: 8px 10px 8px 14px;
    border: 0;
    border-bottom: 1px solid #edf0f4;
    background: transparent;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .purchase-box {
    position: static;
  }

  .settings-page {
    grid-template-columns: 1fr;
  }

  .settings-sidebar {
    border-right: 0;
    border-bottom: 1px solid #e3e8ef;
  }

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

  .settings-group h2 {
    grid-column: 1 / -1;
  }

  .settings-main {
    padding: 22px;
  }

  .account-content-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .creator-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 32px;
  }

  .creator-status-panel {
    min-height: 180px;
  }

  .creator-path,
  .creator-split,
  .creator-application-form,
  .creator-spotlight-grid {
    grid-template-columns: 1fr;
  }

  .creator-path article {
    border-right: 0;
    border-bottom: 1px solid #e4d5dc;
  }

  .creator-path article:last-child {
    border-bottom: 0;
  }

  .creator-application-form fieldset {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: calc(100% - 16px);
    margin: 12px 8px;
    border-radius: 0;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
    gap: 8px;
    row-gap: 0;
    min-height: 52px;
    padding-left: 8px;
    padding-right: 8px;
    padding-bottom: 0;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    background: #1f2937;
    border-radius: 999px;
  }

  .mobile-menu-toggle:hover {
    background: #f4f6f8;
  }

  .brand {
    flex: 0 0 auto;
    font-size: 19px;
    min-height: 52px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .wordmark {
    display: none;
  }

  .account-name,
  .bell {
    display: none;
  }

  .account-actions {
    position: absolute;
    top: 10px;
    left: 0;
    right: 8px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    pointer-events: none;
    z-index: 2;
  }

  .account-actions a {
    pointer-events: auto;
  }

  .avatar,
  .user-pill,
  .mail-badge,
  .cart-pill,
  .ultimate {
    width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    border-radius: 6px;
  }

  .user-pill.is-signup {
    width: auto;
    min-width: 54px;
    height: 24px;
    min-height: 24px;
    padding: 0 8px;
    gap: 0;
    border-radius: 999px;
    font-size: 8px;
    letter-spacing: 0.025em;
  }

  .user-pill,
  .icon-action {
    justify-content: center;
    gap: 0;
    border-color: transparent;
    background: transparent;
  }

  .mail-badge {
    display: grid;
    place-items: center;
    position: static;
    font-size: 0;
    color: #293241;
  }

  .mail-badge img,
  .cart-pill img {
    width: 18px;
    height: 18px;
  }

  .mail-badge .action-text,
  .cart-label {
    display: none;
  }

  .cart-pill {
    position: relative;
    justify-content: center;
    gap: 0;
    font-size: 0;
    color: #293241;
  }

  .cart-pill::before {
    content: none;
  }

  .cart-pill [data-cart-count] {
    position: absolute;
    top: 9px;
    right: 4px;
    left: auto;
    min-width: 11px;
    height: 11px;
    padding: 0 3px;
    font-size: 8px;
    background: var(--crimson);
  }

  .primary-tabs {
    display: flex;
    order: 3;
    flex-basis: 100%;
    justify-content: center;
    gap: 14px;
    border-top: 1px solid #edf0f4;
    padding-top: 0;
  }

  .primary-tabs a {
    min-height: 44px;
    padding: 0 2px;
  }

  .ultimate {
    display: none;
  }

  .user-pill {
    position: absolute;
    top: 0;
    right: 0;
    margin-left: 0;
    z-index: 3;
  }

  .user-pill:not(.is-signup) .signup-text {
    display: none;
  }

  .profile-menu {
    position: fixed;
    top: 54px;
    right: 8px;
    width: min(360px, calc(100vw - 16px));
    max-height: calc(100vh - 66px);
    z-index: 1000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .profile-menu::before {
    right: 17px;
  }

  .profile-summary {
    grid-template-columns: 72px minmax(0, 1fr);
    padding: 10px;
  }

  .profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    font-size: 36px;
  }

  .profile-links {
    grid-template-columns: 1fr;
  }

  .subnav {
    display: none;
    grid-template-columns: 1fr;
    gap: 7px;
    min-height: auto;
    padding: 8px 10px;
    overflow: hidden;
    white-space: normal;
  }

  .subnav nav {
    width: 100%;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .subnav nav::-webkit-scrollbar {
    display: none;
  }

  .subnav-label {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding-right: 2px;
  }

  .subnav a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid #dfe4ea;
    border-radius: 999px;
    background: white;
    color: #445164;
  }

  .subnav nav:last-child a {
    background: #f8fafc;
  }

  body.mobile-menu-open .header-inner {
    flex-wrap: wrap;
    padding-bottom: 8px;
  }

  body.mobile-menu-open .primary-tabs {
    display: flex;
  }

  body.mobile-menu-open .subnav {
    display: grid;
  }

  .hero {
    padding: 26px 14px 22px;
  }

  .hero h1 {
    font-size: 25px;
    line-height: 1.22;
  }

  .hero h1 .hero-rotating {
    display: block;
    min-width: 0;
    margin-top: 2px;
    white-space: nowrap;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .search-bar {
    grid-template-columns: minmax(0, 1fr) 92px;
  }

  .search-bar select {
    display: none;
  }

  .popular {
    gap: 7px;
  }

  .popular strong {
    flex-basis: 100%;
  }

  .hero-assurance {
    display: none;
  }

  .category-strip {
    width: calc(100% - 20px);
    margin-top: -28px;
    margin-bottom: 22px;
    padding: 0;
  }

  .category {
    flex-basis: 210px;
    min-height: 78px;
    grid-template-columns: 72px 1fr;
    gap: 10px;
  }

  .category img {
    height: 58px;
  }

  .content-panel {
    padding-left: 10px;
    padding-right: 10px;
  }

  .section-heading .pager {
    display: none;
  }

  .product-row {
    gap: 14px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0 14px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding-bottom: 10px;
  }

  .product-card {
    flex-basis: min(300px, 86vw);
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  .metric-grid,
  .dashboard-grid,
  .resource-grid,
  .cart-layout,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 20px 14px;
  }

  .footer-grid,
  .footer > p {
    display: none;
  }

  .footer-mobile {
    display: grid;
    gap: 14px;
    justify-items: center;
    text-align: center;
  }

  .creator-page {
    padding: 18px 10px 24px;
  }

  .creator-hero {
    padding: 24px 18px;
    border-radius: 6px;
  }

  .creator-hero h1 {
    font-size: 32px;
  }

  .creator-hero p {
    font-size: 15px;
  }

  .creator-actions,
  .creator-apply-head {
    display: grid;
  }

  .creator-actions .button,
  .creator-actions .secondary-action,
  .creator-apply-head .button,
  .creator-apply-head .secondary-action {
    width: 100%;
  }

  .creator-split {
    gap: 18px;
  }

  .creator-application-form {
    padding: 14px;
  }

  .creator-application-form fieldset {
    grid-template-columns: 1fr;
  }

  .gms-standard,
  .gms-paths {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 22px;
    padding-top: 20px;
  }

  .standard-copy h2,
  .gms-paths h2 {
    font-size: 20px;
  }

  .standard-steps article {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    padding: 9px 0;
  }

  .path-list {
    grid-template-columns: 1fr;
  }

  .path-list a,
  .path-list a + a,
  .path-list a:last-child {
    min-height: 0;
    padding: 14px 0;
    border-right: 0;
  }

  .path-list a {
    border-bottom: 1px solid #e7ebf0;
  }

  .path-list a:last-child {
    border-bottom: 0;
  }

  .catalog-layout,
  .product-detail,
  .dashboard-page,
  .checkout-page,
  .auth-page,
  .legal-page,
  .account-page {
    padding: 18px 10px;
  }

  .account-profile-card,
  .profile-edit-form,
  .account-content-grid {
    width: 100%;
  }

  .account-cover,
  .account-cover img {
    height: 162px;
    min-height: 162px;
  }

  .account-avatar-large {
    width: 104px;
    height: 104px;
    top: -54px;
    margin-top: 0;
  }

  .account-avatar-large span {
    font-size: 46px;
  }

  .account-profile-body {
    padding: 60px 14px 18px;
  }

  .account-profile-body h1 {
    font-size: 22px;
  }

  .account-profile-actions {
    width: auto;
  }

  .profile-edit-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .profile-edit-actions {
    display: grid;
  }

  .account-profile-stats {
    gap: 12px;
  }

  .profile-edit-grid {
    grid-template-columns: 1fr;
  }

  .profile-edit-form {
    padding: 16px;
  }

  .profile-edit-head {
    display: grid;
  }

  .settings-page {
    display: block;
    background: #fff;
  }

  .settings-sidebar {
    padding: 18px 16px;
    border-bottom: 1px solid #e3e8ef;
  }

  .settings-sidebar h1 {
    font-size: 26px;
    text-align: center;
  }

  .settings-search {
    min-height: 40px;
  }

  .settings-group {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .settings-group button {
    min-height: 62px;
    padding: 8px 0;
    background: #fff;
  }

  .settings-group button:hover,
  .settings-group button.active {
    background: #fff4f6;
  }

  .settings-main {
    padding: 16px 10px;
  }

  .settings-card {
    padding: 18px;
    border-radius: 8px;
    box-shadow: none;
  }

  .settings-profile-card .settings-panel-title {
    padding: 18px 18px 0;
  }

  .page-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-title h1 {
    font-size: 23px;
  }

  .product-hero-art {
    min-height: 210px;
  }

  .product-hero-art strong {
    font-size: 30px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* Responsive refinement pass: wide desktop down to narrow phones. */
img,
video,
svg {
  max-width: 100%;
}

input,
select,
textarea,
button {
  max-width: 100%;
}

.product-layout,
.catalog-layout,
.settings-page,
.cart-layout,
.checkout-grid,
.creator-application-form,
.profile-edit-grid,
.resource-grid,
.footer-grid {
  min-width: 0;
}

@media (min-width: 1440px) {
  .header-inner,
  .subnav,
  .footer-grid,
  .footer > p {
    max-width: 1400px;
  }

  .page-shell {
    width: min(1400px, calc(100% - 48px));
  }
}

@media (max-width: 1320px) {
  .header-inner,
  .subnav {
    gap: 18px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand {
    font-size: 21px;
  }

  .primary-tabs a {
    padding: 0 11px;
  }

  .account-actions {
    gap: 12px;
  }

  .hero {
    padding-left: 48px;
    padding-right: 48px;
  }

  .product-layout {
    grid-template-columns: minmax(0, 1fr) 292px;
  }
}

@media (max-width: 1180px) {
  .brand {
    font-size: 20px;
  }

  .primary-tabs a {
    padding: 0 9px;
    font-size: 13px;
  }

  .account-actions {
    gap: 9px;
  }

  .page-shell {
    width: min(100%, calc(100% - 24px));
    margin-top: 16px;
    margin-bottom: 16px;
  }

  .catalog-layout,
  .product-detail,
  .dashboard-page,
  .checkout-page,
  .auth-page,
  .legal-page,
  .account-page,
  .creator-page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .product-content-panel {
    padding: 22px;
  }
}

@media (max-width: 1080px) {
  .brand img {
    width: 36px;
    height: 36px;
  }

  .wordmark {
    font-size: 20px;
  }

  .primary-tabs {
    gap: 0;
  }

  .cart-label,
  .mail-badge .action-text {
    display: none;
  }

  .catalog-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 16px;
  }

  .product-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .creator-hero {
    grid-template-columns: minmax(0, 1fr) 300px;
    padding: 34px;
  }
}

@media (max-width: 980px) {
  .footer {
    padding: 16px 12px;
  }

  .footer-grid,
  .footer > p {
    display: none;
  }

  .footer-mobile {
    display: grid;
    gap: 10px;
    justify-items: center;
    text-align: center;
  }

  .footer-mobile-brand img {
    width: 30px;
    height: 30px;
  }

  .footer-mobile nav {
    gap: 14px;
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-sidebar {
    position: static;
    order: -1;
  }

  .cart-layout,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .creator-hero {
    grid-template-columns: 1fr;
  }

  .creator-status-panel {
    min-height: 0;
  }

  .summary-box,
  .purchase-box {
    position: static;
  }

  .creator-discord-note strong,
  .creator-discord-note p {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 900px) {
  .header-inner {
    gap: 10px;
  }

  .brand {
    gap: 8px;
    font-size: 18px;
  }

  .primary-tabs a {
    padding: 0 8px;
  }

  .hero {
    min-height: 260px;
    padding: 32px 28px 50px;
  }

  .search-bar {
    grid-template-columns: minmax(0, 1fr) 132px 78px;
  }

  .category-strip {
    width: calc(100% - 28px);
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: static;
    display: block;
    align-items: center;
    overflow: visible;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .filter-panel > h2,
  .filter-panel > a,
  .filter-panel > .mini-stat {
    display: none;
  }

  .catalog-mobile-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 0 0 10px;
    border-bottom: 1px solid #e3e8ef;
  }

  .mobile-category-menu {
    position: relative;
    min-width: 0;
  }

  .mobile-category-button {
    width: 100%;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid #dfe4ea;
    border-radius: 6px;
    background: #fff;
    color: #1f2937;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    padding: 0 11px 0 12px;
  }

  .mobile-category-button b {
    color: #647083;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
    transform: translateY(-2px);
    transition: transform 150ms ease;
  }

  .mobile-category-button[aria-expanded="true"] b {
    transform: translateY(1px) rotate(180deg);
  }

  .mobile-category-options {
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    right: 0;
    z-index: 30;
    display: grid;
    gap: 2px;
    padding: 6px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
  }

  .mobile-category-options[hidden] {
    display: none;
  }

  .mobile-category-options a {
    display: flex;
    align-items: center;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 6px;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
  }

  .mobile-category-options a:hover,
  .mobile-category-options a.active {
    background: #fff4f6;
    color: var(--brand);
  }

  .catalog-result-count {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    white-space: nowrap;
    color: #657184;
  }

  .catalog-result-count strong {
    color: var(--brand);
    font-size: 20px;
    line-height: 1;
  }

  .catalog-result-count span {
    font-size: 12px;
    font-weight: 800;
  }

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

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

  .product-buy-panel {
    grid-column: 1 / -1;
  }

  .settings-page {
    display: block;
  }

  .settings-sidebar {
    border-right: 0;
    border-bottom: 1px solid #e3e8ef;
  }

  .settings-main {
    padding: 24px 16px;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: calc(100% - 18px);
    margin: 12px 9px;
  }

  .hero {
    padding: 30px 22px 38px;
  }

  .hero h1 {
    font-size: 27px;
  }

  .category-strip {
    margin-top: -22px;
  }

  .category {
    flex-basis: 218px;
  }

  .product-row {
    gap: 16px;
  }

  .creator-apply-head,
  .profile-edit-head {
    display: grid;
  }

  .creator-application-form {
    gap: 12px;
  }

  .creator-discord-note {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .creator-discord-note strong,
  .creator-discord-note p,
  .creator-discord-note .secondary-action {
    grid-column: 1;
    grid-row: auto;
  }

  .creator-discord-note .secondary-action {
    justify-self: start;
    white-space: normal;
  }
}

@media (max-width: 760px) {
  .product-sidebar,
  .product-gallery-grid,
  .product-feature-list,
  .account-content-grid,
  .profile-edit-grid,
  .settings-group {
    grid-template-columns: 1fr;
  }

  .product-buy-panel {
    padding: 14px;
    border-radius: 12px;
  }

  .buy-addon-row {
    align-items: flex-start;
  }

  .product-content-panel {
    padding: 18px;
  }

  .product-spec-table,
  .product-version-table {
    display: block;
    overflow-x: auto;
  }

  .settings-group button strong,
  .settings-group button small {
    white-space: normal;
  }

  .settings-option-row,
  .login-method-row,
  .purchase-row,
  .support-ticket-card,
  .two-step-option {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .settings-option-row em,
  .login-method-row em,
  .two-step-option em,
  .method-action {
    justify-self: start;
    text-align: left;
  }

  .support-ticket-card .secondary-action,
  .unlink-confirm-actions {
    justify-self: start;
  }

  .support-analytics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .storefront-owner {
    grid-template-columns: 76px minmax(0, 1fr);
    padding: 0 16px 16px;
    margin-top: 0;
  }

  .storefront-owner > div:not(.storefront-avatar) {
    padding-top: 10px;
  }

  .storefront-avatar {
    width: 76px;
    height: 76px;
    margin-top: -30px;
    border-radius: 15px;
  }
}

@media (max-width: 640px) {
  .content-panel {
    padding-left: 8px;
    padding-right: 8px;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .auth-page {
    min-height: 480px;
    place-items: start center;
    padding-top: 14px;
  }

  .auth-card {
    padding: 22px 18px;
  }

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

  .inline-field,
  .dob-row {
    grid-template-columns: 1fr;
  }

  .radio-group {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

  .creator-discord-note {
    padding: 12px;
  }

  .creator-discord-note .secondary-action {
    width: 100%;
  }

  .footer {
    padding: 14px 10px;
  }

  .footer-mobile {
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 232px;
    padding: 24px 14px 26px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .search-bar {
    grid-template-columns: minmax(0, 1fr) 84px;
    gap: 6px;
  }

  .search-input,
  .search-bar button {
    min-height: 42px;
  }

  .popular {
    font-size: 12px;
  }

  .category-strip {
    width: calc(100% - 14px);
    margin-top: -14px;
  }

  .category {
    flex-basis: 196px;
    min-height: 70px;
    grid-template-columns: 60px 1fr;
  }

  .category img {
    height: 52px;
  }

  .product-card {
    flex-basis: min(280px, 84vw);
  }

  .product-art {
    height: 132px;
    padding: 14px;
  }

  .product-art strong {
    font-size: 20px;
  }

  .section-heading h2,
  h2 {
    font-size: 18px;
  }

  .creator-hero h1 {
    font-size: 30px;
  }

  .creator-path article {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    padding: 16px;
  }

  .creator-split {
    padding: 18px 0;
  }

  .creator-application-form fieldset {
    max-width: none;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 13px;
  }

  .catalog-layout,
  .product-detail,
  .dashboard-page,
  .checkout-page,
  .auth-page,
  .legal-page,
  .account-page,
  .creator-page {
    padding-left: 8px;
    padding-right: 8px;
  }

  .product-header {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
  }

  .product-icon {
    width: 54px;
    border-radius: 9px;
  }

  .product-icon strong {
    font-size: 24px;
  }

  .product-heading h1 {
    font-size: 22px;
  }

  .product-heading p,
  .product-content-panel p {
    font-size: 14px;
  }

  .product-tabs {
    margin-top: 12px;
  }

  .product-tabs a {
    padding: 8px 11px;
  }

  .product-button-row {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .product-heart-action.bookmark-action {
    width: 44px;
  }

  .account-cover,
  .account-cover img {
    height: 142px;
    min-height: 142px;
  }

  .account-avatar-large {
    width: 92px;
    height: 92px;
    top: -48px;
  }

  .account-profile-body {
    padding-top: 50px;
  }

  .account-profile-actions {
    gap: 12px;
  }

  .footer-mobile-brand {
    font-size: 13px;
  }

  .footer-mobile nav {
    gap: 10px;
  }

  .footer-mobile nav a {
    font-size: 12px;
  }

  .catalog-mobile-filter {
    gap: 10px;
  }

  .mobile-category-button {
    min-height: 36px;
    font-size: 13px;
  }

  .catalog-result-count strong {
    font-size: 18px;
  }
}

@media (max-width: 420px) {
  .page-shell {
    width: calc(100% - 8px);
    margin-left: 4px;
    margin-right: 4px;
  }

  .header-inner {
    padding-left: 6px;
    padding-right: 6px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .primary-tabs {
    gap: 10px;
  }

  .primary-tabs a {
    font-size: 12px;
  }

  .account-actions {
    gap: 4px;
  }

  .hero h1 {
    font-size: 22px;
  }

  .search-bar {
    grid-template-columns: 1fr 76px;
  }

  .search-input {
    padding: 0 9px;
  }

  .search-input input {
    font-size: 14px;
  }

  .product-card {
    flex-basis: min(260px, 82vw);
  }

  .product-content-panel,
  .product-side-card,
  .summary-box,
  .panel,
  .form-card,
  .auth-card,
  .settings-card {
    padding: 14px;
  }

  .creator-page {
    gap: 14px;
  }

  .creator-hero {
    padding: 20px 14px;
  }

  .creator-application-form {
    padding: 12px;
  }

  .footer-mobile-brand img {
    width: 26px;
    height: 26px;
  }

  .footer-mobile nav {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    gap: 8px 14px;
  }

  .catalog-mobile-filter {
    grid-template-columns: minmax(0, 1fr) max-content;
  }

  .catalog-result-count span {
    max-width: none;
    white-space: nowrap;
    line-height: 1.05;
  }

  .settings-form .check-row {
    align-items: flex-start;
  }

  .settings-form .check-row input {
    margin-top: 2px;
  }

  .support-analytics {
    grid-template-columns: 1fr;
  }

  .inventory-product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .primary-tabs {
    gap: 7px;
  }

  .primary-tabs a {
    min-height: 40px;
    font-size: 11px;
  }

  .avatar,
  .user-pill,
  .mail-badge,
  .cart-pill,
  .ultimate {
    width: 29px;
    height: 29px;
    min-height: 29px;
  }

  .user-pill.is-signup {
    min-width: 48px;
    height: 22px;
    min-height: 22px;
    padding: 0 7px;
    font-size: 7px;
  }

  .hero {
    padding-left: 10px;
    padding-right: 10px;
  }

  .search-bar {
    grid-template-columns: 1fr 70px;
  }

  .search-bar button {
    font-size: 12px;
  }

  .category {
    flex-basis: 184px;
  }

  .product-card {
    flex-basis: min(244px, 84vw);
  }

  .footer {
    padding: 12px 8px;
  }

  .footer-mobile-brand strong {
    display: none;
  }
}

@media (min-width: 981px) {
  .settings-page {
    height: calc(100vh - 71px);
    height: calc(100dvh - 71px);
    min-height: 560px;
    overflow: hidden;
  }

  .settings-sidebar,
  .settings-main {
    min-height: 0;
    max-height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  .settings-page {
    height: calc(100vh - 71px);
    height: calc(100dvh - 71px);
    min-height: 0;
    overflow: hidden;
  }

  .settings-sidebar,
  .settings-main {
    min-height: 0;
    max-height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

@media (max-width: 720px) {
  .settings-page {
    display: grid;
    grid-template-rows: minmax(190px, 36vh) minmax(0, 1fr);
    grid-template-rows: minmax(190px, 36dvh) minmax(0, 1fr);
    height: calc(100vh - 98px);
    height: calc(100dvh - 98px);
    min-height: 0;
    overflow: hidden;
    background: #fff;
  }

  .settings-sidebar {
    min-height: 0;
    padding: 14px 14px 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-right: 0;
    border-bottom: 1px solid #e3e8ef;
  }

  .settings-main {
    min-height: 0;
    padding: 16px 10px 86px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

@media (max-width: 420px) {
  .settings-page {
    grid-template-rows: minmax(176px, 34vh) minmax(0, 1fr);
    grid-template-rows: minmax(176px, 34dvh) minmax(0, 1fr);
  }

  .settings-sidebar {
    padding-left: 12px;
    padding-right: 12px;
  }
}

body.creator-portal-mode {
  background: #f5f7fb;
}

body.creator-portal-mode > .site-header,
body.creator-portal-mode > .footer {
  display: none;
}

body.creator-portal-mode #app.page-shell {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow: visible;
  border-radius: 0;
  background: #f5f7fb;
  box-shadow: none;
}

.creator-portal {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  background: #f5f7fb;
  color: #243043;
  font-family: var(--bs-body-font-family);
}

.creator-portal-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
  padding: 22px 18px;
  background: #222e3c;
  color: #cad3df;
}

.creator-portal-brand {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: #fff;
}

.creator-portal-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.creator-portal-brand strong,
.creator-portal-brand small {
  display: block;
}

.creator-portal-brand small {
  margin-top: 2px;
  color: #95a4b7;
  font-size: 12px;
  font-weight: 800;
}

.creator-portal-nav {
  display: grid;
  gap: 4px;
}

.creator-portal-nav h2 {
  margin: 14px 10px 6px;
  color: #7b8da3;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.creator-portal-nav a {
  min-height: 42px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  border-radius: 4px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 800;
}

.creator-portal-nav a:hover,
.creator-portal-nav a.active {
  background: #2f4054;
  color: #fff;
}

.creator-portal-nav a.active {
  box-shadow: inset 3px 0 0 #3b7ddd;
}

.creator-portal-nav a span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #d8e5f8;
  font-size: 11px;
  font-weight: 900;
}

.creator-portal-sidefoot {
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.creator-portal-sidefoot a {
  color: #9fb0c4;
  font-size: 13px;
  font-weight: 800;
}

.creator-portal-workspace {
  min-width: 0;
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  flex-direction: column;
}

.creator-portal-topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  min-height: 64px;
  display: grid;
  grid-template-columns: auto minmax(220px, 520px) auto;
  align-items: center;
  gap: 18px;
  padding: 0 28px;
  border-bottom: 1px solid #e5eaf1;
  background: #fff;
}

.creator-portal-topbar h1 {
  margin: 0;
  color: #1f2937;
  font-size: 20px;
  line-height: 1.2;
}

.creator-sidebar-toggle {
  display: none;
}

.creator-search {
  min-height: 40px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid #dce3ec;
  border-radius: 4px;
  background: #f8fafc;
  color: #6b7280;
}

.creator-search span {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.creator-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
}

.creator-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  white-space: nowrap;
}

.creator-top-actions > a:first-child {
  color: #4b5563;
  font-weight: 800;
}

.creator-top-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  background: #3b7ddd;
  color: #fff;
  font-weight: 900;
}

.creator-top-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creator-portal-main {
  flex: 1;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 28px;
}

.creator-page-stack {
  display: grid;
  gap: 22px;
}

.creator-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.creator-page-head span {
  display: block;
  margin-bottom: 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.creator-page-head h2 {
  margin: 0;
  color: #1f2937;
  font-size: 28px;
  line-height: 1.15;
}

.creator-page-head p {
  max-width: 760px;
  margin: 8px 0 0;
  color: #64748b;
}

.creator-page-head a,
.creator-page-head button,
.creator-primary {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  background: #3b7ddd;
  color: #fff;
  font: inherit;
  font-weight: 900;
  padding: 0 14px;
  cursor: pointer;
}

.creator-metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.creator-metric,
.creator-card,
.creator-product-card,
.creator-settings-card,
.creator-notes-card,
.creator-profile-hero,
.creator-chat-shell {
  border: 1px solid #e4eaf1;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.creator-metric {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.creator-metric span,
.creator-metric small {
  color: #64748b;
  font-weight: 800;
}

.creator-metric strong {
  color: #1f2937;
  font-size: 26px;
  line-height: 1;
}

.creator-metric.up small {
  color: #15803d;
}

.creator-metric.warn small {
  color: #b45309;
}

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

.creator-two-one {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.creator-card {
  min-width: 0;
  padding: 18px;
}

.creator-card h3,
.creator-settings-card h3 {
  margin: 0 0 14px;
  color: #1f2937;
  font-size: 17px;
}

.creator-bars {
  height: 230px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  padding-top: 10px;
}

.creator-bars span {
  min-height: 34px;
  height: var(--bar);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #76a7ef, #3b7ddd);
}

.creator-bars i {
  margin-bottom: -22px;
  color: #64748b;
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}

.creator-source-list,
.creator-country-list,
.creator-feed,
.creator-version-list {
  display: grid;
  gap: 12px;
}

.creator-source-list p,
.creator-country-list article {
  position: relative;
  display: grid;
  gap: 8px;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf2f7;
}

.creator-source-list p {
  grid-template-columns: minmax(0, 1fr) auto;
}

.creator-source-list i,
.creator-country-list i {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3b7ddd var(--width), #e5eaf1 var(--width));
}

.creator-country-list article div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.creator-table-wrap {
  overflow-x: auto;
}

.creator-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.creator-table th,
.creator-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #e7edf4;
  text-align: left;
  vertical-align: middle;
}

.creator-table th {
  color: #64748b;
  font-size: 12px;
  text-transform: uppercase;
}

.creator-table strong,
.creator-table small {
  display: block;
}

.creator-table small {
  margin-top: 3px;
  color: #64748b;
}

.creator-table button,
.creator-product-card button {
  min-height: 32px;
  border: 1px solid #d7e0ea;
  border-radius: 4px;
  background: #fff;
  color: #334155;
  font: inherit;
  font-weight: 800;
  padding: 0 10px;
  cursor: pointer;
}

.creator-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 4px;
  background: #eef2f7;
  color: #475569;
  font-size: 12px;
  font-weight: 900;
  padding: 0 8px;
}

.creator-status-on-air,
.creator-status-approved,
.creator-status.approved,
.creator-status.on-air {
  background: #dcfce7;
  color: #166534;
}

.creator-status-in-review,
.creator-status-pending {
  background: #fef3c7;
  color: #92400e;
}

.creator-status-hidden,
.creator-status-declined {
  background: #fee2e2;
  color: #991b1b;
}

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

.creator-product-card {
  min-width: 0;
  overflow: hidden;
}

.creator-product-card > .product-art {
  min-height: 138px;
  border-radius: 0;
}

.creator-product-card > div:not(.product-art) {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.creator-product-card strong {
  color: #1f2937;
}

.creator-product-card p {
  margin: 0;
  color: #64748b;
}

.creator-product-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.creator-product-card dt {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.creator-product-card dd {
  margin: 2px 0 0;
  color: #1f2937;
  font-weight: 900;
}

.creator-product-card footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.creator-product-card footer a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #d7e0ea;
  border-radius: 4px;
  padding: 0 10px;
  color: #3b7ddd;
  font-weight: 900;
}

.creator-product-draft {
  border-style: dashed;
}

.creator-products-workbench {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) minmax(0, 0.85fr);
}

.creator-form {
  display: grid;
  gap: 14px;
}

.creator-form-grid,
.creator-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.creator-form label,
.creator-notes-card label {
  display: grid;
  gap: 6px;
  color: #334155;
  font-weight: 900;
}

.creator-form input,
.creator-form select,
.creator-form textarea,
.creator-chat-compose input,
.creator-notes-card textarea {
  width: 100%;
  border: 1px solid #d8e2ec;
  border-radius: 4px;
  background: #fff;
  color: #1f2937;
  font: inherit;
  padding: 10px 11px;
}

.creator-form textarea,
.creator-notes-card textarea {
  resize: vertical;
}

.creator-save-status {
  color: #15803d;
  font-weight: 900;
}

.creator-version-list article,
.creator-feed article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf2f7;
}

.creator-feed article {
  grid-template-columns: 12px minmax(0, 1fr);
}

.creator-feed article > span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #3b7ddd;
}

.creator-feed p {
  margin: 4px 0 0;
  color: #64748b;
}

.creator-checklist {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.creator-checklist li,
.creator-switch {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: #334155;
  font-weight: 800;
}

.creator-checklist input,
.creator-switch input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: #3b7ddd;
}

.creator-settings-card {
  padding: 18px;
}

.creator-chat-shell {
  min-height: 620px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  overflow: hidden;
}

.creator-chat-contacts {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 14px;
  border-right: 1px solid #e5eaf1;
  background: #f8fafc;
}

.creator-chat-contacts button {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 10px;
  min-height: 58px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.creator-chat-contacts button.active,
.creator-chat-contacts button:hover {
  background: #eaf2ff;
}

.creator-chat-contacts span {
  grid-row: 1 / 3;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #3b7ddd;
  color: #fff;
  font-weight: 900;
}

.creator-chat-contacts small {
  color: #64748b;
}

.creator-chat-panel {
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.creator-chat-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 18px;
  border-bottom: 1px solid #e5eaf1;
}

.creator-chat-panel header span {
  display: block;
  margin-top: 3px;
  color: #64748b;
}

.creator-chat-messages {
  display: grid;
  align-content: end;
  gap: 12px;
  overflow-y: auto;
  padding: 18px;
  background: #fff;
}

.creator-chat-messages article {
  width: min(560px, 84%);
  padding: 12px 14px;
  border-radius: 6px;
  background: #f1f5f9;
}

.creator-chat-messages article.mine {
  justify-self: end;
  background: #d8e5f8;
}

.creator-chat-messages p {
  margin: 4px 0 0;
}

.creator-chat-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid #e5eaf1;
}

.creator-notes-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.creator-notes-card textarea {
  min-height: 520px;
  font-family: "Courier New", monospace;
  line-height: 1.55;
}

.creator-notes-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #64748b;
  font-weight: 800;
}

.creator-profile-hero {
  overflow: hidden;
}

.creator-profile-hero > img {
  width: 100%;
  height: 220px;
  display: block;
  object-fit: cover;
}

.creator-profile-hero > div {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 0 20px 22px;
  text-align: center;
}

.creator-profile-avatar {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-top: -48px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #3b7ddd;
  color: #fff;
  font-size: 38px;
  font-weight: 900;
}

.creator-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creator-profile-hero h2 {
  margin: 8px 0 0;
  font-size: 28px;
}

.creator-profile-hero p {
  margin: 0;
  color: #64748b;
}

.creator-profile-hero strong {
  color: #3b7ddd;
}

.creator-stats-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.creator-stats-list dt {
  color: #64748b;
  font-weight: 900;
}

.creator-stats-list dd {
  margin: 3px 0 0;
  color: #1f2937;
  font-size: 24px;
  font-weight: 900;
}

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

.creator-task-board section {
  min-height: 420px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e4eaf1;
  border-radius: 4px;
  background: #fff;
}

.creator-task-board h3 {
  margin: 0;
}

.creator-task-board article {
  padding: 12px;
  border: 1px solid #e8eef5;
  border-radius: 4px;
  background: #f8fafc;
}

.creator-task-board small {
  display: block;
  margin-top: 4px;
  color: #64748b;
}

.creator-calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
}

.creator-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid #e4eaf1;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.creator-calendar article {
  min-height: 116px;
  padding: 10px;
  border-right: 1px solid #e4eaf1;
  border-bottom: 1px solid #e4eaf1;
}

.creator-calendar article span {
  display: inline-flex;
  margin-top: 10px;
  border-radius: 4px;
  background: #d8e5f8;
  color: #2f64b1;
  font-weight: 900;
  padding: 4px 7px;
}

.creator-calendar-list {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  border: 1px solid #e4eaf1;
  border-radius: 4px;
  background: #fff;
}

.creator-calendar-list h3 {
  margin: 0;
}

.creator-calendar-list p {
  display: grid;
  gap: 3px;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf2f7;
}

.creator-calendar-list span {
  color: #64748b;
}

.creator-portal-footer {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 16px 28px;
  border-top: 1px solid #e5eaf1;
  background: #fff;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.creator-portal-footer a {
  color: #3b7ddd;
}

@media (max-width: 1180px) {
  .creator-portal {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .creator-metric-row,
  .creator-product-grid,
  .creator-products-workbench {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .creator-products-workbench .creator-card:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 920px) {
  .creator-portal {
    display: block;
  }

  .creator-portal-sidebar {
    position: static;
    height: auto;
    max-height: none;
    padding: 16px;
  }

  .creator-portal-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .creator-portal-nav h2 {
    grid-column: 1 / -1;
  }

  .creator-portal-topbar {
    position: static;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .creator-top-actions {
    justify-content: space-between;
  }

  .creator-portal-main {
    padding: 18px 14px;
  }

  .creator-dashboard-grid,
  .creator-two-one,
  .creator-settings-grid,
  .creator-calendar-layout,
  .creator-chat-shell {
    grid-template-columns: 1fr;
  }

  .creator-chat-shell {
    min-height: 0;
  }

  .creator-chat-contacts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid #e5eaf1;
  }
}

@media (max-width: 640px) {
  .creator-page-head {
    display: grid;
  }

  .creator-page-head h2 {
    font-size: 23px;
  }

  .creator-metric-row,
  .creator-product-grid,
  .creator-form-grid,
  .creator-task-board {
    grid-template-columns: 1fr;
  }

  .creator-portal-nav {
    grid-template-columns: 1fr;
  }

  .creator-bars {
    gap: 5px;
  }

  .creator-chat-contacts {
    grid-template-columns: 1fr;
  }

  .creator-chat-compose,
  .creator-notes-card footer,
  .creator-portal-footer {
    display: grid;
    justify-items: stretch;
  }

  .creator-calendar article {
    min-height: 78px;
    padding: 7px;
    font-size: 12px;
  }
}

/* Keep the creator portal visually locked to AdminKit's MIT template skin. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/static/fonts/inter-300.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/inter-400.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/inter-600.ttf") format("truetype");
}

body.creator-portal-mode {
  background: #f5f7fb;
}

body.creator-portal-mode .creator-portal.wrapper {
  display: flex !important;
  grid-template-columns: none !important;
  min-height: 100vh;
  min-height: 100dvh;
  background: #f5f7fb !important;
  color: #495057 !important;
  font-family: var(--bs-body-font-family) !important;
}

body.creator-portal-mode .creator-portal-sidebar.sidebar {
  position: relative !important;
  top: auto !important;
  height: auto !important;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex !important;
  padding: 0 !important;
  gap: 0 !important;
  overflow: visible !important;
  background: #222e3c !important;
}

body.creator-portal-mode .creator-portal-brand.sidebar-brand {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  align-items: center !important;
  justify-content: space-between !important;
  color: #f8f9fa !important;
}

body.creator-portal-mode .creator-portal-brand img {
  width: 32px !important;
  height: 32px !important;
  margin-left: 0.25rem;
  object-fit: contain;
}

body.creator-portal-mode .creator-sidebar-avatar,
body.creator-portal-mode .creator-navbar-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #3b7ddd;
  color: #fff;
  font-weight: 600;
}

body.creator-portal-mode .creator-sidebar-avatar img,
body.creator-portal-mode .creator-navbar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.creator-portal-mode .creator-portal-nav.sidebar-nav {
  display: block !important;
  padding-left: 0 !important;
  gap: 0 !important;
}

body.creator-portal-mode .creator-portal-nav a,
body.creator-portal-mode .creator-portal-nav a:hover,
body.creator-portal-mode .creator-portal-nav a.active {
  display: block !important;
  min-height: 0 !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  padding: 0.625rem 1.625rem !important;
  border-radius: 0 !important;
  background: transparent;
  box-shadow: none !important;
  font-weight: 400 !important;
}

body.creator-portal-mode .creator-portal-nav a span {
  width: auto !important;
  height: auto !important;
  display: inline !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}

body.creator-portal-mode .creator-portal-sidefoot {
  display: grid;
  gap: 0.35rem;
  margin-top: auto;
  padding: 1rem 1.625rem 1.5rem;
  border-top: 1px solid rgba(233, 236, 239, 0.08);
}

body.creator-portal-mode .creator-portal-sidefoot a {
  color: rgba(233, 236, 239, 0.5);
  font-size: 0.75rem;
  font-weight: 400;
}

body.creator-portal-mode .creator-portal-workspace.main {
  min-width: 0;
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  flex-direction: column;
}

body.creator-portal-mode .creator-portal-topbar.navbar {
  position: relative !important;
  top: auto !important;
  z-index: 1 !important;
  min-height: 56px !important;
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center !important;
  gap: 0 !important;
  padding: 0.875rem 1.375rem !important;
  border: 0 !important;
  background: #fff !important;
}

body.creator-portal-mode .creator-portal-main.content {
  width: 100% !important;
  max-width: none !important;
  flex: 1 !important;
  margin: 0 !important;
  padding: 3rem 3rem 1.5rem !important;
}

body.creator-portal-mode .creator-page-stack {
  display: block !important;
}

body.creator-portal-mode .creator-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

body.creator-portal-mode .creator-card.card,
body.creator-portal-mode .creator-metric.card,
body.creator-portal-mode .creator-product-card.card,
body.creator-portal-mode .creator-settings-card,
body.creator-portal-mode .creator-notes-card,
body.creator-portal-mode .creator-chat-shell,
body.creator-portal-mode .creator-profile-hero {
  border: 0 !important;
  border-radius: var(--bs-border-radius) !important;
  background: #fff !important;
  box-shadow: 0 0 0.875rem 0 rgba(33, 37, 41, 0.05) !important;
}

body.creator-portal-mode .creator-metric.card {
  display: block !important;
  padding: 0 !important;
}

body.creator-portal-mode .creator-card.card {
  padding: 0 !important;
}

body.creator-portal-mode .creator-product-card.card > div:not(.product-art) {
  padding: 1.25rem !important;
}

body.creator-portal-mode .creator-primary {
  border-color: #3b7ddd !important;
  background: #3b7ddd !important;
  color: #fff !important;
}

body.creator-portal-mode .creator-form input,
body.creator-portal-mode .creator-form select,
body.creator-portal-mode .creator-form textarea,
body.creator-portal-mode .creator-chat-compose input,
body.creator-portal-mode .creator-notes-card textarea {
  border-radius: var(--bs-border-radius) !important;
}

body.creator-portal-mode .creator-portal-footer.footer {
  min-height: auto !important;
  display: block !important;
  padding: 1rem 0.875rem !important;
  border-top: 0 !important;
  background: #fff !important;
  color: #6c757d !important;
  font-size: 0.875rem !important;
  font-weight: 400 !important;
}

body.creator-portal-mode .creator-portal-footer a {
  color: #6c757d !important;
}

@media (max-width: 991.98px) {
  body.creator-portal-mode .creator-portal.wrapper {
    display: block !important;
  }

  body.creator-portal-mode .creator-portal-sidebar.sidebar {
    min-height: auto !important;
  }

  body.creator-portal-mode .creator-portal-main.content {
    padding: 1.5rem 1rem !important;
  }

  body.creator-portal-mode .creator-dashboard-grid,
  body.creator-portal-mode .creator-two-one,
  body.creator-portal-mode .creator-settings-grid,
  body.creator-portal-mode .creator-calendar-layout,
  body.creator-portal-mode .creator-chat-shell {
    grid-template-columns: 1fr !important;
  }
}
