.uf-market-page {
  min-height: 100vh;
  background: #050a0c;
  color: #d8ddda;
}

.uf-market-breadcrumbs {
  padding-top: 13px;
  padding-bottom: 13px;
}

.uf-market-stage {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  padding: clamp(26px, 4vw, 56px) 0 clamp(54px, 7vw, 96px);
  border-top: 1px solid rgba(111, 220, 227, 0.18);
  background:
    linear-gradient(180deg, rgba(2, 7, 9, 0.76) 0, rgba(5, 10, 12, 0.94) 420px, #05090b 100%),
    url("../images/guides/uf-guide-physical-economy-market.webp") center top / cover fixed;
}

.uf-market-stage::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(116, 217, 222, 0.025) 31px 32px),
    linear-gradient(90deg, rgba(5, 10, 12, 0.98) 0, transparent 13%, transparent 87%, rgba(5, 10, 12, 0.98) 100%);
  content: "";
  pointer-events: none;
}

.uf-market-intro {
  display: grid;
  align-items: end;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 24px;
}

.uf-market-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  color: #72dce3;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.uf-market-kicker svg {
  width: 16px;
  height: 16px;
}

.uf-market-intro h1 {
  margin: 0;
  color: #fff5d7;
  font-family: var(--uf-font-display);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-shadow: 3px 3px 0 #000, 0 0 28px rgba(62, 213, 223, 0.16);
}

.uf-market-intro > div > p {
  max-width: 660px;
  margin: 13px 0 0;
  color: #b8c3c2;
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.55;
}

.uf-market-snapshot {
  display: grid;
  min-width: min(100%, 460px);
  margin: 0;
  border: 1px solid rgba(191, 158, 87, 0.46);
  background: rgba(5, 9, 10, 0.82);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34), inset 0 0 0 1px rgba(255, 239, 190, 0.04);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.uf-market-snapshot > div {
  min-width: 0;
  padding: 13px 15px;
  border-right: 1px solid rgba(191, 158, 87, 0.2);
}

.uf-market-snapshot > div:last-child {
  border-right: 0;
}

.uf-market-snapshot dt {
  color: #849192;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.uf-market-snapshot dd {
  margin: 4px 0 0;
  overflow: hidden;
  color: #f8e5ad;
  font-family: var(--uf-font-mono);
  font-size: 16px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uf-market-snapshot .is-live dd {
  color: #86e8a0;
}

.uf-market-snapshot .is-stale dd {
  color: #ffba7a;
}

.uf-market-console {
  overflow: hidden;
  border: 1px solid #5b4c33;
  background: rgba(5, 8, 9, 0.96);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.54),
    0 0 0 1px #090b0c,
    0 0 0 3px rgba(116, 89, 50, 0.5),
    inset 0 1px 0 rgba(255, 237, 183, 0.08);
}

