body {
  margin: 0px;
  padding:  0px;
  background-color: #0f190d;
}

#ArtworkHelper {
  text-align: center;
  background-position: top center;
  background-attachment: scroll;
  background-repeat: no-repeat;
  width: 100%;
  /* height: 100%;  <- TO USUWAMY */
  min-width: 1000px;
  min-height: 2800px;
}
/* NEXT UP: delikatny złoty puls (bez znikania tekstu) */
.event-card.event-next-up {
    animation: eventPulse 2.8s ease-in-out infinite;
    border-color: rgba(255, 215, 0, 0.85);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.35);
    will-change: box-shadow, transform;
}

@keyframes eventPulse {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 0 8px rgba(255, 215, 0, 0.18);
    }

    50% {
        transform: translateY(-1px);
        box-shadow: 0 0 18px rgba(255, 215, 0, 0.42);
    }
}
/* LIVE: świeci na zielono i nie pulsuje */
.event-card.event-live {
    animation: none !important;
    border-color: rgba(87, 208, 99, 0.9);
    box-shadow: 0 0 16px rgba(87, 208, 99, 0.35);
}
/* container to implement min/max width */
#Bodycontainer {
  text-align: left;
  min-width: 1000px;
  max-width: 1200px;
  width: 100%;
  /* height: 100%;  <- TO TEŻ USUWAMY */
  margin: 0px;
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
  display: table;
}

#ContentRow {
  position: relative;
  top: 245px;
}

/* ===========================
   TOP QUICK BAR (REGISTER, DOWNLOAD, ETC.)
   =========================== */

#TopQuickBar {
  position: relative;
  margin: 0 auto;
  margin-top: 10px;
  margin-bottom: 5px;
  max-width: 1200px;
  min-width: 1000px;
  height: 40px; /* 30–50px, możesz zmienić np. na 36 */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

#TopQuickBar .topq-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #4b341a;
  background: linear-gradient(180deg, #7a562d 0%, #3f2c15 100%);
  box-shadow: 0 0 8px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* pojedynczy przycisk */
.topq-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 4px;
  font: bold 11px Verdana, Arial, sans-serif;
  color: #ffe58a;
  text-decoration: none;
  letter-spacing: .3px;
  border: 1px solid #3b2a14;
  background: linear-gradient(180deg,#6f4d26,#3f2c15);
  box-shadow: 0 0 5px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
  cursor: pointer;
  transition: transform .06s ease, filter .12s ease, box-shadow .12s ease;
}

.topq-btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 8px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.12);
}

.topq-btn:active {
  transform: translateY(1px);
}

.topq-icon img {
  width: 18px;
  height: 18px;
  display: block;
}

.topq-label {
  text-shadow: 1px 1px 2px #000;
}


/* "star-HTML-hack" to correct the position of the content row */
* html #ContentRow {
  display: inline-block;
}

#MenuColumn {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 180px;
  margin-right: 15px;
  margin-left: 15px;
  padding: 0px;
  font-family:  Arial, sans-serif;
  font-size: 10pt;
  font-weight: bold;
  line-height: 12pt;
  z-index: 50;
}

#ContentColumn {
  position: relative;
  margin: 0px;
  margin-left: 205px;
  margin-right: 205px;
  z-index: 1;   /* też pod menu */
}

#ThemeboxesColumn {
  text-align:  center;
  position: absolute;
  top: 0px;
  right: 0px;
  width: 180px;
  margin: 0px;
  margin-right: 15px;
  margin-left: 25px;
  z-index: 10;  /* niższe niż menu */
}

#Footer {
  font-family: Verdana, Arial, Times New Roman, sans-serif;
  font-size: 7pt;
  font-weight: normal;
  text-align: center;
  position: relative;
  width: 100%;
  padding-bottom: 20px;
  color: white;
}
* html #Footer {
  padding-bottom: 120px;
  margin-bottom: 50px;
}


/** -------------------------------
 *  Stylesheet declarations for the
 *  CONTENT AREA
 *  -------------------------------
 */

.Content .BoxContent {
  padding: 10px;
}

/* "tanhack" for correction of IE bug */
* html .Content {
  top: -5px;
}

.Content {
  position: relative;
  top: 0px;
  width: 100%;
}

/* "star-HTML-hack" to correct the position of the content area */
* html .Content {
  position: relative;
  top: 796px;
  margin: 20px;
  border: 0px dashed #061222;
  border-right-width: 550px;
}

#ContentHelper {
  position: relative;
}

/* "star-HTML-hack" to to implement min-width in IE */
* html #ContentHelper {
  display: inline-block;
  position: relative;
  top: -800px;
  margin: -20px;
  margin-right: -570px;
}

.Content .Box {
  font-size: 0pt;
  position: relative;
  margin: 5px;
  margin-bottom: 18px;
  color: #5A2800;
  border-left: 2px solid #3a3738;
  border-right: 2px solid #3a3738;
  background-color: #debb9d;
  background-repeat: no-repeat;
  overflow: visible;
}

.Content .BoxContent {
  font-family: Verdana, Arial, Times New Roman, sans-serif;
  font-size: 9pt;
  background-color: #FFF2db;
  color: #5A2800;
  min-height: 45px;
  height: auto !important;
  height: 415px;
}

/* "star-HTML-hack" to correct Box width in IE */
* html .Content .Box {
  width: 100%;
}
/* "star-HTML-hack" to correct BoxContent width in IE */
* html .Content .BoxContent {
  width: 100%;
}

.Content th {
  font-family: Verdana, Arial, Times New Roman, sans-serif;
  font-size: 10pt;
  font-weight: bold;
  text-align: left;
  color: white;
  background-color: #505050;
}

.Content .BoxContent td {
  font-family: Verdana, Arial, Times New Roman, sans-serif;
  font-size: 10pt;
  color: #5A2800;
 }

/* Content Links */

.Content a {
  font-family: Verdana, Arial, Times New Roman, sans-serif;
  font-weight: bold;
  color: #004294;
  text-decoration: none;
}
.Content a:hover {
  font-family: Verdana, Arial, Times New Roman, sans-serif;
  font-weight: bold;
  text-decoration: underline;
  color: #0063DC;
}
.Content .HelpLink {
  font-size: 7pt;
  cursor: pointer;
}

/* Corners */

.Content .Corner-tl {
  position: absolute;
  top: -4px;
  left: -5px;
  width: 17px;
  height: 17px;
  z-index: 50;
}

.Content .Corner-tr {
  position: absolute;
  top: -4px;
  right: -5px;
  width: 17px;
  height: 17px;
  z-index: 50;
}

.Content .BottomCornersHelper {
  position: absolute;
  width: 100%;
}

.Content .CornerWrapper-b {
  position: absolute;
  width:100%;
}

.Content .Corner-bl {
  position: absolute;
  bottom: -4px;
  left: -6px;
  width: 17px;
  height: 17px;
  z-index: 50;
}

.Content .Corner-br {
  position: absolute;
  bottom: -4px;
  right: -6px;
  width: 17px;
  height: 17px;
  z-index: 50;
}

/* Borders */

.Content .Border_1 {
  position: relative;
  height: 6px;
  width: 100%;
  background-repeat: repeat-x;
}

.Content .BorderTitleText {
  position: relative;
  height: 24px;
  background-repeat: repeat-x;
}

.Content .Title {
  position: absolute;
  top: 6px;
  left: 5px;
}

.Content .Border_2 {
  margin: 4px;
  padding: 0px;
  background-color: #793d03;
}

.Content .Border_3 {
  margin: 1px;
  border-top: 1px solid #793d03;
  border-bottom: 1px solid #793d03;
}

/** -------------------------------
 *  Stylesheet declarations for the
 *  THEMEBOXES of the Tibia
 *  website
 *  -------------------------------
 */


/** -------------------------------
 *  OLD Stylesheet declarations for
 *  the CONTENT AREA
 *  -------------------------------
 */

.Content .BoxContent td .white {
  color: #EFEFEF;
  visibility: visible;
}

.Content .BoxContent td .whites {
  color: #EFEFEF;
  visibility: visible;
  font-size: 9pt;
}

.Content .BoxContent .white {
  color : #EFEFEF;
  visibility : visible;
}

.Content .BoxContent td .green {
  color : #00BF00;
}

.Content .BoxContent td .yellow {
  color : #FFBB05;
}

.Content .BoxContent td .red {
  color : #EF0000;
}

.Content .BoxContent td .grey {
  color : #808080;
}

/** -------------------------------
 *  OLD Stylesheet declarations for
 *  the CONTENT AREA (forum)
 *  -------------------------------
 */

