:root {
  color-scheme: dark;
  --bg: #000;
  --panel: #070809;
  --panel-2: #0c0d0f;
  --panel-3: #111214;
  --line: #222326;
  --line-2: #34363a;
  --line-3: #4a4c50;
  --ink: #f0f0f0;
  --ink-2: #c5c6c8;
  --ink-3: #919397;
  --ink-4: #6b6d72;
  --ink-5: #4a4c50;
  --up: #8ee6a8;
  --down: #ff6b6b;
  --warn: #e6c36a;
  --off: #8a8d92;
  --silver: linear-gradient(174deg, #d4d4d6 0%, #cecfd2 30%, #c9cbcf 51%, #bfc2c7 57%, #ccced2 82%, #d4d4d6 100%);
  --font: Arial, Helvetica, sans-serif;
  --mono: 'Courier New', Courier, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-width: 280px; background: var(--bg); color: var(--ink); }
body {
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; }
::selection { background: #844d40; color: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 1px solid #d5d6d8;
  outline-offset: 3px;
}

.search-input:focus, .search-input:focus-visible,
textarea:focus, textarea:focus-visible,
.acct-block textarea:focus-visible { outline: none; outline-offset: 0; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #2b2c2f; border: 2px solid #050505; }
::-webkit-scrollbar-thumb:hover { background: #45474b; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s, backdrop-filter .25s;
}
.site-header.scrolled {
  background: rgba(0, 0, 0, .78);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
}
.nav {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  height: 68px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  letter-spacing: .3px;
  white-space: nowrap;
}
.brand img { width: 31px; height: 24px; flex: none; }
.brand-suffix { color: var(--ink-4); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.nav-link {
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: .1px;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .18s, border-color .18s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--ink); border-bottom-color: #6f7175; }
.nav-discord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 11px var(--mono);
  color: var(--ink-2);
  border: 1px solid var(--line-2);
  background: #0d0e10b8;
  padding: 9px 13px;
  transition: border-color .18s, background .18s;
  white-space: nowrap;
}
.nav-discord:hover { border-color: #828486; background: #1a1b1d; }
.nav-discord svg { width: 13px; height: 13px; }
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-2);
  background: #0d0e10b8;
  color: var(--ink-2);
  transition: border-color .18s, color .18s, background .18s;
}
.cart-btn:hover { border-color: #828486; color: #fff; background: #1a1b1d; }
.badge-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  background: #ededed;
  color: #050505;
  font: 700 10px/1 var(--mono);
}
.nav-auth {
  border: 1px solid var(--line-2);
  background: #101112b8;
  color: var(--ink);
  font: 12px var(--mono);
  padding: 10px 15px;
  transition: border-color .18s, background .18s;
}
.nav-auth:hover { border-color: #828486; background: #1a1b1d; }

.account-slot { position: relative; }
.account-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: #c2c5ca;
  padding: 4px 6px 4px 4px;
  font: 13px var(--font);
  transition: color .18s;
}
.account-btn:hover, .account-slot:hover .account-btn { color: #fff; }
.account-avatar {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #5d4d42;
  border-radius: 50%;
  background: linear-gradient(150deg, #342a22, #161616);
  color: #ddc4a4;
  font: 14px var(--mono);
}
.account-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.account-btn .chev { width: 13px; height: 13px; color: #858c96; transition: transform .2s; }
.account-slot:hover .account-btn .chev, .account-slot.open .account-btn .chev { transform: rotate(180deg); }
.account-menu {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  width: 184px;
  padding: 5px;
  background: #08090a;
  border: 1px solid var(--line-2);
  box-shadow: 0 18px 50px #000c;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .16s, transform .16s, visibility .16s;
  z-index: 90;
}
.account-slot:hover .account-menu,
.account-slot:focus-within .account-menu,
.account-menu:hover { opacity: 1; visibility: visible; transform: translateY(0); }
.account-menu a, .account-menu button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--ink-3);
  padding: 9px 11px;
  font: 12px var(--mono);
  transition: color .15s, background .15s;
}
.account-menu a:hover, .account-menu button:hover { color: #fff; background: #141518; }
.account-menu .menu-rule { height: 1px; background: var(--line); margin: 4px 6px; }
.account-menu .menu-danger { color: #d99a9a; }

.hamburger {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-2);
  background: #0d0e10b8;
  padding: 10px 9px;
  flex-direction: column;
  justify-content: space-between;
}
.hamburger span { display: block; height: 1px; background: var(--ink-2); }

.view { display: none; }
.view.active { display: block; animation: view-in .45s cubic-bezier(.22,1,.36,1) both; }
@keyframes view-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.page-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 118px 24px 90px;
}
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head.compact { margin-bottom: 22px; }
.kicker {
  display: block;
  margin-bottom: 12px;
  font: 11px var(--mono);
  letter-spacing: .18em;
  color: var(--ink-4);
  text-transform: uppercase;
}
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -.045em;
}
.section-head p {
  margin: 0;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: -.1px;
}
.quiet-glass-text {
  color: #c5c5c7;
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .quiet-glass-text {
    display: inline-block;
    color: transparent;
    background:
      linear-gradient(112deg, transparent 24%, rgba(255,253,246,.04) 34%, rgba(255,253,246,.25) 34.6%, rgba(255,253,246,.06) 35.2%, transparent 44%),
      var(--silver);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-stroke: .2px rgba(240,244,255,.14);
    filter: drop-shadow(0 -.35px .15px rgba(241,246,255,.16)) drop-shadow(0 .5px 2px rgba(0,0,0,.075));
  }
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  background: #000;
}
#koi { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; font-family: var(--mono); }
.shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 49%, rgba(0,0,0,.82) 0%, rgba(0,0,0,.57) 30%, rgba(0,0,0,.12) 65%),
    linear-gradient(180deg, rgba(0,0,0,.3), transparent 20%, transparent 80%, rgba(0,0,0,.4));
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 120px 24px 120px;
  text-align: center;
  pointer-events: none;
  transform: translateY(-42px);
}
.hero h1 {
  margin: 0;
  font-size: clamp(62px, 9vw, 128px);
  font-weight: 500;
  line-height: 1.01;
  letter-spacing: -.065em;
}
.hero-copy p {
  margin: 30px auto 34px;
  max-width: 520px;
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: -.15px;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 12px; pointer-events: auto; }
.btn-solid, .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 190px;
  height: 53px;
  padding: 0 18px;
  border: 1px solid #3b3d3f;
  font: 12px var(--mono);
  transition: border-color .2s, background .2s, transform .2s, color .2s;
}
.btn-solid {
  background: linear-gradient(180deg, #f3f3f3, #b9babd);
  border-color: #d8d9db;
  color: #060606;
}
.btn-solid span, .btn-outline span { font-size: 16px; line-height: 1; }
.btn-outline { background: #101112b8; color: var(--ink); }
.btn-solid:hover { background: linear-gradient(180deg, #fff, #d2d3d5); transform: translateY(-1px); }
.btn-outline:hover { border-color: #828486; background: #1a1b1d; transform: translateY(-1px); }

.home-strip { padding: 40px 24px 110px; background: #000; }
.home-strip .inner { max-width: 1120px; margin: 0 auto; }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.feature {
  padding: 26px 24px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #08090a, #050505);
}
.feature:last-child { border-right: 0; }
.feature .num { font: 11px var(--mono); color: var(--ink-4); margin-bottom: 26px; }
.feature h3 { margin: 0 0 8px; font-size: 16px; font-weight: 500; letter-spacing: -.2px; }
.feature p { margin: 0; color: var(--ink-4); font-size: 12px; line-height: 1.65; }

.catalog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.ledger-label { font: 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.mono { font-family: var(--mono); }
.controls-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 26px; }
.search-wrapper { position: relative; flex: 1; min-width: 240px; max-width: 360px; }
.search-icon { position: absolute; left: 12px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); color: var(--ink-4); pointer-events: none; }
.search-input {
  width: 100%;
  height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: #090a0b;
  color: var(--ink);
  font-size: 13px;
  outline: none;
  transition: border-color .18s, background .18s;
}
.search-wrapper .search-input { padding-left: 36px; }
.search-input::placeholder, textarea::placeholder { color: var(--ink-4); }
.search-input:focus, textarea:focus { border-color: #77797d; background: #0d0e10; }
.search-input.err { border-color: #b65a5a; animation: shake .25s; }
@keyframes shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.filter-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-btn {
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink-4);
  padding: 9px 13px;
  font: 11px var(--mono);
  transition: color .18s, border-color .18s, background .18s;
}
.tag-btn:hover { color: var(--ink-2); border-color: #55575b; }
.tag-btn.active { color: #050505; background: #ededed; border-color: #ededed; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@keyframes grid-swap-out { from { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); } to { opacity: 0; filter: blur(8px); transform: translateY(6px) scale(.99); } }
@keyframes grid-swap-in { from { opacity: 0; filter: blur(8px); transform: translateY(-6px) scale(.99); } to { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); } }
.product-grid.grid-anim-out { animation: grid-swap-out .17s ease forwards; will-change: opacity, filter, transform; }
.product-grid.grid-anim-in { animation: grid-swap-in .32s cubic-bezier(.22,1,.36,1); will-change: opacity, filter, transform; }
.vault-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #08090a, #050506);
  transition: border-color .2s, transform .2s, background .2s;
  overflow: hidden;
}
.vault-card:hover { border-color: #4a4c50; transform: translateY(-2px); background: linear-gradient(180deg, #0a0b0c, #060607); }
.card-art { position: relative; height: 164px; border-bottom: 1px solid var(--line); background: #0b0c0e; overflow: hidden; cursor: pointer; }
.card-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, #050506 100%);
  pointer-events: none;
}
.card-banner { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.35) contrast(1.05); transition: filter .3s, transform .4s; }
.vault-card:hover .card-banner { filter: saturate(.7) contrast(1.08); transform: scale(1.025); }
.art-icon { position: absolute; inset: 0; display: grid; place-items: center; color: #5c5e63; }
.art-icon svg { width: 62px; height: 62px; opacity: .85; }
.card-art .badge { position: absolute; z-index: 2; top: 12px; left: 12px; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 16px 17px 17px; }
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 7px; }
.card-cat { font: 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); }
.card-updated { font: 10px var(--mono); color: var(--ink-5); }
.card-title { margin: 0 0 7px; font-size: 18px; font-weight: 500; letter-spacing: -.25px; color: var(--ink); }
.card-desc { margin: 0 0 14px; color: var(--ink-4); font-size: 12px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-plans { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 15px; }
.plan-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: #0a0b0d;
  padding: 5px 8px;
  font: 10px var(--mono);
  color: var(--ink-3);
}
.plan-chip b { font-weight: 400; color: var(--ink-2); }
.plan-chip span { color: var(--ink-4); }
.card-footer { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 13px; border-top: 1px solid var(--line); }
.price-row { display: flex; flex-direction: column; gap: 2px; }
.price-label { font: 9px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-5); }
.price-val { font: 17px var(--mono); color: var(--ink); }
.action-row { display: flex; gap: 5px; }
.btn-buy {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #d6d7d9;
  background: #ededed;
  color: #060606;
  font: 11px var(--mono);
  transition: background .18s, border-color .18s;
}
.btn-buy:hover { background: #fff; border-color: #fff; }
.btn-buy svg { width: 13px; height: 13px; }
.btn-icon {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink-3);
  font: 16px/1 var(--mono);
  transition: color .18s, border-color .18s;
}
.btn-icon:hover { color: #fff; border-color: #828486; }
.btn-disabled {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  color: var(--ink-4);
  font: 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line-2);
  background: #0a0b0c;
  padding: 5px 8px;
  font: 9px var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.badge .dot, .dot { width: 5px; height: 5px; background: currentColor; display: inline-block; }
.badge.up { color: var(--up); border-color: #2f4a37; }
.badge.down { color: var(--down); border-color: #4a2f2f; }
.badge.warn { color: var(--warn); border-color: #4a412f; }
.badge.off { color: var(--off); }
.badge.banned { color: var(--down); border-color: #4a2f2f; }
.badge.locked { color: var(--warn); border-color: #4a412f; }

.status-overview { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); margin-bottom: 22px; }
.status-card { padding: 22px 20px; border-right: 1px solid var(--line); background: #070809; }
.status-card:last-child { border-right: 0; }
.status-card .num { font: 500 34px/1 var(--mono); letter-spacing: -.04em; margin-bottom: 7px; }
.status-card span { font: 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); }
.status-card.up .num { color: var(--up); }
.status-card.down .num { color: var(--down); }
.status-card.warn .num { color: var(--warn); }
.status-card.off .num { color: var(--off); }
.status-board { border: 1px solid var(--line); background: #060708; }
.status-row { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.status-row:last-child { border-bottom: 0; }
.status-icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink-4); flex: none; }
.status-icon svg { width: 18px; height: 18px; }
.status-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.status-info b { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.status-info span { font: 10px var(--mono); color: var(--ink-5); }
.status-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font: 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.status-row.up .status-pill { color: var(--up); }
.status-row.down .status-pill { color: var(--down); }
.status-row.warn .status-pill { color: var(--warn); }
.status-row.off .status-pill { color: var(--off); }
.status-foot { display: flex; align-items: center; gap: 9px; margin-top: 16px; font: 10px var(--mono); color: var(--ink-5); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
.team-card { border: 1px solid var(--line); background: #070809; }
.team-head { position: relative; height: 112px; background: #0b0c0e; border-bottom: 1px solid var(--line); overflow: hidden; }
.team-banner-img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.55); }
.banner-black { width: 100%; height: 100%; background: linear-gradient(120deg, #111214, #050505); }
.team-avatar-img { position: absolute; left: 18px; bottom: -22px; width: 58px; height: 58px; object-fit: cover; border: 2px solid #070809; background: #111; filter: grayscale(1); }
.team-body { padding: 34px 18px 18px; }
.team-body h3 { margin: 0 0 3px; font-size: 17px; font-weight: 500; }
.team-role { font: 10px var(--mono); color: var(--ink-4); }
.team-skills { display: flex; flex-wrap: wrap; gap: 5px; margin: 14px 0; }
.skill-chip { border: 1px solid var(--line); padding: 4px 7px; font: 9px var(--mono); color: var(--ink-4); }
.team-foot { display: flex; flex-direction: column; gap: 3px; border-top: 1px solid var(--line); padding-top: 12px; }
.team-foot span { font: 9px var(--mono); color: var(--ink-5); text-transform: uppercase; letter-spacing: .1em; }
.team-foot b { font-size: 11px; font-weight: 400; color: var(--ink-3); }
.invite-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--line); background: #070809; padding: 20px 22px; }
.invite-note p { margin: 0; font-size: 13px; color: var(--ink-3); }
.invite-note b { color: var(--ink); font-weight: 500; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); margin-bottom: 22px; }
.step { padding: 24px 20px; border-right: 1px solid var(--line); background: #070809; }
.step:last-child { border-right: 0; }
.step-num { font: 11px var(--mono); color: var(--ink-5); margin-bottom: 34px; }
.step h3 { margin: 0 0 8px; font-size: 15px; font-weight: 500; }
.step p { margin: 0; color: var(--ink-4); font-size: 12px; line-height: 1.65; }

.forum-panel { border: 1px solid var(--line); background: #060708; }
.forum-head { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.forum-status { display: flex; align-items: center; gap: 8px; font: 10px var(--mono); color: var(--ink-4); text-transform: uppercase; letter-spacing: .1em; }
.forum-status .dot { background: var(--warn); }
.forum-login { border: 1px solid var(--line-2); background: transparent; color: var(--ink-3); font: 11px var(--mono); padding: 7px 11px; }
.forum-login:hover { color: #fff; border-color: #828486; }
.forum-identity { display: flex; align-items: end; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.forum-avatar { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line-2); background: #111214; color: var(--ink-2); font: 700 12px var(--mono); overflow: hidden; flex: none; }
.forum-avatar img { width: 100%; height: 100%; object-fit: cover; }
.forum-identity-field { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.forum-field-label { font: 9px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-5); }
.forum-set { height: 42px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-3); font: 11px var(--mono); padding: 0 14px; }
.forum-set:hover { color: #fff; border-color: #828486; }
.forum-box { height: 390px; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.forum-empty { margin: auto; color: var(--ink-5); font: 11px var(--mono); }
.forum-msg { display: flex; gap: 10px; align-items: flex-start; }
.forum-msg .avatar { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); background: #111214; color: #fff; font: 700 12px var(--mono); overflow: hidden; cursor: pointer; }
.forum-msg .avatar img { width: 100%; height: 100%; object-fit: cover; }
.forum-msg .avatar.admin { border-color: #5c5e63; }
.forum-msg .avatar svg { width: 18px; height: 18px; }
.msg-main { min-width: 0; flex: 1; }
.msg-main .head { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.msg-main .head b { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.msg-main .head span { font: 9px var(--mono); color: var(--ink-5); }
.msg-main .head .role { border: 1px solid #4a4c50; padding: 2px 5px; font: 8px var(--mono); letter-spacing: .1em; color: #d6d7d9; }
.msg-main .text { color: var(--ink-3); font-size: 12px; line-height: 1.55; word-break: break-word; white-space: pre-wrap; }
.forum-msg.mine .msg-main .text { color: var(--ink-2); }
.img-wrap { margin-top: 8px; max-width: 320px; border: 1px solid var(--line); }
.forum-msg-img { display: block; max-width: 100%; max-height: 220px; object-fit: contain; cursor: pointer; }
.forum-img-preview { display: none; align-items: center; gap: 10px; padding: 9px 16px; border-top: 1px solid var(--line); background: #090a0b; }
.forum-img-preview.show { display: flex; }
.forum-img-preview img { width: 34px; height: 34px; object-fit: cover; border: 1px solid var(--line-2); }
.forum-img-preview span { font: 10px var(--mono); color: var(--ink-4); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.forum-img-preview button { border: 0; background: transparent; color: var(--ink-4); font-size: 14px; }
.forum-input { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); }
.forum-input .search-input { flex: 1; }
.forum-img-btn, .forum-send { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-2); background: transparent; color: var(--ink-3); flex: none; }
.forum-img-btn:hover, .forum-send:hover { color: #fff; border-color: #828486; }
.forum-img-btn svg, .forum-send svg { width: 16px; height: 16px; }
.forum-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 20px);
  z-index: 200;
  max-width: min(440px, calc(100vw - 32px));
  padding: 12px 16px;
  border: 1px solid var(--line-2);
  background: #0b0c0e;
  color: var(--ink-2);
  font: 12px var(--mono);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.forum-toast.show { opacity: 1; transform: translate(-50%, 0); }
.forum-toast b { color: #fff; font-weight: 600; }

.profile-pop {
  position: fixed;
  z-index: 180;
  width: 252px;
  border: 1px solid var(--line-2);
  background: #08090a;
  box-shadow: 0 24px 60px #000d;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .16s, transform .16s;
  pointer-events: auto;
}
.profile-pop.show { opacity: 1; transform: translateY(0); }
.pp-head { position: relative; height: 74px; border-bottom: 1px solid var(--line); }
.pp-banner { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(1) brightness(.55); }
.pp-banner-black { background: linear-gradient(120deg, #131416, #050505); }
.pp-avatar { position: absolute; left: 14px; bottom: -18px; width: 44px; height: 44px; border: 2px solid #08090a; background-size: cover; background-position: center; }
.pp-body { padding: 26px 14px 14px; }
.pp-name { font-size: 15px; font-weight: 500; }
.pp-role { margin-top: 2px; font: 9px var(--mono); color: var(--ink-4); text-transform: uppercase; letter-spacing: .1em; }
.pp-bio { margin-top: 10px; font-size: 11px; line-height: 1.55; color: var(--ink-3); }
.pp-skills { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.pp-chip { border: 1px solid var(--line); padding: 3px 6px; font: 8px var(--mono); color: var(--ink-4); }

.acct-card { border: 1px solid var(--line); background: #070809; margin-bottom: 18px; }
.acct-banner { position: relative; height: 170px; background: linear-gradient(120deg, #111214, #050505); border-bottom: 1px solid var(--line); overflow: hidden; }
.acct-banner img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6) brightness(.8); }
.acct-banner .none { position: absolute; inset: 0; display: grid; place-items: center; font: 10px var(--mono); letter-spacing: .16em; color: var(--ink-5); }
.acct-idrow { display: flex; align-items: end; gap: 16px; padding: 0 22px 18px; margin-top: -34px; position: relative; }
.acct-avatar { width: 86px; height: 86px; object-fit: cover; border: 3px solid #070809; background: #101010; }
.acct-name { font-size: 25px; font-weight: 500; letter-spacing: -.4px; }
.acct-meta { margin-top: 2px; font: 10px var(--mono); color: var(--ink-4); text-transform: uppercase; letter-spacing: .1em; }
.acct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.acct-block { background: #070809; padding: 16px 18px; }
.acct-block.span2 { grid-column: span 2; }
.acct-label { display: block; margin-bottom: 9px; font: 9px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-4); }
.acct-btnrow { display: flex; flex-wrap: wrap; gap: 7px; }
.btn-flat {
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink-3);
  font: 11px var(--mono);
  padding: 8px 12px;
  transition: color .18s, border-color .18s, background .18s;
}
.btn-flat:hover { color: #fff; border-color: #828486; }
.btn-flat.accent { background: #ededed; color: #050505; border-color: #ededed; }
.btn-flat.accent:hover { background: #fff; border-color: #fff; }
.btn-flat.danger { color: #d99a9a; border-color: #4a2f2f; }
.btn-flat.danger:hover { color: #ffb3b3; border-color: #8a4a4a; }
.acct-block textarea { width: 100%; min-height: 76px; resize: vertical; border: 1px solid var(--line-2); background: #090a0b; color: var(--ink); padding: 10px 12px; font-size: 13px; outline: none; }
.account-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.panel { border: 1px solid var(--line); background: #070809; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.panel-head h3 { margin: 0; font-size: 15px; font-weight: 500; }
.panel-body { padding: 18px; }
.panel-body p { margin: 0 0 12px; color: var(--ink-4); font-size: 12px; line-height: 1.6; }
.key-list { display: flex; flex-direction: column; gap: 8px; }
.key-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); background: #090a0b; padding: 11px 13px; }
.key-item-main { min-width: 0; }
.key-item-title { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.key-item-key { margin-top: 2px; font: 10px var(--mono); color: var(--ink-5); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.key-item-side { display: flex; align-items: center; gap: 9px; flex: none; }
.key-state { font: 9px var(--mono); letter-spacing: .1em; padding: 4px 6px; border: 1px solid var(--line-2); text-transform: uppercase; }
.key-state.ok { color: var(--up); border-color: #2f4a37; }
.key-state.expired { color: var(--down); border-color: #4a2f2f; }
.key-state.frozen { color: var(--warn); border-color: #4a412f; }
.key-state.pending { color: #b9bbc0; border-color: #4a4c50; }
.key-item-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font: 10px var(--mono); color: var(--ink-4); text-align: right; }
.key-item-meta b { color: var(--ink-2); font-weight: 400; line-height: 1.2; }
.ip-clickable { cursor: pointer; }
.ip-clickable:hover { color: var(--accent, #6fb5ff); }

.adm-tabs { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line); margin-bottom: 18px; }
.adm-tab { border: 0; border-right: 1px solid var(--line); background: #070809; color: var(--ink-4); font: 11px var(--mono); padding: 13px 17px; transition: color .18s, background .18s; }
.adm-tab:last-child { border-right: 0; }
.adm-tab:hover { color: var(--ink-2); background: #0b0c0e; }
.adm-tab.active { color: #050505; background: #ededed; }
.adm-pane { display: none; }
.adm-pane.active { display: block; animation: view-in .3s both; }
.admin-card { border: 1px solid var(--line); background: #070809; margin-bottom: 16px; }
.admin-card-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 17px; border-bottom: 1px solid var(--line); }
.admin-card-head h3 { margin: 0; font-size: 14px; font-weight: 500; }
.admin-form-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 17px 0; }
.admin-form-row .search-input { flex: 1; min-width: 140px; width: auto; }
.admin-form-row select.search-input { min-width: 120px; }
.admin-table-scroll { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.admin-table th { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); font: 9px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-5); white-space: nowrap; }
.admin-table td { padding: 11px 12px; border-bottom: 1px solid #151619; color: var(--ink-3); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tr:hover td { background: #090a0b; }
.btn-sm { border: 1px solid var(--line-2); background: transparent; color: var(--ink-3); font: 10px var(--mono); padding: 6px 9px; white-space: nowrap; transition: color .18s, border-color .18s, background .18s; }
.btn-sm:hover { color: #fff; border-color: #828486; }
.btn-sm.accent { background: #ededed; border-color: #ededed; color: #050505; }
.btn-sm.accent:hover { background: #fff; }
.btn-sm.danger { color: #d99a9a; border-color: #4a2f2f; }
.btn-sm.danger:hover { color: #ffb3b3; border-color: #8a4a4a; }
.u-name { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.u-dot { width: 24px; height: 24px; border: 1px solid var(--line-2); object-fit: cover; flex: none; }
.mono-key { font: 10px var(--mono); color: var(--ink-2); cursor: pointer; border-bottom: 1px dashed var(--ink-5); }
.mono-key:hover { color: #fff; border-bottom-color: #fff; }
.admin-empty { padding: 18px; color: var(--ink-5); font: 11px var(--mono); }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal-backdrop.modal-top { z-index: 140; }
.modal-card {
  width: min(100%, 520px);
  max-height: calc(100svh - 44px);
  overflow-y: auto;
  border: 1px solid var(--line-2);
  background: #070809;
  box-shadow: 0 34px 100px #000;
  transform: translateY(8px);
  transition: transform .24s cubic-bezier(.22,1,.36,1);
}
.modal-backdrop.open .modal-card { transform: translateY(0); }
.modal-card.wide { width: min(100%, 760px); }
.modal-header { position: relative; display: flex; align-items: center; gap: 13px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.modal-thumb { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-2); background: #111214; color: var(--ink-2); flex: none; }
.modal-thumb svg { width: 20px; height: 20px; }
.modal-thumb.down { color: var(--down); border-color: #4a2f2f; }
.modal-thumb.warn { color: var(--warn); border-color: #4a412f; }
.modal-thumb.off { color: var(--off); }
.modal-title { margin: 0; font-size: 17px; font-weight: 500; letter-spacing: -.2px; }
.modal-sub, .modal-status { margin: 2px 0 0; font: 10px var(--mono); color: var(--ink-4); }
.modal-close { position: absolute; top: 15px; right: 15px; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid transparent; background: transparent; color: var(--ink-4); font-size: 14px; }
.modal-close:hover { color: #fff; border-color: var(--line-2); background: #111214; }
.modal-body { padding: 20px; }
.modal-footer { padding: 13px 20px; border-top: 1px solid var(--line); display: flex; justify-content: center; }
.input-label { display: block; margin-bottom: 7px; font: 9px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-4); }
.modal-body .search-input { margin-bottom: 14px; }
.modal-desc { margin: 0 0 16px; color: var(--ink-3); font-size: 13px; line-height: 1.65; white-space: pre-line; word-break: break-word; }
.login-error { display: none; margin: 2px 0 13px; padding: 9px 11px; border: 1px solid #5a3333; background: #170d0d; color: #e9b3b3; font: 11px var(--mono); }
.auth-switch { margin: 13px 0 0; text-align: center; color: var(--ink-5); font: 11px var(--mono); }
.auth-switch b { color: var(--ink-2); cursor: pointer; border-bottom: 1px solid var(--ink-5); font-weight: 400; }
.auth-switch b:hover { color: #fff; border-bottom-color: #fff; }
.pay-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  border: 1px solid #d6d7d9;
  background: linear-gradient(180deg, #f3f3f3, #c7c8ca);
  color: #050505;
  font: 12px var(--mono);
  transition: background .18s, transform .18s;
}
.pay-btn:hover { background: linear-gradient(180deg, #fff, #d9dadd); }
.pay-btn:disabled { opacity: .35; cursor: not-allowed; }
.pay-btn.ghost {
  margin-top: 8px;
  background: #0b0c0d;
  border-color: var(--line-2);
  color: var(--ink-2);
}
.pay-btn.ghost:hover { background: #16181a; border-color: #828486; color: #fff; }
.warn-banner { display: none; align-items: flex-start; gap: 9px; margin-bottom: 15px; padding: 11px 12px; border: 1px solid #4a2f2f; background: #140c0c; color: #d99a9a; font-size: 12px; line-height: 1.5; }
.warn-banner.show { display: flex; }
.warn-banner.warn { border-color: #4a412f; background: #14110b; color: #d9c38f; }
.warn-banner.off { border-color: var(--line-2); background: #0c0d0f; color: var(--ink-3); }
.warn-banner svg { flex: none; margin-top: 1px; }
.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin-bottom: 16px; }
.plan-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--line-2); background: #090a0b; color: var(--ink-3); padding: 12px 12px; font: 11px var(--mono); text-align: left; transition: border-color .18s, background .18s, color .18s; }
.plan-btn:hover { border-color: #6f7175; color: var(--ink); }
.plan-btn.active { border-color: #ededed; background: #ededed; color: #050505; }
.plan-price { color: inherit; }
.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.qty-ctrl { display: flex; align-items: center; border: 1px solid var(--line-2); }
.qty-btn { width: 34px; height: 34px; border: 0; background: transparent; color: var(--ink-3); font: 15px var(--mono); }
.qty-btn:hover { color: #fff; background: #111214; }
.qty-val { width: 42px; text-align: center; font: 12px var(--mono); color: var(--ink); }
.subtotal { font: 18px var(--mono); color: var(--ink); }
.fee-text { margin: 0 0 14px; text-align: center; color: var(--ink-5); font: 10px var(--mono); }
.fee-text span { color: var(--ink-4); }
.secure-text { display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--ink-5); font: 10px var(--mono); text-align: center; }
.ticket-summary { border: 1px solid var(--line); background: #090a0b; margin-bottom: 16px; }
.ticket-summary .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--ink-4); }
.ticket-summary .row:last-child { border-bottom: 0; }
.ticket-summary .row b { color: var(--ink-2); font-weight: 500; text-align: right; }
.ticket-steps { display: flex; flex-direction: column; gap: 9px; margin-bottom: 16px; }
.ticket-step { display: flex; align-items: flex-start; gap: 10px; }
.ticket-step .num { width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid var(--line-2); font: 9px var(--mono); color: var(--ink-3); flex: none; }
.ticket-step p { margin: 1px 0 0; color: var(--ink-4); font-size: 12px; line-height: 1.55; }
.ticket-step b { color: var(--ink-2); font-weight: 500; }
.discord-btn { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 44px; border: 1px solid var(--line-2); background: #101112; color: var(--ink-2); font: 12px var(--mono); margin-bottom: 12px; }
.discord-btn:hover { border-color: #828486; color: #fff; background: #1a1b1d; }
.ticket-note { margin: 0; text-align: center; color: var(--ink-5); font: 10px var(--mono); }
.ticket-note b { color: var(--ink-3); font-weight: 400; }

.editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.editor-field { display: flex; flex-direction: column; }
.editor-field.span2 { grid-column: span 2; }
.editor-field textarea { width: 100%; min-height: 70px; resize: vertical; border: 1px solid var(--line-2); background: #090a0b; color: var(--ink); padding: 10px 12px; font-size: 12px; outline: none; }
.editor-field textarea:focus { border-color: #77797d; }
.editor-field .search-input { margin-bottom: 0; }
.editor-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 4px; }
.plan-toggle { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #090a0b; padding: 8px 9px; }
.plan-toggle input[type="checkbox"] { accent-color: #ededed; width: 13px; height: 13px; }
.plan-toggle label { font: 10px var(--mono); color: var(--ink-3); flex: 1; cursor: pointer; }
.plan-price-input { width: 70px; height: 26px; border: 1px solid var(--line-2); background: #0d0e10; color: var(--ink); padding: 0 6px; font: 10px var(--mono); outline: none; }
.banner-preview { position: relative; height: 110px; border: 1px solid var(--line); background: #0b0c0e; margin-top: 4px; overflow: hidden; }
.banner-preview img { width: 100%; height: 100%; object-fit: contain; display: none; }
.banner-preview.has img { display: block; }
.banner-preview span { position: absolute; inset: 0; display: grid; place-items: center; font: 10px var(--mono); color: var(--ink-5); }
.banner-preview.has span { display: none; }
.editor-actions { display: flex; gap: 8px; margin-top: 16px; }
.editor-actions .pay-btn { flex: 1; }
.editor-actions .btn-flat { min-width: 110px; }

.cart-backdrop { position: fixed; inset: 0; z-index: 110; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .2s; }
.cart-backdrop.open { opacity: 1; pointer-events: auto; }
.cart-drawer { position: absolute; top: 0; right: 0; height: 100%; width: min(100%, 390px); display: flex; flex-direction: column; background: #070809; border-left: 1px solid var(--line-2); transform: translateX(20px); transition: transform .24s cubic-bezier(.22,1,.36,1); }
.cart-backdrop.open .cart-drawer { transform: translateX(0); }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 17px 18px; border-bottom: 1px solid var(--line); }
.cart-title { margin: 0; font: 11px var(--mono); letter-spacing: .16em; color: var(--ink-2); }
.cart-items { flex: 1; overflow-y: auto; padding: 14px 18px; }
.empty-cart { padding: 40px 0; text-align: center; color: var(--ink-5); font: 11px var(--mono); }
.cart-item { border: 1px solid var(--line); background: #090a0b; padding: 12px; margin-bottom: 8px; }
.cart-item-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.cart-item-title { font-size: 13px; color: var(--ink-2); }
.cart-item-variant { margin-top: 2px; font: 10px var(--mono); color: var(--ink-5); }
.trash-btn { border: 0; background: transparent; color: var(--ink-5); padding: 2px; }
.trash-btn:hover { color: #d99a9a; }
.cart-item-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.cart-item-price { font: 12px var(--mono); color: var(--ink-2); }
.cart-footer { padding: 16px 18px; border-top: 1px solid var(--line); }
.cart-total-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.cart-total-label { font: 10px var(--mono); letter-spacing: .14em; color: var(--ink-4); }
.cart-total-val { font: 18px var(--mono); color: var(--ink); }

@media (max-width: 1000px) {
  .nav { padding: 0 20px; gap: 18px; }
  .nav-links { gap: 15px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .nav { height: 62px; }
  .hamburger { display: flex; margin-left: auto; }
  .nav-links {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 18px 18px;
    background: rgba(4,4,4,.98);
    border-bottom: 1px solid var(--line-2);
    backdrop-filter: blur(14px);
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 12px 0; border-bottom: 1px solid #161719; }
  .nav-discord { margin-top: 12px; justify-content: center; padding: 12px; }
  .cart-btn { margin-top: 10px; width: 100%; }
  .nav-auth, .account-slot { margin-top: 10px; }
  .nav-auth { width: 100%; }
  .account-btn { width: 100%; justify-content: flex-start; }
  .account-menu { position: static; width: 100%; margin-top: 6px; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; }
  .account-slot.open .account-menu { display: block; }
  .account-slot:hover .account-menu { display: none; }
  .account-slot.open:hover .account-menu { display: block; }
  .page-wrap { padding: 96px 18px 70px; }
  .hero-copy { padding: 96px 20px 96px; transform: translateY(-24px); }
  .hero h1 { font-size: clamp(48px, 13vw, 78px); }
  .hero-copy p { font-size: 13px; }
  .home-strip { padding: 30px 18px 80px; }
  .feature-row { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature:last-child { border-bottom: 0; }
  .product-grid { grid-template-columns: 1fr; }
  .status-overview { grid-template-columns: 1fr 1fr; }
  .status-card:nth-child(2) { border-right: 0; }
  .status-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .team-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .acct-grid { grid-template-columns: 1fr; }
  .acct-block.span2 { grid-column: auto; }
  .acct-idrow { align-items: flex-start; flex-direction: column; gap: 10px; margin-top: -26px; }
  .acct-banner { height: 130px; }
  .editor-grid { grid-template-columns: 1fr; }
  .editor-field.span2 { grid-column: auto; }
  .editor-plans { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hero-actions .btn-solid, .hero-actions .btn-outline { width: 100%; }
  .controls-row { flex-direction: column; align-items: stretch; }
  .search-wrapper { max-width: none; }
  .plan-grid { grid-template-columns: 1fr; }
  .status-overview { grid-template-columns: 1fr; }
  .status-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .status-card:last-child { border-bottom: 0; }
  .modal-backdrop { padding: 10px; }
  .modal-card { max-height: calc(100svh - 20px); }
  .key-item { flex-direction: column; align-items: flex-start; }
  .key-item-side { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

body.dashboard-mode { background: #090a0b; }
body.dashboard-mode .site-header,
body.dashboard-mode #main { display: none !important; }

.dashboard-shell {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background: #090a0b;
  color: #e9e9ec;
}
.dashboard-topbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: calc(100% - 80px);
  max-width: 1160px;
  min-height: 88px;
  margin: 0 auto;
  border-bottom: 1px solid #ffffff0b;
}
.dashboard-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font: 400 15px/24px var(--font);
  letter-spacing: .25px;
}
.dashboard-brand img { width: 28px; height: 22px; flex: none; }
.dashboard-brand-suffix { color: #777b83; }
.dashboard-account { position: relative; font: 13px/20px var(--font); }
.dashboard-account-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 4px 0 4px 8px;
  border: 0;
  background: transparent;
  color: #c2c5ca;
  font: inherit;
  cursor: pointer;
}
.dashboard-account-btn .chev { width: 14px; height: 14px; color: #858c96; transition: transform .2s; }
.dashboard-account.open .dashboard-account-btn .chev,
.dashboard-account:hover .dashboard-account-btn .chev { transform: rotate(180deg); }
.dashboard-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  overflow: hidden;
  border: 1px solid #5d4d42;
  border-radius: 50%;
  background: linear-gradient(150deg, #342a22, #161616);
  color: #ddc4a4;
  font: 14px var(--mono);
}
.dashboard-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dashboard-account-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 9px);
  display: grid;
  width: 176px;
  padding: 5px;
  border: 1px solid #3b3d3f;
  border-radius: 3px;
  background: #111214;
  box-shadow: 0 12px 40px #0007;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .16s, transform .16s, visibility .16s;
  z-index: 12;
}
.dashboard-account:hover .dashboard-account-menu,
.dashboard-account:focus-within .dashboard-account-menu,
.dashboard-account.open .dashboard-account-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dashboard-account-menu :is(a, button) {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 12px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: #bec1c8;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.dashboard-account-menu :is(a, button):hover { background: #ffffff07; color: #fff; }
.dashboard-account-menu .menu-rule { height: 1px; background: #2a2c2f; margin: 4px 6px; }
.dashboard-account-menu .menu-danger { color: #d99a9a; }
.dashboard-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 720px;
  width: calc(100% - 96px);
  min-height: calc(100svh - 88px);
  margin: 0 auto;
  padding: clamp(36px, 6svh, 72px) 0 clamp(60px, 16svh, 160px);
  text-align: center;
  animation: dashboard-arrive .6s cubic-bezier(.22,1,.36,1) both;
}
.dashboard-library { display: flex; flex-direction: column; align-items: center; width: 100%; }
.dashboard-library > h1 {
  margin: 0;
  font: 400 36px/44px var(--font);
  font-weight: 400;
  letter-spacing: -1.55px;
}
.access-emblems {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  width: 100%;
  max-width: 480px;
  margin-top: 39px;
}
.access-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 12px 4px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.game-emblem {
  display: block;
  width: 76px;
  height: 76px;
  color: #9aa1ac;
  transition: transform .25s ease, color .25s ease;
}
.game-emblem svg { display: block; width: 100%; height: 100%; }
.access-emblem:hover .game-emblem,
.access-emblem:focus-visible .game-emblem { transform: translateY(-3px); color: #e7e3de; }
.access-emblem[data-state="active"] .game-emblem { color: #d4d0c9; }
.access-emblem:active .game-emblem { transform: translateY(-1px) scale(.96); }
.emblem-name {
  margin-top: 17px;
  color: #a5acb7;
  font: 400 13px/20px var(--font);
  letter-spacing: -.1px;
  white-space: nowrap;
  transition: color .2s;
}
.access-emblem:is(:hover, :focus-visible, [aria-expanded="true"]) .emblem-name { color: #e7e3de; }
.access-symbol {
  display: block;
  width: 16px;
  height: 16px;
  margin-top: 10px;
  color: #929aa5;
}
.access-symbol svg { display: block; width: 100%; height: 100%; }
.access-emblem[data-state="active"] .access-symbol { color: #d4d0c9; }
.access-emblem[data-state="pending"] .access-symbol,
.access-emblem[data-state="expired"] .access-symbol { color: #b09a7c; }
.emblem-caption {
  min-height: 20px;
  margin: 17px 0 0;
  color: #9aa1ac;
  font: 12px/20px var(--font);
  letter-spacing: -.1px;
}
.dashboard-license-note {
  margin: 0;
  color: #929aa6;
  font: 13px/22px var(--font);
}
.dashboard-license-note a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  margin-left: 9px;
  color: #d4d0c9;
}
.dashboard-license-note a:hover { color: #fff; }
.dashboard-pond {
  position: absolute;
  z-index: 0;
  right: -150px;
  bottom: -100px;
  width: 860px;
  height: 600px;
  pointer-events: none;
  opacity: .36;
  mask-image: linear-gradient(90deg, transparent, #000 28%), linear-gradient(180deg, transparent, #000 25%);
  mask-composite: intersect;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28%), linear-gradient(180deg, transparent, #000 25%);
  -webkit-mask-composite: source-in;
}
#dashboard-koi { display: block; width: 100%; height: 100%; font-family: var(--mono); }
.dashboard-shell :is(button, summary, select):focus-visible { outline: 2px solid #c9a88a; outline-offset: 4px; }
@keyframes dashboard-arrive {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

#view-account .page-wrap { padding-top: 128px; }
.account-grid { gap: 24px; }
.acct-card { margin-bottom: 26px; }
.panel-head { padding: 18px 22px; }
.panel-body { padding: 22px; }
.panel-body > .search-input { margin-bottom: 12px; }
.panel-body > .search-input:last-of-type { margin-bottom: 18px; }
#account-password { margin-top: 4px; }
#account-password .panel-body { display: flex; flex-direction: column; gap: 14px; }
#account-password .panel-body p { margin: 0; }
#account-password .panel-body .search-input { margin: 0; }
#account-password .panel-body .btn-flat { align-self: flex-start; margin-top: 4px; }

.vault-card.is-outofstock .card-art { filter: grayscale(.35); }
.vault-card.is-outofstock .art-icon,
.vault-card.is-outofstock .card-banner { opacity: .72; }
.vault-card.is-instock .badge.up { background: #0b120d; }
.vault-card.is-outofstock .badge.off { background: #0d0e10; }
.status-row.off .status-icon { color: var(--off); }
.status-row.up .status-icon { color: var(--up); }

@media (max-width: 760px) {
  .dashboard-topbar { width: calc(100% - 40px); min-height: 75px; }
  .dashboard-brand { font-size: 14px; gap: 8px; }
  .dashboard-brand img { width: 25px; height: 20px; }
  .dashboard-account-btn { gap: 7px; font-size: 12px; }
  .dashboard-avatar { width: 28px; height: 28px; }
  .dashboard-main { width: calc(100% - 40px); min-height: calc(100svh - 75px); padding: 36px 0 max(60px, 12svh); }
  .dashboard-library > h1 { font-size: 30px; line-height: 39px; letter-spacing: -1.2px; }
  .access-emblems { gap: 12px; max-width: 400px; margin-top: 31px; }
  .game-emblem { width: 64px; height: 64px; }
  .emblem-name { margin-top: 15px; font-size: 12px; }
  .dashboard-pond { width: 520px; height: 430px; right: -160px; bottom: -90px; opacity: .28; }
  .dashboard-account-menu { position: absolute; width: 176px; }
}
@media (max-width: 359px) {
  .dashboard-topbar, .dashboard-main { width: calc(100% - 32px); }
  .dashboard-brand { font-size: 13px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .dashboard-main { animation: none; }
  .game-emblem { transition: none; transform: none !important; }
}

.modal-banner {
  margin: 0 0 16px;
  border: 1px solid var(--line);
  background: #0b0c0e;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 240px;
  overflow: hidden;
}
.modal-banner img {
  display: block;
  max-width: 100%;
  max-height: 240px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.ship-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  background: #090a0b;
}
.ship-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font: 12px var(--mono);
  line-height: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--line-3);
  transition: color .18s, text-decoration-color .18s;
}
.ship-link:hover { color: #fff; text-decoration-color: #fff; }
.ship-link svg { width: 15px; height: 15px; flex: none; color: var(--ink-4); }

.ship-box { border: 1px solid var(--line); background: #090a0b; }
#shipping-modal-body.ship-box { margin-bottom: 0; }
.ship-list { max-height: 60vh; overflow-y: auto; }
.ship-row { display: flex; align-items: flex-start; gap: 12px; padding: 11px 14px; border-bottom: 1px solid #151619; }
.ship-row:last-child { border-bottom: 0; }
.ship-flag { flex: none; width: 26px; display: flex; align-items: flex-start; padding-top: 1px; }
.ship-flag-img { width: 26px; height: auto; display: block; border: 1px solid var(--line); }
.ship-flag-code { font: 9px var(--mono); letter-spacing: .06em; color: var(--ink-3); border: 1px solid var(--line-2); padding: 2px 4px; }
.ship-main { min-width: 0; flex: 1; }
.ship-country { font-size: 12px; color: var(--ink-2); font-weight: 500; }
.ship-eta { margin-top: 2px; font: 10px var(--mono); color: var(--ink-4); }
.ship-sub { display: block; margin-top: 3px; color: var(--ink-4); font-size: 11px; line-height: 1.55; }
.ship-note { margin-top: 5px; font-size: 11px; line-height: 1.5; color: var(--ink-5); }
.ship-price { font: 11px var(--mono); color: var(--ink-2); flex: none; text-align: right; white-space: nowrap; padding-top: 1px; }
.ship-foot { padding: 10px 13px; font: 10px var(--mono); line-height: 1.5; color: var(--ink-5); border-top: 1px solid var(--line); }

.logo-row { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.logo-preview { position: relative; width: 74px; height: 74px; flex: none; border: 1px solid var(--line); background: #0b0c0e; display: grid; place-items: center; overflow: hidden; }
.logo-preview img { width: 100%; height: 100%; object-fit: contain; padding: 9px; display: none; }
.logo-preview.has img { display: block; }
.logo-preview span { display: grid; place-items: center; color: #5c5e63; }
.logo-preview span svg { width: 34px; height: 34px; }
.logo-preview.has span { display: none; }

.art-icon img { width: 74px; height: 74px; object-fit: contain; }
.modal-thumb img { width: 26px; height: 26px; object-fit: contain; }
.status-icon img { width: 22px; height: 22px; object-fit: contain; }
.game-emblem img { width: 100%; height: 100%; object-fit: contain; }

.banner-crop { margin-top: 10px; border: 1px solid var(--line); background: #0b0c0e; padding: 12px; }
.crop-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 350 / 164;
  overflow: hidden;
  background: #050506;
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}
.crop-stage.dragging { cursor: grabbing; }
.crop-stage img { position: absolute; top: 0; left: 0; transform-origin: 0 0; will-change: transform; pointer-events: none; }
.crop-frameline { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.crop-bar { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.crop-range { flex: 1; accent-color: #ededed; height: 3px; }
.crop-zbtn { width: 32px; height: 32px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); font: 16px var(--mono); flex: none; transition: color .18s, border-color .18s; }
.crop-zbtn:hover { color: #fff; border-color: #828486; }
.crop-hint { margin: 10px 0 12px; color: var(--ink-4); font: 10px var(--mono); line-height: 1.5; }

body.auth-mode { background: #090a0b; overflow: hidden; }
body.auth-mode .site-header,
body.auth-mode #main { display: none !important; }

.auth-shell {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background: #090a0b;
  color: #e9e9ec;
}
.auth-main {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 48px 24px 88px;
}
.auth-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 360px);
  animation: dashboard-arrive .6s cubic-bezier(.22,1,.36,1) both;
}
.auth-card::before {
  content: "";
  position: absolute;
  inset: -96px -120px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(251,241,230,.025), rgba(251,241,230,.009) 38%, transparent 70%);
}
.auth-heading { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 26px; }
.auth-mark { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; color: #ececed; transition: color .2s; }
.auth-mark img { width: 30px; height: 24px; }
.auth-mark:hover { color: #fff; }
.auth-card h1 { margin: 0; font: 500 28px/1.2 var(--font); letter-spacing: -.9px; }
.auth-tagline { margin: 10px 0 0; color: #a3a6ad; font: 400 13px/20px var(--font); letter-spacing: -.1px; }
.auth-form { display: flex; flex-direction: column; }
.auth-form .input-label { text-align: left; }
.auth-form .search-input { margin-bottom: 14px; }
.auth-form .pay-btn { margin-top: 4px; }
.auth-pond {
  position: absolute;
  z-index: 0;
  right: -85px;
  bottom: -80px;
  width: 620px;
  height: 420px;
  pointer-events: none;
  opacity: .34;
  mask-image: linear-gradient(90deg, transparent, #000 24%), linear-gradient(180deg, transparent, #000 24%);
  mask-composite: intersect;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%), linear-gradient(180deg, transparent, #000 24%);
  -webkit-mask-composite: source-in;
}
#login-koi { display: block; width: 100%; height: 100%; font-family: var(--mono); }
.auth-shell :is(button, a):focus-visible { outline: 2px solid #c9a88a; outline-offset: 4px; }
.auth-shell .search-input:focus-visible { outline: none; }
@media (max-width: 600px) {
  .auth-pond { width: 360px; height: 280px; right: -70px; bottom: -80px; }
  .auth-card h1 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-card { animation: none; }
}
