html[data-theme="dark"]{--bg:#0f141b;--surface:#171d26;--surface-2:#1e2530;--text:#dce3ec;--muted:#94a1b2;--border:#2a3340;--border-strong:#3a4456;--primary:#4f9cf0;--primary-600:#74b3f5;--primary-soft:rgba(79,156,240,.16);--accent:#22c0d3;--success:#3fae5a;--success-600:#4ec06a;--danger:#ff6b72;--warning-bg:#2a2516;--warning-border:#4a4327;--warning-text:#e0c48a;--ring:rgba(79,156,240,.32);--shadow-sm:0 1px 2px rgba(0,0,0,.4);--shadow:0 10px 30px -8px rgba(0,0,0,.6),0 3px 10px -3px rgba(0,0,0,.5);}html[data-theme="dark"]::selection{background:#27415e}html[data-theme="dark"] body{color-scheme:dark}html[data-theme="dark"] .blog-post table tr,html[data-theme="dark"] .blog-post table td,html[data-theme="dark"] .blog-post table th{border-color:var(--border)!important}html.theme-anim body,html.theme-anim .blog-post,html.theme-anim .sidebar-module-inset,html.theme-anim .form-control,html.theme-anim .navlink,html.theme-anim .sqr-btn,html.theme-anim .theme-toggle,html.theme-anim .lang-switch>summary{transition:background-color .2s ease,color .2s ease,border-color .2s ease}.theme-toggle{margin:0;vertical-align:middle;display:inline-flex;align-items:center;justify-content:center;width:38px;height:34px;padding:0;border:1px solid var(--border-strong);border-radius:9px;background:var(--surface);color:var(--muted);cursor:pointer;transition:background .15s,color .15s,border-color .15s;}.theme-toggle:hover{background:var(--surface-2);color:var(--text)}.theme-toggle .ti{display:none;font-size:1.05rem;line-height:1}.theme-toggle .ti-auto{display:inline}html[data-theme-mode="light"] .theme-toggle .ti-auto{display:none}html[data-theme-mode="light"] .theme-toggle .ti-light{display:inline}html[data-theme-mode="dark"] .theme-toggle .ti-auto{display:none}html[data-theme-mode="dark"] .theme-toggle .ti-dark{display:inline}html[data-theme="dark"] .lang-switch>summary{background:var(--surface);border-color:var(--border-strong);color:var(--text)}html[data-theme="dark"] .lang-switch ul{background:var(--surface);border-color:var(--border-strong);box-shadow:0 6px 20px rgba(0,0,0,.5)}html[data-theme="dark"] .lang-switch li a{color:var(--text)}html[data-theme="dark"] .lang-switch li a:hover,html[data-theme="dark"] .lang-switch li.current a{background:var(--surface-2)}html[data-theme="dark"] .sqr-btn{background:var(--surface);border-color:var(--border-strong);color:var(--text)}html[data-theme="dark"] .sqr-btn:hover{background:var(--surface-2);color:#fff}html[data-theme="dark"] .gqr-modal__box{background:var(--surface);color:var(--text);box-shadow:0 20px 50px rgba(0,0,0,.6)}html[data-theme="dark"] .gqr-modal__close{color:var(--muted)}html[data-theme="dark"] .gqr-modal__close:hover{background:var(--surface-2);color:#fff}html[data-theme="dark"] .gqr-modal__url{background:#0f141b;border-color:var(--border);color:var(--muted)}html[data-theme="dark"] .gqr-modal__action{background:var(--surface-2);color:var(--text)}html[data-theme="dark"] .gqr-modal__action:hover{background:var(--border-strong);color:#fff}@media (max-width:575px){.lang-switch>summary,.sqr-btn,.theme-toggle{min-height:34px}}