:root {
  color-scheme: light;
  --ink: #17201e;
  --ink-soft: #5f6965;
  --ink-faint: #8e9893;
  --canvas: #f3f5f4;
  --surface: #ffffff;
  --surface-muted: #e9eeeb;
  --line: #d9dfdc;
  --line-strong: #bdc7c1;
  --accent: #e45b39;
  --accent-soft: #fde9e3;
  --positive: #c8402a;
  --positive-soft: #f9e6e1;
  --negative: #18805e;
  --negative-soft: #e1f2eb;
  --navy: #142329;
  --shadow: 0 18px 60px rgba(15, 24, 21, 0.2);
  --radius: 8px;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  background: #161c1b;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    #161c1b;
  background-size: 32px 32px;
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

button {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

svg {
  display: block;
}

.desktop-stage {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 22px;
}

.phone-shell {
  position: relative;
  width: min(100%, 430px);
  height: min(900px, calc(100vh - 44px));
  min-height: 650px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: var(--canvas);
  box-shadow: var(--shadow);
}

.device-bar {
  position: relative;
  z-index: 20;
  display: flex;
  height: 30px;
  align-items: center;
  justify-content: space-between;
  padding: 3px 19px 0;
  background: var(--canvas);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.device-island {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 74px;
  height: 19px;
  border-radius: 12px;
  background: #111615;
  transform: translateX(-50%);
}

.device-status {
  display: flex;
  align-items: center;
  gap: 5px;
}

.device-status svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.app {
  position: relative;
  display: flex;
  height: calc(100% - 30px);
  flex-direction: column;
  overflow: hidden;
  background: var(--canvas);
}

.app-header {
  position: relative;
  z-index: 5;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 245, 244, 0.95);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
}

.brand-mark svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.brand-lockup h1,
.page-heading h2,
.market-overview h2,
.list-heading h3,
.preview-heading h3,
.sheet-header h2,
.explain-list h3,
.info-panel h3 {
  margin: 0;
  letter-spacing: 0;
}

.brand-lockup h1 {
  font-size: 17px;
  font-weight: 750;
  line-height: 1.2;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.brand-lockup .eyebrow {
  margin-bottom: 2px;
}

.icon-button {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.header-notification-button {
  position: relative;
}

.icon-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border: 2px solid var(--canvas);
  border-radius: 8px;
  background: #b64735;
  color: #fff;
  font-size: 8px;
  font-weight: 750;
  line-height: 12px;
  text-align: center;
}

.icon-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.icon-button:active {
  background: var(--surface-muted);
}

.app-content {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.app-content::-webkit-scrollbar {
  width: 4px;
}

.app-content::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: var(--line-strong);
}

.view {
  min-height: 100%;
  padding: 0 18px 108px;
}

.view[hidden] {
  display: none;
}

.market-overview {
  margin: 0 -18px;
  padding: 15px 18px 19px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.overview-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 10px;
}

.overview-meta time {
  margin-left: auto;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 9px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--negative);
  box-shadow: 0 0 0 3px var(--negative-soft);
}

.overview-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 14px;
}

.market-overview h2 {
  margin-top: 4px;
  font-size: 25px;
  font-weight: 780;
  line-height: 1.12;
}

.market-status {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 3px;
}

.status-label {
  color: var(--ink-faint);
  font-size: 9px;
}

.market-status strong {
  color: var(--negative);
  font-size: 11px;
  font-weight: 650;
}

.market-summary {
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.55;
}

.search-box {
  display: flex;
  height: 42px;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  transition: border-color 160ms ease, background 160ms ease;
}

.search-box:focus-within {
  border-color: var(--ink-soft);
  background: #fff;
}

.search-box > svg {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: var(--ink-faint);
  stroke-linecap: round;
  stroke-width: 1.7;
}

.search-box input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
}

.search-box input::placeholder,
.text-field input::placeholder,
textarea::placeholder {
  color: #9aa49f;
}

.search-shortcut {
  flex: none;
  padding-left: 9px;
  border-left: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 9px;
}

.category-tabs {
  display: flex;
  gap: 4px;
  margin: 12px -18px 0;
  padding: 0 18px 10px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  min-width: 58px;
  height: 31px;
  flex: 0 0 auto;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
}

.category-tab:hover {
  background: var(--surface-muted);
}

.category-tab.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.list-heading,
.preview-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px 0 10px;
}

.list-heading h3,
.preview-heading h3 {
  margin-top: 3px;
  font-size: 15px;
  font-weight: 720;
}

.result-count {
  padding-bottom: 1px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 9px;
}

.market-list {
  border-top: 1px solid var(--line-strong);
}

.market-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
}

.market-item:hover {
  background: rgba(255, 255, 255, 0.48);
}

.market-item-main {
  min-width: 0;
}

