@import url('style_cs.1792095681.css');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Manrope:wght@400;500;600;700&display=swap');
@import url('https://forumstatic.ru/files/001b/df/32/99049.css');

/* Сохранённые функциональные модули */
.Form-Table{}.punbb .table_GamePosts tbody th{text-align: center;color:var(--ot-module-color-1)}
#pre_placement>a {top:3px;right:2px;border:0 none;z-index:100}.punbb .GamePst{padding:0!important;}
.punbb #profile-right li#pa-fld3 strong.GamePst2 {}

.chr0 {
--marg: auto; 
--bgclr: var(--ot-module-color-2);  
--shp1: var(--ot-module-color-3);  
--shc: var(--ot-module-color-4); 
--shs: var(--ot-module-color-5); 
--epc: var(--ot-module-color-6); 
--zag: var(--ot-module-color-7); 
}
.chr0 * {box-sizing: border-box;}
.chr0 {max-width: 700px; min-width: 470px; margin: 20px auto 20px var(--marg);
overflow:hidden; position:relative; display:block; padding-bottom:6px; background: var(--bgclr); border-radius:12px; font-family: Tahoma, Arial, sans-serif; font-size:11px; opacity:0.9;}
.shpk1 {position:relative; display:grid; grid-template-columns: 200px 1fr; grid-template-rows: auto; align-items: center; margin: 10px 0px 20px; padding: 14px 35px 14px 10px; background: var(--shp1); color: var(--shc);  text-shadow: 0 1px 6px var(--shs);}
.shpk1 img {object-fit:cover; object-position: 50% 50%; margin:auto; width:150px; height:60px; grid-row: 1 / 2; grid-column: 1 / 2;}
.shpk1 > ul {grid-row: 1 / 2; grid-column: 2 / 3;}
.shpk1 > ul li:nth-child(2) {padding-top:4px; font-style:bold; font-size:11px; font-family: Georgia, serif; letter-spacing:0.06em; opacity:0.5;}
.chr0 .shpk1:first-child {margin-top:0px;}
.chr0 p, p.epp {display:block; padding: 0 30px 26px !important;}
p.epp > zag {display:block; padding: 4px 0; font-style:normal !important; font-size:14px; font-family: Oswald; opacity:0.8; color: var(--ot-module-color-8);}
p.epp > em {display:block; padding: 4px 0 0 17px; font-style:normal !important; font-size:11px; font-family: Georgia, Tahoma, serif; opacity:0.8;}
.chr0 a {color:var(--epc); text-decoration: none;}
.chr0 a:hover {filter:brightness(1.25);}
.epp zag:before {content: '>>'; margin-right:8px;}
.shpk1 > ul li:first-child, .epp > a {font-family: Oswald, Georgia, serif;}
.shpk1 > ul li:first-child {font-size:27px;}
.chr0 details {
  margin: 5px 15px 30px 25px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--ot-module-color-9); 
  font-family: Georgia, serif;
  font-size: 12px;
  color: var(--ot-module-color-10);
  transition: all 0.3s ease;
}
.chr0 summary {
  cursor: pointer;
  padding: 10px 14px;
  background: var(--ot-wash); 
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  color: var(--ot-module-color-8);
  letter-spacing: 0.05em;
  user-select: none;
  transition: background 0.3s ease, color 0.3s ease;
}
.chr0 details[open] summary::before {
  transform: rotate(90deg);
}
.chr0 details p {
  margin: 0;
margin-top: 10px;
  padding: 12px 12px 16px 16px;
  background: var(--ot-module-color-11);
  border-top: 1px solid var(--ot-module-color-12);
  font-family: Tahoma, sans-serif;
  font-size: 11px;
  color: var(--ot-module-color-13);
}
.chr0 summary::-webkit-details-marker {
  display: none !important;
}



.nm {
display: none;} 

.fd {
display: none;} 

.post-content .left {
background-color: var(--ot-module-color-14);
    display: flex;
    width: 500px;
    Border-radius: 10px 10px 10px 10px;
    padding: 10px 10px 10px 10px;
    text-align: justify;
    margin-bottom: 5px;
    margin-left: 5px;
    box-shadow: 0 0 2px var(--ot-module-color-15);
    color: var(--ot-module-color-16);} 

.post-content .right {
background-color: var(--ot-module-color-17);
    display: flex;
    width: 400px;
    Border-radius: 10px 10px 10px 10px;
    padding: 10px 10px 10px 10px;
    margin-left: 200px;
    margin-bottom: 5px;
margin-top: 5px;
    text-align: left;
    color: var(--ot-module-color-18);}

.objav {
display: flex;
width: 630px;
padding: 20px;
color: var(--ot-module-color-19);
line-height: 0.3em !important;
background: var(--ot-asset-1) no-repeat center top, var(--ot-asset-2) no-repeat center bottom, var(--ot-asset-3) repeat-y center;}

.objav_text {
text-align: center;
padding: 15px 20px 5px 20px;
margin-top: -5px;
}

.zagolov {
font: 1.1em Ebbe;
text-align: center;
margin-top: -20px;
font-size: 1.7em;} 

.date {
font: Ebbe;
font-size: 18px;
font-style: italic;
margin-top: 5px;
margin-left: 370px;
text-align: center;
font-size: 0.9em;
}


.announ {
    background: var(--ot-asset-4) no-repeat center;
    display: flex;
    width: 660px;
    Border-radius: 10px 10px 0px 0px;
 border-style: solid;
    border-width: 1px 1px 0px 1px;
    border-color: var(--ot-module-color-20) var(--ot-module-color-21) var(--ot-module-color-21) var(--ot-module-color-20);
    padding: 10px 10px 10px 10px;
    text-align: justify;
    margin-bottom: 0px;
    color: var(--ot-module-color-16);} 

.announ_txt {
    background-color: var(--ot-module-color-14);
    display: flex;
    width: 660px;
    border-color: var(--ot-module-color-20) var(--ot-module-color-21) var(--ot-module-color-21) var(--ot-module-color-20);
 border-style: solid;
    border-width: 0px 0px 1px 1px;
    Border-radius: 0px 0px 10px 10px;
    padding: 10px 10px 10px 10px;
    text-align: center;
    margin-top: 0px;
    color: var(--ot-module-color-22);} 


div.post-rating, div.post-vote {display:block; float:right}
div.post-vote p {float:right !important; border:0 !important; padding:5px 13px !important; margin-right:5px !important}
div.post-vote a {font-size:160% !important; text-decoration:none !important}

.punbb #pun-main .pun-modal.unread-notifications .section h2{text-align:center!important}


.hideprofile .post-author,.hideprofile .pl-email,.hideprofile .pl-website{display:none!important}
.hideprofile .post-body{grid-column: 1 / -1; }.hideprofile .post-content {width: 100%} .hideprofile .post-links ul,.post.hideprofile h3>span{margin-left:0!important}

  .a href {
    text-decoration: underline !important; 
  }


.uniWrapper {
  max-width: 650px;
  width: 100%;
  margin: 0 auto;
  background: var(--ot-asset-5);
--bingo-hover: var(--ot-asset-5);
}

uniWrapper.dark {
--bingo-hover: var(--ot-asset-6);
}


.uniGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  font-family: Journalism;
  letter-spacing: 2px;
  padding: 10px;
}

.uniCell {
  background: var(--ot-module-color-1);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 6px 18px var(--ot-module-color-23);
  text-align: center;
  transition: 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 65px;
}

.uniCell.active {
  background: var(--bingo-hover);
  color: var(--ot-module-color-1);
}

.uniCellTitle {
  font-weight: 600;
  font-size: 21px;
  margin-bottom: 12px;
line-height:20px;
}

.uniInput {
  width: 100%;
  padding: 2px;
  border-radius: 5px;
  border: 1px solid var(--ot-module-color-24);
  font-size: 9px;
  box-sizing: border-box;
  opacity: 0.7;
color: var(--ot-module-color-1) !important;
}

.uniButton {
  display: block;
  margin: 20px auto 10px auto;
  padding: 10px 20px;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  cursor: pointer;
  background: var(--ot-module-color-25);
  color: var(--ot-module-color-1);
  font-weight: 600;
  width: 500px;
}

#uniResult {
  margin: 15px;
  white-space: pre-wrap;
  background: var(--ot-module-color-1);
  padding: 10px;
  border-radius: 10px;
  display: none;
  word-break: break-word;
  box-shadow: 0 6px 18px var(--ot-module-color-23);
  font-size: 11px;
}



.forest-adaptive-wrapper { background:var(--ot-module-color-45) !important; padding: 0; margin: 10px auto; max-width: 907px; }

.forest-card {
  --f-bg: var(--ot-module-color-26); --f-txt: var(--ot-module-color-10); --f-acc: var(--ot-module-color-27); --f-brd: var(--ot-module-color-28);
  border-radius: 15px; background: var(--f-bg); color: var(--f-txt); 
  font-family: 'Georgia', serif; border: 1px solid var(--f-brd); 
  overflow: hidden; box-shadow: 0 8px 25px var(--ot-module-color-29); position: relative;
}


#theme-dark:checked ~ .forest-card { --f-bg: var(--ot-module-color-30); --f-txt: var(--ot-module-color-31); --f-acc: var(--ot-module-color-32); --f-brd: var(--ot-module-color-33); }
#theme-winter:checked ~ .forest-card { --f-bg: var(--ot-module-color-34); --f-txt: var(--ot-module-color-35); --f-acc: var(--ot-module-color-36); --f-brd: var(--ot-module-color-37); }

.color-switches {
  position: absolute; top: 15px; right: 15px; z-index: 20;
  display: flex; gap: 8px; background: var(--ot-module-color-38); padding: 5px; border-radius: 20px;
}
.color-switches label { width: 15px; height: 15px; border-radius: 50%; cursor: pointer; border: 2px solid var(--ot-module-color-1); transition: 0.3s; }
.btn-std { background: var(--ot-module-color-27); }
.btn-dark { background: var(--ot-module-color-39); }
.btn-winter { background: var(--ot-module-color-36); }


.f-header { position: relative; height: 280px; overflow: hidden; background: var(--ot-module-color-15); }
.f-header img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s ease-in-out; }

.f-title-box {
  position: absolute; bottom: 0; width: 100%; padding: 30px 20px;
  background: linear-gradient(transparent, var(--ot-module-color-40));
  color: var(--ot-module-color-26) !important; text-align: center; z-index: 5; transition: 0.4s;
}
.f-title-box h1 { margin-top: -100px; font-size: 39px; text-transform: uppercase; letter-spacing: 2px; text-shadow: 2px 2px 5px var(--ot-module-color-15); }

.f-hover-quote {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--ot-module-color-41); color: var(--ot-module-color-1); display: flex; align-items: center;
  justify-content: center; padding: 40px; text-align: center; font-style: italic;
  opacity: 0; transition: 0.5s; z-index: 10; pointer-events: none; line-height: 1.6;
font-size: 19px; font-family: Arial Narrow;
}

.f-header:hover img { transform: scale(1.1); filter: blur(2px); }
.f-header:hover .f-hover-quote { opacity: 1; }
.f-header:hover .f-title-box { opacity: 0; }


.forest-adaptive-wrapper input[type="radio"] { display: none !important; }
.f-nav { display: flex; background: var(--ot-module-color-42); border-bottom: 1px solid var(--f-brd); }
.f-nav label {
  flex: 1; padding: 15px 5px; text-align: center; cursor: pointer;
  font-size: 11px; text-transform: uppercase; font-weight: bold;
  color: var(--f-txt); opacity: 0.5; transition: 0.3s; border-bottom: 2px solid transparent;
}
.f-content { display: none; padding: 25px; line-height: 1.7; font-size: 15px; min-height: 250px; animation: fadeIn 0.4s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

#t-1:checked ~ .forest-card .f-nav label[for="t-1"], #t-2:checked ~ .forest-card .f-nav label[for="t-2"],
#t-3:checked ~ .forest-card .f-nav label[for="t-3"], #t-4:checked ~ .forest-card .f-nav label[for="t-4"] { 
  opacity: 1; color: var(--f-acc); border-bottom: 2px solid var(--f-acc); 
}
#t-1:checked ~ .forest-card #c-1, #t-2:checked ~ .forest-card #c-2, 
#t-3:checked ~ .forest-card #c-3, #t-4:checked ~ .forest-card #c-4 { display: block; }


.f-block { margin-bottom: 15px; padding: 15px; border-left: 3px solid var(--f-acc); background: var(--ot-module-color-43); border-radius: 0 8px 8px 0; }
.f-block b { display: block; text-transform: uppercase; font-size: 12px; color: var(--f-acc); margin-bottom: 5px; }
.f-link { color: var(--f-acc); font-weight: bold; text-decoration: none; border-bottom: 1px dashed var(--f-acc); }


#t-5:checked ~ .forest-card #c-5 { display: block !important; }
#t-5:checked ~ .forest-card label[for="t-5"] { 
    background: var(--f-accent, var(--ot-module-color-44)); 
    color: var(--ot-module-color-1); 
}


    #button-justify {background:var(--ot-module-color-45)}
#button-indent {background:var(--ot-module-color-45)}
#button-indent {background:var(--ot-module-color-45)}

.pa-respect img {display: none !important;}

 
 
#pun-navlinks a:not(.NextShow)+span.odd{ 
display:none!important; 
}
#pun-navlinks a:not(.NextShow)+span.odd{ 
display:none!important; 
}
 
#pun-navlinks a#New-exit {
  background:var(--ot-module-color-45)!important; 
  position:absolute;
  z-index:100000!important;
  margin-top: -4px !important;
  margin-left: 87px !important;
  display:inline-block!important; 
}
#pun-navlinks #New-exit img{ 
position: absolute;
width: 18px;
height: auto;
transition: .63s;
}
#pun-navlinks #New-exit:hover img{
transition: .63s;
 opacity: .42;
}
.punbb #pun-navlinks a#New-exit:before {
    content:none;
}
.punbb #pun-navlinks #form-login input{
text-align: center;
border: 1px solid var(--ot-module-color-60);
text-rendering: auto; 
color: var(--ot-module-color-61)!important;  
margin-top: 4px!important;
margin-bottom: 3px!important;
border-radius: 5px; 
letter-spacing: 0.2; 
word-spacing: normal; 
text-transform: none; 
text-indent: 0px; 
text-shadow: none; 
display: inline-block!important; 
text-align: center;
box-sizing: border-box;
height:20px;
width:67px;
width: 110px;
padding: 4px;
font: normal normal 400 11px/normal Verdana!important;
background-color: var(--ot-module-color-62);
}
.punbb #form-login #fld1:empty,#form-login #fld2:empty,
.punbb #form-login #fld1,#form-login #fld2{ 
background-color: var(--ot-module-color-63);
} 
.punbb #pun-navlinks #form-login input[type="submit"]{ 
margin: 13px 0 2px!important;
box-sizing: border-box;
height:26px;
width:67px;
font-size: 11px!important;
color: var(--ot-module-color-64) !important;
background: var(--ot-module-color-65);
border: 1px outset var(--ot-module-color-66)!important;
text-align: center;
padding: 0 12px!important;
border-radius: 13px;
font-family: Verdana!important;
font-weight: 700!important;
transition: all 0.5s ease-in-out 0s;
letter-spacing: 0.8;
cursor:pointer;


} 
.punbb #pun-navlinks #form-login input[type="submit"]:hover{
  opacity:0.6;
}
.dark .punbb #pun-navlinks #form-login input[type="submit"] {
  background: var(--ot-module-color-67);
}

.punbb #pun-navlinks #form-login,
.punbb #pun-navlinks #form-login *{
  box-sizing:content-box;
}
.punbb #pun-navlinks #form-login { 
background: var(--ot-module-color-68);
min-height:183px;
border: 1px solid var(--ot-module-color-69);
border-radius: 0px 0px 6px 6px;
color: var(--ot-module-color-61);
display: block;
font: 11px "Verdana";
left: 0px;
padding: 8px 12px;
margin: 1px 0;
position: absolute !important;
text-align: center;
word-spacing: normal;
white-space: normal;

text-transform: none;
letter-spacing: 0.2px!important; 
top: 6px;
width: 122px;
z-index: 100000!important;
}
#pun-navlinks #navlogin #form-login {
  margin-left: -30px; 
} 
#pun-navlinks #navlogout #form-login { 
  margin-left: -30px;
} 
.ismoderator #pun-navlinks #navlogout #form-login {
  margin-left: -30px!important;
} 
 
