@layer feature-layout;
@layer feature-layout {
:root {
  --page: #041d33;
  --page-deep: #021425;
  --bar: #0b3557;
  --bar-dark: #082b49;
  --card: #356493;
  --card-hover: #4173a4;
  --line: #0a2741;
  --text: #f4f8ff;
  --muted: #bdd0df;
  --aqua: #65f2e4;
  --blue: #4875ff;
  --green: #2fb853;
  --green-dark: #209443;
  --red: #ef4e55;
  --white: #fff;
  --ink: #183142;
  --font: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  --body: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--page-deep);
}
body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: var(--body);
  font-size: 14px;
  background:
    radial-gradient(ellipse 32% 54% at -8% 15%, rgba(23, 85, 113, 0.52), transparent 68%),
    radial-gradient(ellipse 28% 42% at 95% 38%, rgba(53, 18, 255, 0.82), transparent 65%),
    radial-gradient(ellipse 20% 28% at 55% 6%, rgba(39, 19, 220, 0.66), transparent 72%),
    linear-gradient(145deg, #03192c 0%, #05233b 48%, #020e21 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
a {
  color: inherit;
  text-decoration: none;
}
[hidden] {
  display: none !important;
}

.topbar {
  height: 54px;
  background: rgba(49, 99, 143, 0.95);
  border-bottom: 4px solid rgba(1, 19, 37, 0.9);
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}
.topbar-inner {
  max-width: 1020px;
  height: 50px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}
.logo {
  justify-self: start;
  font: 900 18px var(--font);
  letter-spacing: -0.04em;
  text-shadow: 0 2px 0 #05203a;
}
.logo b {
  color: var(--aqua);
}
.logo span {
  color: #fff;
}
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.data-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #d9e6f0;
  font-size: 10px;
  white-space: nowrap;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #24db64;
  box-shadow: 0 0 7px #24db64;
}
.data-status.is-offline .status-dot {
  background: #ff6978;
  box-shadow: 0 0 7px #ff6978;
}
.account-trigger {
  min-width: 78px;
  height: 34px;
  padding: 0 10px 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #153d5f;
  border-radius: 17px;
  background: #173f63;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}
.account-trigger:hover,
.account-trigger.is-authenticated {
  background: #0c2c48;
  color: var(--aqua);
}
.account-avatar {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  flex: 0 0 23px;
  border-radius: 50%;
  background: #65f2e4;
  color: #092b45;
  font: 900 10px var(--font);
  text-transform: uppercase;
}
.account-avatar.large {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
  font-size: 17px;
}

.page-shell {
  width: min(960px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 52px;
}
.notice-bar,
.section-bar,
.panel-title {
  background: rgba(9, 52, 86, 0.94);
  border: 2px solid rgba(2, 21, 38, 0.92);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.28);
  border-radius: 5px;
}
.notice-bar {
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  color: #f2f7fb;
  font-weight: 700;
}
.notice-bar svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  flex: none;
}

.search-section h1 {
  font: 900 25px var(--font);
  margin: 21px 0 11px;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.38);
}
.search-wrap {
  position: relative;
  z-index: 15;
}
.search-bar {
  height: 52px;
  display: flex;
  align-items: center;
  background: #fff;
  border: 3px solid #071f35;
  border-radius: 6px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.33);
  overflow: hidden;
}
.search-icon {
  width: 19px;
  height: 19px;
  margin: 0 11px 0 14px;
  fill: none;
  stroke: #46657b;
  stroke-width: 2;
  stroke-linecap: round;
}
.search-bar input {
  height: 100%;
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: #163047;
  background: #fff;
  font-size: 15px;
  padding: 0;
}
.search-bar input::placeholder {
  color: #8498a7;
}
.kbd-hint {
  color: #8fa0ad;
  border: 1px solid #ced8df;
  border-radius: 3px;
  font: bold 10px Arial;
  padding: 2px 6px;
  margin-right: 9px;
}
.search-go {
  height: 100%;
  border: 0;
  border-left: 2px solid #071f35;
  background: #3c6da0;
  color: white;
  font-weight: 800;
  padding: 0 20px;
}
.search-go:hover:not(:disabled) {
  background: #497bae;
}
.autocomplete {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 5px);
  padding: 5px;
  background: #0b3353;
  border: 2px solid #04192b;
  border-radius: 5px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.autocomplete-item {
  width: 100%;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 0;
  border-bottom: 1px solid #17466d;
  background: #356493;
  color: white;
  text-align: left;
}
.autocomplete-item:first-child {
  border-radius: 3px 3px 0 0;
}
.autocomplete-item:last-child {
  border-bottom: 0;
  border-radius: 0 0 3px 3px;
}
.autocomplete-item:hover,
.autocomplete-item.active {
  background: #4678a9;
}
.ac-main {
  min-width: 0;
}
.ac-name {
  display: block;
  font: bold 14px var(--font);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ac-meta {
  display: block;
  color: #d6e1ea;
  font-size: 10px;
  margin-top: 2px;
}
.ac-price {
  font-weight: 800;
}
.ac-price small {
  font-size: 9px;
  color: #d6e1ea;
  margin-left: 2px;
}
.autocomplete-empty {
  padding: 16px;
  color: #d5e1ea;
  text-align: center;
}
.quick-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin: 11px 2px 24px;
  color: #abc0d1;
  font-size: 11px;
}
.try-link {
  border: 0;
  border-bottom: 1px solid #6f91ab;
  background: transparent;
  color: #fff;
  padding: 2px 1px;
}
.try-link:hover {
  color: var(--aqua);
  border-color: var(--aqua);
}

