:root {
  color-scheme: dark;
  --ink: #f5f2fa;
  --faint: #bcb4ca;
  --gold: #f4d597;
  --amethyst: #c794ff;
  --line: rgba(195, 171, 219, 0.25);
  --tile: #292332;
  --phone: 450px;
  --gutter: 16px;
  font-family:
    "Source Sans 3",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    sans-serif;
  -webkit-tap-highlight-color: transparent;
}
* {
  box-sizing: border-box;
}
html {
  background: #101016;
  overflow-x: clip;
}
body {
  width: min(100%, var(--phone));
  margin: 0 auto;
  min-height: 100dvh;
  box-shadow: 0 0 60px #05050936;
  color: var(--ink);
  line-height: 1.45;
  background:
    radial-gradient(ellipse 115% 37rem at 40% -8%, #424750 0%, transparent 68%),
    linear-gradient(150deg, #282b35, #22232b 53%, #181922);
}
body:is([data-view="purchase"], [data-view="me"], [data-view="game"]) {
  background:
    radial-gradient(ellipse 85% 34rem at 65% 0%, #332644, transparent 75%),
    linear-gradient(145deg, #171526, #12101e 60%, #171323);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  background: none;
  color: inherit;
  border: 0;
  cursor: pointer;
}
button,
a {
  touch-action: manipulation;
}
button:disabled {
  opacity: 0.56;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: pretty;
  line-height: 1.24;
}
h1 {
  font-size: 29px;
  font-weight: 760;
  letter-spacing: -0.045em;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.033em;
}
h3 {
  font-size: 18px;
}
button,
p,
small,
strong,
h1,
h2,
h3 {
  overflow-wrap: break-word;
}
small,
.muted-text,
.subtitle {
  color: var(--faint);
}
.ico {
  display: inline-block;
  vertical-align: -0.16em;
  flex: none;
}
#skip {
  position: fixed;
  top: -100px;
  left: 10px;
  z-index: 20;
}
#skip:focus {
  top: 10px;
  padding: 6px;
  background: #25212c;
}
#shell {
  max-width: var(--phone);
  margin: auto;
  padding: env(safe-area-inset-top) var(--gutter) calc(83px + env(safe-area-inset-bottom));
}
#mast {
  display: none;
}
#content {
  outline: none;
}
.heading,
.secHead,
.section-label,
.page-tools,
.mast-tools,
.brand,
.tool,
.login-short,
.icon-button,
.small-link,
.orders-link,
.top-back,
.primary,
.secondary,
.reserve-strip,
.infostrip,
.progressStrip,
.mine-note,
.shortcuts,
.wallet-foot,
.status-line,
.bot-stat,
.field-row,
.details-line,
.list-row,
.buy-bottom,
.sheet-head,
.banner-row,
.eyebtn,
.step-actions {
  display: flex;
  align-items: center;
}
.heading,
.secHead,
.field-row,
.details-line,
.list-row,
.wallet-foot,
.buy-bottom,
.sheet-head,
.banner-row,
.reserve-strip {
  justify-content: space-between;
  gap: 12px;
}
.heading {
  padding: 20px 3px 14px;
  min-height: 64px;
}
.heading.with-back {
  display: grid;
  grid-template-columns: minmax(40px, 1fr) minmax(0, max-content) minmax(max-content, 1fr);
  gap: 8px;
}
.heading.with-back h1 {
  text-align: center;
  font-size: 22px;
}
.heading.with-back > :last-child {
  justify-self: end;
}
.page-tools,
.mast-tools {
  gap: 9px;
}
.icon-button,
.top-back,
.mast-tools .tool {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #aaa0b64a;
  background: linear-gradient(145deg, #40394c, #282532);
  box-shadow: inset 0 1px #e4d7fb21;
}
.top-back {
  width: 38px;
  height: 38px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.top-back .ico {
  width: 26px;
  height: 26px;
}
.small-link,
.orders-link,
.login-short {
  gap: 4px;
  color: #d3cbdc;
  font-size: 14px;
  padding: 5px 3px;
  line-height: 1.25;
}
.login-short,
.orders-link {
  border: 1px solid #a6a0af55;
  border-radius: 22px;
  background: #24212d88;
  padding: 6px 10px;
  white-space: nowrap;
}
.secHead {
  min-height: 35px;
  margin-bottom: 9px;
  padding: 0 3px;
}
.statsHero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 17px;
}
.metric {
  display: flex;
  align-items: center;
  gap: clamp(8px, 3vw, 17px);
  min-width: 0;
  min-height: 66px;
  padding: 10px clamp(10px, 3vw, 18px);
  background: linear-gradient(125deg, #1c1d25, #1e2028 78%, #22242d);
  border: 1px solid #474955;
  border-radius: 9px;
  box-shadow:
    inset 0 1px 1px #fff1,
    0 4px 12px #100d1933;
}
.metric-art {
  width: clamp(36px, 12vw, 55px);
  height: clamp(36px, 12vw, 55px);
  object-fit: contain;
  filter: drop-shadow(0 3px 4px #07050b65);
}
.metric > div {
  min-width: 0;
}
.caption {
  display: block;
  font-size: 14px;
  color: #e7e3e8;
  line-height: 1.25;
  margin-bottom: 2px;
}
.nowrap-num {
  font-variant-numeric: tabular-nums;
  line-height: 1.12;
  color: var(--gold);
  font-size: clamp(22px, 6vw, 29px);
}
.nowrap-num small {
  font-size: 0.52em;
  color: #eee9f0;
  margin-left: 4px;
  font-weight: 600;
}
.tile-icon {
  width: 1.35em;
  height: 1.35em;
  object-fit: contain;
  vertical-align: -0.3em;
}
.tabs {
  display: flex;
  min-width: 0;
  align-items: stretch;
  gap: 8px;
  overflow: auto;
  scrollbar-width: none;
  margin: 0 0 12px;
}
.tabs::-webkit-scrollbar {
  display: none;
}
.tabs button {
  flex: none;
  min-height: 30px;
  padding: 4px 11px;
  font-size: 13px;
  color: #c6bdcf;
  white-space: nowrap;
}
.zone-tabs {
  border-bottom: 1px solid #a49db42e;
  gap: 4px;
}
.zone-tabs button {
  position: relative;
  border-radius: 6px 6px 0 0;
  color: #aba8b5;
  border: 1px solid transparent;
  border-bottom: 0;
}
.zone-tabs button.on {
  background: linear-gradient(#4d4c58a6, #3f3e4b69);
  color: #fff5dd;
  border-color: #ab9dab52;
}
.zone-tabs button.on:after {
  content: "";
  position: absolute;
  height: 2px;
  left: 14px;
  right: 14px;
  bottom: 0;
  background: #e5c18d;
  border-radius: 2px;
}
.instance-tabs button {
  min-height: 25px;
  border: 1px solid #76717f71;
  border-radius: 4px;
}
.instance-tabs .on {
  color: var(--gold);
  border-color: #c4a975;
}
.dashboard > section {
  min-width: 0;
}
.mainMine,
.subMine {
  position: relative;
}
.subMine {
  border-top: 1px solid #9995ac42;
  padding-top: 16px;
  margin-top: 19px;
}
.mine-status,
.mini {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 30px;
  color: #e2d7ea;
  background: #403443;
  border: 1px solid #8a72975f;
  font-size: 13px;
  padding: 2px 9px;
  white-space: nowrap;
}
.mine-status.working {
  background: linear-gradient(#f5ddb0, #dab57d);
  border-color: #f2dba6;
  box-shadow: 0 1px 2px #0004;
  color: #2b211a;
  font-weight: 750;
}
.mine-console {
  padding: 0 4px;
}
.infostrip,
.reserve-strip,
.progressStrip,
.mine-note {
  border: 1px solid #49475191;
  border-top-color: #5a566288;
  border-radius: 5px;
  background: linear-gradient(105deg, #1b1d24, #1e2028);
  font-size: 14px;
}
.infostrip {
  justify-content: space-evenly;
  gap: 0;
  padding: 7px 4px;
  margin: 1px 0 3px;
}
.infostrip > span {
  min-width: 0;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.infostrip > span + span {
  border-left: 1px solid #aaa1b06b;
}
.infostrip .tile-icon {
  width: 21px;
  height: 21px;
}
.infostrip small {
  color: #e5e0e8;
}
.infostrip b,
.gold,
.gold-num,
.details-line strong,
.reserve-strip b {
  color: var(--gold);
}
.reserve-strip,
.progressStrip {
  padding: 6px 9px;
  min-height: 32px;
}
.reserve-strip span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.reserve-strip b {
  font-size: 14px;
}
.progressStrip {
  gap: 10px;
  align-items: center;
}
.progressStrip > span:first-child {
  white-space: nowrap;
}
.bar {
  flex: 1;
  height: 10px;
  border-radius: 99px;
  background: #444551;
  box-shadow: inset 0 1px 2px #14121a55;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ac90f2, #dfadff);
}
.primary,
.secondary {
  justify-content: center;
  gap: 6px;
  line-height: 1.28;
  text-align: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 720;
}
.primary {
  border: 1px solid #ffebbe;
  color: #2c2116;
  background:
    linear-gradient(
      133deg,
      transparent 16%,
      #fff3ce99 16.2%,
      #fff0c57a 19%,
      transparent 19.3%,
      transparent 20%,
      #fff4d45e 20.2%,
      #fff1cd66 21%,
      transparent 21.3%
    ),
    linear-gradient(112deg, #f5e4b9, #e9ce9b 57%, #e4bb7e);
  box-shadow:
    inset 0 1px #fff6d5,
    0 3px 0 #8e6a42,
    0 6px 10px #07070b55;
}
.primary:hover {
  filter: brightness(1.055);
}
.primary:active {
  transform: translateY(1px);
}
.secondary {
  border: 1px solid #8f719c8f;
  color: #f4e4f8;
  background: linear-gradient(135deg, #4d3959, #302737);
}
.primary.compact,
.secondary.compact {
  width: auto;
  min-height: 31px;
  padding: 5px 13px;
  border-radius: 24px;
  font-size: 14px;
}
.mine-cta {
  margin-top: 7px;
  min-height: 46px;
  font-size: clamp(18px, 4vw, 22px);
}
.mine-note {
  margin-top: 1px;
  padding: 7px 11px;
  gap: 8px;
  font-size: 14px;
  color: #e4dce8;
}
.mine-note .tile-icon {
  width: 23px;
  height: 23px;
}
.banner-row {
  margin: 6px 1px 0;
}
.shortcuts {
  border-block: 1px solid #918b9d42;
  margin: 21px -3px 0;
}
.shortcuts button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  flex: 1;
  padding: 13px 4px;
  font-size: 14px;
  color: #ded8e3;
}
.shortcuts button + button {
  position: relative;
}
.shortcuts button + button:before {
  content: "";
  height: 20px;
  width: 1px;
  background: #a8a0ae64;
  position: absolute;
  left: 0;
}
.rules-footer {
  display: flex;
  justify-content: center;
  margin: 9px;
}
#navigation {
  position: fixed;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 3px max(6px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom));
  border-top: 1px solid #8c82984f;
  box-shadow: 0 -4px 15px #0d0b1812;
  background: linear-gradient(115deg, #24252ff5, #201e2af5 60%, #22212bf5);
  backdrop-filter: blur(16px);
}
#navigation[hidden],
body.is-subpage #navigation {
  display: none;
}
.nav-item {
  width: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1px;
  min-height: 49px;
  color: #bbb9c5;
  font-size: 13px;
  line-height: 1.35;
  border-radius: 8px;
  text-align: center;
}
.nav-item .ico {
  height: 24px;
  width: 24px;
  stroke-width: 1.85;
}
.nav-item.sel {
  color: #cd9cfe;
  background: radial-gradient(ellipse at 50% 45%, #b187eb26, transparent 72%);
  font-weight: 750;
}
.nav-item.sel .ico {
  filter: drop-shadow(0 0 5px #aa64de4d);
}
/* Cut crystal and smoked glass panels */
.panel,
.account-card,
.wallet-card,
.robot-card,
.product-spec,
.tierBox {
  border: 1px solid #9c80ad83;
  border-radius: 15px;
  background: linear-gradient(124deg, #3a2e49ed, #292135 56%, #31263aed);
  box-shadow:
    inset 0 1px 0 #dec9f220,
    0 4px 14px #07051236;
}
.panel {
  padding: 15px;
}
.panel + .panel,
.stack > * + *,
.section-gap {
  margin-top: 13px;
}
.section-label {
  gap: 9px;
  margin: 6px 0 0;
  padding: 0 3px;
}
.section-label .tile-icon {
  width: 28px;
  height: 28px;
}
.section-label i {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, #806b9677, #ac84bc);
  margin-left: 6px;
}
.subpage {
  min-width: 0;
  margin: 0 auto;
  max-width: 830px;
}
.subpage:not(.shop-page) .heading {
  margin-bottom: 5px;
}
.top-back {
  color: #eee7f4;
}
.shop-page .heading {
  min-height: 61px;
}
.shop-picture-stack {
  min-width: 0;
}
.art-hero,
.hall-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 180px;
  aspect-ratio: 2.07;
  margin: 0 calc(-1 * var(--gutter));
  padding: 18px 7%;
  background: #21182a url("/assets/scout-hero.webp") 50% 50% / cover;
  box-shadow:
    inset 0 -16px 19px -17px #100e1e,
    inset 0 12px 20px -20px #100d18;
}
.art-hero:before,
.hall-hero:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, transparent 41%, #18112118 58%, #16102052);
}
.art-hero > div,
.hall-hero > div {
  width: 42%;
  text-align: center;
  text-shadow: 0 3px 8px #07040f;
}
.art-hero h2,
.hall-hero h2 {
  font-size: clamp(21px, 5.15vw, 32px);
  font-weight: 780;
  line-height: 1.2;
  color: #fff7ff;
}
.tag {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  margin: 9px 0 0;
  padding: 3px 10px;
  color: #ffe0a1;
  border: 1px solid #b49364;
  border-radius: 22px;
  background: #241924bf;
  font-size: 13px;
}
.hall-hero {
  background-image: var(--gallery-art);
}
.shop-body {
  min-width: 0;
  display: grid;
  gap: 13px;
  margin-top: 15px;
}
.shop-body .panel + .panel {
  margin-top: 0;
}
.product-spec {
  border: 2px solid #edc98c;
  border-radius: 15px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 3% 3%, #684b7570, transparent 62%),
    linear-gradient(135deg, #3d304a, #251c30 66%, #36283f);
  box-shadow:
    inset 0 0 0 2px #73584f,
    0 1px 9px #a17c4f26;
}
.spec-top {
  display: flex;
  align-items: center;
  gap: 11px;
  position: relative;
  padding: 9px 15px;
}
.sku-robot {
  height: 72px;
  width: 70px;
  object-fit: contain;
}
.checked {
  position: absolute;
  right: 0;
  top: 0;
  border-bottom-left-radius: 14px;
  display: grid;
  place-items: center;
  width: 29px;
  height: 24px;
  background: linear-gradient(130deg, #f5dba8, #d3a16a);
  color: #2c2017;
}
.checked .ico {
  stroke-width: 2.8;
}
.sku-price,
.tierPrice,
.gold-num,
.buy-total strong {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  font-size: 25px;
  font-weight: 760;
}
.sku-price .tile-icon,
.tierPrice .tile-icon,
.gold-num .tile-icon,
.buy-total .tile-icon {
  width: 21px;
  height: 21px;
}
.sku-price small {
  font-size: 14px;
  margin-left: 3px;
  font-weight: 500;
  color: #d9ccdc;
}
.spec-lines {
  display: flex;
  flex-wrap: wrap;
  margin: 0 15px;
  border-top: 1px solid var(--line);
  padding: 9px 0;
  gap: 8px 18px;
}
.spec-lines > div {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
}
.spec-lines .ico {
  color: #eacc9a;
}
.spec-lines b {
  font-weight: 700;
}
.qty-panel {
  padding: 2px 13px;
}
.field-row {
  min-height: 48px;
  padding: 9px 0;
}
.field-row > * {
  min-width: 0;
}
.field-row + .field-row,
.details-line + .details-line {
  border-top: 1px solid var(--line);
}
.field-row:last-child .gold-num {
  font-size: 23px;
}
.counter {
  display: flex;
  align-items: stretch;
  border: 1px solid #a38bb095;
  border-radius: 7px;
  overflow: hidden;
  line-height: 1;
}
.counter button {
  background: linear-gradient(#655675, #4e425e);
  width: 36px;
  min-height: 31px;
}
.counter input {
  width: 48px;
  border: 0;
  padding: 0 2px;
  color: var(--ink);
  background: #201b2d;
  text-align: center;
  font-weight: 700;
  appearance: textfield;
  border-radius: 0;
}
.counter input::-webkit-inner-spin-button {
  appearance: none;
}
.usage-card {
  padding: 2px 15px;
}
.usage-step {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
}
.usage-step + .usage-step {
  border-top: 1px solid var(--line);
}
.usage-step img {
  width: 38px;
  height: 38px;
}
.buy-bottom {
  position: fixed;
  z-index: 5;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 11px clamp(15px, 4vw, 25px) max(13px, env(safe-area-inset-bottom));
  background: linear-gradient(110deg, #362d41fa, #282033fa);
  backdrop-filter: blur(12px);
  border-top: 1px solid #8b6fa36e;
  box-shadow: 0 -5px 21px #100c1b48;
}
.buy-bottom .primary {
  width: 43%;
  min-height: 45px;
  border-radius: 24px;
  font-size: 17px;
}
.buy-total {
  display: flex;
  align-items: center;
  gap: 7px;
}
.buy-total strong {
  font-size: 24px;
}
.account-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 11px;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, #3624472b, #24182f23),
    url("/assets/profile-geode.webp") center 48% / cover;
}
.avatar {
  width: 62px;
  height: 62px;
  border: 2px solid #efd4a0;
  border-radius: 50%;
  background: radial-gradient(ellipse at 60% 60%, #6e5283, #2b1c38 73%);
  object-fit: cover;
  object-position: center 24%;
  box-shadow:
    0 0 0 2px #60446f,
    0 3px 6px #1108216e;
}
.acctName {
  min-width: 0;
}
.acctName h2 {
  font-size: clamp(18px, 4.5vw, 24px);
  text-shadow: 0 2px 8px #120b1e;
}
.acctName small {
  color: #e5d5f0;
  overflow-wrap: anywhere;
}
.account-card .small-link,
.account-card .primary {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--gold);
}
.account-card .primary {
  color: #2b211b;
}
.wallet-card {
  position: relative;
  margin-top: 9px;
  padding: 13px 10px 9px;
  background:
    linear-gradient(110deg, #30213d87 0%, #23182ccb 50%, #34223da8),
    url("/assets/profile-geode.webp") center 65% / cover;
}
.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  text-align: center;
  margin: 0 0 10px;
}
.values > div {
  padding: 0 3px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.values > div + div:before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(transparent, #b9a5cd99 25%, #b9a5cd99 77%, transparent);
}
.values .value-art {
  width: 50px;
  height: 50px;
  display: block;
  margin: 0 auto 1px;
  object-fit: contain;
}
.values span {
  font-size: 14px;
  color: #f1e9f5;
}
.values .nowrap-num {
  font-size: 25px;
  margin-top: auto;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.values .nowrap-num small {
  display: inline-block;
}
.wallet-foot {
  min-width: 0;
  padding: 6px 8px;
  background: linear-gradient(120deg, #44304cbb, #261e31ad);
  border: 1px solid #ac94bd81;
  border-radius: 12px;
  font-size: 14px;
}
.wallet-foot .primary {
  white-space: normal;
  flex-shrink: 0;
}
.profile-layout .secHead {
  margin-bottom: 6px;
  min-height: 31px;
}
.robot-collection {
  padding: 9px 7px 6px;
  background: linear-gradient(120deg, #382a43, #251d30);
}
.robot-collection > .secHead {
  padding: 0 6px;
}
.robot-card,
.empty-row {
  display: grid;
  grid-template-columns: minmax(0, 0.77fr) minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  align-items: stretch;
  gap: 0;
  border: 1px solid #a186b480;
  border-radius: 13px;
  background: linear-gradient(115deg, #382e41, #272030 69%, #30223d);
  padding: 0;
}
.bot-cover {
  min-height: 130px;
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(90deg, transparent 35%, #2c2335eb),
    var(--gallery-art, url("/assets/gallery-deep.webp")) center 72% / cover;
}
.bot-cover img {
  position: absolute;
  inset: 1% 1% 0;
  width: 98%;
  height: 99%;
  object-fit: contain;
  filter: drop-shadow(0 3px 5px #0b041955);
}
.bot-copy,
.empty-row > div:last-child {
  min-width: 0;
  padding: 10px 12px 10px 4px;
  align-self: center;
}
.bot-copy h3 {
  font-size: 16px;
}
.status-line {
  margin: 4px 0;
}
.status-line .mini {
  color: #f1d4a5;
  font-size: 12px;
  line-height: 1.25;
  background: #54443770;
  border-color: #b69a71;
}
.bot-stat {
  gap: 5px;
  line-height: 1.33;
  font-size: 13px;
  color: #e7dcec;
  margin: 4px 0;
}
.bot-stat .ico {
  color: #d9c9db;
}
.bot-manage {
  margin: 7px 0 1px auto;
}
.bot-copy .primary.compact {
  min-height: 25px;
  padding: 3px 11px;
  font-size: 13px;
}
.empty-row {
  min-height: 105px;
}
.empty-row .bot-cover {
  min-height: 106px;
}
.empty-row p {
  color: #e7dce9;
  font-weight: 650;
}
.empty-row .small-link {
  margin: 6px 0 0;
  color: var(--gold);
}
.profile-bottom {
  margin-top: 12px;
}
.services-panel {
  padding: 9px 9px 6px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: center;
}
.services-grid button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 7px 3px;
  font-size: 14px;
  min-width: 0;
}
.services-grid button .tile-icon {
  height: 46px;
  width: 46px;
  transition: transform 0.15s;
}
.services-grid button:hover .tile-icon {
  transform: translateY(-2px);
}
.services-grid button:nth-child(n + 4) {
  border-top: 1px solid #b499c036;
}
.services-grid button:not(:nth-child(3n + 1)) {
  border-inline-start: 1px solid #b499c036;
}
.action-list {
  padding: 2px 13px;
}
.action-list button,
.choiceBtn {
  width: 100%;
  padding: 12px 1px;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 10px;
}
.action-list button .ico:last-child,
.choiceBtn .ico:last-child {
  margin-left: auto;
}
.action-list button + button,
.choiceBtn + .choiceBtn {
  border-top: 1px solid var(--line);
}
/* Catalog and records */
.catalog-grid,
.robot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
  gap: 11px;
}
.hall-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.tierBox {
  overflow: hidden;
  position: relative;
  padding: 13px;
  min-width: 0;
}
.mine-offer {
  padding: 0;
}
.gallery-shallow {
  --gallery-art: url("/assets/gallery-shallow.webp");
}
.gallery-deep {
  --gallery-art: url("/assets/gallery-deep.webp");
}
.gallery-glow {
  --gallery-art: url("/assets/gallery-glow.webp");
}
.gallery-starlight {
  --gallery-art: url("/assets/gallery-starlight.webp");
}
.gallery-secret {
  --gallery-art: url("/assets/gallery-secret.webp");
}
.tier-art {
  aspect-ratio: 2.45;
  background: var(--gallery-art) center 65% / cover;
  border-bottom: 1px solid var(--line);
}
.tier-offer-content {
  padding: 10px;
}
.tierBox h3 {
  margin: 2px 0 4px;
  font-size: 17px;
}
.tierPrice {
  font-size: 22px;
}
.details-line {
  font-size: 14px;
  align-items: baseline;
  padding: 7px 0;
}
.details-line strong {
  font-weight: 640;
  text-align: end;
}
.tierBox .details-line {
  font-size: 13px;
  gap: 4px;
  flex-wrap: wrap;
  padding: 5px 0;
}
.tierBox .primary,
.tierBox .secondary {
  margin-top: 7px;
  min-height: 36px;
  font-size: 14px;
  padding: 7px;
}
.campaign-panel {
  background: linear-gradient(110deg, #3e2e46, #271d32 68%);
  border-color: #976f9f;
}
.campaign-panel > .secHead .tile-icon {
  width: 33px;
  height: 33px;
}
.home-layout > .stack {
  margin-top: 14px;
}
.home-layout > section > .panel {
  margin: 5px 0;
}
.home-layout .panel .primary {
  margin-top: 10px;
}
.home-robot-product {
  background:
    linear-gradient(90deg, #251c32f0 15%, #2a2032b0 65%, #2e213d7d),
    url("/assets/scout-hero.webp") 42% center/cover;
}
.list-row {
  padding: 12px 0;
}
.list-row + .list-row {
  border-top: 1px solid var(--line);
}
.list-row > div,
.cell-copy {
  min-width: 0;
}
.list-row .amount {
  font-weight: 750;
  color: var(--gold);
  flex: none;
}
.list-row .desc {
  color: var(--faint);
  font-size: 13px;
  overflow-wrap: anywhere;
}
.history-page .panel {
  padding: 3px 13px;
}
.empty {
  text-align: center;
  color: var(--faint);
  padding: 20px 12px;
}
.empty > .ico {
  display: block;
  margin: 0 auto 7px;
  color: #bca0ce;
}
.empty .secondary,
.empty .primary {
  margin-top: 10px;
}
.notice {
  padding: 11px 13px;
  border: 1px solid #997e9b69;
  color: #e8d2ae;
  background: #392f3e;
  border-radius: 9px;
  margin: 6px 0 12px;
}
.e-pre,
.infoBlock,
.form-error {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.word {
  overflow-wrap: anywhere;
}
.step-actions {
  gap: 9px;
  margin-top: 12px;
}
.grow {
  flex: 1;
}
.inline-msg,
.infoBlock {
  padding: 8px 0;
  color: #e0d4e6;
}
.ref-link {
  background: #201b29;
  color: #f0e4f6;
  border: 1px solid #8b759b;
  display: block;
  width: 100%;
  resize: none;
  border-radius: 8px;
  padding: 11px;
  margin: 8px 0;
}
.dialog-heading,
.eyebtn {
  gap: 8px;
}
dialog {
  width: min(430px, calc(100% - 24px));
  color: var(--ink);
  background: linear-gradient(140deg, #392d46, #211b2c 68%, #2d2138);
  border: 1px solid #927a9f;
  border-radius: 19px;
  box-shadow:
    0 22px 70px #040109ad,
    inset 0 1px #dbc2e626;
  padding: 17px;
  max-height: 93dvh;
}
dialog::backdrop {
  background: #09060cb5;
  backdrop-filter: blur(5px);
}
.sheet-head {
  margin-bottom: 9px;
}
.sheet-head h2 {
  font-size: 22px;
}
.sheet-body {
  max-height: 74dvh;
  overflow-y: auto;
}
.sheet-choices button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 12px 7px;
  gap: 8px;
}
.sheet-choices button + button {
  border-top: 1px solid var(--line);
}
.active-choice {
  color: var(--gold);
}
.language-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.language-choices button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #272132;
  text-align: start;
  overflow-wrap: anywhere;
}
.language-choices .active-choice {
  border-color: #cba36399;
  background: #393140;
}
.language-choices svg {
  flex: none;
}
.sheet-body label {
  display: block;
  margin: 10px 0 4px;
  color: #e9deef;
}
.sheet-body input,
.sheet-body select {
  display: block;
  width: 100%;
  background: #1d1827;
  border: 1px solid #83718e;
  border-radius: 7px;
  color: var(--ink);
  padding: 10px;
}
.sheet-body .primary,
.sheet-body .secondary {
  margin: 13px 0 3px;
}
.text-link {
  margin: 9px auto 0;
  padding: 6px;
  display: block;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-error {
  font-size: 14px;
  color: #ffb5c4;
  margin-top: 6px;
}
.support-img {
  max-height: 300px;
  max-width: 100%;
  margin: 7px auto;
  display: block;
  object-fit: contain;
}
.helpStep {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 0;
}
.helpStep + .helpStep {
  border-top: 1px solid var(--line);
}
.helpStep > .ico {
  color: #dab6fe;
}
#toast {
  position: fixed;
  z-index: 12;
  left: 50%;
  bottom: 85px;
  transform: translate(-50%, 9px);
  border: 1px solid #d4c8d5;
  background: #f5ead5;
  color: #352a2b;
  box-shadow: 0 5px 20px #09071077;
  border-radius: 20px;
  padding: 8px 17px;
  max-width: 86vw;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.15s,
    transform 0.15s;
}
#toast.show,
#toast.on,
#toast.visible {
  transform: translate(-50%, 0);
  opacity: 1;
}
@media (max-width: 365px) {
  #shell {
    padding-inline: 10px;
  }
  .heading {
    padding-block: 16px 11px;
  }
  .metric {
    padding: 8px;
    gap: 6px;
  }
  .metric .metric-art {
    width: 37px;
    height: 37px;
  }
  .art-hero,
  .hall-hero {
    margin-inline: -10px;
    min-height: 0;
    width: calc(100% + 20px);
  }
  .orders-link,
  .small-link {
    font-size: 13px;
  }
  .values span,
  .infostrip,
  .services-grid button,
  .spec-lines > div,
  .wallet-foot {
    font-size: 13px;
  }
  .acctName h2 {
    font-size: 17px;
  }
  .avatar {
    width: 45px;
    height: 45px;
  }
  .tierBox .details-line {
    display: block;
  }
  .tierBox .details-line strong {
    margin-left: 3px;
  }
  .bot-copy h3 {
    font-size: 15px;
  }
  .services-grid button .tile-icon {
    width: 40px;
    height: 40px;
  }
  .wallet-foot .primary.compact {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .services-grid .tile-icon,
  #toast {
    transition: none;
  }
}

/* The consumer application keeps a single narrow navigation and scroll surface. */
#navigation,
.buy-bottom {
  width: min(100%, var(--phone));
  margin-inline: auto;
}
body {
  background:
    radial-gradient(ellipse 115% 28rem at 15% -5%, #393541, transparent 74%),
    linear-gradient(158deg, #202028, #191921 68%, #15151d);
}
#shell {
  min-height: 100dvh;
}
#navigation {
  background: linear-gradient(135deg, #26232ff5, #1b1a23f7);
}
body[data-view="mining"] .heading {
  min-height: 64px;
  padding: 15px 0 13px;
}
.pocket-mining .heading h1 {
  font-size: 27px;
}
.pocket-mining .page-tools {
  gap: 6px;
}
.pocket-mining .page-tools .login-short {
  min-height: 36px;
}
.pocket-mining .page-tools .icon-button {
  width: 39px;
  height: 39px;
  background: none;
  box-shadow: none;
  border: none;
  color: #e0d4e6;
}
.ore-balance {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  max-width: 45vw;
  border-radius: 20px;
  padding: 3px 11px 3px 8px;
  background: #1d1a26;
  color: var(--gold);
  border: 1px solid #8f778d63;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.ore-balance .tile-icon {
  width: 22px;
  height: 22px;
}
.ore-balance b {
  min-width: 0;
  overflow-wrap: anywhere;
}
.mine-workbench {
  isolation: isolate;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #8a7e9466;
  background: linear-gradient(155deg, #302d39, #22202b 60%, #2d2734);
  box-shadow:
    inset 0 1px 0 #e4d8f019,
    0 8px 20px -8px #0b09135c;
}
.workbench-head {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 13px 14px 12px;
  background: linear-gradient(110deg, #2f2b3599, #2b263199 60%, #31263799);
}
.workbench-name {
  min-width: 0;
}
.workbench-name h2 {
  margin-top: 3px;
  font-size: 24px;
  letter-spacing: -0.035em;
}
.workbench-detail {
  min-height: 35px;
  padding: 0;
  text-align: start;
  letter-spacing: inherit;
}
.workbench-detail > .ico {
  margin-inline-start: 5px;
  vertical-align: 0.05em;
  color: #baadbf;
}
.mine-key {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  color: #d3c7d5;
  font-size: 12px;
  font-weight: 650;
}
.mine-key > span {
  font:
    12px ui-monospace,
    Menlo,
    monospace;
  letter-spacing: 0.03em;
  color: #b7aaba;
  margin-inline-end: 4px;
}
.state-lamp {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #aa94bf;
}
.state-lamp.lit {
  background: #efcd8c;
  box-shadow: 0 0 6px #e5b96067;
}
.mine-switch {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 5px;
  min-height: 42px;
  padding: 5px 10px;
  border: 1px solid #81718585;
  border-radius: 11px;
  background: #49414d55;
  color: #e6dbe9;
  font-size: 14px;
}
.mine-workbench ore-mine-scene {
  margin-inline: 0;
}
.pit-ledger {
  padding: 12px 13px 14px;
}
.yield-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.yield-pair > div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: baseline;
  padding: 0 4px;
}
.yield-pair > div + div {
  border-inline-start: 1px solid #b7a5bc42;
  padding-inline-start: 12px;
}
.yield-pair small,
.reserve-line span {
  color: #c4bac7;
  font-size: 13px;
}
.yield-pair b {
  font-size: 23px;
  letter-spacing: -0.035em;
  line-height: 1.17;
  color: #fff3df;
  font-variant-numeric: tabular-nums;
}
.yield-pair b em {
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: #e2d6dc;
}
.reserve-line {
  margin: 10px 3px 11px;
}
.reserve-line > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.reserve-line b {
  font:
    650 13px/1.2 system-ui,
    sans-serif;
  font-variant-numeric: tabular-nums;
  color: #eadcdf;
}
.reserve-line b small {
  font: inherit;
  font-weight: 500;
  color: #ad9faf;
}
.pit-progress {
  display: block;
  overflow: hidden;
  height: 4px;
  margin-top: 5px;
  border-radius: 5px;
  background: #504555;
}
.pit-progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #9262cf, #e1b6fa);
  border-radius: inherit;
}
.pit-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 8px;
}
.pit-actions button {
  min-height: 46px;
  padding: 8px 7px;
  font-size: 15px;
}
.pit-actions .secondary {
  background: #4237487d;
  border-color: #8a729b91;
  color: #e5d7ed;
}
.crew-door {
  display: flex;
  position: relative;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 0;
  padding-inline-end: 15px;
  min-height: 89px;
  overflow: hidden;
  margin-top: 13px;
  border: 1px solid #8e729c68;
  border-radius: 15px;
  background: linear-gradient(113deg, #4b3756 0%, #322b3e 50%, #302733 100%);
  text-align: start;
}
.fleet-portrait {
  width: 28%;
  max-width: 100px;
  flex: none;
  height: 89px;
  align-self: stretch;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 42% 67%, #b17ed760, transparent 72%);
}
.fleet-portrait img {
  position: absolute;
  width: 88%;
  height: 94%;
  bottom: 0;
  left: 6%;
  object-fit: contain;
  object-position: bottom;
}
.fleet-summary {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 7px;
}
.fleet-summary > b {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 18px;
  line-height: 1.15;
}
.fleet-summary i {
  font:
    650 13px/1.35 system-ui,
    sans-serif;
  background: #9b7abb28;
  border: 1px solid #ac8cc445;
  border-radius: 5px;
  padding: 0 5px;
  color: #e8c9ff;
}
.fleet-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 12px;
}
.fleet-counts > span {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.fleet-counts strong {
  color: #ead5af;
  font:
    650 15px system-ui,
    sans-serif;
}
.fleet-counts small {
  font-size: 13px;
  color: #c5baca;
}
.crew-door > .ico {
  color: #c2a9ca;
}
.mine-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 11px;
}
.mine-links button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 5px;
  border: 1px solid #71677556;
  border-radius: 10px;
  color: #dbd1df;
}
.mine-links button span {
  font-size: 14px;
}
.mine-links button > .ico:last-child {
  color: #b1a3bb;
  width: 12px;
}
dialog {
  width: min(var(--phone), 100%);
  max-width: 100%;
  max-height: min(91dvh, 830px);
  margin: auto auto 0;
  padding: 8px 16px max(16px, env(safe-area-inset-bottom));
  border-radius: 21px 21px 0 0;
  border-bottom: 0;
  background: linear-gradient(155deg, #36303f, #24212d 46%, #27212f);
}
dialog::before {
  content: "";
  width: 32px;
  height: 4px;
  display: block;
  border-radius: 5px;
  background: #776b7e;
  margin: 0 auto 5px;
}
.sheet-head {
  min-height: 42px;
}
.sheet-body {
  max-height: calc(min(91dvh, 830px) - 86px - env(safe-area-inset-bottom));
  overscroll-behavior: contain;
}
ore-location-picker {
  display: block;
}
ore-location-picker [hidden] {
  display: none;
}
ore-location-picker input[type="search"] {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #221c2a;
  border-radius: 12px;
  font-size: 16px;
}
ore-location-picker h3 {
  font-size: 15px;
  margin: 17px 1px 7px;
  color: #e4d7eb;
}
ore-location-picker h3 small {
  margin-left: 3px;
  font-size: 12px;
}
.location-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  margin: 4px 0;
  padding: 5px 9px 5px 5px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-align: left;
}
.location-row.here {
  background: #c19bdd16;
  border-color: #ad92c159;
}
.location-row img {
  width: 64px;
  height: 42px;
  object-fit: cover;
  border-radius: 6px;
}
.location-row > span {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}
.location-row b {
  font-size: 15px;
}
.location-row small,
.location-none {
  font-size: 13px;
  color: #c3b4c9;
}
.location-row i {
  font-style: normal;
  color: var(--gold);
  font-size: 18px;
}
.location-none {
  padding: 13px 0;
}
@media (max-width: 365px) {
  :root {
    --gutter: 10px;
  }
  .pocket-mining .heading h1 {
    font-size: 25px;
  }
  .pocket-mining .page-tools {
    gap: 3px;
  }
  .ore-balance {
    padding-inline: 6px;
  }
  .workbench-head {
    padding: 10px;
  }
  .workbench-name h2 {
    font-size: 21px;
  }
  .pit-ledger {
    padding: 10px;
  }
  .crew-door {
    gap: 7px;
  }
  .mine-links button span {
    font-size: 13px;
  }
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3 {
  letter-spacing: normal;
}
[dir="rtl"] .ico-direction {
  scale: -1 1;
}
[dir="rtl"] .art-hero,
[dir="rtl"] .hall-hero {
  direction: ltr;
}
[dir="rtl"] .art-hero > div,
[dir="rtl"] .hall-hero > div {
  direction: rtl;
}
[dir="rtl"] :is(.location-row, .sheet-choices button, .action-list button) {
  text-align: start;
}
[dir="rtl"] :is(.mine-key > span, .invite-code > b, #input-invite, .ref-link, #quantity) {
  direction: ltr;
  unicode-bidi: isolate;
}
[dir="rtl"] .location-row > i {
  scale: -1 1;
}
[dir="rtl"] .location-row.here > i {
  scale: none;
}
