html{color-scheme:light}html[data-theme="dark"]{color-scheme:dark;background:#0e1621}html[data-theme="dark"] body{color:#dce8f1;background:#0e1621}html[data-theme="dark"] body:before{background:radial-gradient(circle at 12% 20%,rgba(34,158,217,.08),transparent 24%),radial-gradient(circle at 88% 75%,rgba(91,111,230,.07),transparent 22%)}
html[data-theme="dark"] header{background:rgba(23,33,43,.98);border-color:#2c3c49}html[data-theme="dark"] .theme-switch{width:42px;padding:8px 0;border-color:#425566;color:#ffd166;font-size:19px;line-height:1}html[data-theme="dark"] .theme-switch:hover{background:#293c4c}html[data-theme="light"] .theme-switch{width:42px;padding:8px 0;color:#d9e9f5;font-size:20px;line-height:1}
html[data-theme="dark"] .hero{border-color:#263a4a}html[data-theme="dark"] .forum-feed-card,html[data-theme="dark"] .forum-card,html[data-theme="dark"] .community-bar,html[data-theme="dark"] .side-card,html[data-theme="dark"] .topic-list,html[data-theme="dark"] .post,html[data-theme="dark"] .reply-box,html[data-theme="dark"] .auth-card,html[data-theme="dark"] .admin-card,html[data-theme="dark"] .profile-card,html[data-theme="dark"] .login-prompt,html[data-theme="dark"] .empty{background:#17212b!important;border-color:#2a3b49!important;box-shadow:0 10px 28px rgba(0,0,0,.15)}
html[data-theme="dark"] .feed-topic-list{background:#17212b}html[data-theme="dark"] .feed-topic{color:#d8e5ee;border-color:#293945}html[data-theme="dark"] .feed-topic:hover{background:#213341}html[data-theme="dark"] .feed-topic.pinned{background:#203747;border-color:#31536a}html[data-theme="dark"] .feed-topic>span:nth-child(2) b,html[data-theme="dark"] .forum-main h3,html[data-theme="dark"] .forum-main h3 a,html[data-theme="dark"] .topic-row strong,html[data-theme="dark"] .side-card h3{color:#e7f0f6}html[data-theme="dark"] .feed-topic small,html[data-theme="dark"] .feed-topic time,html[data-theme="dark"] .forum-main p,html[data-theme="dark"] .latest-link span{color:#8fa3b2}html[data-theme="dark"] .forum-stat-strip{background:linear-gradient(135deg,#101820,#1a2c3a);border-color:#2d4557}
html[data-theme="dark"] .forum-card:hover{border-color:#39799a!important;background:#1a2935!important}html[data-theme="dark"] .forum-icon{background:linear-gradient(145deg,#1d3d50,#22364b);color:#59c4f1;box-shadow:inset 0 0 0 1px #2d5268}html[data-theme="dark"] .subforums a{color:#a9bfce;background:#202e39;border-color:#30414e}html[data-theme="dark"] .subforums a:hover{color:#64c9f3;background:#243b4a;border-color:#3b718d}html[data-theme="dark"] .stats{border-color:#30404c}html[data-theme="dark"] .stats b{color:#d8e5ee}html[data-theme="dark"] .stats span{color:#8397a6}
html[data-theme="dark"] .online-compact-head b,html[data-theme="dark"] .online-now strong,html[data-theme="dark"] .online-periods b{color:#e0ebf2}html[data-theme="dark"] .online-compact-head small,html[data-theme="dark"] .online-now span,html[data-theme="dark"] .online-periods small,html[data-theme="dark"] .online-members-line{color:#8da1b0}html[data-theme="dark"] .online-compact-head>span{background:#173c36}html[data-theme="dark"] .online-periods>div{background:#111b24;border-color:#2b3a46}html[data-theme="dark"] .online-members-line{border-color:#2c3b47}html[data-theme="dark"] .online-members-line b{color:#d4e1ea}
html[data-theme="dark"] .home-sidebar-v7 .live-chat{border-color:#2c4b5e;box-shadow:0 12px 30px rgba(0,0,0,.2)}html[data-theme="dark"] .home-sidebar-v7 .chat-heading{background:linear-gradient(135deg,#187eae,#176d9c)}html[data-theme="dark"] .home-sidebar-v7 .chat-messages{background-color:#0f1d27;background-image:radial-gradient(circle at 18px 18px,rgba(92,151,180,.11) 1.4px,transparent 1.6px),radial-gradient(circle at 55px 55px,rgba(255,255,255,.035) 1.3px,transparent 1.5px)}html[data-theme="dark"] .chat-bubble{background:#182936;border-color:#2a4050;color:#dbe7ef;box-shadow:0 1px 2px rgba(0,0,0,.28)}html[data-theme="dark"] .chat-message.mine .chat-bubble{background:#214b3d;border-color:#2e6653}html[data-theme="dark"] .chat-message-body{color:#dce6ed}html[data-theme="dark"] .chat-message-head time{color:#8fa2ae}html[data-theme="dark"] .guest-label{background:#253744;color:#a8bac7}html[data-theme="dark"] .chat-form,html[data-theme="dark"] .chat-note{background:#17212b;border-color:#293b48}html[data-theme="dark"] .chat-form textarea,html[data-theme="dark"] .chat-form input{color:#dce8f1;background:#0f1922;border-color:#304653}html[data-theme="dark"] .chat-form textarea::placeholder,html[data-theme="dark"] .chat-form input::placeholder{color:#758996}
html[data-theme="dark"] .side-card h3,html[data-theme="dark"] .latest-link{border-color:#2b3b47}html[data-theme="dark"] .latest-link b{color:#dbe7ef}html[data-theme="dark"] .latest-link:hover b{color:#58c5f3}html[data-theme="dark"] .page-shell h1,html[data-theme="dark"] .page-shell h2,html[data-theme="dark"] .admin h1,html[data-theme="dark"] .admin h2,html[data-theme="dark"] .auth-card h1,html[data-theme="dark"] .profile-card h1{color:#e7f0f6}html[data-theme="dark"] .breadcrumbs{color:#8499a8}html[data-theme="dark"] .breadcrumbs a{color:#56c2ee}
html[data-theme="dark"] .topic-row{background:#17212b;border-color:#293946}html[data-theme="dark"] .topic-row:hover{background:#20313e}html[data-theme="dark"] .topic-row span,html[data-theme="dark"] .topic-row>b{color:#8fa2b0}html[data-theme="dark"] .topic-head{background:linear-gradient(135deg,#187dac,#155f8c)}html[data-theme="dark"] .topic-move{color:#cad8e1;background:#172a37;border-color:#315063}html[data-theme="dark"] .topic-move select{color:#dce8ef;background:#101b24;border-color:#365064}html[data-theme="dark"] .post-user{background:linear-gradient(180deg,#1c2b36,#182630);border-color:#2b3b47}html[data-theme="dark"] .post-user b{color:#e2ebf1}html[data-theme="dark"] .post-user span{color:#90a3b1}html[data-theme="dark"] .post-body{color:#d6e1e8;background:#17212b}html[data-theme="dark"] .post-meta{color:#8297a6}html[data-theme="dark"] .reply-reference,html[data-theme="dark"] .reply-target{color:#bcd7e6;background:#1d3443;border-left-color:#38ace0}html[data-theme="dark"] .reply-reference span{color:#8fa7b5}html[data-theme="dark"] .post-actions,html[data-theme="dark"] .moderation-inline{border-color:#2d3d49}html[data-theme="dark"] .post-actions a,html[data-theme="dark"] .post-actions button,html[data-theme="dark"] .moderation-inline button{color:#8fd2ef;background:#1d3442;border-color:#315064}html[data-theme="dark"] .moderation-inline button:last-child{color:#ff9c9c;background:#42262a}html[data-theme="dark"] .reply-box textarea{color:#dbe6ed;background:#101a23;border-color:#304451}
html[data-theme="dark"] .auth-page{background:linear-gradient(180deg,#101923,#0e1621)}html[data-theme="dark"] .auth-card input,html[data-theme="dark"] .auth-card select,html[data-theme="dark"] .auth-card textarea,html[data-theme="dark"] .admin-form input,html[data-theme="dark"] .admin-form select{color:#dce7ee;background:#101a23;border-color:#30424f}html[data-theme="dark"] .auth-card input:focus,html[data-theme="dark"] .auth-card select:focus,html[data-theme="dark"] .auth-card textarea:focus,html[data-theme="dark"] .admin-form input:focus,html[data-theme="dark"] .admin-form select:focus{background:#111e28}html[data-theme="dark"] .auth-card input::placeholder,html[data-theme="dark"] .auth-card textarea::placeholder,html[data-theme="dark"] .admin-form input::placeholder{color:#718593}html[data-theme="dark"] .profile-card p{color:#94a7b5}html[data-theme="dark"] .admin-tabs{background:#17212b;border-color:#2b3c49}html[data-theme="dark"] .admin-tabs a,html[data-theme="dark"] .admin-row button{color:#a8d8ed;background:#203745}html[data-theme="dark"] .admin-tabs a:hover,html[data-theme="dark"] .admin-row button:hover{color:#dff5ff;background:#285069}html[data-theme="dark"] .admin-row{border-color:#2c3b47}html[data-theme="dark"] .admin-row span{color:#91a4b2}html[data-theme="dark"] .success{color:#8fe0c5;background:#173b32}html[data-theme="dark"] .alert{color:#ffabab;background:#41252a}html[data-theme="dark"] .login-prompt,html[data-theme="dark"] .empty{color:#91a5b3}html[data-theme="dark"] footer{background:#101820;border-color:#273946}
@media(max-width:920px){html[data-theme="dark"] .nav.open{background:#17212b}html[data-theme="dark"] .nav.open nav a,html[data-theme="dark"] .nav.open .actions>a,html[data-theme="dark"] .nav.open .actions form,html[data-theme="dark"] .nav.open .theme-switch{background:#203340}}
