#news{
width: calc(92%);
	float: left;
	padding-top: 30px;
	font-family: 'Roboto', sans-serif;
	-webkit-font-smoothing: antialiased;
	font-smoothing: antialiased;	
	padding-left:-5px;
}

#news_cont{

}

#news_noshade {
	margin-left: 25px; 
	margin-top: 14px;
	width: 465px; 
	height: 1px;
	
}

.PatcherDiscordAd {
	background: url('../images/discordad.png');

}

#news_prefix {
	position:relative; 
	float:left;
	width: 309px;
	height: 309px;
	margin-top:15px;
}

#news_date{
	position:relative;
	float:left;
	color:fff;
	font-size:10pt;	
	left: 15px;
	margin-top:15px;
}

#news_title {
	position:relative;
	color:white;
	font-size: 20px;
    font-weight: bold;
	padding-top:15px;
	font-family: 'Roboto', sans-serif;
	-webkit-font-smoothing: antialiased;
	font-smoothing: antialiased;	
	left: 15px;
	margin-top:15px;
	margin-bottom:5px;
}

#news_author {
	position:relative;
	color:fff;
	font-size:10pt;
	left: 15px;	
	top:15px;
  font-style: italic;
}

.serverstatus-container {
  /* Abgerundete, halbtransparente Box */
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #B01BA5;    /* Pink-Violetter Rahmen */
  border-radius: 8px;
  padding: 15px;
  padding-bottom: 0px;
  margin: 20px 0;
  box-shadow: 0 0 10px rgba(176, 27, 165, 0.3); /* dezent violetter Schlagschatten */
}

.votebox-container {
  /* Abgerundete, halbtransparente Box */
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #B01BA5;    /* Pink-Violetter Rahmen */
  border-radius: 8px;
  padding: 15px;
  padding-bottom: 0px;
  box-shadow: 0 0 10px rgba(176, 27, 165, 0.3); /* dezent violetter Schlagschatten */
}

.serverstatusbg {
background-image: url("/../images/shophighlightsbg.png");
  background-repeat: no-repeat;
  background-position:50% 0%;
  }

.shophighlightbg {
  background-image: url("/../images/shophighlight.png");
  background-repeat: no-repeat;
  background-position:50% 0%;
  }
  
.votehighlightbg {
background-image: url("/../images/votehighlightbg.png");
background-repeat: no-repeat;
background-position:50% 0%;
}

.serverstatustext {
background: rgba(0, 0, 0, 0.);
  }
.serverstatus-title {
  font-size: 24px;
  text-align: center;
  margin-bottom: 15px;
  color: #B01BA5;         /* Primärfarbe für den Titel */
  text-transform: uppercase;
  letter-spacing: 1px;
}

.serverstatus-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.serverstatus-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  /*border-bottom: 1px solid rgba(255, 255, 255, 0.1);*/
}

.serverstatus-list li:last-child {
  border-bottom: none;
}

.serverstatus-label {
  color: #CCCCCC;         /* Helleres Grau für das Label */
  font-weight: 500;
  font-size: 14px;
}

.serverstatus-value {
  color: #B01BA5;         /* Pink-Violett für den Wert */
  font-weight: 600;
  font-size: 14px;
}



#news_text {
	padding: 1px;
	//padding-top: 30px;
	color: #fff;
	max-height: 150px;
	max-width: 453px;
	overflow: hidden;
	display: block;	
	position:relative;
	left: 25px;
	margin-top:px;
}

#news_text_2 {

	/*position:relative;
	top: 30px;*/
	left: 0px;
	color: #fff;
	padding: 1;
	margin-bottom: -15px;
	min-height: 200px; !important
	
	
}
#news_text_2 > table > tbody > tr > td {
    border-collapse: separate;
    border-style: solid;
    padding: 5px;
}

.news-read-more {
	font-size: 15px;
	text-transform: uppercase;
	font-weight: 700;
	font-style: italic;
	color: #fff;
	position: relative;
	top: 25px;
}

a:hover,
a:focus {
	color: #B01BA5;
	text-decoration: none;
	outline: none;
}

hr {
    background: #B01BA5;
    height: 1px;
    border: 0px;
}

newshr {
    background: #B01BA5;
    height: 1px;
    border: 0px;
	margin-top: 14px;
	margin-left: 25px;
}

#coincon {
color:#303030;
width: 100%;
float:left;
padding-bottom: 15px;
}

#Accountpanel {
color:#303030;
padding-bottom: 8px;
float: left;
padding-right: 180px;
}

.welcome-text{
	color: #303030;
	padding-bottom:20px;
	
}

#PanelLogout {

}

.login-menu {
	display: block;
	color: #000;
	margin-right: 0;
	padding: 8px 30px;
}

.login-menu:after {
	display: none;
}

.login-menu:hover {
	color: #b01ba5;
}
   
.container {
  padding: 2rem 0rem;
}

@media (min-width: 576px){
  .modal-dialog {
    max-width: 400px;
    
    .modal-content {
      padding: 1rem;
    }
  }
}

.modal-header {
  .close {
    margin-top: -1.5rem;
  }
}

.form-title {
  margin: -2rem 0rem 2rem;
}

.btn-round {
  border-radius: 3rem;
}

.delimiter {
  padding: 1rem;  
}

.social-buttons {
}	
	
.social-buttons-wrapper {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #B01BA5;   
  border-radius: 8px;
  padding: 15px;
  margin: 20px 0;
  box-shadow: 0 0 10px rgba(176, 27, 165, 0.3);
}

.signup-section {
  padding: 0.3rem 0rem;
}
   
.text-info {
	color: #000;
}   
.text-info:hover {
	color: #FFF;
}


#Accountpanel {
	padding-bottom:8px;
	
}

#DL_Patcher {
	background-image: url(../images/DL_Patcher.png);
	width: 225px;
	height: 126px;
	left:px;
	position: relative;
}
#DL_Patcher:hover {
	background-position: 0px 126px;
}

#DL_Client {
	background-image: url(../images/DL_Client_Button.png);
	width: 225px;
	height: 126px;
	left:px;
	position: relative;
}
#DL_Client:hover {
	background-position: 0px 126px;
}

#Downloadbuttons {

	z-index: 99;
	padding-bottom:0px;
	margin-left: 240px;
	margin-top:30px;
}

.send_register {
	background: url('/images/Buttons/Registration.png');
	border: 0px;
	width: 172px;
	height: 34px;
}
.send_register:hover {
	background-position: 0px 34px;
	cursor: pointer;
}

#custom-file-upload {
	background-image: url('/images/Buttons/Durchsuchen.png');
	width: 106px;
	height: 34px;
	cursor: pointer;
	
}
#custom-file-upload:hover {
	background-position: 0px 34px;
}

.send_psc {
	background: url('/images/Buttons/Spende_Absenden.png');
	border: 0px;
	width: 172px;
	height: 34px;
}
.send_psc:hover {
	background-position: 0px 34px;
	cursor: pointer;
}

#refresh {
	background: url('/images/Buttons/Refresh.png');
	background-repeat: no-repeat;
    background-size: contain;
	display: inline-block;
	width: 40px;
	height: 40px;
	cursor: pointer;
}
#refresh:hover {
    -moz-transform: scale(1.1,1.1);
    -webkit-transform: scale(1.1,1.1);
    transform: scale(1.1,1.1);  
	transform-origin: center center;
}

#new_ticket {
	background: url('/images/Buttons/New_Ticket.png');
	border: 0px;
	width: 149px;
	height: 26px;
}
#new_ticket:hover {
	background-position: 0px 26px;
	cursor: pointer;
}

.tickets-bottom {
	

}

.btn_dl {
    margin-top: 10px;
	margin-bottom:10px;
    position: relative;
    display: inline-block;
    width: 277px;
    height: 50px;
    font-size: 1em;
    font-weight: bold;
    line-height: 60px;
    text-align: center;
    text-transform: uppercase;
    background-color: transparent;
    cursor: pointer;
    text-decoration:none;
    font-family: 'Roboto', sans-serif;
    font-weight:900;
    font-size:17px;
    letter-spacing: 0.045em;
}

.btn_dl svg {
    position: absolute;
    top: 0;
    left: 0;
}

.btn_dl svg rect {
    //stroke: #EC0033;
    stroke-width: 4;
    stroke-dasharray: 353, 0;
    stroke-dashoffset: 0;
    -webkit-transition: all 600ms ease;
    transition: all 600ms ease;
}

.btn_dl span{
  background: rgb(255,130,130);
  background: -moz-linear-gradient(left,  rgba(255,130,130,1) 0%, rgba(225,120,237,1) 100%);
  background: -webkit-linear-gradient(left,  rgba(255,130,130,1) 0%,rgba(225,120,237,1) 100%);
  background: linear-gradient(to right,  rgba(255,130,130,1) 0%,rgba(225,120,237,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff8282', endColorstr='#e178ed',GradientType=1 );
  
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn_dl:hover svg rect {
    stroke-width: 4;
    stroke-dasharray: 196, 543;
    stroke-dashoffset: 437;
}	

.container_pi {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  margin-bottom: px;
  border-radius: 8px;
 
}

a_pi {
  font-size: 1.5rem;
  padding: 1rem 3rem;
  color: #f4f4f4;
  text-transform: uppercase;
   border-radius: 8px;
}

.btn_pi {
  content-align:center;
  background-color: #160d24;
  background-image: url('/images/dcr-background-v2.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  font-size: 2.0rem;
  padding: 1rem 3rem;
   color: #f4f4f4;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgb(546, 48, 148);
  position: relative;
  overflow: hidden;
  border-radius: 8px;
    margin-top: 10px;
}

.btn_pi:hover {
  box-shadow: 1px 1px 25px 10px rgba(546, 48, 148, 0.4);
}

.btn_pi:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(146, 148, 248, 0.4),
    transparent
  );
  transition: all 650ms;
}

.btn_pi:hover:before {
  left: 100%;
}

.wrapper-buttons {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 250px;
}

.wrapper-buttons > * {
  margin-bottom: 10px;
}

.wrapper-buttons > *:first-child {
  margin-top: 10px;
}

.wrapper-buttons > *:last-child {
  margin-bottom: 0px;
}

.blue-button {
  display: inline-block;
  font-family: Whitney, "Open Sans", Helvetica, sans-serif;
  font-weight: 400;
  font-size: 11pt;
  border-radius: 3px;
  cursor: pointer;
  height: 45px;
  width: 250px;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2);
}

.blue-button {
  background-color: #7289da;
  border: 2px solid #7289da;
  color: #fff;
}

.blue-button:hover {
  transform: translateY(1px);
}

.blue-button:active {
  transform: translateY(2px);
}

.blue-button {
  outline: transparent !important;
}

.hexagon-wrapper {
  margin: auto;
  display: flex;
  text-align: initial;
  width: 90px;
  height: 90px;
  cursor: pointer;
  float:left;
}


.hexagon {
  position: relative;
  width: 42%;
  height: 76%;
  margin: auto;
  color: white;
  background: linear-gradient(-180deg, white, #fda3b2);
  display: flex;
  align-content: ;
  justify-content: center;

  transition: 0.5s;

}

.hexagon i {
  z-index: 1;
  margin: auto;
  font-size: 50px;
  color: transparent;
  background: linear-gradient(45deg, #a58fe9, #e37682);
  background-clip: text;
  -webkit-background-clip: text;
}

.hexagon:before,
.hexagon:after {
  position: absolute;
  content: "";
  background: inherit;
  height: 100%;
  width: 100%;
  border-radius: 0;
  transition: 0.5s;
  transform-origin: center;
}
.hexagon:before {
  transform: rotateZ(60deg);
}
.hexagon:after {
  transform: rotateZ(-60deg);
}
.hexagon:hover {
  border-radius: 50px;
  transition: 0.5s;
}
.hexagon:hover:before {
  border-radius: 50px;
  transition: 0.5s;
}
.hexagon:hover:after {
  border-radius: 50px;
  transition: 0.5s;
}


#voteFormOpener0{
    padding: 5px 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 9pt;
    font-weight: 600;
}

#voteFormOpener1{

    padding: 5px 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 9pt;
    font-weight: 600;
	margin-right:px;
	margin-top:-px;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;	
	
	
}
.preview {
  flex: 0 0 309px; /* Feste Breite für das Bild, Du kannst es anpassen */
  display: flex;
  justify-content: center; 
  align-items: center; 
  overflow: hidden; 
  border-right: 1px solid #B01BA5; 
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}	
	
.shopBorder {
box-shadow: 0 2px 8px rgba(0,0,0,0.4);
background: rgba(0, 0, 0, 0.6); 
   color: #fff;
  border-radius: 8px;
  padding: 15px;
  margin: 16px 0;
   border: 1px solid #B01BA5;
display:none;
}

.itemTitle {
	display: flex;
	position:relative;
	font-style:italic;
   white-space: nowrap;
   margin-top:5px;
   margin-left: 5px;
   height: 48px;
   padding: 5px;
   padding
}

.itemBuy {
  padding: 5px 20px 5px 10px;
  border: 1px solid #B01BA5;
  border-radius: 8px;
  float: left;	
  align-content: center;
  background: #1f0a30;
}

.itemGift {
  padding: 5px 20px 5px 10px;
  border: 1px solid #B01BA5;
  border-radius: 8px;
  float: right;	
  align-content: center;
  background: #1f0a30;
}


.voteitem {
  margin: 10px 0; /* Abstand nach oben und unten */
  padding: 5px; /* Innerer Abstand */
  width: 100%; /* Passt sich der Breite des Containers an */
  border-radius: 5px; /* Runde Ecken für ein besseres Design */
}

.voteitem option {
  padding: 5px;
}


.itemValues {
    height: auto;
    margin-top: 250px;
    display: flex;
    align-items: center;
    gap: 10px; /* Abstand zwischen den Icons und Werten */
    z-index: 1000;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    font-size: 14px;
    color: #ccc;
    position: absolute;
    bottom: 10px;
    left: 325px;
}

.itemValues img {
    vertical-align: middle;
    height: 14px;
    margin-right: 4px;
}	


.discounted-prices {
	z-index:99998;
	position:absolute;
	color:red; 
	font-weight:bold; 
	margin-top:30px; 
	margin-left:px;
}	

.out-of-stock {
    padding: 10px 14px;
     background: #1f0a30;
    border-radius: 8px;
	z-index:99999;
	position:absolute;
	color:red; 
	font-size:18pt;
	font-weight:bold; 
	margin-top: 3px;
left: -14px;
  width: 522px;
  height: 58px;
}

#itemDetailsContainer {
	position: relative; 

	color: #white;
    }

