/* ============ PORTFOLIO ============ */
  .ti-card {
    background: var(--card);
    border-radius: 20px;
    padding: 18px 20px;
  }
  .ti-card .lbl {
    color: var(--muted); font-size: 16.5px; font-weight: 500;
    display: flex; align-items: center; gap: 7px;
  }
  .ti-card .val {
    font-size: 30px; font-weight: 800; letter-spacing: -.4px; margin-top: 6px;
    font-variant-numeric: tabular-nums;
  }
  .ti-card .val .cents { font-size: 21px; }
  .empty-state { text-align: center; padding: 26px 0 10px; color: var(--muted); }
  .empty-state .bars { margin-bottom: 12px; }
  .empty-state p { font-size: 16.5px; }
  .date-group { color: var(--muted); font-size: 15.5px; font-weight: 500; margin: 16px 2px 10px; }
  .pos-card {
    background: var(--card);
    border-radius: 18px;
    padding: 14px 16px;
    display: flex; align-items: center; gap: 13px;
    margin-bottom: 10px;
  }
  .pos-card .ico { position: relative; width: 46px; height: 46px; flex: 0 0 auto; }
  .pos-card .ico svg { width: 46px; height: 46px; display: block; }
  .pos-main { flex: 1; min-width: 0; }
  .pos-main .nm { font-size: 17px; font-weight: 700; letter-spacing: -.2px; }
  .pos-main .sub { color: var(--muted); font-size: 14.5px; margin-top: 3px; }
  .pos-right { text-align: right; flex: 0 0 auto; }
  .pos-right .res { font-size: 15.5px; font-weight: 600; color: #C9D3E9; }
  .pos-right .dir {
    margin-top: 6px; margin-left: auto;
    width: 22px; height: 22px; border-radius: 50%;
    background: #3A4767;
    display: flex; align-items: center; justify-content: center;
  }
  .pos-progress {
    height: 5px; border-radius: 4px; background: #2A3453;
    margin-top: 8px; overflow: hidden;
  }
  .pos-progress i { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, #FB8C3C, #F97316); border-radius: 4px; transition: width .5s linear; }

  /* ============ DISCOVER ============ */
  .disc-sub { color: var(--muted); font-size: 16.5px; font-weight: 400; margin: -6px 0 16px; line-height: 1.35; }
  .stories {
    display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none;
    margin: 0 -16px; padding: 2px 16px 6px;
  }
  .stories::-webkit-scrollbar { display: none; }
  .story {
    flex: 0 0 auto;
    width: 100px; height: 142px;
    border-radius: 18px;
    border: 2px solid var(--accent);
    overflow: hidden;
    position: relative;
    background: #0E1730;
    transition: transform .12s;
  }
  .story:active { transform: scale(.96); }
  .story svg { width: 100%; height: 100%; display: block; }
  .info-card {
    background: var(--card);
    border-radius: 20px;
    padding: 16px 18px;
    display: flex; align-items: center; gap: 14px;
    margin-top: 14px;
    transition: transform .12s;
  }
  .info-card:active { transform: scale(.98); }
  .verif-ico { width: 44px; height: 44px; flex: 0 0 auto; }
  .info-card .tt { font-size: 19px; font-weight: 700; letter-spacing: -.2px; }
  .info-card .st { font-size: 16px; font-weight: 600; margin-top: 3px; }
  .info-card .st.ok { color: var(--green); }
  .info-card .chev { margin-left: auto; }
  .two-cards { display: flex; gap: 12px; margin-top: 14px; }
  .mini-card {
    flex: 1;
    background: var(--card);
    border-radius: 20px;
    padding: 16px;
    min-height: 104px;
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    transition: transform .12s;
  }
  .mini-card:active { transform: scale(.97); }
  .mini-card .tt { font-size: 17.5px; font-weight: 700; line-height: 1.25; letter-spacing: -.2px; }
  .mini-card .emoji { font-size: 40px; line-height: 1; filter: drop-shadow(0 4px 8px rgba(0,0,0,.4)); }
  .wide-card {
    border-radius: 20px;
    padding: 20px;
    margin-top: 14px;
    position: relative;
    overflow: hidden;
    min-height: 104px;
    display: flex; flex-direction: column; justify-content: center;
    transition: transform .12s;
  }
  .wide-card:active { transform: scale(.98); }
  .wide-card .tt { font-size: 21px; font-weight: 800; letter-spacing: -.3px; }
  .wide-card .st { color: #B9C4DE; font-size: 15.5px; margin-top: 5px; max-width: 72%; }
  .card-strategies { background: linear-gradient(105deg, #141B31 0%, #17244C 70%, #1B2C60 100%); }
  .card-strategies svg.waves { position: absolute; right: -12px; top: 0; height: 100%; }
  .card-milestones { background: linear-gradient(100deg, #221E44 0%, #37296B 100%); }
  .card-milestones .emoji {
    position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
    font-size: 52px; filter: drop-shadow(0 6px 12px rgba(0,0,0,.45));
  }

  /* ============ TOURNAMENT ============ */
  .tour-hero {
    background: linear-gradient(100deg, #221E44 0%, #3B2F73 100%);
    border-radius: 20px;
    padding: 20px;
    min-height: 104px;
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: center;
    transition: transform .12s;
  }
  .tour-hero:active { transform: scale(.98); }
  .tour-hero .tt { font-size: 21px; font-weight: 800; letter-spacing: -.3px; }
  .tour-hero .st { color: #B9C4DE; font-size: 15.5px; margin-top: 5px; max-width: 70%; }
  .tour-hero .emoji {
    position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
    font-size: 52px; filter: drop-shadow(0 6px 12px rgba(0,0,0,.45));
  }
  .mini-card.stat .lbl { color: var(--muted); font-size: 15px; font-weight: 500; }
  .mini-card.stat .big { font-size: 27px; font-weight: 800; letter-spacing: -.4px; margin-top: 5px; font-variant-numeric: tabular-nums; }
  .tour-progress { align-items: flex-start; }
  .tour-bar { height: 6px; border-radius: 4px; background: #2A3453; margin-top: 12px; overflow: hidden; }
  .tour-bar i { display: block; height: 100%; background: linear-gradient(90deg, #FB8C3C, #F97316); border-radius: 4px; transition: width .6s cubic-bezier(.22,.9,.34,1); }
  .tour-note { color: var(--muted); font-size: 14.5px; margin-top: 8px; }

  /* ============ PROFILE ============ */
  .profile-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 4px 16px calc(env(safe-area-inset-bottom, 0px) + 40px); }
  .pf-avatar {
    width: 92px; height: 92px; border-radius: 28px;
    background: #222B47;
    margin: 12px auto 0;
    display: flex; align-items: center; justify-content: center;
    position: relative;
  }
  .pf-avatar .vip-badge { bottom: -9px; font-size: 12px; padding: 3px 11px 3.5px; border-radius: 10px; }
  .pf-name {
    text-align: center; font-size: 27px; font-weight: 800; letter-spacing: -.4px;
    margin-top: 20px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
  }
  .pf-id {
    color: var(--muted); font-size: 16.5px; margin-top: 7px;
    display: flex; align-items: center; justify-content: center; gap: 9px;
  }
  .pf-id button { display: flex; padding: 2px; }
  .pf-banners { display: flex; gap: 12px; margin-top: 20px; }
  .pf-banner {
    flex: 1; border-radius: 18px; padding: 15px 16px;
    min-height: 96px;
    position: relative; overflow: hidden;
    font-size: 17.5px; font-weight: 700; line-height: 1.25; letter-spacing: -.2px;
    transition: transform .12s;
  }
  .pf-banner:active { transform: scale(.97); }
  .pf-banner.promo { background: linear-gradient(115deg, #34266B 0%, #5A3EA6 100%); }
  .pf-banner.loyalty { background: linear-gradient(115deg, #2B3040 0%, #4C5266 100%); }
  .pf-banner .em {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    font-size: 46px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.4));
  }
  .plus1 {
    display: inline-block;
    background: var(--accent); color: #fff;
    font-size: 13.5px; font-weight: 800;
    border-radius: 9px; padding: 2.5px 9px;
    margin-top: 9px;
  }
  .p-group { background: var(--card); border-radius: 20px; margin-top: 14px; overflow: hidden; }
  .p-row {
    width: 100%; text-align: left;
    display: flex; align-items: center; gap: 15px;
    padding: 17px 18px;
    transition: background .12s;
  }
  .p-row:active { background: rgba(255,255,255,.045); }
  .p-row .ric { width: 28px; display: flex; justify-content: center; flex: 0 0 auto; }
  .p-row .rt { font-size: 18.5px; font-weight: 600; letter-spacing: -.2px; }
  .p-row .rs { font-size: 15px; margin-top: 3px; }
  .p-row .rs.ok { color: var(--green); font-weight: 600; }
  .p-row .chev { margin-left: auto; flex: 0 0 auto; }
  .p-row.logout .rt { color: #F0716B; }
  .vip-mini { display: inline-flex; align-items: center; gap: 4px; color: #E8C25A; font-size: 14.5px; font-weight: 700; margin-top: 3px; }
  .pf-footer { text-align: center; color: var(--dim); font-size: 14px; margin-top: 28px; line-height: 1.75; }
  .pf-footer .pw { color: #A9B4CE; font-size: 15.5px; display: flex; align-items: center; justify-content: center; gap: 7px; margin-bottom: 3px; }
  .pf-footer .pw b { font-weight: 800; letter-spacing: -.2px; }

  /* ============ CREATIVE SETTINGS ============ */
  .creative-settings-scroll {
    flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding: 2px 16px calc(env(safe-area-inset-bottom, 0px) + 34px);
  }
  .creative-settings-intro {
    background: linear-gradient(145deg, #192847, #16223D);
    border: 1px solid rgba(91,112,158,.25); border-radius: 20px;
    padding: 16px;
  }
  .creative-kicker {
    color: #93A5CC; font-size: 11px; font-weight: 800;
    letter-spacing: .9px; text-transform: uppercase;
  }
  .creative-settings-intro h2 { font-size: 20px; letter-spacing: -.3px; margin-top: 5px; }
  .creative-settings-intro p { color: #9EACCA; font-size: 13px; line-height: 1.35; margin-top: 7px; }
  .network-segment {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px;
    background: #10192E; border: 1px solid #2A385E;
    border-radius: 15px; padding: 4px; margin-top: 15px;
  }
  .network-preset {
    height: 43px; border-radius: 11px;
    color: #8797B9; font-size: 13.5px; font-weight: 700;
  }
  .network-preset.active {
    background: #29395F; color: #F3F6FC;
    box-shadow: 0 6px 16px rgba(0,0,0,.18);
  }
  .locale-segment {
    display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px;
    background: #10192E; border: 1px solid #2A385E;
    border-radius: 15px; padding: 4px;
  }
  .locale-option {
    min-width: 0; height: 39px; padding: 0 2px; border-radius: 10px;
    color: #8797B9; font-size: 11px; font-weight: 800;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .locale-option.active {
    background: #29395F; color: #F3F6FC;
    box-shadow: 0 6px 16px rgba(0,0,0,.18);
  }
  .preset-meta-row {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin-top: 13px;
  }
  .preset-status {
    min-width: 0; color: #B7C4DE; font-size: 12.5px; font-weight: 700;
    display: flex; align-items: center; gap: 7px;
  }
  .preset-status::before {
    content: ''; width: 7px; height: 7px; border-radius: 50%;
    background: #2EBD70; box-shadow: 0 0 0 3px rgba(46,189,112,.12);
  }
  .preset-status.customized::before { background: #F59E42; box-shadow: 0 0 0 3px rgba(245,158,66,.13); }
  .reset-preset { color: #F89A58; font-size: 12.5px; font-weight: 700; padding: 7px 0 7px 8px; }
  .reset-preset:disabled { color: #596886; cursor: default; }
  .creative-section-title {
    color: #8FA0C3; font-size: 13px; font-weight: 700;
    margin: 20px 3px 9px; letter-spacing: .1px;
  }
  .creative-options { background: #17233D; border-radius: 18px; overflow: hidden; }
  .creative-option {
    min-height: 64px; display: flex; align-items: center; gap: 12px;
    padding: 11px 14px; cursor: pointer;
  }
  .creative-option + .creative-option { border-top: 1px solid rgba(77,96,139,.25); }
  .creative-option-copy { min-width: 0; flex: 1; }
  .creative-option-name { color: #E9EDF6; font-size: 15px; font-weight: 650; line-height: 1.18; }
  .creative-option-note { color: #8292B5; font-size: 11.5px; line-height: 1.25; margin-top: 4px; }
  .creative-option.overridden .creative-option-name::after {
    content: 'Custom';
    display: inline-flex; align-items: center; height: 18px; margin-left: 7px; padding: 0 6px;
    border-radius: 8px; background: rgba(249,115,22,.15); color: #FB9A55;
    font-size: 9.5px; font-weight: 800; vertical-align: 1px;
  }
  .creative-toggle {
    appearance: none; -webkit-appearance: none;
    width: 46px; height: 27px; flex: 0 0 46px;
    border-radius: 15px; background: #303C5B;
    position: relative; transition: background .18s;
  }
  .creative-toggle::after {
    content: ''; position: absolute; top: 3px; left: 3px;
    width: 21px; height: 21px; border-radius: 50%; background: #C7D0E3;
    box-shadow: 0 2px 5px rgba(0,0,0,.28); transition: transform .18s, background .18s;
  }
  .creative-toggle:checked { background: #F97316; }
  .creative-toggle:checked::after { transform: translateX(19px); background: #FFF; }
  .creative-internal-note {
    color: #697897; font-size: 10.5px; line-height: 1.35;
    padding: 14px 4px 0; text-align: center;
  }
  .creative-scene-row { min-height: 78px; }
  .creative-scene-row.scene-enabled {
    background: linear-gradient(90deg, rgba(249,115,22,.08), rgba(255,217,138,.025));
  }
  .creative-scene-row.scene-enabled .creative-option-name::after {
    content: 'Meta';
    display: inline-flex; align-items: center; height: 18px; margin-left: 7px; padding: 0 6px;
    border-radius: 8px; background: rgba(249,115,22,.16); color: #FBA36A;
    font-size: 9.5px; font-weight: 800; vertical-align: 1px;
  }

  @media (prefers-reduced-motion: reduce) {
    #sceneTouch { transition: none; }
  }

  /* ============ ACCOUNT SWITCHER ============ */
  #accountOverlay {
    position: absolute; inset: 0;
    z-index: 70;
    display: none;
    align-items: flex-end;
    background: rgba(3, 8, 24, .87);
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
  }
  #accountOverlay.on { display: flex; animation: accountFadeIn .18s ease-out; }
  @keyframes accountFadeIn { from { opacity: 0; } to { opacity: 1; } }
  .account-sheet {
    width: 100%;
    min-height: 372px;
    background: #172747;
    border-radius: 24px 24px 0 0;
    padding: 24px 16px calc(env(safe-area-inset-bottom, 0px) + 28px);
    box-shadow: 0 -18px 42px rgba(0, 0, 0, .24);
    animation: accountSheetIn .28s cubic-bezier(.22, .9, .34, 1);
  }
  @keyframes accountSheetIn { from { transform: translateY(100%); } to { transform: translateY(0); } }
  .account-sheet-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 15px;
  }
  .account-sheet-head h2 {
    font-size: 19px; line-height: 1.2; font-weight: 500; letter-spacing: -.2px;
  }
  .account-close {
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    color: #AAB8D9;
  }
  .account-card {
    position: relative;
    background: #27395F;
    border-radius: 18px;
    padding: 13px 15px;
    min-height: 86px;
    cursor: pointer;
    outline: none;
    transition: transform .12s, background .16s;
  }
  .account-card + .account-card { margin-top: 22px; }
  .account-card:active { transform: scale(.985); }
  .account-card:focus-visible { box-shadow: inset 0 0 0 1px #6E7B9E; }
  .account-card.selected { padding-bottom: 18px; }
  .account-name { color: #A9B8DB; font-size: 16.5px; font-weight: 500; line-height: 1.2; }
  .account-balance {
    color: #F1F4FB;
    font-size: 25px; font-weight: 600; letter-spacing: -.4px;
    font-variant-numeric: tabular-nums;
    margin-top: 7px;
  }
  .account-radio {
    appearance: none;
    -webkit-appearance: none;
    position: absolute; top: 14px; right: 14px;
    width: 25px; height: 25px;
    border: 1.5px solid #66789F;
    border-radius: 50%;
    background: transparent;
    pointer-events: none;
  }
  .account-radio:checked {
    border: 7px solid var(--accent);
    background: #F4F6FB;
  }
  .account-actions { display: none; gap: 11px; margin-top: 12px; }
  .account-card.selected .account-actions { display: flex; }
  .account-action {
    flex: 1; height: 40px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 500;
  }
  .account-action.secondary { background: #6E83B0; color: #FFF; }
  .account-action.primary { background: #FF7418; color: #FFF; }
  .account-action.unavailable { background: #895040; color: #8FA0C0; cursor: default; }

  /* ============ CHART INTERVAL SHEET ============ */
  #intervalOverlay {
    position: absolute; inset: 0; z-index: 76;
    display: none; align-items: flex-end;
    background: rgba(3, 8, 24, .88);
    backdrop-filter: blur(1.5px); -webkit-backdrop-filter: blur(1.5px);
  }
  #intervalOverlay.on { display: flex; animation: accountFadeIn .18s ease-out; }
  .interval-sheet {
    width: 100%; min-height: 300px;
    padding: 27px 16px calc(env(safe-area-inset-bottom, 0px) + 29px);
    border-radius: 22px 22px 0 0; background: #172747;
    box-shadow: 0 -18px 42px rgba(0,0,0,.25);
    animation: accountSheetIn .28s cubic-bezier(.22,.9,.34,1);
  }
  .interval-sheet-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 23px;
  }
  .interval-sheet-head h2 {
    font-size: 20px; line-height: 1.2; font-weight: 500; letter-spacing: -.25px;
  }
  .interval-close {
    width: 32px; height: 32px; color: #AAB8D9;
    display: flex; align-items: center; justify-content: center;
  }
  .interval-description {
    margin: 0 0 18px; color: #A9B8DB;
    font-size: 15px; line-height: 1.3; font-weight: 400;
  }
  .interval-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
  }
  .interval-option {
    min-width: 0; height: 48px; padding: 0 6px;
    border: 1.3px solid #667BA7; border-radius: 14px;
    color: #F0F4FC; background: transparent;
    font-size: 16px; line-height: 1; font-weight: 500;
    transition: transform .12s, background .16s, border-color .16s;
  }
  .interval-option:active { transform: scale(.97); }
  .interval-option.active {
    background: #2A3C64; border-color: #7489B4;
    box-shadow: inset 0 0 0 1px rgba(152,171,214,.08);
  }

  .jump-live[hidden] { display: none; }
  .jump-live {
    position: absolute; right: 72px; bottom: 50px;
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(34,43,71,.94);
    border: 1px solid var(--border-2);
    display: flex; align-items: center; justify-content: center;
    z-index: 4;
    box-shadow: 0 8px 18px rgba(0,0,0,.4);
    animation: jumpIn .2s ease-out;
  }
  @keyframes jumpIn { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: scale(1); } }

  /* ============ TAB BAR ============ */
  #tabbar {
    flex: 0 0 auto;
    display: flex;
    padding: 6px 8px 8px;
    border-top: 1px solid rgba(44,56,97,.5);
    background: var(--bg);
  }
  .tb-btn {
    flex: 1;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 6px 0 2px;
    color: var(--dim);
    font-size: 12px; font-weight: 600;
  }
  .tb-btn .ic { position: relative; height: 26px; display: flex; align-items: center; }
  .tb-btn.on { color: var(--text); }
  .tb-btn svg { stroke: currentColor; }
  .tb-dot {
    position: absolute; top: -1px; right: -5px;
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent);
  }

  /* ============ ASSET PICKER ============ */
  #assetPicker, #profileScreen, #creativeSettingsScreen {
    position: absolute; inset: 0;
    background: var(--bg);
    z-index: 40;
    display: none;
    flex-direction: column;
    padding-top: calc(env(safe-area-inset-top, 0px) + 6px);
  }
  #assetPicker.on, #profileScreen.on, #creativeSettingsScreen.on { display: flex; animation: pickerIn .22s cubic-bezier(.22,.9,.34,1); }
  @keyframes pickerIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  .picker-head {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 8px 12px;
  }
  .icon-btn {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
  }
  .icon-btn:active { background: rgba(255,255,255,.06); }
  .picker-head .tt { font-size: 23px; font-weight: 700; letter-spacing: -.3px; flex: 1; }
  .search-row { padding: 0 16px 10px; display: none; }
  .search-row.on { display: block; }
  .search-row input {
    width: 100%; height: 46px;
    background: var(--card); border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text); font-size: 16.5px;
    padding: 0 16px; outline: none;
  }
  .seg-tabs { display: flex; border-bottom: 1px solid rgba(44,56,97,.55); }
  .seg-tab {
    flex: 1; text-align: center;
    padding: 12px 0 13px;
    color: var(--muted); font-size: 18.5px; font-weight: 600;
    position: relative;
  }
  .seg-tab.on { color: var(--text); }
  .seg-tab.on::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -1px;
    height: 3px; background: var(--accent); border-radius: 3px 3px 0 0;
  }
  .chips {
    display: flex; gap: 9px; align-items: center;
    padding: 14px 16px 4px;
    overflow-x: auto; scrollbar-width: none;
    flex: 0 0 auto;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip {
    flex: 0 0 auto;
    height: 44px; padding: 0 20px;
    border: 1px solid #33406A; border-radius: 23px;
    color: #C3CDE4; font-size: 15.5px; font-weight: 500;
    display: flex; align-items: center;
    transition: border-color .16s, color .16s, transform .12s;
  }
  .chip:active { transform: scale(.95); }
  .chip.icon { width: 52px; padding: 0; justify-content: center; }
  .chip.sep { border: none; width: 1px; padding: 0; height: 30px; background: #2A3453; border-radius: 0; }
  .chip.on { border-color: var(--accent); color: var(--text); }
  .chip[hidden], .pf-banners[hidden], .ti-card[hidden], .sec-title[hidden], #closedList[hidden] { display: none; }
  .list-head {
    display: flex; justify-content: space-between;
    color: var(--muted); font-size: 15.5px;
    padding: 16px 18px 8px;
  }
  .list-head span:last-child { padding-right: 52px; }
  #assetList { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 20px); }
  .asset-row {
    display: flex; align-items: center; gap: 14px;
    padding: 15px 18px;
    border-bottom: 1px solid rgba(44,56,97,.4);
  }
  .asset-row:active { background: rgba(255,255,255,.03); }
  .asset-row .ico { position: relative; width: 44px; height: 44px; flex: 0 0 auto; }
  .asset-row .ico svg { width: 44px; height: 44px; display: block; }
  .currency-pair-icon {
    position: relative;
    width: 100%; height: 100%;
    display: block;
  }
  .currency-flag {
    position: absolute;
    width: 68%; height: 68%;
    overflow: hidden;
    border-radius: 50%;
    background: #111A31;
    box-shadow: 0 0 0 1px rgba(7,12,28,.55);
  }
  .currency-flag:first-child { left: 0; top: 0; z-index: 1; }
  .currency-flag:last-child { right: 0; bottom: 0; z-index: 2; }
  .currency-flag img {
    width: 100% !important; height: 100% !important;
    object-fit: cover !important;
  }
  .asset-row .nm { flex: 1; font-size: 17.5px; font-weight: 600; letter-spacing: -.2px; }
  .asset-row .chg { color: var(--green); font-size: 16.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
  .asset-row .star { padding: 6px 0 6px 12px; display: flex; }

  /* ============ TOAST ============ */
  #toast {
    position: absolute;
    left: 50%; transform: translateX(-50%) translateY(14px);
    bottom: calc(env(safe-area-inset-bottom, 0px) + 84px);
    background: #222B47;
    border: 1px solid var(--border-2);
    color: var(--text);
    font-size: 15px; font-weight: 600;
    padding: 12px 20px;
    border-radius: 15px;
    box-shadow: 0 14px 34px rgba(0,0,0,.5);
    opacity: 0; pointer-events: none;
    transition: opacity .25s, transform .25s;
    z-index: 110;
    white-space: nowrap;
  }
  #toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

