@font-face {
  font-family: Geist;
  src: url('/shared/geist.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #101014;
  --surface: #19191f;
  --raised: #222229;
  --text: #faf9f7;
  --muted: #b0b0ba;
  --dim: #888892;
  --line: rgba(232, 230, 247, 0.13);
  --accent: #ff7964;
  --ink: #24120e;
  --gold: #ffd89a;
  --ease: cubic-bezier(0.22, 0.75, 0.22, 1);
  font-family: Geist, 'Segoe UI', 'Microsoft YaHei', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-synthesis: none;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100dvh;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  background: none;
  border: 0;
}
input,
select,
textarea {
  min-width: 0;
  max-width: 100%;
  min-height: 45px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #131318;
  padding: 10px 13px;
}
textarea {
  resize: vertical;
  min-height: 90px;
}
input::placeholder,
textarea::placeholder {
  color: var(--dim);
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
button:active:not(:disabled),
a.btn:active {
  transform: scale(0.98);
}
button,
.btn,
a {
  touch-action: manipulation;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.13;
  text-wrap: balance;
}
h1 {
  font-weight: 650;
  letter-spacing: -0.045em;
}
h2 {
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 620;
  letter-spacing: -0.035em;
}
h3 {
  font-size: 21px;
  letter-spacing: -0.024em;
}
p {
  line-height: 1.65;
}
img {
  max-width: 100%;
  display: block;
}
.icon {
  vertical-align: middle;
  flex: none;
}
[dir='rtl'] .i-arrow,
[dir='rtl'] .i-left,
[dir='rtl'] .i-right {
  transform: scaleX(-1);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  font-size: 25px;
  letter-spacing: -1.6px;
  font-weight: 725;
  line-height: 1.05;
}
.brand b {
  font-weight: 480;
}
.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  flex: none;
  background: url('/shared/mark.svg') center/contain no-repeat;
}
.brand small {
  margin-inline-start: 6px;
  padding-inline-start: 12px;
  border-inline-start: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--muted);
}
.btn,
.iconbtn,
.navlink,
.tab,
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 550;
  transition:
    transform 0.2s var(--ease),
    background-color 0.25s var(--ease),
    color 0.25s var(--ease);
}
.btn {
  padding: 10px 20px;
  text-align: center;
  line-height: 1.35;
}
.primary {
  color: var(--ink);
  background: var(--accent);
  box-shadow: inset 0 1px 0 #ffb5a6;
}
.primary:hover {
  background: #ff9584;
}
.secondary,
.iconbtn {
  background: rgba(245, 244, 255, 0.07);
  box-shadow: inset 0 0 0 1px var(--line);
}
.secondary:hover,
.iconbtn:hover,
.chip:hover {
  background: rgba(245, 244, 255, 0.13);
}
.subtle,
.textlink {
  color: var(--muted);
  background: transparent;
}
.subtle:hover,
.textlink:hover {
  color: var(--text);
}
.iconbtn {
  width: 44px;
  height: 44px;
  padding: 0;
  flex: none;
}
.btn .icon {
  width: 18px;
  height: 18px;
}
.actions,
.chips,
.pager,
.tabs,
.inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.end {
  justify-content: space-between;
}
.stack,
.form {
  display: grid;
  gap: 18px;
}
.form {
  gap: 16px;
}
.field {
  display: grid;
  gap: 7px;
  min-width: 0;
  font-size: 14px;
}
.field > span,
.check {
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 14px;
}
.check input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  accent-color: var(--accent);
}
.form > .btn {
  justify-self: start;
}
.form-error {
  color: #ffaba2;
  font-size: 14px;
}
.form-error:empty {
  display: none;
}
.dialog {
  width: min(510px, calc(100% - 30px));
  max-height: 87dvh;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 16px 85px #0006;
}
.dialog::backdrop {
  background: #08080cbf;
  backdrop-filter: blur(6px);
}
.dialog-head,
.sect-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.dialog-head {
  margin-bottom: 22px;
}
.dialog-head h2 {
  font-size: 25px;
}
.dialog .btn.primary {
  min-width: 116px;
}
.language-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  max-height: 53dvh;
  overflow-y: auto;
}
.language-list button {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: start;
  padding: 9px 12px;
  border-radius: 10px;
}
.language-list button:hover,
.language-list .selected {
  background: var(--raised);
  color: var(--accent);
}
#toast {
  position: fixed;
  inset-block-end: max(24px, env(safe-area-inset-bottom));
  inset-inline-start: 50%;
  z-index: 10;
  pointer-events: none;
  transform: translate(-50%, 10px);
  opacity: 0;
  background: #f6f1eb;
  color: #211b19;
  border-radius: 15px;
  padding: 12px 18px;
  font-size: 14px;
  transition:
    opacity 0.2s var(--ease),
    transform 0.25s var(--ease);
  max-width: 85vw;
  text-align: center;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
