/* MYTYLKOGRAMY — REDLINE V16 COMMUNITY | MyBB 1.8.x */
:root{
  --mtg-bg:#03070b;--mtg-bg2:#07101a;--mtg-panel:#08121d;--mtg-panel2:#0a1521;
  --mtg-panel3:#0d1926;--mtg-red:#ff3148;--mtg-red2:#df1f37;--mtg-redsoft:rgba(255,49,72,.13);
  --mtg-text:#f4f7fb;--mtg-text2:#c8d1dc;--mtg-muted:#77879a;--mtg-line:#1c2a38;
  --mtg-line2:rgba(132,154,181,.14);--mtg-green:#37d67a;--mtg-radius:12px;
  --mtg-shadow:0 20px 60px rgba(0,0,0,.36);--mtg-wrap:1280px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth;background:#02060b!important;min-height:100%}body{margin:0!important;background:
radial-gradient(circle at 8% 25%,rgba(23,55,84,.18),transparent 26%),
radial-gradient(circle at 91% 36%,rgba(94,14,27,.13),transparent 25%),
linear-gradient(180deg,#020509 0,#050a10 460px,#03070b 100%)!important;background-color:#02060b!important;color:var(--mtg-text2)!important;font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif!important;font-size:13px!important;line-height:1.5;min-height:100vh}
a{color:#dce5ef;text-decoration:none}a:hover{color:#fff}img{max-width:100%}.wrapper{width:min(var(--mtg-wrap),calc(100% - 36px))!important;min-width:0!important;max-width:none!important;margin:0 auto!important}.clearfix:after{content:"";display:block;clear:both}
#container{min-width:0!important;min-height:100vh!important;background:#02060b!important;width:auto!important}#content{padding:0 0 42px!important;min-height:560px!important;background:radial-gradient(circle at 12% 8%,rgba(22,55,82,.12),transparent 30%),radial-gradient(circle at 88% 12%,rgba(100,12,27,.10),transparent 28%),linear-gradient(180deg,#040a10 0%,#02070c 68%,#02060a 100%)!important;overflow:visible!important}.mtg-content-wrap{padding-top:18px}.mtg-page-spacer{height:2px}.mtg-home .navigation{display:none!important}.mtg-home .mtg-page-spacer{display:none!important}.mtg-home .mtg-content-wrap{padding-top:18px}

/* top info bar */
.mtg-socialbar{min-height:36px;background:#050b12;border-bottom:1px solid rgba(255,255,255,.035);font-size:11px;color:#9eabb9}.mtg-socialbar .wrapper{min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:16px}.mtg-social-left,.mtg-social-right{display:flex;align-items:center;gap:16px}.mtg-social-left a{color:var(--mtg-red)!important;font-weight:800}.mtg-social-dot{width:7px;height:7px;border-radius:50%;background:var(--mtg-green);box-shadow:0 0 0 4px rgba(55,214,122,.08)}.mtg-social-right a{color:#aab5c2!important}.mtg-social-right a:hover{color:#fff!important}.mtg-social-mini{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:7px;background:#0c1621;border:1px solid var(--mtg-line);font-size:9px;font-weight:900;color:#dbe4ef}

.mtg-online-value:empty:before{content:"0"}.mtg-discord-label:empty:before{content:"discord.gg/mytylkogramy"}

/* approved cinematic hero */
.mtg-brand-hero{height:165px;background-size:cover;background-position:center;background-repeat:no-repeat;border-bottom:1px solid rgba(255,49,72,.28);position:relative}.mtg-brand-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.12));pointer-events:none}.mtg-brand-hero>a{position:absolute;inset:0;z-index:2;display:block}

/* main nav */
.mtg-nav-shell{position:sticky;top:0;z-index:999;background:rgba(4,10,16,.94);backdrop-filter:blur(15px);border-bottom:1px solid rgba(255,255,255,.055);box-shadow:0 10px 30px rgba(0,0,0,.24)}.mtg-nav{min-height:62px;display:flex;align-items:center;gap:12px}.mtg-nav-links{display:flex;align-items:stretch;gap:8px;height:62px}.mtg-nav-link{position:relative;display:flex;align-items:center;gap:9px;padding:0 14px;color:#d7dee8!important;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.15px}.mtg-nav-link svg{width:17px;height:17px;fill:none;stroke:var(--mtg-red);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.mtg-nav-link:hover{color:#fff!important;background:rgba(255,255,255,.018)}.mtg-nav-link:first-child:after{content:"";position:absolute;left:10px;right:10px;bottom:0;height:3px;border-radius:4px 4px 0 0;background:var(--mtg-red);box-shadow:0 0 18px rgba(255,49,72,.48)}.mtg-nav-spacer{flex:1}.mtg-search-btn{display:grid;place-items:center;width:42px;height:40px;border:1px solid var(--mtg-line);border-radius:9px;background:#08121c;color:#eef3f8!important}.mtg-search-btn:hover{border-color:#334659;background:#0c1824}.mtg-search-btn svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:2}
.mtg-user-actions{display:flex;align-items:center;gap:9px}.mtg-user-actions>a,.mtg-account>summary{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border-radius:8px;border:1px solid var(--mtg-line);background:#08121d;color:#f1f5f9!important;font-size:10px;font-weight:900;text-transform:uppercase;cursor:pointer;white-space:nowrap}.mtg-user-actions>a:hover,.mtg-account>summary:hover{border-color:#3d4e60;background:#0c1824}.mtg-user-actions .mtg-register{border-color:#ff4357;background:linear-gradient(180deg,#ff3c52,#e9263e);box-shadow:0 8px 24px rgba(255,49,72,.18)}.mtg-account{position:relative}.mtg-account>summary{list-style:none}.mtg-account>summary::-webkit-details-marker{display:none}.mtg-account-menu{position:absolute;right:0;top:calc(100% + 10px);width:245px;margin:0;padding:8px;list-style:none;background:#07111b;border:1px solid var(--mtg-line);border-radius:10px;box-shadow:var(--mtg-shadow)}.mtg-account-menu li{list-style:none;margin:0}.mtg-account-menu a{display:block;padding:9px 10px;border-radius:7px;color:#b8c4d1!important}.mtg-account-menu a:hover{background:#0c1926;color:#fff!important}.mtg-account-menu .mtg-logout{margin-top:5px;padding-top:5px;border-top:1px solid var(--mtg-line)}
.mtg-mobile-nav{display:none;position:relative}.mtg-mobile-nav>summary{list-style:none;cursor:pointer;padding:9px 12px;border:1px solid var(--mtg-line);border-radius:8px;background:#08131f;color:#fff;font-weight:850}.mtg-mobile-nav>summary::-webkit-details-marker{display:none}.mtg-mobile-menu{position:absolute;top:calc(100% + 9px);left:0;width:240px;padding:7px;background:#07111b;border:1px solid var(--mtg-line);border-radius:10px;box-shadow:var(--mtg-shadow)}.mtg-mobile-menu a{display:block;padding:10px;border-radius:7px;color:#c6d0dc!important;font-weight:750}.mtg-mobile-menu a:hover{background:#0e1b28;color:#fff!important}

/* notices / breadcrumb */
.navigation{margin:0 0 16px!important;padding:10px 13px!important;border:1px solid var(--mtg-line2)!important;border-radius:9px;background:rgba(8,18,29,.76)!important;color:#718196!important;font-size:11px!important}.navigation a{color:#aebdcd!important}.navigation .active{color:#f2f6fa!important;font-weight:800!important;font-size:11px!important}.error,.red_alert,.pm_alert,.yellow_alert{margin:0 0 14px!important;padding:12px 14px!important;border-radius:9px!important;border:1px solid rgba(255,49,72,.32)!important;background:rgba(89,19,31,.38)!important;color:#ffc1ca!important}.pm_alert{border-color:rgba(56,145,209,.3)!important;background:rgba(18,62,91,.35)!important;color:#c9eaff!important}.yellow_alert{border-color:rgba(225,168,69,.28)!important;background:rgba(86,63,20,.3)!important;color:#ffe1a2!important}

/* server status */
.mtg-server-status{margin:0 0 15px;border:1px solid #1b2a38;border-left:4px solid var(--mtg-red);border-radius:11px;background:linear-gradient(180deg,rgba(7,16,25,.98),rgba(6,14,22,.98));box-shadow:0 16px 45px rgba(0,0,0,.22);overflow:hidden}.mtg-server-headline{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px 13px;overflow:hidden}.mtg-server-headline:after{content:"";position:absolute;inset:0 0 0 58%;background:linear-gradient(90deg,transparent,rgba(255,49,72,.035));pointer-events:none}.mtg-titlegroup{display:flex;align-items:center;gap:12px;position:relative;z-index:1}.mtg-section-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:rgba(255,49,72,.1);color:var(--mtg-red);font-size:21px;font-weight:900}.mtg-titlegroup h2{margin:0;color:#f5f8fb;font-size:14px;letter-spacing:.05px}.mtg-titlegroup p{margin:2px 0 0;color:#8191a3;font-size:10px}.mtg-server-headline>a{position:relative;z-index:1;color:var(--mtg-red)!important;font-size:9px;font-weight:950;text-transform:uppercase;letter-spacing:.4px}.mtg-server-body{padding:0 13px 13px}.mtg-server-list{border:1px solid var(--mtg-line);border-radius:9px;overflow:hidden;background:#07121c}.mtg-server-rows:empty{display:none}.mtg-server-rows:not(:empty)+.mtg-server-fallback{display:none}.mtg-server-row{display:grid;grid-template-columns:minmax(220px,1.3fr) minmax(190px,1fr) 88px 92px 88px;gap:10px;align-items:center;min-height:55px;padding:9px 13px;border-top:1px solid rgba(116,139,165,.12)}.mtg-server-row:first-child{border-top:0}.mtg-server-game{display:flex;align-items:center;gap:10px;min-width:0}.mtg-game-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:8px;border:1px solid #243647;background:#0b1925;color:var(--mtg-red);font-size:10px;font-weight:950}.mtg-server-game strong{display:block;color:#f0f4f8;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mtg-server-game small{display:block;color:#6f8093;font-size:9px}.mtg-server-ip{font:10px ui-monospace,SFMono-Regular,Consolas,monospace;color:#a7b5c4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mtg-server-players{font-weight:850;color:#d7e0e9}.mtg-status-pill{display:inline-flex;align-items:center;gap:6px;width:max-content;padding:4px 7px;border-radius:999px;border:1px solid rgba(55,214,122,.25);background:rgba(55,214,122,.08);color:#6be79e;font-size:8px;font-weight:950;letter-spacing:.45px}.mtg-status-pill:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.mtg-status-offline{color:#ff7585;border-color:rgba(255,49,72,.25);background:rgba(255,49,72,.08)}.mtg-status-maintenance{color:#f4c36f;border-color:rgba(244,195,111,.25);background:rgba(244,195,111,.08)}.mtg-copy{padding:7px 9px;border:1px solid #27394a;border-radius:7px;background:#0a1722;color:#d8e1ea;font-size:8px;font-weight:900;text-transform:uppercase;cursor:pointer}.mtg-copy:hover{border-color:#3d5266;background:#0f1e2b}.mtg-empty{padding:15px;text-align:center;color:#687a8d;font-size:10px}

/* forum categories: the key look */
.mtg-forum-category{width:100%!important;margin:0 0 15px!important;border-collapse:separate!important;border-spacing:0!important;overflow:hidden;border:1px solid #1c2b39!important;border-left:4px solid var(--mtg-red)!important;border-radius:11px!important;background:#07111a!important;box-shadow:0 16px 45px rgba(0,0,0,.20)!important}.mtg-forum-category .thead{position:relative!important;padding:0!important;border:0!important;background:#08131d!important}.mtg-category-head{position:relative;min-height:59px;display:flex;align-items:center;justify-content:space-between;padding:11px 15px;overflow:hidden;background-size:cover!important;background-position:72% 43%!important}.mtg-category-head:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,17,26,.99) 0%,rgba(7,17,26,.94) 53%,rgba(34,11,18,.56) 78%,rgba(66,13,24,.35) 100%)}.mtg-category-title{position:relative;z-index:2;display:flex;align-items:center;gap:12px}.mtg-cat-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:rgba(255,49,72,.10);color:var(--mtg-red);font-size:20px;font-weight:900}.mtg-category-title strong a{color:#f7f9fb!important;font-size:13px;font-weight:950;text-transform:uppercase;letter-spacing:.2px}.mtg-category-title .smalltext{margin-top:1px;color:#8191a2!important;font-size:9.5px!important;font-weight:500!important}.mtg-category-head .expcolimage{position:relative;z-index:3;float:none!important}.mtg-category-head .expcolimage img{opacity:.55;filter:grayscale(1) brightness(1.8);width:14px;height:14px}.mtg-forum-cols td{height:30px!important;padding:0 14px!important;background:#06101a!important;border-top:1px solid rgba(255,49,72,.18)!important;border-bottom:1px solid var(--mtg-line2)!important;color:#75879b!important;font-size:8.5px!important;font-weight:850!important;text-transform:uppercase!important;letter-spacing:.55px}.mtg-forum-row td{height:57px!important;padding:9px 13px!important;background:#07121c!important;border-bottom:1px solid rgba(124,145,168,.11)!important;color:#c7d0da!important;vertical-align:middle!important}.mtg-forum-row:hover td{background:#091621!important}.mtg-forum-row:last-child td{border-bottom:0!important}.mtg-forum-icon-cell{width:56px!important;text-align:center!important;padding-right:3px!important}.forum_status{display:inline-grid!important;place-items:center!important;width:34px!important;height:34px!important;border-radius:8px!important;border:1px solid #26384a!important;background:linear-gradient(145deg,#0e1d2a,#08131e)!important;color:var(--mtg-red)!important;font-size:0!important}.forum_status:before{content:"";width:15px;height:12px;border:2px solid currentColor;border-radius:4px;box-shadow:6px -5px 0 -4px currentColor;opacity:.95}.forum_off,.forum_offlock,.forum_offlink{color:#607185!important;opacity:.65}.forum_on{box-shadow:inset 0 0 18px rgba(255,49,72,.08),0 0 18px rgba(255,49,72,.045)!important;border-color:rgba(255,49,72,.28)!important}.mtg-forum-main strong>a{color:#f0f3f7!important;font-size:11px;font-weight:850}.mtg-forum-main strong>a:hover{color:#fff!important}.mtg-forum-main .smalltext{margin-top:2px;color:#74869a!important;font-size:9.5px!important;line-height:1.35!important}.mtg-forum-main .smalltext a{color:#99aabb!important}.mtg-count-cell{width:92px;text-align:center!important;color:#dce4ec!important;font-size:11px!important;font-weight:750}.mtg-count-cell span{display:block;margin-top:1px;color:#77899c;font-size:8.5px;font-weight:500}.mtg-lastpost{width:230px!important;position:relative!important;padding-right:38px!important;color:#96a7b9!important;font-size:9px!important}.mtg-lastpost a{color:#d1d9e2!important;font-weight:750}.mtg-lastpost:after{content:"›";position:absolute;right:16px;top:50%;transform:translateY(-50%);color:#91a0b1;font-size:26px;font-weight:300}.mtg-lastpost .smalltext{font-size:8.5px!important;color:#718297!important}

/* generic MyBB tables / internal pages */
.tborder{width:100%;margin:0 0 15px!important;border-collapse:separate!important;border-spacing:0!important;border:1px solid var(--mtg-line)!important;border-radius:10px!important;overflow:hidden!important;background:#07111a!important;box-shadow:0 13px 38px rgba(0,0,0,.15)!important}.thead{padding:12px 14px!important;background:linear-gradient(180deg,#0b1722,#08131d)!important;border-bottom:1px solid rgba(255,49,72,.38)!important;color:#f5f7fa!important;font-size:11px!important}.thead a{color:#fff!important}.tcat{padding:8px 11px!important;background:#07111a!important;border-bottom:1px solid var(--mtg-line2)!important;color:#8191a3!important;font-size:9px!important;text-transform:uppercase!important;letter-spacing:.35px!important}.trow1,.trow2{padding:10px 12px!important;background:#08131e!important;border-color:var(--mtg-line2)!important;color:#bdc8d4!important}.trow2{background:#091520!important}.trow1 a,.trow2 a{color:#dce5ef!important}.trow1:hover,.trow2:hover{background:#0a1722!important}.tfoot{padding:9px 12px!important;background:#07111a!important;border-top:1px solid var(--mtg-line2)!important;color:#788a9c!important}.smalltext{color:#7f90a3!important;font-size:10px!important}.expcolimage{float:right}.expcolimage img{opacity:.55}

/* forms */
input.textbox,textarea,select,.select2-container .select2-choice,.select2-container--default .select2-selection--single{background:#050d15!important;border:1px solid #243544!important;border-radius:7px!important;color:#e8edf3!important;box-shadow:none!important}input.textbox,select{min-height:36px;padding:7px 9px!important}textarea{padding:9px!important;min-height:100px}.textbox:focus,textarea:focus,select:focus{outline:none!important;border-color:rgba(255,49,72,.72)!important;box-shadow:0 0 0 3px rgba(255,49,72,.08)!important}.button,input.button{min-height:36px;padding:7px 13px!important;border:1px solid #ff4056!important;border-radius:7px!important;background:linear-gradient(180deg,#ff3a50,#e6243c)!important;color:#fff!important;font-size:10px!important;font-weight:900!important;text-transform:uppercase!important;cursor:pointer!important;box-shadow:0 7px 18px rgba(255,49,72,.12)!important}.button:hover,input.button:hover{filter:brightness(1.07)}fieldset{border:1px solid var(--mtg-line)!important;border-radius:9px!important;background:#07121c!important}fieldset legend{color:#f3f6f9!important;font-weight:850!important}

/* thread lists */
.threadlist .trow1,.threadlist .trow2,.forumdisplay_sticky{border-bottom:1px solid var(--mtg-line2)!important}.subject_new,.subject_old{color:#eef3f8!important}.author{color:#8293a5!important}.pagination a,.pagination .pagination_current,.pagination .pagination_page{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:32px!important;height:32px!important;padding:0 9px!important;border-radius:7px!important;border:1px solid var(--mtg-line)!important;background:#08131f!important;color:#bcc8d5!important}.pagination .pagination_current{background:var(--mtg-red)!important;border-color:var(--mtg-red)!important;color:#fff!important}

/* posts */
.post{margin:0 0 14px!important;border:1px solid var(--mtg-line)!important;border-radius:10px!important;overflow:hidden!important;background:#07111a!important;box-shadow:0 13px 38px rgba(0,0,0,.15)!important}.post_head{padding:10px 13px!important;background:#0a1621!important;border-bottom:1px solid rgba(255,49,72,.24)!important}.post_body{color:#c7d1dc!important;font-size:12px!important;line-height:1.7!important}.post.classic .post_author{background:#07131d!important;border-right:1px solid var(--mtg-line2)!important}.post_author .author_information strong a{color:#f5f7fa!important}.post_author .author_statistics{color:#7f91a4!important}.post_controls{padding:8px 11px!important;background:#06101a!important;border-top:1px solid var(--mtg-line2)!important}.post_controls a{display:inline-flex!important;align-items:center!important;min-height:29px!important;padding:0 9px!important;border:1px solid #233443!important;border-radius:6px!important;background:#091621!important;color:#cbd5df!important;font-size:9px!important;font-weight:800!important}.post_controls a:hover{border-color:#3b4e60!important;color:#fff!important}.signature{border-top:1px dashed #273747!important;color:#7e8fa2!important}

/* auth */
.mtg-auth-shell{display:grid;grid-template-columns:.95fr 1.05fr;gap:15px;margin:0 auto 24px;max-width:980px}.mtg-auth-aside,.mtg-auth-card{border:1px solid var(--mtg-line);border-radius:11px;background:#07121c;box-shadow:var(--mtg-shadow)}.mtg-auth-aside{padding:42px;background:radial-gradient(circle at 20% 15%,rgba(255,49,72,.10),transparent 34%),#07111a}.mtg-auth-aside .mtg-eyebrow{color:var(--mtg-red);font-size:9px;font-weight:950;letter-spacing:1.7px}.mtg-auth-aside h1{margin:9px 0 10px;color:#f7f9fb;font-size:34px;line-height:1.06}.mtg-auth-aside p{color:#8495a8}.mtg-auth-features{padding:0;margin:20px 0 0;list-style:none}.mtg-auth-features li{margin:9px 0;color:#aab7c5}.mtg-auth-features li:before{content:"✓";margin-right:9px;color:var(--mtg-red);font-weight:900}.mtg-auth-card{padding:18px}

/* board stats */
.mtg-boardstats{margin-top:4px}.mtg-boardstats .thead{border-left:3px solid var(--mtg-red)!important}.mtg-boardstats .tcat{color:#d6dee8!important;text-transform:none!important;font-size:10px!important}

/* popup / editor */
.popup_menu{background:#07111a!important;border:1px solid var(--mtg-line)!important;border-radius:8px!important;box-shadow:var(--mtg-shadow)!important}.popup_item{color:#bac6d2!important}.popup_item:hover{background:#0c1925!important;color:#fff!important}.modal{background:#07121c!important;border:1px solid var(--mtg-line)!important;border-radius:10px!important;box-shadow:var(--mtg-shadow)!important}.modal a.close-modal{filter:invert(1);opacity:.7}.sceditor-container{border:1px solid #243544!important;background:#050d15!important}.sceditor-toolbar{background:#0a1621!important;border-bottom:1px solid var(--mtg-line)!important}.sceditor-container iframe,.sceditor-container textarea{background:#07111a!important;color:#dce4ec!important}

/* footer */
#footer{margin-top:28px!important;background:#03070b!important;border-top:1px solid #172430!important;color:#738497!important}.mtg-footer-main{display:grid;grid-template-columns:1fr auto;gap:36px;padding:27px 0}.mtg-footer-logo{font-size:19px;font-weight:950;letter-spacing:.6px;color:#f5f7fa}.mtg-footer-logo b{color:var(--mtg-red)}.mtg-footer-brand p{max-width:540px;margin:7px 0 0;color:#708195;font-size:10px}.mtg-footer-nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px}.mtg-footer-nav a{color:#8b9caf!important;font-size:10px}.mtg-footer-nav a:hover{color:#fff!important}.mtg-footer-tools{margin-top:10px;text-align:right}.mtg-footer-bottom{border-top:1px solid #101b25;background:#020508}.mtg-footer-bottom .wrapper{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:14px;color:#596b7d;font-size:9px}.mtg-footer-bottom a{color:#7f91a4!important}

/* toast */
.mtg-toast{position:fixed;right:20px;bottom:20px;z-index:4000;transform:translateY(18px);opacity:0;pointer-events:none;padding:10px 13px;border:1px solid rgba(255,49,72,.35);border-radius:8px;background:#07111b;color:#f2f5f8;font-size:10px;font-weight:800;box-shadow:var(--mtg-shadow);transition:.2s ease}.mtg-toast.is-visible{transform:none;opacity:1}

/* hide old default clutter where safe */
#logo{display:none!important}.menu ul{margin:0}.upper{background:transparent!important}.lower{background:transparent!important}.panel{background:#07121c!important;border:1px solid var(--mtg-line)!important;color:#b9c4d0!important}.remember_me input{vertical-align:middle}

@media(max-width:1000px){.mtg-social-right>a:not(.mtg-social-mini),.mtg-social-right .mtg-social-dot+span{display:none}.mtg-nav-links{gap:1px}.mtg-nav-link{padding:0 9px}.mtg-server-row{grid-template-columns:minmax(200px,1.3fr) minmax(170px,1fr) 80px 86px}.mtg-server-row>div:last-child{display:none}.mtg-lastpost{width:190px!important}.mtg-footer-main{grid-template-columns:1fr}.mtg-footer-nav{justify-content:flex-start}.mtg-footer-tools{text-align:left}}
@media(max-width:820px){.wrapper{width:min(100% - 22px,var(--mtg-wrap))!important}.mtg-brand-hero{height:135px;background-size:auto 135px}.mtg-nav-links{display:none}.mtg-mobile-nav{display:block}.mtg-nav{min-height:56px}.mtg-nav-shell{position:relative}.mtg-search-btn{margin-left:auto}.mtg-server-row{grid-template-columns:1fr 90px 84px}.mtg-server-row .mtg-server-ip{grid-column:1/2}.mtg-server-row .mtg-server-players{display:none}.mtg-forum-cols td:nth-child(3),.mtg-forum-cols td:nth-child(4),.mtg-forum-row td:nth-child(3),.mtg-forum-row td:nth-child(4){display:none}.mtg-lastpost{width:170px!important}.mtg-auth-shell{grid-template-columns:1fr}.mtg-auth-aside{display:none}.mtg-footer-bottom .wrapper{display:block;padding:10px 0}.mtg-footer-bottom span{display:block;margin:3px 0}}
@media(max-width:600px){.mtg-social-right{display:none}.mtg-socialbar .wrapper{justify-content:center}.mtg-social-left{font-size:9px}.mtg-brand-hero{height:112px;background-size:auto 112px}.mtg-user-actions>a:not(.mtg-register){display:none}.mtg-user-actions>a,.mtg-account>summary{min-height:36px;padding:0 10px;font-size:8px}.mtg-search-btn{display:none}.mtg-server-headline{align-items:flex-start}.mtg-server-headline>a{display:none}.mtg-server-row{grid-template-columns:1fr auto}.mtg-server-row .mtg-server-ip{grid-column:1/2}.mtg-server-row .mtg-status-pill{grid-column:2/3;grid-row:1/3}.mtg-server-row .mtg-copy{display:none}.mtg-category-head{min-height:56px;background-position:80% 50%!important}.mtg-forum-cols td:nth-child(5),.mtg-forum-row td:nth-child(5){display:none}.mtg-forum-icon-cell{width:48px!important}.mtg-count-cell{display:none!important}.mtg-forum-main{padding-left:6px!important}.mtg-forum-main strong>a{font-size:10.5px}.mtg-forum-main .smalltext{font-size:9px!important}.post.classic .post_author{width:100%!important;display:block!important;border-right:0!important;border-bottom:1px solid var(--mtg-line2)!important}.post.classic .post_content{display:block!important;width:100%!important}.post.classic .post_author,.post.classic .post_content{float:none!important}.mtg-footer-main{padding:20px 0}.mtg-footer-nav{gap:9px}}


/* =========================================================
   MYTYLKOGRAMY REDLINE V16 - INTERNAL PAGES POLISH PASS
   ========================================================= */

/* A little larger and calmer than V13.1. */
body{font-size:14px!important;letter-spacing:0!important}
.smalltext{font-size:11px!important;line-height:1.45!important}
.thead{font-size:12px!important;padding:13px 15px!important}
.tcat{font-size:10px!important;padding:9px 12px!important}
.trow1,.trow2{padding:12px 14px!important}
.navigation{font-size:11px!important;padding:11px 14px!important;margin-bottom:18px!important}
.mtg-content-wrap{padding-top:20px!important}

/* Buttons now look like one system, not mixed default MyBB controls. */
.button,input.button,a.button,.postbit_buttons>a{transition:border-color .16s ease,background .16s ease,transform .16s ease,box-shadow .16s ease!important}
.button:hover,input.button:hover,a.button:hover,.postbit_buttons>a:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(255,49,72,.15)!important}
.button:active,input.button:active,a.button:active{transform:none}

/* ----- AUTH V2 ----- */
.mtg-auth-v2{max-width:1030px;margin:12px auto 34px;display:grid;grid-template-columns:.9fr 1.1fr;border:1px solid #1f3040;border-radius:16px;overflow:hidden;background:#07111b;box-shadow:0 28px 80px rgba(0,0,0,.34)}
.mtg-auth-art{position:relative;min-height:470px;padding:44px;display:flex;flex-direction:column;justify-content:flex-end;background:
linear-gradient(180deg,rgba(4,10,16,.12),rgba(4,10,16,.94)),url(../../../images/mtg-v16/hero.webp) center/cover no-repeat}
.mtg-auth-art:after{content:"";position:absolute;inset:0;border-right:1px solid rgba(255,49,72,.28);pointer-events:none}
.mtg-auth-art>*{position:relative;z-index:1}.mtg-auth-kicker,.mtg-reg-kicker,.mtg-profile-kicker{color:#ff4056;font-size:10px;font-weight:950;letter-spacing:1.8px;text-transform:uppercase}
.mtg-auth-art h1{margin:8px 0 10px;color:#fff;font-size:40px;line-height:1.02}.mtg-auth-art p{max-width:390px;margin:0;color:#a7b5c5;font-size:13px}.mtg-auth-points{display:grid;gap:9px;margin-top:24px}.mtg-auth-points span{display:flex;align-items:center;gap:10px;color:#d4dde7;font-size:12px}.mtg-auth-points span:before{content:"";width:7px;height:7px;border-radius:50%;background:#ff3148;box-shadow:0 0 0 4px rgba(255,49,72,.09)}
.mtg-auth-form{padding:42px 46px;background:radial-gradient(circle at 100% 0,rgba(255,49,72,.055),transparent 34%),#07121c}.mtg-auth-formhead{margin-bottom:26px}.mtg-auth-formhead h2{margin:5px 0 6px;color:#f7f9fb;font-size:25px}.mtg-auth-formhead p{margin:0;color:#76889b;font-size:12px}.mtg-field{margin-bottom:17px}.mtg-field label{display:flex;justify-content:space-between;gap:12px;margin-bottom:7px;color:#d8e0e8;font-size:11px;font-weight:850}.mtg-field input.textbox{width:100%!important;height:46px!important;padding:0 13px!important;border-radius:9px!important;background:#040b12!important}.mtg-auth-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:2px 0 22px;color:#9dadbd;font-size:11px}.mtg-auth-row label{display:flex;align-items:center;gap:7px}.mtg-auth-row a{color:#ff6375!important}.mtg-auth-submit{width:100%!important;height:44px!important}.mtg-auth-sep{display:flex;align-items:center;gap:12px;margin:22px 0;color:#536578;font-size:9px;text-transform:uppercase;letter-spacing:1px}.mtg-auth-sep:before,.mtg-auth-sep:after{content:"";height:1px;flex:1;background:#172532}.mtg-auth-register{display:flex;align-items:center;justify-content:center;height:42px;border:1px solid #2a3c4c;border-radius:8px;background:#0a1722;color:#e2e8ef!important;font-size:10px;font-weight:900;text-transform:uppercase}.mtg-auth-register:hover{border-color:#415568;background:#0d1b28}.mtg-auth-captcha{width:100%;margin:0 0 15px!important}.mtg-auth-captcha:empty{display:none}

/* ----- REGISTRATION / AGREEMENT ----- */
.mtg-register-page{max-width:1110px;margin:10px auto 32px}.mtg-register-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:16px;padding:28px 30px;border:1px solid #1f3040;border-radius:14px;background:radial-gradient(circle at 80% 0,rgba(255,49,72,.11),transparent 32%),linear-gradient(135deg,#091522,#06101a);box-shadow:0 20px 55px rgba(0,0,0,.22)}.mtg-register-hero h1{margin:6px 0 5px;color:#fff;font-size:30px}.mtg-register-hero p{margin:0;max-width:680px;color:#8193a6}.mtg-steps{display:flex;gap:8px}.mtg-step{display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid #223544;border-radius:8px;background:#07131e;color:#7f91a4;font-size:9px;font-weight:850;text-transform:uppercase}.mtg-step b{display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#101f2d;color:#9eb0c2}.mtg-step.is-active{border-color:rgba(255,49,72,.42);color:#f1f5f9;background:rgba(255,49,72,.07)}.mtg-step.is-active b{background:#ff3148;color:#fff}
.mtg-register-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:15px}.mtg-reg-card{padding:22px;border:1px solid #1f3040;border-radius:13px;background:#07121c;box-shadow:0 15px 42px rgba(0,0,0,.18)}.mtg-reg-card h2{display:flex;align-items:center;gap:10px;margin:0 0 5px;color:#f6f8fb;font-size:15px}.mtg-reg-card h2:before{content:"";width:4px;height:19px;border-radius:5px;background:#ff3148}.mtg-reg-card>.smalltext,.mtg-reg-help{display:block;margin-bottom:17px;color:#74869a!important}.mtg-form-table{width:100%;border-collapse:separate;border-spacing:0 8px}.mtg-form-table td{padding:0 5px!important;background:transparent!important;border:0!important;vertical-align:top}.mtg-form-table label,.mtg-form-table .smalltext{color:#9dadbd!important;font-size:10px!important;font-weight:700}.mtg-form-table input.textbox{width:100%!important;height:42px!important}.mtg-reg-card fieldset{margin:14px 0 0!important;padding:15px!important;background:#06101a!important;border-color:#1d2d3b!important}.mtg-reg-card fieldset legend{padding:0 7px;color:#edf2f7!important}.mtg-reg-card fieldset table{width:100%!important}.mtg-reg-card fieldset td{padding:4px!important;background:transparent!important;border:0!important}.mtg-reg-card input[type=checkbox],.mtg-reg-card input[type=radio]{accent-color:#ff3148}.mtg-pref-list{display:grid;gap:11px;margin-top:16px}.mtg-pref-list label{display:grid;grid-template-columns:18px 1fr;gap:10px;align-items:start;color:#aebac7;font-size:11px}.mtg-pref-list small{display:block;color:#64788b;font-size:9px;line-height:1.4}.mtg-reg-select{margin-top:18px}.mtg-reg-select label{display:block;margin-bottom:6px;color:#d6dfe8;font-size:10px;font-weight:850}.mtg-reg-select select{width:100%;min-height:42px}.mtg-register-actions{display:flex;justify-content:center;gap:10px;margin:18px 0 0}.mtg-register-actions .button{min-width:180px;height:43px}.mtg-reg-login-link{display:block;margin-top:12px;text-align:center;color:#74869a;font-size:10px}.mtg-reg-login-link a{color:#ff6375!important;font-weight:800}
.mtg-agreement{max-width:1000px;margin:10px auto 32px}.mtg-agreement-card{overflow:hidden;border:1px solid #1f3040;border-radius:14px;background:#07121c;box-shadow:0 22px 65px rgba(0,0,0,.26)}.mtg-agreement-head{padding:26px 28px;border-bottom:1px solid rgba(255,49,72,.25);background:radial-gradient(circle at 90% 0,rgba(255,49,72,.11),transparent 30%),#091522}.mtg-agreement-head h1{margin:6px 0 5px;color:#fff;font-size:28px}.mtg-agreement-head p{margin:0;color:#8395a8}.mtg-agreement-body{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;padding:20px}.mtg-rule{padding:17px;border:1px solid #1c2d3b;border-radius:10px;background:#06101a}.mtg-rule b{display:block;margin-bottom:7px;color:#f1f5f9;font-size:12px}.mtg-rule p{margin:0;color:#8496a9;font-size:11px;line-height:1.6}.mtg-agreement-note{margin:0 20px 20px;padding:13px 15px;border-left:3px solid #ff3148;border-radius:7px;background:rgba(255,49,72,.06);color:#9cabb9;font-size:10px}.mtg-agreement-actions{display:flex;justify-content:center;padding:0 20px 22px}.mtg-agreement-actions .button{min-width:180px;height:42px}

/* ----- USER CP + PRIVATE MESSAGES ----- */
.usercp_nav_item{position:relative!important;display:flex!important;align-items:center!important;min-height:38px!important;padding:8px 11px 8px 34px!important;margin:0!important;background-image:none!important;border-radius:7px!important;color:#aebbc8!important;font-size:10px!important;font-weight:700!important;transition:.15s ease!important}
.usercp_nav_item:before{content:"";position:absolute;left:13px;top:50%;width:7px;height:7px;transform:translateY(-50%);border:2px solid #66798c;border-radius:2px;opacity:.9}.usercp_nav_item:hover{background:#0c1a27!important;color:#fff!important}.usercp_nav_item:hover:before{border-color:#ff4056;box-shadow:0 0 0 4px rgba(255,49,72,.07)}
.usercp_nav_item img{display:none!important}.tcat_menu{padding:11px 12px!important;background:#050d15!important;color:#8fa1b4!important;letter-spacing:.8px!important}.tcat_menu .expcolimage{margin-top:2px}.tcat_menu+tr .trow1{padding:4px 6px!important}
/* side menu card: make it visually separate from main content */
td[width="180"]>.tborder,td[width="200"]>.tborder,td[width="220"]>.tborder{position:sticky;top:82px}
.usercp_nav_home:before{border-radius:50%}.usercp_nav_composepm:before{border-radius:50%;border-color:#ff4056}.usercp_nav_editsig:before,.usercp_nav_avatar:before,.usercp_nav_profile:before{transform:translateY(-50%) rotate(45deg)}
/* PM list */
.pm_new,.pm_old,.pm_repliedto,.pm_forwarded{filter:saturate(.3) brightness(1.5)}

/* ----- FORUM DISPLAY / LISTS ----- */
.forumdisplay_sticky,.threadlist{border-radius:12px!important;overflow:hidden!important}.threadlist .tcat{background:#06101a!important}.threadlist td{vertical-align:middle!important}.threadlist .subject_new,.threadlist .subject_old{font-size:12px!important;font-weight:800!important}.threadlist .author{font-size:10px!important}.forumdisplay_regular .trow1,.forumdisplay_regular .trow2,.forumdisplay_sticky .trow1,.forumdisplay_sticky .trow2{min-height:52px}.forumdisplay_sticky+br{display:none}.pagination{margin:8px 0!important}.forumdisplay_threadlist .button,.float_right .button{border-radius:8px!important}
/* controls beneath lists */
select[name="sortby"],select[name="order"],select[name="datecut"],select[name="fid"]{min-height:38px!important}

/* ----- POSTS / PROFILE STRIP ----- */
.post{border-radius:13px!important;background:#07121c!important}.post .post_author{padding:14px!important;background:linear-gradient(180deg,#0b1722,#08131d)!important;border-bottom:1px solid #20303d!important;color:#aebbc8!important}.post:not(.classic) .post_author{display:flex!important;align-items:center!important;gap:13px!important}.post:not(.classic) .author_avatar{float:none!important;margin:0!important}.author_avatar img{width:58px!important;height:58px!important;object-fit:cover!important;border:2px solid #2b3c4c!important;border-radius:11px!important;background:#050b11!important;box-shadow:0 7px 20px rgba(0,0,0,.24)}.post .author_information{flex:1}.post .author_information .largetext,.post .author_information .largetext a{color:#fff!important;font-size:15px!important;font-weight:900!important}.post .author_information .smalltext{color:#7f91a3!important}.post .author_statistics{min-width:180px;color:#7e90a3!important;font-size:10px!important;line-height:1.55!important}.post:not(.classic) .author_statistics{text-align:right!important}.post .post_content{padding:0!important;background:#07121c!important}.post_head{min-height:39px!important;padding:10px 13px!important;background:#06101a!important}.post_body{min-height:100px;padding:17px 15px!important;color:#d2dbe4!important;font-size:13px!important;line-height:1.72!important}.post_meta{padding:0 15px 12px!important;color:#66798b!important;font-size:10px!important}.signature{margin:3px 15px 12px!important;padding:12px 0 0!important}.post_controls{padding:9px 12px!important}.post_controls a{min-height:31px!important;padding:0 10px!important;background:#081621!important}.postbit_buttons a span{background-image:none!important;padding-left:0!important}.post img[src*="star"]{opacity:.55;filter:grayscale(1) brightness(1.8)}
.post.classic{display:grid!important;grid-template-columns:210px minmax(0,1fr)!important}.post.classic .post_author{width:auto!important;grid-row:1 / span 2;display:block!important;border-right:1px solid #20303d!important;border-bottom:0!important}.post.classic .post_content{width:auto!important;min-width:0!important}.post.classic .post_controls{grid-column:1 / 3}.post.classic .author_statistics{min-width:0;margin-top:12px!important;text-align:left!important}.post.classic .author_avatar{margin:0 0 12px!important}.post.classic .author_information{margin:0!important}

/* ----- SCEditor / posting forms ----- */
.sceditor-container{border:1px solid #243544!important;border-radius:9px!important;overflow:hidden!important;background:#06101a!important}.sceditor-toolbar{padding:7px!important;background:#091621!important;border-bottom:1px solid #20303d!important}.sceditor-group{margin:2px 4px 2px 0!important;border:0!important;background:transparent!important}.sceditor-button{width:27px!important;height:27px!important;margin:1px!important;border:1px solid #273947!important;border-radius:5px!important;background:#0c1a26!important}.sceditor-button:hover,.sceditor-button.active{background:#132434!important;border-color:#40576a!important}.sceditor-button div{opacity:.8}.sceditor-container textarea{background:#050c13!important;color:#dce5ee!important;font-size:13px!important}.sceditor-resize-cover{background:#07121c!important}.sceditor-grip{background-color:#07121c!important}.smilie_pointer{cursor:pointer}.smilie_pointer:hover{transform:scale(1.08)}
/* new thread / reply tables */
form[action*="newthread.php"]>.tborder,form[action*="newreply.php"]>.tborder,form[action*="editpost.php"]>.tborder{border-radius:13px!important}.posticons_label{color:#a9b7c5!important}.posticons_label img{vertical-align:middle}.messageEditor{background:#07121c!important}

/* ----- MEMBER PROFILE V2 ----- */
.mtg-profile{max-width:1080px;margin:10px auto 30px}.mtg-profile-hero{position:relative;display:grid;grid-template-columns:auto 1fr auto;gap:20px;align-items:center;padding:25px;border:1px solid #203140;border-radius:14px;background:radial-gradient(circle at 85% 10%,rgba(255,49,72,.11),transparent 30%),linear-gradient(135deg,#0a1722,#06101a);box-shadow:0 20px 58px rgba(0,0,0,.24);overflow:hidden}.mtg-profile-hero:after{content:"";position:absolute;right:-45px;bottom:-85px;width:280px;height:190px;background:url(../../../images/mtg-v16/hero.webp) center/cover no-repeat;opacity:.16;transform:rotate(-6deg);mask-image:linear-gradient(90deg,transparent,#000)}.mtg-profile-avatar{position:relative;z-index:2;width:92px;height:92px;display:grid;place-items:center;border:1px solid #34495b;border-radius:16px;background:#050b12;overflow:hidden}.mtg-profile-avatar img{width:92px!important;height:92px!important;object-fit:cover!important}.mtg-profile-info{position:relative;z-index:2}.mtg-profile-info h1{margin:4px 0 3px;color:#fff;font-size:26px}.mtg-profile-info p{margin:0;color:#8294a7}.mtg-profile-badges{margin-top:9px}.mtg-profile-badges img{max-height:34px}.mtg-profile-side{position:relative;z-index:2;text-align:right;color:#8fa0b2;font-size:10px}.mtg-profile-side b{display:block;margin-bottom:5px;color:#dce4ec}.mtg-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:15px}.mtg-profile-card{padding:0;border:1px solid #203140;border-radius:12px;background:#07121c;overflow:hidden}.mtg-profile-cardhead{padding:13px 15px;border-bottom:1px solid rgba(255,49,72,.28);background:#091621;color:#f3f6f9;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.5px}.mtg-profile-card table{margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}.mtg-profile-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:14px}.mtg-profile .tborder{box-shadow:none!important}.mtg-profile .mtg-profile-grid>.mtg-profile-column>.tborder{margin-bottom:15px!important}

/* ----- FOOTER V2 ----- */
#footer{margin-top:42px!important}.mtg-footer-main{padding:30px 0!important}.mtg-footer-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:50px;align-items:start}.mtg-footer-nav{justify-content:flex-end!important;gap:7px 15px!important}.mtg-footer-nav a{font-size:10px!important}.mtg-footer-meta{margin-top:9px;text-align:right;color:#5f7183;font-size:9px}.mtg-footer-bottom .wrapper{min-height:46px!important}.mtg-footer-bottom span:last-child{color:#ff5267}

/* Remove pieces that looked like leftover default MyBB. */
.mtg-footer-tools{display:none!important}#debug{opacity:.45;font-size:9px!important}.legend{opacity:.85}.go_page{background:#07121c!important;border-color:#243544!important}

/* ----- MOBILE ----- */
@media(max-width:900px){.mtg-auth-v2{grid-template-columns:1fr}.mtg-auth-art{min-height:240px;padding:30px}.mtg-auth-art:after{border-right:0;border-bottom:1px solid rgba(255,49,72,.25)}.mtg-register-grid,.mtg-profile-grid,.mtg-footer-grid{grid-template-columns:1fr}.mtg-register-hero{align-items:flex-start;flex-direction:column}.mtg-profile-hero{grid-template-columns:auto 1fr}.mtg-profile-side{grid-column:1/3;text-align:left}.post.classic{display:block!important}.post.classic .post_author{border-right:0!important;border-bottom:1px solid #20303d!important}.post.classic .post_controls{display:block!important}.mtg-footer-nav{justify-content:flex-start!important}.mtg-footer-meta{text-align:left}}
@media(max-width:620px){.mtg-auth-form{padding:27px 22px}.mtg-auth-art{min-height:210px;padding:25px}.mtg-auth-art h1{font-size:31px}.mtg-register-hero{padding:21px}.mtg-reg-card{padding:16px}.mtg-steps{flex-wrap:wrap}.mtg-agreement-body{grid-template-columns:1fr}.mtg-profile-hero{grid-template-columns:1fr;text-align:center}.mtg-profile-avatar{margin:auto}.mtg-profile-side{grid-column:1;text-align:center}.post:not(.classic) .post_author{display:block!important}.post:not(.classic) .author_statistics{text-align:left!important;margin-top:10px}.mtg-form-table tr{display:block}.mtg-form-table td{display:block;width:100%!important;margin-bottom:6px}.mtg-register-actions{display:block}.mtg-register-actions .button{width:100%;margin-bottom:8px}}


/* =========================================================
   MYTYLKOGRAMY REDLINE V16 - FINAL POLISH + THREAD STATUSES
   ========================================================= */
:root{--mtg-card:#07121c;--mtg-card2:#091723;--mtg-card3:#050d15;--mtg-border:#1d3040;--mtg-muted:#8092a5;--mtg-text:#dce5ee;--mtg-red2:#ff3148;--mtg-green:#15df6d}
html,body{min-width:0!important;max-width:100%!important}body{overflow-x:hidden!important;background:#02070c!important;color:var(--mtg-text)!important}
*,*:before,*:after{box-sizing:border-box}.wrapper{max-width:1280px!important}.mtg-content-wrap>.wrapper{min-width:0!important}
img{max-width:100%;height:auto}table{max-width:100%}a{transition:color .15s ease,opacity .15s ease,border-color .15s ease,background .15s ease}

/* Universal cards/tables - remove remaining 2000s MyBB edges. */
.tborder{border:1px solid var(--mtg-border)!important;border-radius:12px!important;overflow:hidden!important;background:var(--mtg-card)!important;box-shadow:0 12px 34px rgba(0,0,0,.14)!important}
.thead{background:linear-gradient(90deg,#0a1722,#08131d)!important;border-bottom:1px solid rgba(255,49,72,.38)!important;color:#f6f8fa!important;text-shadow:none!important}
.tcat{background:#050e16!important;border-bottom:1px solid #172735!important;color:#8ea0b3!important}.trow1,.trow2{background:#07131d!important;color:#cbd6e0!important;border-color:#172938!important}.trow2{background:#081520!important}
.trow1 a,.trow2 a{color:#dce6ef!important}.trow1 a:hover,.trow2 a:hover{color:#ff6072!important}
hr{border:0;border-top:1px solid #1a2a37}.expcolimage{opacity:.72}.expcolimage:hover{opacity:1}

/* Forms: one consistent system everywhere. */
input.textbox,input[type=text],input[type=password],input[type=email],input[type=number],textarea,select{max-width:100%!important;border:1px solid #263b4c!important;border-radius:8px!important;background:#040c13!important;color:#e4ebf2!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.015)!important;outline:none!important}
input.textbox,input[type=text],input[type=password],input[type=email],input[type=number],select{min-height:40px;padding:0 12px!important}textarea{padding:12px!important;line-height:1.55!important;resize:vertical}
input:focus,textarea:focus,select:focus{border-color:#cf3449!important;box-shadow:0 0 0 3px rgba(255,49,72,.08)!important}
input[type=checkbox],input[type=radio]{accent-color:#ff3148}.button,input.button,a.button{min-height:38px!important;padding:0 15px!important;border:1px solid #ff4056!important;border-radius:8px!important;background:linear-gradient(180deg,#ff3c53,#e5233c)!important;color:#fff!important;font-size:10px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.15px!important;text-shadow:none!important}.button:hover,input.button:hover,a.button:hover{background:linear-gradient(180deg,#ff5267,#ed2a43)!important}

/* Breadcrumb/navigation becomes compact and aligned. */
.navigation{display:flex!important;align-items:center!important;min-height:48px!important;padding:11px 14px!important;margin:0 0 20px!important;border:1px solid #1c2c39!important;border-radius:10px!important;background:#07131d!important;color:#8395a7!important;line-height:1.5!important}.navigation a{color:#aebdca!important;font-weight:700}.navigation .active{color:#fff!important}.navigation br{display:none!important}

/* Forumdisplay: controls and thread table. */
.mtg-page-forumdisplay .float_left,.mtg-page-forumdisplay .float_right{max-width:100%}.mtg-page-forumdisplay .forumdisplay_regular,.mtg-page-forumdisplay .forumdisplay_sticky{margin-bottom:14px!important}.mtg-page-forumdisplay .threadlist{table-layout:fixed!important}.mtg-page-forumdisplay .threadlist td{padding-top:11px!important;padding-bottom:11px!important}.mtg-page-forumdisplay .threadlist .trow1:hover,.mtg-page-forumdisplay .threadlist .trow2:hover{background:#0a1824!important}.mtg-page-forumdisplay .threadlist .subject_new,.mtg-page-forumdisplay .threadlist .subject_old{font-size:13px!important}.mtg-page-forumdisplay select{min-width:130px}.mtg-page-forumdisplay form{max-width:100%}.mtg-page-forumdisplay .inline_row{background:#06111a!important}.mtg-page-forumdisplay .forumdisplay_threadlist{clear:both}

/* NEW THREAD / NEW REPLY / EDIT POST: fix giant uneven table layout. */
.mtg-page-newthread .tborder,.mtg-page-newreply .tborder,.mtg-page-editpost .tborder{table-layout:fixed!important;margin-bottom:18px!important}
.mtg-page-newthread .tborder>tbody>tr>td:first-child,.mtg-page-newreply .tborder>tbody>tr>td:first-child,.mtg-page-editpost .tborder>tbody>tr>td:first-child{width:210px!important;vertical-align:top!important;color:#dce5ee!important;font-weight:800!important}
.mtg-page-newthread .tborder>tbody>tr>td,.mtg-page-newreply .tborder>tbody>tr>td,.mtg-page-editpost .tborder>tbody>tr>td{border-color:#1a2c3a!important;padding:12px!important}
.mtg-page-newthread input.textbox,.mtg-page-newreply input.textbox,.mtg-page-editpost input.textbox{width:min(100%,620px)!important}.mtg-page-newthread textarea,.mtg-page-newreply textarea,.mtg-page-editpost textarea{width:100%!important}
.mtg-page-newthread .posticons_label,.mtg-page-newreply .posticons_label{white-space:nowrap}.mtg-page-newthread .posticons,.mtg-page-newreply .posticons{line-height:2.1}.mtg-page-newthread .posticons img,.mtg-page-newreply .posticons img{vertical-align:middle}

/* SCEditor - force every light fragment dark, including iframe document. */
.sceditor-container{width:100%!important;border:1px solid #263a49!important;border-radius:10px!important;background:#050d15!important;box-shadow:none!important}.sceditor-toolbar{display:flex!important;flex-wrap:wrap!important;gap:3px!important;padding:8px!important;background:#081621!important}.sceditor-group{display:flex!important;gap:2px!important;padding:0!important;margin:0 3px 0 0!important;background:transparent!important;border:0!important}.sceditor-button{float:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:29px!important;height:29px!important;padding:0!important;border:1px solid #263a49!important;border-radius:6px!important;background:#0b1a26!important}.sceditor-button:hover,.sceditor-button.active{background:#122534!important;border-color:#455f72!important}.sceditor-container iframe,.sceditor-container textarea{min-height:300px!important;background:#040b12!important;color:#e0e8ef!important;border:0!important}.sceditor-container textarea{padding:15px!important}.sceditor-resize-cover,.sceditor-grip{background:#07131d!important;border-color:#1e3040!important}
.smilie_pointer{margin:4px!important;transition:transform .12s}.smilie_pointer:hover{transform:scale(1.1)}

/* Classic postbit rebuilt as a stable grid. This eliminates the white author strip. */
.post,.post.classic{margin-bottom:18px!important;border:1px solid #203443!important;border-radius:13px!important;overflow:hidden!important;background:#07121c!important;box-shadow:0 16px 40px rgba(0,0,0,.18)!important}
.post.classic{display:grid!important;grid-template-columns:235px minmax(0,1fr)!important;align-items:stretch!important}
.post.classic .post_author{grid-column:1!important;grid-row:1!important;width:auto!important;min-width:0!important;float:none!important;display:block!important;padding:20px 17px!important;border:0!important;border-right:1px solid #1d3040!important;background:linear-gradient(180deg,#0b1925,#07131d)!important;color:#9dadbc!important}
.post.classic .post_content{grid-column:2!important;grid-row:1!important;display:block!important;width:auto!important;min-width:0!important;float:none!important;background:#07121c!important}
.post.classic .post_controls{grid-column:1/-1!important;grid-row:2!important;clear:both!important;border-top:1px solid #1b2d3b!important;background:#050e16!important}
.post.classic .author_avatar{float:none!important;margin:0 0 13px!important;text-align:center!important}.post.classic .author_avatar img{width:82px!important;height:82px!important;border-radius:14px!important}.post.classic .author_information{text-align:center!important}.post.classic .author_information .largetext,.post.classic .author_information .largetext a{font-size:16px!important}.post.classic .author_statistics{min-width:0!important;margin:15px 0 0!important;padding-top:13px!important;border-top:1px solid #1d3040!important;text-align:left!important;font-size:10px!important;line-height:1.75!important;color:#8799aa!important}
.post .post_head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:44px!important;padding:10px 15px!important;border-bottom:1px solid #1b2c39!important;background:#06111a!important;color:#74879a!important}.post .post_head a{color:#aab8c5!important}.post .post_body{min-height:125px!important;padding:20px 18px!important;color:#d6dfe7!important;font-size:13px!important;line-height:1.72!important;overflow-wrap:anywhere}.post .post_meta{padding:0 18px 14px!important}.post .signature{margin:0 18px 15px!important;border-top:1px dashed #223542!important;color:#8395a7!important}.post_controls{min-height:48px!important;padding:8px 12px!important}.postbit_buttons{display:flex!important;flex-wrap:wrap!important;gap:6px!important}.postbit_buttons>a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:32px!important;margin:0!important;padding:0 10px!important;border:1px solid #253a49!important;border-radius:7px!important;background:#0a1823!important;color:#c8d3de!important;font-size:9px!important;font-weight:850!important}.postbit_buttons>a:hover{border-color:#ff4056!important;background:#111f2b!important;color:#fff!important}.postbit_buttons a span{padding:0!important;background:none!important}

/* Showthread top/bottom controls + quick reply. */
.mtg-page-showthread .float_right .button{min-height:39px!important}.mtg-page-showthread .quick_reply{margin-top:20px!important}.mtg-page-showthread #quick_reply_form .tborder{margin-top:18px!important}.mtg-page-showthread #quick_reply_form textarea{width:100%!important;min-height:160px!important}.mtg-page-showthread .thread_tools,.mtg-page-showthread .moderation_options{border-radius:10px!important}.mtg-page-showthread .star_rating{opacity:.85}

/* Thread status artwork system. */
.mtg-thread-status-zone{width:min(100%,760px);margin:4px auto 24px!important;text-align:center}.mtg-thread-status-banner{display:block;width:min(100%,600px);margin:0 auto;filter:drop-shadow(0 16px 28px rgba(0,0,0,.30))}.mtg-thread-status-banner img{display:block;width:100%;height:auto;margin:0 auto}.mtg-thread-status-admin{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;width:min(100%,600px);margin:9px auto 0;padding:9px 10px;border:1px solid #1e3140;border-radius:9px;background:rgba(5,14,22,.96);box-shadow:0 10px 28px rgba(0,0,0,.16)}.mtg-thread-status-admin label{color:#8193a5;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.65px}.mtg-thread-status-admin select{min-width:210px!important;min-height:34px!important;height:34px!important;font-size:10px!important}.mtg-thread-status-admin .button{min-height:34px!important;height:34px!important;padding:0 12px!important;font-size:9px!important}.mtg-thread-status-hint{width:100%;color:#566a7c;font-size:9px}.mtg-status-flash{margin:0 auto 12px;padding:9px 12px;border:1px solid rgba(21,223,109,.25);border-radius:8px;background:rgba(21,223,109,.06);color:#8dddb0;font-size:10px}

/* UserCP / PM: stable columns, no crushed sidebar. */
.mtg-page-usercp .usercp_nav,.mtg-page-private .usercp_nav{width:220px!important;min-width:220px!important}.mtg-page-usercp table[width="100%"],.mtg-page-private table[width="100%"]{max-width:100%!important}.mtg-page-private .tborder td,.mtg-page-usercp .tborder td{vertical-align:middle!important}.usercp_nav_item{min-height:40px!important;font-size:10.5px!important}.usercp_nav_item:before{width:8px!important;height:8px!important}.tcat_menu{font-size:9px!important}.mtg-page-private .trow1 input.textbox{min-width:0!important}

/* Profile final pass. */
.mtg-profile{max-width:1120px!important}.mtg-profile-hero{padding:28px!important;grid-template-columns:110px minmax(0,1fr) 190px!important}.mtg-profile-avatar{width:104px!important;height:104px!important;border-radius:18px!important;box-shadow:0 15px 34px rgba(0,0,0,.25)}.mtg-profile-avatar img{width:104px!important;height:104px!important}.mtg-profile-info h1{font-size:30px!important;line-height:1.05!important}.mtg-profile-info p{font-size:12px!important}.mtg-profile-card{box-shadow:0 14px 36px rgba(0,0,0,.13)}.mtg-profile-card .trow1,.mtg-profile-card .trow2{padding:13px 15px!important}.mtg-profile-actions a{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border:1px solid #263a49;border-radius:7px;background:#091722;color:#d7e0e8!important;font-size:10px;font-weight:800}

/* Search/member list/reputation/modcp pages no longer look unthemed. */
.mtg-page-search .tborder,.mtg-page-memberlist .tborder,.mtg-page-reputation .tborder,.mtg-page-modcp .tborder{margin-bottom:18px!important}.mtg-page-memberlist .trow1,.mtg-page-memberlist .trow2{vertical-align:middle!important}.mtg-page-memberlist .avatar img{border-radius:10px!important}.mtg-page-reputation .reputation_positive{color:#28df7a!important}.mtg-page-reputation .reputation_negative{color:#ff5368!important}.mtg-page-modcp .usercp_nav{width:220px!important}

/* Notices and errors. */
.red_alert,.pm_alert,.error,.inline_error{border-radius:9px!important;border:1px solid rgba(255,49,72,.34)!important;background:#281018!important;color:#ffdbe0!important}.success_message{border:1px solid rgba(21,223,109,.3)!important;border-radius:9px!important;background:#082116!important;color:#b8f5ce!important}.information{border:1px solid #244053!important;border-radius:9px!important;background:#071621!important;color:#a9bbca!important}

/* Footer: predictable spacing even on empty pages. */
#footer{clear:both!important;margin-top:54px!important}.mtg-footer-main{min-height:120px}.mtg-footer-nav{align-items:center}.mtg-footer-nav a{padding:5px 0!important}.mtg-footer-bottom .wrapper{padding:0!important}

/* Responsive hardening. */
@media(max-width:900px){
 .post.classic{display:block!important}.post.classic .post_author,.post.classic .post_content,.post.classic .post_controls{display:block!important;width:100%!important;border-right:0!important}.post.classic .post_author{border-bottom:1px solid #1d3040!important}.post.classic .author_avatar{display:inline-block!important;vertical-align:middle!important;margin:0 13px 0 0!important}.post.classic .author_information{display:inline-block!important;vertical-align:middle!important;text-align:left!important}.post.classic .author_statistics{text-align:left!important}
 .mtg-profile-hero{grid-template-columns:100px 1fr!important}.mtg-profile-side{grid-column:1/-1!important}
 .mtg-page-newthread .tborder>tbody>tr>td:first-child,.mtg-page-newreply .tborder>tbody>tr>td:first-child,.mtg-page-editpost .tborder>tbody>tr>td:first-child{width:165px!important}
}
@media(max-width:680px){
 .navigation{font-size:10px!important}.mtg-thread-status-zone{margin-top:0!important}.mtg-thread-status-admin{align-items:stretch}.mtg-thread-status-admin label{width:100%;text-align:left}.mtg-thread-status-admin select{width:100%!important}.mtg-thread-status-admin .button{width:100%!important}
 .mtg-page-newthread .tborder,.mtg-page-newreply .tborder,.mtg-page-editpost .tborder{display:block!important}.mtg-page-newthread .tborder>tbody,.mtg-page-newthread .tborder>tbody>tr,.mtg-page-newthread .tborder>tbody>tr>td,.mtg-page-newreply .tborder>tbody,.mtg-page-newreply .tborder>tbody>tr,.mtg-page-newreply .tborder>tbody>tr>td,.mtg-page-editpost .tborder>tbody,.mtg-page-editpost .tborder>tbody>tr,.mtg-page-editpost .tborder>tbody>tr>td{display:block!important;width:100%!important}.mtg-page-newthread .tborder>tbody>tr>td:first-child,.mtg-page-newreply .tborder>tbody>tr>td:first-child,.mtg-page-editpost .tborder>tbody>tr>td:first-child{width:100%!important;padding-bottom:5px!important;border-bottom:0!important}.mtg-page-newthread .tborder>tbody>tr>td+td,.mtg-page-newreply .tborder>tbody>tr>td+td,.mtg-page-editpost .tborder>tbody>tr>td+td{padding-top:5px!important}
 .mtg-profile-hero{grid-template-columns:1fr!important;text-align:center!important}.mtg-profile-avatar{margin:auto!important}.mtg-profile-side{grid-column:1!important;text-align:center!important}.mtg-page-usercp .usercp_nav,.mtg-page-private .usercp_nav,.mtg-page-modcp .usercp_nav{width:100%!important;min-width:0!important}
}


/* =========================================================
   MYTYLKOGRAMY REDLINE V16 COMMUNITY
   Community-portal architecture, original REDLINE styling.
   ========================================================= */
:root{--mtg-wrap:1320px;--mtg-card:#07131e;--mtg-card-hover:#0a1824;--mtg-soft:#0a1621;--mtg-line3:#203343}
body{font-size:13px!important}.mtg-content-wrap{padding-top:18px!important}.mtg-home .mtg-content-wrap{padding-top:18px!important}

/* utility / header */
.mtg-socialbar{background:#040a11!important}.mtg-social-right{gap:13px!important}.mtg-social-right>a:not(.mtg-social-mini){font-size:10px!important;font-weight:700!important}.mtg-nav{min-height:66px!important}.mtg-nav-links{height:66px!important}.mtg-nav-link{font-size:10px!important;padding:0 13px!important}.mtg-nav-community{display:flex}.mtg-search-pop{position:relative}.mtg-search-pop>summary{list-style:none}.mtg-search-pop>summary::-webkit-details-marker{display:none}.mtg-search-drop{position:absolute;right:0;top:calc(100% + 12px);z-index:40;width:330px;padding:15px;border:1px solid #223544;border-radius:11px;background:#07121c;box-shadow:0 22px 70px rgba(0,0,0,.55)}.mtg-search-drop strong{display:block;margin-bottom:10px;color:#f5f7fa;font-size:12px}.mtg-search-drop input{width:100%!important;margin-bottom:9px}.mtg-search-drop .button{width:100%}.mtg-search-drop>a{display:block;margin-top:10px;text-align:center;color:#7f91a5!important;font-size:10px}
.mtg-login-pop{position:relative}.mtg-login-pop>summary{list-style:none;display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border-radius:8px;border:1px solid var(--mtg-line);background:#08121d;color:#f1f5f9;font-size:10px;font-weight:900;text-transform:uppercase;cursor:pointer;white-space:nowrap}.mtg-login-pop>summary::-webkit-details-marker{display:none}.mtg-login-pop[open]>summary{border-color:#405467;background:#0c1824}.mtg-login-drop{position:absolute;right:0;top:calc(100% + 12px);z-index:45;width:340px;padding:17px;border:1px solid #263847;border-radius:12px;background:#07121c;box-shadow:0 24px 80px rgba(0,0,0,.62)}.mtg-login-drop-head{margin-bottom:12px}.mtg-login-drop-head span{display:block;color:#ff5367;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:1px}.mtg-login-drop-head strong{display:block;margin-top:2px;color:#fff;font-size:16px}.mtg-login-drop label:not(.mtg-check){display:block;margin:8px 0;color:#8496a9;font-size:10px;font-weight:800}.mtg-login-drop label input{display:block;width:100%!important;margin-top:5px}.mtg-login-drop .mtg-check{display:flex;align-items:center;gap:7px;margin:10px 0;color:#9aacbd;font-size:10px}.mtg-login-drop .button{width:100%}.mtg-login-links{display:flex;justify-content:space-between;gap:12px;margin-top:11px}.mtg-login-links a{color:#8294a6!important;font-size:9.5px}.mtg-nav-iconlink{min-width:42px!important;padding:0 10px!important}.mtg-account-dot{width:7px;height:7px;border-radius:50%;background:#37d67a;box-shadow:0 0 0 4px rgba(55,214,122,.08);margin-right:8px}.mtg-account-card{position:absolute;right:0;top:calc(100% + 12px);width:255px;padding:8px;background:#07121c;border:1px solid #223544;border-radius:11px;box-shadow:0 22px 65px rgba(0,0,0,.55);z-index:45}.mtg-account-cardhead{padding:10px 10px 12px;border-bottom:1px solid #1b2d3b;margin-bottom:5px}.mtg-account-cardhead strong{display:block;color:#fff}.mtg-account-cardhead span{color:#718397;font-size:9px}.mtg-account-card>a,.mtg-account-card>li>a{display:block;padding:9px 10px;border-radius:7px;color:#b8c5d2!important;font-size:10px}.mtg-account-card>a:hover{background:#0c1b28;color:#fff!important}.mtg-account-card .mtg-logout{margin-top:5px;border-top:1px solid #1b2d3b;color:#ff6677!important}

/* announcements */
.mtg-announcements{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 15px}.mtg-ann-card{position:relative;display:flex;min-height:116px;padding:17px 18px 16px;border:1px solid #1c2e3d;border-radius:12px;background:linear-gradient(135deg,#081622,#07111a);overflow:hidden;box-shadow:0 14px 38px rgba(0,0,0,.15)}.mtg-ann-card:before{content:"";position:absolute;right:-35px;top:-65px;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle,rgba(255,49,72,.13),transparent 66%)}.mtg-ann-card:hover{border-color:#334758;background:#0a1824}.mtg-ann-icon{flex:0 0 38px;height:38px;display:grid;place-items:center;margin-right:12px;border-radius:10px;background:rgba(255,49,72,.11);color:#ff4359;font-weight:950}.mtg-ann-content{position:relative;z-index:1;min-width:0}.mtg-ann-badge{display:block;margin-bottom:4px;color:#ff5266;font-size:8px;font-weight:950;text-transform:uppercase;letter-spacing:1px}.mtg-ann-content strong{display:block;color:#f5f7fa;font-size:13px}.mtg-ann-content p{margin:5px 0 0;color:#7f90a3;font-size:9.5px;line-height:1.5}.mtg-ann-arrow{position:absolute;right:15px;bottom:13px;color:#ff5266;font-size:18px}.mtg-ann-card.kind-event .mtg-ann-icon{background:rgba(73,151,255,.10);color:#6bb1ff}.mtg-ann-card.kind-shop .mtg-ann-icon{background:rgba(55,214,122,.10);color:#45e58a}

/* servers V16 */
.mtg-server-status{border-left-width:1px!important}.mtg-server-headline{padding:16px 18px!important}.mtg-server-row{grid-template-columns:minmax(190px,1.35fr) minmax(170px,1fr) 88px 120px 95px 42px!important;min-height:62px!important}.mtg-server-owner{color:#8fa1b4;font-size:9px}.mtg-server-owner strong{display:block;color:#cbd6e1;font-size:10px}.mtg-server-action a{display:grid;place-items:center;width:31px;height:31px;border-radius:7px;border:1px solid #263949;background:#0b1925;color:#b9c7d4!important}.mtg-server-action a:hover{border-color:#ff4358;color:#fff!important}.mtg-server-ip button{margin-left:7px!important}

/* forum stack / categories */
.mtg-forum-stack{display:block}.mtg-forum-category{display:block!important;margin-bottom:15px!important}.mtg-forum-category>.thead{display:block!important;padding:0!important}.mtg-category-head{min-height:72px!important}.mtg-category-eyebrow{display:block;margin-bottom:1px;color:#ff4b61;font-size:7.5px;font-weight:950;letter-spacing:1.2px}.mtg-category-title strong>a{font-size:13px!important}.mtg-forum-cols{display:grid;grid-template-columns:1fr 92px 92px 230px;align-items:center;min-height:31px;padding:0 12px 0 58px;background:#050e16;border-bottom:1px solid rgba(116,139,165,.12);color:#72859a;font-size:8px;text-transform:uppercase;letter-spacing:.35px}.mtg-forum-cols div:nth-child(2),.mtg-forum-cols div:nth-child(3){text-align:center}.mtg-forum-table{width:100%;border-collapse:collapse}.mtg-forum-row>td{border-bottom:1px solid rgba(116,139,165,.11)!important}.mtg-forum-row:last-child>td{border-bottom:0!important}.mtg-forum-row:hover>td{background:#0a1824!important}.mtg-forum-mods{margin-top:5px;color:#63758a;font-size:8.5px}.mtg-forum-main .smalltext a{display:inline-block;margin:3px 4px 0 0;padding:2px 6px;border:1px solid #203443;border-radius:999px;background:#081823;color:#93a4b6!important;font-size:8px}.mtg-lastpost{font-size:9px!important}

/* community widgets */
.mtg-community-zone{margin-top:17px}.mtg-community-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:15px}.mtg-widget{border:1px solid #1d3040;border-radius:12px;background:#07131e;box-shadow:0 14px 40px rgba(0,0,0,.15);overflow:hidden}.mtg-widget-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border-bottom:1px solid #1d3040;background:linear-gradient(180deg,#0a1722,#08131d)}.mtg-widget-title{display:flex;align-items:center;gap:10px}.mtg-widget-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:rgba(255,49,72,.11);color:#ff455b;font-weight:950}.mtg-widget-head h3{margin:0;color:#f5f7fa;font-size:12px}.mtg-widget-head p{margin:2px 0 0;color:#718397;font-size:8.5px}.mtg-rank-tabs{display:flex;gap:4px}.mtg-rank-tabs button{padding:5px 8px;border:1px solid #243746;border-radius:6px;background:#081721;color:#8395a8;font-size:8px;font-weight:850;cursor:pointer}.mtg-rank-tabs button.is-active{border-color:#ff455b;background:rgba(255,49,72,.12);color:#fff}.mtg-rank-panel{display:none;padding:8px 12px 12px}.mtg-rank-panel.is-active{display:block}.mtg-ranking-list{list-style:none;margin:0;padding:0}.mtg-ranking-list li{display:grid;grid-template-columns:32px 1fr auto;gap:9px;align-items:center;min-height:50px;padding:7px 4px;border-bottom:1px solid rgba(116,139,165,.10)}.mtg-ranking-list li:last-child{border-bottom:0}.mtg-rank-place{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#0c1c29;color:#8fa1b4;font-size:9px;font-weight:950}.mtg-ranking-list li:nth-child(1) .mtg-rank-place{background:rgba(255,187,63,.13);color:#ffc95d}.mtg-ranking-list li:nth-child(2) .mtg-rank-place{background:rgba(181,199,217,.10);color:#d3dde7}.mtg-ranking-list li:nth-child(3) .mtg-rank-place{background:rgba(197,116,66,.12);color:#df976d}.mtg-rank-user a{display:block;color:#eef3f7!important;font-size:10.5px;font-weight:850}.mtg-rank-user small{display:block;color:#697c91;font-size:8px}.mtg-rank-value{color:#fff;font-size:12px;font-weight:900}.mtg-rank-value small{display:block;color:#64778b;font-size:7.5px;font-weight:600;text-align:right}.mtg-staff-list{padding:10px 12px}.mtg-staff-person{display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center;padding:8px 3px;border-bottom:1px solid rgba(116,139,165,.1)}.mtg-staff-person:last-child{border-bottom:0}.mtg-staff-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,#132536,#0b1722);border:1px solid #2b4052;color:#ff5366;font-weight:950}.mtg-staff-name a{color:#edf2f7!important;font-size:10.5px;font-weight:850}.mtg-staff-name small{display:block;color:#718397;font-size:8px}.mtg-staff-contact{font-size:8px;color:#ff5366!important;font-weight:850}.mtg-widget-foot{padding:9px 14px;border-top:1px solid #1b2d3b;text-align:right}.mtg-widget-foot a{color:#ff5266!important;font-size:8.5px;font-weight:900;text-transform:uppercase}

/* support */
.mtg-support-card{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center;margin-top:15px;padding:22px 24px;border:1px solid #2a3340;border-radius:13px;background:radial-gradient(circle at 20% 0,rgba(255,49,72,.12),transparent 32%),linear-gradient(135deg,#0a1722,#07111a);overflow:hidden;position:relative}.mtg-support-card:after{content:"MTG";position:absolute;right:170px;top:50%;transform:translateY(-50%);font-size:86px;font-weight:950;color:rgba(255,255,255,.018);letter-spacing:-6px}.mtg-support-copy{position:relative;z-index:1}.mtg-support-copy span{color:#ff5267;font-size:8px;font-weight:950;text-transform:uppercase;letter-spacing:1px}.mtg-support-copy h3{margin:4px 0;color:#fff;font-size:18px}.mtg-support-copy p{max-width:700px;margin:0;color:#8193a7;font-size:10px}.mtg-support-card>a{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 18px;border-radius:8px;background:linear-gradient(180deg,#ff3d53,#e9253d);border:1px solid #ff455a;color:#fff!important;font-size:9px;font-weight:950;text-transform:uppercase}

/* community stats */
.mtg-stats-v16{margin-top:15px;border:1px solid #1d3040;border-radius:12px;background:#07131e;overflow:hidden}.mtg-stats-grid{display:grid;grid-template-columns:1.15fr .85fr}.mtg-online-box{padding:16px;border-right:1px solid #1d3040}.mtg-online-box h3,.mtg-forum-numbers h3{margin:0 0 4px;color:#f5f7fa;font-size:12px}.mtg-online-box>p,.mtg-forum-numbers>p{margin:0;color:#74869a;font-size:9px}.mtg-online-summary{display:flex;flex-wrap:wrap;gap:7px;margin:13px 0}.mtg-stat-pill{padding:6px 9px;border:1px solid #203443;border-radius:999px;background:#081721;color:#9aacbd;font-size:8.5px}.mtg-stat-pill b{color:#fff}.mtg-online-users{display:flex;flex-wrap:wrap;gap:6px}.mtg-online-users a{padding:4px 7px;border-radius:6px;background:#0a1a27;color:#b8c6d4!important;font-size:8.5px}.mtg-forum-numbers{padding:16px}.mtg-number-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:12px}.mtg-number{padding:12px;border:1px solid #1d3040;border-radius:9px;background:#081721}.mtg-number span{display:block;color:#718397;font-size:8px;text-transform:uppercase}.mtg-number strong{display:block;margin-top:2px;color:#fff;font-size:17px}.mtg-newest-user{margin-top:8px;color:#7d8fa2;font-size:9px}.mtg-newest-user a{color:#ff5a6d!important;font-weight:850}

/* profile V16 */
.mtg-profile-v16{margin-bottom:24px}.mtg-profile-cover{position:relative;display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:end;min-height:190px;padding:28px;border:1px solid #203241;border-radius:14px;background:#07131e;overflow:hidden;box-shadow:0 18px 50px rgba(0,0,0,.22)}.mtg-profile-cover-bg{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,10,16,.95),rgba(4,10,16,.68)),url(../../../images/mtg-v16/hero.webp) center/cover no-repeat;opacity:.78}.mtg-profile-cover:after{content:"";position:absolute;inset:auto 0 0;height:3px;background:linear-gradient(90deg,#ff3148,transparent 55%)}.mtg-profile-avatar-big,.mtg-profile-identity,.mtg-profile-actions-top{position:relative;z-index:2}.mtg-profile-avatar-big img{width:112px!important;height:112px!important;object-fit:cover;border-radius:16px;border:3px solid #182a38;box-shadow:0 15px 40px rgba(0,0,0,.4)}.mtg-profile-identity h1{margin:2px 0 2px;color:#fff;font-size:28px;line-height:1}.mtg-profile-kicker{color:#ff5367;font-size:8px;font-weight:950;letter-spacing:1.4px}.mtg-profile-role{color:#a9b7c5;font-size:10px}.mtg-profile-badges{margin-top:8px}.mtg-profile-actions-top{display:flex;gap:7px}.mtg-profile-action{padding:8px 11px;border:1px solid #314454;border-radius:8px;background:#081721;color:#d5dfe8!important;font-size:9px;font-weight:850}.mtg-profile-action:hover{border-color:#ff455b;color:#fff!important}.mtg-profile-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin:12px 0;border:1px solid #1d3040;border-radius:11px;overflow:hidden;background:#1d3040}.mtg-profile-metrics>div{padding:13px 15px;background:#07131e}.mtg-profile-metrics span{display:block;color:#6f8296;font-size:8px;text-transform:uppercase}.mtg-profile-metrics strong{display:block;margin-top:2px;color:#fff;font-size:13px}.mtg-profile-layout{display:grid;grid-template-columns:1fr 330px;gap:13px}.mtg-profile-main,.mtg-profile-aside{display:flex;flex-direction:column;gap:13px}.mtg-profile-panel{border:1px solid #1d3040;border-radius:11px;background:#07131e;overflow:hidden}.mtg-profile-panelhead{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #1d3040;background:#081722}.mtg-profile-panelhead strong{color:#f2f5f8;font-size:11px}.mtg-profile-panelhead span{color:#697c91;font-size:8px}.mtg-profile-native{padding:12px}.mtg-profile-native .tborder{margin:0!important;box-shadow:none!important;border-color:#1b2c3a!important}.mtg-profile-facts dl{margin:0;padding:8px 13px}.mtg-profile-facts dl>div{display:grid;grid-template-columns:1fr auto;gap:12px;padding:9px 0;border-bottom:1px solid rgba(116,139,165,.1)}.mtg-profile-facts dl>div:last-child{border-bottom:0}.mtg-profile-facts dt{color:#75879a;font-size:9px}.mtg-profile-facts dd{margin:0;color:#dce5ee;font-size:9px;font-weight:800}

/* reputation/memberlist/team/usercp polish */
.mtg-page-reputation .tborder,.mtg-page-memberlist .tborder,.mtg-page-showteam .tborder,.mtg-page-usercp .tborder,.mtg-page-private .tborder{box-shadow:0 14px 42px rgba(0,0,0,.15)!important}.mtg-page-reputation .thead,.mtg-page-memberlist .thead,.mtg-page-showteam .thead{padding:14px 16px!important}.reputation_positive{color:#43db82!important}.reputation_negative{color:#ff566a!important}.reputation_neutral{color:#a6b3c0!important}.repbox{border:1px solid #223645!important;border-radius:8px!important;background:#081721!important;color:#dbe4ed!important}.usercp_nav_item{background-image:none!important;padding-left:12px!important;border-radius:6px!important}.usercp_nav_item:hover{background:#0b1b28!important}.mtg-page-usercp td[width="180"],.mtg-page-private td[width="180"]{width:220px!important}.mtg-page-showteam .trow1,.mtg-page-showteam .trow2,.mtg-page-memberlist .trow1,.mtg-page-memberlist .trow2{padding:12px!important}

/* footer V16 */
#footer{margin-top:32px!important}.mtg-footer-v16{display:grid;grid-template-columns:1.8fr repeat(3,1fr);gap:34px;padding:32px 0}.mtg-footer-brand p{max-width:500px}.mtg-footer-social{display:flex;gap:7px;margin-top:12px}.mtg-footer-social a{padding:6px 8px;border:1px solid #1e3040;border-radius:6px;background:#07131d;color:#8799ab!important;font-size:8px}.mtg-footer-col{display:flex;flex-direction:column;gap:7px}.mtg-footer-col strong{margin-bottom:4px;color:#eef3f7;font-size:10px;text-transform:uppercase}.mtg-footer-col a{color:#74869a!important;font-size:9px}.mtg-footer-col a:hover{color:#fff!important}

/* Responsive */
@media(max-width:1120px){.mtg-nav-community{display:none}.mtg-server-row{grid-template-columns:minmax(180px,1.2fr) minmax(160px,1fr) 80px 95px 42px!important}.mtg-server-owner{display:none}.mtg-community-grid{grid-template-columns:1fr}.mtg-footer-v16{grid-template-columns:1.5fr repeat(3,1fr);gap:20px}}
@media(max-width:860px){.mtg-announcements{grid-template-columns:1fr;gap:8px}.mtg-server-row{grid-template-columns:1fr 80px 40px!important}.mtg-server-ip{grid-column:1/2}.mtg-server-players,.mtg-server-owner,.mtg-server-status-cell{display:none!important}.mtg-forum-cols{grid-template-columns:1fr 160px;padding-left:58px}.mtg-forum-cols div:nth-child(2),.mtg-forum-cols div:nth-child(3){display:none}.mtg-community-grid{grid-template-columns:1fr}.mtg-stats-grid{grid-template-columns:1fr}.mtg-online-box{border-right:0;border-bottom:1px solid #1d3040}.mtg-profile-cover{grid-template-columns:auto 1fr;align-items:center}.mtg-profile-actions-top{grid-column:1/-1}.mtg-profile-layout{grid-template-columns:1fr}.mtg-footer-v16{grid-template-columns:1fr 1fr}.mtg-footer-brand{grid-column:1/-1}.mtg-search-drop,.mtg-login-drop{right:-60px}}
@media(max-width:580px){.mtg-social-left span:not(.mtg-social-mini),.mtg-social-left a{display:none}.mtg-user-actions .mtg-register{display:none}.mtg-login-pop>summary{padding:0 11px}.mtg-ann-card{min-height:100px}.mtg-category-head{min-height:64px!important}.mtg-forum-cols{display:none}.mtg-forum-row{display:grid!important;grid-template-columns:45px 1fr!important}.mtg-forum-row td{display:block!important;width:auto!important}.mtg-forum-icon-cell{grid-column:1;grid-row:1}.mtg-forum-main{grid-column:2;grid-row:1}.mtg-count-cell,.mtg-lastpost{display:none!important}.mtg-rank-tabs{flex-wrap:wrap}.mtg-support-card{grid-template-columns:1fr}.mtg-support-card:after{display:none}.mtg-number-grid{grid-template-columns:1fr 1fr}.mtg-profile-cover{grid-template-columns:1fr;text-align:center}.mtg-profile-avatar-big{justify-self:center}.mtg-profile-actions-top{justify-content:center}.mtg-profile-metrics{grid-template-columns:1fr 1fr}.mtg-footer-v16{grid-template-columns:1fr}.mtg-footer-brand{grid-column:auto}.mtg-search-drop,.mtg-login-drop{position:fixed;left:12px;right:12px;top:110px;width:auto}.mtg-brand-hero{height:118px!important;background-size:auto 118px!important}}

.mtg-forum-category table.mtg-forum-table{margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}.mtg-forum-category .thead{border-radius:0!important}.mtg-forum-category .mtg-forum-table td{background:#07131e!important}.mtg-forum-category .mtg-forum-row:hover td{background:#0a1824!important}