.uf-market-tabs {
  display: flex;
  align-items: stretch;
  min-height: 54px;
  border-bottom: 1px solid #29241c;
  background: linear-gradient(180deg, #121617, #090c0d);
}

.uf-market-tabs > strong,
.uf-market-tabs > a,
.uf-market-tabs__clock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.uf-market-tabs > strong {
  gap: 8px;
  min-width: 190px;
  padding: 0 20px;
  border-right: 1px solid #29241c;
  color: #eee7d4;
  font-family: var(--uf-font-display);
  font-size: 14px;
  letter-spacing: 0.05em;
}

.uf-market-tabs > strong span {
  color: #e9c66f;
}

.uf-market-tabs > strong svg {
  width: 18px;
  color: #71dbe1;
}

.uf-market-tabs > a {
  position: relative;
  min-width: 100px;
  padding: 0 18px;
  color: #858a88;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
}

.uf-market-tabs > a:hover,
.uf-market-tabs > a:focus-visible {
  color: #f8eac4;
}

.uf-market-tabs > a.is-active {
  color: #f4d27e;
}

.uf-market-tabs > a.is-active::after {
  position: absolute;
  right: 14px;
  bottom: -1px;
  left: 14px;
  height: 2px;
  background: #d4a84a;
  box-shadow: 0 0 12px rgba(236, 189, 91, 0.45);
  content: "";
}

.uf-market-tabs__clock {
  gap: 7px;
  margin-left: auto;
  padding: 0 18px;
  color: #728181;
  font-family: var(--uf-font-mono);
  font-size: 10px;
  white-space: nowrap;
}

.uf-market-tabs__clock svg {
  width: 14px;
  color: #62d780;
}

.uf-market-toolbar {
  display: grid;
  min-height: 68px;
  border-bottom: 1px solid #242525;
  background: #0b0f10;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(170px, 0.72fr));
}

.uf-market-search,
.uf-market-select {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  border-right: 1px solid #242525;
}

.uf-market-search {
  gap: 10px;
  padding: 0 17px;
}

.uf-market-search > svg {
  flex: 0 0 auto;
  width: 18px;
  color: #5bcbd2;
}

.uf-market-search input,
.uf-market-select select {
  min-width: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: #ede7d7;
  font: inherit;
}

.uf-market-search input {
  width: 100%;
  height: 66px;
  padding: 0;
  font-size: 14px;
}

.uf-market-search input::placeholder {
  color: #687273;
}

.uf-market-search:focus-within,
.uf-market-select:focus-within {
  background: #101718;
  box-shadow: inset 0 -2px 0 #5fd3da;
}

.uf-market-search kbd {
  display: inline-grid;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid #303a3b;
  background: #151b1c;
  color: #697677;
  font: 11px var(--uf-font-mono);
}

.uf-market-select {
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 0 15px;
}

.uf-market-select span {
  color: #696f6e;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.uf-market-select select {
  width: 100%;
  min-height: 28px;
  color-scheme: dark;
  font-size: 12px;
  font-weight: 700;
}

.uf-market-workspace {
  display: grid;
  min-height: 520px;
  grid-template-columns: 210px minmax(0, 1fr);
}

.uf-market-categories {
  padding: 18px 0;
  border-right: 1px solid #282725;
  background:
    linear-gradient(180deg, rgba(211, 169, 74, 0.025), transparent 40%),
    #090c0d;
}

.uf-market-categories__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 12px;
}

