html[data-theme=light]{color-scheme:light}html[data-theme=dark]{color-scheme:dark}
.wlph-theme-controls{display:flex;justify-content:center;margin:8px 0 18px}.wlph-theme-toggle{font:14px/1.5 Arial,Helvetica,sans-serif;cursor:pointer;color:#242020;background:#fff6bd;border:2px solid #242020;border-radius:8px 12px 8px 10px;padding:7px 13px;box-shadow:2px 2px 0 #242020}.wlph-theme-toggle[hidden]{display:none}.wlph-theme-toggle:hover{background:#ffe2ee}.wlph-theme-toggle:focus-visible{outline:3px solid #a52c63;outline-offset:4px}
html[data-theme=dark] body{background:#181a20;color:#f0e8ed;--ink:#f0e8ed;--pink:#29232d;--yellow:#3b3423}
html[data-theme=dark] a:link,html[data-theme=dark] a:visited{color:#f6b8d7}html[data-theme=dark] a:hover{color:#ffdaeb}
html[data-theme=dark] .wlph-brand{background:#fff;border-radius:10px;padding:8px;box-sizing:border-box}
html[data-theme=dark] .wlph-site-nav img:not(.wlph-discord-logo),html[data-theme=dark] .wlph-bads img{filter:invert(1) hue-rotate(180deg)}
html[data-theme=dark] .wlph-site-nav .wlph-discord-logo{background:#fff;border-radius:5px;padding:5px}
html[data-theme=dark] .wlph-button{color:#f0e8ed!important}html[data-theme=dark] .wlph-button:hover{background:#523249}
html[data-theme=dark] .wlph-theme-toggle{color:#f0e8ed;background:#3b3423;border-color:#b8a8b1;box-shadow:2px 2px 0 #b8a8b1}html[data-theme=dark] .wlph-theme-toggle:hover{background:#523249}
/* MyBB shares the switch and preference with the homepage. */
html[data-theme=dark] #container,html[data-theme=dark] #logo,html[data-theme=dark] #content{background:#181a20;color:#f0e8ed}
html[data-theme=dark] .wlph-forum-title,html[data-theme=dark] .navigation .active{color:#f0e8ed}
html[data-theme=dark] #logo ul.top_links a{color:#f0e8ed;background:#3b3423;border-color:#b8a8b1;box-shadow:2px 2px 0 #b8a8b1}
html[data-theme=dark] #panel .upper,html[data-theme=dark] #panel .lower,html[data-theme=dark] #footer .upper,html[data-theme=dark] #footer .lower{background:#29232d;color:#f0e8ed;border-color:#73636d}
html[data-theme=dark] #panel .upper a:link,html[data-theme=dark] #panel .upper a:visited,html[data-theme=dark] #panel .lower a:link,html[data-theme=dark] #panel .lower a:visited{color:#f6b8d7}
html[data-theme=dark] .tborder,html[data-theme=dark] .post{background:#202229;border-color:#73636d}
html[data-theme=dark] .thead,html[data-theme=dark] .tfoot{background:#3b3423;color:#f0e8ed;border-color:#73636d}html[data-theme=dark] .thead a:link,html[data-theme=dark] .thead a:visited{color:#f0e8ed}
html[data-theme=dark] .tcat,html[data-theme=dark] .post .post_author,html[data-theme=dark] .post .post_controls{background:#302632;color:#f0e8ed;border-color:#73636d}
html[data-theme=dark] .trow1{background:#202229}html[data-theme=dark] .trow2{background:#27242d}html[data-theme=dark] .trow_shaded{background:#473043}
html[data-theme=dark] .post .post_head{background:#3b3423;border-color:#73636d}html[data-theme=dark] .post_body blockquote,html[data-theme=dark] blockquote,html[data-theme=dark] .codeblock{background:#29232d;color:#f0e8ed;border-color:#9e6a85}
html[data-theme=dark] input.textbox,html[data-theme=dark] textarea,html[data-theme=dark] select{background:#202229;color:#f0e8ed;border-color:#9e8b96}
html[data-theme=dark] input.button,html[data-theme=dark] a.button:link,html[data-theme=dark] a.button:visited,html[data-theme=dark] #search input.button{background:#3b3423;color:#f0e8ed;border-color:#b8a8b1;box-shadow:2px 2px 0 #b8a8b1}
html[data-theme=dark] .pagination a{background:#27242d;color:#f6b8d7;border-color:#9e8b96}html[data-theme=dark] .pagination .pagination_current{background:#3b3423;color:#f0e8ed;border-color:#b8a8b1}
html[data-theme=dark] .modal{background:#202229;color:#f0e8ed}html[data-theme=dark] .popup_menu,html[data-theme=dark] .popup_menu .popup_item{background:#29232d;color:#f0e8ed}
/* Bizzaro keeps its image effect while allowing either readable color theme. */
html[data-theme=light] body.wlph-mode-bizzaro{background:#fff5fc;color:#242020;--ink:#242020;--pink:#f6e4fb;--yellow:#e9d8f2}html[data-theme=light] .wlph-mode-bizzaro .wlph-button{color:#242020!important}html[data-theme=light] .wlph-mode-bizzaro .wlph-button:hover{background:#d9bde8}html[data-theme=light] .wlph-mode-bizzaro a:link,html[data-theme=light] .wlph-mode-bizzaro a:visited{color:#61334f}
html[data-theme=light] .wlph-mode-bizzaro .wlph-brand{background:#17101f;border-radius:10px;padding:8px}html[data-theme=light] .wlph-mode-bizzaro .wlph-site-nav img:not(.wlph-discord-logo),html[data-theme=light] .wlph-mode-bizzaro .wlph-bads img{filter:none}
html[data-theme=dark] .wlph-mode-bizzaro .wlph-brand img{filter:none}
html[data-theme=dark] .tborder td,html[data-theme=dark] .post,html[data-theme=dark] .post .post_content{color:#f0e8ed;border-color:#4c4249}
html[data-theme=dark] .tcat a:link,html[data-theme=dark] .tcat a:visited,html[data-theme=dark] .tfoot a:link,html[data-theme=dark] .tfoot a:visited,html[data-theme=dark] #footer a:link,html[data-theme=dark] #footer a:visited{color:#f6b8d7}
.wlph-site-nav a.wlph-history-link{font:24px/1.4 Earthworm,Arial,sans-serif;color:#242020;text-decoration:none}html[data-theme=dark] .wlph-site-nav a.wlph-history-link{color:#f0e8ed}@media(max-width:700px){.wlph-site-nav a.wlph-history-link{font-size:21px}}