.itemGeneral {

	display:flex;
	margin-bottom:15px;
	margin-top:-21px;
	border: 1px solid #B01BA5; 
    border-radius: 8px;
    background: #1f0a30;
	box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.item-effects {

    border-radius: 8px;
position: absolute;
  top: 70px;
  left: 318px;
width: 204pt;
}

.item-decription {

    border-radius: 8px;
	position: absolute;
	top: 70px;
	left: 568px;

}

item-circle {
  display: inline-block;
  width: 45px;
  height: 45px;
  line-height: 40px;
  border-radius: 50%;
  border: 2px solid #B01BA5;
  color: #B01BA5;
  text-align: center;
  font-weight: bold;
  margin-right: 10px;
 
}

item-circle a.active {
  display: inline-block;
  width: 45px;
  height: 45px;
  line-height: 40px;
  border-radius: 50%;
  border: 2px solid #B01BA5;
  color: #B01BA5;
  text-align: center;
  font-weight: bold;
  margin-right: 10px;
}
	
#itemDetailsContainer .itemGeneral {
	
	position:Relative;
	border: 1px solid #B01BA5;
	
    }
        
#itemDetailsContainer img.itemDetailsIcon {

}

#itemDetailsContainer .itemDetails {
	width: 50%;
	float: left;
}

#itemDetailsContainer .itemDetails div {
	font-weight: bold;
	min-height: 24px;
}


#itemDetailsContainer .itemDetails div span {
	width: 180px;
	margin-left:0px;
	text-align: left;
	font-weight: normal;
}

#itemDetailsContainer .itemDetails div ul {
	width: 192px;
	margin-left:105px;
	text-align: left;
	font-weight: normal;
}

#itemDetailsContainer .itemDescription {
	//width: 45%;
	float: left;
	//float: right;
	border: 1px solid #B01BA5;
	padding: 5px;
	margin-left: 10px;
	font-weight: bold;
}

#itemDetailsContainer .buy, #itemDetailsContainer .gift {
	margin: 10px 0 0 0;

}

#itemDetailsContainer .buy {
    padding: 5px 20px 5px 10px;
	border-left: 1px solid #B01BA5;
	border-top: 1px solid #B01BA5;
	border-right: 1px solid #B01BA5;
	float: left;
	
}

#itemDetailsContainer .gift {
	padding: 5px 10px 5px 20px;
	border-left: 1px solid #B01BA5;
	border-top: 1px solid #B01BA5;
	float: right;
}

.singleItemHighlight {

	width: 220px;
	border-radius:1rem;
	cursor: pointer;
	 border: 1px solid #B01BA5;
    background: #1f0a30;
    padding: 1rem;
    width: 220px;
    transition: all 0.3s ease;
  flex: 0 0 auto;       /* nicht schrumpfen, nicht wachsen */
  display: flex;         /* für Zentrierung der Kind-Elemente */
  flex-direction: column;
  margin: -20px;
}

.singleItemHighlight.buy:hover {
    border-radius: 0.5rem;
    transform: scale(1.03);
    box-shadow: 0 0 15px #B01BA5;
}

.singleItemHighlight.none:hover {
    border-radius: 0.5rem;
    transform: scale(1.03);
    box-shadow: 0 0 15px #B01BA5;	
}

.singleItemHighlight.nobuy:hover {
    border-radius: 0.5rem;
    transform: scale(1.03);
    box-shadow: 0 0 15px #B01BA5;

}
		
.singleItem {
	position:relative;
	 width: 220px;
	border-radius:1rem;
	float: left;
	cursor: pointer;
	 border: 1px solid #B01BA5;
    background: #1f0a30;
    padding: 1rem;
    margin: 1rem;
    width: 220px;
    transition: all 0.3s ease;
	/*min-height: 209px;*/
	min-height: 236px;
}

.singleItem.buy:hover {
    border-radius: 0.5rem;
    transform: scale(1.03);
    box-shadow: 0 0 15px #B01BA5;
}

.singleItem.none:hover {
    border-radius: 0.5rem;
    transform: scale(1.03);
    box-shadow: 0 0 15px #B01BA5;	
}

.singleItem.nobuy:hover {
    border-radius: 0.5rem;
    transform: scale(1.03);
    box-shadow: 0 0 15px #B01BA5;

}

.singleItem.active {

}

.singleItem img.itemIcon {
    max-width: 64px;
    margin-bottom: 0.5rem;
}

.singleItem .itemShortDesc {

 }

.clear {
	clear: both;
}

.download-content{
	position:relative;
	color: #C0C0C0;
	align-content:center;
	content-align:center;
	padding-top:25px;
	padding-bottom:50px;
	padding-left:px;
	
}

.button-div {
	 width: 46%;
	 border: 1px solid #B01BA5;
     float: left;
	 padding-top: 10px;
	 padding-bottom: 10px;
	 padding-right:1px;
	 padding-left: 1px;
	 margin-right: 8px;
	 margin-left: 7px;

}



.clear {
	clear: both;
}
				
div.table {
	width: 100%;
	font-size: 12px;
}

div.table .thead {
}

div.table .tbody {
	
}

div.table .thead .tr, div.table .tbody .tr {
	height:18px;
	margin: 0 0 4px 0; padding: px 6px;
}

div.table .thead .tr {
	background: rgba(0, 0, 0, 0.03);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);	
}

div.table .tbody .tr {
	background: rgba(0, 0, 0, 0.06);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	
}

div.table .thead .tr div, div.table .tbody .tr div {
	float: left;
}

div.table .thead .tr div {
	font-weight: bold;
}
.wrcopen2 .c {
    display: none;

}
.wrcopen2 label {
    display: block;
}
input[name='radio1'] {
    display: none;
}
input[name='radio1']:checked + label + .c {
    display: block;
}

.forgotpwreset{
	color: FFFFFF;
}

.dcr-icon{
	background: url('/images/dcr-icon.png');

}

@media (max-width: 768px) {

  .itemGeneral {
    flex-direction: column;
    display: flex;
    min-height: auto;
    padding: 10px;
  }

  .preview {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #B01BA5;
    border-radius: 8px 8px 0 0;
  }

  .itemTitle {
    flex-direction: column;
    align-items: center;
    margin: 10px 0;
    height: auto;
  }

  .itemValues {
    position: static;
    margin: 10px 0;
    flex-wrap: wrap;
    justify-content: center;
  }

  .item-effects,
  .item-decription {
    position: static;
    margin-top: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
  }

  .itemBuy, .itemGift {
    float: none;
    width: 100%;
    text-align: center;
    margin: 10px 0;
  }

  .singleItem,
  .singleItemHighlight {
    width: 100%;
    margin: 1rem 0;
  }

  .shop-item {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .shop-item-icon {
    width: 64px;
    height: auto;
    margin-bottom: 0.5rem;
  }

  .shop-item-details {
    text-align: center;
  }

  .discounted-prices {
    position: static;
    margin-top: 5px;
  }

  .out-of-stock {
    position: static;
    width: auto;
    height: auto;
    margin: 10px 0;
    text-align: center;
  }

  .preview-switcher {
    text-align: center;
    margin-top: 10px;
  }
  
 .preview-switcher {
  overflow-x: auto;
  display: flex;
  gap: 6px;
  padding: 8px;
  margin-top: 10px;
  scroll-snap-type: x mandatory;
}

.preview-switcher img {
  flex: 0 0 auto;
  scroll-snap-align: center;
}

}


/* ===================================
   ============ RANKING STYLES ============
   =================================== */

.ranking-container {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #B01BA5;
  border-radius: 8px;
  padding: 20px;
  margin: 20px auto;
  max-width: 1200px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.ranking-header {
  text-align: center;
  margin-bottom: 20px;
}
.ranking-header h2 {
  font-size: 28px;
  color: #B01BA5;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}
.ranking-breadcrumb {
  font-size: 14px;
  color: #ccc;
}
.ranking-breadcrumb a {
  color: #B01BA5;
  text-decoration: none;
}

.ranking-nav {
  text-align: center;
  margin: 10px 0 20px;
}
.ranking-btn {
  background-color: #B01BA5;
  border: 1px solid #B01BA5;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
  margin: 0 5px;
  transition: background-color 0.3s;
}
.ranking-btn:hover {
  background-color: #a013a1;
  border-color: #a013a1;
}

.ranking-top-links {
  text-align: center;
  margin-bottom: 15px;
}
.top-link {
  display: inline-block;
  margin: 0 8px;
  padding: 4px 10px;
  background: #B01BA5;
  color: #fff;
  border: 1px solid #B01BA5;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  transition: background-color 0.3s;
}
.top-link:hover {
  background: #a013a1;
  border-color: #a013a1;
}

.ranking-subheader {
  margin: 20px 0 10px;
  text-align: center;
}
.ranking-subheader h3 {
  color: #B01BA5;
  font-size: 22px;
  margin: 0;
  padding-bottom: 5px;
  border-bottom: 1px solid #B01BA5;
}

/* Dropdown im Job-Header */
.sort-dropdown {
  font-size: 14px;
  color: #B01BA5;
  font-weight: bold;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}
.sort-dropdown:hover,
.sort-dropdown:focus {
  color: #fff;
  text-decoration: none;
}
.dropdown-menu {
  background: #222;
  border: 1px solid #444;
}
.dropdown-item {
  color: #ccc;
  padding: 5px 15px;
  cursor: pointer;
  transition: background 0.3s;
}
.dropdown-item:hover {
  background: #333;
  color: #fff;
}
.dropdown-divider {
  height: 1px;
  margin: .5rem 0;
  overflow: hidden;
  background-color: #444;
}

/* Ranking-Tabelle */
.ranking-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.ranking-table thead {
  background-color: #333;
  color: #fff;
}
.ranking-table th,
.ranking-table td {
  padding: 10px;
  border-bottom: 1px solid #444;
  font-size: 14px;
  text-align: left;
}
.ranking-table tbody tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.4);
}
.ranking-table tbody tr:hover {
  background-color: rgba(176, 27, 165, 0.2);
}

/* Tabelle horizontal scrollbar auf kleineren Geräten */
@media (max-width: 768px) {
  .ranking-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
    border-radius: 8px;
  }

  .ranking-table {
    min-width: 700px; /* kannst du anpassen je nach Spaltenanzahl */
  }

.top3-ranking-bg {
background-image: url("/../images/top3bg.png");
  background-repeat: no-repeat;
background-position:50% 0%;
  }
.serverstatusbg {
background-image: url("/../images/shophighlightsbg.png");
  background-repeat: no-repeat;
  background-position:50% 0%;
  }

}


.top3-ranking-container {
  background: rgba(0, 0, 0, 0.6);        
  border: 1px solid #B01BA5;             
  border-radius: 8px;                    
  padding: 20px;
  padding-bottom:0px;
  margin: 20px auto;
  max-width: 400px;                      
  box-shadow: 0 2px 8px rgba(0,0,0,0.4); 
}

.top3-ranking-title {
  text-align: center;
  font-size: 24px;
  color: #B01BA5;                        
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.top3-ranking-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.top3-ranking-list li {
  display: flex;
  align-items: center;
  padding: 10px 0;

}

.top3-ranking-list li:last-child {
  border-bottom: none;
}

.top3-ranking-icon {
  width: ;
  text-align: center;
  margin-right: 10px;
}

.top3-ranking-icon img {

  display: block;
  margin: 0 auto;
}

.top3-ranking-label {
  flex: 1;
  font-size: 16px;
  color: #C0C0C0;
}

.top3-ranking-value {
  font-size: 16px;
  color: #B01BA5;
  font-weight: bold;
}

.top3-ranking-bg {
background-image: url("/../images/top3bg.png");
  background-repeat: no-repeat;
background-position:50% 0%;
  }
  
  .top3players-bg {
background-image: url("/../images/top3player.png");
  background-repeat: no-repeat;
  background-position: top center;
  }
  
   .top3guildwar-bg {
background-image: url("/../images/top3gws.png");
  background-repeat: no-repeat;
  background-position: top center;
  }
  
    .top3guilds-bg {
background-image: url("/../images/top3guilds.png");
  background-repeat: no-repeat;
  background-position: top center;
  }
  
     .top3voters-bg {
background-image: url("/../images/top3voters.png");
  background-repeat: no-repeat;
  background-position: top center;
  }

/* Container für alle News-Einträge */
.latestnews-container {
  /* Falls Du einen ähnlichen Hintergrund wie die Serverstatus-Box willst: */
  background: transparent; /* oder rgba(0, 0, 0, 0.6); wenn gewünscht */
  border: none;            /* Falls Du keinen Rahmen willst, sonst 1px solid #B01BA5; */
  border-radius: 0;
  padding: 0;
  margin: -24px auto;
  max-width: 900px; /* passe die Breite nach Geschmack an */
}

/* Einzelner News-Eintrag */
.latestnews-item {
  display: flex;    /* Wichtig: Bild links, Text rechts */
  margin-bottom: 30px;
  border: 1px solid #B01BA5; 
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.6); 
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  height: 301px;
  max-height: 301px;
  overflow: hidden;
}