.Content .BoxContent .ff_info {
  font-family : Verdana, Arial, Times New Roman, sans-serif;
  font-size : 10pt;
  color : #5A2800;
  visibility : visible;
}

.Content .ff_white a {
  color: #FFFFFF;
}

.Content .BoxContent .ff_white {
  font-family : Verdana, Arial, Times New Roman, sans-serif;
  color : #EFEFEF;
  visibility : visible;
  font-size : 7pt;
  font-weight: bold;
}

.Content .BoxContent .ff_red {
  font-family : Verdana, Arial, Times New Roman, sans-serif;
  color : #EF0000;
  visibility : visible;
  font-size : 8pt;
  font-weight: bold;
}

.Content .BoxContent .ff_whitelarge {
  font-family : Verdana, Arial, Times New Roman, sans-serif;
  color : #EFEFEF;
  visibility : visible;
  font-size : 9pt;
  font-weight: bold;
}

.Content .BoxContent .ff_info {
  font-family : Verdana, Arial, Times New Roman, sans-serif;
  font-size : 8pt;
  color : #5A2800;
  visibility : visible;
}

.Content .BoxContent .ff_infotext {
  font-family : Verdana, Arial, Times New Roman, sans-serif;
  font-size : 8pt;
  color : #5A2800;
  visibility : visible;
  line-height: 12pt;
}

.Content .BoxContent .ff_smallinfo {
  font-family : Verdana, Arial, Times New Roman, sans-serif;
  font-size : 7pt;
  color : #5A2800;
  visibility : visible;
}

.Content .BoxContent .ff_large {
  font-family : Verdana, Arial, Times New Roman, sans-serif;
  font-size : 12pt;
  color : #5A2800;
  visibility : visible;
}

.Content .BoxContent .ff_pagetext {
  font-family : Verdana, Arial, Times New Roman, sans-serif;
  font-size : 9pt;
  color : #5A2800;
  visibility : visible;
  line-height: 13pt;
}

.Content .BoxContent .ff_pagetextgrey {
  font-family : Verdana, Arial, Times New Roman, sans-serif;
  font-size : 9pt;
  color : #505050;
  visibility : visible;
  line-height: 13pt;
}

.Content .BoxContent .ff_pagetextred {
  font-family : Verdana, Arial, Times New Roman, sans-serif;
  font-size : 9pt;
  color : #F00;
  visibility : visible;
  line-height: 13pt;
}

.Content .BoxContent .ff_correct {
  font-family : Verdana, Arial, Times New Roman, sans-serif;
  font-size : 11pt;
  color : #FF0000;
  visibility : visible;
  font-weight: bold;
}

/** --------------------------------------
 *  ### not final versions for tests
 *  ### concerning the new payment process
 *  --------------------------------------
 */

/* new error handling concept tests */

.FormFieldError {
  font-size: 8pt;
  color: red;
}
.SmallBox {
  position: relative;
  font-size: 1px;
}
.SmallBox .ErrorMessage {
  font-size: 8pt;
  position: relative;
  color: red;
  height: 100%;
  background-color: #d4c0a1;
  padding: 5px;
  padding-left: 43px;
}
.SmallBox .Message {
  font-size: 10pt;
  position: relative;
  height: 100%;
  background-color: #d4c0a1;
  padding: 10px;
}
.SmallBox .ErrorMessage ul {
  padding-left: 15px;
}
.SmallBox .BoxFrameHorizontal {
  position: relative;
  height: 4px;
}
.SmallBox .BoxFrameVerticalRight {
  position: absolute;
  right: 0px;
  top: 0px;
  width: 3px;
  background-repeat: repeat-y;
  height: 100%;
}
.SmallBox .BoxFrameVerticalLeft {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 3px;
  background-repeat: repeat-y;
  height: 100%;
}
.SmallBox .MessageContainer {
  position: relative;
  height: 100%;
}
.SmallBox .BoxFrameEdgeLeftTop {
  position: absolute;
  left: -1px;
  top: -1px;
  width: 5px;
  height: 5px;
}
.SmallBox .BoxFrameEdgeLeftBottom {
  position: absolute;
  left: -1px;
  bottom: -1px;
  width: 5px;
  height: 5px;
}
.SmallBox .BoxFrameEdgeRightTop {
  position: absolute;
  right: -1px;
  top: -1px;
  width: 5px;
  height: 5px;
}
.SmallBox .BoxFrameEdgeRightBottom {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 5px;
  height: 5px;
}
.SmallBox .AttentionSign {
  position: absolute;
  top: 3px;
  left: 8px;
  width: 30px;
  height: 26px;
}


/** ---------------------------------
 *  ### not finished versions for the
 *  ### payment process PROGRESS BAR
 *  ---------------------------------
 */

#ProgressBar #Headline {
  text-align: center;
  font-size: 12pt;
  font-weight: bold;
  margin-bottom: 5px;
}
#ProgressBar #MainContainer {
  position: relative;
  top: 10px;
  height: 50px;
  margin-bottom: 25px;
}
#ProgressBar #BackgroundContainer {
  position: relative;
  width: 100%;
}

#ProgressBar #BackgroundContainerLeftEnd {
  position: absolute;
  float: left;
}
#ProgressBar #BackgroundContainerCenter {
  position: absolute;
  left: 0px;
  top: 0px;
  height: 17px;
  width: 100%;
}
#ProgressBar #BackgroundContainerCenterImage {
  position: relative;
  margin-left: 25px;
  margin-right: 25px;
  height: 17px;
}
#ProgressBar #BackgroundContainerRightEnd {
  position: absolute;
  right: 0px;
  top: 0px;
  float: right;
}
#ProgressBar #TubeLeftEnd {
  position: absolute;
  left: 25px;
  top: 4px;
}
#ProgressBar #TubeRightEnd {
  position: absolute;
  right: 25px;
  top: 4px;
  z-index: 0;
}
#ProgressBar .Steps {
  position: relative;
  height: 39px;
  font-size: 9px;
  float: left;
  top: -11px;
  margin-left: -1px;
}
#ProgressBar #StepsContainer1 {
  text-align: right;
  margin-left: 92px;
  margin-right: 40px;
  height: 10px;
}
#ProgressBar #StepsContainer2 {
  width: 100%;
  height: 10px;
}
#ProgressBar .TubeContainer {
  position: relative;
  padding-right: 47px;
}
#ProgressBar .Tube {
  position: relative;
  top: 16px;
  left: 0px;
  width: 100%;
  height: 7px;
  background: #FFFFFF none repeat scroll 0%;
}
* html #ProgressBar .Tube {
  top: 13px;
}
#ProgressBar .SingleStepContainer {
  position: absolute;
  top: 0px;
  width: 47px;
  height: 30px;
  right: 0px;
  text-align: center;
}
#ProgressBar #FirstStep .SingleStepContainer {
  left: 45px;
  width: 47px;
  position: absolute;
}
#ProgressBar .StepIcon {
  position: absolute;
  right: 0px;
}
* html #ProgressBar .StepIcon {
  right: -1px;
}
#ProgressBar #FirstStep .StepIcon {
  top: 0px;
  left: 0px;
}
#ProgressBar .StepText {
  top: 40px;
  position: absolute;
  width: 200px;
  right: -77px;
}


/** -------------------------------
 *  Stylesheet declarations for the
 *  NEW TABLES
 *  -------------------------------
 */

.TableContainer {
  border: 1px solid black;
  position: relative;
  width: 100%;
  font-size: 1px;
}
.TableContainer .Odd {
  background-color: #f1e0c6;
}
.TableContainer .Even {
  background-color: #d5c0a1;
}

