:root {
  color-scheme: dark;
  --bg: #080b0c;
  --panel: #101717;
  --panel-strong: #142120;
  --line: rgba(231, 238, 229, 0.13);
  --text: #edf5ed;
  --muted: #9daaa0;
  --accent: #e52f2f;
  --accent-deep: #1a0505;
  --gold: #ffca6a;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 22% 12%, rgba(229, 47, 47, 0.18), transparent 30%),
    radial-gradient(circle at 80% 2%, rgba(255, 202, 106, 0.08), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 11, 12, 0.86);
  backdrop-filter: blur(18px);
}

.brand,
.header-actions,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(229, 47, 47, 0.48);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy small,
.eyebrow,
.stats dd {
  color: var(--muted);
}

.nav-links {
  justify-content: center;
  gap: clamp(14px, 3vw, 32px);
  color: #cdd8d0;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links a:hover,
.account-link:hover {
  color: var(--accent);
}

.header-actions {
  justify-content: flex-end;
  gap: 10px;
  min-width: 260px;
}

.icon-button,
.account-link,
.button {
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
}

.icon-button,
.account-link {
  min-height: 42px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.discord-icon-link {
  display: inline-flex;
  align-items: center;
  width: 52px;
  justify-content: center;
  padding: 0;
  color: #ffffff;
  line-height: 1;
}

.discord-button {
  gap: 10px;
}

.discord-logo {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: currentColor;
  color: #ffffff;
}

.login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff6f6;
  font-size: 0.75rem;
}

.hero {
  display: flex;
  min-height: min(680px, calc(100vh - 84px));
  padding: clamp(62px, 9vw, 120px) clamp(18px, 4vw, 56px);
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-copy {
  width: min(840px, 100%);
  margin-inline: auto;
  max-width: 840px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 4.8vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.hero-copy p {
  margin-inline: auto;
  max-width: 640px;
  color: #c3cec7;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 32px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  cursor: pointer;
}

.button-primary {
  border-color: transparent;
  background: var(--accent);
  color: #fff6f6;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 540px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats div {
  padding: 20px 18px;
}

.stats dt {
  font-size: 1.55rem;
  font-weight: 900;
}

.stats dd {
  margin: 4px 0 0;
}

.section,
.support {
  margin-inline: clamp(18px, 4vw, 56px);
}

.section {
  padding: clamp(50px, 7vw, 84px) 0 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading h2 {
  max-width: 760px;
}

.section-heading-compact {
  align-items: center;
}

.shop-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.shop-heading h2 {
  margin: 0;
}

.filter-button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(237, 245, 237, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.shop-filters span,
.product-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(237, 245, 237, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5ce;
  font-size: 0.78rem;
  font-weight: 800;
}

.shop-filters span {
  padding: 0 13px;
}

.shop-filters span:first-child {
  border-color: rgba(229, 47, 47, 0.42);
  background: rgba(229, 47, 47, 0.15);
  color: #fff2f2;
}

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

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

.product-card,
.review-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 23, 23, 0.86);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
}

.product-card {
  position: relative;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  transition: border-color 160ms ease, transform 160ms ease;
}

.product-card:hover {
  border-color: rgba(229, 47, 47, 0.42);
  transform: translateY(-2px);
}

.product-link {
  color: inherit;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  min-height: 26px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff8f8;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-art {
  display: grid;
  place-items: center;
  min-height: 178px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 35%, rgba(229, 47, 47, 0.32), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01));
}

.product-art span {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border: 1px solid rgba(229, 47, 47, 0.38);
  border-radius: 8px;
  background: rgba(8, 11, 12, 0.78);
  color: #fff4f4;
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-art img {
  width: min(158px, 78%);
  height: 158px;
  object-fit: contain;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.35));
}

.product-body {
  display: grid;
  gap: 12px;
  padding: 18px 18px 10px;
}

.product-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.product-body h3 {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.product-version {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(229, 47, 47, 0.42);
  border-radius: 999px;
  background: rgba(229, 47, 47, 0.15);
  color: #fff2f2;
  font-size: 0.74rem;
  font-weight: 900;
  white-space: nowrap;
}

.product-body p {
  min-height: 54px;
  margin: 0;
  color: #c3cec7;
  font-size: 0.9rem;
  line-height: 1.5;
}

.product-body h3 a:hover {
  color: var(--accent);
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
}

.product-tags span {
  padding: 0 10px;
}

.product-tags .version-tag {
  border-color: rgba(229, 47, 47, 0.42);
  background: rgba(229, 47, 47, 0.15);
  color: #fff2f2;
}

.product-buy {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding: 14px 18px 18px;
}

.product-buy strong {
  color: #fff4f4;
  font-size: 1.1rem;
  font-weight: 900;
}

.button-card {
  min-height: 40px;
  padding: 0 13px;
  border-color: rgba(229, 47, 47, 0.38);
  background: rgba(229, 47, 47, 0.12);
  color: #fff4f4;
  font-size: 0.86rem;
  white-space: nowrap;
}

.product-form {
  margin: 0;
}

.claim-button {
  border-color: rgba(229, 47, 47, 0.48);
  background: var(--accent);
  color: #fff6f6;
}

.empty-account-state {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 22, 24, 0.92);
}

.empty-account-state p {
  color: #c2cec6;
}

.review-card {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 24px;
}

.review-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.review-card figcaption {
  color: var(--accent);
  font-weight: 800;
}

.review-card-top span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
}

