.public-legacy{max-width:1280px;margin:0 auto;min-width:0}
.public-legacy-page dialog#modal{position:fixed;inset:0;margin:auto;max-height:calc(100dvh - 28px);overflow:auto}
.public-legacy-page dialog#modal[open]{display:block}
.public-legacy-page .toast{opacity:1}
.legacy-title{margin-bottom:20px}
.legacy-title>a{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:12px}
.legacy-title>a:hover{color:var(--text)}
.legacy-title h1{margin:12px 0 0;font:500 clamp(25px,3.4vw,37px)/1.15 Display,Arial,sans-serif;color:var(--text);display:flex;align-items:center;gap:12px}
.legacy-title h1 svg{width:32px;height:32px;padding:6px;background:var(--surface-hi);border-radius:9px;color:var(--accent)}
.legacy-content{min-width:0;display:flow-root}
.legacy-content>:is(.col-lg-12,.col-12){padding-inline:0}
.legacy-content>.row{margin-inline:0}
.legacy-content :is(.block,.custom-page-content,.table-responsive,.nav_sb,.dialogs){border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--text);box-shadow:none}
.legacy-content :is(.block,.custom-page-content){padding:clamp(12px,2vw,22px)}
.legacy-content :is(.table,.table th,.table td){border-color:var(--line);color:var(--text)}
.legacy-content .table{margin:0}
.legacy-content .table-responsive{overflow:auto}
.legacy-content :is(.table thead,.table_head,.block_head){background:var(--surface-hi);color:var(--text)}
.legacy-content :is(.form-control,input[type=search],select,textarea){background:var(--surface-hi);border:1px solid var(--line);color:var(--text);border-radius:8px}
.legacy-content :is(.form-control,select,textarea):focus{border-color:var(--accent)}
.legacy-content :is(.profile_btn,.nav-link,.page-link,.list-group-item){border-color:var(--line);color:var(--text);background:var(--surface-hi)}
.legacy-content :is(.profile_btn,.nav-link,.page-link,.list-group-item):hover{color:var(--accent)}
.legacy-content :is(.nav-link,.profile_btn,.page-item).active,.legacy-content .page-item.active>.page-link{background:var(--accent);color:#14121e}
.legacy-content :is(.nav_message,.pagination){flex-wrap:wrap;gap:5px}
.legacy-content .pagination{justify-content:center;margin:10px 0}
.legacy-content div.modal{width:100%;max-width:none;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--text)}
.legacy-content div.modal .modal-content{color:var(--text);background:var(--surface);border-color:var(--line)}
.legacy-content img{max-width:100%}
.legacy-content :is(.row,[class^=col-]){min-width:0}
.legacy-socials{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,185px),1fr));gap:10px;margin-bottom:16px}
.legacy-socials a{min-height:54px;display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:11px;padding:10px 13px;background:var(--surface);font-size:13px}
.legacy-socials a:hover{border-color:var(--accent)}
.legacy-socials svg{width:17px;height:17px;color:var(--accent)}
.legacy-socials svg:last-child{margin-left:auto}
@media(max-width:620px){.legacy-content>.row>[class*=col-]{padding-inline:0}.legacy-title{margin-bottom:13px}.legacy-content .nav_message{display:flex}}
.legacy-content > .shopscontainer{display:none!important}
.legacy-content :is(input[type=text],input[type=search],select){max-width:100%}
.legacy-content .vertical-navigation{max-width:100%;overflow-x:auto;margin:0 0 12px}
.legacy-content .vertical-navigation ul{display:flex;gap:6px;margin:0;padding:0;list-style:none;overflow:visible}
.legacy-content .vertical-navigation li{flex:none}
.legacy-content .vertical-navigation li a{display:block;padding:9px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);font-size:12px}
.legacy-content .vertical-navigation li.active a{background:var(--accent-wash);border-color:var(--accent-edge);color:var(--accent)}
.legacy-content .input_new_stats{border:1px solid var(--line);border-radius:10px;background:var(--surface-hi)}
.legacy-content .input_new_stats input{border:0;background:transparent}
.legacy-content .input_new_stats svg{fill:var(--muted)!important}
.legacy-content .block-search{padding:0}
.legacy-punishments{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-bottom:12px}
.legacy-punishments a{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);font-size:12px}
.legacy-punishments a:hover,.legacy-punishments a[aria-current=page]{color:var(--accent);background:var(--accent-wash);border-color:var(--accent-edge)}
.legacy-punishments .legacy-appeal{margin-left:auto}
.legacy-punishments a svg{width:15px;height:15px}
.public-legacy-page .modal-backdrop{position:fixed;inset:0;z-index:1040;background:#000}
.public-legacy-page .modal-backdrop.show{opacity:.55}
@media(min-width:1000px){
 .public-legacy:is([data-legacy-page=bans],[data-legacy-page=complaints]) .legacy-content{display:grid;align-items:start;grid-template-columns:minmax(0,3fr) minmax(200px,1fr);gap:12px}
 .public-legacy:is([data-legacy-page=bans],[data-legacy-page=complaints]) .legacy-content>:is(.col-lg-9,.col-lg-3){max-width:100%;width:100%;padding:0;margin:0!important}
 .public-legacy:is([data-legacy-page=bans],[data-legacy-page=complaints]) .legacy-content>.col-lg-9{grid-column:1}
 .public-legacy:is([data-legacy-page=bans],[data-legacy-page=complaints]) .legacy-content>.col-lg-3{grid-column:2;grid-row:1/span 2}
}
@media(max-width:450px){.legacy-punishments .legacy-appeal{margin-left:0}}

.legacy-content div.modal:not(.show){display:none}
.legacy-content div.modal{position:fixed;inset:0;z-index:1050;overflow:auto}
.legacy-content div.modal.show>.modal-dialog{margin-inline:auto}
.legacy-content .input_new_stats{display:flex;align-items:center;min-height:44px;margin-bottom:12px;padding:0 4px 0 12px}
.legacy-content .input_new_stats input{flex:1;min-width:0;width:auto}
.legacy-content .input_new_stats .btn-save-settings{display:grid;place-items:center;min-width:38px;height:35px}
.legacy-content :is(.ban-application,.ban-information,.statinfo,.info-block,.comment,.event,.card-profile-head,.card-profile-head-icon){background:var(--surface-hi);border-color:var(--line);color:var(--text);box-shadow:none}
.legacy-content :is(.card-profile-head,.block_head){margin-bottom:12px;padding:9px 10px;border-radius:8px}
.legacy-content :is(.input_new,.input-group-addon,.btn_group_settings,.btn-save-settings){background:var(--surface-hi);border-color:var(--line);color:var(--text)}
.legacy-content :is(.input_new input,.sessions-search-form input){color:var(--text);background:var(--surface-hi);border-color:var(--line)}
.legacy-content :is(.btn2,.btn-primary,.btn-default):not(:disabled){border:1px solid var(--accent-edge);border-radius:8px;background:var(--accent-wash);color:var(--text);box-shadow:none}
.legacy-content .btn-save-settings svg{fill:var(--muted)!important}
.legacy-content :is(.info-block,.statinfo,.with_code){overflow-wrap:anywhere}
.public-legacy:is([data-legacy-page=bans_ban],[data-legacy-page=complaints_complaint]) .legacy-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.public-legacy:is([data-legacy-page=bans_ban],[data-legacy-page=complaints_complaint]) .legacy-content>[class*=col-]{width:100%;max-width:none;margin:0!important;padding:0}
@media(max-width:800px){.public-legacy:is([data-legacy-page=bans_ban],[data-legacy-page=complaints_complaint]) .legacy-content{grid-template-columns:minmax(0,1fr)}}
.legacy-content .card-profile-head-title{color:var(--text)}
.legacy-content .card-profile-head-icon{color:var(--accent)}
.legacy-content .card-profile-head-icon svg[style*="fill: #fff"]{fill:currentColor!important}
.legacy-content .card-profile-head-icon svg [stroke="#fff"]{stroke:currentColor}
.legacy-content .comment .info .date{color:var(--muted);background:var(--surface-hi)}
:root[data-theme=light] .legacy-content .comment .author a{color:var(--text)!important;-webkit-text-fill-color:currentColor!important;background:none!important;text-shadow:none!important}
