: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;
}

body[data-site="hostinnepal"] {
  --brand: #b51235;
  --brand-dark: #6f0f24;
  --crimson: #b51235;
  --crimson-deep: #6f0f24;
  --crimson-bright: #e21d45;
  --crimson-soft: #fff4f6;
  --site-accent: #0f8f62;
  --site-panel: #fff8f1;
}

body[data-site="nepaliserver"] {
  --brand: #c5163d;
  --brand-dark: #7d1027;
  --crimson: #c5163d;
  --crimson-deep: #7d1027;
  --crimson-bright: #ef2f59;
  --crimson-soft: #fff1f4;
  --site-accent: #f2b33d;
  --site-panel: #fff7f8;
}

body[data-site="nepalvps"] {
  --brand: #255fbd;
  --brand-dark: #173b79;
  --crimson: #255fbd;
  --crimson-deep: #173b79;
  --crimson-bright: #2f80ed;
  --crimson-soft: #eef5ff;
  --site-accent: #d45b2c;
  --site-panel: #f6f9ff;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.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 a:focus-visible,
.profile-logout:focus-visible,
.user-pill:focus-visible,
.mobile-category-button:focus-visible,
.mobile-category-options a:focus-visible {
  outline: 2px solid rgba(181, 18, 53, 0.55);
  outline-offset: 2px;
}

.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.92) 0%, rgba(25, 40, 60, 0.76) 58%, rgba(18, 24, 33, 0.54) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--brand) 42%, transparent), rgba(18, 24, 33, 0.26)),
    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: #f7fbff;
  background-image: linear-gradient(90deg, color-mix(in srgb, var(--site-accent) 62%, white), rgba(255, 255, 255, 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: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.22);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}

.hero-actions .button {
  min-height: 42px;
  border-radius: 5px;
  background: #fff;
  color: #172033;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.hero-actions .button.primary {
  background: color-mix(in srgb, var(--brand) 88%, #111827);
  color: #fff;
}

.hero-actions .button:hover {
  background: #f8fafc;
}

.hero-actions .button.primary:hover {
  background: var(--brand-dark);
}

.hero-actions .ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: none;
}

.hero-actions .ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
}

.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) 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 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-track:hover,
.category-strip:focus-within .category-track {
  animation-play-state: paused;
}

.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) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }

  .hero-title,
  .hero h1 span,
  .hero h1 .hero-rotating.is-changing,
  .hero-assurance img.is-changing,
  .assurance-list button.active::after,
  .category-track {
    animation: none;
  }

  .hero h1 span {
    background-size: 100% 7px;
  }

  .hero h1 .hero-rotating,
  .hero-assurance img {
    transform: none;
    filter: none;
    clip-path: none;
  }
}

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

.domain-home-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: stretch;
  margin: 4px 0 18px;
  padding: 16px;
  border: 1px solid #e2e7ee;
  border-radius: 6px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--site-panel) 72%, white), #fff 62%),
    #fff;
}

.domain-home-copy {
  min-width: 0;
  padding-right: 8px;
}

.domain-home-copy span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin: 0 0 8px;
  padding: 0 8px;
  border-left: 3px solid var(--site-accent);
  background: #fff;
  color: #475569;
  font-size: 12px;
  font-weight: 900;
}

.domain-home-copy h2 {
  margin: 0 0 7px;
  color: #172033;
  font-size: 21px;
  line-height: 1.2;
}

.domain-home-copy p {
  margin: 0;
  color: #4f5d70;
  font-size: 13px;
  line-height: 1.45;
}

.domain-signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.domain-signal-grid article {
  min-width: 0;
  padding: 12px;
  border: 1px solid #e3e8ef;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.82);
}

.domain-signal-grid h3 {
  margin: 0 0 5px;
  color: var(--brand-dark);
  font-size: 14px;
}

.domain-signal-grid p {
  margin: 0;
  color: #5d697a;
  font-size: 12px;
  line-height: 1.4;
}

.vps-plan-section {
  margin: 0 0 22px;
}

.vps-plan-heading {
  align-items: flex-end;
  margin-bottom: 14px;
}

.vps-plan-heading h2 {
  margin: 0;
  color: #172033;
  font-size: 25px;
}

.vps-plan-heading p {
  margin: 5px 0 0;
  color: #4f5d70;
}

.vps-plan-heading a {
  color: var(--brand);
  font-weight: 900;
}

.vps-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}

.vps-plan-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 22px;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: #fff;
  color: #172033;
}

.vps-plan-card.is-popular {
  border: 2px solid var(--brand);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--brand) 16%, transparent);
}

.vps-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 120px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.vps-plan-head {
  text-align: center;
}

.vps-plan-head span {
  display: block;
  min-height: 18px;
  color: #687386;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.vps-plan-head h3 {
  margin: 6px 0 12px;
  color: #172033;
  font-size: 21px;
}

.vps-price,
.vps-yearly {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
}

.vps-price small,
.vps-yearly small {
  color: #5e6878;
  font-weight: 900;
}

.vps-price strong {
  color: #2e68df;
  font-size: 39px;
  line-height: 1;
}

.vps-price span,
.vps-yearly span {
  color: #5e6878;
  font-weight: 800;
}

.vps-yearly {
  margin-top: 18px;
}

.vps-yearly strong {
  color: #009b78;
  font-size: 24px;
}

.vps-yearly em {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 0 7px;
  border-radius: 999px;
  background: #dff8ed;
  color: #00855f;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.vps-plan-card > p {
  min-height: 42px;
  margin: 18px 0;
  color: #5a6677;
  text-align: center;
  font-size: 13px;
}

.vps-plan-card ul {
  flex: 1;
  display: grid;
  gap: 0;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.vps-plan-card li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 7px;
  padding: 9px 0;
  border-top: 1px solid #edf0f4;
  color: #26303d;
  font-size: 13px;
}

.vps-plan-card li span {
  color: #2e68df;
  font-weight: 900;
}

.vps-order-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f6df0, #233fb4);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.vps-order-button:hover {
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
}

.vps-list-page,
.domain-page {
  padding: 26px 24px 34px;
}

.vps-page-title h1 {
  color: #09205f;
  font-size: 30px;
}

.vps-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 22px;
  padding: 12px 0 18px;
  border-bottom: 1px solid #e0e6f4;
}

.vps-filter-bar button,
.vps-filter-bar select {
  min-height: 34px;
  border: 1px solid #d1d9e6;
  border-radius: 4px;
  background: #fff;
  color: #0f4ca3;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

.vps-filter-bar button {
  padding: 0 10px;
}

.vps-filter-bar button strong {
  display: inline-flex;
  place-items: center;
  justify-content: center;
  min-width: 20px;
  min-height: 20px;
  margin-left: 4px;
  border-radius: 50%;
  background: #0d73d8;
  color: #fff;
}

.vps-filter-bar label {
  margin-left: auto;
  color: #57627a;
}

.vps-filter-bar select {
  margin-left: 6px;
  min-width: 150px;
  padding: 0 8px;
  color: #3f4d8a;
}

.vps-active-filters {
  flex-basis: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.vps-active-filters span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid #0d73d8;
  border-radius: 7px;
  background: #eaf4ff;
  color: #075bb0;
  font-weight: 900;
}

.vps-active-filters a {
  margin-left: auto;
  color: #0870d7;
  font-size: 12px;
  font-weight: 900;
}

.vps-range-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin: 0 0 12px;
}

.vps-range-head h2 {
  margin: 0 0 5px;
  color: #061d61;
  font-size: 22px;
}

.vps-range-head p {
  margin: 0;
  color: #3f4d8a;
}

.vps-range-head a {
  color: #0d73d8;
  font-weight: 900;
  white-space: nowrap;
}

.vps-table-wrap {
  overflow-x: auto;
  border: 1px solid #dfe4eb;
  background: #fff;
}

