/* Approved CSAUTOMIX desktop revision. Bootstrap collapses the sidebar below
   992px; all existing phone/tablet layouts remain on their original rules. */
html body .am-nav-desktop,html body .am-tour-desktop-approved{display:none!important}
html body .gma-awards-summary,html body .gma-awards-summary *{box-sizing:border-box;min-width:0;max-width:100%}
html body .gma-awards-summary{margin:0 0 14px;padding:12px 14px;border:1px solid #3b4d5e;border-radius:7px;background:linear-gradient(110deg,#1b2b3a,#14202c);color:#ccd5df;overflow-wrap:anywhere}
html body .gma-awards-summary-heading{display:flex;align-items:center;gap:10px;margin-bottom:11px}
html body .gma-awards-summary-heading h4{margin:0;color:#e3c677;font-size:15px;font-weight:600;line-height:20px}
html body .gma-awards-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));row-gap:13px}
html body .gma-awards-person{padding:0 12px;border-left:1px solid #344555}
html body .gma-awards-person:nth-child(3n+1){padding-left:0;border-left:0}
html body .gma-awards-person:nth-child(3n){padding-right:0}
html body .gma-awards-person.gma-awards-extra{padding-top:11px;border-top:1px solid #344555}
html body .gma-awards-summary .gma-awards-nick{display:inline-block;color:#f0f2f5!important;-webkit-text-fill-color:#f0f2f5!important;font-size:15px;font-weight:700;line-height:20px;text-decoration:none;background:none!important;overflow-wrap:anywhere;white-space:normal}
html body .gma-awards-summary a.gma-awards-nick:hover{text-decoration:underline;color:#fff!important}
html body .gma-awards-person-items{display:flex;align-items:center;flex-wrap:wrap;gap:7px 11px;margin-top:7px}
html body .gma-awards-label{display:inline-flex;align-items:center;gap:5px;color:#ccd5df;font-size:13px;line-height:20px;font-weight:500;white-space:normal}
html body .gma-award-outline{width:18px;height:18px;flex:0 0 18px;color:#e3c677}
html body button.gma-awards-more{display:flex;align-items:center;justify-content:flex-end;gap:7px;width:100%;min-height:0;margin-top:11px;padding:8px 0 0;border:0;border-top:1px solid #344555;border-radius:0;background:none;color:#b6c3d1;font:inherit;font-size:12px;line-height:18px;text-align:right;cursor:pointer;box-shadow:none}
html body .gma-awards-extra[hidden]{display:none!important}
html body button.gma-awards-more:focus-visible{outline:1px solid #c7ced5;outline-offset:3px}
@media(max-width:991px){
 html body .gma-awards-summary{padding:9px 10px;margin-bottom:10px}
 html body .gma-awards-summary-heading{margin-bottom:7px}
 html body .gma-awards-summary-heading h4{font-size:13px;line-height:18px}
 html body .gma-awards-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 10px}
 html body .gma-awards-person:nth-child(n){padding:0;border:0}
 html body .gma-awards-person.gma-awards-extra{padding-top:8px;border-top:1px solid #344555}
 html body .gma-awards-summary .gma-awards-nick{font-size:12px;line-height:17px}
 html body .gma-awards-person-items{gap:4px 6px;margin-top:4px}
 html body .gma-awards-label{font-size:11px;line-height:15px;gap:4px}
 html body .gma-award-outline{width:14px;height:14px;flex:0 0 14px}
 html body button.gma-awards-more{padding:8px 0 2px;font-size:11px;line-height:16px}
}
@media(min-width:992px){
 /* T01–T02: independent PC layout; direct mobile children are untouched. */
 html body .wapper .content .am-nav-legacy{display:none!important}
 html body .wapper .content .am-nav-desktop{display:block!important}
 html body .am-native-legacy-sidebar{display:none!important}
 html body .wapper .content .automix-stat-sidebar>.am-nav-desktop{order:0!important}
 html body .wapper .content .automix-stat-sidebar>.automix-online{order:1!important}
 html body:has(.am-nav-desktop) .wapper .content .block.extra-stats:has(.automix-stat-type){display:none!important}
 html body .am-unified-nav .vertical-navigation>ul{margin:0!important;padding:0!important;list-style:none}
 html body .am-unified-nav li{list-style:none}
 html body .am-unified-nav .am-nav-group{padding:0!important}
 html body .am-unified-nav .am-nav-group>details{margin:0;border:0;background:none}
 html body .am-unified-nav .vertical-navigation>ul>li:not(.am-nav-group)>a{display:flex!important;align-items:center!important;gap:9px;min-height:51px!important;height:auto!important;line-height:1.4!important;padding:10px 0!important}
 html body .am-unified-nav summary{display:flex;align-items:center;gap:9px;list-style:none;cursor:pointer;padding:10px 30px;min-height:51px;line-height:1.4;font:inherit;font-size:14px;font-weight:700}
 html body .am-unified-nav i.animated-icons{color:transparent!important;text-shadow:none!important;-webkit-background-clip:text!important}
 html body .am-unified-nav summary::-webkit-details-marker{display:none}
 html body .am-unified-nav .am-nav-chevron{width:7px;height:7px;border-right:1.5px solid #c9d3dc;border-bottom:1.5px solid #c9d3dc;transform:rotate(45deg);margin-left:auto;margin-right:4px;flex:0 0 7px}
 html body .am-unified-nav details[open]>summary .am-nav-chevron{transform:rotate(225deg)}
 html body .am-unified-nav .am-nav-group ul{margin:0!important;padding:0 0 5px!important;border:0;list-style:none;background:rgba(16,25,35,.4)}
 html body .am-unified-nav .am-nav-group ul>li{border:0!important;margin:0!important;padding:0!important;animation:none!important}
 html body .am-unified-nav .am-nav-group ul>li>a{display:flex!important;align-items:center;flex-wrap:wrap;gap:4px 6px;padding:10px 8px 10px 56px!important;line-height:1.4;font-size:13px;color:#cbd5df;animation:none!important;transition:none!important;white-space:normal;overflow-wrap:anywhere}
 html body .am-unified-nav .am-nav-group ul>li.active>a{background:#1b2b38!important;color:#edf2f7!important}
 html body .am-unified-nav .am-nav-group ul>li>a:hover{background:#192532!important;color:#fff!important}
 html body .am-unified-nav summary:focus-visible{outline:1px solid #8fa4b6;outline-offset:-2px}
 html body .wapper .content .automix .gma-match.am-tour-card{border:1px solid rgba(144,181,208,.48)!important;border-left:1px solid rgba(144,181,208,.48)!important;border-radius:8px!important;background:#14212e!important;box-shadow:0 5px 10px rgba(0,0,0,.5),0 2px 3px rgba(0,0,0,.3)!important;margin-bottom:12px!important;opacity:1!important}
 html body .wapper .content .automix .gma-match.am-tour-card>.gma-match-head[class].am-tour-match-summary{display:block!important;min-height:107px!important;padding:9px 12px!important;background:linear-gradient(110deg,rgba(104,172,215,.075),rgba(104,172,215,.04))!important}
 html body .wapper .content .automix .am-tour-match-summary>.am-tour-mobile-original{display:none!important}
 html body .am-tour-desktop-approved{display:block!important;min-width:0}
 html body .am-approved-top{display:flex;align-items:center;justify-content:space-between;gap:6px 12px;flex-wrap:wrap;margin-bottom:6px;min-width:0}
 html body .am-approved-server{display:inline-flex;align-items:center;gap:9px;text-transform:uppercase;color:#deca94;font-size:14px;font-weight:600;line-height:18px;overflow-wrap:anywhere}
 html body .am-approved-meta{display:flex;align-items:center;gap:11px;flex-shrink:0;color:#acb6c2;font-size:12px;line-height:18px}
 html body .am-approved-meta time{white-space:nowrap}
 html body .am-approved-state,html body .am-approved-duration{border-left:1px solid rgba(145,170,192,.28);padding-left:10px;white-space:nowrap}
 html body .am-approved-duration{color:#d9ba76;font-size:12px;font-weight:700}
 html body .am-approved-state.is-finished{color:#91cfa0;font-weight:700}
 html body .am-approved-state.is-cancelled{color:#f4f5f7;font-weight:700}
 html body .am-approved-content{display:grid;grid-template-columns:100px minmax(0,1fr) 106px minmax(0,1fr) 100px;gap:8px;align-items:center;min-height:63px}
 html body .am-approved-map{min-width:0}
 html body .am-approved-map>img{display:block;width:100px;height:60px;max-width:100%;object-fit:cover;border:1px solid #5e6571;border-radius:4px;margin:0}
 html body .automix .am-approved-team{display:flex;align-items:center;gap:8px;min-width:0;font-size:15px;font-weight:600;line-height:20px;color:#dce3eb!important;text-transform:uppercase;text-align:center;text-decoration:none}
 html body .am-approved-content>.am-approved-team:nth-child(2){justify-content:flex-end}
 html body .am-approved-content>.am-approved-team:nth-child(4){justify-content:flex-start}
 html body .am-approved-team>span{min-width:0;overflow-wrap:anywhere}
 html body .am-approved-team>img{width:30px;height:30px;object-fit:cover;border-radius:4px;border:1px solid #606775;flex:0 0 30px}
 html body .am-approved-score{min-width:0;text-align:center}
 html body .am-approved-map-name{display:block;margin:0;color:#c2cedb;font-size:14px;font-weight:700;line-height:18px;overflow-wrap:anywhere}
 html body .am-approved-score>strong{display:block;color:#e7ce92;font-size:23px;font-weight:700;line-height:27px;white-space:nowrap;font-variant-numeric:tabular-nums}
 html body .am-approved-score>small{display:block;margin:0;color:#b5c0cc;font-size:12px;line-height:17px}
 html body .am-approved-details{display:flex;align-items:center;justify-content:flex-end;gap:5px;padding:8px 0;color:#adb8c6;font-size:12px;line-height:18px;white-space:nowrap}
 html body .am-approved-chevron{display:block;width:9px;height:9px;flex:0 0 9px;border-right:2px solid #e3c477;border-bottom:2px solid #e3c477;transform:translateY(-1px) rotate(45deg)}
 html body details[open] .am-approved-chevron{transform:translateY(2px) rotate(225deg)}
 html body .wapper .content .automix .gma-match.am-tour-card.am-tour-is-live{border-color:rgba(230,198,115,.8)!important}
 html body .wapper .content .automix .gma-match.am-tour-card.am-tour-is-live>.gma-match-head[class].am-tour-match-summary{background:linear-gradient(90deg,rgba(205,159,70,.19) 0%,rgba(205,159,70,.09) 25%,rgba(205,159,70,0) 62%),linear-gradient(110deg,rgba(104,172,215,.075),rgba(104,172,215,.04))!important}
 html body .am-approved-live-dot{display:inline-block;flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:#f16b69;animation:am-approved-pulse 1.7s ease-in-out infinite}
 /* T03: only the general/profile summary row carries the turquoise wash. */
 html body .wapper .content .gma-match:not(.am-tour-card)>.gma-match-head .gma-match-detail-hint{display:none!important}
 html body .wapper .content details.gma-match:not(.am-tour-card)>summary.gma-match-head[class]::after{border-right-color:#e3c477!important;border-bottom-color:#e3c477!important}
 html body .wapper .content .gma-training-match:not(.am-tour-card)>.gma-match-head{background:linear-gradient(90deg,rgba(79,176,185,.085),rgba(79,176,185,.035) 40%,transparent 90%)!important}
 /* P02–P04: desktop alignment/grid; original mobile DOM remains intact. */
 html body .wapper .content .profile-page :is(#last_activity,#mybans):has(>.empty-element),html body .wapper .content .profile-page :is(#last_activity,#mybans).profile-empty-note{margin:0!important;padding:0!important;border:0!important}
 html body .wapper .content .profile-page .block:has(>#mybans>.empty-element){padding:0!important;overflow:hidden!important}
 html body .wapper .content .profile-page .block:has(>#mybans>.empty-element)>.block_head{display:flex!important;align-items:center!important;min-height:60px!important;margin:0!important;padding:0 30px!important;line-height:20px!important}
 html body .wapper .content .profile-page :is(#last_activity,#mybans) :is(.empty-element,.profile-common-empty){display:flex!important;align-items:center!important;justify-content:flex-start!important;box-sizing:border-box!important;height:100px!important;min-height:100px!important;width:100%!important;margin:0!important;padding:0 30px!important;border:0!important;font-size:14px!important;line-height:20px!important;text-align:left!important;background:linear-gradient(180deg,#18212b00,#35405355)!important}
 html body .wapper .content .profile-page #friends:not(.profile-empty-note){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px 8px!important;height:auto!important;max-height:none!important;min-height:0!important;overflow:hidden!important;margin:0!important;padding:18px 0!important;width:100%!important;float:none!important}
 html body .wapper .content .profile-page #friends:not(.profile-empty-note)::after{display:none!important}
 html body .wapper .content .profile-page #friends>.small-friend{display:flex!important;flex-direction:column!important;align-items:center!important;width:auto!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;float:none!important}
 html body .wapper .content .profile-page #friends>.small-friend:nth-of-type(n+7){display:none!important}
 html body .wapper .content .profile-page #friends>.small-friend>img{width:64px!important;height:64px!important;max-width:100%!important;object-fit:cover}
 html body .wapper .content .profile-page #friends>.small-friend>span{display:block!important;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center;font-size:12px!important}
 html body .wapper .content .am-friends-card>.input-search{margin-left:0!important;margin-right:0!important;width:100%!important;max-width:100%!important}
 /* S01: neutral search, closed select and its custom open list. */
 html body .wapper .content :is(.stats-search-control,.stats-sort-control,.am-friends-card>.input-search,.block-search>.input-search){background:#171d26!important;border:1px solid rgba(231,234,238,.38)!important;border-radius:8px!important;box-shadow:none!important;min-height:52px!important;box-sizing:border-box!important}
 html body .wapper .content :is(.stats-search-control,.stats-sort-control,.am-friends-card>.input-search,.block-search>.input-search):focus-within{border-color:rgba(239,241,245,.62)!important;outline:1px solid rgba(231,234,238,.2)!important;outline-offset:2px!important}
 html body .wapper .content :is(.stats-search-control,.stats-sort-control,.am-friends-card>.input-search,.block-search>.input-search)>i{color:#d9dfe6!important}
 html body .wapper .content .stats-search-control>input,html body .wapper .content .stats-sort-control>select,html body .wapper .content .block-search>.input-search>input{height:50px!important;min-height:50px!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#e3e6eb!important;font-family:inherit!important;font-size:16px!important;outline:none!important;border-radius:8px!important}
 html body .wapper .content .stats-search-control>input{padding-left:45px!important}
 html body .wapper .content .stats-sort-control>select{padding-right:35px!important}
 html body .wapper .content .stats-search-control>input::placeholder,html body .wapper .content .block-search>.input-search>input::placeholder{color:#aab2be!important;opacity:1}
 html body .wapper .content .am-friends-card>.input-search>#search_login{height:50px!important;min-height:50px!important;border:0!important;border-radius:0!important;background:transparent!important;padding:0!important}
 html body .wapper .content .stats-sort-control.am-dark-select-host{background:#171d26!important;border-color:rgba(231,234,238,.38)!important;outline:none!important}
 html body .wapper .content .stats-sort-control.am-dark-select-host:focus-within{border-color:rgba(239,241,245,.62)!important;outline:1px solid rgba(231,234,238,.2)!important;outline-offset:2px!important}
 html body .wapper .content .stats-sort-control.am-dark-select-host>.am-dark-select-button{background:transparent!important;color:#e3e6eb!important;font-size:16px!important;min-height:50px!important;box-shadow:none!important}
 html body .am-dark-select-menu{background:#171d26!important;color:#e3e6eb!important;border-color:rgba(231,234,238,.38)!important}
 html body .am-dark-select-menu>.am-dark-select-option{background:transparent!important;color:#dce1e8!important;border-color:#343c48!important}
 html body .am-dark-select-menu>.am-dark-select-option:is(:hover,:focus,[aria-selected=true]){background:#292f39!important;color:#fff!important;outline:0!important}
 html body .am-dark-select-menu[class]>.am-dark-select-option[role=option]:is(:hover,:focus,[aria-selected=true]){background:#292f39!important;color:#fff!important;outline:0!important}
 html body .am-dark-select-menu::-webkit-scrollbar-track{background:#171d26!important}
 html body .am-dark-select-menu::-webkit-scrollbar-thumb{background:#58616e!important}
 html body .stats-sort-control select option{background:#171d26!important;color:#e3e6eb!important}
 /* S02: approved subtle value tone plus visible directional gradients. */
 html body .modal.am-approved-details-modal .modal-content{background:linear-gradient(112deg,#1e2936 0%,#151e29 25%,#111720 70%,#0e151e 100%)!important;border:1px solid #35414f!important}
 html body .modal.am-approved-details-modal .modal-header{background:radial-gradient(ellipse at 28% 0%,rgba(122,154,181,.16),transparent 74%),linear-gradient(108deg,#263543 0%,#1a2531 43%,#111821 100%)!important;border-bottom-color:#303b48!important}
 html body .modal.am-approved-details-modal .modal-title{color:#e3c677!important;-webkit-text-fill-color:#e3c677!important}
 html body .modal.am-approved-details-modal input.form-control{background:#181f29!important;border-color:#465260!important}
 html body .modal.am-approved-details-modal .modal-body{background:transparent!important}
 html body .modal.am-approved-details-modal table.table{background:transparent!important;border-color:#303b48!important}
 html body .modal.am-approved-details-modal table.table tr>td{background:#141a23!important;border-color:#303b48!important}
 html body .modal.am-approved-details-modal table.table tr>td:first-child:not([colspan]){background:linear-gradient(110deg,#25323f 0%,#1a2430 32%,#101720 100%)!important}
 html body .modal.am-approved-details-modal table.table tr>td[colspan]{background:linear-gradient(108deg,#293c4e 0%,#1c2a38 35%,#131c27 100%)!important}
 html body .modal.am-approved-details-modal table.table tr>td.am-stats-operation-label+td{text-align:right!important}
 /* M01: fix the Nick header after the theme's column override. */
 html body .modal.am-monitor-dialog table.am-monitor-scroll[class]>thead>tr>:is(th,td):nth-child(n){background:linear-gradient(180deg,#1c2734,#151f2b)!important;border:1px solid #344251!important;border-bottom:2px solid #4a5b6c!important;box-shadow:none!important}
 html body .modal table.am-monitor-scroll[class]:has(tbody[id^="server-players"]) td:nth-child(5)>.input-group{width:max-content!important;max-width:100%!important;min-width:0!important;display:flex!important;flex-wrap:nowrap!important;margin-left:auto!important;margin-right:0!important;gap:6px}
 html body .modal table.am-monitor-scroll[class]:has(tbody[id^="server-players"]) td:nth-child(5)>.input-group>.input-group-prepend{flex:none}
 html body .modal table.am-monitor-scroll[class]:has(tbody[id^="server-players"]) td:nth-child(5)>.input-group>:is(select,.am-dark-select-host){flex:0 1 170px!important;min-width:120px!important;width:170px!important}
}
@keyframes am-approved-pulse{0%,100%{opacity:1;box-shadow:0 0 0 2px rgba(241,107,105,.15)}50%{opacity:.5;box-shadow:0 0 0 5px rgba(241,107,105,0)}}
@media(prefers-reduced-motion:reduce){html body .am-approved-live-dot{animation:none;box-shadow:0 0 0 2px rgba(241,107,105,.15)}}
