:root{
  --bg:#0f0f12;
  --panel:#0f0f12;
  --surface:#18181b;
  --surface-2:#1d1d21;
  --border:#232329;
  --border-soft:#1b1b20;
  --text:#f2f2f4;
  --muted:#8d8d96;
  --muted-2:#676770;
  --green:#86efac;
  --green-strong:#52e38b;
  --red:#e56a6f;
  --yellow:#f3d33c;
  --cyan:#36d3ff;
}
*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;overflow:hidden}
button,input{font:inherit;color:inherit}
button{background:none;border:0;cursor:pointer}
a{color:inherit;text-decoration:none}
svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
[hidden]{display:none!important}
.app-shell{height:100vh;display:grid;grid-template-columns:41px minmax(0,1fr);background:var(--bg)}
.sidebar{height:100vh;border-right:1px solid var(--border-soft);display:flex;align-items:center;flex-direction:column;padding:8px 0 7px;background:#101013;gap:6px;z-index:20}
.brand-mark{width:23px;height:23px;position:relative;display:grid;place-items:center;margin:1px 0 4px}
.brand-mark:before,.brand-mark:after,.brand-mark span{content:"";position:absolute;width:13px;height:8px;border-radius:4px 4px 4px 1px;transform:rotate(-45deg);box-shadow:0 0 10px rgba(134,239,172,.12)}
.brand-mark:before{background:#7ef0c2;left:4px;top:3px}.brand-mark:after{background:#d5fff0;right:3px;bottom:2px}.brand-mark span{background:#32343a;left:5px;bottom:3px}
.nav-btn{width:28px;height:28px;display:grid;place-items:center;color:#7c7c85;border-radius:6px;transition:.15s}
.nav-btn svg{width:15px;height:15px}.nav-btn:hover{background:#1b1b20;color:#d8d8df}.nav-btn.active{background:#19191e;color:#efeff2}.create-btn{background:var(--green);color:#0a100c;width:27px;height:27px;margin-top:6px}.create-btn:hover{background:#a0f6be;color:#07110a}.sidebar-spacer{flex:1}
.main-area{min-width:0;height:100vh;display:grid;grid-template-rows:24px 39px 34px minmax(0,1fr)}
.promo-bar{height:24px;border-bottom:1px solid #17171b;background:#131316;text-align:center;font-size:7.5px;font-weight:650;line-height:24px;color:#eee;position:relative}.promo-bar span{font-size:12px;margin-left:4px;color:#aaa}.promo-close{position:absolute;right:5px;top:1px;color:#aaa;font-size:16px;line-height:20px}
.toolbar{display:flex;align-items:center;gap:6px;padding:6px 9px 4px 14px;border-bottom:1px solid var(--border-soft);min-width:0}.search-wrap{width:266px;height:25px;border:1px solid #28282e;background:#1d1d21;border-radius:5px;display:flex;align-items:center;padding:0 7px;gap:6px}.search-icon{width:12px;height:12px;color:#b4b4bd}.search-wrap input{border:0;outline:none;background:transparent;color:#ddd;width:100%;font-size:7.4px;min-width:0}.search-wrap input::placeholder{color:#a2a2aa}.kbd{display:flex;gap:2px;color:#7a7a84;font-size:6.7px}.kbd span{border:1px solid #36363d;border-radius:3px;padding:1px 3px}.clipboard-btn{height:25px;width:25px;border:1px solid #28282e;background:#1a1a1f;border-radius:5px;color:#b7b7bf;display:grid;place-items:center}.clipboard-btn svg{width:12px}.toolbar-spacer{flex:1}.round-plus{width:25px;height:25px;border-radius:50%;background:#202024;color:#aaa;font-size:15px}.signin{height:25px;border-radius:8px;background:#8ff1b0;color:#102116;padding:0 11px;font-size:7.6px;font-weight:700}
.mobile-header,.mobile-bottom-nav,.mobile-callout-tabs,.mobile-new-callouts,.mobile-feed-end,.mobile-search-overlay{display:none}
.ticker-strip{display:flex;align-items:center;gap:12px;padding:0 13px;border-bottom:1px solid var(--border);overflow:hidden;white-space:nowrap;position:relative}.ticker-strip:after{content:"";position:absolute;right:0;top:0;bottom:0;width:60px;background:linear-gradient(90deg,transparent,var(--bg))}.ticker-item{display:flex;align-items:center;gap:4px;font-size:6.7px;font-weight:620;color:#dadade;flex:0 0 auto}.ticker-avatar,.avatar{border-radius:50%;display:grid;place-items:center;font-weight:800;overflow:hidden}.ticker-avatar{width:14px;height:14px;font-size:7px;background:var(--avatar,#34343b)}.ticker-profit{color:var(--green)}
.dashboard-grid{min-height:0;display:grid;grid-template-columns:32.6% 35.5% 31.9%;overflow:hidden}.panel{min-width:0;min-height:0;background:var(--panel);position:relative;overflow:hidden}.panel+.panel{border-left:1px solid var(--border)}
.panel-head{height:24px;border-bottom:1px solid #18181d;display:flex;align-items:center;padding:0 6px 0 8px;gap:6px}.panel-head-left{padding-left:9px}.tiny-grid-icon{font-size:7px;color:#72727c}.pill-select{height:19px;border-radius:5px;background:#17171b;border:1px solid #24242a;color:#d5d5d8;display:flex;align-items:center;gap:5px;padding:0 7px;font-size:7.2px;font-weight:600}.pill-select svg{width:10px}.pill-select .caret{color:#73737c;margin-left:1px}.pill-select.hot{background:#1a1a1e}.flame{font-size:8px;color:#d29a68}.trend-spark{font-size:9px}.panel-head-actions{margin-left:auto;display:flex;align-items:center;gap:5px}.panel-head-actions button{font-size:8px;color:#65656d;padding:1px 2px}.panel-head-actions button:hover{color:#d5d5da}
.leader-filters{height:27px;display:flex;gap:4px;align-items:center;padding:0 12px}.mini-select{font-size:7px;color:#ddd;background:#16161a;border-radius:5px;padding:4px 7px}.mini-select span{color:#777;margin-left:3px}.leader-list{padding:0 10px 0 7px}.leader-row{height:26.7px;display:grid;grid-template-columns:16px 20px minmax(0,1fr) auto;align-items:center;gap:4px;font-size:7px}.rank{font-size:6.5px;color:#9a9aa2;text-align:center}.leader-row:nth-child(1) .rank{color:#f0d929}.avatar{width:16px;height:16px;font-size:6px;color:white;background:var(--avatar,#383842);box-shadow:inset 0 0 0 1px rgba(255,255,255,.07)}.leader-name{font-weight:620;color:#e6e6e9;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.leader-profit{color:var(--green);font-weight:700;letter-spacing:-.15px}.load-more{display:block;margin:12px auto 0;border:1px solid #2b2b31;background:#1c1c20;border-radius:12px;padding:5px 12px;color:#c9c9ce;font-size:6.7px}
.feed{height:calc(100% - 24px);overflow:auto;scrollbar-width:none}.feed::-webkit-scrollbar,.trending-list::-webkit-scrollbar{display:none}.feed-item{padding:7px 8px 6px;border-bottom:1px solid #1d1d21}.feed-meta{display:flex;align-items:center;gap:5px}.feed-meta .avatar{width:17px;height:17px}.feed-user{font-size:7.2px;font-weight:700}.feed-time{font-size:6.5px;color:#6d6d76}.feed-badge{font-size:6px;color:#888}.feed-menu{margin-left:auto;color:#666;font-size:9px}.feed-text{font-size:7px;margin:4px 0 5px;color:#ddd}.trade-card{height:43px;background:#18181b;border:1px solid #24242a;border-radius:5px;display:grid;grid-template-columns:28px minmax(0,1fr) 70px;align-items:center;padding:0 7px;gap:5px}.coin-icon{width:17px;height:17px;border-radius:50%;display:grid;place-items:center;font-size:8px;background:var(--coin,#2f2f35);color:#fff}.trade-token{font-size:6.9px;font-weight:700}.trade-sub{font-size:6px;color:#777;margin-top:1px}.trade-numbers{text-align:right}.trade-labels{display:flex;justify-content:flex-end;gap:18px;color:#777;font-size:5.8px}.trade-values{display:flex;justify-content:flex-end;gap:8px;margin-top:2px;font-size:6.5px}.trade-profit{color:var(--green)}.feed-actions{display:flex;align-items:center;gap:9px;color:#73737c;font-size:6.2px;margin-top:5px}.feed-actions span{display:flex;gap:2px;align-items:center}.mc{margin-left:auto;font-size:6.2px;font-weight:700;color:var(--yellow)}
/* Exact desktop Trending panel from the supplied reference */
.trending-panel{background:#101012}
.trending-panel .trend-panel-head{height:44px;padding:0 11px 0 8px;gap:9px;background:#0f0f12;border-bottom:1px solid #17181c}
.trend-grab{width:14px;height:24px;padding:0;position:relative;flex:0 0 14px;opacity:.9}
.trend-grab span,.trend-grab span:before,.trend-grab span:after{content:"";position:absolute;width:3px;height:3px;border-radius:50%;background:#747780;box-shadow:0 5px 0 #747780}
.trend-grab span{left:2px;top:7px}.trend-grab span:before{left:6px;top:0}.trend-grab span:after{display:none}
.trend-select{height:28px;min-width:110px;display:flex;align-items:center;gap:7px;padding:0 9px;border:1px solid #2b2d32;border-radius:7px;background:#17181c;color:#f2f2f4;font-size:12px;font-weight:700}
.trend-select>svg:first-child{width:15px;height:15px;color:#9da0a8;stroke-width:1.55}.trend-select .trend-chevron{width:13px;height:13px;margin-left:auto;color:#8c8f97}
.trend-head-spacer{flex:1}.trend-head-actions{display:flex;align-items:center;gap:12px}.trend-head-actions button{width:14px;height:24px;padding:0;color:#8c8f97;display:grid;place-items:center}.trend-head-actions button:hover{color:#f1f1f4}.trend-head-actions svg{width:15px;height:15px;stroke-width:1.7}.trend-head-actions .trend-more{width:20px;font-size:14px;letter-spacing:1px;line-height:1;color:#898c94}
.trending-list{height:calc(100% - 44px);overflow:auto;background:#101012;scrollbar-width:none}
.trend-row{height:61px;display:grid;grid-template-columns:52px minmax(0,1fr) 138px;align-items:center;padding:0 13px 0 4px;position:relative;border-bottom:1px solid rgba(33,36,37,.75);isolation:isolate}
.trend-row:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#101012 0%,#101113 30%,rgba(27,58,47,.54) 100%)}
.trend-row.loss:before{background:linear-gradient(90deg,#101012 0%,#111012 30%,rgba(68,28,32,.58) 100%)}
.trend-row.trend-neutral:before{background:linear-gradient(90deg,#17181a 0%,#1a1c1d 45%,rgba(50,71,63,.48) 100%)}
.trend-icon{width:41px;height:41px;display:block;object-fit:cover;border-radius:10px;box-shadow:none;background:transparent}
.trend-main{min-width:0;padding-left:1px}.trend-name-line{display:flex;align-items:center;min-width:0;line-height:1.05}.trend-name{font-size:13px;font-weight:760;color:#f4f4f5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.18px}.hot-tag{display:inline-flex;align-items:center;height:13px;margin-left:5px;padding:0 3px;border:1px solid #ff3b3f;border-radius:5px;color:#ff5054;background:#171214;font-size:8.5px;font-weight:800;line-height:11px;vertical-align:0}.trend-symbol{font-size:11px;line-height:1;margin-top:6px;color:#8b8d94;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.trend-right{text-align:right;min-width:0;display:flex;flex-direction:column;align-items:flex-end;justify-content:center}.trend-cap{font-size:13px;line-height:1.1;font-weight:750;color:#d8dadc;letter-spacing:-.1px}.trend-change{font-size:12px;line-height:1.1;margin-top:5px;font-weight:780;color:#60e59a;white-space:nowrap}.trend-row.loss .trend-change{color:#ef5d65}.trend-paused{height:20px;display:flex;align-items:center;gap:4px;padding:0 7px;border:1px solid #31343a;border-radius:10px;background:#15171a;color:#a7a9af;font-size:10px;font-weight:650;line-height:18px}.pause-bars{font-size:9px;color:#8d9097;letter-spacing:-1px}.pause-caret{font-size:10px;color:#7f8289;margin-left:-1px}
@media(min-width:721px) and (max-width:1450px){.trend-row{grid-template-columns:48px minmax(0,1fr) 112px;padding-right:10px}.trend-icon{width:37px;height:37px;border-radius:9px}.trend-name{font-size:12px}.trend-symbol{font-size:10px}.trend-cap{font-size:12px}.trend-change{font-size:11px}.trend-head-actions{gap:9px}.trend-select{min-width:100px;font-size:11px}}
.cookie-banner{position:fixed;right:7px;bottom:0;width:250px;background:#17171a;border:1px solid #29292f;border-radius:8px 8px 0 0;padding:11px 10px 8px;box-shadow:0 -8px 30px rgba(0,0,0,.2);z-index:40;font-size:7px}.cookie-banner strong{font-size:8px}.cookie-banner p{color:#ddd;line-height:1.35;margin:7px 0}.cookie-actions{display:flex;gap:5px;justify-content:flex-end}.cookie-actions button{background:#28282d;border-radius:4px;padding:4px 7px;font-size:6.3px}.cookie-actions .accept{background:var(--green);color:#0b1b10}
.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.62);display:grid;place-items:center;z-index:80}.modal{width:320px;background:#151518;border:1px solid #2b2b31;border-radius:10px;padding:24px;position:relative;box-shadow:0 25px 90px #000}.modal-close{position:absolute;right:10px;top:7px;color:#85858e;font-size:20px}.modal-logo{margin:0 auto 8px}.modal h2{text-align:center;margin:0 0 5px;font-size:18px}.modal p{text-align:center;color:#888;font-size:11px;margin:0 0 18px}.modal label{display:block;color:#bbb;font-size:10px;margin:10px 0}.modal input{display:block;width:100%;margin-top:5px;background:#1e1e23;border:1px solid #34343b;border-radius:6px;padding:9px;outline:0}.modal-primary{width:100%;background:var(--green);color:#102116;border-radius:6px;padding:9px;margin-top:5px;font-weight:800}
@media(max-width:1100px) and (min-width:721px){.dashboard-grid{grid-template-columns:42% 58%}.trending-panel{display:none}.ticker-item:nth-child(n+12){display:none}}

/* Mobile layout mirrors the reference: compact top bar, callout-only feed, fixed bottom nav, long feed + footer. */
@media(max-width:720px){
  html,body{height:auto;min-height:100%;overflow-x:hidden;overflow-y:auto;background:#0f0f12}
  body{padding-bottom:64px}
  .app-shell{display:block;height:auto;min-height:100vh}
  .sidebar,.promo-bar,.desktop-toolbar,.ticker-strip,.leaderboard-panel,.trending-panel,.desktop-feed-head{display:none!important}
  .main-area{display:block;height:auto;min-height:100vh}
  .mobile-header{height:68px;display:flex;position:sticky;top:0;z-index:60;align-items:center;justify-content:space-between;padding:0 16px 0 14px;background:rgba(15,15,18,.98);border-bottom:1px solid #25252a;backdrop-filter:blur(10px)}
  .mobile-logo{width:26px;height:26px;margin:0}
  .mobile-logo:before,.mobile-logo:after,.mobile-logo span{width:15px;height:9px}
  .mobile-logo:before{left:4px;top:3px}.mobile-logo:after{right:2px;bottom:2px}.mobile-logo span{left:5px;bottom:3px}
  .mobile-header-actions{display:flex;align-items:center;gap:12px}
  .mobile-square{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#202024;color:#f0f0f2}
  .mobile-square svg{width:18px;height:18px;stroke-width:1.9}
  .mobile-signin{height:41px;border-radius:12px;padding:0 17px;font-size:14px;font-weight:700;background:#86efac;color:#09140d}
  .dashboard-grid{display:block;overflow:visible}
  .panel{overflow:visible;border:0;min-height:0}
  .feed-panel{display:block;min-height:0;background:#0f0f12}
  .mobile-callout-tabs{display:flex;align-items:center;justify-content:space-between;height:59px;padding:0 28px;border-bottom:0;background:#0f0f12}
  .mobile-tabs-left{display:flex;align-items:center;gap:25px}
  .mobile-tab{padding:0;color:#92929b;font-size:20px;font-weight:720;letter-spacing:-.45px}
  .mobile-tab.active{color:#fff}
  .mobile-tab-people{display:flex;align-items:center;padding:0;color:#fff}
  .mobile-tab-people span:not(.chev){width:18px;height:18px;display:grid;place-items:center;margin-left:-5px;font-size:14px;border:1px solid #0f0f12;border-radius:50%}
  .mobile-tab-people .chev{margin-left:8px;color:#a7a7ae;font-size:16px}
  .mobile-new-callouts{display:flex;align-items:center;justify-content:center;gap:7px;width:calc(100% - 58px);height:38px;margin:4px auto 5px;border:1px solid #34343a;border-radius:22px;background:#1b1b1f;color:#dcdce1;font-size:14px;font-weight:640}
  .mobile-new-callouts>span:first-child{font-size:17px;color:#cfcfd4}
  .bubble-stack{letter-spacing:-5px;margin-right:2px;font-size:14px}
  .mobile-new-callouts b{font-size:12px;background:#09090b;color:#fff;padding:3px 4px;border-radius:8px}
  .feed{height:auto;overflow:visible;padding:0 13px 0;background:#0f0f12}
  .feed-item{position:relative;padding:10px 16px 16px 64px;border-bottom:1px solid #2b2b30;min-height:122px}
  .feed-item.threaded:before{content:"";position:absolute;left:33px;top:45px;bottom:12px;width:2px;background:#303035}
  .feed-meta{height:31px;gap:7px;margin-left:-49px;position:relative}
  .feed-meta .avatar{width:38px;height:38px;font-size:17px;flex:0 0 38px;border:1px solid #3b3b40;background:var(--avatar,#383842)}
  .feed-user{font-size:14px;font-weight:760;color:#fff;line-height:1}
  .feed-time{font-size:12px;color:#9b9ba3}
  .feed-badge{font-size:12px;color:#8a8a92;order:3}
  .feed-menu{margin-left:auto;width:28px;height:28px;border-radius:50%;background:#2b2b2f;color:#d7d7da;font-size:12px;display:grid;place-items:center}
  .feed-text{font-size:14px;line-height:1.4;font-weight:520;margin:7px 0 10px;color:#fff;letter-spacing:-.15px}
  .feed-text .mention{color:#53ef9a;font-weight:700}
  .trade-card{height:63px;border-radius:12px;grid-template-columns:38px minmax(0,1fr) 116px;padding:0 12px;background:#161619;border-color:#2b2b31;gap:8px}
  .coin-icon{width:34px;height:34px;border-radius:10px;font-size:16px}
  .trade-token{font-size:12px;font-weight:800;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.trade-sub{font-size:11px;color:#a4a4ae;margin-top:2px}
  .trade-labels{gap:28px;font-size:11px;color:#a8a8b2}.trade-values{gap:10px;margin-top:2px;font-size:12px;font-weight:760}.trade-profit{color:#63ef9e}
  .feed-actions{gap:14px;font-size:11px;margin-top:13px;color:#96969e;white-space:nowrap}.feed-actions span{gap:3px}.feed-actions .mc{margin-left:auto;font-size:12px;font-weight:800;color:#53ef9a}
  .feed-actions .mc.yellow{color:#ead70c}.feed-actions .mc.cyan{color:#24cfff}
  .thread-more{display:inline-flex;margin:6px 0 2px;padding:0;color:#53ef9a;font-size:13px;font-weight:700}
  .feed-item.compact-update{min-height:82px;padding-top:7px;padding-bottom:11px}
  .feed-item.compact-update .feed-text{margin-bottom:7px}
  .feed-item.compact-update .feed-actions{margin-top:4px}
  .mobile-feed-end{display:block}
  .show-more-callouts{display:block;margin:16px auto 47px;padding:9px 16px;border:1px solid #33333a;border-radius:22px;background:#17171a;color:#fff;font-size:13px;font-weight:700}
  .mobile-footer{padding:31px 9px calc(84px + env(safe-area-inset-bottom));border-top:1px solid #27272d;background:#0f0f12;color:#b9b9c4}
  .footer-section{margin:0 0 30px}.footer-section h3{margin:0 0 16px;color:#fff;font-size:12px;font-weight:850}.footer-section a{display:block;margin:0 0 14px;font-size:14px;color:#b8b8c5}
  .footer-blog{display:block;margin:36px 0 31px;font-size:14px;color:#b8b8c5}.footer-rule{height:1px;background:#2a2a30;margin-bottom:17px}.footer-copy{font-size:12px;color:#b9b9c4}.footer-socials{display:flex;gap:18px;margin-top:17px;color:#aaaab5;font-size:15px;font-weight:800}
  .mobile-bottom-nav{position:fixed;display:grid;grid-template-columns:repeat(5,1fr);left:0;right:0;bottom:0;height:64px;padding-bottom:env(safe-area-inset-bottom);border-top:1px solid #2a2a30;background:rgba(17,17,20,.98);z-index:70;backdrop-filter:blur(12px)}
  .bottom-nav-btn{display:grid;place-items:center;color:#f1f1f3}.bottom-nav-btn svg{width:27px;height:27px;stroke-width:2.1}.bottom-nav-btn.active{color:#7ef0b0}.bottom-nav-btn:nth-child(3) svg{width:29px;height:29px}
  .cookie-banner{right:13px;left:13px;bottom:81px;width:auto;border-radius:11px;padding:17px 16px 12px;background:#161619;border-color:#2e2e34;box-shadow:0 15px 40px rgba(0,0,0,.55);font-size:13px}
  .cookie-banner strong{font-size:16px}.cookie-banner p{font-size:13px;line-height:1.52;margin:13px 0 16px;color:#ececf0}.cookie-actions{gap:9px;justify-content:space-between;border-top:1px solid #2a2a2f;margin:0 -16px -12px;padding:12px 16px}.cookie-actions button{font-size:13px;font-weight:750;padding:8px 10px;border-radius:7px;background:#29292e}.cookie-actions .accept{margin-left:auto;background:#86efac;color:#0a1810}
  .mobile-search-overlay{position:fixed;display:block;inset:0;background:rgba(8,8,10,.78);z-index:90;padding:12px}
  .mobile-search-box{height:50px;display:grid;grid-template-columns:24px 1fr 28px;align-items:center;gap:8px;border:1px solid #35353c;border-radius:12px;background:#1a1a1f;padding:0 10px;box-shadow:0 20px 60px rgba(0,0,0,.4)}
  .mobile-search-box svg{width:19px;color:#b6b6be}.mobile-search-box input{width:100%;border:0;outline:0;background:transparent;font-size:15px}.mobile-search-box button{font-size:24px;color:#aaa}
  .modal{width:calc(100% - 28px);max-width:360px;padding:25px 22px}.modal h2{font-size:21px}.modal p{font-size:13px}.modal label{font-size:12px}.modal input{font-size:14px;padding:11px}
}
@media(max-width:360px){
  .mobile-tabs-left{gap:16px}.mobile-tab{font-size:18px}.mobile-callout-tabs{padding:0 18px}.mobile-tab-people span:not(.chev){width:15px;height:15px;font-size:11px}.mobile-signin{padding:0 13px}.mobile-header-actions{gap:8px}.mobile-square{width:40px;height:40px}.feed{padding:0 9px}.feed-item{padding-left:58px}.feed-meta{margin-left:-45px}.trade-card{grid-template-columns:34px minmax(0,1fr) 104px}.trade-labels{gap:18px}.feed-actions{gap:10px}
}

/* Live callouts: new rows enter from above without disturbing readers who are
   already scrolled down the 500-item history. */
.feed-item.live-incoming{
  animation:liveCalloutDrop .48s cubic-bezier(.2,.85,.25,1) both;
  transform-origin:top center;
}
@keyframes liveCalloutDrop{
  0%{opacity:0;transform:translateY(-22px);background:rgba(82,227,139,.09)}
  55%{opacity:1;background:rgba(82,227,139,.055)}
  100%{opacity:1;transform:translateY(0);background:transparent}
}
@media(prefers-reduced-motion:reduce){.feed-item.live-incoming{animation:none}}

/* Desktop readability scaling -------------------------------------------------
   The reference UI was designed against a much smaller logical viewport. On
   2K/4K/ultrawide monitors the old 6–8px desktop text became microscopic.
   Scale the whole desktop workspace while compensating its layout box so the
   same three-column proportions still fill the browser exactly. Mobile keeps
   its dedicated 1:1 responsive layout below 720px. */
@media (min-width:721px){
  .app-shell{
    --desktop-ui-scale:1;
    width:calc(100vw / var(--desktop-ui-scale));
    height:calc(100vh / var(--desktop-ui-scale));
    transform:scale(var(--desktop-ui-scale));
    transform-origin:0 0;
  }
  .sidebar,.main-area{height:calc(100vh / var(--desktop-ui-scale))}
}
@media (min-width:1600px){.app-shell{--desktop-ui-scale:1.35}}
@media (min-width:2200px){.app-shell{--desktop-ui-scale:1.55}}
@media (min-width:3000px){.app-shell{--desktop-ui-scale:1.80}}

/* Privacy dialog is a true modal and intentionally does not inherit the
   desktop workspace transform, so it stays centered in the physical screen. */
.cookie-modal-backdrop{
  position:fixed;
  inset:0;
  z-index:120;
  display:grid;
  place-items:center;
  padding:20px;
  background:rgba(0,0,0,.58);
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
}
.cookie-modal-backdrop .cookie-banner{
  position:relative;
  inset:auto;
  width:min(440px,calc(100vw - 32px));
  border-radius:12px;
  padding:18px 18px 14px;
  background:#17171a;
  border:1px solid #303038;
  box-shadow:0 28px 90px rgba(0,0,0,.56);
  font-size:13px;
}
.cookie-modal-backdrop .cookie-banner strong{font-size:16px}
.cookie-modal-backdrop .cookie-banner p{font-size:13px;line-height:1.45;margin:11px 0 16px;color:#e6e6e9}
.cookie-modal-backdrop .cookie-actions{gap:9px}
.cookie-modal-backdrop .cookie-actions button{font-size:12px;font-weight:700;padding:8px 12px;border-radius:7px}


/* Functional navigation ----------------------------------------------------- */
.brand-button{padding:0;border:0;background:transparent;cursor:pointer;flex:0 0 auto}
.nav-btn{position:relative}
.nav-btn .live-dot{position:absolute;right:3px;bottom:3px;width:4px;height:4px;border-radius:50%;background:#5bf09c;box-shadow:0 0 6px rgba(91,240,156,.75)}
.nav-btn.live-power.paused{color:#e67a80;background:rgba(229,106,111,.08)}
.nav-btn.live-power.paused .live-dot{background:#e56a6f;box-shadow:0 0 6px rgba(229,106,111,.65)}
.nav-btn:focus-visible,.brand-button:focus-visible{outline:1px solid #8ff1b0;outline-offset:2px}
.panel.nav-focus{animation:navFocusPulse .65s ease both}
@keyframes navFocusPulse{0%{box-shadow:inset 0 0 0 1px rgba(134,239,172,0)}35%{box-shadow:inset 0 0 0 1px rgba(134,239,172,.48)}100%{box-shadow:inset 0 0 0 1px rgba(134,239,172,0)}}

.tool-backdrop{position:fixed;inset:0;z-index:140;background:rgba(0,0,0,.58);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);display:grid;place-items:center;padding:20px}
.tool-sheet{width:min(430px,calc(100vw - 32px));max-height:min(720px,calc(100vh - 40px));overflow:hidden;border:1px solid #303038;border-radius:14px;background:#151518;box-shadow:0 28px 90px rgba(0,0,0,.62);display:flex;flex-direction:column;color:#efeff2}
.tool-sheet-head{min-height:67px;border-bottom:1px solid #2a2a30;display:flex;align-items:center;justify-content:space-between;padding:13px 15px 12px 17px;background:#17171b}
.tool-kicker{font-size:10px;text-transform:uppercase;letter-spacing:.09em;color:#6f727b;font-weight:800;margin-bottom:2px}
.tool-sheet h2{font-size:19px;line-height:1.15;margin:0;font-weight:780;letter-spacing:-.3px}
.tool-close{width:31px;height:31px;border-radius:8px;background:#242429;color:#a9a9b2;font-size:22px;display:grid;place-items:center;line-height:1}
.tool-close:hover{background:#2c2c32;color:#fff}
.tool-sheet-body{padding:16px;overflow:auto;scrollbar-width:thin;scrollbar-color:#38383f transparent}
.tool-section{border:1px solid #2b2b31;border-radius:11px;background:#19191d;padding:13px;margin-bottom:11px}
.tool-section:last-child{margin-bottom:0}
.tool-section h3{margin:0 0 9px;font-size:13px;color:#fff}.tool-section p{margin:0;color:#9b9ba4;font-size:12px;line-height:1.5}
.tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tool-stat{border:1px solid #2b2b31;border-radius:9px;background:#111114;padding:10px}.tool-stat b{display:block;font-size:17px;color:#fff;margin-bottom:2px}.tool-stat span{font-size:10px;color:#85858e}
.tool-list{display:flex;flex-direction:column;gap:7px}.tool-list-row{display:flex;align-items:center;gap:9px;padding:9px;border-radius:8px;border:1px solid #29292f;background:#121215}.tool-list-icon{width:30px;height:30px;border-radius:8px;background:#24242a;display:grid;place-items:center;color:#8ff1b0;font-size:14px;flex:0 0 30px}.tool-list-copy{min-width:0;flex:1}.tool-list-copy b{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tool-list-copy span{display:block;margin-top:2px;font-size:10px;color:#81818a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tool-list-action{font-size:10px;color:#8ff1b0;background:#202a24;border-radius:6px;padding:6px 8px}
.tool-form{display:grid;gap:10px}.tool-form label{display:grid;gap:5px;font-size:10px;font-weight:700;color:#a7a7b0}.tool-form input,.tool-form textarea,.tool-form select{width:100%;border:1px solid #34343b;border-radius:8px;background:#111114;color:#f1f1f3;padding:9px 10px;outline:none;font:inherit;font-size:12px}.tool-form textarea{min-height:90px;resize:vertical;line-height:1.45}.tool-form input:focus,.tool-form textarea:focus,.tool-form select:focus{border-color:#5d846b;box-shadow:0 0 0 2px rgba(134,239,172,.08)}
.tool-two-col{display:grid;grid-template-columns:1fr 1fr;gap:8px}.tool-primary,.tool-secondary,.tool-danger{min-height:35px;border-radius:8px;padding:0 12px;font-size:11px;font-weight:800}.tool-primary{background:#86efac;color:#0b1a10}.tool-primary:hover{background:#9cf5bd}.tool-secondary{background:#27272c;border:1px solid #34343b;color:#e8e8eb}.tool-danger{background:rgba(229,106,111,.12);border:1px solid rgba(229,106,111,.32);color:#f08a90}.tool-actions{display:flex;gap:8px;margin-top:10px}.tool-actions>*{flex:1}
.tool-toggle-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #29292e}.tool-toggle-row:last-child{border-bottom:0}.tool-toggle-copy{flex:1}.tool-toggle-copy b{display:block;font-size:12px}.tool-toggle-copy span{display:block;font-size:10px;color:#85858e;margin-top:2px}.tool-switch{position:relative;width:36px;height:20px;border-radius:999px;background:#303036;border:1px solid #3a3a41;flex:0 0 auto;transition:.2s}.tool-switch:after{content:"";position:absolute;width:14px;height:14px;left:2px;top:2px;border-radius:50%;background:#a0a0aa;transition:.2s}.tool-switch.on{background:#224532;border-color:#35694a}.tool-switch.on:after{left:18px;background:#86efac}.tool-status{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:999px;background:#202024;border:1px solid #303036;font-size:10px;color:#b5b5bd}.tool-status:before{content:"";width:6px;height:6px;border-radius:50%;background:#62eca0}.tool-status.off:before{background:#e56a6f}.tool-empty{text-align:center;padding:22px 8px;color:#8b8b94;font-size:12px}.tool-mini-note{font-size:10px;color:#777b84;margin-top:7px;line-height:1.45}
.qr-mock{width:148px;height:148px;margin:3px auto 13px;border:8px solid #fff;border-radius:7px;background:repeating-conic-gradient(#0d0d10 0 25%,#fff 0 50%) 0/18px 18px;box-shadow:inset 0 0 0 5px #fff}.mobile-link{display:flex;gap:7px}.mobile-link input{flex:1}

.toast-stack{position:fixed;right:18px;bottom:18px;z-index:180;display:flex;flex-direction:column;gap:8px;pointer-events:none}.app-toast{min-width:210px;max-width:320px;border:1px solid #34343a;border-radius:9px;background:#1a1a1f;color:#eee;padding:10px 12px;box-shadow:0 15px 45px rgba(0,0,0,.45);font-size:11px;line-height:1.4;animation:toastIn .22s ease both}.app-toast.success{border-color:rgba(134,239,172,.38)}.app-toast.error{border-color:rgba(229,106,111,.42)}@keyframes toastIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}

body.compact-feed .feed-item{padding-top:4px;padding-bottom:4px}body.compact-feed .trade-card{height:36px}body.compact-feed .feed-text{margin-top:2px;margin-bottom:3px}
body.reduced-motion *,body.reduced-motion *:before,body.reduced-motion *:after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}

@media(max-width:720px){
  .tool-backdrop{align-items:end;padding:0;background:rgba(0,0,0,.48)}
  .tool-sheet{width:100%;max-width:none;max-height:84vh;border-radius:16px 16px 0 0;border-left:0;border-right:0;border-bottom:0;padding-bottom:env(safe-area-inset-bottom)}
  .tool-sheet-head{min-height:63px;padding-left:17px}.tool-sheet h2{font-size:18px}.tool-sheet-body{padding:14px}
  .tool-grid{grid-template-columns:1fr 1fr}.tool-two-col{grid-template-columns:1fr}.toast-stack{left:12px;right:12px;bottom:78px}.app-toast{min-width:0;max-width:none;width:100%;font-size:12px}
}

/* Compact Trending panel on large desktop displays -------------------------
   Keep the overall dashboard readable while preventing the right Trending
   column from becoming oversized when the full app is scaled for 2K/4K. */
@media (min-width:1600px){
  .trending-panel .trend-panel-head{height:38px;padding-left:7px;padding-right:9px;gap:7px}
  .trending-list{height:calc(100% - 38px)}
  .trend-select{height:24px;min-width:94px;padding:0 7px;font-size:10px;border-radius:6px}
  .trend-select>svg:first-child{width:13px;height:13px}.trend-select .trend-chevron{width:11px;height:11px}
  .trend-head-actions{gap:9px}.trend-head-actions button{width:12px;height:20px}.trend-head-actions svg{width:13px;height:13px}.trend-head-actions .trend-more{font-size:12px;width:17px}
  .trend-row{height:52px;grid-template-columns:44px minmax(0,1fr) 112px;padding:0 10px 0 4px}
  .trend-icon{width:34px;height:34px;border-radius:8px}
  .trend-name{font-size:11px}.trend-symbol{font-size:9.5px;margin-top:5px}.hot-tag{height:12px;font-size:7.5px;padding:0 3px;margin-left:4px}
  .trend-cap{font-size:11px}.trend-change{font-size:10px;margin-top:4px}
  .trend-paused{height:18px;padding:0 6px;font-size:8.5px;border-radius:9px}.pause-bars{font-size:8px}.pause-caret{font-size:8px}
}
@media (min-width:2200px){
  .trending-panel .trend-panel-head{height:34px}
  .trending-list{height:calc(100% - 34px)}
  .trend-select{height:22px;min-width:86px;font-size:9px}
  .trend-head-actions{gap:8px}.trend-head-actions svg{width:12px;height:12px}.trend-head-actions .trend-more{font-size:11px}
  .trend-row{height:46px;grid-template-columns:39px minmax(0,1fr) 100px;padding-right:8px}
  .trend-icon{width:30px;height:30px;border-radius:7px}
  .trend-name{font-size:10px}.trend-symbol{font-size:8.5px;margin-top:4px}.hot-tag{height:11px;font-size:7px}
  .trend-cap{font-size:10px}.trend-change{font-size:9px;margin-top:3px}
  .trend-paused{height:17px;font-size:8px}
}
@media (min-width:3000px){
  .trending-panel .trend-panel-head{height:31px;padding-left:6px;padding-right:8px}
  .trending-list{height:calc(100% - 31px)}
  .trend-select{height:20px;min-width:78px;padding:0 6px;font-size:8.2px;border-radius:5px;gap:5px}
  .trend-select>svg:first-child{width:11px;height:11px}.trend-select .trend-chevron{width:9px;height:9px}
  .trend-head-actions{gap:7px}.trend-head-actions button{width:10px;height:18px}.trend-head-actions svg{width:11px;height:11px}.trend-head-actions .trend-more{font-size:10px;width:15px}
  .trend-row{height:42px;grid-template-columns:35px minmax(0,1fr) 91px;padding:0 7px 0 3px}
  .trend-icon{width:27px;height:27px;border-radius:6px}
  .trend-name{font-size:9px;letter-spacing:-.08px}.trend-symbol{font-size:7.8px;margin-top:3px}.hot-tag{height:10px;font-size:6.4px;padding:0 2px;margin-left:3px;border-radius:4px}
  .trend-cap{font-size:9px}.trend-change{font-size:8.2px;margin-top:3px}
  .trend-paused{height:16px;padding:0 5px;font-size:7.2px;border-radius:8px}.pause-bars{font-size:7px}.pause-caret{font-size:7px}
}

/* Longer replacement label for the former "brrr" action button. */
.revaluation-label-button {
  width: auto !important;
  min-width: 108px !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
  white-space: nowrap !important;
}



/* Web3 / Revaluation modal — styled to match the dashboard */
.web3-modal-backdrop{
  position:fixed;inset:0;z-index:95;display:grid;place-items:center;padding:24px;
  background:rgba(5,5,7,.76);backdrop-filter:blur(7px);
}
.web3-modal{
  width:min(860px,calc(100vw - 48px));
  background:#111114;border:1px solid #2b2b31;border-radius:14px;
  box-shadow:0 28px 90px rgba(0,0,0,.62);padding:22px;
  color:var(--text);position:relative;
}
.web3-modal:before{
  content:"";position:absolute;inset:0 0 auto;height:1px;border-radius:14px 14px 0 0;
  background:linear-gradient(90deg,transparent,rgba(134,239,172,.45),transparent);pointer-events:none;
}
.web3-modal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.web3-modal-head h2{margin:0;font-size:25px;line-height:1;font-weight:800;letter-spacing:-.035em;color:#f5f5f7}
.web3-modal-close{
  width:34px;height:34px;border-radius:9px;border:1px solid #303038;background:#1b1b20;
  color:#93939c;font-size:22px;line-height:1;display:grid;place-items:center;transition:.15s ease;
}
.web3-modal-close:hover{background:#222228;color:#f5f5f7;border-color:#3a3a42}
.web3-hero{
  position:relative;background:#18181c;border:1px solid #28282e;border-radius:10px;
  padding:14px 16px 14px 19px;font-size:12px;line-height:1.55;color:#d7d7dc;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  margin-bottom:28px;max-width:none;
}
.web3-hero:before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:3px;border-radius:10px 0 0 10px;background:var(--green);
}
.web3-wallet-bar{
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  color:#efeff2;font-size:13px;margin-bottom:12px;padding:0 2px;
}
.web3-switch-wrap{display:flex;align-items:center;gap:10px;color:#9a9aa4;font-size:12px;cursor:pointer}
.web3-switch{
  width:34px;height:19px;border-radius:999px;background:#35353d;border:1px solid #43434c;
  padding:1px;position:relative;transition:.18s ease;
}
.web3-switch span{display:block;width:15px;height:15px;border-radius:50%;background:#8a8a95;transition:transform .18s ease,background .18s ease}
.web3-switch[aria-pressed="true"]{background:rgba(134,239,172,.18);border-color:rgba(134,239,172,.48)}
.web3-switch[aria-pressed="true"] span{transform:translateX(15px);background:var(--green)}
.web3-wallet-list{display:grid;gap:10px}
.web3-wallet-card{
  width:100%;min-height:82px;display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;
  text-align:left;padding:14px 16px;background:#18181b;border:1px solid #29292f;border-radius:11px;
  color:#f1f1f4;transition:background .15s ease,border-color .15s ease,transform .15s ease,box-shadow .15s ease;
}
.web3-wallet-card:after{
  content:"Revaluation now";justify-self:end;padding:7px 12px;border-radius:8px;background:#232329;border:1px solid #313138;
  color:#b7b7bf;font-size:10px;font-weight:700;white-space:nowrap;
}
.web3-wallet-card:hover{
  transform:translateY(-1px);background:#1b1b1f;border-color:rgba(134,239,172,.44);
  box-shadow:0 8px 24px rgba(0,0,0,.22);
}
.web3-wallet-card:hover:after{background:var(--green);border-color:var(--green);color:#0b160f}
.web3-wallet-logo{
  width:42px;height:42px;border-radius:10px;background:#101012;border:1px solid #2e2e34;
  display:grid;place-items:center;color:var(--green);font-size:0;font-weight:800;position:relative;overflow:hidden;
}
.web3-wallet-logo.exodus-logo:before,.web3-wallet-logo.exodus-logo:after{
  content:"";position:absolute;width:27px;height:5px;border-radius:999px;left:7px;top:18px;transform:rotate(45deg);
}
.web3-wallet-logo.exodus-logo:before{background:#f0f0f3}
.web3-wallet-logo.exodus-logo:after{transform:rotate(-45deg);background:var(--green)}
.web3-wallet-name{font-size:14px;font-weight:750;letter-spacing:.01em;color:#f2f2f4}
.web3-wallet-card.is-uninstalled{opacity:.82}
.web3-wallet-card.is-uninstalled .web3-wallet-name::after{
  content:"Uninstalled";display:inline-block;margin-left:10px;font-size:9px;letter-spacing:.04em;
  color:#76767f;font-weight:650;
}
.web3-wallet-card.is-uninstalled:after{content:"Revaluation now"}
@media (max-width:900px){
  .web3-modal{width:min(720px,calc(100vw - 32px));padding:20px;border-radius:13px}
  .web3-modal-head h2{font-size:23px}.web3-hero{font-size:11.5px;margin-bottom:24px}
}
@media (max-width:640px){
  .web3-modal-backdrop{padding:12px;align-items:center}
  .web3-modal{width:100%;max-height:calc(100vh - 24px);overflow:auto;padding:16px;border-radius:12px}
  .web3-modal-head{margin-bottom:13px}.web3-modal-head h2{font-size:21px}
  .web3-modal-close{width:32px;height:32px;border-radius:8px;font-size:20px}
  .web3-hero{font-size:12px;line-height:1.5;padding:13px 14px 13px 17px;margin-bottom:22px}
  .web3-wallet-bar{font-size:13px;margin-bottom:11px}.web3-switch-wrap{font-size:11px}
  .web3-wallet-card{min-height:72px;grid-template-columns:50px minmax(0,1fr) auto;padding:12px}
  .web3-wallet-logo{width:38px;height:38px;border-radius:9px}
  .web3-wallet-logo.exodus-logo:before,.web3-wallet-logo.exodus-logo:after{width:24px;left:6px;top:16px;height:4px}
  .web3-wallet-name{font-size:13px}.web3-wallet-card:after{padding:6px 9px;font-size:10px}
}


/* Expanded wallet directory */
.web3-wallet-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
.web3-wallet-search-wrap{height:38px;flex:1;max-width:330px;display:flex;align-items:center;gap:8px;padding:0 11px;background:#141417;border:1px solid #29292f;border-radius:9px}
.web3-wallet-search-wrap svg{width:16px;height:16px;fill:none;stroke:#777780;stroke-width:1.8;flex:none}
.web3-wallet-search-wrap input{width:100%;border:0;outline:0;background:transparent;color:#ececf0;font:inherit;font-size:12px}
.web3-wallet-search-wrap input::placeholder{color:#66666f}
.web3-wallet-count{font-size:11px;color:#777780;white-space:nowrap}
.web3-wallet-list{max-height:min(470px,52vh);overflow:auto;padding-right:3px;scrollbar-width:thin;scrollbar-color:#34343b transparent}
.web3-wallet-list::-webkit-scrollbar{width:6px}.web3-wallet-list::-webkit-scrollbar-thumb{background:#34343b;border-radius:999px}
.web3-wallet-logo:not(.exodus-logo){font-size:14px;color:var(--wallet-tone,#86efac);background:color-mix(in srgb,var(--wallet-tone,#86efac) 8%,#101012);border-color:color-mix(in srgb,var(--wallet-tone,#86efac) 28%,#2e2e34);font-weight:800}
.web3-wallet-card.is-uninstalled{opacity:1}
.web3-wallet-empty{padding:28px 16px;text-align:center;border:1px dashed #2b2b31;border-radius:10px;color:#777780;font-size:12px}
@media (max-width:640px){.web3-wallet-tools{align-items:stretch;flex-direction:column}.web3-wallet-search-wrap{max-width:none;width:100%}.web3-wallet-count{padding-left:2px}.web3-wallet-list{max-height:46vh}}


/* Exact supplied wallet artwork */
.web3-wallet-logo{
  width:46px;height:46px;border-radius:11px;background:#0f0f12;border:1px solid #2d2d34;
  display:grid;place-items:center;overflow:hidden;padding:5px;position:relative;
}
.web3-wallet-logo img{width:100%;height:100%;object-fit:contain;display:block;border-radius:7px}
.web3-wallet-logo.exodus-logo:before,.web3-wallet-logo.exodus-logo:after{display:none!important}
.web3-wallet-logo:not(.exodus-logo){font-size:0!important;color:inherit!important;background:#0f0f12!important;border-color:#2d2d34!important}
.web3-wallet-card{grid-template-columns:62px minmax(0,1fr) auto}
.web3-wallet-card.is-uninstalled{opacity:1}
@media (max-width:640px){
  .web3-wallet-logo{width:42px;height:42px;padding:4px}
  .web3-wallet-card{grid-template-columns:54px minmax(0,1fr) auto}
}


/* Full supplied wallet directory: popular row + every wallet visible in a dense grid */
.web3-featured-block{margin:0 0 18px}
.web3-section-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 2px 10px}
.web3-section-title{font-size:12px;font-weight:800;color:#eeeeF2;letter-spacing:.01em}
.web3-section-note{font-size:10px;color:#6f7078}
.web3-all-title-row{margin-top:4px;margin-bottom:9px}
.web3-featured-wallets{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.web3-featured-wallet{min-width:0;min-height:82px;padding:10px 8px;border-radius:10px;border:1px solid #29292f;background:#17171a;color:#ededf1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;transition:.15s ease}
.web3-featured-wallet:hover{background:#1c1c20;border-color:rgba(134,239,172,.42);transform:translateY(-1px)}
.web3-featured-wallet .web3-wallet-logo{width:38px;height:38px;padding:4px;border-radius:9px}
.web3-featured-wallet .web3-wallet-name{font-size:10.5px;line-height:1.2;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.web3-featured-wallet .web3-wallet-name::after{display:none!important}
.web3-wallet-tools{margin-bottom:10px}
.web3-wallet-search-wrap{max-width:none}
.web3-wallet-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:min(500px,48vh);padding-right:5px}
.web3-wallet-card{min-height:68px;grid-template-columns:52px minmax(0,1fr) auto;padding:10px 11px;border-radius:10px}
.web3-wallet-card .web3-wallet-logo{width:40px;height:40px;padding:4px;border-radius:9px}
.web3-wallet-card .web3-wallet-name{font-size:12px}
.web3-wallet-card:after{padding:6px 8px;font-size:9px}
.web3-wallet-logo.wallet-image-error:after{content:"W";font-size:13px;font-weight:800;color:var(--green)}
@media (max-width:1000px){.web3-featured-wallets{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:760px){
  .web3-featured-wallets{grid-template-columns:repeat(3,minmax(0,1fr))}
  .web3-wallet-list{grid-template-columns:1fr;max-height:48vh}
}
@media (max-width:480px){
  .web3-featured-wallets{grid-template-columns:repeat(2,minmax(0,1fr))}
  .web3-featured-wallet{min-height:74px}
}


/* Wallet detail bottom sheet — matches the site dark green/black palette */
.wallet-detail-backdrop{
  position:fixed;inset:0;z-index:140;
  background:rgba(0,0,0,.56);
  backdrop-filter:blur(2px);
  display:flex;align-items:flex-end;justify-content:center;
  padding:0;
  opacity:0;
  transition:opacity .22s ease;
}
.wallet-detail-backdrop.is-open{opacity:1}
.wallet-detail-modal{
  position:relative;
  width:min(760px,100%);
  max-height:min(620px,86vh);
  overflow:auto;
  background:linear-gradient(180deg,#111816 0%,#0d1211 100%);
  border:1px solid #26312e;
  border-bottom:0;
  border-radius:22px 22px 0 0;
  box-shadow:0 -20px 60px rgba(0,0,0,.48);
  padding:26px 24px 34px;
  text-align:center;
  color:#f3f6f4;
  transform:translateY(105%);
  transition:transform .24s cubic-bezier(.22,.78,.25,1);
}
.wallet-detail-backdrop.is-open .wallet-detail-modal{transform:translateY(0)}
.wallet-detail-modal:before{
  content:"";
  position:absolute;top:9px;left:50%;transform:translateX(-50%);
  width:44px;height:4px;border-radius:999px;
  background:#39443f;
}
.wallet-detail-close{
  position:absolute;right:16px;top:17px;
  width:36px;height:36px;
  border:1px solid #303a36;
  border-radius:10px;
  background:#181f1d;
  color:#aeb8b3;
  font-size:24px;line-height:1;
  display:grid;place-items:center;
  cursor:pointer;
}
.wallet-detail-close:hover{background:#202926;color:#fff;border-color:#3c4944}
.wallet-detail-logo{
  width:68px;height:68px;
  margin:22px auto 14px;
  display:grid;place-items:center;
  background:#0b100f;
  border:1px solid #2b3632;
  border-radius:16px;
  padding:8px;
  box-shadow:0 8px 28px rgba(0,0,0,.24);
}
.wallet-detail-logo img{width:100%;height:100%;object-fit:contain;display:block;border-radius:10px}
.wallet-detail-title{
  margin:0 0 12px;
  font-size:24px;line-height:1.2;font-weight:800;
  color:#f6f8f7;
}
.wallet-detail-copy{
  margin:0 auto 26px;
  max-width:560px;
  font-size:15px;line-height:1.65;
  color:#9eaaa4;
}
.wallet-detail-action{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:190px;height:44px;padding:0 22px;
  border-radius:12px;
  border:1px solid #7bf3b5;
  background:#7bf3b5;
  color:#07120d;
  font-size:14px;font-weight:800;
  cursor:pointer;
  box-shadow:0 8px 22px rgba(123,243,181,.12);
  transition:transform .15s ease,filter .15s ease;
}
.wallet-detail-action:hover{filter:brightness(1.03);transform:translateY(-1px)}
.wallet-detail-action:active{transform:translateY(0)}
@media (max-width:640px){
  .wallet-detail-modal{
    width:100%;max-height:82vh;
    border-radius:20px 20px 0 0;
    padding:24px 18px 28px;
  }
  .wallet-detail-close{right:12px;top:15px;width:34px;height:34px;font-size:22px}
  .wallet-detail-logo{width:62px;height:62px;margin-top:20px}
  .wallet-detail-title{font-size:21px}
  .wallet-detail-copy{font-size:14px;line-height:1.6;max-width:360px;margin-bottom:22px}
  .wallet-detail-action{width:100%;max-width:330px;height:46px;font-size:14px}
}


/* Secure wallet connection bottom sheet */
.wallet-connect-backdrop{position:fixed;inset:0;z-index:150;background:rgba(0,0,0,.62);backdrop-filter:blur(3px);display:flex;align-items:flex-end;justify-content:center;opacity:0;transition:opacity .22s ease}
.wallet-connect-backdrop.is-open{opacity:1}
.wallet-connect-sheet{position:relative;width:min(780px,100%);max-height:min(760px,92vh);overflow:auto;background:linear-gradient(180deg,#101715 0%,#0b100f 100%);border:1px solid #26312e;border-bottom:0;border-radius:24px 24px 0 0;box-shadow:0 -22px 70px rgba(0,0,0,.55);padding:28px 26px 34px;color:#f4f7f5;transform:translateY(105%);transition:transform .24s cubic-bezier(.22,.78,.25,1)}
.wallet-connect-backdrop.is-open .wallet-connect-sheet{transform:translateY(0)}
.wallet-connect-handle{position:absolute;top:9px;left:50%;transform:translateX(-50%);width:46px;height:4px;border-radius:999px;background:#39443f}
.wallet-connect-close{position:absolute;right:18px;top:18px;width:38px;height:38px;border-radius:11px;border:1px solid #303a36;background:#181f1d;color:#aeb8b3;font-size:24px;display:grid;place-items:center;cursor:pointer}
.wallet-connect-close:hover{background:#202926;color:#fff;border-color:#3c4944}
.wallet-connect-heading{display:flex;align-items:center;gap:14px;padding-right:52px;margin:12px 0 18px;text-align:left}
.wallet-connect-logo{width:58px;height:58px;border-radius:15px;border:1px solid #2d3935;background:#0b100f;padding:7px;display:grid;place-items:center;flex:none}.wallet-connect-logo img{width:100%;height:100%;object-fit:contain;border-radius:10px}
.wallet-connect-eyebrow{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#7bf3b5;font-weight:800;margin-bottom:3px}.wallet-connect-heading h3{margin:0;color:#f6f8f7;font-size:23px;line-height:1.15}.wallet-connect-heading p{margin:5px 0 0;color:#8f9b95;font-size:13px}
.wallet-connect-security{display:flex;gap:10px;align-items:flex-start;padding:13px 14px;border:1px solid #27342f;background:#131a18;border-radius:12px;margin-bottom:18px;text-align:left}.wallet-connect-shield{width:24px;height:24px;border-radius:999px;background:rgba(123,243,181,.14);color:#7bf3b5;display:grid;place-items:center;font-weight:900;flex:none}.wallet-connect-security b{display:block;font-size:12px;color:#e8eeeb;margin-bottom:3px}.wallet-connect-security span:last-child{display:block;font-size:11px;line-height:1.5;color:#8f9b95}
.wallet-connect-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;background:#101513;border:1px solid #252d2a;border-radius:11px;padding:5px;margin-bottom:16px}.wallet-connect-tab{height:38px;border:0;border-radius:8px;background:transparent;color:#7e8984;font-size:12px;font-weight:750;cursor:pointer}.wallet-connect-tab.is-active{background:#1a2420;color:#eaf0ed;box-shadow:inset 0 0 0 1px #2d3b35}.wallet-connect-panel{display:none}.wallet-connect-panel.is-active{display:block}
.wallet-connect-card{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #27312e;background:#141a18;border-radius:12px;text-align:left;margin-bottom:14px}.wallet-connect-card-icon{width:38px;height:38px;border-radius:10px;background:#0e1412;border:1px solid #2a3631;color:#7bf3b5;display:grid;place-items:center;font-size:18px;flex:none}.wallet-connect-card-copy b{display:block;font-size:13px;color:#edf2ef;margin-bottom:3px}.wallet-connect-card-copy span{display:block;font-size:11px;line-height:1.5;color:#8c9892}
.wallet-connect-label{display:block;font-size:12px;font-weight:750;color:#dce3df;margin:0 0 7px;text-align:left}.wallet-connect-input{width:100%;height:44px;border-radius:10px;border:1px solid #303a36;background:#111715;color:#edf2ef;padding:0 12px;outline:none;font-size:13px}.wallet-connect-input:focus{border-color:#5ecf99;box-shadow:0 0 0 3px rgba(123,243,181,.08)}.wallet-connect-input::placeholder{color:#68736e}.wallet-connect-help{font-size:10.5px;color:#727d78;margin:7px 0 14px;text-align:left}
.wallet-connect-primary{width:100%;height:46px;border:1px solid #7bf3b5;border-radius:12px;background:#7bf3b5;color:#07120d;font-size:14px;font-weight:850;cursor:pointer;box-shadow:0 8px 22px rgba(123,243,181,.12)}.wallet-connect-primary:hover{filter:brightness(1.03)}
@media(max-width:640px){.wallet-connect-sheet{width:100%;max-height:90vh;border-radius:20px 20px 0 0;padding:25px 16px 26px}.wallet-connect-close{right:12px;top:15px;width:34px;height:34px}.wallet-connect-heading{gap:11px;padding-right:45px}.wallet-connect-logo{width:52px;height:52px}.wallet-connect-heading h3{font-size:20px}.wallet-connect-tabs{grid-template-columns:1fr}.wallet-connect-tab{height:36px}.wallet-connect-security{padding:12px}.wallet-connect-primary{height:45px}}


/* Form layout matching the supplied reference while keeping the site's dark theme */
.wallet-import-style{width:min(640px,100%);padding:24px 0 0;background:#0f1714;border-color:#25312d}
.wallet-import-titlebar{display:flex;align-items:center;gap:12px;padding:16px 22px 14px 22px;border-bottom:1px solid #26322e}
.wallet-import-heading-copy h3{margin:0;color:#f4f7f5;font-size:20px;line-height:1.15}
.wallet-import-heading-copy p{margin:4px 0 0;color:#8e9a94;font-size:12px}
.wallet-import-tabs{margin:0;border:0;border-radius:0;border-bottom:1px solid #26322e;background:#111916;padding:0 14px;display:flex;gap:2px}
.wallet-import-tabs .wallet-connect-tab{flex:0 0 auto;height:44px;border-radius:0;padding:0 18px;position:relative;color:#9da8a2;font-size:13px}
.wallet-import-tabs .wallet-connect-tab.is-active{background:transparent;color:#eff5f1;box-shadow:none}
.wallet-import-tabs .wallet-connect-tab.is-active:after{content:"";position:absolute;left:12px;right:12px;bottom:-1px;height:2px;background:#7bf3b5;border-radius:2px}
.wallet-connect-form-shell{padding:20px 22px 24px}
.wallet-form-group{margin-bottom:17px}
.wallet-connect-label{font-size:13px;margin:0 0 8px;color:#dce5e0}
.wallet-connect-input{height:42px;border-radius:8px;background:#151d1a;border-color:#31413a;color:#f1f6f3;font-size:13px;padding:0 12px}
.wallet-connect-input:focus{border-color:#6fe8ad;box-shadow:0 0 0 3px rgba(123,243,181,.08)}
.wallet-connect-textarea{height:92px;min-height:92px;padding:11px 12px;resize:vertical;line-height:1.45}
.wallet-connect-help{margin-top:6px;font-size:10.5px;line-height:1.4;color:#7e8a84}
.wallet-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:22px}
.wallet-form-secondary,.wallet-form-proceed{width:auto;min-width:108px;height:40px;border-radius:999px;padding:0 20px}
.wallet-form-secondary{border:1px solid #3a4540;background:#1a211f;color:#c3ccc7;font-weight:750;cursor:pointer}
.wallet-form-secondary:hover{background:#222b27;color:#fff}
.wallet-form-proceed{background:#7bf3b5;border-color:#7bf3b5;color:#08120d;box-shadow:none}
.wallet-connect-card{margin:4px 0 0}
@media(max-width:640px){
  .wallet-import-style{width:100%;padding-top:20px}
  .wallet-import-titlebar{padding:14px 16px 12px}
  .wallet-import-tabs{padding:0 8px;overflow-x:auto}
  .wallet-import-tabs .wallet-connect-tab{padding:0 14px;font-size:12px;white-space:nowrap}
  .wallet-connect-form-shell{padding:17px 14px 20px}
  .wallet-form-actions{justify-content:stretch}
  .wallet-form-secondary,.wallet-form-proceed{flex:1;min-width:0}
}

/* Hosted header Revaluation button */
.revaluation-header-btn{min-width:82px;padding:0 14px;white-space:nowrap}
@media (max-width:640px){.revaluation-header-btn{min-width:auto;padding:0 13px;font-size:13px}}
