/* Discovery: token-first browsing, independent from the liquidity workspace. */
body:has(.shell){--bg:#0f1013;--panel:#191a1e;--line:#292b31;--ink:#f2f2f4;background:#0f1013}
.shell{background:#0f1013}
#sidebar{background:#101114;border-color:#292a30;padding-top:22px}
#sidebar .brand{font-size:20px;letter-spacing:-.7px;padding-inline:8px}
#sidebar nav{margin-top:32px;gap:4px}
#sidebar .nav{font-size:13px;min-height:43px;gap:13px;color:#a4a5ae}
#sidebar .nav.active{box-shadow:none;background:#1c1f1b;color:#c1f477}
#sidebar .nav:hover{background:#1b1c21;color:#fff}
#sidebar .create-nav{margin-top:25px;border-radius:8px}
#sidebar .sidebar-foot p{display:none}
#sidebar .sidebar-foot{padding-inline:10px}
.shell>header{height:70px;padding:0 27px;gap:20px;background:#101114;border-color:#292a30}
.shell .wordmark{display:none}
.shell .search{width:min(520px,50vw);max-width:520px;background:#232429;border:1px solid #2c2e35;border-radius:8px;height:40px;gap:9px}
.shell .search input{font-size:13px;color:#e3e4e9}
.shell .search input::placeholder{color:#9498a3}
.shell .header-right{margin-left:auto;gap:9px}
.shell #wallet{border-radius:9px;font-size:12px;min-height:38px}
.shell #local-profile{background:#202126;border-color:#30323a;border-radius:8px;font-size:11px}
.shell .preview-label{background:none;border:0;color:#82868e;font-size:10px;padding:0 5px}
.shell main{max-width:1600px;align-self:center;padding:28px 28px 14px}
.discovery-live .hero,.discovery-live #show-intro,.discovery-live .edition-strip{display:none!important}
.shell .section-heading{margin:0 0 18px;gap:14px}
.shell .section-heading h2{font:600 21px 'DM Sans',sans-serif;letter-spacing:-.4px}
.shell .section-heading h2 span{font-size:10px;vertical-align:middle;background:#202227;color:#9296a1;margin-left:7px;padding:3px 6px}
.discovery-live #collection-description,.discovery-live .heading-actions{display:none}
.shell .toolbar{display:flex;align-items:center;gap:16px;justify-content:space-between;background:transparent;border:0;padding:0;border-radius:0;margin:0 0 12px}
.shell .tabs{padding:3px;background:#191a1f;border:1px solid #2d2f36;border-radius:9px;gap:3px}
.shell .tabs button{font-size:12px;min-height:34px;border:0;border-radius:6px;padding:8px 13px;font-weight:500;display:flex;align-items:center;gap:7px}
.shell .tabs button.active{background:#c0f478;color:#142109}
.new-dot{display:inline-block;width:7px;height:7px;background:#284415;border-radius:50%}
.shell .tools{display:flex;gap:8px;align-items:center}
.shell .tools select{font-size:11px;border:1px solid #2c2e36;background:#191a1f;border-radius:8px;padding:9px 11px;min-height:38px;color:#b1b3bf}
.shell .view-buttons{background:#191a1f;border:1px solid #2c2e36;border-radius:8px;padding:3px}
.shell .view-buttons button{border-radius:5px;min-height:29px;min-width:31px}
.shell .view-buttons button.active{background:#303238;color:#dfe2e9}
.shell .chain-directory-tools{margin:0 0 21px;padding:0;min-height:24px;border:0;background:none;gap:10px}
.shell .chain-directory-tools p{font-size:9px;color:#757a87;line-height:1.5;flex:1}
.shell #refresh-chain{font-size:10px;border:0;background:transparent;color:#9b9ea9;min-height:25px;padding:4px 0;white-space:nowrap}
.shell .token-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(174px,1fr));gap:28px 18px;align-content:start}
.shell .token-card{position:relative;border:0;background:none;padding:0;border-radius:0;min-width:0;transition:none}
.shell .token-card:hover{border:0;background:none;transform:none}
.shell .token-open{display:block;width:100%;text-align:left;border:0;background:none;padding:0;border-radius:7px}
.shell .token-art{aspect-ratio:1;overflow:hidden;border:0;border-radius:7px;background:#20252b;position:relative}
.shell .token-open:hover .token-art{box-shadow:inset 0 0 0 1px #c0f47855}
.shell .token-art img{width:100%;height:100%;object-fit:cover}
.shell .live-token-art{background:#28352d}
.shell .live-token-art:before{content:'';position:absolute;inset:12%;border:1px solid #b6d3bc1c;border-radius:50%;background:none;z-index:-1}
.shell .live-token-art:after{display:none}
.shell .token-card:nth-child(3n+2) .live-token-art{background:#303443}
.shell .token-card:nth-child(3n) .live-token-art{background:#3b322d}
.shell .token-initial{font-family:'Space Grotesk',sans-serif;font-size:62px;letter-spacing:-4px;font-weight:500;color:#d3e5bc}
.shell .pair-label{font-size:8px;background:#121712b8;border:0;padding:4px 6px;color:#bbcfaa;bottom:9px;left:9px}
.shell .token-open h3{font:600 14px/1.35 'DM Sans',sans-serif;letter-spacing:-.15px;margin:10px 0 3px;color:#efeff2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.shell .token-open .ticker{font-size:11px;color:#9295a2;line-height:1.4}
.shell .save{top:8px;right:8px;width:26px;height:26px;min-height:0;padding:6px;background:#101212a8;border:1px solid #ffffff26;border-radius:6px;color:#c4d0bf}
.shell .save.saved{background:#c0f478;color:#17230c}
.shell .save:hover{background:#c0f478;color:#17230c}
.discovery-cap{display:flex;align-items:baseline;gap:5px;margin-top:8px}
.discovery-cap strong{font-size:15px;font-weight:650;letter-spacing:-.3px;color:#ececf0}
.discovery-cap>span{font-size:10px;color:#9598a5}
.discovery-creator{display:flex;align-items:center;gap:6px;margin-top:8px;min-width:0;font-size:10px;color:#9a9ca9}
.creator-dot{width:15px;height:15px;display:grid;place-items:center;background:#657964;color:#ecf1e8;border-radius:50%;font-size:8px;flex-shrink:0}
.discovery-creator>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shell .token-meta{border:0;padding:0;margin-top:8px;display:flex;align-items:center;justify-content:space-between;gap:6px}
.shell .token-meta .local{font-size:9px;color:#87967c}
.shell .token-meta a.trade-hint{padding:0;background:none;border:0;border-radius:0;color:#bada9c;font-size:10px;gap:3px;line-height:1.4}
.shell .token-meta a:not(.trade-hint){padding:4px;background:none;border:0;color:#a2a6b0}
.shell .token-card .description{font-size:11px;color:#9699a6;line-height:1.5;margin-top:8px}
.shell .token-grid.list{grid-template-columns:1fr;gap:0}
.shell .token-grid.list .token-card{display:grid;grid-template-columns:minmax(200px,1.5fr) minmax(100px,.65fr) minmax(100px,1fr) 110px;align-items:center;gap:20px;padding:14px 42px 14px 0;border-bottom:1px solid #292b32;background:none;border-radius:0}
.shell .list .token-open{display:grid;grid-template-columns:52px minmax(0,1fr);grid-template-rows:auto auto;column-gap:12px;align-items:center}
.shell .list .token-art{width:52px;grid-row:1/span 2;aspect-ratio:1}
.shell .list .token-initial{font-size:25px;letter-spacing:-1px}
.shell .list .token-open h3{margin:0;align-self:end}
.shell .list .ticker{align-self:start}
.shell .list .pair-label,.shell .list .description{display:none}
.shell .list .discovery-cap,.shell .list .discovery-creator,.shell .list .token-meta{margin:0}
.shell .list .save{top:25px;right:2px}
.shell footer{color:#717682;font-size:9px;border-color:#26282e}
.shell footer a{color:#919a85}
@media(min-width:1700px){.shell .token-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:1100px){.shell>header{padding-inline:22px;gap:12px}.shell main{padding:25px 22px 16px}.shell .token-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.shell .list .token-card{grid-template-columns:minmax(170px,1.5fr) 100px 110px}.shell .list .discovery-creator{display:none}}
@media(max-width:700px){.shell>header{display:grid;height:auto;min-height:108px;padding:12px 14px;grid-template-columns:1fr auto;gap:10px}.shell .wordmark{display:block;font-size:17px;letter-spacing:-.7px}.shell .search{grid-row:2;grid-column:1/-1;width:100%;max-width:none;height:38px}.shell .search input{font-size:16px}.shell .header-right{gap:6px}.shell #wallet{font-size:10px;min-height:33px;padding:8px 10px}.shell #local-profile{font-size:10px;min-height:33px;padding:7px}.shell main{padding:22px 13px 95px}.shell .section-heading{margin-bottom:16px}.shell .section-heading h2{font-size:21px}.shell .toolbar{gap:9px;flex-wrap:wrap;margin-bottom:10px}.shell .tabs{padding:2px}.shell .tabs button{font-size:11px;min-height:32px;padding:8px 10px}.shell .tools{width:100%;gap:7px}.shell .tools select{font-size:10px;min-height:34px;padding:7px 9px;flex:1;max-width:none}.shell .view-buttons{margin-left:auto;flex:none}.shell .chain-directory-tools{margin-bottom:16px;align-items:center;min-height:22px}.shell .chain-directory-tools p{font-size:8px;line-height:1.5;max-width:75%}.shell #refresh-chain{font-size:9px}.shell .token-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 13px}.shell .token-art{aspect-ratio:1}.shell .token-initial{font-size:49px}.shell .token-open h3{font-size:13px;margin-top:9px}.shell .token-open .ticker{font-size:10px}.discovery-cap strong{font-size:14px}.discovery-cap>span{font-size:9px}.discovery-creator{font-size:9px}.shell .token-meta .local{font-size:8px}.shell .token-grid.list{grid-template-columns:1fr}.shell .token-grid.list .token-card{grid-template-columns:minmax(0,1fr) 78px;gap:10px;padding:13px 33px 13px 0}.shell .list .token-open{grid-template-columns:45px minmax(0,1fr);gap:8px}.shell .list .token-art{width:45px}.shell .list .token-meta{display:none}.shell .list .discovery-cap{justify-content:flex-end;flex-wrap:wrap;gap:2px}.shell .list .discovery-cap strong{font-size:12px}.shell .list .discovery-cap>span{font-size:8px}.shell .list .save{top:23px;right:0}.shell footer>span:nth-child(2){display:none}#sidebar .sidebar-foot{display:none}}
@media(max-width:380px){.shell #local-profile{font-size:0;max-width:33px}.shell #wallet{font-size:9px;padding-inline:8px}}

#sidebar .nav.create-nav{color:#17230b}#sidebar .nav.create-nav b{color:inherit}.shell .chain-directory-tools{flex-direction:row;text-align:left}@media(max-width:700px){#sidebar .nav.create-nav,#sidebar .nav.create-nav b{color:var(--mint)!important}.shell .chain-directory-tools p{margin:0}.shell footer{min-height:45px;overflow:visible}}

/* Fill the artwork frame, preserving proportions rather than stretching. */
body.discovery-live .token-card .live-token-art{filter:none}
body.discovery-live .token-card .live-token-art img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;image-rendering:auto;transform:none}
