/* Reference palette: crisp white, deep navy, electric blue and vivid pink. */
:root{--clicka-ink:#0c174d;--clicka-blue:#0069e8;--clicka-pink:#d90068;--clicka-cyan:#0cbcd0;--clicka-border:#dce7f1;--clicka-page:#f4faff}
html:not([data-theme=dark]) body,html:not([data-theme=dark]) body.community-mode{background:radial-gradient(ellipse at 100% 0%,#c6efff80,transparent 38%),radial-gradient(ellipse at 0% 55%,#ffe2ef60,transparent 42%),var(--clicka-page);color:var(--clicka-ink)}
html:not([data-theme=dark]) header,html:not([data-theme=dark]) .community-mode header{background:#ffffffed;color:var(--clicka-ink);border-bottom:1px solid var(--clicka-border);border-image:none;box-shadow:0 3px 18px #1534640a;backdrop-filter:blur(12px)}
html:not([data-theme=dark]) header nav button,html:not([data-theme=dark]) #account span{color:var(--clicka-ink)}
html:not([data-theme=dark]) :is(#account button,#theme-toggle,#notification-bell){background:#f5faff;color:var(--clicka-ink);border-color:var(--clicka-border)}
html:not([data-theme=dark]) .brand-tagline{color:var(--clicka-ink)}
html:not([data-theme=dark]) :is(h1,h2,h3,.identity button,.side-profile,.side-nav button,.classic-profile-info h2){color:var(--clicka-ink)}
html:not([data-theme=dark]) :is(.panel,.social-feed>.panel,.social-feed .recent-entry>.panel){background:#fff;border-color:var(--clicka-border);box-shadow:0 3px 16px #15346409}
html:not([data-theme=dark]) a{color:#005abc}
html:not([data-theme=dark]) button{color:#17416a;border-color:#d6e3ef}
html:not([data-theme=dark]) :is(.primary,button.primary,.reference-auth form>button.primary){background:linear-gradient(110deg,#e00074,#cf005e);border-color:var(--clicka-pink);color:#fff;box-shadow:0 4px 12px #d9006823;border-radius:22px}
html:not([data-theme=dark]) button.primary:hover:not(:disabled){background:#bc005c;border-color:#bc005c;color:white;box-shadow:0 5px 15px #d9006830}
html:not([data-theme=dark]) :is(.purple,.selected,button.selected,.actions button.selected){background:#fff0f6;border-color:#ef7ead;color:#9d004d}
html:not([data-theme=dark]) :is(nav button.active,.side-nav button.active){background:linear-gradient(100deg,#eaf6ff,#d9f0ff);border-color:#0069e8;border-inline-start-color:#0069e8;color:#0053b4;box-shadow:inset 0 -2px #0069e8}
html:not([data-theme=dark]) .side-icon{background:#e5f5ff;color:#0069e8}
html:not([data-theme=dark]) .side-nav button:nth-child(3n) .side-icon{background:#ffe7f2;color:#d90068}
html:not([data-theme=dark]) .side-nav button:nth-child(2n) .side-icon{background:#def8fa;color:#087c91}
html:not([data-theme=dark]) :is(.community-highlights,.panel.tint){background:linear-gradient(110deg,#fff 48%,#e3f5ff 80%,#ffe8f2);border-color:#bfe3f5!important}
html:not([data-theme=dark]) .community-highlights:before{background:linear-gradient(90deg,#d90068,#0069e8,#0cbcd0)}
html:not([data-theme=dark]) .community-shortcuts button{background:#eaf6ff;border-color:#c5e4fa;color:#0053b4;border-radius:20px}
html:not([data-theme=dark]) .community-shortcuts button:nth-child(3n+2){background:#fff0f6;border-color:#f8c8dc;color:#a60050}
html:not([data-theme=dark]) .community-shortcuts button:nth-child(3n){background:#e1f9f9;border-color:#bdeced;color:#075f71}
html:not([data-theme=dark]) :is(.community-shortcuts button.selected,.recent-filters button.selected){background:var(--clicka-blue);border-color:var(--clicka-blue);color:#fff}
html:not([data-theme=dark]) :is(.recent-meta .tag,.tag){background:#e8f5ff;color:#0059af;border-color:#c5e4fa}
html:not([data-theme=dark]) .recent-entry:nth-child(3n) .recent-meta .tag{background:#ffe8f2;color:#a60050;border-color:#f5c5da}
html:not([data-theme=dark]) .recent-heading{border-inline-start-color:var(--clicka-blue)}
html:not([data-theme=dark]) :is(input,textarea,select,.composer-line textarea){background:#f6faff;border-color:#d4e4f1;color:#12284d}
html:not([data-theme=dark]) :is(input,textarea,select):focus{border-color:var(--clicka-blue);box-shadow:0 0 0 3px #0069e814;background:#fff}
html:not([data-theme=dark]) label{color:#233c66}
html:not([data-theme=dark]) .comment{background:#f3f9ff;border-color:#dcebf6;border-inline-start-color:#66baff}
html:not([data-theme=dark]) .bubble{background:#eaf5ff;color:#172f55}
html:not([data-theme=dark]) .bubble.mine{background:#ffe8f2;color:#6d1641}
html:not([data-theme=dark]) .vote{background:linear-gradient(to left,#cbe9ff var(--percent),#f7fbff var(--percent));border-color:#d3e6f4;color:#142e55}
html:not([data-theme=dark]) .vote.selected{background:linear-gradient(to left,#ffdeed var(--percent),#fff4f9 var(--percent));border-color:#d90068;color:#7e003e}
html:not([data-theme=dark]) :is(.notification-count,.message-badge,.story-create-plus){background:#d90068;color:#fff}
html:not([data-theme=dark]) .story-profile-ring{border-color:#0069e8}
html:not([data-theme=dark]) .story-demo-badge{background:#005cc4;color:#fff}
html:not([data-theme=dark]) #chat .head{background:linear-gradient(100deg,#0c174d,#0069e8);color:#fff}
html:not([data-theme=dark]) :is(.poll-share summary,#language-select){background:#f2f9ff;border-color:#c6e4f8;color:#0053b4}
html:not([data-theme=dark]) .social-contacts h3{color:#0c174d}
html:not([data-theme=dark]) #a11y-launcher{background:#005abc;color:#fff;border-color:#a9d7ff}
html:not([data-theme=dark]) .reference-auth{border-top-color:#d90068}
html:not([data-theme=dark]) .reference-auth input{background:#ffffffeb!important;color:#102550!important;border-color:#cee2f2!important}
html:not([data-theme=dark]) .reference-auth input::placeholder{color:#4d6278}
html:not([data-theme=dark]) .reference-auth .tabs button{color:#005abc;background:#f1f8ff}
html:not([data-theme=dark]) .reference-auth .password-visibility{color:#a60050}
html[data-theme=dark] body{background:radial-gradient(ellipse at 100% 0%,#0069e814,transparent 45%),#0c1426;color:#e8f2ff}
html[data-theme=dark] .community-mode header,html[data-theme=dark] header{background:#111c34;border-image:none;border-bottom:1px solid #2c4064}
html[data-theme=dark] :is(.primary,button.primary){background:#d90068;border-color:#ed418e;color:#fff}
html[data-theme=dark] button.primary:hover:not(:disabled){background:#b90058;color:#fff}
html[data-theme=dark] .side-nav button.active{background:#173452;border-color:#58baff;color:#b8deff}
html[data-theme=dark] .side-nav button:nth-child(3n) .side-icon{background:#47213d;color:#ff93c2}
html[data-theme=dark] .side-nav button:nth-child(2n) .side-icon{background:#133c48;color:#56dfe8}
html[data-theme=dark] .community-highlights{background:linear-gradient(115deg,#1b2941,#123c54);border-color:#365570!important}
html[data-theme=dark] .community-highlights:before{background:linear-gradient(90deg,#f04b98,#258cff,#2ed0dd)}
html[data-theme=dark] .community-shortcuts button:nth-child(3n+2){background:#42243d;color:#ffd0e5;border-color:#68445d}
html[data-theme=dark] .community-shortcuts button.selected{background:#0069e8;color:#fff}
html[data-theme=dark] .recent-entry:nth-child(3n) .recent-meta .tag{background:#42243d;color:#ffd0e5;border-color:#68445d}
html[data-theme=dark] .brand-tagline{color:#c5eaf2}
html[data-theme=dark] .bubble.mine{background:#41263d;color:#ffdeed}
@media(max-width:900px){html:not([data-theme=dark]) .community-mode header{background:#fffffff7}}