[dir='rtl'] #toast {
  inset-inline-start: auto;
  left: 50%;
}
.panel {
  min-width: 0;
  padding: clamp(17px, 2.1vw, 32px);
  border-radius: 22px;
  background: var(--surface);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.075),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.panel h2 {
  font-size: 22px;
  margin-bottom: 18px;
}
.muted,
.help {
  color: var(--muted);
}
.help {
  font-size: 14px;
}
.empty {
  padding: 40px 14px;
  text-align: center;
  color: var(--muted);
}
.empty .icon {
  opacity: 0.75;
  margin-bottom: 8px;
}
.table-scroll {
  max-width: 100%;
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  text-align: start;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
th,
td {
  padding: 14px 12px;
  text-align: start;
  border-bottom: 1px solid var(--line);
}
th {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
td:first-child,
th:first-child {
  padding-inline-start: 0;
}
td:last-child,
th:last-child {
  padding-inline-end: 0;
}
tbody tr:last-child td {
  border-bottom: 0;
}
table .btn {
  min-height: 36px;
  padding: 7px 13px;
  font-size: 13px;
}
.pager {
  justify-content: flex-end;
  margin-top: 15px;
}
.chip,
.tab {
  padding: 8px 16px;
  background: var(--surface);
  color: var(--muted);
}
.chip.active,
.tab.active {
  background: #f3eeea;
  color: #211b19;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 560;
  white-space: nowrap;
}
.pill.on {
  color: #a3e5c2;
  background: #243c33;
}
.pill.off {
  color: #e9c8ad;
  background: #3c322b;
}
.metric {
  padding: 22px;
  min-width: 0;
  background: var(--raised);
  border-radius: 17px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.metric > span {
  color: var(--muted);
  font-size: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.metric strong {
  font-size: clamp(28px, 3vw, 43px);
  letter-spacing: -0.05em;
  font-weight: 570;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.ad-unit {
  position: relative;
  isolation: isolate;
  display: block;
  min-height: 175px;
  overflow: hidden;
  border-radius: 20px;
  background: #303539;
  box-shadow: inset 0 0 0 1px var(--line);
}
.ad-unit.coral {
  background: #512e2a;
}
.ad-unit.gold {
  background: #51402d;
}
.ad-unit.ocean {
  background: #20383c;
}
.ad-unit > img {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: 56%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  mask-image: linear-gradient(90deg, transparent, #000 55%);
  opacity: 0.85;
}
[dir='rtl'] .ad-unit > img {
  mask-image: linear-gradient(-90deg, transparent, #000 55%);
}
.ad-copy {
  padding: 22px 28px;
  max-width: 76%;
  color: #fff;
}
.ad-copy small {
  color: #e0ded5;
  font-size: 11px;
}
.ad-copy h3 {
  margin: 5px 0;
}
.ad-copy p {
  color: #e0ded5;
  font-size: 14px;
}
.ad-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-top: 12px;
}
.ad-cta svg {
  width: 16px;
}
@media (max-width: 680px) {
  .metric {
    padding: 17px;
  }
  .ad-copy {
    padding: 17px 21px;
  }
  .dialog {
    padding: 19px;
  }
  .brand {
    font-size: 22px;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
  }
  .actions .btn {
    padding-inline: 15px;
  }
  th,
  td {
    padding-block: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