.review-rating {
  display: grid;
  justify-items: end;
  gap: 3px;
  flex: 0 0 auto;
}

.review-rating span {
  margin: 0;
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0;
  white-space: nowrap;
}

.review-rating small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.review-card blockquote {
  margin: 0;
  color: #dce5dd;
  line-height: 1.65;
}

.review-card blockquote::before,
.review-card blockquote::after {
  color: var(--accent);
}

.review-card blockquote::before {
  content: "“";
}

.review-card blockquote::after {
  content: "”";
}

.support {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  margin-top: clamp(50px, 7vw, 84px);
  margin-bottom: 56px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(229, 47, 47, 0.32);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(229, 47, 47, 0.16), rgba(255, 202, 106, 0.06));
}

.support p {
  max-width: 680px;
  margin-bottom: 0;
  color: #c3cec7;
  font-size: 1rem;
  line-height: 1.7;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  margin-top: 0;
  padding: clamp(30px, 5vw, 52px) clamp(18px, 4vw, 56px) 24px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(8, 11, 12, 0.24), rgba(8, 11, 12, 0.9)),
    rgba(13, 19, 19, 0.9);
}

.footer-brand {
  display: grid;
  gap: 18px;
  align-content: start;
  max-width: 620px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.footer-logo img {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(229, 47, 47, 0.48);
  border-radius: 8px;
  object-fit: contain;
}

.footer-logo span {
  display: grid;
  gap: 2px;
}

.footer-logo small,
.footer-brand p,
.footer-bottom {
  color: var(--muted);
}

.footer-brand p {
  max-width: 520px;
  margin: 0;
  line-height: 1.65;
}

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

.footer-links div {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-links span {
  color: #f5eeee;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links a {
  color: #cbd5ce;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0.56);
}

.cart-drawer.is-open {
  display: flex;
}

.cart-panel {
  width: min(420px, 100%);
  min-height: 100%;
  padding: 24px;
  border-left: 1px solid var(--line);
  background: #0d1313;
  box-shadow: var(--shadow);
}

.cart-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.cart-heading h2 {
  font-size: 1.6rem;
}

.icon-close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
}

.cart-items {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.cart-item div {
  display: grid;
  gap: 4px;
}

.cart-item span {
  color: var(--muted);
  font-weight: 800;
}

.remove-cart-item {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(229, 47, 47, 0.38);
  border-radius: 8px;
  background: rgba(229, 47, 47, 0.1);
  color: #fff4f4;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
}

.empty-cart {
  color: var(--muted);
}

.checkout-button {
  width: 100%;
}

.checkout-button.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.login-placeholder {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(24px, 6vw, 72px);
}

.login-placeholder section {
  max-width: 720px;
}

.login-placeholder h1 {
  font-size: clamp(2.2rem, 4vw, 3.35rem);
}

.login-placeholder p {
  max-width: 560px;
  color: #c3cec7;
  font-size: 1.1rem;
  line-height: 1.7;
}

.checkout-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-detail-page {
  padding: clamp(28px, 5vw, 72px) clamp(18px, 4vw, 56px) 72px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: #cbd5ce;
  font-weight: 900;
}

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

.product-detail-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  margin-bottom: 34px;
}

.product-detail-art {
  display: grid;
  min-height: 420px;
  place-items: center;
  border: 1px solid rgba(229, 47, 47, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 38%, rgba(229, 47, 47, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01));
}

.product-detail-art img {
  width: min(360px, 74%);
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.42));
}

