:root {
  color-scheme: light;
  --ink: #080808;
  --lime: #d2ff45;
  --paper: #f7f7f3;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
html { overflow: hidden; }
body {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100vh;
  height: 100dvh;
  margin: 0;
  overflow: hidden;
}
main {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--paper);
  overflow: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #757b70 #080808;
}
[data-theme="dark"] main { scrollbar-color: #646e5f #080808; }
@supports not (scrollbar-width: thin) {
  main::-webkit-scrollbar { width: 8px; height: 8px; }
  main::-webkit-scrollbar-track,
  main::-webkit-scrollbar-corner { background: #080808; }
  main::-webkit-scrollbar-thumb {
    border: 2px solid #080808;
    border-radius: 8px;
    background: #757b70;
  }
  [data-theme="dark"] main::-webkit-scrollbar-thumb { background: #646e5f; }
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #567300; outline-offset: 5px; }
.skip { position: absolute; z-index: 3; top: 8px; left: 12px; background: white; padding: 12px; transform: translateY(-150%); }
.skip:focus { transform: none; }
.header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 18px;
  min-height: 68px;
  padding: 9px clamp(20px, 2.6vw, 40px);
  background: #000;
  color: #fff;
}
.header > .brand { justify-self: start; }
.header nav {
  display: flex;
  justify-content: flex-start;
  margin-inline-start: clamp(32px, 4vw, 70px);
  gap: 0 clamp(18px, 2.35vw, 38px);
  font-size: .9375rem;
}
.header nav a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
@media (max-width: 1160px) {
  .header { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
  .header nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; flex-wrap: wrap; margin-inline-start: 0; }
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 720; white-space: nowrap; letter-spacing: -.04em; }
.mark { display: flex; align-items: end; gap: 3px; height: 19px; transform: skewY(-16deg); }
.mark i { display: block; width: 4px; height: 8px; background: currentColor; }
.mark i:nth-child(2) { height: 13px; }
.mark i:nth-child(3) { height: 19px; }
nav a:hover, .footer-top:hover { text-decoration: underline; text-underline-offset: 5px; }
.pill { display: inline-flex; justify-content: center; align-items: center; gap: 14px; width: fit-content; min-height: 46px; padding: 0 24px; border-radius: 100px; font-size: 15px; font-weight: 630; white-space: nowrap; }
.pill:hover { filter: brightness(.88); }
.pill-lime { background: var(--lime); color: #000; }
.header-cta { margin-left: auto; min-height: 44px; }
.eyebrow { margin: 0 0 16px; font-size: clamp(16px, 1.55vw, 22px); font-weight: 520; }
h1, h2 { margin: 0; font-weight: 620; letter-spacing: -.065em; line-height: 1.04; word-break: keep-all; }
.section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 110px); align-items: center; padding: clamp(68px, 9vw, 144px) clamp(28px, 7vw, 120px); }
h2 { font-size: clamp(32px, 4.4vw, 64px); }
.intro { background: var(--paper); }
.community {
  flex-grow: 1;
  align-content: start;
  background: #080808;
  color: #fff;
}
.site-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 18px clamp(16px, 6vw, 96px);
  padding-right: max(146px, calc(env(safe-area-inset-right) + 130px));
  border-top: 1px solid #292d25;
  background: #080808;
  color: #fff;
}
.footer-brand { display: grid; justify-items: start; gap: 5px; }
.footer-brand small { color: #a9afa3; font-size: .75rem; line-height: 1.4; }
.footer-contacts { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.footer-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #42463d;
  border-radius: 50%;
  color: #e6eadf;
}
.footer-icon svg { width: 18px; height: 18px; }
.footer-icon[href]:hover { border-color: var(--lime); background: var(--lime); color: #080808; }
.footer-top { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; font-size: .875rem; white-space: nowrap; }
@media (max-width: 680px) {
  .header { column-gap: 12px; min-height: 60px; padding-inline: 14px; }
  .header nav { column-gap: 14px; font-size: .8125rem; }
  .header-cta { min-height: 39px; padding-inline: 16px; }
  .section { grid-template-columns: 1fr; }
  .site-footer {
    column-gap: 12px;
    padding-right: clamp(16px, 6vw, 96px);
    padding-bottom: max(76px, calc(env(safe-area-inset-bottom) + 60px));
  }
  .footer-contacts { gap: 5px; }
}
@media (prefers-reduced-motion: reduce) { main { scroll-behavior: auto; } }

.exchange-section {
  position: relative;
  isolation: isolate;
  padding: clamp(36px, 5.5vw, 84px) clamp(16px, 6vw, 96px);
  background: linear-gradient(122deg, #cdd2d5, #d9dfe2 58%, #e5e8ea);
}
.exchange-tickers {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}
.exchange-tickers img {
  position: absolute;
  display: block;
  aspect-ratio: 1;
  object-fit: contain;
  opacity: .17;
  filter: saturate(.65);
  transform: rotate(-13deg);
}
.exchange-tickers .ticker-btc { bottom: -48px; right: 9%; width: clamp(115px, 15vw, 220px); opacity: .24; }
.exchange-tickers .ticker-eth { top: -24px; left: 50%; width: clamp(74px, 10vw, 150px); opacity: .19; }
.exchange-tickers .ticker-sol { top: -25px; right: 4%; width: clamp(85px, 11vw, 158px); opacity: .22; }
.exchange-tickers .ticker-xrp { bottom: -7px; left: 36%; width: clamp(50px, 6.4vw, 98px); }
.exchange-tickers .ticker-link { top: 42%; right: -14px; width: clamp(34px, 4.7vw, 72px); }
.exchange-tickers .ticker-ada { bottom: 15px; right: 33%; width: clamp(25px, 3.6vw, 52px); }
.exchange-tickers .ticker-doge { bottom: -20px; left: 5%; width: clamp(75px, 9.5vw, 138px); opacity: .2; }
.exchange-tickers .ticker-bnb { top: 42px; right: 24%; width: clamp(40px, 5.4vw, 74px); }
.exchange-tickers .ticker-sui { top: 54%; left: -14px; width: clamp(36px, 4.8vw, 68px); }
.exchange-tickers .ticker-avax { top: -13px; left: 36%; width: clamp(32px, 4.2vw, 58px); }
[data-theme="dark"] .exchange-tickers img { filter: saturate(.8) brightness(1.2); }
@media (max-width: 740px) {
  .exchange-tickers .ticker-btc { bottom: -24px; right: 8%; width: 86px; }
  .exchange-tickers .ticker-eth,
  .exchange-tickers .ticker-link,
  .exchange-tickers .ticker-ada,
  .exchange-tickers .ticker-sui,
  .exchange-tickers .ticker-avax,
  .exchange-tickers .ticker-xrp { display: none; }
  .exchange-tickers .ticker-sol { top: -16px; right: 6%; width: 80px; opacity: .16; }
  .exchange-tickers .ticker-doge { bottom: -13px; left: 8%; width: 65px; }
  .exchange-tickers .ticker-bnb { top: 9px; right: 31%; width: 27px; opacity: .12; }
}
.exchange-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 22px;
}
.exchange-heading h1 {
  font-size: clamp(27px, 3.2vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.045em;
}
.exchange-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.exchange-card {
  min-width: 0;
  padding: clamp(18px, 2.15vw, 34px);
  background: #fbfbf7;
  border: 1px solid #171717;
  border-radius: 20px;
}
.exchange-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.exchange-name {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-weight: 700;
  font-size: clamp(24px, 2.45vw, 34px);
  line-height: 1;
  letter-spacing: -.055em;
}
.exchange-name-okx { font-weight: 900; }
.exchange-name img {
  flex-shrink: 0;
  width: clamp(32px, 3.2vw, 44px);
  height: auto;
}
.exchange-card-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.exchange-guide-link,
.exchange-signup {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid currentColor;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.exchange-guide-link { gap: 6px; background: var(--paper); }
.guide-book {
  position: relative;
  width: 14px;
  height: 11px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}
.guide-book::after {
  position: absolute;
  inset: 0 auto 0 50%;
  border-left: 1px solid currentColor;
  content: "";
}
.exchange-guide-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.exchange-signup:hover { background: var(--lime); color: #080808; }
.exchange-payback {
  margin: 20px 0 16px;
  padding: clamp(14px, 2vw, 22px);
  border-radius: 12px;
  background: var(--lime);
  color: #080808;
}
.exchange-payback dt { font-size: 14px; font-weight: 650; }
.exchange-payback dd {
  margin: 5px 0 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.08;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.055em;
}
.exchange-fees {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}
.exchange-fees > div { padding: 12px clamp(7px, 1.2vw, 16px); border-radius: 10px; background: #eceee7; }
.exchange-fees dt { font-size: 13px; font-weight: 650; }
.exchange-fees dt span { color: #4e5148; font-weight: 450; }
.exchange-fees dd {
  margin: 5px 0 0;
  font-size: clamp(19px, 1.65vw, 24px);
  font-weight: 680;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.055em;
}
.exchange-referral { margin: 20px 0 0; font-size: 14px; }
.exchange-referral > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  border-top: 1px solid #dbddd5;
  padding: 12px 0;
}
.exchange-referral > div:last-child { padding-bottom: 0; }
.exchange-referral dd { margin: 0; color: #4e5148; }
.exchange-referral .exchange-travel { align-items: center; }
.exchange-travel dt { flex-shrink: 0; }
.exchange-travel dd { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.exchange-travel a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 30px;
  padding-inline: 8px;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
}
.exchange-travel a:hover { background: var(--lime); color: #080808; }
@media (pointer: coarse) {
  .exchange-travel a { min-height: 44px; }
}
@media (max-width: 900px) {
  .exchange-section { padding-inline: 24px; }
}
@media (max-width: 740px) {
  .exchange-section { padding-inline: clamp(16px, 4.5vw, 28px); }
  .exchange-heading { display: block; }
  .exchange-grid { grid-template-columns: 1fr; gap: 12px; }
  .exchange-card { padding: 18px; border-radius: 16px; }
  .exchange-payback { margin-block: 12px 14px; }
  .exchange-fees > div { padding-inline: 12px; }
  .exchange-fees dd { font-size: 21px; }
  .exchange-referral { margin-top: 16px; }

}

.header-actions { display: flex; align-items: center; justify-self: end; gap: 10px; }
.theme-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid #60605c;
  border-radius: 50%;
  background: transparent;
  color: white;
  font: 24px/1 system-ui, sans-serif;
  cursor: pointer;
}
.theme-toggle:hover { border-color: var(--lime); color: var(--lime); }
.theme-toggle:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.theme-sun, [data-theme="dark"] .theme-moon { display: none; }
[data-theme="dark"] .theme-sun { display: inline; }
[data-theme="dark"] { color-scheme: dark; --ink: #f5f6ef; --paper: #141615; }
[data-theme="dark"] .skip { background: #181a17; }
[data-theme="dark"] .exchange-section { background: #121611; }
[data-theme="dark"] .exchange-card { background: #20251f; border-color: #444e3c; }
[data-theme="dark"] .exchange-fees > div { background: #2d3529; }
[data-theme="dark"] .exchange-fees dt span,
[data-theme="dark"] .exchange-referral dd { color: #bec7b7; }
[data-theme="dark"] .exchange-referral > div { border-color: #424a3e; }
@media (max-width: 680px) {
  .header-actions { gap: 8px; }
  .theme-toggle { width: 40px; height: 40px; }
}

.events-section {
  position: relative;
  isolation: isolate;
  padding: clamp(36px, 5vw, 72px) clamp(16px, 6vw, 96px);
  background: var(--paper);
}
.event-confetti {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 0 0, #d6ef982e, transparent 42%),
    radial-gradient(ellipse at 100% 100%, #b5a8f128, transparent 43%);
}
.event-confetti span {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: var(--size);
  height: calc(var(--size) * .48);
  border-radius: 2px;
  background: #97b743;
  opacity: .5;
  transform: rotate(var(--angle));
}
.event-confetti span:nth-child(3n + 1) {
  height: calc(var(--size) * .66);
  border: 2px solid #c2924d;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  background: transparent;
}
.event-confetti span:nth-child(3n + 2) { background: #a092d2; }
.event-confetti span:nth-child(5n) { height: var(--size); border-radius: 50%; }
[data-theme="dark"] .event-confetti {
  background:
    radial-gradient(ellipse at 0 0, #91c84b18, transparent 42%),
    radial-gradient(ellipse at 100% 100%, #9880df1d, transparent 43%);
}
[data-theme="dark"] .event-confetti span { opacity: .62; }
@media (max-width: 740px) {
  .event-confetti span { scale: .7; }
  .event-confetti span:nth-child(even) { display: none; }
}
.exchange-heading,
.events-section > h2 { margin-bottom: clamp(20px, 2vw, 30px); }
.events-section > h2 { font-size: clamp(28px, 3.1vw, 44px); }
.event-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #c8cac3;
  border-radius: 16px;
  background: #fff;
}
.event-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(16px, 1.6vw, 24px);
}
.event-cover {
  position: relative;
  display: grid;
  align-items: center;
  min-width: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: radial-gradient(ellipse at 95% 95%, #30460b, transparent 72%), #111;
}
.event-cover-bybit { background: radial-gradient(ellipse at 100% 95%, #5c350e, transparent 68%), #101013; }
.event-cover-toobit { background: radial-gradient(ellipse at 100% 95%, #073ca8, transparent 72%), #071123; }
.event-cover-okx::after {
  position: absolute;
  z-index: -1;
  inset: -40% -24% -60% 49%;
  transform: rotate(-29deg);
  background: repeating-linear-gradient(90deg, transparent 0 24px, #dcff652e 25px 26px, #dcff6509 27px 48px);
  content: "";
}
.event-cover-copy { display: grid; gap: 8px; padding: clamp(18px, 3vw, 34px); }
.event-cover-copy span { font-size: 14px; font-weight: 800; }
.event-cover-copy strong { font-size: clamp(21px, 2.2vw, 34px); line-height: 1.1; letter-spacing: -.04em; word-break: keep-all; }
.event-cover-copy b { color: var(--lime); font-size: clamp(15px, 1.45vw, 22px); }
.event-cover-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #101013; }
.event-top { display: flex; align-items: center; gap: 8px; }
.event-top img { flex: 0 0 auto; }
.event-exchange { font-size: .875rem; font-weight: 650; }
.event-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 3px 8px;
  border: 1px solid #dbe5c5;
  border-radius: 100px;
  background: #f2f8e9;
  color: #3e5827;
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
}
.event-status::before { width: 5px; height: 5px; border-radius: 50%; background: currentColor; content: ""; }
.event-status.is-ended { background: #eee; border-color: #ddd; color: #555; }
.event-card h3 {
  margin: 12px 0 14px;
  font-size: 1.1875rem;
  font-weight: 680;
  line-height: 1.35;
  letter-spacing: -.035em;
  word-break: keep-all;
}
.event-facts { margin: 0; padding: 4px 12px; border-radius: 10px; background: #f1f3ee; }
.event-facts > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px 10px;
  padding: 9px 0;
}
.event-facts > div + div { border-top: 1px solid #daddd5; }
.event-facts dt { font-size: .8125rem; font-weight: 550; color: #4e5148; }
.event-facts dd { margin: 0; font-size: .875rem; font-variant-numeric: tabular-nums; }
.event-facts .event-prize { display: flex; align-items: baseline; justify-content: flex-end; flex-wrap: wrap; gap: 2px 5px; }
.event-prize strong { font-size: 1.5rem; font-weight: 720; line-height: 1.15; letter-spacing: -.04em; }
.event-card p, .events-updated { font-size: .875rem; line-height: 1.55; color: #4e5148; word-break: keep-all; }
.event-card p { margin: 12px 0 6px; }
.events-updated { margin: 14px 0 0; font-size: .8125rem; }
.event-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: auto; font-size: .875rem; font-weight: 650; }
.event-link:hover { text-decoration: underline; text-underline-offset: 3px; }
[data-theme="dark"] .event-card { background: #20251f; border-color: #444e3c; }
[data-theme="dark"] .event-facts { background: #292f26; }
[data-theme="dark"] .event-facts > div + div { border-color: #424a3e; }
[data-theme="dark"] .event-status:not(.is-ended) { background: #303d26; border-color: #445739; color: #d3f5a1; }
[data-theme="dark"] .event-facts dt,
[data-theme="dark"] .event-card p,
[data-theme="dark"] .events-updated { color: #bec7b7; }
@media (max-width: 1060px) {
  .event-facts > div { grid-template-columns: 1fr; }
  .event-facts .event-prize { justify-content: flex-start; }
}
@media (max-width: 900px) {
  .events-section { padding-inline: 24px; }
}
@media (max-width: 740px) {
  .events-section { padding-inline: clamp(16px, 4.5vw, 28px); }
}

.exchange-guides {
  padding: clamp(36px, 5vw, 72px) clamp(16px, 6vw, 96px);
  background: var(--paper);
}
.exchange-guides > h2 { margin-bottom: 22px; font-size: clamp(28px, 3.1vw, 44px); }
.exchange-guide-layout {
  display: grid;
  grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(14px, 3vw, 40px);
}
.exchange-guide-nav { display: grid; gap: 8px; }
.exchange-guide-nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid #c8cac3;
  border-radius: 12px;
  font-weight: 650;
}
.exchange-guide-nav a[aria-current] { border-color: #779136; background: var(--lime); color: #080808; }
.exchange-guide-nav a:hover { border-color: var(--ink); }
.exchange-guide-nav img { flex: 0 0 auto; }
.exchange-guide-card {
  padding: clamp(16px, 2.7vw, 36px);
  border: 1px solid #c8cac3;
  border-radius: 18px;
  background: #fff;
}
.exchange-guide-card h3 { margin: 0 0 18px; font-size: clamp(21px, 2.3vw, 32px); }
.guide-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.guide-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid #daddd5;
  border-radius: 12px;
}
.guide-step-copy { display: flex; align-items: center; gap: 9px; }
.guide-step-copy span { padding: 5px 7px; border-radius: 6px; background: var(--lime); color: #080808; font-size: .8125rem; font-weight: 700; }
.guide-step h4 { margin: 0; font-size: .9375rem; }
.guide-step-image { min-height: 72px; border: 1px dashed #b9bfb2; border-radius: 8px; background: var(--paper); }
[data-theme="dark"] .exchange-guide-card { background: #20251f; }
[data-theme="dark"] .exchange-guide-card,
[data-theme="dark"] .guide-step,
[data-theme="dark"] .exchange-guide-nav a:not([aria-current]),
[data-theme="dark"] .guide-step-image { border-color: #444e3c; }
@media (max-width: 740px) {
  .exchange-guide-layout { grid-template-columns: 1fr; }
  .exchange-guide-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .exchange-guide-nav a { justify-content: center; gap: 5px; padding-inline: 5px; font-size: .8125rem; }
  .exchange-guide-nav img { width: 22px; height: 22px; }
  .guide-step { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .exchange-guides { padding-inline: 24px; }
}
@media (max-width: 740px) {
  .exchange-guides { padding-inline: clamp(16px, 4.5vw, 28px); }
}

main > section,
main > .site-footer { flex-shrink: 0; }
main > .site-footer { margin-top: auto; }
main > [hidden] { display: none; }
.header nav a[aria-current="page"] {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.existing-guide {
  padding: clamp(14px, 2vw, 24px);
  border: 1px solid #cbd4bf;
  border-radius: 14px;
  background: #f2f6ed;
  font-size: .875rem;
  line-height: 1.55;
  word-break: keep-all;
}
.existing-guide-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.existing-guide-heading h4, .new-guide-heading { margin: 0; font-size: 1rem; }
.existing-guide-heading > span {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--lime);
  color: #080808;
  font-size: .75rem;
  font-weight: 650;
}
.existing-guide p { margin: 10px 0; }
.existing-guide ol { display: grid; gap: 5px; margin: 0; padding-left: 20px; }
.existing-guide a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.new-guide-heading { margin: 24px 0 10px; }
[data-theme="dark"] .existing-guide { background: #292f26; border-color: #444e3c; }

.support-section {
  padding: clamp(36px, 5vw, 76px) clamp(16px, 6vw, 96px);
  background: var(--paper);
}
.support-section > h2 { margin-bottom: clamp(20px, 2vw, 30px); font-size: clamp(28px, 3.2vw, 44px); }
.support-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; gap: 16px; }
.support-panel { padding: clamp(16px, 2.5vw, 32px); border: 1px solid #c8cac3; border-radius: 18px; background: #fff; }
.support-panel h3 { margin: 0 0 16px; font-size: 1.1875rem; letter-spacing: -.03em; }
.support-panel details { border-top: 1px solid #daddd5; }
.support-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 0;
  font-size: .9375rem;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
  word-break: keep-all;
}
.support-panel summary::-webkit-details-marker { display: none; }
.support-panel summary::after { content: "+"; color: #556f2a; font-size: 1.25rem; }
.support-panel details[open] summary::after { content: "−"; }
.support-panel p { margin: 0 0 14px; color: #4e5148; font-size: .875rem; line-height: 1.6; word-break: keep-all; }
.support-panel p a { font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.support-contact { background: #eef3e6; }
.support-channel {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 8px 12px;
  border: 1px solid #cbd4bf;
  border-radius: 12px;
  font-size: .875rem;
}
.support-channel + .support-channel { margin-top: 8px; }
.support-channel[href]:hover { border-color: #698b29; }
.support-channel-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--lime); color: #080808; }
.support-channel-icon svg { width: 18px; height: 18px; }
.support-status { margin-left: auto; color: #4e5148; font-size: .75rem; white-space: nowrap; }
.support-panel summary:focus-visible { outline: 2px solid #698b29; outline-offset: 3px; }
[data-theme="dark"] .support-panel { background: #20251f; border-color: #444e3c; }
[data-theme="dark"] .support-contact { background: #292f26; }
[data-theme="dark"] .support-panel details,
[data-theme="dark"] .support-channel { border-color: #444e3c; }
[data-theme="dark"] .support-panel p,
[data-theme="dark"] .support-status { color: #bec7b7; }
[data-theme="dark"] .support-panel summary::after { color: var(--lime); }
@media (max-width: 740px) {
  .support-layout { grid-template-columns: 1fr; }
}

.chat-launcher {
  position: fixed;
  z-index: 10;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 17px 0 14px;
  border: 1px solid #45618d;
  border-radius: 999px;
  background: #263e63;
  color: #fff;
  box-shadow: 0 5px 16px #0003;
  font: inherit;
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
}
.chat-launcher svg { width: 22px; height: 22px; }
.chat-launcher:hover { background: #304e79; }
.chat-launcher:focus-visible, .chat-preview button:focus-visible { outline: 2px solid #769cd0; outline-offset: 3px; }
.chat-preview {
  position: fixed;
  inset: auto max(16px, env(safe-area-inset-right)) max(76px, calc(env(safe-area-inset-bottom) + 60px)) auto;
  width: min(340px, calc(100% - 32px));
  margin: 0;
  padding: 18px;
  border: 1px solid #a6ab9c;
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 12px 30px #0003;
}
.chat-preview::backdrop { background: #0003; }
.chat-preview-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.chat-preview h2 { font-size: 1.125rem; letter-spacing: -.035em; }
.chat-preview button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: inherit; font: inherit; font-size: 1.4rem; cursor: pointer; }
.chat-preview p { margin: 8px 0 12px; font-size: .875rem; }
.chat-preview a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 650; }

.about-profile {
  display: grid;
  align-items: center;
  gap: clamp(20px, 5vw, 76px);
  padding-inline: clamp(16px, 6vw, 96px);
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  padding-block: clamp(32px, 6vw, 92px);
  background: #080808;
  color: #fff;
}
.about-profile .eyebrow { color: var(--lime); font-size: .9375rem; }
.about-profile h2 { font-size: clamp(42px, 5.2vw, 76px); line-height: 1.1; letter-spacing: -.05em; }
.about-bio {
  max-width: 36ch;
  margin: 16px 0 0;
  color: #ced2c7;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.6;
  word-break: keep-all;
}
.about-portrait {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 500px);
  min-height: 190px;
  aspect-ratio: 5 / 4;
  justify-self: end;
  overflow: hidden;
  border: 1px solid #353c2a;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 64% 76%, #465231, transparent 70%),
    repeating-linear-gradient(90deg, #ffffff0a 0 1px, transparent 1px 34px),
    repeating-linear-gradient(0deg, #ffffff0a 0 1px, transparent 1px 34px),
    #151914;
}
.about-portrait > span { position: absolute; right: 16px; bottom: 14px; color: #ced2c7; font-size: .75rem; }
.about-art-bars {
  display: flex;
  align-items: end;
  gap: clamp(8px, 1.4vw, 20px);
  width: 40%;
  height: 47%;
  transform: skewY(-15deg);
}
.about-art-bars i { flex: 1; height: 38%; border: 1px solid #e6ffac; background: linear-gradient(90deg, #718941, #d2ff45); }
.about-art-bars i:nth-child(2) { height: 66%; }
.about-art-bars i:nth-child(3) { height: 100%; }
.about-values {
  padding: clamp(28px, 4.5vw, 64px) clamp(16px, 6vw, 96px);
  border-bottom: 1px solid #c8cac3;
}
.about-values > h3 { margin: 0 0 18px; font-size: clamp(24px, 2.55vw, 36px); letter-spacing: -.045em; }
.about-values-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border: 1px solid #d6dad0;
  border-radius: 18px;
  background: #fff;
  list-style: none;
}
.about-values-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  align-items: center;
  gap: 10px 12px;
  padding: clamp(16px, 2vw, 30px);
}
.about-values-list li + li { border-inline-start: 1px solid #d6dad0; }
.about-value-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #eef3e6;
  color: #3c5429;
}
.about-value-icon svg { width: 21px; height: 21px; }
.about-values-list h4 { margin: 0; font-size: clamp(16px, 1.35vw, 20px); letter-spacing: -.025em; line-height: 1.3; word-break: keep-all; }
.about-values-list p { grid-column: 2; max-width: 34ch; margin: 0; color: #4e5148; font-size: .9375rem; line-height: 1.6; word-break: keep-all; }
[data-theme="dark"] .about-values,
[data-theme="dark"] .about-values-list,
[data-theme="dark"] .about-values-list li + li { border-color: #444e3c; }
[data-theme="dark"] .about-values-list { background: #20251f; }
[data-theme="dark"] .about-value-icon { background: #34422b; color: #ddf2bb; }
[data-theme="dark"] .about-values-list p { color: #bec7b7; }
@media (max-width: 900px) {
  .about-values-list { grid-template-columns: 1fr; }
  .about-values-list li + li { border-inline-start: 0; border-top: 1px solid #d6dad0; }
}
@media (max-width: 680px) {
  .about-profile { grid-template-columns: 1fr; }
  .about-portrait { width: 100%; aspect-ratio: 1.55; justify-self: start; }
  .about-bio { margin-top: 12px; }
}

.community-board { grid-column: 1 / -1; min-width: 0; }
.board-heading, .board-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.board-heading { margin-bottom: 20px; }
.board-heading h2 { font-size: clamp(30px, 3.2vw, 46px); }
.board-heading > span { color: #b6bdb0; font-size: .8125rem; }
.board-tools { justify-content: flex-end; margin-bottom: 12px; }
#board-search {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #3c4336;
  border-radius: 9px;
  background: #181b16;
  color: #fff;
  font: inherit;
  font-size: .875rem;
}
#board-search { width: min(100%, 220px); }
#board-search::placeholder { color: #b6bdb0; }
.board-posts { border: 1px solid #3c4336; border-radius: 14px; background: #151814; }
.board-post + .board-post { border-top: 1px solid #34392f; }
.board-post summary {
  display: grid;
  grid-template-columns: minmax(88px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 16px;
  list-style: none;
  cursor: pointer;
}
.board-post summary::-webkit-details-marker { display: none; }
.board-post summary:hover, .board-post[open] summary { color: var(--lime); }
.board-post summary strong { font-size: .9375rem; font-weight: 650; overflow-wrap: anywhere; }
.board-category, .board-author { color: #bdc6b5; font-size: .8125rem; }
.board-category { justify-self: start; padding: 4px 7px; border-radius: 5px; background: #2a3523; color: #d5e9bd; }
.board-post > p, .board-empty { margin: 0; padding: 0 16px 16px; color: #d1d7cb; font-size: .875rem; line-height: 1.6; }
.board-empty { padding-top: 16px; }
.board-post > p a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.board-post[hidden], .board-empty[hidden] { display: none; }
.board-post summary:focus-visible, #board-search:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
@media (max-width: 680px) {
  #board-search { width: 100%; }
  .board-post summary { grid-template-columns: auto minmax(0, 1fr); gap: 6px 8px; padding-inline: 12px; }
  .board-author { grid-column: 2; }
}

.indicators-section { padding: clamp(36px, 5.5vw, 80px) clamp(16px, 6vw, 96px); background: var(--paper); }
.indicators-heading { margin-bottom: clamp(20px, 2.8vw, 34px); }
.indicators-heading h2 { font-size: clamp(32px, 4vw, 54px); }
.indicators-heading p { margin: 10px 0 0; color: #4e5148; font-size: .9375rem; line-height: 1.55; word-break: keep-all; }
.indicator-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.indicator-card { min-width: 0; overflow: hidden; border: 1px solid #cbd0c5; border-radius: 16px; background: #fff; }
.indicator-art {
  --chart-accent: #d2ff45;
  position: relative;
  height: clamp(108px, 13vw, 175px);
  overflow: hidden;
  background:
    repeating-linear-gradient(0deg, transparent 0 23px, #ffffff0c 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 31px, #ffffff0c 31px 32px),
    radial-gradient(ellipse at 75% 100%, #25332a, #111612 74%);
}
.indicator-art span, .indicator-art i { position: absolute; inset: 18% 9%; }
.indicator-art span {
  background: var(--chart-accent);
  clip-path: polygon(0 82%, 15% 70%, 26% 74%, 39% 48%, 50% 54%, 62% 34%, 73% 42%, 87% 20%, 100% 12%, 100% 15%, 88% 23%, 74% 46%, 62% 38%, 50% 58%, 39% 52%, 27% 78%, 15% 74%, 0 86%);
}
.indicator-art i { inset-block: 29%; border-block: 1px dashed #ffffff55; }
.indicator-art-bands i { border: 0; background: #d2ff4529; clip-path: polygon(0 54%, 18% 44%, 42% 22%, 60% 23%, 82% 7%, 100% 12%, 100% 44%, 82% 47%, 60% 59%, 42% 52%, 18% 75%, 0 90%); }
.indicator-art-rsi { --chart-accent: #94f3d3; }
.indicator-art-rsi span { clip-path: polygon(0 63%, 12% 30%, 24% 46%, 38% 20%, 54% 70%, 67% 58%, 81% 79%, 100% 38%, 100% 43%, 81% 84%, 67% 63%, 54% 75%, 38% 25%, 24% 51%, 12% 35%, 0 68%); }
.indicator-art-trend { --chart-accent: #f8d18a; }
.indicator-art-trend i { border: 0; background: #97d2ae; clip-path: polygon(0 72%, 28% 66%, 52% 53%, 76% 31%, 100% 21%, 100% 26%, 77% 36%, 53% 58%, 29% 71%, 0 77%); }
.indicator-art-volume { --chart-accent: #e1b5ff; }
.indicator-art-volume span {
  clip-path: polygon(0 100%, 0 68%, 9% 68%, 9% 100%, 15% 100%, 15% 52%, 24% 52%, 24% 100%, 30% 100%, 30% 65%, 39% 65%, 39% 100%, 45% 100%, 45% 12%, 54% 12%, 54% 100%, 60% 100%, 60% 39%, 69% 39%, 69% 100%, 75% 100%, 75% 59%, 84% 59%, 84% 100%, 90% 100%, 90% 29%, 100% 29%, 100% 100%);
}
.indicator-art-volume i { border-top: 0; inset-block: 14% 18%; }
.indicator-art-vwap { --chart-accent: #9bc4ff; }
.indicator-art-vwap i { inset: 20% 9%; border: 0; background: #ffffff77; clip-path: polygon(0 69%, 19% 66%, 40% 55%, 60% 44%, 82% 34%, 100% 30%, 100% 33%, 82% 37%, 60% 47%, 40% 58%, 19% 69%, 0 72%); }
.indicator-art-macd { --chart-accent: #f2aa9d; }
.indicator-art-macd i { inset: 27% 9% 16%; border: 0; background: repeating-linear-gradient(90deg, #94f3d34f 0 7%, transparent 7% 12%); clip-path: polygon(0 90%, 0 68%, 20% 54%, 45% 41%, 68% 10%, 87% 28%, 100% 39%, 100% 90%); }
.indicator-body { padding: clamp(14px, 1.8vw, 24px); }
.indicator-category { color: #526b31; font-size: .8125rem; font-weight: 650; }
.indicator-body h3 { margin: 6px 0 7px; font-size: clamp(19px, 1.9vw, 25px); letter-spacing: -.035em; }
.indicator-body p { margin: 0; color: #4e5148; font-size: .875rem; line-height: 1.55; word-break: keep-all; }
.indicator-detail { margin-top: 12px; border-top: 1px solid #daddd5; }
.indicator-detail summary { display: flex; justify-content: space-between; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 650; list-style: none; cursor: pointer; }
.indicator-detail summary::-webkit-details-marker { display: none; }
.indicator-detail summary::after { content: "+"; color: #526b31; }
.indicator-detail[open] summary::after { content: "−"; }
.indicator-detail summary:focus-visible { outline: 2px solid #698b29; outline-offset: 2px; }
[data-theme="dark"] .indicator-card { background: #20251f; border-color: #444e3c; }
[data-theme="dark"] .indicator-detail { border-color: #444e3c; }
[data-theme="dark"] .indicators-heading p, [data-theme="dark"] .indicator-body p { color: #bec7b7; }
[data-theme="dark"] .indicator-category, [data-theme="dark"] .indicator-detail summary::after { color: #c4e29c; }
@media (max-width: 1000px) { .indicator-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .indicator-grid { grid-template-columns: 1fr; } }

.exchange-media {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
  padding: clamp(28px, 4.5vw, 64px) clamp(16px, 6vw, 96px);
  background: #080808;
  color: #fff;
}
.exchange-video {
  display: grid;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #3c4334;
  border-radius: 18px;
  background: radial-gradient(ellipse at 50% 105%, #35432a, transparent 72%), #171a16;
}
.exchange-video iframe { width: 100%; height: 100%; border: 0; }
.exchange-video-placeholder { display: grid; justify-items: center; align-content: center; gap: 9px; }
.exchange-video-placeholder strong { font-size: clamp(17px, 2vw, 26px); }
.exchange-video-placeholder > span:last-child,
.exchange-media-link .support-status { color: #c4c9bf; }
.exchange-video-placeholder > span:last-child { font-size: .875rem; }
.exchange-play-icon { display: grid; place-items: center; width: 54px; aspect-ratio: 1; border-radius: 50%; background: var(--lime); color: #080808; }
.exchange-media-links { display: grid; gap: 10px; }
.exchange-media-link { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 8px 14px; border: 1px solid #42453d; border-radius: 12px; font-size: .9375rem; }
.exchange-media-link[href]:hover { border-color: var(--lime); }
.exchange-media-icon { display: grid; place-items: center; flex: 0 0 32px; height: 32px; border-radius: 9px; }
.exchange-media-icon::before { width: 17px; height: 17px; background: white; content: ""; }
.exchange-media-icon.telegram { background: #1681b8; }
.exchange-media-icon.telegram::before { clip-path: polygon(0 37%, 100% 0, 80% 100%, 48% 74%, 34% 89%, 37% 59%, 82% 18%, 24% 53%); }
.exchange-media-icon.youtube { background: #d92331; }
.exchange-media-icon.youtube::before { clip-path: polygon(20% 2%, 94% 50%, 20% 98%); }
@media (max-width: 740px) { .exchange-media { grid-template-columns: 1fr; } }

.paper-trade {
  --terminal-muted: #545950;
  --terminal-positive: #415d17;
  --terminal-negative: #a42c43;
  --terminal-line: #d0d5c9;
  --terminal-panel: #fff;
  --terminal-control: #f3f5ef;
  padding: clamp(20px, 3.5vw, 52px) clamp(12px, 3vw, 48px) 80px; background: var(--paper); color: var(--ink); }
[data-theme="dark"] .paper-trade {
  --terminal-muted: #bac4b5;
  --terminal-positive: #d2ff45;
  --terminal-negative: #ff9caa;
  --terminal-line: #41493b;
  --terminal-panel: #20251f;
  --terminal-control: #2b3228;
}
.paper-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.paper-heading h2 { font-size: clamp(28px, 3.4vw, 46px); }
.paper-heading p { margin: 8px 0 0; color: var(--terminal-muted); font-size: .875rem; }
.paper-balance { display: grid; gap: 4px; }
.paper-balance span, .paper-market span, .paper-chart small { color: var(--terminal-muted); font-size: .75rem; }
.paper-balance strong { color: var(--terminal-positive); }
.paper-terminal { border: 1px solid var(--terminal-line); border-radius: 14px; overflow: hidden; background: var(--terminal-panel); font-variant-numeric: tabular-nums; }
.paper-market { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 24px; padding: 12px 16px; border-bottom: 1px solid var(--terminal-line); }
.paper-market > * { display: grid; gap: 4px; }
.paper-market button { margin-left: auto; }
.paper-trade select, .paper-trade input:not([type="radio"]), .paper-trade button { min-height: 42px; padding: 0 10px; border: 1px solid var(--terminal-line); border-radius: 7px; background: var(--terminal-control); color: var(--ink); font: inherit; font-size: .875rem; }
.paper-trade button { cursor: pointer; }
.paper-trade button:hover { border-color: var(--terminal-positive); }
.paper-trade :is(button, select, input):focus-visible { outline: 2px solid var(--terminal-positive); outline-offset: 2px; }
.paper-panels { display: grid; grid-template-columns: minmax(0, 1fr) minmax(145px, .28fr) minmax(200px, .34fr); }
.paper-panel { min-width: 0; padding: 14px; }
.paper-panel h3 { margin: 0 0 12px; font-size: .9375rem; }
.paper-chart small { margin-left: 6px; }
.paper-chart canvas { display: block; border-radius: 8px; background: #fff; width: 100%; height: clamp(210px, 29vw, 420px); }
.paper-book, .paper-order { border-left: 1px solid var(--terminal-line); }
.paper-trade table { width: 100%; border-collapse: collapse; font-size: .8125rem; white-space: nowrap; }
.paper-trade th, .paper-trade td { padding: 5px 8px; text-align: right; }
.paper-trade th { color: var(--terminal-muted); font-weight: 550; }
.paper-ask td:first-child { color: var(--terminal-negative); }
.paper-bid td:first-child { color: var(--terminal-positive); }
.paper-mid { background: var(--terminal-control); }
.paper-order { display: grid; align-content: start; gap: 10px; font-size: .875rem; }
.paper-order h3 { margin-bottom: 0; }
.paper-side { display: flex; gap: 6px; margin: 0; padding: 0; border: 0; }
.paper-side legend { margin-bottom: 5px; color: var(--terminal-muted); }
.paper-side label { display: flex; flex: 1; align-items: center; justify-content: center; min-height: 44px; padding: 4px; border: 1px solid var(--terminal-line); border-radius: 7px; cursor: pointer; }
.paper-side label:has(input:checked) { border-color: var(--terminal-positive); color: var(--terminal-positive); }
.paper-side label:has(input[value="short"]:checked) { border-color: var(--terminal-negative); color: var(--terminal-negative); }
.paper-side input { accent-color: var(--terminal-positive); }
.paper-order input[type="number"] { width: 100%; }
.paper-order button { border-color: #687d38; background: var(--lime); color: #080808; font-weight: 750; }
.paper-order p, #paper-status { margin: 0; color: var(--terminal-muted); font-size: .8125rem; line-height: 1.45; }
.paper-positions { border-top: 1px solid var(--terminal-line); }
.paper-table-wrap { overflow-x: auto; }
.paper-positions th, .paper-positions td { text-align: left; border-bottom: 1px solid var(--terminal-line); }
#paper-status:not(:empty) { margin-top: 10px; }
@media (max-width: 880px) {
  .paper-panels { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .paper-chart { grid-column: 1 / -1; }
  .paper-book, .paper-order { border-top: 1px solid var(--terminal-line); }
  .paper-book { border-left: 0; }
}
@media (max-width: 420px) {
  .paper-panels { grid-template-columns: 1fr; }
  .paper-order { border-left: 0; }
}

.paper-trade { padding: clamp(22px, 2.2vw, 34px) clamp(12px, 1.5vw, 22px) 32px; }
.paper-heading { align-items: center; margin-bottom: 16px; }
.paper-heading h2 { font-size: clamp(1.375rem, 1.8vw, 1.75rem); line-height: 1.2; }
.paper-heading p { font-size: .8125rem; margin-top: 5px; }
.paper-terminal { border-radius: 8px; }
.paper-market { gap: 10px 22px; align-items: center; }
.paper-market select { font-weight: 750; min-height: 34px; }
.paper-panels { grid-template-columns: minmax(0, 1fr) minmax(180px, 19%) minmax(210px, 20%); }
.paper-panel { padding: 10px; }
.paper-chart canvas { height: clamp(290px, 28vw, 460px); border-radius: 4px; }
.paper-book td { padding: 3px 6px; }
.paper-ask { background: linear-gradient(to left, #ff647c24 var(--depth), transparent var(--depth)); }
.paper-bid { background: linear-gradient(to left, #a8cf3726 var(--depth), transparent var(--depth)); }
.paper-order-meta { display: flex; gap: 6px; }
.paper-order-meta span { flex: 1; padding: 5px; text-align: center; border: 1px solid var(--terminal-line); border-radius: 5px; color: var(--terminal-muted); }
.paper-kind { display: flex; margin: 0; padding: 0; border: 0; border-bottom: 1px solid var(--terminal-line); }
.paper-kind label { flex: 1; display: grid; place-items: center; min-height: 40px; position: relative; cursor: pointer; }
.paper-kind label:has(input:checked) { box-shadow: inset 0 -2px var(--terminal-positive); font-weight: 700; }
.paper-kind label:focus-within { outline: 2px solid var(--terminal-positive); outline-offset: -2px; }
.paper-kind input, .paper-sr { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.paper-trade input[type="range"] { padding: 0; border: 0; accent-color: var(--terminal-positive); width: 100%; }
.paper-order-details { margin: 0; display: grid; gap: 6px; font-size: .75rem; }
.paper-order-details div { display: flex; justify-content: space-between; gap: 6px; }
.paper-order-details dt { color: var(--terminal-muted); }
.paper-order-details dd { margin: 0; }
.paper-tray { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; border-bottom: 1px solid var(--terminal-line); }
.paper-tray button { border: 0; border-radius: 0; background: transparent; }
.paper-tray button[aria-pressed="true"] { box-shadow: inset 0 -2px var(--terminal-positive); font-weight: 750; }
@media (max-width: 880px) {
  .paper-panels { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .paper-chart canvas { height: clamp(230px, 48vw, 410px); }
}
@media (max-width: 420px) { .paper-panels { grid-template-columns: minmax(0, 1fr); } }

.paper-terminal {
  display: grid;
  grid-template-columns: minmax(0, 3.35fr) minmax(180px, 1fr) minmax(220px, 1fr);
  grid-template-rows: 64px auto auto;
  grid-template-areas: "market book order" "chart book order" "positions positions account";
  gap: 3px;
  border: 1px solid var(--terminal-line);
  background: var(--terminal-line);
}
.paper-terminal > * { min-width: 0; border: 0; border-radius: 5px; background: var(--terminal-panel); }
.paper-market { grid-area: market; min-height: 0; flex-wrap: nowrap; overflow: auto hidden; white-space: nowrap; gap: 12px 18px; padding-block: 6px; scrollbar-width: thin; }
.paper-market > * { flex: 0 0 auto; }
.paper-market strong { font-size: .875rem; }
.paper-market .paper-pair { display: flex; align-items: center; gap: 5px; }
.paper-pair img { flex: 0 0 auto; }
.paper-market .paper-pair select { border: 0; background: transparent; padding: 0 3px; font-size: 1.05rem; }
.paper-chart { grid-area: chart; }
.paper-book { grid-area: book; padding-inline: 0; }
.paper-order { grid-area: order; display: flex; flex-direction: column; }
.paper-positions { grid-area: positions; min-height: 165px; padding-bottom: 16px; }
.paper-account { grid-area: account; padding-bottom: 16px; }
.paper-panel-header { min-height: 30px; display: flex; align-items: center; gap: 12px; margin-bottom: 8px; padding-inline: 8px; border-bottom: 1px solid var(--terminal-line); font-size: .8125rem; }
.paper-panel-header > span { align-self: stretch; display: grid; align-items: center; border-bottom: 2px solid var(--terminal-positive); }
.paper-book-tabs { padding-inline: 0; margin-bottom: 3px; gap: 0; }
.paper-book-tabs button { flex: 1; min-height: 34px; padding: 0 4px; border: 0; border-radius: 0; background: transparent; font-size: .8125rem; }
.paper-book-tabs button[aria-pressed="true"] { box-shadow: inset 0 -2px var(--terminal-positive); }
.paper-ohlc { padding: 4px 8px 6px; color: var(--terminal-muted); font-size: .75rem; white-space: pre-wrap; }
.paper-order > button[type="submit"] { margin-top: auto; }
.paper-order > .paper-order-details:last-child { padding-top: 10px; border-top: 1px solid var(--terminal-line); }
.paper-order #paper-balance { color: var(--terminal-positive); }
.paper-account .paper-order-details { line-height: 1.6; }
@media (max-width: 960px) {
  .paper-terminal { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 64px; grid-template-areas: "market market" "chart chart" "book order" "positions positions" "account account"; }
}
@media (max-width: 520px) {
  .paper-terminal { grid-template-columns: minmax(0, 1fr); grid-template-areas: "market" "chart" "order" "book" "positions" "account"; }
}

.paper-heading .paper-history-link { min-height: 44px; padding-inline: 13px; white-space: nowrap; }
.paper-history-link span { margin-left: 4px; }
.paper-tray button { scroll-margin-block: 16px 72px; }

.rankings {
  padding: clamp(28px, 5vw, 66px) clamp(16px, 6vw, 96px) 52px;
  background: var(--paper);
}
.rankings-header { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.rankings-header h2 { font-size: clamp(30px, 3.5vw, 48px); }
.rankings-header p { margin: 9px 0 0; color: #545b50; font-size: .875rem; }
.rankings-header p span { margin-inline: 4px; }
.rankings-sort { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid #c9d0c2; border-radius: 10px; }
.rankings-sort button {
  min-height: 44px; padding: 0 14px; border: 0; border-radius: 7px;
  background: transparent; color: var(--ink); font: inherit; font-size: .875rem; cursor: pointer;
}
.rankings-sort button[aria-pressed="true"] { background: var(--lime); color: #080808; font-weight: 650; }
.rankings-sort button:focus-visible { outline: 2px solid #698b29; outline-offset: 2px; }
.rankings-leaders { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 12px; margin: 0 0 24px; padding: 0; list-style: none; }
.rankings-leaders li {
  display: grid; justify-items: start; gap: 10px; min-width: 0; padding: clamp(16px, 2.6vw, 32px);
  border: 1px solid #373e30; border-radius: 15px; background: #151914; color: #fff;
}
.rankings-leaders li:first-child {
  border-color: #515f36;
  background: radial-gradient(ellipse at 100% 0, #3c4828, transparent 75%), #141813;
}
.rankings-place { padding: 4px 9px; border: 1px solid #626c59; border-radius: 99px; color: #dce4d5; font-size: .75rem; }
.rankings-leaders li:first-child .rankings-place { border-color: var(--lime); background: var(--lime); color: #080808; font-weight: 750; }
.rankings-name { font-size: clamp(16px, 1.7vw, 23px); overflow-wrap: anywhere; }
.rankings-score { color: #dce9cf; font-size: clamp(18px, 2.65vw, 36px); font-weight: 720; letter-spacing: -.045em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.rankings-leaders li:first-child .rankings-score { color: var(--lime); }
.rankings-board { border: 1px solid #c9d0c2; border-radius: 15px; overflow: hidden; background: #fff; }
.rankings-board h3 { margin: 0; padding: 16px clamp(12px, 2vw, 22px); font-size: 1rem; }
.rankings-table-wrap { overflow-x: auto; }
.rankings table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; white-space: nowrap; font-size: .875rem; }
.rankings th, .rankings td { padding: 11px clamp(10px, 2vw, 22px); border-top: 1px solid #dce1d8; text-align: right; }
.rankings th:nth-child(-n+2), .rankings td:nth-child(-n+2) { text-align: left; }
.rankings th { background: #f1f4ed; color: #545b50; font-weight: 650; }
.rankings th[aria-sort] { color: var(--ink); }
.rankings-gain { color: #486623; }
.rankings-loss { color: #a42c43; }
[data-theme="dark"] .rankings-board { background: #20251f; }
[data-theme="dark"] .rankings-board, [data-theme="dark"] .rankings-sort, [data-theme="dark"] .rankings th, [data-theme="dark"] .rankings td { border-color: #444e3c; }
[data-theme="dark"] .rankings th { background: #2b3228; }
[data-theme="dark"] .rankings-header p, [data-theme="dark"] .rankings th { color: #bac4b5; }
[data-theme="dark"] .rankings-gain { color: #bddd8a; }
[data-theme="dark"] .rankings-loss { color: #ff9caa; }
@media (max-width: 540px) {
  .rankings-leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .rankings-leaders li:first-child { grid-column: 1 / -1; }
}

.paper-terminal > .paper-chart {
  --chart-line: #e1e4ee;
  --chart-text: #656d7e;
  padding: 0;
  overflow: hidden;
  background: #fff;
}
[data-theme="dark"] .paper-terminal > .paper-chart {
  --chart-line: #2b2b33;
  --chart-text: #a2a8b5;
  background: #131313;
}
.paper-chart .paper-ohlc { padding-inline: 12px; color: var(--chart-text); font-variant-numeric: tabular-nums; }
.paper-chart canvas { border-radius: 0; background: #fff; }
[data-theme="dark"] .paper-chart canvas { background: #131313; }

.paper-heading-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.paper-heading-actions #paper-next { min-height: 44px; }
.paper-chart {
  --chart-accent: #405a18;
  --chart-active: #d2ff4540;
  --chart-hover: #d2ff4520;
}
[data-theme="dark"] .paper-chart { --chart-accent: var(--lime); }
.paper-vela-top, .paper-vela-bottom {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-bottom: 1px solid var(--chart-line);
  font-size: 12px;
}
.paper-vela-top { min-height: 40px; overflow-x: auto; scrollbar-width: thin; }
.paper-vela-top h3 { flex: none; margin: 0 5px 0 0; font-size: 13px; font-weight: 750; }
.paper-vela-intervals { display: flex; align-items: center; gap: 2px; padding-inline: 5px; border-inline: 1px solid var(--chart-line); }
.paper-vela-top button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 0 6px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.paper-vela-top button:hover { background: var(--chart-hover); }
.paper-vela-top button[aria-pressed="true"] { box-shadow: none; background: var(--chart-active); color: var(--chart-accent); }
.paper-vela-top svg { width: 16px; height: 16px; }
.paper-vela-style { display: grid; place-items: center; width: 28px; color: var(--chart-text); }
.paper-vela-workspace { display: grid; grid-template-columns: 48px minmax(0, 1fr); }
.paper-vela-rail {
  display: grid;
  align-content: start;
  justify-items: center;
  padding-block: 4px;
  border-inline-end: 1px solid var(--chart-line);
  color: var(--chart-text);
}
.paper-vela-tool { display: grid; place-items: center; width: 100%; height: 33px; }
.paper-vela-tool svg { width: 20px; height: 20px; }
.paper-vela-tool:first-child svg { padding: 2px; border-radius: 5px; background: var(--chart-active); color: var(--chart-accent); }
.paper-vela-tool:nth-child(7) { border-top: 1px solid var(--chart-line); }
.paper-vela-plot { min-width: 0; }
.paper-vela-bottom { min-height: 30px; justify-content: space-between; border-top: 1px solid var(--chart-line); border-bottom: 0; color: var(--chart-text); }
@media (max-width: 520px) {
  .paper-vela-workspace { grid-template-columns: 34px minmax(0, 1fr); }
  .paper-vela-tool { height: 26px; }
  .paper-vela-tool svg { width: 16px; height: 16px; }
}

.paper-book-settings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 32px;
  padding: 0 10px;
  color: var(--ink);
  font-size: .8125rem;
}
.paper-book-settings select { min-height: 28px; border: 0; background: transparent; padding-inline: 0 5px; }
.paper-book th, .paper-book td { padding: 4px 8px; }
.paper-book th:first-child, .paper-book td:first-child { text-align: left; }
.paper-ask { background: linear-gradient(to right, #ff647c24 var(--depth, 0%), transparent var(--depth, 0%)); }
.paper-bid { background: linear-gradient(to right, #a8cf3726 var(--depth, 0%), transparent var(--depth, 0%)); }
.paper-mid { font-weight: 650; }
.paper-order-meta span { border: 0; padding-block: 9px; background: var(--terminal-control); color: var(--ink); }
.paper-pro-label { flex: 1; display: grid; place-items: center; color: var(--terminal-muted); opacity: .75; }
.paper-side { gap: 2px; padding: 2px; border-radius: 8px; background: var(--terminal-control); }
.paper-side label { min-height: 38px; border: 0; }
.paper-side label:has(input:checked) { background: var(--lime); color: #080808; font-weight: 700; }
.paper-side label:has(input[value="short"]:checked) { background: #ff9caa; color: #241315; }
.paper-side label:focus-within { outline: 2px solid var(--terminal-positive); outline-offset: -2px; }
.paper-side input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
.paper-size-field, .paper-slider-row { display: flex; align-items: center; gap: 8px; }
.paper-size-field { padding: 0 8px; border: 1px solid var(--terminal-line); border-radius: 7px; }
.paper-size-field label, .paper-size-field span { flex: none; color: var(--terminal-muted); font-size: .75rem; }
.paper-size-field input[type="number"] { min-width: 0; padding-inline: 0; border: 0; background: transparent; text-align: right; }
.paper-slider-row input { min-width: 0; }
.paper-slider-row output { min-width: 48px; padding: 7px 5px; border: 1px solid var(--terminal-line); border-radius: 7px; text-align: center; }
.paper-order-options { display: grid; gap: 5px; margin: 0 0 12px; padding: 0; border: 0; color: var(--terminal-muted); font-size: .8125rem; }
.paper-order-options label { display: flex; align-items: center; gap: 6px; }

.rankings :is(th, td):first-child { width: 76px; padding-inline: 12px; text-align: center; }
.rankings :is(th, td):nth-child(2) { padding-inline-start: 6px; }
.rankings tbody tr:first-child { background: #f5f9e9; }
.rankings tbody tr:first-child td:nth-child(2) { font-weight: 700; }
.rankings tbody tr:hover { background: #f1f4ed; }
[data-theme="dark"] .rankings tbody tr:first-child { background: #2b3523; }
[data-theme="dark"] .rankings tbody tr:hover { background: #293028; }
.rankings-table-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 26px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #43513a;
  font-weight: 700;
}
.rankings-table-rank-4, .rankings-table-rank-5 { border-color: #cbd3c4; }
[data-theme="dark"] .rankings-table-rank:not(:is(.rankings-table-rank-1, .rankings-table-rank-2, .rankings-table-rank-3)) { color: #d9e4d1; }
.rankings-table-rank-1 { border-color: #abc930; background: var(--lime); color: #141906; }
.rankings-table-rank-2 { border-color: #ced4df; background: #e8edf3; color: #334055; }
.rankings-table-rank-3 { border-color: #e2c5aa; background: #f4e3d1; color: #724521; }
.rankings-table-crown {
  width: 13px;
  height: 11px;
  background: currentColor;
  clip-path: polygon(0 24%, 27% 53%, 50% 0, 73% 53%, 100% 24%, 87% 91%, 13% 91%);
}
[data-theme="dark"] :is(.rankings-table-rank-4, .rankings-table-rank-5) { border-color: #66725d; color: #d9e4d1; }