#pun-navlinks #form-login input[value="Войти"]+p{ 
 margin: 11px 0;
} 
.punbb #pun-navlinks #form-login a.Rega, 
.punbb #pun-navlinks #form-login a.Forgot{ 
position:relative; 
text-transform: none!important; 
z-index:20; 
cursor:pointer; 
font: normal normal 200 10px/normal Verdana!important; 
letter-spacing: 0.4!important; 
display:inline;
background: none!important;
padding: 0 0 0 3px!important;
color: var(--ot-module-color-70)!important;
font-size: 9px!important;

}
.punbb #pun-navlinks #form-login a.Rega:before, 
.punbb #pun-navlinks #form-login a.Forgot:before{
  content:none;
}
 
#form-login input.none{ 
outline:red dashed 2px!important; 
} 
 
#List-UserNames { 
position:absolute; 
margin-top:-9px; 
min-height:90px; 
width:220px; 
right:100%; 
padding: 12px 19px 12px 17px; 
background: var(--ot-module-color-68);
border-color: var(--ot-module-color-69); 
border-style: solid; 
border-width: 1px 1px 1px 1px;  
border-radius:0 0 0px 6px;
text-align:center; 
 
} 
 
.punbb #List-UserNames ul{
padding: 0;
overflow:hidden; 
overflow-y:auto; 
min-height:36px; 
max-height:72px; 
} 
.punbb #List-UserNames li {
display: block!important;
position: relative;
background: var(--ot-module-color-65);
text-transform:none!important;
text-align: left;
box-shadow: 2px 2px 1px var(--ot-module-color-71);
padding-left: 5px!important;
font: normal normal 700 12x/normal Verdana!important;
letter-spacing: 0.4;
margin: 1px auto!important;
padding: 2px 0;
transition: .33s;
}
.dark .punbb #List-UserNames li {
  background: var(--ot-module-color-67);
}

.punbb #List-UserNames li:hover{ 
opacity:.84; 

} 
 
.punbb #List-UserNames li>b{ 
cursor: pointer;
opacity: .9;
color: var(--ot-module-color-72);;
text-shadow: 1px 1px 1px var(--ot-module-color-73);
letter-spacing: 0.3;
} 
.punbb #List-UserNames li>b:hover{ 
opacity:.93; 
text-shadow:1px 1px 1px var(--ot-module-color-74); 
} 
 
#List-UserNames ul::-webkit-scrollbar { 
width: 3px; 
height: 5px; 
} 
#List-UserNames ul::-webkit-scrollbar-track { 
background-color: var(--ot-module-color-75); 
border: 0px solid var(--ot-module-color-76); 
box-shadow: none; 
} 
#List-UserNames ul::-webkit-scrollbar-thumb {
background-color: var(--ot-module-color-77);
border: 0px solid var(--ot-module-color-76); 
box-shadow: none; 
} 

 
#List-UserNames ul li>span { 
display:inline-block; 
padding:0 3px; 
position:absolute; 

opacity:.88; 
cursor:pointer; 
top:0;bottom:0; 
right:2px; 
color:var(--ot-module-color-1); 
font: normal normal
 
700 10.56px/normal Verdana; 
text-shadow:1px 1px 1px var(--ot-module-color-74); 
} 
 
#List-UserNames ul:empty:before{ 
display:inline-block; 
content: "У Вас нет запомненных ников, введенных через форму справа, или через перенос ниже!"; 
} 
 
#navlogin #exit-2 { 
display:none; 
} 
#pun:not(.isguest) #navlogout .Rega, 
#pun:not(.isguest) #navlogout .Forgot { 
display:none!important; 
} 
 
#List-UserNames ul+span{ 
display:inline-block; 
padding:6px 0 8px 0; 
text-align:left; 
font: normal normal 400 10.56px/normal Verdana;
} 
 
.punbb #List-UserNames input { 
border: 1px solid var(--ot-module-color-60)!important; 
text-shadow: none!important; 
color:var(--ot-module-color-10)!important;
background-color: var(--ot-module-color-78);
font: normal normal 400 11px/normal Verdana!important; 
 
margin-top: 9px; 
padding: 2px !important; 
vertical-align: middle; 
} 
 
#List-UserNames ul+span b{ 
font: normal normal 400 13px/normal Verdana; 
padding:0 3px; 
color: var(--ot-module-color-61);
} 
 
#List-UserNames .a1-copy{ 
display:inline-block!important; 
cursor:pointer; 
float:left; 
} 
 
#List-UserNames .a1-paste{ 
cursor:pointer; 
display:inline-block!important; 
float:right; 
} 
 
.tipsy.a11 { 
font: normal normal 400 11px/normal Verdana!important; 
margin-top:-22px!important; 
margin-left: 148px!important; 
max-width:170px; 
} 




.pokemon-modal {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 260px;
    background: var(--ot-module-color-1);
    border: 3px solid var(--ot-module-color-24);
    border-radius: 12px;
    box-shadow: 0 0 15px var(--ot-module-color-38);
    z-index: 9999;
    font-family: Arial, sans-serif;
    text-align: center;
    overflow: hidden;
}
.pokemon-modal-content {
    padding: 15px;
}
.pokemon-header {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--ot-module-color-10);
}
.pokemon-body img {
    width: 96px;
    height: 96px;
    image-rendering: pixelated;
    background: var(--ot-module-color-79);
    border-radius: 8px;
    padding: 5px;
}
#pokemonName {
    font-weight: bold;
    margin: 10px 0;
}
.pokemon-btn-catch {
    background: var(--ot-module-color-80);
    color:var(--ot-module-color-149);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    margin-top: 5px;
}
.pokemon-btn-catch:hover {
    background: var(--ot-module-color-81);
}
.pokemon-btn-close, .pokemon-btn-success {
    border: none;
    padding: 8px 25px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    margin-top: 10px;
}
.pokemon-btn-close {
    background: var(--ot-module-color-82);
    color:var(--ot-module-color-149);
}
.pokemon-btn-close:hover {
    background: var(--ot-module-color-83);
}
.pokemon-btn-success {
    background: var(--ot-module-color-84);
    color:var(--ot-module-color-149);
}
.pokemon-btn-success:hover {
    background: var(--ot-module-color-85);
}
#catchResult {
    margin-top: 10px;
    font-weight: bold;
}


.pokemon-menu-btn {
    position: fixed;
    top: 10px;
    right: 20px;
    z-index: 10000;
    background: var(--ot-module-color-80);
    color:var(--ot-module-color-149);
    border: 2px solid var(--ot-module-color-86);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px var(--ot-module-color-87);
    transition: all 0.2s ease;
    padding: 0;
}
.pokemon-menu-btn:hover {
    background: var(--ot-module-color-88);
    border-color: var(--ot-module-color-89);
    box-shadow: 0 3px 10px var(--ot-module-color-38);
    transform: rotate(30deg);
}
.pokemon-menu-panel {
    position: fixed;
    top: 55px;
    right: 20px;
    background:var(--ot-module-color-149);
    border: 2px solid var(--ot-module-color-80);
    border-radius: 10px;
    padding: 15px;
    z-index: 10001;
    box-shadow: 0 4px 10px var(--ot-module-color-87);
    min-width: 200px;
    display: none;
}
.pokemon-menu-panel label {
    cursor: pointer;
    font-size: 14px;
    color: var(--ot-module-color-10);
}

.pokemon-close-x {
    position: absolute;
    top: 8px;
    right: 14px;
    font-size: 24px;
    font-weight: bold;
    color: var(--ot-module-color-90);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    z-index: 10;
    font-family: Arial, sans-serif;
}
.pokemon-close-x:hover {
    color: var(--ot-module-color-91);
}
.pokemon-modal-content {
    position: relative;
}


.pokemon-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--ot-module-color-92);
    z-index: 99998;
    display: none;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.pokemon-modal-window {
    background: var(--ot-module-color-93);
    border-radius: 8px;
    max-width: 750px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 20px;
    position: relative;
    box-shadow: 0 4px 20px var(--ot-module-color-94);
    animation: slideUp 0.3s ease;
    border: 2px solid var(--ot-module-color-95);
}

.pokemon-modal-close {
    position: absolute;
    top: 8px;
    right: 14px;
    font-size: 28px;
    font-weight: bold;
    color: var(--ot-module-color-90);
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10;
    line-height: 1;
    font-family: Arial, sans-serif;
    transition: color 0.2s;
}
.pokemon-modal-close:hover {
    color: var(--ot-module-color-91);
}


.trainer-profile-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    background: var(--ot-module-color-96);
    color: var(--ot-module-color-1);
    border: 2px solid var(--ot-module-color-90);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 2px 10px var(--ot-module-color-38);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.trainer-profile-btn:hover {
    transform: scale(1.05);
    background: var(--ot-module-color-97);
    border-color: var(--ot-module-color-98);
}
.trainer-profile-btn svg {
    width: 26px;
    height: 26px;
}


.trainer-card {
    background: var(--ot-module-color-99);
    border: 1px solid var(--ot-module-color-95);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trainer-top-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    width: 100%;
    flex-wrap: wrap;
}

.trainer-avatar {
    width: 80px;
    height: 80px;
    background: var(--ot-module-color-100);
    border: 2px solid var(--ot-module-color-95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    flex-shrink: 0;
    overflow: hidden;
}

.trainer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}


.trainer-divider {
    width: 1px;
    height: 70px;
    border-left: 1px solid var(--ot-module-color-101);
    flex-shrink: 0;
}

.trainer-center-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 160px;
    flex-shrink: 0;
}

.trainer-name {
    font-family: 'Book Antiqua', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--ot-module-color-96);
    margin-bottom: 4px;
}

.trainer-title {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: var(--ot-module-color-1);
}

.title-newbie { background: var(--ot-module-color-102); }
.title-rookie { background: var(--ot-module-color-103); }
.title-catcher { background: var(--ot-module-color-104); }
.title-expert { background: var(--ot-module-color-105); }
.title-elite { background: var(--ot-module-color-106); }
.title-master { background: var(--ot-module-color-107); }
.title-champion { background: var(--ot-module-color-108); }
.title-legend { background: linear-gradient(135deg, var(--ot-module-color-109), var(--ot-module-color-107)); }

.trainer-stats-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 4px;
}

.trainer-stat {
    font-size: 11px;
    color: var(--ot-module-color-96);
}

.trainer-stat strong {
    color: var(--ot-module-color-97);
    font-size: 14px;
    font-family: 'Book Antiqua', serif;
}


.trainer-inventory {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 120px;
    padding-left: 20px;
    
    border-left: 1px solid var(--ot-module-color-101);
    flex-shrink: 0;
}

.inv-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--ot-module-color-96);
    gap: 8px;
}

.inv-item .inv-icon {
    font-size: 16px;
    width: 28px;
    text-align: left;
}

.inv-item .inv-count {
    font-weight: 700;
    font-size: 15px;
    color: var(--ot-module-color-97);
    font-family: 'Book Antiqua', serif;
    min-width: 30px;
    text-align: right;
}

.inv-item .inv-label {
    font-size: 10px;
    color: var(--ot-module-color-98);
    flex: 1;
}

.inv-item .inv-bought {
    font-size: 9px;
    color: var(--ot-module-color-98);
    background: var(--ot-module-color-100);
    padding: 1px 8px;
    border-radius: 10px;
    border: 1px solid var(--ot-module-color-95);
    white-space: nowrap;
}

.inv-item .inv-bought strong {
    color: var(--ot-module-color-97);
    font-weight: 700;
}

.trainer-exp-bar {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.exp-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--ot-module-color-98);
    margin-bottom: 3px;
}

.exp-bar-bg {
    width: 100%;
    height: 10px;
    background: var(--ot-module-color-98);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--ot-module-color-90);
}

.exp-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--ot-module-color-110), var(--ot-module-color-111), var(--ot-module-color-109));
    border-radius: 10px;
    transition: width 0.5s ease;
}

.pokemon-count-breakdown {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 10px;
    color: var(--ot-module-color-98);
    width: 100%;
}

.pokemon-count-breakdown span {
    background: var(--ot-module-color-100);
    padding: 3px 10px;
    border-radius: 10px;
    border: 1px solid var(--ot-module-color-95);
    color: var(--ot-module-color-96);
    font-size: 10px;
}

.pokemon-count-breakdown span strong {
    color: var(--ot-module-color-97);
}

.pokemon-count-breakdown span small {
    font-size: 9px;
    color: var(--ot-module-color-98);
}


@media (max-width: 640px) {
    .trainer-top-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .trainer-divider {
        display: none;
    }
    
    .trainer-inventory {
        border-left: none;
        border-top: 1px solid var(--ot-module-color-101);
        padding-left: 0;
        padding-top: 12px;
        width: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .trainer-center-block {
        min-width: unset;
        width: 100%;
    }
}


.storage-section {
    margin-top: 0;
}

.storage-header {
    background: var(--ot-module-color-99);
    border: 1px solid var(--ot-module-color-95);
    border-radius: 5px 5px 0 0;
    padding: 14px 20px;
    font-family: 'Book Antiqua', serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--ot-module-color-96);
    text-align: center;
}

.storage-scroll {
    max-height: 350px;
    overflow-y: auto;
    background: var(--ot-module-color-112);
    border: 1px solid var(--ot-module-color-95);
    border-top: none;
    border-radius: 0 0 5px 5px;
    padding: 15px;
}

.pokemon-grid-modal {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 10px;
    padding: 0;
    background:var(--ot-module-color-45);
    border: none;
    border-radius: 0;
}


.pet-card-modal {
    background: var(--ot-module-color-99);
    border: 1px solid var(--ot-module-color-95);
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.pet-card-modal:hover {
    transform: translateY(-2px);
}

.pet-card-modal .pet-image {
    width: 64px;
    height: 64px;
    margin: 0 auto 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--ot-module-color-100);
    border-radius: 5px;
    padding: 4px;
    border: 2px solid var(--ot-module-color-95);
    transition: transform 0.3s ease;
}

.pet-card-modal .pet-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    image-rendering: auto;
    border-radius: 3px;
}

.pet-card-modal .pet-image:hover {
    transform: scale(1.05);
}

.pet-card-modal .pet-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--ot-module-color-96);
    font-family: 'Book Antiqua', serif;
    margin: 6px 0 2px;
}

.pet-card-modal .pet-type {
    font-size: 10px;
    color: var(--ot-module-color-97);
    margin-bottom: 6px;
}


.type-badge {
    display: inline-block !important;
    padding: 2px 6px !important;
    border-radius: 3px !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    color: var(--ot-module-color-1) !important;
    margin: 1px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.type-normal { background: var(--ot-module-color-102) !important; }
.type-fire { background: var(--ot-module-color-107) !important; }
.type-water { background: var(--ot-module-color-104) !important; }
.type-electric { background: var(--ot-module-color-109) !important; color: var(--ot-module-color-10); }
.type-grass { background: var(--ot-module-color-103) !important; }
.type-ice { background: var(--ot-module-color-113) !important; color: var(--ot-module-color-10); }
.type-fighting { background: var(--ot-module-color-114) !important; }
.type-poison { background: var(--ot-module-color-108) !important; }
.type-ground { background: var(--ot-module-color-115) !important; color: var(--ot-module-color-10); }
.type-flying { background: var(--ot-module-color-105) !important; }
.type-psychic { background: var(--ot-module-color-116) !important; }
.type-bug { background: var(--ot-module-color-117) !important; }
.type-rock { background: var(--ot-module-color-106) !important; }
.type-ghost { background: var(--ot-module-color-118) !important; }
.type-dragon { background: var(--ot-module-color-119) !important; }
.type-steel { background: var(--ot-module-color-120) !important; color: var(--ot-module-color-10); }
.type-fairy { background: var(--ot-module-color-121) !important; }

.life-bar-container {
    background-color: var(--ot-module-color-98);
    border-radius: 20px;
    height: 8px;
    width: 100%;
    margin: 4px 0;
    overflow: hidden;
    border: 1px solid var(--ot-module-color-90);
}

.life-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--ot-module-color-122), var(--ot-module-color-123));
    border-radius: 20px;
    transition: width 0.3s ease;
}

.xp-bar-container {
    background-color: var(--ot-module-color-98);
    border-radius: 20px;
    height: 8px;
    width: 100%;
    margin: 4px 0;
    overflow: hidden;
    border: 1px solid var(--ot-module-color-90);
}

.xp-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--ot-module-color-110), var(--ot-module-color-111));
    border-radius: 20px;
    transition: width 0.3s ease;
}

