@font-face {
  font-family: Geist;
  src: url("/assets/geist-400.ttf");
}
@font-face {
  font-family: Geist;
  src: url("/assets/geist-500.ttf");
  font-weight: 500;
}
@font-face {
  font-family: Geist;
  src: url("/assets/geist-600.ttf");
  font-weight: 600;
}
@font-face {
  font-family: Geist;
  src: url("/assets/geist-700.ttf");
  font-weight: 700;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/geist-mono-400.ttf");
}
:root {
  --bg: #101310;
  --surface: #151915;
  --surface-hover: #1d231c;
  --subtle: #1a2019;
  --line: #2a3028;
  --soft-line: #232922;
  --text: #edf0e8;
  --muted: #8c9588;
  --faint: #7a8474;
  --accent: #c1ef7b;
  --accent-bg: #283322;
  --red: #ed8d7b;
  --secondary: #c5d7c0;
  --mono: "Geist Mono", monospace;
  --ease: cubic-bezier(0.22, 0.7, 0.25, 1);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f8faf5;
  --surface: #fff;
  --surface-hover: #eef2e8;
  --subtle: #f0f3ea;
  --line: #dbe2d3;
  --soft-line: #e5eadf;
  --text: #1f291b;
  --muted: #6b7863;
  --faint: #7b8872;
  --accent: #568322;
  --accent-bg: #e3efd5;
  --red: #bb5440;
  --secondary: #466239;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Geist, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01" on;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  transition:
    color 0.16s var(--ease),
    background 0.16s var(--ease),
    border-color 0.16s var(--ease),
    opacity 0.16s var(--ease);
}
button:disabled {
  opacity: 0.3;
  cursor: default;
}
button:hover:not(:disabled),
a:hover {
  color: var(--accent);
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
input:focus,
select:focus {
  outline: none;
  border-color: var(--accent) !important;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}
input[type="number"] {
  -moz-appearance: textfield;
}
input::placeholder {
  color: var(--faint);
}
button svg,
a svg,
[data-icon] svg {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  display: block;
  flex-shrink: 0;
}
button [data-icon],
a [data-icon] {
  display: inline-flex;
}
[hidden] {
  display: none !important;
}
.muted {
  color: var(--muted);
}
.positive {
  color: var(--accent) !important;
}
.negative {
  color: var(--red) !important;
}
.mono {
  font-family: var(--mono);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 10;
  padding: 12px;
  background: var(--accent);
  color: var(--bg);
}
.skip-link:focus {
  top: 10px;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  color: var(--muted);
}
.icon-button:hover {
  background: var(--surface-hover);
  color: var(--text) !important;
}
.icon-button.selected {
  color: var(--accent);
}
.icon-button.selected svg {
  fill: var(--accent);
  stroke: var(--accent);
}
.status-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.status-dot.offline {
  background: var(--red);
}
.topbar {
  height: 82px;
  border-bottom: 1px solid var(--line);
  padding: 0 44px;
  display: flex;
  align-items: center;
  gap: 44px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand > svg {
  color: var(--accent);
  width: 28px;
}
.brand > span:nth-child(2) {
  font-weight: 600;
  font-size: 31px;
  letter-spacing: -1.6px;
}
.brand-period {
  color: var(--accent);
}
.game-tag {
  font-size: 16px !important;
  letter-spacing: 1px;
  font-weight: 500 !important;
  color: var(--muted);
  margin-left: 4px;
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.main-nav {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  gap: 26px;
}
.nav-link {
  font-size: 16px;
  position: relative;
  color: var(--muted);
  padding: 0 1px;
}
.nav-link.active {
  color: var(--text);
}
.nav-link.active:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}
.global-search {
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 12px;
  color: var(--muted);
  width: min(340px, 30vw);
  margin-left: auto;
  font-size: 16px;
  text-align: left;
  background: var(--surface);
}
.global-search:hover {
  border-color: var(--faint);
}
.global-search svg {
  width: 16px;
}
.global-search kbd {
  margin-left: auto;
  font-family: inherit;
  font-size: 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 5px;
  color: var(--faint);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatar {
  background: var(--accent-bg);
  color: var(--accent);
  height: 31px;
  width: 31px;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50%;
  margin-left: 3px;
}
.alert-toggle {
  position: relative;
}
#alert-count {
  position: absolute;
  right: 0;
  top: 0;
  background: var(--accent);
  color: var(--bg);
  font-size: 16px;
  border-radius: 10px;
  min-width: 13px;
  height: 13px;
  display: grid;
  place-items: center;
}
.ticker {
  height: 44px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 44px;
  gap: 28px;
  font-size: 16px;
  overflow: hidden;
}
.ticker-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 16px;
  letter-spacing: 0.9px;
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 25px;
  border-right: 1px solid var(--line);
  height: 15px;
}
.ticker-items {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex: 1;
  overflow: hidden;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  padding: 0;
  font-size: 16px;
}
.ticker-item > span:first-child {
  color: var(--muted);
}
.ticker-item strong {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 400;
}
.ticker-item .ticker-change {
  font-family: var(--mono);
  font-size: 16px;
}
.ticker-source {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 16px;
  white-space: nowrap;
}
.ticker-source svg {
  width: 11px;
  height: 11px;
}
.workspace {
  max-width: 1480px;
  margin: auto;
  padding: 37px 56px 0;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.page-kicker {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 7px;
}
.page-heading h1 {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -1.2px;
  margin: 0;
  line-height: 1.3;
}
.heading-dot {
  color: var(--accent);
}
.market-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--muted);
  padding-top: 18px;
}
.market-status > span:nth-child(2) {
  color: var(--text);
}
.market-status svg {
  width: 12px;
  height: 12px;
  margin-left: 5px;
}
.status-divider {
  width: 1px;
  height: 11px;
  background: var(--line);
  margin: 0 3px;
}
.data-banner {
  padding: 12px 16px;
  background: var(--accent-bg);
  color: var(--secondary);
  border-radius: 6px;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.5;
}
.data-banner button {
  text-decoration: underline;
  padding: 0 4px;
  color: var(--accent);
}
.market-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 42px;
}
.main-column {
  min-width: 0;
}
.asset-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.asset-name {
  display: flex;
  align-items: center;
  gap: 13px;
}
.asset-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--subtle);
  border: 1px solid var(--line);
}
.asset-icon img {
  max-width: 34px;
  max-height: 35px;
  image-rendering: pixelated;
}
.asset-name h2 {
  font-size: 19px;
  letter-spacing: -0.5px;
  font-weight: 500;
  margin: 0;
}
.asset-name-line {
  display: flex;
  align-items: center;
  gap: 10px;
}
.member-tag {
  color: #bdab6c;
  display: flex;
}
.member-tag svg {
  width: 13px;
  height: 13px;
}
.asset-name p {
  color: var(--muted);
  font-size: 16px;
  margin: 5px 0 0;
}
.asset-actions {
  display: flex;
  gap: 7px;
}
.asset-actions .icon-button {
  border: 1px solid var(--line);
  width: 33px;
  height: 33px;
}
.asset-actions svg {
  width: 16px;
}
.asset-price-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 23px;
}
.asset-price {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -2.1px;
  font-variant-numeric: tabular-nums;
}
.price-unit {
  font-size: 15px;
  color: var(--muted);
}
.asset-performance {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 16px;
  margin-top: 6px;
  height: 20px;
}
.asset-performance #asset-change {
  font-weight: 500;
}
.chart-date {
  color: var(--muted);
  margin-left: auto;
  font-size: 16px;
}
.chart-container {
  position: relative;
  height: 254px;
  margin-top: 19px;
  touch-action: pan-y;
}
.chart-container svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  display: block;
}
.chart-container text {
  font-family: var(--mono);
  font-size: 16px;
  fill: var(--faint);
}
.chart-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  gap: 12px;
  font-size: 16px;
  color: var(--muted);
}
.skeleton-chart {
  width: 80%;
  height: 70px;
  border-bottom: 1px solid var(--line);
  opacity: 0.5;
}
.chart-error {
  display: grid;
  place-content: center;
  height: 100%;
  text-align: center;
  gap: 9px;
  color: var(--muted);
  font-size: 16px;
}
.chart-error button {
  color: var(--accent);
  font-size: 16px;
}
.chart-hover {
  pointer-events: none;
}
.chart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1px;
  margin-bottom: 24px;
}
.period-tabs {
  display: flex;
  align-items: center;
  gap: 16px;
}
.period-tabs button {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 4px;
  min-width: 33px;
}
.period-tabs button:first-child {
  margin-left: -10px;
}
.period-tabs button.active {
  background: var(--accent-bg);
  color: var(--accent);
}
.chart-options {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chart-option {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--faint);
  font-size: 16px;
}
.chart-option svg {
  width: 13px;
  height: 13px;
}
.chart-option.active {
  color: var(--muted);
}
.chart-options > .icon-button {
  width: 24px;
  height: 24px;
}
.chart-options > .icon-button svg {
  width: 13px;
  height: 13px;
}
.asset-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.asset-stats > div {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
.asset-stats > div:first-child {
  padding-left: 0;
  border: 0;
}
.asset-stats span {
  display: block;
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 9px;
}
.asset-stats strong {
  display: block;
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
}
.asset-bottom {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 15px 0;
  font-size: 16px;
  color: var(--muted);
}
.asset-bottom a,
.asset-bottom button {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 16px;
  padding: 0;
}
.asset-bottom a {
  margin-right: auto;
}
.asset-bottom svg {
  width: 12px;
  height: 12px;
}
.side-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.watchlist-panel,
.flip-panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  overflow: hidden;
}
.side-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 19px;
}
.side-heading h2 {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.1px;
}
.side-heading h2 > span {
  font-size: 16px;
  color: var(--muted);
  margin-left: 6px;
}
.side-heading > .icon-button {
  height: 22px;
  width: 22px;
}
.side-heading > span svg {
  color: var(--muted);
  height: 16px;
  width: 16px;
}
.watchlist-labels {
  display: flex;
  justify-content: space-between;
  color: var(--faint);
  font-size: 16px;
  padding: 1px 20px 11px;
  border-bottom: 1px solid var(--soft-line);
}
.watchlist-item {
  width: 100%;
  display: grid;
  grid-template-columns: 28px 1fr 38px 76px;
  gap: 7px;
  align-items: center;
  text-align: left;
  padding: 13px 17px;
  border-bottom: 1px solid var(--soft-line);
  min-height: 61px;
}
.watchlist-item:hover {
  background: var(--surface-hover);
}
.watchlist-item.active {
  background: var(--subtle);
}
.watchlist-item img {
  max-width: 24px;
  max-height: 28px;
  image-rendering: pixelated;
  justify-self: center;
}
.watchlist-item .item-title {
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.watchlist-item .item-short {
  font-size: 16px;
  color: var(--faint);
  display: block;
  margin-top: 4px;
}
.watchlist-values {
  text-align: right;
}
.watchlist-values strong {
  display: block;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 16px;
}
.watchlist-values > span {
  display: block;
  font-family: var(--mono);
  font-size: 16px;
  margin-top: 5px;
}
.mini-spark {
  display: block;
  width: 100%;
  height: 25px;
}
.watchlist-all {
  padding: 13px 19px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 16px;
}
.watchlist-all svg {
  width: 13px;
  height: 13px;
}
.watchlist-empty {
  padding: 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.flip-panel .side-heading {
  padding-bottom: 10px;
}
.flip-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 16px;
  padding: 0 19px 15px;
  color: var(--muted);
}
.flip-item img {
  max-height: 18px;
  max-width: 18px;
  image-rendering: pixelated;
}
.flip-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 19px;
}
.flip-inputs label {
  font-size: 16px;
  color: var(--muted);
  position: relative;
}
.flip-inputs label > span {
  position: absolute;
  right: 10px;
  top: 34px;
  color: var(--faint);
  font-size: 16px;
}
.flip-inputs input {
  display: block;
  background: var(--bg);
  border: 1px solid var(--line);
  width: 100%;
  min-width: 0;
  border-radius: 5px;
  padding: 11px 23px 11px 8px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 16px;
  margin-top: 7px;
}
.quantity-row {
  display: flex;
  align-items: center;
  padding: 13px 19px 16px;
  gap: 5px;
  font-size: 16px;
}
.quantity-row label {
  margin-right: auto;
  color: var(--muted);
}
.quantity-row .icon-button {
  width: 20px;
  height: 20px;
}
.quantity-row .icon-button svg {
  width: 12px;
  height: 12px;
}
.quantity-row input {
  width: 32px;
  background: transparent;
  border: 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 16px;
  color: var(--text);
  padding: 3px 0;
}
.limit-button {
  font-size: 16px;
  color: var(--accent);
  padding: 3px 0 3px 6px;
}
.flip-breakdown {
  margin: 0 19px;
  padding: 14px 0 3px;
  border-top: 1px solid var(--line);
}
.flip-breakdown > div {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 16px;
  padding-bottom: 12px;
  gap: 8px;
}
.flip-breakdown > div > span:last-child {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--secondary);
}
.flip-breakdown svg {
  width: 10px;
  height: 10px;
  display: inline;
  vertical-align: -2px;
  margin-left: 2px;
}
.flip-result {
  margin: 0 19px;
  border-top: 1px solid var(--line);
  padding: 15px 0 0;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
.flip-result > span {
  font-size: 16px;
  color: var(--muted);
}
.flip-result > div {
  text-align: right;
}
.flip-result strong {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 400;
  display: block;
}
.flip-result div > span {
  font-family: var(--mono);
  font-size: 16px;
  display: block;
  margin-top: 5px;
}
.calculator-note {
  font-size: 16px;
  line-height: 1.7;
  color: var(--faint);
  padding: 12px 19px 15px;
  margin: 0;
}
.compare-prompt {
  border-radius: 9px;
  border: 1px solid #34452b;
  padding: 17px 20px 19px;
  background: var(--accent-bg);
  overflow: hidden;
}
.compare-prompt-art {
  height: 39px;
  margin: 0 -20px 12px;
  opacity: 0.65;
}
.compare-prompt-art svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.3;
}
.compare-prompt-art svg path + path {
  stroke: var(--secondary);
  opacity: 0.35;
}
.compare-prompt h3 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.3px;
  margin: 0 0 8px;
}
.compare-prompt p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}
.sidebar-note {
  display: flex;
  gap: 9px;
  padding: 0 4px;
  color: var(--faint);
  font-size: 16px;
  line-height: 1.65;
}
.sidebar-note > span {
  padding-top: 1px;
}
.sidebar-note svg {
  height: 13px;
  width: 13px;
}
.sidebar-note p {
  margin: 0;
}
.market-browser {
  margin-top: 33px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-heading h2 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.6px;
  margin: 0;
}
.section-heading p {
  color: var(--muted);
  font-size: 16px;
  margin: 6px 0 0;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: var(--muted);
  padding: 6px 0;
}
.text-button svg {
  height: 13px;
  width: 13px;
}
.market-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
  border-bottom: 1px solid var(--line);
}
.category-tabs {
  display: flex;
  gap: 23px;
  overflow: auto;
  scrollbar-width: none;
}
.category-tabs button {
  font-size: 16px;
  white-space: nowrap;
  color: var(--muted);
  padding: 0 0 13px;
  position: relative;
}
.category-tabs button.active {
  color: var(--text);
}
.category-tabs button.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}
.filter-button {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--muted);
  font-size: 16px;
  align-self: start;
  padding: 0 0 12px 12px;
}
.filter-button svg {
  width: 12px;
  height: 12px;
}
.filter-button.active {
  color: var(--accent);
}
.table-search-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  gap: 10px;
}
.table-search {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--faint);
}
.table-search svg {
  width: 13px;
  height: 13px;
}
.table-search input {
  border: 0;
  background: none;
  color: var(--text);
  font-size: 16px;
  padding: 4px 0;
  min-width: 100px;
  max-width: 210px;
  width: 200px;
}
.table-view-controls {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 16px;
  color: var(--faint);
}
.table-view-controls .icon-button {
  width: 20px;
  height: 20px;
}
.table-view-controls svg {
  height: 12px;
  width: 12px;
}
.table-scroll {
  overflow-x: auto;
}
.market-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
  table-layout: auto;
}
.market-table th {
  font-size: 16px;
  font-weight: 400;
  color: var(--faint);
  padding: 10px 10px 12px;
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
}
.market-table th button {
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: inherit;
  font-size: inherit;
}
.market-table th button.sorted {
  color: var(--text);
}
.market-table th button svg {
  width: 9px;
  height: 9px;
  color: var(--faint);
}
.market-table td {
  border-bottom: 1px solid var(--soft-line);
  padding: 14px 10px;
  font-size: 16px;
  height: 62px;
}
.market-table tbody tr {
  cursor: pointer;
  transition: background 0.12s;
}
.market-table tbody tr:hover {
  background: var(--surface);
}
.market-table tbody tr.selected {
  background: var(--subtle);
}
.market-table .number {
  text-align: right;
}
.market-table td.number {
  font-family: var(--mono);
  font-size: 16px;
}
.market-table .star-col {
  width: 25px;
  padding-left: 0;
  padding-right: 0;
}
.table-star {
  width: 24px;
  height: 24px;
}
.table-star svg {
  width: 13px;
  height: 13px;
}
.market-table .item-cell {
  min-width: 155px;
  padding-left: 8px;
}
.table-item {
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  font-size: 16px;
  padding: 0;
  width: 100%;
}
.table-item .table-item-icon {
  width: 30px;
  height: 31px;
  display: grid;
  place-items: center;
}
.table-item img {
  max-width: 26px;
  max-height: 29px;
  image-rendering: pixelated;
}
.table-item .item-description {
  display: block;
  font-size: 16px;
  color: var(--faint);
  margin-top: 5px;
}
.table-item > span:last-child {
  max-width: 185px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.market-table .trend-col {
  width: 85px;
  text-align: right;
}
.market-table .compare-col {
  width: 24px;
  padding-right: 0;
}
.row-compare {
  width: 23px;
  height: 23px;
  color: var(--faint);
}
.row-compare svg {
  width: 13px;
  height: 13px;
}
.row-compare.is-added {
  color: var(--accent);
}
.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--faint);
  font-size: 16px;
  padding: 15px 0;
}
.table-footer > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.table-footer .icon-button {
  width: 22px;
  height: 22px;
}
.table-footer svg {
  width: 12px;
  height: 12px;
}
.table-footer #page-number {
  color: var(--text);
}
.filters-panel {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.filters-panel label {
  font-size: 16px;
  color: var(--muted);
}
.filters-panel input:not([type="checkbox"]),
.filters-panel select {
  display: block;
  margin-top: 7px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  padding: 9px;
  width: 100%;
  font-size: 16px;
}
.filters-panel .checkbox-label {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkbox-label input {
  accent-color: var(--accent);
}
.filters-panel #reset-filters {
  justify-self: end;
}
.empty-state {
  text-align: center;
  padding: 45px 15px;
  color: var(--muted);
}
.empty-state > span svg {
  display: block;
  margin: 0 auto 12px;
  width: 24px;
  height: 24px;
}
.empty-state h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  margin: 0;
}
.empty-state p {
  font-size: 16px;
  margin: 8px 0 18px;
}
.secondary-button {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 15px;
  font-size: 16px;
  color: var(--text);
}
.primary-button {
  background: var(--accent);
  color: var(--bg);
  font-weight: 500;
  border-radius: 6px;
  padding: 12px 18px;
  font-size: 16px;
}
.primary-button:hover {
  color: var(--bg) !important;
  opacity: 0.85;
}
.footer {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 0 30px;
  margin-top: 35px;
}
.footer-brand {
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -1px;
  color: var(--muted);
}
.footer > p {
  font-size: 16px;
  color: var(--faint);
}
.footer > div:last-child {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 16px;
  color: var(--faint);
}
.footer a {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.footer a svg {
  width: 10px;
  height: 10px;
}
.footer button {
  font-size: 16px;
  color: var(--muted);
  padding: 0;
  white-space: nowrap;
}
dialog {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 8px 30px #0003;
}
dialog::backdrop {
  background: #050805b8;
  backdrop-filter: blur(3px);
}
.search-dialog {
  width: min(580px, calc(100vw - 28px));
  margin: 14vh auto auto;
  max-height: 75vh;
  overflow: hidden;
}
.search-dialog-input {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 19px;
  border-bottom: 1px solid var(--line);
}
.search-dialog-input > span {
  color: var(--muted);
}
.search-dialog-input input {
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  flex: 1;
  min-width: 0;
  padding: 0;
}
.key-button {
  padding: 3px 5px;
  color: var(--muted);
  font-size: 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.search-caption {
  font-size: 16px;
  color: var(--faint);
  padding: 17px 20px 10px;
}
#command-results {
  max-height: 420px;
  overflow-y: auto;
  padding: 0 8px 10px;
}
.command-result {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  width: 100%;
  padding: 12px 11px;
  text-align: left;
  border-radius: 6px;
  gap: 10px;
}
.command-result[aria-selected="true"] {
  background: var(--surface-hover);
}
.command-result img {
  max-height: 30px;
  max-width: 30px;
  image-rendering: pixelated;
}
.command-result strong {
  display: block;
  font-weight: 400;
  font-size: 16px;
}
.command-result .command-desc {
  display: block;
  font-size: 16px;
  color: var(--muted);
  margin-top: 4px;
}
.command-result .command-price {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--muted);
}
.search-footer {
  border-top: 1px solid var(--line);
  padding: 12px 19px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  color: var(--faint);
}
.search-footer kbd {
  font-family: inherit;
  border: 1px solid var(--line);
  padding: 1px 4px;
  border-radius: 3px;
  margin-right: 3px;
}
.search-footer > span:last-child {
  margin-left: auto;
}
.general-dialog {
  width: min(475px, calc(100vw - 32px));
  max-height: 85vh;
  overflow: auto;
}
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 23px 8px;
}
.dialog-header h2 {
  font-size: 20px;
  letter-spacing: -0.5px;
  font-weight: 500;
  margin: 0;
}
.dialog-body {
  padding: 12px 23px 24px;
}
.dialog-body > p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 18px;
}
.dialog-body label {
  display: block;
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 16px;
}
.dialog-body input,
.dialog-body select {
  display: block;
  background: var(--bg);
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 16px;
}
.dialog-body .primary-button {
  width: 100%;
}
.dialog-body .info-line {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  gap: 14px;
}
.dialog-body .info-line > span {
  color: var(--muted);
}
.dialog-body .info-line > strong {
  font-weight: 400;
}
.dialog-body .info-link {
  font-size: 16px;
  color: var(--accent);
  display: inline-block;
  margin-top: 22px;
}
.dialog-body .shortcut {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.shortcut kbd {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--text);
}
.dialog-body .fine-print {
  font-size: 16px;
  margin-top: 20px;
}
.dialog-body .fine-print a {
  color: var(--accent);
}
.alert-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.alert-row img {
  max-height: 30px;
  max-width: 30px;
  image-rendering: pixelated;
}
.alert-row > div {
  flex: 1;
}
.alert-row strong {
  font-size: 16px;
  font-weight: 500;
  display: block;
}
.alert-row p {
  font-size: 16px;
  color: var(--muted);
  margin: 5px 0 0;
}
.alert-row.triggered strong {
  color: var(--accent);
}
.alert-empty {
  font-size: 16px;
  color: var(--muted);
  padding: 18px 0;
  line-height: 1.8;
}
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  padding: 13px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: var(--surface-hover);
  font-size: 16px;
  max-width: calc(100vw - 30px);
  text-align: center;
  box-shadow: 0 4px 8px #0002;
}
.compare-tray {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 11px 12px 11px 18px;
  z-index: 4;
  background: var(--surface-hover);
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 4px 8px #0002;
  font-size: 16px;
}
.compare-tray .tray-items {
  display: flex;
  gap: 7px;
  align-items: center;
}
.tray-items img {
  max-width: 24px;
  max-height: 24px;
  image-rendering: pixelated;
}
.compare-tray .primary-button {
  padding: 9px 14px;
  white-space: nowrap;
  font-size: 16px;
}
.compare-tray .icon-button {
  width: 25px;
  height: 25px;
}
.compare-tray .icon-button svg {
  width: 13px;
}
.compare-tray > span {
  font-size: 16px;
  white-space: nowrap;
}
.comparison-panel {
  min-height: 558px;
}
.comparison-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
}
.comparison-header h2 {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.7px;
  margin: 0 0 10px;
}
.comparison-header p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  max-width: 400px;
}
.comparison-header .secondary-button {
  font-size: 16px;
  padding: 8px 11px;
  display: flex;
  gap: 5px;
  align-items: center;
  white-space: nowrap;
}
.comparison-header svg {
  width: 13px;
  height: 13px;
}
.comparison-chips {
  display: flex;
  gap: 10px;
  margin: 25px 0 8px;
  flex-wrap: wrap;
}
.comparison-chip {
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 8px 9px;
  font-size: 16px;
}
.comparison-chip > span {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.comparison-chip img {
  max-height: 20px;
  max-width: 20px;
  image-rendering: pixelated;
}
.comparison-chip button {
  padding: 0;
  color: var(--muted);
  margin-left: 5px;
}
.comparison-chip svg {
  width: 12px;
  height: 12px;
}
.compare-chart {
  height: 280px;
  margin-top: 20px;
}
.compare-chart-caption {
  font-size: 16px;
  color: var(--faint);
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
}
.comparison-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.comparison-stat {
  font-size: 16px;
}
.comparison-stat .item-label {
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.comparison-stat strong {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 400;
  display: block;
  margin-bottom: 6px;
}
.comparison-stat p {
  font-family: var(--mono);
  font-size: 16px;
  margin: 0;
}
.comparison-footer {
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: var(--faint);
}
body.chart-expanded .asset-panel {
  position: fixed;
  inset: 24px;
  z-index: 6;
  background: var(--bg);
  padding: 30px 40px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}
body.chart-expanded .chart-container {
  height: calc(100dvh - 390px);
  min-height: 200px;
}
body.chart-expanded {
  overflow: hidden;
}
body.chart-expanded:before {
  content: "";
  position: fixed;
  inset: 0;
  background: #050805aa;
  z-index: 5;
}
@media (min-width: 1550px) {
  .topbar,
  .ticker {
    padding-left: max(44px, calc((100vw - 1400px) / 2));
    padding-right: max(44px, calc((100vw - 1400px) / 2));
  }
  .workspace {
    padding-top: 40px;
  }
  .chart-container {
    height: 280px;
  }
}
@media (max-width: 1200px) {
  .topbar {
    padding: 0 28px;
    gap: 28px;
  }
  .main-nav {
    gap: 20px;
  }
  .ticker {
    padding: 0 28px;
  }
  .ticker-item:nth-child(n + 4) {
    display: none;
  }
  .workspace {
    padding: 32px 32px 0;
  }
  .market-layout {
    grid-template-columns: minmax(0, 1fr) 276px;
    gap: 28px;
  }
  .market-table .trend-col {
    display: none;
  }
  .category-tabs {
    gap: 18px;
  }
  .asset-price {
    font-size: 44px;
  }
  .asset-stats strong {
    font-size: 16px;
  }
  .asset-stats > div {
    padding-left: 10px;
  }
  .watchlist-item {
    grid-template-columns: 25px 1fr 30px 70px;
    gap: 5px;
  }
  .footer > div:last-child > span {
    display: none;
  }
  .global-search {
    width: 260px;
  }
  .asset-bottom {
    gap: 15px;
  }
}
@media (max-width: 1000px) {
  .topbar {
    height: 72px;
    gap: 25px;
  }
  .game-tag {
    display: none;
  }
  .global-search {
    width: 230px;
  }
  .header-actions {
    gap: 6px;
  }
  .header-actions .avatar {
    display: none;
  }
  .ticker-label {
    font-size: 16px;
    padding-right: 16px;
  }
  .ticker {
    gap: 18px;
  }
  .ticker-item:nth-child(n + 3) {
    display: none;
  }
  .page-heading {
    margin-bottom: 32px;
  }
  .workspace {
    padding: 28px 26px 0;
  }
  .market-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 26px;
  }
  .watchlist-item {
    grid-template-columns: 25px 1fr 70px;
  }
  .watchlist-item .mini-spark {
    display: none;
  }
  .side-heading {
    padding-left: 16px;
    padding-right: 16px;
  }
  .watchlist-labels {
    padding-left: 16px;
    padding-right: 16px;
  }
  .watchlist-item {
    padding-left: 13px;
    padding-right: 13px;
  }
  .asset-stats {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 18px;
  }
  .asset-stats > div:nth-child(4) {
    padding-left: 0;
    border: 0;
  }
  .asset-bottom {
    flex-wrap: wrap;
    gap: 10px 18px;
  }
  .asset-bottom a {
    width: 100%;
    margin: 0 0 2px;
  }
  .market-table .volume-col {
    display: none;
  }
  .asset-price {
    font-size: 39px;
  }
  .asset-performance {
    font-size: 16px;
  }
  .chart-container {
    height: 240px;
  }
  .category-tabs {
    gap: 15px;
  }
  .category-tabs button {
    font-size: 16px;
  }
  .global-search kbd {
    display: none;
  }
  .flip-inputs {
    padding: 0 15px;
  }
  .flip-inputs input {
    font-size: 16px;
  }
  .flip-inputs label > span {
    font-size: 16px;
    right: 5px;
  }
  .flip-breakdown,
  .flip-result {
    margin: 0 15px;
  }
  .quantity-row {
    padding: 13px 15px;
  }
  .market-table td {
    padding: 12px 7px;
  }
  .market-table th {
    padding-left: 7px;
    padding-right: 7px;
  }
  .table-item {
    gap: 5px;
  }
  .table-item > span:last-child {
    max-width: 140px;
  }
  .market-table .item-cell {
    min-width: 130px;
  }
  .market-table td.number {
    font-size: 16px;
  }
  .table-item .item-title {
    font-size: 16px;
  }
  .market-status #updated-label,
  .market-status .status-divider {
    display: none;
  }
}
@media (max-width: 800px) {
  .topbar {
    padding: 0 22px;
    gap: 24px;
  }
  .global-search {
    width: 37px;
    height: 35px;
    padding: 9px;
    background: none;
    border: 0;
    margin-left: auto;
  }
  .global-search > span:nth-child(2) {
    display: none;
  }
  .header-actions {
    gap: 7px;
  }
  .ticker-source {
    display: none;
  }
  .ticker-label {
    padding-right: 17px;
  }
  .workspace {
    padding: 28px 22px 0;
  }
  .market-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .side-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 22px;
    margin-top: 4px;
  }
  .compare-prompt,
  .sidebar-note {
    display: none;
  }
  .watchlist-panel {
    height: 100%;
  }
  .watchlist-item {
    grid-template-columns: 26px 1fr 38px 70px;
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .watchlist-item .mini-spark {
    display: block;
  }
  .market-table .trend-col,
  .market-table .volume-col {
    display: table-cell;
  }
  .market-table td.number {
    font-size: 16px;
  }
  .market-table .item-cell {
    min-width: 150px;
  }
  .table-item .item-title {
    font-size: 16px;
  }
  .asset-stats {
    grid-template-columns: repeat(5, 1fr);
  }
  .asset-stats > div:nth-child(4) {
    padding-left: 10px;
    border-left: 1px solid var(--line);
  }
  .asset-bottom {
    flex-wrap: nowrap;
  }
  .asset-bottom a {
    width: auto;
    margin-right: auto;
  }
  .asset-price {
    font-size: 48px;
  }
  .chart-container {
    height: 260px;
  }
  .page-heading {
    margin-bottom: 33px;
  }
  .market-status #updated-label,
  .market-status .status-divider {
    display: block;
  }
  .footer {
    margin-top: 30px;
  }
  .footer > p {
    display: none;
  }
  .comparison-panel {
    min-height: auto;
  }
  .market-browser {
    margin-top: 35px;
  }
}
@media (max-width: 560px) {
  .topbar {
    height: 65px;
    padding: 0 18px;
    gap: 21px;
  }
  .brand {
    gap: 7px;
  }
  .brand > svg {
    width: 22px;
  }
  .brand > span:nth-child(2) {
    font-size: 27px;
  }
  .main-nav {
    gap: 18px;
  }
  .nav-link {
    font-size: 16px;
  }
  .header-actions .icon-button:first-child {
    display: none;
  }
  .header-actions {
    gap: 0;
  }
  .global-search {
    margin-left: auto;
    width: 28px;
    padding: 3px;
  }
  .ticker {
    padding: 0 18px;
    gap: 15px;
    height: 38px;
  }
  .ticker-label {
    letter-spacing: 0.5px;
    font-size: 16px;
    gap: 7px;
    padding-right: 14px;
  }
  .ticker-items {
    gap: 18px;
  }
  .ticker-item {
    font-size: 16px;
    gap: 8px;
  }
  .ticker-item:nth-child(n + 2) {
    display: none;
  }
  .ticker-item .ticker-change {
    font-size: 16px;
  }
  .workspace {
    padding: 24px 18px 0;
  }
  .page-heading {
    margin-bottom: 29px;
    align-items: start;
  }
  .page-kicker {
    font-size: 16px;
    margin-bottom: 7px;
  }
  .page-heading h1 {
    font-size: 25px;
    letter-spacing: -1px;
  }
  .market-status {
    font-size: 16px;
    padding-top: 29px;
    gap: 6px;
  }
  .market-status #updated-label,
  .market-status .status-divider,
  .market-status > span:last-child {
    display: none;
  }
  .asset-name h2 {
    font-size: 17px;
  }
  .asset-icon {
    height: 41px;
    width: 41px;
  }
  .asset-name {
    gap: 11px;
  }
  .asset-name p {
    font-size: 16px;
  }
  .asset-actions {
    gap: 5px;
  }
  .asset-actions .icon-button {
    height: 30px;
    width: 30px;
  }
  .asset-price-line {
    margin-top: 25px;
    gap: 8px;
  }
  .asset-price {
    font-size: 40px;
    letter-spacing: -1.7px;
  }
  .price-unit {
    font-size: 16px;
  }
  .asset-performance {
    font-size: 16px;
    gap: 6px;
    flex-wrap: wrap;
    height: auto;
  }
  .chart-date {
    display: none;
  }
  .chart-container {
    height: 226px;
    margin-top: 20px;
  }
  .period-tabs {
    gap: 12px;
  }
  .period-tabs button {
    font-size: 16px;
    padding: 7px 9px;
    min-width: 26px;
  }
  .chart-options {
    gap: 10px;
  }
  .chart-option {
    font-size: 16px;
  }
  .chart-option > span:last-child {
    display: none;
  }
  .chart-toolbar {
    margin-bottom: 19px;
  }
  .asset-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 19px 0;
    padding: 18px 0;
  }
  .asset-stats > div:nth-child(4) {
    padding-left: 0;
    border: 0;
  }
  .asset-stats span {
    font-size: 16px;
    margin-bottom: 7px;
  }
  .asset-stats strong {
    font-size: 16px;
  }
  .asset-stats > div {
    padding-left: 14px;
  }
  .asset-bottom {
    font-size: 16px;
    gap: 14px;
    flex-wrap: wrap;
    padding: 14px 0;
  }
  .asset-bottom a,
  .asset-bottom button {
    font-size: 16px;
  }
  .asset-bottom a {
    margin-right: 0;
  }
  .asset-bottom button:last-child {
    margin-left: auto;
  }
  .asset-bottom svg {
    width: 11px;
    height: 11px;
  }
  .section-heading h2 {
    font-size: 19px;
  }
  .section-heading p {
    font-size: 16px;
  }
  .section-heading .text-button {
    font-size: 16px;
  }
  .market-browser {
    margin-top: 25px;
  }
  .category-tabs {
    gap: 20px;
  }
  .market-controls {
    margin-top: 23px;
    gap: 8px;
  }
  .category-tabs button {
    font-size: 16px;
  }
  .category-tabs button:last-child {
    display: none;
  }
  .filter-button {
    font-size: 16px;
    padding-left: 5px;
    gap: 4px;
  }
  .filter-button svg {
    width: 11px;
  }
  .table-search input {
    font-size: 16px;
    width: 170px;
  }
  .table-view-controls {
    gap: 7px;
    font-size: 16px;
  }
  .market-table .sell-col,
  .market-table .volume-col,
  .market-table .trend-col {
    display: none;
  }
  .market-table .item-cell {
    min-width: 145px;
  }
  .table-item > span:last-child {
    max-width: 160px;
  }
  .table-item .item-description {
    font-size: 16px;
  }
  .table-item {
    font-size: 16px;
    gap: 7px;
  }
  .table-item .table-item-icon {
    width: 26px;
  }
  .market-table td {
    padding: 12px 5px;
    height: 62px;
  }
  .market-table td.number {
    font-size: 16px;
  }
  .market-table th {
    font-size: 16px;
    padding: 10px 5px;
  }
  .market-table .item-cell {
    padding-left: 3px;
  }
  .market-table .star-col {
    width: 20px;
  }
  .table-star {
    width: 20px;
  }
  .table-star svg {
    height: 12px;
    width: 12px;
  }
  .market-table .compare-col {
    width: 20px;
  }
  .row-compare {
    width: 20px;
  }
  .row-compare svg {
    height: 12px;
    width: 12px;
  }
  .side-column {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 0;
  }
  .watchlist-item {
    grid-template-columns: 30px 1fr 75px 80px;
    padding: 14px 18px;
  }
  .watchlist-item .item-title {
    font-size: 16px;
  }
  .watchlist-values strong {
    font-size: 16px;
  }
  .watchlist-values > span {
    font-size: 16px;
  }
  .watchlist-item .mini-spark {
    height: 27px;
  }
  .side-heading {
    padding: 17px 19px;
  }
  .side-heading h2 {
    font-size: 14px;
  }
  .flip-inputs {
    padding: 0 19px;
  }
  .flip-inputs input {
    font-size: 16px;
    padding: 12px 25px 12px 11px;
  }
  .flip-inputs label {
    font-size: 16px;
  }
  .flip-inputs label > span {
    right: 11px;
    top: 36px;
    font-size: 16px;
  }
  .flip-item {
    font-size: 16px;
  }
  .quantity-row {
    padding: 17px 19px;
    font-size: 16px;
  }
  .quantity-row input {
    font-size: 16px;
    width: 45px;
  }
  .quantity-row .icon-button {
    height: 24px;
    width: 24px;
  }
  .flip-breakdown,
  .flip-result {
    margin: 0 19px;
  }
  .flip-breakdown > div,
  .flip-breakdown > div > span:last-child {
    font-size: 16px;
  }
  .flip-result > span {
    font-size: 16px;
  }
  .flip-result strong {
    font-size: 17px;
  }
  .calculator-note {
    font-size: 16px;
  }
  .footer {
    padding: 24px 0;
    gap: 15px;
  }
  .footer > div:last-child {
    flex-wrap: wrap;
    gap: 7px 15px;
    justify-content: end;
    font-size: 16px;
  }
  .footer-brand {
    font-size: 22px;
  }
  .footer button {
    font-size: 16px;
  }
  .search-dialog {
    margin-top: 10vh;
  }
  .search-dialog-input input {
    font-size: 14px;
  }
  .command-result .command-price {
    font-size: 16px;
  }
  .command-result strong {
    font-size: 16px;
  }
  .search-footer {
    font-size: 16px;
    gap: 9px;
  }
  .search-footer > span:last-child {
    display: none;
  }
  .compare-tray {
    bottom: 14px;
    padding: 10px;
    gap: 10px;
    max-width: calc(100vw - 20px);
  }
  .compare-tray > span {
    display: none;
  }
  .compare-tray .tray-items {
    gap: 7px;
  }
  .compare-tray .primary-button {
    font-size: 16px;
  }
  .comparison-header h2 {
    font-size: 21px;
  }
  .comparison-header p {
    font-size: 16px;
    max-width: 240px;
  }
  .comparison-header .secondary-button {
    font-size: 16px;
    padding: 8px;
  }
  .comparison-chips {
    gap: 6px;
    margin-top: 20px;
  }
  .comparison-chip {
    font-size: 16px;
    padding: 7px;
    gap: 5px;
  }
  .comparison-chip img {
    max-width: 16px;
    max-height: 16px;
  }
  .comparison-chip > span {
    width: 5px;
    height: 5px;
  }
  .comparison-stats {
    gap: 10px;
  }
  .comparison-stat .item-label {
    font-size: 16px;
  }
  .comparison-stat strong {
    font-size: 16px;
  }
  .comparison-stat p {
    font-size: 16px;
  }
  .compare-chart {
    height: 240px;
  }
  .filters-panel {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .filters-panel .checkbox-label {
    grid-column: auto;
  }
  .filters-panel #reset-filters {
    align-self: end;
  }
  .filters-panel label {
    font-size: 16px;
  }
  body.chart-expanded .asset-panel {
    inset: 8px;
    padding: 22px 16px;
  }
  body.chart-expanded .chart-container {
    height: calc(100dvh - 400px);
  }
  .chart-container text {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Keep trading data readable at laptop and mobile sizes. */
.watchlist-item .item-title {
  font-size: 16px;
}
.watchlist-values strong {
  font-size: 16px;
}
.market-table td.number {
  font-size: 16px;
}
.market-table th {
  font-size: 16px;
}
.table-item {
  font-size: 16px;
}
.table-item .item-description {
  font-size: 16px;
}
.asset-stats span {
  font-size: 16px;
}
.asset-stats strong {
  font-size: 16px;
}
.asset-bottom a,
.asset-bottom button {
  font-size: 16px;
}
.section-heading p {
  font-size: 16px;
}
.table-search input {
  font-size: 16px;
}
.table-view-controls {
  font-size: 16px;
}
.table-footer {
  font-size: 16px;
}
@media (max-width: 1200px) {
  .asset-stats strong {
    font-size: 16px;
  }
  .asset-stats span {
    font-size: 16px;
  }
  .market-table td.number {
    font-size: 16px;
  }
}
@media (max-width: 560px) {
  .market-table td.number {
    font-size: 16px;
  }
  .market-table th {
    font-size: 16px;
  }
  .table-item .item-description {
    font-size: 16px;
  }
  .table-item {
    font-size: 16px;
  }
  .asset-stats strong {
    font-size: 16px;
  }
  .asset-bottom a,
  .asset-bottom button {
    font-size: 16px;
  }
  .section-heading p {
    font-size: 16px;
  }
  .table-search input {
    font-size: 16px;
  }
  .table-view-controls {
    font-size: 16px;
  }
  .watchlist-item .item-title {
    font-size: 16px;
  }
}

.chart-container:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 6px;
  border-radius: 2px;
}

/* RuneMarket 2: dedicated pages, readable live tables and restrained movement. */
.mobile-sell-quote {
  display: none;
}
.route-loading {
  padding: 38px 0;
  color: var(--muted);
  font-size: 16px;
  min-height: 55vh;
}
.asset-name,
.asset-name > div,
.asset-name-line {
  min-width: 0;
}
.asset-topline {
  gap: 12px;
}
.asset-name h2 {
  overflow-wrap: anywhere;
}
.member-tag {
  flex-shrink: 0;
}
@media (max-width: 380px) {
  .asset-price-line {
    flex-wrap: wrap;
    gap: 4px 8px;
  }
  .asset-price {
    font-size: 36px;
  }
  .asset-name h2 {
    font-size: 17px;
  }
  .price-unit {
    font-size: 16px;
  }
  .asset-bottom {
    gap: 12px 16px;
  }
  .asset-bottom button:last-child {
    margin-left: 0;
  }
  .market-browser .section-heading > div {
    max-width: 78%;
  }
  .table-view-controls .icon-button {
    display: none;
  }
  .main-column .table-search input {
    max-width: 140px;
  }
  .flipper-controls {
    gap: 15px 12px;
    padding: 15px;
  }
  .flipper-controls input,
  .flipper-controls select {
    font-size: 16px;
  }
  .opportunity-table tr {
    gap: 16px;
  }
  .opportunity-table td.number {
    font-size: 16px !important;
  }
}
@media (max-width: 600px) {
  .opportunity-table {
    display: block;
    min-width: 0 !important;
    width: 100%;
  }
  .opportunity-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    clip: rect(0, 0, 0, 0);
    overflow: hidden;
  }
  .opportunity-table tbody {
    display: block;
  }
  .opportunity-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 17px 22px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
  }
  .opportunity-table td {
    display: block;
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    text-align: left !important;
    font-size: 16px !important;
    white-space: normal;
  }
  .opportunity-table td.number:before {
    content: attr(data-label);
    display: block;
    font-size: 16px;
    font-family: Geist, sans-serif;
    font-weight: 400;
    color: var(--muted);
    margin-bottom: 7px;
  }
  .opportunity-table .item-cell {
    grid-column: 1/-1;
    min-width: 0 !important;
  }
  .opportunity-table .table-item .item-title {
    font-size: 14px;
  }
  .opportunity-table .table-item .item-description {
    font-size: 16px;
    margin-top: 6px;
  }
  .opportunity-table .table-item > span:last-child {
    max-width: none;
  }
  .opportunity-table .table-item-icon {
    width: 34px;
    height: 35px;
    margin-right: 4px;
  }
  .opportunity-table .table-item-icon img {
    max-width: 30px;
    max-height: 32px;
  }
  .opportunity-table td:last-child {
    grid-column: 1/-1;
  }
  .opportunity-table .inspect-button {
    display: flex;
    justify-content: space-between;
    width: 100%;
    border: 1px solid var(--line);
    padding: 11px 12px;
    border-radius: 5px;
    font-size: 16px;
  }
  .opportunity-table .signal-score {
    font-size: 16px;
  }
  .opportunity-table .signal-score > span {
    width: 40px;
  }
  .opportunity-table .cell-subline {
    font-size: 16px;
    margin-top: 5px;
  }
}
@media (max-width: 460px) {
  .mobile-sell-quote {
    display: block;
    font-family: Geist, sans-serif;
    font-size: 16px;
    color: var(--secondary);
    margin-top: 5px;
  }
  .page-market .market-table td,
  .page-watchlist .market-table td {
    height: 87px;
  }
  .page-market .market-table td:nth-child(3) .cell-subline,
  .page-watchlist .market-table td:nth-child(3) .cell-subline {
    font-size: 16px;
    margin-top: 5px;
  }
  .price-unit {
    font-size: 16px;
    max-width: 90px;
    line-height: 1.5;
  }
  .asset-price-line {
    gap: 8px;
  }
}
html {
  scrollbar-gutter: stable;
}
.dialog-open {
  overflow: hidden;
}
.topbar {
  height: 76px;
  padding: 0 36px;
  gap: 32px;
}
.main-nav {
  gap: 24px;
}
.global-search {
  width: min(280px, 23vw);
}
.nav-link {
  display: flex;
  align-items: center;
  font-size: 16px;
}
.mobile-nav {
  display: none;
}
.header-actions {
  gap: 8px;
}
.page-heading h1 {
  font-size: 29px;
  font-weight: 550;
  letter-spacing: -1px;
}
.status-dot,
.heading-dot {
  display: none !important;
}
.market-status {
  font-size: 16px;
  padding-top: 12px;
}
.market-status.refreshing svg {
  animation: rotate-refresh 0.8s linear infinite;
}
.ticker-label {
  letter-spacing: 0.6px;
  font-size: 16px;
}
.workspace {
  padding-top: 32px;
}
.page-heading {
  margin-bottom: 32px;
}
.asset-name h2 {
  font-size: 21px;
}
.asset-price {
  font-size: 48px;
}
.asset-name p {
  font-size: 16px;
}
.asset-performance {
  font-size: 16px;
  height: 24px;
}
.chart-container {
  height: 275px;
}
.asset-stats span {
  font-size: 16px;
}
.asset-stats strong {
  font-size: 16px;
}
.asset-bottom a,
.asset-bottom button {
  font-size: 16px;
}
.watchlist-item .item-title {
  font-size: 16px;
}
.watchlist-item .item-short {
  font-size: 16px;
}
.watchlist-values > span {
  font-size: 16px;
}
.watchlist-labels {
  font-size: 16px;
}
.side-heading h2 {
  font-size: 14px;
}
.flip-inputs label,
.flip-item,
.quantity-row,
.flip-breakdown > div,
.flip-breakdown > div > span:last-child {
  font-size: 16px;
}
.flip-inputs input {
  font-size: 16px;
}
.flip-result > span {
  font-size: 16px;
}
.calculator-note {
  font-size: 16px;
}
.chart-mode {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 6px 0 7px;
}
.chart-mode button {
  font-size: 16px;
  color: var(--muted);
  padding: 5px 0;
}
.chart-mode button.active {
  color: var(--text);
}
.chart-mode button.active:before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 2px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 5px;
}
.chart-mode button[data-chart-mode="sell"].active:before {
  background: var(--red);
}
.chart-toolbar {
  margin-bottom: 22px;
}
.chart-date {
  font-size: 16px;
}
.market-presets {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 0 0;
}
.market-presets button {
  font-size: 16px;
  padding: 3px 0;
  color: var(--muted);
}
.market-presets button.active {
  color: var(--accent);
}
.market-table th {
  font-size: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.market-table td {
  font-size: 16px;
  height: 72px;
}
.market-table td.number {
  font-size: 16px;
}
.table-item {
  font-size: 16px;
}
.table-item .item-title {
  font-size: 16px;
}
.table-item .item-description {
  font-size: 16px;
  margin-top: 5px;
}
.market-table .item-cell {
  min-width: 175px;
}
.cell-subline {
  display: block;
  font-family: Geist, sans-serif;
  font-size: 16px;
  color: var(--muted);
  margin-top: 6px;
}
.market-table .item-cell .journal-note {
  display: block;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.table-footer,
.table-view-controls {
  font-size: 16px;
}
.table-search input {
  font-size: 16px;
}
.category-tabs button {
  font-size: 16px;
}
.filter-button,
.text-button {
  font-size: 16px;
}
.category-tabs {
  gap: 24px;
}
.period-tabs button {
  font-size: 16px;
}
.section-heading p {
  font-size: 16px;
  line-height: 1.6;
}
.table-footer {
  padding-top: 18px;
}
.page-watchlist .market-layout,
.page-compare .market-layout {
  grid-template-columns: minmax(0, 1fr);
}
.page-watchlist .market-browser,
.page-compare .market-browser {
  margin-top: 0;
}
.page-compare .market-browser {
  margin-top: 32px;
}
.page-compare .comparison-panel {
  min-height: 0;
}
.page-compare .compare-chart {
  height: 360px;
}
.page-compare .comparison-stats {
  padding: 25px 0;
}
.comparison-stat strong {
  font-size: 18px;
}
.comparison-stat .item-label,
.comparison-stat p {
  font-size: 16px;
}
.comparison-header h2 {
  font-size: 23px;
}
.comparison-header p {
  font-size: 16px;
}
.comparison-chip {
  font-size: 16px;
  padding: 10px 12px;
}
.comparison-footer {
  font-size: 16px;
  line-height: 1.7;
}
.page-item .market-layout {
  align-items: start;
}
.page-item .asset-panel {
  margin-bottom: 38px;
}
.page-item .item-detail-section {
  margin-top: 20px;
}
.page-item .page-kicker:before {
  content: "Item prices / ";
  color: var(--faint);
}
.item-detail-section .section-heading {
  gap: 14px;
}
.last-trades {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  margin-top: 24px;
}
.last-trades > div {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.last-trades span {
  font-size: 16px;
  color: var(--muted);
}
.last-trades strong {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 400;
}
.last-trades time {
  font-size: 16px;
  color: var(--muted);
}
.detail-data-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  padding: 22px 0;
  font-size: 16px;
  color: var(--muted);
}
.detail-data-strip strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  font-weight: 400;
  margin-top: 7px;
}
.recent-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 15px 0;
}
.recent-heading h3 {
  font-size: 15px;
  font-weight: 500;
  margin: 0;
}
.recent-heading > span {
  font-size: 16px;
  color: var(--muted);
}
.recent-table {
  min-width: 610px;
}
.recent-table td {
  height: 51px;
  font-size: 16px;
}
.data-explanation {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 90ch;
  margin: 20px 0 0;
}
.product-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin: -12px 0 28px;
}
.product-intro > p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 66ch;
  margin: 0;
}
.product-intro .text-button {
  white-space: nowrap;
}
.flipper-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 32px;
}
.flipper-main {
  min-width: 0;
}
.flipper-controls {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
}
.flipper-controls label {
  font-size: 16px;
  color: var(--muted);
}
.flipper-controls input,
.flipper-controls select {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 11px 10px;
  width: 100%;
  font-size: 16px;
  margin-top: 8px;
  min-width: 0;
}
.flipper-controls .primary-button {
  align-self: center;
  margin-top: 10px;
  padding: 12px 17px;
}
.input-unit {
  display: block;
  position: relative;
}
.input-unit > span {
  position: absolute;
  right: 12px;
  top: 20px;
  font-size: 16px;
  color: var(--faint);
}
.input-unit > input {
  padding-right: 34px;
}
.field-hint {
  display: block;
  font-size: 16px;
  color: var(--faint);
  margin-top: 6px;
}
.opportunity-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  color: var(--muted);
  font-size: 16px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.opportunity-meta strong {
  font-weight: 500;
  color: var(--text);
  font-family: var(--mono);
}
.opportunity-meta > span:last-child {
  margin-left: auto;
  font-size: 16px;
}
.opportunity-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  padding: 18px 0;
}
.opportunity-toolbar .table-search {
  flex: 1;
}
.inline-select {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 16px;
  color: var(--muted);
}
.inline-select select {
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 16px;
  padding: 4px 0;
  max-width: 140px;
}
.opportunity-table {
  min-width: 820px;
}
.opportunity-table td {
  font-size: 16px;
  padding: 15px 9px;
}
.opportunity-table td.number {
  font-size: 16px;
}
.opportunity-table .item-cell {
  min-width: 180px;
}
.opportunity-table th {
  font-size: 16px;
}
.opportunity-table .table-item {
  font-size: 16px;
  gap: 7px;
}
.opportunity-table .table-item .item-description {
  font-size: 16px;
}
.opportunity-table td.number strong {
  font-weight: 500;
}
.inspect-button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 0;
  font-size: 16px;
  color: var(--muted);
}
.inspect-button svg {
  width: 12px;
  height: 12px;
}
.signal-score {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  min-width: 52px;
}
.signal-score > span {
  position: relative;
  width: 23px;
  height: 3px;
  background: var(--line);
  display: inline-block;
}
.signal-score > span:after {
  content: "";
  width: var(--score);
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--accent);
}
.opportunity-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  color: var(--muted);
  padding: 12px 0;
}
.opportunity-footer p {
  margin: 0;
}
.opportunity-footer .secondary-button {
  padding: 8px 12px;
  font-size: 16px;
}
.flipper-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.method-panel {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.method-panel:first-child {
  border-top: 0;
  padding-top: 0;
}
.method-panel h2 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.2px;
  margin: 0 0 16px;
}
.weight-line {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  color: var(--muted);
  padding: 8px 0;
  gap: 15px;
}
.weight-line > span:last-child,
.weight-line > strong {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
}
.method-panel p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  margin: 12px 0;
}
.method-panel .secondary-button {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 16px;
  padding: 10px 12px;
  margin-top: 18px;
}
.method-panel .secondary-button svg {
  height: 13px;
  width: 13px;
}
.learning-count {
  display: block;
  font-family: var(--mono);
  font-size: 35px;
  letter-spacing: -1px;
  font-weight: 400;
  margin: 4px 0 8px;
}
.learning-panel .muted {
  font-size: 16px;
}
.wide-dialog {
  width: min(760px, calc(100vw - 32px));
}
.wide-dialog .dialog-body {
  padding-top: 18px;
}
.wide-dialog .info-line {
  align-items: start;
  gap: 25px;
  line-height: 1.7;
}
.wide-dialog .info-line strong {
  max-width: 60%;
  text-align: right;
  font-size: 16px;
}
.plan-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
  margin-bottom: 22px;
}
.plan-summary span {
  display: block;
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 9px;
}
.plan-summary strong {
  display: block;
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 400;
}
.analysis-chart {
  height: 230px;
  margin-top: 10px;
}
.analysis-legend {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 16px;
}
.analysis-legend span:before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 2px;
  margin-right: 7px;
  vertical-align: middle;
  background: var(--accent);
}
.analysis-legend span + span:before {
  background: var(--red);
}
.history-evidence {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 16px;
  color: var(--muted);
  padding: 20px 0;
  line-height: 1.5;
}
.history-evidence strong {
  font-family: var(--mono);
  color: var(--text);
  font-weight: 400;
}
.plan-costs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 20px 0;
  font-size: 16px;
  color: var(--muted);
}
.plan-costs > span {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.plan-costs strong {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
}
.signal-reasons {
  padding: 0 0 0 15px;
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
  margin: 0 0 16px;
}
.dialog-body .fine-print {
  font-size: 16px;
  line-height: 1.8;
}
.dialog-body p.fine-print {
  color: var(--muted);
  margin: 15px 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.dialog-body label textarea {
  display: block;
  margin-top: 8px;
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--text);
  padding: 12px;
  font-family: inherit;
  font-size: 16px;
  resize: vertical;
}
.form-error {
  font-size: 16px;
  color: var(--red) !important;
  line-height: 1.7;
  margin: 12px 0;
}
.journal-tools {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.journal-tools .primary-button {
  display: flex;
  gap: 7px;
  align-items: center;
}
.journal-tools .primary-button svg {
  width: 15px;
  height: 15px;
}
.journal-summary {
  display: grid;
  grid-template-columns: 1.3fr 1.3fr 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  gap: 24px;
}
.journal-summary span {
  display: block;
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 13px;
}
.journal-summary strong {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 25px;
  letter-spacing: -0.7px;
}
.journal-performance {
  margin: 30px 0;
}
.journal-performance h2 {
  font-size: 15px;
  font-weight: 500;
  margin: 0;
}
.journal-performance .chart-container {
  height: 210px;
}
.journal-tabs {
  border-bottom: 1px solid var(--line);
  margin-top: 32px;
  gap: 30px;
}
.journal-tabs button span {
  font-size: 16px;
  color: var(--faint);
  margin-left: 6px;
}
.journal-table {
  min-width: 820px;
}
.journal-note {
  font-size: 16px;
  color: var(--muted);
  margin-top: 8px;
  max-width: 250px;
}
.trade-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.trade-actions .secondary-button {
  font-size: 16px;
  padding: 8px 10px;
  white-space: nowrap;
}
.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 70px;
  max-width: 1140px;
}
.account-identity {
  display: flex;
  gap: 18px;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.profile-monogram {
  display: grid;
  place-items: center;
  border-radius: 10px;
  width: 58px;
  height: 58px;
  background: var(--accent-bg);
  color: var(--accent);
  font-size: 24px;
  font-weight: 500;
  flex-shrink: 0;
}
.account-identity h2 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin: 0 0 6px;
}
.account-identity p {
  margin: 0 0 5px;
  font-size: 16px;
  color: var(--muted);
}
.account-identity span {
  font-size: 16px;
  color: var(--faint);
}
.account-identity .text-button {
  margin-left: auto;
}
.settings-section {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.settings-section h2 {
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 22px;
}
.settings-section label {
  font-size: 16px;
  color: var(--muted);
  display: block;
}
.settings-section input,
.settings-section select {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  color: var(--text);
  margin-top: 8px;
  padding: 12px;
  font-size: 16px;
}
.settings-section > label {
  max-width: 380px;
}
.settings-section .form-grid {
  row-gap: 22px;
}
.settings-save {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
}
.settings-save span {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}
.import-label {
  font-size: 16px;
  color: var(--muted);
  display: block;
  margin-top: 20px;
}
.import-label input {
  display: block;
  margin-top: 10px;
  font-size: 16px;
  width: 100%;
  color: var(--muted);
}
.signin-panel {
  max-width: 600px;
  padding: 32px 0 70px;
}
.signin-panel h2 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin: 0 0 14px;
}
.signin-panel p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 25px;
}
.signin-panel .primary-button {
  display: inline-flex;
}
.signin-panel .fine-print {
  font-size: 16px;
  margin-top: 25px;
}
.route-missing {
  max-width: 600px;
  margin: 20vh auto;
  padding: 24px;
}
.route-missing h1 {
  font-size: 30px;
}
.route-missing p {
  color: var(--muted);
  margin-bottom: 30px;
}
.route-missing a {
  display: inline-block;
}
.dialog-body .primary-button:disabled {
  opacity: 0.45;
}
.table-scroll {
  overscroll-behavior-x: contain;
}
.chart-container {
  outline-offset: 5px;
}
.footer {
  margin-top: 42px;
}
.footer > div:last-child {
  line-height: 1.8;
}
.footer > p {
  white-space: nowrap;
}
#product-page {
  min-height: 55vh;
}
.toast {
  bottom: 28px;
}
.cell-rise {
  animation: price-rise 1.4s var(--ease);
}
.cell-fall {
  animation: price-fall 1.4s var(--ease);
}
.row-enter {
  animation: row-enter 0.28s var(--ease);
}
.page-flipper .page-heading,
.page-journal .page-heading,
.page-account .page-heading {
  margin-bottom: 28px;
}
.empty-state p {
  line-height: 1.8;
  max-width: 55ch;
  margin: 12px auto 20px;
}
.table-search input {
  min-height: 27px;
}
.settings-save .primary-button {
  white-space: nowrap;
}
.main-column {
  min-width: 0;
}
.market-status:disabled {
  opacity: 1;
}
.global-search {
  cursor: text;
}
@keyframes rotate-refresh {
  to {
    transform: rotate(360deg);
  }
}
@keyframes price-rise {
  0% {
    background: color-mix(in srgb, var(--accent) 16%, transparent);
  }
  100% {
    background: transparent;
  }
}
@keyframes price-fall {
  0% {
    background: color-mix(in srgb, var(--red) 16%, transparent);
  }
  100% {
    background: transparent;
  }
}
@keyframes row-enter {
  from {
    opacity: 0;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1700px) {
  .workspace {
    max-width: 1580px;
  }
  .market-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 50px;
  }
  .flipper-layout {
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 40px;
  }
  .chart-container {
    height: 330px;
  }
  .market-table td {
    height: 76px;
  }
}
@media (max-width: 1300px) {
  .topbar {
    padding: 0 26px;
    gap: 23px;
  }
  .main-nav {
    gap: 19px;
  }
  .game-tag {
    display: none;
  }
  .global-search {
    width: 200px;
  }
  .market-layout {
    gap: 30px;
    grid-template-columns: minmax(0, 1fr) 285px;
  }
  .flipper-layout {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 25px;
  }
  .flipper-controls {
    gap: 10px;
    padding: 18px;
  }
  .flipper-controls label {
    font-size: 16px;
  }
  .opportunity-toolbar {
    gap: 11px;
  }
  .inline-select {
    gap: 5px;
  }
  .inline-select select {
    max-width: 110px;
  }
  .account-layout {
    gap: 40px;
  }
  .market-table td.number {
    font-size: 16px;
  }
  .asset-stats strong {
    font-size: 16px;
  }
  .asset-bottom {
    gap: 15px;
  }
  .asset-bottom a,
  .asset-bottom button {
    font-size: 16px;
  }
}
@media (max-width: 1100px) {
  .topbar {
    gap: 19px;
    padding: 0 23px;
  }
  .global-search {
    width: 180px;
  }
  .main-nav {
    gap: 16px;
  }
  .nav-link {
    font-size: 16px;
  }
  .header-actions {
    gap: 4px;
  }
  .brand > span:nth-child(2) {
    font-size: 29px;
  }
  .market-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 25px;
  }
  .asset-price {
    font-size: 43px;
  }
  .asset-stats strong {
    font-size: 16px;
  }
  .flipper-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .flipper-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
    border-top: 1px solid var(--line);
    margin-top: 10px;
    padding-top: 25px;
  }
  .flipper-sidebar .method-panel {
    border: 0;
    padding-top: 0;
  }
  .flipper-controls {
    grid-template-columns: 1.5fr 1fr 1fr auto;
  }
  .opportunity-table {
    min-width: 800px;
  }
  .account-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 35px;
  }
  .watchlist-item .item-title {
    font-size: 16px;
  }
  .asset-performance {
    font-size: 16px;
  }
  .market-table .item-cell {
    min-width: 160px;
  }
  .market-table td {
    padding-left: 8px;
    padding-right: 8px;
  }
  .market-table th {
    padding-left: 8px;
    padding-right: 8px;
  }
  .category-tabs {
    gap: 20px;
  }
  .category-tabs button {
    font-size: 16px;
  }
  .market-presets {
    gap: 20px;
  }
  .main-column .table-search input {
    max-width: 185px;
  }
  .ticker-item {
    font-size: 16px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .topbar {
    height: 68px;
    gap: 20px;
    padding: 0 22px;
  }
  .global-search {
    width: 280px;
    margin-left: auto;
  }
  .global-search > span:nth-child(2) {
    display: inline;
  }
  .global-search kbd {
    display: block;
  }
  .header-actions .avatar {
    display: grid;
  }
  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;
    background: var(--bg);
    border-top: 1px solid var(--line);
    padding: 7px 8px max(9px, env(safe-area-inset-bottom));
    height: 60px;
  }
  .mobile-nav a {
    font-size: 16px;
    text-align: center;
    color: var(--muted);
    padding: 14px 2px 12px;
    position: relative;
  }
  .mobile-nav a.active {
    color: var(--accent);
  }
  .mobile-nav a.active:before {
    content: "";
    position: absolute;
    top: -8px;
    height: 2px;
    left: 28%;
    right: 28%;
    background: var(--accent);
  }
  body {
    padding-bottom: 60px;
  }
  .toast {
    bottom: 75px;
  }
  .compare-tray {
    bottom: 74px;
  }
  .market-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .side-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 15px;
  }
  .compare-prompt,
  .sidebar-note {
    display: none;
  }
  .asset-stats {
    grid-template-columns: repeat(5, 1fr);
  }
  .asset-stats > div:nth-child(4) {
    padding-left: 10px;
    border-left: 1px solid var(--line);
  }
  .asset-stats strong {
    font-size: 16px;
  }
  .asset-stats span {
    font-size: 16px;
  }
  .asset-price {
    font-size: 48px;
  }
  .asset-bottom a,
  .asset-bottom button {
    font-size: 16px;
  }
  .market-table .trend-col,
  .market-table .volume-col {
    display: table-cell;
  }
  .table-item .item-title {
    font-size: 16px;
  }
  .asset-performance {
    font-size: 16px;
  }
  .watchlist-item {
    grid-template-columns: 28px 1fr 45px 75px;
  }
  .watchlist-item .mini-spark {
    display: block;
  }
  .watchlist-item .item-title {
    font-size: 16px;
  }
  .page-item .side-column {
    margin-top: 10px;
  }
  .account-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 30px;
  }
  .flipper-controls {
    padding: 20px;
  }
  .opportunity-meta > span:last-child {
    margin-left: 0;
  }
  .opportunity-table .item-cell {
    min-width: 190px;
  }
  .product-intro {
    align-items: start;
  }
  .journal-summary strong {
    font-size: 23px;
  }
  .journal-summary {
    gap: 18px;
  }
  .page-compare .compare-chart {
    height: 300px;
  }
}
@media (max-width: 680px) {
  .workspace {
    padding: 25px 20px 0;
  }
  .topbar {
    padding: 0 20px;
    gap: 15px;
  }
  .global-search {
    width: 220px;
  }
  .header-actions .icon-button:first-child {
    display: none;
  }
  .global-search kbd {
    display: none;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .market-status {
    padding-top: 25px;
    font-size: 16px;
  }
  .market-status .status-divider,
  .market-status #updated-label {
    display: none;
  }
  .market-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .asset-name h2 {
    font-size: 20px;
  }
  .asset-performance {
    font-size: 16px;
  }
  .chart-container {
    height: 250px;
  }
  .chart-date {
    display: none;
  }
  .side-column {
    gap: 18px;
  }
  .asset-stats strong {
    font-size: 16px;
  }
  .asset-stats span {
    font-size: 16px;
  }
  .market-table .trend-col {
    display: none;
  }
  .market-table .item-cell {
    min-width: 160px;
  }
  .market-table td.number {
    font-size: 16px;
  }
  .table-item .item-description {
    font-size: 16px;
  }
  .table-view-controls {
    font-size: 16px;
  }
  .table-footer {
    font-size: 16px;
  }
  .market-browser .section-heading p {
    max-width: 34ch;
  }
  .flipper-controls {
    grid-template-columns: 1fr 1fr;
    padding: 18px;
    gap: 17px;
  }
  .flipper-controls label {
    font-size: 16px;
  }
  .flipper-controls .primary-button {
    margin-top: 18px;
    align-self: start;
  }
  .flipper-controls label:last-of-type input {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .flipper-sidebar {
    grid-template-columns: 1fr 1fr;
  }
  .flipper-sidebar .method-panel:last-child {
    grid-column: 1/-1;
    border-top: 1px solid var(--line);
    padding-top: 20px;
  }
  .flipper-sidebar .method-panel:last-child p {
    max-width: 65ch;
  }
  .product-intro {
    flex-wrap: wrap;
    gap: 14px;
    margin-top: -9px;
    margin-bottom: 23px;
  }
  .product-intro > p {
    font-size: 16px;
  }
  .opportunity-meta {
    font-size: 16px;
    gap: 13px 18px;
    line-height: 1.7;
  }
  .opportunity-meta > span:last-child {
    width: 100%;
  }
  .opportunity-toolbar {
    flex-wrap: wrap;
    gap: 10px;
  }
  .opportunity-toolbar .table-search {
    min-width: 45%;
  }
  .opportunity-toolbar .table-search input {
    width: 160px;
  }
  .opportunity-toolbar .text-button {
    margin-left: auto;
  }
  .opportunity-table {
    min-width: 830px;
  }
  .account-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .account-layout > aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .account-layout > aside .method-panel {
    padding-top: 0;
    border-top: 0;
  }
  .account-layout > aside .method-panel:last-child {
    grid-column: 1/-1;
    border-top: 1px solid var(--line);
    padding-top: 20px;
  }
  .account-identity {
    gap: 14px;
  }
  .account-identity h2 {
    font-size: 18px;
  }
  .account-identity p {
    font-size: 16px;
  }
  .journal-summary {
    grid-template-columns: 1fr 1fr;
    gap: 25px 20px;
    padding: 24px 0;
  }
  .journal-summary strong {
    font-size: 24px;
  }
  .journal-summary span {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .journal-tabs {
    gap: 25px;
  }
  .journal-tools .primary-button {
    font-size: 16px;
    padding: 11px 14px;
  }
  .journal-tools {
    justify-content: space-between;
    width: 100%;
  }
  .last-trades strong {
    font-size: 17px;
  }
  .last-trades time {
    font-size: 16px;
    line-height: 1.8;
  }
  .recent-heading {
    align-items: start;
    gap: 10px;
  }
  .recent-heading h3 {
    font-size: 14px;
  }
  .recent-heading > span {
    font-size: 16px;
    text-align: right;
    max-width: 125px;
  }
  .page-compare .comparison-chip {
    font-size: 16px;
    padding: 9px;
    gap: 5px;
  }
  .page-compare .compare-chart {
    height: 270px;
  }
  .page-compare .comparison-stat strong {
    font-size: 15px;
  }
  .page-compare .comparison-stat .item-label,
  .page-compare .comparison-stat p {
    font-size: 16px;
  }
  .page-item .section-heading p {
    font-size: 16px;
  }
  .settings-section .form-grid {
    gap: 20px 15px;
  }
  .footer {
    padding-bottom: 24px;
  }
  .account-identity .text-button {
    font-size: 16px;
  }
  .analysis-chart {
    height: 235px;
  }
  .plan-summary strong {
    font-size: 16px;
  }
  .wide-dialog .dialog-body {
    padding-left: 19px;
    padding-right: 19px;
  }
  .method-panel h2 {
    font-size: 14px;
  }
  .asset-bottom a,
  .asset-bottom button {
    font-size: 16px;
  }
  .category-tabs button {
    font-size: 16px;
  }
  .table-search input {
    font-size: 16px;
  }
  .market-presets button {
    font-size: 16px;
  }
  .form-grid {
    gap: 15px;
  }
}
@media (max-width: 460px) {
  .topbar {
    height: 64px;
    padding: 0 18px;
    gap: 12px;
  }
  .brand > svg {
    width: 22px;
  }
  .brand > span:nth-child(2) {
    font-size: 27px;
  }
  .global-search {
    width: auto;
    max-width: none;
    height: 34px;
    flex: 1;
    padding: 0 8px;
    background: none;
    border: 0;
  }
  .global-search > span:nth-child(2) {
    display: none;
  }
  .global-search > span:first-child {
    margin-left: auto;
  }
  .header-actions {
    gap: 4px;
  }
  .header-actions .avatar {
    display: grid;
    margin-left: 5px;
    width: 29px;
    height: 29px;
    font-size: 16px;
  }
  .global-search svg {
    width: 18px;
    height: 18px;
  }
  .ticker {
    height: 36px;
    padding: 0 18px;
    gap: 15px;
  }
  .ticker-label {
    font-size: 16px;
    padding-right: 13px;
  }
  .ticker-item {
    font-size: 16px;
    gap: 7px;
  }
  .ticker-item strong {
    font-size: 16px;
  }
  .workspace {
    padding: 24px 18px 0;
  }
  .page-heading {
    gap: 12px;
    margin-bottom: 28px;
  }
  .page-heading h1 {
    font-size: 25px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
  .page-item .page-heading h1 {
    font-size: 25px;
    max-width: 260px;
  }
  .page-kicker {
    font-size: 16px;
    margin-bottom: 8px;
  }
  .market-status {
    font-size: 16px;
    white-space: nowrap;
    padding-top: 22px;
  }
  .market-status svg {
    width: 12px;
    height: 12px;
  }
  .asset-price {
    font-size: 39px;
    letter-spacing: -1.5px;
  }
  .asset-name h2 {
    font-size: 18px;
  }
  .asset-name p {
    font-size: 16px;
  }
  .asset-actions .icon-button {
    width: 31px;
    height: 31px;
  }
  .asset-performance {
    font-size: 16px;
    gap: 6px;
  }
  .asset-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 0;
  }
  .asset-stats > div:nth-child(4) {
    border: 0;
    padding-left: 0;
  }
  .asset-stats strong {
    font-size: 16px;
  }
  .asset-stats span {
    font-size: 16px;
  }
  .chart-container {
    height: 240px;
  }
  .chart-toolbar {
    margin-bottom: 20px;
  }
  .period-tabs {
    gap: 10px;
  }
  .period-tabs button {
    font-size: 16px;
    padding: 7px 8px;
  }
  .chart-mode button {
    font-size: 16px;
  }
  .asset-bottom {
    gap: 12px;
  }
  .asset-bottom a,
  .asset-bottom button {
    font-size: 16px;
  }
  .asset-bottom button:last-child {
    margin-left: auto;
  }
  .market-browser .section-heading h2 {
    font-size: 20px;
  }
  .market-browser .section-heading p {
    font-size: 16px;
    line-height: 1.7;
    max-width: 30ch;
  }
  .market-browser .section-heading {
    gap: 12px;
    align-items: start;
  }
  .category-tabs {
    gap: 19px;
  }
  .category-tabs button {
    font-size: 16px;
  }
  .market-presets {
    gap: 21px;
    padding-top: 14px;
  }
  .market-presets button {
    font-size: 16px;
  }
  .market-controls {
    gap: 10px;
  }
  .filter-button {
    font-size: 16px;
    gap: 5px;
  }
  .table-view-controls {
    font-size: 16px;
    gap: 9px;
  }
  .main-column .table-search input {
    width: 155px;
    max-width: 155px;
    font-size: 16px;
  }
  .market-table .sell-col {
    display: none;
  }
  .market-table .volume-col {
    display: none;
  }
  .market-table .item-cell {
    min-width: 145px;
  }
  .market-table th {
    font-size: 16px;
    padding-left: 6px;
    padding-right: 6px;
  }
  .market-table td.number {
    font-size: 16px;
    padding-left: 6px;
    padding-right: 6px;
  }
  .table-item .item-title {
    font-size: 16px;
  }
  .table-item .item-description {
    font-size: 16px;
  }
  .table-item > span:last-child {
    max-width: 160px;
  }
  .market-table td {
    height: 76px;
  }
  .cell-subline {
    font-size: 16px;
  }
  .market-table .compare-col {
    width: 24px;
  }
  .side-column {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .asset-bottom {
    margin-top: 2px;
  }
  .table-item img {
    max-width: 25px;
    max-height: 29px;
  }
  .section-heading #watchlist-add-page {
    font-size: 16px;
    padding: 9px 10px;
    white-space: nowrap;
  }
  .section-heading #export-button {
    font-size: 16px;
    margin-left: auto;
  }
  .page-watchlist .section-heading {
    flex-wrap: wrap;
  }
  .page-watchlist .section-heading > div {
    width: 100%;
  }
  .page-watchlist .section-heading > button {
    margin-top: 5px;
  }
  .watchlist-item {
    grid-template-columns: 29px 1fr 65px 85px;
  }
  .watchlist-item .item-title {
    font-size: 16px;
  }
  .watchlist-values strong {
    font-size: 16px;
  }
  .watchlist-values > span {
    font-size: 16px;
  }
  .flip-inputs label {
    font-size: 16px;
  }
  .flip-inputs input {
    font-size: 16px;
  }
  .flip-result strong {
    font-size: 17px;
  }
  .calculator-note {
    font-size: 16px;
  }
  .opportunity-toolbar .table-search {
    width: 100%;
    flex-basis: 100%;
  }
  .opportunity-toolbar .table-search input {
    width: 100%;
  }
  .opportunity-toolbar .inline-select {
    font-size: 16px;
  }
  .opportunity-toolbar .text-button {
    font-size: 16px;
  }
  .flipper-controls {
    gap: 16px;
    padding: 17px;
  }
  .flipper-controls input,
  .flipper-controls select {
    font-size: 16px;
  }
  .flipper-sidebar {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .flipper-sidebar .method-panel {
    padding: 20px 0 !important;
    border-top: 1px solid var(--line) !important;
  }
  .flipper-sidebar .method-panel:first-child {
    border: 0 !important;
    padding-top: 0 !important;
  }
  .flipper-sidebar .method-panel:last-child {
    grid-column: auto;
  }
  .method-panel p {
    font-size: 16px;
  }
  .weight-line {
    font-size: 16px;
  }
  .method-panel .text-button {
    font-size: 16px;
  }
  .learning-panel .muted {
    font-size: 16px;
  }
  .learning-count {
    font-size: 38px;
  }
  .product-intro > p {
    font-size: 16px;
    line-height: 1.8;
  }
  .data-explanation {
    font-size: 16px;
  }
  .account-layout > aside {
    grid-template-columns: 1fr;
  }
  .account-layout > aside .method-panel:last-child {
    grid-column: auto;
  }
  .account-identity .text-button {
    font-size: 16px;
  }
  .account-identity h2 {
    font-size: 17px;
  }
  .account-identity {
    gap: 12px;
  }
  .account-identity p {
    font-size: 16px;
    overflow-wrap: anywhere;
  }
  .profile-monogram {
    width: 46px;
    height: 46px;
    font-size: 21px;
  }
  .settings-section label {
    font-size: 16px;
  }
  .settings-section input,
  .settings-section select {
    padding: 11px;
    font-size: 16px;
  }
  .settings-save {
    align-items: start;
    gap: 15px;
  }
  .settings-save .primary-button {
    font-size: 16px;
    padding: 12px 16px;
  }
  .settings-save span {
    font-size: 16px;
  }
  .plan-summary {
    gap: 20px 14px;
  }
  .plan-summary strong {
    font-size: 14px;
  }
  .plan-summary span {
    font-size: 16px;
  }
  .history-evidence {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .analysis-chart {
    height: 220px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .journal-summary strong {
    font-size: 23px;
  }
  .journal-tabs {
    gap: 22px;
  }
  .journal-tabs button {
    font-size: 16px;
  }
  .last-trades {
    gap: 17px;
    padding: 20px 0;
  }
  .last-trades strong {
    font-size: 14px;
  }
  .last-trades span {
    font-size: 16px;
  }
  .detail-data-strip {
    font-size: 16px;
    gap: 16px;
  }
  .detail-data-strip strong {
    font-size: 16px;
  }
  .recent-heading {
    margin-top: 16px;
  }
  .recent-heading > span {
    font-size: 16px;
  }
  .comparison-header h2 {
    font-size: 21px;
  }
  .comparison-header p {
    font-size: 16px;
  }
  .comparison-chips {
    gap: 8px;
  }
  .page-compare .comparison-chip {
    font-size: 16px;
    padding: 8px;
  }
  .page-compare .comparison-stat strong {
    font-size: 16px;
  }
  .page-compare .comparison-stat .item-label,
  .page-compare .comparison-stat p {
    font-size: 16px;
  }
  .page-compare .comparison-stats {
    gap: 12px;
  }
  .comparison-header .secondary-button {
    padding: 9px 10px;
    font-size: 16px;
  }
  .comparison-footer {
    font-size: 16px;
  }
  .footer > div:last-child {
    font-size: 16px;
  }
  .footer button {
    font-size: 16px;
  }
  .signin-panel h2 {
    font-size: 23px;
  }
  .signin-panel p {
    font-size: 16px;
  }
  .search-dialog {
    max-height: 78dvh;
    margin-top: 8dvh;
  }
  .search-dialog-input input {
    font-size: 15px;
  }
  .command-result {
    padding: 14px 11px;
  }
  .command-result strong {
    font-size: 16px;
  }
  .command-result .command-desc {
    font-size: 16px;
  }
  .command-result .command-price {
    font-size: 16px;
  }
  .search-footer {
    font-size: 16px;
  }
  .general-dialog {
    max-height: 85dvh;
  }
  .dialog-body input,
  .dialog-body select {
    font-size: 14px;
  }
  .dialog-body label {
    font-size: 16px;
  }
  .dialog-body > p {
    font-size: 16px;
  }
  .search-dialog-input {
    padding: 20px 18px;
  }
  .market-table .table-item .item-title {
    overflow-wrap: normal;
  }
  .chart-toolbar .chart-options {
    gap: 10px;
  }
  .primary-button {
    font-size: 16px;
  }
}
html[data-reduced-motion="true"] *,
html[data-reduced-motion="true"] *:before,
html[data-reduced-motion="true"] *:after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
  ::view-transition-old(root) {
    animation: page-fade-out 0.1s ease-out;
  }
  ::view-transition-new(root) {
    animation: page-fade-in 0.16s ease-out;
  }
  @keyframes page-fade-out {
    to {
      opacity: 0;
    }
  }
  @keyframes page-fade-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}
