
/* v15: full-width application/training pages and shared documentation styling. */
@media(min-width:992px){
 html.gx-compact-page body.gx-body .gx-row>.order-is-first,
 html.gx-compact-page.gx-wide-site body.gx-body .gx-row>.order-is-first{
  flex:0 0 100%!important;width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important
 }
}
body.gx-body :is(.gx-users,.gx-admins)>.gx-stats__head{display:flex;align-items:flex-start;flex-wrap:wrap;gap:18px}
body.gx-body .gx-inline-server{flex:0 1 300px;min-width:0;margin:0 0 0 auto;padding:0;background:none;border:0;box-shadow:none}
body.gx-body .gx-inline-server__label{display:block;font-size:11px;color:#aaa7b2;margin:0 0 6px}
body.gx-body .gx-inline-server select{width:100%;height:46px;background:#0d0d12;color:#eee;border:1px solid #766324;border-radius:10px;padding:10px 14px}
body.gx-body .gx-rating-toolbar--wide{align-items:center}
body.gx-body .gx-rating-toolbar--wide :is(.gx-rating-caption,.gx-rating-count){box-sizing:border-box;height:46px;display:flex;align-items:center;margin-top:0;margin-bottom:0}
body.gx-body .gx-rating-toolbar--wide .gx-rating-count{gap:8px}
body.gx-body .gx-rating-toolbar--wide .gx-stats__search{height:46px;margin-top:0!important;margin-bottom:0!important;position:relative;align-self:center}
body.gx-body .gx-rating-toolbar--wide .gx-stats__search>.form-control{height:46px!important;min-height:46px!important;margin:0!important;line-height:normal;padding-top:0;padding-bottom:0}
body.gx-body .gx-rating-toolbar--wide .gx-stats__search>i{top:50%;transform:translateY(-50%);margin:0}
body.gx-body .gx-rating-toolbar--wide .gx-server-select__toggle{height:46px;min-height:46px}
body.gx-body .svinorez-neiro-banner-inner{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
body.gx-body .svinorez-neiro-banner-inner .svinorez-neiro-tagline{position:absolute;top:0;right:0;margin:0;text-align:right}
body.gx-body .svinorez-neiro-banner-inner{position:relative;padding-right:240px}
body.gx-body .gx-moderation-toolbar{position:relative;overflow:visible}
body.gx-body .gx-moderation-toolbar:has(.gx-mod-settings){padding-right:88px}
body.gx-body .gx-moderation-toolbar .gx-mod-settings{position:static;flex:0 0 100%;min-width:0;padding:0;margin:0;border:0;background:none;box-shadow:none}
body.gx-body .gx-moderation-toolbar .gx-mod-settings:not([open]){flex-basis:0}
body.gx-body .gx-moderation-toolbar .gx-mod-settings>summary{position:absolute;right:24px;top:24px;width:44px;height:44px;padding:0;display:flex;align-items:center;justify-content:center;list-style:none;cursor:pointer;border:1px solid #766324;border-radius:10px;color:#f5c518;background:#211e14;font-size:16px}
body.gx-body .gx-moderation-toolbar .gx-mod-settings>summary::-webkit-details-marker{display:none}
body.gx-body .gx-moderation-toolbar .gx-mod-settings>summary::before,
body.gx-body .gx-moderation-toolbar .gx-mod-settings>summary::after{display:none}
body.gx-body .gx-moderation-toolbar .gx-mod-settings[open]{padding-top:16px;border-top:1px solid #544820}
body.gx-body .gx-mod-settings>summary:focus-visible{outline:2px solid #f5c518;outline-offset:3px}
/* Identical geometry and plus/minus affordances for Rules and Knowledge. */
body.gx-body :is(#gx-knowledge,#gx-rules){font-size:11.2px;background:#242730;padding:28px 14px;border-radius:8px}
body.gx-body :is(#gx-knowledge,#gx-rules) :is(.gk-game,.gr-game){max-width:none;margin:0;text-align:left}
body.gx-body :is(#gx-knowledge,#gx-rules) :is(.gk-category-fold,.gr-category-fold){padding:0;margin:0 0 16px;border:0;border-radius:10px;background:#191c22}
body.gx-body :is(#gx-knowledge,#gx-rules) :is(.gk-category-fold,.gr-category-fold)>summary{position:relative;display:block;list-style:none;cursor:pointer;padding:22px 52px 22px 22px}
body.gx-body :is(#gx-knowledge,#gx-rules) :is(.gk-category-fold,.gr-category-fold)>summary h2{margin:0;font-size:14.4px;line-height:1.4;color:#fff;font-weight:900;text-transform:uppercase}
body.gx-body :is(#gx-knowledge,#gx-rules) :is(.gk-category-content,.gr-category-content){padding:0 22px 16px}
body.gx-body :is(#gx-knowledge,#gx-rules) :is(.gk-question,.gr-question){margin:10px 0;border:1px solid transparent;border-radius:6px;background:#101116;overflow:hidden}
body.gx-body :is(#gx-knowledge,#gx-rules) :is(.gk-question,.gr-question)[open]{border-color:#f5c518;background:#15161a}
body.gx-body :is(#gx-knowledge,#gx-rules) :is(.gk-question,.gr-question)>summary{position:relative;list-style:none;cursor:pointer;padding:15px 40px 15px 16px;font-size:10.4px;line-height:1.6;font-weight:700;color:#e5e5e7}
body.gx-body :is(#gx-knowledge,#gx-rules) :is(.gk-answer,.gr-answer){padding:0 16px 16px;color:#c8c9ce;font-size:10.4px;line-height:1.8}
body.gx-body :is(#gx-knowledge,#gx-rules) :is(.gk-category-fold,.gr-category-fold,.gk-question,.gr-question)>summary::-webkit-details-marker{display:none}
body.gx-body :is(#gx-knowledge,#gx-rules) :is(.gk-category-fold,.gr-category-fold,.gk-question,.gr-question)>summary::after{content:'+';position:absolute;right:18px;top:50%;transform:translateY(-50%);font:700 18px/1 Arial,sans-serif;color:#f5c518}
body.gx-body :is(#gx-knowledge,#gx-rules) :is(.gk-category-fold,.gr-category-fold,.gk-question,.gr-question)[open]>summary::after{content:'−'}
body.gx-body :is(#gx-knowledge,#gx-rules)>:is(.gk-header,.gr-header)>h1{font-size:19.2px}
body.gx-body :is(#gx-knowledge,#gx-rules)>:is(.gk-header,.gr-header)>p{font-size:10.4px}
body.gx-body .gx-page-block:has(:is(#gx-knowledge,#gx-rules))>.gx-panel__head>h2{font-size:19.2px}
@media(max-width:767.98px){
 body.gx-body .gx-inline-server{flex-basis:100%;width:100%;margin-left:0}
 body.gx-body .svinorez-neiro-banner-inner{padding-right:0;flex-wrap:wrap}
 body.gx-body .svinorez-neiro-banner-inner .svinorez-neiro-tagline{position:static;flex-basis:100%;text-align:right}
 body.gx-body .gx-moderation-toolbar:has(.gx-mod-settings){padding-right:24px;padding-top:80px}
 body.gx-body .gx-moderation-toolbar .gx-mod-settings>summary{top:18px;right:18px}
}
@media(max-width:600px){
 body.gx-body :is(#gx-knowledge,#gx-rules) :is(.gk-category-fold,.gr-category-fold)>summary{padding:18px 42px 18px 14px}
 body.gx-body :is(#gx-knowledge,#gx-rules) :is(.gk-category-content,.gr-category-content){padding:0 12px 12px}
}

/* Matching typography; subsection names red and descriptions white. */
body.gx-body :is(#gx-knowledge,#gx-rules),
body.gx-body :is(#gx-knowledge,#gx-rules) :is(h1,h2,summary,.gk-answer,.gr-answer){font-family:"Montserrat",sans-serif!important}
body.gx-body :is(#gx-knowledge,#gx-rules) :is(.gk-question,.gr-question)>summary{font-size:10.4px;font-weight:700;line-height:1.6;color:#ff737b!important;text-decoration:none!important}
body.gx-body :is(#gx-knowledge,#gx-rules) :is(.gk-answer,.gr-answer){font-size:10.4px;font-weight:400;line-height:1.8;color:#fff}
body.gx-body :is(#gx-knowledge,#gx-rules)>:is(.gk-header,.gr-header)>p{color:#fff}

/* v16: shorter free-VIP panels; retain full width and readable text. */
body.gx-body .gx-girlvip__intro{padding:7px 18px;margin-bottom:12.6px;line-height:18px}
body.gx-body .gx-girlvip__intro p{margin-bottom:7px}
body.gx-body .gx-girlvip__intro p:last-child{margin-bottom:0}
body.gx-body .gx-girlvip__criteria{padding:8px 20px;margin-bottom:14px}
body.gx-body .gx-girlvip__criteria h3{margin-bottom:6px;line-height:18px}
body.gx-body .gx-girlvip__criteria ol{line-height:18px}
body.gx-body .gx-girlvip__criteria li{margin-bottom:2px}
body.gx-body .gx-girlvip__criteria-note{margin-top:6px;padding:5px 12px;line-height:20px}
body.gx-body .gx-girlvip__form{padding:10px 20px;gap:8px}
body.gx-body .gx-girlvip__form-title{margin-bottom:2px}
body.gx-body .gx-girlvip__field label{margin-bottom:4px;line-height:18px}
body.gx-body .gx-girlvip .form-control{min-height:32px;padding:5px 14px!important;line-height:20px}
body.gx-body .gx-girlvip .gx-server-select__toggle{min-height:32px;height:32px;padding-top:5px;padding-bottom:5px}
body.gx-body .gx-girlvip__submit{height:32px;min-height:32px;margin-top:3px;padding-top:5px;padding-bottom:5px}
body.gx-body .gx-girlvip__hint{margin-top:0;margin-bottom:0;line-height:16px}
