/* Experience layer: composited motion, native dialogs, no external dependencies. */
.hero-upgraded {
  overflow: clip;
}
.site-footer button.text-link {
  background: none;
  border: 0;
  color: var(--muted);
  cursor: pointer;
}
:root {
  --bg: #0b1019;
  --panel: #141d2a;
  --line: #283547;
  --text: #eef4ff;
  --muted: #98aac2;
  --blue: #79ceff;
  --cyan: #28baff;
  --lime: #c2ed76;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}
body {
  background:
    radial-gradient(ellipse at 80% 2%, #13345760, transparent 38%), var(--bg);
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.site-header {
  background: #0b1019f5;
}
.brand img {
  box-shadow: 0 0 26px #00adee24;
}
.navigation {
  gap: 8px;
  border-radius: 12px;
  padding: 4px;
  background: #ffffff03;
  border: 1px solid #ffffff06;
}
.nav-button {
  padding: 9px 14px;
  border-radius: 8px;
  transition:
    background 0.2s,
    color 0.2s;
}
.nav-button.active {
  background: #66c0f410;
  color: var(--blue);
}
.nav-button:after {
  left: 18px;
  right: 18px;
  bottom: -5px;
}
.header-inner {
  max-width: 1400px;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 20px;
}
.header-actions {
  gap: 12px;
}
.utility-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 36px;
  height: 36px;
  border: 1px solid #ffffff0c;
  border-radius: 9px;
  background: #ffffff03;
  color: var(--muted);
  cursor: pointer;
  transition:
    color 0.2s,
    background 0.2s;
}
.icon-button:hover {
  color: var(--blue);
  background: #66c0f413;
}
.icon-button[aria-pressed="true"] {
  color: var(--lime);
}
kbd {
  font:
    10px "Segoe UI",
    sans-serif;
  border: 1px solid #ffffff15;
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 2px 5px;
  color: var(--muted);
  white-space: nowrap;
}
.command-trigger svg {
  width: 16px;
}
.command-trigger {
  padding: 0 8px;
}
.button {
  border-radius: 10px;
  min-height: 44px;
}
.button-primary {
  box-shadow: 0 5px 24px #00adee20;
}
.button-primary:hover {
  box-shadow: 0 7px 30px #00adee35;
}
.button-steam {
  background: linear-gradient(140deg, #263e50, #192b3d);
}
.page {
  max-width: 1330px;
}
.hero-upgraded {
  min-height: 690px;
  padding-top: 66px;
  padding-bottom: 74px;
  grid-template-columns: 1.06fr 1fr;
  gap: 32px;
}
.hero:before {
  right: 0;
  background: radial-gradient(ellipse, #16426b55, transparent 70%);
}
.hero-kicker {
  font-size: 9px;
  letter-spacing: 0.19em;
  color: #68829f;
  margin: 32px 0 -7px;
}
.hero-status {
  font-size: 8px;
  letter-spacing: 0.1em;
  border-color: #66c0f425;
  color: #9ec8e4;
  background: #66c0f408;
}
.status-slash {
  color: #4f637b;
}
.hero h1 {
  font-size: clamp(50px, 5.5vw, 78px);
  line-height: 1.07;
  letter-spacing: -0.055em;
}
.hero h1 span {
  background: linear-gradient(105deg, #8bdcff, #2aabf4 75%);
  color: transparent;
  background-clip: text;
}
.hero-description {
  font-size: 15px;
  max-width: 445px;
  line-height: 1.9;
}
.hero .profile-form {
  border-color: #3e536b;
  background: linear-gradient(125deg, #182536, #111c2b);
  box-shadow: 0 12px 40px #0002;
  padding: 7px;
}
.hero-secondary {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 25px;
}
.text-link {
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.text-link svg {
  width: 16px;
  transition: transform 0.2s;
}
.text-link:hover svg {
  transform: translateX(5px);
}
.shortcut-hint {
  background: none;
  border: 0;
  color: #7188a4;
  font-size: 10px;
  display: flex;
  gap: 7px;
  align-items: center;
}
.hero-art {
  min-height: 480px;
  overflow: visible;
  isolation: isolate;
  margin: 0;
  perspective: 1200px;
}
.scene {
  position: relative;
  width: 100%;
  height: 480px;
  perspective: 1200px;
}
.scene-grid {
  position: absolute;
  inset: 2% -1%;
  border-radius: 50%;
  background-image:
    linear-gradient(#5485a20b 1px, transparent 1px),
    linear-gradient(90deg, #5485a20b 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse, black, transparent 68%);
  transform: rotate(-10deg);
}
.scene .orbit {
  inset: 0 35px;
  transform: rotate(-26deg);
  border-color: #66c0f415;
}
.scene .orbit.second {
  inset: 50px 0;
  transform: rotate(26deg);
  border-color: #66c0f413;
}
.scene-label {
  position: absolute;
  top: 0;
  left: 24px;
  right: 10px;
  font-size: 8px;
  letter-spacing: 0.13em;
  color: #8299b5;
  display: flex;
  align-items: center;
  gap: 8px;
}
.scene-label > span:last-child {
  margin-left: auto;
  color: #45617f;
}
.scene-tile {
  position: absolute;
  border: 1px solid #72b3cf55;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 25px 50px #0006;
}
.tile-back {
  width: 190px;
  height: 242px;
  top: 45px;
  right: 35px;
  background: linear-gradient(145deg, #364646, #183b36 48%, #122e31);
  transform: rotate(12deg);
  padding: 17px;
}
.tile-back > span {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: #c4ddb8;
}
.tile-back > small {
  position: absolute;
  bottom: 14px;
  font-size: 7px;
  letter-spacing: 0.12em;
  color: #bacfc3;
}
.tile-landscape {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 55% 35%,
    #eff0b89e 0 11%,
    transparent 12%
  );
}
.tile-landscape:before,
.tile-landscape:after {
  content: "";
  position: absolute;
  left: -15%;
  right: -15%;
  height: 70%;
  bottom: -15%;
  background: linear-gradient(140deg, #518978, #122f39);
  clip-path: polygon(0 75%, 38% 0, 100% 80%, 100% 100%, 0 100%);
}
.tile-landscape:after {
  left: 30%;
  bottom: -25%;
  background: linear-gradient(120deg, #9cad73, #16463d);
  transform: scale(1.3);
}
.tile-front {
  width: 210px;
  height: 255px;
  left: 35px;
  top: 26px;
  padding: 19px;
  background: linear-gradient(145deg, #274762, #102237 60%, #172838);
  transform: rotate(-12deg);
}
.tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #92d8fa;
  font-size: 9px;
  letter-spacing: 0.2em;
}
.tile-top svg {
  width: 17px;
}
.tile-front strong {
  display: block;
  position: absolute;
  bottom: 36px;
  font-size: 21px;
  letter-spacing: -0.04em;
}
.tile-front small {
  position: absolute;
  bottom: 21px;
  font-size: 6px;
  letter-spacing: 0.13em;
  color: #8daac1;
}
.portal-art {
  position: absolute;
  inset: 48px 10px 65px;
  perspective: 500px;
}
.portal-art i {
  position: absolute;
  width: 80px;
  height: 110px;
  border: 8px solid #37c2ff;
  border-radius: 50%;
  box-shadow:
    0 0 22px #00b7ff5c,
    inset 0 0 17px #00b7ff5c;
  transform: rotate(-20deg) rotateY(35deg);
  left: 15px;
  top: 0;
}
.portal-art i:nth-child(2) {
  left: 95px;
  top: 10px;
  width: 60px;
  height: 95px;
  border-color: #c2ed76;
  box-shadow:
    0 0 22px #c2ed7650,
    inset 0 0 17px #c2ed7650;
  transform: rotate(20deg) rotateY(-35deg);
}
.portal-art > span {
  position: absolute;
  left: 86px;
  top: 37px;
  color: #d9edf8;
  font-size: 25px;
}
.scene-console {
  position: absolute;
  z-index: 2;
  top: 223px;
  left: 7px;
  right: 7px;
  max-width: none;
  width: auto;
  transform: rotateY(-7deg) rotateX(6deg) rotateZ(-3deg);
  padding: 0;
  border-radius: 15px;
  border-color: #4a687f;
  background: linear-gradient(130deg, #233b50f5, #142235fa 70%);
  box-shadow: 0 25px 70px #0007;
  overflow: hidden;
}
.console-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid #ffffff0b;
  font-size: 7px;
  letter-spacing: 0.14em;
  color: #8babc4;
}
.console-top > svg {
  margin-left: auto;
  width: 14px;
  height: 14px;
  color: var(--lime);
}
.console-dots {
  display: flex;
  gap: 4px;
}
.console-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #55738c;
}
.console-dots i:first-child {
  background: #83cbed;
}
.console-body {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 22px 18px;
  min-height: 125px;
}
.console-body .eyebrow {
  font-size: 7px;
  letter-spacing: 0.08em;
  color: var(--lime);
}
.console-body h3 {
  font-size: 22px;
  margin: 8px 0;
  letter-spacing: -0.035em;
}
.console-body p {
  font-size: 10px;
  line-height: 1.6;
  max-width: 300px;
  color: #96acc1;
  margin: 0;
}
.console-orbit {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid #70c9ff30;
  background: #00adee0c;
  border-radius: 12px;
  color: #74d4ff;
  box-shadow: inset 0 0 25px #00adee0b;
}
.preview-tabs {
  display: flex;
  gap: 6px;
  margin: 0 18px 14px;
}
.preview-tabs button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 10px;
  padding: 9px 5px;
  background: #0a152540;
  border: 1px solid #ffffff09;
  border-radius: 7px;
  color: #9cb3ca;
  transition:
    background 0.2s,
    color 0.2s;
}
.preview-tabs button svg {
  width: 13px;
  height: 13px;
}
.preview-tabs button.active {
  color: var(--blue);
  background: #25aaff12;
  border-color: #25aaff4f;
}
.console-bottom {
  padding: 10px 18px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #ffffff09;
  color: #6e879f;
  font-size: 7px;
}
.console-bottom > span:first-child {
  display: flex;
  gap: 5px;
  align-items: center;
  letter-spacing: 0.06em;
}
.console-bottom .status-dot {
  width: 4px;
  height: 4px;
}
.scene-chip {
  position: absolute;
  right: -7px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--lime);
  color: #1c310f;
  z-index: 3;
  padding: 12px 16px;
  line-height: 1.35;
  font-size: 11px;
  font-weight: 650;
  border-radius: 10px;
  transform: rotate(6deg);
  box-shadow: 0 10px 30px #0004;
}
.scene-chip svg {
  width: 23px;
  height: 23px;
}
.scene-coordinate {
  position: absolute;
  bottom: -22px;
  left: 15px;
  right: 15px;
  display: flex;
  justify-content: space-between;
  font: 8px monospace;
  color: #425c77;
}
.scene-coordinate span {
  font-size: 7px;
}
.scene[data-mode="region"] .tile-front {
  transform: rotate(-6deg) translateY(-7px);
}
.scene[data-mode="gift"] .tile-back {
  transform: rotate(6deg) translateY(-8px);
}
.scene-tile {
  transition: transform 0.55s var(--ease);
}
.motion-scene .portal-art {
  animation: portal-drift 8s ease-in-out infinite;
  animation-play-state: paused;
}
.motion-scene.is-in-view .portal-art {
  animation-play-state: running;
}
@keyframes portal-drift {
  50% {
    transform: translateY(-7px);
  }
}
.market-strip {
  padding: 23px 5px;
  border-color: #2b3c4f80;
}
.market-names {
  font-size: 22px;
  gap: 46px;
}
.feature-deck {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 28px;
  border: 1px solid #293a4e;
  border-radius: 14px;
  background: linear-gradient(120deg, #1a2a3c65, #121e2e65);
  overflow: hidden;
}
.feature-card {
  display: flex;
  gap: 15px;
  padding: 26px 22px;
  position: relative;
}
.feature-card + .feature-card {
  border-left: 1px solid #2b3a4d;
}
.feature-icon {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #00adee10;
  color: var(--blue);
  border-radius: 9px;
}
.feature-icon.green {
  color: var(--lime);
  background: #c2ed760c;
}
.feature-icon.purple {
  color: #bcacff;
  background: #bcacff0c;
}
.feature-card h3 {
  font-size: 13px;
  letter-spacing: -0.02em;
  margin: 3px 0 10px;
}
.feature-card p {
  font-size: 11px;
  line-height: 1.7;
  margin: 0;
  color: #879cb5;
}
.feature-index {
  position: absolute;
  right: 10px;
  top: 8px;
  color: #456079;
  font: 8px monospace;
}
.section {
  padding: 75px 0;
}
.step {
  border-radius: 14px;
  background: linear-gradient(150deg, #1b2b3e, #101b2a);
}
.step-no {
  color: #80c9ef;
  font-size: 10px;
  letter-spacing: 0.06em;
}
.step:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.step:hover:after {
  transform: scaleX(1);
}
.friend-promo {
  padding: 42px 40px;
  gap: 25px;
  background:
    radial-gradient(ellipse at 0% 30%, #29719335, transparent 65%), #142235;
}
.friend-promo > div:not(.gift-emblem) {
  flex: 1;
}
.gift-emblem {
  position: relative;
  width: 82px;
  height: 82px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid #66c0f43a;
  background: linear-gradient(140deg, #41617a40, #0a203570);
  transform: rotate(-9deg);
}
.gift-emblem svg {
  width: 43px;
  height: 43px;
  color: var(--blue);
}
.gift-emblem i {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--lime);
  transform: rotate(45deg);
  right: -10px;
  top: 6px;
}
.gift-emblem i:last-child {
  width: 4px;
  height: 4px;
  left: -9px;
  top: 57px;
  background: var(--cyan);
}
.friend-promo h2 {
  font-size: 30px;
}
.faq {
  max-width: 900px;
}
.faq details {
  padding: 21px 23px;
  margin: 10px 0;
  border: 1px solid #263749;
  border-radius: 11px;
  background: #14203360;
  transition: background 0.2s;
}
.faq details[open] {
  background: #182a3a;
}
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:after {
  content: "+";
  font-size: 20px;
  line-height: 1;
  color: var(--blue);
}
.faq details[open] summary:after {
  content: "−";
}
.recent-profiles {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.recent-profiles > span {
  font-size: 10px;
  color: #7690aa;
  margin-right: 4px;
}
.recent-profiles button {
  border: 1px solid #31445b;
  background: #172536;
  border-radius: 20px;
  color: #adc2d6;
  padding: 5px 9px;
  font-size: 10px;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recent-profiles button svg {
  width: 11px;
  height: 11px;
  display: inline;
  margin-right: 3px;
  vertical-align: middle;
}
.recent-profiles .clear-recent {
  border: 0;
  background: none;
  color: #8297ad;
  font-size: 17px;
  padding: 0 5px;
}
.workspace-heading h1 {
  font-size: 40px;
}
.workspace-heading .eyebrow {
  font-size: 9px;
}
.scan-form {
  margin-bottom: 28px;
}
.owner {
  font-size: 14px;
}
.owner .muted {
  font-size: 11px;
}
.scan-dashboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.metric {
  padding: 20px 22px;
  border: 1px solid #2a3d51;
  background: linear-gradient(130deg, #1d2e4260, #121d2b);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.metric > span {
  font-size: 8px;
  letter-spacing: 0.1em;
  color: #839bb5;
  display: flex;
  align-items: center;
  gap: 8px;
}
.metric svg {
  width: 13px;
  height: 13px;
}
.metric strong {
  display: block;
  font-size: 32px;
  line-height: 1.2;
  margin: 12px 0 5px;
  font-weight: 650;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.metric:nth-child(3) strong {
  color: var(--lime);
}
.metric small {
  font-size: 10px;
  color: #7187a0;
}
.metric:after {
  content: "";
  position: absolute;
  right: -12px;
  top: 38px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1px solid #66c0f40c;
  box-shadow: 0 0 0 16px #66c0f405;
}
.toolbar {
  margin-bottom: 12px;
  padding: 15px;
  background: #142132;
}
.toolbar input {
  font-size: 13px;
}
.collection-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.collection-tabs {
  display: flex;
  gap: 15px;
}
.collection-tabs > button {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  border-bottom: 2px solid transparent;
  padding: 10px 0;
  color: var(--muted);
  font-size: 12px;
}
.collection-tabs > button.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.collection-tabs svg {
  width: 14px;
  height: 14px;
}
.collection-tabs button > span {
  background: #22354b;
  border-radius: 5px;
  padding: 0 5px;
  font-size: 10px;
  color: #8eabc6;
}
.collection-tools {
  display: flex;
  gap: 10px;
  align-items: center;
}
.sort-label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
}
.sort-label select {
  padding: 6px 8px;
  font-size: 11px;
}
.view-switch {
  display: flex;
  border: 1px solid #2c4055;
  padding: 3px;
  border-radius: 8px;
  gap: 2px;
}
.view-switch button {
  background: none;
  border: 0;
  color: #6f879f;
  border-radius: 5px;
  display: grid;
  place-items: center;
  padding: 5px;
}
.view-switch button svg {
  width: 16px;
  height: 16px;
}
.view-switch button[aria-pressed="true"] {
  color: var(--blue);
  background: #66c0f414;
}
.collection-tools > .icon-button {
  height: 32px;
  min-width: 32px;
}
.collection-tools > .icon-button svg {
  width: 16px;
  height: 16px;
}
.game-card {
  background: linear-gradient(115deg, #172536, #121e2d);
  border-color: #2a3c50;
  position: relative;
  transition:
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.game-card:hover {
  border-color: #4b7496;
  box-shadow: 0 7px 26px #0002;
}
.game-info {
  gap: 15px;
}
.game-cover {
  width: 130px;
}
.game-description {
  line-height: 1.65;
}
.game-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 13px;
}
.game-actions button {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  color: #86a2bd;
  font-size: 9px;
}
.game-actions button svg {
  width: 13px;
  height: 13px;
}
.game-actions button:hover {
  color: var(--blue);
}
.game-actions .is-saved {
  color: var(--lime);
}
.game-actions .is-saved svg {
  fill: #c2ed761a;
}
.market-tabs {
  gap: 6px;
  background: #0e19266b;
  padding: 3px;
  border-radius: 7px;
}
.market-tabs button {
  flex: 1;
  border: 0;
  padding: 6px;
  border-radius: 5px;
  font-size: 10px;
}
.market-tabs button.active {
  background: #66c0f417;
  color: var(--blue);
}
.offer {
  border-color: #293e523b;
  background: #08121d6b;
  border-radius: 8px;
  padding: 11px;
}
.offer-best {
  border-left: 2px solid #c2ed7660;
}
.offer strong {
  font-variant-numeric: tabular-nums;
}
.offer-review {
  border-left: 2px solid #d2b37780;
}
.game-list.view-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}
.view-grid .game-card {
  display: flex;
  flex-direction: column;
  padding: 18px;
  gap: 18px;
  min-width: 0;
  height: 100%;
}
.view-grid .game-info {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.view-grid .game-cover {
  width: 100%;
  aspect-ratio: 460/215;
  border-radius: 9px;
}
.view-grid .game-info > div {
  width: 100%;
}
.view-grid .game-description {
  -webkit-line-clamp: 2;
}
.view-grid .steam-price {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  width: 100%;
  border-top: 1px solid #ffffff08;
  padding-top: 14px;
}
.view-grid .steam-price .eyebrow {
  width: 100%;
  margin: 0;
}
.view-grid .market-cell {
  width: 100%;
  margin-top: auto;
}
.view-grid .game-actions {
  justify-content: space-between;
}
.view-grid .price {
  font-size: 22px;
}
/* Native dialog gives focus containment, Escape, and a real modal backdrop. */
dialog {
  background: #121e2d;
  color: var(--text);
  border: 1px solid #486680;
  border-radius: 18px;
  box-shadow: 0 30px 150px #000a;
  padding: 0;
  max-width: calc(100vw - 28px);
  max-height: 85dvh;
  overscroll-behavior: contain;
}
dialog[open] {
  animation: dialog-enter 0.22s var(--ease);
}
dialog::backdrop {
  background: #050b14ce;
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 17px 23px;
  border-bottom: 1px solid #2a3c50;
}
.dialog-top .eyebrow {
  font-size: 9px;
}
.dialog-top .icon-button {
  height: 29px;
  min-width: 29px;
}
.dialog-top svg {
  width: 15px;
  height: 15px;
}
.command-dialog {
  width: 580px;
  margin: 16vh auto auto;
}
.command-input {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  color: var(--blue);
  border-bottom: 1px solid #29394c;
}
.command-input input {
  width: 100%;
  background: none;
  border: 0;
  outline: 0;
  font-size: 15px;
  color: var(--text);
}
.command-input input::placeholder {
  color: #64819d;
}
.command-results {
  padding: 10px;
  max-height: 45vh;
  overflow: auto;
}
.command-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  width: 100%;
  padding: 14px;
  background: none;
  border: 0;
  border-radius: 9px;
  color: #9fbed7;
}
.command-item:hover,
.command-item:focus-visible {
  background: #2a445a70;
}
.command-item > span {
  flex: 1;
  min-width: 0;
}
.command-item strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.command-item small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  color: #738da7;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.command-item > svg:last-child {
  width: 15px;
}
.command-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid #29394c;
  padding: 13px 24px;
  font-size: 9px;
  color: #7e95ac;
}
.command-footer > span:first-child {
  margin-right: auto;
}
.command-empty {
  padding: 15px;
  font-size: 13px;
  color: #96abc1;
}
.offer-dialog {
  width: 840px;
}
.dialog-game {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 24px;
}
.dialog-cover {
  width: 160px;
  border-radius: 10px;
  aspect-ratio: 460/215;
  object-fit: cover;
}
.dialog-game h2 {
  font-size: 26px;
  margin: 0 0 9px;
  overflow-wrap: anywhere;
}
.dialog-game p {
  font-size: 12px;
  color: #91abc3;
  margin: 0;
}
.dialog-offers {
  padding: 0 24px 20px;
}
.dialog-offers > section + section {
  margin-top: 28px;
}
.detail-market-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid #33485c;
}
.detail-market-heading h3 {
  font-size: 16px;
  margin: 0;
  letter-spacing: -0.02em;
}
.detail-market-heading > span {
  font-size: 10px;
  color: #819ab4;
}
.detail-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 17px 0;
  border-bottom: 1px solid #26394c;
}
.detail-offer > div {
  min-width: 0;
}
.detail-offer h4 {
  margin: 8px 0;
  font-size: 12px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.detail-offer p {
  margin: 0 0 6px;
  font-size: 10px;
  color: #809cb6;
}
.detail-offer small {
  font-size: 9px;
  color: #6785a0;
}
.detail-offer .button {
  font-size: 12px;
  white-space: nowrap;
  min-height: 37px;
  padding: 8px 13px;
}
.offer-tag {
  font-size: 8px;
  padding: 4px 7px;
  border-radius: 4px;
  display: inline-block;
}
.offer-tag.verified {
  color: var(--lime);
  background: #c2ed760c;
  border: 1px solid #c2ed7625;
}
.offer-tag.review {
  color: #e1c890;
  background: #e1c8900c;
  border: 1px solid #e1c89025;
}
.dialog-disclaimer {
  font-size: 10px;
  color: #7a93ab;
  padding: 16px 24px;
  border-top: 1px solid #29394c;
  margin: 0;
}
.toast {
  border-color: #45627e;
  background: #1d354c;
  border-radius: 12px;
}
.site-footer {
  background: #090f18;
}
.footer-inner {
  max-width: 1266px;
}
.footer-note {
  max-width: 1266px;
}
.footer-brand {
  color: var(--text) !important;
  font-size: 17px !important;
}
.reveal {
  transition-duration: 0.65s;
}
.feature-card:nth-child(2),
.step:nth-child(2) {
  transition-delay: 0.07s;
}
.feature-card:nth-child(3),
.step:nth-child(3) {
  transition-delay: 0.14s;
}
@keyframes dialog-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 1200px) {
  .command-trigger kbd {
    display: none;
  }
  .header-inner {
    gap: 12px;
    padding-left: 24px;
    padding-right: 24px;
  }
  .nav-button {
    padding: 8px 10px;
  }
  .navigation {
    gap: 2px;
  }
  .hero-upgraded {
    gap: 20px;
  }
  .scene-console {
    left: 0;
    right: 0;
  }
  .console-body {
    padding: 18px;
    gap: 12px;
  }
  .console-body h3 {
    font-size: 20px;
  }
  .tile-front {
    left: 15px;
  }
  .tile-back {
    right: 15px;
  }
  .game-list.view-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .game-cover {
    width: 95px;
  }
  .scene-chip {
    right: 0;
  }
  .feature-card {
    padding: 23px 16px;
    gap: 10px;
  }
  .feature-icon {
    width: 28px;
    height: 28px;
  }
}
@media (max-width: 1000px) {
  .utility-actions {
    gap: 3px;
  }
  .motion-toggle {
    display: none;
  }
  .hero-upgraded {
    min-height: 650px;
  }
  .hero h1 {
    font-size: 58px;
  }
  .hero-status {
    font-size: 7px;
  }
  .scene {
    height: 430px;
  }
  .hero-art {
    min-height: 430px;
  }
  .tile-front {
    width: 170px;
    height: 220px;
    left: 10px;
  }
  .tile-back {
    width: 150px;
    height: 205px;
    right: 10px;
  }
  .scene-console {
    top: 191px;
  }
  .tile-front strong {
    font-size: 18px;
  }
  .portal-art {
    transform: scale(0.8);
    transform-origin: left top;
  }
  .console-orbit {
    display: none;
  }
  .scene-label {
    left: 3px;
    font-size: 7px;
  }
  .console-bottom {
    font-size: 6px;
  }
  .scene-chip {
    font-size: 9px;
    bottom: 3px;
    padding: 9px 11px;
  }
  .friend-promo h2 {
    font-size: 25px;
  }
  .gift-emblem {
    width: 66px;
    height: 66px;
  }
  .header-actions {
    gap: 8px;
  }
}
@media (max-width: 850px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 14px 24px 10px;
  }
  .navigation {
    order: 3;
    width: 100%;
    justify-content: center;
    background: transparent;
    border: 0;
    border-top: 1px solid #ffffff08;
    border-radius: 0;
    padding: 8px 0 0;
    gap: 22px;
  }
  .nav-button:after {
    bottom: -3px;
  }
  .motion-toggle {
    display: flex;
  }
  .hero-upgraded {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-top: 44px;
    padding-bottom: 55px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-kicker {
    font-size: 7px;
  }
  .hero-status {
    flex-wrap: wrap;
  }
  .status-slash {
    display: none;
  }
  .hero-secondary {
    gap: 12px;
  }
  .shortcut-hint {
    display: none;
  }
  .hero-description {
    font-size: 13px;
  }
  .hero-note {
    font-size: 9px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .scene {
    height: 430px;
  }
  .scene-console {
    top: 186px;
  }
  .console-body {
    padding: 18px 15px;
    min-height: 133px;
  }
  .console-body h3 {
    font-size: 21px;
  }
  .console-body p {
    font-size: 10px;
  }
  .console-top {
    padding: 10px;
    font-size: 6px;
    gap: 5px;
  }
  .console-bottom {
    padding: 9px 10px;
  }
  .console-bottom > span:last-child {
    display: none;
  }
  .preview-tabs {
    margin: 0 10px 12px;
    gap: 3px;
  }
  .preview-tabs button {
    font-size: 8px;
    gap: 4px;
  }
  .preview-tabs button svg {
    width: 11px;
  }
  .tile-front {
    width: 160px;
    height: 210px;
    left: 0;
  }
  .tile-back {
    width: 140px;
    height: 195px;
    right: 0;
  }
  .scene-label {
    font-size: 6px;
  }
  .scene-label > span:last-child {
    display: none;
  }
  .scene-coordinate {
    font-size: 6px;
  }
  .scene-coordinate span {
    font-size: 5px;
  }
  .feature-deck {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }
  .feature-card {
    padding: 20px;
    gap: 17px;
  }
  .feature-card + .feature-card {
    border-left: 0;
    border-top: 1px solid #2b3a4d;
  }
  .feature-card h3 {
    font-size: 14px;
    margin-bottom: 6px;
  }
  .feature-card p {
    font-size: 12px;
  }
  .feature-icon {
    width: 35px;
    height: 35px;
  }
  .market-names {
    gap: 25px;
    font-size: 18px;
  }
  .friend-promo {
    flex-wrap: wrap;
    gap: 25px;
    padding: 30px;
  }
  .friend-promo > .button {
    margin-left: 90px;
  }
  .scan-dashboard {
    gap: 9px;
  }
  .metric {
    padding: 16px;
  }
  .metric > span {
    font-size: 7px;
    gap: 5px;
    letter-spacing: 0;
  }
  .metric small {
    font-size: 8px;
  }
  .metric strong {
    font-size: 28px;
  }
  .metric > span svg {
    width: 11px;
  }
  .game-cover {
    width: 135px;
  }
  .workspace-heading h1 {
    font-size: 34px;
  }
}
@media (max-width: 600px) {
  .header-inner {
    padding: 13px 20px 9px;
  }
  .header-actions {
    gap: 6px;
  }
  .utility-actions {
    display: none;
  }
  .brand {
    font-size: 19px;
  }
  .navigation {
    gap: 20px;
    padding-top: 7px;
  }
  .nav-button {
    padding: 8px 10px;
    font-size: 11px;
  }
  .hero-upgraded {
    grid-template-columns: 1fr;
    padding-top: 33px;
    padding-bottom: 43px;
    gap: 43px;
  }
  .hero-kicker {
    margin-top: 24px;
    font-size: 8px;
  }
  .hero-status {
    font-size: 7px;
    gap: 6px;
    white-space: nowrap;
    letter-spacing: 0.06em;
  }
  .hero h1 {
    font-size: clamp(44px, 12vw, 64px);
  }
  .hero-description {
    font-size: 14px;
    max-width: 430px;
  }
  .hero-note {
    font-size: 10px;
    gap: 17px;
  }
  .hero-secondary {
    margin-top: 21px;
  }
  .hero-art {
    min-height: 430px;
    margin: 0 5px;
  }
  .scene {
    height: 430px;
  }
  .scene-label {
    font-size: 7px;
    left: 5px;
    right: 5px;
  }
  .scene-label > span:last-child {
    display: block;
  }
  .tile-front {
    left: 17px;
    top: 35px;
    width: 170px;
    height: 220px;
  }
  .tile-back {
    right: 13px;
    top: 48px;
    width: 155px;
    height: 205px;
  }
  .scene-console {
    top: 193px;
    left: 0;
    right: 0;
    transform: rotate(-2deg);
  }
  .scene-chip {
    bottom: 0;
    right: 0;
    font-size: 10px;
    padding: 10px 13px;
  }
  .scene-coordinate {
    bottom: -15px;
    font-size: 6px;
  }
  .scene-coordinate span {
    font-size: 6px;
  }
  .console-body {
    min-height: 122px;
    padding: 17px 15px;
  }
  .console-body h3 {
    font-size: 22px;
  }
  .console-body p {
    font-size: 10px;
  }
  .console-top {
    padding: 11px 15px;
    font-size: 7px;
  }
  .console-top > svg {
    width: 12px;
  }
  .preview-tabs {
    margin: 0 12px 13px;
    gap: 5px;
  }
  .preview-tabs button {
    font-size: 9px;
    padding: 8px 3px;
  }
  .console-bottom {
    padding: 10px 13px;
    font-size: 7px;
  }
  .scene .orbit {
    inset: 30px 25px;
  }
  .scene .orbit.second {
    inset: 60px 15px;
  }
  .scene-grid {
    inset: 0;
  }
  .market-strip {
    gap: 15px;
    padding: 20px 0;
  }
  .market-names {
    font-size: 17px;
    gap: 12px;
  }
  .feature-card {
    padding: 22px 18px;
    gap: 14px;
  }
  .feature-card h3 {
    font-size: 13px;
  }
  .feature-card p {
    font-size: 11px;
  }
  .section {
    padding: 48px 0;
  }
  .section-title h2 {
    font-size: 31px;
  }
  .friend-promo {
    display: flex;
    align-items: start;
    flex-direction: column;
    padding: 27px;
    gap: 20px;
  }
  .gift-emblem {
    width: 56px;
    height: 56px;
    border-radius: 15px;
  }
  .gift-emblem svg {
    width: 32px;
    height: 32px;
  }
  .friend-promo > div:not(.gift-emblem) {
    flex: auto;
  }
  .friend-promo h2 {
    font-size: 29px;
  }
  .friend-promo > .button {
    margin-left: 0;
  }
  .faq details {
    padding: 18px;
  }
  .faq summary {
    font-size: 12px;
  }
  .faq h2 {
    font-size: 27px;
  }
  .workspace-heading h1 {
    font-size: 28px;
  }
  .scan-dashboard {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .metric {
    padding: 17px;
  }
  .metric strong {
    font-size: 29px;
  }
  .metric > span {
    font-size: 7px;
    letter-spacing: 0.03em;
  }
  .metric small {
    font-size: 9px;
  }
  .collection-controls {
    gap: 10px;
  }
  .collection-tabs {
    width: 100%;
    gap: 22px;
  }
  .collection-tools {
    width: 100%;
    justify-content: space-between;
    gap: 7px;
  }
  .sort-label {
    gap: 5px;
  }
  .sort-label select {
    font-size: 10px;
  }
  .collection-tabs > button {
    font-size: 11px;
  }
  .toolbar {
    margin-top: 17px;
  }
  .game-card {
    grid-template-columns: 100px minmax(0, 1fr);
    padding: 16px;
    gap: 17px;
  }
  .game-cover {
    width: 95px;
  }
  .game-actions {
    gap: 8px;
  }
  .game-actions button {
    font-size: 8px;
  }
  .game-actions button svg {
    width: 11px;
  }
  .market-tabs {
    gap: 2px;
  }
  .market-tabs button {
    padding: 6px 4px;
    font-size: 9px;
  }
  .offer {
    padding: 9px;
  }
  .game-list.view-grid {
    grid-template-columns: 1fr;
  }
  .view-grid .game-card {
    padding: 18px;
  }
  .view-grid .game-info {
    flex-direction: row;
    align-items: start;
  }
  .view-grid .game-cover {
    width: 100px;
    aspect-ratio: 1;
    object-fit: cover;
  }
  .view-grid .game-info > div {
    min-width: 0;
  }
  .view-grid .game-actions {
    justify-content: start;
  }
  .view-grid .game-title {
    font-size: 15px;
  }
  .view-grid .steam-price {
    margin-top: 0;
  }
  .dialog-top {
    padding: 14px 18px;
  }
  .dialog-game {
    gap: 12px;
    padding: 20px 18px;
    align-items: start;
  }
  .dialog-cover {
    width: 85px;
    aspect-ratio: 1;
    object-fit: cover;
  }
  .dialog-game h2 {
    font-size: 23px;
  }
  .dialog-game p {
    font-size: 10px;
  }
  .dialog-offers {
    padding: 0 18px 18px;
  }
  .detail-offer {
    align-items: start;
    gap: 12px;
    flex-direction: column;
  }
  .detail-offer .button {
    width: 100%;
    justify-content: space-between;
  }
  .detail-offer h4 {
    font-size: 12px;
  }
  .detail-offer p {
    font-size: 11px;
  }
  .dialog-disclaimer {
    padding: 15px 18px;
    line-height: 1.7;
  }
  .command-dialog {
    margin: 12vh auto auto;
  }
  .command-input {
    padding: 18px;
  }
  .command-input input {
    font-size: 13px;
  }
  .command-footer {
    padding: 13px 18px;
  }
  .recent-profiles {
    gap: 6px;
    margin-top: 20px;
  }
  .recent-profiles > span {
    width: 100%;
  }
  .scene-tile {
    box-shadow: 0 18px 40px #0005;
  }
}
@media (max-width: 360px) {
  .tile-front {
    left: 8px;
    width: 155px;
  }
  .tile-back {
    right: 7px;
    width: 140px;
  }
  .hero-status {
    font-size: 6px;
  }
  .scene-label {
    font-size: 6px;
  }
  .scene-label > span:last-child {
    display: none;
  }
  .console-body h3 {
    font-size: 20px;
  }
  .scene-chip {
    font-size: 9px;
  }
  .metric > span {
    font-size: 6px;
  }
  .collection-tools {
    gap: 5px;
  }
  .sort-label > span {
    display: none;
  }
  .game-actions {
    gap: 6px;
  }
  .game-actions button {
    font-size: 7px;
  }
  .market-names {
    font-size: 15px;
  }
}
html[data-motion="off"] {
  scroll-behavior: auto;
}
html[data-motion="off"] *,
html[data-motion="off"] *:before,
html[data-motion="off"] *:after {
  animation: none !important;
  transition: none !important;
}
html[data-motion="off"] .reveal {
  opacity: 1;
  transform: none;
}
html[data-motion="off"] .showcase {
  transform: none !important;
}
html[data-motion="off"] .button:hover,
html[data-motion="off"] .step:hover,
html[data-motion="off"] .friend-card:hover {
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .scene-console,
  .scene-tile {
    transform: none !important;
  }
  .scene-chip {
    transform: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  dialog[open] {
    animation: none;
  }
}

.scene-chip {
  top: 140px;
  bottom: auto;
  right: 0;
}
/* Game discovery uses the existing workspace and offer cards. */
.search-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
  margin-top: 24px;
}
.search-result {
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
  padding: 18px;
  color: var(--text, #e8edf7);
  background: #142333;
  border: 1px solid #294254;
  border-radius: 16px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
  min-width: 0;
}
.search-result:hover,
.search-result:focus-visible {
  border-color: #64cfff;
  background: #1a3042;
}
.search-result span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.search-result small {
  display: block;
  margin-top: 8px;
  color: #8ccef1;
}
.search-cover {
  width: 104px;
  aspect-ratio: 231 / 87;
  object-fit: cover;
  border-radius: 6px;
}
.search-back {
  margin: 24px 0;
}
[data-game-search] input {
  min-width: 0;
  flex: 1;
}
@media (max-width: 1100px) {
  .navigation {
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .navigation {
    gap: 17px;
  }
}
@media (max-width: 390px) {
  .navigation {
    gap: 8px;
    justify-content: space-between;
  }
  .navigation .nav-button {
    font-size: 11px;
  }
}

.market-names {
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: flex-end;
}
.market-tabs {
  overflow-x: auto;
  scrollbar-width: thin;
}
.market-tabs button {
  flex: 1 0 62px;
  white-space: nowrap;
}
[data-game-search] {
  align-items: center;
}
[data-game-search] input {
  height: 44px;
  line-height: normal;
  padding: 0 12px;
}
