@font-face {
  font-family: Inter;
  src: url("/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ui-bg: #4548ed;
  --ui-panel: #fefefe;
  --ui-card: #f4f4f6;
  --ui-text: #36383c;
  --ui-muted: #494a4b;
  --ui-border: #4848e2;
  --ui-input: #fefefe;
  --ui-button: #f4f4f6;
  --ui-pink: #4548ed;
}
html[data-theme="light"] {
  --ui-bg: #4548ed;
  --ui-panel: #fefefe;
  --ui-card: #f4f4f6;
  --ui-text: #36383c;
  --ui-muted: #494a4b;
  --ui-border: #4848e2;
  --ui-input: #fefefe;
  --ui-button: #f4f4f6;
}
html[data-theme="dark"] {
  --ui-bg: #4548ed;
  --ui-panel: #36383c;
  --ui-card: #494a4b;
  --ui-text: #f4f4f6;
  --ui-muted: #c8d0f9;
  --ui-border: #7779fa;
  --ui-input: #494a4b;
  --ui-button: #494a4b;
}
html {
  background: #4548ed;
}
body,
body.market-page,
.compact-page {
  background: #4548ed;
  background-image: none;
  color: var(--ui-text);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  letter-spacing: normal;
  min-height: 100dvh;
}
body * {
  font-family: Inter, Arial, sans-serif;
}
body
  :is(
    h1,
    h2,
    h3,
    h4,
    .pixel,
    .eyebrow,
    .timer,
    .menu-item,
    button,
    .button,
    .player b,
    .stats
  ) {
  font-family: Inter, Arial, sans-serif !important;
  letter-spacing: normal !important;
}
.market-backdrop,
.street-banner,
.reference-store,
.heroart,
.home-ad-well .community-art {
  display: none !important;
}
.market-header,
.compact-page .market-header {
  min-height: 68px;
  height: auto;
  padding: 12px max(20px, calc((100vw - 1500px) / 2));
  background: #36383c;
  border: 0;
  color: #f4f4f6;
  box-shadow: 0 2px 8px #23242833;
}
.market-brand,
.compact-page .market-brand {
  font-family: Inter, Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #f4f4f6;
  line-height: 1.05;
}
.market-brand sup {
  font-size: 9px;
}
.market-brand small,
.compact-page .market-brand small {
  font-size: 11px;
  color: #c8d0f9;
  letter-spacing: normal;
  font-weight: 400;
}
.market-header nav,
.compact-page .market-header nav {
  gap: 4px;
}
.market-header nav a,
.compact-page .market-header nav a,
.market-header nav button {
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #c8d0f9;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  box-shadow: none;
}
.market-header nav a:hover,
.market-header nav button:hover,
.market-header nav a.active,
.market-header nav .theme-toggle {
  background: #494a4b;
  color: #f4f4f6;
  border-color: transparent;
}
.market-header nav .account-link {
  background: #fefefe;
  color: #4548ed;
  border: 1px solid #fefefe;
}
.market-header nav .account-link:hover {
  background: #c8d0f9;
  color: #36383c;
}
.market-header nav .theme-toggle {
  background: #494a4b !important;
  color: #f4f4f6 !important;
}
.market-header .compact-name {
  display: none;
}
.shell,
.compact-page .shell {
  max-width: 1500px;
  margin: 24px auto;
  padding: 0 20px;
}
.topline {
  display: block;
  margin: 0 0 12px;
  color: #f4f4f6;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: normal;
}
#notice:not(:empty) {
  max-width: 900px;
  margin: 0 0 12px;
  padding: 12px 16px;
  background: #fefefe;
  color: #36383c;
  border-radius: 9px;
  border: 1px solid #4848e2;
}
.panel,
.card,
.players-panel .player,
.advantages-panel .power,
.plate,
.recent-item {
  background: var(--ui-panel);
  color: var(--ui-text);
  border: 1px solid var(--ui-border);
  border-radius: 9px;
  clip-path: none;
  outline: 0;
  box-shadow: 0 8px 20px #23242822;
}
.panel {
  padding: 24px;
  margin-bottom: 16px;
}
.panel:before,
.menu-item.selected:after {
  display: none;
}
.card {
  background: var(--ui-card);
  padding: 16px;
  box-shadow: none;
}
h1,
h2,
h3,
.pixel {
  font-family: Inter, Arial, sans-serif;
  color: var(--ui-text);
  letter-spacing: normal;
  text-wrap: balance;
}
h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
}
h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
}
h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}
.panel h3,
.card h3 {
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.3;
}
.lot h2 {
  font-size: 28px !important;
  line-height: 1.15;
}
.panel .eyebrow {
  font-size: 14px !important;
}
p,
.doc p {
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
  text-wrap: pretty;
}
.doc p {
  font-size: 18px;
}
.eyebrow,
.topline {
  font-family: Inter, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: normal;
}
button,
.button,
button.primary,
.button.primary,
.quick-fields button,
.auction-panel > .row button {
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  min-height: 44px;
  padding: 10px 16px;
  background: var(--ui-button);
  color: var(--ui-text);
  border: 1px solid var(--ui-border);
  border-radius: 9px;
  box-shadow: none;
  transition:
    transform 0.16s ease-out,
    background-color 0.16s ease-out,
    opacity 0.16s ease-out;
}
button:hover:not(:disabled),
.button:hover:not(:disabled) {
  background: #fefefe;
  filter: none;
  transform: translateY(-1px);
}
button.primary,
.button.primary,
.home-controls > .primary,
.quick-fields button {
  background: #4548ed;
  color: #fefefe;
  border-color: #4548ed;
  text-shadow: none;
}
button.primary:hover:not(:disabled),
.button.primary:hover:not(:disabled),
.home-controls > .primary:hover:not(:disabled),
.quick-fields button:hover:not(:disabled) {
  background: #4848e2;
  color: #fefefe;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #4548ed;
  outline-offset: 2px;
}
.market-header button:focus-visible,
.market-header a:focus-visible {
  outline-color: #c8d0f9;
}
input,
select,
textarea {
  font-family: Inter, Arial, sans-serif;
  background: var(--ui-input);
  color: var(--ui-text);
  border: 1px solid var(--ui-border);
  border-radius: 9px;
  font-size: 16px;
  min-height: 44px;
}
input::placeholder,
textarea::placeholder {
  color: var(--ui-muted);
  font-style: normal;
}
label,
.quick-fields label {
  color: var(--ui-muted);
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
}
small,
.panel small,
.card small {
  color: var(--ui-muted);
}
.home-board {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr) 240px;
  gap: 24px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  min-height: 480px;
}
.menu-panel,
.menu-panel h3 {
  background: #36383c;
  color: #c8d0f9;
  border-radius: 0;
  margin: 0;
}
.menu-panel {
  padding: 20px 12px;
  gap: 4px;
}
.menu-panel h3 {
  font-family: Inter, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 12px;
  margin: 0 0 8px;
  letter-spacing: normal;
}
.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: auto;
  min-height: 48px;
  padding: 10px 12px;
  background: transparent;
  color: #c8d0f9;
  border: 0;
  border-radius: 9px;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  box-shadow: none;
}
.menu-item:hover:not(:disabled) {
  background: #494a4b;
  color: #f4f4f6;
  transform: none;
}
.menu-item.selected,
.menu-item.selected:hover:not(:disabled) {
  background: #4548ed;
  color: #fefefe;
  border: 0;
  margin: 0;
  box-shadow: none;
}
.menu-item .ui-icon {
  height: 20px;
  width: 20px;
  flex-shrink: 0;
}
.home-controls {
  padding: 40px 0 32px;
  min-width: 0;
}
.home-controls h1,
.home-controls h2 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--ui-text);
}
.home-controls p {
  font-size: 20px;
  line-height: 1.5;
  margin: 0 0 24px;
  color: var(--ui-muted);
}
.home-controls > .primary {
  font-size: 16px;
  height: 48px;
  max-width: 240px;
  margin: 0 0 24px;
}
.quick-fields {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 12px;
}
.quick-fields button {
  height: 44px;
}
.home-ad-well {
  border: 0;
  border-left: 1px solid #c8d0f9;
  padding: 40px 20px 20px 0;
  min-width: 0;
}
.home-ad-well > small {
  display: block;
  background: none;
  color: var(--ui-muted);
  font-family: Inter, Arial, sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: normal;
  margin-bottom: 12px;
}
.voice-card {
  border: 1px solid #4848e2;
  border-radius: 9px;
  background: #f4f4f6;
  padding: 16px;
  color: #36383c;
}
.voice-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #36383c;
}
.voice-card p {
  font-size: 14px;
  line-height: 1.45;
  margin: 0 0 12px;
  color: #494a4b;
}
.voice-card a {
  color: #4548ed;
  font-size: 14px;
  font-weight: 700;
}
.voice-orbit {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 9px;
  background: #4548ed;
  color: #fefefe;
  font-size: 22px;
}
.home-status {
  grid-column: 1/-1;
  margin: 0;
  padding: 12px 24px;
  background: #f4f4f6;
  border-top: 1px solid #c8d0f9;
  min-height: 52px;
  gap: 16px;
  color: #494a4b;
}
.home-status span + span {
  border: 0;
  padding: 0;
}
.home-status a,
.site-footer a,
.source-link,
.doc a {
  color: #4548ed;
}
.site-footer {
  max-width: 1500px;
  margin: 12px auto 32px;
  padding: 0 20px;
  color: #f4f4f6;
  gap: 16px;
}
.site-footer a,
.site-footer button {
  color: #f4f4f6;
}
.market-header .ui-icon,
.ui-icon {
  color: inherit;
}
.players-panel .player,
.player,
.recent-item,
.power,
.plate {
  border-radius: 9px;
  box-shadow: none;
}
.players-panel .is-you,
.category.active {
  background: #4548ed;
  color: #fefefe;
  border-color: #4548ed;
  box-shadow: none;
}
.players-panel .is-you b,
.players-panel .is-you small,
.players-panel .is-you .stats {
  color: #fefefe;
}
.players-panel .avatar,
.avatar {
  border-radius: 50%;
  overflow: hidden;
  background: #f4f4f6;
}
.match-board {
  gap: 16px;
}
.match-board > .panel {
  min-width: 0;
}
.lot,
.compose-panel {
  min-width: 0;
}
.lot .foodart,
.auction-panel > .foodart {
  background: #f4f4f6;
  border: 1px solid #c8d0f9;
  border-radius: 9px;
}
.bidbar,
.auction-panel > .bidbar {
  background: #36383c;
  border-color: #36383c;
  color: #f4f4f6;
  border-radius: 9px;
}
.bidbar strong,
.bidbar > div,
.lot .bidbar strong,
.lot .bidbar > div {
  color: #f4f4f6;
}
.bidbar small {
  color: #c8d0f9 !important;
}
.bidbar .pixel {
  color: #c8d0f9;
}
.timer {
  color: var(--ui-text);
  font-family: Inter, Arial, sans-serif;
  font-variant-numeric: tabular-nums;
}
.timer.is-urgent {
  color: #4548ed;
}
.seat-ribbon,
.players-panel h3 {
  border-color: #c8d0f9;
}
.audio-bar {
  color: var(--ui-text);
  background: var(--ui-panel);
  border: 1px solid var(--ui-border);
  border-radius: 9px;
  box-shadow: 0 4px 12px #23242822;
}
.audio-bar button {
  color: var(--ui-text);
  font-size: 12px;
  min-height: 32px;
}
.audio-bar input {
  accent-color: #4548ed;
}
.home-board .ad-slot:empty,
.ad-slot:empty {
  display: none;
}
html[data-theme="dark"] .home-board,
html[data-theme="dark"] .panel {
  background: var(--ui-panel);
}
html[data-theme="dark"] .home-status,
html[data-theme="dark"] .voice-card {
  background: var(--ui-card);
  color: var(--ui-text);
}
html[data-theme="dark"] .voice-card h3,
html[data-theme="dark"] .voice-card p {
  color: var(--ui-text);
}
html[data-theme="dark"] .voice-card a {
  color: #c8d0f9;
}
html[data-theme="dark"] .bidbar {
  background: #232428;
}
@media (max-width: 1100px) {
  .home-board {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .home-ad-well {
    grid-column: 2;
    border-left: 0;
    border-top: 1px solid #c8d0f9;
    padding: 0 24px 24px;
  }
  .home-controls {
    padding-right: 24px;
  }
}
@media (max-width: 700px) {
  .market-header,
  .compact-page .market-header {
    padding: 12px;
    gap: 8px;
  }
  .market-brand,
  .compact-page .market-brand {
    font-size: 18px;
  }
  .market-header nav,
  .compact-page .market-header nav {
    overflow: visible;
    flex-wrap: wrap;
    width: 100%;
    padding-bottom: 2px;
  }
  .market-header nav a,
  .compact-page .market-header nav a,
  .market-header nav button {
    font-size: 12px !important;
    min-height: 36px;
    padding: 8px;
    flex-shrink: 0;
  }
  .shell,
  .compact-page .shell {
    margin: 12px auto;
    padding: 0 12px;
  }
  .home-board {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .menu-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px;
    gap: 4px;
  }
  .menu-panel h3 {
    grid-column: 1/-1;
    margin: 0;
  }
  .menu-item {
    font-size: 13px !important;
    min-height: 44px;
    padding: 8px;
  }
  .home-controls {
    padding: 24px 20px;
  }
  .home-controls h1,
  .home-controls h2 {
    font-size: 36px;
  }
  .home-controls p {
    font-size: 16px;
  }
  .home-ad-well {
    grid-column: 1;
    padding: 20px;
    border-top: 1px solid #c8d0f9;
  }
  .home-status {
    padding: 12px 20px;
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
  }
  .quick-fields {
    grid-template-columns: 1fr 1fr;
  }
  .quick-fields button {
    grid-column: 1/-1;
  }
  .panel {
    padding: 16px;
  }
  .doc p {
    font-size: 16px;
  }
  .site-footer {
    padding: 0 12px;
    flex-wrap: wrap;
  }
  .audio-bar {
    max-width: calc(100vw - 24px);
    position: static !important;
    width: max-content;
    margin: 12px auto;
  }
  .match-board .panel {
    min-height: 0;
  }
  .match-board {
    grid-template-columns: 1fr;
  }
  .auction-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
