:root {
  --black: #050505;
  --panel: rgba(12, 11, 10, 0.74);
  --panel-strong: rgba(5, 5, 5, 0.9);
  --panel-soft: rgba(255, 247, 229, 0.045);
  --line: rgba(255, 247, 229, 0.105);
  --line-strong: rgba(244, 182, 92, 0.34);
  --paper: #fff7e6;
  --muted: rgba(255, 247, 229, 0.66);
  --faint: rgba(255, 247, 229, 0.42);
  --gold: #f4b65c;
  --orange: #ff7a4f;
  --rose: #ff5b8f;
  --green: #76e5a8;
  --blue: #82b7ff;
  --shadow: 0 36px 110px rgba(0, 0, 0, 0.46);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
  color: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 76% -2%, rgba(244, 182, 92, 0.2), transparent 26%),
    radial-gradient(circle at 12% 46%, rgba(255, 91, 143, 0.1), transparent 28%),
    radial-gradient(circle at 76% 82%, rgba(118, 229, 168, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 247, 229, 0.025), transparent 34%),
    var(--black);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 247, 229, 0.018) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 247, 229, 0.014) 1px, transparent 1px);
  background-size: 118px 118px;
  content: "";
  mask-image: linear-gradient(180deg, #000 0 18%, transparent 78%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px);
  background-size: 4px 4px;
  content: "";
  opacity: 0.14;
  pointer-events: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.platform-shell {
  --sidebar-width: 274px;
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  min-height: 100vh;
  transition: grid-template-columns 220ms ease;
}

.platform-shell.is-sidebar-collapsed {
  --sidebar-width: 88px;
}

.platform-sidebar {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 24px;
  overflow: hidden;
  height: 100vh;
  padding: 22px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 247, 229, 0.052), transparent 36%),
    rgba(5, 5, 5, 0.79);
  backdrop-filter: blur(24px);
}

.sidebar-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 12px;
  align-items: start;
}

.sidebar-toggle,
.mobile-sidebar-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 247, 229, 0.045);
  color: var(--paper);
  font-weight: 950;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.sidebar-toggle {
  flex-direction: column;
  gap: 4px;
  width: 42px;
  height: 42px;
}

.sidebar-toggle span {
  display: block;
  width: 15px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 247, 229, 0.75);
  transition: transform 180ms ease;
}

.sidebar-toggle span + span {
  margin-top: 0;
}

.sidebar-toggle:hover,
.sidebar-toggle:focus-visible,
.mobile-sidebar-button:hover,
.mobile-sidebar-button:focus-visible {
  border-color: rgba(244, 182, 92, 0.38);
  background: rgba(244, 182, 92, 0.09);
  outline: none;
  transform: translateY(-1px);
}

.mobile-sidebar-button {
  display: none;
}

.sidebar-scrim {
  display: none;
}

.platform-brand {
  color: inherit;
  text-decoration: none;
}

.platform-brand-with-logo {
  display: grid;
  gap: 2px;
  justify-items: start;
}

.platform-logo {
  display: block;
  width: min(172px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(230, 80, 255, 0.16));
}

.platform-icon {
  display: none;
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(230, 80, 255, 0.16));
}

.platform-brand small {
  display: block;
  margin-left: 4px;
  color: var(--faint);
  font-size: 0.7rem;
  font-weight: 850;
}

.platform-nav {
  display: grid;
  gap: 6px;
}

.platform-nav button,
.ghost-button,
.primary-button,
.auth-tabs button,
.filter-strip button,
.account-button {
  border: 1px solid var(--line);
  color: var(--paper);
  font-weight: 900;
}

