:root{--bg:#061018;--panel:#0b1721;--panel2:#0f202d;--line:rgba(105,220,255,.16);--line2:rgba(255,255,255,.09);--text:#f5fbff;--muted:#8ba1b0;--cyan:#69dcff;--mint:#62e2c2;--green:#42b85a;--pink:#e25391;--red:#ff758e}*{box-sizing:border-box}html{color-scheme:dark}body{margin:0;min-height:100vh;background:radial-gradient(circle at 50% -20%,rgba(47,143,255,.18),transparent 34%),var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;padding-bottom:102px}button,input{font:inherit}.topbar{height:78px;padding:0 max(18px,env(safe-area-inset-left));display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--line2);background:rgba(5,14,22,.85);backdrop-filter:blur(18px);position:sticky;top:0;z-index:20}.back{font-size:38px;line-height:1;color:var(--text);text-decoration:none}.asset-title{display:flex;align-items:center;gap:11px;flex:1}.asset-logo{width:42px;height:42px;border-radius:50%;overflow:hidden;box-shadow:0 0 22px rgba(105,220,255,.22)}.asset-logo img{width:100%;height:100%;object-fit:cover}.asset-title strong,.asset-title small{display:block}.asset-title strong{font-size:17px}.asset-title small{font-size:10px;color:var(--muted);margin-top:2px}.wallet-button{height:39px;padding:0 13px;border-radius:999px;border:1px solid rgba(105,220,255,.24);background:rgba(105,220,255,.06);color:var(--text);font-weight:800;font-size:12px}.exchange{width:min(1180px,100%);margin:auto;display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:18px;padding:20px}.market,.order-panel{border:1px solid var(--line2);border-radius:24px;background:linear-gradient(155deg,rgba(255,255,255,.04),rgba(255,255,255,.015));overflow:hidden}.ticker-row{display:flex;align-items:flex-end;justify-content:space-between;padding:22px 24px 14px}.eyebrow{display:block;color:var(--cyan);font-size:9px;font-weight:900;letter-spacing:.16em}.ticker-price{font-size:28px;margin:0 10px 0 0}.ticker-change{color:var(--mint);font-weight:800}.demo-badge{font-size:9px;font-weight:900;letter-spacing:.11em;color:#f0c979;border:1px solid rgba(240,201,121,.25);border-radius:999px;padding:7px 10px;background:rgba(240,201,121,.05)}.section-tabs,.position-tabs{display:flex;gap:30px;padding:0 24px;border-bottom:1px solid var(--line2);overflow-x:auto}.section-tabs button,.position-tabs button,.indicators button,.timeframes button{border:0;background:none;color:var(--muted);white-space:nowrap;cursor:pointer}.section-tabs button,.position-tabs button{height:45px;font-size:14px;position:relative}.section-tabs button.active,.position-tabs button.active{color:var(--text);font-weight:850}.section-tabs button.active:after,.position-tabs button.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;border-radius:3px;background:var(--mint)}.market-facts{display:flex;gap:8px;padding:10px 24px;overflow-x:auto}.market-facts span{font-size:10px;white-space:nowrap;padding:6px 9px;border-radius:8px;background:rgba(255,255,255,.045);color:var(--muted)}.market-facts b{color:#c9d8e1}.timeframes{display:flex;align-items:center;gap:4px;padding:8px 18px}.timeframes button{height:34px;min-width:49px;border-radius:999px;font-size:12px}.timeframes button.active{background:rgba(105,220,255,.11);color:var(--text);font-weight:850}.timeframes .chart-tool{margin-left:auto;min-width:36px;font-size:16px}.chart-wrap{height:390px;position:relative;border-top:1px solid rgba(255,255,255,.035);border-bottom:1px solid rgba(255,255,255,.035);overflow:hidden}.ma-legend{position:absolute;top:8px;left:24px;z-index:2;display:flex;gap:10px;font-size:10px}.ma-legend span:nth-child(1){color:#f4c85a}.ma-legend span:nth-child(2){color:#ed70aa}.ma-legend span:nth-child(3){color:#56d5dc}.chart{width:100%;height:100%}.grid path{stroke:rgba(255,255,255,.055);stroke-width:1}.area{fill:url(#chartFade)}.ma{fill:none;stroke-width:1.3}.ma-a{stroke:#f0c44d}.ma-b{stroke:#df568f}.ma-c{stroke:#55cbd2}
.candle.up{fill:#62d350}.candle.down{fill:#ed4ca0}.wick.up{stroke:#62d350}.wick.down{stroke:#ed4ca0}.current-line{stroke:rgba(255,255,255,.55);stroke-dasharray:6 6}.current-label{fill:#d6e0e7;font-size:12px}.axis text{fill:#728796;font-size:11px}.volume{height:92px;padding:8px 24px 12px}.volume>span{font-size:10px;color:#e9b955}.volume-bars{height:62px;display:flex;align-items:end;gap:4px}.volume-bars i{flex:1;min-width:2px;background:rgba(98,226,194,.62);border-radius:2px 2px 0 0}.volume-bars i.hot{background:rgba(226,83,145,.72)}.indicators{display:flex;gap:18px;padding:0 24px;height:44px;align-items:center;overflow-x:auto;border-bottom:1px solid var(--line2)}.indicators button{font-size:12px}.indicators button.active{color:var(--text);font-weight:850}.position-tabs{margin-top:10px}.position-card{padding:25px 24px 28px}.position-label{display:flex;align-items:center;gap:8px;color:var(--muted)}.mini-logo{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#05090c;color:#fff;font-size:11px}.position-card>strong{display:block;font-size:44px;letter-spacing:-.04em;margin:10px 0}.position-card p{color:var(--muted);margin:0}.position-card p span{color:#b8c6ce;margin-left:8px}.position-meta{display:flex;gap:32px;margin-top:24px;font-size:11px;color:var(--muted)}.position-meta b{display:block;color:#d7e2e8;margin-top:4px}.order-panel{padding:22px;position:sticky;top:98px}.order-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:16px}.order-head h1{margin:6px 0 0;font-size:24px}.close-order{display:none;border:0;background:none;color:var(--muted);font-size:28px}.settings{border:1px solid var(--line2);background:rgba(0,0,0,.18);border-radius:15px;padding:13px;margin-bottom:10px}.settings label{font-size:11px;color:var(--muted)}.slippage-row{display:flex;gap:5px;margin-top:8px}.slippage-option,.custom-slippage{height:33px;border:1px solid var(--line2);border-radius:9px;background:rgba(255,255,255,.03);color:var(--muted)}.slippage-option{padding:0 9px}.slippage-option.active{background:var(--mint);color:#04130f;font-weight:900}.custom-slippage{margin-left:auto;display:flex;align-items:center;padding:0 8px}.custom-slippage input{width:35px;border:0;background:none;color:var(--text);outline:0;text-align:right}.token-panel{border:1px solid var(--line2);border-radius:18px;background:rgba(6,16,24,.8);padding:15px}.panel-label,.balance{display:flex;justify-content:space-between;color:var(--muted);font-size:11px}.panel-label button{border:0;background:none;color:var(--cyan);font-weight:850}.amount-row{display:flex;align-items:center;gap:10px;margin:9px 0 5px}.amount-row input,.amount-row output{display:block;min-width:0;flex:1;border:0;background:none;outline:0;color:var(--text);font-size:29px}.token-button{display:flex;align-items:center;gap:7px;min-width:105px;height:43px;padding:0 9px;border-radius:13px;border:1px solid var(--line2);background:#102331;color:var(--text)}.token-button>span:last-child{margin-left:auto}.token-symbol{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#e7af3f;color:#241500;font-size:7px;font-weight:950}.token-symbol.mint{background:linear-gradient(145deg,#e4fff8,#62e2c2);color:#04130f}.flip-wrap{height:9px;display:grid;place-items:center;position:relative;z-index:2}.flip-button{position:absolute;width:35px;height:35px;border:4px solid #0a1720;border-radius:11px;background:#153044;color:var(--cyan)}.quote-box{display:grid;gap:7px;margin:14px 2px}.quote-box div{display:flex;justify-content:space-between;font-size:11px}.quote-box span{color:var(--muted)}.status{display:flex;gap:8px;align-items:center;padding:10px;border-radius:11px;background:rgba(105,220,255,.045);color:#9eb8c6;font-size:11px}.status i{width:7px;height:7px;border-radius:50%;background:#e9ba59;flex:none}.status.error{color:#ff9aae;background:rgba(255,117,142,.07)}.status.error i{background:var(--red)}.status.success{color:#9ef1d3;background:rgba(98,226,194,.07)}.status.success i{background:var(--mint)}.execute-button{width:100%;height:54px;border:0;border-radius:999px;margin-top:12px;color:white;font-weight:900;font-size:15px}.execute-button.buy{background:linear-gradient(135deg,#35a148,#257c35)}.execute-button.sell{background:linear-gradient(135deg,#c24979,#9f365f)}.execute-button:disabled{opacity:.45}.risk-note{text-align:center;color:#627887;font-size:9px;line-height:1.45}.bottom-actions{position:fixed;z-index:30;left:0;right:0;bottom:0;display:flex;gap:12px;padding:14px max(18px,env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom));background:rgba(5,13,20,.92);border-top:1px solid var(--line2);backdrop-filter:blur(18px)}.bottom-actions button{height:57px;border:0;border-radius:999px;color:#fff;font-size:16px;font-weight:900}.bottom-actions .action-buy,.bottom-actions .action-sell{flex:1}.action-buy{background:#287f2c}.action-sell{background:#a83e68}.bottom-actions .quick{width:57px;flex:none;background:#172631;color:var(--cyan);font-size:24px}.bottom-actions button:not(.active){filter:saturate(.72);opacity:.85}dialog{width:min(420px,calc(100% - 28px));border:1px solid var(--line);border-radius:22px;padding:0;background:#091721;color:var(--text)}dialog::backdrop{background:rgba(0,4,8,.75);backdrop-filter:blur(8px)}dialog form{padding:20px}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head h2{margin:0;font-size:18px}.dialog-head button{border:0;background:none;color:var(--muted);font-size:27px}.token-list{display:grid;gap:8px;margin-top:16px}.token-option{display:flex;align-items:center;gap:11px;width:100%;padding:12px;border:1px solid var(--line2);border-radius:13px;background:rgba(255,255,255,.025);color:var(--text)}.token-identity{display:grid;gap:2px;text-align:left}.token-identity small{color:var(--muted);font-size:10px}.token-verified{margin-left:auto;padding:4px 8px;border-radius:999px;background:rgba(42,201,165,.14);color:var(--mint);font-size:10px;font-weight:800;white-space:nowrap}.token-empty{margin:8px 0;padding:20px 12px;border:1px dashed var(--line2);border-radius:13px;color:var(--muted);text-align:center;font-size:13px}
@media(min-width:781px){.bottom-actions{display:none}body{padding-bottom:30px}}
@media(max-width:780px){.exchange{display:block;padding:0}.market{border:0;border-radius:0;background:transparent}.order-panel{position:fixed;z-index:40;left:0;right:0;bottom:0;top:auto;border-radius:26px 26px 0 0;padding:22px 18px calc(18px + env(safe-area-inset-bottom));transform:translateY(105%);transition:transform .28s ease;background:#0a1721;max-height:88vh;overflow-y:auto}.order-panel.open{transform:translateY(0)}.close-order{display:block}.chart-wrap{height:360px}.ticker-row{padding-left:18px;padding-right:18px}.section-tabs,.market-facts,.indicators,.position-tabs{padding-left:18px;padding-right:18px}.topbar{height:70px}.position-card{padding-left:18px;padding-right:18px}}
@media(max-width:470px){.wallet-button{max-width:100px;overflow:hidden;text-overflow:ellipsis}.section-tabs{gap:25px}.ticker-price{font-size:24px}.chart-wrap{height:330px}.ma-legend{left:18px;gap:7px}.position-card>strong{font-size:40px}.position-tabs{gap:28px}.position-meta{gap:20px}}
@media(prefers-reduced-motion:reduce){.order-panel{transition:none}}

/* Light trading theme */
:root{--bg:#fff;--panel:#fff;--panel2:#f6f8fa;--line:rgba(22,88,104,.16);--line2:rgba(8,24,34,.10);--text:#10171c;--muted:#6d7880;--cyan:#079fb5;--mint:#16bfa5;--green:#2d8f31;--pink:#b3406b;--red:#d83f5d}
html{color-scheme:light}body{background:#fff;color:var(--text)}
.topbar{background:rgba(255,255,255,.94);border-bottom-color:#e8ecef}.asset-logo{box-shadow:0 0 0 1px #e5eaed,0 5px 18px rgba(19,98,112,.12)}.wallet-button{background:#effcf9;color:#087b6b;border-color:#a9e8dc}
.market,.order-panel{background:#fff;border-color:#e7ebee;box-shadow:0 14px 44px rgba(25,43,51,.06)}.demo-badge{color:#9a6816;background:#fff8e9;border-color:#f0d59f}
.section-tabs,.position-tabs,.indicators,.topbar,.bottom-actions{border-color:#e8ecef}.market-facts span{background:#f3f5f6;color:#6d777e}.market-facts b,.position-meta b{color:#26343c}.timeframes button.active{background:#edf1f3;color:#10171c}
.chart-wrap{background:#fff;border-color:#edf0f2}.grid path{stroke:rgba(21,36,45,.08)}.area{opacity:.45}.axis text{fill:#879097}.current-line{stroke:rgba(20,29,34,.55)}.current-label{fill:#243038}
.volume-bars i{background:rgba(67,176,89,.55)}.volume-bars i.hot{background:rgba(226,83,145,.58)}.position-card{background:#fff}.mini-logo{background:#0b1115}.position-card p span{color:#555f66}
.order-panel{background:#fff}.settings{background:#f7f9fa}.slippage-option,.custom-slippage{background:#fff}.slippage-option.active{color:#053d34}.token-panel{background:#f7f9fa}.receive-panel{background:#f3f7f7}.token-button{background:#fff;color:#172127}.flip-button{border-color:#fff;background:#edf8f7}
.status{background:#f0f8fa;color:#50717c}.status.error{background:#fff1f4}.status.success{background:#edfaf6}.risk-note{color:#7d888f}.bottom-actions{background:rgba(255,255,255,.95)}.bottom-actions .quick{background:#eef1f3;color:#087f91}
dialog{background:#fff;color:#162027;box-shadow:0 24px 80px rgba(18,37,46,.18)}dialog::backdrop{background:rgba(14,24,30,.35)}.token-option{background:#f8fafb;color:#172127}
@media(max-width:780px){.market{background:#fff}.order-panel{background:#fff;box-shadow:0 -18px 55px rgba(18,38,47,.16)}}

/* Reference-style high contrast candles */
.candle.up{fill:#009f87}.candle.down{fill:#f03ca0}.wick.up{stroke:#009f87;stroke-width:1.15}.wick.down{stroke:#f03ca0;stroke-width:1.15}

/* Reference typography and time scale */
body{font-family:Roboto,Arial,"Noto Sans KR",sans-serif;letter-spacing:-.012em}.asset-title strong{font-weight:700}.asset-title small{font-weight:400}.ticker-price{font-weight:700}.ticker-change{font-weight:500}
.section-tabs{gap:36px}.section-tabs button{font-size:16px;font-weight:500;color:#666}.section-tabs button.active{font-weight:700;color:#111}.section-tabs button.active:after{height:2px;background:#111}
.timeframes{padding-top:12px;padding-bottom:10px;gap:8px}.timeframes button{font-size:14px;font-weight:400;color:#7b7f83;min-width:52px}.timeframes button.active{font-weight:700;color:#111;background:#eef0f2}.timeframes .chart-tool{color:#222}
.ma-legend{font-size:12px;font-weight:400}.chart-wrap{padding-bottom:30px}.chart{height:calc(100% - 30px)}
.time-axis{position:absolute;left:0;right:0;bottom:0;height:30px;display:flex;align-items:center;justify-content:space-between;color:#858a8e;font-size:11px;border-top:1px solid #eceff1;padding:0 8px}.time-axis span{white-space:nowrap}
.indicators button{font-size:14px}.position-tabs button{font-size:15px}.position-card>strong{font-weight:700}.position-label,.position-card p{font-size:15px}
@media(max-width:560px){.section-tabs{gap:30px}.section-tabs button{font-size:15px}.timeframes{gap:2px}.timeframes button{min-width:54px;font-size:13px}.time-axis{font-size:9px;padding:0 2px}.time-axis span:nth-child(2),.time-axis span:nth-child(4){display:none}.ma-legend{font-size:10px}}

/* Tall mobile trading layout based on the approved reference */
.ticker-row{align-items:flex-start}.price-block{display:flex;align-items:baseline;gap:10px}.quick-stats{width:280px;margin:0;display:grid;gap:5px}.quick-stats div{display:flex;justify-content:space-between;gap:22px}.quick-stats dt{color:#92979b;font-size:13px}.quick-stats dd{margin:0;color:#151a1d;font-size:13px}.quick-stats div:last-child dd{color:#b3406b}.market-facts button{flex:none;width:30px;height:30px;border:0;border-radius:9px;background:#f2f3f4;color:#5e6569;font-size:21px}.market-facts .demo-badge{padding:6px 9px}.tool-divider{margin-left:auto;width:1px;height:28px;background:#e2e5e7}.timeframes .chart-icon,.timeframes .chart-tool{min-width:38px;font-size:20px;color:#111}
@media(max-width:780px){body{padding-bottom:92px}.topbar{height:76px;padding-left:20px;padding-right:20px}.asset-logo{width:44px;height:44px}.asset-title strong{font-size:19px}.asset-title small{font-size:11px}.exchange{max-width:709px}.ticker-row{padding:15px 22px 12px}.price-block{display:block}.ticker-price{display:block;font-size:46px;line-height:1.03;color:#152027}.ticker-change{display:block;margin-top:8px;font-size:16px}.quick-stats{width:43%;gap:6px}.quick-stats dt,.quick-stats dd{font-size:12px}.section-tabs{height:52px;align-items:end}.section-tabs button{height:49px}.market-facts{padding-top:9px;padding-bottom:9px}.timeframes{height:58px;padding-left:18px;padding-right:18px}.chart-wrap{height:455px}.volume{height:112px}.volume-bars{height:78px}.indicators{height:51px}.position-tabs{height:62px;align-items:end;margin-top:0}.position-tabs button{height:58px;font-size:16px}.position-card{min-height:126px}.bottom-actions{padding-top:13px}.bottom-actions button{height:60px}.bottom-actions .quick{width:60px}}
@media(max-width:480px){.ticker-price{font-size:42px}.quick-stats{width:45%}.quick-stats div{gap:10px}.section-tabs{gap:27px}.section-tabs button{font-size:14px}.market-facts{gap:5px}.market-facts span{font-size:9px;padding:6px}.timeframes button{min-width:50px}.chart-wrap{height:430px}.position-tabs{gap:26px}.position-tabs button{font-size:15px}}

/* Reference layout fidelity — candle palette intentionally untouched */
.price-label{display:block;color:#94999d;font-size:14px;margin-bottom:5px}.ticker-change.negative{color:#b3406b}.quick-stats{gap:7px}.quick-stats dt,.quick-stats dd{font-family:Roboto,Arial,"Noto Sans KR",sans-serif;font-weight:400}.quick-stats div:last-child dd{color:#b3406b}
.axis text{font-family:Roboto,Arial,"Noto Sans KR",sans-serif;font-size:14px;fill:#8a8f92}.current-label{font-family:Roboto,Arial,"Noto Sans KR",sans-serif;font-size:13px;fill:#4f5558}.time-axis{font-family:Roboto,Arial,"Noto Sans KR",sans-serif;font-size:12px;color:#888d90}
.volume>span{font-size:12px}.indicators{gap:26px}.indicators button{font-weight:400;color:#565d61}.indicators button.active{font-weight:500;color:#111}.position-tabs{gap:40px}.position-tabs button{font-weight:500;color:#606569}.position-tabs button.active{font-weight:700;color:#111}.bottom-actions .action-buy{background:#247821}.bottom-actions .action-sell{background:#ad3f68}
@media(max-width:780px){.ticker-row{min-height:164px}.price-block{padding-top:2px}.ticker-price{font-size:47px;color:#b3406b;letter-spacing:-.025em}.ticker-change{font-size:17px;font-weight:500}.quick-stats{width:44%;padding-top:1px}.quick-stats dt,.quick-stats dd{font-size:13px}.market-facts{height:53px;align-items:center}.chart-wrap{height:460px}.axis text{font-size:14px}.time-axis{font-size:11px}.time-axis span{display:block!important}.volume{height:118px}.indicators{height:55px}.position-tabs{height:76px}.position-tabs button{height:72px;font-size:16px}.position-card{display:none}.bottom-actions{height:92px;align-items:center}.bottom-actions button{height:60px;font-size:17px}}
@media(max-width:480px){.ticker-row{padding-left:22px;padding-right:22px}.ticker-price{font-size:43px}.quick-stats{width:46%}.quick-stats dt,.quick-stats dd{font-size:11px}.section-tabs{padding-left:22px;padding-right:22px;gap:30px}.timeframes{padding-left:18px;padding-right:18px}.time-axis{font-size:9px}.indicators{gap:24px}.position-tabs{gap:30px}.bottom-actions{gap:12px;padding-left:22px;padding-right:22px}}

/* Correct CSS-pixel proportions for high-density Android screens */
@media(max-width:780px){.ticker-row{min-height:142px}.section-tabs{height:46px}.section-tabs button{height:43px}.market-facts{height:45px}.timeframes{height:49px}.chart-wrap{height:300px}.volume{height:78px;padding-top:6px;padding-bottom:6px}.volume-bars{height:48px}.indicators{height:44px}.position-tabs{height:62px}.position-tabs button{height:58px}.bottom-actions{height:76px;padding-top:8px;padding-bottom:calc(8px + env(safe-area-inset-bottom))}.bottom-actions button{height:54px}}
@media(max-width:480px){.chart-wrap{height:285px}.ticker-row{min-height:136px}.ticker-price{font-size:41px}.quick-stats{gap:4px}.quick-stats dt,.quick-stats dd{font-size:10.5px}.time-axis{height:26px}.chart{height:calc(100% - 26px)}}

/* Approved reference chrome; existing candle colors remain unchanged */
.topbar .back{font-family:Arial,sans-serif;font-size:42px;font-weight:300}.asset-title strong{font-size:20px;line-height:1.15}.asset-title strong i{font-size:13px;font-style:normal}.address-connect{display:block;margin-top:4px;padding:0;border:0;background:none;color:#8a8e91;font-size:13px;text-align:left}.address-connect b{margin-left:5px;color:#8a8e91}.header-icon{border:0;background:none;padding:4px;color:#111}.header-icon.favorite{font-size:32px;color:#ffb300}.header-icon.menu{font-size:23px;letter-spacing:2px}.market-facts .sell-all{color:#a8750a;background:#fff8e7}
.pnl-strip{position:absolute;z-index:5;left:47%;right:4%;top:30px;height:28px;display:flex;align-items:center;color:#d54391;font-size:11px}.pnl-strip:before{content:"";position:absolute;left:-70%;right:0;top:50%;height:1px;background:#e88abd}.pnl-strip b,.pnl-strip span,.pnl-strip em{position:relative;background:#fff;border:1px solid #e070ad;padding:4px 7px;font-style:normal;font-weight:400}.pnl-strip b{color:#fff;background:#ef3ca0}.pnl-strip em{margin-left:auto}
@media(max-width:780px){.topbar{position:relative;height:78px}.asset-title{gap:10px}.asset-title strong{font-size:20px}.address-connect{font-size:13px}.header-icon.favorite{font-size:31px}.header-icon.menu{font-size:21px}.ticker-row{min-height:143px;padding-top:13px}.ticker-price{font-size:45px}.section-tabs{height:49px}.market-facts{height:46px}.timeframes{height:50px}.chart-wrap{height:248px;padding-bottom:25px}.chart{height:calc(100% - 25px)}.ma-legend{top:4px}.pnl-strip{top:26px}.time-axis{height:25px}.volume{height:72px;padding-top:6px}.volume-bars{height:46px}.indicators{height:46px}.position-tabs{height:70px}.position-tabs button{height:67px}.bottom-actions{height:91px}}
@media(max-width:480px){.topbar{padding-left:18px;padding-right:18px}.asset-logo{width:42px;height:42px}.header-icon.favorite{font-size:29px}.header-icon.menu{padding-left:0}.ticker-row{min-height:139px}.ticker-price{font-size:42px}.quick-stats dt,.quick-stats dd{font-size:11px}.section-tabs{padding-left:22px;padding-right:22px;gap:29px}.market-facts{padding-left:22px;padding-right:22px}.timeframes button{min-width:49px}.chart-wrap{height:242px}.axis text{font-size:12px}.pnl-strip{font-size:9px}.pnl-strip b,.pnl-strip span,.pnl-strip em{padding:3px 5px}.indicators{gap:25px}.position-tabs{gap:29px}.bottom-actions{padding-left:22px;padding-right:22px}}

/* LQC Optimal Path surface */
.route-card{margin:12px 0 4px;padding:13px;border:1px solid #dfeceb;border-radius:14px;background:#f7fbfa}.route-card-head,.route-source{display:flex;align-items:center;justify-content:space-between;gap:12px}.route-card-head{padding-bottom:9px;border-bottom:1px solid #e3ecea;color:#087e70;font-size:10px;font-weight:800;letter-spacing:.1em}.route-card-head b{padding:3px 7px;border-radius:999px;background:#e6f7f3;font-size:9px}.route-source{padding-top:9px;font-size:11px}.route-source span{color:#657378}.route-source strong{color:#203136}.muted-route{opacity:.65}
.proof-row{border-top:1px dashed #dfe9e7;margin-top:8px}.proof-row strong.proof-valid{color:#087e70}.proof-row strong.proof-invalid{color:#b52f4f}.proof-row code{max-width:150px;overflow:hidden;text-overflow:ellipsis;color:#40545a;font-size:10px;white-space:nowrap}

.alternative-ready{color:#087e70!important}.preflight-warning{color:#b36b00!important}.preflight-safe{color:#087e70!important}

.wallet-help{margin:0 0 14px;color:var(--muted);font-size:12px;line-height:1.5}
.wallet-list{display:grid;gap:9px}
.wallet-option{width:100%;display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--line2);border-radius:14px;background:rgba(255,255,255,.035);color:var(--text);text-align:left;cursor:pointer}
.wallet-option:hover,.wallet-option:focus-visible{border-color:var(--mint);background:rgba(98,226,194,.07)}
.wallet-option img,.wallet-option .wallet-fallback{width:34px;height:34px;border-radius:9px}
.wallet-option .wallet-fallback{display:grid;place-items:center;background:var(--panel2);color:var(--mint);font-weight:900}
.wallet-option b{display:block}.wallet-option small{display:block;color:var(--muted);margin-top:2px}
.language-picker{margin-left:auto}.language-picker select{max-width:92px;height:32px;padding:0 25px 0 9px;border:1px solid var(--line2);border-radius:10px;background:var(--panel2);color:var(--text);font:inherit;font-size:12px}.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}.market-facts i,.position-meta i{font-style:normal}
@media(max-width:480px){.language-picker select{max-width:72px;padding-left:6px;font-size:11px}.header-icon.favorite{font-size:25px}}

.tx-link{color:inherit;font-weight:800;text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
.recovery-button{width:100%;min-height:44px;margin:8px 0 0;border:1px solid #18a998;border-radius:12px;background:#effbf8;color:#087e70;font:inherit;font-weight:800;cursor:pointer}.recovery-button:focus-visible{outline:3px solid rgba(24,169,152,.24);outline-offset:2px}@media(max-width:480px){.recovery-button{position:sticky;bottom:92px;z-index:6;min-height:48px}}

.token-search{width:100%;margin:0 0 12px;padding:13px 15px;border:1px solid #dce6e3;border-radius:14px;background:#f6faf9;color:#182326;font:inherit;outline:none}.token-search:focus{border-color:#18a998;box-shadow:0 0 0 3px rgba(24,169,152,.12)}
