/* Polarity Dark 1.0 — MyBB 1.8.41. Load after the inherited MyBB stylesheets. */
:root{color-scheme:dark;--pd-bg:#10111b;--pd-panel:#1b1d2d;--pd-panel-2:#202337;--pd-border:#34364b;--pd-text:#e7e8f4;--pd-muted:#aaaec5;--pd-accent:#b5a2ff;--pd-link:#c7b6ff}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{background:var(--pd-bg);color:var(--pd-text);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:14px;line-height:1.65;text-align:left}
body *{box-sizing:border-box}
a:link,a:visited{color:var(--pd-link);text-decoration:none}
a:hover,a:active{color:#e2d8ff;text-decoration:underline}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--pd-accent);outline-offset:4px}
::selection{background:#57448e;color:#fff}
#container{min-width:0;color:var(--pd-text);font:inherit;background:transparent}
.wrapper{width:calc(100% - 48px);min-width:0;max-width:1180px;margin:0 auto}
#logo{background:var(--pd-bg);border:0;padding:30px 0 0}
#logo .wrapper{display:flex;align-items:center;justify-content:space-between;gap:28px;flex-wrap:wrap}
.polarity-brand{display:inline-flex;gap:13px;align-items:center;flex-shrink:0;text-decoration:none!important;color:var(--pd-text)!important}
.polarity-brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:var(--pd-accent);color:#1b1430;font-size:27px;font-weight:850;line-height:1;box-shadow:0 7px 28px #b5a2ff18}
.polarity-brand strong{display:block;font-size:17px;letter-spacing:.13em;font-weight:800;line-height:1.3}
.polarity-brand strong span{color:var(--pd-link)}
.polarity-brand small{display:block;font-size:10px;letter-spacing:.22em;color:var(--pd-muted);line-height:1.5;margin-top:4px}
#header ul.menu{margin:0;padding:0;list-style:none}
#header ul.menu.top_links{float:none;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px;font-size:13px;font-weight:600}
#header ul.menu li{margin:0;display:inline-block}
#header ul.menu.top_links li a{display:block;padding:9px 12px;border-radius:9px;background-image:none;color:var(--pd-muted)}
#header ul.menu.top_links li a:hover,#header ul.menu.top_links .polarity-forum-link{background:#26233c;color:#dfd5ff;text-decoration:none}
#header ul.menu li a{background-image:none}
#panel{margin-top:25px}
#panel .upper{border-top:1px solid #25283b;border-bottom:1px solid #25283b;background:#151723;color:var(--pd-muted);padding:14px 0;font-size:13px}
#panel .upper .wrapper{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
#panel .upper a{color:var(--pd-link)}
#panel .upper a.login,#panel .upper a.register,#panel .upper a.logout{margin-left:8px;background-image:none;padding-left:0}
#panel .lower{border:0;border-bottom:1px solid #25283b;background:#12141f;color:var(--pd-muted);padding:10px 0;font-size:12px}
#panel .lower .wrapper{display:flex;gap:12px 24px;align-items:center;justify-content:space-between;flex-wrap:wrap}
#panel .lower ul{float:none;display:flex;gap:15px;flex-wrap:wrap}
#panel .lower ul li a{background-image:none;padding-left:0;color:var(--pd-muted)}
#panel .lower ul li a:hover{color:var(--pd-link)}
#panel .lower .clear{display:none}
#search{float:none;margin:0;padding:0;display:flex;gap:8px;border:0;align-items:center}
#search input.textbox{width:190px;font-size:12px;padding:7px 10px}
#search input.button{font-size:12px;padding:7px 12px}
#content{background:transparent;padding:26px 0 0;overflow:visible;width:auto!important}
.navigation{font-size:12px;color:#969bb5;padding:0 0 16px;overflow-wrap:anywhere}
.navigation .active{color:var(--pd-text)}
.navigation a{color:var(--pd-muted)}
.navigation .nav_sep{opacity:.5}
.polarity-hero{display:flex;gap:32px;justify-content:space-between;align-items:center;background:radial-gradient(ellipse at 100% 5%,#35304e 0,transparent 65%),#1b1d2d;border:1px solid var(--pd-border);border-radius:22px;padding:36px 40px;margin:0 0 32px;overflow:hidden}
.polarity-eyebrow{font-size:10px;letter-spacing:.2em;font-weight:750;color:var(--pd-link);display:block;margin-bottom:13px}
.polarity-hero h1{font-size:clamp(26px,3.6vw,42px);line-height:1.16;letter-spacing:-.025em;max-width:600px;margin:0 0 15px;color:#f1edff;font-weight:800}
.polarity-hero p{font-size:14px;color:var(--pd-muted);max-width:560px;line-height:1.8;margin:0}
.polarity-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:23px}
.polarity-button,.polarity-button:link,.polarity-button:visited{display:inline-block;background:var(--pd-accent);color:#1b1430;border:1px solid var(--pd-accent);border-radius:10px;padding:10px 17px;font-size:13px;font-weight:750;text-decoration:none}
.polarity-button:hover{background:#c7b8ff;border-color:#c7b8ff;color:#171122;text-decoration:none;transform:translateY(-1px)}
.polarity-button.secondary,.polarity-button.secondary:link,.polarity-button.secondary:visited{background:#ffffff05;border-color:#635578;color:#e0d8fa}
.polarity-hero-aside{min-width:155px;display:flex;align-items:flex-end;gap:9px;opacity:.8;padding:20px 10px}
.polarity-hero-aside span{width:29px;border:1px solid #b5a2ff55;background:linear-gradient(0deg,#b5a2ff24,#b5a2ff09);border-radius:8px;transform:skewY(-10deg)}
.polarity-hero-aside span:nth-child(1){height:54px}.polarity-hero-aside span:nth-child(2){height:90px}.polarity-hero-aside span:nth-child(3){height:126px}.polarity-hero-aside span:nth-child(4){height:72px}
.polarity-section-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:0 0 17px}
.polarity-section-heading h2{font-size:18px;font-weight:750;color:var(--pd-text);margin:0}
.polarity-section-heading p{font-size:12px;color:var(--pd-muted);margin:0}
table{max-width:100%}
.tborder{background:var(--pd-panel);border:1px solid var(--pd-border);border-radius:16px;border-spacing:0;box-shadow:none;color:var(--pd-text);width:100%}
.tborder .tborder{border-radius:10px;box-shadow:none}
.thead{background:#25253c;color:#eee9ff;border-bottom:1px solid var(--pd-border);padding:15px 18px;font-size:14px}
.thead a:link,.thead a:visited{color:#e8dfff}
.tcat{background:#171927;color:#aeb2ca;border-bottom:1px solid #303347;padding:10px 16px;font-size:11px;letter-spacing:.015em}
.tcat a:link,.tcat a:visited{color:#c7c9dd}
.trow1,.trow2{background:var(--pd-panel);border:0;border-bottom:1px solid #2c2f42;padding:14px 16px;color:var(--pd-text)}
.trow_shaded{background:#30232e;color:#f4c0ce}
.trow_selected td,.trow_selected{background:#342e4c!important}
.trow_sep{background:#242338;color:#cfbfff;font-weight:650;padding:12px 16px}
.tfoot{background:#171927;border:0;border-top:1px solid #303347;color:var(--pd-muted);padding:13px 16px}
.thead:first-child,.tborder thead tr:first-child td:first-child{border-radius:15px 15px 0 0}
.tborder tr:last-child td{border-bottom:0}
.smalltext{font-size:12px;line-height:1.65}
.smalltext,.smalltext strong{color:inherit}
.largetext{font-size:17px;font-weight:700}
.polarity-category{border-radius:17px;margin-bottom:7px;overflow:hidden}
.polarity-category .thead{background:#212236;padding:21px 23px}
.polarity-category .thead strong a{font-size:17px;font-weight:750;letter-spacing:-.01em}
.polarity-category .thead .smalltext{color:var(--pd-muted);margin-top:5px;font-size:12px}
.polarity-category .thead br{display:none}
.polarity-category .tcat{background:#171926;padding:9px 18px;font-size:10px;text-transform:uppercase;letter-spacing:.06em}
.polarity-category td.trow1,.polarity-category td.trow2{padding:20px 18px;border-bottom:1px solid #2c2f42}
.polarity-category tbody tr:hover td.trow1,.polarity-category tbody tr:hover td.trow2{background:#202236}
.polarity-category .polarity-forum-name{font-size:14px;line-height:1.5;font-weight:700;color:#e2dbf8}
.polarity-category .polarity-forum-description{font-size:12px;line-height:1.7;color:var(--pd-muted);margin-top:4px}
.polarity-category .polarity-lastpost{white-space:normal!important;min-width:185px;max-width:270px;font-size:12px}
.polarity-category .polarity-lastpost strong{font-weight:600}
.polarity-mobile-counts{display:none}
.forum_status{width:36px;height:36px;background-image:none!important;border:1px solid #4c456b;border-radius:11px;display:inline-block;position:relative;background-color:#29263d;vertical-align:middle}
.forum_status::after{content:"";position:absolute;width:9px;height:9px;border:2px solid #8d849e;border-radius:50%;top:11px;left:11px}
.forum_on{border-color:#7e6ab0;background-color:#392e53;box-shadow:0 0 22px #b5a2ff0c}
.forum_on::after{border-color:var(--pd-accent);background:var(--pd-accent)}
.forum_offclose{background-color:#30242e;border-color:#654251}.forum_offclose::after{border-color:#b88b9e;border-radius:2px}
.forum_offlink::after{border-radius:0;border-width:2px 2px 0 0;transform:rotate(0deg);border-color:#ada2cc}
.expcolimage{float:right;margin:1px 0 0 16px;padding:8px;border:1px solid #4b4560;border-radius:8px;line-height:1}
.expcolimage img{display:block;opacity:.8}
.forum_legend{margin-top:22px;color:var(--pd-muted);font-size:11px;display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.forum_legend dt,.forum_legend dd{margin:0}.forum_legend .forum_status{transform:scale(.7);transform-origin:center}
.forum_legend dt{height:32px}.forum_legend dd{padding-right:16px}
.button,button,input.button,a.button:link,a.button:visited{background:var(--pd-accent);border:1px solid var(--pd-accent);border-radius:9px;color:#201633;font-family:inherit;font-size:12px;font-weight:750;padding:9px 15px;box-shadow:none;text-shadow:none}
.button:hover,button:hover,input.button:hover{background:#c5b5ff;border-color:#c5b5ff;color:#171022}
.button:disabled,button:disabled{opacity:.5;cursor:not-allowed}
a.button span{background-image:none!important;padding-left:0!important}
.postbit_buttons a:link,.postbit_buttons a:visited{background:#26263c;border:1px solid #47435d;border-radius:7px;color:#d8ceef;font-size:11px;padding:6px 10px;box-shadow:none}
.postbit_buttons a:hover{background:#34304c;border-color:#7d6caa;color:#eee6ff;text-decoration:none}
.postbit_buttons a span{background-image:none!important;padding-left:0!important}
.textbox,textarea,select,input[type="text"],input[type="password"],input[type="email"],input[type="number"],input[type="search"]{background:#111420;border:1px solid #4a4d65;border-radius:8px;color:var(--pd-text);font-family:inherit;font-size:13px;box-shadow:none;padding:9px 11px;max-width:100%}
textarea{line-height:1.7;resize:vertical}input[type="checkbox"],input[type="radio"]{accent-color:var(--pd-accent)}
fieldset{border:1px solid var(--pd-border);border-radius:10px;padding:16px;color:var(--pd-text)}legend{color:#cbbcf1;font-size:12px;padding:0 8px}
form{max-width:100%}form table td{overflow-wrap:anywhere}
label{cursor:pointer}
.pagination{color:var(--pd-muted);font-size:12px}
.pagination a,.pagination .pagination_current{display:inline-block;background:#222338;border:1px solid #41425a;color:var(--pd-link);border-radius:7px;padding:5px 10px;margin:2px}
.pagination .pagination_current{background:var(--pd-accent);color:#201633;font-weight:750;border-color:var(--pd-accent)}
.pagination a:hover{background:#332d49;text-decoration:none}
.post{background:var(--pd-panel);border:1px solid var(--pd-border);border-radius:15px;margin:18px 0;overflow:hidden}
.post .post_head{background:#171926;border-bottom:1px solid #32354a;padding:10px 16px;color:var(--pd-muted);font-size:11px}
.post .post_author{background:#1e2031;border-color:#34364b;color:var(--pd-muted);padding:18px;font-size:12px}
.post.classic .post_author{border-right:1px solid #34364b}
.post .post_author .largetext{font-size:16px;line-height:1.5}
.post .post_author .author_avatar img,.avatar img{border-radius:11px;border:1px solid #46415b;padding:3px;background:#131520;max-width:100%}
.post .post_content{padding:18px 22px}
.post .post_body{font-size:14px;line-height:1.85;color:#dedfeb;overflow-wrap:anywhere}
.post .post_controls{background:#171926;border-top:1px solid #303347;padding:12px 16px}
.post .post_meta,.post .signature{border-color:#383b50;color:var(--pd-muted);font-size:12px}
.post .post_body img{max-width:100%;height:auto}.post .post_body iframe{max-width:100%}
blockquote{background:#141725;border:1px solid #36334e;border-left:3px solid #9c86d3;border-radius:8px;margin:14px 0;padding:15px 18px;color:#bdc0d5}
blockquote cite{display:block;border-color:#33354b;color:#cdbbea;margin-bottom:10px;padding-bottom:6px}
.codeblock{background:#111420;border:1px solid #33384f;border-radius:10px;padding:14px}
.codeblock .title{border-color:#30354a;color:#bdafe6}.codeblock code{color:#ccd4ec}
.pm_alert,.red_alert,.error,.success_message,.information{border-radius:10px;box-shadow:none;padding:14px 18px;margin:12px 0}
.pm_alert,.information{background:#242139;border:1px solid #574d76;color:#d5caed}
.red_alert,.error{background:#30202a;border:1px solid #754252;color:#edb9ca}
.success_message{background:#1d2f29;border:1px solid #3e6e57;color:#bee6cf}
.popup_menu,.modal{background:#1b1d2d;border:1px solid #49415d;border-radius:13px;color:var(--pd-text);box-shadow:0 18px 70px #0008}
.popup_menu .popup_item{background:#1b1d2d;color:var(--pd-text)}
.popup_menu .popup_item:hover{background:#302b45;color:#e1d3fa}
.modal{max-width:calc(100vw - 28px);padding:20px!important}.modal .tborder{border:0}.blocker{background:#080910b3}
.select2-drop,.select2-container .select2-choice,.select2-container-multi .select2-choices{background:#171a28!important;border-color:#4c4a65!important;color:#e5deed!important}
.select2-drop-active{border-color:#8c75c2!important}.select2-results .select2-highlighted{background:#4a3a67!important;color:#fff!important}
.usercp_nav_item{background-color:transparent}.usercp_nav_activated{background-color:#312c46!important}
.usercp_nav_myalerts,.reputation_positive{color:#95dcb6}.reputation_negative{color:#ed9eae}
.profilefield,.profile_fields,.member_profile{color:var(--pd-text)}
#footer{border:0;background:transparent;color:var(--pd-muted);margin-top:35px;font-size:11px}
#footer .upper{background:#151723;border-top:1px solid #2b2e42;border-bottom:1px solid #2b2e42;padding:18px 0}
#footer .lower{background:#10111b;padding:22px 0;color:#878ca7}
#footer .upper .wrapper{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
#footer .upper .wrapper .clear{display:none}#footer ul.menu{padding:0;list-style:none;display:flex;gap:16px;flex-wrap:wrap;margin:0}
#footer ul.menu li{display:inline-block;margin:0}#footer a{color:#aaa1c6}
#footer .theme,#footer .language{float:none;display:inline-block;margin:0}#footer select{font-size:11px;max-width:220px}
#copyright{color:#878ca7;line-height:1.8}#debug{font-size:10px;color:#7c819b}
.polarity-webpanel-link{box-shadow:none!important}
.polarity-mobile-counts strong{font-weight:650;color:#ccc2e2}
@media(min-width:681px){.polarity-category .polarity-count{font-variant-numeric:tabular-nums;color:#c6bed9;font-size:14px}}
@media(max-width:900px){.wrapper{width:calc(100% - 32px)}#logo .wrapper{gap:18px}#header ul.menu.top_links{justify-content:flex-start}.polarity-hero{padding:28px}.polarity-hero-aside{display:none}.post.classic .post_author{width:180px}.post.classic .post_content{margin-left:180px}.polarity-category .polarity-lastpost{min-width:150px}}
@media(max-width:680px){
 body{font-size:13px}.wrapper{width:calc(100% - 24px)}#logo{padding-top:20px}#logo .wrapper{display:block}.polarity-brand strong{font-size:15px}.polarity-brand-mark{width:39px;height:39px;font-size:24px}
 #header ul.menu.top_links{margin-top:19px;gap:3px}#header ul.menu.top_links li a{padding:8px 9px;font-size:12px}#panel{margin-top:17px}#panel .upper .wrapper{display:flex;gap:13px}#panel .upper #search{order:2;width:100%}#search input.textbox{width:100%;flex:1;min-width:0}#panel .lower ul{gap:12px}
 #content{padding-top:18px}#content>.wrapper{overflow-x:auto}.navigation{font-size:11px;line-height:1.8;padding-bottom:9px}.polarity-hero{padding:24px 21px;border-radius:17px;margin-bottom:24px}.polarity-hero h1{font-size:29px}.polarity-hero p{font-size:12px}.polarity-hero-actions{gap:9px;margin-top:19px}.polarity-button{font-size:12px!important;padding:9px 12px!important}.polarity-section-heading p{display:none}
 .polarity-category{border-radius:13px}.polarity-category .thead{padding:17px}.polarity-category .thead strong a{font-size:15px}.polarity-category .thead .smalltext{font-size:11px}.polarity-category thead,.polarity-category thead tr,.polarity-category thead td{display:block;width:100%}.polarity-category tbody{display:block;width:100%}.polarity-category .polarity-column-headings{display:none}
 .polarity-category tbody>tr.polarity-forum-row{display:grid;grid-template-columns:37px minmax(0,1fr);gap:0 12px;border-bottom:1px solid #303246;padding:16px 15px}.polarity-category tbody>tr.polarity-forum-row>td{display:block;border:0;padding:0;width:auto!important;min-width:0;text-align:left!important}.polarity-category .polarity-status-cell{grid-column:1;grid-row:1/3}.polarity-category .polarity-name-cell{grid-column:2;grid-row:1}.polarity-category .polarity-count{display:none!important}.polarity-category .polarity-lastpost{grid-column:2;grid-row:2;margin-top:10px;min-width:0;max-width:none;font-size:10px}.polarity-category .polarity-lastpost .smalltext{font-size:10px}.polarity-category .polarity-lastpost br{display:block}.polarity-category .polarity-forum-name{font-size:13px}.polarity-category .polarity-forum-description{font-size:11px}.polarity-mobile-counts{display:block;font-size:10px;letter-spacing:.01em;color:#9297b2;margin-top:7px}.forum_status{width:34px;height:34px}.forum_status::after{top:10px;left:10px}.expcolimage{padding:6px}
 .thead{padding:12px;font-size:13px}.trow1,.trow2{padding:10px;font-size:12px}.tcat{padding:8px;font-size:10px}.tborder{border-radius:11px;table-layout:auto}.smalltext{font-size:11px}.largetext{font-size:14px}.post.classic .post_author{float:none;width:100%;border-right:0;border-bottom:1px solid #34364b;display:flex;gap:12px;flex-wrap:wrap;align-items:center}.post.classic .post_content{margin-left:0}.post .post_content{padding:15px}.post .post_body{font-size:13px}.post .post_author{padding:13px}.post .post_author .author_avatar img{max-width:55px;max-height:55px}.post_controls{display:flex;flex-wrap:wrap;gap:10px}.post_controls .float_left,.post_controls .float_right{float:none}.postbit_buttons a:link,.postbit_buttons a:visited{display:inline-block;margin:3px 0;font-size:10px;padding:6px 8px}.post .post_body pre{white-space:pre-wrap}
 .forum_legend{gap:3px}.forum_legend dd{padding-right:5px;font-size:10px}.forum_legend .forum_status{transform:scale(.6)}.button,button,input.button{font-size:11px;padding:8px 10px}input.textbox{max-width:100%}textarea{width:100%;max-width:100%}.modal{padding:12px!important}.sceditor-container{max-width:100%!important}.sceditor-container iframe,.sceditor-container textarea{max-width:100%!important}#footer .upper .wrapper{display:block}#footer ul.menu{margin-bottom:16px;gap:12px}.float_right{max-width:100%}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.polarity-button:hover{transform:none}}
