﻿:root {
  color-scheme: dark;
  --bg: #050a12;
  --panel: #0d1928;
  --panel2: #111f31;
  --line: rgba(159, 187, 219, .13);
  --text: #f5f8fc;
  --muted: #8fa2b9;
  --cyan: #43d9ff;
  --green: #42e3a1;
  --amber: #ffc45b;
  --red: #ff6d7a;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, Pretendard, "Noto Sans KR", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 92% 2%, rgba(54, 165, 255, .18), transparent 28%),
    linear-gradient(180deg, #071321 0, var(--bg) 45%);
}
.app-shell {
  width: min(100%, 1380px);
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) 14px calc(96px + env(safe-area-inset-bottom));
}
.topbar { display: flex; align-items: center; gap: 11px; margin: 1px 2px 16px; }
.logo { width: 45px; height: 45px; border-radius: 14px; box-shadow: 0 10px 28px rgba(45, 153, 255, .28); }
.brand { flex: 1; min-width: 0; }
.brand small, .page-title small { color: var(--cyan); font-size: 8px; letter-spacing: .15em; }
.brand h1 { margin: 2px 0 0; font-size: 18px; letter-spacing: -.04em; }
.today-date {
  display: block;
  margin-top: 5px;
  color: #aec0d5;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -.01em;
}
.connection {
  display: flex; align-items: center; gap: 6px; color: var(--muted);
  padding: 5px 7px; border: 0; border-radius: 12px; background: transparent;
  font: inherit; font-size: 10px; cursor: pointer; touch-action: manipulation;
}
.connection:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.connection:active { background: rgba(67,217,255,.09); }
.connection i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.connection.online { color: var(--green); }
.connection.online i { background: var(--green); box-shadow: 0 0 0 5px rgba(66,227,161,.1); }
.connection.blocked { color: var(--amber); }
.top-status { display: grid; justify-items: end; gap: 4px; }
.current-clock { color: #eef7ff; font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.tab-page { display: none; animation: appear .2s ease; }
.tab-page.active { display: block; }
@keyframes appear { from { opacity: .55; transform: translateY(3px); } }
.thought-card, .panel, .account-hero {
  border: 1px solid var(--line);
  border-radius: 21px;
  background: linear-gradient(145deg, rgba(18, 34, 53, .97), rgba(8, 17, 29, .96));
  box-shadow: 0 15px 42px rgba(0,0,0,.2);
}
.thought-card { padding: 19px; overflow: hidden; position: relative; }
.thought-card::after { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; right: -96px; top: -88px; border: 24px solid rgba(67,217,255,.045); }
.thought-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.kicker { color: var(--green); font-size: 11px; font-weight: 750; }
h2 { margin: 4px 0 0; font-size: 25px; letter-spacing: -.05em; }
.thought { margin: 14px 0 13px; color: #dfeaf7; font-size: 14px; line-height: 1.55; }
.score-ring { --score: 0deg; width: 72px; height: 72px; flex: 0 0 72px; display: grid; place-content: center; text-align: center; border-radius: 50%; background: radial-gradient(circle, #102239 57%, transparent 59%), conic-gradient(var(--cyan) var(--score), rgba(255,255,255,.07) 0); }
.score-ring strong { font-size: 22px; line-height: 1; }
.score-ring small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.mode-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { padding: 6px 9px; border-radius: 99px; color: var(--cyan); background: rgba(67,217,255,.08); border: 1px solid rgba(67,217,255,.18); font-size: 10px; font-weight: 700; }
.pill.muted { color: var(--muted); background: rgba(255,255,255,.035); border-color: var(--line); }
.signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 9px 0; }
.signal { padding: 12px 8px; border-radius: 15px; text-align: center; border: 1px solid var(--line); background: rgba(13,25,40,.82); }
.signal span, .signal small { display: block; }
.signal span { color: var(--muted); font-size: 9px; }
.signal strong { display: block; margin: 5px 0 2px; font-size: 16px; }
.signal small { font-size: 9px; }
.signal.positive small { color: var(--green); }
.signal.negative small { color: var(--red); }
.signal.neutral small { color: var(--amber); }
.panel { padding: 16px; margin-top: 9px; }
.ops-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 9px 0; }
.ops-strip > div { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 15px; background: rgba(13,25,40,.82); }
.ops-strip span, .ops-strip small { display: block; color: var(--muted); font-size: 9px; }
.ops-strip strong { display: block; margin: 5px 0 3px; font-size: 15px; }
.ops-strip small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.daily-reports { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.daily-report { padding: 11px; border: 1px solid var(--line); border-radius: 14px; background: rgba(8,18,31,.68); }
.daily-report > div { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.daily-report b { font-size: 11px; }
.daily-report time, .daily-report small { color: var(--muted); font-size: 9px; }
.daily-report strong { display: block; margin: 7px 0 5px; color: var(--cyan); font-size: 11px; }
.daily-report p { margin: 0 0 6px; color: #d9e7f7; font-size: 10px; line-height: 1.45; }
.daily-report.pending { opacity: .58; }
.daily-report.complete { border-color: rgba(62,230,160,.24); }
.control-panel { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-color: rgba(77,209,255,.22); }
.control-panel > div:first-child { display: grid; gap: 5px; }
.control-panel strong { font-size: 18px; }
.control-panel small { color: var(--muted); }
.control-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.control-button { border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 11px 14px; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.control-button.pause { background: #823746; }
.control-button.resume { background: #167054; }
.control-button.restart { background: #205f91; }
.control-button:disabled { opacity: .38; cursor: default; }
.panel-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.panel-title span { font-size: 13px; font-weight: 800; }
.panel-title b, .panel-title time { color: var(--cyan); font-size: 10px; }
.next-line { display: grid; grid-template-columns: 62px 1fr; gap: 8px; padding: 9px 0; border-top: 1px solid var(--line); }
.next-line b { color: var(--muted); font-size: 10px; }
.next-line p { margin: 0; font-size: 11px; line-height: 1.45; }
.mini-stats, .performance-grid, .account-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 8px; }
.mini-stats div, .performance-grid div, .account-grid div { padding: 11px; border-radius: 14px; background: rgba(4,12,22,.58); border: 1px solid var(--line); }
.mini-stats span, .performance-grid span, .account-grid span { display: block; color: var(--muted); font-size: 9px; }
.mini-stats strong, .performance-grid strong, .account-grid strong { display: block; margin-top: 5px; font-size: 13px; }
.timeline.empty, .empty { padding: 18px 2px; color: var(--muted); font-size: 11px; }
.activity-item, .trade-item, .position-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; padding: 10px 0; border-top: 1px solid var(--line); }
.activity-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(67,217,255,.07); }
.activity-item b, .trade-item b, .position-item b { font-size: 11px; }
.activity-item p { margin: 2px 0 0; color: var(--muted); font-size: 10px; line-height: 1.35; }
.activity-item time, .trade-item time { color: var(--muted); font-size: 9px; }
.page-title { display: flex; align-items: flex-end; justify-content: space-between; margin: 7px 2px 8px; }
.page-title h2 { font-size: 24px; }
.count { padding: 7px 10px; border-radius: 99px; color: var(--cyan); background: rgba(67,217,255,.08); border: 1px solid rgba(67,217,255,.17); font-size: 10px; }
.page-help { margin: 0 2px 13px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.candidate-card { margin-bottom: 8px; padding: 15px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(18,33,51,.96), rgba(8,17,29,.95)); }
.candidate-top { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 9px; }
.rank { width: 27px; height: 27px; display: grid; place-content: center; border-radius: 9px; color: var(--cyan); background: rgba(67,217,255,.08); font-size: 11px; font-weight: 800; }
.candidate-name strong, .candidate-name small { display: block; }
.candidate-name strong { font-size: 14px; }
.candidate-name small { color: var(--muted); font-size: 9px; margin-top: 2px; }
.candidate-score { text-align: right; font-size: 19px; font-weight: 850; }
.candidate-score small { display: block; color: var(--muted); font-size: 8px; font-weight: 500; }
.score-track { height: 5px; margin: 12px 0 9px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.07); }
.score-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #287dff, var(--cyan)); }
.score-columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin: 9px 0; }
.score-columns span { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.075); border-radius: 9px; padding: 7px 8px; color: var(--muted); font-size: 11px; }
.score-columns b { display: block; color: var(--text); font-size: 13px; margin-top: 2px; }
.final-selection { display: grid; gap: 7px; }
.final-row { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 8px; align-items: center; padding: 10px; border: 1px solid rgba(66,227,161,.15); border-radius: 12px; background: rgba(66,227,161,.05); }
.final-row b { color: var(--green); font-size: 12px; }
.final-row span { color: #d7e4f2; font-size: 10px; }
.ranking-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 13px; }
.ranking-row { min-width: 940px; display: grid; grid-template-columns: 1.35fr repeat(6, 1fr); border-top: 1px solid var(--line); background: rgba(4,12,22,.42); }
.ranking-row:first-child { border-top: 0; }
.ranking-row > * { min-width: 0; padding: 9px 8px; border-left: 1px solid var(--line); font-size: 9px; line-height: 1.35; }
.ranking-row > *:first-child { border-left: 0; }
.ranking-head { position: sticky; top: 0; background: #102238; color: var(--cyan); }
.ranking-head b { font-size: 9px; }
.hidden { display: none !important; }
.candidate-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 10px; }
.candidate-meta b { color: var(--amber); text-align: right; }
.watch-table { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }
.watch-row { display: grid; grid-template-columns: 1.25fr repeat(4, minmax(90px, 1fr)); gap: 9px; align-items: center; padding: 11px 12px; border-top: 1px solid var(--line); background: rgba(4,12,22,.45); }
.watch-row:first-child { border-top: 0; }
.watch-row > div { min-width: 0; }
.watch-row span, .watch-row small, .watch-name small { display: block; color: var(--muted); font-size: 9px; }
.watch-row b, .watch-name strong { display: block; margin: 3px 0; font-size: 11px; }
.watch-row small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.factor-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.factor-columns > div { padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(4,12,22,.45); }
.factor-columns h3 { margin: 0 0 8px; color: var(--green); font-size: 11px; }
.factor-columns > div:last-child h3 { color: var(--red); }
.factor-columns ul { margin: 0; padding-left: 17px; }
.factor-columns li { margin: 6px 0; color: #c7d5e6; font-size: 10px; line-height: 1.4; }
.regime-item { display: grid; grid-template-columns: auto 1fr; gap: 9px; padding: 9px 0; border-top: 1px solid var(--line); }
.regime-item:first-child { border-top: 0; }
.regime-item i { width: 7px; height: 7px; margin-top: 4px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255,196,91,.08); }
.regime-item b { font-size: 10px; }
.regime-item p { margin: 3px 0 0; color: var(--muted); font-size: 9px; line-height: 1.4; }
.muted-text { color: var(--muted) !important; }
.performance-grid { margin: 12px 0 4px; }
.performance-grid div:first-child { grid-column: span 1; }
.position-item, .trade-item { grid-template-columns: 1fr auto; }
.position-item small, .trade-item small { display: block; color: var(--muted); font-size: 9px; margin-top: 3px; }
.position-item > div:last-child, .trade-item > div:last-child { text-align: right; }
.account-hero { padding: 20px; margin-top: 12px; }
.account-hero span, .account-hero small { display: block; color: var(--muted); font-size: 10px; }
.account-hero strong { display: block; margin: 7px 0; font-size: 31px; letter-spacing: -.04em; }
.account-grid { grid-template-columns: 1fr 1fr; }
.health-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.health-grid span { padding: 10px; border-radius: 12px; color: var(--green); background: rgba(66,227,161,.06); border: 1px solid rgba(66,227,161,.14); text-align: center; font-size: 9px; }
.health-grid span.bad { color: var(--red); background: rgba(255,109,122,.07); border-color: rgba(255,109,122,.16); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.trust-grid > div { padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(4,12,22,.45); }
.trust-grid span, .trust-grid strong { display: block; }
.trust-grid span { color: var(--muted); font-size: 9px; }
.trust-grid strong { margin-top: 5px; font-size: 11px; }
.bottom-nav { position: fixed; z-index: 10; left: 50%; bottom: max(8px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(calc(100% - 24px), 520px); display: grid; grid-template-columns: repeat(5, 1fr); padding: 7px; border-radius: 22px; background: rgba(8,17,29,.94); border: 1px solid rgba(159,187,219,.17); box-shadow: 0 18px 48px rgba(0,0,0,.55); backdrop-filter: blur(18px); }
.bottom-nav button { border: 0; padding: 7px 4px; border-radius: 15px; color: var(--muted); background: transparent; font: inherit; }
.bottom-nav span, .bottom-nav b { display: block; }
.bottom-nav span { font-size: 17px; line-height: 1; }
.bottom-nav b { margin-top: 4px; font-size: 9px; }
.bottom-nav button.active { color: var(--cyan); background: rgba(67,217,255,.08); }
.refresh { position: fixed; z-index: 11; right: 15px; bottom: calc(91px + env(safe-area-inset-bottom)); width: 42px; height: 42px; border: 1px solid rgba(67,217,255,.2); border-radius: 50%; color: var(--cyan); background: rgba(10,25,40,.9); font-size: 19px; }
#toast { position: fixed; z-index: 20; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); transform: translate(-50%, 18px); opacity: 0; background: #f4f8ff; color: #07111f; padding: 10px 14px; border-radius: 99px; font-size: 11px; font-weight: 800; transition: .2s; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* PC와 휴대폰 공통 가독성 확대 */
.brand small, .page-title small { font-size: 10px; }
.brand h1 { font-size: 21px; }
.today-date { font-size: 14px; }
.connection { font-size: 12px; }
.current-clock { font-size: 14px; }
.kicker { font-size: 13px; }
h2 { font-size: 28px; }
.thought { font-size: 16px; }
.pill { font-size: 12px; }
.panel-title span { font-size: 15px; }
.daily-report b, .daily-report strong { font-size: 13px; }
.daily-report p { font-size: 12px; }
.daily-report time, .daily-report small { font-size: 11px; }
.ops-strip span, .ops-strip small { font-size: 11px; }
.ops-strip strong { font-size: 17px; }
.page-help { font-size: 12px; }
.ranking-row > *, .ranking-head b { font-size: 11px; }
.candidate-name strong { font-size: 16px; }
.candidate-name small { font-size: 11px; }
.candidate-meta, .score-columns { font-size: 12px; }
.watch-row span, .watch-row small, .watch-name small { font-size: 11px; }
.watch-row b, .watch-name strong { font-size: 13px; }
.signal span, .signal small, .trust-grid span { font-size: 10px; }
.signal strong, .trust-grid strong { font-size: 12px; }
.bottom-nav b { font-size: 11px; }
.bottom-nav span { font-size: 19px; }
.positive { color: var(--green) !important; }
.negative { color: var(--red) !important; }
@media (min-width: 900px) {
  .app-shell { padding-left: 22px; padding-right: 22px; }
  #tab-decision.active { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; align-items: start; }
  .thought-card { grid-column: span 7; }
  .ops-strip { grid-column: span 5; margin: 0; }
  .control-panel { grid-column: span 12; margin: 0; }
  .signal-grid { grid-column: span 12; margin: 0; }
  .trust-panel { grid-column: span 12; margin: 0; }
  .next-panel { grid-column: span 4; margin: 0; }
  .final-selection-panel { grid-column: span 8; margin: 0; }
  .live-watch-panel { grid-column: span 12; margin: 0; }
  .intelligence-panel { grid-column: span 5; margin: 0; }
  .activity-panel { grid-column: span 4; margin: 0; }
  .regime-panel { grid-column: span 3; margin: 0; }
  #tab-candidates .candidate-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  #tab-candidates .candidate-card { margin-bottom: 0; }
  #tab-trades.active, #tab-account.active { max-width: 980px; margin: 0 auto; }
  .bottom-nav { width: min(calc(100% - 24px), 620px); }
}
@media (max-width: 370px) {
  .signal-grid { grid-template-columns: 1fr 1fr; }
  .mini-stats { grid-template-columns: 1fr 1fr; }
  .mini-stats div:last-child { grid-column: span 2; }
}
@media (max-width: 620px) {
  .topbar {
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr);
    align-items: center;
  }
  .logo { grid-column: 1; grid-row: 1; }
  .brand { grid-column: 2; grid-row: 1; }
  .brand h1 { white-space: nowrap; }
  .top-status {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 3px;
  }
  .brand small, .page-title small { font-size: 11px; }
  .brand h1 { font-size: 23px; }
  .today-date { font-size: 15px; }
  .connection { font-size: 13px; }
  .current-clock { font-size: 15px; }
  .kicker { font-size: 14px; }
  h2 { font-size: 29px; }
  .thought { font-size: 17px; line-height: 1.62; }
  .pill { font-size: 13px; }
  .panel-title span { font-size: 16px; }
  .panel-title b, .panel-title time { font-size: 12px; }
  .daily-report b, .daily-report strong { font-size: 14px; }
  .daily-report p { font-size: 13px; line-height: 1.55; }
  .daily-report time, .daily-report small { font-size: 12px; }
  .ops-strip span, .ops-strip small { font-size: 12px; }
  .ops-strip strong { font-size: 18px; }
  .page-help { font-size: 13px; line-height: 1.6; }
  .ranking-row > *, .ranking-head b { font-size: 12px; }
  .candidate-name strong { font-size: 17px; }
  .candidate-name small { font-size: 12px; }
  .candidate-meta, .score-columns { font-size: 13px; }
  .watch-row span, .watch-row small, .watch-name small { font-size: 12px; }
  .watch-row b, .watch-name strong { font-size: 14px; }
  .signal span, .signal small, .trust-grid span { font-size: 11px; }
  .signal strong, .trust-grid strong { font-size: 13px; }
  .bottom-nav b { font-size: 12px; }
  .bottom-nav span { font-size: 20px; }
  #toast { font-size: 12px; }
  .ops-strip { grid-template-columns: 1fr 1fr; }
  .daily-reports { grid-template-columns: 1fr; }
  .control-panel { align-items: stretch; flex-direction: column; }
  .control-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .score-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .final-row { grid-template-columns: 1fr 1fr; }
  .watch-row { grid-template-columns: 1fr 1fr; }
  .watch-name { grid-column: span 2; }
  .factor-columns { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}
/* 2026-07-22: phone readability and Korean wrapping fixes. */
@media (max-width: 620px) {
  .app-shell { padding: 20px 18px 128px; }
  .topbar { grid-template-columns: 58px minmax(0, 1fr); gap: 14px; }
  .logo { width: 56px; height: 56px; }
  .brand small, .page-title small { font-size: 13px; line-height: 1.55; letter-spacing: .11em; }
  .brand h1 { font-size: 29px; line-height: 1.2; white-space: nowrap; }
  .today-date { font-size: 19px; line-height: 1.35; font-weight: 800; }
  .top-status { justify-content: space-between; gap: 10px; margin-top: 10px; }
  .connection { font-size: 14px; min-height: 44px; white-space: nowrap; }
  .current-clock { font-size: 18px; white-space: nowrap; }
  .kicker { font-size: 16px; }
  h2, #action { font-size: clamp(30px, 8.4vw, 38px); line-height: 1.28; word-break: keep-all; overflow-wrap: normal; }
  .thought { font-size: 19px; line-height: 1.68; word-break: keep-all; }
  .pill { font-size: 15px; }
  .panel { padding: 22px; }
  .panel-title span { font-size: 20px; }
  .panel-title b, .panel-title time { font-size: 15px; }
  .daily-report b, .daily-report strong { font-size: 17px; }
  .daily-report p { font-size: 16px; line-height: 1.65; }
  .daily-report time, .daily-report small { font-size: 14px; }
  .ops-strip span, .ops-strip small { font-size: 14px; }
  .ops-strip strong { font-size: 21px; }
  .control-panel strong { font-size: 18px; line-height: 1.45; }
  .control-panel small { font-size: 14px; line-height: 1.55; }
  .control-button { min-height: 52px; font-size: 16px; line-height: 1.35; word-break: keep-all; }
  .page-help { font-size: 16px; line-height: 1.7; word-break: keep-all; }
  .ranking-row > *, .ranking-head b { font-size: 14px; }
  .candidate-name strong { font-size: 20px; }
  .candidate-name small { font-size: 14px; }
  .candidate-meta, .score-columns { font-size: 15px; }
  .watch-row span, .watch-row small, .watch-name small { font-size: 14px; }
  .watch-row b, .watch-name strong { font-size: 17px; }
  .signal span, .signal small, .trust-grid span { font-size: 13px; }
  .signal strong, .trust-grid strong { font-size: 16px; }
  .account-hero span, .account-hero small { font-size: 14px; }
  .account-hero strong { font-size: 36px; }
  .position-item span, .trade-item span { font-size: 14px; }
  .position-item strong, .trade-item strong { font-size: 17px; }
  .bottom-nav { width: calc(100% - 24px); padding: 8px 6px; border-radius: 24px; }
  .bottom-nav button { min-height: 70px; padding: 9px 2px; }
  .bottom-nav span { font-size: 24px; }
  .bottom-nav b { font-size: 15px; margin-top: 7px; }
  .refresh { width: 52px; height: 52px; bottom: calc(104px + env(safe-area-inset-bottom)); font-size: 23px; }
  #toast { font-size: 15px; max-width: calc(100% - 36px); text-align: center; }
}

