:root {
  --paper: #f8f7f2;
  --navy: #182840;
  --muted: #606a73;
  --gold: #96671e;
  --line: #deddd4;
  --green: #286647;
  --red: #aa4447;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--navy);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
.language-pending :is([data-i18n], [data-i18n-placeholder], #language, #login-label, #trader-noun) {
  visibility: hidden;
}
button,
input,
select {
  font: inherit;
}
button,
select {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:disabled {
  cursor: default;
}
h1,
h2,
p {
  margin: 0;
}
svg {
  width: 1.03em;
  height: 1.03em;
  display: block;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #ac812e;
  outline-offset: 3px;
}
.wrap {
  width: min(1280px, 90%);
  margin: auto;
}
.mast {
  background: #fbfaf6;
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  align-items: center;
  min-height: 74px;
  gap: 48px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
  font:
    600 23px Georgia,
    serif;
  letter-spacing: -0.8px;
}
.brand img {
  width: 39px;
  height: 39px;
  object-fit: contain;
}
.brand em {
  font-style: normal;
  font-weight: 400;
}
.bar nav {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  gap: 30px;
}
.bar nav a,
.bar nav button {
  font-size: 14px;
  display: grid;
  place-items: center;
}
.active {
  position: relative;
  font-weight: 600;
}
.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  left: 0;
  right: 0;
}
.text-button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--muted);
}
.text-button:hover,
.bar a:hover {
  color: var(--gold);
}
.gold-btn,
.primary {
  border: 1px solid #ae8538;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 17px;
  line-height: 1.25;
}
.gold-btn {
  margin-left: auto;
  background: #ede2bf;
  color: #433519;
}
.gold-btn:hover {
  background: #e5d4a5;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.hero-art {
  position: absolute;
  inset-block: 0;
  right: 0;
  width: 48%;
  z-index: -1;
  mix-blend-mode: multiply;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  mask-image:
    linear-gradient(90deg, transparent, #000 15%, #000 89%, transparent),
    linear-gradient(180deg, transparent, #000 10%, #000 89%, transparent);
  mask-composite: intersect;
}
.hero-copy {
  width: 54%;
}
.eyebrow,
.place,
.score-label {
  font:
    600 12px/1.4 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  letter-spacing: 1.7px;
}
.eyebrow {
  color: var(--gold);
  display: flex;
  gap: 11px;
  align-items: center;
}
.gold-rule {
  width: 29px;
  height: 1px;
  background: var(--gold);
}
h1,
h2,
.handle,
.money {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
}
h1 {
  font-size: clamp(56px, 5.2vw, 82px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.96;
  margin: 14px 0 15px;
}
h1 i {
  color: var(--gold);
  font-weight: 400;
}
@media (min-width: 681px) {
  h1:lang(en) {
    font-size: clamp(43px, 4.4vw, 64px);
  }
}
.intro {
  max-width: 60ch;
  color: var(--muted);
  line-height: 1.55;
  font-size: 16px;
}
.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 19px;
  font-size: 13px;
  color: #465260;
}
.hero-meta > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-meta > span + span:before {
  content: "";
  height: 13px;
  border-left: 1px solid #ccccc3;
  margin: 0 10px;
}
.hero-meta i {
  font-size: 16px;
  color: #927335;
}
.hero-meta b {
  font-weight: 600;
}
.podium {
  padding: 28px 0 30px;
}
.section-heading,
.title-line {
  display: flex;
  align-items: center;
}
.section-heading {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}
.title-line {
  gap: 12px;
}
.section-icon {
  display: inline-grid;
  place-items: center;
  padding: 7px;
  background: #eee9d9;
  border: 1px solid #e4ddc8;
  color: #88681f;
  border-radius: 7px;
  font-size: 18px;
}
h2 {
  font-size: clamp(27px, 2.25vw, 35px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.podium-stage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: "silver gold bronze";
  align-items: end;
  padding: 8px clamp(0px, 5vw, 80px) 0;
  border-bottom: 2px solid #c3b89c;
  background: radial-gradient(ellipse 62% 60% at 50% 100%, #e9e4d6 0%, transparent 90%);
}
.podium-step {
  min-width: 0;
  text-align: center;
  --edge: #b49249;
  --highlight: #f5e6b6;
  --face: #e1c17a;
  --shade: #c8a258;
  --ink: #705016;
  --height: 84px;
  grid-area: gold;
}
.podium-step.silver {
  grid-area: silver;
  --edge: #9ca8b4;
  --highlight: #e8edf1;
  --face: #c7d0d8;
  --shade: #afbac4;
  --ink: #4b5e70;
  --height: 59px;
}
.podium-step.bronze {
  grid-area: bronze;
  --edge: #b38d72;
  --highlight: #f0ddca;
  --face: #d9b69a;
  --shade: #c39f83;
  --ink: #754e33;
  --height: 40px;
}
.place {
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 1.25px;
}
.handle {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.1;
  margin: 5px 0;
}
.score-line {
  padding: 0 4px 12px;
  overflow-wrap: anywhere;
}
.money {
  font-size: clamp(18px, 1.7vw, 25px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
}
.unit {
  font: 600 11px/1.3 system-ui, sans-serif;
  color: var(--muted);
}
.plinth {
  height: var(--height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--edge);
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(110deg, var(--highlight), var(--face) 56%, var(--shade));
  box-shadow: inset 0 4px 0 var(--highlight), inset 0 5px 0 var(--edge);
  color: var(--ink);
  font: italic clamp(25px, 2.4vw, 36px)/1 Georgia, serif;
  text-shadow: 0 1px 0 var(--highlight);
}
.plinth::before, .plinth::after {
  content: "";
  width: clamp(10px, 3vw, 38px);
  height: 1px;
  background: var(--edge);
}
.positive {
  color: var(--green);
}
.negative {
  color: var(--red);
}
.status {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.status:before {
  content: "";
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: #a98747;
}
.status.live:before {
  background: var(--green);
}
.table-frame {
  background: #fffefa;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.tools,
.table-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
}
.tools {
  border-bottom: 1px solid var(--line);
}
.search,
.filter {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffefa;
  color: #636b71;
  padding: 0 10px;
  height: 35px;
  font-size: 14px;
}
.search input,
.filter select {
  border: 0;
  background: none;
  padding: 6px 0;
  font-size: 14px;
  color: var(--navy);
  min-width: 0;
}
.search input {
  width: 190px;
}
.filter select {
  appearance: none;
  padding-right: 20px;
}
.filter > span:last-child {
  margin-left: -22px;
  pointer-events: none;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  white-space: nowrap;
}
th,
td {
  text-align: left;
  padding: 12px 15px;
  border-bottom: 1px solid #e8e7e0;
}
th {
  background: #f4f3ed;
  font-size: 12px;
  color: #646c70;
  font-weight: 600;
}
.sorted {
  color: var(--gold);
}
.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
td.num {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
}
.total {
  font-weight: 700;
}
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 26px;
  font-weight: 600;
  font-size: 13px;
  border-radius: 5px;
}
.r1 {
  background: #f3e8c8;
  color: #855e16;
}
.r2 {
  background: #e7ecf1;
  color: #586677;
}
.r3 {
  background: #f4e4d7;
  color: #8c6043;
}
.trader {
  font-weight: 650;
}
.venue {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}
.asset {
  display: inline-block;
  background: #f3f3ed;
  border: 1px solid #e5e3da;
  padding: 3px 6px;
  font:
    600 11px ui-monospace,
    monospace;
  letter-spacing: 0.3px;
  border-radius: 4px;
  margin-right: 4px;
}
.table-foot,
.empty {
  font-size: 13px;
  color: var(--muted);
}
.paging {
  display: flex;
  align-items: center;
  gap: 10px;
}
.paging button,
.close {
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: #fffefa;
}
.paging button {
  font-size: 20px;
  width: 28px;
  height: 27px;
  line-height: 1;
}
.paging button:disabled {
  opacity: 0.35;
}
.empty {
  text-align: center;
  padding: 35px 16px;
}
.delayed {
  font: 500 11px system-ui;
  color: #91672c;
  margin-left: 5px;
}
footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding: 22px 0;
  color: var(--muted);
  font-size: 13px;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.foot-sep {
  color: #a89e84;
  margin: 0 6px;
}
.skip {
  position: fixed;
  left: 8px;
  top: -60px;
  z-index: 9;
  background: white;
  padding: 10px;
}
.skip:focus {
  top: 8px;
}
dialog {
  border: 1px solid #dcd8ca;
  background: #fcfbf6;
  color: var(--navy);
  border-radius: 15px;
  max-width: 465px;
  width: calc(100% - 30px);
  max-height: 85dvh;
  padding: 26px;
  box-shadow: 0 16px 80px #19273a30;
}
#rules {
  max-width: 620px;
  max-height: calc(100dvh - 32px);
}
dialog::backdrop {
  background: #15233571;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
}
.close {
  height: 32px;
  width: 32px;
  font-size: 22px;
  color: var(--muted);
}
dialog h2 {
  margin-bottom: 16px;
}
dialog p,
dd {
  line-height: 1.55;
  color: var(--muted);
  font-size: 15px;
}
dt {
  font-weight: 650;
  margin-top: 16px;
}
dd {
  margin: 4px 0;
}
.formula,
.notice {
  background: #f3efdf;
  padding: 12px;
  border-radius: 6px;
}
.primary {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
  margin-top: 15px;
}
.primary:disabled {
  opacity: 0.55;
}
.fields {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.fields label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}
.fields input,
.fields select {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}
.fields .primary {
  margin-top: 0;
}
.fields [hidden],
[hidden] {
  display: none !important;
}
.actions {
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.actions button {
  font-size: 14px;
  text-decoration: underline;
}
.feedback {
  margin-top: 12px;
  color: var(--red);
  font-size: 14px;
}
.secondary-copy {
  margin-top: 12px;
}
.primary:not(:disabled):hover {
  background: #2a405c;
}
@media (max-width: 950px) {
  .wrap {
    width: 93%;
  }
  .bar {
    gap: 28px;
  }
  th,
  td {
    padding: 11px;
  }
}
@media (max-width: 680px) {
  .wrap {
    width: 91%;
  }
  .bar {
    min-height: 63px;
    gap: 10px;
  }
  .brand {
    font-size: 20px;
    gap: 6px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .bar nav {
    display: none;
  }
  .gold-btn {
    padding: 9px 10px;
    font-size: 13px;
  }
  .hero {
    padding: 28px 0 22px;
  }
  .hero-copy {
    width: 100%;
  }
  .hero-art {
    display: none;
  }
  .hero h1 {
    font-size: clamp(43px, 9vw, 60px);
    position: relative;
    margin: 17px 0 19px;
  }
  .eyebrow {
    font-size: 11px;
  }
  .intro {
    max-width: 92%;
    font-size: 15px;
  }
  .hero-meta {
    font-size: 12px;
    margin-top: 15px;
  }
  .hero-meta > span + span:before {
    margin: 0 5px;
  }
  .podium {
    padding: 22px 0;
  }
  .section-heading {
    margin-bottom: 13px;
  }
  .title-line {
    gap: 8px;
  }
  .section-icon {
    font-size: 15px;
    padding: 6px;
  }
  .podium-stage {
    padding: 5px 0 0;
  }
  .place {
    font-size: 10px;
    letter-spacing: .65px;
  }
  .score-line {
    padding-bottom: 9px;
  }
  .podium-step .unit {
    display: block;
    margin-top: 2px;
    font-size: 10px;
  }
  .tools,
  .table-foot {
    padding: 10px;
  }
  .search {
    min-width: 0;
    flex: 1;
  }
  .search input {
    width: 100%;
  }
  .search input,
  .filter select {
    font-size: 12px;
  }
  .filter {
    gap: 5px;
  }
  .status {
    font-size: 11px;
  }
  .table-scroll table {
    min-width: 820px;
  }
  .table-foot {
    font-size: 12px;
  }
  footer {
    margin-top: 25px;
  }
}
@media (max-width: 370px) {
  .brand {
    font-size: 17px;
  }
  .gold-btn {
    font-size: 12px;
  }
  .money {
    font-size: 16px;
  }
}
.mobile-trader {
  display: none;
}
@media (max-width: 680px) {
  .table-scroll table {
    min-width: 0;
  }
  .table-scroll tr > *:nth-child(n + 4):nth-child(-n + 6) {
    display: none;
  }
  .table-scroll td,
  .table-scroll th {
    padding: 10px 9px;
  }
  .table-scroll .desktop-trader {
    display: none;
  }
  .mobile-trader {
    display: block;
  }
  .mobile-trader summary {
    cursor: pointer;
    color: var(--navy);
    font-weight: 650;
  }
  .mobile-trader dl {
    font-size: 12px;
    white-space: normal;
    margin: 9px 0 0;
  }
  .mobile-trader dt {
    margin: 5px 0 0;
    font-weight: 500;
    color: var(--muted);
  }
  .mobile-trader dd {
    margin: 0;
    color: var(--navy);
    font:
      600 12px/1.4 ui-monospace,
      monospace;
  }
}
@media (max-width: 480px) {
  .table-scroll tr > *:nth-child(3) {
    display: none;
  }
}
#language {
  margin-left: auto;
  padding: 6px 2px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 14px;
}
#account-open {
  margin-left: 0;
}
@media (max-width: 760px) {
  .bar nav {
    display: none;
  }
}

.tournament-picker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
}
.tournament-picker label {
  color: var(--muted);
}
.tournament-picker select {
  max-width: 100%;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--navy);
  background: var(--paper);
}
