/* The Classic stylesheet remains intact. Only the terminal layout uses these rules. */
html[data-layout=terminal] .results.with-panel .collection-preview{display:none!important}
.layout-switch{position:fixed;top:10px;right:16px;z-index:100;display:flex;gap:3px;padding:3px;border:1px solid #684269;border-radius:20px;background:#24182f;box-shadow:0 3px 12px #130e2544}.layout-switch button{font:700 11px 'Manrope',Arial,sans-serif;padding:6px 12px;border:0;border-radius:15px;color:#c7a8d3;background:transparent;cursor:pointer}.layout-switch button[aria-pressed=true]{background:#ffa8cf;color:#291a34}.layout-switch button:hover{color:#fff}
html[data-layout=terminal] body{font-size:13px;background:#130e25}
html[data-layout=terminal] #app{margin:122px 22px 62px;max-width:none;min-height:calc(100vh - 185px)}
html[data-layout=terminal] .terminal-top{position:fixed;inset:0 0 auto;z-index:65;height:61px;display:flex;align-items:center;gap:28px;padding:0 202px 0 24px;background:#181125;border-bottom:1px solid #463254}
.terminal-logo{flex:none}.terminal-logo .logo{font-size:21px}.terminal-logo .mx-mark{height:31px;width:31px}.terminal-top>nav{display:flex;align-items:stretch;gap:27px;height:100%}.terminal-top>nav a{display:flex;align-items:center;font-size:13px;font-weight:750;color:#d6bedf;white-space:nowrap;position:relative}.terminal-top>nav a[aria-current]{color:#ffb2d4}.terminal-top>nav a[aria-current]:after{content:'';position:absolute;bottom:0;height:2px;background:#ffa8cf;left:0;right:0}.terminal-top>nav a:hover{color:#ffc89f}.terminal-search{margin-left:auto;background:transparent;border:1px solid #51365c;border-radius:20px;display:flex;align-items:center;gap:12px;color:#ae91be;padding:7px 12px;font-size:11px;white-space:nowrap;cursor:pointer}.terminal-search>span{font-size:18px;color:#ffc89f}.terminal-search kbd{border:1px solid #60436b;border-radius:6px;padding:0 5px}.terminal-collection{background:#3b2946;border:1px solid #64436b;border-radius:20px;padding:8px 14px;color:#f8d5e6;white-space:nowrap;font-size:12px}
html[data-layout=terminal] .terminal-ticker{position:fixed;left:0;right:0;top:61px;height:33px;background:#20162c;border-bottom:1px solid #3d2949;display:flex;align-items:center;gap:25px;overflow:auto;white-space:nowrap;z-index:60;padding:0 23px;scrollbar-width:none}.terminal-ticker a{color:#b9a0c7;font-size:11px;display:flex;gap:8px;align-items:center}.terminal-ticker a:hover{color:#ffc89f}.ticker-label{color:#efb1d1;font-size:10px;flex:none;padding-right:20px;border-right:1px solid #65416e}.ticker-dot{color:#ffc89f}
html[data-layout=terminal] .doge-hero,html[data-layout=terminal] .gta-topics{display:none}
html[data-layout=terminal] .results-top{margin:0;background:transparent;position:static;padding:0;border:0}
html[data-layout=terminal] .page-heading{padding:0 0 15px;align-items:center;min-height:42px}
html[data-layout=terminal] .page-heading .eyebrow,html[data-layout=terminal] .page-heading p{display:none}
html[data-layout=terminal] .page-heading h1{font-size:22px;letter-spacing:-.6px;line-height:1.4}
html[data-layout=terminal] .workspace-actions{gap:12px}
html[data-layout=terminal] .workspace-actions .gbtn{height:32px;font-size:11px;border-radius:18px;background:#ffa8cf;color:#2a1933;padding:0 15px}
html[data-layout=terminal] .workspace-actions .quiet-link{font-size:12px}
html[data-layout=terminal] .live-label{font-size:9px;letter-spacing:.5px;padding:4px 7px}
html[data-layout=terminal] .command-row{float:right;width:340px;max-width:42%;padding:2px 9px;margin:0 0 10px 18px;border-radius:20px;background:#1e152b}
html[data-layout=terminal] .command-row .searchbox-inner{height:30px}
html[data-layout=terminal] .searchbox input{font-size:12px}
html[data-layout=terminal] .command-hint,html[data-layout=terminal] .sb-mic,html[data-layout=terminal] .sb-lens{display:none}
html[data-layout=terminal] .tabs{height:37px;gap:23px;border:0;padding-bottom:0;overflow:auto}
html[data-layout=terminal] .tab{border:0;background:transparent;border-radius:0;font-size:13px;height:32px;padding:0 2px;color:#a98bbb;font-weight:700;white-space:nowrap}
html[data-layout=terminal] .tab svg{display:none}
html[data-layout=terminal] .tab.active{background:transparent;color:#fff0e7;border-bottom:2px solid #ffa8cf}
html[data-layout=terminal] .tab.right{margin-left:auto;font-size:11px;color:#eab6d2}
html[data-layout=terminal] .tools-row{clear:both;padding:9px 0 7px;border-top:1px solid #382542;gap:6px}
html[data-layout=terminal] .tools-row .chip,html[data-layout=terminal] .tools-row .gsel{height:25px;font-size:10px;border-radius:15px;background:transparent;padding:0 10px;border-color:#493353}
html[data-layout=terminal] .result-stats{font-size:10px;padding:3px 0 13px;color:#a98bbb}
html[data-layout=terminal] .results{display:block}
html[data-layout=terminal] .results.with-panel{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:14px}
html[data-layout=terminal] .side-panel{background:#21162e;border-color:#63406b;top:112px;max-height:calc(100vh - 160px);border-radius:7px}
html[data-layout=terminal] .side-panel .detail-img{background:#181023}
.terminal-data{border:1px solid #51355e;border-radius:7px;overflow:hidden;background:#1c1429}.terminal-data-head{height:44px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid #463052;background:#24192f;gap:12px}.terminal-data-head>div{display:flex;align-items:center;gap:16px;min-width:0}.terminal-data-head strong{color:#f8dce9;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.terminal-data-head span{font-size:10px;color:#b193c1;white-space:nowrap}.terminal-data-head a{font-size:11px;color:#b79ac7}.terminal-data-head a.selected{color:#ffc89f}.terminal-scroll{overflow:auto;max-height:calc(100vh - 377px);min-height:330px;scrollbar-width:thin;scrollbar-color:#63416f #20162e}.terminal-memes{width:100%;border-collapse:collapse;text-align:left;table-layout:fixed;min-width:970px}.terminal-memes th{position:sticky;top:0;background:#21172e;font-weight:500;color:#ad8fbe;font-size:10px;height:35px;border-bottom:1px solid #45304f;z-index:2}.terminal-memes th:first-child{width:36%;padding-left:18px}.terminal-memes th:nth-child(2){width:11%}.terminal-memes th:nth-child(3),.terminal-memes th:nth-child(4){width:7%}.terminal-memes th:nth-child(5){width:17%}.terminal-memes th:nth-child(6){width:11%}.terminal-memes th:last-child{width:11%}.terminal-memes td{padding:12px 10px 12px 0;border-bottom:1px solid #35233f;height:99px}.terminal-memes td:first-child{padding-left:18px;padding-right:22px}.terminal-memes tr:nth-child(even){background:#21172d}.terminal-memes tbody tr:hover{background:#30203d}.terminal-memes td>small{display:block;color:#a88bb9;margin-top:7px;font-size:10px}.terminal-item{display:flex;align-items:center;gap:14px;min-width:0;width:100%;text-align:left;background:transparent;border:0;padding:0;color:#f8e5ed;cursor:pointer;font-family:inherit}.terminal-item>img{width:65px;height:65px;object-fit:cover;border-radius:5px;border:1px solid #925b87;background:#39234a;flex:none}.terminal-item>span{min-width:0;display:flex;flex-direction:column;gap:9px}.terminal-item strong{font-size:13px;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.terminal-item small{font-size:10px;color:#ae8dbe;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.terminal-source{display:flex;align-items:center;gap:6px;font-size:11px;color:#dcc0e2;text-transform:capitalize}.terminal-source i{width:5px;height:5px;border-radius:50%;background:#77dac5}.terminal-number{font-variant-numeric:tabular-nums;color:#ffcca8;font-size:13px;font-weight:750}.terminal-tags{display:flex;flex-wrap:wrap;gap:4px}.terminal-tag{display:inline-flex;align-items:center;font-size:9px;color:#dcb4d8;border:1px solid #55325e;border-radius:4px;padding:3px 6px;white-space:nowrap;max-width:140px;overflow:hidden;text-overflow:ellipsis}.terminal-tag:hover{color:#ffc89f;border-color:#b07797}.terminal-format{border:1px solid #5c3b68;padding:3px 7px;border-radius:4px;color:#e2b9d7;font-size:9px;text-transform:uppercase}.terminal-view,.pulse-bottom>button{border:0;border-radius:18px;background:#ffa8cf;color:#2c1936;font:800 11px 'Manrope',sans-serif;padding:9px 16px;white-space:nowrap;cursor:pointer}.terminal-view:hover,.pulse-bottom>button:hover{background:#ffc89f}.terminal-empty{min-height:350px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;text-align:center;padding:25px}.terminal-empty>span{font-size:33px;color:#a67ab7}.terminal-empty strong{color:#ecd4e5;font-size:14px}.terminal-empty p{color:#b496c6;max-width:340px;font-size:12px;margin:0}.terminal-empty a{font-size:12px;color:#ffc89f}
.terminal-pulse{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.pulse-column{border:1px solid #51355e;border-radius:6px;background:#1c1429;overflow:hidden;min-width:0}.pulse-column>header{display:flex;align-items:center;justify-content:space-between;background:#261a33;padding:13px 15px;border-bottom:1px solid #4d3158}.pulse-column h2{font-size:14px;color:#f9dfeb;margin:0 0 5px;font-weight:750}.pulse-column header small{font-size:10px;color:#b294c1}.pulse-column header>span{background:#4f2f50;border-radius:20px;font-size:11px;color:#ffbfdb;padding:4px 9px}.pulse-scroll{height:calc(100vh - 386px);min-height:360px;overflow:auto;scrollbar-width:thin;scrollbar-color:#684373 #21172f}.pulse-item{padding:15px 14px;border-bottom:1px solid #3d2948}.pulse-item .terminal-item{gap:12px}.pulse-item .terminal-item img{width:65px;height:65px}.pulse-item .terminal-item strong{font-size:12px}.pulse-meta{display:flex;gap:13px;align-items:center;font-size:10px;margin:12px 0 10px;color:#c1a1ce}.pulse-meta span:first-child{color:#85d9c5;text-transform:capitalize}.pulse-meta b{margin-left:auto;color:#ffc89f}.pulse-bottom{display:flex;gap:6px;align-items:center;justify-content:space-between}.pulse-bottom>div{display:flex;gap:4px;flex-wrap:wrap}.pulse-bottom>button{padding:6px 12px;font-size:10px;flex:none}.pulse-empty{min-height:260px;padding:30px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;text-align:center;color:#a98bbb;font-size:12px}.pulse-empty a{color:#eeb3d0;font-size:11px}
.collection-preview{display:none}html[data-layout=terminal] .results-main:has(.terminal-library){display:grid;grid-template-columns:1.1fr 1fr;column-gap:14px}html[data-layout=terminal] .results-main:has(.terminal-library)>.result-stats{grid-column:1/-1}html[data-layout=terminal] .terminal-library .terminal-memes{min-width:800px}html[data-layout=terminal] .terminal-library .terminal-memes th:nth-child(3),html[data-layout=terminal] .terminal-library .terminal-memes td:nth-child(3),html[data-layout=terminal] .terminal-library .terminal-memes th:nth-child(4),html[data-layout=terminal] .terminal-library .terminal-memes td:nth-child(4){display:none}html[data-layout=terminal] .collection-preview{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:17px;border:1px solid #51355e;background:#1c1429;border-radius:7px;min-height:430px;text-align:center;padding:25px}.collection-preview>span{font-size:34px;color:#9f79b2}.collection-preview strong{font-size:14px;color:#ddbedf}.collection-preview p{font-size:12px;color:#a98bbb;max-width:280px}html[data-layout=terminal] .results.with-panel .results-main:has(.terminal-library){display:block}
html[data-layout=terminal] #terminal-footer{left:0;right:0;background:#20162d;height:34px;border-color:#4b3057;padding:0 22px;gap:24px;z-index:70}html[data-layout=terminal] #terminal-footer a{font-size:10px}html[data-layout=terminal] .page{max-width:1150px;margin:0 auto}html[data-layout=terminal] .img-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
@media(min-width:1700px){html[data-layout=terminal] #app{margin:124px 34px 62px}.terminal-top>nav{gap:33px}.terminal-memes td{height:109px}}
@media(max-width:1250px){.terminal-top>nav{gap:17px}.terminal-search{display:none}html[data-layout=terminal] .terminal-top{gap:24px}.terminal-collection{margin-left:auto}.terminal-memes th:first-child{width:33%}.pulse-item .terminal-item strong{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.pulse-bottom .terminal-tag:nth-child(n+2){display:none}.terminal-pulse{gap:10px}}
@media(max-width:950px){.terminal-collection{display:none}html[data-layout=terminal] .terminal-top{padding-left:16px;gap:20px}.terminal-logo .logo{font-size:17px}.terminal-logo .mx-mark{width:26px;height:26px}.terminal-top>nav{gap:17px;overflow:auto}.terminal-top>nav a{font-size:11px}.terminal-pulse{grid-template-columns:repeat(3,minmax(260px,1fr));overflow:auto}.pulse-scroll{min-height:400px}.terminal-data-head>div{gap:10px}html[data-layout=terminal] .results-main:has(.terminal-library){grid-template-columns:1fr}.collection-preview{display:none!important}html[data-layout=terminal] .results.with-panel{display:block}html[data-layout=terminal] .side-panel{position:fixed;right:15px;left:auto;width:360px;max-width:calc(100vw - 30px);bottom:45px;z-index:80;height:auto}}
@media(max-width:760px){.layout-switch{right:10px;top:10px}.layout-switch button{font-size:10px;padding:5px 9px}html[data-layout=terminal] .terminal-top{height:55px;padding-right:149px;gap:20px;flex-wrap:wrap;overflow:hidden}.terminal-top>nav{position:fixed;top:55px;left:0;right:0;height:38px;padding:0 16px;background:#181125;border-bottom:1px solid #463254;gap:26px}.terminal-top>nav a{font-size:12px;flex:none}html[data-layout=terminal] .terminal-ticker{top:93px;height:30px;padding:0 15px;gap:20px}.ticker-label{display:none}html[data-layout=terminal] #app{margin:144px 12px 60px;min-height:calc(100vh - 195px)}html[data-layout=terminal] .page-heading{padding-bottom:13px}html[data-layout=terminal] .page-heading h1{font-size:20px}html[data-layout=terminal] .workspace-actions{display:none}html[data-layout=terminal] .command-row{float:none;max-width:none;width:auto;margin:0 0 10px}html[data-layout=terminal] .tabs{gap:20px}html[data-layout=terminal] .tab{font-size:12px;padding:0 1px;height:30px}html[data-layout=terminal] .tools-row{padding-top:8px}html[data-layout=terminal] .tools-row .chip{font-size:9px;height:23px}html[data-layout=terminal] .result-stats{font-size:9px;line-height:1.7}.terminal-data-head{padding:0 12px;height:42px}.terminal-data-head strong{font-size:11px;max-width:155px}.terminal-data-head>div{gap:12px}.terminal-data-head span{display:none}.terminal-data-head a{font-size:10px}.terminal-memes{min-width:850px}.terminal-scroll{max-height:65vh;min-height:300px}.terminal-item strong{font-size:12px}.terminal-memes td{height:90px}.terminal-memes td:first-child{padding-left:12px}.terminal-item>img{width:56px;height:56px}.terminal-pulse{grid-template-columns:repeat(3,290px);gap:10px;scroll-snap-type:x mandatory}.pulse-column{scroll-snap-align:start}.pulse-scroll{height:60vh;min-height:330px}html[data-layout=terminal] #terminal-footer{padding:0 12px;gap:18px;height:32px}html[data-layout=terminal] #terminal-footer a:nth-of-type(n+3){display:none}.terminal-top .logo{font-size:20px}.terminal-top .mx-mark{width:30px;height:30px}html[data-layout=terminal] .side-panel{top:134px}}
