/* RuneMarket 3: local accounts, market instruments and shared native controls. */
:root {
  --coin-gold: #e7cd72;
  --coin-silver: #d8dfd1;
  --coin-green: #a8e969;
}
:root[data-theme="light"] {
  --coin-gold: #826516;
  --coin-silver: #4f6250;
  --coin-green: #477d1c;
}
.coin-sprite {
  width: 24px;
  height: 24px;
  object-fit: contain;
  image-rendering: pixelated;
  flex: 0 0 auto;
  vertical-align: middle;
}
.gp-green,
[data-tier="green"] {
  color: var(--coin-green);
}
.gp-silver,
[data-tier="silver"] {
  color: var(--coin-silver);
}
.gp-gold,
[data-tier="gold"] {
  color: var(--coin-gold);
}
.hero-coin {
  display: flex;
  align-items: center;
  margin-right: 9px;
}
.hero-coin .coin-sprite {
  width: 30px;
  height: 30px;
}
.asset-price-line {
  align-items: center;
}
.asset-price {
  font-variant-numeric: tabular-nums;
}
.topbar {
  gap: 28px;
}
.main-nav {
  gap: 24px;
}
.main-nav button.nav-link {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  font-size: 16px;
  color: var(--muted);
}
.nav-link svg {
  width: 13px;
  height: 13px;
}
.header-actions {
  gap: 8px;
}
.ticker {
  height: 66px;
  gap: 0;
}
.ticker-label {
  width: 190px;
  flex: 0 0 190px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.35;
}
.ticker-label img {
  image-rendering: pixelated;
}
.ticker-label small {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 3px;
  letter-spacing: 0.03em;
}
.ticker-items {
  min-width: 0;
  flex: 1;
  gap: 0;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.16s,
    transform 0.16s;
}
.ticker-items.tape-changing {
  opacity: 0;
  transform: translateY(-5px);
}
.tape-quote {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 0;
  padding: 12px 16px;
  border-left: 1px solid var(--soft-line);
  white-space: nowrap;
  font-size: 16px;
}
.tape-quote .tape-item-icon {
  display: flex;
}
.tape-item-icon img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  image-rendering: pixelated;
}
.tape-item-name {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
  color: var(--muted);
}
.tape-quote strong {
  font-weight: 500;
  font-family: var(--mono);
  font-size: 16px;
}
.tape-controls {
  display: flex;
  border-left: 1px solid var(--soft-line);
  padding: 0 8px;
}
.tape-controls .icon-button {
  width: 29px;
  height: 29px;
}
.tape-controls svg {
  width: 13px;
  height: 13px;
}
.ticker-source {
  margin-left: 8px;
  font-size: 16px;
}
.page-heading {
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.page-kicker {
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}
.page-heading h1 {
  letter-spacing: -1.2px;
}
.page-heading-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}
.page-heading-actions > .text-button {
  font-size: 16px;
}
.feed-sync {
  position: relative;
  min-width: 174px;
  padding: 0 0 7px;
}
.feed-sync .market-status {
  border: 0;
  background: none;
  padding: 0;
  gap: 10px;
}
.feed-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.feed-copy strong {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}
.feed-copy small {
  font-size: 16px;
  color: var(--muted);
}
.feed-orbit {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
}
.feed-orbit svg {
  width: 14px;
  height: 14px;
}
.sync-track {
  height: 1px;
  background: var(--soft-line);
  display: block;
  position: absolute;
  left: 40px;
  right: 0;
  bottom: 0;
  overflow: hidden;
}
.sync-track i {
  display: block;
  background: var(--accent);
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s linear;
}
.syncing .feed-orbit svg {
  animation: feed-rotate 0.9s linear infinite;
}
.sync-complete .feed-orbit {
  animation: feed-receipt 0.7s ease-out;
}
.syncing .feed-copy {
  opacity: 0.65;
}
.market-status.refreshing {
  opacity: 1;
}
@keyframes feed-rotate {
  to {
    transform: rotate(360deg);
  }
}
@keyframes feed-receipt {
  0% {
    background: var(--accent-bg);
    border-color: var(--accent);
  }
  100% {
    background: transparent;
    border-color: var(--line);
  }
}
/* All selects keep a hidden native value and expose an accessible custom control. */
.select-control {
  position: relative;
  display: inline-flex;
  min-width: 0;
  vertical-align: middle;
  width: 100%;
}
.select-control select {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  clip-path: inset(50%);
  overflow: hidden;
}
.select-trigger {
  width: 100%;
  min-width: 130px;
  min-height: 40px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 10px 12px;
  font-size: 16px;
  line-height: 1.4;
  text-align: left;
  color: var(--text);
}
.select-trigger > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.select-trigger > svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  flex-shrink: 0;
  transition: transform 0.16s;
}
.select-trigger[aria-expanded="true"] {
  border-color: var(--accent);
}
.select-trigger[aria-expanded="true"] > svg {
  transform: rotate(180deg);
}
.inline-select .select-control {
  width: auto;
}
.inline-select .select-trigger {
  min-height: 34px;
  background: transparent;
  font-size: 16px;
}
.inline-select {
  flex-wrap: nowrap;
  gap: 10px;
}
.gild-popover {
  position: fixed;
  inset: auto;
  margin: 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 12px 42px #0005;
  overflow: auto;
  z-index: 1000;
  animation: popover-in 0.13s var(--ease);
  font-family: Geist, sans-serif;
}
.gild-popover::backdrop {
  background: transparent;
}
.popover-fallback {
  display: block;
}
.select-options {
  display: grid;
  gap: 2px;
}
.select-options > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 11px 12px;
  text-align: left;
  border-radius: 4px;
  min-height: 39px;
  font-size: 16px;
}
.select-options > button:hover,
.select-options > .keyboard-active {
  background: var(--surface-hover);
  color: var(--text);
}
.select-options > button[aria-selected="true"] {
  color: var(--accent);
}
.select-options svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}
.link-menu {
  min-width: 240px;
  display: grid;
  gap: 2px;
}
.link-menu a,
.link-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px;
  font-size: 16px;
  border-radius: 4px;
  text-align: left;
  gap: 12px;
}
.link-menu a:hover,
.link-menu button:hover {
  background: var(--surface-hover);
}
.link-menu a > span {
  display: flex;
  align-items: center;
  gap: 12px;
}
.link-menu svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.link-menu a > svg {
  width: 12px;
  transform: rotate(-90deg);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}
