:root {
  --release-version: 1;
  --accent: #b0ef83;
  --accent-hover: #c7ffa5;
  --accent-ink: #142311;
  --accent-soft: #203522;
  --orange: var(--accent);
  --orange-dark: var(--accent);
  --ink: #eef2ec;
  --muted: #a1aea1;
  --line: #2b362d;
  --bg: #101411;
  --panel: #191f1a;
  --nav: 250px;
  color-scheme: dark;
}
html[data-theme="crimson"] {
  --accent: #ff8886;
  --accent-hover: #ffaaa6;
  --accent-ink: #30100f;
  --accent-soft: #3b2323;
  --bg: #151112;
  --panel: #21191b;
  --line: #3b2c2f;
  --muted: #bda4a8;
}
body {
  font-size: 14px;
  background:
    radial-gradient(ellipse at 85% 0%, var(--accent-soft), transparent 42rem),
    var(--bg);
}
a,
button,
input,
textarea,
select {
  transition:
    background 0.18s,
    border-color 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
a:hover {
  color: var(--accent-hover);
}
button,
.button {
  color: var(--accent-ink);
  border-radius: 10px;
  background: var(--accent);
  font-size: 13px;
  font-weight: 700;
  min-height: 42px;
}
button:hover,
.button:hover {
  background: var(--accent-hover);
  color: var(--accent-ink);
  box-shadow: 0 4px 22px #0002;
}
button:active,
.button:active {
  transform: translateY(1px);
}
.button.outline,
.secondary,
.outline {
  background: var(--panel);
  color: var(--ink);
  border-color: var(--line);
}
.outline:hover,
.secondary:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--ink);
}
.subtle {
  background: transparent;
  color: var(--muted);
  border: 0;
}
.subtle:hover {
  background: var(--accent-soft);
  color: var(--accent);
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
.topbar {
  background: color-mix(in srgb, var(--bg) 93%, transparent);
  backdrop-filter: blur(16px);
  min-height: 76px;
  padding: 15px 28px;
  border-color: var(--line);
}
.brand-row,
.brand,
.top-actions,
.user-pill,
.wallet-link {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand {
  font-size: 20px;
  letter-spacing: 0.02em;
}
.brand small {
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.brand img {
  filter: drop-shadow(0 3px 9px #0003);
}
.top-caption {
  color: var(--muted);
  font-size: 12px;
  margin-left: 24px;
  margin-right: auto;
}
.top-actions {
  gap: 18px;
  flex-wrap: nowrap;
}
.top-actions > a:not(.button) {
  font-size: 12px;
}
.user-pill {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--ink);
}
.wallet-link .icon {
  color: var(--accent);
}
.sidebar {
  top: 77px;
  background: var(--bg);
  padding: 20px 14px;
  z-index: 15;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 0.17em;
  color: #8c9b8e;
  margin: 18px 14px 10px;
}
.sidebar > a {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--muted);
  font-size: 12px;
  padding: 11px 14px;
  border: 1px solid transparent;
  border-radius: 9px;
}
.sidebar > a .icon {
  width: 18px;
  height: 18px;
}
.sidebar > a:hover {
  background: var(--panel);
  color: var(--ink);
}
.sidebar > a.selected {
  border: 1px solid #9ee17425;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
.creator-callout {
  margin: 30px 8px 15px;
  padding: 19px 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(145deg, var(--accent-soft), var(--panel));
}
.creator-callout > .icon {
  display: block;
  color: var(--accent);
  margin-bottom: 12px;
}
.creator-callout strong {
  display: block;
  font-size: 13px;
}
.creator-callout p {
  font-size: 11px;
  color: var(--muted);
  margin: 7px 0 12px;
}
.creator-callout a {
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu-toggle,
.mobile-brand {
  display: none;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px;
  background: var(--panel);
}
.skip-link:focus {
  top: 8px;
}
.workspace {
  padding: 34px 38px;
  max-width: 1800px;
  min-height: calc(100vh - 175px);
}
h1 {
  font-size: clamp(28px, 3.6vw, 47px);
  line-height: 1.17;
  letter-spacing: -0.045em;
  font-weight: 700;
}
h2 {
  font-size: 20px;
}
h3 {
  font-size: 16px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.17em;
  font-weight: 600;
}
.market-hero {
  padding: 25px 0 32px;
  display: flex;
  gap: 25px;
  justify-content: space-between;
  align-items: center;
}
.market-hero p {
  color: var(--muted);
  max-width: 510px;
  font-size: 13px;
  line-height: 1.85;
  margin-bottom: 20px;
}
.market-hero h1 em {
  color: var(--accent);
  font-style: normal;
}
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-emblem {
  position: relative;
  flex-shrink: 0;
  width: 220px;
  height: 210px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.hero-emblem:before {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid var(--line);
  transform: rotate(25deg);
  border-radius: 38px;
  animation: emblem-drift 8s ease-in-out infinite;
}
.hero-emblem:after {
  content: "";
  position: absolute;
  inset: 35px;
  background: radial-gradient(var(--accent-soft), transparent 70%);
  border: 1px solid var(--line);
  border-radius: 28px;
  transform: rotate(-12deg);
  z-index: -1;
}
.hero-emblem > img {
  width: 95px;
  height: 95px;
  transform: rotate(-8deg);
  filter: drop-shadow(0 16px 30px #0007);
}
.mini-tag {
  position: absolute;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 10px;
  box-shadow: 0 12px 28px #0003;
}
.mini-tag:first-of-type {
  left: -4px;
  top: 23px;
}
.mini-tag:last-of-type {
  right: -5px;
  bottom: 19px;
  color: var(--accent);
}
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  padding: 15px 0;
  margin-bottom: 30px;
  font-size: 11px;
  color: var(--muted);
}
.trust-strip span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-strip .icon {
  width: 16px;
  color: var(--accent);
}
.section-title {
  margin-bottom: 18px;
}
.section-title h2 {
  font-size: 21px;
}
.searchbar {
  background: var(--panel);
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 16px;
  gap: 8px;
}
.searchbar input,
.searchbar select {
  background: transparent;
  border: 0;
}
.searchbar button {
  flex-shrink: 0;
}
.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.filter-chips > a {
  font-size: 11px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  padding: 7px 12px;
  border-radius: 7px;
}
.filter-chips > a.active {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: var(--accent);
}
.resource-grid {
  gap: 20px;
}
.resource-card {
  background: var(--panel);
  border-color: var(--line);
  border-radius: 14px;
}
.resource-card:hover {
  border-color: #7b9f67;
  box-shadow: 0 14px 26px #0003;
  transform: translateY(-4px);
}
.resource-cover {
  background: var(--accent-soft);
}
.resource-placeholder {
  position: relative;
  background:
    radial-gradient(ellipse at 90% 10%, #546d3b45, transparent 70%),
    linear-gradient(135deg, #1e3226, #13251b);
  border-bottom: 0;
  padding: 22px;
}
.resource-card:nth-child(3n + 2) .resource-placeholder {
  background:
    radial-gradient(ellipse at 80% 15%, #ba914245, transparent 70%),
    linear-gradient(135deg, #322b1d, #211e16);
}
.resource-card:nth-child(3n + 3) .resource-placeholder {
  background:
    radial-gradient(ellipse at 80% 15%, #9685e445, transparent 70%),
    linear-gradient(135deg, #282638, #1a1c28);
}
.resource-placeholder:after {
  content: "";
  position: absolute;
  right: 25px;
  bottom: -35px;
  width: 140px;
  height: 140px;
  border: 1px solid #fff1;
  border-radius: 25px;
  transform: rotate(30deg);
  pointer-events: none;
}
.resource-placeholder small {
  color: #c5dabb;
  font-size: 9px;
}
.resource-placeholder strong {
  font-size: 23px;
  max-width: 90%;
  z-index: 1;
}
.resource-placeholder span {
  color: #c0cbbd;
  font-size: 10px;
}
.resource-body {
  padding: 19px;
}
.resource-body h3 {
  font-size: 15px;
  margin: 5px 0 9px;
}
.resource-body p {
  font-size: 12px;
  line-height: 1.8;
}
.resource-bottom {
  padding-top: 13px;
}
.resource-bottom span {
  font-size: 11px;
}
.resource-bottom strong {
  font-size: 16px;
  color: var(--accent);
}
.category {
  font-size: 10px;
  color: var(--accent);
  font-weight: 500;
}
.panel,
.stat {
  background: var(--panel);
  border-color: var(--line);
  border-radius: 13px;
}
input,
textarea,
select,
input[type="file"] {
  background: var(--bg);
  border-color: var(--line);
  color: var(--ink);
  font-size: 13px;
  border-radius: 8px;
}
input::placeholder,
textarea::placeholder {
  color: #718074;
  opacity: 1;
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px #9ce07b15;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
label {
  font-size: 12px;
  color: #d1dcd1;
}
label small,
small {
  font-size: 11px;
}
input[type="file"]::file-selector-button {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 7px 10px;
  margin-right: 10px;
  cursor: pointer;
}
.notice {
  background: #223125;
  border-color: #41513b;
  color: #d1e8c3;
  font-size: 12px;
}
.notice.danger {
  background: #382224;
  border-color: #73403e;
  color: #ffb6ad;
}
.empty {
  border-color: var(--line);
  font-size: 13px;
}
.badge {
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 10px;
}
th {
  background: var(--bg);
  font-size: 11px;
}
td {
  font-size: 12px;
}
.positive {
  color: #ace581;
}
.negative {
  color: #ffaba5;
}
.pagination a {
  background: var(--panel);
}
.pagination a.active {
  background: var(--accent);
  color: var(--accent-ink);
}
.detail-cover {
  background: var(--bg);
}
.rank-card {
  position: relative;
  overflow: hidden;
  border-top-width: 1px;
  padding-top: 25px;
}
.rank-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: var(--rank-color, var(--accent));
  box-shadow: 0 0 25px 3px var(--rank-color, var(--accent));
  opacity: 0.6;
}
.rank-gold {
  --rank-color: #f2cd76;
}
.rank-pro {
  --rank-color: #a7dacd;
}
.rank-ultra {
  --rank-color: #c2a3ff;
}
.rank-free {
  --rank-color: #b8c5b9;
}
.rank-badge {
  display: inline-flex;
  position: relative;
  isolation: isolate;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--rank-color) 35%, transparent);
  color: var(--rank-color);
  background: color-mix(in srgb, var(--rank-color) 8%, var(--bg));
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}
.rank-badge .icon {
  width: 14px;
  height: 14px;
}
.rank-badge:not(.rank-free):after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    #ffffff28 48%,
    transparent 61%
  );
  transform: translateX(-120%);
  animation: rank-shine 6s ease-in-out infinite;
  z-index: -1;
}
.rank-ultra.rank-badge .icon {
  animation: rank-spark 4s ease-in-out infinite;
}
.rank-pro.rank-badge:after {
  animation-delay: 1.5s;
}
.rank-large {
  padding: 10px 15px;
  font-size: 12px;
  margin-bottom: 20px;
  border-radius: 10px;
}
.rank-large .icon {
  width: 24px;
  height: 24px;
}
.rank-number {
  font-size: 39px;
}
.rank-card h2 {
  font-size: 25px;
}
.rank-card ul {
  font-size: 12px;
  color: var(--muted);
  min-height: 180px;
}
.job-card {
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.job-card:hover {
  transform: translateY(-3px);
}
.job-card p {
  font-size: 12px;
  white-space: pre-line;
}
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 11px;
  padding: 24px 38px;
}
.footer > div,
.footer nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer span {
  margin-left: 6px;
}
.footer a {
  color: var(--muted);
}
.auth-dialog {
  padding: 0;
  border: 1px solid #40513c;
  border-radius: 23px;
  background: var(--panel);
  color: var(--ink);
  width: min(910px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  box-shadow: 0 32px 160px #0009;
}
.auth-dialog::backdrop {
  background: #050a07b8;
  backdrop-filter: blur(9px);
}
.auth-dialog[open] {
  animation: dialog-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.auth-shell {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  min-height: 550px;
}
.auth-art {
  padding: 36px 30px;
  background:
    radial-gradient(ellipse at 30% 55%, #36573570, transparent 70%), #132419;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.auth-art > .eyebrow {
  margin-top: 27px;
  font-size: 8px;
  color: #a4c496;
}
.auth-art h2 {
  font-size: 31px;
  line-height: 1.25;
  letter-spacing: -0.045em;
  color: #edf4e8;
  margin-bottom: 14px;
}
.auth-art p {
  font-size: 11px;
  line-height: 1.85;
  color: #a7bba4;
}
.auth-perks {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: #dfeddb;
  padding-top: 20px;
  border-top: 1px solid #ffffff14;
}
.auth-perks > .icon {
  color: #b0ef83;
}
.auth-perks small {
  color: #9db49a;
  font-size: 9px;
}
.orbital {
  position: relative;
  height: 155px;
  flex: 1;
  min-height: 135px;
  display: grid;
  place-items: center;
}
.orbit {
  position: absolute;
  width: 165px;
  height: 165px;
  border: 1px solid #aee57b27;
  border-radius: 50%;
  transform: rotateX(60deg) rotateZ(30deg);
}
.orbit-two {
  width: 125px;
  height: 125px;
  transform: rotateX(30deg) rotateY(60deg);
}
.orbit-one:after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c3fa98;
  top: 25px;
  left: 12px;
  box-shadow: 0 0 22px #b0ef8370;
}
.orbit-core {
  width: 72px;
  height: 72px;
  border-radius: 23px;
  background: linear-gradient(135deg, #31552b, #1e3620);
  border: 1px solid #92c07440;
  color: #b0ef83;
  display: grid;
  place-items: center;
  transform: rotate(-12deg);
  animation: emblem-drift 7s ease-in-out infinite;
  box-shadow: 0 16px 30px #0003;
}
.orbit-core .icon {
  width: 37px;
  height: 37px;
}
.auth-form {
  position: relative;
  padding: 37px 37px 26px;
  align-self: center;
}
.auth-form h2 {
  font-size: 26px;
  letter-spacing: -0.035em;
  margin-bottom: 7px;
}
.auth-subtitle {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 22px;
}
.auth-tabs {
  display: flex;
  gap: 5px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 25px;
  max-width: 270px;
}
.auth-tabs a {
  flex: 1;
  text-align: center;
  padding: 8px;
  color: var(--muted);
  font-size: 11px;
  border-radius: 7px;
}
.auth-tabs a.active {
  background: var(--accent-soft);
  color: var(--accent);
}
.auth-form .dialog-close {
  width: 30px;
  min-height: 30px;
  padding: 6px;
  position: absolute;
  right: 12px;
  top: 10px;
}
.auth-view {
  gap: 14px;
}
.auth-view > p {
  font-size: 12px;
  color: var(--muted);
}
.password-field {
  display: flex;
  position: relative;
}
.password-field input {
  padding-right: 48px;
  min-width: 0;
}
.auth-form .password-toggle,
.password-toggle {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  min-height: 0;
  padding: 7px;
  background: transparent;
  color: var(--muted);
  border: 0;
  box-shadow: none;
}
.password-toggle[aria-pressed="true"] {
  color: var(--accent);
  background: var(--accent-soft);
}
.password-toggle .icon {
  width: 18px;
  height: 18px;
}
.auth-form .auth-submit {
  width: 100%;
  justify-content: space-between;
  margin-top: 4px;
  padding: 13px 17px;
  min-height: 47px;
}
.forgot-link {
  font-size: 10px;
  text-align: right;
  margin-top: -4px;
}
.auth-foot {
  display: flex;
  gap: 9px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 17px;
  margin-top: 25px;
  color: var(--muted);
}
.auth-foot .icon {
  width: 16px;
}
.auth-foot small {
  font-size: 9px;
}
.auth-form .notice {
  font-size: 11px;
  padding: 11px;
  margin-bottom: 15px;
}
.otp-input {
  font-size: 27px;
  letter-spacing: 0.45em;
  text-align: center;
  font-weight: 600;
  padding-left: 24px;
}
.otp-passwords {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.resend-form {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 10px;
}
.auth-form .resend-form button {
  width: auto;
  font-size: 10px;
  padding: 5px 0;
}
.login-backdrop {
  text-align: center;
  max-width: 650px;
  margin: 90px auto;
}
.login-backdrop p {
  color: var(--muted);
}
body.modal-open {
  overflow: hidden;
}
.network-hero {
  padding: 40px 0 30px;
  text-align: center;
  max-width: 800px;
  margin: auto;
}
.network-hero h1 {
  font-size: clamp(34px, 4.5vw, 63px);
}
.network-hero p {
  color: var(--muted);
}
.server-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 26px;
}
.server-card {
  padding: 32px;
  background: linear-gradient(140deg, var(--accent-soft), var(--panel));
  border: 1px solid var(--line);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.server-card h2 {
  font-size: 31px;
  margin-top: 18px;
}
.server-card p {
  font-size: 13px;
  color: var(--muted);
}
.server-card code {
  display: block;
  margin: 22px 0;
  font-size: 21px;
  color: var(--accent);
}
.server-card > .icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
}
.server-number {
  position: absolute;
  right: 26px;
  top: 5px;
  font-size: 108px;
  font-weight: 800;
  color: #ffffff04;
  line-height: 1.4;
}
.server-card.minigame {
  background: linear-gradient(140deg, #28273c, var(--panel));
}
.reviews-list {
  display: grid;
  gap: 18px;
}
.review-item {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.review-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.review-head small {
  margin-left: auto;
}
.review-item p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
}
.review-reply {
  background: var(--bg);
  border-left: 2px solid var(--accent);
  padding: 15px;
  border-radius: 0 8px 8px 0;
  margin-top: 15px;
}
.stars {
  display: inline-flex;
  gap: 2px;
  color: #e8cd82;
}
.stars .icon {
  width: 15px;
  height: 15px;
  fill: currentColor;
}
.stars .star-empty {
  fill: none;
  opacity: 0.3;
}
.profile-hero {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.avatar {
  width: 75px;
  height: 75px;
  border: 1px solid var(--line);
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 28px;
  font-weight: 700;
}
.policy-copy {
  max-width: 920px;
}
.policy-copy h2 {
  margin-top: 27px;
}
.policy-copy p,
.policy-copy li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}
.review-score {
  font-size: 34px;
  font-weight: 700;
}
.reveal {
  animation: reveal-in 0.45s ease-out both;
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes rank-shine {
  0%,
  62% {
    transform: translateX(-120%);
  }
  90%,
  100% {
    transform: translateX(120%);
  }
}
@keyframes rank-spark {
  0%,
  100% {
    filter: drop-shadow(0 0 0 transparent);
  }
  50% {
    filter: drop-shadow(0 0 5px #c2a3ff90);
  }
}
@keyframes emblem-drift {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}
@keyframes reveal-in {
  from {
    opacity: 0.3;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1550px) {
  .resource-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1200px) {
  .top-caption {
    display: none;
  }
  .workspace {
    padding: 28px;
  }
  .rank-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-emblem {
    width: 180px;
  }
  .top-actions {
    gap: 11px;
  }
  .top-actions > .rank-badge {
    display: none;
  }
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  :root {
    --nav: 220px;
  }
  .brand small {
    display: none;
  }
  .top-actions .wallet-link {
    font-size: 11px;
  }
  .workspace {
    padding: 22px;
  }
  .hero-emblem {
    display: none;
  }
  .detail-grid,
  .two-col {
    grid-template-columns: 1fr;
  }
  .server-card {
    padding: 23px;
  }
  .server-card code {
    font-size: 17px;
  }
  .footer {
    padding: 24px;
  }
  .footer span {
    display: none;
  }
}
@media (max-width: 760px) {
  .topbar {
    padding: 12px 16px;
    min-height: 69px;
  }
  .brand {
    font-size: 17px;
    gap: 7px;
  }
  .brand > img {
    width: 34px;
    height: 34px;
  }
  .menu-toggle {
    display: inline-flex;
    min-height: 34px;
    padding: 5px;
  }
  .sidebar {
    position: fixed;
    top: 69px;
    bottom: 0;
    width: 260px;
    transform: translateX(-105%);
    transition: transform 0.23s ease;
    box-shadow: 10px 0 30px #0005;
    display: block;
    overflow: auto;
  }
  .sidebar.is-open {
    transform: translateX(0);
  }
  .workspace,
  .footer {
    margin-left: 0;
  }
  .workspace {
    padding: 20px;
  }
  .top-actions {
    gap: 10px;
  }
  .top-actions > .button {
    font-size: 10px;
    min-height: 36px;
    padding: 9px;
  }
  .top-actions > a:not(.button) {
    font-size: 10px;
  }
  .top-actions .user-pill {
    max-width: 115px;
    overflow: hidden;
    padding: 6px;
    font-size: 10px;
  }
  .top-actions .user-pill .icon,
  .top-actions form {
    display: none;
  }
  .market-hero {
    padding-top: 16px;
  }
  .market-hero h1 {
    font-size: 38px;
  }
  .trust-strip {
    gap: 12px;
    font-size: 10px;
  }
  .searchbar {
    flex-wrap: wrap;
  }
  .searchbar input {
    width: 100%;
    flex-basis: 100%;
  }
  .searchbar select {
    flex: 1;
    max-width: none;
  }
  .searchbar button {
    padding: 10px 16px;
  }
  .auth-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .auth-art {
    display: none;
  }
  .auth-dialog {
    width: min(460px, calc(100% - 24px));
    border-radius: 18px;
    max-height: calc(100dvh - 24px);
  }
  .auth-form {
    padding: 30px 24px 22px;
  }
  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 20px;
  }
  .auth-form h2 {
    font-size: 24px;
  }
  .auth-tabs {
    max-width: none;
  }
  .job-grid,
  .server-grid {
    grid-template-columns: 1fr;
  }
  .server-card {
    padding: 28px;
  }
  .network-hero {
    padding: 20px 0;
  }
  .footer {
    gap: 14px;
    padding: 20px;
  }
  .footer nav {
    gap: 9px;
  }
  .auth-form .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
@media (max-width: 460px) {
  .resource-grid {
    grid-template-columns: 1fr;
  }
  .resource-cover {
    aspect-ratio: 1.9;
  }
  .workspace {
    padding: 17px;
  }
  .top-actions .wallet-link {
    display: none;
  }
  .brand {
    font-size: 16px;
  }
  .brand-row {
    gap: 3px;
  }
  .rank-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .section-title h2 {
    font-size: 18px;
  }
  .section-title .button {
    font-size: 10px;
    padding: 9px;
  }
  .panel {
    padding: 20px;
  }
  .trust-strip span {
    font-size: 9px;
  }
  .auth-form {
    padding: 28px 20px 20px;
  }
  .auth-form .check {
    font-size: 10px;
  }
  .market-hero h1 {
    font-size: 33px;
  }
  .topbar {
    gap: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Resource history, reviews and account administration. */
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  align-items: start;
}
.product-layout > article,
.product-layout > aside {
  min-width: 0;
}
.product-layout > aside {
  position: sticky;
  top: 98px;
}
.product-layout .detail-cover {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 24px;
}
.release-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.release-row:last-child {
  border-bottom: 0;
}
.release-row h3 {
  margin: 0 0 8px;
}
.release-row p {
  margin: 8px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.rating-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  margin: 16px 0;
}
.rating-picker label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin: 0;
}
.rating-picker input {
  width: auto;
}
.rating-picker span,
.stars {
  color: #e9c86f;
  font-size: 19px;
  letter-spacing: 2px;
}
.rating-picker input:checked + span {
  color: var(--accent);
}
.star-empty {
  opacity: 0.45;
}
.resource-author {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}
.resource-author .rank-badge {
  font-size: 10px;
}
.resource-author .rank-badge .icon {
  width: 12px;
  height: 12px;
}
.resource-card .resource-bottom {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.nav-categories {
  margin: 14px 0;
}
.nav-categories summary {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 8px 14px;
}
.nav-categories a {
  font-size: 12px;
  padding: 8px 14px;
}
.security-panel {
  max-width: 800px;
}
.setup-secret {
  display: block;
  word-break: break-all;
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 12px;
  color: var(--accent);
  margin: 20px 0;
  font-size: 18px;
  letter-spacing: 2px;
}
.recovery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.recovery-grid code {
  overflow-wrap: anywhere;
  padding: 12px;
  background: var(--bg);
  border-radius: 8px;
}
.hash-value,
.log-value {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.log-value {
  max-width: 500px;
  white-space: pre-wrap;
}
.scan-summary small {
  line-height: 1.7;
}
.prose p {
  white-space: normal;
  line-height: 1.85;
}
.prose h2 {
  margin-top: 30px;
}
.prose h2:first-child {
  margin-top: 0;
}
.turnstile-slot {
  margin: 14px 0;
  min-height: 0;
  max-width: 100%;
}
.searchbar {
  flex-wrap: wrap;
}
.searchbar input {
  min-width: 160px;
}
.searchbar select {
  max-width: 100%;
}
.video-wrap {
  aspect-ratio: 16/9;
}
.video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}
.notice {
  white-space: pre-line;
}
.animated-name {
  animation: nameGlow 3s ease-in-out infinite;
}
@keyframes nameGlow {
  0%,
  100% {
    filter: brightness(1);
    text-shadow: none;
  }
  50% {
    filter: brightness(1.35);
    text-shadow: 0 0 12px currentColor;
  }
}
@media (max-width: 1100px) {
  .product-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-layout > aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}
@media (max-width: 650px) {
  .product-layout > aside {
    display: block;
  }
  .release-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .recovery-grid {
    grid-template-columns: 1fr;
  }
  .rating-picker {
    gap: 10px;
    padding: 12px;
  }
  .rating-picker label {
    font-size: 12px;
  }
  .rating-picker span {
    font-size: 14px;
  }
  .searchbar {
    display: flex;
    flex-direction: column;
  }
  .searchbar input,
  .searchbar select,
  .searchbar button {
    width: 100%;
  }
  .profile-hero h1 {
    font-size: 30px;
  }
  .panel {
    overflow-wrap: anywhere;
  }
  .table-wrap {
    max-width: 100%;
    overflow-x: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .animated-name {
    animation: none;
  }
}
.sidebar .nav-categories a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  color: var(--muted);
  border-radius: 8px;
  line-height: 1.5;
}
.sidebar .nav-categories a .icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.sidebar .nav-categories a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

/* SMPVN extended marketplace layout */
.global-ticker { top: 76px; }
.sidebar { top: 114px; }
.product-layout > aside { top: 132px; }
@media (max-width: 900px) {
  .global-ticker { position: relative; top: auto; }
  .sidebar { top: auto; }
  .product-layout > aside { top: auto; }
}
@media (max-width: 760px) {
  .sidebar { top: 107px; }
}

/* QR bank transfer — white VietQR style */
.deposit-classic-shell{
  width:100%;
  max-width:1040px;
  margin:22px auto 34px;
}
.deposit-classic-card{
  display:grid;
  grid-template-columns:310px minmax(0,1fr);
  column-gap:32px;
  align-items:center;
  width:100%;
  padding:22px;
  border:1px solid #e1e5ea;
  border-radius:14px;
  background:#fff;
  color:#3e4650;
  box-shadow:0 6px 26px rgba(14,24,38,.08);
  overflow:hidden;
}
.deposit-classic-qr{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-width:0;
  padding:10px;
  border:1px solid #e2e6ea;
  border-radius:10px;
  background:#fff;
}
.deposit-classic-card .deposit-classic-qr img{
  display:block !important;
  width:100% !important;
  max-width:288px !important;
  height:auto !important;
  max-height:none !important;
  margin:0 auto !important;
  border:0 !important;
  border-radius:0 !important;
  object-fit:contain !important;
  background:#fff !important;
}
.deposit-classic-info{
  position:relative;
  z-index:1;
  min-width:0;
  padding:2px 4px;
  color:#424a53;
}
.deposit-classic-status{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:5px 10px;
  border-radius:8px;
  background:#fff5d7;
  color:#8b6500;
  font-size:12px;
  font-weight:800;
}
.deposit-classic-amount{
  margin:10px 0 22px;
  color:#e95416;
  font-size:36px;
  line-height:1.08;
  font-weight:850;
  letter-spacing:-.03em;
}
.deposit-classic-details{
  display:block;
  margin:0;
  padding:0;
}
.deposit-classic-details>div{
  display:flex;
  align-items:baseline;
  gap:6px;
  margin:0;
  padding:8px 0;
}
.deposit-classic-details dt,
.deposit-classic-details dd{
  margin:0;
  padding:0;
  font-size:15px;
  line-height:1.45;
}
.deposit-classic-details dt{
  flex:0 0 auto;
  color:#59616b;
  font-weight:500;
}
.deposit-classic-details dd{
  min-width:0;
  color:#313943;
  font-weight:800;
  overflow-wrap:anywhere;
}
.deposit-classic-details .deposit-classic-content{
  color:#e95416;
}
.deposit-copy{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:auto !important;
  min-width:0 !important;
  min-height:0 !important;
  margin:0 0 0 8px !important;
  padding:4px 8px !important;
  border:0 !important;
  border-radius:6px !important;
  background:#f2f4f6 !important;
  color:#65707b !important;
  box-shadow:none !important;
  font-size:12px !important;
  line-height:1.3 !important;
  font-weight:750 !important;
}
.deposit-copy:hover{
  background:#e8ebee !important;
  color:#303841 !important;
  transform:none !important;
}
.deposit-classic-countdown{
  margin:16px 0 0;
  color:#313943;
  font-size:15px;
  font-weight:700;
}
.deposit-classic-help{
  margin:12px 0 0;
  max-width:620px;
  color:#747d87;
  font-size:13px;
  line-height:1.55;
}
.deposit-classic-back{
  display:inline-block;
  margin-top:14px;
  color:#e95416;
  font-size:13px;
  font-weight:750;
}
@media(max-width:760px){
  .deposit-classic-shell{margin:14px auto 24px}
  .deposit-classic-card{
    grid-template-columns:1fr;
    row-gap:20px;
    padding:16px;
  }
  .deposit-classic-qr{max-width:340px;margin:0 auto}
  .deposit-classic-card .deposit-classic-qr img{max-width:315px !important}
  .deposit-classic-info{padding:0 2px}
  .deposit-classic-amount{font-size:32px;margin-bottom:16px}
  .deposit-classic-details>div{flex-wrap:wrap;padding:6px 0}
}