.market-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  margin-top: 14px;
  border: 2px solid #061f36;
  border-radius: 5px;
  background: #0d3c62;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
}
.market-overview div {
  min-width: 0;
  padding: 11px 14px;
  border-left: 1px solid #28577c;
}
.market-overview div:first-child {
  border-left: 0;
}
.market-overview strong {
  display: block;
  color: #fff;
  font: 900 16px var(--font);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.market-overview span {
  display: block;
  margin-top: 2px;
  color: #9ebbd0;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.market-group,
.recent-section {
  margin-top: 18px;
}
.section-bar {
  min-height: 43px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.section-bar h2 {
  margin: 0;
  font: 900 17px var(--font);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
}
.section-bar > span {
  color: #a9c0d3;
  font-size: 10px;
}
.section-action {
  border: 0;
  background: transparent;
  color: #c9d8e4;
  font-size: 11px;
}
.section-action:hover {
  color: white;
}
.item-stack {
  margin-top: 6px;
}
.quote-head,
.quote-row {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) 0.55fr 0.7fr 0.65fr;
  align-items: center;
  gap: 10px;
}
.quote-head {
  height: 34px;
  padding: 0 14px;
  background: #173f63;
  border: 2px solid #061e33;
  color: #b9ccdc;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}
.quote-head button {
  border: 0;
  background: transparent;
  color: inherit;
  text-transform: inherit;
  font: inherit;
  text-align: right;
  padding: 0;
}
.quote-head button:hover {
  color: white;
}
.quote-head .r,
.quote-row > .r {
  text-align: right;
}
.tri {
  color: var(--aqua);
}
.quote-row {
  width: 100%;
  min-height: 67px;
  margin: 0 0 6px;
  padding: 8px 14px;
  border: 2px solid #08233c;
  border-radius: 5px;
  background: rgba(53, 100, 147, 0.97);
  color: #fff;
  text-align: left;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
  transition:
    background 0.1s,
    transform 0.1s;
}
.quote-row:hover {
  background: var(--card-hover);
  transform: translateY(-1px);
}
a.quote-row {
  text-decoration: none;
}
.quote-row:after {
  content: "⋮";
  display: none;
}
.q-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.q-name {
  font: 900 16px var(--font);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.22);
}
.q-shouts {
  color: #d8e4ed;
  font-size: 11px;
  text-align: right;
}
.q-price {
  font-weight: 800;
  text-align: right;
}
.q-price small {
  font-size: 9px;
  color: #dbe5ed;
  margin-left: 2px;
}
.q-trend {
  text-align: right;
}
.activity-time {
  font-size: 10px;
  color: #d7e2ea;
  white-space: nowrap;
}
.tick {
  width: 37px;
  height: 37px;
  flex: 0 0 37px;
  display: grid;
  place-items: center;
  background: #153b5d;
  border: 2px solid #80a6c7;
  border-radius: 5px;
  color: var(--aqua);
  font: 900 11px var(--font);
  box-shadow: inset 0 -3px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.tick.lg {
  width: 54px;
  height: 54px;
  flex-basis: 54px;
  font-size: 15px;
}
.tick img {
  display: block;
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
  image-rendering: pixelated;
}
.tick img[hidden],
.tick-fallback[hidden] {
  display: none;
}
.trend {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 3px 6px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 900;
}
.trend.up {
  background: #1bc950;
  color: #052e18;
}
.trend.down {
  background: #9d2735;
  color: white;
}
.trend.flat {
  background: #365747;
  color: #fff;
}
.panel-foot {
  padding: 8px;
  text-align: center;
}
.load-btn,
.back-btn {
  border: 2px solid #08233c;
  border-radius: 4px;
  background: #386998;
  color: white;
  font-weight: 800;
  font-size: 11px;
  padding: 8px 14px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}
.load-btn:hover,
.back-btn:hover {
  background: #477aa9;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 6px;
}
.item-card {
  min-width: 0;
  border: 2px solid #08233c;
  border-radius: 5px;
  background: #356493;
  color: #fff;
  text-align: left;
  padding: 10px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
}
.item-card:hover {
  background: #4173a4;
}
.item-card-head {
  display: flex;
  align-items: center;
  gap: 9px;
}
.item-meta {
  min-width: 0;
}
.item-name {
  display: block;
  font: 900 13px var(--font);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.item-cat {
  display: block;
  color: #d1dee8;
  font-size: 9px;
  margin-top: 2px;
}
.item-price {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-weight: 800;
}
.item-price small {
  font-size: 9px;
  color: #d6e2eb;
}
.section-bar.daily-quest-header {
  background: rgba(9, 52, 86, 0.94);
  border-color: rgba(2, 21, 38, 0.92);
}
.daily-quest-header > span {
  color: #a9c0d3;
}
.daily-quest-reset {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}
.daily-quest-reset strong {
  color: var(--aqua);
  font: 900 12px var(--font);
  font-variant-numeric: tabular-nums;
}
.daily-quest-card {
  margin-top: 6px;
}
.daily-quest-panel {
  padding: 12px;
  border: 2px solid #08233c;
  border-radius: 5px;
  background: linear-gradient(115deg, #3d72a5, #315c8b);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
}
.daily-quest-intro {
  margin-bottom: 9px;
}
.daily-quest-intro strong {
  display: block;
  font: 900 14px var(--font);
}
.daily-quest-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.daily-quest-item {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 2px solid #173e60;
  border-radius: 5px;
  background: #234f78;
  color: white;
  text-align: left;
}
.daily-quest-item:hover {
  background: #2d608d;
}
.daily-quest-item-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.daily-quest-item-copy strong {
  overflow: hidden;
  font: 900 14px var(--font);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.daily-quest-item-copy small,
.daily-quest-quantity small {
  color: #c7d9e6;
  font-size: 8px;
}
.daily-quest-quantity {
  display: grid;
  text-align: right;
}
.daily-quest-quantity strong {
  font: 900 17px var(--font);
}
.daily-quest-arrow {
  color: #9ec3dc;
  font: 900 22px var(--font);
}
.daily-quest-message {
  min-height: 100px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  border: 2px solid #08233c;
  border-radius: 5px;
  background: #234f78;
  color: white;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
}
.daily-quest-message-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  flex: 0 0 39px;
  border: 2px solid #6f9fc1;
  border-radius: 50%;
  color: var(--aqua);
  font: 900 20px var(--font);
}
.daily-quest-message strong {
  display: block;
  font: 900 14px var(--font);
}
.daily-quest-message p {
  margin: 4px 0 0;
  color: #c8dae6;
  font-size: 9px;
}
.site-footer {
  margin-top: 34px;
  padding: 15px 2px 0;
  border-top: 2px solid rgba(121, 160, 190, 0.45);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #9bb3c6;
  font-size: 10px;
}
.site-footer a {
  color: #cce0ee;
  text-decoration: underline;
}
.site-footer a:hover {
  color: white;
}

.skeleton-row,
.skeleton-card,
.skeleton-chart {
  position: relative;
  overflow: hidden;
  background: #2d587f;
}
.skeleton-row {
  height: 67px;
  margin-bottom: 6px;
  border: 2px solid #08233c;
  border-radius: 5px;
}
.skeleton-card {
  height: 85px;
}
.skeleton-card-hero {
  height: 96px;
}
.skeleton-card-listing {
  height: 80px;
}
.skeleton-chart {
  height: 330px;
  background: #e5ebef;
}
.skeleton-row:after,
.skeleton-card:after,
.skeleton-chart:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: translateX(-100%);
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}

.item-page {
  padding-top: 14px;
}
.item-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.item-nav > span {
  font-size: 10px;
  color: #a9bfd0;
}
.item-notice {
  margin-bottom: 8px;
}
.item-layout {
  display: grid;
  grid-template-columns: 34% minmax(0, 66%);
  gap: 9px;
  align-items: start;
}
.item-sidebar {
  display: grid;
  gap: 7px;
}
.market-page {
  padding-top: 14px;
}
.market-heading {
  margin-bottom: 8px;
}
.market-heading h1 {
  margin: 0;
  font: 900 18px var(--font);
}
.market-controls {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 2px solid #061f36;
  border-radius: 5px;
  background: #17486f;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.28);
}
.market-search {
  height: 42px;
  display: flex;
  align-items: center;
  background: white;
  border: 2px solid #08233c;
  border-radius: 4px;
}
.market-search svg {
  width: 18px;
  height: 18px;
  margin: 0 10px;
  fill: none;
  stroke: #46657b;
  stroke-width: 2;
}
.market-search input {
  min-width: 0;
  flex: 1;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 10px 0 0;
  color: #173047;
  background: white;
}
.market-filter-row {
  display: grid;
  grid-template-columns: 0.7fr 1.2fr 1fr;
  gap: 7px;
}
.market-filter-row label {
  display: grid;
  gap: 3px;
  color: #bdd1df;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}
.market-filter-row select {
  min-width: 0;
  width: 100%;
  height: 34px;
  border: 2px solid #08233c;
  border-radius: 4px;
  background: #f7fafc;
  color: #173047;
  padding: 0 7px;
  font-size: 10px;
}
.directory-bar {
  margin-top: 14px;
}
.item-hero {
  min-height: 75px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #356493;
  border: 2px solid #08233c;
  border-radius: 5px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
}
.item-hero-main {
  min-width: 0;
  flex: 1;
}
.item-hero-main h1 {
  margin: 0;
  font: 900 17px var(--font);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}
.item-hero-price {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}
.item-hero-price i {
  font-style: normal;
  color: #17344d;
}
.item-hero-price .trend {
  min-width: 0;
  padding: 2px 4px;
  font-size: 8px;
}
.item-hero-price small {
  font-size: 8px;
}
.item-hero-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 4px;
  color: #d6e1e9;
  font-size: 8px;
}
.item-hero-meta b {
  color: #fff;
}
.fav-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  border: 1px solid #0a2943;
  border-radius: 5px;
  background: #174367;
  color: #d9e7f1;
  padding: 0;
}
.fav-btn svg {
  display: block;
  width: 17px;
  height: 17px;
}
.fav-btn:hover,
.fav-btn.is-fav {
  background: #0c2c48;
  color: #64f1e4;
}
.fav-btn:focus-visible {
  outline: 2px solid #64f1e4;
  outline-offset: 2px;
}
.market-info {
  overflow: hidden;
  border: 2px solid #08233c;
  border-radius: 5px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
}
.panel-title {
  min-height: 39px;
  display: flex;
  align-items: center;
  padding: 7px 10px;
  font: 900 14px var(--font);
  border-radius: 3px 3px 0 0;
  box-shadow: none;
}
.stats-row {
  display: grid;
}
.stat-card {
  min-height: 52px;
  padding: 8px 10px;
  background: #2eb852;
  border-top: 2px solid #15863a;
  color: white;
}
.stat-card:first-child {
  border-top: 0;
}
.stat-label {
  font-weight: 900;
  font-size: 10px;
  text-transform: none;
}
.stat-value {
  margin-top: 2px;
  font: 900 14px var(--font);
}
.stat-value small {
  font: 700 9px Arial;
}
.stat-value.pos {
  color: #fff;
}
.stat-value.neg {
  color: #fff;
}
.stat-sub {
  color: #e5ffec;
  font-size: 8.5px;
  margin-top: 1px;
}
.chart-panel {
  overflow: hidden;
  border: 2px solid #08233c;
  border-radius: 5px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
  background: white;
}
.chart-title {
  justify-content: space-between;
  gap: 10px;
}
.seg {
  display: flex;
  align-items: center;
  gap: 2px;
}
.seg button {
  border: 1px solid #315978;
  border-radius: 3px;
  background: #0a2e4c;
  color: #bcd0df;
  padding: 4px 7px;
  font: bold 8px Arial;
}
.seg button:hover {
  color: white;
}
.seg button.is-active {
  background: #5c88b1;
  color: white;
  border-color: #7ca4c5;
}
.chart-box {
  background: white;
  padding: 10px;
}
.chart-canvas {
  height: 330px;
  position: relative;
  background: #fff;
  overflow: hidden;
}
.chart-canvas svg {
  display: block;
  width: 100%;
  height: 100%;
}
.chart-empty {
  height: 100%;
  display: grid;
  place-items: center;
  color: #5e7280;
  font-size: 11px;
}
.chart-legend {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 5px 3px 0;
  color: #627681;
  font-size: 8.5px;
}
.lg-key {
  display: flex;
  align-items: center;
  gap: 5px;
}
.lg-key i {
  width: 13px;
  height: 2px;
  background: #0b456a;
}
.lg-key.vol i {
  width: 7px;
  height: 7px;
  background: #86a9be;
}
.chart-legend #chart-note {
  margin-left: auto;
  max-width: 52%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
}
.item-tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 10px;
}
.tool-panel {
  overflow: hidden;
  border: 2px solid #08233c;
  border-radius: 5px;
  background: #17486f;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
}
.calculator-body {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 10px;
  align-items: end;
  padding: 12px;
}
.calculator-body label {
  display: grid;
  gap: 4px;
  color: #bdd1df;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}
.calculator-body input {
  width: 100%;
  height: 39px;
  border: 2px solid #08233c;
  border-radius: 4px;
  background: white;
  color: #173047;
  padding: 0 9px;
  font-weight: 800;
}
.calc-result {
  display: grid;
  gap: 2px;
}
.calc-result span {
  color: #bcd0df;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}
.calc-result strong {
  font: 900 18px var(--font);
  color: #fff;
}
.calc-result small {
  color: #acd0e2;
  font-size: 8px;
}
.item-info-body {
  min-height: 92px;
  padding: 12px;
  color: #dce8ef;
  font-size: 10px;
  line-height: 1.45;
}
.item-info-body p {
  margin: 5px 0;
}
.item-info-body a {
  display: inline-block;
  margin-top: 6px;
  color: var(--aqua);
  font-weight: 800;
}
.info-type {
  display: inline-flex;
  padding: 3px 7px;
  border-radius: 3px;
  background: #356493;
  color: white;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}
.info-properties {
  color: #a8c5d8;
}
.listings-panel {
  margin-top: 10px;
  overflow: hidden;
  border: 2px solid #08233c;
  border-radius: 5px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
  background: #0b3557;
}
.listing-title {
  justify-content: space-between;
}
.listing-toolbar {
  display: flex;
  align-items: end;
  gap: 8px;
  flex-wrap: wrap;
  padding: 9px 10px;
  background: #17486f;
  border-top: 2px solid #08233c;
  border-bottom: 2px solid #08233c;
}
.listing-toolbar label {
  display: grid;
  gap: 3px;
  color: #bcd0df;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}
.listing-toolbar select,
.listing-toolbar input {
  height: 30px;
  min-width: 130px;
  border: 2px solid #082b48;
  border-radius: 3px;
  background: #f8fbfd;
  color: #173047;
  padding: 0 7px;
  font-size: 10px;
  outline: 0;
}
.listing-toolbar select:focus,
.listing-toolbar input:focus {
  border-color: var(--aqua);
}
.listing-meta {
  margin-left: auto;
  padding-bottom: 6px;
  color: #c2d5e3;
  font-size: 9px;
}
.listing-feed {
  display: grid;
  gap: 6px;
  padding: 6px;
  background: rgba(2, 21, 37, 0.65);
}
.listing-card {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  background: #356493;
  border: 2px solid #08233c;
  border-radius: 4px;
  color: white;
}
.listing-card:hover {
  background: #3e6f9d;
}
.listing-head {
  display: flex;
  align-items: center;
  gap: 7px;
}
.listing-tag {
  padding: 3px 6px;
  border-radius: 3px;
  font-size: 8px;
  font-weight: 900;
}
.listing-tag.sell {
  background: #23bd51;
  color: #062c16;
}
.listing-tag.buy {
  background: #60c9ff;
  color: #08263a;
}
.listing-price {
  font-weight: 900;
}
.listing-price small {
  font-size: 8px;
  color: #d8e4ec;
}
.listing-time {
  margin-left: auto;
  color: #d3e0e8;
  font-size: 9px;
}
.listing-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  color: #d7e3eb;
  font-size: 9px;
  padding: 0;
  margin: 0;
}
.listing-msg {
  padding: 7px 9px;
  border-left: 3px solid #73a7ca;
  background: #234f77;
  color: #f1f6fa;
  font-size: 10px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}
.listing-msg.is-collapsed {
  max-height: 78px;
  overflow: hidden;
  mask-image: linear-gradient(#000 58%, transparent);
  -webkit-mask-image: linear-gradient(#000 58%, transparent);
}
.listing-actions {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.mini-btn {
  border: 1px solid #143c5d;
  border-radius: 3px;
  background: #204d73;
  color: #e9f3f8;
  padding: 4px 7px;
  font-size: 8px;
  font-weight: 800;
}
.mini-btn:hover {
  background: #123b5e;
  color: white;
}
.empty-state {
  padding: 28px 15px;
  text-align: center;
  color: #c4d6e2;
}
.empty-state strong {
  display: block;
  color: white;
}
.empty-state p {
  margin: 4px 0 0;
  font-size: 10px;
}
.accuracy-note {
  color: #9eb7c9;
  font-size: 9px;
  text-align: center;
  margin: 12px 0 30px;
}
.account-dialog {
  width: min(420px, calc(100vw - 24px));
  max-height: calc(100vh - 36px);
  padding: 0;
  border: 3px solid #061e33;
  border-radius: 7px;
  background: #0b3557;
  color: white;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.58);
}
.account-dialog::backdrop {
  background: rgba(0, 10, 22, 0.74);
}
.account-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 2px solid #061e33;
  background: #0a2e4c;
}
.account-head h2 {
  margin: 1px 0 0;
  font: 900 17px var(--font);
}
.account-kicker {
  color: var(--aqua);
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.dialog-close {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 3px;
  background: #356493;
  color: white;
  font-size: 19px;
}
.dialog-close:hover {
  background: #497baa;
}
.account-guest,
.account-member {
  padding: 14px;
}
.account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  margin-bottom: 12px;
  border: 2px solid #08233c;
  border-radius: 5px;
  background: #082b49;
}
.account-tabs button {
  height: 34px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #9ebbd0;
  font-size: 10px;
  font-weight: 900;
}
.account-tabs button.is-active {
  background: #356493;
  color: #fff;
}
.account-form {
  display: grid;
  gap: 10px;
}
.account-intro {
  margin: 0 0 2px;
  color: #c2d5e3;
  font-size: 10px;
  line-height: 1.45;
}
.account-form > label:not(.show-password) {
  display: grid;
  gap: 4px;
  color: #d9e6ef;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}
.account-form input:not([type="checkbox"]) {
  width: 100%;
  height: 41px;
  padding: 0 10px;
  border: 2px solid #08233c;
  border-radius: 4px;
  background: #fff;
  color: #173047;
  outline: 0;
  text-transform: none;
}
.account-form input:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 2px rgba(101, 242, 228, 0.18);
}
.account-form small {
  color: #9db8cc;
  font-size: 8px;
  font-weight: 400;
  text-transform: none;
}
.show-password {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #c7d8e4;
  font-size: 9px;
}
.show-password input {
  accent-color: #2fba58;
}
.account-error {
  padding: 8px 9px;
  border: 1px solid #ff8990;
  border-radius: 4px;
  background: #7d2c33;
  color: #fff;
  font-size: 9px;
  line-height: 1.4;
}
.account-submit {
  width: 100%;
  min-height: 41px;
  border: 2px solid #0d5229;
  border-radius: 4px;
  background: #28b955;
  color: #fff;
  font-weight: 900;
  font-size: 11px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}
.account-submit:hover:not(:disabled) {
  background: #32c761;
}
.account-submit.secondary {
  margin-top: 14px;
  border-color: #153d5f;
  background: #315f88;
}
.account-submit.secondary:hover:not(:disabled) {
  background: #3c709e;
}
.account-fineprint {
  margin: 0;
  color: #93aec1;
  font-size: 8px;
  line-height: 1.45;
  text-align: center;
}
.account-identity {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 2px solid #08233c;
  border-radius: 5px;
  background: #356493;
}
.account-identity div {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.account-identity strong {
  font: 900 16px var(--font);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-identity span:not(.account-avatar) {
  color: #d6e3ec;
  font-size: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-access {
  display: flex;
  gap: 6px;
  margin: 10px 0;
}
.access-chip {
  padding: 5px 8px;
  border-radius: 4px;
  background: #21bc53;
  color: #062d17;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}
.access-chip.muted {
  background: #547b9d;
  color: #fff;
}
.permission-summary {
  padding: 11px;
  border: 2px solid #08233c;
  border-radius: 5px;
  background: #123f64;
}
.permission-summary h3 {
  margin: 0;
  font: 900 12px var(--font);
}
.permission-summary p {
  margin: 5px 0 0;
  color: #bfd3e1;
  font-size: 9px;
  line-height: 1.45;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 60;
  transform: translate(-50%, 7px);
  padding: 9px 13px;
  border: 2px solid #071e33;
  border-radius: 4px;
  background: #356493;
  color: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.45);
  font-size: 10px;
  opacity: 0;
  transition: 0.15s;
  pointer-events: none;
}
.toast:not([hidden]) {
  opacity: 1;
  transform: translate(-50%, 0);
}
.toast.error {
  background: #b73b43;
}
.mobile-nav {
  display: none;
}
.flash-up {
  animation: flash-up 0.7s ease;
}
.flash-down {
  animation: flash-down 0.7s ease;
}
@keyframes flash-up {
  0% {
    background: #19cf50;
  }
  to {
    background: transparent;
  }
}
@keyframes flash-down {
  0% {
    background: #ea4b53;
  }
  to {
    background: transparent;
  }
}

@media (max-width: 760px) {
  .topbar-inner {
    grid-template-columns: 1fr auto;
  }
  .data-status #status-text {
    display: none;
  }
  .page-shell {
    width: min(100% - 18px, 960px);
  }
  .item-layout {
    grid-template-columns: 1fr;
  }
  .item-sidebar {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
  }
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .chart-canvas {
    height: 285px;
  }
}
@media (max-width: 520px) {
  body {
    padding-bottom: 64px;
  }
  .logo {
    font-size: 14px;
  }
  .topbar-inner {
    padding: 0 8px;
  }
  .data-status {
    display: none;
  }
  .header-actions {
    gap: 4px;
  }
  .account-trigger {
    min-width: 34px;
    width: 34px;
    padding: 0;
  }
  .account-trigger > span:last-child {
    display: none;
  }
  .page-shell {
    width: calc(100% - 12px);
    padding-top: 10px;
    padding-bottom: 26px;
  }
  .notice-bar {
    font-size: 11px;
  }
  .search-section h1 {
    font-size: 21px;
  }
  .search-bar {
    height: 47px;
  }
  .search-go {
    padding: 0 12px;
    font-size: 11px;
  }
  .kbd-hint {
    display: none;
  }
  .quick-row {
    margin-bottom: 14px;
  }
  .market-overview div {
    padding: 10px 7px;
    text-align: center;
  }
  .market-overview strong {
    font-size: 13px;
  }
  .market-overview span {
    font-size: 7px;
  }
  .section-bar > span {
    display: none;
  }
  .section-bar > .daily-quest-reset {
    display: inline-flex;
  }
  .daily-quest-items {
    grid-template-columns: 1fr;
  }
  .daily-quest-panel {
    padding: 9px;
  }
  .daily-quest-item {
    padding: 9px;
  }
  .quote-head,
  .quote-row {
    grid-template-columns: minmax(0, 1.45fr) 0.65fr 0.6fr;
    padding-left: 9px;
    padding-right: 9px;
  }
  .quote-head .h-shouts,
  .q-shouts {
    display: none;
  }
  .q-name {
    font-size: 13px;
  }
  .tick {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }
  .q-price {
    font-size: 11px;
  }
  .activity-time {
    font-size: 8px;
  }
  .recent-section .card-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 1px 5px;
  }
  .recent-section .item-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
  .item-layout {
    display: block;
  }
  .item-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 8px;
  }
  .item-nav > span {
    display: none;
  }
  .item-hero-main h1 {
    font-size: 15px;
  }
  .chart-title {
    align-items: flex-start;
    flex-direction: column;
  }
  .panel-title {
    font-size: 13px;
  }
  .chart-canvas {
    height: 250px;
  }
  .chart-legend #chart-note {
    display: none;
  }
  .item-tools-grid {
    grid-template-columns: 1fr;
  }
  .calculator-body {
    grid-template-columns: 0.75fr 1.25fr;
  }
  .listing-title {
    align-items: flex-start;
    flex-direction: column;
  }
  .listing-toolbar label {
    flex: 1;
  }
  .listing-toolbar select,
  .listing-toolbar input {
    width: 100%;
    min-width: 110px;
  }
  .listing-meta {
    width: 100%;
    padding: 0;
  }
  .market-filter-row {
    grid-template-columns: 1fr 1fr;
  }
  .market-filter-row label:last-child {
    grid-column: 1/-1;
  }
  .site-footer {
    flex-direction: column;
    gap: 4px;
  }
  .mobile-nav {
    position: fixed;
    z-index: 45;
    left: 0;
    right: 0;
    bottom: 0;
    height: 58px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #082b49;
    border-top: 2px solid #315f86;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.35);
  }
  .mobile-nav button {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 2px;
    border: 0;
    background: transparent;
    color: #8faec4;
    font-size: 8px;
    font-weight: 800;
  }
  .mobile-nav button.is-active {
    color: #6df1e4;
    background: #0d3658;
  }
  .mobile-nav svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .toast {
    bottom: 70px;
  }
}

.account-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.45;
  text-transform: none !important;
}
.account-consent input {
  width: auto !important;
  margin-top: 2px;
}
.account-consent a {
  color: #116b50;
  text-decoration: underline;
}
.account-danger {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #d9b9b9;
}
.account-danger h3 {
  margin: 0 0 6px;
  color: #8a1f2c;
}
.account-danger p {
  margin: 0 0 10px;
  color: #704b50;
  font-size: 11px;
  line-height: 1.5;
}
.account-submit.danger {
  background: #a62838;
  border-color: #6f1420;
  color: #fff;
}
.account-submit.danger:hover {
  background: #871c29;
}
.legal-page {
  padding-top: 28px;
  padding-bottom: 60px;
}
.legal-page article {
  max-width: 760px;
  margin: 18px auto 0;
  padding: 28px 32px;
  border: 2px solid #0b3a1c;
  border-radius: 6px;
  background: #f9fff8;
  color: #173523;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2);
}
.legal-page h1 {
  margin: 0 0 16px;
  font-size: 28px;
}
.legal-page h2 {
  margin: 26px 0 8px;
  font-size: 16px;
  color: #145127;
}
.legal-page p {
  font-size: 13px;
  line-height: 1.7;
}
.legal-page a {
  color: #0b6942;
  text-decoration: underline;
}
.legal-kicker {
  margin: 0 0 5px !important;
  color: #5e7965;
  font-size: 10px !important;
  font-weight: 800;
  text-transform: uppercase;
}
@media (max-width: 520px) {
  .legal-page article {
    padding: 20px 16px;
  }
  .legal-page h1 {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .skeleton-row:after,
  .skeleton-card:after,
  .skeleton-chart:after {
    animation: none;
  }
  .quote-row {
    transition: none;
  }
}

.account-verification {
  display: grid;
  gap: 12px;
  padding: 8px 2px 2px;
  text-align: center;
}
.account-verification[hidden] {
  display: none;
}
.verification-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 2px;
  border: 2px solid #286286;
  border-radius: 50%;
  background: #17496f;
  color: #8fded8;
}
.verification-icon.is-success {
  border-color: #239b4b;
  background: #174d2a;
  color: #baff91;
}
.verification-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.account-verification h3 {
  margin: 0;
  font: 900 18px var(--font);
}
.account-verification p {
  margin: 0 8px 5px;
  color: #c2d5e3;
  font-size: 10px;
  line-height: 1.6;
}
.verification-code-form,
.password-reset-complete-form {
  width: 100%;
  padding-top: 3px;
  text-align: left;
}
.verification-code-form[hidden],
.password-reset-complete-form[hidden],
#password-reset-request-form[hidden],
#password-reset-identifier-field[hidden],
#password-reset-code-field[hidden] {
  display: none;
}
.account-form input.verification-code-input {
  text-align: center;
  font: 900 20px var(--font);
  letter-spacing: 0.3em;
  font-variant-numeric: tabular-nums;
}
.account-verification .account-submit.secondary {
  margin-top: 0;
}
.account-link-button {
  justify-self: center;
  border: 0;
  background: transparent;
  color: #9fc8df;
  padding: 5px 9px;
  font-size: 9px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.account-link-button:hover {
  color: #fff;
}
.account-link-button.account-forgot {
  justify-self: end;
  margin-top: -7px;
  padding-right: 0;
}
.account-access {
  flex-wrap: wrap;
}
.access-chip.verified {
  background: #dff7dc;
  color: #15552a;
}

}
@layer feature-layout {
/* Emerald game panels keep account controls in the market’s visual language. */
.account-site {
  background:
    url("/_releases/3aea3df4b649949c74784efc046265d1161c0260/static/emerald-city.svg") center 66px / 1200px 240px repeat-x,
    linear-gradient(180deg, #d8f3e1 0, #a2d4b5 620px, #6eae8b 1200px);
  background-attachment: scroll;
  background-color: #a2d4b5;
  color: #f4fff6;
  min-height: 100dvh;
  padding-bottom: 0;
  font-size: 16px;
  line-height: 1.55;
}
.account-site [hidden] {
  display: none !important;
}
.account-site .topbar {
  position: static;
}
.account-site .topbar-inner {
  display: flex;
  gap: 20px;
}
.account-site .market-link {
  margin-left: auto;
  color: #f4fff6;
  font-size: 16px;
}
.account-trigger {
  text-decoration: none;
}
.account-layout {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 24px 64px;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 32px;
}
.account-layout.is-guest {
  display: block;
  max-width: 540px;
}
.account-content {
  min-width: 0;
  grid-column: 2;
}
.page-heading {
  margin-bottom: 24px;
}
.page-heading h1 {
  color: #123e27;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.2;
  margin: 0;
}
.account-nav {
  display: grid;
  gap: 6px;
}
.account-nav a {
  padding: 12px 16px;
  border: 2px solid transparent;
  border-radius: 8px;
  color: #17462d;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
}
.account-nav a:hover {
  background: #c2dfcb;
}
.account-nav a[aria-current="page"] {
  background: #185c36;
  border-color: #0b3920;
  color: white;
  box-shadow: 0 3px 0 #a4c5ae;
}
.account-site #account-logout {
  margin: 16px 0;
  color: #244d35;
}
.account-panel,
.account-guest {
  background:
    linear-gradient(135deg, #ffffff06 0 20%, transparent 20% 80%, #031e160d 80%),
    linear-gradient(180deg, #286d43, #195638);
  border: 3px solid #0b3422;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow:
    0 6px 0 #0c3825,
    0 9px 0 #507b5666,
    0 16px 24px #173c3226,
    inset 0 2px 0 #baff915e,
    inset 2px 0 0 #8db86b33,
    inset 0 -3px 0 #072b244d;
}
.account-site h2 {
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 20px;
}
.account-site p {
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 18px;
}
.account-site .account-form {
  display: grid;
  gap: 20px;
  margin: 0;
}
.account-site .account-form label,
.account-site .item-search-field > label {
  display: grid;
  gap: 8px;
  color: #f4fff6;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.account-site input:not([type="checkbox"]) {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 13px;
  border: 2px solid #7fad90;
  border-radius: 7px;
  background: #fafffb;
  color: #143822;
  font:
    400 17px/1.4 system-ui,
    sans-serif;
  box-shadow: none;
  scroll-margin-block: 24px;
}
.account-site input::placeholder {
  color: #5b7062;
  opacity: 1;
}
.account-site input:focus {
  border-color: #c6fc88;
  outline: 3px solid #c6fc8855;
  outline-offset: 1px;
  box-shadow: none;
}
.account-site input[readonly] {
  background: #deeee3;
}
.account-site .account-form small,
.account-site .field-help {
  color: #d4e7d9;
  font:
    400 15px/1.5 system-ui,
    sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
.account-site .account-form > p {
  margin: -8px 0 0;
}
.account-site .password-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.account-site .password-field input {
  padding-right: 13px;
}
.account-site .password-toggle {
  min-height: 48px;
  min-width: 66px;
  padding: 0 10px;
  border: 2px solid #7fad90;
  border-radius: 5px;
  background: #e2f1e6;
  color: #174b2d;
  font:
    700 15px/1 system-ui,
    sans-serif;
  cursor: pointer;
}
.account-site .password-toggle:hover {
  background: #cce7d5;
}
.account-site .account-tabs {
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0 0 26px;
  border: 0;
  background: transparent;
}
.account-tabs a {
  flex: 1;
  text-align: center;
  padding: 11px 8px;
  font-size: 16px;
  color: #d6ebdc;
  border-bottom: 3px solid #447c5b;
  text-decoration: none;
  font-weight: 800;
}
.account-tabs a.is-active {
  color: #d3ffa9;
  border-color: #baff91;
}
.account-site .account-submit,
.account-site .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 18px;
  border: 2px solid #a3d278;
  border-radius: 7px;
  background: #c1f493;
  color: #173b22;
  text-decoration: none;
  font:
    800 16px/1.35 system-ui,
    sans-serif;
  cursor: pointer;
  box-shadow: 0 3px 0 #0a3020;
}
.account-site .account-submit:hover {
  background: #d6ffb3;
}
.account-site .secondary-button,
.account-site .account-submit.secondary {
  border-color: #739f84;
  background: #225f40;
  color: #f5fff7;
}
.account-site button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.account-site .account-link-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 8px 4px;
  border: 0;
  background: transparent;
  color: #dbffbd;
  font:
    700 16px/1.4 system-ui,
    sans-serif;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.account-site .account-forgot {
  justify-self: end;
  margin: -12px 0 -4px;
}
.account-site .account-consent {
  display: block !important;
  color: #e1eee5 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.6;
  padding: 8px 0;
  cursor: pointer;
}
.account-consent input {
  width: 22px;
  height: 22px;
  margin: 0 8px 0 0;
  vertical-align: middle;
  accent-color: #baff91;
}
.account-consent a {
  color: #dbffbd;
  text-decoration: underline;
}
.account-site .account-error {
  color: #7c1e1e;
  background: #fff0ed;
  border: 1px solid #e2a79e;
  border-radius: 7px;
  padding: 12px 14px;
  font-size: 16px;
  line-height: 1.5;
}
.account-site .success-message {
  background: #e3f7d7;
  color: #22552a;
  border-radius: 7px;
  padding: 12px 14px;
  font-size: 16px;
}
.account-site .success-message:empty {
  display: none;
}
.account-site .account-verification {
  text-align: left;
  padding: 0;
}
.account-site .account-verification > .account-submit {
  width: 100%;
  margin-top: 20px;
}
.account-site .account-verification > .account-link-button {
  display: flex;
  margin: 12px auto 0;
}
.account-site .verification-code-input {
  font-size: 22px !important;
  letter-spacing: 0.2em;
  text-align: left;
}
.profile-heading {
  display: flex;
  gap: 16px;
  align-items: center;
}
.profile-heading h2 {
  margin-bottom: 8px;
}
.account-site .account-avatar.large {
  width: 60px;
  height: 60px;
  flex-basis: 60px;
  font-size: 30px;
  flex-shrink: 0;
}
.profile-details {
  margin: 24px 0;
}
.profile-details > div {
  padding: 16px 0;
  border-top: 1px solid #48795b;
}
.profile-details dt {
  color: #cde2d4;
  font-size: 15px;
  margin-bottom: 5px;
}
.profile-details dd {
  margin: 0;
  font-size: 18px;
  overflow-wrap: anywhere;
}
.plan-badge,
.status-badge {
  display: inline-block;
  color: #d0ffa8;
  font-size: 15px;
  font-weight: 800;
}
.verified-label {
  color: #d0ffa8;
  font-size: 14px;
  margin-left: 10px;
}
.account-site summary {
  cursor: pointer;
  min-height: 44px;
  align-content: center;
  font-size: 16px;
}
.account-site details[open] summary {
  margin-bottom: 16px;
}
.account-site .danger-panel {
  margin-top: 24px;
  background: #f8f2ed;
  color: #5c2727;
  border-color: #cbaaaa;
}
.account-site .danger-panel label {
  color: #5c2727;
}
.account-site .account-submit.danger {
  background: #8b3333;
  border-color: #a54d4d;
  color: #fff;
}
.account-footer {
  display: flex;
  gap: 24px;
  margin-top: 28px;
}
.account-footer a {
  color: #28543a;
  min-height: 44px;
  align-content: center;
  font-size: 15px;
  text-decoration: underline;
}
.account-site :focus-visible {
  outline: 3px solid #ffd570;
  outline-offset: 3px;
}
.account-site #account-loading {
  color: #1d4c31;
}
@media (max-width: 700px) {
  .account-layout {
    display: block;
    padding: 24px 16px 40px;
  }
  .account-layout.is-guest {
    padding-top: 28px;
  }
  .account-nav {
    display: flex;
    gap: 4px;
  }
  .account-nav a {
    padding: 10px 4px;
    text-align: center;
    flex: 1 1 0;
    min-width: 0;
    white-space: normal;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .account-site #account-sidebar {
    margin-bottom: 26px;
  }
  .account-site #account-logout {
    display: flex;
    margin: 8px 0 0 auto;
  }
  .account-panel,
  .account-guest {
    padding: 22px 18px;
    border-radius: 10px;
  }
  .account-site .topbar-inner {
    padding-inline: 16px;
    gap: 10px;
  }
  .account-site .market-link {
    display: none;
  }
  .account-site .account-trigger {
    margin-left: auto;
    min-height: 44px;
  }
  .account-site .account-label {
    max-width: 120px;
  }
  .account-site .logo {
    font-size: 20px;
  }
  .account-site .account-form {
    gap: 22px;
  }
  .account-site .toast {
    bottom: 20px;
    max-width: calc(100% - 32px);
    font-size: 16px;
  }
}

.account-site .form-field {
  display: grid;
  gap: 8px;
}
.account-site .account-consent input {
  width: 22px;
  min-width: 22px;
  height: 22px;
}
.account-site .account-loading {
  color: #1d4c31;
}
.account-site .account-verification > p {
  margin-inline: 0;
  font-size: 16px;
  line-height: 1.6;
}
.account-site input[aria-invalid="true"] {
  border-color: #b44738;
  outline-color: #ffbbad;
}
.account-site .profile-heading > div {
  min-width: 0;
}
.account-site .account-tabs a {
  font-family: var(--body);
  font-size: 16px;
}
.account-site .account-error button {
  min-height: 44px;
  padding: 8px;
  border: 1px solid #ad675b;
  border-radius: 5px;
  background: #fff8f5;
  color: #742c22;
  font-weight: 700;
}
.account-footer {
  flex-wrap: wrap;
  gap: 12px 20px;
}
.account-site .account-footer #account-logout {
  margin: 0;
  font-size: 15px;
}
@media (max-width: 700px) {
  .account-site .account-trigger {
    min-width: 82px;
  }
  .account-site .account-trigger > span:last-child {
    display: block;
    max-width: 90px;
  }
  .account-site .account-nav {
    padding: 4px;
    border: 1px solid #a5c7af;
    border-radius: 9px;
    background: #cde3d4;
  }
  .account-site .account-nav a {
    font-size: 14px;
    min-height: 48px;
  }
  .account-site #account-sidebar {
    margin-bottom: 18px;
  }
  .account-site .page-heading {
    margin-bottom: 20px;
  }
  .account-site .account-layout {
    padding-top: 24px;
  }
  .account-site .account-tabs {
    gap: 4px;
  }
  .account-site .account-tabs a {
    padding-inline: 2px;
  }
}