/* TABLEHEADER DECORATION */
.TableContainer .CaptionContainer {
  position: relative;
  font-size: 1pt;
  background-color: #5f4d41 !important;
  height: 100%;
  width: 100%;
  text-align: left;
}
.TableContainer .CaptionContainer .CaptionInnerContainer {
	position: relative;
  background-color: #5f4d41;
  width: 100%;
  height: 100%;
  padding-top: 3px;
  padding-bottom: 4px;
}
.TableContainer .CaptionContainer .Text {
	font-family: Verdana, Arial, Times New Roman, sans-serif;
  font-size: 10pt;
  font-weight: bold;
  text-align: left;
  color: white;
  padding-left: 10px;
  padding-top: 0px;
  padding-bottom: 0px;
}
.TableContainer .CaptionContainer .CaptionEdgeLeftTop {
	position: absolute;
  width: 5px;
  height: 5px;
	top: -2px;
  left: -2px;
  z-index: 50;
}
.TableContainer .CaptionContainer .CaptionEdgeRightTop {
	position: absolute;
  width: 5px;
  height: 5px;
	top: -2px;
  right: -2px;
  z-index: 50;
}
.TableContainer .CaptionContainer .CaptionEdgeLeftBottom {
	position: absolute;
  width: 5px;
  height: 5px;
	left: -2px;
	bottom: -3px;
  z-index: 50;
}
.TableContainer .CaptionContainer .CaptionEdgeRightBottom {
	position: absolute;
  width: 5px;
  height: 5px;
	right: -2px;
	bottom: -3px;
  z-index: 50;
}
.TableContainer .CaptionContainer .CaptionBorderTop {
  position: absolute;
  width: 100%;
  height: 4px;
  left: 0px;
  top: -1px;
}
.TableContainer .CaptionContainer .CaptionBorderBottom {
  position: absolute;
  width: 100%;
  height: 4px;
  left: 0px;
  bottom: -2px;
}
.TableContainer .CaptionContainer .CaptionVerticalLeft {
  position: absolute;
  height: 100%;
  width: 3px;
  left: -1px;
  top: 0px;
}
.TableContainer .CaptionContainer .CaptionVerticalRight {
  position: absolute;
  height: 100%;
  width: 3px;
  right: -1px;
  top: 0px;
}
* html .TableContainer .CaptionContainer .CaptionEdgeRightTop {
  right: -3px;
}
* html .TableContainer .CaptionContainer .CaptionEdgeLeftBottom {
  bottom: -4px;
}
* html .TableContainer .CaptionContainer .CaptionEdgeRightBottom {
  right: -3px;
  bottom: -4px;
}
* html .TableContainer .CaptionContainer .CaptionBorderBottom {
  bottom: -3;
}
* html .TableContainer .CaptionContainer .CaptionVerticalRight {
  right: -2px;
}
/* TABLE CONTENT */
.TableContentContainer {
  border: 1px solid #5F4D41;
  position: relative;
  margin-right: 4px;
  height: 100%;
  background-color: #d4c0a1;
  padding: 0px;
}
.TableContent {
  width: 100%;
  border-collapse: collapse;
}
.TableContent td {
  padding-left: 5px;
  padding-top: 2px;
  padding-right: 5px;
  padding-bottom: 2px;
}
/* INNERLYOUT 1 */
.TableContainer .Table1 {
  width: 100%;
  background-color: #d4c0a1;
  border: 2px solid #55636c;
}
.TableContainer .Table1 .InnerTableContainer {
  padding: 5px;
}
/* INNERLYOUT 2 */
.TableContainer .Table2 {
  width: 100%;
  border: 2px solid #55636c;
  background-color: #f1e0c5;
  padding: 0px;
  margin: 0px;
  border-collapse: collapse;
}
.TableContainer .Table2 td {
  padding: 0px;
  margin: 0px;
}
.TableContainer .Table2 .InnerTableContainer {
  margin-top: 1px;
}
.TableContainer .Table2 .InnerTableContainer table {
  border-collapse: collapse;
}
.TableContainer .Table2 .InnerTableContainer td {
  padding-top: 2px;
  padding-left: 5px;
  padding-bottom: 2px;
  padding-right: 5px;
  border: 1px solid #faf0d7;
}
/* INNERLYOUT 3 */
.TableContainer .Table3 {
  width: 100%;
  border: 2px solid #55636c;
  background-color: #f1e0c5;
}
.TableContainer .Table3 .InnerTableContainer {
  width: 100%;
  position: relative;
  margin-top: 5px;
  margin-left: 3px;
}
.TableContainer .Table3 .TableContentAndRightShadow td {
  border: 1px solid #faf0d7;
}
/* INNERLYOUT 4 */
.TableContainer .Table4 {
  width: 100%;
  border: 2px solid #55636c;
  background-color: #f1e0c5;
}
.TableContainer .Table4 .InnerTableContainer {
  width: 100%;
  position: relative;
  margin-top: 3px;
}
.TableContainer .Table4 .TableContentAndRightShadow .TableContent td {
  padding-left: 4px;
  padding-top: 2px;
  padding-bottom: 2px;
}
/* INNERLYOUT 5 */
.TableContainer .Table5 {
  width: 100%;
  border: 2px solid #55636c;
  background-color: #f1e0c5;
}
.TableContainer .Table5 .InnerTableContainer {
  width: 100%;
  position: relative;
  margin-top: 5px;
  margin-left: 3px;
}
.TableContainer .Table5 .TableContentAndRightShadow .TableContent td {
  padding-left: 4px;
  padding-top: 2px;
  padding-bottom: 2px;
}
/* SHADOWS */
.TableShadowContainerRightTop {
  position: relative;
  top: 0px;
  right: 3px;
  margin-right: 0px;
  font-size: 1px;
  float: right;
  z-index: 99;
}
.TableShadowRightTop {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 4px;
  height: 5px;
  z-index: 99;
}
.TableContentAndRightShadow {
  position: relative;
  background-repeat: repeat-y;
  background-position: top right;
  margin-right: 3px;
  font-size: 1px;
}
.TableShadowContainer {
  position: relative;
  widht: 100%;
  margin-right: 5px;
}
.TableBottomShadow {
  position: relative;
  font-size: 1px;
  height: 5px;
  width: 100%;
  padding: 0px;
  margin: 0px;
}
.TableBottomLeftShadow {
  position: relative;
  height: 5px;
  width: 4px;
  float: left;
  padding: 0px;
  margin: 0px;
}
.TableBottomRightShadow {
  position: relative;
  float: right;
  right: -2px;
  top: 0px;
  height: 5px;
  width: 4px;
}
/* LABELS */
.LabelV {
  font-weight: bold;
  padding-right: 10px;
  white-space: nowrap;
  vertical-align: top;
}
.LabelH {
  font-weight: bold;
  padding-right: 10px;
  white-space: nowrap;
  background-color: #d5c0a1;

}
.LabelH td {
  background-color: #d5c0a1;
  padding-left: 5px;
  padding-top: 2px;
  padding-right: 5px;
  padding-bottom: 2px;
}

/* BUTTONS */
.InnerTableButtonRow {
  width: 100%;
  padding-left: 1px;
  padding-right: 0px;
  padding-bottom: 4px;
  border: 0px;
}
.InnerTableButtonRow td {
  padding-right: 4px;
}
.BigButton {
  position: relative;
  width: 135px;
  height: 25px;
  z-index: 10;
}
.BigButtonOver {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 137px;
  height: 25px;
  visibility: hidden;
  z-index: 15;
}
.ButtonText {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 25px;
  width: 135px;
  z-index: 20;
}
.TopButtonContainer {
  position: relative;
  right: 4px;
  top: 4px;
  z-index: 60;
}
* html .TopButtonContainer {
  right: 27px;
}
.TopButtonContainer .TopButton {
  position: absolute;
  right: 0px;
  z-index: 55;
}
.Content .BoxContent .Odd {
  background-color: #D4C0A1;
  padding: 2px;
}

.Content .BoxContent .Even {
  background-color: #F1E0C6;
  padding: 2px;
}

.Content .NewsCategoryIconSmall {
  position: absolute;
  top: 1px;
  left: 1px;
  height: 16px;
  width: 16px;
  background-repeat: no-repeat;
}
.Content .BoxContent .Odd {
  background-color: #D4C0A1;
  padding: 2px;
}

.Content .BoxContent .Even {
  background-color: #F1E0C6;
  padding: 2px;
}

.Content .NewsCategoryIconSmall {
  position: absolute;
  top: 1px;
  left: 1px;
  height: 16px;
  width: 16px;
  background-repeat: no-repeat;
}
.Content .BoxContent .Odd {
  background-color: #D4C0A1;
  padding: 2px;
}

.Content .BoxContent .Even {
  background-color: #F1E0C6;
  padding: 2px;
}

.Content .NewsCategoryIconSmall {
  position: absolute;
  top: 1px;
  left: 1px;
  height: 16px;
  width: 16px;
  background-repeat: no-repeat;
}

/* News Ticker */

.Content #NewsTicker .BoxContent {
  padding: 5px;
  min-height: 90px;
  height: auto !important;
  height: 100px;
}

.Content #NewsTicker .BoxContent .Row {
  position: relative;
  width: 100%;
}

.Content #NewsTicker .NewsTickerIcon {
  position: absolute;
  top: 1px;
  left: 1px;
  height: 16px;
  width: 16px;
  background-repeat: no-repeat;
}

.Content #NewsTicker .NewsTickerText {
  font-size: 9pt;
  position: relative;
  margin-left: 20px;
}