.product-detail-copy h1 {
  margin: 18px 0 20px;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.product-detail-copy p,
.product-detail-panel p,
.product-faq p {
  color: #c3cec7;
  font-size: 1.05rem;
  line-height: 1.75;
}

.product-detail-buy {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
}

.product-detail-buy strong {
  font-size: 1.35rem;
  font-weight: 900;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.product-detail-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 22, 24, 0.92);
  padding: clamp(22px, 4vw, 34px);
}

.product-detail-panel h2 {
  font-size: 1.35rem;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li::before {
  content: "+";
  margin-right: 10px;
  color: var(--accent);
  font-weight: 900;
}

.product-detail-panel pre {
  overflow-x: auto;
  margin: 20px 0 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #070909;
  color: #f5eeee;
}

.product-faq details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.product-faq details:last-child {
  padding-bottom: 0;
}

.product-faq summary {
  cursor: pointer;
  font-weight: 900;
}

.account-page {
  min-height: 100vh;
  background: #080a0b;
}

.account-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  width: 244px;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: #0d1012;
}

.account-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  font-size: 1.3rem;
  font-weight: 900;
}

.account-sidebar-brand img {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(229, 47, 47, 0.48);
  border-radius: 8px;
  object-fit: contain;
}

.account-sidebar nav {
  display: grid;
  gap: 6px;
  padding: 18px 12px;
}

.account-sidebar nav span {
  margin: 16px 0 6px;
  color: #f5eeee;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.account-sidebar nav span:first-child {
  margin-top: 0;
}

.account-sidebar nav a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #d8dfda;
  font-weight: 800;
}

.account-sidebar nav a:hover,
.account-sidebar nav a.is-active {
  border-color: rgba(229, 47, 47, 0.34);
  background: rgba(229, 47, 47, 0.16);
  color: #ffffff;
}

.account-sidebar-user {
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding: 16px 14px;
  border-top: 1px solid var(--line);
}

.account-sidebar-user small {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-sidebar-user a {
  margin-top: 8px;
  color: var(--accent);
  font-weight: 900;
}

.account-main {
  min-height: 100vh;
  margin-left: 244px;
  padding: 0 clamp(18px, 3vw, 34px) 42px;
}

.account-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.account-topbar h1 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.account-search {
  padding: 24px 0;
}

.account-cart-panel {
  margin-top: 24px;
}

.account-search input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(237, 245, 237, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  outline: none;
  padding: 0 16px;
}

.account-search input:focus {
  border-color: rgba(229, 47, 47, 0.55);
}

.account-panel {
  margin-bottom: 24px;
}

.account-section-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 14px;
}

.account-section-toolbar span {
  color: var(--muted);
  font-weight: 800;
}

.account-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 14px;
}

.account-section-heading h2,
.slim-panel h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.account-section-heading > span {
  color: var(--muted);
  font-weight: 800;
}

.account-mod-list {
  display: grid;
  gap: 14px;
}

.account-mod-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 22, 24, 0.92);
  overflow: hidden;
}

.mod-row-summary {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto 34px;
  gap: 18px;
  align-items: center;
  min-height: 132px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}

.mod-row-summary::-webkit-details-marker {
  display: none;
}

.mod-row-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(229, 47, 47, 0.32);
  border-radius: 8px;
  background: rgba(229, 47, 47, 0.16);
  color: #fff6f6;
  font-weight: 900;
}

.mod-row-icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.mod-row-main h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.mod-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mod-row-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(237, 245, 237, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #c8d1ca;
  font-size: 0.78rem;
  font-weight: 800;
}

.mod-row-actions {
  display: flex;
  gap: 10px;
}

.mod-row-actions .button {
  position: relative;
  z-index: 2;
}

.mod-row-chevron {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 1.25rem;
  transition: transform 160ms ease;
}

.account-mod-row[open] .mod-row-chevron {
  transform: rotate(180deg);
}

.mod-row-details {
  display: grid;
  gap: 26px;
  padding: 22px 20px 24px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.mod-row-details ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: #d8e0da;
  line-height: 1.6;
}

.mod-row-details pre {
  overflow-x: auto;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #070909;
  color: #f5eeee;
  line-height: 1.5;
}

.download-button,
.receipt-button {
  min-height: 42px;
}

.slim-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 22, 24, 0.92);
  padding: 22px;
}

.slim-panel p {
  color: #c2cec6;
  line-height: 1.65;
}

.review-form {
  display: grid;
  gap: 18px;
  max-width: 760px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 22, 24, 0.92);
}