/* Raised account tabs echo the bevelled blocks and warm highlights of the site. */
.account-site h1,
.account-site h2,
.account-site h3 {
  font-family: var(--font);
}
.account-site .page-heading h1 {
  text-shadow: 0 2px 0 #efffd299;
}
.account-site .account-nav {
  padding: 8px;
  gap: 12px;
  border: 2px solid #497756;
  border-radius: 12px;
  background: #6da47c;
  box-shadow:
    inset 0 2px 3px #284c3d55,
    0 3px 0 #36553c;
}
.account-site .account-nav a,
.account-site .account-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 2px solid #103c26;
  border-radius: 7px;
  color: #ebffdc;
  background: linear-gradient(#397b48, #245c37);
  box-shadow:
    inset 0 2px 0 #c5ff9660,
    inset 0 -2px 0 #072f2366,
    0 4px 0 #173c29;
  font-family: var(--font);
  transition: background 0.15s;
}
.account-site .account-nav a[aria-current="page"],
.account-site .account-tabs a.is-active {
  color: #143824;
  background: linear-gradient(#d7f19d, #a5d975);
  border-color: #214d2f;
  box-shadow:
    inset 0 2px 0 #f5ffc4,
    inset 0 -2px 0 #79a853,
    0 4px 0 #173c29;
}
.account-site .account-nav a:hover,
.account-site .account-tabs a:hover {
  filter: brightness(1.08);
}
.account-site .account-tabs {
  gap: 10px;
  margin-bottom: 28px;
}
.account-site .account-submit,
.account-site .secondary-button {
  font-family: var(--font);
  box-shadow:
    inset 0 2px 0 #efffd94d,
    inset 0 -2px 0 #0b312533,
    0 4px 0 #0a3020;
}
.account-site .account-submit:active,
.account-site .secondary-button:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 1px 2px #153f3655,
    0 2px 0 #0a3020;
}
.account-site .account-error,
.account-site .success-message {
  box-shadow: 0 3px 0 #25433033;
}
.account-site .profile-heading {
  padding-bottom: 20px;
  border-bottom: 2px solid #6d9c5955;
}
.account-site .profile-details {
  margin-top: 0;
}
.account-site .account-avatar.large {
  box-shadow:
    inset 0 2px 0 #c9f595,
    0 4px 0 #0a3020;
  border: 2px solid #102f20;
}
@media (min-width: 701px) {
  .account-nav {
    position: sticky;
    top: 24px;
  }
}
@media (max-width: 700px) {
  .account-site {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    background-size:
      900px 180px,
      auto;
  }
  .account-site .account-nav {
    gap: 10px;
    padding: 8px;
  }
  .account-site .account-nav a {
    font-size: 16px;
  }
  .account-site .toast {
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }
}

}
@layer feature-layout {
/* World Prices layout; the live UserSite design system owns its shared materials. */
.world-layout {
  max-width: 1280px;
  padding: var(--page-start) var(--page-gutter) 48px;
  margin: auto;
}
.world-layout [hidden] {
  display: none !important;
}
.world-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.world-heading h1 {
  font-size: 30px;
  line-height: 1.25;
  font-weight: 800;
  margin: 14px 0 6px;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}
.world-heading p,
.world-disclaimer,
.world-filter-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.world-switch {
  display: flex;
  gap: 20px;
  font-size: 14px;
}
.world-switch a {
  color: var(--muted);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}
.world-switch a[aria-current] {
  color: var(--text);
  border-color: var(--aqua);
}
.world-snapshot {
  font-size: 12px;
  color: var(--muted);
  text-align: right;
  line-height: 1.7;
  flex: 0 0 auto;
  max-width: 360px;
}
.world-snapshot strong {
  display: block;
  color: var(--text);
  font-weight: 800;
}
.world-snapshot small {
  font-size: 11px;
}
.world-disclaimer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 14px 0 22px;
  margin: 0;
}
.world-frame {
  border: 1px solid var(--line);
}
.world-filters {
  padding: 20px;
  margin-bottom: 28px;
}
.world-search-row {
  max-width: 720px;
}
.world-search-label {
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 8px;
}
.world-search-box {
  display: flex;
  align-items: center;
  border: 1px solid var(--control-border);
  background: var(--control-face);
  border-radius: var(--glass-control-radius);
  padding: 5px;
  gap: 8px;
}
.world-search-box svg {
  width: 20px;
  height: 20px;
  margin-left: 9px;
  stroke: var(--muted);
  stroke-width: 1.6;
  fill: none;
  flex-shrink: 0;
}
.world-search-box input {
  border: 0;
  background: transparent;
  padding: 9px 5px;
  color: var(--text);
  font: inherit;
  min-width: 0;
  width: 100%;
}
.world-search-row small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 7px;
}
.world-layout button,
.world-layout select {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--control-border);
  border-radius: var(--glass-control-radius);
  color: var(--text);
  background: var(--control-face);
  font: 700 13px/1.4 var(--font);
}
.world-layout button {
  cursor: pointer;
}
.world-layout button:hover,
.world-layout select:hover {
  background: var(--control-hover);
}
.world-layout button.world-primary {
  min-width: 86px;
}
.world-layout button:disabled {
  opacity: 0.45;
  cursor: default;
}
.world-layout :is(button, input, select, summary, a):focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
}
.world-controls {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
  padding: 20px 0 0;
}
.world-controls label,
.world-history-tools label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  flex: 1 1 145px;
}
.world-controls select {
  width: 100%;
}
.world-results-heading,
.world-panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.world-results-heading h2,
.world-panel-heading h2 {
  font-size: 18px;
  font-weight: 800;
}
.world-results-heading span,
.world-panel-heading span {
  font-size: 12px;
  color: var(--muted);
}
.world-filter-note {
  font-size: 12px;
  margin: 8px 0 12px;
}
.world-panel {
  padding: 8px;
  overflow: hidden;
}
.world-refreshing {
  position: relative;
  overflow: clip;
}
.world-refreshing:has([role="alert"]) {
  min-height: 240px;
}
.world-pending {
  visibility: hidden;
  pointer-events: none;
}
.world-loading-status {
  position: absolute;
  inset: 0;
}
.world-loading-status > .world-state {
  position: sticky;
  top: 90px;
  padding: 16px 24px;
}
.world-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
  line-height: 1.4;
}
.world-table th {
  padding: 11px 16px;
  background: var(--reading-head);
  color: var(--reading-muted);
  font-size: 12px;
  font-weight: 700;
}
.world-table td {
  padding: 14px 16px;
  border-top: 1px solid var(--reading-border);
  vertical-align: top;
}
.world-table tbody tr:hover {
  background: var(--reading-hover);
}
.world-table small {
  display: block;
  color: var(--reading-muted);
  font-size: 11px;
  line-height: 1.6;
  margin-top: 4px;
}
.world-table td:first-child {
  width: 25%;
}
.world-table .world-message-row td {
  width: auto;
  padding: 0 16px 10px;
  border: 0;
}
.world-message > summary {
  padding: 8px 0;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  color: var(--accent-text);
}
.world-message-body {
  padding: 0 0 8px;
  border: 0;
  border-radius: 0;
}
.world-message pre,
.discord-message {
  margin: 12px 0;
  font: 14px/1.7 var(--font);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.discord-message strong {
  font-weight: 800;
}
.discord-emoji {
  display: inline-block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  vertical-align: -5px;
  margin-inline: 3px;
}
.discord-emoji-fallback {
  margin-inline: 3px;
  font-weight: 800;
}
.discord-message code {
  padding: 2px 4px;
  border-radius: 4px;
  font:
    13px/1.6 ui-monospace,
    monospace;
}
.discord-message .discord-code-block {
  padding: 10px;
  border-radius: var(--glass-control-radius);
}
.discord-code-block code {
  padding: 0;
}
.world-message-note {
  margin: 0;
  font-size: 12px;
  color: var(--reading-muted);
}
.world-table .world-name {
  display: inline-block;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.world-table .world-name:hover {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.world-price {
  display: block;
  font-weight: 800;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.world-no-price {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}
.world-exact {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-text);
  background: var(--selected);
  padding: 2px 5px;
  border-radius: 3px;
  margin: 0 0 5px;
  display: table;
}
.world-advertiser {
  overflow-wrap: anywhere;
  max-width: 180px;
}
.world-scope {
  color: var(--text);
}
.world-pagination {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
  padding: 12px 0;
  border-block: 1px solid var(--reading-border);
  color: var(--text);
  font-size: 14px;
}
.world-pagination [data-prev] {
  justify-self: start;
}
.world-pagination [data-next] {
  justify-self: end;
}
.world-page-range {
  min-width: 0;
  text-align: center;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.world-state {
  margin: 0;
  padding: 45px 24px;
  color: var(--muted);
  text-align: center;
  line-height: 1.7;
}
.world-state strong {
  display: block;
  color: var(--text);
  font-weight: 800;
  font-size: 16px;
}
.world-state button,
.world-state a {
  margin: 12px 0 0;
  display: inline-block;
}
.world-state a {
  color: var(--accent-text);
}
.world-back {
  color: var(--accent-text);
  text-decoration: none;
  font-size: 13px;
}
.world-overview {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  padding: 24px;
  margin: 18px 0 24px;
}
.world-overview:empty {
  display: none;
}
.world-latest {
  border-left: 2px solid var(--aqua);
  padding-left: 16px;
}
.world-latest h2 {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}
.world-latest .world-price {
  font-size: 28px;
}
.world-latest .world-no-price {
  font-size: 20px;
}
.world-latest p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}
.world-stats {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-content: center;
}
.world-stats dt {
  font-size: 12px;
  color: var(--muted);
}
.world-stats dd {
  margin: 5px 0 0;
  font-size: 20px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.world-panel-heading {
  padding: 14px 16px;
  border-bottom: 1px solid var(--reading-border);
}
.world-active .world-state {
  padding: 20px;
  text-align: left;
  font-size: 13px;
}
.world-active .world-state strong {
  font-size: 14px;
}
.world-history-tools {
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
  margin-top: 28px;
}
.world-history-filters {
  padding: 16px;
  margin-top: 16px;
}
.world-history-filters .world-controls {
  padding: 0;
}
.world-history-filters input {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  font: 700 13px/1.4 var(--font);
}
.world-custom-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin-top: 16px;
}
.world-custom-dates label {
  display: grid;
  gap: 6px;
  flex: 1 1 145px;
  font-size: 13px;
  font-weight: 700;
}
.world-custom-dates p {
  flex-basis: 100%;
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.world-date-error {
  color: var(--red);
  margin: 12px 0 0;
}
.world-history-tools label {
  max-width: 180px;
}
.world-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--reading-border);
  border-radius: var(--glass-control-radius);
}
.world-tabs button {
  background: transparent;
  border-color: transparent;
}
.world-tabs button[aria-pressed="true"] {
  border-color: var(--selected-border);
  color: var(--accent-text);
}
.world-source {
  margin-top: 8px;
  font-size: 12px;
}
.world-source > summary {
  display: list-item;
  min-height: 44px;
  align-content: center;
  padding-block: 12px;
  cursor: pointer;
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 750;
}
.world-source dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  margin-top: 8px;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.world-source dt {
  color: var(--muted);
  margin: 0;
}
.world-source dd {
  margin: 0;
}
.world-source a {
  color: var(--accent-text);
}
.world-method {
  margin-top: 32px;
  padding: 20px;
  font-size: 14px;
}
.world-method summary {
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
}
.world-method div {
  max-width: 82ch;
  color: var(--muted);
  line-height: 1.7;
}
.world-method p {
  margin-top: 14px;
}
.world-footer {
  display: flex;
  gap: 18px;
  margin-top: 32px;
  font-size: 12px;
  color: var(--muted);
}
.world-footer a {
  color: var(--muted);
}
.world-footer span {
  margin-left: auto;
}
@media (max-width: 760px) {
  .world-heading {
    display: block;
  }
  .world-heading h1 {
    font-size: 26px;
  }
  .world-snapshot {
    text-align: left;
    margin-top: 16px;
  }
  .world-snapshot strong {
    display: inline;
    margin-right: 8px;
  }
  .world-snapshot br {
    display: none;
  }
  .world-snapshot small {
    display: block;
  }
  .world-filters,
  .world-overview,
  .world-method {
    padding: 16px;
  }
  .world-controls {
    gap: 12px 10px;
  }
  .world-controls label {
    flex-basis: calc(50% - 10px);
    min-width: 0;
  }
  .world-controls button {
    flex: 1 1 calc(50% - 10px);
  }
  .world-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .world-table,
  .world-table tbody {
    display: block;
  }
  .world-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding: 14px;
    gap: 12px 20px;
    border-bottom: 1px solid var(--reading-border);
  }
  .world-table tr:last-child {
    border-bottom: 0;
  }
  .world-table .world-message-row {
    display: block;
    padding: 0 14px 12px;
  }
  .world-table .world-message-row td {
    padding: 0;
  }
  .world-table td,
  .world-table td:first-child {
    display: block;
    padding: 0;
    border: 0;
    width: auto;
    min-width: 0;
  }
  .world-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 3px;
  }
  .world-table td:first-child::before {
    display: none;
  }
  .world-table td:first-child {
    grid-column: 1 / -1;
  }
  .world-table .world-name {
    font-size: 17px;
  }
  .world-table .world-exact {
    display: inline-block;
    margin: 0 8px 0 0;
  }
  .world-overview {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .world-stats {
    gap: 24px;
  }
  .world-stats dd {
    font-size: 18px;
  }
  .world-history-tools {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }
  .world-history-tools label {
    display: flex;
    align-items: center;
    max-width: none;
    flex: none;
  }
  .world-history-tools select {
    margin-left: auto;
  }
  .world-tabs button {
    flex: 1;
    font-size: 12px;
  }
  .world-results-heading {
    align-items: baseline;
  }
  .world-pagination {
    gap: 8px;
  }
  .world-layout button,
  .world-layout select {
    min-height: 44px;
  }
  .world-search-box input {
    font-size: 16px;
  }
  .world-history-filters input {
    font-size: 16px;
  }
}

/* World records share one outer glass frame; price, quoted wording and evidence
   have separate reading roles without another translucent box. */
.world-coverage {
  flex: 0 1 320px;
  max-width: 100%;
  font-size: 14px;
}
.world-coverage > summary {
  min-height: 44px;
  align-content: center;
  cursor: pointer;
  color: var(--accent-text);
  font-weight: 750;
}
.world-coverage #world-snapshot {
  margin-top: 8px;
  text-align: left;
  font-size: 13px;
}
.world-coverage #world-snapshot small {
  font-size: 12px;
}
.world-disclaimer strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
}
.world-disclaimer-label {
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 800;
}
.world-directory-table .world-name {
  font-size: 20px;
  line-height: 1.3;
}
.world-ask {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}
.world-ask .world-price {
  color: var(--accent-text);
  font-size: 26px;
  line-height: 1.25;
}
.world-ask .world-no-price {
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
}
.world-directory-table .world-scope {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
}
.world-directory-table :is(.world-ad-state, .world-ad-claims, .world-posted, .world-price-exact) {
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
}
.world-directory-table .world-advertiser {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}
.world-directory-table .world-ad-count {
  display: block;
  font-size: 15px;
}
.world-ad-quote {
  margin: 8px 0 12px;
  padding: 4px 0 4px 16px;
  border: 0;
  border-inline-start: 3px solid var(--accent-text);
  color: var(--text);
  font: 600 16px/1.7 var(--font);
}
.world-ad-quote .discord-message {
  margin: 0;
  color: inherit;
  font: inherit;
}
.world-ad-quote .discord-message + .discord-message {
  margin-top: 16px;
}
.world-message .world-message-note {
  color: var(--text);
  font-size: 13px;
  line-height: 1.6;
}
.world-message > summary {
  min-height: 44px;
  align-content: center;
  font-size: 14px;
}
.world-source dl {
  margin: 0;
  padding: 0 0 12px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.6;
}
.world-source dt {
  color: var(--text);
  font-weight: 700;
}
@media (max-width: 760px) {
  .world-directory-table td:nth-child(2) {
    grid-column: 1 / -1;
  }
  .world-directory-table td::before {
    margin-bottom: 6px;
    color: var(--text);
    font-size: 12px;
    font-weight: 750;
  }
  .world-directory-table tr {
    gap: 16px;
  }
  .world-pagination {
    font-size: 13px;
  }
}
@media (max-width: 480px) {
  .world-source dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }
  .world-source dd + dt {
    margin-top: 8px;
  }
}
@media (forced-colors: active) {
  .world-panel,
  .world-table tr,
  .world-search-box {
    border-color: CanvasText;
  }
  .world-layout button[aria-pressed="true"] {
    border-color: Highlight;
  }
}