.platform-nav button {
  width: 100%;
  padding: 11px 13px;
  border-radius: 14px;
  background: transparent;
  color: rgba(255, 247, 229, 0.62);
  text-align: left;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.platform-nav button:hover,
.platform-nav button:focus-visible,
.platform-nav button.is-active {
  border-color: rgba(244, 182, 92, 0.36);
  background:
    linear-gradient(90deg, rgba(244, 182, 92, 0.16), rgba(244, 182, 92, 0.035));
  color: rgba(255, 244, 218, 0.98);
  outline: none;
}

.platform-nav button.is-active {
  box-shadow: inset 3px 0 0 rgba(244, 182, 92, 0.82);
}

.platform-shell.is-sidebar-collapsed .platform-sidebar {
  gap: 18px;
  padding-inline: 14px;
}

.platform-shell.is-sidebar-collapsed .sidebar-header {
  grid-template-columns: 1fr;
  justify-items: center;
}

.platform-shell.is-sidebar-collapsed .platform-logo,
.platform-shell.is-sidebar-collapsed .platform-brand small,
.platform-shell.is-sidebar-collapsed .access-state-card {
  display: none;
}

.platform-shell.is-sidebar-collapsed .platform-icon {
  display: block;
}

.platform-shell.is-sidebar-collapsed .platform-nav button {
  display: grid;
  min-height: 46px;
  place-items: center;
  padding: 0;
  font-size: 0;
  text-align: center;
}

.platform-shell.is-sidebar-collapsed .platform-nav button::before {
  content: attr(data-short);
  color: rgba(255, 247, 229, 0.72);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.platform-shell.is-sidebar-collapsed .platform-nav button.is-active::before {
  color: #ffd08a;
}

.platform-shell.is-sidebar-collapsed .platform-nav button.is-active {
  box-shadow: inset 0 3px 0 rgba(244, 182, 92, 0.82);
}

.access-state-card,
.terminal-panel,
.auth-panel,
.membership-panel,
.hero-intel-card,
.market-inspector,
.property-map-card,
.prestige-card,
.activity-card,
.ranking-card,
.forum-card,
.profile-card,
.report-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
    var(--panel);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(18px);
}

.access-state-card {
  align-self: end;
  padding: 18px;
}

.access-state-card span,
.eyebrow,
.hero-intel-copy span,
.command-metric span,
.activity-card span,
.membership-panel span,
.forum-card span,
.profile-card span,
.report-card span,
.prestige-card span,
.market-inspector span {
  color: rgba(244, 182, 92, 0.88);
  font-size: 0.67rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.access-state-card strong,
.command-metric strong,
.activity-card strong,
.membership-panel strong,
.forum-card strong,
.profile-card strong,
.report-card strong,
.prestige-card strong,
.market-inspector strong {
  display: block;
  margin-top: 8px;
  color: var(--paper);
  font-size: 1.1rem;
  letter-spacing: -0.035em;
}

.access-state-card p,
.activity-card p,
.membership-panel p,
.forum-card p,
.profile-card p,
.report-card p,
.prestige-card p,
.market-inspector p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.platform-main {
  min-width: 0;
  padding: 22px clamp(18px, 3vw, 44px) 60px;
}

.platform-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: -22px calc(clamp(18px, 3vw, 44px) * -1) 18px;
  padding: 20px clamp(18px, 3vw, 44px) 16px;
  border-bottom: 1px solid rgba(255, 247, 229, 0.075);
  background: rgba(5, 5, 5, 0.76);
  backdrop-filter: blur(22px);
}

.topbar-title {
  min-width: 0;
}

.platform-topbar h1,
.section-header h2 {
  margin: 0;
  color: var(--paper);
  font-weight: 950;
  letter-spacing: -0.048em;
  line-height: 0.96;
}

.platform-topbar h1 {
  max-width: 760px;
  font-size: clamp(1.7rem, 3.4vw, 3.9rem);
}

.section-header h2 {
  max-width: 880px;
  font-size: clamp(1.9rem, 3.9vw, 4.7rem);
}

.eyebrow {
  margin: 0 0 10px;
}

.topbar-actions {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.ghost-button,
.primary-button,
.auth-tabs button,
.filter-strip button,
.account-button {
  min-height: 40px;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(255, 247, 229, 0.045);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    color 180ms ease;
}

.ghost-button:hover,
.ghost-button:focus-visible,
.auth-tabs button:hover,
.auth-tabs button:focus-visible,
.filter-strip button:hover,
.filter-strip button:focus-visible,
.account-button:hover,
.account-button:focus-visible {
  border-color: rgba(244, 182, 92, 0.34);
  background: rgba(244, 182, 92, 0.08);
  outline: none;
  transform: translateY(-1px);
}

.primary-button {
  border-color: rgba(244, 182, 92, 0.44);
  background:
    linear-gradient(135deg, #ffd08a, #ff794d);
  color: #090705;
  box-shadow: 0 16px 34px rgba(255, 122, 79, 0.22);
}

.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.auth-action {
  white-space: nowrap;
}

.account-cluster {
  position: relative;
}

.account-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  text-align: left;
}

.avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 208, 138, 0.94), rgba(255, 91, 143, 0.82));
  color: #080604;
  font-size: 0.8rem;
  font-weight: 950;
}