.vps-plan-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  color: #001b5d;
}

.vps-plan-table th {
  padding: 12px;
  background: #f0f0f0;
  border-bottom: 1px solid #dfe4eb;
  text-align: left;
  font-size: 14px;
}

.vps-plan-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #e3e7ee;
  vertical-align: middle;
}

.vps-plan-table tbody tr:nth-child(3) {
  background: #f1f1f1;
}

.vps-plan-table td strong,
.vps-plan-table td span,
.vps-plan-table td small {
  display: block;
}

.vps-plan-table td:first-child {
  width: 44px;
  text-align: center;
}

.vps-server-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: invert(18%) sepia(93%) saturate(2636%) hue-rotate(204deg) brightness(92%) contrast(94%);
}

.vps-plan-table td:nth-child(2) strong {
  color: #0d73d8;
  font-size: 17px;
}

.vps-plan-table td:nth-child(7) strong {
  color: #001b5d;
  font-size: 24px;
}

.vps-plan-table td a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 94px;
  min-height: 36px;
  border-radius: 5px;
  background: #0d73d8;
  color: #fff;
  font-weight: 900;
}

.vps-plan-table td:last-child small {
  margin-top: 6px;
  color: #b36c00;
  font-size: 11px;
}

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

.domain-card-grid article,
.domain-workflow {
  border: 1px solid #dde4ee;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.domain-card-grid span {
  color: var(--brand);
  font-weight: 900;
}

.domain-card-grid h2 {
  margin: 8px 0;
  color: #172033;
}

.domain-card-grid strong {
  display: block;
  color: #009b78;
  font-size: 20px;
}

.domain-card-grid p {
  color: #536174;
}

.domain-workflow {
  margin-top: 18px;
}

.domain-workflow h2 {
  margin-top: 0;
}

.domain-workflow ol {
  margin-bottom: 0;
  color: #344054;
}

.domain-hero-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
  margin: 0 0 24px;
  padding: 20px 22px 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.domain-hero-copy {
  display: grid;
  align-content: center;
  gap: 8px;
  max-width: 760px;
}

.domain-hero-copy span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.domain-hero-copy h1 {
  margin: 0;
  color: #172033;
  font-size: 30px;
  line-height: 1.12;
}

.domain-hero-copy p {
  max-width: 620px;
  margin: 0;
  color: #536174;
  font-size: 15px;
}

.domain-search-form {
  align-self: center;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 680px);
  min-height: 72px;
  padding: 0 18px 0 34px;
  border: 1px solid #e1e7f0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 16px 28px rgba(39, 57, 92, 0.18);
}

.domain-search-form input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  color: #172033;
  font: inherit;
  font-size: 30px;
  font-weight: 400;
  background: transparent;
}

.domain-search-form input::placeholder {
  color: #aab3c2;
  opacity: 1;
}

.domain-search-form:focus-within {
  border-color: color-mix(in srgb, var(--brand) 42%, #e1e7f0);
  box-shadow:
    0 16px 28px rgba(39, 57, 92, 0.18),
    0 0 0 4px color-mix(in srgb, var(--brand) 12%, transparent);
}

.domain-search-form input:focus {
  outline: 0;
}

.domain-search-button {
  position: relative;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #9aa4b4;
}

.domain-search-button::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 11px;
  width: 17px;
  height: 17px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.domain-search-button::after {
  content: "";
  position: absolute;
  left: 30px;
  top: 30px;
  width: 13px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.domain-search-button:hover,
.domain-search-button:focus-visible {
  color: var(--brand);
  outline: 0;
}

.domain-policy-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.domain-policy-grid article {
  padding: 4px 12px 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.domain-policy-grid strong,
.domain-policy-grid span {
  display: block;
}

.domain-policy-grid strong {
  margin-bottom: 3px;
  color: #172033;
  font-size: 13px;
}

.domain-policy-grid span {
  color: #647083;
  font-size: 12px;
}

body[data-site="nepaliserver"] .domain-hero-panel {
  background: transparent;
  box-shadow: none;
}

body[data-site="nepaliserver"] .domain-search-form {
  border-color: color-mix(in srgb, var(--brand) 22%, #e1e7f0);
}

body[data-site="nepaliserver"] .domain-policy-grid article {
  background: transparent;
}

body[data-site="nepaliserver"] .domain-results-head {
  border-bottom-color: color-mix(in srgb, var(--brand) 30%, #d9dee7);
}

.domain-results {
  margin-top: 22px;
}

.domain-results-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  padding: 14px 0;
  border-bottom: 1px solid #d9dee7;
}

.domain-results-head h2,
.domain-results h2 {
  margin: 0 0 4px;
  color: #172033;
  font-size: 18px;
}

.domain-results-head p,
.domain-results p {
  margin: 0;
  color: #566274;
}

.domain-results-head span {
  color: #596575;
  font-size: 12px;
  white-space: nowrap;
}

.domain-result-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px 104px;
  gap: 22px;
  align-items: center;
  min-height: 78px;
  border-bottom: 1px solid #d9dee7;
  color: #172033;
}

.domain-result-row > div:first-child {
  position: relative;
  min-width: 0;
  padding-left: 22px;
}

.domain-status-dot {
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0f9f6e;
  box-shadow: 0 0 0 4px rgba(15, 159, 110, 0.14);
}

.domain-result-row strong,
.domain-result-row small,
.domain-result-row span {
  display: block;
}

.domain-result-row > div:first-child strong {
  overflow-wrap: anywhere;
  font-size: 16px;
  font-weight: 800;
}

.domain-result-row small {
  color: #6b7280;
  font-size: 12px;
}

.domain-result-price {
  text-align: right;
}

.domain-result-price strong {
  color: #172033;
  font-size: 17px;
  font-weight: 900;
}

.domain-result-price span {
  color: #697386;
  font-size: 12px;
}

.domain-cart-button {
  position: relative;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  justify-self: end;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand);
  box-shadow: none;
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

.domain-cart-button img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: invert(16%) sepia(82%) saturate(3336%) hue-rotate(336deg) brightness(88%) contrast(94%);
}

.domain-cart-button:hover,
.domain-cart-button:focus-visible {
  opacity: 0.82;
  transform: scale(1.08);
  outline: 0;
}

.domain-cart-button.domain-cart-added {
  animation: domain-cart-pop 520ms ease;
}

.domain-show-more {
  display: block;
  width: max-content;
  margin: 18px auto 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #5f6878;
  font-weight: 900;
  box-shadow: none;
}

.domain-show-more:hover {
  color: var(--brand);
}

.domain-show-more:disabled {
  cursor: default;
  opacity: 0.78;
}

.domain-more-error {
  margin-top: 12px;
  color: #b42318;
  text-align: center;
  font-weight: 800;
}

.domain-confirm-status {
  margin-top: 14px;
  color: #0f766e;
  font-weight: 900;
}

.domain-loading {
  width: 100%;
  height: 3px;
  margin-top: 16px;
  overflow: hidden;
  background: #e5eaf3;
}

.domain-loading::before {
  content: "";
  display: block;
  width: 40%;
  height: 100%;
  background: var(--brand);
  animation: domain-loading 900ms ease-in-out infinite alternate;
}

.domain-empty-visual {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 0.45fr);
  gap: 28px;
  align-items: center;
  min-height: 360px;
  padding: 22px;
  color: #172033;
}

.domain-orbit {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border: 1px solid #d7dee8;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, transparent 0 34px, rgba(37, 95, 189, 0.16) 35px 36px),
    #fff;
}

.domain-orbit span {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--brand);
}

.domain-orbit span:nth-child(1) {
  top: 24%;
  left: 29%;
}

.domain-orbit span:nth-child(2) {
  right: 22%;
  top: 42%;
  background: var(--site-accent);
}

.domain-orbit span:nth-child(3) {
  left: 38%;
  bottom: 22%;
  background: #009b78;
}