/* Detail records: date and real ad status lead; the ask and scope stay together.
   Keep the shared outer glass and original-message disclosure unchanged. */
.world-record-table {
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}
.world-record-table td {
  padding-block: 18px;
}
.world-record-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.world-record-date {
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.world-record-status {
  max-width: 100%;
  padding: 4px 8px;
  border: 1px solid var(--reading-border);
  border-radius: 6px;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}
.world-record-table .world-price {
  color: var(--accent-text);
  font-size: 20px;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}
.world-record-table .world-no-price {
  color: var(--text);
  font-size: 16px;
  font-weight: 750;
}
.world-record-scope,
.world-record-count {
  display: block;
  color: var(--text);
  font-size: 16px;
  font-weight: 750;
}
.world-record-table .world-advertiser {
  color: var(--accent-text);
  font-size: 16px;
  font-weight: 750;
}
.world-record-table :is(.world-record-first, .world-record-claims, .world-price-exact) {
  margin-top: 8px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.world-record-table .world-message > summary {
  font-size: 15px;
}
@media (max-width: 760px) {
  .world-record-table tr:not(.world-message-row) {
    gap: 16px;
    padding: 18px 14px 10px;
    border-top: 1px solid var(--reading-border);
    border-bottom: 0;
  }
  .world-record-table tbody > tr:first-child {
    border-top: 0;
  }
  .world-record-table td {
    padding: 0;
  }
  .world-record-heading {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 12px;
  }
  .world-record-table td::before {
    margin-bottom: 6px;
    color: var(--reading-muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
  }
  :is(.world-ads-table, .world-active-table) td:nth-child(4) {
    grid-column: 1 / -1;
  }
  .world-record-table .world-message-row {
    padding: 0 14px 18px;
    border-bottom: 0;
  }
  .world-record-table .world-message-row td::before {
    display: none;
  }
}

}
