/* Historical Shtaket / IP.Board layout, adapted to native MyBB controls. */
:root{--paper:#fff;--page:#e4ebd7;--line:#bdd58a;--green:#83ad4e;--muted:#8c8c8c}
html,body{background:var(--page);color:#111;font:13px Arial,Helvetica,sans-serif;margin:0;padding:0}
body{line-height:1.35}a:link,a:visited{color:#111;text-decoration:none}a:hover{text-decoration:underline;color:#506d29}
#container{min-width:0;width:100%}.wrapper{width:90%;max-width:none;min-width:0!important;margin:0 auto}
#header{margin:0;padding:0;border:0}#panel .upper{height:36px;min-height:36px;line-height:36px;background:linear-gradient(#373737,#111);padding:0!important;border:0}
#panel .upper .wrapper{display:flex;align-items:center;justify-content:space-between;height:36px;color:#aaa;font-size:11px}
.legacy-admin,.legacy-account{display:flex;align-items:center;gap:14px;list-style:none;margin:0;padding:0}
#panel .upper a{color:#eee;font-size:11px;background:none;padding:0}#panel .upper .legacy-admin a{color:#aaa}
#panel .upper .legacy-account .register{padding:4px 12px;border:1px solid #94aa4a;background:#809d38;border-radius:0;color:#fff}
#panel .upper .legacy-account{margin-left:auto}#panel .lower{display:none}
#logo{height:64px;background:#a9c66f url(branding_bg.png) repeat-x!important;padding:0!important;border-bottom:2px solid #7d9f43}
#logo .wrapper{height:64px;display:flex;align-items:center;justify-content:space-between}#logo img{display:block;width:230px;height:auto;max-height:62px;margin:0}
.legacy-search{display:flex;align-items:center;margin:0}.legacy-search .textbox{width:220px;box-sizing:border-box;height:27px;background:white;border:1px solid #adc875;border-right:0;padding:4px 8px;font:12px Arial}
.legacy-search button{height:27px;width:30px;border:1px solid #779e26;background:#7faa18;color:#fff;font-size:16px;cursor:pointer}
.legacy_nav{height:35px;display:flex;gap:3px;align-items:end;padding:0}.legacy_nav>a{box-sizing:border-box;height:31px;padding:6px 16px;background:#9ec56a;border:1px solid #7a9e3a;color:#000;font:13px Arial;text-decoration:none}
.legacy_nav>a.current{background:#fff;font-weight:bold;border-bottom:1px solid white;position:relative;z-index:2}.legacy_nav .legacy_newposts{margin-left:auto;padding:6px 15px;font-size:12px}
.legacy-forumdisplay .nav-forums,.legacy-showthread .nav-forums,.legacy-index .nav-forums{background:white;font-weight:bold;border-bottom-color:white}
.legacy-member .nav-members{background:white;font-weight:bold;border-bottom-color:white}
#content{box-sizing:content-box;width:90%!important;max-width:none;margin:0 auto;padding:9px 10px 22px;background:white;border:1px solid #6e9134;box-shadow:0 5px 9px #00000019}
#content>.wrapper{width:100%;max-width:none}.navigation{font:13px/1.5 Arial;margin:0 0 14px;color:#111}.navigation a{font-weight:normal}.navigation .active{font-weight:normal}.nav-separator{padding:0 8px}
.legacy-index .navigation{display:none}.legacy-index .navigation+br{display:none}
table{border-collapse:collapse;border-spacing:0}.tborder{background:#fff;border:1px solid var(--line);border-radius:0;width:100%}
.thead{background:#81a95e url(tile_cat.gif) repeat-x top!important;padding:7px 10px!important;border:1px solid #658c38;border-bottom:0;color:white!important;font:normal 16px/1.3 Arial;text-shadow:none}
.thead a:link,.thead a:visited{color:white!important;font-weight:normal}.thead strong{font-weight:normal}.thead .smalltext{color:white}
.trow1,.trow2{background:white;border:0;border-bottom:1px solid var(--line);padding:12px 10px;vertical-align:middle}.trow2{background:#fff}
.smalltext{font:12px/1.25 Arial;color:#777}.tcat{background:#e4ebd7;color:#333;border:0}.tfoot{background:#f7f9f3;border:0}
.legacy-category{margin:0 0 12px}.legacy-category>.tborder{margin:0}.legacy-category .thead{height:18px}
.legacy-forum-icon{width:40px;padding:10px 5px!important}.forum_status{width:32px;height:32px;background:url(f_icon_read.png) center/30px 30px no-repeat!important;opacity:1}
.forum_on{background-image:url(f_icon.png)!important}.forum_offclose{opacity:.7}.legacy-forum-name{font:14px Arial;font-weight:normal!important}
.legacy-forum-description{margin-top:3px;color:#686868;font-size:12px}.legacy-subforums{font-size:12px}.legacy_counts{width:120px;white-space:nowrap;text-align:right;padding:12px 14px!important;font:12px/1.25 Arial;color:#555}
.legacy-forum-last{width:250px;padding:10px 12px 10px 0!important;text-align:left!important}.legacy-last{display:flex;align-items:center;gap:10px;min-width:0;font:12px/1.25 Arial;color:#111}.legacy-last .legacy-last-text{min-width:0;overflow-wrap:anywhere}
.legacy-last-title{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:225px;font-weight:normal!important}.legacy-last-date{color:#888}
.legacy-avatar{width:32px;height:32px;object-fit:cover;border:1px solid #d5d5d5;padding:1px;background:#fff;box-shadow:0 1px 2px #0002;flex:0 0 32px}
.legacy-stats-strip{display:flex;justify-content:center;gap:24px;flex-wrap:wrap;padding:4px 0 18px;font:12px Arial;color:#555}.legacy-stats-strip b{background:#e5e5e5;color:#555;padding:1px 5px;margin-right:5px}
.legacy-online{border-top:3px solid #d7d7d7;padding-top:10px;min-height:90px;font-size:12px;color:#666}.legacy-online-title{font-weight:bold;font-size:13px}.legacy-online-members{margin-top:16px;color:#007000}
.legacy-page-title{font:normal 26px/1.3 Helvetica,Arial,sans-serif;color:#323232;margin:12px 0 4px}.legacy-page-description{font-size:13px;color:#777;margin:0 0 20px}
.legacy-topic-author{font-size:12px;color:#999;margin-bottom:20px}.legacy-topic-author a{color:#999}
.legacy-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 10px;min-height:32px}
.legacy-list-toolbar .float_left,.legacy-list-toolbar .float_right{float:none}.legacy-list-actions{display:flex;align-items:center;gap:20px;color:#888;font-size:12px}
.legacy-list-actions>a{color:#888}.pagination{font:12px Arial;color:#999;margin:0;padding:0;display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.pagination .pages{font-weight:normal}.pagination a,.pagination .pagination_current{background:#f3f3f3;padding:4px 7px;border:0;border-radius:1px;color:#777;margin:0;font-weight:bold}
.pagination .pagination_current{background:#84a920;color:white}.pagination .pagination_last,.pagination .pagination_next{color:#666}
a.button{border:1px solid #202020;background:linear-gradient(#4a4a4a,#202020);color:white;border-radius:3px;padding:8px 25px;box-shadow:0 1px 3px #0003;font:12px Arial;min-width:90px;text-align:center}
a.button:hover{background:#444;color:white;text-decoration:none}a.button span{background:none!important;padding:0!important;display:inline}
.legacy-topic-table{table-layout:auto;border:1px solid var(--line)}.legacy-topic-table td{border-left:0;border-right:0}.legacy-topic-table .inline_row>td{height:56px;box-sizing:border-box;padding-top:8px;padding-bottom:8px;background:white}
.legacy-topic-table .legacy-thread-star{width:24px;padding:8px 4px;vertical-align:top;color:#d7d7d7;font-size:17px}.legacy-thread-main{font:14px Arial}.legacy-thread-author{color:#999;font:12px Arial;margin-top:4px}.legacy-thread-author a{color:#999}
.legacy-thread-numbers{width:150px;text-align:right;white-space:nowrap;color:#777;font:12px/1.3 Arial}.legacy-thread-numbers a{color:#777}.legacy-thread-last{width:245px;white-space:normal;text-align:left;padding-left:20px!important}
.legacy-thread-last .legacy-last-date{color:#111}.legacy-topic-table .pagination{display:inline-flex;font-size:10px;margin-left:10px}.legacy-topic-table .pagination a,.legacy-topic-table .pagination span{padding:1px 4px;background:#fff;border:1px solid #e6e6e6;color:#aaa;font-size:10px;font-weight:normal}
.legacy-sort-links{display:flex;gap:20px;align-items:center;font:11px Arial}.legacy-sort-links a{color:#d8e6c1!important}.legacy-sort-links a.selected{color:white!important;font-weight:bold;background:#ffffff25;border-radius:8px;padding:1px 10px}
.legacy-sort-row td{padding:7px 10px!important}.legacy-thread-tools{display:flex;justify-content:space-between;align-items:start;margin-top:15px;gap:20px}.legacy-thread-tools .float_right{float:none}
.legacy-thread-tools .thread_legend{display:none}.forumdisplay_sticky{background:#fcfdf7!important}.legacy-forumdisplay #content>.wrapper>.smalltext{color:#999}
.legacy-posts-table{border:1px solid var(--line)}.legacy-posts-table .thead{font:12px Arial!important}.legacy-posts-table #posts_container{padding:0!important}
.legacy_post.post{display:grid;grid-template-columns:170px minmax(0,1fr);margin:0;border:0;border-bottom:1px solid #d9e2c8;border-radius:0;background:white;clear:both;padding:0}
.legacy-post-bar{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;background:#e4ebd7;padding:8px 10px;min-height:18px;font:14px Arial;color:#111}
.legacy-post-bar a{font-weight:normal}.legacy-post-bar .post_number{font-size:12px;color:#777}.legacy-post-bar .float_right{float:none}.legacy-post-tools{display:flex;gap:15px;align-items:center;font-size:11px;color:#405261}
.legacy_post.post .post_author{box-sizing:border-box;width:auto;float:none;background:#fff;border:0;padding:12px 10px;min-height:200px;text-align:center;font:12px/1.2 Arial;color:#777}
.legacy_post.post .post_author .author_avatar{float:none;margin:0 auto 4px;display:block}.legacy_post.post .post_author .author_avatar img{max-width:100px;max-height:110px;object-fit:contain;border:1px solid #ddd;padding:2px;background:white}
.legacy_post.post .post_author .author_information{float:none;width:auto;padding:0;margin:0}.legacy_post.post .post_author .author_statistics{float:none;text-align:center;padding:0;width:auto;font-size:11px;color:#999}
.legacy-usertitle{margin-bottom:4px}.legacy-group{color:#777}.legacy_post.post .post_content{box-sizing:border-box;float:none;width:auto;padding:12px 12px 10px;min-width:0;background:#fff;min-height:220px;border:0;position:relative}
.legacy_post.post .post_head{background:none;border:0;padding:0;color:#aaa;font-size:12px}.legacy_post.post .post_body{padding:12px 0 36px;min-height:130px;font:13px/1.5 Arial;color:#222;overflow-wrap:anywhere}
.legacy_post.post .post_controls{grid-column:2;min-height:28px;background:white;border:0;padding:0 12px 14px;display:flex;justify-content:flex-end;gap:10px}
.legacy_post.post .post_meta{background:none;border:0;padding:0}.legacy_post.post .post_controls .author_buttons{margin-right:auto}.postbit_buttons a{background:linear-gradient(white,#e8e8e8);border:1px solid #d6d6d6;border-radius:2px;box-shadow:none;color:#50606b;font:12px Arial;padding:4px 10px;margin-left:4px;display:inline-block}
.postbit_buttons a span{padding:0;background:none!important}.post_signature{font-size:12px;border-top:1px solid #ddd}.post .edited_post{color:#999}.post .codeblock{overflow:auto;max-width:100%}
.legacy-profile{border:1px solid var(--line);margin:28px 0 30px;display:grid;grid-template-columns:150px minmax(0,1fr) 240px;gap:0 10px;min-height:440px;background:#fff}
.legacy-profile-sidebar{grid-column:1;grid-row:1/3;background:#fffef8;padding:0;min-width:0}.legacy-profile-avatar{text-align:center;padding:0 12px 15px}.legacy-profile-avatar img{max-width:100px;max-height:110px;object-fit:cover;border:1px solid #ccc;padding:1px;background:white;box-shadow:0 1px 3px #0002}
.legacy-profile-tabs{display:flex;flex-direction:column}.legacy-profile-tabs a,.legacy-profile-tabs span{padding:8px;color:#888;font-size:12px;border:1px solid #e5e7df;border-left:0;border-right:0;background:#f8f8f8}.legacy-profile-tabs .current{background:#fff;font-weight:bold;color:#444}
.legacy-profile-heading{grid-column:2/4;padding:0 0 12px;min-height:110px;position:relative}.legacy-profile-heading h1{font:normal 26px Helvetica,Arial;color:#333;margin:0 0 4px}.legacy-profile-heading .smalltext{color:#777;line-height:1.5}
.legacy-profile-actions{display:flex;justify-content:flex-end;gap:5px;flex-wrap:wrap;margin:16px 0 0}.legacy-profile-main{grid-column:2;min-width:0}.legacy-profile-aside{grid-column:3;padding:0;min-width:0}
.legacy-profile-section{background:#fcfcfc;margin:0 0 14px}.legacy-profile-section h2,.legacy-profile .thead{font:14px Arial!important;color:#111!important;background:#9ec56a!important;padding:8px 10px!important;border:0!important}
.legacy-profile-data{display:grid;grid-template-columns:140px 1fr;gap:8px;padding:12px;font-size:13px}.legacy-profile-data dt{font-weight:bold;text-align:right;color:#666}.legacy-profile-data dd{margin:0;color:#666}
.legacy-profile .tborder{border:0;margin-top:0}.legacy-profile .trow1,.legacy-profile .trow2{background:#fcfcfc;border:0;padding:7px 10px;font-size:12px}.legacy-profile-aside .smalltext{padding:10px;color:#888}.legacy-profile-aside .tborder{margin-bottom:12px}
.legacy-profile-contact br:first-child{display:none}.legacy-profile-actions a{font:12px Arial;background:linear-gradient(white,#e7e7e7);border:1px solid #ccc;border-radius:2px;padding:5px 9px;display:inline-block}.legacy-profile .profile_buttons{display:inline-block}
#footer{font:11px Arial;color:#888;padding:10px 0 25px;background:var(--page)}#footer>.wrapper{display:flex;align-items:center;justify-content:space-between;gap:15px}#footer a{color:#333}.legacy-footer-links{display:flex;gap:20px}.legacy-copyright{color:#999;text-align:right;font-size:11px}
.legacy-search .textbox:focus,button:focus-visible,a:focus-visible{outline:2px solid #6f932c;outline-offset:2px}.legacy-preview-label{font-size:10px;color:#acb6a3;margin-top:9px;text-align:right}
@media(min-width:1600px){.wrapper{width:91%}#content{width:91%}.legacy-thread-last{width:255px}}
@media(max-width:850px){.wrapper{width:94%}#content{width:94%!important;padding:8px}.legacy-forum-last{width:200px}.legacy_counts{width:90px;padding-right:8px!important}.legacy-last-title{max-width:165px}.legacy-search .textbox{width:145px}.legacy_nav>a{padding:7px 9px}.legacy_nav .legacy_newposts{font-size:11px}.legacy-profile{grid-template-columns:120px minmax(0,1fr)}.legacy-profile-heading{grid-column:2}.legacy-profile-aside{grid-column:2}.legacy-profile-data{grid-template-columns:100px 1fr}}
@media(max-width:600px){.wrapper{width:94%}#content{width:94%!important;box-sizing:border-box}.legacy-search .textbox{width:110px}#logo img{width:180px}.legacy_nav .legacy_newposts{font-size:0;padding:7px 10px}.legacy_nav .legacy_newposts:after{content:'Новое';font-size:11px}.legacy-forum-last{display:none}.legacy_counts{width:70px;font-size:10px}.legacy-forum-name{font-size:13px}.legacy-forum-description{font-size:11px}.legacy-thread-last{width:130px;padding-left:5px!important}.legacy-thread-last .legacy-avatar{display:none}.legacy-thread-numbers{width:80px;font-size:10px}.legacy-thread-main{font-size:12px}.legacy-thread-author{font-size:10px}.legacy-list-actions>a{display:none}.legacy-sort-links{gap:8px;font-size:10px}.legacy-sort-links a:last-child{display:none}.legacy_post.post{grid-template-columns:105px minmax(0,1fr)}.legacy_post.post .post_author{padding:10px 4px}.legacy_post.post .post_author .author_avatar img{max-width:70px;max-height:90px}.legacy-post-bar{font-size:13px}.legacy-post-tools{gap:5px}.legacy-post-tools .iplogged{display:none}.legacy_post.post .post_content{padding:10px}.legacy_post.post .post_controls{grid-column:1/-1}.legacy-profile{grid-template-columns:90px minmax(0,1fr);gap:8px}.legacy-profile-avatar img{max-width:65px}.legacy-profile-data{grid-template-columns:80px 1fr;font-size:12px;padding:10px 4px}.legacy-profile-heading h1{font-size:23px}.legacy-profile-aside{grid-column:1/-1}.legacy-profile-actions{justify-content:flex-start}#footer>.wrapper{align-items:start;flex-direction:column}.legacy-stats-strip{gap:12px}.legacy-topic-table .inline_row>td{height:65px}.legacy-thread-last .legacy-last-text{overflow-wrap:anywhere}.legacy-thread-last{white-space:normal}.legacy-page-title{font-size:24px}.legacy-admin{gap:8px}.legacy-account{gap:10px}}

.legacy-notices{font:11px Arial;color:#999;text-align:right;margin:0 0 8px}.legacy-notices:not(:has(a)){display:none}.legacy-notices summary{cursor:pointer}.legacy-notices[open]{text-align:left;padding:8px;border:1px solid #dce4d0;background:#f9fbf6}.legacy-notices[open] summary{margin-bottom:8px}
.legacy-member-account>li:first-child,.legacy-member-account>li:first-child *{font-size:0!important}.legacy-member-account>li:first-child>a:before{content:'✉';font-size:19px;color:#aaa;line-height:20px}
.legacy-profile h2{margin:0}.legacy-profile .largetext{font-size:inherit}.legacy-thread-main .thread_multipage{font-size:10px}.legacy-thread-author a{font-weight:normal}
.legacy-thread-author .pagination{display:inline-flex}.legacy-topic-table .pagination .pages{display:none}

.legacy-page-title{font-weight:300!important}.legacy-profile-heading h1{font-weight:300!important}.legacy-group{font-size:11px;color:#777}

.legacy-profile-actions a.button{background:linear-gradient(white,#e7e7e7);color:#555;border:1px solid #ccc;min-width:0;font:12px Arial;box-shadow:none;padding:5px 9px}.legacy-profile-actions a.button span{font-weight:normal}
.legacy-profile-tools{background:#fcfcfc;font-size:12px}.legacy-profile-tools>summary{background:#9ec56a;padding:8px 10px;cursor:pointer;font:14px Arial}.legacy-profile-tools:not(:has(a)){display:none}
.legacy_post.post .post_author .author_avatar img{width:auto!important;height:auto!important;max-width:100px;max-height:110px}.legacy-post-bar a,.legacy-post-bar a span{color:#111!important;font-weight:normal!important}
@media(max-width:600px){.legacy_post.post .post_author .author_avatar img{max-width:70px;max-height:90px}}

.legacy-thread-pages{display:inline-flex;gap:4px;margin-left:8px;vertical-align:middle}.legacy-thread-pages a{display:inline-block;padding:1px 4px;border:1px solid #e5e5e5;color:#999;background:#fff;font:10px Arial;text-decoration:none}.legacy-subforum-list{display:block;margin:2px 0;color:#999}.legacy-subforum-list a{font:12px Arial;color:#111}