.account-copy {
  display: grid;
  gap: 1px;
}

.account-copy strong {
  font-size: 0.8rem;
  letter-spacing: -0.02em;
}

.account-copy span {
  color: var(--faint);
  font-size: 0.68rem;
  font-weight: 850;
}

.account-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: none;
  width: min(280px, calc(100vw - 36px));
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(9, 8, 7, 0.96);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}

.account-menu.is-open {
  display: grid;
  gap: 12px;
}

.account-menu p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.account-menu button {
  justify-self: start;
}

.market-ticker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid rgba(244, 182, 92, 0.12);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.62);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.ticker-label {
  padding: 11px 14px 11px 18px;
  border-right: 1px solid rgba(244, 182, 92, 0.13);
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-viewport {
  overflow: hidden;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 20px;
  padding-right: 20px;
  animation: ticker-slide 42s linear infinite;
}

.ticker-track span {
  color: rgba(255, 247, 229, 0.66);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.ticker-track b {
  color: #ffd08a;
}

@keyframes ticker-slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.view-panel {
  display: none;
}

.view-panel.is-active {
  display: block;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 34px 0 22px;
}

.live-pill,
.status-pill,
.row-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 7px 11px;
  border: 1px solid rgba(244, 182, 92, 0.24);
  border-radius: 999px;
  background: rgba(244, 182, 92, 0.075);
  color: #ffd08a;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.8fr);
  gap: 18px;
}

.hero-intel-card {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.86), rgba(5, 5, 5, 0.42)),
    radial-gradient(circle at 72% 48%, rgba(244, 182, 92, 0.22), transparent 32%),
    #070707;
}

.hero-city {
  position: absolute;
  inset: 0;
  opacity: 0.92;
}

.hero-city::before {
  position: absolute;
  right: -10%;
  bottom: -18%;
  width: 78%;
  height: 74%;
  border: 1px solid rgba(255, 247, 229, 0.11);
  background:
    linear-gradient(90deg, rgba(255, 247, 229, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 247, 229, 0.065) 1px, transparent 1px),
    radial-gradient(circle at 58% 58%, rgba(255, 122, 79, 0.28), transparent 28%),
    radial-gradient(circle at 32% 48%, rgba(244, 182, 92, 0.22), transparent 22%);
  background-size: 44px 44px, 44px 44px, auto, auto;
  content: "";
  transform: perspective(760px) rotateX(58deg) rotateZ(-16deg);
  transform-origin: center;
}

.hero-route,
.hero-district,
.hero-tower,
.hero-pulse {
  position: absolute;
  pointer-events: none;
}

.hero-route {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(244, 182, 92, 0.76), transparent);
  filter: drop-shadow(0 0 10px rgba(244, 182, 92, 0.45));
  opacity: 0.72;
}

.route-a {
  right: 6%;
  bottom: 36%;
  width: 48%;
  transform: rotate(-13deg);
}

.route-b {
  right: 16%;
  bottom: 22%;
  width: 38%;
  transform: rotate(18deg);
}

.route-c {
  right: 3%;
  bottom: 54%;
  width: 34%;
  transform: rotate(8deg);
}

.hero-district {
  border: 1px solid rgba(244, 182, 92, 0.24);
  border-radius: 24px;
  background: rgba(244, 182, 92, 0.1);
  filter: blur(0.2px);
}

.district-a {
  right: 20%;
  bottom: 26%;
  width: 24%;
  height: 22%;
}

.district-b {
  right: 9%;
  bottom: 45%;
  width: 20%;
  height: 16%;
  background: rgba(255, 122, 79, 0.11);
}

.district-c {
  right: 42%;
  bottom: 18%;
  width: 21%;
  height: 15%;
  background: rgba(118, 229, 168, 0.08);
}

.hero-tower {
  bottom: 24%;
  width: 20px;
  border: 1px solid rgba(255, 247, 229, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 247, 229, 0.9), rgba(244, 182, 92, 0.42) 48%, rgba(5, 5, 5, 0.86));
  box-shadow: 0 0 28px rgba(244, 182, 92, 0.28);
  transform: skewY(-13deg);
}

.tower-a {
  right: 36%;
  height: 118px;
}

.tower-b {
  right: 30%;
  height: 82px;
}

.tower-c {
  right: 22%;
  bottom: 31%;
  height: 66px;
  background:
    linear-gradient(180deg, rgba(255, 247, 229, 0.85), rgba(255, 122, 79, 0.48) 48%, rgba(5, 5, 5, 0.86));
}