/* Linke Seite: Bild */
.latestnews-img {
  flex: 0 0 300px; /* Feste Breite für das Bild, Du kannst es anpassen */
  display: flex;
  justify-content: center; 
  align-items: center; 
  overflow: hidden; 
  border-right: 1px solid #B01BA5; 
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

/* Tatsächliches Bild-Tag */
.latestnews-img-tag {
  width: 100%;
  height: auto;
  object-fit: cover; 
  display: block;
}

/* Rechte Seite: Inhalt (Datum, Autor, Subject, gekürzter Text, Link) */
.latestnews-content {
  flex: 1;
  min-width: 0;
  min-height: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

/* Datum und Autor */
.latestnews-date-author {
  font-size: 12px;
  color: #ccc;
  margin-bottom: 8px;
}
.latestnews-date {
  margin-right: 5px;
}
.latestnews-author {
  font-style: italic;
}

/* Subject / Titel */
.latestnews-subject {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
}

/* Gekürzter Text */
.latestnews-text {
  font-size: 14px;
  color: #ddd;
  line-height: 1.5;
  margin-bottom: 10px;
  min-height: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  overflow: hidden;
  overflow-wrap: anywhere;
}

/* Read More-Link */
.latestnews-read-more {
  font-size: 14px;
  color: #B01BA5;
  font-weight: bold;
  text-decoration: none;
  margin-top: auto;
}
.latestnews-read-more img {
  vertical-align: middle;
  margin-left: 5px;
}

/* Falls keine News-Einträge vorhanden sind */
.latestnews-no-content {
  text-align: center;
  color: #ccc;
  padding: 40px;
  background: rgba(0,0,0,0.5);
  border: 1px solid #B01BA5;
  border-radius: 8px;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .latestnews-item {
    flex-direction: column;
    height: auto;
    max-height: 750px;
  }

  .latestnews-img {
    flex: none;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #B01BA5;
    border-radius: 8px 8px 0 0;
  }

  .latestnews-img-tag {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }

  .latestnews-content {
    padding: 15px;
  }
}

/* =======================================
   NEWS-SEITE IM NEUEN STIL – GRUPPEN- & EINZELANSICHT
   ======================================= */

.news-container {

  margin-top: -23px;
  max-width: 900px;
}

.news-item {
  position: relative;
  /* Standard-Hintergrund hinter dem Bild */
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid #B01BA5;
  border-radius: 8px;
  margin-bottom: 20px;
  margin-top:20px;
  min-height: 220px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  /* Falls $bgImage != "", wird inline-style mit background: url(...) no-repeat top left gesetzt. */
  background-size: auto;  /* Originalgröße beibehalten */

}

.news-header {
  position: relative;
  padding: 15px;
  cursor: pointer;
  border-bottom: 1px solid #B01BA5;
}

.news-meta {
  font-size: 12px;
  color: #ccc;
  margin-bottom: 8px;
}
.news-date {
  margin-right: 5px;
}
.news-author {
  font-style: italic;
}

.news-title {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 5px;
}

/* Ausgeklappter Inhalt */
.news-content {
  padding: 15px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 14px;
  clear: both;

}

.news-text {
  margin-bottom: 10px;
}

.news-text p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.00 !important; /* oder 1 wenn du's ultra tight willst */
}

.news-text br {
  line-height: 1.00 !important;
}


.news-text ul,
.news-text ol {
  margin: 10px 0 10px 0 !important;
  padding-left: 24px !important;          /* Einrückung zurückholen */
  list-style-position: outside !important;
}

.news-text ul { 
  list-style-type: disc !important; 
}

.news-text ol { 
  list-style-type: decimal !important; 
}

.news-text li {
  margin: 4px 0 !important;
  padding: 0 !important;
  line-height: 1.35 !important;
}

/* TinyMCE baut oft <li><p>Text</p></li> -> p-Margins killen */
.news-text li > p {
  margin: 0 !important;
}

/* Nested lists */
.news-text ul ul { list-style-type: circle !important; margin-top: 6px !important; }
.news-text ul ul ul { list-style-type: square !important; }

.news-text ol ol { list-style-type: lower-alpha !important; margin-top: 6px !important; }
.news-text ol ol ol { list-style-type: lower-roman !important; }

/* Footer (optional) */
.news-footer {
  height: 0px;
}

/* Keine News */
.news-no-content {
  text-align: center;
  color: #ccc;
  padding: 40px;
  background: rgba(0,0,0,0.5);
  border: 1px solid #B01BA5;
  border-radius: 8px;
  max-width: 600px;
  margin: 0 auto;
}

.discord-widget-style {

  border: 1px solid #B01BA5;

	
}

/* Container - bleibt wie gewünscht */
.page-info {
  /* dein bisheriger Stil, hier unverändert */
}

/* Alte IDs oder Klassen, wenn du sie brauchst ... */

/* Neuer Stil für jeden Guide-Eintrag */
.guide-item {
  background: rgba(0, 0, 0, 0.6);           /* Deine Wunschfarbe als Hintergrund */
  border: 1px solid #B01BA5;     /* Pinker Rahmen */
  border-radius: 8px;            /* Abgerundete Ecken */
  padding: 15px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Radio unsichtbar machen, falls gewünscht */
.guide-item input[type="radio"] {
  display: none;
}

/* Der Container mit der Nummer + Titel (alter Name aus dem Ranking) */
.site-pagination {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

/* Der Kreis mit der Ziffer */
.site-pagination a.active {
  display: inline-block;
  text-align: center;
  color: #fff;
  background: transparent;
  border: 2px solid #B01BA5;
  border-radius: 50%;
  line-height: 40px;
  margin-right: 5px;
  text-decoration: none;  /* Link-Dekoration entfernen */
  font-weight: bold;
}

.guide-circle {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  display: inline-block;
  text-align: center;
  color: #B01BA5;
  background: transparent;
  border: 2px solid #B01BA5;
  border-radius: 50%;
  width: 40px;
  height:40px;
  padding-top: 7px;
  margin-right: 10px;
  margin-top:5px;
  text-decoration: none;  /* Link-Dekoration entfernen */
  font-weight: bold;
}

/* Der Guide-Titel selbst */
.guide-title {
  font-size: 20px;
  font-style: italic;
  color: #fff;
  margin: 0;
}

/* Inhalt des Guides */
.guide-content {
  padding: 10px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

/* Trenner zwischen Guides */
.guide-separator {
  border: none;
  border-top: 1px solid #444;
  margin: 15px 0;
}
.feature-edit {
  background-image: url('/../images/edit.png');
  width:50px;
}
/* Container für jedes Feature-Item, 
   ähnlich wie dein "latest news"-Stil */
.feature-item {
  position: relative;
  float: none;
  display: flex;                /* Bild links, Text rechts */
  align-items: flex-start;
  width: 100%;
  min-width: 0;                 /* wichtig: nicht mehr starr 875px breit */
  max-width: 100%;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #B01BA5;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  overflow: hidden;
}

/* Linke Spalte mit dem Bild */
.feature-img {
  flex: 0 0 300px;        /* feste Breite, anpassbar */
  max-width: 300px;       /* sorgt dafür, dass das Bild nicht breiter wird */
  overflow: hidden;       /* versteckt, falls Bild zu groß */
  position: relative;
  float:left;
  box-shadow: 10px 10px 15px black;
}
.feature-img img {
  width: 100%;            /* Bild füllt die Spalte */
  height: auto;           /* Proportionale Höhe */
  border: 2px solid #B01BA5; /* pinker Rahmen um das Bild */
  border-radius: 4px;     /* leicht abgerundete Ecken am Bild */
  display: block;
}

/* Rechte Spalte mit dem Text */
.feature-content {
  flex: 1;                /* füllt den restlichen Platz */
  padding: 20px;
  color: #fff;
}

/* Titel im Textbereich */
.feature-title {
  font-size: 20px;
  color: #fff;
  margin-bottom: 10px;
  font-weight: bold;
  font-style: italic;
}

/* Der eigentliche Text darunter */
.feature-text {
  position:relative;
  float:left;
  width: 60%;
  left: 25px;
  top: 15px;
  font-size: 14px;
  line-height: 1.5;
}

/* Trenner zwischen Feature-Einträgen */
.feature-separator {
  border: none;
  border-top: 1px solid #444;
  margin: 10px 0;
}

@media (max-width: 768px) {
  .feature-item {
    flex-direction: column;
    min-width: 100% !important;
    width: 100%;
    float: none;
  }

  .feature-img {
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    float: none;
  }

  .feature-img img {
    width: 100%;
    height: auto;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .feature-content {
    padding: 15px;
    float: none;
  }

  .feature-text {
    position: static;
    width: 100%;
    left: auto;
    top: auto;
  }
}


/* ================================================
   FAQ-SEITE IM GUIDE-STYLE (dunkel, pinker Rahmen)
   ================================================ */

/* Container um den Titel/Breadcrumb */
.page-info {
  /* Wie bei Deinen Guides/News */
  margin-bottom: 20px;
}
.page-info h2 {
  font-size: 28px;
  color: #B01BA5;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.site-breadcrumb a {
  color: #B01BA5;
  text-decoration: none;
  margin-right: 5px;
}
.site-breadcrumb span {
  color: #ccc;
}

/* Einzelner FAQ-Eintrag */
.faq-item {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #B01BA5;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  position: relative;
}

/* Kopfzeile (ID-Kreis + Frage) */
.faq-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  cursor: pointer;
}

/* Kreis mit der FAQ-ID */
.faq-id-circle {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 28px;
  border-radius: 50%;
  border: 2px solid #B01BA5; /* Pinker Rand */
  color: #B01BA5;            /* Pinke Schrift für ID */
  text-align: center;
  font-weight: bold;
  margin-right: 10px;
}

/* Die Frage selbst (Titel) */
.faq-title {
  font-size: 20px;
  font-style: italic;
  color: #fff;
  margin: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

/* Inhalt/Antwort */
.faq-content {
  display: none; /* DAS fehlt! */
  background: rgba(0, 0, 0, 0.6);
  border-radius: 4px;
  padding: 10px;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

.faq-item.open .faq-content {
  display: block;
}

/* Trenner-Linie unter jedem FAQ-Block */
.faq-separator {
  border: 0;
  border-top: 1px solid #444;
  margin: 15px 0;
}

/* ===============
   TICKETS-STYLE
   =============== */

/* Container um alles - optional, falls Du dein altes layout entfernen willst */
/* .ticket-container {
  padding: 20px;
} */

/* Jedes Ticket in einer Box (ähnlich Guides/FAQ) */
.ticket-item {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #B01BA5;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Der "Kopf" des Tickets - mit Titel, Datum, Status, Optionen */
.ticket-header {
  display: flex;
  align-items: center;
  cursor: pointer;
   background: rgba(0, 0, 0, 0.6);
  margin-bottom: 10px;
  border-bottom: 1px solid #444;
  padding-bottom: 8px;
   border-radius: 4px;
}

.ticket-title {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  margin-right: auto; /* schiebt rest nach rechts */
}
.ticket-date {
  font-size: 12px;
  color: #ccc;
  margin-right: 10px;
}
.ticket-status {
  font-size: 12px;
  color: #ccc;
  margin-right: 10px;
}
.ticket-options {
  font-size: 12px;
  color: #B01BA5; 
}

/* Der Haupt-Inhalt (Text + Posts) */
.ticket-body {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 4px;
  padding: 10px;
  color: #fff;
  display: none; /* standardmäßig ausgeblendet, kannst Du anpassen */
}

.ticket-maintext {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid #B01BA5;
  padding: 10px;
  border-radius: 4px;
}

.ticket-posts {
  border: 1px solid #B01BA5;
  padding: 10px;
  border-radius: 4px;
  margin-top: 10px;
}

.ticket-post {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #444;
}
.ticket-post:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.ticket-post-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}
.ticket-post-user {
  font-weight: bold;
  color: #fff;
}
.ticket-post-date {
  font-size: 12px;
  color: #ccc;
}
.ticket-post-text {
  font-size: 14px;
  line-height: 1.5;
  color: #fff;
}

.ticket-post-form textarea {
  width: 100%;
  margin-bottom: 8px;
}

.pink-button {
  background-color: #B01BA5 !important;
  border: 1px solid #B01BA5 !important;
}

.new-ticket-box {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #B01BA5;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Neue Ticket-Formular-Container */
 .ticket-new-form {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #B01BA5;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  color: #fff;

}

/* Label-Stil */
.new-ticket-label {
  color: #fff;
  font-weight: bold;
}

/* Ticket-Titel-Überschrift (falls verwendet) */
.ticket-title {
  font-size: 20px;
  color: #fff;
  margin-bottom: 10px;
}

/* Anpassung der pinken Buttons (Refresh, New Ticket, Send) */
.pink-button {
  background-color: #B01BA5 !important;
  border: 1px solid #B01BA5 !important;
  color: #fff !important;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.pink-button:hover {
  background-color: #990e3a !important;
}

/* Optional: Style für den New Ticket Bereich im Formular */
.ticket-new-form .contact-form {
  margin-top: 15px;
}
.ticket-new-form input[type="text"],
.ticket-new-form textarea,
.ticket-new-form input[type="file"] {
  background: rgba(0,0,0,0.2);
  border: 1px solid #B01BA5;
  border-radius: 4px;
  color: #fff;
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
}
.ticket-new-form input[type="text"]:focus,
.ticket-new-form textarea:focus {
  outline: none;
  border-color: #fff;
}
/* Du kannst optional Felder, Textareas, etc. stylen */
.new-ticket-box input[type="text"],
.new-ticket-box input[type="file"],
.new-ticket-box textarea {
  background: rgba(0,0,0,0.2);
  border: 1px solid #B01BA5;
  border-radius: 4px;
  color: #fff;
  width: 100%;
  padding: 5px;
  margin-bottom: 10px;
}
.new-ticket-box input[type="text"]:focus,
.new-ticket-box textarea:focus {
  outline: none;
  border-color: #fff; /* Optional: helle Umrandung beim Fokus */
}

/* Container für die Schaltflächen (Refresh & New Ticket) */
.ticket-controls,
.ticket-add-button {
  margin-bottom: 15px;
  overflow: hidden;
}

.ticket-controls a,
.ticket-add-button a {
  text-decoration: none;
}

.hint {

	
}

/* Überschrift und Breadcrumb (unverändert) */
.page-info {
  margin-bottom: 20px;
}

.page-info h2 {
  font-size: 28px;
  color: #B01BA5;
  text-transform: uppercase;
  margin: 0 0 10px;
  letter-spacing: 1px;
}
.site-breadcrumb a {
  color: #B01BA5;
  text-decoration: none;
}
.site-breadcrumb span {
  color: #ccc;
}

/* Optional: Zusätzliche Info (kurzer Erklärungstext) */
.additional-info p {
  font-size: 14px;
  color: #ccc;
  margin: 0;
}

/* Container für jeden Rule-Eintrag */
.rules-item {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #B01BA5;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Kopfzeile des Rule-Eintrags */
.rules-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

/* Der Kreis mit dem Paragraphenzeichen und der Listennummer */
.rules-id-circle {
  display: inline-block;
  width: 45px;
  height: 45px;
  line-height: 40px;
  border-radius: 50%;
  border: 2px solid #B01BA5;
  color: #B01BA5;
  text-align: center;
  font-weight: bold;
  margin-right: 10px;
}

/* Titel/Frage (hier: Paragraph) */
.rules-title {
  font-size: 20px;
  font-style: italic;
  color: #fff;
  margin: 0;
}

/* Inhalt des Rule-Eintrags */
.rules-content {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 4px;
  padding: 10px;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

/* Trenner zwischen den Rule-Einträgen */
.rules-separator {
  border: none;
  border-top: 1px solid #444;
  margin: 15px 0;
}
/* Container für den gesamten Event Ticker */
#event_ticker {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;  
  font-style: italic;
  border-radius: 8px;  
  border: 1px solid #B01BA5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);  
  font-size: 24px;
  padding: 10px;
  position: relative; 
  white-space: nowrap;
  display:flex;
  margin-top: 10px;
}

#event_ticker_2 {
 position:relative;
 width:730px;
 min-width:0;
 overflow:hidden;
 white-space: nowrap; 
 margin-left:5px;
}

.imprint-item {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #B01BA5;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Kopfzeile des Rule-Eintrags */
.imprint-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.imprint-header-info {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #B01BA5;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Der Kreis mit dem Paragraphenzeichen und der Listennummer */
.imprint-id-circle {
  display: inline-block;
  width: 45px;
  height: 45px;
  line-height: 40px;
  border-radius: 50%;
  border: 2px solid #B01BA5;
  color: #B01BA5;
  text-align: center;
  font-weight: bold;
  margin-right: 10px;
}

/* Titel/Frage (hier: Paragraph) */
.imprint-title {
  font-size: 20px;
  font-style: italic;
  color: #fff;
  margin: 0;
}

/* Inhalt des Rule-Eintrags */
.imprint-content {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 4px;
  padding: 10px;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

/* Trenner zwischen den Rule-Einträgen */
.imprint-separator {
  border: none;
  border-top: 1px solid #444;
  margin: 15px 0;
}


/* Ranking-Tabelle für Buylogs */
.ranking-style {
  width: 100%;
  border-collapse: collapse;
  background-color: #1a1a1a;
  border: 1px solid #333;
  color: #ddd;
  font-size: 14px;
}

.ranking-style thead {
  background-color: #111;
  text-transform: uppercase;
  font-weight: bold;
  color: #9d79d6;
}

.ranking-style th,
.ranking-style td {
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid #2e2e2e;
}

.ranking-style tbody tr:nth-child(even) {
  background-color: #1f1f1f;
}

.ranking-style tbody tr:hover {
  background-color: #2c2c2c;
}

.rank-gold {
  color: #FFD700;
  font-weight: bold;
}

.rank-silver {
  color: #C0C0C0;
  font-weight: bold;
}

.rank-bronze {
  color: #CD7F32;
  font-weight: bold;
}

.float-right {
	float: right;
	
}

.form-row {
  display: flex;
  gap: 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.form-field .form-label {
  margin-bottom: 5px;
  font-weight: bold;
}

/* Container‑Styling */
.change-password {
  background: rgba(0, 0, 0, 0.6);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  margin-top: 1rem;
}

/* Grid für die Felder */
.change-password .form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* Einzelne Feld‑Box */
.change-password .form-field {
  display: flex;
  flex-direction: column;
}

/* Label über dem Feld */
.change-password .form-field label {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

/* Input‑Styling */
.change-password .form-field input {
  padding: 0.6rem 0.8rem;
  border: 1px solid #552366;
  border-radius: 4px;
  background: #2a1a3d;
  color: #fff;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}
.change-password .form-field input:focus {
  outline: none;
  border-color: #b01ba5;
}

/* Button‑Styling */
.change-password .site-btn {
  padding: 0.75rem 2rem;
  background: #fff;
  color: #2a1a3d;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(176,27,165,0.6);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.change-password .site-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(176,27,165,0.8);
}

.login-buttons {
	display:flex;

}
.button-group a {
    margin: 5px 8px;
    display: inline-block;
}

.sticky-currency-bar {
    top: 20px;
    float: right;
	left:100%;
    z-index: 1000;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    font-size: 14px;
    display: inline-block;
    margin-bottom: 20px;
    color: #ccc;
}
.sticky-currency-bar img {
    vertical-align: middle;
    height: 14px;
    margin-right: 4px;
}

.shop-wrapper {
    background: linear-gradient(145deg, #1c0d2d, #2d1042);
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 1rem;
    box-shadow: 0 0 20px rgba(176, 27, 165, 0.3);
    color: #fff;
}

.shop-item {
    background: #1b1324;
    border: 1px solid #B01BA5;
    border-radius: 1rem;
    padding: 1rem;
    margin: 1rem;
    width: 220px;
    transition: all 0.3s ease;
}

.shop-item:hover {
    transform: scale(1.03);
    box-shadow: 0 0 15px #B01BA5;
}

.shop-item img {
    border-radius: 0.5rem;
}

.shop-title {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.shop-currency {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    color: #facc15;
}

.modern-shop-box {
    background: #1f0a30;
    border: 1px solid #B01BA5;
    border-radius: 1rem;
    padding: 1rem;
    margin: 12px;
    text-align: center;
    transition: 0.3s ease;
    width: 220px;
    display: inline-block;
	white-space: nowrap;
}

.shop-item-icon {
    max-width: 64px;
    margin-bottom: 0.5rem;
}

.shop-item-name {
    font-weight: bold;
    color: #fff;
    margin: 0.5rem 0;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.shop-item-details {
    font-size: 0.9rem;
    color: #ccc;
}


/* Shop-Buttons: vorhandene Klassen im Stil der Accountpanel-Navigation.
   Keine neue HTML-Klasse, keine Änderung an Shop- oder Checkout-Logik. */
#categoryMainContainer a.categoryMain,
#categorySubNav a.shop-subcat-btn,
#categorySubNav a.categorySub,
#categorySubContainer a,
.shop-details-btn,
.itemBuy .modern-btn,
.itemGift input[name="shopGiftItem"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: auto;
  min-width: 64px;
  min-height: 36px;
  padding: 8px 14px !important;
  margin: 4px;
  border: 1px solid rgba(176, 27, 165, 0.58) !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, rgba(43, 16, 54, 0.98) 0%, rgba(22, 8, 29, 0.98) 100%) !important;
  color: #f2eaf5 !important;
  font-family: inherit;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-align: center;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

#categoryMainContainer a.categoryMain:hover,
#categoryMainContainer a.categoryMain:focus,
#categorySubNav a.shop-subcat-btn:hover,
#categorySubNav a.categorySub:hover,
#categorySubContainer a:hover,
#categorySubNav a.shop-subcat-btn:focus,
#categorySubNav a.categorySub:focus,
#categorySubContainer a:focus,
.shop-details-btn:hover,
.shop-details-btn:focus,
.itemBuy .modern-btn:hover,
.itemBuy .modern-btn:focus,
.itemGift input[name="shopGiftItem"]:hover,
.itemGift input[name="shopGiftItem"]:focus {
  color: #ffffff !important;
  border-color: rgba(224, 71, 214, 0.94) !important;
  background: linear-gradient(180deg, rgba(65, 21, 79, 0.98) 0%, rgba(30, 10, 39, 0.98) 100%) !important;
  box-shadow: 0 0 16px rgba(176, 27, 165, 0.18);
  transform: translateY(-1px);
  text-decoration: none !important;
  outline: none;
}

#categoryMainContainer a.categoryMain.active,
#categoryMainContainer a.categoryMain.btn-dangeractive,
#categorySubNav a.shop-subcat-btn.active,
#categorySubNav a.categorySub.active,
#categorySubContainer a.active {
  border-color: rgba(240, 184, 63, 0.62) !important;
  color: #f6d784 !important;
}

#categoryMainContainer a.categoryMain.active:hover,
#categoryMainContainer a.categoryMain.btn-dangeractive:hover,
#categorySubNav a.shop-subcat-btn.active:hover,
#categorySubNav a.categorySub.active:hover,
#categorySubContainer a.active:hover {
  border-color: rgba(255, 203, 83, 0.95) !important;
  color: #ffe6a6 !important;
}

#categoryMainContainer a.categoryMain:active,
#categorySubNav a.shop-subcat-btn:active,
#categorySubNav a.categorySub:active,
#categorySubContainer a:active,
.shop-details-btn:active,
.itemBuy .modern-btn:active,
.itemGift input[name="shopGiftItem"]:active {
  transform: translateY(0);
}

@media (max-width: 575.98px) {
  #categoryMainContainer a.categoryMain,
  #categorySubNav a.shop-subcat-btn,
#categorySubNav a.categorySub,
#categorySubContainer a,
  .shop-details-btn,
  .itemBuy .modern-btn,
  .itemGift input[name="shopGiftItem"] {
    min-height: 32px;
    padding: 6px 10px !important;
    border-radius: 7px !important;
    font-size: 12px !important;
  }
}

.item-detail-wrapper {
  display: flex;
  gap: 2rem;               /* Abstand zwischen Bild und Text */
  background: #12091a;
  border-radius: 1rem;
  padding: 2rem;
  margin-top: 2rem;
  color: #fff;
  align-items: flex-start; /* vertikal oben ausrichten */
}

.item-detail-img {
  flex: 0 0 auto;          /* keine Vergrößerung, Breite durch Inhalt */
}

.item-detail-img img {
 display: block;
  border-radius: 1rem;
  max-width: 200px; 
}

.item-detail-info {
  flex: 1 1 auto;          /* nimmt den restlichen Platz ein */
}

.item-detail-info h3 {
    margin-top: 0;
}

.shop-balance {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}
.shop-balance img {
  vertical-align: middle;
  margin-right: 5px;
}


.shop-messages {
    text-align: center;
	margin-top: 20px;
	margin-bottom: 10px;
}

.shop-messages .alert {
    display: inline-block;
    max-width: 600px;
    width: 100%;
}

.hint{
    display: inline-block;
    max-width: 600px;
    width: 100%;
}
.fail {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c2c7;
    border-radius: 6px;
    padding: 12px 20px;
    font-size: 15px;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #badbcc;
    border-radius: 6px;
    padding: 12px 20px;
    font-size: 15px;
}


.accountnotifyfail {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
    border-radius: 6px;
    font-size: 15px;
	margin-top:20px;
	text-align:center;
}

.accountnotifysuccess {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
    border-radius: 6px;
    font-size: 15px;
	margin-top:20px;
	text-align:center;
}

.alert {
    padding: 10px;
    border-radius: 6px;
    margin: 10px 0;
    text-align: center;
    font-weight: bold;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

.page-info-notify {
  font-style: italic;
  color: #fff;
  margin: 0 10px;
  margin-left: 10px;
  font-weight: 700;
}


.preview-container {
    text-align: center;
    margin-bottom: 20px;
}
.preview-container img {
    max-height: 250px;
    margin-bottom: 10px;
    border-radius:8px;
}
.preview-switcher {
	display: flex;
    justify-content: center;
    gap: 5px;
    padding: 10px;

}
.mini-preview {
    width: 50px;
    height: 50px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}
.mini-preview:hover {
    opacity: 1;
}

.preview-switcher img {
    border: 2px solid transparent;
    transition: all 0.2s ease;
}
.preview-switcher img:hover {
    border-color: #B01BA5;
    transform: scale(1.05);
}

.sidepanel-shophighlight {
  /* Abgerundete, halbtransparente Box */
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid #B01BA5;    /* Pink-Violetter Rahmen */
  border-radius: 8px;
  padding: 15px;
  margin: 20px 0;
  box-shadow: 0 0 10px rgba(176, 27, 165, 0.3); /* dezent violetter Schlagschatten */
}

.sidepanel-shophighlight marquee {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-style: italic;
}

.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
	padding:15px;
}

.marquee-content {
  display: flex;
  padding-left: 100%;
  animation: scroll-right 20s linear infinite;
  margin-right: 10px;
  padding-right: 190%;
  gap: 20px;
}

.marquee.marquee-static .marquee-content{
  animation: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  justify-content: center;
}

.marquee-content-1 {
  display: flex;
  padding-left: 100%;
  animation: scroll-right 25s linear infinite;
  margin-right: 10px;
  padding-right: 50%;
  gap: 20px;
}

.container-acchighlight {
background: rgba(0, 0, 0, 0.6);
  border: 1px solid #B01BA5;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(176, 27, 165, 0.3);
  white-space: nowrap;
  margin: 0px 0 20px;
  /*background-image: url("/../images/Kalgas Cave_2.Inside.jpg");
  background-repeat: no-repeat;*/
}

.ItemHighlight {

  border-radius: 1rem;
  cursor: pointer;
  border: 1px solid #B01BA5;
  background: #1f0a30;
  padding: 1rem;
  width: 220px;
  transition: all 0.3s ease;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  white-space: nowrap;
  float: left;
  zoom: 0.7;
  margin: 1px;
}

.ItemHighlight.buy:hover {
    border-radius: 0.5rem;
    transform: scale(1.03);
    box-shadow: 0 0 15px #B01BA5;
}

.ItemHighlight.none:hover {
    border-radius: 0.5rem;
    transform: scale(1.03);
    box-shadow: 0 0 15px #B01BA5;	
}

.ItemHighlight.nobuy:hover {
    border-radius: 0.5rem;
    transform: scale(1.03);
    box-shadow: 0 0 15px #B01BA5;
}

@keyframes scroll-right {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes scroll-right-1 {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

.singleItemHighlight {
    display: inline-block;
    margin: 0 20px;
}

.ticker-wrapper {
  display: inline-block;
  width: calc(100% - 120px); /* evtl. anpassen bei langem Label */
  margin-left: 10px;
  overflow: hidden;
  vertical-align: middle;
}

.ticker-marquee {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-loop 10s linear infinite;

}

@keyframes ticker-loop {
  100% {
    transform: translateX(200%);
  }
  0% {
    transform: translateX(-100%);
  }
}

.ticker-content {
  display: inline-block;
  font-weight: bold;
  color: #fff;
  padding-left: 1rem;
}

.account-highlight-box {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  height: px;
}

.old-price {
  color: #888;
  text-decoration: line-through;
}

.new-price {
  color: red;
  font-weight: bold;
}

.discounted-price small {
  color: red;
  font-size: 0.9em;
  margin-left: 4px;
}

.lordgwsr-container {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #B01BA5;   
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 0 10px rgba(176, 27, 165, 0.3);
}

.lordgwsr-title {
  font-size: 24px;
  text-align: center;
  margin-bottom: 15px;
  color: #B01BA5;         /* Primärfarbe für den Titel */
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lordgwsr-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lordgwsr-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}

.lordgwsr-list li:last-child {
  border-bottom: none;
}

.lordgwsrbg {
  position: relative;
  overflow: hidden;
  padding:15px;
}

.lordgwsrbg::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  background-size: cover;
  height: 402px; /* feste Höhe – an dein Bild anpassen */
  background-image: url("/../images/lordgwbg.png");
  background-repeat: no-repeat;
  background-position: center top;
  pointer-events: none;
  z-index: 0;
}

.animated-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: 871 / 299;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #B01BA5;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(176, 27, 165, 0.3);
    overflow: hidden;
}
.animated-slider .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.animated-slider .slide.active {
    opacity: 1;
}
.animated-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: none;
}
.animated-slider .dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}
.animated-slider .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #B01BA5;
    opacity: 0.5;
    cursor: pointer;
}
.animated-slider .dot.active {
    opacity: 1;
}

@media (max-width: 768px) {
  .animated-slider {
    width: 100%;
    height: auto;
    aspect-ratio: 871 / 299;
  }

  .animated-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .animated-slider .dots {
    bottom: 6px;
    gap: 6px;
  }

  .animated-slider .dot {
    width: 8px;
    height: 8px;
  }
}


.vote-container {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #B01BA5;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 20px 25px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.vote-placeholder {
  flex: 0 0 42%; 	
	  order: -1;
}

.VoteLevelDisplay {
  order: -1;
  flex: 0 0 100%;
  align-self: flex-start;
  z-index: 1000;
  color: #fff;
  position: relative;
  display: flex;
    padding: 10px 0;
}

.multi-progress-wrapper {
	  border: 1px solid #B01BA5;
  position: relative;
  flex: 1;
  height: 64px;
  background: linear-gradient(to right, #2c213a, #1a112a);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: inset 0 0 6px rgba(0,0,0,0.4);
}

.multi-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, #401755, #4D1755);  
  border-radius: inherit;
  transition: width 0.8s ease-in-out;
  box-shadow: 0 0 15px #B01BA5;
  width: 0%; /* Startwert für JS-Animation */
  overflow:hidden;
}

.multi-progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -40%;
  height: 100%;
  width: 40%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  filter: blur(3px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}


@keyframes shimmer {
  0% {
    left: -40%;
  }
  100% {
    left: 100%;
  }
}

@keyframes levelUpGlow {
  0% {
    text-shadow: none;
    transform: scale(1);
  }
  30% {
    text-shadow: 
      0 0 8px gold, 
      0 0 12px gold, 
      0 0 20px gold;
    transform: scale(1.2);
  }
  100% {
    text-shadow: none;
    transform: scale(1);
  }
}

.dot.level-up {
  animation: levelUpGlow 0.6s ease-out;
  z-index: 10;
}


.level-dot {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.level-dot .dot {
  font-size: 25px;
  color: #B01BA5;
  text-shadow: 0 0 8px #B01BA5;
}

.dot-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -53%);
  font-size: 13px;
  font-weight: bold;
  pointer-events: none;
}

.level-dot .dot.active {
  color: gold;
  text-shadow: 0 0 10px gold;
}
.star-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.star-icon {
  font-size: 64px; /* großer Stern */
  color: #B01BA5;
  position: relative;
  width: 64px;
  height: 64px;
  text-align: center;
}

.star-icon .level {
  position: absolute;
  top: 58%;
  left: 57%;
  transform: translate(-50%, -65%);
  font-size: 20px;
  color: #fff;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.star-icon .level .votes {
  font-size: 12px;
  color: #ccc;
  margin-top: 2px;
  font-decoration: italic;
}



.votes {
  font-size: 12px;
  color: #fff;
}


.vote-item {
  flex: 0 1 240px;
  box-sizing: border-box;
}

.vote-content {
  background: #1f0a30;
  border: 1px solid #B01BA5;
  border-radius: 1rem;
  padding: 20px;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .2s, box-shadow .2s;
}

.vote-content:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px #B01BA5;
}

.vote-title {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 10px;
}

.vote-image img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.vote-points {
  margin-bottom: 15px;
}

.vote-btn {
  background-color: #B01BA5;
  border-color: #B01BA5;
  color: #fff;
  width: 100%;
}

.next-vote {
  font-weight: bold;
  text-align: center;
}

 .character-card {
  width: 220px;
  overflow:hidden;
  margin: 10px;
  border: 1px solid #B01BA5;
  border-radius: 1rem;

  background-color: #1f0a30;
  color: #ecf0f1;
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.2);
  display: inline-block;
  vertical-align: top;
}
.character-card p {
  margin: 5px 0;
}
.px120.bold {
  font-weight: bold;
}




.page-info-accountpanel {
  position: relative;
  left: -59px;
  top: -30px;
}

.character-title {
	
  font-style: italic;
  color: #fff;
  margin:0 10px;
  margin-left: 60px;
  font-weight: 700;
  position:relative; 
  left:px; 
  top: -42px; 
  padding-bottom:0px;
}

.characterText {
 padding:20px;
 background: rgba(0, 0, 0, 0.5);
 color:FFF;
}

.characterWindow::before {
  background-color: #1f0a30;
}
.characterWindow p {
    position: relative; /* damit Text über dem Overlay bleibt */
    z-index: 1;
    color: white;
	
}
.characterWindow {
    background: url('/images/jobs/acc_vagrant.png') no-repeat center center;
	margin: -5px;
}
.characterWindow.vagrant {
    background: url('/images/jobs/acc_vagrant.png') no-repeat center center;
	margin: -5px;
}
.characterWindow.assist {
    background: url('/images/jobs/acc_assist.png') no-repeat center center;
    background-size: cover;
}
.characterWindow.mercenary {
    background: url('/images/jobs/acc_mercenary.png') no-repeat center center;
    background-size: cover;
}
.characterWindow.magician {
    background: url('/images/jobs/acc_magician.png') no-repeat center center;
    background-size: cover;
}
.characterWindow.acrobat {
    background: url('/images/jobs/acc_acrobat.png') no-repeat center center;
    background-size: cover;
}
.characterWindow.ranger {
    background: url('/images/jobs/acc_ranger.png') no-repeat center center;
    background-size: cover;
}
.characterWindow.jester {
    background: url('/images/jobs/acc_jester.png') no-repeat center center;
    background-size: cover;
}
.characterWindow.psykeeper {
    background: url('/images/jobs/acc_pykeeper.png') no-repeat center center;
    background-size: cover;
}
.characterWindow.elementor {
    background: url('/images/jobs/acc_elementor.png') no-repeat center center;
    background-size: cover;
}
.characterWindow.ringmaster {
    background: url('/images/jobs/acc_ringmaster.png') no-repeat center center;
    background-size: cover;
}
.characterWindow.billposter {
    background: url('/images/jobs/acc_billposter.png') no-repeat center center;
    background-size: cover;
}
.characterWindow.blade {
    background: url('/images/jobs/acc_blade.png') no-repeat center center;
    background-size: cover;
}
.characterWindow.knight {
    background: url('/images/jobs/acc_knight.png') no-repeat center center;
    background-size: cover;
}
.characterWindow.crackshooter {
    background: url('/images/jobs/acc_crackshooter.png') no-repeat center center;
    background-size: cover;
}
.characterWindow.harlequin {
    background: url('/images/jobs/acc_harlequin.png') no-repeat center center;
    background-size: cover;
}
.characterWindow.seraph {
    background: url('/images/jobs/acc_seraph.png') no-repeat center center;
	margin: -5px;
}
.characterWindow.forcemaster {
    background: url('/images/jobs/acc_forcemaster.png') no-repeat center center;
    background-size: cover;
}
.characterWindow.slayer {
    background: url('/images/jobs/acc_Slayer.png') no-repeat center center;
    background-size: cover;
}
.characterWindow.templar {
    background: url('/images/jobs/acc_templar.png') no-repeat center center;
    background-size: cover;
}
.characterWindow.arcanist {
    background: url('/images/jobs/acc_arcanist.png') no-repeat center center;
    background-size: cover;
}
.characterWindow.mentalist {
    background: url('/images/jobs/acc_mentalist.png') no-repeat center center;
    background-size: cover;
}

.download-item {
  display: flex;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #B01BA5;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  overflow: hidden;
  cursor:pointer;
}

.download-item:hover {
  transform: scale(1.01);
  box-shadow: 0 0 15px #B01BA5;
}


.download-image img {
  width: 165px;
  height: 100%;
  object-fit: cover;
  border-right: 1px solid #B01BA5;
  /*padding:15px;*/
}

.download-content {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.download-title {
  color: #fff;
  font-weight: 700;
  font-style: italic;
  font-size: 18px;
  margin-bottom: 10px;
}

.download-title a {
  color: #fff;
  text-decoration: none;
}

.download-description {
  color: #C0C0C0;
  font-style: italic;
  font-weight: 500;
  margin-bottom: 10px;
}

.download-date {
  color: #C0C0C0;
  font-style: italic;
  font-size: 12px;
}

@media (max-width: 768px) {
  .download-item {
    flex-direction: column;
  }

  .download-image img {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #B01BA5;
    padding: 0;
  }

  .download-content {
    padding: 15px;
    text-align: center;
  }

  .download-title {
    font-size: 20px;
  }

  .download-description,
  .download-date {
    font-size: 14px;
  }
}


.slider-wrapper {
	

}

.regist-item {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #B01BA5;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Kopfzeile des Rule-Eintrags */
.regist-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.regist-header-info {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #B01BA5;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Der Kreis mit dem Paragraphenzeichen und der Listennummer */
.regist-id-circle {
  display: inline-block;
  width: 45px;
  height: 45px;
  line-height: 40px;
  border-radius: 50%;
  border: 2px solid #B01BA5;
  color: #B01BA5;
  text-align: center;
  font-weight: bold;
  margin-right: 10px;
}

/* Titel/Frage (hier: Paragraph) */
.regist-title {
  font-size: 20px;
  font-style: italic;
  color: #fff;
  margin: 0;
}

/* Inhalt des Rule-Eintrags */
.regist-content {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 4px;
  padding: 10px;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

/* Trenner zwischen den Rule-Einträgen */
.regist-separator {
  border: none;
  border-top: 1px solid #444;
  margin: 15px 0;
}

/* Container */
.wiki-nav {
  position: relative;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #B01BA5;
  border-radius: 4px;
  padding: 0.5em 1em 1em;
  margin: 1em 0;
  box-sizing: border-box;
  width: max-content;
  min-width: min(300px, 100%);
  max-width: 100%;
  font-size: 90%;
  line-height: 1.4;
  color: #ddd;
  font-family: 'Poppins', sans-serif;
}

/* Titelzeile */
.wiki-nav > strong {
  display: block;
  margin-bottom: 0.5em;
  font-weight: 600;
  font-size: 1.05em;
  color: #fff;
  position: relative;
  padding-bottom: 4px;
}
.wiki-nav > strong::after {
  content: "";
  display: block;
  height: 2px;
  background-color: #B01BA5;
  margin-top: 4px;
  width: 100%;
}

/* „verbergen“-Link */
.wiki-nav .toggle-link {
  position: absolute;
  top: 0.6em;
  right: 1em;
  font-size: 0.85em;
  text-decoration: none;
  color: #aaa;
}
.wiki-nav .toggle-link:hover {
  text-decoration: underline;
}

/* Liste mit Nummerierung */
.wiki-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: wiki-item;
}
.wiki-nav > ul {
  max-height: 500px;
  max-height: min(500px, calc(100dvh - 170px));
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  padding-bottom: 4px; /* Letzten Menüpunkt vollständig anzeigen. */
  overflow-wrap: anywhere;
  scrollbar-width: thin;
  scrollbar-color: rgba(176, 27, 165, .72) transparent;
  overscroll-behavior: contain;
}
.wiki-nav > ul::-webkit-scrollbar { width: 5px; }
.wiki-nav > ul::-webkit-scrollbar-track { background: transparent; }
.wiki-nav > ul::-webkit-scrollbar-thumb {
  background: rgba(176, 27, 165, .65);
  border-radius: 8px;
}
.wiki-nav > ul::-webkit-scrollbar-thumb:hover { background: #B01BA5; }
.wiki-nav li {
  margin: 0.3em 0;
  counter-increment: wiki-item;
}
.wiki-nav li::before {
  content: counters(wiki-item, ".") ". ";
  font-weight: normal;
  color: #B01BA5;
}
/* Jede Ebene rückt gleichmäßig ein und übernimmt die Nummerierung der Vorfahren. */
.wiki-nav ul ul { margin-left: 1.2em; }

/* Im normalen Contents: Nummer und Titel gemeinsam auf einer Zeile halten. */
@media (min-width: 768px) {
  .wiki-layout > .wiki-nav li { white-space: nowrap; }
}

/* Links */
.wiki-nav a {
  color: #fff;
  text-decoration: none;
  padding: 3px 6px;
  border-radius: 4px;
  display: inline-block;
  transition: background 0.2s ease;
}
.wiki-nav a:hover {
  color: #fff;
  background-color: #B01BA5;
  text-decoration: none;
}
.wiki-nav a.active {
  background-color: #B01BA5;
  color: #fff;
}

.guide-item input[type="radio"] {
  display: none;
}

.guide-item .guide-content {
  display: none;
  padding: 1rem;         
  margin-bottom: 1rem;   
}


.guide-item input[type="radio"]:checked ~ .guide-content {
  display: block;
}

.guide-item label {
  cursor: pointer;
  display: block;
}

.guidetooltip {
	display: none;
	position: absolute;
	background-color: #190A22;
	border: 1px solid #B01BA5;
	padding: 10px 10px 10px 10px;
	z-index: 1;
	min-width: 80px;
	max-width: 400px;
	max-height: 150px;
	overflow-y: auto;
    box-shadow: 0 0 15px #B01BA5;
	margin-top:25px;
	margin-left:30px;
	}

td:hover .guidetooltip {
	display: block;
}

#cookie-popup{
	display: none;
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	max-width: 800px;
	background-color: #190922;
	color: #fff;
	border-radius: 8px;
	border: 1px solid #B01BA5;
	box-shadow: 0 2px 8px rgba(0,0,0,0.4);
	padding: 1rem 1.5rem;
	font-size: 14px;
	z-index: 9999;
	text-align: center;
}

.cookie-accept {
	margin-left: 1rem;
    padding: 6px 16px;
    background-color: #B01BA5;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;	
}

@media (max-width: 600px) {
  #cookie-popup {
    width: 90%;
    max-width: none;
    font-size: 13px;
    padding: 1rem;
    bottom: 10px;
  }

  #cookie-popup button.cookie-accept {
    display: block;
    width: 100%;
    margin: 0.75rem 0 0 0;
    font-size: 14px;
  }
}

.wiki-category-box {
  margin: 30px 0 20px;
  padding: 15px 20px;
  background: linear-gradient(90deg, rgba(216,127,239,0.2) 0%, rgba(255,255,255,0.05) 100%);
  border-left: 5px solid #d87fef;
  border-radius: 8px;
  color: #fff;
  font-size: 1.5em;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(216,127,239,0.15);
    font-style:italic;
}

@media screen and (max-width: 768px) {
  .wiki-category-box {
    font-size: 1.1em;
    padding: 12px 16px;
  }
  .back-to-top {
    display: none;
  }

  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
    .ItemHighlight {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    float: none;
    zoom: 1;
  }
  
  .btn_pi {
  content-align:center;
  font-size: 3.0rem;
  padding: 1rem 3rem;
   color: #f4f4f4;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgb(546, 48, 148);
  position: relative;
  overflow: hidden;
  border-radius: 8px;

}

.container_pi {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  margin-bottom: px;
  border-radius: 8px;
 
}
  
.news-item {
  /* news.php setzt den Background inline mit "top left".
     !important ist hier nötig, damit Mobile wie news2 gespiegelt ausgerichtet wird. */
  background-position: right top !important;
}

.latestnews-pinned {
  position: absolute;
  margin-top: 360px;
  right: 25px;
  display: inline-block;
  z-index: 2;
}

.latestnews-pinned img {
  height: 20px;
  width: auto;
}

.news-pinned {
  position: absolute;
  margin-left:20px;
  display: inline-block;
  z-index: 2;
}

.news-pinned img {
  height: 20px;
  width: auto;
}

}

.latestnews-pinned {
  position: absolute;
  top: 115px;
  right: 35px;
  display: inline-block;
  z-index: 2;
}

.latestnews-pinned img {
  height: 20px;
  width: auto;
}

.news-pinned {
  position: absolute;
  margin-left:10px;
  display: inline-block;
  z-index: 2;
}

.news-pinned img {
  height: 16px;
  width: auto;
}

input:-webkit-autofill {
    background-color: #D983D9 !important;
    -webkit-box-shadow: 0 0 0px 1000px #D983D9 inset !important;
    color: #000 !important;
}

.top3-ranking-subtitle {
    color: #fff;
    font-size: 1.4rem;
    margin-top: 10px;
    margin-bottom: 10px;
}
.top3-entry {
    padding: 4px 0;
font-size: 16px;
  color: #C0C0C0;
    clear: both;
}
.top3-entry:last-child {
    border-bottom: none;
}

.pagination-wrapper {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  border: 1px solid #B01BA5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  padding: 20px;
  text-align: center;
  margin: 20px 0;
}

.pagination-link {
  display: inline-block;
  width: 34px;
  height: 34px;
  line-height: 34px;
  border-radius: 50%;
  background-color: #2E1854;
  color: white;
  text-decoration: none;
  font-weight: bold;
  margin: 0 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  transition: background-color 0.2s ease;
}

.pagination-link:hover {
  background-color: #3D1854;
}

.pagination-link.active {
  background-color: #B01BA5;
}

/* Wiki-Seiten: zentral auswählbare Content-Hintergründe */
.wiki-box-gradient {
  padding: 30px;
  background: linear-gradient(to bottom right, #1e012c, #240043);
  border: 1px solid #a64ac9;
  border-radius: 12px;
  color: #f3e9ff;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 0 20px rgba(166, 74, 201, 0.3);
}

.wiki-box-dark {
  padding: 20px;
  background-color: #1c1126;
  border: 1px solid #5c2c91;
  border-radius: 12px;
  margin-bottom: 30px;
}

/* Wiki-Inhalt: Listenabstände nach dem globalen ul/ol-Reset wiederherstellen. */
.wiki-page-content .rules-content ul,
.wiki-page-content .rules-content ol {
  margin: 1em 0;
  padding-left: 40px;
}

/* Unterlisten behalten ihre Einrückung, ohne zusätzliche vertikale Lücken. */
.wiki-page-content .rules-content li > ul,
.wiki-page-content .rules-content li > ol {
  margin-top: 0;
  margin-bottom: 0;
}

/* Mobil: gemeinsamer Seitenrahmen, passende Seitentitel und kompakte Tabellen. */
@media screen and (max-width: 767px) {
  /* Die bewährten Wiki-Seitenabstände gelten jetzt auf der gesamten Website. */
  body .dcr-content-section {
    padding: 16px 6px calc(100px + env(safe-area-inset-bottom, 0px));
  }

  .dcr-content-section .dcr-content-shell {
    padding: 16px 8px 22px;
  }

  .dcr-content-shell .dcr-content-main {
    min-width: 0;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Alten Titelversatz und die zugehörige Einrückung gemeinsam zurücksetzen. */
  .dcr-content-main .page-info {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    left: 0 !important;
    padding-left: 0;
    padding-right: 0;
  }

  .dcr-content-main .page-info h2 {
    max-width: 100%;
    font-size: clamp(22px, 6.5vw, 32px);
    line-height: 1.2;
    letter-spacing: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .wiki-layout {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    padding: 10px 6px;
  }

  .wiki-layout .wiki-nav {
    box-sizing: border-box;
    width: 100%;
    padding: 10px 12px;
    overflow-wrap: anywhere;
  }

  .wiki-layout .wiki-entry {
    min-width: 0;
    scroll-margin-top: 16px;
  }

  .wiki-layout .rules-content {
    min-width: 0;
    padding: 0 !important;
    background: transparent;
  }

  .wiki-layout .wiki-rich-content {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    font-size: 15px;
    line-height: 1.65;
    overflow-wrap: break-word;
  }

  /* Auch die bisherigen, im Editor gespeicherten Hintergrund-Wrapper erfassen. */
  .wiki-layout :is(.wiki-box-gradient, .wiki-box-dark),
  .wiki-rich-content > div[style*="#1e012c" i][style*="#240043" i]:only-child,
  .wiki-rich-content > div[style*="#1c1126" i][style*="#5c2c91" i]:only-child {
    box-sizing: border-box;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 16px 12px !important;
  }

  .wiki-layout .wiki-rich-content :is(h1, h2, h3) {
    margin: 1em 0 0.55em;
    line-height: 1.25;
  }

  .wiki-layout .wiki-rich-content h1 {
    font-size: clamp(26px, 6.5vw, 32px) !important;
  }

  .wiki-layout .wiki-rich-content h2 {
    font-size: clamp(22px, 5.6vw, 28px) !important;
  }

  .wiki-layout .wiki-rich-content h3 {
    font-size: clamp(20px, 5vw, 24px) !important;
  }

  .wiki-layout .wiki-rich-content :is(h1, h2, h3):first-child {
    margin-top: 0;
  }

  .wiki-layout .wiki-rich-content :is(ul, ol) {
    padding-left: 1.5em !important;
  }

  .wiki-layout .wiki-rich-content blockquote {
    margin: 1.25em 0 !important;
    padding: 12px !important;
  }

  .wiki-layout .wiki-rich-content :is(img, video) {
    max-width: 100% !important;
    height: auto !important;
  }

  .wiki-layout .wiki-rich-content pre {
    max-width: 100%;
    overflow-x: auto;
  }

  .wiki-layout :is(.createdat, .lastupdate) {
    position: static;
    display: block;
    width: auto;
    margin: 6px 0 0;
    padding: 4px 6px;
    font-size: 12px;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  /* Seitenweit nur Tabellen: kompakte Zellen, Überbreite lokal scrollbar. */
  :is(.dcr-content-shell, .wiki-layout) :is(.table-responsive, .table-wrapper, .ranking-table-wrapper) {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  :is(.dcr-content-shell, .wiki-layout) table,
  table.ranking-table {
    display: block;
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
  }

  :is(.dcr-content-shell, .wiki-layout) table :is(thead, tbody, tfoot, tr, th, td),
  table.ranking-table :is(thead, tbody, tfoot, tr, th, td) {
    height: auto !important;
  }

  :is(.dcr-content-shell, .wiki-layout) table :is(col, th, td),
  table.ranking-table :is(col, th, td) {
    width: auto !important;
    min-width: 0 !important;
  }

  :is(.dcr-content-shell, .wiki-layout) table :is(th, td),
  table.ranking-table :is(th, td) {
    padding: 8px 6px !important;
    font-size: 14px;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: break-word;
  }

  :is(.dcr-content-shell, .wiki-layout) table img,
  table.ranking-table img {
    max-width: 100% !important;
    height: auto !important;
  }
}

/* Account Panel: mobile spacing for currency display + section headings */
@media screen and (max-width: 767px) {
  .ranking-container .sticky-currency-bar {
    float: none;
    clear: both;
    display: block;
    width: max-content;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 0 14px auto;
    padding: 8px 10px;
    font-size: 13px;
    line-height: 1.35;
    white-space: nowrap;
  }

  .ranking-container .sticky-currency-bar img {
    flex: 0 0 auto;
  }

  .ranking-container .imprint-id-circle {
    margin-top: 0;
  }

  .ranking-container .character-title {
    margin-top: 0;
  }
}


/* Donate: simple 2-column value tables should fill the card on mobile. */
@media screen and (max-width: 767px) {
  table.donate-values-table {
    display: table !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed;
    overflow: visible;
  }

  table.donate-values-table thead {
    display: table-header-group;
  }

  table.donate-values-table tbody {
    display: table-row-group;
  }

  table.donate-values-table tr {
    display: table-row;
  }

  table.donate-values-table th,
  table.donate-values-table td {
    display: table-cell;
    width: 50% !important;
    min-width: 0 !important;
    padding: 10px 12px !important;
    white-space: nowrap;
    overflow-wrap: normal;
  }
}

/* Account Panel: center character cards on mobile. */
@media screen and (max-width: 767px) {
  .ranking-container .character-windows {
    float: none !important;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto !important;
  }
}


/* Smartphone landscape: keep the wide two-column layout even when Safari's
   safe area leaves fewer than 768 CSS pixels. Portrait and mouse-driven
   desktop layouts are not affected. */
@media screen and (min-width: 600px) and (max-width: 1024px) and (max-height: 600px) and (orientation: landscape) and (hover: none) and (pointer: coarse) {
  html,
  body {
    background-color: #160d24;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  /* Use less of the short viewport for the fixed navigation and hero. */
  body .dcr-header {
    padding: 6px 12px 0;
    padding-left: max(12px, env(safe-area-inset-left, 0px));
    padding-right: max(12px, env(safe-area-inset-right, 0px));
  }

  body .dcr-header .top-nav-area,
  body .dcr-header .user-panel a {
    min-height: 56px;
  }

  body .dcr-header .nav-home-logo {
    width: 48px;
    height: 48px;
  }

  body .dcr-header .slicknav_btn {
    top: 9px;
    padding: 9px 10px;
  }

  body .dcr-header .slicknav_nav {
    max-height: calc(100vh - 82px);
    max-height: calc(100dvh - 82px);
  }

  body .dcr-hero {
    min-height: 260px;
    padding: 88px 16px 40px;
  }

  body .dcr-hero-title {
    width: 70%;
    margin-left: 22%;
    margin-right: 0;
    font-size: clamp(32px, 5.8vw, 52px);
  }

  body .dcr-content-section {
    padding: 16px 6px calc(48px + env(safe-area-inset-bottom, 0px));
    padding-left: max(6px, env(safe-area-inset-left, 0px));
    padding-right: max(6px, env(safe-area-inset-right, 0px));
  }

  body .dcr-content-section .dcr-content-shell {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 18px 12px 24px;
  }

  .dcr-content-shell .dcr-content-grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .dcr-content-shell .dcr-content-main {
    box-sizing: border-box;
    flex: 0 0 58.333333%;
    width: 58.333333%;
    max-width: 58.333333%;
    min-width: 0;
    padding-left: 0 !important;
    padding-right: 14px !important;
  }

  .dcr-content-shell .dcr-content-sidebar {
    box-sizing: border-box;
    flex: 0 0 41.666667%;
    width: 41.666667%;
    max-width: 41.666667%;
    min-width: 0;
    margin-top: 0;
    padding: 0 0 0 14px !important;
    border-top: 0;
  }

  .dcr-content-shell .dcr-content-sidebar::before {
    display: none;
  }

  .dcr-content-sidebar .sidebar-action-buttons .container_pi {
    width: 100%;
    max-width: 100%;
  }

  .dcr-content-sidebar .sidebar-action-buttons .btn_pi {
    display: block;
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    min-height: 0;
    height: auto;
    aspect-ratio: 310 / 82;
    margin-top: 0;
    padding: 0 !important;
    font-size: 2rem;
    line-height: 1;
    text-align: center;
    align-content: center;
  }

  .dcr-content-sidebar .serverstatus-title {
    font-size: clamp(16px, 2.6vw, 24px);
  }

  .dcr-content-sidebar .discord-box,
  .dcr-content-sidebar iframe {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Latest-news previews: small complete artwork beside the text. */
  .dcr-content-main .latestnews-item {
    position: relative;
    flex-direction: row;
    align-items: stretch;
    max-height: none;
  }

  .dcr-content-main .latestnews-img {
    flex: 0 0 36%;
    width: 36%;
    max-width: 180px;
    min-width: 0;
    border-right: 1px solid #B01BA5;
    border-bottom: 0;
    border-radius: 8px 0 0 8px;
  }

  .dcr-content-main .latestnews-img-tag {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .dcr-content-main .latestnews-content {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px;
    overflow-wrap: anywhere;
  }

  .dcr-content-main .latestnews-subject {
    font-size: 18px;
  }

  .dcr-content-main .latestnews-date-author {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 4px;
    font-size: 11px;
  }

  .dcr-content-main .latestnews-pinned {
    position: static;
    margin: 0 0 0 auto;
  }

  .dcr-content-main .latestnews-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
  }

  /* news2.php supplies its original desktop URL as a custom property.
     Landscape restores the Slim banner; portrait keeps its 362 x 286 artwork. */
  .dcr-content-main .news-item.singleview {
    background-image: var(--news-desktop-image, none) !important;
    background-position: right top !important;
  }

  .dcr-content-main .news-item.singleview > .news-header {
    width: 100%;
    max-width: none;
    height: 285px !important;
    aspect-ratio: auto;
    margin-left: 0;
    margin-right: 0;
    background-image: none !important;
  }
}


/* ========================================
   DCR AUTH MODAL REFRESH
   Requires logo asset at: /images/dcr-modal-logo.png
   ======================================== */
.dcr-auth-modal {
  padding-left: 0 !important;
}

.dcr-auth-modal .modal-dialog {
  max-width: 440px;
  width: calc(100% - 28px);
  margin: 1.75rem auto;
}

.dcr-auth-content {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(224, 71, 214, 0.72);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(26, 10, 36, 0.98) 0%, rgba(12, 5, 18, 0.99) 100%) !important;
  color: #F5EFF8 !important;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.50), 0 0 35px rgba(176, 27, 165, 0.20);
}

.dcr-auth-content::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 84% 14%, rgba(176, 27, 165, 0.13), transparent 27%),
    radial-gradient(circle at 10% 88%, rgba(124, 57, 179, 0.12), transparent 35%);
}

.dcr-auth-content::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 18px;
  right: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 71, 214, 0.8), transparent);
  opacity: 0.75;
}

.dcr-auth-header,
.dcr-auth-body {
  position: relative;
  z-index: 1;
}

.dcr-auth-header {
  padding: 12px 12px 0;
  min-height: 30px;
}

.dcr-auth-body {
  padding: 0 28px 28px;
}

.dcr-auth-close {
  margin: 0 0 0 auto !important;
  padding: 0;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #A796AF;
  text-shadow: none;
  opacity: 1;
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
}

.dcr-auth-close:hover,
.dcr-auth-close:focus {
  color: #FFFFFF;
  opacity: 1;
}

.dcr-auth-box {
  text-align: left;
}

.dcr-auth-logo-wrap {
  text-align: center;
  margin: -2px 0 10px;
}

.dcr-auth-logo {
  width: 86px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 14px rgba(176, 27, 165, 0.28));
}

.dcr-auth-title-wrap {
  margin: 0 0 18px;
}

.dcr-auth-title {
  margin: 0;
  color: #FBF6FF;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
}

.dcr-auth-subtitle {
  margin-top: 8px;
  color: #A494AD;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.34em;
}

.dcr-auth-alert {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid rgba(255, 99, 132, 0.35);
  background: rgba(120, 18, 42, 0.28);
  color: #FFD1DB;
  text-align: center;
  font-size: 14px;
}

.dcr-auth-field {
  margin-bottom: 14px;
}

.dcr-auth-input {
  height: 52px !important;
  border-radius: 9px !important;
  border: 1px solid rgba(176, 27, 165, 0.62) !important;
  background: rgba(15, 7, 22, 0.92) !important;
  color: #F9F2FD !important;
  padding: 0 16px !important;
  box-shadow: none !important;
}

.dcr-auth-input:focus {
  border-color: #E047D6 !important;
  box-shadow: 0 0 0 3px rgba(176, 27, 165, 0.12), 0 0 18px rgba(176, 27, 165, 0.12) !important;
}

.dcr-auth-input::placeholder {
  color: #8C7D95 !important;
  text-transform: none;
  font-style: normal;
}

.dcr-auth-remember {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #D4C9DA;
  font-size: 14px;
  cursor: pointer;
}

.dcr-auth-remember input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #B01BA5;
}

.dcr-auth-primary {
  width: 100%;
  min-height: 50px;
  border: 1px solid #D84FD0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(176, 27, 165, 0.96) 0%, rgba(81, 22, 99, 1) 100%);
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(176, 27, 165, 0.26);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.dcr-auth-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 0 24px rgba(176, 27, 165, 0.34);
}

.dcr-auth-primary img {
  width: 14px;
  height: auto;
}

.dcr-auth-divider {
  position: relative;
  height: 1px;
  margin: 22px 0 18px;
  background: linear-gradient(90deg, transparent, rgba(176, 27, 165, 0.72), transparent);
}

.dcr-auth-divider::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  background: #190A21;
  border: 1px solid rgba(224, 71, 214, 0.85);
  transform: translate(-50%, -50%) rotate(45deg);
}

.dcr-auth-links {
  color: #98899F;
  font-size: 15px;
  line-height: 1.8;
}

.dcr-auth-links .text-info {
  color: #E162D8 !important;
}

.dcr-auth-links .text-info:hover {
  color: #FFFFFF !important;
}

.dcr-auth-welcome {
  color: #D6CDDC;
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 18px;
}

.dcr-auth-username {
  color: #F07DE8;
  font-weight: 700;
}

.dcr-auth-email {
  display: block;
  margin-top: 2px;
  color: #9A8AA2;
  font-size: 14px;
}

.dcr-auth-currency-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.dcr-auth-currency-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(176, 27, 165, 0.46);
  background: rgba(11, 4, 17, 0.66);
}

.dcr-auth-currency-card img {
  width: 30px;
  height: auto;
  flex: 0 0 auto;
}

.dcr-auth-currency-copy span {
  display: block;
  color: #95879D;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.dcr-auth-currency-copy strong {
  display: block;
  color: #FFF7FF;
  font-size: 18px;
  line-height: 1.2;
  margin-top: 2px;
}

.dcr-auth-strikes {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(89, 64, 5, 0.18);
  border: 1px solid rgba(255, 185, 0, 0.26);
  color: #FFD46F;
  font-size: 14px;
}

.dcr-auth-strikes--warning {
  color: #FFD46F;
}

.dcr-auth-strikes--danger {
  background: rgba(94, 15, 31, 0.24);
  border-color: rgba(255, 99, 132, 0.34);
  color: #FF9CB0;
}

.dcr-auth-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.dcr-auth-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid rgba(176, 27, 165, 0.48);
  background: linear-gradient(180deg, rgba(39, 15, 49, 0.96) 0%, rgba(20, 8, 28, 0.98) 100%);
  color: #F2EAF5;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.dcr-auth-action:hover,
.dcr-auth-action:focus {
  color: #FFFFFF;
  border-color: rgba(224, 71, 214, 0.9);
  box-shadow: 0 0 16px rgba(176, 27, 165, 0.16);
  transform: translateY(-1px);
  text-decoration: none;
}

.dcr-auth-action--gold {
  border-color: rgba(240, 184, 63, 0.60);
  color: #F7D788;
}

.dcr-auth-action--danger {
  border-color: rgba(213, 59, 99, 0.62);
  color: #FF9AB2;
}

.dcr-auth-action--owner {
  border-color: rgba(224, 71, 214, 0.76);
  color: #F288EA;
}

.dcr-auth-action--staff {
  border-color: rgba(255, 171, 79, 0.56);
  color: #FFC97A;
}

@media (max-width: 575.98px) {
  .dcr-auth-modal .modal-dialog {
    width: calc(100% - 16px);
    margin: 0.5rem auto;
  }

  .dcr-auth-body {
    padding: 0 18px 20px;
  }

  .dcr-auth-title {
    font-size: 1.75rem;
  }

  .dcr-auth-subtitle {
    letter-spacing: 0.24em;
    font-size: 10px;
  }

  .dcr-auth-currency-grid,
  .dcr-auth-action-grid {
    grid-template-columns: 1fr;
  }
}

/* Existing DCR shop: live search/filter controls, same dark-purple button language. */
.dcr-shop-discovery{position:relative;display:flex;flex-wrap:wrap;gap:10px;align-items:end;border:1px solid rgba(176,27,165,.44);padding:14px;margin:14px 0 18px;border-radius:10px;background:rgba(20,9,30,.65)}
.dcr-shop-find{position:relative;flex:3 1 240px;min-width:180px}.dcr-shop-filter{flex:1 1 140px;min-width:115px}
.dcr-shop-find label,.dcr-shop-filter label{display:block;font-size:12px;color:#d4c6da;margin-bottom:5px}
.dcr-shop-find input,.dcr-shop-filter input,.dcr-shop-filter select{width:100%;min-height:38px;border:1px solid rgba(176,27,165,.62);border-radius:8px;background:linear-gradient(180deg,#2b1036,#16081d);color:#f2eaf5;padding:8px 11px;font-size:13px;outline:none}
.dcr-shop-find input:focus,.dcr-shop-filter input:focus,.dcr-shop-filter select:focus{border-color:#e047d6;box-shadow:0 0 0 2px rgba(176,27,165,.15)}
.dcr-shop-filter-hint{flex:1 0 100%;margin:0;color:#bda4c3;font-size:11px;line-height:1.5}
.dcr-shop-suggestions{position:absolute;top:calc(100% + 5px);left:0;width:100%;max-height:340px;overflow:auto;z-index:50;background:#1b1027;border:1px solid #8d377d;box-shadow:0 12px 26px #0b0713;border-radius:10px}
.dcr-shop-suggestions[hidden]{display:none!important}.dcr-shop-suggest-item{display:flex;gap:3px;flex-direction:column;width:100%;border:0;border-bottom:1px solid #3f244c;background:transparent;color:#f1e8f5;padding:11px 14px;text-align:left;cursor:pointer}
.dcr-shop-suggest-item:hover,.dcr-shop-suggest-item:focus{background:#382042}.dcr-shop-suggest-item small{color:#ad8ebc;font-size:11px}.dcr-shop-empty,.dcr-shop-error{color:#dbc2db;text-align:center;padding:12px}
@media(max-width:650px){.dcr-shop-discovery{gap:8px}.dcr-shop-find{flex-basis:100%}.dcr-shop-filter{flex-basis:44%}}

/* Shop giftcode redemption: use the same dimensions as the search/filter controls above. */
.dcr-shop-giftcodes{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:14px 0 18px;padding:14px;background:rgba(20,9,30,.65);border:1px solid rgba(176,27,165,.44);border-radius:10px}
.dcr-shop-giftcodes>label{display:flex;flex-direction:column;gap:5px;flex:1 1 140px;min-width:115px;margin:0;color:#d4c6da;font-size:12px;line-height:normal}
.dcr-shop-giftcodes>label:first-of-type{flex:3 1 240px;min-width:180px}
.dcr-shop-giftcodes input,.dcr-shop-giftcodes select{box-sizing:border-box;width:100%;min-width:0;min-height:38px;height:38px;padding:8px 11px;border:1px solid rgba(176,27,165,.62);border-radius:8px;background:linear-gradient(180deg,#2b1036,#16081d);color:#f2eaf5;font-size:13px;line-height:20px;outline:none}
.dcr-shop-giftcodes input:focus,.dcr-shop-giftcodes select:focus{border-color:#e047d6;box-shadow:0 0 0 2px rgba(176,27,165,.15)}
.dcr-shop-giftcodes button{box-sizing:border-box;flex:0 0 auto;min-height:38px;height:38px;margin:0;padding:8px 11px;border:1px solid rgba(176,27,165,.62);border-radius:8px;background:linear-gradient(180deg,#2b1036,#16081d);color:#f2eaf5;font-size:13px;font-weight:600;line-height:20px;cursor:pointer}
.dcr-shop-giftcodes button:hover,.dcr-shop-giftcodes button:focus{border-color:#e047d6;background:linear-gradient(180deg,#41154f,#1e0a27);color:#fff}
.dcr-shop-giftcodes button:disabled{opacity:.55;cursor:wait}
#dcrShopGiftcodeStatus{flex:1 0 100%;width:100%;margin:0;font-size:12px;color:#e6c3ee}
#dcrShopGiftcodeStatus:empty{display:none}
#dcrShopGiftcodeStatus.is-error{color:#ff9aa5}
@media(max-width:650px){.dcr-shop-giftcodes{gap:8px}.dcr-shop-giftcodes>label:first-of-type{flex-basis:100%}.dcr-shop-giftcodes>label{flex-basis:44%}}

/* Continuous shop highlights, account panel and side panel. No empty lead-in or gap. */
.marquee.dcr-highlight-marquee{padding:10px 0;overflow:hidden;white-space:nowrap}
.dcr-highlight-track{display:flex;width:max-content;max-width:none;gap:0;animation:none}
.dcr-highlight-cycle{display:flex;flex:0 0 auto;align-items:stretch;gap:20px;padding-right:20px;width:max-content}
.dcr-highlight-track.dcr-highlight-running{animation:dcr-highlight-loop var(--dcr-highlight-duration,25s) linear infinite;will-change:transform}
@keyframes dcr-highlight-loop{from{transform:translateX(0)}to{transform:translateX(calc(-1 * var(--dcr-highlight-distance,300px)))}}
@media(prefers-reduced-motion:reduce){.dcr-highlight-track.dcr-highlight-running{animation:none}}

/* Ticket-system Event Ticker: keep the existing label and continuous text inside its own layout. */
.dcr-tc-event-scroll{display:block;position:relative;flex:1 1 auto;min-width:0;overflow:hidden;white-space:nowrap}


/* DCR Top Serverstatus: eigener Layout-Block VOR der Content-Box.
   Wird serverseitig nur bei aktivierter Top-Ansicht ausgegeben;
   bei Deaktivierung bleibt die originale Content-Position erhalten. */
.dcr-topstatus-shell {
  width: 100%;
  max-width: 1207px;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 0; /* verhindert 32px zusätzliches .container-Innenpadding unter den Kacheln */
  margin-bottom: 18px;
}

.dcr-topstatus-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.dcr-topstatus-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 88px;
  padding: 13px 14px;
  border: 1px solid rgba(197, 64, 212, 0.55);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 16, 49, 0.96), rgba(23, 11, 38, 0.96));
  box-shadow: 0 7px 24px rgba(11, 3, 21, 0.18), inset 0 1px 0 rgba(240, 175, 255, 0.04);
  color: #fff;
}

.dcr-topstatus-icon {
  display: flex;
  flex: 0 0 49px;
  align-items: center;
  justify-content: center;
  width: 49px;
  height: 49px;
  border: 1px solid rgba(197, 64, 212, 0.14);
  border-radius: 10px;
  background: rgba(166, 48, 189, 0.19);
  color: #df72f5;
  font-size: 24px;
}

.dcr-topstatus-info {
  min-width: 0;
}

.dcr-topstatus-label {
  display: block;
  margin-bottom: 4px;
  color: #d4c3da;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.dcr-topstatus-value {
  display: block;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.15;
}

.dcr-topstatus-card--status .dcr-topstatus-value::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
  background: #a7a4b4;
  vertical-align: 2px;
}

.dcr-topstatus-card--online .dcr-topstatus-value::before {
  background: #2fdf91;
  box-shadow: 0 0 8px rgba(47, 223, 145, 0.5);
}

.dcr-topstatus-card--maintenance .dcr-topstatus-value::before {
  background: #f1bd59;
}

.dcr-topstatus-card--offline .dcr-topstatus-value::before {
  background: #ea6c91;
}

@media (max-width: 1199px) {
  .dcr-topstatus-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .dcr-topstatus-shell {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 16px;
  }

  .dcr-topstatus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .dcr-topstatus-card {
    min-height: 72px;
    gap: 9px;
    padding: 10px;
  }

  .dcr-topstatus-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    font-size: 19px;
  }

  .dcr-topstatus-value {
    font-size: 19px;
  }
}


/* DCR Sidepanel Cards – separate Guild War / Secret Room / Lord and Top 3 cards.
   Scope: ONLY these two existing sidebar modules; no global design overrides. */
.dcr-content-sidebar .lordgwsr-container {
  margin: 20px 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.dcr-content-sidebar .lordgwsrbg { padding: 0; overflow: visible; }
.dcr-content-sidebar .lordgwsrbg::before { display: none; }
/* If every event visibility is off, do not reserve an empty group gap. */
.dcr-content-sidebar .lordgwsr-container:not(:has(.dcr-sp-card)) { display: none; }
.dcr-content-sidebar > #stickySidebar .top3-ranking-list {
  margin: 20px 0;
  padding: 0;
  background: transparent;
}
.dcr-content-sidebar .dcr-sp-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
}
.dcr-content-sidebar .dcr-sp-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(197, 64, 212, 0.6);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(38, 15, 50, 0.98), rgba(20, 9, 33, 0.98));
  box-shadow: 0 6px 16px rgba(8, 2, 17, 0.23), inset 0 1px 0 rgba(244, 194, 255, 0.04);
  color: #f4edf7;
}
.dcr-content-sidebar .dcr-sp-card__head {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 67px;
  padding: 11px 13px;
  overflow: hidden;
  border-bottom: 1px solid rgba(197, 64, 212, 0.20);
  background: linear-gradient(110deg, rgba(82, 22, 91, .34), rgba(68, 14, 81, .11));
}
/* Artwork is confined to EACH card header: no full-height shared background. */
.dcr-content-sidebar .dcr-sp-card__head::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 52%;
  pointer-events: none;
  opacity: .76;
  background-repeat: no-repeat;
  /* Same portrait scale in every header, independent of source image width. */
  background-size: auto 124px;
  background-position: right 1px top -10px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.2) 25%, #000 72%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.2) 25%, #000 72%);
}
/* Individual artwork from sidepanel_assets.rar; never use the old shared backgrounds. */
.dcr-content-sidebar .dcr-sp-card--guildwar .dcr-sp-card__head::after { background-image: url('/images/sidepanel_cards/asset_guildwar.png'); }
.dcr-content-sidebar .dcr-sp-card--secretroom .dcr-sp-card__head::after { background-image: url('/images/sidepanel_cards/asset_secretroom.png'); }
.dcr-content-sidebar .dcr-sp-card--lord .dcr-sp-card__head::after { background-image: url('/images/sidepanel_cards/asset_lord.png'); }
.dcr-content-sidebar .dcr-sp-card--players .dcr-sp-card__head::after { background-image: url('/images/sidepanel_cards/asset_top3ranking.png'); }
.dcr-content-sidebar .dcr-sp-card--guilds .dcr-sp-card__head::after { background-image: url('/images/sidepanel_cards/asset_top3guilds.png'); }
.dcr-content-sidebar .dcr-sp-card--gwtop .dcr-sp-card__head::after { background-image: url('/images/sidepanel_cards/asset_top3guildwar.png'); }
.dcr-content-sidebar .dcr-sp-card--voters .dcr-sp-card__head::after { background-image: url('/images/sidepanel_cards/asset_top3voters.png'); }
.dcr-content-sidebar .dcr-sp-card__icon {
  display: inline-flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(197, 64, 212, .35);
  border-radius: 9px;
  background: rgba(166, 48, 189, .20);
  color: #df72f5;
  font-size: 20px;
}
.dcr-content-sidebar .dcr-sp-card__title {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: #f8eefb;
  font-family: inherit;
  font-size: clamp(14px, 1.3vw, 19px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .015em;
  text-align: left;
  text-transform: uppercase;
  /* Long headings remain legible above the artwork on a narrow sidebar. */
  text-shadow: 0 1px 3px rgba(10, 3, 17, .95), 0 0 9px rgba(10, 3, 17, .85);
}
.dcr-content-sidebar .dcr-sp-card__rows,
.dcr-content-sidebar .top3-ranking-list .dcr-sp-card__rows {
  display: block;
  margin: 0;
  padding: 6px 13px;
  list-style: none;
}
.dcr-content-sidebar .dcr-sp-card__rows li,
.dcr-content-sidebar .top3-ranking-list .dcr-sp-card__rows li {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 36px;
  margin: 0;
  padding: 7px 0;
  border-bottom: 1px solid rgba(196, 77, 196, .2);
  color: #d9d1e0;
  font-size: 14px;
  line-height: 1.3;
}
.dcr-content-sidebar .dcr-sp-card__rows li:last-child { border-bottom: 0; }
.dcr-content-sidebar .dcr-sp-card__event-icon {
  display: block;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  object-fit: contain;
}
.dcr-content-sidebar .dcr-sp-card__event-label {
  flex: 0 0 72px;
  min-width: 0;
  white-space: nowrap;
  color: #f0eaf3;
}
.dcr-content-sidebar .dcr-sp-card__rows--events .dcr-sp-card__event-label + .dcr-sp-card__name {
  border-left: 1px solid rgba(194, 72, 200, .3);
  padding-left: 10px;
}
.dcr-content-sidebar .dcr-sp-card__medal {
  display: inline-flex;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  width: 24px;
}
.dcr-content-sidebar .dcr-sp-card__medal img {
  display: block;
  width: 22px;
  height: 23px;
  object-fit: contain;
  margin: 0;
  padding: 0;
}
.dcr-content-sidebar .dcr-sp-card__name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #ddd6e2;
}
.dcr-content-sidebar .dcr-sp-card__value {
  flex: 0 0 auto;
  max-width: 40%;
  color: #d94dde;
  font-size: 15px;
  font-weight: 800;
  overflow-wrap: anywhere;
}
@media (max-width: 1199px) {
  .dcr-content-sidebar .dcr-sp-card__head { gap: 9px; padding: 10px; }
  .dcr-content-sidebar .dcr-sp-card__icon { flex-basis: 36px; width: 36px; height: 36px; font-size: 18px; }
  .dcr-content-sidebar .dcr-sp-card__title { font-size: 16px; }
  .dcr-content-sidebar .dcr-sp-card__rows { padding: 6px 10px; }
  .dcr-content-sidebar .dcr-sp-card__event-label { flex-basis: 59px; }
  .dcr-content-sidebar .dcr-sp-card__rows li { font-size: 13px; gap: 6px; }
}

/* Sidepanel independent card order: same 12px separation as the approved seven-card design. */
.dcr-content-sidebar .dcr-sp-sortable-card { margin: 0 0 12px; min-width: 0; }

/* DCR Sidepanel Serverstatus: same card layout as the seven independent cards.
   The existing fox artwork is confined to the header, never the data rows. */
.dcr-content-sidebar .dcr-sp-card--serverstatus .dcr-sp-card__head::after {
  background-image: url('/images/shophighlightsbg.png');
  width: 56%;
  background-size: auto 225px;
  background-position: right -72px top -45px;
  opacity: .96;
  filter: brightness(1.15);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.10) 18%, #000 56%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.10) 18%, #000 56%);
}
.dcr-content-sidebar .dcr-sp-card--serverstatus .dcr-sp-card__rows li {
  justify-content: space-between;
}
.dcr-content-sidebar .dcr-sp-card--serverstatus .dcr-sp-card__value {
  text-align: right;
}


/* DCR Sidepanel SHOP/VOTE – independent cards, same header proportions as the seven ranked cards.
   Keep legacy content/animations/links functional; replace full-panel artworks only in these two cards. */
.dcr-content-sidebar .dcr-sp-card--shop .dcr-sp-card__head::after {
  background-image: url('/images/sidepanel_cards/asset_shop.png');
}
.dcr-content-sidebar .dcr-sp-card--vote .dcr-sp-card__head::after {
  background-image: url('/images/sidepanel_cards/asset_vote.png');
}
.dcr-content-sidebar .dcr-sp-card--shop .dcr-sp-card__body,
.dcr-content-sidebar .dcr-sp-card--vote .dcr-sp-card__body {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  padding: 8px 10px 12px;
  background-image: none;
}
/* Legacy PHP includes still render their title. The new shared card header owns it. */
.dcr-content-sidebar .dcr-sp-card--shop .dcr-sp-card__body > h3,
.dcr-content-sidebar .dcr-sp-card--vote .dcr-sp-card__body > h3 {
  display: none;
}
.dcr-content-sidebar .dcr-sp-card--shop .dcr-highlight-marquee,
.dcr-content-sidebar .dcr-sp-card--vote .marquee {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
}
.dcr-content-sidebar .dcr-sp-card--shop .dcr-highlight-marquee {
  padding: 8px 0 3px;
}
.dcr-content-sidebar .dcr-sp-card--vote .marquee {
  padding: 8px 0 3px;
}
.dcr-content-sidebar .dcr-sp-card--vote .marquee.marquee-static .marquee-content {
  margin: 0;
  gap: 8px;
  justify-content: center;
}

/* Shop giftcode bonus: bottom-left of the preview image, in both direct & AJAX views. */
#itemDetailsContainer .itemGeneral{position:relative}
#itemDetailsContainer .dcr-shop-preview-frame{position:relative;flex:0 0 309px;width:309px;height:309px;min-width:0;max-width:100%;align-self:flex-start}
#itemDetailsContainer .dcr-shop-preview-frame .preview{display:block;flex:none;width:100%;height:100%;object-fit:cover;box-sizing:border-box;border-right:1px solid #B01BA5;border-top-left-radius:8px;border-bottom-left-radius:8px}
#itemDetailsContainer .dcr-shop-bonus-info{position:absolute;left:10px;bottom:10px;z-index:30;max-width:calc(100% - 20px)}
#itemDetailsContainer .dcr-shop-free-bonus{position:relative;top:auto;left:auto;right:auto;bottom:auto;display:inline-flex;align-items:center;justify-content:center;max-width:100%;padding:6px 10px;border:1px solid #e067e8;border-radius:7px;background:linear-gradient(115deg,#9b2ca5,#681b8a);color:#fff;font:800 11px/1.25 Roboto,Arial,sans-serif;letter-spacing:.025em;text-align:center;box-shadow:0 2px 12px rgba(44,9,53,.8);cursor:help;pointer-events:auto;white-space:normal}
#itemDetailsContainer .dcr-shop-free-bonus:focus-visible{outline:2px solid #ffb6f6;outline-offset:2px}
#itemDetailsContainer .dcr-shop-bonus-tooltip{position:absolute;left:0;bottom:calc(100% + 9px);z-index:31;width:max-content;min-width:185px;max-width:min(290px,calc(100vw - 50px));box-sizing:border-box;padding:11px 13px;border:1px solid rgba(221,88,232,.92);border-radius:10px;background:linear-gradient(180deg,rgba(47,17,61,.99),rgba(20,8,33,.99));box-shadow:0 10px 26px rgba(0,0,0,.48),0 0 14px rgba(190,44,198,.2);color:#fff;overflow-wrap:anywhere;opacity:0;visibility:hidden;transform:translateY(5px);transition:opacity .15s ease,transform .15s ease,visibility .15s ease;pointer-events:none}
#itemDetailsContainer .dcr-shop-bonus-info:hover .dcr-shop-bonus-tooltip,#itemDetailsContainer .dcr-shop-bonus-info:focus-within .dcr-shop-bonus-tooltip{opacity:1;visibility:visible;transform:translateY(0)}
#itemDetailsContainer .dcr-shop-bonus-tooltip-title{color:#e7a9ed;font:800 10px/1.3 Roboto,Arial,sans-serif;letter-spacing:.075em;margin-bottom:5px}
#itemDetailsContainer .dcr-shop-bonus-tooltip-gift{font:700 13px/1.4 Roboto,Arial,sans-serif}
#itemDetailsContainer .dcr-shop-bonus-tooltip-gift strong{color:#f174ef;white-space:nowrap}
@media(max-width:768px){#itemDetailsContainer .dcr-shop-preview-frame{flex:0 0 auto;width:100%;height:auto;aspect-ratio:1 / 1;align-self:stretch}#itemDetailsContainer .dcr-shop-preview-frame .preview{border-right:none;border-bottom:1px solid #B01BA5;border-radius:8px 8px 0 0}#itemDetailsContainer .dcr-shop-free-bonus{font-size:10px;padding:5px 8px}}