.domain-orbit strong {
  display: grid;
  place-items: center;
  width: 118px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 24px;
  box-shadow: 0 18px 36px rgba(18, 24, 33, 0.18);
}

.domain-empty-copy h2 {
  margin: 0 0 8px;
  color: #172033;
  font-size: 24px;
}

.domain-empty-copy p {
  margin: 0;
  color: #5d697a;
  font-size: 14px;
}

@keyframes domain-loading {
  to {
    transform: translateX(160%);
  }
}

@keyframes domain-cart-pop {
  0% {
    transform: scale(1);
  }

  38% {
    transform: scale(1.16) rotate(-6deg);
  }

  72% {
    transform: scale(0.96) rotate(3deg);
  }

  100% {
    transform: scale(1);
  }
}

.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;
}

.catalog-state-note {
  margin: 0 0 14px;
  color: #5e6878;
  font-size: 14px;
}

.catalog-control-bar {
  display: grid;
  grid-template-columns: minmax(180px, 1.6fr) repeat(4, minmax(132px, 1fr)) auto;
  gap: 10px;
  align-items: end;
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid #e1e6ee;
  border-radius: 4px;
  background: #f8fafc;
}

.catalog-control-bar label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: #566274;
  font-size: 12px;
  font-weight: 900;
}

.catalog-control-bar input,
.catalog-control-bar select {
  width: 100%;
  min-height: 38px;
  border: 1px solid #d8dee8;
  border-radius: 4px;
  background: #fff;
  color: #172033;
  font: inherit;
  font-size: 14px;
  padding: 0 10px;
}

.catalog-control-bar .button {
  min-height: 38px;
  align-self: end;
}

.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  color: #647083;
  font-size: 14px;
  font-weight: 800;
}

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

.product-image-shell {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--product-image-color, #202936);
}

.product-image-shell > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image-shell .product-art-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.74)),
    linear-gradient(90deg, rgba(190, 18, 60, 0.22), rgba(15, 23, 42, 0.08));
}

.product-image-shell .product-art-content {
  position: relative;
  z-index: 2;
  display: inherit;
  flex-direction: inherit;
  justify-content: inherit;
  align-items: inherit;
  gap: inherit;
  width: 100%;
  min-height: 100%;
}

.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: 4px;
  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;
}

.buyer-trust-note,
.summary-trust,
.checkout-trust-copy {
  border-left: 3px solid #d6dce5;
  padding: 2px 0 2px 12px;
  color: #526174;
}

.buyer-trust-note {
  margin-top: 12px;
}

.buyer-trust-note strong,
.summary-trust strong,
.checkout-trust-copy strong {
  display: block;
  margin-bottom: 3px;
  color: #172033;
  font-size: 13px;
  font-weight: 900;
}

.buyer-trust-note p,
.summary-trust p,
.checkout-trust-copy p {
  margin: 0;
  color: #526174;
  font-size: 13px;
  line-height: 1.45;
}

.buyer-trust-note a,
.summary-trust a {
  display: inline-block;
  margin-top: 6px;
  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;
}

.product-review-form,
.product-review-response-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e5e9ef;
}

.product-review-form label,
.product-review-response-form label {
  display: grid;
  gap: 6px;
  color: #4b5565;
  font-weight: 800;
}

.product-review-form input,
.product-review-form select,
.product-review-form textarea,
.product-review-response-form textarea {
  width: 100%;
  border: 1px solid #cfd6e0;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}

.product-review-form textarea,
.product-review-response-form textarea {
  min-height: 96px;
  resize: vertical;
}

.product-review-note {
  margin: 12px 0 0;
  color: #657184;
}

.review-creator-response {
  margin-top: 10px;
  padding: 10px 12px;
  border-left: 3px solid var(--crimson);
  background: #fff6f7;
}

.product-review-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

@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;
}

.settings-flow-status {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-left: 3px solid #667085;
  background: #f8fafc;
  color: #475467;
  font-weight: 800;
}

.settings-flow-status.is-success,
.settings-help.is-success {
  border-color: #159947;
  background: #effaf3;
  color: #137333;
}

.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;
}

.recovery-code-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.recovery-code-grid code {
  padding: 10px 12px;
  border: 1px solid #efd2d9;
  background: #fff;
  color: #1f2937;
  font: 900 14px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-align: center;
  user-select: all;
}

.session-toolbar {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

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

.session-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #edf0f4;
  background: #fff;
}

.session-row div {
  display: grid;
  gap: 4px;
}

.session-row strong {
  color: #101828;
}

.session-row span {
  color: #667085;
  font-size: 13px;
}