.pet-stats {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: var(--ot-module-color-96);
    margin: 4px 0;
    gap: 4px;
}

.stat-item {
    background: var(--ot-module-color-100);
    padding: 3px 6px;
    border-radius: 3px;
    border: 1px solid var(--ot-module-color-95);
    white-space: nowrap;
}

.stat-label {
    font-size: 9px;
    color: var(--ot-module-color-96);
    text-align: left;
    margin-top: 2px;
    font-weight: 600;
}

.stage-indicator {
    font-size: 10px;
    color: var(--ot-module-color-96);
    background: var(--ot-module-color-100);
    display: inline-block;
    padding: 3px 10px;
    border-radius: 3px;
    font-weight: 600;
    margin-top: 6px;
    border: 1px solid var(--ot-module-color-95);
    font-family: 'Book Antiqua', serif;
}

.loading-spinner {
    text-align: center;
    padding: 20px;
    color: var(--ot-module-color-98);
    font-family: 'Book Antiqua', serif;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}


@media (max-width: 640px) {
    .pokemon-modal-window {
        max-width: 95%;
        padding: 15px;
        max-height: 90vh;
    }
    .pokemon-grid-modal {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    .trainer-profile-btn {
        width: 44px;
        height: 44px;
        bottom: 15px;
        left: 15px;
    }
    .trainer-profile-btn svg {
        width: 22px;
        height: 22px;
    }
}



.team-manager-window {
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
}
.team-manager-btn {
    bottom: 80px !important;
    background: var(--ot-module-color-124) !important;
    border-color: var(--ot-module-color-125) !important;
}
.team-manager-btn:hover {
    background: var(--ot-module-color-126) !important;
}
.tm-section {
    background: var(--ot-module-color-99);
    border: 1px solid var(--ot-module-color-95);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}
.tm-section-title {
    font-family: 'Book Antiqua', serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--ot-module-color-96);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--ot-module-color-95);
    display: flex;
    align-items: center;
    gap: 8px;
}
.tm-section-title .count-badge {
    background: var(--ot-module-color-124);
    color:var(--ot-module-color-149);
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 10px;
    font-family: Arial, sans-serif;
}
.tm-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
@media (max-width: 640px) {
    .tm-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.tm-slot {
    background: var(--ot-module-color-100);
    border: 2px solid var(--ot-module-color-95);
    border-radius: 6px;
    padding: 10px;
    text-align: center;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.tm-slot-empty {
    border-style: dashed;
    opacity: 0.6;
    justify-content: center;
    align-items: center;
}
.tm-slot-number {
    position: absolute;
    top: 5px;
    left: 8px;
    font-size: 10px;
    font-weight: 700;
    color: var(--ot-module-color-90);
    background: var(--ot-module-color-127);
    padding: 1px 6px;
    border-radius: 3px;
}
.tm-poke-sprite {
    width: 64px;
    height: 64px;
    object-fit: contain;
    image-rendering: auto;
    margin: 5px auto;
    background: var(--ot-module-color-128);
    border-radius: 5px;
    padding: 3px;
}
.tm-poke-name {
    font-weight: 700;
    font-size: 13px;
    color: var(--ot-module-color-96);
    font-family: 'Book Antiqua', serif;
    margin: 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tm-poke-info {
    font-size: 10px;
    color: var(--ot-module-color-97);
    margin-bottom: 6px;
}
.tm-poke-actions {
    margin-top: auto;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}
.tm-btn {
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    border: 1px solid var(--ot-module-color-90);
    border-radius: 4px;
    cursor: pointer;
    font-family: Arial, sans-serif;
    transition: all 0.2s;
    text-transform: uppercase;
    white-space: nowrap;
}
.tm-btn-storage {
    background: var(--ot-module-color-98);
    color:var(--ot-module-color-149);
}
.tm-btn-storage:hover {
    background: var(--ot-module-color-90);
}
.tm-btn-slot {
    background: var(--ot-module-color-124);
    color:var(--ot-module-color-149);
}
.tm-btn-slot:hover {
    background: var(--ot-module-color-129);
}
.tm-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.tm-storage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
@media (max-width: 640px) {
    .tm-storage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.tm-storage-item {
    background: var(--ot-module-color-100);
    border: 1px solid var(--ot-module-color-95);
    border-radius: 5px;
    padding: 8px;
    text-align: center;
}
.tm-storage-sprite {
    width: 48px;
    height: 48px;
    object-fit: contain;
    image-rendering: auto;
}
.tm-storage-name {
    font-size: 10px;
    font-weight: 700;
    color: var(--ot-module-color-96);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 3px 0;
}
.tm-storage-slot-select {
    width: 100%;
    padding: 3px;
    font-size: 9px;
    border: 1px solid var(--ot-module-color-95);
    border-radius: 3px;
    margin: 4px 0;
    font-family: Arial, sans-serif;
}
.tm-empty-message {
    text-align: center;
    color: var(--ot-module-color-98);
    padding: 15px;
    font-size: 12px;
}
.tm-slot-highlight {
    border-color: var(--ot-module-color-80) !important;
    box-shadow: 0 0 10px var(--ot-module-color-130);
}


#teamManagerOverlay {
    z-index: 100000 !important;
}
.team-manager-btn {
    z-index: 99999 !important;
}


#missionOverlay {
    z-index: 100001 !important;
}
.mission-manager-btn {
    bottom: 140px !important;
    background: var(--ot-module-color-131) !important;
    border-color: var(--ot-module-color-132) !important;
}
.mission-manager-btn:hover {
    background: var(--ot-module-color-133) !important;
}
.mission-window {
    max-width: 1000px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
}
.mission-layout {
    display: flex;
    gap: 15px;
    min-height: 500px;
}
@media (max-width: 700px) {
    .mission-layout {
        flex-direction: column;
    }
}
.ms-left {
    flex: 0 0 55%;
    background: var(--ot-module-color-134);
    border: 1px solid var(--ot-module-color-95);
    border-radius: 8px;
    padding: 12px;
    max-height: 70vh;
    overflow-y: auto;
}
.ms-right {
    flex: 1;
    background: var(--ot-module-color-134);
    border: 1px solid var(--ot-module-color-95);
    border-radius: 8px;
    padding: 12px;
    min-width: 280px;
}
.ms-section-title {
    font-family: 'Book Antiqua', serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--ot-module-color-96);
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--ot-module-color-95);
}
.ms-mission-item {
    background: var(--ot-module-color-1);
    border: 2px solid var(--ot-module-color-135);
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.ms-mission-item:hover {
    border-color: var(--ot-module-color-131);
    box-shadow: 0 2px 8px var(--ot-module-color-136);
}
.ms-mission-item.selected {
    border-color: var(--ot-module-color-131);
    background: var(--ot-module-color-137);
    box-shadow: 0 0 0 2px var(--ot-module-color-138);
}
.ms-mission-name {
    font-weight: 700;
    font-size: 13px;
    color: var(--ot-module-color-96);
}
.ms-mission-diff {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
    white-space: nowrap;
    color: var(--ot-module-color-1);
}
.ms-diff-easy {
    background: var(--ot-module-color-103);
}
.ms-diff-medium {
    background: var(--ot-module-color-107);
}
.ms-diff-hard {
    background: var(--ot-module-color-114);
}
.ms-mission-detail {
    background: var(--ot-module-color-1);
    border: 2px solid var(--ot-module-color-131);
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 10px;
    animation: fadeIn 0.2s;
}
.ms-detail-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--ot-module-color-96);
    margin-bottom: 4px;
}
.ms-detail-diff {
    margin-bottom: 8px;
}
.ms-detail-type {
    font-size: 11px;
    color: var(--ot-module-color-90);
    margin-bottom: 4px;
    font-weight: 600;
}
.ms-detail-desc {
    font-size: 12px;
    color: var(--ot-module-color-97);
    margin-bottom: 8px;
    line-height: 1.4;
}
.ms-detail-bonus {
    font-size: 11px;
    margin-bottom: 6px;
    color: var(--ot-module-color-96);
}
.ms-detail-bonus span {
    display: inline-block;
    background: var(--ot-module-color-139);
    padding: 2px 6px;
    border-radius: 3px;
    margin: 1px;
    font-size: 10px;
    border: 1px solid var(--ot-module-color-140);
}
.ms-detail-rewards {
    font-size: 11px;
    color: var(--ot-module-color-96);
    margin-bottom: 4px;
}
.ms-detail-rewards .success-text {
    color: var(--ot-module-color-48);
    font-weight: 700;
}
.ms-detail-rewards .fail-text {
    color: var(--ot-module-color-91);
    font-weight: 700;
}
.ms-detail-time {
    font-size: 11px;
    color: var(--ot-module-color-90);
    font-weight: 600;
}
.ms-team-grid-mini {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    max-height: 350px;
    overflow-y: auto;
}
@media (max-width: 700px) {
    .ms-team-grid-mini {
        grid-template-columns: repeat(3, 1fr);
        max-height: 250px;
    }
}
.ms-poke-card {
    background: var(--ot-module-color-1);
    border: 2px solid var(--ot-module-color-135);
    border-radius: 6px;
    padding: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}
.ms-poke-card:hover {
    border-color: var(--ot-module-color-124);
}
.ms-poke-card.selected {
    border-color: var(--ot-module-color-124);
    background: var(--ot-module-color-141);
    box-shadow: 0 0 0 2px var(--ot-module-color-142);
}
.ms-poke-card.on-mission {
    opacity: 0.5;
    cursor: not-allowed;
    border-style: dashed;
}
.ms-poke-sprite-mini {
    width: 48px;
    height: 48px;
    object-fit: contain;
    image-rendering: auto;
}
.ms-poke-name-mini {
    font-size: 11px;
    font-weight: 700;
    color: var(--ot-module-color-96);
    margin: 3px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ms-poke-info-mini {
    font-size: 9px;
    color: var(--ot-module-color-97);
}
.ms-poke-stats {
    font-size: 10px;
    color: var(--ot-module-color-96);
    margin: 4px 0;
    text-align: left;
    line-height: 1.5;
}
.ms-poke-stats strong {
    color: var(--ot-module-color-97);
}
.ms-bonus-badge {
    display: inline-block;
    background: var(--ot-module-color-139);
    color: var(--ot-module-color-48);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    margin: 4px 0;
    border: 1px solid var(--ot-module-color-140);
    animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--ot-module-color-143); }
    50% { box-shadow: 0 0 0 6px var(--ot-module-color-144); }
}
.ms-chance-bar {
    background: var(--ot-module-color-145);
    border-radius: 10px;
    height: 10px;
    margin: 6px 0;
    overflow: hidden;
    border: 1px solid var(--ot-module-color-95);
}
.ms-chance-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s;
}
.ms-chance-high {
    background: linear-gradient(90deg, var(--ot-module-color-103), var(--ot-module-color-80));
}
.ms-chance-mid {
    background: linear-gradient(90deg, var(--ot-module-color-109), var(--ot-module-color-107));
}
.ms-chance-low {
    background: linear-gradient(90deg, var(--ot-module-color-107), var(--ot-module-color-114));
}
.ms-chance-text {
    font-size: 10px;
    color: var(--ot-module-color-97);
    text-align: right;
    font-weight: 600;
}
.ms-no-pokemon {
    text-align: center;
    color: var(--ot-module-color-98);
    padding: 30px 15px;
    font-size: 12px;
}
.ms-btn-send {
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid var(--ot-module-color-131);
    border-radius: 8px;
    cursor: pointer;
    background: var(--ot-module-color-131);
    color: var(--ot-module-color-1);
    margin-top: 12px;
    font-family: 'Book Antiqua', serif;
    transition: all 0.2s;
    letter-spacing: 1px;
}
.ms-btn-send:hover {
    background: var(--ot-module-color-133);
    border-color: var(--ot-module-color-132);
}
.ms-btn-send:disabled {
    background: var(--ot-module-color-24);
    border-color: var(--ot-module-color-146);
    cursor: not-allowed;
    opacity: 0.6;
}

.ms-result-card {
    background: var(--ot-module-color-134);
    border: 2px solid var(--ot-module-color-90);
    border-radius: 10px;
    padding: 15px;
    max-width: 480px;
    margin: 10px auto;
    font-family: 'Book Antiqua', serif;
    text-align: center;
    box-sizing: border-box;
}
.ms-result-card .ms-rc-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--ot-module-color-96);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.ms-result-card .ms-rc-poke {
    font-size: 16px;
    font-weight: 700;
    color: var(--ot-module-color-97);
    margin-bottom: 4px;
}
.ms-result-card .ms-rc-mission {
    font-size: 12px;
    color: var(--ot-module-color-90);
    margin-bottom: 8px;
}
.ms-result-card .ms-rc-chance {
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 10px;
}
.ms-result-card .ms-rc-timer {
    font-size: 18px;
    font-weight: 700;
    color: var(--ot-module-color-131);
    margin: 10px 0;
    font-family: 'Courier New', monospace;
}
.ms-result-card .ms-rc-result {
    font-size: 14px;
    font-weight: 700;
    margin: 10px 0;
    padding: 8px;
    border-radius: 6px;
}
.ms-result-success {
    background: var(--ot-module-color-139);
    color: var(--ot-module-color-48);
    border: 1px solid var(--ot-module-color-140);
}
.ms-result-fail {
    background: var(--ot-module-color-147);
    color: var(--ot-module-color-91);
    border: 1px solid var(--ot-module-color-148);
}
.ms-result-card .ms-rc-effects {
    font-size: 11px;
    color: var(--ot-module-color-96);
    margin-top: 6px;
}
.ms-result-card .ms-rc-levelup {
    font-size: 12px;
    font-weight: 700;
    color: var(--ot-module-color-131);
    margin-top: 6px;
    animation: pulse 1s ease-in-out infinite;
}
.mission-alert {
    background: var(--ot-module-color-147);
    color: var(--ot-module-color-91);
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 4px;
}

.tabsy { 
width:95%;
padding:9px;
border:solid 1px;
background: var(--ot-module-color-14);
border-color: var(--ot-module-color-150) var(--ot-module-color-21) var(--ot-module-color-21) var(--ot-module-color-150);
color:var(--ot-module-color-151);
text-align:justify; 
margin: 0 auto;
}


.tabsy-img {
 border:solid 1px var(--ot-module-color-152);
background-color:var(--ot-module-color-153);
}

.tabsy-banner { 
    width: 100%;
    height: 350px;
    position: relative;
    overflow: hidden;
}
.tabsy-banner > p {padding: 0;}
.tabsy-banner .tabsy-banner-name p {
padding: 0;
line-height: 100%;
}

.tabsy-banner img { 
    width: 100%;
    height: 350px;
    position: absolute;
    overflow: hidden;
    z-index: 0;
}


.tabsy-banner-name { 
    font: 60px Century Gothic;
    font-weight: 300 !important;
    letter-spacing: -1px;
    color: var(--ot-module-color-154);
    padding-top: 45px;
    text-shadow: 1px 1px 10px var(--ot-module-color-15), -1px -1px 10px var(--ot-module-color-15), 1px -1px 10px var(--ot-module-color-15), -1px 1px 10px var(--ot-module-color-15);
    width: 100%;
    backdrop-filter: blur(2px);
}

.tabsy-quote-words {
font: bold 12px Century Gothic;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ot-module-color-154);
    text-shadow: 1px 1px 10px var(--ot-module-color-15), -1px -1px 10px var(--ot-module-color-15), 1px -1px 10px var(--ot-module-color-15), -1px 1px 10px var(--ot-module-color-15);
    width: 100%;
    backdrop-filter: blur(1px);
}

.tabsy-banner-name, .tabsy-quote-words {position: relative; z-index: 5;}

.tabsy-banner span {
    padding: 5px;
}

.tabsy-quote-words-1 {
    padding-top: 18px;
    font: 30px Century Gothic;
    line-height: 25px;
    color: var(--ot-module-color-154);
    text-shadow: .75px .75px 0px var(--ot-module-color-154), .75px 0px 0px var(--ot-module-color-154), 0px .75px 0px var(--ot-module-color-154), -.75px 0px 0px var(--ot-module-color-154), 0px -.75px 0px var(--ot-module-color-154), -.75px .75px 0px var(--ot-module-color-154), .75px -.75px 0px var(--ot-module-color-154), -.75px -.75px 0px var(--ot-module-color-154);
width: 76%;
    float: right;
    display: inline-block;
    z-index:1;
}

.tabsy-border { 
border:solid 1px;
border-color: var(--ot-module-color-150) var(--ot-module-color-21) var(--ot-module-color-21) var(--ot-module-color-150);
border-top:none;
padding:10px 12px 0px 10px;
height:26px;
background-color:var(--ot-module-color-155); }