.tower-d {
  right: 47%;
  bottom: 18%;
  height: 58px;
}

.hero-pulse {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #ffd08a;
  box-shadow: 0 0 0 12px rgba(244, 182, 92, 0.14), 0 0 30px rgba(244, 182, 92, 0.45);
  animation: pulse-dot 2.8s ease-in-out infinite;
}

.pulse-a {
  right: 22%;
  bottom: 51%;
}

.pulse-b {
  right: 44%;
  bottom: 30%;
  animation-delay: -1.2s;
}

@keyframes pulse-dot {
  0%,
  100% {
    transform: scale(0.82);
    opacity: 0.74;
  }

  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

.hero-intel-copy {
  position: relative;
  z-index: 2;
  max-width: 440px;
  padding: clamp(26px, 4vw, 46px);
}

.hero-intel-copy strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(4.2rem, 9vw, 8.8rem);
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 0.88;
}

.hero-intel-copy p {
  max-width: 360px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.52;
}

.command-stack {
  display: grid;
  gap: 12px;
}

.command-metric {
  min-height: 136px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 247, 229, 0.07), rgba(255, 247, 229, 0.012)),
    rgba(5, 5, 5, 0.54);
}

.command-metric strong {
  font-size: 2rem;
}

.metric-bar,
.row-bar,
.asset-bar {
  position: relative;
  display: block;
  overflow: hidden;
  height: 8px;
  margin-top: 14px;
  border-radius: 999px;
  background: rgba(255, 247, 229, 0.08);
}

.metric-bar::before,
.row-bar::before,
.asset-bar::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--value, 70%);
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(244, 182, 92, 0.52), rgba(255, 122, 79, 0.86));
  content: "";
}

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

.activity-card {
  min-height: 152px;
  padding: 18px;
}

.activity-card.is-quiet {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.008)),
    rgba(5, 5, 5, 0.58);
}

.app-preview-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(156px, 0.24fr) auto;
  align-items: end;
  gap: 18px;
  margin-top: 18px;
  overflow: hidden;
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(255, 247, 229, 0.09);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 76% 20%, rgba(255, 91, 143, 0.2), transparent 28%),
    radial-gradient(circle at 88% 82%, rgba(244, 182, 92, 0.17), transparent 32%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.86), rgba(5, 5, 5, 0.34) 72%, rgba(5, 5, 5, 0.82)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.012)),
    rgba(5, 5, 5, 0.62);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.app-preview-panel::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0, rgba(255, 247, 229, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, transparent 0, rgba(255, 247, 229, 0.032) 1px, transparent 1px);
  background-size: 76px 76px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 42%, transparent);
  opacity: 0.34;
  pointer-events: none;
}

.app-preview-panel > * {
  position: relative;
  z-index: 1;
}

.app-preview-panel h3 {
  margin: 0;
  color: var(--paper);
  font-size: clamp(1.4rem, 2.4vw, 2.45rem);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 1;
}

.app-preview-panel p:not(.eyebrow) {
  max-width: 62ch;
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.45;
}

.app-preview-device {
  position: relative;
  justify-self: center;
  width: min(176px, 100%);
  margin: -26px 0 -130px;
  overflow: visible;
  border-radius: 34px;
  background: transparent;
}

.app-preview-device::before {
  position: absolute;
  inset: 22% -22% 12%;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 91, 143, 0.24), transparent 62%);
  content: "";
  filter: blur(24px);
}

.app-preview-device img {
  display: block;
  width: 100%;
  height: auto;
  clip-path: inset(1.35% 3.2% 1.65% 3.2% round 9% 9% 9% 9%);
  filter:
    drop-shadow(0 28px 54px rgba(0, 0, 0, 0.72))
    drop-shadow(0 0 26px rgba(255, 91, 143, 0.22));
  transform: rotate(1.5deg);
}

.split-grid,
.signals-layout,
.network-layout,
.scarcity-layout,
.access-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.46fr);
  gap: 18px;
  margin-top: 18px;
}