.rating-field {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.rating-field legend,
.review-form label {
  color: #f5eeee;
  font-weight: 900;
}

.rating-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rating-options label {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(237, 245, 237, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.rating-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rating-options label:has(input:checked) {
  border-color: rgba(255, 202, 106, 0.55);
  background: rgba(255, 202, 106, 0.12);
}

.rating-options span {
  color: var(--gold);
  white-space: nowrap;
}

.rating-options small {
  color: var(--muted);
  font-weight: 900;
}

.review-form > label {
  display: grid;
  gap: 8px;
  color: #f5eeee;
  font-weight: 900;
}

.review-form > label input,
.review-form textarea {
  width: 100%;
  border: 1px solid rgba(237, 245, 237, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  line-height: 1.5;
  outline: none;
  padding: 12px 14px;
}

.review-form > label input:focus,
.review-form textarea:focus {
  border-color: rgba(229, 47, 47, 0.55);
}

.review-form textarea {
  resize: vertical;
}

.review-form .button {
  justify-self: start;
}

.form-message {
  margin-bottom: 18px;
  max-width: 760px;
  padding: 14px 16px;
  border: 1px solid rgba(237, 245, 237, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.form-message p {
  margin: 0;
  color: #c2cec6;
}

.form-message.is-error {
  border-color: rgba(229, 47, 47, 0.42);
  background: rgba(229, 47, 47, 0.14);
}

.account-section-copy {
  max-width: 780px;
  margin: -4px 0 22px;
  color: #c2cec6;
  line-height: 1.65;
}

.update-list {
  display: grid;
  gap: 14px;
}

.account-updates-page .update-list {
  grid-template-columns: 1fr;
}

.update-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 22, 24, 0.92);
  overflow: hidden;
}

.update-card-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 34px;
  gap: 18px;
  align-items: center;
  min-height: 118px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}

.update-card-summary::-webkit-details-marker {
  display: none;
}

.update-card-title {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.update-card[open] .mod-row-chevron {
  transform: rotate(180deg);
}

.update-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.update-card-details {
  display: grid;
  gap: 18px;
  padding: 20px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.update-release-heading {
  display: grid;
  gap: 4px;
}

.update-release-heading .eyebrow {
  margin-bottom: 0;
}

.update-card-details p {
  max-width: 860px;
  margin: 0;
  color: #c2cec6;
  line-height: 1.65;
}

.update-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(229, 47, 47, 0.42);
  border-radius: 999px;
  background: rgba(229, 47, 47, 0.15);
  color: #fff2f2;
  font-size: 0.76rem;
  font-weight: 900;
}

.update-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.update-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(237, 245, 237, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #c8d1ca;
  font-size: 0.78rem;
  font-weight: 800;
}

.update-details {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.update-details strong {
  display: block;
  margin-bottom: 10px;
  color: #f0f7f0;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.update-details ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: #c2cec6;
}

.update-download-link {
  justify-self: start;
  min-height: 40px;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

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

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

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

  .product-detail-art {
    min-height: 360px;
  }

  .account-sidebar {
    position: static;
    width: auto;
  }

  .account-main {
    margin-left: 0;
  }

  .account-sidebar nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .account-sidebar nav span {
    grid-column: 1 / -1;
  }

  .account-sidebar-user {
    display: none;
  }

  .account-mod-row {
    display: block;
  }

  .mod-row-summary {
    grid-template-columns: 76px minmax(0, 1fr) 34px;
  }

  .mod-row-actions {
    grid-column: 1 / -1;
  }

  .update-card-summary {
    grid-template-columns: minmax(0, 1fr) 34px;
  }

  .update-card-summary .update-status {
    grid-column: 1 / -1;
    justify-self: start;
  }

}

@media (max-width: 680px) {
  .site-header {
    align-items: stretch;
  }

  .brand,
  .header-actions,
  .nav-links {
    min-width: 0;
    width: 100%;
    justify-content: space-between;
  }

  .nav-links {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 2px;
  }

  .hero {
    padding-top: 32px;
  }

  h1 {
    font-size: clamp(2.15rem, 12vw, 3.3rem);
  }

  .stats,
  .product-grid,
  .review-grid,
  .account-updates-page .update-list {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .shop-heading,
  .support {
    display: block;
  }

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

  .support .button {
    width: 100%;
    margin-top: 18px;
  }

  .site-footer,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .account-topbar,
  .account-section-heading {
    display: block;
  }

  .account-topbar .button {
    margin-top: 16px;
    width: 100%;
  }

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

  .account-mod-row {
    display: block;
  }

  .mod-row-summary {
    grid-template-columns: 1fr;
  }

  .mod-row-actions {
    display: grid;
  }

  .update-card-summary,
  .update-card-title {
    grid-template-columns: 1fr;
  }
}