.Content #NewsTicker .NewsTickerDate {
  font-size: 7pt;
  position: absolute;
  top: 0px;
  float: left;
}

.Content #NewsTicker .NewsTickerShortText {
  margin-left: 85px;
  height: 14px;
}

.Content #NewsTicker .NewsTickerFullText {
  margin-left: 85px;
  margin-right: 20px;
  display: none;
}

.Content #NewsTicker .NewsTickerExtend {
  position: relative;
  right: 0px;
  top: 1px;
  right: 1px;
  height: 12px;
  width: 12px;
  background-repeat: no-repeat;
  float: right;
  cursor: pointer;
  z-index: 10;
}

/* Featured Article */

.Content #FeaturedArticle .BoxContent {
  position:relative;
  height: 100px;
  padding: 5px;
  padding-left: 10px;
  min-height: 100px;
  height: auto !important;
  height: 110px;
  line-height: 10.5pt;
}

.Content #FeaturedArticle #TeaserThumbnail {
  position: relative;
  top: 0px;
  right: 0px;
  height: 100px;
  width: 150px;
  margin-left: 10px;
  background-color: black;
  z-index: 90;
  float: right;
}

#ContentHelper #FeaturedArticle:first-child .BoxContent {
  padding: 10px;
}

.Content #FeaturedArticle #TeaserText {
  height: 100px;
  overflow: hidden;
  z-index: 0;
}

.Content #FeaturedArticle #Link {
  position: absolute;
  top: 0px;
  right: 0px;
  margin: 89 165 0 0;
  z-index: 99;
}

.Content #FeaturedArticle .NewsHeadlineBackground {
  position: relative;
  height: 28px;
  margin-bottom: 5px;
  background-repeat: repeat-x;
  border-left: 1px solid #000000;
  border-right: 1px solid #000000;
}

.Content #FeaturedArticle .NewsHeadlineIcon {
  position: absolute;
  top: -1px;
  left: 0px;
  margin-left: 5px;
  margin-right: 5px;
  float:left;
}

.Content #FeaturedArticle .NewsHeadlineDate {
  font-size: 7pt;
  position: absolute;
  top: 9px;
  left: 50px;
  width: 85px;
  color: white;
}

.Content #FeaturedArticle .NewsHeadlineText {
  position: relative;
  top: 8px;
  left: 135px;
  font-size: 10pt;
  font-weight: bold;
  color: white;
}

/* News */

.Content #News .BoxContent {
  min-height: 100px;
  height: auto !important;
  height: 110px;
}

.Content #News .NewsHeadlineBackground {
  position: relative;
  height: 28px;
  margin-bottom: 5px;
  background-repeat: repeat-x;
  border-left: 1px solid #000000;
  border-right: 1px solid #000000;
}

.Content #News .NewsHeadlineIcon {
  position: absolute;
  top: -1px;
  left: 0px;
  margin-left: 5px;
  margin-right: 5px;
}

.Content #News .NewsHeadlineDate {
  font-size: 7pt;
  position: absolute;
  top: 10px;
  left: 50px;
  width: 85px;
  color: white;
}

.Content #News .NewsHeadlineText {
  position: relative;
  top: 7px;
  left: 135px;
  font-size: 10pt;
  font-weight: bold;
  color: white;
}

/* News Archive */

.Content #NewsArchive .NewsHeadlineBackground {
  position: relative;
  height: 28px;
  margin-bottom: 5px;
  background-repeat: repeat-x;
  border-left: 1px solid #000000;
  border-right: 1px solid #000000;
}

.Content #NewsArchive .NewsHeadlineIcon {
  position: absolute;
  top: -1px;
  left: 0px;
  margin-left: 5px;
  margin-right: 5px;
}

.Content #NewsArchive .NewsHeadlineDate {
  font-size: 7pt;
  position: absolute;
  top: 9px;
  left: 50px;
  width: 85px;
  color: white;
}

.Content #NewsArchive .NewsHeadlineText {
  position: relative;
  top: 7px;
  left: 135px;
  font-size: 10pt;
  font-weight: bold;
  color: white;
}


  /* kolejność: najpierw logo/login, potem content, potem prawa kolumna */
  #MenuColumn {
    margin-bottom: 10px;
  }

  #ContentColumn {
    margin-bottom: 10px;
  }

  #ThemeboxesColumn {
    text-align: center;
    margin-bottom: 20px;
  }

  /* boxy tematyczne na środku */
  #Themeboxes .Themebox {
    margin-left: auto;
    margin-right: auto;
  }

  /* zawartość nie powinna mieć sztywnej wysokości */
  .Content .BoxContent {
    height: auto !important;
    min-height: 0;
  }



/* --- MOBILE MENU TOP BAR (domyślnie ukryty na desktopie) --- */
#MobileMenuBar {
  display: none; /* desktop: niewidoczny */
}

#MobileMenuBar .mm-inner {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  font-family: Verdana, Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
  color: #ffe9b0;
}

#MobileMenuBar .mm-title {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

#MobileMenuBar .mm-dots {
  display: inline-flex;
  gap: 4px;
}

#MobileMenuBar .mm-dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffe9b0;
  box-shadow: 0 0 4px rgba(0, 0, 0, .8);
}

/* NOWY LEWY SIDEBAR */
/* --- LEWA KOLUMNA: pozycja --- */


#MenuColumn {
  /* szerokość możesz dopasować pod siebie */
  width: 190px;
  /* lekkie przesunięcie w lewo od środka (odstęp od głównego boxa) */
  margin: 0 22px 0 5px;  /* right = przerwa od ContentColumn */
}

/* --- LEWE MENU: nowy „drewniany” wygląd --- */

.side-nav {
  background: radial-gradient(circle at top left, rgba(120,80,40,0.65), rgba(10,7,4,0.95));
  border: 1px solid #4b341a;
  border-radius: 6px;
  box-shadow:
    0 0 10px rgba(0,0,0,0.75),
    inset 0 0 8px rgba(0,0,0,0.6);
  padding: 10px 10px 12px;
}

/* separator sekcji – trochę jaśniejszy pasek */
.side-section {
  margin-bottom: 14px;
}

.side-section:last-child {
  margin-bottom: 0;
}

/* tytuł sekcji: złota linia jak ramki contentu */
.side-section-title {
  font-family: 'Trebuchet MS', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  color: #f6d89a;
  padding: 4px 4px 6px;
  border-bottom: 1px solid rgba(255, 229, 154, 0.25);
  margin-bottom: 4px;
  text-shadow: 1px 1px 2px #000;
}

/* linki: delikatnie brązowe, z hoverem i lekkim przesunięciem */
.side-link {
  display: block;
  padding: 5px 7px;
  margin: 1px 0;
  color: #e2d4c0;
  text-decoration: none;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  background: rgba(0,0,0,0.15);
  transition:
    background 0.15s ease-out,
    transform 0.15s ease-out,
    box-shadow 0.15s ease-out,
    color 0.15s ease-out;
}

.side-link .bullet {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #f3d37a;
  margin-right: 6px;
  vertical-align: middle;
}

.side-link:hover {
  background: rgba(255, 229, 154, 0.10);
  transform: translateX(2px);
  box-shadow: 0 0 5px rgba(0,0,0,0.6);
  color: #fff3cf;
}

/* aktywna zakładka – złoty pasek jak w starym gesiorze */
.side-link.active {
  background: linear-gradient(90deg, #7a4e12 0%, #b58023 70%, #5b3a12 100%);
  color: #ffffff;
  font-weight: bold;
  box-shadow: 0 0 6px rgba(0,0,0,0.8);
}

.side-link.active .bullet {
  background: #ffffff;
}
/* --- SERVER STATUS BAR --- */
#ServerStatusBar {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 4px 0 10px;
}

#ServerStatusBar .ss-inner {
  background: linear-gradient(180deg, #876029, #5d421c);
  border: 1px solid #3a2a14;
  box-shadow: 0 0 6px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.12);
  padding: 6px 14px;
  border-radius: 6px;
  color: #ffe9b0;
  display: flex;
  align-items: center;
  gap: 8px;
  font: bold 13px Verdana, Arial, sans-serif;
  text-shadow: 1px 1px 2px #000;
}

/* zielona ikonka „online” */
#ServerStatusBar .ss-icon {
  width: 12px;
  height: 12px;
  background: #57d063;
  border-radius: 50%;
  box-shadow: 0 0 6px #57d063;
}

/* tekst */
#ServerStatusBar .ss-text {
  display: inline-block;
}
/* żeby nie było przerwy między top barem a statusem */
#TopQuickBar {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px; /* odstęp dopiero od contentu */
}

/* status przyczepiony bez marginesu */
#ServerStatusBar {
  margin-top: 0;
}