.terminal-panel {
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.terminal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.terminal-head h3 {
  margin: 0;
  color: var(--paper);
  font-size: 0.95rem;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.terminal-head span {
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.market-rows {
  display: grid;
}

.market-row,
.signal-item,
.request-item,
.report-item {
  display: grid;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 247, 229, 0.07);
}

.market-row:last-child,
.signal-item:last-child,
.request-item:last-child,
.report-item:last-child {
  border-bottom: 0;
}

.market-row {
  grid-template-columns: minmax(170px, 1fr) 72px 76px minmax(120px, 0.55fr) minmax(110px, 0.55fr) minmax(92px, 0.45fr) 96px;
}

.market-rows.compact .market-row {
  grid-template-columns: minmax(160px, 1fr) 60px 68px minmax(110px, 0.6fr);
}

.row-main {
  min-width: 0;
}

.row-main strong {
  display: block;
  color: var(--paper);
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: -0.028em;
}

.row-main span,
.row-cell {
  color: rgba(255, 247, 229, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
}

.row-score {
  color: #fff0c4;
  font-size: 1.18rem;
  font-weight: 950;
}

.row-delta {
  color: var(--gold);
  font-weight: 950;
}

.row-delta.is-negative {
  color: rgba(255, 122, 79, 0.95);
}

.watch-button {
  min-height: 34px;
  border: 1px solid rgba(244, 182, 92, 0.22);
  border-radius: 999px;
  background: rgba(244, 182, 92, 0.065);
  color: #ffd08a;
  font-size: 0.72rem;
  font-weight: 950;
}

.watch-button.is-saved {
  border-color: rgba(118, 229, 168, 0.38);
  background: rgba(118, 229, 168, 0.09);
  color: #bcffd7;
}

.watch-button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.sector-columns,
.asset-columns {
  display: grid;
  gap: 14px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 247, 229, 0.07);
  color: rgba(255, 247, 229, 0.36);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sector-columns {
  grid-template-columns: minmax(170px, 1fr) 72px 76px minmax(120px, 0.55fr) minmax(110px, 0.55fr) minmax(92px, 0.45fr) 96px;
}

.asset-columns {
  grid-template-columns: minmax(180px, 1fr) 84px minmax(110px, 0.5fr) minmax(110px, 0.5fr) 92px;
}

.scarcity-board .market-row {
  grid-template-columns: minmax(180px, 1fr) 84px minmax(110px, 0.5fr) minmax(110px, 0.5fr) 92px;
}

.signal-list {
  display: grid;
}

.signal-item {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.signal-type {
  display: inline-flex;
  min-width: 86px;
  justify-content: center;
  padding: 7px 9px;
  border: 1px solid rgba(244, 182, 92, 0.18);
  border-radius: 999px;
  color: #ffd08a;
  font-size: 0.62rem;
  font-weight: 950;
  text-transform: uppercase;
}

.signal-copy strong {
  display: block;
  color: var(--paper);
  font-weight: 950;
  letter-spacing: -0.02em;
}

.signal-copy p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

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

.ranking-card,
.forum-card,
.profile-card,
.report-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
}

.ranking-card::before,
.forum-card::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 0%, rgba(244, 182, 92, 0.13), transparent 36%);
  content: "";
  pointer-events: none;
}

.ranking-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.ranking-line {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  color: rgba(255, 247, 229, 0.78);
  font-size: 0.86rem;
  font-weight: 850;
}

.ranking-line b {
  color: #ffd08a;
}

.property-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.33fr);
  gap: 18px;
}

.property-map-card {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background:
    radial-gradient(circle at 64% 40%, rgba(244, 182, 92, 0.2), transparent 28%),
    radial-gradient(circle at 30% 72%, rgba(118, 229, 168, 0.08), transparent 26%),
    rgba(5, 5, 5, 0.7);
}

.map-topline {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 247, 229, 0.08);
}

.map-topline span,
.map-topline strong {
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.property-map {
  position: absolute;
  inset: 68px 0 0;
  overflow: hidden;
}

.map-plane {
  position: absolute;
  left: 50%;
  top: 54%;
  width: min(940px, 116%);
  height: min(560px, 82%);
  border: 1px solid rgba(255, 247, 229, 0.11);
  border-radius: 36px;
  background:
    linear-gradient(90deg, rgba(255, 247, 229, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 247, 229, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 58% 56%, rgba(255, 122, 79, 0.24), transparent 24%),
    radial-gradient(circle at 24% 66%, rgba(244, 182, 92, 0.2), transparent 28%),
    rgba(8, 9, 9, 0.82);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.55);
  transform: translate(-50%, -50%) perspective(1000px) rotateX(55deg) rotateZ(-16deg);
  transform-origin: center;
}

.map-boundary,
.map-heat,
.map-street,
.map-building,
.property-pin,
.map-flow,
.map-label {
  position: absolute;
}

.map-boundary {
  border: 1px solid rgba(255, 247, 229, 0.18);
  border-radius: 22px;
  background: rgba(255, 247, 229, 0.03);
}

.map-boundary.is-hot {
  border-color: rgba(255, 122, 79, 0.34);
  background: rgba(255, 122, 79, 0.1);
  box-shadow: inset 0 0 40px rgba(255, 122, 79, 0.12);
}

.map-heat {
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 182, 92, 0.28), transparent 66%);
  animation: heat-shift 4.8s ease-in-out infinite;
}