.reveal-modal-bg { 
  position: fixed; 
  height: 100%;
  width: 100%;
  background: var(--ot-module-color-15);
  background: var(--ot-module-color-156);
  z-index: 9999;
  display: none;
  top: 0;
  left: 0; 
}

.reveal-modal.xlarge {
  width: 900px;
}
	
.reveal-modal .close-reveal-modal {
  font-size: 22px;
  line-height: .5;
  position: absolute;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  top: -18px;
  right: 10px;
  color: var(--link-light);
  transition: color 0.8s ease;
}

.reveal-modal .close-reveal-modal:hover {
  color: var(--text);  
  transition: color 0.8s ease;
}


#character {
  margin-left: 0;
  width: 991px;
  height: 630px;
  left: 267px;
  top: 80px !important;
  z-index: 99999;
}

.character-container {
  background: var(--zelenlight);
  padding: 10px 30px;
  border-radius: 10px;
}

.char-top {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
}

.char-top__img {
  height: 140px;
  width: 140px;
  border-radius: 20px;
}

.char-top__img img{
  width: 100%;
  height: 100%;
  object-fit: scale-down;
}

.char-top__info {
  flex-basis: 100%;
}

.char-top__name {
  margin-bottom: 20px;
  font-size: 20px;
  color: var(--link);
  padding-left: 15px;
}

.char-top__descr {
  background: var(--zelen);
  border-radius: 15px;
  display: flex;
}

.char-top__text {
  padding: 15px;
  color: var(--link);
  flex-basis: 40%;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.char-top__descr-img {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  border-radius: 15px;
}

.menu-links {
  display: flex;
  gap: 25px;
  color: var(--link);
  font-size: 14px;
  border-bottom: 1px solid var(--link);
  padding: 10px;
}

.menu-links span {
  padding: 0 15px 0;
  cursor: pointer;
  position: relative;
}

.menu-links span::before {
  position: absolute;
  content: '';
  left: 0;
  bottom: -10px;
  display: block;
  width: 0;
  height: 5px;
  background: var(--link);
  transition: 0.5s;
}

.menu-links span:hover::before,
.menu-links span.tabactive::before {
  width: 100%;
}

#submenu > div {
  margin-top: 15px;
  max-height: 200px;
  overflow: auto;
}

.submenutext {
  display: none;
}

.awards-box {
display: flex;
flex-direction: column;
gap: 10px;
}

.awards-items {
display: flex;
justify-content: center;
gap: 10px;
}

.awards-item {
position: relative;
aspect-ratio: 1;
width: 100px;
border-radius: 10px;
overflow: hidden; 
}

.awards-item img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}


.awards-item .tip {
position: absolute;
left: 50%;
bottom: 110%;
transform: translateX(-50%);
background: var(--ot-module-color-157);
color: var(--ot-module-color-1);
padding: 6px 10px;
border-radius: 6px;
font-size: 13px;
max-width: 180px;
text-align: center;
opacity: 0;
pointer-events: none;
transition: .2s ease;
z-index: 9999;
display: block;
white-space: normal;
}

.awards-item:hover .tip {
opacity: 1;
}

.awards-item .tip::after {
content: "";
position: absolute;
left: 50%;
bottom: -6px;
transform: translateX(-50%);
border: 6px solid transparent;
border-top-color: var(--ot-module-color-157);
}




#post {
  position: relative;
}

.formal fieldset {
  min-width: 0;
}

#form-buttons {
  background: var(--addition-area);
  padding: 10px 10px 7px 10px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 16px;
}

#form-buttons td {
  position: relative;
  cursor: pointer;
}

#form-buttons td img {
  height: 16px;
  width: 100%;
  position: relative;
}

#post .formsubmit {
  display: flex;
  margin-top: 10px;
  justify-content: center;
  gap: 15px;
}

#button-font:before, #button-size:before, #button-bold:before, #button-italic:before, #button-underline:before, #button-indent:before, #button-strike:before, #button-left:before, #button-center:before, #button-right:before, #button-link:before, #button-spoiler:before, #button-image:before, #button-video:before, #button-hide:before, #button-quote:before, #button-code:before, #button-color:before, #button-smile:before, #button-keyboard:before, #button-table:before, #button-addition:before, #button-mask:before, #button-grouphide:before, #button-float:before, #button-sticker:before, #button-ChangeСase:before, #floatbut:before, #button-justify:before, #button-html:before, #button-removeprofile:before {
  width: 100%;
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  font-family: FontAwesome;
  text-align: center;
  z-index: 0;
}

#button-font:before {content: '\f031';}
#button-size:before {content: '\f034';}
#button-bold:before {content: '\f032';}
#button-italic:before {content: '\f033';}
#button-underline:before {content: '\f0cd'; top: 1px;}
#button-indent:before {content: '\f03c';}
#button-strike:before {content: '\f0cc';}
#button-left:before {content: '\f036';}
#button-center:before {content: '\f037';}
#button-right:before {content: '\f038';}
#button-link:before {content: '\f0c1';}
#button-spoiler:before {content: '\f070'; font-size: 17px;}
#button-image:before {content: '\f03e'; font-size: 18px;}
#button-video:before {content: '\f167'; font-size: 18px; top: 0px;}
#button-hide:before {content: '\f023';}
#button-quote:before {content: '\f10e';}
#button-code:before {content: '\f121';}
#button-color:before {content: '\f576';}
#button-smile:before {content: '\f118';}
#button-keyboard:before {content: '\f11c'; font-size: 16px;}
#button-table:before {content: '\f0ce';}
#button-addition:before {content: '\f0fe';}
#button-mask:before {content: "\f630";}
#button-grouphide:before {content: "\f502";}
#button-float:before {content: "\f03b";}
#button-sticker:before {content: "\f249";}
#button-ChangeСase:before {content: "\f891";}
#button-justify:before {content: "\f039";}
#floatbut:before {content: "\f03b";}
#button-html:before {content: "\f1c9";}
#button-removeprofile:before {content: "\f504";}

#button-mask, #button-grouphide, #floatbut {background: none !important;}
#button-sticker {background: none !important; width: 26px;}
#floatbut {width: 25px;}

.fs-box #tags {
  position: relative;
}

.fs-box #tags .container {
  position: absolute;
  top: -10px;
  z-index: 2;
  padding: 15px;
  background: var(--zelen);
  border-radius: 10px;
  font-size: 12px;
}

#font-area {
  height: 300px;
  overflow-y: auto;
  text-align: left;
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;

}

#font-area span, 
#font-area img {
  height: 20px;
}

#font-area span, 
#font-area img, 
#size-area span, 
#size-area img {
  display: block; 
}

#font-area img {
  width: 100%; 
  margin-top: -20px;
}

#size-area span, 
#size-area img {
  height: 24px;
}

#size-area img {
  width: 100%; 
  margin-top: -24px;
}

#font-area div, 
#size-area div, 
#color-area div, 
#table-area div, 
#addition-area div, 
#smilies-area div a, 
#smilies-area img,
#image-source-list a, 
#image-area-actions a, 
#spoiler-sels a, 
#video-host-list a {
  cursor:pointer;
}

#video-area, 
#spoiler-area {
  width:450px;
}

#image-area {
  width:550px;
}

#image-source-list,
#video-host-list {
  margin-top: 10px
}

#video-host-list {
  line-height: 170%;
}

#image-area-tcon-computer {
  margin:0 0 1em;
}

#image-area-tcon-computer tr {
  display: flex;
  gap: 20px;
}

#imageupload-right {
  padding: 10px;
  flex-basis: 100%;
}

#imageQueue {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#image-area-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

#uploadQueueItem {
  padding: .8em 1em;
  border: 1px solid var(--ot-module-color-24);
}

.uploadQueueItem .cancel {
  font-size: 20px;
  font-weight: 700;
  font-family: Arial;
  position: absolute;
  right: 4px;
  top: 0;
}

.uploadProgress {
  height: 3px;
  margin: 2px 0 0;
  background: var(--addition-area);
}

.uploadProgressBar {
  background: var(--addition-area-hover);
  height: 3px;
  width: .1%;
  transition: width .1s linear;
}

.uploadQueueItem.error {
  border-color: var(--ot-module-color-158);
  background-color: var(--ot-module-color-159);
}

#uploaded-images {
  display: flex;
  gap: 5px;
  max-height: 144px;
  overflow-y: auto;
  flex-wrap: wrap;
}

#uploaded-images img {
  width: 88px; 
  height: 66px; 
  cursor: pointer;
}

#insert-image-tip {
  margin-top: 10px;
}

#upload-button-container, 
#image-width, 
#image-thumb-width, 
#image-insert-format, 
#insert-all-images-container {
  margin-top: 10px;
}

#upload-button-container img {
  cursor: pointer; 
  width: 120px; 
  height: 30px;
}

#spoiler-sels,
#image-area-sels,
#video-area-hsel {
  font-family: var(--text-main);
  font-size: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#addition-area {
  font-family: var(--text-main);
  font-size: 10px;
}

#spoiler-type-list, 
#image-source-list {
  display: flex;
  gap: 20px;
}

#video-area-msg {
  line-height: 2em;
}

#video-area-tinp, 
#image-area-tinp {
  margin: .5em 0; 
  padding: .3em; 
  border: var(--ot-module-color-160) solid 1px; 
  height: 70px;
}

#spoiler-area {
  right: 60px;
}

#video-area,
#table-area,
#image-area,
#smilies-area,
#keyboard-area,
#addition-area {
  right: 0;
}

#table-area table {
  width:auto;
}

#table-area div { 
  text-align:center;
}

#color-area td, 
#table-area td { 
  line-height:0;
}

#table-area td {
  border: 1px solid var(--ot-module-color-161);
}

#table-area td.selected {
  background: var(--ot-module-color-162);
}

#color-area td img, 
#table-area td img {
  width: 100%; 
  height: 20px; 
  cursor: pointer;
}

#keyboard-area {
  text-align:center;
}

#keyboard-span input {
  margin: 6px 7px 0 0;
  padding: 0 10px;
  height: 25px;
  min-width: 30px;
}

#addition-area {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 250px;
  overflow: auto;
}

#addition-area span,
#font-area div {
  background: var(--link-light);
  border-radius: 10px;
  transition: all 0.8s;
}

#addition-area span,
#font-area span {
  padding: 7px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#addition-area span:hover,
#font-area div:hover {
  color: var(--link-light);
  background: var(--addition-area-hover);
}

#post legend {
  background: var(--post-legend);
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 11px;
  margin: 15px 0px;
  text-transform: uppercase;
}


.icons-plus {display: none !important;}
.icons-search:before { content: '\e095'; } 
.icons-font:before { content: '\e800'; } 
.icons-size:before { content: '\e801'; } 
.icons-video:before { content: '\e802'; } 
.icons-image:before { content: '\e803'; } 
.icons-plus:before { content: '\e804'; } 
.icons-cancel:before { content: '\e805'; } 
.icons-minus:before { content: '\e806'; } 
.icons-star:before { content: '\e807'; } 
.icons-cog:before { content: '\e808'; } 
.icons-play:before { content: '\e809'; } 
.icons-pause:before { content: '\e80a'; } 
.icons-fast-fw:before { content: '\e80b'; } 
.icons-fast-bw:before { content: '\e80c'; } 
.icons-code:before { content: '\e80d'; } 
.icons-table:before { content: '\e80e'; } 
.icons-spoiler:before { content: '\e80f'; } 
.icons-calendar:before { content: '\e810'; } 
.icons-pencil:before { content: '\e811'; } 
.icons-hide:before { content: '\e812'; } 
.icons-list:before { content: '\e813'; } 
.icons-indent-left:before { content: '\e814'; } 
.icons-indent-right:before { content: '\e815'; } 
.icons-trash-empty:before { content: '\e816'; } 
.icons-off:before { content: '\e817'; } 
.icons-heart:before { content: '\e818'; } 
.icons-user:before { content: '\e819'; } 
.icons-left:before { content: '\e81a'; } 
.icons-center:before { content: '\e81b'; } 
.icons-right:before { content: '\e81c'; } 
.icons-italic:before { content: '\e81d'; } 
.icons-bold:before { content: '\e81e'; } 
.icons-comment:before { content: '\e81f'; } 
.icons-resize-full:before { content: '\e820'; } 
.icons-resize-small:before { content: '\e821'; } 
.icons-quote:before { content: '\e822'; } 
.icons-share:before { content: '\e823'; } 
.icons-smile:before { content: '\e824'; } 
.icons-youtube:before { content: '\e825'; } 
.icons-link:before { content: '\e826'; } 
.icons-volume-off:before { content: '\e827'; } 
.icons-volume-down:before { content: '\e828'; } 
.icons-volume:before { content: '\e829'; } 
.icons-volume-up:before { content: '\e82a'; } 
.icons-addition:before { content: '\e82b'; } 
.icons-infinity:before { content: '\e82c'; } 
.icons-facebook:before { content: '\f09a'; } 
.icons-strike:before { content: '\f0cc'; } 
.icons-underline:before { content: '\f0cd'; } 
.icons-mail:before { content: '\f0e0'; } 
.icons-keyboard:before { content: '\f11c'; } 
.icons-help:before { content: '\f128'; } 
.icons-vkontakte:before { content: '\f189'; } 
.icons-color:before { content: '\f1fb'; } 
.icons-odnoklassniki:before { content: '\f263'; } 
.icons-vimeo:before { content: '\f27d'; } 

.icons-cancel-outline:before { content: '\e82d'; } 
.icons-ok-outline:before { content: '\e82e'; } 


.tipsy {
  padding: 5px; 
  font-size: 11px; 
  font-family: tahoma, helvetica, verdana, arial; 
  position: absolute; 
  z-index: 100000;
}

.tipsy-inner {
  padding: 5px 8px 4px; 
  background-color:var(--ot-module-color-165); 
  color:var(--ot-module-color-149); 
  max-width: 200px; 
  text-align: center; 
  border-radius: 3px; 
}

.tipsy-arrow {
  position: absolute; 
  width: 0; 
  height: 0; 
  border: solid 5px; 
  border-color: transparent transparent black transparent;
}

.tipsy-n .tipsy-arrow {
  top: 0; 
  left: 50%; 
  margin-left: -5px; 
  border-top: 0;
}

.tipsy-nw .tipsy-arrow {
  top:0; 
  left:11px !important; 
  border-top:0;
}

.tipsy-ne .tipsy-arrow {
  top: 0; 
  left: auto !important; 
  right: 11px; 
  border-top: 0;
}

.tipsy-s .tipsy-arrow {
  bottom: 0; 
  left: 50%; 
  margin-left: -5px; 
  border-color: black transparent transparent transparent; 
  border-bottom: 0;
}

.tipsy-sw .tipsy-arrow {
  bottom: 0; 
  left: 11px !important; 
  border-color: black transparent transparent transparent; 
  border-bottom: 0;
}

.tipsy-se .tipsy-arrow {
  bottom: 0; 
  left: auto !important; 
  right: 11px; 
  border-color: black transparent transparent transparent; 
  border-bottom: 0;
}

.tipsy-e .tipsy-arrow {
  top: 50%; 
  margin-top: -5px; 
  left: auto !important;
  right: 0; 
  border-color: transparent transparent transparent black; 
  border-right: 0;
}

.tipsy-w .tipsy-arrow {
  top: 50%; 
  margin-top: -5px; 
  left: 0 !important; 
  border-color: transparent black transparent transparent; 
  border-left: 0;
}

.pun-modal {
  position: fixed; 
  width: 100%; 
  height: 100%; 
  top: 0; 
  left: 0; 
  bottom: 0; 
  z-index: 100000;
}

.pun-modal .modal-bg {
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  background: var(--ot-module-color-163); 
  cursor: pointer; 
  z-index: 110000;
}

.pun-modal .modal-inner {
  width: 700px; 
  max-width: 94%; 
  height: auto; 
  max-height: 44em; 
  margin: 12% auto 0; 
  box-shadow: 0 0 14px var(--ot-module-color-164); 
  position: relative; 
  z-index: 120000; 
  overflow: hidden;
  background: var(--back);
  border-radius: 8px;
  padding: 20px;
}

.pun-modal .modal-inner table {
  border-spacing: 0 10px;
  border-collapse: separate;
}

.pun-modal h2,
.pun-modal h1 {
  max-width: 700px; 
  margin: 0;
}