/* mały, półprzezroczysty pasek, szerokość dopasowana do topq-inner */
#ServerStatusBar .ss-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px 6px;
  margin-top: -3px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(
    180deg,
    rgba(12, 8, 4, 0.75),
    rgba(12, 8, 4, 0.45)
  );
  border: 1px solid rgba(0, 0, 0, 0.7);
  border-top: none;
  box-shadow:
    0 4px 8px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.1);

  color: #ffe9b0;
  font: bold 12px Verdana, Arial, sans-serif;
  text-shadow: 1px 1px 2px #000;

  text-decoration: none;  /* nie wygląda jak link */
  cursor: pointer;        /* ładny hover jak na link */
  transition: background 0.2s ease-out, filter 0.2s ease-out;
}

/* efekt hover */
#ServerStatusBar .ss-inner:hover {
  filter: brightness(1.15);
}


/* ===========================
   MOBILE (max-width: 980px)
   =========================== */
@media (max-width: 980px) {
#ArtworkHelper {
  background-image: linear-gradient(
    to bottom,
    #120f0b 0%,     /* mroczny top */
    #1e1810 40%,    /* miękkie przejście */
    #2a2217 100%    /* lekko złotawy dół */
  ) !important;

  background-color: #120f0b !important; /* fallback */
  background-size: cover;
  background-position: top center;
  min-height: auto !important;
}

#Bodycontainer {
  background: transparent !important;
}
  /* ogólne – normalny pionowy scroll, bez poziomego */
  html,
  body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
  }

  /* TOP BAR MENU – tylko na mobile, przyklejony na górze */
  #MobileMenuBar {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(180deg, #7a562d, #3f2c15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .8);
    border-bottom: 1px solid rgba(0, 0, 0, .8);
  }

  #MobileMenuBar .mm-inner {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    font-family: Verdana, Arial, sans-serif;
    font-size: 13px;
    font-weight: bold;
    color: #ffe9b0;
    cursor: pointer;
  }

  /* tło + główny kontener: zwykłe bloki, bez 100% wysokości */
  #ArtworkHelper,
  #Bodycontainer {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 100vh !important;
    min-width: 0 !important;
    background-size: cover;
    background-position: top center;
  }

  /* TOP QUICK BAR – ukryty na mobile (Register/Download/Highscores/Wiki) */
  #TopQuickBar {
    display: none;
  }

  /* ServerStatusBar – pełna szerokość pod top barem */
  #ServerStatusBar {
    width: 100%;
    padding: 0 6px 6px;
    margin: 0;
    display: flex;
    justify-content: center;
  }

  #ServerStatusBar .ss-inner {
    width: 100%;
    justify-content: center;
    border-radius: 0 0 8px 8px;
  }

  /* ContentRow niżej pod top barem */
  #ContentRow {
    position: static !important;
    top: auto !important;
    padding: 60px 8px 16px !important; /* miejsce pod MobileMenuBar */
    display: block;
  }

  /* środkowa i prawa kolumna jako zwykłe bloki pod sobą */
  #ContentColumn,
  #ThemeboxesColumn {
    position: static !important;
    float: none !important;
    width: 100% !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    clear: both;
  }

  /* box z treścią bez sztywnej wysokości */
  .Content .BoxContent {
    height: auto !important;
    min-height: 0 !important;
  }

  /* --- LEWE MENU: DOMYŚLNIE UKRYTE (wysuwane) --- */

  /* na starcie w ogóle go nie ma w layoucie */
 /* --- LEWE MENU: PANEL WYSUWANY Z PRAWEJ STRONY --- */
/* Overlay na CAŁĄ szerokość, scrolluje się CAŁOŚĆ */
/* --- LEWE MENU: PANEL WYSUWANY Z PRAWEJ STRONY --- */
/* --- LEWE MENU: PANEL WYSUWANY Z PRAWEJ STRONY --- */
#MenuColumn {
  position: fixed !important;
  top: 44px !important;      /* wysokość MobileMenuBar */
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;

  width: 100% !important;
  margin: 0 !important;

  /* ciemne tło pod panelem */
  background: rgba(0, 0, 0, 0.4);

  /* start: schowane po prawej */
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;

  display: block !important;
  z-index: 9998 !important;

  /* UWAGA: overlay nie ma scrolla */
  overflow: hidden !important;
  -webkit-overflow-scrolling: auto !important;

  transition: transform .40s ease, opacity .25s ease;
}

/* Właściwy panel menu – 82% z prawej, tutaj jest scroll */
#MenuColumn .side-nav {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;

  width: 82% !important;
  max-width: 420px !important;
  margin: 0 !important;

  background: radial-gradient(circle at top left,
    rgba(120, 80, 40, 0.95),
    rgba(5, 3, 2, 0.98)
  ) !important;

  padding: 10px 10px 80px !important;

  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
}

/* STAN OTWARTY – po kliknięciu MENU */
body.mobile-menu-open #MenuColumn {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

    /* zablokuj scroll tła gdy menu jest otwarte (pewnie działa na iOS/Android) */
    html.mobile-menu-open,
    body.mobile-menu-open {
        overflow: hidden !important;
        height: 100% !important;
    }

    body.mobile-menu-open {
        position: fixed !important;
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        /* top ustawiamy w JS na -scrollY */
        overscroll-behavior: contain;
    }

  /* prawa kolumna wycentrowana */
  #ThemeboxesColumn {
    text-align: center;
    margin-bottom: 20px;
  }

  /* CTA przyciski – środek */
  #CTAButtons {
    width: 100%;
    max-width: 420px;
    margin: 10px auto;
    padding: 0 10px;
  }

  /* slider + eventy pod sobą */
  .sshot-and-events {
    flex-direction: column;
  }

  .events-side {
    width: 100%;
    margin-top: 10px;
  }

  .event-card {
    font-size: 11px;
  }

  /* obrazki i tabelki w treści responsywne */
  .Content img {
    max-width: 100%;
    height: auto;
  }

  .Content table {
    max-width: 100%;
    width: 100%;
    overflow-x: auto;
    display: block;
  }
}
/* ===========================
   FLOATING DISCORD (MOBILE)
   =========================== */
#DiscordFloatBtn {
    display: none;
}

@media (max-width: 980px) {
    #DiscordFloatBtn {
        display: flex;
        align-items: center;
        gap: 5px;
        position: fixed;
        left: 0;
        top: 55px;
        transform: none;
        z-index: 10000;
        padding: 6px 7px 6px 6px;
        border-radius: 0 8px 8px 0;
        text-decoration: none;
        font: bold 10px Verdana, Arial, sans-serif;
        color: #ffe58a;
        text-shadow: 1px 1px 2px #000;
        background: linear-gradient(180deg,#6f4d26,#3f2c15);
        border: 1px solid #4b341a;
        border-left: none;
        box-shadow: 0 0 8px rgba(0,0,0,.55);
        -webkit-tap-highlight-color: transparent;
        /* POWOLNE MIGANIE */
        animation: discordPulse 2.8s ease-in-out infinite;
    }

        #DiscordFloatBtn img {
            width: 14px;
            height: 14px;
            display: block;
        }

 
}

/* animacja najlepiej poza @media */
@keyframes discordPulse {
    0% {
        filter: brightness(1);
        box-shadow: 0 0 6px rgba(0,0,0,.5);
    }

    50% {
        filter: brightness(1.25);
        box-shadow: 0 0 14px rgba(255, 215, 140, .8);
    }

    100% {
        filter: brightness(1);
        box-shadow: 0 0 6px rgba(0,0,0,.5);
    }
}
#WikiFloatBtn {
    display: flex;
    align-items: center;
    gap: 5px;
    position: fixed;
    left: 0;
    top: 90px; /* ⬅ POD DISCORDEM (Discord masz ~150px) */
    transform: none;
    z-index: 9999; /* minimalnie pod Discordem */
    padding: 6px 7px 6px 6px;
    border-radius: 0 8px 8px 0;
    text-decoration: none;
    font: bold 10px Verdana, Arial, sans-serif;
    color: #ffe58a;
    text-shadow: 1px 1px 2px #000;
    background: linear-gradient(180deg,#6f4d26,#3f2c15);
    border: 1px solid #4b341a;
    border-left: none;
    box-shadow: 0 0 8px rgba(0,0,0,.55);
    -webkit-tap-highlight-color: transparent;
    animation: discordPulse 3.5s ease-in-out infinite;
}

    #WikiFloatBtn img {
        width: 14px;
        height: 14px;
        display: block;
    }