.link-menu button {
  justify-content: flex-start;
}
@keyframes popover-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* GP inputs share exact K/M/B parsing and an OSRS coin amount picker. */
.gp-control {
  display: flex;
  align-items: center;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--bg);
  min-height: 42px;
  margin-top: 8px;
  transition: border-color 0.16s;
}
.gp-control:focus-within {
  border-color: var(--accent);
}
.gp-control.gp-invalid {
  border-color: var(--red);
}
.gp-control input {
  flex: 1;
  min-width: 0 !important;
  width: 100% !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 11px 0 !important;
  height: 40px !important;
  line-height: 18px !important;
  font-family: var(--mono);
  font-size: 16px !important;
  color: inherit !important;
  border-radius: 0 !important;
  outline: none !important;
}
.gp-trigger {
  width: 36px;
  height: 40px;
  padding: 6px;
  flex-shrink: 0;
  border-radius: 4px;
}
.gp-trigger:hover {
  background: var(--subtle);
}
.gp-trigger .coin-sprite {
  width: 23px;
  height: 23px;
}
.gp-control > .gp-unit-label {
  position: static !important;
  font-size: 16px !important;
  color: var(--muted) !important;
  padding: 0 11px !important;
  flex-shrink: 0;
  transform: none !important;
}
.gp-input-helper {
  display: block !important;
  position: static !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: var(--muted);
  margin: 6px 0 0 !important;
  line-height: 1.4 !important;
  min-height: 14px;
  letter-spacing: 0;
  transform: none !important;
  white-space: normal !important;
}
.gp-input-helper.negative {
  color: var(--red);
}
.flip-inputs label > span:not(.gp-input-helper) {
  display: none;
}
.input-unit {
  display: block;
}
.input-unit > .gp-control {
  margin-top: 0;
}
.input-unit > span:not(.gp-input-helper) {
  display: none;
}
.filters-panel .gp-control {
  min-width: 130px;
}
.gp-popover {
  width: 288px;
  padding: 16px;
}
.popover-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  color: var(--muted);
}
.popover-heading button {
  font-size: 21px;
  line-height: 1;
  width: 24px;
  height: 24px;
}
.gp-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 0;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.gp-preview strong {
  font-family: var(--mono);
  font-size: 21px;
  letter-spacing: -1px;
}
.gp-preview > span {
  font-size: 16px;
  color: var(--muted);
}
.gp-presets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.gp-presets button,
.gp-units button,
.gp-adjust button {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 4px;
  padding: 10px 8px;
  font-size: 16px;
}
.gp-presets button:hover,
.gp-units button:hover,
.gp-adjust button:hover {
  border-color: var(--accent);
}
.gp-units {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.gp-units > span {
  font-size: 16px;
  color: var(--muted);
  flex: 1;
}
.gp-units button {
  padding: 6px 12px;
}
.gp-adjust {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}
.gp-adjust button {
  flex: 1;
  font-size: 16px;
}
.gp-popover > p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin: 13px 0 0;
}
.flipper-controls {
  align-items: start;
}
.flipper-controls > .primary-button {
  align-self: center;
}
.flipper-controls label > input {
  min-height: 42px;
}
.settings-section .select-control {
  margin-top: 8px;
}
.settings-section label > input {
  margin-top: 8px;
}
.setting-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--soft-line);
}
.setting-toggle strong {
  font-size: 16px;
  font-weight: 500;
}
.setting-toggle p {
  font-size: 16px;
  color: var(--muted);
  margin: 5px 0;
  line-height: 1.6;
}
.setting-toggle .switch {
  display: block;
  position: relative;
  width: 34px;
  height: 20px;
  flex: 0 0 34px;
  margin: 0;
}
.switch input {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}
.switch > span {
  display: block;
  background: var(--line);
  height: 20px;
  border-radius: 12px;
  pointer-events: none;
}
.switch > span:after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: var(--muted);
  transition:
    transform 0.18s,
    background 0.18s;
}
.switch input:checked + span {
  background: var(--accent-bg);
}
.switch input:checked + span:after {
  background: var(--accent);
  transform: translateX(14px);
}
.switch input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.audio-credit {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 16px;
}
.audio-credit a {
  text-decoration: underline;
}
/* Account access has its own pages and visual rhythm. */
.auth-page .ticker,
.auth-page .page-heading,
.auth-page .side-column,
.auth-page .mobile-nav,
.auth-page .footer {
  display: none;
}
.auth-page .workspace {
  max-width: 1120px;
  padding-top: 52px;
  padding-bottom: 52px;
}
.auth-page #data-banner {
  display: none;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 650px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.auth-story {
  padding: 48px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.auth-mark {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 16px;
  color: var(--accent);
}
.auth-story h2 {
  font-size: 43px;
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -1.8px;
  margin: 38px 0 18px;
}
.auth-story > p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 330px;
}
.auth-inventory {
  margin: 26px 0;
}
.auth-market-row {
  display: flex;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--soft-line);
  align-items: center;
}
.auth-market-row > img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  image-rendering: pixelated;
}
.auth-market-row > span {
  font-size: 16px;
  flex: 1;
}
.auth-market-row small {
  display: block;
  color: var(--muted);
  font-size: 16px;
  margin-top: 5px;
}
.auth-market-row > strong {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
  text-align: right;
  font-family: var(--mono);
}
.auth-market-row > strong small {
  font-family: Geist, sans-serif;
  font-size: 16px;
}
.auth-storage-note {
  display: flex;
  gap: 12px;
  margin-top: auto;
  align-items: start;
}
.storage-glyph svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
  margin-top: 3px;
}
.auth-storage-note p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}
.auth-storage-note strong {
  display: block;
  font-weight: 500;
  color: var(--text);
  font-size: 16px;
  margin-bottom: 5px;
}
.auth-form-panel {
  padding: 40px 48px;
}
.auth-back {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 38px;
}
.auth-back svg {
  width: 13px;
  height: 13px;
}
.auth-form-panel h1 {
  font-size: 28px;
  letter-spacing: -0.9px;
  font-weight: 500;
  margin: 0 0 12px;
  line-height: 1.2;
}
.auth-form-panel > p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}
.auth-form-panel form {
  margin-top: 27px;
}
.auth-form-panel form > label:not(.check-control) {
  display: block;
  font-size: 16px;
  color: var(--secondary);
  margin-top: 19px;
  margin-bottom: 8px;
}
.auth-input {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  min-height: 44px;
  background: var(--surface);
  transition: border-color 0.16s;
}
.auth-input:focus-within {
  border-color: var(--accent);
}
.auth-input:has([aria-invalid="true"]) {
  border-color: var(--red);
}
.auth-input input {
  width: 100%;
  min-width: 0;
  background: none;
  border: 0;
  color: var(--text);
  padding: 13px;
  font-size: 16px;
  border-radius: 5px;
}
.auth-input button {
  width: 42px;
  flex-shrink: 0;
  align-self: stretch;
}
.auth-input button svg {
  width: 17px;
  height: 17px;
  color: var(--muted);
}
.auth-field-error {
  font-size: 16px;
  color: var(--red);
  display: block;
  margin-top: 6px;
}
.auth-field-error[hidden] {
  display: none;
}
.password-rules {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-top: 9px;
}
.password-rules > span {
  width: 27px;
  height: 2px;
  background: var(--line);
}
.password-rules > .met {
  background: var(--accent);
}
.password-rules small {
  font-size: 16px;
  margin-left: auto;
  color: var(--muted);
}
.check-control {
  display: flex;
  align-items: center;
  gap: 9px;
  position: relative;
  font-size: 16px;
  color: var(--muted);
  margin: 22px 0;
}
.check-control input {
  position: absolute;
  opacity: 0;
  width: 16px;
  height: 16px;
  margin: 0;
}
.check-control > span {
  width: 15px;
  height: 15px;
  display: block;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.check-control input:checked + span {
  border-color: var(--accent);
  background: var(--accent);
}
.check-control input:checked + span:after {
  content: "✓";
  display: block;
  color: var(--bg);
  font-size: 16px;
  text-align: center;
}
.check-control input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.auth-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--accent);
  color: var(--bg);
  border-radius: 5px;
  padding: 15px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 22px;
}
.auth-submit:hover:not(:disabled) {
  background: var(--text);
  color: var(--bg);
}
.auth-submit span {
  display: flex;
}
.auth-submit svg {
  width: 17px;
  height: 17px;
}
.auth-submit.is-working svg {
  animation: auth-move 0.8s ease-in-out infinite alternate;
}
.auth-switch {
  text-align: center;
  margin-top: 24px;
}
.auth-switch a {
  color: var(--text);
  border-bottom: 1px solid var(--line);
  margin-left: 5px;
}
.auth-help {
  display: block;
  margin: 15px auto 0;
  font-size: 16px;
  color: var(--muted);
}
.auth-error {
  padding: 12px;
  font-size: 16px;
  color: var(--red);
  background: color-mix(in srgb, var(--red) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--red) 25%, transparent);
  border-radius: 4px;
  line-height: 1.7;
}
.auth-error[hidden] {
  display: none;
}
@keyframes auth-move {
  to {
    transform: translateX(4px);
  }
}
/* Market reports use shared units and real reporting windows. */
.stats-period {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--muted);
  margin: 28px 0 18px;
}
.stats-period svg {
  width: 15px;
  height: 15px;
}
.stats-period > span {
  margin-left: auto;
  color: var(--accent);
  font-size: 16px;
}
.market-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  padding: 28px 0;
}
.market-summary > div {
  padding: 0 28px;
  border-right: 1px solid var(--line);
}
.market-summary > div:first-child {
  padding-left: 0;
}
.market-summary > div:last-child {
  border: 0;
}
.market-summary > div > span {
  font-size: 16px;
  color: var(--muted);
}
.market-summary strong {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -1px;
  margin-top: 13px;
  font-variant-numeric: tabular-nums;
}
.market-summary strong small {
  font-size: 16px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
}
.market-summary p {
  font-size: 16px;
  color: var(--muted);
  margin: 10px 0 0;
  line-height: 1.6;
}
.analytics-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  margin: 34px 0 45px;
}
.analytics-layout h2,
.analytics-rankings h2 {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
}
.analytics-layout .section-heading p {
  font-size: 16px;
  line-height: 1.6;
}
.breadth-bar {
  display: flex;
  height: 24px;
  gap: 3px;
  margin-top: 28px;
}
.breadth-bar span {
  background: var(--accent);
}
.breadth-bar span:nth-child(2) {
  background: var(--red);
}
.breadth-bar span:nth-child(3) {
  background: var(--line);
}
.breadth-legend {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  font-size: 16px;
  color: var(--muted);
}
.breadth-legend i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  background: var(--accent);
}
.breadth-legend span:nth-child(2) i {
  background: var(--red);
}
.breadth-legend span:nth-child(3) i {
  background: var(--muted);
}
.breadth-legend strong {
  font-weight: 500;
  color: var(--text);
  margin-right: 3px;
}
.flow-total {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 24px 0 17px;
}
.flow-total > span {
  font-size: 16px;
  color: var(--muted);
}
.flow-total strong {
  display: block;
  font-size: 23px;
  color: var(--text);
  font-weight: 400;
  margin-top: 10px;
  letter-spacing: -0.7px;
}
.flow-meter {
  height: 5px;
  background: var(--line);
}
.flow-meter span {
  display: block;
  height: 100%;
  background: var(--accent);
}
.flow-panel > p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 18px;
}
.activity-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 12px;
  border-top: 1px solid var(--soft-line);
}
.activity-row:hover {
  background: var(--surface);
}
.activity-rank {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--muted);
}
.activity-row > img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  image-rendering: pixelated;
}
.activity-item {
  flex: 1;
  font-size: 16px;
}
.activity-item small {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 16px;
  margin-top: 5px;
}
.activity-volume {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 37%;
  justify-content: flex-end;
}
.activity-volume strong {
  font-weight: 400;
  font-family: var(--mono);
  font-size: 16px;
  min-width: 110px;
  text-align: right;
}
.activity-bar {
  display: block;
  width: 100%;
  max-width: 230px;
  height: 3px;
  background: var(--soft-line);
}
.activity-bar i {
  display: block;
  height: 100%;
  background: var(--secondary);
}
.activity-change {
  width: 80px;
  text-align: right;
  font-size: 16px;
  font-family: var(--mono);
}
.activity-row > svg {
  width: 14px;
  height: 14px;
  color: var(--muted);
}
.map-toolbar {
  display: flex;
  gap: 20px;
  align-items: end;
  margin: 25px 0 20px;
}
.map-toolbar > label {
  font-size: 16px;
  color: var(--muted);
  width: 190px;
}
.map-toolbar .select-control {
  margin-top: 9px;
}
.map-legend {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0 0 12px auto;
  font-size: 16px;
  color: var(--muted);
}
.map-legend > span:first-child {
  margin-right: 5px;
}
.map-legend > span:last-child {
  margin-left: 5px;
}
.map-legend i {
  width: 15px;
  height: 10px;
  background: color-mix(in srgb, var(--red) 60%, var(--bg));
}
.map-legend i:nth-of-type(2) {
  background: color-mix(in srgb, var(--red) 25%, var(--bg));
}
.map-legend i:nth-of-type(3) {
  background: var(--line);
}
.map-legend i:nth-of-type(4) {
  background: color-mix(in srgb, var(--accent) 25%, var(--bg));
}
.map-legend i:nth-of-type(5) {
  background: color-mix(in srgb, var(--accent) 60%, var(--bg));
}
.market-map {
  height: 640px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 5px;
}
.map-tile {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h);
  border: 2px solid var(--bg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--surface);
  gap: 8px;
}
.map-tile.up {
  background: color-mix(
    in srgb,
    var(--accent) calc(var(--tone) * 100%),
    var(--bg)
  );
}
.map-tile.down {
  background: color-mix(
    in srgb,
    var(--red) calc(var(--tone) * 100%),
    var(--bg)
  );
}
.map-tile:hover {
  z-index: 2;
  outline: 1px solid var(--text);
  outline-offset: -3px;
  filter: brightness(1.12);
  color: var(--text);
}
.map-tile-head {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.map-tile-head img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  image-rendering: pixelated;
}
.map-tile-head strong {
  font-size: 16px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.map-tile-change {
  font-size: 25px;
  letter-spacing: -0.8px;
}
.map-tile.up .map-tile-change {
  color: var(--accent);
}
.map-tile.down .map-tile-change {
  color: var(--red);
}
.map-tile-price {
  font-size: 16px;
  font-family: var(--mono);
}
.map-tile-volume {
  font-size: 16px;
  color: var(--muted);
}
.small-tile {
  padding: 8px;
  gap: 5px;
}
.small-tile .map-tile-volume,
.small-tile .map-tile-head img {
  display: none;
}
.small-tile .map-tile-head strong {
  font-size: 16px;
}
.small-tile .map-tile-change {
  font-size: 17px;
}
.small-tile .map-tile-price {
  font-size: 16px;
}
.map-caption {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 18px;
}
.map-mobile-note {
  display: none;
}
/* Price targets and inspectable price blocks. */
.alert-page-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 26px 0 20px;
  font-size: 16px;
  color: var(--muted);
}
.alert-page-toolbar label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.alert-card {
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 6px;
}
.alert-card-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}
.alert-card-heading img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  image-rendering: pixelated;
}
.alert-card-heading > a {
  flex: 1;
}
.alert-card-heading > span {
  font-size: 16px;
  color: var(--muted);
}
.reached .alert-card-heading > span {
  color: var(--accent);
}
.alert-card-target {
  padding: 25px 0;
}
.alert-card-target > span {
  display: block;
  font-size: 16px;
  color: var(--muted);
}
.alert-card-target strong {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  font-size: 25px;
  color: var(--accent);
  font-weight: 400;
  letter-spacing: -0.6px;
}
.alert-card-target strong small {
  font-size: 16px;
  color: var(--muted);
}
.alert-card-current {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  color: var(--muted);
}
.alert-card-current strong {
  font-weight: 400;
  color: var(--text);
  font-family: var(--mono);
}
.alert-card > p {
  font-size: 16px;
  margin: 12px 0 19px;
}
.alert-card > p span {
  color: var(--muted);
}
.alert-card-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.alert-card-actions .text-button {
  font-size: 16px;
}
.alert-card-actions .icon-button {
  margin-left: auto;
}
.recent-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.recent-heading h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 6px;
}
.recent-heading span {
  font-size: 16px;
  color: var(--muted);
}
.recent-heading .text-button {
  font-size: 16px;
}
.price-block-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.price-block {
  display: block;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
  text-align: left;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.price-block:hover {
  border-color: var(--secondary);
  background: var(--surface-hover);
  color: var(--text);
}
.block-time {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  color: var(--muted);
}
.block-time svg {
  width: 12px;
  height: 12px;
  opacity: 0;
  transform: translateX(-3px);
  transition:
    opacity 0.15s,
    transform 0.15s;
}
.price-block:hover .block-time svg {
  opacity: 1;
  transform: translateX(0);
}
.block-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}
.block-prices small {
  display: block;
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 6px;
}
.block-prices strong {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 400;
}
.block-prices > span:first-child strong {
  color: var(--accent);
}
.block-volume-bar {
  height: 2px;
  display: block;
  background: var(--line);
}
.block-volume-bar i {
  display: block;
  background: var(--accent);
  height: 100%;
}
.block-volume-text {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 16px;
  color: var(--muted);
  margin-top: 9px;
}
.block-volume-text > span {
  color: var(--faint);
}
.block-detail-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 28px 0;
}
.block-detail-values > div > span {
  font-size: 16px;
  color: var(--muted);
}
.block-detail-values strong {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.8px;
  margin: 12px 0;
}
.block-detail-values small {
  font-size: 16px;
  color: var(--muted);
}
.block-detail-values p {
  font-size: 16px;
  color: var(--muted);
}
.block-total {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  padding: 18px 0;
  border-block: 1px solid var(--line);
}
.block-total strong {
  font-weight: 500;
}
.block-step-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
}
.block-step-controls .secondary-button,
.block-step-controls .text-button {
  font-size: 16px;
}
.block-date {
  font-size: 16px !important;
}
.block-dialog {
  max-width: 680px;
}
.history-page-top {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.history-page-top > span {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: auto;
  font-size: 16px;
}
.history-page-top img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  image-rendering: pixelated;
}
.history-page-top .text-button {
  font-size: 16px;
}
.history-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 25px 0;
}
.history-controls > span {
  color: var(--muted);
  font-size: 16px;
}
.history-inspector {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 22px;
}
.pinned-block-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.pinned-block-heading > div > span {
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.pinned-block-heading h2 {
  font-size: 16px;
  font-weight: 400;
  margin: 7px 0 0;
}
.pinned-block-heading > div:last-child {
  display: flex;
  gap: 6px;
}
.pinned-values {
  display: flex;
  gap: 70px;
  margin-top: 23px;
}
.pinned-values > div > span {
  font-size: 16px;
  color: var(--muted);
}
.pinned-values strong {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.8px;
  margin-top: 10px;
}
.pinned-values small {
  font-size: 16px;
  color: var(--muted);
}
.pinned-values p {
  font-size: 16px;
  color: var(--muted);
  margin: 8px 0 0;
}
.detailed-price-chart {
  height: 300px;
  margin: 20px 0 28px;
}
.history-table-controls {
  display: flex;
  align-items: end;
  gap: 16px;
  margin: 25px 0 18px;
}
.history-table-controls label {
  font-size: 16px;
  color: var(--muted);
  min-width: 160px;
}
.history-table-controls .select-control {
  margin-top: 7px;
}
.history-table-controls > span {
  margin: 0 0 13px auto;
  font-size: 16px;
  color: var(--muted);
}
.history-table {
  min-width: 780px;
}
.history-table tbody tr {
  cursor: pointer;
}
.history-table tbody tr.pinned {
  background: var(--accent-bg);
}
.inspect-button {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 16px;
  color: var(--muted);
}
.inspect-button svg {
  width: 12px;
  height: 12px;
}
.history-more {
  display: block;
  margin: 20px auto;
}
/* Screenshots remain dismissible at every zoom level. */
.capture-dialog {
  width: min(1100px, calc(100vw - 36px));
  max-width: 1100px;
}
.capture-dialog .dialog-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--surface);
}
.capture-preview {
  max-height: 55vh;
  overflow: auto;
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 8px;
  border-radius: 4px;
}
.capture-preview img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}
.capture-preview.zoomed img {
  width: auto;
  max-width: none;
  cursor: zoom-out;
}
.capture-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 20px;
  flex-wrap: wrap;
}
.capture-actions .secondary-button,
.capture-actions .primary-button {
  font-size: 16px;
}
.capture-actions > button:first-child {
  margin-right: auto;
}
.capture-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  font-size: 16px;
  color: var(--muted);
}
.capture-link-row .text-button {
  font-size: 16px;
}
.capturing svg {
  animation: feed-receipt 0.7s ease-in-out infinite;
}
.mobile-nav button {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 16px;
  color: var(--muted);
}
.mobile-nav button svg {
  width: 11px;
  height: 11px;
}
@media (min-width: 1700px) {
  .market-map {
    height: 750px;
  }
  .tape-quote {
    gap: 13px;
  }
  .tape-item-name {
    max-width: 160px;
  }
}
@media (max-width: 1200px) {
  .topbar {
    gap: 20px;
  }
  .main-nav {
    gap: 16px;
  }
  .header-actions {
    gap: 4px;
  }
  .ticker-label {
    width: 160px;
    flex-basis: 160px;
  }
  .ticker-source {
    display: none;
  }
  .auth-story {
    padding: 35px;
  }
  .auth-form-panel {
    padding: 35px;
  }
  .alert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .map-toolbar {
    gap: 12px;
  }
  .map-toolbar > label {
    width: 170px;
  }
  .map-legend {
    font-size: 16px;
  }
  .map-legend i {
    width: 11px;
  }
  .tape-quote {
    padding-inline: 13px;
  }
  .tape-item-name {
    max-width: 95px;
  }
}
@media (max-width: 900px) {
  .header-actions #sound-button {
    display: none;
  }
  .page-heading-actions {
    gap: 14px;
  }
  .ticker-label {
    width: 155px;
    flex-basis: 155px;
  }
  .analytics-layout {
    gap: 30px;
  }
  .map-toolbar {
    flex-wrap: wrap;
  }
  .map-legend {
    margin-left: auto;
  }
  .market-summary strong {
    font-size: 26px;
  }
  .market-summary > div {
    padding-inline: 20px;
  }
  .market-summary strong .coin-sprite {
    display: none;
  }
  .auth-layout {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .auth-story {
    padding: 30px;
  }
  .auth-story h2 {
    font-size: 35px;
  }
  .auth-form-panel {
    padding: 30px;
  }
  .activity-volume {
    width: 30%;
  }
  .activity-bar {
    display: none;
  }
  .price-block-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .block-prices strong {
    font-size: 16px;
  }
}
@media (max-width: 700px) {
  .topbar {
    gap: 15px;
  }
  .main-nav {
    display: none;
  }
  .ticker {
    height: 57px;
    padding: 0 18px;
  }
  .ticker-label {
    width: 125px;
    flex-basis: 125px;
    gap: 7px;
    font-size: 16px;
  }
  .ticker-label small {
    font-size: 16px;
  }
  .ticker-label img {
    width: 20px;
    height: 20px;
  }
  .tape-quote {
    justify-content: flex-end;
    border-left: 0;
    padding: 9px 8px;
    gap: 7px;
    font-size: 16px;
  }
  .tape-item-name {
    max-width: 90px;
  }
  .tape-item-icon {
    display: none !important;
  }
  .tape-quote strong {
    font-size: 16px;
  }
  .tape-controls {
    padding: 0 0 0 4px;
  }
  .tape-controls #ticker-pause {
    display: none;
  }
  .tape-controls .icon-button {
    width: 23px;
  }
  .page-heading {
    align-items: start;
    gap: 12px;
  }
  .page-heading h1 {
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -1px;
  }
  .page-kicker {
    font-size: 16px;
    margin-bottom: 8px;
  }
  .page-heading-actions {
    flex-direction: column-reverse;
    align-items: end;
    gap: 10px;
  }
  .page-heading-actions > .text-button {
    font-size: 16px;
    gap: 5px;
  }
  .page-heading-actions > .text-button svg {
    width: 12px;
    height: 12px;
  }
  .feed-sync {
    min-width: 132px;
  }
  .feed-orbit {
    width: 24px;
    height: 24px;
  }
  .feed-orbit svg {
    width: 11px;
    height: 11px;
  }
  .feed-copy strong {
    font-size: 16px;
  }
  .feed-copy small {
    font-size: 16px;
  }
  .feed-sync .market-status {
    gap: 7px;
  }
  .sync-track {
    left: 31px;
  }
  .chart-options {
    gap: 3px;
  }
  .chart-option {
    font-size: 16px;
  }
  .chart-options .icon-button {
    width: 26px;
    height: 28px;
  }
  .chart-options [data-capture] svg {
    width: 13px;
    height: 13px;
  }
  .chart-toolbar {
    gap: 9px;
    flex-wrap: wrap;
  }
  .chart-options #volume-button > span:last-child {
    display: none;
  }
  .gp-input-helper {
    font-size: 16px !important;
  }
  .gp-control input {
    font-size: 16px !important;
  }
  .gp-control {
    min-height: 40px;
  }
  .gp-trigger {
    width: 32px;
    height: 38px;
  }
  .gp-control > .gp-unit-label {
    font-size: 16px !important;
    padding-right: 8px !important;
  }
  .gp-control input {
    height: 38px !important;
  }
  .flip-inputs {
    gap: 10px;
  }
  .flipper-controls .gp-control {
    margin-top: 0;
  }
  .flipper-controls {
    gap: 15px;
  }
  .flipper-controls .select-trigger {
    margin-top: 0;
  }
  .select-trigger {
    min-width: 120px;
    font-size: 16px;
    padding: 10px;
  }
  .select-trigger > svg {
    width: 12px;
  }
  .select-options > button {
    font-size: 16px;
  }
  .auth-page .workspace {
    padding: 25px 18px 35px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .auth-story {
    padding: 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .auth-story h2 {
    font-size: 30px;
    line-height: 1.08;
    margin: 20px 0 12px;
  }
  .auth-story h2 br {
    display: none;
  }
  .auth-story > p {
    margin: 0;
    max-width: none;
    font-size: 16px;
  }
  .auth-inventory {
    display: none;
  }
  .auth-storage-note {
    margin-top: 20px;
  }
  .auth-storage-note p {
    font-size: 16px;
  }
  .auth-storage-note strong {
    font-size: 16px;
    display: inline;
    margin-right: 7px;
  }
  .auth-storage-note .storage-glyph {
    display: none;
  }
  .auth-mark {
    font-size: 16px;
  }
  .auth-form-panel {
    padding: 28px 24px;
  }
  .auth-back {
    margin-bottom: 25px;
  }
  .auth-form-panel h1 {
    font-size: 25px;
  }
  .auth-form-panel > p {
    font-size: 16px;
  }
  .auth-form-panel form {
    margin-top: 22px;
  }
  .auth-page .topbar .global-search {
    display: none;
  }
  .auth-page .topbar .header-actions {
    margin-left: auto;
  }
  .stats-period {
    font-size: 16px;
    flex-wrap: wrap;
    line-height: 1.6;
  }
  .stats-period > span {
    width: 100%;
    margin-left: 23px;
  }
  .market-summary {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .market-summary > div {
    padding: 20px 0 !important;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .market-summary > div > span {
    font-size: 16px;
  }
  .market-summary strong {
    font-size: 29px;
    margin-top: 8px;
  }
  .market-summary strong .coin-sprite {
    display: block;
  }
  .market-summary p {
    margin-top: 7px;
  }
  .analytics-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 30px 0;
  }
  .analytics-rankings .section-heading {
    gap: 20px;
    align-items: center;
  }
  .analytics-rankings .section-heading p {
    font-size: 16px;
  }
  .analytics-rankings .inline-select > label {
    display: none;
  }
  .analytics-rankings .select-trigger {
    min-width: 125px;
    font-size: 16px;
  }
  .activity-row {
    gap: 11px;
    padding: 15px 0;
  }
  .activity-rank {
    font-size: 16px;
  }
  .activity-row > img {
    width: 26px;
    height: 26px;
  }
  .activity-item {
    font-size: 16px;
  }
  .activity-item small {
    font-size: 16px;
  }
  .activity-volume {
    width: auto;
    min-width: 75px;
  }
  .activity-volume strong {
    font-size: 16px;
    min-width: 0;
  }
  .activity-change {
    width: 56px;
    font-size: 16px;
  }
  .activity-row > svg {
    display: none;
  }
  .map-toolbar > label {
    flex: 1 1 calc(50% - 10px);
    width: auto;
    min-width: 0;
  }
  .map-toolbar > label:nth-child(3) {
    max-width: calc(50% - 6px);
  }
  .map-legend {
    margin-bottom: 15px;
    max-width: 50%;
    gap: 2px;
  }
  .map-legend i {
    width: 9px;
  }
  .map-legend > span {
    font-size: 16px;
  }
  .market-map {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    padding: 3px;
  }
  .map-tile,
  .small-tile {
    position: relative;
    inset: auto;
    width: auto;
    height: 145px;
    padding: 14px;
    border: 0;
    gap: 8px;
  }
  .map-tile-head strong,
  .small-tile .map-tile-head strong {
    font-size: 16px;
  }
  .map-tile-head img,
  .small-tile .map-tile-head img {
    width: 25px;
    height: 25px;
    display: block;
  }
  .map-tile-change,
  .small-tile .map-tile-change {
    font-size: 23px;
  }
  .map-tile-price,
  .small-tile .map-tile-price {
    font-size: 16px;
  }
  .map-tile-volume,
  .small-tile .map-tile-volume {
    display: block;
    font-size: 16px;
  }
  .map-mobile-note {
    display: block;
    font-size: 16px;
    color: var(--muted);
    line-height: 1.7;
  }
  .alert-grid {
    grid-template-columns: 1fr;
  }
  .alert-page-toolbar {
    font-size: 16px;
  }
  .alert-card {
    padding: 20px;
  }
  .recent-heading {
    align-items: start;
  }
  .recent-heading h3 {
    font-size: 16px;
  }
  .recent-heading span {
    font-size: 16px;
    line-height: 1.6;
    display: block;
  }
  .recent-heading .text-button {
    font-size: 16px;
    flex-shrink: 0;
  }
  .price-block-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .price-block {
    padding: 13px;
  }
  .price-block:last-child {
    display: none;
  }
  .block-prices strong {
    font-size: 16px;
  }
  .block-prices {
    gap: 5px;
  }
  .block-volume-text {
    font-size: 16px;
    gap: 4px;
  }
  .block-detail-values {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 22px;
  }
  .block-detail-values strong {
    font-size: 26px;
  }
  .block-step-controls {
    gap: 9px;
  }
  .block-step-controls .secondary-button {
    padding: 10px;
    font-size: 16px;
  }
  .block-step-controls .text-button {
    font-size: 16px;
  }
  .history-page-top {
    flex-wrap: wrap;
    gap: 16px;
  }
  .history-page-top > span {
    order: -1;
    width: 100%;
    margin: 0;
    font-size: 16px;
  }
  .history-page-top > .text-button {
    font-size: 16px;
  }
  .history-page-top > .text-button:last-child {
    margin-left: auto;
  }
  .history-controls {
    flex-wrap: wrap;
    gap: 15px;
  }
  .history-controls > span {
    font-size: 16px;
  }
  .history-inspector {
    padding: 17px;
  }
  .pinned-values {
    gap: 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .pinned-values > div > span {
    font-size: 16px;
  }
  .pinned-values strong {
    font-size: 17px;
    gap: 3px;
    letter-spacing: -0.5px;
  }
  .pinned-values .coin-sprite {
    display: none;
  }
  .pinned-values small {
    font-size: 16px;
  }
  .pinned-values p {
    font-size: 16px;
  }
  .pinned-block-heading h2 {
    font-size: 16px;
    line-height: 1.5;
  }
  .pinned-block-heading > div > span {
    font-size: 16px;
  }
  .pinned-block-heading .icon-button {
    width: 24px;
    height: 26px;
  }
  .detailed-price-chart {
    height: 250px;
  }
  .history-table-controls {
    flex-wrap: wrap;
    gap: 12px;
  }
  .history-table-controls label {
    min-width: 0;
    flex: 1 1 42%;
    font-size: 16px;
  }
  .history-table-controls > span {
    flex: 1;
    font-size: 16px;
    margin-bottom: 12px;
  }
  .history-table-controls label:nth-child(3) {
    max-width: calc(50% - 6px);
  }
  .history-table {
    min-width: 690px;
  }
  .capture-dialog {
    width: calc(100vw - 24px);
    max-height: 90dvh;
  }
  .capture-preview {
    max-height: 50dvh;
  }
  .capture-actions {
    gap: 8px;
    justify-content: stretch;
  }
  .capture-actions > button {
    flex: 1;
    justify-content: center;
  }
  .capture-actions > button:first-child {
    flex: 1 1 100%;
    margin-right: 0;
  }
  .capture-actions .secondary-button,
  .capture-actions .primary-button {
    font-size: 16px;
    padding: 11px;
  }
  .capture-link-row {
    font-size: 16px;
  }
  .capture-preview.zoomed img {
    max-width: 1400px;
  }
  .product-intro {
    gap: 15px;
  }
  .product-intro p {
    font-size: 16px;
  }
  .product-intro .primary-button,
  .product-intro .secondary-button,
  .product-intro .text-button {
    font-size: 16px;
    white-space: nowrap;
  }
  .mobile-nav {
    justify-content: space-around;
  }
  .mobile-nav button {
    font-size: 16px;
  }
  .mobile-nav a {
    font-size: 16px;
  }
}
@media (max-width: 360px) {
  .page-heading h1 {
    font-size: 25px;
  }
  .page-heading-actions {
    gap: 8px;
  }
  .feed-sync {
    min-width: 118px;
  }
  .feed-copy strong {
    font-size: 16px;
  }
  .feed-copy small {
    font-size: 16px;
  }
  .tape-item-name {
    max-width: 65px;
  }
  .tape-quote > span:last-child {
    display: none;
  }
  .auth-form-panel {
    padding: 26px 20px;
  }
  .auth-story {
    padding: 21px;
  }
  .block-prices strong {
    font-size: 16px;
  }
  .block-volume-text > span {
    display: none;
  }
  .map-tile-head {
    gap: 5px;
  }
  .map-tile-head img {
    width: 20px;
    height: 20px;
  }
  .activity-volume strong {
    font-size: 16px;
  }
  .activity-change {
    width: 50px;
  }
  .activity-row {
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gild-popover,
  .syncing .feed-orbit svg,
  .sync-complete .feed-orbit,
  .auth-submit.is-working svg,
  .capturing svg {
    animation: none !important;
  }
  .ticker-items {
    transition: none;
  }
}
:root[data-reduced-motion="true"] .gild-popover,
:root[data-reduced-motion="true"] .feed-orbit,
:root[data-reduced-motion="true"] .auth-submit svg {
  animation: none !important;
}
:root[data-reduced-motion="true"] .ticker-items {
  transition: none;
}
.pinned-values strong,
.block-detail-values strong {
  overflow-wrap: anywhere;
  flex-wrap: wrap;
}
.create-account-link {
  margin-left: 18px;
  font-size: 16px;
}
.money-cell {
  font-variant-numeric: tabular-nums;
}
.page-heading h1 {
  margin-top: 0;
}
@media (max-width: 700px) {
  .page-heading-actions {
    flex-direction: row-reverse;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px;
  }
  .page-heading {
    align-items: start;
  }
  .page-heading-actions > #capture-page {
    order: 2;
  }
  .page-heading-actions {
    max-width: 140px;
  }
  .create-account-link {
    font-size: 16px;
  }
  .pinned-values strong .coin-sprite {
    display: none;
  }
}

.auth-layout {
  animation: auth-enter 0.32s var(--ease);
}
@keyframes auth-enter {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .auth-layout {
    animation: none;
  }
}
:root[data-reduced-motion="true"] .auth-layout {
  animation: none;
}
