.theme-options{display:flex;gap:12px;padding:14px}.theme-options button{flex:1;border:1px solid #ddd;border-radius:18px;padding:14px;font-size:13px;display:flex;gap:12px;align-items:center}.theme-options button[aria-pressed=true]{border-color:currentColor;box-shadow:0 0 0 1px currentColor}.theme-swatch{width:30px;height:30px;border:1px solid #ddd;border-radius:50%;background:#fff}.theme-swatch.dark{background:#151515;border-color:#555}
html[data-theme=dark]{color-scheme:dark;--glass-fill:rgba(25,25,25,.85);--glass-line:#333;--glass-shadow:0 5px 20px #0003,inset 0 1px 0 #ffffff08}
html[data-theme=dark] body{background:#101010;color:#eee}
html[data-theme=dark] :is(.sidebar,main,header:not(.feed-header)){background:#101010;color:#eee}
html[data-theme=dark] :is(.brand,.brand span,.identity b,.profile-info h2,.stats b,.coin-metrics b,.coin-price,.launch-stats b){color:#eee}
html[data-theme=dark] :is(.settings-profile,.setting-surface,.quote,.cover,.avatar,.article-preview,.launch-tile,.coin-card,.theme-options button,.draft-coin,.demo-note,.demo-tag,.tip-presets button,.tip-success,#article-coin-picker,.article-toolbar,.ink-value-control,.profile-photo-preview){background:#1c1c1c;color:#e5e5e5}
html[data-theme=dark] :is(dialog,#post-menu,#create-menu,.feed-tabs,.search,.wallet-button,.profile-edit,.attach-button,.provider){background:var(--glass-fill);border-color:#353535;color:#eee;box-shadow:var(--glass-shadow)}
html[data-theme=dark] dialog::backdrop{background:#0008}
html[data-theme=dark] :is(input:not([type=checkbox]):not([type=range]):not([type=color]),textarea,[contenteditable=true]){background:#181818;color:#eee;border-color:#3a3a3a;caret-color:#fff}
html[data-theme=dark] :is(input,textarea)::placeholder{color:#8e8e8e}
html[data-theme=dark] :is(.article-title-input,.tip-amount input,.search input){background:transparent}
html[data-theme=dark] :is(.primary,.new-post,.feed-tabs .tab-indicator,.coin-follow[aria-pressed=true]){background:#f0f0f0;color:#111}
html[data-theme=dark] .feed-tabs button.selected{color:#111;background:#f0f0f0}
@media(prefers-reduced-motion:no-preference){html[data-theme=dark] .feed-tabs button.selected{background:transparent}}
html[data-theme=dark] :is(.setting-row:hover,#post-menu button:hover,#create-menu button:hover,.coin-card:hover,.article-toolbar button:hover,.article-image-button:hover,#nav button.active){background:#2b2b2b;color:#fff}
html[data-theme=dark] :is(.actions,.muted,.post time,.profile-meta,.stats,.coin-contract,.tip-balance,.launch-description,.article-preview-copy>span,.article-prose,dialog p,.setting-copy small){color:#aaa}
html[data-theme=dark] :is(.actions .liked,.actions .heart-particle){color:#eee}
html[data-theme=dark] .actions .liked>svg{fill:#eee}
html[data-theme=dark] :is(.setting-status,.setting-switch){background:#3b3b3b;color:#ddd}
html[data-theme=dark] .setting-switch:checked{background:#eee}
html[data-theme=dark] .setting-switch:checked:before{background:#171717}
html[data-theme=dark] .article-prose{color:#ddd}
html[data-theme=dark] :is(.notice,.section-label,.quoted-post,.account){border-color:#303030}
html[data-theme=dark] .profile-info>.avatar{border-color:#101010}
html[data-theme=dark] #toast{background:#eee;color:#111}
html[data-theme=dark] :is(button,input,textarea,a):focus-visible{outline-color:#aaa}
html[data-theme=dark] .danger-button{background:#b53a3a;color:#fff}
html[data-theme=dark] .sidebar{box-shadow:none}
/* Artwork, uploaded media and the white drawing canvas keep their original colors. */
html[data-theme=dark] .drawing-board{background:#fff}
html[data-theme=dark] :is(.coin-avatar,.launch-token-art){color:#171717}
html[data-theme=dark] :is(.draft-note,.history,aside,nav a,.contact){background:#202020;color:#bbb}
html[data-theme=dark] nav a[aria-current]{background:#eee;color:#111}
html[data-theme=dark] article p{color:#bbb}
html[data-theme=dark] dialog{background:#191919;color:#eee;box-shadow:0 24px 80px #0009}
html[data-theme=dark] .brand{background:#101010;box-shadow:none;text-shadow:none}

html[data-theme=dark] :is(.launch-sort,.launch-select select){background:#252525;color:#ddd}html[data-theme=dark] .launch-sort button[aria-pressed=true]{background:#eee;color:#111}html[data-theme=dark] .launch-periods button[aria-pressed=true]{background:#333;color:#eee}

/* Launch filters share the search field's translucent glass surface. */
.launch-sort,.launch-platform-button,.launch-periods button{background:var(--glass-fill);border:1px solid var(--glass-line);box-shadow:var(--glass-shadow),0 0 0 1px #1c222c0d;backdrop-filter:blur(18px) saturate(115%);-webkit-backdrop-filter:blur(18px) saturate(115%)}
.launch-sort{padding:3px}.launch-sort button{height:34px;padding:0 17px}.launch-platform-button{display:flex;align-items:center;gap:8px;border-radius:999px;height:42px;padding:0 14px;font-size:11px;white-space:nowrap;color:inherit}.platform-chevron{font-size:15px;color:#999;margin-left:2px}.platform-logo{width:18px;height:18px;object-fit:contain;flex-shrink:0}.launch-platform-name{display:inline-flex;align-items:center;gap:6px}.launch-tile-top .platform-logo{width:14px;height:14px}.launch-periods button{padding:8px 15px}.launch-periods button[aria-pressed=true]{background:#171717;color:#fff;border-color:#171717}
html[data-theme=dark] .launch-sort,html[data-theme=dark] .launch-platform-button,html[data-theme=dark] .launch-periods button{background:var(--glass-fill);color:#bbb;border-color:var(--glass-line)}html[data-theme=dark] .launch-periods button[aria-pressed=true]{background:#eee;color:#111}
@media(max-width:450px){.launch-sort button{padding:0 13px}.launch-platform-button{padding:0 11px;font-size:10px;gap:5px}}
@supports not (backdrop-filter:blur(1px)){.launch-sort,.launch-platform-button,.launch-periods button{background:#f7f7f7}html[data-theme=dark] .launch-sort,html[data-theme=dark] .launch-platform-button,html[data-theme=dark] .launch-periods button{background:#222}}
@media(prefers-reduced-transparency:reduce){.launch-sort,.launch-platform-button,.launch-periods button{backdrop-filter:none;-webkit-backdrop-filter:none;background:#f7f7f7}html[data-theme=dark] .launch-sort,html[data-theme=dark] .launch-platform-button,html[data-theme=dark] .launch-periods button{background:#222}}

#post-menu.platform-menu{width:155px;padding:4px;border-radius:15px}#post-menu.platform-menu button{min-height:34px;padding:8px 10px;font-size:11px;gap:8px}#post-menu.platform-menu :is(svg,img){width:15px;height:15px}
.launch-sort,.launch-periods{position:relative;isolation:isolate;width:max-content}.launch-sort button,.launch-periods button{position:relative;z-index:1;transition:color 220ms ease}.launch-slider{position:absolute;background:#171717;border-radius:999px;pointer-events:none;z-index:0}.launch-periods button{box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;background:transparent;border-color:transparent}.launch-periods{padding:3px;gap:3px;background:var(--glass-fill);border:1px solid var(--glass-line);border-radius:999px;box-shadow:var(--glass-shadow);backdrop-filter:blur(18px)}
.launch-sort:has(.launch-slider) button[aria-pressed=true],.launch-periods:has(.launch-slider) button[aria-pressed=true]{background:transparent;border-color:transparent;color:#fff}html[data-theme=dark] .launch-slider{background:#eee}html[data-theme=dark] .launch-sort:has(.launch-slider) button[aria-pressed=true],html[data-theme=dark] .launch-periods:has(.launch-slider) button[aria-pressed=true]{background:transparent;color:#111}html[data-theme=dark] .launch-periods button{background:transparent;border-color:transparent}
@media(min-width:701px){body.launches-layout .shell{width:1180px;max-width:calc(100% - 48px);grid-template-columns:70px minmax(0,1fr);gap:36px}body.launches-layout .launch-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1100px){body.launches-layout .launch-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
.launch-tile{min-width:0;padding:16px;border-radius:20px}.launch-tile-top{font-size:9px;margin-bottom:14px}.launch-token{gap:10px}.launch-token-art{width:48px;height:48px;border-radius:11px}.launch-token-copy b{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.launch-token-copy small{font-size:10px}.launch-creator{font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.launch-description{font-size:12px;line-height:1.5;min-height:36px;margin:12px 0}.launch-stats{gap:7px;margin:16px 0}.launch-stats span{font-size:9px}.launch-stats b{font-size:13px}.launch-tile-bottom .wallet-button{font-size:10px;padding:8px 10px}.launch-community-link{font-size:10px}.launch-list>.empty{grid-column:1/-1}
@media(prefers-reduced-motion:reduce){.launch-sort button,.launch-periods button{transition:none}}