.pun-modal .container {
  padding:.6em 1em; 
  max-height:40em; 
  overflow:auto;
}

.pun-modal .closer {
  position: absolute; 
  font-size: 1.5em!important; 
  line-height: .8em; 
  right: .4em; 
  padding: .3em!important; 
  margin: -.3em!important; 
  cursor: pointer; 
  background: none 0 transparent!important;
}

.noscroll {
  overflow:hidden!important;
}

.jGrowl {
  z-index:9999; 
  color:var(--ot-module-color-1); 
  font-size:12px; 
  font-family:"Helvetica Neue",Helvetica,Arial,sans-serif; 
  position:fixed;
}

.jGrowl.top-left {
  left:0; 
  top:0;
}

.jGrowl.top-right {
  right:0; 
  top:0;
}

.jGrowl.bottom-left {
  left:0; 
  bottom:0;
}

.jGrowl.bottom-right {
  right:0; 
  bottom:0;
}

.jGrowl.center {
  top:0; 
  width:50%; 
  left:25%;
}

.jGrowl.center .jGrowl-closer,
.jGrowl.center .jGrowl-notification {
  margin-left:auto; 
  margin-right:auto;
}

.jGrowl-notification {
  background-color:var(--ot-module-color-15); 
  opacity:.9; 
  zoom:1; 
  width:250px; 
  padding:10px; 
  margin:10px; 
  text-align:left; 
  display:none; 
  border-radius:5px; 
  min-height:40px;
}

.jGrowl-notification .ui-state-highlight,
.jGrowl-notification .ui-widget-content .ui-state-highlight,
.jGrowl-notification .ui-widget-header .ui-state-highlight {
  border:1px solid var(--ot-module-color-15); 
  background:var(--ot-module-color-15); 
  color:var(--ot-module-color-1);
}

.jGrowl-notification .jGrowl-header {
  font-weight:700; 
  font-size:.85em;
}

.jGrowl-notification .jGrowl-close {
  background-color:var(--ot-module-color-45); 
  color:inherit; 
  border:none; 
  z-index:99; 
  float:right; 
  font-weight:700; 
  font-size:1em; 
  cursor:pointer;
}

.jGrowl-closer {
  background-color:var(--ot-module-color-15); 
  opacity:.9;
  zoom:1; 
  width:250px; 
  padding:10px; 
  margin:10px; 
  display:none; 
  border-radius:5px; 
  padding-top:4px; 
  padding-bottom:4px; 
  cursor:pointer; 
  font-size:.9em; 
  font-weight:700; 
  text-align:center;
}

.jGrowl-closer .ui-state-highlight,
.jGrowl-closer .ui-widget-content .ui-state-highlight,
.jGrowl-closer .ui-widget-header .ui-state-highlight {
  border:1px solid var(--ot-module-color-15); 
  background:var(--ot-module-color-15); 
  color:var(--ot-module-color-1);
}

@media print {
  .jGrowl {
    display:none;
  }
}



.character-container {
  background: var(--zelenlight);
  padding: 10px 30px;
  border-radius: 10px;
}



.awards-item {
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.awards-item:active {
  transform: scale(0.95);
}


#charAwards1 .awards-item,
#charAwards2 .awards-item {
  cursor: pointer;
}


.transparent25 {
  opacity: 0.25;
  transition: opacity 0.3s ease;
}




.awards-item img {
  transition: all 0.3s ease;
}

.awards-item:hover img {
  transform: scale(1.05);
}

.awards-item:active img {
  transform: scale(0.95);
}


.char-top__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.char-top__name {
  margin-bottom: 0;
  padding-left: 15px;
  flex-shrink: 0;
}


.twinks-selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 70%;
}


.twink-btn {
  background: var(--zelen);
  border: none;
  color: var(--link);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.twink-btn:hover {
  background: var(--link-light);
  color: var(--zelen);
}

.twink-btn.active {
  background: var(--link);
  color: var(--zelen);
  box-shadow: 0 0 5px var(--link-light);
}


@media (max-width: 768px) {
  .char-top__header {
    flex-direction: column;
    align-items: stretch;
  }
  
  .twinks-selector {
    max-width: 100%;
    justify-content: flex-start;
    padding-left: 15px;
  }
  
  .twink-btn {
    white-space: normal;
    word-break: keep-all;
  }
}


.menu-links span.tabactive {
  position: relative;
}

.menu-links span.tabactive::before {
  position: absolute;
  content: '';
  left: 0;
  bottom: -10px;
  display: block;
  width: 100%;
  height: 5px;
  background: var(--link);
}

.awards-item {
  position: relative;
  cursor: help;
}

.awards-item .tip {
  position: absolute;
  left: 50%;
  bottom: 110%;
  transform: translateX(-50%);
  background: var(--ot-module-color-166);
  color: var(--ot-module-color-1);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  max-width: 180px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 9999;
  white-space: normal;
  font-weight: normal;
}

.awards-item:hover .tip {
  opacity: 1;
}

.awards-item .tip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--ot-module-color-166);
}

#globalSubmenu > div,
#charSubmenu > div {
  margin-top: 15px;
  max-height: 200px;
  overflow: auto;
}

.menu:first-of-type {
  margin-top: 0;
}






#poll-special td {text-align:left !important; cursor:default !important}
#poll-special td.tac {text-align:center !important}
#poll-special td.tar {text-align:right !important}
div.pa-respect span {font-size:0.9em; vertical-align:top}


div.post-vote p .negative {margin-left:13px;}
div.post-rating a {cursor:pointer !important}
.post-content .highlight-text {background-color:var(--ot-module-color-167); color:var(--ot-module-color-15)}
.post-content .spoiler-box > blockquote {padding-top:1.4em; display:none}
.post-content .spoiler-box > blockquote.visible {display:block; overflow:auto}
.post-content hr {opacity:0.5;  margin-bottom:0.8em}
.post-content abbr {cursor:help}
.post-content ul {padding:0 0 1em 2.3em}
.post-content ul li {list-style:inherit; margin-bottom:0.3em}
.post-content ul li ul {padding-bottom:0}
.post-content ul li > p {padding-bottom:0.3em}
.post-content ul li > p:last-of-type {padding-bottom:0}



#imageup-area {width:170px}
#imageattach-area {width:770px; height:200px; padding:0px !important}
#imageup-area input {font-size:0.8em}
#imageup-area p {padding:0; margin:0}
#imageup-title {margin-bottom:10px !important}
#imageup-submit {margin-top:10px !important}


#pun-messages #post-form div.container {padding-left:2.3em}
#similar-topics {margin-top:1em}
#similar-topics div.container {padding-top:1.1em}
#similar-topics td {border:0; padding:0}
#similar-topics td.st-tcl {width:60%}
#similar-topics td.st-tc2 {width:25%; padding-right:1em; text-align:right}
#similar-topics td.st-tcr {width:15%; padding-right:1em; text-align:right}
.postlink.long .new-topic {padding-right:12px}
li.pa-ua {margin-top: 0.7em; display: flex; justify-content: center;}
.punbb .post.new-ajax > * {border-width: 3px;}
.punbb .post.new-ajax {display: none;}

#pun-index .isub .tcl {padding-left: 3em !important;}
#pun-main #subforums {padding: 1em 0 1em 1em; margin-bottom: 5px;}

.notify-parent {position: relative;}
.notify-bubble {
    background:var(--ot-module-color-169);
    border-radius: 3px;
    color:var(--ot-module-color-165);
    font: bolder 12px/1.2 Tahoma;
    margin: 0;
    min-width: 14px;
    padding: 0 1px;
    position: absolute;
    text-align: center;
}

.notify-bubble:after {
    border-color: lightblue transparent;
    border-style: solid;
    border-width: 3px 3px 0;
    content: "";
    display: block;
    left: 5px;
    position: absolute;
    width: 0;
}


#pun-statistic .tc3 {width:15%;}
#pun-statistic .tc-username {width:unset;text-align:left;}
#pun-statistic .tc-title {width:25%;text-align:left;}
#pun-statistic .tc-registered {width:20%;}
#pun-statistic .tc-topic {width:50%;}



#profile-name strong {font-size:1.2em}
#profile-left li,
#profile-left li * {padding-left:0; margin-left:0}
#profile-signature {padding:1.5em 1.5em 1em 1.5em; width: 94% !important;}
#profile-signature ul {border-style:dashed; border-width:1px 0 0 0; margin:0; padding:1em 1em 0 1em;text-align: center; color: var(--ot-module-color-168);}



p[class="checkfield"] img, div[class="checkfield"] img, fieldset[class="radiofield"] img {height:auto; max-height:50px}
.pa-fld1 img, .pa-fld2 img, .pa-fld3 img, .pa-fld4 img, .pa-fld5 img, .pa-fld6 img, .pa-fld7 img, .pa-fld8 img, .pa-fld9 img, .pa-fld11 img, .pa-fld12 img, .pa-fld13 img, .pa-fld14 img, .pa-fld15 img, .pa-fld16 img, .pa-fld17 img, .pa-fld18 img, .pa-fld19 img, .pa-fld20 img {vertical-align:text-top}



.social {background-image:var(--ot-asset-65); background-repeat:no-repeat; float:left; display:block; margin:3px 5px; width:16px; height:16px}
.social-facebook {background-position:0 0}
.social-google {background-position:-26px 0}
.social-mailru {background-position:-52px 0}
.social-odnoklassniki {background-position:-78px 0}
.social-twitter {background-position:-104px 0}
.social-vkontakte {background-position:-130px 0}
.social-yandex {background-position:-156px 0}
.social-youtube {background-position:-182px 0}
.social-instagram {background-position:-312px 0}
.social-linkedin {background-position:-338px 0}
.social-reddit {background-position:-442px 0}
.social-share {background-position:-468px 0}
.social-tumblr {background-position:-546px 0}

.topic a.sharelink {float:right; margin-left:1em}
.post-share-tip {width:164px; height:124px}
.post-share-legend {background:var(--ot-module-color-14); text-align:center}
.post-share-tip span {font-family:"Helvetica Neue",Helvetica,Arial,sans-serif; color:var(--ot-module-color-1); font-size:13px; line-height:27px}
.post-share-icons {padding:10px}
.post-share-tip a {margin: 5px 10px}





.punbb .flag-i {
  background-size: contain;
  background-position: 50%;
  background-repeat: no-repeat;
  position: relative;
  display: inline-block;
  width: 1.33333333em;
  line-height: 1em;
  margin-right: 1em;
}
.punbb .pa-author .flag-i {
  margin-right: 0.5em;
}
.punbb .flag-i:before {
  content: '\00a0';
}