/* ultra-wąska wersja (opcjonalnie) */
/* #WikiFloatBtn span { display:none; } */
}
/* Gdy mobilne menu jest otwarte: Discord + Wiki mają być POD menu i przygaszone */
@media (max-width: 980px) {
    body.mobile-menu-open #DiscordFloatBtn,
    body.mobile-menu-open #WikiFloatBtn {
        z-index: 9997 !important; /* menu ma 9998, więc będzie NAD nimi */
        opacity: 0.25 !important; /* przygaszenie */
        filter: grayscale(1) brightness(.85) !important;
        pointer-events: none !important; /* żeby nie dało się klikać pod menu */
    }
}

/* Menu overlay zawsze najwyżej */
body.mobile-menu-open #MenuColumn {
    z-index: 20000 !important;
}

/* Pasek na górze jeszcze wyżej */
#MobileMenuBar {
    z-index: 20001 !important;
}

/* Przy otwartym menu: Discord + Wiki chowamy (najpewniejsze) */
body.mobile-menu-open #DiscordFloatBtn,
body.mobile-menu-open #WikiFloatBtn {
    display: none !important;
}

/* ===========================
   RIGHT MENU social glow
   =========================== */
#RightMenu .social-panel,
#RightMenu .social-top,
#RightMenu .fb-wrap,
#RightMenu .discord-mini {
    overflow: visible !important;
}

/* Facebook icon */
#RightMenu a.social-icon {
    position: relative !important;
    transition: filter .2s ease, transform .2s ease, box-shadow .2s ease !important;
}

    #RightMenu a.social-icon:hover {
        transform: translateY(-1px) !important;
        filter: brightness(1.2) !important;
        box-shadow: 0 0 10px rgba(255, 215, 140, .75), 0 0 18px rgba(255, 215, 140, .45), inset 0 0 10px rgba(255, 215, 140, .18) !important;
    }

/* Discord mini button */
#RightMenu .discord-mini a {
    position: relative !important;
    transition: filter .2s ease, transform .2s ease, box-shadow .2s ease !important;
}

    #RightMenu .discord-mini a:hover {
        transform: translateY(-1px) !important;
        filter: brightness(1.18) !important;
        box-shadow: 0 0 10px rgba(255, 215, 140, .75), 0 0 18px rgba(255, 215, 140, .45), inset 0 0 12px rgba(255, 215, 140, .20) !important;
    }

        #RightMenu .discord-mini a:hover span {
            color: #fff2c0 !important;
            text-shadow: 0 0 8px rgba(255, 215, 140, .9) !important;
        }

/* ===========================
   SOCIAL ICONS – IDLE GLOW
   =========================== */

@keyframes socialIdleGlow {
    0% {
        filter: brightness(1);
        box-shadow: 0 0 6px rgba(255,215,140,.25);
    }

    50% {
        filter: brightness(1.12);
        box-shadow: 0 0 10px rgba(255,215,140,.55), 0 0 18px rgba(255,215,140,.35);
    }

    100% {
        filter: brightness(1);
        box-shadow: 0 0 6px rgba(255,215,140,.25);
    }
}
/* Facebook + Discord – idle pulse */
#RightMenu a.social-icon,
#RightMenu .discord-mini a {
    animation: socialIdleGlow 3.8s ease-in-out infinite;
    transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
    will-change: box-shadow, filter, transform;
}
    #RightMenu .discord-mini a.discord-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }

        #RightMenu .discord-mini a.discord-link img {
            margin-bottom: 2px;
        }

#RightMenu .discord-mini .discord-title {
    font-weight: bold;
}

#RightMenu .discord-mini .discord-stats {
    font-size: 10px;
    opacity: .85;
    font-weight: normal;
    text-shadow: 1px 1px 2px #000;
    line-height: 1.1;
}
/* ===========================
   FACEBOOK BIG (SAFE OVERRIDE)
   =========================== */
#RightMenu .fb-wrap {
    text-align: center;
}

#RightMenu a.social-icon.facebook-big {
    /* NIE rozwalaj layoutu: wymuś normalny “button” */
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    /* żeby nie brało stylu linków z Content a */
    text-decoration: none !important;
    /* stabilny rozmiar i odstępy */
    padding: 6px 8px !important;
    border-radius: 8px !important;
    /* niech nie rozpycha kolumny */
    width: auto !important;
    max-width: 160px !important;
    box-sizing: border-box !important;
}

    #RightMenu a.social-icon.facebook-big .fb-ico {
        width: 44px !important;
        height: 44px !important;
        display: block !important;
        margin: 0 0 3px 0 !important;
    }

    #RightMenu a.social-icon.facebook-big .fb-title {
        display: block !important;
        font-weight: bold !important;
        font-size: 12px !important;
        line-height: 1.1 !important;
        color: #ffe9b0 !important;
        text-shadow: 1px 1px 2px #000 !important;
    }

    #RightMenu a.social-icon.facebook-big .fb-stats {
        display: block !important;
        font-size: 11px !important;
        line-height: 1.1 !important;
        opacity: .85 !important;
        color: #ffe9b0 !important;
        text-shadow: 1px 1px 2px #000 !important;
    }
/* ===========================
   SOCIAL BUTTONS – FIX HEIGHT
   =========================== */

/* Daj im więcej "góry i dołu" + zdejmij ewentualne stałe height */
#RightMenu a.social-icon.facebook-big,
#RightMenu .discord-mini a.discord-link {
    height: auto !important;
    min-height: 72px !important; /* ⬅ tu rośnie kafelek */
    padding: 10px 12px 9px !important; /* ⬅ góra/dół większe */
    box-sizing: border-box !important;
}

    /* Facebook ikonka – wymuś normalne pozycjonowanie i rozmiar */
    #RightMenu a.social-icon.facebook-big .fb-ico {
        position: static !important;
        display: block !important;
        width: 36px !important;
        height: 36px !important;
        margin: 0 auto 4px auto !important;
    }

    /* (opcjonalnie) Discord ikonka też spójnie */
    #RightMenu .discord-mini a.discord-link img {
        width: 24px !important;
        height: 24px !important;
        display: block !important;
        margin: 0 auto 4px auto !important;
    }
/* ===========================
   MOBILE TOP PANEL (ONLY MOBILE)
   =========================== */
#MobileTopPanel {
    display: none; /* desktop OFF */
}

@media (max-width: 980px) {

    /* zamiast pływających — masz panel */
    #DiscordFloatBtn,
    #WikiFloatBtn {
        display: none !important;
    }

    #MobileTopPanel {
        display: block;
        width: 100%;
        max-width: 520px;
        margin: 0 auto 10px;
        padding: 10px 8px 12px;
        border: 1px solid #4b341a;
        border-radius: 10px;
        background: radial-gradient(circle at top left, rgba(120,80,40,0.85), rgba(10,7,4,0.96));
        box-shadow: 0 0 10px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.08);
    }

    .mtp-top {
        display: grid;
        grid-template-columns: 1fr 1fr 1.2fr 1fr;
        gap: 8px;
        align-items: stretch;
        margin-bottom: 10px;
    }

    .mtp-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 10px 8px;
        border-radius: 8px;
        text-decoration: none;
        font: bold 12px Verdana, Arial, sans-serif;
        color: #ffe58a;
        text-shadow: 1px 1px 2px #000;
        border: 1px solid #4b341a;
        background: linear-gradient(180deg,#6f4d26,#3f2c15);
        box-shadow: 0 0 6px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
        -webkit-tap-highlight-color: transparent;
    }

        .mtp-btn img {
            width: 16px;
            height: 16px;
            display: block;
        }

        .mtp-btn:active {
            transform: translateY(1px);
        }

        .mtp-btn:hover {
            filter: brightness(1.08);
        }

    .mtp-online {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px 8px;
        border-radius: 8px;
        text-decoration: none;
        font: bold 12px Verdana, Arial, sans-serif;
        color: #ffe9b0;
        text-shadow: 1px 1px 2px #000;
        border: 1px solid rgba(0,0,0,.75);
        background: linear-gradient(180deg, rgba(12, 8, 4, 0.85), rgba(12, 8, 4, 0.55));
        box-shadow: 0 0 6px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.08);
    }

    .mtp-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #57d063;
        box-shadow: 0 0 8px rgba(87,208,99,.9);
        flex: 0 0 10px;
    }

    #MobileTopPanelSliderSlot {
        margin-top: 6px;
    }



    .mtp-download {
        display: block;
        margin-top: 10px;
        padding: 12px 10px;
        text-align: center;
        border-radius: 10px;
        text-decoration: none;
        font: bold 13px Verdana, Arial, sans-serif;
        color: #ffe58a;
        text-shadow: 1px 1px 2px #000;
        border: 1px solid #2f4012;
        background: linear-gradient(180deg, #6c8a28 0%, #3b4d16 100%);
        box-shadow: 0 0 8px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.08);
    }

        .mtp-download:hover {
            filter: brightness(1.08);
        }

        .mtp-download:active {
            transform: translateY(1px);
        }

    /* na ultra wąskich ekranach: 2 rzędy */
    @media (max-width: 380px) {
        .mtp-top {
            grid-template-columns: 1fr 1fr;
        }
    }
}

