/* MixGeo account pages, native DLE form fields and Bootstrap profile modal. */
.mg-account-modal .modal-dialog{max-width:510px;margin:24px auto;padding:12px}.mg-account-modal .modal-content{position:relative;background:#111a2b;border:1px solid #40557b;border-radius:18px;padding:30px;color:#dce7fa;box-shadow:0 24px 100px #0008}.mg-account-close{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:34px;height:34px;border:1px solid #ffffff20;border-radius:9px;background:#1d2b44;color:#cbdaf3;font:26px Arial,sans-serif}.mg-account-summary{display:flex;align-items:center;gap:18px;padding:8px 0 26px}.mg-account-summary img,.mg-popup-summary img{object-fit:cover;border-radius:15px;border:2px solid #617cdf55;background:#243858}.mg-account-summary>div{min-width:0}.mg-account-summary p{font-size:11px;color:#90a8cf;margin:0 0 6px}.mg-account-summary h2{font:23px/1.4 'BPG Arial Caps',sans-serif;margin:0 0 6px;color:#eef3ff;overflow-wrap:anywhere}.mg-account-summary span{font-size:12px;color:#8a9cbe}.mg-account-links{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mg-account-links a{display:flex;align-items:center;gap:10px;min-height:58px;padding:12px;border:1px solid #ffffff10;border-radius:10px;background:#18253b;color:#baccee;font-size:12px;line-height:1.6;transition:background .2s,border-color .2s}.mg-account-links a:hover{background:#243758;border-color:#738cee80;color:#eef3ff}.mg-account-links svg{width:22px;height:22px;flex-shrink:0;color:#8ba8ff}.mg-account-links a>span{min-width:0}.mg-account-links a>span>span{display:inline-block;margin-left:4px;padding:1px 6px;border-radius:5px;background:#30466c;color:#8fe7bc;font:11px/1.5 Arial,sans-serif}.mg-account-links .mg-account-logout svg{color:#aa92f3}.mg-account-admin{display:block;text-align:center;padding:16px 0 0;margin-top:20px;border-top:1px solid #ffffff12;color:#91b6ff;font-size:12px}.mg-profile-page,.mg-stats-page{width:100%;min-width:0}.mg-profile-overview{display:grid;grid-template-columns:260px minmax(0,1fr);gap:36px;border:1px solid #ffffff12;border-radius:18px;padding:30px;background:linear-gradient(115deg,#132138,#151b2c)}.mg-profile-aside{padding-right:30px;border-right:1px solid #ffffff12}.mg-profile-avatar{width:150px;height:150px;margin:0 auto 18px;border-radius:22px;overflow:hidden;border:2px solid #7d85e866;background:#233858}.mg-profile-avatar img{width:100%;height:100%;object-fit:cover}.mg-profile-status{text-align:center;font-size:12px;color:#8295b4;margin-bottom:24px}.mg-profile-page .is-online,.mg-profile-popup .is-online{color:#6ee4b4}.mg-profile-counts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.mg-profile-counts>div{padding:12px 4px;text-align:center;background:#1c2c44;border:1px solid #ffffff0d;border-radius:10px}.mg-profile-counts b{display:block;color:#e3ecff;font:24px/1.3 Arial,sans-serif}.mg-profile-counts span{font-size:11px;color:#98accb}.mg-profile-actions{display:grid;gap:9px}.mg-profile-actions a,.mg-profile-activity a{display:block;padding:10px 12px;border:1px solid #6791e744;background:#1c3050;border-radius:8px;color:#b3ccff;font-size:12px;text-align:center}.mg-profile-details{min-width:0}.mg-profile-details h1{font:clamp(25px,3vw,36px)/1.4 'BPG Arial Caps',sans-serif;margin:16px 0 10px;color:#edf3ff;overflow-wrap:anywhere}.mg-profile-group{display:inline-block;background:#343050;border:1px solid #9382df33;border-radius:7px;padding:6px 10px;color:#c8b4fa;font-size:12px}.mg-profile-meta{margin:24px 0 0;display:grid;gap:14px}.mg-profile-meta>div{display:grid;grid-template-columns:140px minmax(0,1fr);gap:16px}.mg-profile-meta dt{font-size:12px;font-weight:400;color:#93a7c9}.mg-profile-meta dd{margin:0;font-size:13px;color:#cddbf1;overflow-wrap:anywhere}.mg-profile-meta a{color:#a8bbff}.mg-profile-activity{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.mg-profile-activity:empty{display:none}.mg-profile-about{margin-top:28px;padding-top:24px;border-top:1px solid #ffffff13;color:#a8bad8;font:14px/1.9 'BPG Arial',sans-serif;overflow-wrap:anywhere}.mg-profile-about h2{font:17px/1.5 'BPG Arial Caps',sans-serif;color:#e0eafa;margin:0 0 12px}.mg-profile-about p{font:inherit;color:inherit}.mg-profile-signature{margin-top:16px;color:#879dbd;font-size:12px;overflow-wrap:anywhere}.mg-profile-page img{max-width:100%}.mg-profile-edit{margin-top:26px;padding:30px;border:1px solid #ffffff15;background:#111c2e;border-radius:16px;color:#a9bcdb}.mg-profile-edit h2{font:23px/1.5 'BPG Arial Caps',sans-serif;margin:0 0 26px;color:#e6efff}.mg-profile-edit :is(.form-item,.form-textarea,.form-checks,.form-xfield){margin-bottom:20px}.mg-profile-edit label{display:block;font-size:12px;line-height:1.7;color:#9fb5d8;margin-bottom:8px}.mg-profile-edit :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select){width:100%;max-width:100%;padding:12px 14px;border:1px solid #3a5077;border-radius:8px;background:#192740;color:#d6e4fa;font:13px/1.6 'BPG Arial',sans-serif}.mg-profile-edit textarea{resize:vertical;min-height:110px}.mg-profile-edit input[type=checkbox]{accent-color:#6389ee}.mg-profile-edit .form-checks label{display:inline;margin-right:18px}.mg-profile-edit .form-checks input{margin-left:0!important}.mg-profile-edit a{color:#98b8ff}.mg-profile-xfields{max-width:100%;overflow-x:auto}.mg-profile-edit .form-submit{padding-top:10px}.mg-profile-popup{padding:8px;color:#a7bad8;max-width:100%}.mg-popup-summary{display:flex;align-items:center;gap:16px}.mg-popup-summary>div{min-width:0}.mg-popup-summary strong{color:#e3edff;font-size:17px;overflow-wrap:anywhere}.mg-popup-summary p{font-size:12px;color:#a699d7;margin:4px 0}.mg-popup-summary span{font-size:11px}.mg-profile-popup .mg-profile-meta>div{grid-template-columns:110px minmax(0,1fr);gap:12px}.mg-profile-popup .mg-profile-meta dd{font-size:12px}.mg-page-heading{width:100%;margin:0 0 28px}.mg-page-heading h1{font:clamp(25px,3vw,36px)/1.4 'BPG Arial Caps',sans-serif;color:#edf3ff;margin:12px 0}.mg-page-heading p{font-size:13px;color:#90a6c8;margin:0}.mg-stat-totals,.mg-stat-periods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.mg-stat-totals article,.mg-stat-periods article{padding:24px;border:1px solid #ffffff13;border-radius:14px;background:#131e31;min-width:0}.mg-stat-totals article{position:relative;background:linear-gradient(130deg,#152b49,#161d30)}.mg-stat-totals article>span:not(.mg-stat-icon){display:block;font-size:13px;color:#a6bada}.mg-stat-icon{position:absolute;top:22px;right:22px;display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#446fba33;color:#99b5ff;font:26px Arial,sans-serif}.mg-stat-totals strong{display:block;margin:16px 0 22px;font:700 38px/1.2 Arial,sans-serif;color:#edf3ff;overflow-wrap:anywhere}.mg-stats-page dl{display:grid;gap:12px;margin:0}.mg-stats-page dl>div{display:flex;justify-content:space-between;gap:12px}.mg-stats-page dt{font-size:12px;font-weight:400;color:#8fa5c7}.mg-stats-page dd{font:14px/1.6 Arial,sans-serif;color:#80dfb5;margin:0;overflow-wrap:anywhere}.mg-stats-page a{color:#a4beff;font-size:12px}.mg-stat-periods{margin-top:24px}.mg-stat-periods h2,.mg-stat-top h2{font:18px/1.6 'BPG Arial Caps',sans-serif;color:#e0ebfc;margin:0 0 18px}.mg-stat-top{margin-top:30px;padding:24px;border:1px solid #ffffff13;border-radius:14px;background:#111b2d}.mg-stat-table{overflow-x:auto;scrollbar-width:thin;scrollbar-color:#4b6292 transparent}.mg-stat-table table{border-collapse:collapse;width:100%;min-width:600px;color:#b7c9e8;font-size:13px}.mg-stat-table :is(td,th){padding:14px 16px;border-bottom:1px solid #ffffff13;text-align:left;background:transparent}.mg-stat-table th{color:#92b6fc;font-weight:500;background:#1b2b45}.mg-stat-table tr:last-child td{border-bottom:0}.mg-lastcomments-layout #filter{display:block;margin:0;--bs-gutter-x:0}.mg-lastcomments-layout #dle-content{display:block!important}.mg-lastcomments-layout .mg-comment{margin-bottom:18px;width:100%;padding:24px}.mg-comment-date{display:block;color:#829abf;font:11px/1.7 Arial,sans-serif;margin-top:4px}.mg-comment-news{font:13px/1.7 'BPG Arial Caps',sans-serif;color:#9dbafa;margin-bottom:12px;padding:10px 12px;background:#1b2b45;border-left:3px solid #8075de;border-radius:5px;overflow-wrap:anywhere}.mg-comment-news:empty{display:none}.mg-comment-news a{color:#a8c3ff}.mg-lastcomments-layout .mg-comment-text{font-size:14px}.mg-lastcomments-layout .mg-pagination{margin-top:30px}.mg-account-modal :focus-visible,.mg-profile-page :focus-visible,.mg-stats-page :focus-visible{outline:2px solid #67e4b5;outline-offset:3px}
@media(max-width:900px){.mg-profile-overview{grid-template-columns:210px minmax(0,1fr);gap:24px;padding:24px}.mg-profile-aside{padding-right:24px}.mg-profile-meta>div{grid-template-columns:110px minmax(0,1fr);gap:12px}.mg-stat-totals,.mg-stat-periods{gap:14px}.mg-stat-totals article,.mg-stat-periods article{padding:20px}.mg-stat-icon{width:30px;height:30px;top:16px;right:16px}}
@media(max-width:600px){.mg-account-modal .modal-dialog{margin:12px auto}.mg-account-modal .modal-content{padding:24px 18px;border-radius:14px}.mg-account-summary{padding-right:24px;gap:14px}.mg-account-summary img{width:58px;height:58px}.mg-account-summary h2{font-size:19px}.mg-account-links{gap:8px}.mg-account-links a{padding:10px;font-size:11px;gap:8px}.mg-account-links svg{width:19px;height:19px}.mg-profile-overview{grid-template-columns:1fr;gap:26px;padding:22px 18px}.mg-profile-aside{padding:0 0 24px;border-right:0;border-bottom:1px solid #ffffff12}.mg-profile-avatar{width:120px;height:120px}.mg-profile-counts{max-width:300px;margin-inline:auto}.mg-profile-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.mg-profile-meta>div{grid-template-columns:105px minmax(0,1fr)}.mg-profile-edit{padding:22px 18px}.mg-profile-edit h2{font-size:20px}.mg-stat-totals,.mg-stat-periods{grid-template-columns:1fr}.mg-stat-totals article{padding:22px}.mg-stat-totals strong{font-size:34px}.mg-stat-top{padding:20px 16px}.mg-lastcomments-layout .mg-comment{padding:18px 14px;gap:12px}.mg-lastcomments-layout .mg-comment-avatar{width:32px;height:32px;flex-basis:32px}.mg-lastcomments-layout .mg-comment-text{font-size:13px}.mg-comment-news{font-size:12px}.mg-page-heading{margin-bottom:24px}}
@media(prefers-reduced-motion:reduce){.mg-account-links a{transition:none}}
.ui-dialog:has(.mg-profile-popup){background:#111c2e!important;color:#d5e3f9;border:1px solid #40557b!important;border-radius:14px!important;max-width:calc(100vw - 24px)}.ui-dialog:has(.mg-profile-popup) .ui-dialog-titlebar{background:#1b2b45!important;border-color:#40557b!important;color:#e0eaff!important}.ui-dialog:has(.mg-profile-popup) .ui-dialog-content{background:#111c2e!important;color:#c4d7f4}.mg-profile-edit :is(.form-item,.form-textarea)>label{float:none;width:auto}.mg-profile-edit :is(.form-item,.form-textarea)>input{float:none}.mg-profile-about img,.mg-profile-signature img{max-width:100%;height:auto}
.mg-account-modal{top:0;height:100dvh}.mg-account-modal .modal-dialog{min-height:calc(100% - 48px)}.mg-account-modal .modal-content{max-height:calc(100dvh - 48px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#4b6292 transparent}@media(max-width:600px){.mg-account-modal .modal-dialog{min-height:calc(100% - 24px)}.mg-account-modal .modal-content{max-height:calc(100dvh - 48px)}}.mg-stat-icon svg{width:23px;height:23px}
.mg-route-area:has(.mg-profile-page,.mg-stats-page) #filter{margin:0;--bs-gutter-x:0;--bs-gutter-y:0}.mg-route-area:has(.mg-profile-page,.mg-stats-page) #filter>*{padding:0;width:100%;max-width:100%}.mg-profile-edit input::file-selector-button{padding:6px 10px;border:1px solid #617ec3;border-radius:5px;background:#263f69;color:#dce8ff;margin-right:10px}