@font-face {
  font-family: 'mybb';
  src: url('https://cwotgoloski.ru/res/font/icons.woff2?3') format('woff2'),
       url('https://cwotgoloski.ru/res/font/icons.woff?3') format('woff'),
       url('https://cwotgoloski.ru/res/font/icons.ttf') format('truetype'),
       url('https://cwotgoloski.ru/res/font/icons.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}
i[class^="icons-"]:before, i[class*=" icons-"]:before, .i[class*=" icons-"]:before, .i[class^="icons-"] {
  font-family: "mybb";
  font-style: normal;
  font-weight: normal;
  speak: never;

  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  line-height: 1em;
  margin-left: .2em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


.post-sig img, #profile-signature img, .fs-box .sigimage {
    max-width: 200px;
}

.lastedit {
display: none;
}

.uniCell.active {
  background: var(--bingo-hover);
}

/* Основа */
*,*::before,*::after {box-sizing:border-box}
html {scroll-behavior:smooth;-webkit-text-size-adjust:100%;scrollbar-color:var(--ot-muted) var(--ot-page)}
body {margin:0;padding:38px 28px;background:var(--ot-page) var(--ot-page-image) center/cover fixed;color:var(--ot-ink);font:13px/1.55 var(--ot-sans)}
a {color:var(--ot-accent);text-decoration:none;transition:color .2s}
a:hover {color:var(--ot-ink)}
button,input,select,textarea {font:inherit}
button,a,input,textarea,summary {touch-action:manipulation}
button {cursor:pointer}
:focus-visible {outline:2px solid var(--ot-accent);outline-offset:4px}
img {max-width:100%;height:auto}
table {border-collapse:collapse;width:100%}
h1,h2,h3,h4,h5,p,ul,ol,dl,dd,fieldset {margin:0;padding:0}
fieldset {border:0;min-width:0}
[hidden] {display:none!important}
#pun_wrap {width:100%;max-width:var(--ot-width);min-width:0;margin:0 auto}
#pun {width:100%;max-width:var(--ot-width);min-width:0;margin:0 auto}
#pun > .punbb {width:100%;min-width:0;position:relative}
body>.punbb {max-width:var(--ot-width);margin:0 auto;min-width:0}
#pun {position:relative;isolation:isolate;border:1px solid var(--ot-line);border-radius:12px;background:var(--ot-paper);box-shadow:0 24px 80px var(--ot-shadow)}
#pun::before {content:'';position:absolute;inset:-15px;z-index:-1;background:var(--ot-glass);border:1px solid var(--ot-glass-line);border-radius:23px;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);pointer-events:none}
#pun>.punbb {background:var(--ot-atlas-lines) repeat,var(--ot-paper);border-radius:11px}
.acchide,#pun-title,#pun-header,#pun-navlinks h2,#pun-ulinks h2,#pun-status h2,#pun-announcement>h2,#pun-index #pun-main>h1,.modlist,.divider {display:none}
#html-header,#html-footer {min-width:0}
#pun-main,#pun-stats,#pun-crumbs1,#pun-crumbs2,#pun-about,#pun-status,#pun-online {margin:0 25px}
#pun-main {padding-bottom:22px}
#pun-status {display:none;position:absolute;left:25px;right:auto;bottom:calc(var(--ot-lowerbar-height) + 12px);max-width:calc(100% - 160px);margin:0;padding:7px 12px;border:1px solid var(--ot-menu-border);border-radius:0;background:var(--ot-menu-glass);color:var(--ot-bar-text);font:11px/1.5 var(--ot-sans);backdrop-filter:blur(7px);z-index:3;white-space:nowrap;overflow-x:auto}
.ot-hero>#pun-status {display:block}
#pun-status .container {display:flex;align-items:center;gap:0 6px;flex-wrap:nowrap;padding:0;margin:0;white-space:nowrap}
#pun-status .item1,#pun-status .item2 {flex:0 0 auto}
#pun-status .status-right,#pun-status #user {display:none!important}
#pun-status a {color:var(--ot-bar-text)}
#pun-crumbs1,#pun-crumbs2 {font-size:11px;color:var(--ot-muted);padding:14px 0}
.crumbs strong {display:none}
#pun-about {margin:0;padding:8px 25px;font-size:10px;text-align:center;color:var(--ot-bar-muted);background:var(--ot-bar);border-top:1px solid var(--ot-footer-rule)}
#pun-about a{color:var(--ot-bar-muted)}
/* Меню и шапка */
#pun-navlinks {float:none;clear:both;bottom:auto;left:auto;right:auto;width:100%;position:sticky;top:0;z-index:60;transform:none;margin:0 0 calc(-1 * var(--ot-topbar-height));height:var(--ot-topbar-height);min-height:var(--ot-topbar-height);background:var(--ot-menu-glass);color:var(--ot-bar-text);border:0;border-bottom:1px solid var(--ot-menu-border);border-radius:0;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
#pun-navlinks>ul {list-style:none;display:flex;justify-content:center;align-items:center;flex-wrap:nowrap;gap:18px;height:100%;padding:0 64px;margin:0;overflow-x:auto;scrollbar-width:none;white-space:nowrap}
#pun-navlinks>ul>li {flex:0 0 auto;float:none}
#pun-navlinks a {color:var(--ot-bar-text);font:500 14px var(--ot-serif);display:block;padding:6px 0;white-space:nowrap}
#pun-navlinks a:hover,#pun-navlinks .isactive>a {color:var(--ot-accent-bright)}
#pun-navlinks .ot-notify-item {display:block}
#pun-navlinks #user,#pun-navlinks #notify-link {position:static;display:block;width:auto;height:auto;margin:0;padding:0;border:0;border-radius:0;background:none!important;filter:none!important}
#pun-navlinks #notify-link a {font-size:0;padding:3px 0;width:auto;height:auto}
#pun-navlinks #notify-link a::before {content:'Уведомления';font:500 14px/1.4 var(--ot-serif)}
#pun-navlinks #notify-link img,#pun-navlinks #notify-link>img {display:none}
.ot-theme-toggle {position:absolute;right:17px;top:8px;width:30px;height:30px;border:1px solid var(--ot-glass-line);border-radius:50%;color:var(--ot-bar-text);background:var(--ot-clear)}
.ot-hero {position:relative;aspect-ratio:var(--ot-header-ratio);background-image:var(--ot-header-1);background-position:center;background-size:100% 100%;background-repeat:no-repeat;background-color:var(--ot-paper-raised)}
.ot-hero[data-slide='2']{background-image:var(--ot-header-2)}
.ot-hero[data-slide='3']{background-image:var(--ot-header-3)}
.ot-hero[data-slide='4']{background-image:var(--ot-header-4)}
.ot-hero[data-slide='5']{background-image:var(--ot-header-5)}
.ot-hero[data-slide='6']{background-image:var(--ot-header-6)}
.ot-hero__copy {position:absolute;left:var(--ot-header-left);top:22%;width:390px;max-width:47%;padding:14px 18px 16px;color:var(--ot-title-ink);background:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.ot-eyebrow {font:600 10px var(--ot-sans);text-transform:uppercase;letter-spacing:.25em;margin-bottom:9px}
.ot-title {font:500 var(--ot-title-size)/.86 var(--ot-serif);letter-spacing:-.04em;color:var(--ot-title-ink);display:inline-block;padding-bottom:.22em;margin-bottom:-.22em;overflow:visible}
.ot-title span {display:block}
#pun-index .ot-title:hover,#pun-index .ot-title:focus-visible {background:linear-gradient(110deg,var(--ot-title-ink),var(--ot-accent-bright),var(--ot-ribbon),var(--ot-title-ink));background-size:240% 100%;background-clip:text;-webkit-background-clip:text;color:var(--ot-clear);animation:ot-letters 4s ease infinite}
@keyframes ot-letters {to{background-position:240% 0}}
.ot-tagline {font:italic 16px var(--ot-serif);margin:11px 0 13px}
.ot-hero-nav {display:flex;gap:18px;align-items:start;justify-content:flex-start;width:max-content;max-width:100%}
.ot-nav {position:relative;flex:0 1 auto;min-width:0}
.ot-nav>button {border:0;border-bottom:1px solid var(--ot-accent);background:var(--ot-clear);padding:7px 0;color:var(--ot-title-ink);font:500 14px var(--ot-serif);text-align:left;white-space:nowrap}
.ot-nav>button::after {content:'';display:inline-block;width:6px;height:6px;margin:0 0 3px 8px;border-right:1px solid var(--ot-accent);border-bottom:1px solid var(--ot-accent);transform:rotate(45deg);transition:transform .2s}
.ot-nav>button[aria-expanded='true']::after {transform:rotate(225deg)}
.ot-nav__panel {position:absolute;z-index:100;left:0;top:100%;min-width:170px;padding:9px;background:var(--ot-paper-raised);color:var(--ot-ink);border:1px solid var(--ot-line);box-shadow:0 12px 28px var(--ot-shadow);border-radius:0 0 6px 6px;animation:ot-drop .25s var(--ot-ease)}
.ot-nav__panel a {display:block;padding:6px 10px;font-size:12px}
.ot-nav__panel a:hover {background:var(--ot-wash)}
@keyframes ot-drop {from{opacity:0;transform:translateY(-9px)}to{opacity:1;transform:translateY(0)}}
 .ot-ribbon-wrap {position:absolute;top:0;left:24px;width:38px;height:156px;z-index:65;transform-origin:50% 0;animation:ot-sway 5s ease-in-out infinite}
.ot-ribbon {display:flex;align-items:flex-end;justify-content:center;width:38px;height:122px;padding:0 0 27px;border:0;border-left:1px solid var(--ot-ribbon-edge);border-right:1px solid var(--ot-ribbon-edge);background:var(--ot-ribbon);color:var(--ot-bar-text);clip-path:polygon(0 0,100% 0,100% 100%,50% 89%,0 100%);transition:height .65s cubic-bezier(.22,.7,.3,1)}
.ot-ribbon-wrap:hover,.ot-ribbon-wrap:focus-within {animation-play-state:paused}
.ot-ribbon-wrap:hover .ot-ribbon,.ot-ribbon:focus-visible,.ot-ribbon-wrap.is-pulled .ot-ribbon {height:136px}
@keyframes ot-sway {0%,100%{transform:rotate(-1.5deg)}50%{transform:rotate(1.5deg)}}
.ot-header-dots {display:flex;gap:6px;position:absolute;bottom:calc(var(--ot-lowerbar-height) + 16px);right:20px;align-items:center;background:var(--ot-glass);backdrop-filter:blur(5px);padding:6px 9px;border:1px solid var(--ot-glass-line);border-radius:30px}
.ot-header-dots button {height:9px;width:9px;padding:0;border:1px solid var(--ot-bar-text);background:var(--ot-clear);border-radius:50%}
.ot-header-dots button[aria-pressed='true']{background:var(--ot-bar-text)}
.ot-header-dots button:disabled {opacity:.3;cursor:not-allowed;border-style:dashed}
.ot-header-dots button[data-slide='auto']{width:24px;height:17px;border:0;font-size:13px;color:var(--ot-bar-text)}
#ot-underhero {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;background:var(--ot-menu-glass);color:var(--ot-bar-text);padding:5px 20px;position:relative;z-index:40;border-top:1px solid var(--ot-menu-border);border-bottom:1px solid var(--ot-menu-border);height:var(--ot-lowerbar-height);margin-top:calc(-1 * var(--ot-lowerbar-height));backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
#pun-ulinks {float:none;position:static;width:100%;min-width:0;max-width:100%;height:auto;margin:0;padding:0;background:none;overflow-x:auto;scrollbar-width:thin}
#pun-ulinks ul {display:flex;flex-wrap:nowrap;gap:10px;list-style:none;align-items:center;min-height:32px;width:max-content;margin:0;padding:6px 0;white-space:nowrap}
#pun-ulinks li {flex:0 0 auto;float:none;display:block;margin:0;padding:0;line-height:1.5}
#pun-ulinks a {display:block;color:var(--ot-bar-text);font:500 12px/1.4 var(--ot-serif);opacity:1;text-shadow:none;padding:3px 0;white-space:nowrap}
#pun-ulinks a:hover {color:var(--ot-accent-bright)}
.ot-weather {width:440px;max-width:100%;min-width:0;font:11px/1.5 var(--ot-serif);padding:0}
.ot-weather__summary {display:flex;gap:4px 10px;align-items:center;flex-wrap:nowrap;white-space:nowrap}
.ot-weather__summary>span {display:flex;align-items:center;gap:7px}
.ot-weather__icon {flex:0 0 16px;display:inline-block;width:16px;height:20px;background:var(--ot-accent-bright)}
.ot-leaf {display:inline-block;width:18px;height:30px;background:var(--ot-bar-text);mask:var(--ot-leaf-icon) center/contain no-repeat;-webkit-mask:var(--ot-leaf-icon) center/contain no-repeat}
.ot-weather .ot-leaf {background:var(--ot-accent-bright)}
.ot-temperature {mask:var(--ot-temperature-icon) center/contain no-repeat;-webkit-mask:var(--ot-temperature-icon) center/contain no-repeat}
.ot-cycle {display:inline-block;width:16px;height:16px;background:currentColor;mask:var(--ot-cycle-icon) center/contain no-repeat;-webkit-mask:var(--ot-cycle-icon) center/contain no-repeat}
.ot-weather__panel {display:flex;gap:4px 10px;flex-wrap:nowrap;white-space:nowrap;position:static;width:auto;margin-top:5px;padding:0;background:none;border:0;box-shadow:none;color:var(--ot-bar-muted);font:9px/1.4 var(--ot-sans)}
.ot-weather__panel p {margin:0;flex:0 0 auto}
.ot-weather__panel .ot-progress {position:absolute;left:0;right:0;bottom:0;width:100%;margin:0;height:1px}
.ot-progress {flex:1 0 100%;height:2px;background:var(--ot-glass-line);margin-top:5px;overflow:hidden}
.ot-progress>span {height:100%;display:block;background:var(--ot-accent-bright);width:0}
.ot-theme-toggle::before {content:'';display:block;width:14px;height:14px;border-radius:50%;background:var(--ot-bar-text);box-shadow:inset -5px -2px 0 var(--ot-bar);margin:auto}
.ot-theme-toggle.is-dark::before {box-shadow:none;outline:1px dotted var(--ot-bar-text);outline-offset:3px}
/* Лента событий */
.ot-news {position:relative;display:flex;align-items:center;gap:8px;margin:18px 25px 3px}
.ot-news>button {width:24px;height:32px;flex-shrink:0;border:0;background:var(--ot-clear);color:var(--ot-muted);font-size:22px}
.ot-news>button:disabled {opacity:.25;cursor:default}
.news-plash {display:flex;gap:9px;overflow-x:auto;scrollbar-width:none;flex:1;min-width:0;padding:3px 0;overscroll-behavior-x:contain}
.news-plash::-webkit-scrollbar {display:none}
.news-plash__link {flex:0 0 174px;display:flex;gap:10px;align-items:center;position:relative;overflow:hidden;border:1px solid var(--ot-line);border-radius:5px;background:var(--ot-wash);padding:8px;color:var(--ot-ink)}
.news-plash__date {font:600 13px var(--ot-sans);border-right:1px solid var(--ot-line);padding-right:10px}
.news-plash__title {font:700 10px var(--ot-sans);text-transform:uppercase;letter-spacing:.04em}
.news-plash__text {font-size:10px;color:var(--ot-muted)}
.news-plash__link::after,.fig_links a::after,.ot-shine::after {content:'';position:absolute;top:-60%;left:-75%;width:45%;height:220%;background:linear-gradient(100deg,var(--ot-clear),var(--ot-shine),var(--ot-clear));transform:skewX(-20deg);pointer-events:none}
.news-plash__link:hover::after,.news-plash__link:focus-visible::after,.fig_links a:hover::after,.ot-shine:hover::after {animation:ot-shine .8s ease}
@keyframes ot-shine {to{left:145%}}
/* Категории */
.category {margin:16px 0 30px}
.category>h2 {display:flex;align-items:center;gap:20px;font:500 31px var(--ot-serif);text-transform:uppercase;letter-spacing:.03em;margin-bottom:12px;min-height:65px;background:var(--ot-category-image) right center/contain no-repeat}
.category>h2::after {content:'';height:1px;background:var(--ot-line);flex:1}
.catleft,.catright {display:none}
.ot-collapse {order:2;display:grid;place-items:center;background:var(--ot-clear);border:1px solid var(--ot-line);border-radius:50%;width:26px;height:26px;color:var(--ot-muted);font:17px var(--ot-sans)}
.ot-collapse::before,.ot-collapse::after{content:'';position:absolute;width:10px;height:1px;background:currentColor}.ot-collapse{position:relative;flex-shrink:0}.ot-collapse.is-closed::after{transform:rotate(90deg)}
.ot-collapse:hover {color:var(--ot-accent);border-color:var(--ot-accent)}
.category>.container {border:1px solid var(--ot-line);border-radius:2px;overflow:hidden;background:var(--ot-paper-glow)}
.category table {table-layout:fixed}
.category thead {display:none}
.category td {padding:18px 14px;border:0;vertical-align:middle}
.category tr:last-child>td {border-bottom:0}
.category .tcl {width:57%}
.category .tc2,.category .tc3 {width:7%;text-align:center;font:19px var(--ot-serif)}
.category .tc2::after {content:'тем';display:block;font:9px var(--ot-sans);color:var(--ot-muted)}
.category .tc3::after {content:'сообщений';display:block;font:9px var(--ot-sans);color:var(--ot-muted)}
.category .tcr {width:29%;font:14px/1.4 var(--ot-serif);overflow-wrap:anywhere}
.category .intd {position:relative;display:grid;grid-template-columns:38px minmax(0,1fr);column-gap:16px;align-items:start}
.category .tclcon {padding-left:0;min-width:0;grid-column:2}
.tcl h3 {font:600 25px/1.1 var(--ot-serif);margin-bottom:7px}
.tcl h3 a {color:var(--ot-ink)}
.tcl h3 a:hover {color:var(--ot-accent)}
.category .icon,.forum .icon {position:static;grid-column:1;grid-row:1;align-self:start;float:none;margin:2px 0 0;width:38px;height:38px;background:var(--ot-paw);mask:var(--ot-paw-image) center/contain no-repeat;-webkit-mask:var(--ot-paw-image) center/contain no-repeat}
.category .icon.inew,.forum .icon.inew,.forum .inew .icon {background:var(--ot-accent);filter:drop-shadow(0 1px 3px var(--ot-shadow))}
.category tr.ot-unread {background:none}
.fig_desc {font:14px/1.4 var(--ot-serif)}
.fig_desc p {text-align:left}
.fig_links {display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}
.fig_links a {position:relative;overflow:hidden;padding:2px 10px 2px 0;background:none;border:0;border-right:1px solid var(--ot-line);border-radius:0;font:13px var(--ot-serif);color:var(--ot-accent)}
.fig_links a:last-child{border-right:0}
.subforums {font-size:10px;color:var(--ot-muted);margin-bottom:8px}
.tcr .user-avatar {float:left;width:42px;height:42px;margin:0 12px 4px 0}
.user-avatar .avatar-image {display:block;width:42px;height:42px;background-size:cover;background-position:center;border-radius:50%}
.lastpost-link {color:var(--ot-ink);display:inline}
.category td.tcr>.lastpost-link {display:block;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;overflow-wrap:normal}
.category td.tcr>.lastpost-link+br {display:none}
.lastpost {color:var(--ot-muted);font:12px/1.5 var(--ot-serif)}
.byuser {color:var(--ot-accent)}
.special {position:relative;isolation:isolate;overflow:hidden;min-height:116px;border-radius:0;background:var(--ot-paper-raised);margin-top:16px}
.special>img {display:block;width:100%;height:120px;object-fit:cover;transition:filter .85s ease,opacity .85s ease,transform 1s ease}
.special .s-p {position:absolute;inset:0;display:flex;align-items:center;padding:14px 18px;background:var(--ot-overlay);color:var(--ot-title-ink);opacity:0;transform:translateY(6px);transition:opacity .85s ease,transform .85s ease;overflow:auto;font-size:11px;line-height:1.55;pointer-events:none}
.special:hover>img,.special:focus-within>img,.special.is-open>img {filter:grayscale(1) brightness(1.5);opacity:.25;transform:scale(1.02)}
.special:hover .s-p,.special:focus-within .s-p,.special.is-open .s-p {opacity:1;transform:none;pointer-events:auto}
.special .s-p p {margin:auto 0}
.category .ot-territory {display:flex;flex-direction:column;align-items:stretch;gap:0}
.category .ot-territory>h3 {order:0;margin:0 0 7px}
.category .ot-territory>.subforums {order:1}
.category .ot-territory>.special {order:2;width:100%;margin:8px 0 0;min-height:120px}
.category .ot-territory>.fig_links {order:3;margin-top:9px}
/* Их ждут: используется существующий источник персонажей */
#forum_f102>.tc2,#forum_f102>.tc3,#forum_f102>.tcr,#forum_f102>.tcl>.intd>.icon,#forum_f102>.tcl>.intd>.tclcon>h3 {display:none}
#forum_f102>.tcl {width:100%;padding:16px}
#forum_f102 .intd{display:block}#forum_f102 .tclcon {padding:0}
.we_need-wrapper {width:100%;font-size:11px}
.we_need-wrapper h5 {text-align:center;letter-spacing:.2em;font-size:10px;margin:0 0 13px}
.slider-container {display:flex;align-items:center;gap:9px;min-width:0}
.slider-track-wrapper {flex:1;min-width:0;overflow:hidden}
.slider-track {display:flex;width:max-content;gap:10px;transition:transform .5s}
.slider-item {width:280px;min-width:280px;display:flex;gap:12px;padding:10px;background:var(--ot-wash);border:1px solid var(--ot-line);border-radius:4px;height:110px}
.slider-item>img {width:78px;height:88px;object-fit:cover;border-radius:3px}
.slider-content {min-width:0;overflow:auto}
.slider-content h3 {display:block!important;font:600 17px var(--ot-serif);margin-bottom:5px}
.slider-content p {font-size:10px;line-height:1.5}
.slider-container .btn {cursor:pointer;width:22px;height:28px;display:grid;place-items:center;flex-shrink:0;color:var(--ot-accent)}
.activists {display:flex;gap:7px;align-items:center;justify-content:flex-end;flex-wrap:wrap;margin:10px 25px;font-size:10px}
.activists>a {padding:3px 8px;background:var(--ot-wash);border-radius:3px}
/* Сообщения, формы, списки */
#pun-main>h1,.forum>h2,.topic>h2,.formal>h2,.info>h2,#pun-userlist h2,#pun-searchtopics h2,#pun-searchposts h2,#pun-messages #messages>h2 {width:auto;height:auto;position:static;clip:auto;margin:18px 0 12px;padding:12px 0;border-bottom:1px solid var(--ot-line);background:none;color:var(--ot-ink);font:500 27px/1.2 var(--ot-serif);text-align:left}
#pun-main>h1 span,.forum>h2 span,.topic>h2 span {font:inherit}
#pun-main .forum>h2,#pun-main .topic>h2 {display:flex;justify-content:space-between;align-items:baseline;gap:10px 20px;flex-wrap:wrap}
.forum>h2 .item1,.topic>h2 .item1 {font:500 22px/1.3 var(--ot-serif)}
#pun-main .forum>h2 .item2,#pun-main .topic>h2 .item2 {font:11px/1.5 var(--ot-sans);font-size:11px;color:var(--ot-muted);white-space:nowrap;margin-left:auto}
#pun-main>h1+.forum>h2 {font-size:20px;margin-top:0}
.linkst,.linksb {clear:both;align-items:center;min-height:40px;color:var(--ot-muted)}
.pagelink {font:12px/1.5 var(--ot-sans);flex-wrap:wrap}
.pagelink .pages {display:inline;white-space:normal;font-weight:400}
#pun-searchtopics .forum .tc2 {width:20%;text-align:left}
#pun-searchtopics .forum .tc3 {width:8%;text-align:center}
#pun-searchtopics .forum .tcl {width:42%}
#pun-searchtopics .forum .tc-forum {width:20%}
.forum table {table-layout:fixed}
.forum th,.forum td,#pun-userlist th,#pun-userlist td {padding:12px;border-bottom:1px solid var(--ot-line);text-align:left}
.forum th {background:var(--ot-wash);font-size:11px}
.forum .tcl {width:55%}.forum .tcr {width:25%}
.forum .intd {position:relative;min-height:34px;display:grid;grid-template-columns:32px minmax(0,1fr);gap:14px;align-items:center}.forum .tclcon {grid-column:2;padding-left:0;min-height:34px;display:flex;align-items:center;flex-wrap:wrap;gap:4px}.forum .icon {align-self:center;margin:0;width:32px;height:32px}.forum .tclcon .byuser {display:none}
.forum .inew {color:inherit}
.linkst,.linksb,.post-links ul {display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;list-style:none;padding:13px 0;font-size:11px}
.pagelink {display:flex;gap:7px;align-items:center}.pagelink a,.pagelink strong {padding:3px 8px;background:var(--ot-wash);border-radius:3px}
.topic {display:flex;flex-direction:column;gap:28px}
.post {padding:20px;margin:0;background:var(--ot-post-paper);border:1px solid var(--ot-line);border-radius:3px;min-width:0}
.post h3 .sharelink {display:none}
.post h3 .permalink {order:0;font-weight:400}
.post h3 strong {order:1;font-weight:500}
.post h3 strong::before {content:'#'}
.post h3>span {display:flex;justify-content:space-between;margin-left:0;border-bottom:1px solid var(--ot-line);padding-bottom:9px;margin-bottom:15px;font-size:11px}
.post>.container {display:grid;grid-template-columns:231px minmax(0,1fr);gap:18px 30px;align-items:start;min-width:0}
.post>.container>.post-author{grid-column:1;grid-row:1;float:none;width:231px;max-width:100%;margin:0}
.post>.container>.post-body{grid-column:2;grid-row:1;float:none;width:auto;margin:0;padding:0;min-width:0}
.post>.container>.post-links{grid-column:1 / -1;grid-row:auto;width:auto;min-width:0;margin:0}
.post>.container>.clearer{display:none}
.post>.container>.post-rating,.post>.container>.post-vote{grid-column:2}
.post.hideprofile>.container>.post-body{grid-column:1 / -1}
.post-body {min-width:0;overflow-wrap:anywhere}
.post-content {font-size:14px;line-height:1.7}
.post-content p {padding-bottom:12px}
.post-content a {text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px}
.post-content ul,.post-content ol {padding-left:24px}
.post-content img {height:auto}
.post-content table {max-width:100%;table-layout:fixed}.post-content td {padding:8px;vertical-align:top;overflow-wrap:anywhere}
.post-content .quote-box {padding:7px 12px;margin:8px 0;background:var(--ot-quote-paper);border:1px solid var(--ot-line);border-left:3px solid var(--ot-accent);border-radius:2px}
.post-content .quote-box .quote-box {background:var(--ot-quote-nested);margin:6px 0 2px;padding:6px 10px;border-left-width:2px}
.post-content .quote-box>cite {display:flex;align-items:center;gap:6px;font:600 11px/1.35 var(--ot-sans);font-style:normal;padding:0;margin:0 0 4px;border:0;color:var(--ot-accent)}
.post-content .quote-box>cite::before {content:'';flex:0 0 13px;width:13px;height:13px;background:var(--ot-accent);mask:var(--ot-quote-icon) center/contain no-repeat;-webkit-mask:var(--ot-quote-icon) center/contain no-repeat}
.post-content .quote-box {line-height:1.45}
.post-content .quote-box p {padding:0 0 4px}
.post-content blockquote {margin:0;padding:0}
.post-content .quote-box p:last-child {padding-bottom:0}
.post-content .code-box {padding:10px 14px;margin:14px 0;background:var(--ot-quote-paper);border:1px solid var(--ot-line);border-radius:2px}
.post-content .code-box .legend {display:flex;justify-content:flex-end;align-items:center;margin:0 0 8px;padding:0;border:0;font-size:11px}
.post-content .code-box .legend a,.post-content .ot-copy {display:inline-block;padding:5px 12px;border:1px solid var(--ot-line);border-radius:2px;background:var(--ot-paper-raised);color:var(--ot-accent);font:600 10px/1.4 var(--ot-sans);text-decoration:none;cursor:pointer}
.post-content .code-box .scrollbox {height:auto!important;max-height:var(--ot-code-height)!important;overflow:auto;overscroll-behavior:contain}
.post-content .code-box pre {margin:0;max-height:var(--ot-code-height);overflow:auto;white-space:pre;overflow-wrap:normal;font:12px/1.6 monospace;padding:0 0 5px}
.post-content .spoiler-box {padding:0;border:1px solid var(--ot-line);border-left:3px solid var(--ot-accent)}
.post-content .spoiler-box>div:first-child {display:flex;align-items:center;gap:10px;padding:10px 14px;cursor:pointer;background:none;font:600 12px/1.5 var(--ot-sans)}
.post-content .spoiler-box>div:first-child::before {content:'';display:block;flex:0 0 16px;width:16px;height:16px;background:var(--ot-accent);mask:var(--ot-star-icon) center/contain no-repeat;-webkit-mask:var(--ot-star-icon) center/contain no-repeat;transform:rotate(0);transition:transform .55s cubic-bezier(.2,.7,.25,1)}
.post-content .spoiler-box>div.visible::before {transform:rotate(180deg)}
.post-content .spoiler-box>blockquote {display:none;margin:0;padding:14px 18px;border-top:1px solid var(--ot-line)}
.post-content .spoiler-box>blockquote.visible {display:block;animation:ot-drop .3s ease}
.post-sig {margin:20px 0 0;font-size:11px;color:var(--ot-muted)}
.post-sig dt {width:60%;height:1px;margin:12px auto;background:linear-gradient(90deg,var(--ot-clear),var(--ot-line),var(--ot-clear))}.post-sig dt span {display:none}
.post-links {margin:0;padding:0;clear:both;min-width:0}.post-links ul {justify-content:flex-end;display:flex;flex-direction:row;gap:8px;flex-wrap:wrap;margin:0;padding:12px 0;border-top:1px solid var(--ot-line)}
.post-links li{display:block;float:none;width:auto;margin:0;padding:0;list-style:none}
.post-links a{display:inline-block;white-space:nowrap;padding:5px 10px;border:1px solid var(--ot-line);border-radius:3px;background:var(--ot-wash);font:11px/1.4 var(--ot-sans)}
.post-rating {text-align:right;font-size:12px}
.formal,.info {background:var(--ot-paper-raised);border:1px solid var(--ot-line);padding:20px;border-radius:6px;margin:15px 0}
input:not([type='checkbox']):not([type='radio']),select,textarea {background:var(--ot-paper-raised);color:var(--ot-ink);border:1px solid var(--ot-line);padding:8px 10px;border-radius:4px;max-width:100%}
textarea {width:100%;min-height:180px;resize:vertical}
input[type='button'],input[type='submit'],.formsubmit button {background:var(--ot-wash);cursor:pointer;color:var(--ot-ink);border:1px solid var(--ot-line);padding:8px 14px;border-radius:4px}
.formsubmit {display:flex;flex-wrap:wrap;gap:10px;padding-top:12px}
.formal label {display:inline-block;margin:6px 0}
.formal .inputfield,.formal .selectfield,.formal .checkfield {margin-bottom:10px}
/* Профиль: просмотр и редактирование */
#pun-profile #profile {display:block;width:auto;min-width:0}
#pun-profile #profilenav {width:auto;float:none;margin:0 0 16px;padding:0 0 10px;border-bottom:1px solid var(--ot-line)}
#pun-profile #profilenav h2 {font:500 22px var(--ot-serif);margin-bottom:8px}
#profilenav ul {list-style:none;display:flex;gap:5px 14px;flex-wrap:wrap;padding:0;margin:0}
#profilenav li {list-style:none;margin:0;padding:0;font-size:12px}
#viewprofile-next,#viewprofile {width:100%;min-width:0;max-width:100%}
#viewprofile-next {padding:18px;border-radius:0;background:var(--ot-post-paper)}
#viewprofile>.container,#viewprofile>.container>ul {margin:0;padding:0;min-width:0;list-style:none}
#viewprofile>.container>ul>table,#viewprofile>.container>ul>table>tbody {display:block;width:100%;margin:0}
#viewprofile>.container>ul>table>tbody>tr {display:grid;grid-template-columns:210px minmax(0,1fr);gap:24px;align-items:start}
#viewprofile #profile-left,#viewprofile #profile-right {display:block;width:auto;min-width:0;float:none;margin:0;padding:0;vertical-align:top}
#viewprofile #profile-left {padding:14px;background:var(--ot-wash);text-align:center}
#viewprofile #profile-left>li,#viewprofile #profile-right>li {list-style:none;list-style-type:none;margin:0;min-width:0;max-width:100%;overflow-wrap:anywhere}
#viewprofile #profile-left>li {padding:4px 0}
#viewprofile #profile-name {font:600 25px/1.2 var(--ot-serif)}
#viewprofile #profile-title,#viewprofile #pa-online {font-size:11px}
#viewprofile #pa-avatar img {display:block;margin:8px auto;max-width:100%;height:auto}
#viewprofile #profile-right>li {display:grid;grid-template-columns:150px minmax(0,1fr);gap:5px 12px;padding:7px 0;font-size:12px;line-height:1.5}
#viewprofile #profile-right>li>span {color:var(--ot-muted)}
#viewprofile #profile-right>li>strong {min-width:0;max-width:100%;font-weight:500}
#viewprofile #profile-right>li>strong>div {max-width:100%}
#viewprofile #profile-signature {clear:both;margin:15px 0 0;padding:12px 0 0;border-top:1px solid var(--ot-line);font-size:12px}
#viewprofile #profile-signature ul {list-style:none;padding:0;margin:0}
#viewprofile #profile-gifts {clear:both;margin:12px 0 0;font-size:11px;color:var(--ot-muted)}
@media(max-width:760px){#viewprofile>.container>ul>table>tbody>tr{grid-template-columns:170px minmax(0,1fr);gap:16px}#viewprofile #profile-right>li{grid-template-columns:1fr;gap:2px}}
@media(max-width:540px){#viewprofile>.container>ul>table>tbody>tr{grid-template-columns:1fr}#viewprofile #profile-left{width:100%}}
#pun-stats {position:relative;isolation:isolate;margin:0;padding:14px 24% 14px 25px;min-height:0;background:var(--ot-bar);color:var(--ot-bar-text);border:1px solid var(--ot-footer-rule);border-radius:0;overflow:hidden}
#pun-stats::before {content:'';position:absolute;inset:0 0 0 54%;z-index:-1;background-image:linear-gradient(90deg,var(--ot-bar),var(--ot-footer-shade) 55%,var(--ot-footer-shade)),var(--ot-footer-image);background-position:center,right center;background-size:cover;filter:saturate(.45)}
#pun-stats::after {content:'ЛЕС ПОМНИТ ВСЕХ';position:absolute;right:4%;bottom:18px;width:100px;font:12px/1.4 var(--ot-serif);letter-spacing:.18em;text-align:center;color:var(--ot-bar-text);opacity:.8}
#pun-stats h2 {font:500 24px/1.1 var(--ot-serif);margin:0 0 10px;display:flex;align-items:center;gap:15px}
#pun-stats h2::before {content:'';width:19px;height:27px;background:var(--ot-accent-bright);mask:var(--ot-leaf-icon) center/contain no-repeat;-webkit-mask:var(--ot-leaf-icon) center/contain no-repeat}
#pun-stats ul {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 16px;list-style:none;margin:0;padding:0;font:11px/1.4 var(--ot-serif)}
#pun-stats li {min-width:0;float:none;margin:0;padding:0}
#pun-stats li.item1,#pun-stats li.item2,#pun-stats li.item3 {display:flex;flex-direction:row;align-items:baseline;gap:5px;flex-wrap:wrap}
#pun-stats li.item1>strong,#pun-stats li.item2>strong,#pun-stats li.item3>strong {font:600 16px/1 var(--ot-serif);margin:0}
#pun-stats li.item4 {grid-column:1 / -1;padding-top:7px;border-top:1px solid var(--ot-footer-rule)}
#pun-stats li.item5,#pun-stats .onlinelist,#pun-stats .users_24h {grid-column:1 / -1;font-size:11px}
#pun-stats .onlinelist>div>span {display:inline;margin-left:8px}
#pun-stats a {color:var(--ot-accent-bright)}
#pun-online {padding:15px 0;font-size:11px}
.scrollbuttons {position:fixed;right:7px;bottom:20px;display:grid;gap:5px;z-index:70}
.scrollbuttons button {width:30px;height:30px;border:1px solid var(--ot-glass-line);background:var(--ot-bar);color:var(--ot-bar-text);border-radius:50%}
.hidden {display:none!important}
.custom_tag_tabtitle {display:inline-block;padding:6px 12px;background:var(--ot-wash);border:1px solid var(--ot-line);border-radius:4px 4px 0 0;cursor:pointer;margin:3px 4px 0 0;font-size:12px}
.custom_tag_tabtitle.active {background:var(--ot-accent);color:var(--ot-paper-raised)}
.custom_tag_tab {padding:15px;border:1px solid var(--ot-line);background:var(--ot-paper-raised);overflow:auto}
.custom_tag_indent {display:inline-block;width:2em}
.postvoice {display:flex;align-items:center;gap:12px;padding:12px;background:var(--ot-wash);border-radius:5px}.postvoice audio {max-width:100%}
.ot-preview-note {font-size:12px;padding:10px 20px;text-align:center;background:var(--ot-bar);color:var(--ot-bar-text)}
#pun-index #pun,#pun-index .category>.container,#pun-index .news-plash__link,#pun-index .special,#pun-index .slider-item,#pun-index .slider-item>img {border-radius:0}
#pun:has(>#pun-index),#pun>#pun-index,#pun:has(>#pun-index)::before {border-radius:0}
@media(max-width:1050px){.ot-hero__copy{top:21%;max-width:48%;padding:12px}.ot-title{font-size:48px}.ot-nav>button{font-size:12px}.ot-hero-nav{gap:12px}.ot-weather{width:420px;font-size:10px}#ot-underhero{gap:12px;padding:8px 16px}#pun-ulinks a{font-size:12px}}
@media(max-width:760px){body{padding:18px 12px}#pun::before{inset:-8px}:root{--ot-lowerbar-height:86px}.ot-hero{min-height:440px;background-size:cover}.ot-hero__copy{top:20%;left:9%;width:350px;max-width:75%}.ot-title{font-size:48px}.ot-eyebrow{font-size:8px}.ot-tagline{font-size:14px}.ot-ribbon-wrap{left:12px;width:26px}.ot-ribbon{width:26px;height:104px}.ot-ribbon-wrap:hover .ot-ribbon{height:116px}#pun-navlinks>ul{justify-content:flex-start;gap:14px;padding:0 48px}#pun-navlinks a{font-size:12px}#ot-underhero{grid-template-columns:minmax(0,1fr);gap:3px;padding:6px 15px}.ot-weather{width:100%;display:block;overflow-x:auto}.ot-weather__summary,.ot-weather__panel{width:max-content;max-width:none}.ot-weather__summary{font-size:10px}.ot-weather__panel{margin-top:0}.ot-progress{display:none}#pun-status{left:15px;font-size:10px;max-width:82%;padding:5px 8px}.category .tc2,.category .tc3{display:none}.category .tcl{width:64%}.category .tcr{width:36%}.category .intd{grid-template-columns:27px minmax(0,1fr);gap:11px}.category .tclcon{padding-left:0}.category .icon{width:27px;height:27px}.category>h2{font-size:24px}.category .ot-territory{display:flex}.category .ot-territory>.special{margin-top:8px}.post{padding:16px;min-width:600px}.topic{overflow-x:auto}.post>.container{grid-template-columns:215px minmax(0,1fr);gap:18px}.post>.container>.post-author{width:215px}.post h3>span{margin-left:0}#pun-stats{padding:14px 20% 14px 16px}#pun-stats::after{right:2%;width:80px;font-size:11px}}
@media(max-width:540px){#pun-main,#pun-crumbs1,#pun-crumbs2{margin:0 12px}.ot-hero__copy{left:8%;max-width:82%}.ot-title{font-size:43px}.ot-header-dots{right:10px}.category .tcl,.category .tcr{display:block;width:100%}.category .tcr{padding-left:52px;padding-top:0}.category tr{display:block;border:0}.category td{border:0}#pun-stats{padding:14px 16px}#pun-stats::before{inset:0;opacity:.25}#pun-stats::after{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Служебные страницы */
#pun-admain,#pun-adnav,#pun-main,.punbb .main {min-width:0;max-width:100%;box-sizing:border-box}
#pun-admain {width:auto;float:none;margin:20px 25px 25px 230px;padding:0}
#pun-adnav {float:left;width:180px;margin:20px 0 20px 25px;padding:0}
#pun-adnav ul {list-style:none;margin:0 0 15px;padding:0}
#pun-adnav li {padding:5px 0}
#pun-adnav h2,#pun-admain h1,#pun-admain h2 {font:500 24px/1.2 var(--ot-serif);padding:12px 0;margin:0 0 12px;border-bottom:1px solid var(--ot-line)}
#pun-admain .adcontainer,#pun-admain .container {width:auto;min-width:0;max-width:100%;overflow-x:auto;background:var(--ot-paper-raised);border:1px solid var(--ot-line);padding:16px;margin-bottom:18px}
#pun-admain table {width:100%;table-layout:fixed}
#pun-admain td,#pun-admain th {padding:9px;vertical-align:top;overflow-wrap:anywhere}
#pun-admain input,#pun-admain select,#pun-admain textarea {max-width:100%;min-width:0}
#pun-admain textarea {width:100%;font:12px/1.5 monospace}
#pun-admain .adsubmit {padding:12px 0}
#pun::after,.punbb::after {content:'';display:block;clear:both}
#pun-messages #profile {display:block;margin:0;padding:0;width:auto}
#pun-messages #profile>.container {display:block;min-width:0;width:auto;padding:0}
#pun-messages #profilenav {width:auto;margin:0 0 18px;padding:12px 15px;background:var(--ot-wash);border:1px solid var(--ot-line);border-radius:4px}
#pun-messages #profilenav h2 {font:500 21px var(--ot-serif);margin-bottom:8px}
#pun-messages #profilenav ul {display:flex;flex-wrap:wrap;flex-direction:row;gap:8px 18px;padding:0}
#pun-messages #messages {min-width:0;width:100%;margin:0 0 20px}
#messages table {width:100%;table-layout:fixed;border:1px solid var(--ot-line)}
#messages th,#messages td {padding:12px;border-bottom:1px solid var(--ot-line);text-align:left;vertical-align:middle;overflow-wrap:anywhere}
#messages th {background:var(--ot-wash);font:600 11px var(--ot-sans)}
#messages .pmtc24 {width:36px;text-align:center}#messages .pmtc22 {width:20%}#messages .pmtc23 {width:22%}
#pun-messages #post-form .container {padding:0}
#pun-messages .post h3>span {margin-left:0}
#pun-messages .post .post-author {margin:0;width:231px}
#pun-messages .post .post-author ul {width:auto;max-width:100%}
#pun-messages .post .post-body {min-width:0;width:auto}
#pun-messages .formal,#pun-messages .info {margin:15px 0}
.user-agent,.pa-user-agent,.pa-agent,#user-agent,.reaction-picker,#reaction-picker,#pun .user-agent,#pun .pa-user-agent,#pun .pa-agent,#pun #user-agent,#pun .reaction-picker,#pun #reaction-picker,#pun-live-rusff,.pun-live-rusff {display:none!important}
@media(max-width:760px){#pun-adnav{float:none;width:auto;margin:15px}#pun-adnav ul{display:flex;gap:12px;flex-wrap:wrap}#pun-admain{margin:15px}}


/* Объявление и быстрый ответ */
#pun-announcement {margin:0;padding:0;width:auto;min-width:0;max-width:100%}
#pun-announcement:has(.ot-news),#pun-announcement:has(.ot-news)>.container {display:block!important;height:auto!important;visibility:visible!important;overflow:visible;padding:0;background:none;border:0}
#pun-announcement .ot-news {margin:16px 25px 3px}
#post-form.formal {padding:16px 20px;margin:14px 0;border-radius:4px}
#pun #post-form.formal>h2 {margin:0 0 12px;padding:0 0 10px;font:500 25px/1.2 var(--ot-serif)}
#post-form .container,#post-form #post,#post-form .fs-box {margin:0;padding:0;min-width:0}
#post-form fieldset {margin:0;padding:0}
#post-form #post legend {display:block;width:100%;margin:0 0 12px;padding:9px 12px;background:var(--ot-wash);border-radius:3px;font:11px/1.5 var(--ot-sans);text-transform:none;white-space:normal}
#post-form #plng {display:block;margin:0 0 5px;padding:0;font:11px/1.5 var(--ot-sans);color:var(--ot-muted)}
#post-form #plng b {padding:0 3px;color:var(--ot-ink)}
#form-buttons #button-graffiti,#form-buttons #button-files_rusff,#form-buttons #button-files,#form-buttons #button-file,#form-buttons #button-upload,#form-buttons td[title*='Граффити'],#form-buttons td[title*='граффити'] {display:none!important}
/* Личная страница */
#ot-character-dialog {position:fixed;inset:0;width:min(960px,94vw);max-width:94vw;max-height:88vh;margin:auto;padding:0;border:1px solid var(--ot-line);border-radius:6px;background:var(--ot-paper-raised);color:var(--ot-ink);box-shadow:0 20px 70px var(--ot-shadow);overflow:hidden;font:13px/1.5 var(--ot-sans)}
#ot-character-dialog:not([open]) {display:none}
#ot-character-dialog[open] {display:flex;flex-direction:column}
#ot-character-dialog::backdrop {background:var(--ot-modal-shade);backdrop-filter:blur(4px)}
.ot-character-toolbar {display:flex;align-items:center;gap:12px;padding:11px 16px;border-bottom:1px solid var(--ot-line);background:var(--ot-wash);flex:0 0 auto}
.ot-character-toolbar h2 {font:500 23px/1.2 var(--ot-serif);margin:0 auto 0 0}
.ot-character-toolbar a {font-size:11px}
.ot-character-close {border:1px solid var(--ot-line);background:var(--ot-paper-raised);color:var(--ot-ink);width:30px;height:30px;font-size:20px;border-radius:3px;padding:0}
#ot-character-content {min-height:90px;overflow:auto;overscroll-behavior:contain;padding:18px;min-width:0;max-width:100%;scrollbar-gutter:stable}
#ot-character-content .character-container {width:auto;max-width:100%;padding:0;background:none}
#ot-character-content .char-top {margin-bottom:20px;flex-wrap:wrap}
#ot-character-content .char-top__info {flex:1;min-width:220px}
#ot-character-content .menu-links {gap:8px;flex-wrap:wrap}
#ot-character-content #submenu>div {max-height:none;overflow:visible}
#ot-character-content img {max-width:100%}
#ot-character-content [role='tab'] {cursor:pointer}
html.ot-character-open {overflow:hidden}

/* Карточки автора */
/* Карточка автора */
.post .post-author {align-self:start;position:relative;transform:none;isolation:isolate;background:var(--ot-author-base);border-radius:20px;color:var(--ot-author-text);font:12px/1.4 Arial,sans-serif;overflow:hidden;--link-light:var(--ot-author-text);--link-light-hover:var(--ot-author-hover);--respect:var(--ot-author-respect)}
.post .post-author>ul {position:relative;z-index:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 0;width:100%;min-width:0;margin:0;padding:12px;list-style:none}
.post .post-author>ul>li {grid-column:1 / -1;grid-row:auto;order:3;float:none;clear:none;position:relative;display:block;width:auto;max-width:100%;min-width:0;margin:0;padding:0;text-align:center;overflow-wrap:anywhere;box-sizing:border-box}
.post-author a {color:var(--ot-author-text)}
.post-author a:hover {color:var(--ot-author-hover)}
.post .post-author>ul>.pa-author {order:0;margin-top:3px;font-weight:600}
.post .post-author .pa-author a {font-size:16px;color:var(--ot-author-cover-text)}
.post .post-author>ul>.pa-title {order:1;font-size:11px;color:var(--ot-author-cover-text)}
.post .post-author>ul>.pa-avatar {order:2;margin:5px 0}
.post-author .pa-avatar img {display:block;width:auto;height:auto;max-width:100%;max-height:315px;margin:auto;border:8px solid var(--ot-author-panel);border-radius:10px;box-sizing:border-box}
.post .post-author>ul>[class*='pa-fld'] {grid-column:1 / -1;grid-row:auto;align-self:auto;justify-content:normal;padding:5px;background:none;border-radius:0}
.post .post-author>ul>[class*='pa-fld']::before {content:none}
.post .post-author>ul>.pa-fld1 {order:4}
.post .post-author>ul>.pa-posts,.post .post-author>ul>.pa-respect {order:5;grid-column:auto;padding:8px 3px;background:none;color:var(--ot-author-respect)}
.post .post-author>ul>.pa-posts {border-radius:6px 0 0 6px}
.post .post-author>ul>.pa-respect {border-radius:0 6px 6px 0}
.post-author .pa-posts .fld-name,.post-author .pa-respect .fld-name {display:block;font-size:0;height:20px;margin-bottom:3px}
.post-author .pa-posts .fld-name::before,.post-author .pa-respect .fld-name::before {font:900 17px 'Font Awesome 6 Free','Font Awesome 6 Pro',FontAwesome}
.post-author .pa-posts .fld-name::before {content:'\f0e0'}
.post-author .pa-respect .fld-name::before {content:'\f004'}
.post-author .pa-respect img {display:none!important}
.post .post-author>ul>.pa-online,.post .post-author>ul>.pa-last-visit,.post .post-author>ul>.pa-ip {order:6;padding:5px 0;font-size:11px}
.post .post-author>ul>.pa-gifts,.post .post-author>ul>.pa-awards,.post .post-author>ul>.pa-reg {order:7;font-size:11px}
.post-author .lz {display:flex;flex-direction:column;font-size:13px}
.post-author .status-tribe,.post-author .age-pers,.post-author .lz-quote {padding:5px;line-height:1.4}
.post-author .age-pers {border-bottom:1px solid var(--ot-author-rule)}

.post .post-author::before,.post .post-author::after {content:'';position:absolute;inset:0 0 auto;height:var(--ot-author-cover-end);pointer-events:none;clip-path:inset(0);background:var(--post-author);z-index:0}
.post .post-author::before {mask-image:linear-gradient(to bottom,var(--ot-mask-solid) 35%,var(--ot-clear) 100%);-webkit-mask-image:linear-gradient(to bottom,var(--ot-mask-solid) 35%,var(--ot-clear) 100%)}
.post .post-author::after {filter:blur(var(--ot-author-cover-blur));mask-image:linear-gradient(to bottom,var(--ot-clear) 35%,var(--ot-mask-solid) 65%,var(--ot-clear) 100%);-webkit-mask-image:linear-gradient(to bottom,var(--ot-clear) 35%,var(--ot-mask-solid) 65%,var(--ot-clear) 100%)}



.post[data-user-id="2"] .post-author {
  --post-author: var(--ot-asset-66) no-repeat center / cover;
}

.post[data-user-id="4033"] .post-author {
  --post-author: var(--ot-asset-67) no-repeat center / cover;
}

.post[data-user-id="3966"] .post-author {
  --post-author: var(--ot-asset-68) no-repeat center / cover;
}

.post[data-user-id="3982"] .post-author {
  --post-author: var(--ot-asset-69) no-repeat center / cover;
}

.post[data-user-id="3943"] .post-author {
  --post-author: var(--ot-asset-70) no-repeat center / cover;
}


.post[data-user-id="3973"] .post-author {
  --post-author: var(--ot-asset-71) no-repeat center / cover;
}

.post[data-user-id="4028"] .post-author {
  --post-author: var(--ot-asset-72) no-repeat center / cover;
}

.post[data-user-id="4042"] .post-author {
  --post-author: var(--ot-asset-73) no-repeat center / cover;
}

.post[data-user-id="4047"] .post-author {
  --post-author: var(--ot-asset-74) no-repeat center / cover;
}

.post[data-user-id="4074"] .post-author {
  --post-author: var(--ot-asset-75) no-repeat center / cover;
}

.post[data-user-id="2747"] .post-author {
  --post-author: var(--ot-asset-76) no-repeat center / cover;
}

.post[data-user-id="3980"] .post-author {
  --post-author: var(--ot-asset-77) no-repeat center / cover;
}

.post[data-user-id="3944"] .post-author {
  --post-author: var(--ot-asset-78) no-repeat center / cover;
}

.post[data-user-id="3979"] .post-author {
  --post-author: var(--ot-asset-79) no-repeat center / cover;
}

.post[data-user-id="1641"] .post-author {
  --post-author: var(--ot-asset-80) no-repeat center / cover;
}

.post[data-user-id="1172"] .post-author {
  --post-author: var(--ot-asset-69) no-repeat center / cover;
}

.post[data-user-id="4050"] .post-author {
  --post-author: var(--ot-asset-81) no-repeat center / cover;
}

.post[data-user-id="4003"] .post-author {
  --post-author: var(--ot-asset-49) no-repeat center / cover;
}

.post[data-user-id="4017"] .post-author {
  --post-author: var(--ot-asset-49) no-repeat center / cover;
}


.post[data-user-id="3981"] .post-author {
  --post-author: var(--ot-asset-82) no-repeat center / cover;
}

.post[data-user-id="4057"] .post-author {
  --post-author: var(--ot-asset-83) no-repeat center / cover;
}


.post[data-user-id="1569"] .post-author {
  --post-author: var(--ot-asset-84) no-repeat center / cover;
}


.post[data-user-id="2226"] .post-author {
  --post-author: var(--ot-asset-85) no-repeat center / cover;
}


.post[data-user-id="284"] .post-author {
  --post-author: var(--ot-asset-86) no-repeat center / cover;
}


.post[data-user-id="4054"] .post-author {
  --post-author: var(--ot-asset-87) no-repeat center / cover;
}



.post[data-user-id="2252"] .post-author {
  --post-author: var(--ot-asset-88) no-repeat center / cover;
}


.post[data-user-id="4029"] .post-author {
  --post-author: var(--ot-asset-89) no-repeat center / cover;
}


.post[data-user-id="4053"] .post-author {
  --post-author: var(--ot-asset-40) no-repeat center / cover;
}


.post[data-user-id="4052"] .post-author {
  --post-author: var(--ot-asset-90) no-repeat center / cover;
}

.pokemon-menu-btn{top:auto;bottom:100px;right:8px;z-index:70}

#form-buttons [id^="button-"]::before,.pa-posts .fld-name::before,.pa-respect .fld-name::before{font-family:"Font Awesome 6 Free","Font Awesome 6 Pro",FontAwesome;font-weight:900}