:root {
  font-family:Inter,"Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans KR","Malgun Gothic",sans-serif;
  color:#edeff1;
  background:#101113;
  font-synthesis:none;
  font-optical-sizing:auto;
  line-height:1.5;
  --bg:#101113;
  --panel:#141517;
  --raised:#1c1e21;
  --line:#292b2f;
  --muted:#9ca3af;
  --soft:#b1b5bc;
  --gain:#63d3b4;
  --loss:#ed8f86;
  --warning:#e1b978;
  --ease-out:cubic-bezier(.23,1,.32,1);
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
}
button,select {
  font:inherit;
}
button,a,select,summary {
  -webkit-tap-highlight-color:transparent;
}
button {
  color:inherit;
  cursor:pointer;
}
button {
  transition:background-color 140ms ease,color 140ms ease,transform 140ms var(--ease-out);
}
button:active {
  transform:scale(.97);
}
button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible,.table-scroll:focus-visible {
  outline:2px solid var(--gain);
  outline-offset:4px;
}
button:focus-visible {
  transition:none;
}
a {
  color:inherit;
  text-decoration:none;
}
[hidden] {
  display:none!important;
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.page-shell {
  max-width:1136px;
  padding:0 44px;
  margin:0 auto;
}
.site-header {
  min-height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
}
.brand {
  display:flex;
  gap:13px;
  align-items:center;
  font-size:22px;
  font-weight:650;
  letter-spacing:-.6px;
  flex-shrink:0;
}
.brand-mark {
  width:25px;
  height:29px;
  color:#d8dde0;
}
.header-actions {
  display:flex;
  align-items:center;
  gap:20px;
  flex-shrink:0;
}
.account-badge {
  border:1px solid #3a3d42;
  border-radius:6px;
  padding:5px 8px;
  color:#babec6;
  font-size:13px;
  letter-spacing:-.15px;
  white-space:nowrap;
}
.currency-control {
  display:flex;
  padding:0;
  background:#191c20;
  border:0;
  border-radius:7px;
  gap:0;
  box-shadow:inset 0 0 0 1px #30343b;
}
.currency-control button {
  min-height:44px;
  min-width:61px;
  border:0;
  background:transparent;
  color:var(--muted);
  font-size:14px;
  font-weight:550;
  border-radius:7px;
}
.currency-control button[aria-pressed=true] {
  background:#30363d;
  color:#edf0f4;
}
.connection {
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--muted);
  font-size:13px;
  font-variant-numeric:tabular-nums;
  flex-wrap:wrap;
}
.status-dot {
  height:5px;
  width:5px;
  background:var(--muted);
  border-radius:50%;
}
.connection.is-live .status-dot {
  background:var(--gain);
}
.connection.is-stale .status-dot {
  background:var(--warning);
}
.connection.is-stale {
  color:var(--warning);
}
.update-time {
  margin-left:4px;
  color:var(--muted);
}
.notice {
  padding:12px 16px;
  border:1px solid #675139;
  background:#292319;
  color:#e1c49b;
  font-size:14px;
  line-height:1.7;
  border-radius:8px;
  margin-bottom:20px;
  margin-top:24px;
}
.performance {
  padding:32px 0 18px;
}
.performance-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
}
h1,h2,h3,p {
  margin:0;
}
.total-performance h1 {
  font-size:16px;
  font-weight:500;
  letter-spacing:-.3px;
  color:#bec1c7;
}
.hero-number {
  display:flex;
  align-items:baseline;
  gap:10px;
  margin-top:13px;
  font-variant-numeric:tabular-nums;
}
.hero-number>span:first-child {
  font-size:58px;
  font-weight:550;
  letter-spacing:-3px;
  line-height:1.2;
}
.money-unit {
  font-size:16px;
  font-weight:500;
  color:var(--muted);
  letter-spacing:-.3px;
}
.hero-subline {
  display:flex;
  align-items:center;
  gap:12px 22px;
  margin-top:14px;
  color:var(--muted);
  font-size:13px;
  flex-wrap:wrap;
}
.return-tag {
  font-size:32px;
  font-weight:550;
  letter-spacing:-1px;
  line-height:1.2;
  font-variant-numeric:tabular-nums;
}
.win-rate-metric {
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:7px;
  color:var(--muted);
  font-size:14px;
  font-variant-numeric:tabular-nums;
}
.win-rate-metric strong {
  color:#edeff1;
  font-size:18px;
  font-weight:550;
}
.win-rate-record {
  font-size:13px;
  margin-left:2px;
}
.period-performance {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:38px;
  align-self:flex-end;
  padding-bottom:6px;
}
.period-performance h2 {
  color:var(--muted);
  font-size:14px;
  font-weight:500;
}
.period-money {
  font-size:24px;
  font-weight:550;
  letter-spacing:-.6px;
  margin-top:12px;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.period-return {
  margin-top:6px;
  font-size:15px;
  font-variant-numeric:tabular-nums;
}
.account-line {
  display:flex;
  gap:10px;
  align-items:center;
  color:var(--muted);
  font-size:13px;
  margin-top:22px;
  font-variant-numeric:tabular-nums;
  flex-wrap:wrap;
}
.account-line strong {
  font-weight:500;
  color:#b7bcc4;
  margin-left:5px;
}
.history-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:32px;
  flex-wrap:wrap;
  gap:6px 16px;
}
.history-heading h2 {
  font-size:16px;
  font-weight:550;
  color:#d6dbe1;
}
.history-controls {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}
.history-control {
  display:flex;
  gap:0;
  padding:0;
  border:0;
  border-radius:7px;
  background:#191c20;
  box-shadow:inset 0 0 0 1px #30343b;
}
.history-control button {
  min-height:44px;
  min-width:54px;
  padding:8px 12px;
  border:0;
  border-radius:7px;
  background:transparent;
  color:var(--muted);
  font-size:14px;
  font-weight:500;
}
.history-control button[aria-pressed=true] {
  background:#30363d;
  color:#edf0f4;
}
.history-month-select {
  min-height:44px;
  max-width:100%;
  padding:8px 10px;
  border:1px solid #343a42;
  border-radius:7px;
  background:#1b1e23;
  color:#d6dbe3;
  font-size:14px;
}
.history-result {
  display:flex;
  align-items:baseline;
  gap:12px;
  margin-top:14px;
  font-variant-numeric:tabular-nums;
  flex-wrap:wrap;
}
.history-result strong {
  font-size:23px;
  font-weight:550;
  letter-spacing:-.5px;
}
.history-result>span {
  font-size:17px;
  font-weight:500;
}
.history-notice {
  margin-top:10px;
  color:var(--warning);
  font-size:13px;
  line-height:1.6;
}
.history-chart {
  height:145px;
  margin-top:10px;
  position:relative;
  width:100%;
  overflow:hidden;
}
.history-tooltip {
  position:absolute;
  z-index:4;
  max-width:calc(100% - 12px);
  overflow:hidden;
  padding:6px 10px;
  border:1px solid #474d55;
  border-radius:6px;
  background:#202328;
  box-shadow:0 3px 10px #0003;
  color:#edeff1;
  font-size:14px;
  line-height:20px;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
  text-overflow:ellipsis;
  pointer-events:none;
}
.chart-empty {
  color:var(--muted);
  font-size:14px;
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:2;
  text-align:center;
  padding:20px;
  pointer-events:none;
}
.history-foot {
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:13px;
  color:var(--muted);
  font-variant-numeric:tabular-nums;
  padding:7px 0 0;
  flex-wrap:wrap;
  gap:6px 12px;
}
.market-panel {
  border:1px solid var(--line);
  border-radius:13px;
  background:var(--panel);
  overflow:hidden;
  margin-top:23px;
}
.returns-grid {
  display:grid;
  grid-template-columns:minmax(0,1.85fr) minmax(310px,1fr);
  gap:18px;
  margin-top:18px;
}
.returns-card {
  padding:23px;
  border:1px solid var(--line);
  border-radius:11px;
  background:var(--panel);
  min-width:0;
}
.calendar-card {
  grid-area:1/1;
}
.monthly-card {
  grid-area:1/2;
  align-self:start;
}
.returns-card-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:16px;
  flex-wrap:wrap;
}
.returns-card h2 {
  font-size:16px;
  font-weight:550;
  letter-spacing:-.3px;
}
.returns-card-heading>span {
  color:var(--muted);
  font-size:14px;
}
.returns-columns,.return-row {
  display:grid;
  grid-template-columns:minmax(58px,.8fr) minmax(85px,1.5fr) minmax(62px,1fr);
  gap:8px;
  align-items:center;
}
.returns-columns {
  padding:0 9px 11px;
  color:var(--muted);
  font-size:13px;
  border-bottom:1px solid var(--line);
}
.returns-columns>span:not(:first-child),.return-row>span:not(:first-child) {
  text-align:right;
}
.returns-list {
  max-height:520px;
  overflow:auto;
  scrollbar-width:thin;
}
.return-row {
  width:100%;
  min-height:52px;
  padding:12px 9px;
  border:0;
  border-bottom:1px solid #282d34;
  border-radius:0;
  background:transparent;
  font-size:14px;
  font-variant-numeric:tabular-nums;
  text-align:left;
}
.return-row[aria-pressed=true] {
  background:#24292f;
  box-shadow:inset 2px 0 #a0a8b2;
}
.return-row:focus-visible {
  outline-offset:-3px;
}
.return-row>span {
  min-width:0;
  overflow-wrap:anywhere;
}
.return-row>span:nth-child(2) {
  overflow-wrap:normal;
}
.returns-empty {
  padding:28px 10px;
  color:var(--muted);
  font-size:14px;
  text-align:center;
}
.return-missing {
  grid-column:1/-1;
  color:var(--warning);
  font-size:13px;
  text-align:left!important;
}
.calendar-heading-meta {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14px;
  color:var(--soft);
}
.calendar-unit {
  color:var(--muted);
  font-size:13px;
}
.calendar-weekdays,.calendar-grid {
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
}
.calendar-weekdays {
  padding-bottom:10px;
  color:var(--muted);
  font-size:13px;
  text-align:center;
}
.calendar-grid {
  gap:0;
  outline:1px solid #272b30;
  outline-offset:-1px;
  border-radius:7px;
  overflow:hidden;
}
.calendar-day,.calendar-blank {
  min-height:88px;
  min-width:0;
  border:0;
  border-right:1px solid #25292e;
  border-bottom:1px solid #25292e;
}
.calendar-grid>:nth-child(7n) {
  border-right:0;
}
.calendar-grid>:nth-last-child(-n+7) {
  border-bottom:0;
}
.calendar-day:focus-visible {
  outline-offset:-3px;
}
.calendar-day {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  gap:3px;
  padding:10px 7px;
  border-radius:0;
  background:#191c20;
  font-variant-numeric:tabular-nums;
  font-size:13px;
}
.calendar-day.has-gain {
  background:#182622;
}
.calendar-day.has-loss {
  background:#2a2021;
}
.calendar-day[aria-pressed=true] {
  box-shadow:inset 0 0 0 1px #a0a8b2;
}
.calendar-day[aria-current=date] .calendar-date {
  color:#edeff1;
  font-weight:650;
}
.calendar-day:disabled {
  cursor:default;
  background:transparent;
}
.calendar-day:disabled:active {
  transform:none;
}
.calendar-date {
  margin-bottom:2px;
  color:var(--muted);
  font-size:13px;
}
.calendar-money,.calendar-roi {
  max-width:100%;
  white-space:nowrap;
  line-height:1.3;
}
.calendar-money {
  font-size:14px;
  font-weight:550;
}
.calendar-full {
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
}
.calendar-short {
  display:none;
}
.is-compact>.calendar-full {
  display:none;
}
.is-compact>.calendar-short {
  display:block;
}
.calendar-grid>.returns-empty {
  grid-column:1/-1;
}
.calendar-selection {
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px 12px;
  flex-wrap:wrap;
  font-size:14px;
}
.calendar-selected-date {
  color:var(--soft);
}
.calendar-selected-values {
  display:flex;
  gap:6px 12px;
  align-items:center;
  flex-wrap:wrap;
  font-variant-numeric:tabular-nums;
}
.calendar-selected-values strong {
  font-size:15px;
  font-weight:550;
  overflow-wrap:anywhere;
}
.calendar-missing {
  width:100%;
  font-size:13px;
  color:var(--muted);
}
.market-heading {
  padding:24px 25px 21px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:16px;
}
.market-heading h2 {
  font-size:20px;
  font-weight:550;
  letter-spacing:-.65px;
}
.symbol-select-label {
  position:relative;
  display:inline-flex;
  align-items:center;
}
.symbol-select-label svg {
  position:absolute;
  right:11px;
  width:14px;
  height:14px;
  color:var(--muted);
  pointer-events:none;
}
.symbol-select-label select {
  appearance:none;
  max-width:210px;
  min-height:44px;
  border:1px solid #31343a;
  background:#1b1d20;
  border-radius:7px;
  color:#c4c8cf;
  padding:8px 34px 8px 12px;
  font-size:14px;
  cursor:pointer;
}
.symbol-tabs {
  display:flex;
  gap:7px;
  padding:0 25px 21px;
  overflow:auto;
  scrollbar-width:thin;
}
.symbol-tabs:empty {
  display:none;
}
.symbol-tab {
  flex-shrink:0;
  min-height:44px;
  display:flex;
  align-items:center;
  gap:13px;
  padding:8px 13px;
  border:1px solid #303338;
  border-radius:7px;
  background:transparent;
  font-size:14px;
  font-variant-numeric:tabular-nums;
}
.symbol-tab[aria-pressed=true] {
  background:#222629;
  border-color:#59615f;
}
.symbol-tab strong {
  font-weight:550;
}
.symbol-tab .symbol-tab-dot {
  width:4px;
  height:4px;
  border-radius:50%;
  background:#737a83;
  margin-right:-7px;
}
.symbol-tab[aria-pressed=true] .symbol-tab-dot {
  background:var(--gain);
}
.symbol-tab span:last-child {
  font-size:14px;
}
.chart-toolbar {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding:12px 24px;
  border-top:1px solid var(--line);
  border-bottom:1px solid #23262a;
  gap:12px;
  flex-wrap:wrap;
}
.interval-control {
  display:flex;
  gap:2px;
  flex-wrap:wrap;
}
.interval-control button {
  border:0;
  min-width:44px;
  min-height:44px;
  background:transparent;
  color:var(--muted);
  font-size:14px;
  border-radius:5px;
  padding:7px 9px;
}
.interval-control button[aria-pressed=true] {
  background:#2c3035;
  color:#e6e9ee;
}
.candle-stage {
  height:450px;
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:auto auto minmax(0,1fr);
}
.candle-stage #candle-chart {
  height:100%;
  width:100%;
  min-height:0;
  grid-row:3;
  grid-column:1;
  overflow:hidden;
}
.position-overlay {
  position:relative;
  grid-row:1;
  grid-column:1;
  padding:14px 24px;
  min-height:52px;
  border-bottom:1px solid #23262a;
  display:flex;
  flex-wrap:wrap;
  gap:10px 20px;
  font-size:14px;
  pointer-events:none;
  z-index:3;
}
.position-chip {
  display:flex;
  align-items:center;
  gap:9px;
  font-variant-numeric:tabular-nums;
  flex-wrap:wrap;
  min-width:0;
}
.side-badge {
  font-size:13px;
  letter-spacing:.7px;
  border:1px solid currentColor;
  padding:3px 5px;
  border-radius:4px;
  font-weight:600;
}
.position-qty {
  color:#b1b8c1;
  font-size:14px;
  overflow-wrap:anywhere;
}
.position-upl {
  font-weight:600;
  font-size:15px;
  white-space:nowrap;
}
.position-upl-label {
  font-size:13px;
  color:var(--muted);
  margin-left:2px;
}
.position-empty {
  color:var(--muted);
  font-size:13px;
  padding-top:3px;
}
.position-stale {
  color:var(--warning);
  font-size:13px;
}
.candle-notice {
  position:relative;
  grid-row:2;
  grid-column:1;
  z-index:3;
  font-size:13px;
  color:var(--warning);
  background:#292319ec;
  padding:10px 24px;
  max-width:100%;
}
.trade-tooltip {
  position:absolute;
  z-index:5;
  left:24px;
  bottom:44px;
  max-width:calc(100% - 48px);
  max-height:270px;
  overflow:auto;
  background:#202328f5;
  border:1px solid #474d55;
  box-shadow:0 8px 25px #0004;
  padding:14px 44px 14px 14px;
  border-radius:8px;
  font-size:14px;
  line-height:1.7;
  color:#c4cad2;
  font-variant-numeric:tabular-nums;
}
.tooltip-close {
  position:absolute;
  top:0;
  right:0;
  min-width:44px;
  min-height:44px;
  background:transparent;
  border:0;
  color:#a4aab2;
  font-size:18px;
}
.tooltip-heading {
  font-size:13px;
  color:var(--muted);
  margin-bottom:8px;
}
.tooltip-trade+.tooltip-trade {
  border-top:1px solid #383e46;
  margin-top:8px;
  padding-top:8px;
}
.tooltip-trade strong {
  font-size:14px;
  font-weight:550;
}
.tooltip-trade .tooltip-details {
  font-size:13px;
  color:var(--muted);
}
.fill-breakdown {
  margin-top:8px;
}
.fill-breakdown summary {
  min-height:44px;
  padding:10px 0;
  color:#c4cad2;
  font-size:13px;
  cursor:pointer;
}
.raw-tooltip-fill {
  border-top:1px solid #383e46;
  padding:10px 0;
}
.raw-tooltip-fill:last-child {
  padding-bottom:0;
}
.trade-mark {
  font-style:normal;
  font-weight:700;
  font-size:13px;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  width:20px;
  height:20px;
  flex-shrink:0;
  border-radius:3px;
}
.buy {
  color:var(--gain);
}
.sell {
  color:var(--loss);
}
.trade-mark.buy {
  background:#19352d;
}
.trade-mark.sell {
  background:#3b2826;
}
.details-panel {
  margin-top:19px;
  border:1px solid var(--line);
  border-radius:11px;
  background:#131416;
}
.details-panel summary {
  display:flex;
  align-items:center;
  justify-content:space-between;
  list-style:none;
  cursor:pointer;
  padding:20px 24px;
  min-height:60px;
  font-size:14px;
  font-weight:500;
  color:#bdc2ca;
  gap:16px;
}
.details-panel summary::-webkit-details-marker {
  display:none;
}
.details-panel summary svg {
  width:19px;
  height:19px;
  color:var(--muted);
  flex-shrink:0;
}
.details-panel[open] summary svg {
  transform:rotate(180deg);
}
.details-content {
  border-top:1px solid var(--line);
  padding:24px;
}
.detail-stats {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:15px;
  margin-bottom:29px;
}
.detail-stats>div {
  display:flex;
  flex-direction:column;
  gap:9px;
  min-width:0;
  overflow-wrap:anywhere;
}
.detail-stats span {
  font-size:14px;
  color:var(--muted);
}
.detail-stats strong {
  font-size:17px;
  font-weight:500;
  color:#bbc2cb;
  font-variant-numeric:tabular-nums;
}
.table-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:8px 16px;
}
.table-heading h3 {
  font-size:15px;
  font-weight:500;
  color:#bbc2cb;
}
.table-heading>span {
  font-size:13px;
  color:var(--muted);
}
.table-scroll {
  overflow:auto;
  margin-top:14px;
  scrollbar-width:thin;
}
table {
  width:100%;
  border-collapse:collapse;
  font-size:14px;
  white-space:nowrap;
}
th {
  text-align:left;
  color:var(--muted);
  font-weight:400;
  font-size:14px;
  padding:10px 10px 12px 0;
  border-bottom:1px solid #30353c;
}
th span {
  font-size:13px;
}
td {
  padding:14px 10px 14px 0;
  color:#a8b1bd;
  border-bottom:1px solid #23282f;
  font-variant-numeric:tabular-nums;
}
th:last-child,td:last-child {
  padding-right:0;
}
.numeric {
  text-align:right;
}
.table-empty {
  text-align:center;
  padding:36px;
  color:var(--muted);
}
.table-action {
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.group-time-end {
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:13px;
}
.fill-toggle {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-width:44px;
  min-height:44px;
  margin-left:2px;
  padding:8px 4px;
  border:0;
  border-radius:4px;
  background:transparent;
  color:var(--muted);
  font-size:14px;
  white-space:nowrap;
}
.fill-toggle-arrow {
  width:12px;
  height:12px;
  flex-shrink:0;
}
.fill-toggle:active {
  transform:none;
}
.fill-toggle[aria-expanded=true] {
  color:#edeff1;
}
.fill-toggle[aria-expanded=true] .fill-toggle-arrow {
  transform:rotate(180deg);
}
.raw-fills-row>td {
  padding:12px 16px 18px;
  background:#1a1d22;
}
.raw-fill-table {
  min-width:660px;
}
.raw-fill-table th {
  font-size:13px;
}
.raw-fill-table td {
  padding-top:12px;
  padding-bottom:12px;
}
.raw-fill-table tr:last-child td {
  border-bottom:0;
}
.detail-health {
  font-size:13px;
  line-height:1.9;
  color:var(--muted);
  border-top:1px solid #292f36;
  padding-top:17px;
  margin-top:21px;
  display:flex;
  flex-wrap:wrap;
  gap:3px 20px;
}
.details-content>.connection {
  margin-top:24px;
}
.display-basis {
  display:grid;
  gap:8px;
  margin-top:24px;
  color:var(--muted);
  font-size:14px;
  line-height:1.7;
  word-break:keep-all;
}
.display-basis a {
  color:#c4c8cf;
  text-decoration:underline;
  text-underline-offset:3px;
}
.positive {
  color:var(--gain)!important;
}
.negative {
  color:var(--loss)!important;
}
.neutral {
  color:#dee3e9;
}
.unavailable {
  color:var(--muted)!important;
}
@media(hover:hover) and (pointer:fine) {
  .currency-control button:not([aria-pressed=true]):hover,.interval-control button:not([aria-pressed=true]):hover {
    color:#d2d8e0;
    background:#262b32;
  }
  .symbol-tab:hover {
    border-color:#6b767e;
  }
  .details-panel summary:hover {
    color:#e1e7ef;
  }
  .fill-toggle:hover {
    color:#edeff1;
  }
  .history-control button:not([aria-pressed=true]):hover {
    background:#272e37;
    color:#e0e5ec;
  }
  button.return-row:hover {
    background:#22282e;
  }
  .calendar-day:not(:disabled):hover {
    box-shadow:inset 0 0 0 1px #78818c;
  }
}
@media(max-width:1100px) {
  .calendar-full { display:none; }
  .calendar-short { display:block; }
}
@media(min-width:1400px) {
  .page-shell {
    max-width:1192px;
  }
  .site-header {
    min-height:96px;
  }
  .hero-number>span:first-child {
    font-size:64px;
  }
  .performance-top {
    gap:48px;
  }
  .period-performance {
    gap:55px;
  }
  .candle-stage {
    height:480px;
  }
}
@media(max-width:880px) {
  .page-shell {
    padding:0 28px;
  }
  .performance-top {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:30px;
  }
  .hero-number>span:first-child {
    font-size:48px;
  }
  .period-performance {
    gap:25px;
  }
  .hero-subline {
    gap:12px 20px;
  }
  .returns-grid {
    grid-template-columns:minmax(0,1fr);
  }
  .monthly-card,.calendar-card {
    grid-area:auto;
  }
  .monthly-card .returns-list {
    max-height:208px;
  }
}
@media(max-width:650px) {
  .page-shell {
    padding:0 19px;
  }
  .site-header {
    min-height:80px;
    gap:16px;
  }
  .brand {
    gap:10px;
    letter-spacing:-.65px;
  }
  .brand-mark {
    width:20px;
    height:26px;
  }
  .header-actions {
    gap:9px;
  }
  .account-badge {
    padding:5px 6px;
  }
  .currency-control {
    padding:0;
    gap:0;
    border-radius:7px;
  }
  .currency-control button {
    min-width:53px;
    min-height:44px;
    border-radius:7px;
  }
  .connection {
    gap:5px;
  }
  .performance {
    padding-top:28px;
    padding-bottom:18px;
  }
  .performance-top {
    display:block;
  }
  .hero-number {
    margin-top:11px;
    gap:8px;
  }
  .hero-number>span:first-child {
    font-size:clamp(39px,10vw,56px);
    letter-spacing:-2.3px;
  }
  .hero-subline {
    margin-top:13px;
    gap:10px 18px;
  }
  .return-tag {
    font-size:28px;
  }
  .period-performance {
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:16px;
    padding:0;
    margin-top:24px;
  }
  .period-performance>div+div {
    border-left:1px solid var(--line);
    padding-left:16px;
  }
  .period-money {
    margin-top:9px;
    font-size:21px;
    white-space:normal;
    overflow-wrap:normal;
  }
  .account-line {
    gap:7px;
    margin-top:22px;
    flex-wrap:wrap;
    line-height:1.6;
  }
  .account-line strong {
    margin-left:3px;
  }
  .history-heading {
    margin-top:28px;
    gap:14px;
  }
  .history-controls {
    justify-content:flex-start;
    gap:8px;
  }
  .history-control button {
    min-width:50px;
    padding:8px 10px;
  }
  .history-result strong {
    font-size:21px;
  }
  .returns-card {
    padding:20px 14px;
  }
  .calendar-day,.calendar-blank {
    min-height:78px;
  }
  .calendar-day {
    align-items:center;
    padding:7px 0;
    letter-spacing:-.45px;
  }
  .calendar-date {
    margin-bottom:0;
    letter-spacing:0;
  }
  .returns-columns,.return-row {
    grid-template-columns:minmax(54px,1fr) minmax(100px,1.5fr) minmax(63px,1fr);
    gap:7px;
  }
  .returns-columns {
    padding-left:4px;
    padding-right:4px;
  }
  .return-row {
    padding-left:4px;
    padding-right:4px;
  }
  .history-chart {
    height:124px;
    margin-top:6px;
  }
  .history-foot {
    padding-top:3px;
  }
  .market-panel {
    border-radius:10px;
    margin-top:17px;
  }
  .market-heading {
    padding:20px 16px 17px;
  }
  .symbol-select-label select {
    max-width:180px;
    padding-left:10px;
  }
  .symbol-tabs {
    padding:0 16px 16px;
    gap:6px;
  }
  .symbol-tab {
    padding:7px 10px;
    gap:10px;
  }
  .chart-toolbar {
    padding:12px 15px;
    gap:8px;
    flex-wrap:wrap;
  }
  .interval-control {
    margin-left:0;
    gap:1px;
  }
  .interval-control button {
    min-width:44px;
    padding:6px 7px;
  }
  .candle-stage {
    height:440px;
  }
  .position-overlay {
    padding:14px 15px;
    gap:12px;
  }
  .position-chip {
    gap:6px 9px;
  }
  .side-badge {
    padding:3px 4px;
  }
  .candle-notice {
    padding:10px 15px;
  }
  .trade-tooltip {
    left:13px;
    max-width:calc(100% - 26px);
  }
  .details-panel {
    margin-top:14px;
    border-radius:9px;
  }
  .details-panel summary {
    padding:16px;
    min-height:58px;
  }
  .details-content {
    padding:20px 16px;
  }
  .detail-stats {
    grid-template-columns:1fr 1fr;
    gap:22px;
  }
  .notice {
    padding:10px 12px;
  }
}
@media(max-width:380px) {
  .page-shell {
    padding:0 14px;
  }
  .chart-toolbar {
    padding:10px 13px;
  }
  .interval-control button {
    min-width:44px;
    padding:6px;
  }
  .calendar-card {
    margin-inline:-12px;
    padding-inline:3px;
  }
  .calendar-card .returns-card-heading,.calendar-selection {
    margin-inline:10px;
  }
}
@media(prefers-reduced-motion:reduce) {
  button {
    transition:none;
  }
  button:active {
    transform:none;
  }
}