.market-item h4 {
  overflow: hidden;
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-item-variant {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-item-price {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 3px;
}

.market-item-price strong {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.market-item-price strong::before {
  content: "¥";
  margin-right: 2px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  vertical-align: 2px;
}

.price-change {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 650;
}

.price-change.is-up {
  color: var(--positive);
}

.price-change.is-down {
  color: var(--negative);
}

.price-change.is-flat {
  color: var(--ink-faint);
}

.market-item-meta {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 10px;
  color: var(--ink-faint);
  font-size: 9px;
}

.market-item-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.market-item-meta b {
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-weight: 600;
}

.favorite-indicator {
  color: var(--accent) !important;
}

.favorite-indicator svg {
  width: 10px;
  height: 10px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.4;
}

.empty-state {
  display: flex;
  min-height: 180px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--ink-faint);
  text-align: center;
}

.empty-state svg {
  width: 27px;
  height: 27px;
  margin-bottom: 10px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.empty-state strong {
  color: var(--ink-soft);
  font-size: 12px;
}

.empty-state span {
  margin-top: 5px;
  font-size: 10px;
}

.empty-state.compact {
  min-height: 130px;
}

.empty-state p {
  margin: 0;
}

.empty-state-title {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 650;
}

.empty-state-hint {
  max-width: 260px;
  margin-top: 5px !important;
  font-size: 10px;
  line-height: 1.55;
}

.page-heading {
  padding: 24px 0 18px;
}

.page-heading h2 {
  margin-top: 6px;
  font-size: 25px;
  font-weight: 780;
  line-height: 1.15;
}

.page-heading > p:last-child {
  max-width: 330px;
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.6;
}

.watch-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 16px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.watch-summary > div {
  display: flex;
  min-height: 64px;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 10px 14px;
}

.watch-summary > div + div {
  border-left: 1px solid var(--line);
}

.watch-summary span {
  color: var(--ink-faint);
  font-size: 9px;
}

.watch-summary strong {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 650;
}

.favorites-list {
  border-top: 0;
}

.quote-form {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.field-label,
.field-heading {
  color: var(--ink);
  font-size: 11px;
  font-weight: 650;
}

.field-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
}

.field-heading span {
  color: var(--ink-faint);
  font-size: 9px;
  font-weight: 400;
}

.text-field {
  display: flex;
  height: 40px;
  align-items: center;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--canvas);
}

.text-field:focus-within,
textarea:focus {
  border-color: var(--ink-soft);
  background: #fff;
}

.text-field.with-icon {
  gap: 8px;
  padding: 0 11px;
}

.text-field svg {
  width: 15px;
  height: 15px;
  flex: none;
  fill: none;
  stroke: var(--ink-faint);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.text-field input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
}

textarea {
  display: block;
  width: 100%;
  min-height: 170px;
  margin-top: 7px;
  padding: 11px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.7;
  transition: border-color 160ms ease, background 160ms ease;
}

.format-guide {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
  color: var(--ink-faint);
  font-size: 9px;
  line-height: 1.5;
}

.format-guide span {
  flex: none;
}

.format-guide code {
  overflow-wrap: anywhere;
  font-family: var(--font-mono);
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 15px;
}

.button {
  display: inline-flex;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 650;
}

.button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}

.button-primary {
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
}

.button:active {
  transform: translateY(1px);
}

.preview-heading {
  padding-bottom: 9px;
}

.quote-preview {
  border-top: 1px solid var(--line-strong);
}

.preview-summary {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 9px;
}

.quote-preview-list,
.quote-error-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.quote-preview-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.quote-preview-item strong {
  overflow: hidden;
  font-size: 11px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quote-preview-item > span {
  grid-column: 1;
  color: var(--ink-soft);
  font-size: 9px;
}

.quote-preview-item b {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  font-family: var(--font-mono);
  font-size: 14px;
}

.quote-error-list {
  margin-top: 9px;
  border-left: 2px solid var(--positive);
  background: var(--positive-soft);
}

.quote-error-list li,
.preview-empty {
  margin: 0;
  padding: 8px 10px;
  color: #8f3524;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.info-panel {
  padding: 15px;
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.info-panel-heading {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.info-panel-heading > svg {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: none;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-width: 1.7;
}

.info-panel h3 {
  font-size: 13px;
  font-weight: 700;
}

.info-panel-heading span {
  display: block;
  margin-top: 3px;
  color: var(--ink-faint);
  font-size: 9px;
}

.info-panel p {
  margin: 12px 0 0 27px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.7;
}

.facts-list {
  margin: 0;
}

.facts-list > div {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.facts-list dt {
  color: var(--ink-soft);
  font-size: 10px;
}

.facts-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
  text-align: right;
}

.explain-list {
  margin-top: 21px;
}

.explain-list > div {
  display: grid;
  grid-template-columns: 29px 1fr;
  gap: 9px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.explain-list > div:last-child {
  border-bottom: 1px solid var(--line);
}

.explain-index {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 650;
}

.explain-list h3 {
  font-size: 11px;
  font-weight: 680;
}

.explain-list p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.6;
}

.notes-note {
  margin: 19px 0 0;
  color: var(--ink-faint);
  font-size: 9px;
  line-height: 1.6;
  text-align: center;
}

.bottom-nav {
  position: absolute;
  z-index: 12;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 7px 12px calc(7px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -8px 24px rgba(23, 32, 30, 0.045);
  backdrop-filter: blur(18px);
}

.nav-item {
  position: relative;
  display: flex;
  min-width: 0;
  height: 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-faint);
  font-size: 8.5px;
}

.nav-item svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.nav-item::before {
  position: absolute;
  top: -8px;
  width: 25px;
  height: 2px;
  border-radius: 2px;
  background: transparent;
  content: "";
}

.nav-item.is-active {
  color: var(--ink);
  font-weight: 650;
}

.nav-item.is-active::before {
  background: var(--accent);
}

.detail-sheet {
  position: absolute;
  z-index: 40;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
}

.detail-sheet::before {
  position: absolute;
  inset: 0;
  background: rgba(15, 24, 21, 0.46);
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
}

.detail-sheet.is-open {
  visibility: visible;
  pointer-events: auto;
}

.detail-sheet.is-open::before {
  opacity: 1;
}

.sheet-panel {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  max-height: 82%;
  flex-direction: column;
  border-radius: 18px 18px 0 0;
  background: var(--surface);
  box-shadow: 0 -20px 50px rgba(15, 24, 21, 0.2);
  transform: translateY(102%);
  transition: transform 240ms cubic-bezier(0.22, 0.82, 0.3, 1);
}

.detail-sheet.is-open .sheet-panel {
  transform: translateY(0);
}

.sheet-handle {
  width: 38px;
  height: 4px;
  flex: none;
  margin: 8px auto 2px;
  border-radius: 4px;
  background: var(--line-strong);
}

.sheet-header {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px 13px;
  border-bottom: 1px solid var(--line);
}

.sheet-header h2 {
  margin-top: 3px;
  font-size: 18px;
  font-weight: 740;
}

.sheet-close {
  width: 32px;
  height: 32px;
  background: var(--canvas);
}

.detail-content {
  min-height: 120px;
  overflow-y: auto;
  padding: 17px 18px calc(22px + env(safe-area-inset-bottom));
}

.detail-product {
  margin-bottom: 17px;
}

.detail-product-label {
  display: block;
  margin-bottom: 5px;
  color: var(--ink-faint);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.detail-product h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 780;
  line-height: 1.25;
}

.detail-product p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
}

.detail-product .detail-product-official {
  color: var(--ink-faint);
  font-size: 8.5px;
}

.detail-product .detail-product-variant {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 10.5px;
}

.detail-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.detail-price-row span {
  color: var(--ink-faint);
  font-size: 9px;
}

.detail-price-row strong {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0;
}

.detail-price-row strong::before {
  content: "¥";
  margin-right: 3px;
  font-family: var(--font-sans);
  font-size: 11px;
  vertical-align: 5px;
}

.detail-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.detail-stats > div {
  padding: 11px 0;
}

.detail-stats > div + div {
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.detail-stats span {
  display: block;
  color: var(--ink-faint);
  font-size: 9px;
}

.detail-stats strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.detail-section-title {
  margin: 16px 0 8px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.history-chart {
  display: flex;
  height: 100px;
  align-items: flex-end;
  gap: 6px;
  padding: 9px 0 20px;
  border-bottom: 1px solid var(--line);
}

.history-bar {
  position: relative;
  flex: 1;
  min-width: 0;
  border-radius: 2px 2px 0 0;
  background: var(--surface-muted);
}

.history-bar.is-latest {
  background: var(--navy);
}

.history-bar span {
  position: absolute;
  bottom: -16px;
  left: 50%;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 7px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.offer-list {
  border-top: 1px solid var(--line-strong);
}

.offer-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.offer-item strong {
  font-size: 10px;
  font-weight: 650;
}

.offer-item span {
  color: var(--ink-faint);
  font-size: 8px;
}

.offer-item b {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  font-family: var(--font-mono);
  font-size: 12px;
}

.detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}

/* Product cards are rendered by app.js. Keep them as dense rows, not nested cards. */
.market-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.market-card-header {
  display: flex;
  grid-column: 1 / -1;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.market-card-info {
  min-width: 0;
}

.product-name {
  overflow: hidden;
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-variant {
  overflow: hidden;
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.favorite-button {
  display: grid;
  width: 28px;
  height: 28px;
  flex: none;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink-faint);
  font-size: 17px;
  line-height: 1;
}

.favorite-button:hover,
.favorite-button.is-favorite {
  border-color: #ecc2b8;
  background: var(--accent-soft);
  color: var(--accent);
}

.price-row {
  display: flex;
  min-width: 0;
  align-items: flex-end;
  gap: 9px;
}

.price-main {
  display: flex;
  align-items: flex-start;
  color: var(--ink);
}

.price-currency {
  margin: 2px 2px 0 0;
  font-size: 9px;
  font-weight: 650;
}

.price-main strong {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 720;
  letter-spacing: 0;
  line-height: 1;
}

.price-trend {
  margin-bottom: 1px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 650;
  white-space: nowrap;
}

.trend-up {
  color: var(--positive);
}

.trend-down {
  color: var(--negative);
}

.trend-flat {
  color: var(--ink-faint);
}

.market-card-meta {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 5px 12px;
  color: var(--ink-faint);
  font-size: 9px;
}

.detail-button {
  justify-self: end;
  grid-column: 2;
  grid-row: 2;
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid var(--ink-soft);
  background: transparent;
  color: var(--ink-soft);
  font-size: 9px;
  white-space: nowrap;
}

.detail-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.detail-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 17px;
}

.detail-kicker {
  margin: 0 0 4px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.detail-heading h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 740;
  line-height: 1.3;
}

.detail-variant {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.4;
}

.detail-favorite {
  width: 32px;
  height: 32px;
}

.detail-stat {
  min-width: 0;
  padding: 11px 0;
}

.detail-stat + .detail-stat {
  padding-left: 10px;
  border-left: 1px solid var(--line);
}

.detail-stat span {
  display: block;
  color: var(--ink-faint);
  font-size: 8px;
}

.detail-stat strong {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-section {
  margin-top: 17px;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}

.section-title h3 {
  margin: 0;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.section-title > span {
  color: var(--ink-faint);
  font-size: 8px;
}

.trend-chart-wrap {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.trend-chart {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.chart-grid-line {
  stroke: var(--line);
  stroke-dasharray: 2 4;
  stroke-width: 1;
}

.chart-line {
  fill: none;
  stroke: var(--navy);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.chart-point {
  fill: var(--surface);
  stroke: var(--accent);
  stroke-width: 2;
}

.chart-label {
  fill: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
}

.chart-range {
  display: flex;
  justify-content: space-between;
  padding: 7px 1px 8px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
}

.offer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.offer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.offer-source {
  min-width: 0;
}

.offer-source strong {
  display: block;
  overflow: hidden;
  font-size: 10px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.offer-source span {
  display: block;
  margin-top: 3px;
  color: var(--ink-faint);
  font-size: 8px;
}

.offer-price {
  flex: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 650;
  text-align: right;
}

.offer-note {
  display: block;
  margin-top: 2px;
  color: var(--ink-faint);
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 400;
}

.detail-empty {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 9px;
}

.detail-open .app-content {
  overflow: hidden;
}

.toast {
  position: absolute;
  z-index: 60;
  right: 50%;
  bottom: 84px;
  max-width: calc(100% - 36px);
  padding: 9px 13px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  font-size: 10px;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(50%, 0);
}

.board-heading {
  padding-bottom: 14px;
}

.board-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.segmented-control.board-side-control {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
}

.board-side-control .segment-button {
  min-width: 0;
  padding: 0 9px;
}

.segmented-control {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-muted);
}

.segment-button {
  min-width: 64px;
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 650;
}

.segment-button.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(23, 32, 30, 0.08);
}

.board-count {
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 9px;
}

.board-search {
  margin-top: 12px;
}

.board-filter-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 8px;
  margin: 10px 0 13px;
}

.board-region-filter {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.board-region-filter > span {
  color: var(--ink-faint);
  font-size: 8px;
  font-weight: 650;
}

.board-region-filter select {
  width: 100%;
  height: 32px;
  border: 1px solid #d5ddd8;
  border-radius: 6px;
  padding: 0 8px;
  background: #fff;
  color: var(--ink-soft);
  font: inherit;
  font-size: 9px;
}

.board-sort-control {
  display: grid;
  align-self: end;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border: 1px solid #d5ddd8;
  border-radius: 7px;
  background: #eef2ef;
}

.board-sort-wrap {
  display: grid;
  align-self: end;
  gap: 5px;
}

.board-expired-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  color: var(--ink-faint);
  font-size: 8px;
}

.board-expired-toggle input {
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: var(--ink-soft);
}

.board-sort-button {
  height: 26px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--ink-faint);
  font: inherit;
  font-size: 8.5px;
  font-weight: 650;
}

.board-sort-button.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(23, 32, 30, 0.08);
}

.board-list-heading {
  margin-top: 4px;
}

.board-list {
  border-top: 1px solid var(--line-strong);
}

.board-item {
  display: grid;
  gap: 9px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.board-pair {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(17, 31, 25, 0.035);
}

.board-pair.is-matchable {
  border-color: #b9d8c8;
  box-shadow: 0 7px 20px rgba(31, 118, 86, 0.08);
}

.board-pair-head {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.board-pair-head > div:first-child {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.board-pair-kicker {
  color: var(--ink-faint);
  font-size: 8px;
  font-weight: 650;
}

.board-pair-head strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-pair-summary {
  display: grid;
  flex: none;
  justify-items: end;
  gap: 2px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
}

.board-pair-summary b {
  color: var(--accent-deep);
  font-weight: 700;
}

.board-pair-summary .matchable {
  color: var(--negative);
}

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

.trade-quote {
  position: relative;
  display: grid;
  min-width: 0;
  gap: 5px;
  padding: 9px 9px 8px;
  border: 1px solid #d8e0db;
  border-left: 3px solid #2d745b;
  border-radius: 7px;
  background: #f6faf7;
}

.trade-quote.is-supply {
  border-color: #eeddc7;
  border-left-color: #b7792f;
  background: #fcf8f1;
}

.trade-quote-top {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
}

.trade-validity {
  display: inline-flex;
  height: 17px;
  align-items: center;
  padding: 0 5px;
  border-radius: 4px;
  background: var(--surface-muted);
  color: var(--ink-faint);
  font-size: 7px;
  font-weight: 650;
  white-space: nowrap;
}

.trade-validity.is-expiring {
  background: #fff1d8;
  color: #986124;
}

.trade-validity.is-expired {
  background: #f6e9e6;
  color: #a34938;
}

.trade-validity.is-unknown {
  background: #eef1f0;
  color: var(--ink-faint);
}

.trade-quote.is-expired {
  opacity: 0.63;
}

.trade-side {
  display: inline-grid;
  width: 18px;
  height: 18px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #ca4b35;
  color: #fff;
  font-size: 8px;
  font-weight: 750;
}

.trade-quote.is-supply .trade-side {
  background: #b7792f;
}

.trade-time {
  min-width: 0;
  overflow: hidden;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trade-contact {
  display: inline-grid;
  width: 24px;
  height: 24px;
  flex: none;
  margin-left: auto;
  place-items: center;
  border: 1px solid #bbd2c6;
  border-radius: 50%;
  background: #fff;
  color: #267054;
}

.trade-quote.is-supply .trade-contact {
  border-color: #e6cfad;
  color: #9a5a18;
}

.trade-contact svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.trade-price {
  color: #b83f2e;
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1.05;
}

.trade-quote.is-supply .trade-price {
  color: #9a5a18;
}

.trade-variant {
  display: -webkit-box;
  overflow: hidden;
  min-height: 22px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 8px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.trade-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 7px;
  color: var(--ink-faint);
  font-size: 7.5px;
}

.trade-member {
  overflow: hidden;
  margin: 0;
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trade-quote.is-empty {
  align-content: center;
  justify-items: center;
  min-height: 112px;
  border-style: dashed;
  border-left-width: 1px;
  background: #f7f9f7;
  color: var(--ink-faint);
}

.trade-quote.is-empty strong {
  font-size: 10px;
}

.trade-quote.is-empty span {
  font-size: 8px;
}

.board-item.is-expired {
  opacity: 0.58;
}

.board-expiry {
  display: inline-flex;
  padding: 2px 5px;
  border-radius: 4px;
  background: #f3f6f4;
}

.board-expiry.is-expiring {
  background: #fff1d8;
  color: #8c5b21;
}

.board-expiry.is-expired {
  background: #f8e9e6;
  color: #a34938;
}

.board-item-head {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.board-side {
  flex: none;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.board-side.is-demand {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.board-side.is-supply {
  background: #f8ead9;
  color: #9a5a18;
}

.board-model {
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-verified {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  color: var(--accent-deep);
  font-size: 8px;
}

.board-verified svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.board-variant {
  margin: -3px 0 0;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.5;
}

.board-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.board-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.board-price {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
}

.board-price small {
  margin-left: 3px;
  color: var(--ink-faint);
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 500;
}

.board-quantity {
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 9px;
}

.board-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  color: var(--ink-faint);
  font-size: 8px;
  line-height: 1.5;
}

.board-note {
  margin: 0;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.55;
}

.detail-trade {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.detail-trade-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.detail-trade-heading > div {
  display: grid;
  gap: 2px;
}

.detail-trade-heading h3 {
  margin: 0;
  font-size: 13px;
}

.detail-trade-heading span,
.detail-trade-heading > strong {
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
}

.detail-trade-empty {
  grid-column: 1 / -1;
  padding: 6px 0;
  border-bottom: 0;
}

.board-member {
  color: var(--ink-soft);
  font-weight: 600;
}

.member-strip,
.member-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.member-strip {
  padding: 11px 12px;
  color: var(--ink-faint);
  font-size: 8px;
}

.member-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent-deep);
  font-size: 9px;
  font-weight: 700;
}

.member-badge svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.group-import-panel {
  display: grid;
  gap: 11px;
  margin-top: 14px;
  padding: 15px;
  border: 1px solid #cdd9d2;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(31, 118, 86, 0.055), transparent 58%),
    #fff;
}

.group-import-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.group-import-head h3 {
  margin: 3px 0 0;
  font-size: 14px;
}

.group-import-head > span {
  max-width: 145px;
  color: var(--ink-faint);
  font-size: 8px;
  line-height: 1.55;
  text-align: right;
}

.group-import-text {
  min-height: 112px;
  padding: 10px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.65;
}

.group-import-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
}

.group-import-controls label {
  display: grid;
  min-width: 0;
  gap: 4px;
  color: var(--ink-faint);
  font-size: 8px;
}

.group-import-controls .form-control {
  height: 34px;
}

.group-import-controls .button {
  height: 34px;
  white-space: nowrap;
}

.group-import-preview {
  display: grid;
  gap: 7px;
}

.group-import-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 9px;
}

.group-import-summary strong {
  color: var(--ink);
}

.group-import-list {
  display: grid;
  gap: 6px;
}

.group-import-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfb;
}

.group-import-item.is-demand {
  border-left: 3px solid var(--accent);
}

.group-import-item.is-supply {
  border-left: 3px solid #b7792f;
}

.group-import-side {
  display: inline-grid;
  min-width: 28px;
  height: 24px;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 8px;
  font-weight: 700;
}

.group-import-item.is-supply .group-import-side {
  background: #f5e8d5;
  color: #8f581c;
}

.group-import-main {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.group-import-main strong {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.group-import-main span {
  overflow: hidden;
  color: var(--ink-faint);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.group-import-price {
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.group-import-remove {
  width: 23px;
  height: 23px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink-faint);
  font-size: 12px;
  line-height: 1;
}

.group-import-errors {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 8px 10px;
  border-radius: 6px;
  background: #fbf0ed;
  color: #934533;
  font-size: 8px;
  list-style: none;
}

.listing-form {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.form-section {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.form-section + .form-section {
  margin-top: 0;
}

.form-section legend {
  float: left;
  width: 100%;
  margin: 0 0 5px;
  padding: 0;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.form-section legend + * {
  clear: both;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.choice-card {
  position: relative;
  display: block;
}

.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card > span {
  display: flex;
  min-height: 58px;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--canvas);
}

.choice-card input:checked + span {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.choice-card strong {
  font-size: 10px;
}

.choice-card small {
  color: var(--ink-faint);
  font-size: 8px;
}

.form-control {
  width: 100%;
  height: 39px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: 0;
  background: var(--canvas);
  color: var(--ink);
  font: inherit;
  font-size: 10px;
}

.form-control:focus {
  border-color: var(--ink-soft);
  background: #fff;
}

.listing-form textarea.form-control {
  min-height: 76px;
  margin: 0;
  padding: 10px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.6;
}

.form-grid {
  grid-template-columns: 1fr 1fr;
}

.form-grid legend,
.form-grid .field-label:nth-of-type(3),
.form-grid .field-label:nth-of-type(4) {
  grid-column: 1 / -1;
}

.form-grid .field-label {
  margin-top: 3px;
}

.input-with-unit {
  display: flex;
  height: 39px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--canvas);
}

.input-with-unit > span {
  padding: 0 10px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 9px;
}

.input-with-unit > span:first-child {
  border-right: 1px solid var(--line);
}

.input-with-unit > span:last-child {
  border-left: 1px solid var(--line);
}

.input-with-unit .form-control {
  height: 100%;
  border: 0;
  background: transparent;
}

.confirm-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.55;
}

.confirm-row input {
  width: 15px;
  height: 15px;
  flex: none;
  margin: 0;
  accent-color: var(--accent);
}

.button-wide {
  width: 100%;
}

.form-status {
  min-height: 16px;
  margin: -5px 0 0;
  color: var(--ink-faint);
  font-size: 9px;
  text-align: center;
}

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

@media (max-width: 420px) {
  .group-import-head {
    display: grid;
  }

  .group-import-head > span {
    max-width: none;
    text-align: left;
  }

  .group-import-controls {
    grid-template-columns: 1fr 1fr;
  }

  .group-import-controls .button {
    grid-column: 1 / -1;
  }
}

.member-panel {
  align-items: flex-start;
  margin-top: 7px;
  padding: 15px;
}

.member-panel h3 {
  margin: 9px 0 0;
  font-size: 13px;
}

.member-verification-panel {
  display: grid;
  gap: 9px;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.member-verification-head,
.member-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.member-verification-head h3 {
  margin: 4px 0 0;
  font-size: 13px;
}

.member-verification-panel > p {
  margin: 0;
  color: var(--ink-faint);
  font-size: 9px;
  line-height: 1.6;
}

.verification-badge {
  flex: none;
  padding: 4px 7px;
  border-radius: 4px;
  background: var(--surface-muted);
  color: var(--ink-faint);
  font-size: 8px;
  font-weight: 700;
}

.verification-badge.is-approved {
  background: #e6f3eb;
  color: #1f7656;
}

.verification-badge.is-pending {
  background: #fff1d8;
  color: #8c5b21;
}

.verification-badge.is-rejected {
  background: #f8e7e3;
  color: #a33c2c;
}

.member-connections-panel {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.member-connections-heading {
  padding-top: 0;
}

.member-connections-list {
  display: grid;
  gap: 8px;
}

.connection-card {
  display: grid;
  gap: 8px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.connection-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.connection-card-head strong {
  font-size: 11px;
}

.connection-card-head small {
  display: block;
  margin-top: 3px;
  color: var(--ink-faint);
  font-size: 8px;
}

.connection-status {
  flex: none;
  padding: 3px 6px;
  border-radius: 4px;
  background: #eef2ef;
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 650;
}

.connection-status.is-pending {
  background: #fff1d8;
  color: #8c5b21;
}

.connection-status.is-accepted {
  background: #e6f3eb;
  color: #1f7656;
}

.connection-status.is-completed {
  background: #e8eef5;
  color: #365b7c;
}

.connection-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  color: var(--ink-faint);
  font-size: 8px;
}

.connection-meta b {
  color: var(--accent-deep);
  font-family: var(--font-mono);
}

.connection-message-preview {
  margin: 0;
  padding: 7px 8px;
  border-radius: 5px;
  background: #f3f6f4;
  color: var(--ink-soft);
  font-size: 8px;
  line-height: 1.55;
}

.connection-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.connection-actions button {
  height: 28px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 650;
}

.connection-actions button.is-primary {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.board-match-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 9px;
  border-top: 1px dashed var(--line);
}

.board-match-note {
  color: var(--ink-faint);
  font-size: 8px;
}

.board-match-button {
  height: 29px;
  flex: none;
  padding: 0 10px;
  border: 1px solid var(--green);
  border-radius: 5px;
  background: var(--green);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
}

.board-match-button:disabled {
  border-color: var(--line);
  background: #f1f4f2;
  color: var(--ink-faint);
}

.member-modal {
  position: absolute;
  z-index: 70;
  inset: 0;
  display: grid;
  place-items: end center;
  padding: 18px;
}

.member-modal[hidden] {
  display: none;
}

.member-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 16, 0.5);
}

.member-modal-card {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  max-height: 88%;
  gap: 10px;
  overflow-y: auto;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(12, 22, 18, 0.28);
}

.member-modal-card h2 {
  margin: 0;
  font-size: 23px;
}

.member-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink-soft);
  font-size: 17px;
}

.member-modal-copy {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.65;
}

.member-modal-actions {
  color: var(--ink-faint);
  font-size: 9px;
}

.notifications-list,
.messages-list {
  display: grid;
  gap: 7px;
  max-height: 280px;
  overflow-y: auto;
}

.notification-item {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.notification-item.is-unread {
  border-color: rgba(48, 111, 87, 0.35);
  background: #f2f8f5;
}

.notification-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.notification-item strong {
  font-size: 10px;
}

.notification-item time {
  flex: none;
  color: var(--ink-faint);
  font-size: 8px;
}

.notification-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.55;
}

.notification-item button {
  width: fit-content;
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: var(--accent-deep);
  font-size: 8px;
  font-weight: 650;
}

.messages-list {
  min-height: 90px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--canvas);
}

.message-item {
  display: grid;
  gap: 3px;
  max-width: 86%;
  justify-self: start;
  padding: 8px 9px;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(16, 35, 29, 0.05);
}

.message-item.is-self {
  justify-self: end;
  background: #e8f2ec;
}

.message-item p {
  margin: 0;
  color: var(--ink);
  font-size: 9px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.message-item span {
  color: var(--ink-faint);
  font-size: 7px;
}

.messages-empty {
  align-self: center;
  color: var(--ink-faint);
  font-size: 9px;
  text-align: center;
}

.member-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 3px;
  border-radius: 7px;
  background: var(--surface-muted);
}

.member-auth-tabs button {
  height: 31px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--ink-faint);
  font-size: 9px;
  font-weight: 650;
}

.member-auth-tabs button.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 5px rgba(16, 35, 29, 0.08);
}

.member-auth-form {
  display: grid;
  gap: 9px;
}

.member-auth-form[hidden] {
  display: none;
}

.member-auth-form label {
  display: grid;
  gap: 4px;
  color: var(--ink-faint);
  font-size: 8px;
}

.member-auth-form input,
.member-auth-form textarea {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 10px;
  background: var(--canvas);
  color: var(--ink);
  font: inherit;
  font-size: 10px;
}

.member-auth-form textarea {
  min-height: 68px;
  padding: 9px 10px;
  resize: vertical;
}

.connection-summary {
  display: grid;
  gap: 5px;
  padding: 10px;
  border-radius: 6px;
  background: #f3f6f4;
}

.connection-summary strong {
  font-size: 12px;
}

.connection-summary span {
  color: var(--ink-soft);
  font-size: 9px;
}

.nav-badge {
  position: absolute;
  top: 1px;
  right: 20px;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
}

.member-panel p {
  margin: 4px 0 0;
  color: var(--ink-faint);
  font-size: 9px;
}

.text-button {
  flex: none;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--accent-deep);
  font-size: 9px;
  font-weight: 650;
}

.profile-actions {
  display: grid;
  gap: 1px;
  margin: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.profile-action {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 0;
  background: var(--surface);
  text-align: left;
}

.profile-action-link {
  color: inherit;
  text-decoration: none;
}

.profile-action-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: none;
  place-items: center;
  border-radius: 7px;
  background: var(--surface-muted);
}

.profile-action-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.profile-action > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.profile-action strong {
  font-size: 10px;
}

.profile-action small {
  color: var(--ink-faint);
  font-size: 8px;
}

/* Premium trading-terminal treatment */
:root {
  --ink: #13201c;
  --ink-soft: #5b6963;
  --ink-faint: #89958f;
  --canvas: #edf1ee;
  --surface: #fbfcfa;
  --surface-muted: #e7ece8;
  --line: #d6ddd8;
  --line-strong: #b8c3bc;
  --accent: #df6043;
  --accent-deep: #9c3c28;
  --accent-soft: #fae9e3;
  --positive: #ba402b;
  --positive-soft: #f8e5e0;
  --negative: #227457;
  --negative-soft: #e3f0ea;
  --navy: #0f1b18;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

html {
  background: #080d0c;
}

body {
  background-color: #0b1110;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
}

.desktop-stage {
  padding: 28px;
}

.phone-shell {
  border-color: rgba(255, 255, 255, 0.17);
  border-radius: 28px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45),
    var(--shadow);
}

.device-bar {
  background: #0d1714;
  color: rgba(255, 255, 255, 0.92);
}

.device-island {
  background: #050807;
}

.app {
  background: var(--canvas);
}

.app-header {
  padding: 14px 18px 13px;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: #0f1b18;
  color: #fff;
}

.brand-lockup {
  gap: 11px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: var(--accent);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.2);
}

.brand-lockup h1 {
  color: #fff;
  font-size: 18px;
  font-weight: 760;
}

.brand-lockup .eyebrow {
  color: #91a29c;
  letter-spacing: 0.12em;
}

.app-header .icon-button {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
}

.app-header .icon-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.view {
  padding-right: 18px;
  padding-left: 18px;
}

.view.is-active {
  animation: view-reveal 220ms cubic-bezier(0.22, 0.72, 0.24, 1);
}

@keyframes view-reveal {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.market-overview {
  margin: 0 -18px;
  padding: 17px 18px 18px;
  background: #f8faf8;
}

.overview-meta {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.overview-meta time {
  color: var(--ink-faint);
  font-size: 8px;
}

.live-dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.overview-main {
  margin-top: 15px;
}

.market-overview h2 {
  margin-top: 5px;
  font-size: 29px;
  font-weight: 780;
}

.section-kicker,
.eyebrow {
  letter-spacing: 0.09em;
}

.market-status {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.market-status strong {
  color: var(--negative);
  font-size: 10px;
}

.market-summary {
  margin-top: 10px;
  font-size: 11px;
}

.overview-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  margin-top: 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: #13211d;
  color: #fff;
}

.overview-metrics > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
  padding: 10px 11px;
}

.overview-metrics > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.overview-metrics span {
  color: #8fa09a;
  font-size: 8px;
}

.overview-metrics strong {
  font-family: var(--font-mono);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  line-height: 1.1;
}

.search-box {
  height: 43px;
  margin-top: 14px;
  border-color: #d4dcd7;
  background: #fff;
  box-shadow: 0 5px 15px rgba(16, 31, 25, 0.035);
}

.search-box:focus-within {
  border-color: #9caaa3;
  box-shadow: 0 0 0 3px rgba(34, 116, 87, 0.08);
}

.category-tabs {
  gap: 3px;
  border-bottom-color: #d6ddd8;
}

.category-tab {
  min-width: 58px;
  height: 30px;
  border-radius: 6px;
  font-size: 10px;
}

.category-tab.is-active {
  border-color: #0f1b18;
  background: #0f1b18;
  box-shadow: 0 4px 12px rgba(15, 27, 24, 0.14);
}

.list-heading {
  padding-top: 18px;
}

.list-heading h3,
.preview-heading h3 {
  font-size: 16px;
  font-weight: 730;
}

.market-list {
  border-top-color: #bac5be;
}

.market-item {
  gap: 8px 13px;
  padding: 15px 2px 15px 0;
  transition: background-color 150ms ease, padding 150ms ease;
}

.market-item::before {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: -18px;
  width: 2px;
  border-radius: 2px;
  background: transparent;
  content: "";
}

.market-item:hover::before {
  background: var(--accent);
}

.market-item:hover {
  padding-right: 8px;
  padding-left: 8px;
  background: #f8faf8;
}

.market-item-code {
  display: inline-flex;
  margin-bottom: 5px;
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f4f7f5;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.market-item h4 {
  font-size: 14px;
  font-weight: 720;
}

.market-item-variant {
  margin-top: 3px;
  font-size: 9.5px;
}

.market-item-price {
  gap: 4px;
}

.market-item-price strong {
  font-size: 19px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.price-change {
  padding: 2px 4px;
  border-radius: 3px;
  font-size: 8px;
}

.price-change.is-up {
  background: var(--positive-soft);
}

.price-change.is-down {
  background: var(--negative-soft);
}

.market-item-meta {
  position: relative;
  gap: 9px;
  font-size: 8.5px;
}

.mini-trend {
  display: inline-flex;
  margin-left: auto;
  color: var(--ink-faint);
}

.mini-trend.is-up {
  color: var(--positive);
}

.mini-trend.is-down {
  color: var(--negative);
}

.mini-trend svg {
  width: 62px;
  height: 18px;
  overflow: visible;
}

.mini-trend polyline {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.mini-trend circle {
  fill: currentColor;
}

.page-heading {
  padding: 27px 0 19px;
}

.page-heading h2 {
  font-size: 27px;
  font-weight: 780;
}

.page-heading > p:last-child {
  font-size: 10.5px;
}

.segmented-control {
  border-color: #ccd5cf;
  background: #e6ebe7;
}

.segment-button {
  height: 33px;
  font-size: 10px;
}

.segment-button.is-active {
  box-shadow:
    0 1px 2px rgba(15, 27, 24, 0.08),
    0 4px 12px rgba(15, 27, 24, 0.045);
}

.board-list {
  display: grid;
  gap: 8px;
  border-top: 0;
}

.board-item {
  position: relative;
  gap: 9px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(17, 31, 25, 0.035);
}

.board-item::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--accent);
  content: "";
}

.board-item:has(.board-side.is-supply)::before {
  background: #b77a2f;
}

.board-price {
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

.member-strip {
  border-radius: 7px;
  background: #f8faf8;
}

.listing-form {
  gap: 10px;
}

.form-section {
  padding: 15px;
  border-color: #d5ddd7;
  background: #fff;
  box-shadow: 0 4px 14px rgba(17, 31, 25, 0.025);
}

.form-control {
  border-color: #d3dbd5;
  background: #f7f9f7;
}

.button-primary {
  border-color: #0f1b18;
  background: #0f1b18;
  box-shadow: 0 8px 20px rgba(15, 27, 24, 0.14);
}

.member-panel {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(17, 31, 25, 0.035);
}

.profile-actions {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.bottom-nav {
  padding-top: 6px;
  border-top-color: #ccd5cf;
  background: rgba(250, 252, 250, 0.94);
  box-shadow: 0 -12px 30px rgba(15, 27, 24, 0.055);
}

.nav-item {
  font-size: 8px;
}

.nav-item.is-active {
  color: #0f1b18;
}

.nav-item.is-active::before {
  top: -6px;
  width: 18px;
  height: 2px;
  background: var(--accent);
}

.detail-price-row strong,
.detail-stats strong,
.history-chart + * {
  letter-spacing: 0;
}

.brand-mark img {
  width: 27px;
  height: 27px;
}

.category-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 72px;
  padding-right: 10px;
  padding-left: 10px;
}

.category-tab img {
  width: 15px;
  height: 15px;
  flex: none;
  opacity: 0.9;
}

.category-tab .category-logo-nintendo {
  width: 35px;
  height: 10px;
}

.category-tab .category-logo-dyson {
  width: 34px;
  height: 13px;
}

.category-tab .category-logo-dji {
  width: 21px;
  height: 12px;
}

.category-tab .category-logo-sony {
  width: 36px;
  height: 9px;
}

.category-tab .category-logo-all {
  width: 15px;
  height: 15px;
}

.category-tab.is-active img {
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.market-item-code {
  align-items: center;
  gap: 4px;
}

.market-item-code img {
  width: 12px;
  height: 12px;
}

.market-item-title-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
}

.market-item-title-row h4 {
  min-width: 0;
}

.market-item-brand-logo {
  width: 27px;
  height: 10px;
  flex: none;
  object-fit: contain;
}

.market-item-brand-logo.inline-brand-logo-nintendo {
  width: 27px;
  height: 8px;
}

.market-item-brand-logo.inline-brand-logo-sony {
  width: 29px;
  height: 7px;
}

.market-item-brand-logo.inline-brand-logo-dyson {
  width: 25px;
  height: 9px;
}

.market-item-brand-logo.inline-brand-logo-dji {
  width: 17px;
  height: 9px;
}

.market-item-code .inline-brand-logo-nintendo {
  width: 29px;
  height: 9px;
}

.market-item-code .inline-brand-logo-dyson {
  width: 27px;
  height: 10px;
}

.market-item-code .inline-brand-logo-dji {
  width: 18px;
  height: 10px;
}

.market-item-code .inline-brand-logo-sony {
  width: 30px;
  height: 8px;
}

.board-category-icon {
  width: 17px;
  height: 17px;
  flex: none;
}

.board-category-icon.inline-brand-logo-nintendo {
  width: 31px;
  height: 10px;
}

.board-category-icon.inline-brand-logo-dyson {
  width: 30px;
  height: 11px;
}

.board-category-icon.inline-brand-logo-dji {
  width: 20px;
  height: 12px;
}

.board-category-icon.inline-brand-logo-sony {
  width: 32px;
  height: 9px;
}

.market-item {
  grid-template-columns: minmax(0, 1fr) 88px;
  align-items: center;
  gap: 12px;
  padding: 14px 2px 14px 0;
}

.market-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--ink-faint);
  font-size: 8px;
  white-space: nowrap;
}

.market-item-meta .market-item-range {
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 8px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.market-item-meta .market-item-quotes::before {
  display: inline-block;
  width: 2px;
  height: 2px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--ink-faint);
  content: "";
  vertical-align: 2px;
}

.market-item-price {
  min-width: 0;
  align-items: flex-end;
  gap: 3px;
}

.market-item-price strong {
  color: #21332d;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  line-height: 1.05;
}

.market-item-price strong::before {
  margin-right: 1px;
  font-size: 8px;
  font-weight: 500;
  vertical-align: 1px;
}

.market-item-price .price-change {
  align-self: flex-end;
  padding: 0;
  background: transparent;
  font-size: 8px;
  font-weight: 550;
}

.market-item-price .mini-trend {
  margin-top: 1px;
  margin-left: 0;
  opacity: 0.72;
}

.market-item-price .mini-trend svg {
  width: 52px;
  height: 14px;
}

.market-item-title-row .favorite-indicator {
  flex: none;
  margin-left: 2px;
  font-size: 9px;
}

.market-item h4 {
  font-size: 16px;
  font-weight: 760;
}

.market-item-official {
  display: block;
  overflow: hidden;
  margin: 3px 0 0;
  color: #87928c;
  font-size: 8px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-item-variant {
  margin-top: 3px;
  color: #69766f;
  font-size: 9px;
  line-height: 1.45;
}

.platform-compare-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding: 15px 0 10px;
  border-top: 1px solid var(--line-strong);
}

.platform-compare-heading h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 720;
}

.platform-compare-heading div > span {
  display: block;
  margin-top: 3px;
  color: var(--ink-faint);
  font-size: 8px;
}

.platform-lowest {
  flex: none;
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 650;
}

.platform-list {
  border-top: 1px solid var(--line);
}

.platform-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto 38px;
  align-items: center;
  gap: 8px;
  min-height: 51px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.platform-row.is-lowest {
  margin: 2px -8px 0;
  padding-right: 8px;
  padding-left: 8px;
  border-bottom-color: #ecd2ca;
  border-radius: 6px;
  background: #fcf0ec;
}

.platform-row.is-unavailable {
  background: #fafbfa;
}

.platform-row.is-unavailable .platform-price strong {
  color: var(--ink-faint);
  font-size: 11px;
}

.platform-row.is-stale .platform-price strong {
  color: var(--ink-soft);
}

.platform-mark {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(23, 32, 30, 0.08);
  border-radius: 6px;
  background: #fff;
}

.platform-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.platform-name,
.platform-price {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.platform-name strong {
  font-size: 10px;
  font-weight: 680;
}

.platform-name small,
.platform-price small {
  overflow: hidden;
  color: var(--ink-faint);
  font-size: 7px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-price {
  align-items: flex-end;
  text-align: right;
}

.platform-price strong {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  line-height: 1.2;
}

.platform-row.is-lowest .platform-price strong {
  color: var(--accent-deep);
}

.platform-view {
  height: 25px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 600;
}

.platform-view:hover {
  border-color: var(--ink-soft);
  color: var(--ink);
}

.platform-view:disabled,
.platform-view:disabled:hover {
  border-color: var(--line);
  background: #f4f6f5;
  color: var(--ink-faint);
  cursor: default;
}

.platform-disclaimer {
  margin: 8px 0 0;
  color: var(--ink-faint);
  font-size: 7.5px;
  line-height: 1.55;
}

.market-status.is-server {
  border-color: #bdd9cb;
  background: #edf7f1;
}

.market-status.is-server strong {
  color: var(--negative);
}

.market-status.is-demo strong {
  color: var(--ink-soft);
}

.market-status.is-updating strong {
  color: var(--accent-deep);
}

.app-header .icon-button.is-loading svg {
  animation: data-source-spin 900ms linear infinite;
}

.board-verified span {
  white-space: nowrap;
}

@keyframes data-source-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .view.is-active {
    animation: none;
  }

  .app-header .icon-button.is-loading svg {
    animation: none;
  }

  .market-item,
  .bottom-nav,
  .segment-button {
    transition: none;
  }
}

@media (max-width: 640px) {
  body {
    background: var(--canvas);
  }

  .desktop-stage {
    display: block;
    min-height: 100dvh;
    padding: 0;
  }

  .phone-shell {
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .device-bar {
    display: none;
  }

  .app {
    height: 100%;
  }

  .app-header {
    padding-top: max(13px, env(safe-area-inset-top));
  }
}

@media (max-width: 359px) {
  .view {
    padding-right: 14px;
    padding-left: 14px;
  }

  .app-header {
    padding-right: 14px;
    padding-left: 14px;
  }

  .market-overview {
    margin-right: -14px;
    margin-left: -14px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .category-tabs {
    margin-right: -14px;
    margin-left: -14px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .brand-lockup .eyebrow {
    display: none;
  }

  .brand-lockup h1 {
    font-size: 16px;
  }

  .form-actions,
  .detail-actions {
    grid-template-columns: 1fr;
  }
}

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

.quote-policy {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  border: 1px solid #ebd6cd;
  border-radius: 8px;
  padding: 11px 12px;
  background: #fff8f3;
}

.quote-policy[hidden] {
  display: none;
}

.quote-policy-warning {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.quote-policy-icon {
  display: grid;
  width: 18px;
  height: 18px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #c74f35;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.quote-policy-warning strong {
  display: block;
  color: #7b2e20;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.4;
}

.quote-policy-warning p {
  margin: 2px 0 0;
  color: #a74b36;
  font-size: 9px;
  line-height: 1.45;
}

.quote-policy-note {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(171, 81, 56, 0.14);
  padding-top: 8px;
}

.quote-policy-note strong {
  color: #263832;
  font-size: 9px;
  font-weight: 650;
}

.quote-policy-note span {
  color: #8a6c61;
  font-size: 8px;
  text-align: right;
}

.series-tabs {
  display: flex;
  overflow-x: auto;
  gap: 5px;
  margin: 8px -18px 0;
  padding: 0 18px 8px;
  scrollbar-width: none;
}

.series-tabs::-webkit-scrollbar {
  display: none;
}

.series-tabs[hidden] {
  display: none;
}

.series-tab {
  height: 26px;
  flex: none;
  border: 1px solid #d5ddd8;
  border-radius: 5px;
  padding: 0 9px;
  background: #fff;
  color: #718079;
  font-size: 8.5px;
  font-weight: 600;
}

.series-tab.is-active {
  border-color: #9eb5aa;
  background: #e9f1ec;
  color: #1e5946;
}

.market-item.is-quote h4 {
  font-size: 15px;
  font-weight: 760;
}

.market-item-quote-note {
  overflow: hidden;
  margin: 4px 0 0;
  color: #a24f39;
  font-size: 8.5px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-item.is-unavailable {
  opacity: 0.72;
}

.market-item-price.is-unavailable strong {
  color: #7e8b85;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 650;
}

.market-item-price.is-unavailable strong::before {
  content: none;
}

.detail-price-row.is-unavailable strong {
  color: #72817a;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 650;
}

.detail-price-row.is-unavailable strong::before {
  content: none;
}

.quote-detail-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  margin-top: 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f7f9f7;
}

.quote-detail-facts div {
  min-width: 0;
  padding: 9px 10px;
}

.quote-detail-facts div + div {
  border-left: 1px solid var(--line);
}

.quote-detail-facts span {
  display: block;
  margin-bottom: 3px;
  color: var(--ink-faint);
  font-size: 8px;
}

.quote-detail-facts strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 10px;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quote-detail-note {
  margin: 10px 0 0;
  border-left: 2px solid #d46b4f;
  padding: 7px 9px;
  background: #fff8f4;
  color: #8c4b3a;
  font-size: 9px;
  line-height: 1.55;
}

.quote-detail-policy {
  margin-top: 13px;
  border: 1px solid #e5d2ca;
  border-radius: 7px;
  padding: 10px 11px;
  background: #fff9f5;
}

.quote-detail-policy strong {
  display: block;
  color: #7c3324;
  font-size: 10px;
  font-weight: 720;
}

.quote-detail-policy span {
  display: block;
  margin-top: 3px;
  color: #a24e39;
  font-size: 9px;
}

.quote-detail-policy p {
  margin: 8px 0 0;
  border-top: 1px solid rgba(164, 76, 54, 0.14);
  padding-top: 7px;
  color: #7f6c65;
  font-size: 8.5px;
}

@media (max-width: 359px) {
  .series-tabs {
    margin-right: -14px;
    margin-left: -14px;
    padding-right: 14px;
    padding-left: 14px;
  }
}

/* Max visual refinement */
.app-header {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 72%),
    #0f1b18;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.055);
}

.app-header::after {
  position: absolute;
  right: 18px;
  bottom: -1px;
  left: 18px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent 28%);
  content: "";
  opacity: 0.7;
}

.brand-mark {
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.app-header .icon-button {
  border-radius: 8px;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.app-header .icon-button:hover {
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.icon-badge {
  border-color: #0f1b18;
}

.page-heading {
  position: relative;
  padding-left: 14px;
}

.page-heading::before {
  position: absolute;
  top: 31px;
  bottom: 25px;
  left: 0;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), #efb49f);
  content: "";
  opacity: 0.9;
}

.page-heading h2 {
  font-size: 28px;
  line-height: 1.14;
}

.page-heading > p:last-child {
  max-width: 94%;
  line-height: 1.65;
}

.market-overview {
  position: relative;
  background:
    linear-gradient(180deg, #fbfcfa 0%, #f2f6f3 100%);
  box-shadow: inset 0 -1px 0 rgba(15, 27, 24, 0.04);
}

.overview-meta {
  color: #5e6e67;
}

.live-dot {
  animation: live-dot-pulse 2.4s ease-out infinite;
}

@keyframes live-dot-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px var(--accent-soft);
  }
  50% {
    box-shadow:
      0 0 0 3px var(--accent-soft),
      0 0 0 7px rgba(223, 96, 67, 0);
  }
}

.market-overview h2 {
  color: #14231e;
  font-size: 30px;
  line-height: 1.08;
}

.market-status {
  border-color: #d5ded8;
  box-shadow: 0 4px 14px rgba(17, 31, 25, 0.035);
}

.overview-metrics {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 10px 24px rgba(15, 27, 24, 0.12);
}

.overview-metrics > div {
  padding: 11px 12px;
}

.overview-metrics > div:first-child strong {
  color: #ffd2c4;
}

.overview-metrics strong {
  font-size: 18px;
}

.search-box {
  border-color: #d0dad4;
  border-radius: 8px;
  box-shadow:
    0 7px 18px rgba(15, 27, 24, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.search-box:focus-within {
  border-color: #8fa39a;
  box-shadow:
    0 8px 22px rgba(15, 27, 24, 0.06),
    0 0 0 3px rgba(34, 116, 87, 0.09);
  transform: translateY(-1px);
}

.search-box > svg {
  color: #71827a;
}

.category-tabs {
  gap: 5px;
  padding-bottom: 12px;
}

.category-tab {
  border-color: #dfe6e1;
  background: rgba(255, 255, 255, 0.72);
  transition:
    border-color 150ms ease,
    background-color 150ms ease,
    color 150ms ease,
    transform 150ms ease;
}

.category-tab:hover {
  border-color: #c9d4cd;
  background: #fff;
}

.category-tab.is-active {
  border-color: #0f1b18;
  background: #0f1b18;
  color: #fff;
  box-shadow:
    0 5px 14px rgba(15, 27, 24, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.list-heading {
  padding-top: 21px;
}

.list-heading h3,
.preview-heading h3 {
  font-size: 17px;
  line-height: 1.2;
}

.result-count {
  padding: 4px 7px;
  border: 1px solid #dce3de;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.65);
}

.market-list {
  border-top: 0;
}

.market-item {
  margin: 0 -8px;
  padding-right: 10px;
  padding-left: 10px;
  border-bottom-color: #dbe2dd;
  border-radius: 6px;
  transition:
    background-color 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

.market-item:hover {
  padding-right: 10px;
  padding-left: 10px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 27, 24, 0.055);
  transform: translateY(-1px);
}

.market-item::before {
  top: 14px;
  bottom: 14px;
  left: 0;
}

.market-item-price strong {
  color: #18372c;
  font-weight: 650;
}

.market-item.is-quote .market-item-price strong {
  color: var(--accent-deep);
}

.board-control-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d5ded8;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 12px 30px rgba(15, 27, 24, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.board-control-panel .board-toolbar {
  gap: 8px;
}

.board-control-panel .segmented-control {
  flex: 1;
}

.board-control-panel .segment-button {
  flex: 1;
}

.board-control-panel .board-count {
  flex: none;
  padding: 4px 6px;
  border-radius: 4px;
  background: #edf2ee;
  color: #63736b;
  font-size: 8px;
}

.board-control-panel .board-search {
  margin-top: 0;
  box-shadow: none;
}

.board-control-panel .category-tabs {
  margin: 0 -2px;
  padding: 0 2px 2px;
  border-bottom: 0;
}

.board-control-panel .category-tab {
  height: 29px;
  background: #f5f8f6;
}

.board-control-panel .category-tab.is-active {
  background: #0f1b18;
}

.board-control-panel .board-filter-row {
  margin: 0;
  padding-top: 9px;
  border-top: 1px dashed #d7dfda;
}

.board-control-panel .board-region-filter > span {
  color: #7b8982;
}

.board-control-panel .board-region-filter select,
.board-control-panel .board-sort-control {
  background-color: #f4f7f5;
}

.board-pair,
.board-item {
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.board-pair:hover,
.board-item:hover {
  border-color: #cbd6cf;
  box-shadow: 0 10px 24px rgba(15, 27, 24, 0.07);
  transform: translateY(-1px);
}

.board-pair.is-matchable {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(34, 116, 87, 0.045), transparent 45%),
    #fff;
}

.board-pair.is-matchable::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--negative);
  content: "";
}

.board-pair-summary .matchable {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--negative-soft);
}

.trade-quote {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.button {
  border-radius: 8px;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.button-primary {
  border-color: #101f1a;
  background: #101f1a;
  box-shadow:
    0 8px 20px rgba(15, 27, 24, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.button-primary:hover {
  border-color: #1a332a;
  background: #1a332a;
  box-shadow:
    0 10px 24px rgba(15, 27, 24, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.form-section,
.group-import-panel,
.member-verification-panel,
.member-panel,
.info-panel {
  box-shadow:
    0 8px 22px rgba(15, 27, 24, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.form-section legend {
  display: flex;
  float: none;
  width: 100%;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: #21352d;
  font-size: 11px;
}

.form-section legend::before {
  width: 3px;
  height: 12px;
  border-radius: 3px;
  background: var(--accent);
  content: "";
}

.choice-card > span {
  transition:
    border-color 150ms ease,
    background-color 150ms ease,
    box-shadow 150ms ease;
}

.choice-card input:checked + span {
  border-color: #dc755a;
  box-shadow:
    0 6px 16px rgba(223, 96, 67, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.profile-action {
  transition:
    background-color 150ms ease,
    padding-left 150ms ease;
}

.profile-action:hover {
  padding-left: 15px;
  background: #f7faf8;
}

.profile-action-icon {
  background: #edf2ee;
  color: #17372c;
}

.connection-card {
  box-shadow: 0 6px 18px rgba(15, 27, 24, 0.035);
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

.connection-card:hover {
  border-color: #c8d5cd;
  box-shadow: 0 9px 22px rgba(15, 27, 24, 0.06);
  transform: translateY(-1px);
}

.platform-compare-heading {
  border-top-color: #c5d0c9;
}

.platform-compare-heading h3 {
  font-size: 14px;
}

.platform-lowest {
  padding: 4px 7px;
  border: 1px solid #efd5cc;
  border-radius: 5px;
  background: var(--accent-soft);
  white-space: nowrap;
}

.platform-list {
  overflow: hidden;
  padding: 0 10px;
  border: 1px solid #d6ded9;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 27, 24, 0.045);
}

.platform-row {
  grid-template-columns: 30px minmax(0, 1fr) auto 38px;
  min-height: 55px;
}

.platform-row:last-child {
  border-bottom: 0;
}

.platform-row.is-lowest {
  margin: 4px -6px;
  padding-right: 6px;
  padding-left: 6px;
  border-bottom: 0;
  border-radius: 7px;
  background: linear-gradient(90deg, #fff4ef, #fdf8f5);
}

.platform-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  box-shadow: 0 3px 8px rgba(15, 27, 24, 0.08);
}

.platform-name strong {
  font-size: 10.5px;
}

.platform-price strong {
  font-size: 14px;
  font-weight: 650;
}

.platform-view {
  height: 27px;
  border-radius: 6px;
}

.platform-disclaimer {
  padding: 0 2px;
}

.bottom-nav {
  border-top-color: rgba(199, 211, 203, 0.9);
  background: rgba(251, 252, 250, 0.92);
  box-shadow:
    0 -14px 34px rgba(15, 27, 24, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(1.15);
}

.nav-item {
  transition: color 150ms ease;
}

.nav-item svg {
  transition:
    background-color 160ms ease,
    padding 160ms ease,
    width 160ms ease,
    height 160ms ease;
}

.nav-item.is-active {
  color: #14251f;
}

.nav-item.is-active svg {
  width: 36px;
  height: 29px;
  padding: 5px 9px;
  border-radius: 8px;
  background: #e5eee8;
  color: #15382b;
}

.nav-item.is-active::before {
  top: -6px;
  width: 13px;
  height: 3px;
  background: var(--accent);
}

.toast {
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px rgba(15, 27, 24, 0.22);
  backdrop-filter: blur(12px);
}

@media (max-width: 420px) {
  .board-control-panel {
    margin-right: -1px;
    margin-left: -1px;
    padding: 11px;
  }

  .page-heading h2 {
    font-size: 27px;
  }

  .market-overview h2 {
    font-size: 29px;
  }

  .platform-row {
    grid-template-columns: 29px minmax(0, 1fr) auto 36px;
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot {
    animation: none;
  }
}