@keyframes heat-shift {
  0%,
  100% {
    opacity: 0.36;
    transform: scale(0.94);
  }

  50% {
    opacity: 0.76;
    transform: scale(1.08);
  }
}

.map-street {
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 247, 229, 0.17);
}

.map-street.is-highway {
  height: 6px;
  background: linear-gradient(90deg, rgba(255, 247, 229, 0.18), rgba(244, 182, 92, 0.32), rgba(255, 247, 229, 0.18));
}

.map-building {
  width: var(--w, 22px);
  height: var(--h, 74px);
  border: 1px solid rgba(255, 247, 229, 0.18);
  border-radius: 4px 4px 2px 2px;
  background:
    repeating-linear-gradient(180deg, rgba(255, 247, 229, 0.38) 0 2px, transparent 2px 8px),
    linear-gradient(180deg, rgba(255, 247, 229, 0.86), rgba(244, 182, 92, 0.38) 52%, rgba(5, 5, 5, 0.9));
  box-shadow: 0 0 24px rgba(244, 182, 92, 0.2);
  transform: translate(-50%, -100%) skewY(-11deg);
  transform-origin: bottom center;
}

.map-building.is-orange {
  background:
    repeating-linear-gradient(180deg, rgba(255, 247, 229, 0.24) 0 2px, transparent 2px 8px),
    linear-gradient(180deg, rgba(255, 208, 138, 0.9), rgba(255, 122, 79, 0.42) 54%, rgba(5, 5, 5, 0.9));
}

.property-pin {
  min-width: 116px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 247, 229, 0.1);
  border-radius: 14px;
  background: rgba(4, 4, 4, 0.88);
  color: var(--paper);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.48);
  transform: translate(-50%, -115%);
}

.property-pin button {
  display: grid;
  gap: 2px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.property-pin strong {
  font-size: 0.78rem;
  line-height: 1.05;
}

.property-pin span {
  color: rgba(255, 247, 229, 0.62);
  font-size: 0.72rem;
  font-weight: 900;
}

.property-pin b {
  color: var(--gold);
}

.property-pin.is-selected {
  border-color: rgba(244, 182, 92, 0.62);
  box-shadow: 0 0 0 1px rgba(244, 182, 92, 0.18), 0 22px 60px rgba(244, 182, 92, 0.18);
}

.map-flow {
  width: 18%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(118, 229, 168, 0.72), transparent);
  animation: flow-slide 3.4s linear infinite;
}

@keyframes flow-slide {
  from {
    opacity: 0.16;
    transform: translateX(-12px);
  }

  50% {
    opacity: 0.8;
  }

  to {
    opacity: 0.16;
    transform: translateX(20px);
  }
}

.market-inspector {
  align-self: stretch;
  padding: 20px;
}

.inspector-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 12px;
}

.inspector-value strong {
  margin: 0;
  font-size: 2.6rem;
}

.inspector-value b {
  color: var(--gold);
  font-size: 1.2rem;
}

.inspector-stats {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.inspector-stats div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 247, 229, 0.08);
  color: var(--muted);
  font-weight: 850;
}

.inspector-stats b {
  color: var(--paper);
}

.filter-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-strip button {
  min-height: 34px;
  padding: 8px 11px;
  color: rgba(255, 247, 229, 0.68);
  font-size: 0.74rem;
}

.filter-strip button.is-active {
  border-color: rgba(244, 182, 92, 0.44);
  background: rgba(244, 182, 92, 0.12);
  color: #ffd08a;
}

.prestige-card {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  padding: 22px;
  background:
    radial-gradient(circle at 72% 14%, rgba(244, 182, 92, 0.26), transparent 24%),
    radial-gradient(circle at 48% 54%, rgba(255, 91, 143, 0.1), transparent 28%),
    rgba(5, 5, 5, 0.72);
}

