/* Phone Focus only. Desktop and Classic retain the terminal layout. */
.phone-top-controls{display:none}
@media(max-width:760px), (pointer:coarse) and (hover:none) and (max-height:760px){
 body:has(.sol-release-view[data-mobile-layout=focus]){--phone-bg:#080612;--phone-surface:#15131f;--phone-line:#211d2d;--phone-muted:#898598;--phone-blue:#4c5cff;background:var(--phone-bg);color:#f6f5fa}
 body:has(.sol-release-view[data-mobile-layout=focus]) #app>.topbar{background:#080612f5!important;border:0!important;height:65px!important;padding:0 20px!important;backdrop-filter:blur(15px)}
 body:has(.sol-release-view[data-mobile-layout=focus]) .topbar>.brand{font-size:0!important;width:33px;height:33px;flex-shrink:0;background:url('/theor-mark.png') center/contain no-repeat}
 body:has(.sol-release-view[data-mobile-layout=focus]) .topbar>.brand em,body:has(.sol-release-view[data-mobile-layout=focus]) .topbar>.sol-release-chain,body:has(.sol-release-view[data-mobile-layout=focus]) .topbar>.green-button{display:none!important}
 body:has(.sol-release-view[data-mobile-layout=focus]) .phone-top-controls{display:flex;align-items:center;gap:9px}
 .phone-top-controls button{display:flex;align-items:center;gap:7px;background:transparent;border:1px solid #292433;border-radius:20px;min-height:36px;padding:5px 10px;font-size:12px;color:#ddd9eb}
 .phone-top-controls .mobile-chain-icon{width:20px;height:20px;font-size:10px}.phone-top-controls .icon{height:17px;width:17px}.phone-top-controls button:last-child{border:0;padding:6px}
 body:has(.sol-release-view[data-mobile-layout=focus]) #view.sol-release-view{padding:76px 18px calc(110px + env(safe-area-inset-bottom));background:#080612}
 .sol-phone-content{width:100%;min-width:0}.sol-phone-content .positive{color:#26c866!important}.sol-phone-content .negative{color:#fb542e!important}.sol-phone-content .muted{color:#898598}
 .sol-release-view[data-mobile-layout=focus]{overflow-anchor:none}.sol-release-view[data-mobile-layout=focus] button:focus-visible,.sol-phone-dialog button:focus-visible{outline:2px solid #8793ff;outline-offset:3px}
 body:has(.sol-release-view[data-mobile-layout=focus]) .sol-release-nav{left:14px;right:14px;max-width:540px;margin:auto;height:64px;bottom:calc(12px + env(safe-area-inset-bottom));background:#282630ed;border:1px solid #393641;border-radius:36px;box-shadow:0 4px 24px #0007;backdrop-filter:blur(22px)}
 body:has(.sol-release-view[data-mobile-layout=focus]) .sol-release-nav button{display:flex;align-items:center;justify-content:center;width:56px;height:51px;min-height:44px;padding:10px;color:#97939f;background:transparent;border:1px solid transparent;border-radius:30px}
 body:has(.sol-release-view[data-mobile-layout=focus]) .sol-release-nav .active{background:#3c3948;border-color:#4b4756;color:#f8f7fc;box-shadow:0 0 0 3px #4a44582b}
 body:has(.sol-release-view[data-mobile-layout=focus]) .sol-release-nav .icon{width:25px;height:25px;stroke-width:1.8}
 body:has(.sol-release-view[data-mobile-layout=focus]) .sol-release-nav img{height:26px;width:26px;object-fit:contain}
 body:has(.sol-release-view[data-mobile-layout=focus]) .sol-release-nav small{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .phone-balance{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:8px 0 30px}.phone-balance>div{display:grid;gap:7px;min-width:0}.phone-balance strong{font-size:33px;font-weight:550;letter-spacing:-1.3px;line-height:1.1;overflow-wrap:anywhere}.phone-balance small{font-size:11px;color:#9691a3;max-width:190px;line-height:1.4}
 .phone-primary{min-width:120px;min-height:47px;border-radius:13px;background:#4c5cff!important;border:1px solid #7885ff!important;color:#fff!important;font-size:15px;font-weight:600;box-shadow:inset 0 1px 1px #a2aaff44}
 .phone-winners{margin-bottom:22px}.phone-winners h2{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:560;margin:0 0 12px}.phone-winners h2 .icon{width:16px;height:16px;color:#8d879c}.phone-winners>div{display:flex;gap:10px;overflow-x:auto;margin:0 -18px;padding:0 18px 5px;scrollbar-width:none}.phone-winners>div>button{display:grid;text-align:left;gap:9px;min-width:208px;min-height:99px;border:1px solid #242032;border-radius:18px;background:#12101c;padding:13px 14px}.phone-winners span{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:500;color:#dedbe8}.phone-winners span .icon{width:19px;height:19px;color:#a49ac4}.phone-winners strong{font-size:16px;font-weight:500;color:#cec9e1}.phone-winners small{font-size:10px;color:#797487}
 .phone-segment{display:flex;align-items:center;gap:5px;min-width:0}.phone-segment button{display:flex;align-items:center;justify-content:center;gap:5px;background:transparent;border:0;color:#898497;border-radius:0;min-height:45px;padding:9px 10px;white-space:nowrap;font-size:14px;font-weight:550}.phone-segment .icon{height:18px;width:18px}.phone-segment button[aria-pressed=true]{color:#f4f3fa}.phone-segment b{font-size:9px;font-weight:550;background:#1f2b69;color:#9daaff;padding:2px 4px;border-radius:3px}
 .sol-phone-content>.phone-segment,.phone-heading-tabs>.phone-segment{border-bottom:1px solid #242030;width:100%;gap:0}.sol-phone-content>.phone-segment>button,.phone-heading-tabs .phone-segment>button{flex:1;border-bottom:2px solid transparent}.sol-phone-content>.phone-segment>[aria-pressed=true],.phone-heading-tabs .phone-segment>[aria-pressed=true]{border-bottom-color:#5765ff}
 .phone-market-filters{display:flex;align-items:center;gap:8px;margin:12px 0 6px;min-width:0}.phone-market-filters>.phone-segment{flex:1;overflow:auto;scrollbar-width:none}.phone-market-filters .phone-segment button{font-size:12px;min-height:32px;padding:6px 10px;border:1px solid #221d30;border-radius:9px}.phone-market-filters .phone-segment [aria-pressed=true]{background:#201b2c}.phone-market-filters>button{width:32px;min-height:32px;border:1px solid #262030;border-radius:10px;padding:7px;background:#100d19;flex-shrink:0}.phone-market-filters .icon{width:15px;height:15px}.phone-caption{font-size:9px;color:#716b81;line-height:1.5;margin:7px 0 10px}
 .phone-token-list{display:grid;gap:0}.phone-token-list article{display:flex;align-items:center;gap:5px;min-width:0;min-height:77px}.phone-token-list article>button:first-child{display:flex;align-items:center;gap:11px;flex:1;min-width:0;padding:11px 0;background:transparent;border:0;text-align:left}.phone-token-list .avatar{width:43px;height:43px;flex-shrink:0;border-radius:50%;border:1px solid #2a2539}.phone-token-list button>span:not(.avatar){display:grid;gap:6px;min-width:0;flex:1}.phone-token-list button>span:last-child{text-align:right;flex:0 1 auto}.phone-token-list strong{font-size:17px;font-weight:520;letter-spacing:-.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.phone-token-list small{font-size:11px;color:#8e879f;white-space:nowrap}.phone-token-list article>button:last-child{width:25px;min-height:44px;padding:5px 2px;border:0;background:transparent;color:#656071;flex-shrink:0}.phone-token-list .icon{width:16px;height:16px}.phone-token-list .saved{color:#f2c151!important}.phone-token-list .saved .icon{fill:#f2c151}
 .phone-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 10px}.phone-section-title h2,.phone-section-label{font-size:15px;font-weight:550}.phone-section-title>button{border:0;background:transparent;color:#6f7bff;font-size:12px;padding:8px}.phone-section-title .phone-segment button{font-size:10px;padding:7px;min-height:28px;border-radius:8px}.phone-section-title [aria-pressed=true]{background:#211b31}
 .phone-search-categories{overflow:auto;scrollbar-width:none}.phone-search-categories .phone-segment{gap:7px}.phone-search-categories button{font-size:13px;min-height:34px;padding:5px 10px;border:1px solid #241e30;border-radius:9px}.phone-search-categories [aria-pressed=true]{background:#201a2d}.phone-search-dock{position:fixed;z-index:42;left:32px;right:32px;bottom:calc(90px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:9px;background:#2b2735f5;border:1px solid #393344;border-radius:34px;padding:8px 9px 8px 17px;box-shadow:0 5px 25px #0007;max-width:500px;margin:auto}.phone-search-dock>.icon{width:18px;height:18px;color:#8e879d;flex-shrink:0}.phone-search-dock input{width:100%;min-width:0;border:0!important;padding:6px 0!important;outline:none;font-size:14px!important;background:transparent!important;color:#fff;box-shadow:none!important}.phone-search-dock>button{font-size:12px;font-weight:600;padding:9px 13px;border:0;background:#3c354a;border-radius:23px;color:#e5dfed}.sol-phone-content:has(.phone-search-dock){padding-bottom:65px}
 .phone-heading-tabs{display:flex;align-items:center;gap:10px}.phone-heading-tabs>.phone-segment{flex:1}.phone-heading-tabs>button{background:transparent;border:0;padding:7px;color:#777183}.phone-heading-tabs>.icon,.phone-heading-tabs button>.icon{height:17px;width:17px}.phone-recap{margin:25px 0 5px;padding:17px;border:1px solid #272132;border-radius:17px;background:#14101e}.phone-recap>span{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:600}.phone-recap .icon{height:18px;width:18px}.phone-recap p{font-size:13px;line-height:1.6;color:#a59bb8;margin:16px 0}.phone-recap>button{display:flex;align-items:center;gap:8px;border:0;background:transparent;padding:0;color:#7885ff;font-size:12px}
 .phone-rank{display:grid;grid-template-columns:1fr auto;gap:9px;background:#171221;border:1px solid #2a213c;border-radius:15px;padding:18px;margin:22px 0 28px}.phone-rank>span{display:flex;align-items:center;gap:8px;font-size:13px}.phone-rank .icon{width:18px;height:18px;color:#9d8acb}.phone-rank strong{font-size:14px;font-weight:500;color:#b3a3d0}.phone-rank small{grid-column:1/-1;font-size:10px;color:#82748f}
 .phone-wide{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;min-height:43px;background:#181321;border:1px solid #2e253e;border-radius:12px;margin:15px 0;color:#d5cae7;font-size:13px}.phone-wide .icon{height:17px;width:17px}
 .phone-profile{display:grid;justify-items:center;text-align:center;gap:9px;padding:10px 0 23px}.phone-profile>.avatar{width:68px;height:68px;border-radius:50%;background:linear-gradient(145deg,#4b4480,#181122);border:1px solid #595076}.phone-profile>.avatar .icon{width:30px;height:30px;color:#c7b9f1}.phone-profile h1{font-size:22px;font-weight:600;margin:4px 0}.phone-profile p{font-size:12px;color:#8e839e;margin:0}.phone-profile>div{display:flex;gap:8px;margin-top:6px}.phone-profile button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:35px;border:1px solid #2e253f;border-radius:10px;background:#181221;padding:8px 13px;font-size:12px}.phone-profile button .icon{width:16px;height:16px}.phone-profile+.phone-segment{margin-bottom:24px}
 .phone-portfolio-history{display:grid;justify-items:center;gap:10px;min-height:130px;padding:15px 10px 30px;color:#8c809f}.phone-portfolio-history>.icon{width:35px;height:35px;color:#554564}.phone-portfolio-history>strong{font-size:12px;font-weight:500}.phone-portfolio-history>small{font-size:10px;color:#766782}.phone-profile-facts{display:flex;justify-content:space-around;gap:10px;margin-top:24px}.phone-profile-facts span{display:grid;gap:10px;justify-items:center;font-size:11px;color:#9b8cab}.phone-profile-facts strong{font-size:20px;color:#cec0e0}.phone-account-links{display:grid;gap:8px;margin-top:20px}.phone-account-links button,.phone-holdings button{display:flex;align-items:center;gap:10px;min-height:45px;padding:10px 13px;background:#15101e;border:1px solid #292036;border-radius:12px;font-size:12px;text-align:left}.phone-account-links .icon,.phone-holdings .icon{width:17px;height:17px}.phone-holdings{display:grid;gap:8px}.phone-holdings button{display:grid}.phone-holdings span{display:flex;align-items:center;gap:10px}.phone-holdings small{font-size:10px;color:#8b7d9a;overflow-wrap:anywhere}
 .sol-phone-content .empty{min-height:170px;padding:32px 18px;color:#766b86}.sol-phone-content .empty>strong{font-size:14px;color:#b7a9ca;font-weight:500}.sol-phone-content .empty>span{font-size:12px;line-height:1.65;max-width:320px}.sol-phone-content .empty>.icon{height:29px;width:29px;color:#4e415d}
 .sol-phone-dialog{position:fixed;inset:auto 0 0;width:100%;max-width:560px;max-height:85dvh;margin:auto auto 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));border:1px solid #342b43;border-bottom:0;border-radius:25px 25px 0 0;background:#17131f;color:#f4effb;box-shadow:0 -10px 60px #0007;overflow:auto;overscroll-behavior:contain}.sol-phone-dialog::backdrop{background:#03010c9c;backdrop-filter:blur(4px)}.phone-dialog-handle{width:37px;height:4px;border-radius:4px;background:#51475e;margin:0 auto 20px}.sol-phone-dialog header{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.sol-phone-dialog h2{font-size:18px;font-weight:600;margin:0}.sol-phone-dialog header button{display:grid;place-items:center;min-height:34px;width:34px;border:0;border-radius:50%;background:#2a2237;color:#aa9bbc}.sol-phone-dialog .icon{width:20px;height:20px}.phone-dialog-note{font-size:13px;color:#b1a2c1;line-height:1.75;margin:10px 0 22px}.phone-deposit-option{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:15px 13px;min-height:64px;border-radius:14px;border:1px solid #31263e;background:#21192b;margin:10px 0;color:#eee4fa}.phone-deposit-option>span{flex:1;display:grid;gap:5px;font-size:14px}.phone-deposit-option small{font-size:10px;color:#ad9bbc}.phone-deposit-option:disabled{opacity:.5}.phone-chain-options{display:grid;gap:12px}.phone-chain-options button{display:flex;align-items:center;gap:12px;width:100%;min-height:61px;padding:14px 16px;border:1px solid #41334f;border-radius:16px;background:#1f1829;font-size:16px}.phone-chain-options [aria-pressed=true]{border-color:#bdb0ce}.phone-chain-options .mobile-chain-icon{width:29px;height:29px;font-size:12px}.phone-chain-options span:last-child,.phone-chain-options small{margin-left:auto}.phone-chain-options small{font-size:11px;color:#aa91bf}.phone-menu{display:grid;gap:7px}.phone-menu button{display:flex;align-items:center;gap:12px;border:0;background:#21182c;text-align:left;padding:14px;border-radius:12px;font-size:13px;color:#e3d4f0}.phone-menu button .icon:last-child{margin-left:auto;width:16px;height:16px;color:#877296}.phone-menu a{padding:18px 10px 5px;color:#9e91ff;text-align:center;font-size:12px}
 /* A sparse chart canvas, matching the phone reference. Tools remain optional. */
 #view.sol-release-view[data-mobile-layout=focus][data-focus-token=true]{background:#080612!important}
 #view.sol-release-view[data-mobile-layout=focus][data-focus-token=true] .chart-host,#view.sol-release-view[data-mobile-layout=focus][data-focus-token=true] .chart-host>.chart-shell{background:#080612!important}
 #view.sol-release-view[data-mobile-layout=focus] .focus-token-tabs{background:#080612f5;border-bottom-color:#231b32}#view.sol-release-view[data-mobile-layout=focus] .focus-token-tabs [aria-pressed=true]{border-bottom-color:#5966ff}
 #view.sol-release-view[data-mobile-layout=focus] .focus-range-toolbar button[aria-pressed=true]{background:#211a2e}#view.sol-release-view[data-mobile-layout=focus] .focus-range-toolbar .icon{color:#26c866}
 #view.sol-release-view[data-mobile-layout=focus] .focus-token-headline .positive{color:#26c866}#view.sol-release-view[data-mobile-layout=focus] .focus-token-headline .negative{color:#fb542e}
 #view.sol-release-view[data-mobile-layout=focus] .focus-token-dock{background:linear-gradient(0deg,#080612 80%,#080612e8);border:0}#view.sol-release-view[data-mobile-layout=focus] .focus-dock-buy{background:#4c5cff!important;border-color:#7885ff!important;color:#fff!important;border-radius:14px;min-height:49px}#view.sol-release-view[data-mobile-layout=focus] .focus-dock-sell{background:#21182b!important;border-color:#3c2d50!important;color:#d9c5ed!important}
 #view.sol-release-view[data-mobile-layout=focus] .focus-token-dock .focus-dock-quick{width:48px;flex:0 0 48px;display:grid;place-items:center;padding:8px;border:1px solid #2e243e;border-radius:14px;background:#171020;color:#f4edf9}#view.sol-release-view[data-mobile-layout=focus] .focus-dock-quick .icon{height:22px;width:22px}
 #view.sol-release-view[data-mobile-layout=focus].focus-trade-open .trade-sidebar{background:#15101e;border-color:#352640;padding:18px 18px calc(22px + env(safe-area-inset-bottom))}
 #view.sol-release-view[data-mobile-layout=focus] .focus-trade-heading{margin:0 0 17px}#view.sol-release-view[data-mobile-layout=focus] .focus-trade-heading strong{font-size:18px;font-weight:550}
 #view.sol-release-view[data-mobile-layout=focus] .solana-trade-panel{border:0;background:transparent;box-shadow:none}#view.sol-release-view[data-mobile-layout=focus] .solana-trade-panel>.panel-content{padding:0}#view.sol-release-view[data-mobile-layout=focus] .solana-trade-panel h2{display:none}
 #view.sol-release-view[data-mobile-layout=focus] #sol-swap-form{display:grid;gap:15px}#view.sol-release-view[data-mobile-layout=focus] #sol-swap-form>label:has(#sol-swap-mint){display:none}
 #view.sol-release-view[data-mobile-layout=focus] #sol-swap-form .buy-sell{display:flex;gap:6px;background:#21182e;border-radius:14px;padding:4px;border:0}#view.sol-release-view[data-mobile-layout=focus] #sol-swap-form .buy-sell label{flex:1;text-align:center;padding:11px;border-radius:11px;font-size:14px;background:transparent;color:#9586aa}#view.sol-release-view[data-mobile-layout=focus] #sol-swap-form .buy-sell label:has(input:checked){background:#4c5cff!important;color:#fff!important;box-shadow:0 2px 8px #0003}
 #view.sol-release-view[data-mobile-layout=focus] #sol-swap-form>label{display:grid;gap:12px;font-size:11px;color:#a495b6}#view.sol-release-view[data-mobile-layout=focus] #sol-swap-form input[name=amount]{font-size:32px!important;min-height:68px;text-align:center;background:transparent;border:0;border-bottom:1px solid #372945;border-radius:0;color:#eee5fa;box-shadow:none;padding:14px 5px}
 #view.sol-release-view[data-mobile-layout=focus] #sol-swap-form .preset-grid{gap:8px}#view.sol-release-view[data-mobile-layout=focus] #sol-swap-form .preset-grid button{min-height:35px;border:0;border-radius:10px;background:#251b32;color:#d5c5e5;font-size:12px}
 #view.sol-release-view[data-mobile-layout=focus] #sol-swap-form>button[type=submit]{min-height:46px;background:#4c5cff;border:1px solid #7885ff;border-radius:13px;color:#fff;font-size:14px}
 #view.sol-release-view[data-mobile-layout=focus] #sol-swap-form details{border:1px solid #31243f;border-radius:13px;background:#1b1325;padding:12px}#view.sol-release-view[data-mobile-layout=focus] #sol-swap-form summary{font-size:12px;color:#bba7d1;cursor:pointer}#view.sol-release-view[data-mobile-layout=focus] #sol-swap-form details label{font-size:11px;color:#a691bb}#view.sol-release-view[data-mobile-layout=focus] #sol-swap-form details input,#view.sol-release-view[data-mobile-layout=focus] #sol-swap-form details select{font-size:16px}
 #view.sol-release-view[data-mobile-layout=focus] #sol-swap-info{font-size:11px;line-height:1.7;color:#a18bb6;font-weight:400;padding:15px 0;overflow-wrap:anywhere}#view.sol-release-view[data-mobile-layout=focus] .solana-trade-panel .note{font-size:10px;line-height:1.75;font-weight:400;color:#9781ad;background:#1b1423;border-color:#32213e;border-radius:12px}
 #view.sol-release-view[data-mobile-layout=focus] #sol-swap-prepare,#view.sol-release-view[data-mobile-layout=focus] #sol-swap-sign{display:block;width:100%;min-height:40px;margin:8px 0;border-radius:11px;font-size:12px}#view.sol-release-view[data-mobile-layout=focus] #sol-swap-history{font-size:11px;border:0;background:transparent;color:#9b9dff;margin:8px 0}
}
@media(max-width:360px){.phone-token-list strong{font-size:15px}.phone-token-list .avatar{width:37px;height:37px}.phone-token-list article>button:first-child{gap:8px}.phone-token-list small{font-size:10px}.phone-primary{min-width:100px}.phone-market-filters .phone-segment button{padding:5px 7px;font-size:11px}.phone-search-categories button{font-size:12px;padding:5px 8px}.phone-balance strong{font-size:30px}.phone-balance small{max-width:145px}.phone-section-title .phone-segment{gap:1px}}