/* ===== DESKTOP TOP SLIDER PANEL (nad głównym boxem) ===== */
#DesktopTopSliderSlot {
    margin: 0 5px 12px; /* pasuje do .Content .Box (tam masz margin:5px) */
}

    #DesktopTopSliderSlot .sshot-widget {
        /* wygląd jak tibijne boxy */
        border: 2px solid #3a3738;
        background: #debb9d;
        border-radius: 0; /* gesior lubi “kanciaste” */
        box-shadow: none;
    }

    /* sam “środek” jak scroll.gif */
    #DesktopTopSliderSlot .sshot-view {
        height: 270px; /* możesz dać 160–220 */
        background: #FFF2db url('images/content/scroll.gif') repeat;
        border-top: 1px solid #793d03;
        border-bottom: 1px solid #793d03;
    }



/* ===========================
   SCREENSHOT SLIDER (ONE SOURCE OF TRUTH)
   =========================== */

/* ===========================
   SCREENSHOT SLIDER – ONE SOURCE OF TRUTH
   =========================== */

/* ===========================
   SCREENSHOT SLIDER – FINAL (NO CROP, NO GREY)
   =========================== */

#cronot-sshot {
    margin: 0 0 12px;
}

    /* stały kadr = brak skakania */
    #cronot-sshot .sshot-view {
        position: relative;
        width: 100%;
        aspect-ratio: 16 / 8; /* możesz zmienić np 16/6.5 */
        overflow: hidden;
        background: #1d1a13;
    }

        /* rozmazane tło z tego samego obrazka */
        #cronot-sshot .sshot-view::before {
            content: "";
            position: absolute;
            inset: 0;
            background-image: var(--sshot-bg);
            background-size: cover;
            background-position: center;
            filter: blur(18px) brightness(0.75);
            transform: scale(1.10); /* żeby blur nie robił krawędzi */
        }

        /* delikatna winieta (ładniejsze przejście) */
        #cronot-sshot .sshot-view::after {
            content: "";
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at center, rgba(0,0,0,0) 55%, rgba(0,0,0,.35) 100%);
        }

        #cronot-sshot .sshot-view img {
            position: relative;
            z-index: 2;
            width: 100%;
            height: 100%;
            display: block;
            object-fit: contain; /* <<< pełny obraz, bez ucinania */
            object-position: center;
        }

    /* większe strzałki */
    #cronot-sshot .sshot-btn {
        position: absolute;
        z-index: 3;
        top: 50%;
        transform: translateY(-50%);
        width: 46px;
        height: 72px;
        line-height: 70px;
        text-align: center;
        border: 2px solid #4b341a;
        border-radius: 10px;
        background: linear-gradient(180deg,#8a6234,#3f2c15);
        color: #ffe9b0;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
        user-select: none;
        box-shadow: 0 0 10px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.15);
    }

        #cronot-sshot .sshot-btn:hover {
            filter: brightness(1.15);
        }

    #cronot-sshot .sshot-prev {
        left: 12px;
    }

    #cronot-sshot .sshot-next {
        right: 12px;
    }

/* mobile: ciut wyższy kadr */
@media (max-width: 980px) {
    #cronot-sshot .sshot-view {
        aspect-ratio: 16 / 9;
    }
}
/* MOBILE: slider bez tibijnej ramki (usuwa czarne paski/cienie nad/pod) */
@media (max-width: 980px) {
    #cronot-sshot {
        margin: 0 !important;
        background: transparent !important;
        border: 0 !important;
    }

        /* schowaj narożniki i bordery z Gesiora */
        #cronot-sshot .Corner-tl,
        #cronot-sshot .Corner-tr,
        #cronot-sshot .CornerWrapper-b,
        #cronot-sshot .Corner-bl,
        #cronot-sshot .Corner-br,
        #cronot-sshot .Border_1,
        #cronot-sshot .BorderTitleText {
            display: none !important;
        }

        /* zdejmij te “brązowe” ramki pośrednie */
        #cronot-sshot .Border_2,
        #cronot-sshot .Border_3 {
            margin: 0 !important;
            border: 0 !important;
            background: transparent !important;
        }

        /* zdejmij scroll.gif + padding, żeby nie robiło pasów */
        #cronot-sshot .BoxContent {
            padding: 0 !important;
            background: transparent !important;
        }

        /* opcjonalnie: lekko zaokrąglij sam kadr */
        #cronot-sshot .sshot-view {
            border-radius: 10px;
            overflow: hidden;
        }
}

/* MOBILE: slider bez stałego kadru (zero pasów nad/pod obrazem) */
@media (max-width: 980px) {

    /* zdejmij “ramki” i tła boxa (żeby nie robiło cieni) */
    #cronot-sshot,
    #cronot-sshot .Border_2,
    #cronot-sshot .Border_3,
    #cronot-sshot .BoxContent,
    #cronot-sshot .sshot-inner {
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        background-image: none !important;
        box-shadow: none !important;
    }

        #cronot-sshot .Corner-tl,
        #cronot-sshot .Corner-tr,
        #cronot-sshot .CornerWrapper-b,
        #cronot-sshot .Corner-bl,
        #cronot-sshot .Corner-br,
        #cronot-sshot .Border_1,
        #cronot-sshot .BorderTitleText {
            display: none !important;
        }

        /* KLUCZ: usuń stały kadr i blur/vignette */
        #cronot-sshot .sshot-view {
            aspect-ratio: auto !important;
            height: auto !important;
            background: transparent !important;
            overflow: visible !important;
        }

            #cronot-sshot .sshot-view::before,
            #cronot-sshot .sshot-view::after {
                display: none !important;
            }

            /* obraz ma sam ustalić wysokość */
            #cronot-sshot .sshot-view img {
                width: 100% !important;
                height: auto !important;
                object-fit: unset !important;
                display: block !important;
                border-radius: 10px;
            }

        /* strzałki nadal na środku obrazka */
        #cronot-sshot .sshot-btn {
            top: 50% !important;
            transform: translateY(-50%) !important;
        }
}
/* MOBILE: twarde zbicie wszystkiego, żeby nic nie pchało szerokości (ucina prawa strona) */
@media (max-width: 980px) {

    #ArtworkHelper,
    #Bodycontainer,
    #ContentRow,
    #ContentColumn,
    #ThemeboxesColumn,
    #MobileTopPanel {
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* bardzo częsty winowajca: coś ma 100vw i robi overflow */
    html, body {
        overflow-x: hidden !important;
    }

    /* jeśli gdzieś w środku masz elementy robiące 101% (np. boxy/ramki) */
    * {
        box-sizing: border-box;
    }

    /* awaryjnie: żadna grafika/box nie może wyjść poza ekran */
    img, video, iframe, table, .Box, .Content, .BoxContent {
        max-width: 100% !important;
    }
}
/* Slider: animacja zmiany (slide + fade) */
#cronot-sshot .sshot-view {
    overflow: hidden;
}

    #cronot-sshot .sshot-view img {
        transition: transform .28s ease, opacity .28s ease;
        will-change: transform, opacity;
    }

        #cronot-sshot .sshot-view img.is-out-left {
            transform: translateX(-24px);
            opacity: 0;
        }

        #cronot-sshot .sshot-view img.is-out-right {
            transform: translateX( 24px);
            opacity: 0;
        }

        #cronot-sshot .sshot-view img.is-in {
            transform: translateX(0);
            opacity: 1;
        }
/* ===========================
   DISCORD POPUP (SMOOTH)
   =========================== */

.dp-overlay {
    position: fixed;
    inset: 0;
    display: flex; /* zawsze w DOM */
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0,0,0,.72);
    z-index: 50000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, visibility 0s linear .28s;
}

    .dp-overlay.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: opacity .28s ease, visibility 0s;
    }

/* MODAL – startuje z dołu */
.dp-modal {
    width: min(980px, 100%);
    border: 1px solid #4b341a;
    border-radius: 14px;
    background: radial-gradient(circle at top left, rgba(120,80,40,0.92), rgba(10,7,4,0.97));
    box-shadow: 0 0 22px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.08);
    color: #ffe9b0;
    position: relative;
    overflow: hidden;
    transform: translateY(28px) scale(.985);
    opacity: 0;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .22s ease;
}