.prestige-score {
  display: block;
  margin-top: 20px;
  font-size: clamp(4.8rem, 10vw, 9rem);
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 0.88;
}

.prestige-chart {
  position: relative;
  height: 170px;
  margin-top: 36px;
  border-bottom: 1px solid rgba(255, 247, 229, 0.12);
  background:
    linear-gradient(180deg, transparent, rgba(255, 247, 229, 0.035)),
    repeating-linear-gradient(180deg, transparent 0 42px, rgba(255, 247, 229, 0.08) 42px 43px);
}

.prestige-chart::before,
.prestige-chart::after {
  position: absolute;
  right: 2%;
  left: 2%;
  height: 3px;
  border-radius: 999px;
  content: "";
  transform-origin: left;
}

.prestige-chart::before {
  bottom: 34%;
  background: rgba(255, 247, 229, 0.22);
  transform: rotate(-6deg);
}

.prestige-chart::after {
  bottom: 18%;
  background: linear-gradient(90deg, rgba(244, 182, 92, 0.92), rgba(255, 122, 79, 0.8));
  box-shadow: 0 0 22px rgba(244, 182, 92, 0.34);
  transform: rotate(-12deg);
}

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

.profile-card {
  min-height: 172px;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.skill-list span {
  padding: 6px 8px;
  border: 1px solid rgba(255, 247, 229, 0.09);
  border-radius: 999px;
  color: rgba(255, 247, 229, 0.62);
  font-size: 0.66rem;
  font-weight: 850;
}

.request-list,
.report-list {
  display: grid;
}

.request-item,
.report-item {
  grid-template-columns: minmax(0, 1fr) auto;
}

.request-item strong,
.report-item strong {
  display: block;
  color: var(--paper);
  font-weight: 950;
}

.request-item span,
.report-item span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

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

.forum-card {
  min-height: 190px;
  cursor: default;
}

.forum-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.forum-meta span {
  padding: 7px 9px;
  border: 1px solid rgba(255, 247, 229, 0.09);
  border-radius: 999px;
  color: rgba(255, 247, 229, 0.6);
  font-size: 0.66rem;
  font-weight: 900;
}

.forum-latest {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.access-layout {
  align-items: start;
}

.auth-panel,
.membership-panel {
  padding: 20px;
}

.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.auth-tabs button {
  flex: 1;
  min-height: 42px;
  color: rgba(255, 247, 229, 0.66);
}

.auth-tabs button.is-active {
  border-color: rgba(244, 182, 92, 0.44);
  background: rgba(244, 182, 92, 0.12);
  color: #ffd08a;
}

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

.auth-form {
  display: none;
}

.auth-form.is-active {
  display: grid;
}

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

.platform-form label {
  display: grid;
  gap: 7px;
}

.platform-form label span {
  color: rgba(255, 247, 229, 0.5);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.platform-form input,
.platform-form select,
.platform-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 247, 229, 0.1);
  border-radius: 14px;
  background: rgba(5, 5, 5, 0.58);
  color: var(--paper);
  font-weight: 750;
  outline: none;
  padding: 12px 13px;
}

.platform-form input:focus,
.platform-form select:focus,
.platform-form textarea:focus {
  border-color: rgba(244, 182, 92, 0.42);
  box-shadow: 0 0 0 3px rgba(244, 182, 92, 0.08);
}

.platform-form textarea {
  resize: vertical;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.form-status.is-error {
  color: #ff9c88;
}

.form-status.is-success {
  color: #baffd5;
}

.tier-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.tier-grid article {
  padding: 14px;
  border: 1px solid rgba(255, 247, 229, 0.09);
  border-radius: 18px;
  background: rgba(255, 247, 229, 0.035);
}

.tier-grid strong {
  font-size: 1rem;
}

.locked-preview {
  position: relative;
}

.locked-preview.is-locked .lockable-content {
  filter: blur(7px);
  opacity: 0.38;
  pointer-events: none;
  user-select: none;
}

.lock-overlay {
  position: absolute;
  inset: auto 18px 18px;
  z-index: 8;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(244, 182, 92, 0.24);
  border-radius: 18px;
  background: rgba(5, 5, 5, 0.84);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(18px);
}

.lock-overlay strong {
  color: var(--paper);
  font-size: 1rem;
}

.lock-overlay p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.lock-overlay button {
  justify-self: start;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 1180px) {
  .command-grid,
  .property-layout,
  .split-grid,
  .signals-layout,
  .network-layout,
  .scarcity-layout,
  .access-layout {
    grid-template-columns: 1fr;
  }

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

  .app-preview-panel {
    grid-template-columns: 1fr;
  }

  .app-preview-device {
    justify-self: start;
    width: min(210px, 52vw);
    margin: 0 0 -96px;
  }

  .app-preview-panel .ghost-button {
    justify-self: start;
  }

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

@media (max-width: 760px) {
  .platform-shell,
  .platform-shell.is-sidebar-collapsed {
    --sidebar-width: 286px;
    grid-template-columns: 1fr;
  }

  .platform-main {
    padding: 16px 16px 72px;
  }

  .platform-topbar {
    position: relative;
    flex-direction: column;
    align-items: stretch;
    margin: 0 0 16px;
    padding: 0 0 16px;
    background: transparent;
    backdrop-filter: none;
  }

  .mobile-sidebar-button {
    display: inline-flex;
    align-self: start;
    min-height: 40px;
    padding: 0 14px;
  }

  .topbar-actions {
    justify-content: stretch;
  }

  .topbar-actions > button,
  .account-cluster,
  .account-button {
    flex: 1;
    width: 100%;
  }

  .platform-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 100;
    width: min(286px, calc(100vw - 34px));
    height: 100dvh;
    overflow-y: auto;
    padding: 16px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    transform: translateX(-105%);
    transition: transform 220ms ease;
  }

  .platform-shell.is-sidebar-open .platform-sidebar {
    transform: translateX(0);
  }

  .sidebar-scrim {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: block;
    border: 0;
    background: rgba(0, 0, 0, 0.54);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .platform-shell.is-sidebar-open .sidebar-scrim {
    opacity: 1;
    pointer-events: auto;
  }

  .sidebar-header {
    grid-template-columns: minmax(0, 1fr) 42px;
    justify-items: stretch;
  }

  .platform-shell.is-sidebar-collapsed .platform-logo,
  .platform-logo {
    display: block;
    width: 148px;
  }

  .platform-shell.is-sidebar-collapsed .platform-icon {
    display: none;
  }

  .platform-shell.is-sidebar-collapsed .platform-brand small,
  .platform-brand small {
    display: block;
  }

  .platform-shell.is-sidebar-collapsed .access-state-card,
  .access-state-card {
    display: block;
  }

  .platform-nav {
    position: static;
    z-index: 80;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .platform-shell.is-sidebar-collapsed .platform-nav button,
  .platform-nav button {
    display: block;
    min-height: 42px;
    padding: 11px 13px;
    border-radius: 14px;
    font-size: 0.86rem;
    text-align: left;
  }

  .platform-shell.is-sidebar-collapsed .platform-nav button::before {
    content: none;
  }

  .platform-shell.is-sidebar-collapsed .platform-nav button.is-active {
    box-shadow: inset 3px 0 0 rgba(244, 182, 92, 0.82);
  }

  .market-ticker {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .ticker-label {
    border-right: 0;
    border-bottom: 1px solid rgba(244, 182, 92, 0.13);
  }

  .section-header {
    display: grid;
    gap: 14px;
    margin-top: 26px;
  }

  .hero-intel-card {
    min-height: 360px;
  }

  .platform-topbar h1,
  .section-header h2 {
    line-height: 1.02;
  }

  .hero-intel-copy strong {
    font-size: clamp(4rem, 24vw, 6rem);
  }

  .app-preview-panel {
    min-height: 0;
  }

  .app-preview-device {
    justify-self: center;
    width: min(190px, 62vw);
    margin: 4px auto 12px;
  }

  .app-preview-panel .ghost-button {
    justify-self: stretch;
    width: 100%;
  }

  .activity-grid,
  .ranking-grid,
  .forum-grid,
  .profile-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .app-preview-panel .ghost-button {
    width: 100%;
  }

  .property-map-card {
    min-height: 540px;
  }

  .market-row,
  .sector-columns,
  .asset-columns,
  .scarcity-board .market-row,
  .market-rows.compact .market-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .row-cell,
  .sector-columns span:nth-child(n + 3),
  .asset-columns span:nth-child(n + 3) {
    display: none;
  }

  .market-row .watch-button {
    grid-column: 1 / -1;
    justify-self: start;
    min-width: 120px;
  }

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

  .request-item,
  .report-item {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