.session-row em {
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

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

.session-row em.not-connected {
  color: #667085;
}

.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 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.support-ticket-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.support-ticket-card header div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.support-ticket-card header em {
  color: #98a2b3;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  text-align: right;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.support-ticket-card small {
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

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

.support-message-list article {
  border-left: 3px solid #d8e0ea;
  padding-left: 12px;
}

.support-message-list.is-empty article {
  border-color: #edf0f4;
  color: #667085;
}

.support-message-list p {
  margin: 4px 0;
  color: #344054;
}

.support-message-list span {
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.support-reply-form,
.support-reply-controls {
  display: grid;
  gap: 10px;
}

.support-reply-controls {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.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 select {
  border: 1px solid #d8e0ea;
  border-radius: 5px;
  padding: 10px;
  font: inherit;
}

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

.support-ticket-card [data-ticket-status].is-success,
.creator-application-status.is-success,
[data-creator-product-status].is-success,
[data-creator-version-status].is-success,
[data-creator-notes-status].is-success {
  color: #167a42;
}

.support-ticket-card [data-ticket-status].is-error,
.creator-application-status.is-error,
[data-creator-product-status].is-error,
[data-creator-version-status].is-error,
[data-creator-notes-status].is-error {
  color: var(--brand);
}

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

.creator-ops-list article {
  display: grid;
  gap: 3px;
  padding: 10px 0;
  border-bottom: 1px solid #edf2f7;
}

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

.creator-ops-list strong {
  color: #1f2937;
}

.creator-ops-list span {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.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;
}

.product-detail-form {
  display: grid;
  gap: 14px;
}

.product-detail-form-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf0f4;
}

.product-detail-form-head strong,
.product-detail-form-head span {
  display: block;
}

.product-detail-form-head strong {
  color: #1f2937;
  overflow-wrap: anywhere;
}

.product-detail-form-head span {
  margin-top: 3px;
  color: #667085;
  font-size: 13px;
  line-height: 1.4;
}

.product-detail-head-actions {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.product-detail-form label,
.product-detail-head-actions label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-weight: 900;
  min-width: 0;
}

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

.product-detail-form-grid .wide {
  grid-column: 1 / -1;
}

.admin-image-panel {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  padding: 12px;
  border: 1px solid #edf0f4;
  border-radius: 7px;
  background: #fbfcfe;
}

.admin-image-preview {
  min-height: 118px;
  border-radius: 6px;
  overflow: hidden;
}

.admin-image-preview .product-art-content strong {
  font-size: 32px;
}

.admin-image-meta {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.admin-image-meta strong,
.admin-image-meta span,
.admin-image-meta small {
  display: block;
}

.admin-image-meta strong {
  color: #1f2937;
}

.admin-image-meta span,
.admin-image-meta small {
  color: #667085;
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.product-detail-form input,
.product-detail-form select,
.product-detail-form textarea,
.product-detail-head-actions select {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  border: 1px solid #d8e0ea;
  border-radius: 5px;
  padding: 9px 10px;
  background: #fff;
  color: #1f2937;
  font: inherit;
}

.product-detail-form input[readonly] {
  background: #f8fafc;
  color: #667085;
}

.product-detail-form textarea {
  resize: vertical;
}

.product-detail-form input[type="file"] {
  padding-block: 7px;
}

.product-detail-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dashboard-grid > .panel:has(.admin-product-detail-form) {
  min-width: 0;
}

.product-detail-actions [data-admin-product-detail-status],
.product-detail-actions [data-creator-product-status] {
  color: #667085;
  font-weight: 900;
}

.product-detail-actions .is-success,
.product-detail-form .is-success {
  color: #167a42;
}

.product-detail-actions .is-error,
.product-detail-form .is-error {
  color: var(--brand);
}

.admin-row {
  display: grid;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.admin-product-row,
.admin-draft-row,
.admin-review-row {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.8fr);
  align-items: start;
  column-gap: 18px;
}

.admin-row:last-child {
  border-bottom: 0;
}

.admin-row strong,
.admin-row span {
  display: block;
}

.admin-row span {
  color: #657184;
  font-size: 13px;
}

.admin-row p {
  margin: 6px 0 0;
}

.admin-row-note {
  color: #657184;
  font-size: 13px;
}

.admin-user-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  margin-bottom: 12px;
}

.admin-user-search label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-user-search input {
  width: 100%;
  min-height: 40px;
  border: 1px solid #d8e0ea;
  border-radius: 5px;
  padding: 0 10px;
  background: #fff;
  color: #1f2937;
  font: inherit;
  text-transform: none;
}

.admin-user-results {
  display: grid;
  gap: 0;
}

.admin-user-row {
  grid-template-columns: minmax(0, 0.85fr) minmax(260px, 1.15fr);
  align-items: start;
  column-gap: 18px;
}

.admin-user-row p {
  max-width: 56ch;
}

.admin-user-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  width: 100%;
}

.admin-user-role-form,
.admin-user-status-form {
  width: 100%;
  align-items: stretch;
}

.admin-user-status-form > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.admin-user-row .secondary-action {
  min-width: 0;
  white-space: normal;
  line-height: 1.2;
}

.secondary-action.danger {
  background: #fff1f3;
  border-color: #f0c8d1;
  color: #8f102e;
}

.secondary-action.danger:hover {
  background: #ffe4ea;
}

.admin-state-text {
  color: #667085;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-inline-form {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.admin-inline-form label {
  display: grid;
  gap: 5px;
  color: #344054;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-inline-form input,
.admin-inline-form select {
  width: 100%;
  min-height: 38px;
  border: 1px solid #d8e0ea;
  border-radius: 5px;
  padding: 0 10px;
  background: #fff;
  color: #1f2937;
  font: inherit;
  text-transform: none;
}

.admin-inline-form [data-admin-row-status] {
  margin: 0;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.admin-inline-form [data-admin-row-status].is-error {
  color: var(--brand);
}

.admin-file-list {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.admin-file-list p {
  margin: 0;
  padding: 9px 10px;
  border-left: 3px solid #d8e0ea;
  background: #fbfcfe;
}

.admin-file-list span {
  color: #657184;
  font-size: 12px;
}

.admin-order-items {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #4d5968;
  font-size: 13px;
}

.admin-order-items li + li {
  margin-top: 4px;
}

.admin-row > div:last-child {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-row > .admin-user-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  width: 100%;
}

.admin-product-row > div:last-child {
  justify-content: flex-end;
}

@media (max-width: 760px) {
  .product-detail-form-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-detail-head-actions {
    justify-content: flex-start;
  }

  .product-detail-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-image-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-product-row,
  .admin-draft-row,
  .admin-review-row,
  .admin-user-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-product-row > div:last-child {
    justify-content: flex-start;
  }

  .admin-user-search {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-user-search .secondary-action,
  .admin-user-status-form .secondary-action {
    width: 100%;
  }

  .admin-user-status-form > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-inline-form {
    padding-top: 2px;
  }

  .support-ticket-card header {
    display: grid;
  }

  .support-ticket-card header em {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .admin-user-search input,
  .admin-inline-form input,
  .admin-inline-form select {
    font-size: 16px;
  }
}

.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;
}

.license-checksum-list,
.license-version-list,
.license-history-list {
  display: grid;
  gap: 8px;
  min-width: 260px;
  max-width: 520px;
}

.license-checksum-item,
.license-version-item,
.license-history-item {
  display: grid;
  gap: 4px;
  white-space: normal;
}

.license-checksum-item strong,
.license-version-item strong,
.license-history-item strong {
  display: block;
  color: #1f2937;
  font-size: 13px;
  line-height: 1.3;
}

.license-checksum-item small,
.license-meta-empty,
.license-version-item span,
.license-history-item span {
  display: block;
  color: #667085;
  font-size: 12px;
  line-height: 1.35;
  white-space: normal;
}

.license-checksum-item code {
  display: block;
  max-width: 100%;
  padding: 6px 8px;
  border: 1px solid #e3e7ee;
  border-radius: 4px;
  background: #f8fafc;
  color: #344054;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
}

.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;
}

.summary-box .summary-trust {
  margin: 14px 0;
}

.checkout-status-card {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 280px;
}

.checkout-status-card h1 {
  margin: 0;
  color: var(--brand);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.checkout-status-badge {
  width: fit-content;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f7f9fc;
  color: #44536a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.checkout-status-success .checkout-status-badge {
  background: #edf8f1;
  border-color: #cfe8d8;
  color: #216b3d;
}

.checkout-status-canceled .checkout-status-badge {
  background: #fff6dc;
  border-color: #f0dfaa;
  color: #80620f;
}

.checkout-status-failed .checkout-status-badge {
  background: #fff1f3;
  border-color: #efd2d9;
  color: var(--crimson-deep);
}

.checkout-status-copy {
  max-width: 620px;
  margin: 0;
  color: #536176;
  line-height: 1.7;
}

.checkout-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.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;
}

.auth-note {
  display: grid;
  gap: 10px;
  color: #566174;
  line-height: 1.45;
}

.auth-note strong {
  color: #141720;
}

.auth-note span {
  display: block;
}

.auth-small-link {
  width: max-content;
  margin: -2px auto 0;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.auth-small-link:hover {
  text-decoration: underline;
}

.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);
}

.legal-hero {
  display: grid;
  gap: 8px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.legal-hero span {
  color: var(--crimson);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.legal-hero p {
  max-width: 760px;
  margin: 0;
  color: #526174;
  font-size: 17px;
  line-height: 1.65;
}

.legal-hero small {
  color: #718096;
  font-weight: 700;
}

.legal-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.legal-jump-links a {
  color: #344154;
  font-size: 14px;
  font-weight: 900;
}

.legal-jump-links a:hover {
  color: var(--crimson);
}

.brand-identity-page {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 24px;
  max-width: 1120px;
  margin: 24px auto;
  padding: clamp(24px, 5vw, 54px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(18, 24, 33, 0.06);
}

.brand-identity-copy {
  display: grid;
  align-content: center;
  gap: 16px;
}

.brand-identity-copy > span {
  color: var(--crimson);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-identity-copy h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.95;
}

.brand-identity-copy p {
  max-width: 740px;
  margin: 0;
  color: #526174;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.brand-identity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  background: var(--brand);
  color: #fff;
  border-radius: 4px;
  font-weight: 900;
  text-decoration: none;
}

.primary-action:hover {
  background: var(--crimson-deep);
}

.brand-identity-facts {
  display: grid;
  gap: 10px;
  align-content: center;
}

.brand-identity-facts article {
  padding: 14px;
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.brand-identity-facts strong,
.brand-identity-facts span {
  display: block;
}

.brand-identity-facts strong {
  color: #7a8494;
  font-size: 12px;
  text-transform: uppercase;
}

.brand-identity-facts span {
  margin-top: 4px;
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 760px) {
  .brand-identity-page {
    grid-template-columns: 1fr;
  }
}

.legal-section-list {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.legal-section {
  display: grid;
  gap: 10px;
}

.legal-section h2 {
  margin: 0;
  color: #172033;
  font-size: 22px;
}

.legal-section p {
  margin: 0;
  color: #526174;
  line-height: 1.7;
}

.legal-section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: #526174;
  line-height: 1.6;
}

.legal-note {
  margin: 26px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #718096;
  font-size: 13px;
  line-height: 1.6;
}

.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;
  }

  .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,
  .brand-identity-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,
  .brand-identity-page,
  .account-page,
  .creator-page {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .domain-home-band {
    grid-template-columns: 1fr;
  }

  .vps-plan-grid,
  .domain-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@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;
  }

  .domain-signal-grid {
    grid-template-columns: 1fr;
  }

  .vps-filter-bar label,
  .vps-active-filters a {
    margin-left: 0;
  }

  .vps-filter-bar label {
    flex-basis: 100%;
  }

  .vps-range-head {
    display: grid;
  }

  .domain-result-row {
    grid-template-columns: minmax(0, 1fr) 150px 90px;
  }

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

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

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

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

  .catalog-control-bar label:first-child,
  .catalog-control-bar .button {
    grid-column: 1 / -1;
  }

  .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;
  }

  .domain-home-band {
    padding: 14px;
  }

  .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;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .domain-home-copy h2 {
    font-size: 19px;
  }

  .vps-plan-grid,
  .domain-card-grid {
    grid-template-columns: 1fr;
  }

  .vps-plan-card {
    padding: 24px 18px 18px;
  }

  .vps-price strong {
    font-size: 34px;
  }

  .vps-list-page,
  .domain-page {
    padding: 18px 12px 24px;
  }

  .vps-page-title {
    display: grid;
  }

  .vps-filter-bar button {
    flex: 1 1 130px;
  }

  .domain-search-form {
    width: 100%;
    min-height: 60px;
    padding: 0 12px 0 22px;
  }

  .domain-search-form input {
    min-height: 48px;
    font-size: 22px;
  }

  .domain-search-button {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .domain-results {
    margin-top: 42px;
  }

  .domain-results-head,
  .domain-result-row {
    display: grid;
  }

  .domain-result-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 0;
  }

  .domain-result-price {
    text-align: left;
  }

  .domain-result-row button:not(.domain-cart-button) {
    width: 100%;
  }

  .domain-cart-button {
    justify-self: start;
  }

  .domain-empty-visual {
    grid-template-columns: 1fr;
    min-height: 300px;
    padding: 8px 0;
  }

  .domain-hero-panel,
  .domain-policy-grid {
    grid-template-columns: 1fr;
  }

  .domain-orbit {
    width: min(100%, 240px);
  }

  .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.7rem !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-width: 0;
  padding: 1.15rem 1.35rem !important;
  color: #f8f9fa !important;
  text-decoration: none !important;
}

body.creator-portal-mode .creator-portal-brand.sidebar-brand:hover {
  color: #fff !important;
  text-decoration: none !important;
}

body.creator-portal-mode .creator-portal-brand img {
  width: clamp(30px, 14vw, 38px) !important;
  height: clamp(30px, 14vw, 38px) !important;
  flex: 0 0 auto;
  margin: 0;
  object-fit: contain;
}

body.creator-portal-mode .creator-portal-brand .sidebar-brand-text {
  min-width: 0;
  overflow: hidden;
  color: #f8f9fa !important;
  font-size: clamp(1rem, 5vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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-sidebar-backdrop {
  display: none;
}

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-sidebar-toggle {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 6px;
  color: #26313d !important;
  line-height: 1;
  text-decoration: none !important;
  touch-action: manipulation;
}

body.creator-portal-mode .creator-sidebar-toggle:hover {
  background: #f5f7fb;
}

body.creator-portal-mode .creator-sidebar-toggle span {
  display: none !important;
  color: #26313d;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
}

body.creator-portal-mode .creator-portal-topbar .navbar-align {
  align-items: center !important;
  gap: 0.35rem;
}

body.creator-portal-mode .creator-portal-topbar .nav-link {
  min-height: 40px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

body.creator-portal-mode .creator-account-link {
  gap: 0.55rem;
  padding: 0.35rem 0.45rem !important;
  border-radius: 6px;
  line-height: 1;
}

body.creator-portal-mode .creator-account-link:hover {
  background: #f5f7fb;
  text-decoration: none;
}

body.creator-portal-mode .creator-account-name {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #26313d !important;
  font-family: "Inter", var(--bs-body-font-family);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0;
}

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;
}

body.creator-portal-mode .creator-portal-footer.footer .row {
  position: relative;
  align-items: center;
}

body.creator-portal-mode .creator-portal-footer.footer .col-6:first-child {
  width: 100%;
  text-align: center !important;
}

body.creator-portal-mode .creator-portal-footer.footer .col-6:last-child {
  position: absolute;
  right: 0.875rem;
  width: auto;
  text-align: right !important;
}

@media (max-width: 1180px) {
  .dashboard-grid > .panel:has(.admin-product-detail-form) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .product-detail-form-head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .product-detail-head-actions {
    justify-content: flex-start;
  }
}

@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;
  }
}

/* Sitewide responsive finishing pass. Keep this last so it wins over older route styles. */
.catalog-results,
.product-layout,
.product-content-panel,
.product-sidebar,
.dashboard-grid,
.metric-grid,
.cart-layout,
.checkout-grid,
.account-content-grid,
.settings-page,
.settings-main,
.settings-card,
.creator-portal,
.creator-portal-workspace,
.creator-portal-main,
.creator-card,
.creator-profile-hero,
.creator-chat-shell,
.creator-calendar-layout,
.storefront-page,
.storefront-hero-card {
  min-width: 0;
}

.brand-identity-page {
  width: min(100%, calc(100vw - 32px));
}

.brand-identity-copy,
.brand-identity-facts {
  min-width: 0;
}

.brand-identity-copy h1,
.brand-identity-facts span {
  overflow-wrap: anywhere;
}

.product-content-panel,
.panel,
.summary-box,
.form-card,
.settings-card,
.creator-card,
.creator-settings-card,
.creator-notes-card,
.creator-chat-shell,
.creator-profile-hero,
.storefront-hero-card,
.legal-page {
  overflow-wrap: anywhere;
}

.table-card,
.product-content-panel,
body.creator-portal-mode .table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.settings-form input[type="checkbox"],
.settings-form input[type="radio"],
.creator-page input[type="checkbox"],
.creator-page input[type="radio"],
body.creator-portal-mode .form-check-input,
body.creator-portal-mode input[type="checkbox"],
body.creator-portal-mode input[type="radio"] {
  min-width: 28px;
  min-height: 28px;
}

body.creator-portal-mode a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
}

.table-card table,
.product-spec-table,
.product-version-table {
  min-width: min(640px, 100%);
}

@media (max-width: 1100px) {
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .product-buy-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .page-title {
    gap: 10px;
  }

  .page-title .button,
  .page-title .secondary-action {
    width: 100%;
  }

  .dashboard-grid,
  .metric-grid,
  .cart-layout,
  .checkout-grid,
  .account-content-grid,
  .support-ticket-card {
    grid-template-columns: 1fr;
  }

  .panel,
  .form-card,
  .summary-box,
  .settings-card,
  .legal-page {
    padding: 16px;
  }

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

  .product-content-panel h2 {
    font-size: 24px;
  }

  .product-content-panel h3 {
    font-size: 19px;
  }

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

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

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

  .cart-item button {
    width: 100%;
  }

  .storefront-owner {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .storefront-owner h1 {
    font-size: 24px;
  }
}

@media (max-width: 900px) {
  .license-table-card {
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .table-card .license-table {
    min-width: 0;
    width: 100%;
    display: block;
  }

  .license-table thead {
    display: none;
  }

  .license-table tbody {
    display: grid;
    gap: 10px;
  }

  .license-table tr {
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid #e3e7ee;
    border-radius: 8px;
    background: #fff;
  }

  .license-table td {
    display: grid;
    grid-template-columns: 98px minmax(0, 1fr);
    gap: 10px;
    min-width: 0;
    padding: 7px 0;
    border-bottom: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .license-table td::before {
    content: attr(data-label);
    color: #647083;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .license-table td[data-label="Action"] {
    grid-template-columns: 1fr;
  }

  .license-table td[data-label="Action"]::before {
    display: none;
  }

  .license-table button {
    width: 100%;
  }

  .license-checksum-list,
  .license-version-list,
  .license-history-list {
    min-width: 0;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-left: 0;
    border-right: 0;
  }

  .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: 56px minmax(0, 1fr);
  }

  .product-icon {
    width: 56px;
  }

  .product-heading h1,
  .page-title h1 {
    font-size: 22px;
  }

  .product-header-meta,
  .product-badge-row,
  .product-filter-row {
    gap: 6px;
  }

  .product-tabs {
    max-width: 100%;
    overflow-x: auto;
  }

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

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

  .buy-license-summary > span {
    width: 34px;
    height: 34px;
  }

  .buy-addon-row {
    align-items: flex-start;
    gap: 10px;
  }

  .buy-addon-row em {
    margin-left: 0;
  }

  .product-heart-action {
    justify-self: center;
  }

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

  .table-card table {
    min-width: 560px;
  }

  .product-spec-table,
  .product-version-table {
    min-width: 0;
    display: block;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .product-spec-table thead,
  .product-version-table thead {
    display: none;
  }

  .product-spec-table tbody,
  .product-version-table tbody {
    display: grid;
    gap: 10px;
  }

  .product-spec-table tr,
  .product-version-table tr {
    display: grid;
    gap: 0;
    padding: 10px 12px;
    border: 1px solid #e3e7ee;
    border-radius: 8px;
    background: #fff;
  }

  .product-spec-table td,
  .product-version-table td {
    display: block;
    min-width: 0;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 0;
    align-items: start;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .product-spec-table td::before,
  .product-version-table td::before {
    display: block;
    margin-bottom: 3px;
    content: attr(data-label);
    color: #647083;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .product-version-table td[data-label="Action"] {
    display: block;
  }

  .product-version-table td[data-label="Action"]::before {
    display: none;
  }

  .product-version-table .version-action {
    width: 100%;
  }

  .license-table-card {
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .table-card .license-table {
    min-width: 0;
    width: 100%;
    display: block;
  }

  .license-table thead {
    display: none;
  }

  .license-table tbody {
    display: grid;
    gap: 10px;
  }

  .license-table tr {
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid #e3e7ee;
    border-radius: 8px;
    background: #fff;
  }

  .license-table td {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
    padding: 7px 0;
    border-bottom: 0;
    overflow-wrap: anywhere;
  }

  .license-table td::before {
    content: attr(data-label);
    color: #647083;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .license-table td[data-label="Action"] {
    grid-template-columns: 1fr;
  }

  .license-table td[data-label="Action"]::before {
    display: none;
  }

  .license-table button {
    width: 100%;
  }

  .license-checksum-list,
  .license-version-list,
  .license-history-list {
    min-width: 0;
    max-width: none;
  }

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

  .storefront-owner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .storefront-avatar {
    margin-top: -34px;
  }

  .storefront-bio {
    padding-inline: 16px;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .search-bar {
    grid-template-columns: 1fr 66px;
  }

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

  .catalog-control-bar label:first-child,
  .catalog-control-bar .button {
    grid-column: auto;
  }

  .search-bar button {
    padding-inline: 8px;
  }

  .mobile-category-button {
    padding-inline: 9px;
  }

  .catalog-result-count {
    gap: 4px;
  }

  .catalog-result-count strong {
    font-size: 17px;
  }

  .catalog-result-count span {
    font-size: 11px;
  }

  .product-content-panel,
  .panel,
  .summary-box,
  .form-card,
  .auth-card,
  .settings-card,
  .legal-page {
    padding: 12px;
  }

  .product-content-panel {
    overflow-x: visible;
  }

  .product-heading h1,
  .page-title h1 {
    font-size: 20px;
  }

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

body.creator-portal-mode {
  overflow-x: hidden;
}

body.creator-portal-mode .creator-portal-main.content > .container-fluid {
  max-width: 100%;
  min-width: 0;
}

body.creator-portal-mode .creator-profile-hero {
  max-width: 100%;
  overflow: hidden;
}

body.creator-portal-mode .creator-profile-hero > img {
  height: clamp(150px, 20vw, 220px);
  object-fit: cover;
}

body.creator-portal-mode .creator-profile-hero h2 {
  max-width: 100%;
  margin-inline: auto;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

body.creator-portal-mode .creator-profile-hero p,
body.creator-portal-mode .creator-profile-hero strong {
  max-width: 100%;
  overflow-wrap: anywhere;
}

body.creator-portal-mode .creator-profile-avatar {
  width: clamp(76px, 14vw, 96px);
  height: clamp(76px, 14vw, 96px);
  margin-top: calc(clamp(76px, 14vw, 96px) / -2);
}

body.creator-portal-mode .creator-stats-list {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

body.creator-portal-mode .creator-product-card footer {
  display: flex;
  flex-wrap: wrap;
}

body.creator-portal-mode .creator-version-list article {
  min-width: 0;
}

@media (max-width: 991.98px) {
  body.creator-portal-mode #app.page-shell {
    width: 100% !important;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }

  body.creator-portal-mode .creator-portal.wrapper {
    display: block !important;
    min-height: 100vh;
    min-height: 100dvh;
  }

  body.creator-portal-mode .creator-portal-sidebar.sidebar {
    position: fixed !important;
    inset: 0 auto 0 0 !important;
    z-index: 1050 !important;
    width: min(280px, 86vw) !important;
    margin-left: 0 !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    overflow: hidden !important;
    transform: translateX(-105%);
    transition: transform 180ms ease;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.28);
  }

  body.creator-portal-mode .creator-portal-sidebar.sidebar.is-open {
    transform: translateX(0);
  }

  body.creator-portal-mode .creator-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1040;
    display: block;
    padding: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.38);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  body.creator-portal-mode.creator-sidebar-open .creator-sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  body.creator-portal-mode .creator-portal-sidebar.sidebar .sidebar-content {
    width: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.creator-portal-mode .creator-portal-sidefoot {
    margin-top: 1rem;
  }

  body.creator-portal-mode .creator-portal-workspace.main {
    width: 100% !important;
    min-height: 100vh;
    min-height: 100dvh;
  }

  body.creator-portal-mode .creator-portal-topbar.navbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 1020 !important;
    min-height: 56px !important;
    padding: 0.75rem 1rem !important;
    box-shadow: 0 0 0.875rem 0 rgba(33, 37, 41, 0.05);
  }

  body.creator-portal-mode .creator-sidebar-toggle {
    position: relative;
    z-index: 1060;
    flex: 0 0 44px;
    padding: 0;
    background: #fff;
    box-shadow: inset 0 0 0 1px #dce3ec;
  }

  body.creator-portal-mode .creator-sidebar-toggle span {
    display: none !important;
  }

  body.creator-portal-mode .creator-navbar-search {
    display: none !important;
  }

  body.creator-portal-mode .creator-portal-main.content {
    padding: clamp(1rem, 3vw, 1.5rem) !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,
  body.creator-portal-mode .creator-task-board {
    grid-template-columns: 1fr !important;
  }

  body.creator-portal-mode .creator-chat-shell {
    min-height: 0 !important;
  }

  body.creator-portal-mode .creator-chat-contacts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid #e5eaf1;
  }

  body.creator-portal-mode .creator-portal-footer.footer .row {
    gap: 0.5rem;
  }

  body.creator-portal-mode .creator-portal-footer.footer .col-6 {
    position: static;
    width: 100%;
    text-align: center !important;
  }
}

@media (max-width: 720px) {
  body.creator-portal-mode .creator-portal-main.content {
    padding: 0.875rem !important;
  }

  body.creator-portal-mode .creator-page-stack > .mb-3 {
    display: grid !important;
  }

  body.creator-portal-mode .creator-page-stack > .mb-3 .btn {
    width: 100%;
  }

  body.creator-portal-mode .creator-profile-hero > img {
    height: 150px;
  }

  body.creator-portal-mode .creator-profile-hero > div {
    padding-inline: 1rem;
  }

  body.creator-portal-mode .creator-profile-avatar {
    width: 76px;
    height: 76px;
    margin-top: -38px;
  }

  body.creator-portal-mode .creator-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-radius: 0.25rem !important;
  }

  body.creator-portal-mode .creator-product-card.card > div:not(.product-art),
  body.creator-portal-mode .creator-settings-card,
  body.creator-portal-mode .creator-notes-card {
    padding: 1rem !important;
  }

  body.creator-portal-mode .creator-form-grid,
  body.creator-portal-mode .creator-settings-grid {
    grid-template-columns: 1fr !important;
  }

  body.creator-portal-mode .creator-version-list article,
  body.creator-portal-mode .creator-feed article {
    grid-template-columns: 1fr !important;
    align-items: start;
  }

  body.creator-portal-mode .creator-chat-contacts {
    grid-template-columns: 1fr;
    max-height: 220px;
    overflow-y: auto;
  }

  body.creator-portal-mode .creator-chat-compose,
  body.creator-portal-mode .creator-notes-card footer {
    grid-template-columns: 1fr !important;
  }

  body.creator-portal-mode .creator-chat-compose .btn,
  body.creator-portal-mode .creator-notes-card footer .btn {
    width: 100%;
  }

  body.creator-portal-mode .creator-calendar {
    grid-template-columns: repeat(7, minmax(34px, 1fr));
  }

  body.creator-portal-mode .creator-calendar article {
    min-height: 62px;
    padding: 0.35rem;
    font-size: 0.75rem;
  }

  body.creator-portal-mode .creator-calendar article span {
    display: block;
    width: max-content;
    max-width: 100%;
    padding: 2px 4px;
    font-size: 0.65rem;
  }
}

@media (max-width: 420px) {
  body.creator-portal-mode .creator-portal-main.content {
    padding: 0.625rem !important;
  }

  body.creator-portal-mode .creator-profile-hero > img {
    height: 128px;
  }

  body.creator-portal-mode .creator-profile-avatar {
    width: 66px;
    height: 66px;
    margin-top: -33px;
    border-width: 3px;
  }

  body.creator-portal-mode .creator-stats-list {
    grid-template-columns: 1fr;
  }

  body.creator-portal-mode .creator-product-card footer .btn,
  body.creator-portal-mode .creator-product-card footer a {
    width: 100%;
  }
}

/* AdminKit creator portal composition helpers. These only fill the places where
   the static demo would normally use Chart.js, maps, or bundled images. */
body.creator-portal-mode .creator-product-icon,
body.creator-portal-mode .creator-admin-avatar,
body.creator-portal-mode .creator-profile-img,
body.creator-portal-mode .creator-settings-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #e7f0ff;
  color: #3b7ddd;
  font-weight: 600;
}

body.creator-portal-mode .creator-product-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
}

body.creator-portal-mode .creator-product-icon-sm {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
}

body.creator-portal-mode .creator-admin-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  background: #f5f7fb;
  color: #495057;
}

body.creator-portal-mode .creator-profile-img,
body.creator-portal-mode .creator-settings-avatar {
  width: 128px;
  height: 128px;
  font-size: 2.5rem;
}

body.creator-portal-mode .creator-profile-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

body.creator-portal-mode .creator-profile-actions .btn {
  min-width: 104px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0 !important;
  white-space: nowrap;
}

body.creator-portal-mode .creator-profile-img img,
body.creator-portal-mode .creator-settings-avatar img,
body.creator-portal-mode .creator-admin-avatar img,
body.creator-portal-mode .creator-product-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.creator-portal-mode .creator-progress-fill {
  width: var(--creator-percent, 0%);
}

body.creator-portal-mode [data-feather] svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: text-bottom;
}

body.creator-portal-mode .feather-sm svg {
  width: 14px;
  height: 14px;
}

body.creator-portal-mode .feather-lg svg {
  width: 24px;
  height: 24px;
}

body.creator-portal-mode .creator-p-0 { --creator-percent: 0%; }
body.creator-portal-mode .creator-p-5 { --creator-percent: 5%; }
body.creator-portal-mode .creator-p-10 { --creator-percent: 10%; }
body.creator-portal-mode .creator-p-15 { --creator-percent: 15%; }
body.creator-portal-mode .creator-p-20 { --creator-percent: 20%; }
body.creator-portal-mode .creator-p-25 { --creator-percent: 25%; }
body.creator-portal-mode .creator-p-30 { --creator-percent: 30%; }
body.creator-portal-mode .creator-p-35 { --creator-percent: 35%; }
body.creator-portal-mode .creator-p-40 { --creator-percent: 40%; }
body.creator-portal-mode .creator-p-45 { --creator-percent: 45%; }
body.creator-portal-mode .creator-p-50 { --creator-percent: 50%; }
body.creator-portal-mode .creator-p-55 { --creator-percent: 55%; }
body.creator-portal-mode .creator-p-60 { --creator-percent: 60%; }
body.creator-portal-mode .creator-p-65 { --creator-percent: 65%; }
body.creator-portal-mode .creator-p-70 { --creator-percent: 70%; }
body.creator-portal-mode .creator-p-75 { --creator-percent: 75%; }
body.creator-portal-mode .creator-p-80 { --creator-percent: 80%; }
body.creator-portal-mode .creator-p-85 { --creator-percent: 85%; }
body.creator-portal-mode .creator-p-90 { --creator-percent: 90%; }
body.creator-portal-mode .creator-p-95 { --creator-percent: 95%; }
body.creator-portal-mode .creator-p-100 { --creator-percent: 100%; }

body.creator-portal-mode .creator-i-0 { --creator-index: 0; }
body.creator-portal-mode .creator-i-1 { --creator-index: 1; }
body.creator-portal-mode .creator-i-2 { --creator-index: 2; }
body.creator-portal-mode .creator-i-3 { --creator-index: 3; }
body.creator-portal-mode .creator-i-4 { --creator-index: 4; }
body.creator-portal-mode .creator-i-5 { --creator-index: 5; }
body.creator-portal-mode .creator-i-6 { --creator-index: 6; }
body.creator-portal-mode .creator-i-7 { --creator-index: 7; }
body.creator-portal-mode .creator-i-8 { --creator-index: 8; }
body.creator-portal-mode .creator-i-9 { --creator-index: 9; }
body.creator-portal-mode .creator-i-10 { --creator-index: 10; }
body.creator-portal-mode .creator-i-11 { --creator-index: 11; }

body.creator-portal-mode .creator-world-map {
  height: 350px;
}

body.creator-portal-mode .creator-ak-line {
  position: relative;
  min-height: 252px;
  overflow: hidden;
  border-radius: 0.25rem;
  background:
    linear-gradient(180deg, rgba(59, 125, 221, 0.08), rgba(59, 125, 221, 0)),
    repeating-linear-gradient(0deg, transparent 0 49px, rgba(33, 37, 41, 0.06) 50px);
}

body.creator-portal-mode .creator-ak-line span {
  position: absolute;
  left: calc(5% + (90% / 11 * var(--creator-index, 0)));
  bottom: calc(var(--creator-percent, 0%) * 0.82);
  width: 10px;
  height: 10px;
  border: 2px solid #3b7ddd;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(59, 125, 221, 0.12);
}

body.creator-portal-mode .creator-ak-line::after {
  content: "";
  position: absolute;
  inset: 22% 6% 18%;
  border-bottom: 3px solid rgba(59, 125, 221, 0.45);
  transform: skewY(-8deg);
  transform-origin: left bottom;
}

body.creator-portal-mode .creator-chart-fallback,
body.creator-portal-mode .creator-calendar-fallback {
  display: none;
}

body.creator-portal-mode canvas[data-gms-chart-fallback="1"] {
  display: none !important;
}

body.creator-portal-mode .chart:has(canvas[data-gms-chart-fallback="1"]) + .creator-chart-fallback,
body.creator-portal-mode #datetimepicker-dashboard:empty + .creator-calendar-fallback {
  display: flex;
}

body.creator-portal-mode .chart:has(canvas[data-gms-chart-fallback="1"]) + .creator-chart-fallback.creator-ak-line,
body.creator-portal-mode .chart:has(canvas[data-gms-chart-fallback="1"]) + .creator-chart-fallback.creator-ak-bars,
body.creator-portal-mode .chart:has(canvas[data-gms-chart-fallback="1"]) + .creator-chart-fallback.creator-ak-donut {
  display: flex;
}

body.creator-portal-mode .chart:has(canvas[data-gms-chart-fallback="1"]) + .creator-chart-fallback.creator-ak-line {
  display: block;
}

body.creator-portal-mode #world_map:not(.jvm-container) > .creator-ak-map {
  height: 100%;
}

body.creator-portal-mode #world_map.jvm-container > .creator-ak-map {
  display: none;
}

body.creator-portal-mode .creator-ak-bars {
  min-height: 292px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem 0.5rem 2rem;
}

body.creator-portal-mode .creator-ak-bars span {
  position: relative;
  width: 100%;
  height: var(--creator-percent, 0%);
  min-height: 24px;
  border-radius: 0.25rem 0.25rem 0 0;
  background: #3b7ddd;
}

body.creator-portal-mode .creator-ak-bars i {
  position: absolute;
  right: 0;
  bottom: -1.5rem;
  left: 0;
  color: #6c757d;
  font-style: normal;
  text-align: center;
}

body.creator-portal-mode .creator-ak-donut {
  width: 128px;
  height: 128px;
  margin: 0 auto;
  border-radius: 50%;
  background: conic-gradient(#3b7ddd 0 44%, #fcb92c 44% 72%, #dc3545 72% 86%, #495057 86%);
}

body.creator-portal-mode .creator-ak-donut span {
  display: block;
  width: 74px;
  height: 74px;
  margin: 27px;
  border-radius: 50%;
  background: #fff;
}

body.creator-portal-mode .creator-traffic-widget {
  display: grid;
  gap: 1rem;
}

body.creator-portal-mode .creator-traffic-visual {
  position: relative;
  width: 168px;
  height: 168px;
  margin: 0.25rem auto 0.5rem;
}

body.creator-portal-mode .creator-traffic-visual .chart {
  width: 168px !important;
  height: 168px !important;
  min-height: 168px !important;
}

body.creator-portal-mode .creator-traffic-visual canvas {
  max-width: 168px;
  max-height: 168px;
}

body.creator-portal-mode .creator-traffic-visual .creator-ak-donut {
  position: absolute;
  inset: 0;
}

body.creator-portal-mode .creator-traffic-total {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  pointer-events: none;
  text-align: center;
}

body.creator-portal-mode .creator-traffic-total strong {
  color: #212529;
  font-size: 1.35rem;
  line-height: 1;
}

body.creator-portal-mode .creator-traffic-total span {
  margin-top: 0.25rem;
  color: #6c757d;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body.creator-portal-mode .creator-traffic-table td {
  padding: 0.78rem 0.25rem;
  vertical-align: middle;
}

body.creator-portal-mode .traffic-dot {
  display: inline-block;
  width: 0.62rem;
  height: 0.62rem;
  margin-right: 0.55rem;
  border-radius: 999px;
}

body.creator-portal-mode .traffic-marketplace {
  background: #3b7ddd;
}

body.creator-portal-mode .traffic-direct {
  background: #fcb92c;
}

body.creator-portal-mode .traffic-discord {
  background: #dc3545;
}

body.creator-portal-mode .traffic-other {
  background: #e8eaed;
  box-shadow: inset 0 0 0 1px #dee2e6;
}

/* Creator portal should behave like an app: sidebar and content scroll separately. */
body.creator-portal-mode {
  overflow: hidden !important;
}

body.creator-portal-mode #app.page-shell {
  height: 100vh;
  height: 100dvh;
  overflow: hidden !important;
}

body.creator-portal-mode .creator-portal.wrapper {
  height: 100vh;
  height: 100dvh;
  overflow: hidden !important;
}

body.creator-portal-mode .creator-portal-sidebar.sidebar {
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 0 !important;
  flex: 0 0 260px;
  overflow: hidden !important;
}

body.creator-portal-mode .creator-portal-sidebar.sidebar .sidebar-content {
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow-y: auto !important;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

body.creator-portal-mode .creator-portal-workspace.main {
  height: 100vh;
  height: 100dvh;
  min-height: 0 !important;
  overflow: hidden !important;
}

body.creator-portal-mode .creator-portal-main.content {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

body.creator-portal-mode .creator-portal-footer.footer {
  flex: 0 0 auto;
}

@media (max-width: 991.98px) {
  body.creator-portal-mode .creator-portal-sidebar.sidebar {
    height: 100vh !important;
    height: 100dvh !important;
  }

  body.creator-portal-mode .creator-portal-sidebar.sidebar .sidebar-content {
    height: 100vh;
    height: 100dvh;
  }
}

body.creator-portal-mode .creator-ak-map {
  min-height: 350px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-content: center;
  padding: 2rem;
  border-radius: 0.25rem;
  background:
    radial-gradient(circle at 20% 30%, rgba(59, 125, 221, 0.28), transparent 18%),
    radial-gradient(circle at 70% 45%, rgba(59, 125, 221, 0.22), transparent 20%),
    radial-gradient(circle at 45% 78%, rgba(59, 125, 221, 0.18), transparent 18%),
    #f5f7fb;
}

body.creator-portal-mode .creator-ak-map span {
  padding: 0.75rem;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.82);
  color: #495057;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 0 0.875rem rgba(33, 37, 41, 0.05);
}

body.creator-portal-mode .creator-ak-mini-month {
  display: grid;
  place-items: center;
  min-height: 160px;
  border-radius: 0.25rem;
  background: #f5f7fb;
}

body.creator-portal-mode .creator-ak-mini-month strong {
  color: #3b7ddd;
  font-size: 3rem;
  line-height: 1;
}

body.creator-portal-mode .creator-ak-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  background: #dee2e6;
}

body.creator-portal-mode .creator-ak-calendar div {
  min-height: 96px;
  padding: 0.75rem;
  background: #fff;
}

body.creator-portal-mode .creator-ak-calendar strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #495057;
}

body.creator-portal-mode .creator-ak-calendar span {
  display: inline-block;
  padding: 0.15rem 0.4rem;
  border-radius: 0.2rem;
  background: #e7f0ff;
  color: #3b7ddd;
  font-size: 0.75rem;
  font-weight: 600;
}

body.creator-portal-mode .creator-notes-editor {
  min-height: min(62vh, 620px);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

@media (max-width: 767.98px) {
  body.creator-portal-mode .creator-ak-map {
    grid-template-columns: 1fr;
    min-height: 260px;
    padding: 1rem;
  }

  body.creator-portal-mode .creator-ak-calendar div {
    min-height: 58px;
    padding: 0.4rem;
    font-size: 0.75rem;
  }

  body.creator-portal-mode .creator-ak-calendar span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