.dp-overlay.is-open .dp-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Accessibility – bez animacji */
@media (prefers-reduced-motion: reduce) {
    .dp-overlay,
    .dp-modal {
        transition: none !important;
    }
}

.dp-modal {
    width: min(980px, 100%);
    border: 1px solid #4b341a;
    border-radius: 14px;
    background: radial-gradient(circle at top left, rgba(120,80,40,0.92), rgba(10,7,4,0.97));
    box-shadow: 0 0 22px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.08);
    color: #ffe9b0;
    position: relative;
    overflow: hidden;
    transform: translateY(28px) scale(.985);
    opacity: 0;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .22s ease;
}
.dp-overlay.is-open .dp-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}
    .dp-modal::before {
        content: "";
        position: absolute;
        inset: -2px;
        background: linear-gradient(120deg, rgba(255,215,140,.18), rgba(0,0,0,0) 40%, rgba(255,215,140,.12));
        pointer-events: none;
    }

.dp-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    border: 1px solid #4b341a;
    background: linear-gradient(180deg,#8a6234,#3f2c15);
    color: #ffe9b0;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.15);
}

    .dp-close:hover {
        filter: brightness(1.12);
    }

.dp-head {
    padding: 18px 18px 8px;
    border-bottom: 1px solid rgba(255,229,154,.14);
}

.dp-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font: bold 11px Verdana, Arial, sans-serif;
    border: 1px solid rgba(255,229,154,.25);
    background: rgba(0,0,0,.25);
    margin-bottom: 8px;
}

.dp-title {
    font: 700 22px Verdana, Arial, sans-serif;
    text-shadow: 1px 1px 2px #000;
}

.dp-sub {
    margin-top: 4px;
    opacity: .9;
    font: 12px Verdana, Arial, sans-serif;
}

.dp-body {
    display: grid;
    grid-template-columns: 1.05fr 1.35fr;
    gap: 14px;
    padding: 14px 14px 16px;
}

.dp-left {
    padding: 10px 10px 12px;
}

.dp-bigtext {
    font: 700 14px Verdana, Arial, sans-serif;
    color: #fff2c0;
    text-shadow: 1px 1px 2px #000;
    line-height: 1.35;
}

.dp-list {
    margin: 10px 0 12px;
    padding-left: 18px;
    font: 12px Verdana, Arial, sans-serif;
    color: #ffe9b0;
}

    .dp-list li {
        margin: 6px 0;
    }

.dp-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.dp-join {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    font: bold 13px Verdana, Arial, sans-serif;
    color: #ffe58a;
    text-shadow: 1px 1px 2px #000;
    border: 1px solid #2f4012;
    background: linear-gradient(180deg, #6c8a28 0%, #3b4d16 100%);
    box-shadow: 0 0 8px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.08);
}

    .dp-join:hover {
        filter: brightness(1.10);
    }

.dp-later {
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #4b341a;
    background: linear-gradient(180deg,#6f4d26,#3f2c15);
    color: #ffe9b0;
    font: bold 13px Verdana, Arial, sans-serif;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
}

    .dp-later:hover {
        filter: brightness(1.08);
    }

.dp-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font: 12px Verdana, Arial, sans-serif;
    opacity: .9;
    user-select: none;
}

.dp-right {
    padding: 10px;
}

.dp-widget-wrap {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,229,154,.20);
    box-shadow: inset 0 0 10px rgba(0,0,0,.55);
    background: rgba(0,0,0,.35);
}

.dp-widget {
    width: 100%;
    height: 420px;
    display: block;
}

/* MOBILE */
@media (max-width: 980px) {
    .dp-body {
        grid-template-columns: 1fr;
    }

    .dp-widget {
        height: 360px;
    }
}
/* ===========================
   DESKTOP: remove black slider panel background
   =========================== */
@media (min-width: 981px) {

    /* zabij czarne tło + blur + winietę */
    #cronot-sshot .sshot-view {
        background: #FFF2db url('images/content/scroll.gif') repeat !important;
    }

        #cronot-sshot .sshot-view::before,
        #cronot-sshot .sshot-view::after {
            display: none !important;
        }

    /* opcjonalnie: jeśli nadal czujesz “panel”, to zdejmij tło widgetu */
    #DesktopTopSliderSlot .sshot-widget {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    /* jeśli obraz ma mieć pełny kadr bez wypełniania tłem */
    #cronot-sshot .sshot-view img {
        object-fit: contain !important;
    }
}
/* ===== CronOTS ServerInfo (cards) ===== */
.si-wrap {
    max-width: 980px;
    margin: 18px auto 26px auto;
    padding: 0 10px;
}

.si-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px 0;
}

    .si-title h2 {
        margin: 0;
        font-size: 20px;
        font-weight: 700;
        letter-spacing: .2px
    }

.si-sub {
    opacity: .9;
    margin: 2px 0 0 0;
    font-size: 13px
}

.si-card {
    background: rgba(0,0,0,.32);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    padding: 16px;
    margin: 0 0 14px 0;
}

.si-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 10px 0
}

    .si-card-head .h {
        font-size: 16px;
        font-weight: 700
    }

.si-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    font-size: 12px
}

.si-online {
    color: #58ff7a;
    font-weight: 700
}

.si-offline {
    color: #ff5a5a;
    font-weight: 700
}

.si-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 10px
}

@media (max-width:900px) {
    .si-grid {
        grid-template-columns: repeat(2,1fr)
    }
}

@media (max-width:520px) {
    .si-grid {
        grid-template-columns: repeat(1,1fr)
    }
}

.si-box {
    border-radius: 12px;
    padding: 12px 12px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07)
}

    .si-box .k {
        font-size: 12px;
        opacity: .85;
        margin: 0 0 6px 0
    }

    .si-box .v {
        font-size: 20px;
        font-weight: 800;
        margin: 0
    }

    .si-box small {
        opacity: .85
    }

.si-rows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px
}

@media (max-width:700px) {
    .si-rows {
        grid-template-columns: 1fr
    }
}

.si-row {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06)
}

.si-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,.35)
}

.si-row span {
    font-size: 13px
}

.si-btn {
    cursor: pointer;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.09);
    font-weight: 700;
    font-size: 13px
}

    .si-btn:hover {
        background: rgba(255,255,255,.07)
    }

.si-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px
}

    .si-table th {
        font-size: 12px;
        opacity: .85;
        text-align: left;
        padding: 0 10px
    }

    .si-table td {
        background: rgba(255,255,255,.04);
        border: 1px solid rgba(255,255,255,.07);
        padding: 10px;
        border-radius: 12px
    }

    .si-table tr td:first-child {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0
    }

    .si-table tr td:last-child {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0
    }

.si-link {
    color: #77b7ff;
    font-weight: 800;
    text-decoration: none
}

    .si-link:hover {
        text-decoration: underline
    }

/* Wrapper całego rzędu */
#MobileActionRow {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr; /* FB | CTA | Discord */
    gap: 10px;
    align-items: stretch;
    margin: 10px 0 14px;
}

    /* RightMenu na mobile ma nie robić “pudeł” i nie rozpychać */
    #MobileActionRow #RightMenu {
        width: auto !important;
        margin: 0 !important;
    }

        /* Social: FB i Discord mają być w dwóch kolumnach (bo będą po bokach) */
        #MobileActionRow #RightMenu .social-top {
            display: contents; /* klucz: fb-wrap i discord-mini stają się “dziećmi” gridu */
        }

    /* CTA w środku: pionowo (3 przyciski) */
    #MobileActionRow #CTAButtons {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin: 0 !important;
    }

        /* CTA buttony pełna szerokość środka */
        #MobileActionRow #CTAButtons .cta-btn {
            width: 100%;
            box-sizing: border-box;
            text-align: center;
        }

    /* Kafle social po bokach – pełna szerokość swojej kolumny */
    #MobileActionRow #RightMenu .fb-wrap,
    #MobileActionRow #RightMenu .discord-mini {
        margin: 0 !important;
    }

        #MobileActionRow #RightMenu a.social-icon.facebook-big,
        #MobileActionRow #RightMenu .discord-mini a.discord-link {
            width: 100% !important;
            max-width: none !important;
            box-sizing: border-box !important;
            min-height: 96px; /* dopasuj */
        }

    /* opcjonalnie: schowaj te gifowe top/bottom na mobile, żeby nie robiło ramek */
    #MobileActionRow #RightMenuTop,
    #MobileActionRow #RightMenuBottom {
        display: none !important;
    }
}