.uf-market-categories__heading span {
  color: #777b78;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.uf-market-categories__heading button,
.uf-market-empty button {
  border: 0;
  background: transparent;
  color: #65d5dc;
  cursor: pointer;
  font: 800 10px var(--uf-font-mono);
  text-transform: uppercase;
}

.uf-market-categories > button[data-uf-market-category] {
  display: grid;
  align-items: center;
  width: 100%;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-left: 2px solid transparent;
  background: transparent;
  color: #838887;
  cursor: pointer;
  font: inherit;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  text-align: left;
}

.uf-market-categories > button[data-uf-market-category] svg {
  width: 15px;
  height: 15px;
}

.uf-market-categories > button[data-uf-market-category] span {
  padding-left: 8px;
  font-size: 12px;
  font-weight: 700;
}

.uf-market-categories > button[data-uf-market-category] b {
  color: #5d6463;
  font: 600 10px var(--uf-font-mono);
}

.uf-market-categories > button[data-uf-market-category]:hover,
.uf-market-categories > button[data-uf-market-category]:focus-visible {
  background: rgba(255, 255, 255, 0.025);
  color: #e6dcc3;
}

.uf-market-categories > button[data-uf-market-category].is-active {
  border-left-color: #d9ad50;
  background: linear-gradient(90deg, rgba(213, 168, 70, 0.12), transparent);
  color: #efd17d;
}

.uf-market-categories__tip {
  display: grid;
  gap: 9px;
  margin: 22px 16px 0;
  padding: 13px;
  border-top: 1px solid #262927;
  color: #667071;
  grid-template-columns: auto minmax(0, 1fr);
}

.uf-market-categories__tip svg {
  width: 15px;
  color: #4fbcc3;
}

.uf-market-categories__tip p {
  margin: 0;
  font-size: 10px;
  line-height: 1.55;
}

.uf-market-inventory {
  min-width: 0;
  background: #080b0c;
}

.uf-market-resultsbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  padding: 12px 20px;
  border-bottom: 1px solid #282725;
  background: linear-gradient(180deg, #101516, #0b0f10);
}

.uf-market-resultsbar span {
  color: #6f7776;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.uf-market-resultsbar h2 {
  margin: 3px 0 0;
  color: #efe7d4;
  font-family: var(--uf-font-display);
  font-size: 17px;
}

.uf-market-resultsbar__legend {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #778181;
  font-size: 10px;
}

.uf-market-resultsbar__legend svg {
  width: 14px;
  color: #cda750;
}

.uf-market-listhead,
.uf-market-row {
  display: grid;
  align-items: center;
  grid-template-columns:
    minmax(260px, 1.5fr)
    minmax(86px, 0.38fr)
    minmax(150px, 0.62fr)
    minmax(190px, 0.8fr)
    72px;
}

.uf-market-listhead {
  min-height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid #232525;
  background: #090d0e;
  color: #555d5d;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.uf-market-listhead span {
  padding: 0 10px;
}

.uf-market-list {
  display: grid;
}

.uf-market-row {
  min-height: 78px;
  padding: 0 14px;
  border-bottom: 1px solid #202323;
  background: rgba(8, 12, 13, 0.94);
  transition: background 140ms ease, box-shadow 140ms ease;
}

.uf-market-row:nth-child(even) {
  background: rgba(12, 16, 17, 0.94);
}

.uf-market-row:hover {
  z-index: 1;
  background: linear-gradient(90deg, rgba(60, 196, 205, 0.07), rgba(17, 21, 22, 0.98) 58%);
  box-shadow: inset 2px 0 0 #5bcbd2;
}

.uf-market-row.is-popular {
  box-shadow: inset 2px 0 0 rgba(214, 171, 73, 0.58);
}

.uf-market-row[hidden] {
  display: none;
}

.uf-market-item {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 9px 10px;
}

.uf-market-item__slot {
  position: relative;
  display: grid;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid #3a362d;
  background:
    linear-gradient(135deg, rgba(225, 190, 100, 0.08), transparent 48%),
    #111719;
  box-shadow: inset 0 0 0 2px #07090a, inset 0 0 0 3px #273032;
}

.uf-market-item__slot img {
  position: relative;
  z-index: 1;
  display: block;
  width: 38px;
  height: 38px;
  image-rendering: pixelated;
  object-fit: contain;
  filter: drop-shadow(2px 3px 0 rgba(0, 0, 0, 0.55));
}

.uf-market-item__slot svg {
  width: 23px;
  color: #caa859;
}

.uf-market-row[data-item-key*="enchanted"] .uf-market-item__slot::after {
  position: absolute;
  z-index: 2;
  inset: 5px;
  background: linear-gradient(120deg, transparent 28%, rgba(216, 126, 255, 0.32) 45%, rgba(112, 226, 255, 0.28) 56%, transparent 72%);
  content: "";
  mix-blend-mode: screen;
  pointer-events: none;
  transform: translateX(-48%);
}

.uf-market-item__copy {
  min-width: 0;
  padding-left: 13px;
}

.uf-market-item__copy small {
  display: block;
  overflow: hidden;
  color: #9d824b;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.uf-market-item__copy strong {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #eee8d9;
  font-family: var(--uf-font-display);
  font-size: 15px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uf-market-item__copy em {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: #697575;
  font-size: 9px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uf-market-stock {
  min-width: 0;
  padding: 0 10px;
}

.uf-market-stock strong {
  display: block;
  color: #dce4df;
  font: 800 14px var(--uf-font-mono);
}

.uf-market-stock span {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #697272;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uf-market-price {
  display: grid;
  min-width: 0;
  margin: 0;
  padding: 0 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.uf-market-price > div {
  min-width: 0;
  padding-right: 9px;
}

.uf-market-price dt {
  color: #636b6a;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.uf-market-price dd {
  margin: 3px 0 0;
  overflow: hidden;
  color: #e8c86e;
  font: 800 13px var(--uf-font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uf-market-seller {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0 10px;
}

.uf-market-seller__head {
  display: block;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border: 1px solid #424a49;
  background: #101718;
  box-shadow: inset 0 0 0 2px #07090a;
}

.uf-market-seller__head img {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  object-fit: cover;
}

.uf-market-seller > span {
  min-width: 0;
  padding-left: 9px;
}

.uf-market-seller > span > a {
  display: block;
  overflow: hidden;
  color: #75d7dd;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uf-market-seller > span > a:hover,
.uf-market-seller > span > a:focus-visible {
  color: #b7faff;
  text-decoration: underline;
}

.uf-market-seller small {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #697271;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uf-market-map {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 5px;
  min-height: 34px;
  padding: 0 9px;
  border: 1px solid #5e502f;
  background: linear-gradient(180deg, #342c1d, #1a1711);
  color: #efd27c;
  font-size: 9px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.uf-market-map svg {
  width: 14px;
}

.uf-market-map:hover,
.uf-market-map:focus-visible {
  border-color: #d2a94f;
  background: #342a18;
  color: #fff0bb;
}

.uf-market-map.is-disabled {
  opacity: 0.42;
  pointer-events: none;
}

.uf-market-empty {
  display: none;
  min-height: 280px;
  padding: 42px 20px;
  place-items: center;
  align-content: center;
  color: #788180;
  text-align: center;
}

.uf-market-empty.is-visible {
  display: grid;
}

.uf-market-empty > svg {
  width: 35px;
  height: 35px;
  color: #bf9b4d;
}

.uf-market-empty h2 {
  margin: 13px 0 0;
  color: #e4dcc9;
  font-family: var(--uf-font-display);
  font-size: 20px;
}

.uf-market-empty p {
  margin: 7px 0 0;
  font-size: 12px;
}

.uf-market-empty button {
  margin-top: 15px;
}

.uf-market-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 52px;
  padding: 10px 18px;
  border-top: 1px solid #29251e;
  background: #0a0d0e;
}

.uf-market-footer p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #626968;
  font-size: 9px;
  line-height: 1.4;
}

.uf-market-footer svg {
  flex: 0 0 auto;
  width: 14px;
  color: #5dcf7a;
}

.uf-market-legacy[hidden],
.uf-market-panel[hidden],
.uf-market-group[hidden] {
  display: none !important;
}

.uf-market-view-switch {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid #39372f;
  background: #080c0d;
}

.uf-market-view-switch button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-right: 1px solid #30312d;
  background: transparent;
  color: #858d8b;
  cursor: pointer;
  font: inherit;
}

.uf-market-view-switch button:last-child {
  border-right: 0;
}

.uf-market-view-switch button svg {
  width: 15px;
  height: 15px;
}

.uf-market-view-switch button span {
  color: inherit;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.uf-market-view-switch button b {
  display: grid;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  place-items: center;
  background: #171d1e;
  color: #758080;
  font: 700 9px var(--uf-font-mono);
}

.uf-market-view-switch button:hover,
.uf-market-view-switch button:focus-visible {
  background: #111819;
  color: #d9e1dd;
}

.uf-market-view-switch button.is-active {
  background: linear-gradient(180deg, rgba(213, 168, 70, 0.18), rgba(213, 168, 70, 0.06));
  color: #efd17d;
  box-shadow: inset 0 -2px 0 #d4a84a;
}

.uf-market-view-switch button.is-active b {
  background: #2b2416;
  color: #f0d27e;
}

.uf-market-panel__hint {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 16px;
  border-bottom: 1px solid #242727;
  background: #090d0e;
  color: #6d7979;
  font-size: 9px;
}

.uf-market-panel__hint svg {
  width: 13px;
  color: #5dcbd2;
}

.uf-market-group-list {
  display: grid;
}

.uf-market-group {
  position: relative;
  border-bottom: 1px solid #222525;
  background: rgba(9, 13, 14, 0.97);
}

.uf-market-group:nth-child(even) {
  background: rgba(12, 16, 17, 0.97);
}

.uf-market-group.is-popular {
  box-shadow: inset 2px 0 0 rgba(214, 171, 73, 0.62);
}

.uf-market-group__summary {
  display: grid;
  align-items: center;
  width: 100%;
  min-height: 72px;
  padding: 7px 15px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  grid-template-columns: minmax(250px, 1fr) minmax(124px, 0.36fr) 108px;
  text-align: left;
}

.uf-market-group__summary:hover,
.uf-market-group__summary:focus-visible,
.uf-market-group.is-open > .uf-market-group__summary {
  outline: 0;
  background: linear-gradient(90deg, rgba(67, 201, 210, 0.075), rgba(18, 23, 24, 0.4) 65%);
  box-shadow: inset 2px 0 0 #56cbd3;
}

.uf-market-group.is-popular > .uf-market-group__summary:hover,
.uf-market-group.is-popular.is-open > .uf-market-group__summary {
  box-shadow: inset 2px 0 0 #d5aa4b;
}

.uf-market-group__identity {
  display: flex;
  align-items: center;
  min-width: 0;
}

.uf-market-group__identity > span:last-child {
  min-width: 0;
  padding-left: 12px;
}

.uf-market-group__identity small,
.uf-market-group__identity strong,
.uf-market-group__identity em,
.uf-market-group__metric small,
.uf-market-group__metric strong,
.uf-market-group__metric em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uf-market-group__identity small,
.uf-market-group__metric small {
  color: #97804d;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.uf-market-group__identity strong {
  margin-top: 3px;
  color: #eee8d9;
  font-family: var(--uf-font-display);
  font-size: 15px;
  line-height: 1.2;
}

.uf-market-group__identity em,
.uf-market-group__metric em {
  margin-top: 3px;
  color: #697575;
  font-size: 9px;
  font-style: normal;
}

.uf-market-group__head {
  display: block;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border: 1px solid #424a49;
  background: #101718;
  box-shadow: inset 0 0 0 2px #07090a;
}

.uf-market-group__head img {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  object-fit: cover;
}

.uf-market-group__metric {
  min-width: 0;
  padding: 0 12px;
}

.uf-market-group__metric strong {
  margin-top: 3px;
  color: #e8c86e;
  font: 800 14px var(--uf-font-mono);
}

.uf-market-group__action {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: #72d6dc;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.uf-market-group__action svg {
  width: 16px;
  transition: transform 160ms ease;
}

.uf-market-group.is-open .uf-market-group__action svg {
  transform: rotate(180deg);
}

.uf-market-group__body {
  border-top: 1px solid #2a3030;
  background: #060a0b;
  box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.18);
}

.uf-market-group__columns {
  display: grid;
  align-items: center;
  min-height: 30px;
  padding: 0 14px;
  border-bottom: 1px solid #212424;
  background: #080c0d;
  color: #505a5a;
  font-size: 8px;
  font-weight: 900;
  grid-template-columns: minmax(260px, 1.5fr) minmax(86px, 0.38fr) minmax(150px, 0.62fr) minmax(190px, 0.8fr) 72px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.uf-market-group__columns span {
  padding: 0 10px;
}

.uf-market-group__body .uf-market-row {
  background: rgba(7, 11, 12, 0.95);
}

.uf-market-group__body .uf-market-row:last-child {
  border-bottom: 0;
}

@media (max-width: 1180px) {
  .uf-market-intro {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .uf-market-snapshot {
    width: 100%;
  }

  .uf-market-tabs > a {
    min-width: auto;
    padding-right: 12px;
    padding-left: 12px;
  }

  .uf-market-toolbar {
    grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(140px, 0.72fr));
  }

  .uf-market-listhead,
  .uf-market-row,
  .uf-market-group__columns {
    grid-template-columns: minmax(240px, 1.4fr) 76px minmax(140px, 0.65fr) minmax(160px, 0.78fr) 62px;
  }

  .uf-market-map span {
    display: none;
  }
}

@media (max-width: 920px) {
  .uf-market-stage {
    background-attachment: scroll;
  }

  .uf-market-tabs {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .uf-market-tabs::-webkit-scrollbar,
  .uf-market-categories::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .uf-market-tabs > strong {
    min-width: 160px;
  }

  .uf-market-tabs > a {
    min-width: max-content;
  }

  .uf-market-tabs__clock {
    display: none;
  }

  .uf-market-toolbar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .uf-market-search {
    grid-column: 1 / -1;
    border-bottom: 1px solid #242525;
  }

  .uf-market-workspace {
    grid-template-columns: 1fr;
  }

  .uf-market-categories {
    position: sticky;
    z-index: 5;
    top: 78px;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    padding: 10px 12px;
    border-right: 0;
    border-bottom: 1px solid #282725;
    scrollbar-width: none;
  }

  .uf-market-categories__heading,
  .uf-market-categories__tip {
    display: none;
  }

  .uf-market-categories > button[data-uf-market-category] {
    flex: 0 0 auto;
    width: auto;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid transparent;
    border-left: 1px solid transparent;
    grid-template-columns: 16px auto auto;
  }

  .uf-market-categories > button[data-uf-market-category].is-active {
    border-color: #7b622f;
    background: #211b10;
  }

  .uf-market-categories > button[data-uf-market-category] b {
    padding-left: 7px;
  }

  .uf-market-listhead {
    display: none;
  }

  .uf-market-group__summary {
    grid-template-columns: minmax(220px, 1fr) 116px 94px;
  }

  .uf-market-group__columns {
    display: none;
  }

  .uf-market-row {
    gap: 8px 0;
    grid-template-areas:
      "item item action"
      "stock price seller";
    grid-template-columns: minmax(76px, 0.4fr) minmax(140px, 0.8fr) minmax(170px, 0.9fr);
    padding: 9px 12px;
  }

  .uf-market-item {
    grid-area: item;
  }

  .uf-market-stock {
    grid-area: stock;
  }

  .uf-market-price {
    grid-area: price;
  }

  .uf-market-seller {
    grid-area: seller;
  }

  .uf-market-map {
    grid-area: action;
  }
}

@media (max-width: 640px) {
  .uf-market-breadcrumbs {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .uf-market-stage {
    padding-top: 24px;
  }

  .uf-market-intro {
    gap: 18px;
    margin-bottom: 18px;
  }

  .uf-market-intro h1 {
    font-size: 42px;
  }

  .uf-market-intro > div > p {
    font-size: 14px;
  }

  .uf-market-snapshot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .uf-market-snapshot > div:nth-child(2) {
    border-right: 0;
  }

  .uf-market-snapshot > div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(191, 158, 87, 0.2);
  }

  .uf-market-tabs > strong {
    min-width: 142px;
    padding: 0 12px;
  }

  .uf-market-tabs > a {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 10px;
  }

  .uf-market-toolbar {
    grid-template-columns: 1fr;
  }

  .uf-market-search,
  .uf-market-select {
    min-height: 54px;
    border-right: 0;
    border-bottom: 1px solid #242525;
  }

  .uf-market-search input {
    height: 52px;
  }

  .uf-market-resultsbar {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
    padding: 14px;
  }

  .uf-market-view-switch {
    width: 100%;
  }

  .uf-market-view-switch button {
    flex: 1 1 50%;
    justify-content: center;
  }

  .uf-market-panel__hint {
    padding: 0 11px;
    font-size: 8px;
  }

  .uf-market-group__summary {
    min-height: 66px;
    padding: 7px 9px;
    grid-template-columns: minmax(0, 1fr) 92px 27px;
  }

  .uf-market-group__identity > span:last-child {
    padding-left: 9px;
  }

  .uf-market-group__identity .uf-market-item__slot {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }

  .uf-market-group__identity .uf-market-item__slot img {
    width: 33px;
    height: 33px;
  }

  .uf-market-group__head {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }

  .uf-market-group__identity strong {
    font-size: 13px;
    white-space: normal;
  }

  .uf-market-group__identity em,
  .uf-market-group__metric em {
    font-size: 8px;
  }

  .uf-market-group__metric {
    padding: 0 7px;
    text-align: right;
  }

  .uf-market-group__metric strong {
    font-size: 12px;
  }

  .uf-market-group__action b {
    display: none;
  }

  .uf-market-group__action svg {
    width: 15px;
  }

  .uf-market-row {
    min-height: 0;
    gap: 10px 0;
    grid-template-areas:
      "item action"
      "stock price"
      "seller seller";
    grid-template-columns: minmax(0, 1fr) minmax(136px, 0.7fr);
    padding: 11px 8px;
  }

  .uf-market-item {
    padding: 4px 7px;
  }

  .uf-market-item__slot {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }

  .uf-market-item__slot img {
    width: 34px;
    height: 34px;
  }

  .uf-market-item__copy {
    padding-left: 9px;
  }

  .uf-market-item__copy strong {
    font-size: 13px;
    white-space: normal;
  }

  .uf-market-stock,
  .uf-market-price {
    padding: 5px 9px;
    border-top: 1px solid #222626;
  }

  .uf-market-price {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .uf-market-seller {
    padding: 6px 8px 1px;
    border-top: 1px solid #222626;
  }

  .uf-market-map {
    margin-right: 7px;
  }

  .uf-market-map span {
    display: inline;
  }

  .uf-market-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .uf-market-row {
    transition: none;
  }
}
