:focus {
	outline:  -webkit-focus-ring-color dotted 1px;
}
body {
  margin: 0px;
  padding:  0px;
  background-color: #051122;
}

:root {
  /* K164: measured tibiacom geometry (from actual assets) */
  --tb-left-col-outer-width: 180px;  /* box-top.gif width */
  --tb-left-col-inner-width: 170px;  /* menu/button-background.gif width */
  --tb-left-col-cap-height: 12px;    /* box-top.gif/box-bottom.gif height */
  --tb-left-col-chain-width: 7px;    /* chain.gif width */
  --tb-left-col-inset: 5px;          /* historic offset from column edge */
}

img {
	border: none;
}

#ArtworkHelper {
  text-align: center;
  background-position: top center;
  background-attachment: scroll;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  min-width: 1000px;
}

/* container to implement min/max width */
#Bodycontainer {
  text-align: left;
  min-width: 1000px;
  max-width: 1200px;
  width: 100%;
  height: 100%;
  margin: 0px;
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
  display: table;
  width: expression(document.body.clientWidth > 1200? "1200px": "100%" );
}

#LoginFormButtonCell {
  width: 145px;
  vertical-align: top;
  padding-right: 10px;
}

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

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

#MenuColumn {
  position: absolute;
  left: 0px;
  top: 0px;
  width: var(--tb-left-col-outer-width);
  margin-right: 15px;
  margin-left: 15px;
  padding: 0px;
  font-family:  Arial, sans-serif;
  font-size: 10pt;
  font-weight: bold;
  line-height: 12pt;
}

#ContentColumn {
  position: relative;
  margin: 0px;
  margin-left: 205px;
  margin-right: 205px;
}

#ThemeboxesColumn {
  text-align:  center;
  position: absolute;
  top: 0px;
  right: 0px;
  width: 180px;
  margin: 0px;
  margin-right: 15px;
  margin-left: 25px;
}

#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;
}

/* Footer linkes */
#Footer a:link    { color: white; text-decoration: none; }
#Footer a:visited { color: white; text-decoration: none; }
#Footer a:focus   { color: white; text-decoration: none; }
#Footer a:active  { color: white; text-decoration: underline; }
#Footer a:hover   { color: white; text-decoration: underline; }

.serverModeBar {
  margin: 0 6px 10px 6px;
  padding: 6px 8px 7px 8px;
  border: 1px solid #5f4b28;
  border-radius: 4px;
  background: #30250f;
}

.serverModeBarInner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
}

.serverModeLabel {
  color: #e0c798;
  font-weight: bold;
  margin-right: 4px;
  text-shadow: 0 1px 1px #000;
}

.serverModePill {
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 34px;
  text-align: center;
  padding: 5px 10px;
  border: 1px solid #6a5429;
  border-radius: 3px;
  color: #e0c798;
  text-decoration: none;
  background: #241c0c;
  font-size: 13px;
}

.serverModePill:hover {
  color: #fff2c7;
  border-color: #8c7038;
  background: #2f250f;
}

.serverModePill.isActive {
  color: #fff;
  font-weight: bold;
  border-color: #a8873f;
  background: #6c521b;
}

.globalAccountHint {
  margin-top: 6px;
  padding-top: 5px;
  border-top: 1px solid rgba(223, 194, 135, 0.35);
  text-align: center;
  color: #d8c18f;
  font-size: 11px;
}

.globalAccountHint b {
  color: #fff2c6;
  margin: 0 3px;
}

.globalAccountHint a {
  color: #f3dda8;
  margin-left: 7px;
  text-decoration: underline;
}

.globalAccountHint a:hover {
  color: #fff;
}

.SocialNavBar {
  margin: 0 6px 8px 6px;
  padding: 3px 10px 4px 10px;
  border: 1px solid #661616;
  border-radius: 3px;
  background: #561212;
  text-align: center;
}

.SocialNavBar a {
  color: #f6d6d6;
  text-decoration: none;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.2px;
}

.SocialNavBar a:hover {
  color: #fff;
  text-decoration: underline;
}

.SocialNavBar .dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 7px;
  border-radius: 50%;
  background: #dca4a4;
  vertical-align: middle;
}

.GlobalProfileSwitchTable .GlobalSwitchButton {
  min-width: 120px;
  border: 1px solid #6f5727;
  border-radius: 3px;
  color: #efd8a7;
  background: #2b220f;
  font-size: 11px;
  font-weight: bold;
  padding: 3px 8px;
  cursor: pointer;
}

.GlobalProfileSwitchTable .GlobalSwitchButton:hover {
  border-color: #94723a;
  color: #fff2c8;
  background: #33280f;
}

.GlobalProfileSwitchTable .GlobalSwitchButton:disabled {
  border-color: #a8873f;
  color: #fff;
  background: #6c521b;
  cursor: default;
}


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

#LeftArtwork {
  position: absolute;
  height: 140px;
  width: 166px;
  top: -140px;
  left: 4px;
  background-repeat: no-repeat;
  z-index:5;
}

#LeftArtwork #TibiaLogoArtworkTop {
  position: absolute;
  top: 20px;
  left: 0px;
  height: 82px;
  width: 166px;
  z-index: 5;
  cursor: pointer;
  border: 0px;
}

#LeftArtwork #TibiaLogoArtworkBottom {
  position: absolute;
  top: 102px;
  left: 0px;
  height: 43px;
  width: 166px;
  z-index: 5;
}

#LeftArtwork #Statue_1{
  position: absolute;
  top: 0px;
  left: 5px;
  height: 30px;
  width: 32px;
  z-index:10;
}

#LeftArtwork #Statue_2 {
  position: absolute;
  top: 0px;
  right: 25px;
  height: 30px;
  width: 32px;
  z-index:10;
}

#LeftArtwork #LogoLink {
  position: absolute;
  bottom: 14px;
  left: 58px;
  height: 14px;
  width: 50px;
  z-index: 99;
  cursor: pointer;
}

/** -------------------------------
 *  Stylesheet declarations for the
 *  LOGINBOX
 *  -------------------------------
 */

#Loginbox {
  position: relative;
  left: var(--tb-left-col-inset);
  top: 8px;
  width: var(--tb-left-col-inner-width);
  margin-bottom: calc(var(--tb-left-col-cap-height) + 4px);
  z-index: 20;
}

#Loginbox.GlobalLoginSidebar {
  position: relative;
  overflow: visible;
  background:
    url("images/general/chain.gif") left top / var(--tb-left-col-chain-width) auto repeat-y,
    url("images/general/chain.gif") right top / var(--tb-left-col-chain-width) auto repeat-y,
    #0e2724;
  border: 1px solid #20443e;
}

#Loginbox.GlobalLoginSidebar::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--tb-left-col-inset));
  top: calc(-1 * var(--tb-left-col-cap-height));
  width: var(--tb-left-col-outer-width);
  height: var(--tb-left-col-cap-height);
  background: url("images/general/box-top.gif") center center / var(--tb-left-col-outer-width) var(--tb-left-col-cap-height) no-repeat;
  pointer-events: none;
}

#Loginbox.GlobalLoginSidebar::after {
  content: "";
  position: absolute;
  left: calc(-1 * var(--tb-left-col-inset));
  bottom: calc(-1 * var(--tb-left-col-cap-height));
  width: var(--tb-left-col-outer-width);
  height: var(--tb-left-col-cap-height);
  background: url("images/general/box-bottom.gif") center center / var(--tb-left-col-outer-width) var(--tb-left-col-cap-height) no-repeat;
  pointer-events: none;
}

#Loginbox .GlobalLoginHead {
  height: 26px;
  line-height: 26px;
  text-align: center;
  font-weight: bold;
  font-size: 11px;
  color: #ecd3a0;
  letter-spacing: 0.2px;
  border-bottom: 1px solid rgba(5, 16, 14, 0.8);
  background: #2d230f;
}

#Loginbox .GlobalLoginBody {
  padding: 8px 5px 9px 5px;
}

#Loginbox .GlobalLoginBtn {
  display: flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  width: 135px;
  max-width: 100%;
  min-height: 36px;
  line-height: 1.2;
  margin: 0 auto 5px auto;
  padding: 6px 8px;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  color: #f8e8c3;
  text-shadow: 0 1px 1px #000;
  border: 0;
  background: url("images/global/buttons/sbutton.gif") center center / 100% 100% no-repeat;
}

#Loginbox .GlobalLoginBtn:hover {
  color: #fff7df;
  background: url("images/global/buttons/sbutton_over.gif") center center / 100% 100% no-repeat;
}

#Loginbox .GlobalLoginBtn.secondary {
  color: #dcefe9;
  background: url("images/global/buttons/sbutton.gif") center center / 100% 100% no-repeat;
}

#Loginbox .GlobalLoginBtn.secondary:hover {
  color: #f4fffb;
  background: url("images/global/buttons/sbutton_over.gif") center center / 100% 100% no-repeat;
}

#Loginbox .GlobalLoginHint {
  margin-top: 4px;
  text-align: center;
  color: #bdd3cd;
  font-size: 12px;
  line-height: 1.35;
}

#Loginbox .GlobalLoginHint b {
  color: #fff0cc;
}

#Loginbox .GlobalProfileArea {
  margin-top: 7px;
  padding-top: 6px;
  border-top: 1px solid rgba(157, 201, 194, 0.2);
}

#Loginbox .GlobalProfileLabel {
  margin-bottom: 5px;
  text-align: center;
  color: #d6ebe5;
  font-size: 12px;
  font-weight: bold;
}

#Loginbox .GlobalProfileButtons {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#Loginbox .GlobalProfileBtn {
  display: block;
  box-sizing: border-box;
  min-height: 34px;
  padding: 8px 6px;
  text-align: center;
  text-decoration: none;
  color: #e5f4ef;
  font-size: 13px;
  border: 1px solid #3b7367;
  border-radius: 2px;
  background: #143a33;
}

#Loginbox .GlobalProfileBtn:hover {
  color: #ffffff;
  border-color: #5a9f90;
}

#Loginbox .GlobalProfileBtn.isActive {
  color: #fff5d8;
  border-color: #a98744;
  background: #674f1b;
}

/** -------------------------------
 *  Stylesheet declarations for the
 *  MENU
 *  -------------------------------
 */

#Menu {
  position: relative;
  left: var(--tb-left-col-inset);
  margin-top: 3px;
  background-repeat: no-repeat;
}

#MenuTop {
  position: absolute;
  left: calc(-1 * var(--tb-left-col-inset));
  top: calc(-1 * var(--tb-left-col-cap-height));
  height: var(--tb-left-col-cap-height);
  width: var(--tb-left-col-outer-width);
  background-repeat: no-repeat;
}

#MenuBottom {
  position: relative;
  left: calc(-1 * var(--tb-left-col-inset));
  bottom: 0px;
  height: var(--tb-left-col-cap-height);
  width: var(--tb-left-col-outer-width);
  background-repeat: no-repeat;
}

/* Menuitems */

.MenuButton {
  position: relative;
  height: 32px;
  width: var(--tb-left-col-inner-width);
  display: block;
  cursor: pointer;
}

.Button {
  position: relative;
  height: 32px;
  width: var(--tb-left-col-inner-width);
  visibility: hidden;
  display: block;
}

.Extend {
  position: absolute;
  top: 20px;
  right: -2px;
  height: 12px;
  width: 12px;
  background-repeat: no-repeat;
}

.Lights {
  visibility: hidden;
}

.Light_lu {
  position: absolute;
  top: 2px;
  left: 3px;
  height: 2px;
  width: 2px;
  background-repeat: no-repeat;
}

.Light_ru {
  position: absolute;
  top: 2px;
  right: 3px;
  height: 2px;
  width: 2px;
  background-repeat: no-repeat;
}

.Light_ld {
  position: absolute;
  height: 2px;
  width: 2px;
  top: 28px;
  left: 3px;
}

.Icon {
  position: absolute;
  height: 32px;
  width: 32px;
  top: 0px;
  left: 8px;
}

.Label {
  position: absolute;
  height: 22px;
  width: 116px;
  top: 6px;
  left: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: none !important;
  color: #f4d88a;
  font-family: Verdana, Arial, sans-serif;
  font-size: 10px;
  font-weight: bold;
  line-height: 1.05;
  text-align: center;
  text-shadow: 1px 1px 2px #000;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

/* Submenus(items) */

.LeftChain {
  position: absolute;
  top: 0px;
  left: -5px;
  height: 100%;
  min-height: 33px;
  width: 7px;
  background-repeat: repeat-y;
}

.RightChain {
  position: absolute;
  top: 0px;
  right: -4px;
  height: 100%;
  min-height: 33px;
  width: 7px;
  background-repeat: repeat-y;
}

.Submenu {
  position: relative;
  margin-left: 5px;
  margin-right: 5px;
  background-color: #0D2E2B;
  width: 160px;
}

.Submenuitem {
  position: relative;
  margin: 0px;
  padding: 0px;
  min-height: 33px;
}

.ActiveSubmenuItemIcon {
  position: absolute;
  top: 5px;
  left: 3px;
  width: 10px;
  height: 10px;
  background-repeat: no-repeat;
  visibility: hidden;
}

.SubmenuitemLabel {
  margin: 0px;
  border-top: 0;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 15px;
  padding-right: 8px;
  line-height: 13px;
  border-bottom: 1px solid #4b7874;
  white-space: normal;
  overflow: visible;
  word-break: break-word;
}

/* Submenu links */
.Submenu a:link    { color: #d7d7d7; text-decoration: none; }
.Submenu a:visited { color: #d7d7d7; text-decoration: none; }
.Submenu a:focus   { color: #d7d7d7; text-decoration: none; }
.Submenu a:active  { color: white; text-decoration: none; }
.Submenu a:hover   { color: white; text-decoration: none; }

/** -------------------------------
 *  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 #051122;
  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;
  overflow-wrap: anywhere;
  min-height: 367px;
  height: auto !important;
  height: 387px;
}

/* "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
 *  -------------------------------
 */

.Themebox {
  position: relative;
  margin-bottom: 10px;
  top: -4px;
  width: 180px;
  min-height: 154px;
  height: auto;
  overflow: visible;
}
#Themeboxes div {
  font-size: 10pt;
  background-repeat: no-repeat;
}
#Themeboxes .ThemeboxButton {
  position: absolute;
  bottom: 20px;
  left: 22px;
  height: 25px;
  width: 135px;
  cursor: pointer;
}
#Themeboxes .Bottom {
  position: absolute;
  bottom: 0px;
  left: 0px;
  height: 12px;
  width: 180px;
}
/* "star-HTML-hack" to correct the position of the bottom element */
* html #Themeboxes .Bottom {
  bottom: -3px;
}
#Themeboxes #NewcomerBox .ThemeboxButton {
  bottom: 15px;
}
#Themeboxes #PremiumBox {
  height: 164px;
}
#Themeboxes #JobBox {
  height: 164px;
}
#Themeboxes #GalleryBox #GalleryContent {
  position: relative;
  height: 111px;
  width: 170px;
  top: 31px;
  left: 0px;
  margin-left: 5px;
  margin-right: 5px;
  border: 0;
  cursor: pointer;
}
#Themeboxes #CurrentPollBox #CurrentPollText {
  font-family: Verdana, Arial, sans-serif;
  font-weight: bold;
  line-height: 11pt;
  color: #5A2800;
  position: absolute;
  min-height: 70px;
  height: auto;
  width: 150px;
  top: 37px;
  left: 15px;
  padding-top: 5px;
  overflow-y: auto;
  overflow-x: hidden;
}
#Themeboxes #SkyscraperBanner {
  border: 0;
}

#Themeboxes #NetworksBox {
  position: relative;
  height: 204px;
}
#Themeboxes #NetworksBox #FacebookBlock {
  position: relative;
  top: 32px;
  height: 113px;
}
#Themeboxes #NetworksBox #FacebookLikeBox {
  position: relative;
  left: 27px;
  top: 3px;
  height: 60px;
  width: 115px;
  overflow: hidden;
}
#Themeboxes #NetworksBox #FacebookLikeBox div {
  position: relative;
  left: -1px;
  top: -1px;
}
#Themeboxes #NetworksBox #FacebookSendBox {
  position: absolute;
  left: 92px;
  top: 14px;
  width: 50px;
}
#Themeboxes #NetworksBox #FacebookLikes {
  position: relative;
  left: 14px;
  top: 10px;
  width: 155px;
  left: 13px;
  overflow: hidden;
}
#Themeboxes #NetworksBox #FacebookLikes div {
  position: relative;
  left: -69px;
}
#Themeboxes #NetworksBox #TwitterBlock {
  position: relative;
  top: 42px;
  text-align: center;
}

/** -------------------------------
 *  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;
}

.Content .BoxContent td .orange {
  color: #FF9712;
}

/** -------------------------------
 *  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;
}

.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;
}


/** ----------------
 *  new process bars
 *  ----------------
 */

#ProgressBar #Headline {
  text-align: center;
  font-size: 14pt;
  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,
.TableContent th {
  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;
  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;
}
/* HEADLESS CONTENT TABLE */
.HeadlessTable {
  border: 0px;
  border-style: solid;
  border-color: #656565;
  border-top-width: 1px;
  border-top-color: white;
  border-left-width: 1px;
  border-left-color: white;
  border-bottom-width: 1px;
  border-right-width: 1px;
  border-right-color: #656565;
  margin-left: 15px;
}
/* LABELS */
.LabelV {
  font-weight: bold;
  padding-right: 10px;
  white-space: nowrap;
  vertical-align: top;
}
.LabelV120 {
	font-weight: bold;
	padding-right: 10px;
	white-space: nowrap;
	vertical-align: top;
	width: 120px;
}
.LabelV150 {
	font-weight: bold;
	padding-right: 10px;
	white-space: nowrap;
	vertical-align: top;
	width: 150px;
}
.LabelV200 {
	font-weight: bold;
	padding-right: 10px;
	white-space: nowrap;
	vertical-align: top;
	width: 200px;
}
.LabelH {
  font-weight: bold;
  padding-right: 10px;
  white-space: nowrap;
  background-color: #d5c0a1;

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

/* 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;
}
.BigButtonText {
	position: absolute;
	top: 0;
	left: 0;
	width: 135px;
	height: 25px;
	margin: 0;
	padding: 0;
	cursor: pointer;
	background: 0 0;
	border: none;
	text-align: center;
	color: #ffd18c;
	font-family: Verdana,Arial,Times New Roman,sans-serif;
	font-size: 12px;
	font-weight: 400;
	z-index: 20;
	text-shadow: -1px -1px 0 #000,0 -1px 0 #000,1px -1px 0 #000,1px 0 0 #000,1px 1px 0 #000,0 1px 0 #000,-1px 1px 0 #000,-1px 0 0 #000
}
.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;
}

/* 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 .NewsHeadline {
  margin-top: 5px;
}

.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 */

body.page-news .Content #News .BoxContent,
body.page-root-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;
}

.Content #News .NewsHeadlineAuthor {
  position: absolute;
  top: 7px;
  right: 10px;
  font-size: 10pt;
  color: white;
}

/* BUTTONS */
.MediumButtonText {
  position: absolute;
  top: 0;
  left: 0;
  height: 37px;
  width: 150px;
  z-index: 20;
}
.MediumButtonBackground {
  position: relative;
  top: 0;
  left: 0;
  width: 150px;
  height: 37px;
  z-index: 10;
}
.MediumButtonOver {
  position: relative;
  top: 0;
  left: 0;
  width: 150px;
  height: 37px;
  visibility: hidden;
  z-index: 15;
}
.MediumButtonForm {
  margin: 0;
  padding: 0;
}

.moduleRow { }

.moduleRowOver {
	background-color: #D4C0A1;
	cursor: pointer;
	cursor: hand;
}

:root {
  --themebox-top-title: "Najlepsi gracze";
  --themebox-newcomer-title: "Nowy gracz";
  --themebox-newcomer-text: "Załóż darmowe konto!";
  --themebox-gallery-title: "Galeria";
  --themebox-networks-title: "Sieci";
  --themebox-premium-title: "Premium";
  --themebox-poll-title: "Ankieta";
  --themebox-newcomer-button: "Dołącz do gry";
}

html[lang="en"],
html[data-lang="en"] {
  --themebox-top-title: "Top players";
  --themebox-newcomer-title: "New player";
  --themebox-newcomer-text: "Create a free account!";
  --themebox-gallery-title: "Gallery";
  --themebox-networks-title: "Links";
  --themebox-premium-title: "Premium";
  --themebox-poll-title: "Poll";
  --themebox-newcomer-button: "Join the game";
}

/* ===========================================
 * Localized sidebar box title overlays
 * Geometry only; final color is in the RedDAXE canonical layer.
 * =========================================== */

#Topbar::before,
#NewcomerBox::before,
#GalleryBox::before,
#NetworksBox::before,
#PremiumBox::before,
#CurrentPollBox::before {
  position: absolute;
  top: 3px;
  left: 0;
  width: 180px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  font-family: 'Martel', Georgia, 'Times New Roman', serif;
  font-size: 11px;
  font-weight: bold;
  color: #D4A017;
  text-shadow: 1px 1px 2px #000;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 30;
  background: #32230f;
  border-bottom: 1px solid rgba(212, 160, 23, 0.3);
}

#Topbar::before { content: var(--themebox-top-title); }
#NewcomerBox::before { content: var(--themebox-newcomer-title); }
#GalleryBox::before { content: var(--themebox-gallery-title); }
#NetworksBox::before {
  content: var(--themebox-networks-title);
  font-size: 10px;
  letter-spacing: 0.5px;
}
#PremiumBox::before { content: var(--themebox-premium-title); }
#CurrentPollBox::before { content: var(--themebox-poll-title); }

#NewcomerBox::after {
  content: var(--themebox-newcomer-text);
  white-space: pre-line;
  position: absolute;
  top: 32px;
  left: 10px;
  width: 160px;
  height: 60px;
  padding-top: 8px;
  box-sizing: border-box;
  text-align: center;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.3;
  color: #FFD700;
  text-shadow: 1px 1px 3px #000;
  background: #281e0f;
  z-index: 30;
}

/* K166: highscores left-edge clipping guard */
.HighscoresMainCol table {
  margin-left: 0;
}

.HighscoresMainCol td {
  padding-left: 6px;
}

.HighscoresMainCol td.white {
  padding-left: 5px;
}

/* Existing bans/rankings: keep wide desktop data readable; mobile rows below
 * use the same server-rendered values and translated field labels. */
.Content .BoxContent .ban-page,
.Content .BoxContent .rankings-page {
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.rankings-page > table {
  table-layout: fixed;
}

.records-table-scroll {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 10px 0;
  overflow-x: auto;
  border: 1px solid #b69a68;
  -webkit-overflow-scrolling: touch;
}

.records-table-scroll:focus-visible {
  outline: 2px solid #6b4a2b;
  outline-offset: 2px;
}

.records-table-scroll > table {
  width: 100%;
  margin: 0;
  table-layout: auto;
}

.rankings-data-table,
.player-ranking-table {
  min-width: 640px;
}

.Content .BoxContent .rankings-page .pvp-ranking-table .pvp-mobile-details-cell {
  display: none;
}

/* Rank is a compact label, not a percentage of the remaining table width. */
.Content .BoxContent .rankings-data-table > tbody > tr > :first-child:not([colspan]),
.Content .BoxContent .player-ranking-table .ranking-rank,
.Content .BoxContent .arena-history-table .ranking-rank {
  width: 1%;
  padding-left: 6px;
  padding-right: 6px;
  text-align: center;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.player-highscore-flag {
  display: inline-block;
  margin-right: 4px;
  vertical-align: middle;
}

.ban-list-table {
  min-width: 0;
}

.ban-list-table .record-primary .record-value {
  overflow-wrap: anywhere;
}

.ban-list-table .record-date {
  white-space: normal;
}

.Content .BoxContent .records-table-scroll td,
.Content .BoxContent .records-table-scroll th {
  padding: 9px 10px;
  font-size: 13px;
  line-height: 1.45;
  vertical-align: top;
  word-break: normal;
  overflow-wrap: normal;
}

.records-table-scroll thead th {
  color: #fff;
}

.record-date,
.record-number {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.rankings-data-table td[colspan],
.record-reason {
  white-space: normal;
}

.Content .BoxContent .rankings-page .ranking-number {
  width: 1%;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.Content .BoxContent .rankings-table-caption {
  padding: 10px;
  background: #5d3717;
  color: #fff0c1;
  font-weight: bold;
  text-align: left;
}

.rankings-preview-table .record-primary,
.rankings-data-table .guild-highscore-name {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.ranking-combat { white-space: nowrap; font-variant-numeric: tabular-nums; }
.ranking-details summary { cursor: pointer; padding: 4px 0; font-weight: bold; }
.ranking-details summary:focus-visible { outline: 2px solid #276f61; outline-offset: 2px; }
.ranking-details dl { margin: 8px 0 0; min-width: 150px; }
.ranking-details dt { margin-top: 7px; font-weight: bold; }
.ranking-details dd { margin: 2px 0 0; }

.rankings-page .record-number {
  display: block;
  text-align: right;
}

.player-ranking-table .ranking-experience .record-number {
  min-width: 18ch;
}

.Content .BoxContent .rankings-page .rankings-data-table td.white,
.Content .BoxContent .rankings-page .rankings-data-table td.white b,
.Content .BoxContent .rankings-page .rankings-data-table td.white span,
.Content .BoxContent .rankings-page th.white,
.Content .BoxContent .rankings-page th.white b {
  background: #5d3717;
  color: #fff0c1;
}

.ban-list-table .ban-details-cell {
  min-width: 112px;
  text-align: left;
}

.ban-details summary {
  box-sizing: border-box;
  cursor: pointer;
  min-height: 44px;
  padding: 12px 0;
  font-weight: bold;
  white-space: nowrap;
}

.ban-details summary:focus-visible {
  outline: 2px solid #276f61;
  outline-offset: 2px;
}

.ban-details dl {
  margin: 8px 0 0;
}

.ban-details dt {
  margin-top: 8px;
  font-weight: bold;
}

.ban-details dd {
  margin: 2px 0 0;
  max-width: 28rem;
  white-space: normal;
  overflow-wrap: anywhere;
}

.ban-filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 10px;
}

.ban-filter-group > a,
.ban-filter-group > .is-selected {
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid #b69a68;
  background: #f7ead0;
  line-height: 1.3;
  text-align: center;
}

.ban-filter-group > .is-selected {
  background: #d4bd8b;
  border-color: #6b4a2b;
}

/* Online indicator on sidebar */
#Themeboxes .online { color: #00CC00; }
#Themeboxes .offline { color: #CC3333; }

/* ===========================================
 * NEWCOMER BOX — "Dołącz do gry" overlay
 * =========================================== */

/* Nadpisanie tekstu "Join Tibia" na przycisku newcomer */
#NewcomerBox .ThemeboxButton .ButtonText {
  font-size: 0 !important;
  background-image: none !important;
}

#NewcomerBox .ThemeboxButton .ButtonText::after {
  content: var(--themebox-newcomer-button);
  font-size: 10px;
  font-family: 'Martel', Georgia, 'Times New Roman', serif;
  font-weight: bold;
  color: #FFFFFF;
  text-shadow: 1px 1px 2px #000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  letter-spacing: 0.5px;
}

/* ===========================================
 * RedDAXE canonical visual layer V1
 * Single generation over the legacy Tibiacom/MyAAC CSS.
 * Rules for future work:
 * - edit this block instead of appending V2/V3 patches;
 * - keep hover geometry stable;
 * - use !important only to beat legacy inline background-image;
 * - avoid fixed decorative overlays, heavy filters and global animations.
 * =========================================== */
:root {
  --rdx-left-rail-width: 180px;
  --rdx-right-rail-width: 190px;
  --rdx-layout-width: 1300px;
  --rdx-content-gutter: 220px;
  --rdx-bg: #080b08;
  --rdx-surface: #14100b;
  --rdx-surface-2: #24170d;
  --rdx-panel: #5f3917;
  --rdx-panel-dark: #261307;
  --rdx-parchment: #dfc18a;
  --rdx-parchment-light: #f1dbac;
  --rdx-parchment-dark: #b98f52;
  --rdx-text: #2b190d;
  --rdx-muted: #72502b;
  --rdx-gold: #f0cf83;
  --rdx-brass: #b68135;
  --rdx-rune: #5fc1a4;
  --rdx-blood: #8a2f24;
  --rdx-border: #1a0d06;
  --rdx-shadow-soft: rgba(0, 0, 0, 0.28);
  --rdx-shadow-hard: rgba(0, 0, 0, 0.48);
  --rdx-ui: Verdana, Arial, sans-serif;
  --rdx-title: Georgia, "Times New Roman", serif;
  --rdx-panel-sheen: linear-gradient(180deg, #6c401a 0%, #4a2a12 44%, #17130b 100%);
  --rdx-panel-dark-sheen: linear-gradient(180deg, #21170d 0%, #101b18 100%);
  --rdx-button-sheen: linear-gradient(180deg, #9d6327 0%, #6f3f18 100%);
  --rdx-button-hover-sheen: linear-gradient(180deg, #b77831 0%, #7c481c 100%);
  --rdx-gold-sheen: linear-gradient(180deg, #f4d889 0%, #c5963d 100%);
  --rdx-side-frame-fill: linear-gradient(180deg, #2a160a 0%, #111a14 100%);
  --rdx-side-frame-edge: linear-gradient(180deg, #120603 0%, #c39443 10%, #5b2f10 22%, #1a0803 52%, #6b3c15 82%, #d5aa56 93%, #130603 100%);
  --rdx-side-header: linear-gradient(180deg, #8f531e 0%, #5f2d0f 50%, #331507 100%);
}

html,
body {
  background-color: var(--rdx-bg);
}

body {
  color: var(--rdx-text);
  background-image:
    linear-gradient(180deg, rgba(9, 11, 8, 0.16) 0%, rgba(7, 19, 15, 0.26) 100%),
    url(images/header/background-artwork.jpg);
  background-position: top center;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  font-family: var(--rdx-ui);
}

#ArtworkHelper {
  background-color: #0c1714;
  background-position: top center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: normal;
  height: auto;
  min-height: 100vh;
}

#ArtworkHelper::before,
body::before,
body::after {
  content: none;
  display: none;
}

#RedDAXEBar {
  position: relative;
  z-index: 100;
  padding: 7px 12px 6px;
  border-bottom: 2px solid var(--rdx-border);
  background: linear-gradient(180deg, #241407 0%, #140c06 100%);
  text-align: center;
  box-shadow: inset 0 -1px 0 rgba(240, 207, 131, 0.38), 0 2px 0 rgba(0,0,0,0.55);
}

#RedDAXEBarLink {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

.RedDAXEBarLogo {
  color: #fff0c1;
  font-family: var(--rdx-ui);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 1px 0 #000;
}

#Bodycontainer {
  position: relative;
  max-width: var(--rdx-layout-width);
  display: block;
  height: auto;
}

#ContentRow {
  display: grid;
  grid-template-columns: var(--rdx-left-rail-width) minmax(0, 1fr) var(--rdx-right-rail-width);
  gap: 24px;
  top: auto;
  margin-top: 145px;
  align-items: start;
}

#ContentRow::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 28px;
  left: calc(var(--rdx-content-gutter) - 10px);
  right: calc(var(--rdx-content-gutter) - 10px);
  bottom: -18px;
  border-left: 1px solid rgba(240, 207, 131, 0.1);
  border-right: 1px solid rgba(240, 207, 131, 0.1);
  background: linear-gradient(180deg, rgba(20, 11, 6, 0.08) 0%, rgba(6, 18, 15, 0.22) 100%);
  pointer-events: none;
}

#MenuColumn,
#ContentColumn,
#ThemeboxesColumn {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  margin: 0;
  z-index: 1;
}

#MenuColumn {
  font-family: Arial, sans-serif;
  font-size: 10pt;
  font-weight: bold;
  line-height: 12pt;
}

#ThemeboxesColumn {
  width: var(--rdx-right-rail-width);
}

#ContentColumn {
  min-width: 0;
  /* Let fixed previews share the page layer instead of being trapped below the rails. */
  z-index: auto;
}

.RedDAXEBarDot,
#RedDAXEBarLink:hover .RedDAXEBarLogo,
#RedDAXEBarLink:focus .RedDAXEBarLogo {
  color: var(--rdx-rune);
}

#RedDAXELogoMark {
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  width: var(--rdx-left-rail-width);
  min-height: 140px;
  padding: 14px 10px 10px;
  border: 2px solid var(--rdx-border);
  border-radius: 4px;
  outline: 1px solid rgba(240, 207, 131, 0.38);
  outline-offset: -5px;
  background: var(--rdx-panel-sheen);
  color: #ffe7ac;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(0,0,0,0.46), inset 0 1px 0 rgba(255,255,255,0.12);
}

.RedDAXELogoRune::before,
.RedDAXELogoRune::after,
#RedDAXEBar::before,
#RedDAXEBar::after {
  content: none;
  display: none;
}

#RedDAXELogoMark::before,
#RedDAXELogoMark::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1px;
  background: rgba(240, 207, 131, 0.32);
  pointer-events: none;
}

#RedDAXELogoMark::before {
  top: 9px;
}

#RedDAXELogoMark::after {
  bottom: 9px;
}

.RedDAXELogoRune {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 52px;
  margin: 0 auto 6px;
  border: 2px solid #251207;
  border-radius: 5px;
  color: #fff5c9;
  background: linear-gradient(180deg, #9f3528 0%, #6f2018 100%);
  font-family: var(--rdx-title);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 2px 0 #000;
  box-shadow: inset 0 0 0 1px rgba(240, 207, 131, 0.42);
}

.RedDAXELogoText {
  display: block;
  color: #ffe3a1;
  font-family: var(--rdx-title);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
  text-shadow: 0 2px 0 #000;
}

.RedDAXELogoSub {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 7px;
  border: 1px solid rgba(95, 193, 164, 0.38);
  border-radius: 3px;
  color: #d7fff3;
  background: rgba(5, 18, 16, 0.55);
  font-size: 8px;
  line-height: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rdx-public-domain .RedDAXEBarLogo,
.rdx-public-domain .RedDAXELogoSub {
  text-transform: none;
}

.rdx-public-domain .RedDAXELogoSub {
  font-size: 10px;
}

#Loginbox.GlobalLoginSidebar,
#Menu,
.Themebox,
#Topbar,
#PremiumBox,
#NewcomerBox,
#GalleryBox,
#NetworksBox,
#CurrentPollBox,
.SocialNavBar,
.serverModeBar,
.Content .Box {
  border: 2px solid var(--rdx-border);
  border-radius: 2px;
  outline: 1px solid rgba(240, 207, 131, 0.34);
  outline-offset: -5px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.38), inset 0 1px 0 rgba(255,255,255,0.1);
}

#MenuColumn,
#LeftArtwork,
#Loginbox,
#Menu {
  width: var(--rdx-left-rail-width);
  box-sizing: border-box;
}

#LeftArtwork {
  position: relative;
  top: auto;
  left: auto;
  height: 140px;
  margin: 0 0 10px;
  z-index: auto;
}

#Loginbox {
  left: 0;
}

#Loginbox.GlobalLoginSidebar {
  background: var(--rdx-panel-dark-sheen) !important;
  overflow: visible;
}

#Loginbox.GlobalLoginSidebar::before,
#Loginbox.GlobalLoginSidebar::after,
#MenuTop,
#MenuBottom {
  box-sizing: border-box;
  left: 0;
  width: var(--rdx-left-rail-width);
  background: var(--rdx-panel-sheen) !important;
  border-color: var(--rdx-border);
}

#MenuTop,
#MenuBottom {
  display: none !important;
}

#Loginbox .GlobalLoginHead {
  border-bottom: 1px solid rgba(240, 207, 131, 0.32);
  background: var(--rdx-panel-sheen) !important;
  color: #ffedb6;
  font-size: 12px;
  line-height: 25px;
  text-shadow: 0 1px 0 #000;
}

#Loginbox .GlobalLoginBody {
  background: var(--rdx-panel-dark-sheen);
}

#Loginbox .GlobalLoginBtn,
#Loginbox .GlobalProfileBtn,
.GlobalProfileSwitchTable .GlobalSwitchButton,
.serverModePill,
#Themeboxes .ThemeboxButton,
#NetworksBox .RdxNetworkLink {
  box-sizing: border-box;
  border: 1px solid #281408;
  border-radius: 3px;
  background: var(--rdx-button-sheen) !important;
  color: #fff0c1 !important;
  font-family: var(--rdx-ui);
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-shadow: 0 1px 0 #000;
  box-shadow: inset 0 1px 0 rgba(255, 238, 186, 0.16);
}

#Loginbox .GlobalLoginBtn:hover,
#Loginbox .GlobalLoginBtn:focus,
#Loginbox .GlobalProfileBtn:hover,
#Loginbox .GlobalProfileBtn:focus,
.GlobalProfileSwitchTable .GlobalSwitchButton:hover,
.GlobalProfileSwitchTable .GlobalSwitchButton:focus,
.serverModePill:hover,
.serverModePill:focus,
#Themeboxes .ThemeboxButton:hover,
#Themeboxes .ThemeboxButton:focus,
#NetworksBox .RdxNetworkLink:hover,
#NetworksBox .RdxNetworkLink:focus {
  background: var(--rdx-button-hover-sheen) !important;
  color: #fff7d6 !important;
  text-decoration: underline;
}

#Loginbox .GlobalProfileBtn.isActive,
.serverModePill.isActive,
.GlobalProfileSwitchTable .GlobalSwitchButton:disabled {
  background: #d1ab61 !important;
  color: #201008 !important;
  text-shadow: none;
}

.Content .BigButton {
  box-sizing: border-box;
  width: 142px;
  height: 27px;
  max-width: 100%;
  border: 1px solid #281408;
  border-radius: 3px;
  background: var(--rdx-button-sheen) !important;
  color: #fff0c1;
  box-shadow: inset 0 1px 0 rgba(255, 238, 186, 0.16), 0 1px 0 rgba(0, 0, 0, 0.42);
}

.Content .BigButton > div {
  position: static;
  width: 100%;
  height: 100%;
}

.Content .BigButtonOver {
  display: none !important;
  visibility: hidden !important;
  background: none !important;
}

.Content .BigButtonText {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 8px;
  border: 0;
  background: transparent !important;
  color: #fff0c1;
  font-family: var(--rdx-ui);
  font-size: 11px;
  font-weight: 700;
  line-height: 25px;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 1px 0 #000;
  white-space: nowrap;
  cursor: pointer;
}

.Content .BigButton:hover,
.Content .BigButton:focus-within {
  background: var(--rdx-button-hover-sheen) !important;
}

.Content input[type="submit"]:not(.BigButtonText),
.Content input[type="button"],
.Content button {
  min-height: 25px;
  padding: 4px 10px;
  border: 1px solid #281408;
  border-radius: 3px;
  background: var(--rdx-button-sheen);
  color: #fff0c1;
  font-family: var(--rdx-ui);
  font-size: 11px;
  font-weight: 700;
  line-height: 15px;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 1px 0 #000;
  box-shadow: inset 0 1px 0 rgba(255, 238, 186, 0.16);
  cursor: pointer;
}

.Content input[type="submit"]:not(.BigButtonText):hover,
.Content input[type="submit"]:not(.BigButtonText):focus,
.Content input[type="button"]:hover,
.Content input[type="button"]:focus,
.Content button:hover,
.Content button:focus {
  background: var(--rdx-button-hover-sheen);
  color: #fff7d6;
}

#Menu {
  padding: 7px 5px 6px;
  background: linear-gradient(180deg, #2b1b0d 0%, #0f211d 100%) !important;
}

.MenuButton {
  box-sizing: border-box;
  width: 100%;
  height: 38px;
  margin: 0 0 4px;
  border: 1px solid #180c05;
  border-radius: 2px;
  background: linear-gradient(180deg, #75451c 0%, #46240f 48%, #17241f 100%) !important;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,236,168,0.15), 0 1px 0 rgba(0,0,0,0.55);
}

.MenuButton .Button {
  display: none !important;
  background: none !important;
  opacity: 0 !important;
}

.MenuButton:hover .Button,
.MenuButton:focus-within .Button {
  display: none !important;
  opacity: 0 !important;
}

.Icon {
  top: 4px;
  left: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 0;
  background-color: transparent !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  filter: drop-shadow(0 1px 0 #000);
}

.Icon::before {
  content: none !important;
  display: none;
}

#news_Icon { background-image: url(images/menu/icon-news.gif) !important; }
#account_Icon { background-image: url(images/menu/icon-account.gif) !important; }
#community_Icon { background-image: url(images/menu/icon-community.gif) !important; }
#forum_Icon { background-image: url(images/menu/icon-forum.gif) !important; }
#library_Icon { background-image: url(images/menu/icon-library.gif) !important; }
#shops_Icon { background-image: url(images/menu/icon-shops.gif) !important; }

.Label {
  top: 7px;
  left: 43px;
  width: 116px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: none !important;
  color: #ffe2a0;
  font-family: var(--rdx-ui);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 1px 0 #000;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.Extend {
  top: 12px;
  right: 5px;
  width: 13px;
  height: 13px;
  background-color: #112522 !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.Submenu {
  width: auto;
  margin: 0 5px 5px;
  border: 1px solid rgba(95, 193, 164, 0.22);
  background: linear-gradient(180deg, #102b27 0%, #071814 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.LeftChain,
.RightChain {
  display: none !important;
}

.Submenuitem {
  min-height: 28px;
  border-bottom: 1px solid rgba(240, 207, 131, 0.08);
}

.Submenuitem:hover,
.Submenuitem:focus-within {
  background: transparent !important;
}

.SubmenuitemLabel {
  color: #d8eee6;
  font-size: 11px;
  line-height: 28px;
  padding-left: 12px;
  overflow-wrap: anywhere;
}

.SocialNavBar,
.serverModeBar {
  background: linear-gradient(180deg, #6f1f18 0%, #4f1711 48%, #2c130b 100%) !important;
  color: #f4dcaa;
}

.SocialNavBar {
  min-height: 25px;
  padding: 3px 12px;
  border-color: #1d0b05;
}

.SocialNavBar a {
  display: inline-block;
  padding: 2px 8px;
}

.SocialNavBar a,
.SocialNavBar a:link,
.SocialNavBar a:visited,
.serverModeLabel,
.serverModeBarInner,
.serverModeBarInner span {
  color: #f8e6b4;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: 0 1px 0 #000;
}

.SocialNavBar a:hover,
.SocialNavBar a:focus {
  color: #ffffff;
  text-decoration: underline;
}

.Content .BoxContent .serverModeBar .serverModeLabel,
.Content .BoxContent .serverModeBar .serverModeLabel span {
  color: #fff0c1;
}

#MobileMenuToggle { display: none; }

.MenuCategoryToggle:focus-visible {
  outline: 2px solid #f4d88a;
  outline-offset: -2px;
}

.SocialNavBar .dot {
  width: 5px;
  height: 5px;
  background: var(--rdx-rune);
}

.Content .Box {
  background: linear-gradient(180deg, #7a471b 0%, #4b260e 100%) !important;
  box-sizing: border-box;
}

.Content .Border_1,
.Content .Border_2 {
  background: #3a1a0a !important;
}

.Content .Border_3 {
  background: #190d06;
  padding: 1px;
}

.Content .BorderTitleText {
  height: 44px;
  background: linear-gradient(180deg, #824a1b 0%, #5b2e10 100%) !important;
  box-shadow: inset 0 -1px 0 rgba(240,207,131,0.28);
}

.Content .Title.RedDAXEContentTitle {
  top: 7px;
  left: 22px;
  right: 22px;
  height: 29px;
  color: #ffedb6;
  font-family: var(--rdx-title);
  font-size: 21px;
  font-weight: 700;
  line-height: 29px;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 2px 0 #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.Content .Title.RedDAXEContentTitle::before,
.Content .Title.RedDAXEContentTitle::after {
  content: none;
  display: none;
}

.Content .BoxContent {
  min-height: 0;
  border: 2px solid rgba(69, 39, 17, 0.82);
  color: var(--rdx-text);
  background-color: var(--rdx-parchment);
  box-shadow: inset 0 0 0 2px rgba(255, 246, 213, 0.2), inset 0 0 28px rgba(105, 55, 18, 0.12);
}

body.page-news .Content #News .BoxContent,
body.page-root-news .Content #News .BoxContent {
  min-height: 180px;
  padding: 14px 18px 18px;
}

.Content #News .NewsHeadlineBackground,
.Content #NewsArchive .NewsHeadlineBackground {
  border: 1px solid #3b1209;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 2px 0 rgba(0,0,0,0.32);
}

.Content .BoxContent,
.Content .BoxContent td,
.Content .BoxContent p,
.Content .BoxContent li,
.Content .BoxContent div,
.Content .BoxContent span,
.Content .BoxContent label {
  color: var(--rdx-text);
  text-shadow: none;
}

.Content .BoxContent .guild-global-panel[data-presentation-theme="classic"] {
  --ggp-accent-bg: #d4bd8b;
}

.Content .BoxContent .guild-global-panel .ggp-player-summary-toggle,
.Content .BoxContent .guild-global-panel .ggp-player-summary-toggle *,
.Content .BoxContent .guild-global-panel .ggp-diplomacy-window-toggle,
.Content .BoxContent .guild-global-panel .ggp-diplomacy-window-toggle *,
.Content .BoxContent .guild-global-panel .ggp-section-title,
.Content .BoxContent .guild-global-panel .ggp-section-title * {
  color: #fff0d1;
  text-shadow: 1px 1px 1px #000;
}

.Content .BoxContent .guild-global-panel .ggp-permissions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
  gap: 10px;
}

.Content .BoxContent .guild-global-panel .ggp-permission-card {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--ggp-card-border);
  background: var(--ggp-panel-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.Content .BoxContent .guild-global-panel .ggp-permission-role {
  margin: 0 0 8px;
  padding: 7px 9px;
  background: var(--ggp-accent-bg);
  color: var(--ggp-title);
  font-size: 16px;
  line-height: 1.3;
  text-shadow: none;
}

.Content .BoxContent .guild-global-panel .ggp-permission-facts {
  margin: 0;
}

.Content .BoxContent .guild-global-panel .ggp-permission-facts > div {
  padding: 7px 0;
  border-top: 1px solid var(--ggp-line);
}

.Content .BoxContent .guild-global-panel .ggp-permission-facts dt {
  color: var(--ggp-title);
  font-size: 13px;
  font-weight: 700;
}

.Content .BoxContent .guild-global-panel .ggp-permission-facts dd {
  margin: 2px 0 0;
  color: var(--ggp-text);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.Content .BoxContent b,
.Content .BoxContent strong {
  color: #3b1d0f;
}

/* The white header cells keep their light text after the shared text reset. */
.Content .BoxContent td.white b,
.Content .BoxContent td.white strong,
.Content .BoxContent td.white span,
.Content .BoxContent th.white b,
.Content .BoxContent th.white strong,
.Content .BoxContent th.white span {
  color: #fff0d1;
}

.Content .BoxContent a,
.Content .BoxContent a:link,
.Content .BoxContent a:visited,
.Content .BoxContent .ggp-link-button {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  width: auto;
  color: #74351f;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: 0;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  text-shadow: none;
  transform: none;
}

.Content .BoxContent a:hover,
.Content .BoxContent a:focus,
.Content .BoxContent .ggp-link-button:hover,
.Content .BoxContent .ggp-link-button:focus {
  color: #165a50;
  text-decoration: underline;
  transform: none;
}

.TableContainer {
  border: 1px solid #2c1608;
  background: #2c1608;
  box-shadow: 0 4px 10px rgba(72, 43, 18, 0.12);
}

.TableContainer .CaptionContainer,
.TableContainer .CaptionContainer .CaptionInnerContainer,
.Content th {
  background: #5d3717 !important;
}

.TableContainer .CaptionContainer .Text,
.Content th {
  color: #fff0c1;
  font-family: var(--rdx-title);
  font-size: 13px;
  letter-spacing: 0;
  text-shadow: 0 1px 0 #000;
}

.TableContainer .Odd,
.TableContainer tr.Odd td,
.TableContainer .TableContent tr:nth-child(odd) td {
  background: #eed8a8;
}

.TableContainer .Even,
.TableContainer tr.Even td,
.TableContainer .TableContent tr:nth-child(even) td {
  background: #d6b172;
}

.Content .TableContainer,
.Content .TableContainer table,
.Content .TableContent,
.Content .TableContentContainer,
.Content .InnerTableContainer {
  box-sizing: border-box;
  max-width: 100%;
}

.Content .TableContentContainer {
  height: auto;
  min-height: 0;
  margin-right: 0;
}

.Content .TableContainer .Table1,
.Content .TableContainer .Table2,
.Content .TableContainer .Table3,
.Content .TableContainer .Table4,
.Content .TableContainer .Table5 {
  height: auto;
  min-height: 0;
}

.Content .TableContainer .Table1 .InnerTableContainer,
.Content .TableContainer .Table2 .InnerTableContainer,
.Content .TableContainer .Table3 .InnerTableContainer,
.Content .TableContainer .Table4 .InnerTableContainer,
.Content .TableContainer .Table5 .InnerTableContainer {
  width: auto;
  min-height: 0;
  margin-left: 0;
  margin-right: 0;
}

/* Shared navigation is also used by account and character profiles. */
.rankings-action-bar { margin: 0 0 10px; padding: 6px; background: #f1e0bd; border: 1px solid #8b6f3e; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rankings-pagination { justify-content: space-between; }
.rankings-action-link { display: inline-block; padding: 4px 8px; background: #d4bd8b; border: 1px solid #8b6f3e; color: #4b2a12; font-weight: bold; text-decoration: none; }
.rankings-action-link:hover { background: #e6c98d; }
.Content .BoxContent .account-profile-character-open { display: inline-flex; box-sizing: border-box; align-items: center; min-height: 36px; max-width: 100%; white-space: normal; overflow-wrap: break-word; }
.Content .BoxContent .account-profile-character-open:focus-visible { outline: 2px solid #5b2d12; outline-offset: 2px; }
.Content .BoxContent .guild-ranking-details { font-size: 14px; font-weight: normal; line-height: 1.4; }
.Content .BoxContent .guild-ranking-details dl { margin: 6px 0 0; }
.Content .BoxContent .guild-ranking-details dt { margin-top: 5px; font-weight: bold; }
.Content .BoxContent .guild-ranking-details dd { margin: 0; overflow-wrap: break-word; }
.Content .BoxContent .guild-ranking-table .guild-ranking-action { min-width: 120px; }
.Content .BoxContent .guild-ranking-table .guild-ranking-action a { display: inline-flex; box-sizing: border-box; align-items: center; min-height: 44px; white-space: nowrap; }
.Content .BoxContent .account-ranking-open { display: inline-flex; box-sizing: border-box; align-items: center; min-height: 44px; max-width: 100%; margin-top: 4px; white-space: normal; overflow-wrap: break-word; }
.Content .BoxContent .account-ranking-open:focus-visible { outline: 2px solid #5b2d12; outline-offset: 2px; }
.Content .BoxContent .player-highscore-open { display: inline-flex; box-sizing: border-box; align-items: center; min-height: 44px; max-width: 100%; white-space: normal; overflow-wrap: break-word; }
.Content .BoxContent .player-highscore-open:focus-visible { outline: 2px solid #5b2d12; outline-offset: 2px; }
.Content .BoxContent .account-ranking-breakdown { font-size: 14px; font-weight: normal; line-height: 1.4; overflow-wrap: break-word; }
.Content .BoxContent .account-ranking-breakdown summary { box-sizing: border-box; min-height: 44px; padding: 10px 0; cursor: pointer; }
.Content .BoxContent .rankings-action-bar:not(.rankings-navigation) > a.rankings-action-link {
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 0;
  padding: 8px 12px;
  color: #4b2a12;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
}
.Content .BoxContent .rankings-action-bar:not(.rankings-navigation) > a.rankings-action-link:focus-visible {
  outline: 2px solid #6b4a2b;
  outline-offset: 2px;
}

/* Signature codes stay readable and copyable inside the character profile. */
.Content .BoxContent .character-signature-preview { max-width: 100%; height: auto; }
.Content .BoxContent .character-signature-links { box-sizing: border-box; width: 100%; max-width: 480px; margin: 8px auto 0; text-align: left; }
.Content .BoxContent .character-signature-links summary { box-sizing: border-box; min-height: 44px; padding: 10px 6px; cursor: pointer; font-weight: bold; }
.Content .BoxContent .character-signature-links summary:focus-visible { outline: 2px solid #6b4a2b; outline-offset: -2px; }
.Content .BoxContent .character-signature-hide,
.Content .BoxContent .character-signature-links[open] .character-signature-show { display: none; }
.Content .BoxContent .character-signature-links[open] .character-signature-hide { display: inline; }
.Content .BoxContent .character-signature-code { display: grid; gap: 10px; padding: 4px 6px 10px; }
.Content .BoxContent .character-signature-code label { display: block; min-width: 0; overflow-wrap: break-word; }
.Content .BoxContent .character-signature-code input { display: block; box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; margin-top: 4px; }
.Content .BoxContent .character-profile-comment { overflow-wrap: anywhere; word-break: normal; }
.Content .BoxContent .character-profile-comment img { max-width: 100%; height: auto; }
.Content .BoxContent .character-pvp-summary { box-sizing: border-box; width: 100%; padding: 10px; border: 1px solid #b69a68; background: #f7ead0; }
.Content .BoxContent .character-pvp-summary h2 { margin: 0 0 6px; color: #4b2a12; font-size: 18px; }
.Content .BoxContent .character-pvp-summary > p { margin: 5px 0 9px; }
.Content .BoxContent .character-pvp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin-top: 10px; }
.Content .BoxContent .character-pvp-card { min-width: 0; padding: 10px; border: 1px solid #b69a68; background: #fff4dc; }
.Content .BoxContent .character-pvp-card h3 { margin: 0 0 8px; font-size: 16px; overflow-wrap: anywhere; }
.Content .BoxContent .character-pvp-score { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: #4b2a12; }
.Content .BoxContent .character-pvp-score strong { font-size: 20px; }
.Content .BoxContent .character-pvp-status { color: #6b4a2b; font-weight: bold; }
.Content .BoxContent .character-pvp-details summary,
.Content .BoxContent .character-pvp-explanation summary { box-sizing: border-box; min-height: 44px; padding: 11px 4px; color: #4b2a12; font-weight: bold; cursor: pointer; }
.Content .BoxContent .character-pvp-details summary:focus-visible,
.Content .BoxContent .character-pvp-explanation summary:focus-visible { outline: 2px solid #6b4a2b; outline-offset: -2px; }
.Content .BoxContent .character-pvp-details dl { margin: 0; padding: 2px 0 8px; }
.Content .BoxContent .character-pvp-details dt { margin-top: 8px; font-weight: bold; }
.Content .BoxContent .character-pvp-details dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.Content .BoxContent .character-pvp-technical { margin-top: 8px; padding-top: 8px; border-top: 1px solid #d3bc8b; overflow-wrap: anywhere; }
.Content .BoxContent .character-pvp-explanation { margin-top: 10px; border-top: 1px solid #d3bc8b; }
.Content .BoxContent .character-pvp-explanation p { margin: 2px 0 8px; }

/* Character profile: keep the action with the character name in both account lists. */
.Content .BoxContent .character-account-table {
  width: 100%;
  table-layout: auto;
}
.Content .BoxContent .character-account-table th,
.Content .BoxContent .character-account-table td {
  vertical-align: middle;
  word-break: normal;
  overflow-wrap: normal;
}
.Content .BoxContent .character-account-table .character-account-row td:first-child {
  overflow-wrap: break-word;
}
.Content .BoxContent .character-account-table .character-account-row {
  scroll-margin-top: 12px;
}
.Content .BoxContent .character-account-table .character-account-row:target td {
  background: #fff3cf;
}
.Content .BoxContent .character-account-table .character-account-open {
  display: inline-block;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 44px;
  padding: 9px 10px;
  vertical-align: middle;
  white-space: normal;
  overflow-wrap: anywhere;
}
.Content .BoxContent .character-account-table .character-account-open:focus-visible {
  outline: 2px solid #6b4a2b;
  outline-offset: 2px;
}
.Content .BoxContent .character-account-table .character-account-heading-row td {
  color: #fff0d1;
}
.Content .BoxContent .character-account-other-toggle {
  box-sizing: border-box;
  padding: 8px 10px;
  color: #fff0d1;
  font-weight: bold;
  cursor: pointer;
}
.Content .BoxContent .character-account-other-toggle span {
  color: #fff0d1;
}
.Content .BoxContent .character-account-other-toggle:focus-visible {
  outline: 2px solid #6b4a2b;
  outline-offset: 2px;
}
.Content .BoxContent .character-account-other .character-account-table {
  margin-top: 4px;
}
.Content .BoxContent .rankings-navigation {
  padding: 0 0 8px;
  border: 0;
  border-bottom: 1px solid #b89a61;
  background: transparent;
  gap: 5px;
}
.Content .BoxContent .rankings-navigation a.rankings-action-link {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 40px;
  padding: 7px 12px;
  border: 1px solid #b79a65;
  border-radius: 3px;
  background: #f3e3bf;
  color: #563016;
  text-decoration: none;
}
.Content .BoxContent .rankings-navigation a.rankings-action-link:hover {
  background: #ead09b;
  color: #352011;
}
.Content .BoxContent .rankings-navigation a.rankings-action-link[aria-current="page"] {
  border-color: #72461e;
  background: linear-gradient(#794a20, #4d2b13);
  color: #fff0c8;
  box-shadow: inset 0 0 0 1px #a87c3a;
}
.Content .BoxContent .rankings-navigation a:focus-visible,
.Content .BoxContent a.rankings-category-card:focus-visible {
  outline: 3px solid #276f61;
  outline-offset: 3px;
}
.Content .BoxContent .rankings-section-title {
  margin: 8px 0 12px;
  color: #5d3717;
  font-family: var(--rdx-title);
  font-size: 20px;
}
.rankings-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}
.Content .BoxContent a.rankings-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  min-height: 106px;
  padding: 12px;
  box-sizing: border-box;
  border: 2px solid #765024;
  border-radius: 4px;
  background: linear-gradient(145deg, #70451f, #352518);
  box-shadow: inset 0 0 0 1px #c6a362, 0 2px 3px #6d431b26;
  text-align: center;
  text-decoration: none;
}
.Content .BoxContent .rankings-category-card strong {
  color: #ffe7ad;
  font-family: var(--rdx-title);
  font-size: 17px;
  line-height: 1.3;
}
.Content .BoxContent .rankings-category-hint {
  color: #f1d8a8;
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: break-word;
}
.rankings-category-card img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: invert(85%) sepia(35%) saturate(490%) hue-rotate(350deg);
}
.Content .BoxContent a.rankings-category-card:hover {
  border-color: #b0843b;
  background: linear-gradient(145deg, #82552a, #473220);
}
.rankings-action-note { margin: 0 0 10px; padding: 6px 8px; background: #f7ead0; border: 1px solid #c8ad7a; color: #6b4a2b; font-size: 13px; line-height: 1.45; }
.rankings-period-note { padding: 0; }
.rankings-period-note summary { box-sizing: border-box; min-height: 44px; padding: 10px 8px; cursor: pointer; }
.rankings-period-note summary:focus-visible { outline: 2px solid #5b2d12; outline-offset: -2px; }
.rankings-period-note-body { padding: 0 8px 10px; }

.Content .TableContainer {
  height: auto;
  min-height: 0;
  /* Fixed previews use viewport coordinates, not a layout-containing ancestor. */
  contain: none;
}

.Content .TableContainer .CaptionContainer,
.Content .TableContainer .CaptionContainer .CaptionInnerContainer {
  /* Only the header must shrink to its text; never reset every descendant. */
  height: auto;
}

.Content .guild-global-panel .ggp-card,
.Content .guild-global-panel .ggp-leadership-card {
  border: 1px solid var(--ggp-line);
  background: var(--ggp-card-bg);
  box-shadow: none;
}

.Content .guild-global-panel .ggp-card-title {
  margin: 0 0 8px;
  padding: 0 0 6px;
  border: 0;
  border-bottom: 1px solid var(--ggp-line);
  background: transparent;
  color: var(--ggp-title);
  text-shadow: none;
  font-size: 16px;
  line-height: 1.4;
  overflow-wrap: break-word;
}

.Content .guild-global-panel .ggp-pvp-worlds {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.Content .guild-global-panel .ggp-pvp-table {
  font-size: 14px;
  line-height: 1.45;
}
.Content .guild-global-panel .ggp-pvp-table th,
.Content .guild-global-panel .ggp-pvp-table td {
  padding: 9px 10px;
  overflow-wrap: break-word;
  word-break: normal;
}
.ggp-rating-details summary {
  cursor: pointer;
  padding: 5px 0;
  font-weight: 700;
}
.ggp-rating-details dl { margin: 8px 0 0; }
.ggp-rating-details dt { font-weight: 700; margin-top: 7px; }
.ggp-rating-details dd { margin: 0; }
.ggp-rating-details p { margin: 8px 0; }

input,
select,
textarea {
  border-color: #6b431d;
  border-radius: 3px;
  background: #fff2c8;
  color: var(--rdx-text);
  box-shadow: inset 0 1px 2px rgba(48, 25, 10, 0.18);
}

#Themeboxes .Themebox::before,
#Topbar::before,
#PremiumBox::before,
#NewcomerBox::before,
#GalleryBox::before,
#NetworksBox::before,
#CurrentPollBox::before {
  position: absolute;
  top: 8px;
  left: 9px;
  right: 9px;
  width: auto;
  height: 25px;
  line-height: 25px;
  box-sizing: border-box;
  border: 1px solid #1b0903;
  color: #ffe3a1;
  background: var(--rdx-side-header) !important;
  font-size: 12px;
  letter-spacing: 0;
  text-shadow: 0 1px 0 #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow:
    0 0 0 1px rgba(222, 174, 84, 0.36),
    inset 0 1px 0 rgba(255, 236, 168, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.55);
}

#NetworksBox::before {
  font-size: 10px;
}

#Topbar::before {
  font-size: 11px;
}

.Themebox,
#Topbar,
#PremiumBox,
#NewcomerBox,
#GalleryBox,
#NetworksBox,
#CurrentPollBox {
  box-sizing: border-box;
  width: var(--rdx-right-rail-width);
  min-height: 0;
  height: auto !important;
  padding: 41px 10px 14px;
  overflow: visible;
  border: 4px solid transparent;
  outline: 1px solid rgba(20, 7, 2, 0.95);
  outline-offset: -2px;
  background:
    linear-gradient(90deg, rgba(231, 188, 91, 0.7), transparent 74%) top 7px left 8px / 58px 2px no-repeat,
    linear-gradient(270deg, rgba(231, 188, 91, 0.7), transparent 74%) top 7px right 8px / 58px 2px no-repeat,
    linear-gradient(90deg, rgba(231, 188, 91, 0.45), transparent 74%) bottom 7px left 8px / 58px 2px no-repeat,
    linear-gradient(270deg, rgba(231, 188, 91, 0.45), transparent 74%) bottom 7px right 8px / 58px 2px no-repeat,
    var(--rdx-side-frame-fill) padding-box,
    var(--rdx-side-frame-edge) border-box !important;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.48),
    inset 0 0 0 1px rgba(240, 207, 131, 0.22),
    inset 0 0 22px rgba(0, 0, 0, 0.32);
}

#Themeboxes {
  display: grid;
  gap: 12px;
  margin-top: 0;
}

#Themeboxes .Bottom {
  display: none !important;
}

#Topbar + br,
#Topbar + br + br,
#Topbar + br + br + br {
  display: none;
}

#Themeboxes .ThemeboxButton {
  position: relative;
  bottom: auto;
  left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 28px;
  margin: 10px 6px 0;
  padding: 0 8px;
  text-align: center;
  background-image: none !important;
}

#Themeboxes .ThemeboxButton .BigButtonOver,
#Themeboxes .ThemeboxButton .ButtonText {
  display: none;
}

#NewcomerBox .ThemeboxButton::after,
#PremiumBox .ThemeboxButton::after,
#CurrentPollBox .ThemeboxButton::after {
  color: inherit;
  font-family: var(--rdx-ui);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 1px 0 #000;
}

#NewcomerBox .ThemeboxButton::after {
  content: var(--themebox-newcomer-button);
}

#PremiumBox .ThemeboxButton::after {
  content: "Premium";
}

#CurrentPollBox .ThemeboxButton::after {
  content: "Vote";
}

#NewcomerBox::after {
  order: 2;
  position: static;
  display: block;
  width: auto;
  height: auto;
  min-height: 0;
  margin: -38px 7px 0;
  padding: 7px 8px 8px;
  color: #fff4a8;
  background:
    linear-gradient(90deg, rgba(22, 92, 130, 0.48), transparent 28%, transparent 72%, rgba(231, 188, 91, 0.28)),
    linear-gradient(180deg, rgba(12, 18, 16, 0.88) 0%, rgba(42, 19, 8, 0.93) 100%);
  border: 1px solid rgba(240, 207, 131, 0.52);
  font-size: 11px;
  line-height: 1.18;
  text-align: center;
  text-shadow: 0 1px 0 #000;
  white-space: normal;
  z-index: 1;
  box-shadow:
    0 7px 12px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(0, 0, 0, 0.38);
}

#NewcomerBox {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 246px;
}

#NewcomerBox .RdxNewcomerArt {
  order: 1;
  min-height: 142px;
  margin: -2px 0 0;
  border: 1px solid rgba(240, 207, 131, 0.44);
  background:
    linear-gradient(180deg, rgba(6, 10, 8, 0) 44%, rgba(7, 10, 8, 0.78) 100%),
    url(images/themeboxes/newcomer/newcomer-invite-v1.webp) center 33% / cover no-repeat;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.52),
    inset 0 -26px 28px rgba(0, 0, 0, 0.48);
}

#NewcomerBox .ThemeboxButton {
  order: 3;
  width: 100%;
  min-height: 34px;
  margin: 0;
  border: 1px solid #e3bd4f;
  color: #fff1a8;
  background:
    linear-gradient(180deg, #1d79ff 0%, #0c34d7 52%, #061057 100%) !important;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.85),
    0 7px 12px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -2px 0 rgba(0, 0, 0, 0.45);
}

#NewcomerBox .ThemeboxButton:hover,
#NewcomerBox .ThemeboxButton:focus-visible {
  color: #ffffff;
  background:
    linear-gradient(180deg, #2d95ff 0%, #0f48f2 52%, #07136a 100%) !important;
  border-color: #ffe277;
}

#Themeboxes #Topbar .top_level {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 0;
  color: #f4dcaa;
  font-family: Verdana, Arial, Helvetica, sans-serif;
}

#Themeboxes #Topbar .top_player_filter {
  margin: 0 0 7px;
}

#Themeboxes #Topbar .top_player_filter select {
  box-sizing: border-box;
  width: 100%;
  min-height: 32px;
  padding: 4px;
  font-size: 12px;
}

#Themeboxes #Topbar .top_player_filter noscript button {
  width: 100%;
  margin-top: 4px;
}

#Themeboxes #Topbar .top_player_entry {
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 5px 0;
  border-bottom: 1px solid rgba(214, 164, 74, 0.22);
}

#Themeboxes #Topbar .top_player_entry:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

#Themeboxes #Topbar a.topfont {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 0;
  color: #f0d79f;
  font-size: 11px;
  font-weight: bold;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  text-shadow: 0 1px 0 #000;
}

#Themeboxes #Topbar .top_player_outfit {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  object-fit: contain;
  image-rendering: pixelated;
}

#Themeboxes #Topbar .top_player_details {
  flex: 1;
  min-width: 0;
}

#Themeboxes #Topbar .top_player_name {
  display: block;
  overflow-wrap: anywhere;
}

#Themeboxes #Topbar .top_player_rank {
  color: #ffe3a1;
  font-variant-numeric: tabular-nums;
}

#Themeboxes #Topbar .top_player_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1px 6px;
  margin-top: 2px;
  color: #d4c5a5;
  font-size: 10px;
  font-weight: normal;
}

#Themeboxes #Topbar .top_player_meta > span {
  white-space: nowrap;
}

#Themeboxes #Topbar .top_player_empty {
  margin: 5px 0;
  font-size: 11px;
  line-height: 1.4;
}

#Themeboxes #Topbar a.topfont:hover .top_player_name {
  text-decoration: underline;
}

#Themeboxes #Topbar a.topfont:focus-visible,
#Themeboxes #Topbar .top_player_filter select:focus-visible {
  outline: 2px solid #ffe3a1;
  outline-offset: 2px;
}

#Themeboxes #Topbar a.topfont.online {
  color: #80e49f;
}

#Themeboxes #Topbar a.topfont.offline {
  color: #e58a7f;
}

#Themeboxes #GalleryBox #GalleryContent {
  position: static;
  display: block;
  width: 100%;
  height: 98px;
  margin: 0;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(240, 207, 131, 0.42);
  background: #0b1714;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.58), 0 2px 0 rgba(0, 0, 0, 0.36);
}

#Themeboxes #GalleryBox a {
  display: block;
  padding: 4px;
  border: 1px solid rgba(95, 193, 164, 0.2);
  background: linear-gradient(180deg, rgba(12, 35, 30, 0.96) 0%, rgba(15, 11, 7, 0.96) 100%);
}

#Themeboxes #CurrentPollBox #CurrentPollText {
  position: static;
  width: auto;
  min-height: 0;
  height: auto;
  padding: 8px;
  color: #f4dcaa;
  background: linear-gradient(180deg, #2b1b0d 0%, #17110a 100%);
  border: 1px solid rgba(214, 164, 74, 0.28);
  font-size: 11px;
  line-height: 1.25;
  overflow: visible;
}

#NetworksBox .RdxNetworkPanel {
  display: grid;
  gap: 7px;
}

#NetworksBox .RdxNetworkNote {
  padding-top: 5px;
  border-top: 1px solid rgba(214, 164, 74, 0.22);
  color: #bfa66d;
  font-size: 10px;
  line-height: 1.2;
  text-align: center;
}

#RightArtwork {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  box-sizing: border-box;
  width: var(--rdx-right-rail-width);
  min-height: 104px;
  margin: 0 0 12px;
  padding: 8px;
  border: 4px solid transparent;
  border-radius: 2px;
  outline: 1px solid rgba(20, 7, 2, 0.95);
  outline-offset: -2px;
  background:
    linear-gradient(90deg, rgba(231, 188, 91, 0.7), transparent 74%) top 7px left 8px / 58px 2px no-repeat,
    linear-gradient(270deg, rgba(231, 188, 91, 0.7), transparent 74%) top 7px right 8px / 58px 2px no-repeat,
    linear-gradient(90deg, rgba(231, 188, 91, 0.45), transparent 74%) bottom 7px left 8px / 58px 2px no-repeat,
    linear-gradient(270deg, rgba(231, 188, 91, 0.45), transparent 74%) bottom 7px right 8px / 58px 2px no-repeat,
    var(--rdx-side-frame-fill) padding-box,
    var(--rdx-side-frame-edge) border-box;
  text-align: left;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.48),
    inset 0 0 0 1px rgba(240, 207, 131, 0.22),
    inset 0 0 22px rgba(0, 0, 0, 0.32);
}

#RightArtwork,
#RightArtwork * {
  box-sizing: border-box;
}

#RightArtwork::before {
  content: none;
  display: none;
}

#RightArtwork::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 12px;
  right: 12px;
  bottom: 9px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(231, 188, 91, 0.55) 24%, rgba(95, 193, 164, 0.34) 50%, rgba(231, 188, 91, 0.55) 76%, transparent 100%);
  pointer-events: none;
}

#NewcomerBox,
#NetworksBox {
  min-height: 128px;
}

#NetworksBox .RdxNetworkLink {
  margin: 0;
  min-height: 34px;
  padding: 5px 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  line-height: 1.12;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  border-color: rgba(214, 164, 74, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 238, 186, 0.14), 0 1px 0 rgba(0, 0, 0, 0.45);
}

#Themeboxes > span[data-i18n="label.template_selector"],
#Themeboxes > span[data-i18n="label.template_selector"] + br,
#Themeboxes > span[data-i18n="label.template_selector"] + br + form {
  display: none !important;
}

#RightArtwork #PedestalAndOnline {
  display: none;
}

#RightArtwork #Monster {
  display: none;
}

#RightArtwork #PlayersOnline {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  padding: 0;
  color: #dfc17c;
  text-align: center;
  font-size: 10px;
  line-height: 1.2;
}

#RightArtwork #PlayersOnline .ServerStatusDetails {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

#RightArtwork #PlayersOnline .ServerStatusDetails > summary {
  list-style: none;
}

#RightArtwork #PlayersOnline .ServerStatusDetails > summary::-webkit-details-marker {
  display: none;
}

#RightArtwork #PlayersOnline .ServerStatusSummary {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 96px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}

.ServerStatusPlateTitle {
  grid-area: title;
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 26px;
  border: 1px solid #1b0903;
  background:
    linear-gradient(90deg, rgba(95, 193, 164, 0.16), transparent 18%, transparent 82%, rgba(95, 193, 164, 0.16)),
    linear-gradient(180deg, rgba(255, 240, 184, 0.16) 0%, transparent 42%),
    var(--rdx-side-header);
  color: #ffe3a1;
  font-family: var(--rdx-title);
  font-size: 12px;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
  text-shadow: 0 1px 0 #000;
  white-space: nowrap;
  box-shadow:
    0 0 0 1px rgba(222, 174, 84, 0.36),
    inset 0 1px 0 rgba(255, 236, 168, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.55);
}

.ServerStatusPlateTitle::before,
.ServerStatusPlateTitle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  border: 1px solid rgba(255, 229, 155, 0.46);
  background: #1a0d06;
  transform: translateY(-50%) rotate(45deg);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.42);
}

.ServerStatusPlateTitle::before {
  left: 9px;
}

.ServerStatusPlateTitle::after {
  right: 9px;
}

.ServerStatusMainReadout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  grid-template-areas: "label count";
  align-items: center;
  gap: 9px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 62px;
  margin-top: 7px;
  padding: 9px 8px 9px 11px;
  border: 1px solid rgba(214, 164, 74, 0.38);
  background:
    linear-gradient(90deg, rgba(95, 193, 164, 0.2), transparent 24%, transparent 76%, rgba(231, 188, 91, 0.18)),
    linear-gradient(180deg, rgba(255, 238, 186, 0.14) 0%, transparent 34%),
    linear-gradient(90deg, rgba(8, 30, 25, 0.98) 0%, rgba(18, 17, 10, 0.96) 48%, rgba(47, 22, 9, 0.96) 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.82),
    inset 0 0 0 1px rgba(0, 0, 0, 0.36),
    inset 0 10px 16px rgba(255, 220, 128, 0.06),
    inset 0 -10px 18px rgba(0, 0, 0, 0.22);
}

.ServerStatusMainReadout::before {
  content: "";
  position: absolute;
  left: 11px;
  right: 62px;
  bottom: 9px;
  height: 1px;
  background: linear-gradient(90deg, rgba(240, 207, 131, 0.52), rgba(95, 193, 164, 0.22), transparent);
  pointer-events: none;
}

.ServerStatusMainReadout::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 7px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 238, 186, 0.22), transparent);
  pointer-events: none;
}

#RightArtwork #PlayersOnline .ServerStatusSummary::after {
  content: "";
  position: absolute;
  right: 60px;
  bottom: 13px;
  width: 6px;
  height: 6px;
  border-right: 1px solid rgba(255, 227, 161, 0.88);
  border-bottom: 1px solid rgba(255, 227, 161, 0.88);
  transform: rotate(45deg);
  pointer-events: none;
}

#RightArtwork #PlayersOnline .ServerStatusDetails[open] .ServerStatusSummary::after {
  bottom: 11px;
  transform: rotate(225deg);
}

#RightArtwork #PlayersOnline .statusMainCount {
  grid-area: count;
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(240, 207, 131, 0.56);
  background:
    radial-gradient(circle at 38% 30%, rgba(175, 255, 189, 0.32) 0%, transparent 31%),
    linear-gradient(135deg, rgba(255, 238, 186, 0.12), transparent 34%),
    linear-gradient(180deg, #14372d 0%, #071411 100%);
  color: #94f3a7;
  font-family: var(--rdx-title);
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
  text-shadow:
    0 1px 0 #000,
    0 0 8px rgba(71, 210, 123, 0.46);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.46),
    inset 0 -7px 12px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(6, 12, 9, 0.8);
}

#RightArtwork #PlayersOnline .statusMainCount::before,
#RightArtwork #PlayersOnline .statusMainCount::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 238, 186, 0.34), transparent);
  pointer-events: none;
}

#RightArtwork #PlayersOnline .statusMainCount::before {
  top: 5px;
}

#RightArtwork #PlayersOnline .statusMainCount::after {
  bottom: 5px;
}

#RightArtwork #PlayersOnline .statusMainLabel {
  grid-area: label;
  position: relative;
  min-width: 0;
  padding-left: 12px;
  color: #efd79c;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.18;
  text-align: left;
  text-transform: uppercase;
}

#RightArtwork #PlayersOnline .statusMainLabel::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 50%;
  width: 5px;
  height: 5px;
  border: 1px solid rgba(95, 193, 164, 0.52);
  background: rgba(7, 20, 17, 0.94);
  transform: translateY(-50%) rotate(45deg);
}

.ServerStatusFlyout {
  display: none;
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid rgba(214, 164, 74, 0.22);
}

.ServerStatusDetails[open] .ServerStatusFlyout {
  display: block;
}

.ServerStatusWorlds {
  display: grid;
  gap: 4px;
  margin: 0 0 7px;
}

.ServerStatusWorld {
  display: grid;
  grid-template-columns: 13px minmax(0, 1fr) 18px;
  align-items: center;
  min-height: 24px;
  gap: 3px;
  padding: 3px 4px;
  border: 1px solid rgba(214, 164, 74, 0.22);
  background:
    linear-gradient(90deg, rgba(12, 42, 35, 0.82) 0%, rgba(20, 13, 8, 0.94) 52%, rgba(39, 18, 9, 0.94) 100%);
  box-shadow:
    inset 2px 0 0 rgba(95, 193, 164, 0.2),
    inset 0 1px 0 rgba(255, 238, 186, 0.06);
}

.ServerStatusWorld.isOffline {
  box-shadow:
    inset 2px 0 0 rgba(205, 81, 71, 0.4),
    inset 0 1px 0 rgba(255, 238, 186, 0.06);
}

.WorldRune {
  width: 11px;
  height: 11px;
  margin-left: 1px;
  border: 1px solid #0c0502;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #dbffb6 0%, #62d581 35%, #0f3a2f 74%, #071512 100%);
  box-shadow: 0 0 5px rgba(80, 220, 125, 0.4);
}

.ServerStatusWorld.isOffline .WorldRune {
  background:
    radial-gradient(circle at 35% 35%, #ffd2bb 0%, #d46a5f 36%, #4a1611 74%, #160806 100%);
  box-shadow: 0 0 5px rgba(214, 95, 71, 0.32);
}

#RightArtwork #PlayersOnline .statusServerName {
  min-width: 0;
  overflow: hidden;
  color: #f0d79f;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.1;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#RightArtwork #PlayersOnline .statusServerPlayers {
  color: #ffe8a7;
  font-family: var(--rdx-ui);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-align: right;
}

#RightArtwork #PlayersOnline .statusServerState {
  display: none;
}

#RightArtwork #PlayersOnline .statusServerState.isOffline {
  color: #ff8989;
  background: rgba(51, 14, 10, 0.84);
}

.ServerStatusMeta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}

.ServerStatusApi {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 20px;
  padding: 3px 6px;
  border-top: 1px solid rgba(214, 164, 74, 0.18);
  border-bottom: 1px solid rgba(214, 164, 74, 0.18);
  color: #bfa66d;
  font-size: 8px;
  line-height: 1.1;
}

.ServerStatusApi b {
  color: #7ce489;
  font-size: 8px;
}

.ServerStatusApi.isOffline b {
  color: #ff8989;
}

#RightArtwork #PlayersOnline .ServerStatusLink {
  display: block;
  position: static;
  width: auto;
  min-height: 21px;
  padding: 4px 4px;
  border: 1px solid rgba(214, 164, 74, 0.28);
  background: linear-gradient(180deg, #6f3b15 0%, #3b1b09 100%);
  color: #ffe3a1;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 0 #000;
}

#RightArtwork #PlayersOnline .ServerStatusLink:hover,
#RightArtwork #PlayersOnline .ServerStatusLink:focus {
  color: #ffffff;
  text-decoration: underline;
}

#Footer {
  box-sizing: border-box;
  min-height: 52px;
  width: auto;
  max-width: calc(var(--rdx-layout-width) - 48px);
  margin: 16px 24px 28px;
  padding: 8px 16px 10px;
  border: 4px solid transparent;
  outline: 1px solid rgba(20, 7, 2, 0.95);
  outline-offset: -2px;
  background:
    linear-gradient(90deg, rgba(231, 188, 91, 0.75), transparent 70%) top 7px left 10px / 78px 2px no-repeat,
    linear-gradient(270deg, rgba(231, 188, 91, 0.75), transparent 70%) top 7px right 10px / 78px 2px no-repeat,
    linear-gradient(90deg, rgba(231, 188, 91, 0.45), transparent 70%) bottom 7px left 10px / 78px 2px no-repeat,
    linear-gradient(270deg, rgba(231, 188, 91, 0.45), transparent 70%) bottom 7px right 10px / 78px 2px no-repeat,
    linear-gradient(180deg, #2a160a 0%, #111a14 100%) padding-box,
    var(--rdx-side-frame-edge) border-box !important;
  color: #f0d8a4;
  font-size: 0;
  line-height: 1.2;
  text-shadow: 0 1px 0 #000;
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.44),
    inset 0 0 0 1px rgba(240, 207, 131, 0.22);
}

#Footer::before {
  content: "RedDAXE.pl \00a9\00a0 2026";
  display: block;
  margin-bottom: 2px;
  color: #ffe36f;
  font-family: var(--rdx-title);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 18px;
  text-transform: none;
}

#Footer .language-selector {
  display: inline-block !important;
  margin: 2px 5px 0 !important;
  color: #d8c08a;
  font-size: 10px;
  line-height: 13px;
  vertical-align: middle;
}

#Footer .language-selector select {
  max-width: 180px;
  padding: 1px 4px !important;
  border: 1px solid #8c6829;
  background: #f2e3b4;
  color: #201008;
  font-size: 10px !important;
}

#Footer {
  font-size: 10px;
}

#Footer span[data-i18n="footer.layout_credit"] {
  display: block;
  margin-top: 3px;
  color: #c8a66a;
  font-size: 10px;
  line-height: 13px;
}

#Footer a,
#Footer a:link,
#Footer a:visited {
  color: #ffe3a1;
}

#lang-switcher {
  position: static !important;
  right: auto !important;
  bottom: auto !important;
  z-index: auto !important;
  width: max-content;
  max-width: calc(100% - 24px);
  margin: 10px auto 12px !important;
  padding: 4px 6px !important;
  background: rgba(21, 18, 13, 0.92) !important;
  border: 1px solid #70451e;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

#lang-switcher select {
  max-width: 100%;
}

#NetworksBox.RedDAXENetworksBox {
  display: block;
}

.Content .BoxContent .wiki-section-tabs,
.Content .BoxContent .wiki-inline-tabs,
.Content .BoxContent .monster-mode-row,
.Content .BoxContent .item-mode-row {
  box-sizing: border-box;
  margin: 6px 0 10px;
  padding: 6px 7px;
  border: 1px solid #5c3a16;
  background: #d8b879;
  gap: 5px;
}

.Content .BoxContent .wiki-section-tab,
.Content .BoxContent .wiki-section-tab:link,
.Content .BoxContent .wiki-section-tab:visited,
.Content .BoxContent .wiki-inline-tab,
.Content .BoxContent .wiki-inline-tab:link,
.Content .BoxContent .wiki-inline-tab:visited,
.Content .BoxContent .monster-mode-link,
.Content .BoxContent .monster-mode-link:link,
.Content .BoxContent .monster-mode-link:visited,
.Content .BoxContent .item-mode-link,
.Content .BoxContent .item-mode-link:link,
.Content .BoxContent .item-mode-link:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 22px;
  padding: 3px 9px;
  border: 1px solid #8b632b;
  border-radius: 3px;
  background: #e7c77e;
  color: #3a1d08;
  font-size: 12px;
  font-weight: 700;
  line-height: 14px;
  letter-spacing: 0;
  text-decoration: none;
  text-shadow: none;
  transform: none;
}

.Content .BoxContent .wiki-section-tab:hover,
.Content .BoxContent .wiki-section-tab:focus,
.Content .BoxContent .wiki-inline-tab:hover,
.Content .BoxContent .wiki-inline-tab:focus,
.Content .BoxContent .monster-mode-link:hover,
.Content .BoxContent .monster-mode-link:focus,
.Content .BoxContent .item-mode-link:hover,
.Content .BoxContent .item-mode-link:focus {
  background: #f0d493;
  color: #3a1d08;
  text-decoration: none;
  transform: none;
}

.Content .BoxContent .wiki-section-tab.is-active,
.Content .BoxContent .wiki-inline-tab.is-active,
.Content .BoxContent .monster-mode-link.is-active,
.Content .BoxContent .item-mode-link.is-active {
  background: #5d3717;
  border-color: #9b7432;
  color: #fff0c1;
  text-shadow: 0 1px 0 #000;
}

.Content .BoxContent .wiki-panel,
.Content .BoxContent .monster-filter-bar,
.Content .BoxContent .item-wiki-filter,
.Content .BoxContent .item-data-notice,
.Content .BoxContent .wiki-terms-box,
.Content .BoxContent .monster-profile-box {
  border: 1px solid #7a5526;
  background: #e3c998;
  box-shadow: inset 0 0 0 1px rgba(255, 238, 179, 0.22);
}

.Content .BoxContent .monster-table th,
.Content .BoxContent .item-table th,
.Content .BoxContent .wiki-section-list th {
  background: #5d3717 !important;
  color: #fff0c1;
  border-color: #8b632b;
}

.Content .BoxContent .monster-table td,
.Content .BoxContent .item-table td,
.Content .BoxContent .wiki-section-list td {
  color: #3a2810;
  font-size: 12px;
  line-height: 1.35;
}

.Content .BoxContent .wiki-status,
.Content .BoxContent .monster-badge,
.Content .BoxContent .item-badge {
  border-color: #8b632b;
  background: #f3dfb6;
  color: #3a1d08;
  font-size: 11px;
  line-height: 14px;
  text-shadow: none;
}

.Content .BoxContent .wiki-section-name,
.Content .BoxContent .item-name-main,
.Content .BoxContent .monster-name-preview {
  color: #6b321b;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: 0;
  text-shadow: none;
  transform: none;
}

.Content .BoxContent .monster-mini-preview {
  box-sizing: border-box;
  width: min(280px, calc(100vw - 20px));
  border: 1px solid #5c3a16;
  background: #fff1d0;
  color: #3a2810;
  pointer-events: auto;
  contain: layout paint;
  box-shadow: 2px 2px 0 rgba(73, 45, 18, 0.45);
}

.Content .BoxContent .monster-thumb img,
.Content .BoxContent .monster-mini-thumb img {
  display: block;
  color: transparent;
  font-size: 0;
  line-height: 0;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.Content .BoxContent .monster-table tbody tr:hover td {
  background-color: rgba(255, 232, 174, 0.18);
}

.ggp-stat-trigger:hover,
.ggp-leadership-card:hover,
.ggp-member-main:hover,
.guild-shortcode:hover,
.wiki-term-card:hover,
.monster-loot-item:hover,
.monster-help:hover .monster-help-mark,
.monster-location-preview-button:hover,
.monster-location-preview-link:hover {
  transform: none;
  text-shadow: none;
}

.Content .BoxContent a,
.Content .BoxContent a:hover,
.Content .BoxContent a:focus,
button:hover,
button:focus,
input[type="submit"]:hover,
input[type="button"]:hover,
.MenuButton:hover,
.ThemeboxButton:hover,
.serverModePill:hover,
.GlobalLoginBtn:hover,
.GlobalProfileBtn:hover,
.Submenuitem:hover,
.rankings-action-link:hover,
.wiki-section-tab:hover,
.ggp-link-button:hover {
  scale: 1;
  filter: none;
}

@media (hover: none), (pointer: coarse) {
  .Content .BoxContent a:hover,
  .Content .BoxContent a:focus,
  .rankings-action-link:hover,
  .wiki-section-tab:hover,
  .wiki-inline-tab:hover,
  .monster-mode-link:hover,
  .item-mode-link:hover,
  .monster-name-preview:hover,
  .item-name-main:hover,
  .ggp-link-button:hover,
  .serverModePill:hover,
  #NetworksBox .RdxNetworkLink:hover {
    box-shadow: none;
    text-shadow: none;
    transform: none;
  }
}

/* Switch before the desktop shell's 1080px minimum would exceed the viewport. */
@media (max-width: 1080px) {
  #MobileMenuToggle:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    width: calc(100% - 16px);
    min-height: 44px;
    margin: 8px;
    padding: 10px 14px;
    border: 2px solid #a57b3e;
    border-radius: 3px;
    background: linear-gradient(#70451f, #352518);
    color: #fff0c1;
    font: bold 16px Verdana, sans-serif;
    cursor: pointer;
  }
  #MobileMenuToggle::after {
    content: '';
    width: 8px;
    height: 8px;
    margin-left: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
  }
  #MobileMenuToggle[aria-expanded="true"]::after { transform: rotate(225deg); }
  #MobileMenuToggle:focus-visible { outline: 3px solid #276f61; outline-offset: 2px; }
  #MenuColumn.mobile-menu-controlled { display: none; }
  body.mobile-menu-open { overflow: hidden; }

  #MobileMenuPanel[open] {
    position: fixed;
    inset: 0 auto 0 0;
    box-sizing: border-box;
    width: min(88vw, 380px);
    max-width: none;
    height: 100%;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0 10px 16px;
    border: 0;
    border-right: 2px solid #a57b3e;
    background: #17120e;
    color: #fff0c1;
    overflow-y: auto;
    overscroll-behavior: contain;
    animation: mobile-menu-enter 170ms ease-out;
  }

  #MobileMenuPanel::backdrop { background: rgba(7, 5, 3, 0.72); }

  @keyframes mobile-menu-enter {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
  }

  @media (prefers-reduced-motion: reduce) {
    #MobileMenuPanel[open] { animation: none; }
  }

  .MobileMenuHeader {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    background: #17120e;
    border-bottom: 1px solid #a57b3e;
  }

  #MobileMenuClose {
    min-height: 44px;
    padding: 6px 12px;
    border: 1px solid #a57b3e;
    background: #352518;
    color: inherit;
    cursor: pointer;
  }

  #MobileMenuPanel #MenuColumn {
    position: static;
    display: block;
    width: 100% !important;
    max-width: none !important;
    margin: 12px 0 0 !important;
    overflow: visible;
  }

  #MobileMenuPanel #Menu {
    left: 0;
    margin: 0 0 14px;
  }

  #MobileMenuPanel #MenuTop,
  #MobileMenuPanel #MenuBottom,
  #MobileMenuPanel #LeftArtwork { display: none; }

  #MobileMenuPanel .MenuButton {
    height: 44px;
    border: 1px solid #80582c;
    background-image: linear-gradient(#70451f, #352518) !important;
  }

  #MobileMenuPanel .Label {
    top: 0;
    right: 32px;
    bottom: 0;
    width: auto;
    height: auto;
    justify-content: flex-start;
    font-size: 13px;
  }

  #MobileMenuPanel .Extend { top: 17px; right: 10px; }
  #MobileMenuPanel .Submenuitem { min-height: 44px; }
  #Themeboxes #Topbar .top_player_filter select {
    min-height: 44px;
    font-size: 16px;
  }
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  body,
  #ArtworkHelper,
  #Bodycontainer {
    min-width: 0;
    overflow-x: hidden;
  }

  #Bodycontainer {
    display: block;
    width: 100%;
    max-width: none;
  }

  #ContentRow {
    display: block;
    top: auto;
    position: relative;
    margin-top: 0;
  }

  #MenuColumn,
  #ThemeboxesColumn,
  #ContentColumn {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: calc(100vw - 16px) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 16px) !important;
    box-sizing: border-box;
    margin: 0 8px 12px !important;
    padding: 0 !important;
    overflow: hidden;
  }

  #ContentHelper {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  #LeftArtwork {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    margin: 8px 0 12px;
    z-index: auto;
  }

  #RightArtwork {
    position: static;
    width: 100%;
    text-align: center;
  }

  #RightArtwork #Monster,
  #PedestalAndOnline {
    display: none;
  }

  #RedDAXELogoMark {
    display: block;
    position: relative;
    top: auto;
    left: auto;
    width: min(220px, 100%);
    min-height: 120px;
    margin: 8px auto 14px;
  }

  #Loginbox,
  #Menu,
  .MenuButton {
    width: auto;
  }

  #Loginbox {
    left: auto;
    margin-bottom: 8px;
  }

  #Loginbox.GlobalLoginSidebar::before,
  #Loginbox.GlobalLoginSidebar::after,
  #MenuTop,
  #MenuBottom {
    left: auto;
    width: 100%;
  }

  .MenuButton,
  .Submenu {
    max-width: 100%;
  }

  #MobileMenuPanel .Submenu,
  #MobileMenuPanel .Submenuitem { width: auto; }

  .Label {
    width: calc(100% - 56px);
  }

  .SocialNavBar,
  .serverModeBar {
    max-width: calc(100vw - 40px);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  .serverModeBarInner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    max-width: 326px;
    margin: 0 auto;
  }

  .serverModeLabel {
    flex: 0 0 100%;
    margin: 0 0 4px;
    text-align: center;
  }

  .serverModePill {
    flex: 1 1 calc(33.333% - 6px);
    min-width: 0;
    max-width: none;
    padding-left: 3px;
    padding-right: 3px;
    font-size: 13px;
  }

  .Content,
  .Content .Box,
  .Content .BoxContent {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .Content .Box {
    margin-left: 0;
    margin-right: 0;
  }

  .Content .Border_2 {
    max-width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
  }

  .Content .Border_1,
  .Content .BorderTitleText,
  .Content .Border_3 {
    max-width: 100%;
    box-sizing: border-box;
  }

  .Content .Corner-tl,
  .Content .Corner-bl {
    left: 0;
  }

  .Content .Corner-tr,
  .Content .Corner-br {
    right: 0;
  }

  .Content .Title.RedDAXEContentTitle {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    display: block;
    height: auto;
    min-height: 29px;
    padding: 8px 16px 7px;
    box-sizing: border-box;
    font-size: 19px;
    line-height: 1.18;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
  }

  .Content .BoxContent {
    min-height: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .Content #News .NewsHeadlineBackground,
  .Content #NewsArchive .NewsHeadlineBackground {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 7px;
    min-height: 28px;
    height: auto;
    padding: 4px 8px 4px 38px;
    box-sizing: border-box;
  }

  .Content #News .NewsHeadlineIcon,
  .Content #NewsArchive .NewsHeadlineIcon {
    top: 3px;
    left: 6px;
    width: 24px;
    height: 24px;
    margin: 0;
    object-fit: contain;
  }

  .Content #News .NewsHeadlineDate,
  .Content #NewsArchive .NewsHeadlineDate,
  .Content #News .NewsHeadlineText,
  .Content #NewsArchive .NewsHeadlineText,
  .Content #News .NewsHeadlineAuthor {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    width: auto;
    line-height: 1.2;
  }

  .Content #News .NewsHeadlineText,
  .Content #NewsArchive .NewsHeadlineText {
    flex: 1 1 130px;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .Content #News .NewsHeadlineAuthor {
    display: none;
  }

  body.page-news .Content #News .BoxContent table,
  body.page-root-news .Content #News .BoxContent table {
    display: block;
    width: 100% !important;
    max-width: 100%;
    table-layout: fixed;
  }

  body.page-news .Content #News .BoxContent tbody,
  body.page-root-news .Content #News .BoxContent tbody,
  body.page-news .Content #News .BoxContent tr,
  body.page-root-news .Content #News .BoxContent tr {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  body.page-news .Content #News .BoxContent,
  body.page-root-news .Content #News .BoxContent {
    overflow-x: hidden;
  }

  body.page-news .Content #News .BoxContent td,
  body.page-root-news .Content #News .BoxContent td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    padding-left: 8px !important;
    padding-right: 34px !important;
    font-size: 12px !important;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
  }

  body.page-news .Content #News .BoxContent td img,
  body.page-root-news .Content #News .BoxContent td img {
    max-width: 32px;
    height: auto;
  }

  body.page-news .Content #News .BoxContent td div,
  body.page-root-news .Content #News .BoxContent td div {
    margin-right: 0 !important;
    max-width: 100%;
    text-align: left !important;
  }

  body.page-news .Content #News .BoxContent a,
  body.page-root-news .Content #News .BoxContent a {
    display: inline-block;
    position: static;
    max-width: 100%;
    font-size: 11px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .TableContainer,
  .TableContainer table {
    max-width: 100%;
  }

  .Content .BoxContent .character-profile-stats,
  .Content .BoxContent .character-profile-stats > tbody,
  .Content .BoxContent .character-profile-stats > tbody > tr {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  .Content .BoxContent .character-profile-stats > tbody > tr > td {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 0 0 10px;
  }

  .Content .BoxContent .wiki-section-tabs,
  .Content .BoxContent .wiki-inline-tabs,
  .Content .BoxContent .monster-mode-row,
  .Content .BoxContent .item-mode-row {
    align-items: stretch;
  }

  .Content .BoxContent .rankings-navigation a.rankings-action-link {
    min-height: 44px;
  }

  .Content .BoxContent .rankings-page,
  .Content .BoxContent .ban-page {
    font-size: 14px;
    line-height: 1.5;
  }

  /* Remove layout-only spacer/sidebar columns; the same category/vocation
   * choices remain available in the existing selectors above the results. */
  .rankings-page > table,
  .rankings-page > table > tbody,
  .rankings-page > table > tbody > tr,
  .rankings-page > table > tbody > tr > .HighscoresMainCol {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0;
  }

  .rankings-page > table > tbody > tr > .HighscoresMainCol {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .rankings-page > table > tbody > tr > td:not(.HighscoresMainCol) {
    display: none;
  }

  .Content .BoxContent .rankings-filter-table,
  .Content .BoxContent .rankings-filter-table > tbody,
  .Content .BoxContent .rankings-filter-table > tbody > tr,
  .Content .BoxContent .rankings-filter-table > tbody > tr > td {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .rankings-filter-table label,
  .ban-page form label {
    display: block;
    margin: 0 0 6px;
  }

  .rankings-page select,
  .rankings-page input:not([type="hidden"]),
  .ban-page form input:not([type="checkbox"]):not([type="hidden"]) {
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    font-size: 16px;
  }

  .rankings-action-link,
  .rankings-page button,
  .ban-page button,
  .ban-filter-group > a,
  .ban-filter-group > .is-selected {
    min-height: 44px;
    padding: 10px;
  }

  .ban-filter-group > strong:first-child {
    flex: 0 0 100%;
  }

  .rankings-page .arena-overview-world {
    grid-template-columns: minmax(0, 1fr);
  }

  .records-card-scroll {
    overflow: visible;
    border: 0;
  }

  .records-card-scroll > .mobile-record-table,
  .mobile-record-table > tbody {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  /* Keep semantic headers available to assistive technology. */
  .mobile-record-table > thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .mobile-record-table .mobile-record-row {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 0 14px;
    padding: 6px 10px;
    border: 1px solid #b69a68;
    background: #f7ead0;
  }

  .Content .BoxContent .mobile-record-table td[data-label] {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 10px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 9px 0;
    border-bottom: 1px solid #d3bc8b;
    font-size: 14px;
    text-align: left;
    white-space: normal;
  }

  .mobile-record-table td[data-label]::before {
    content: attr(data-label);
    font-weight: bold;
    color: #6b4a2b;
    overflow-wrap: normal;
  }

  .mobile-record-table .record-value {
    min-width: 0;
    max-width: 100%;
    text-align: left !important;
    overflow-wrap: break-word;
    white-space: normal;
  }

  .Content .BoxContent .mobile-record-table td.ranking-number {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }

  .mobile-record-table .ranking-number .record-number {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .Content .BoxContent .mobile-record-table td.record-primary {
    display: block;
    order: -1;
    padding: 10px 0 12px;
  }

  .mobile-record-table .record-primary::before {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
  }

  .mobile-record-table .record-primary .record-value {
    font-size: 17px;
    font-weight: bold;
  }

  .Content .BoxContent .mobile-record-table td.record-empty {
    display: none;
  }

  .Content .BoxContent .ban-list-table td.ban-details-cell,
  .Content .BoxContent .ban-list-table td.ban-action-cell {
    display: block;
  }

  .ban-list-table .ban-details-cell::before {
    display: none;
  }

  .ban-details summary {
    box-sizing: border-box;
    min-height: 44px;
    padding: 10px 0;
  }

  .mobile-record-table td:last-child {
    border-bottom: 0;
  }

  .mobile-record-table td[colspan] {
    display: block;
    width: 100%;
    min-width: 0;
    white-space: normal;
  }

  .Content .BoxContent .character-account-table,
  .Content .BoxContent .character-account-table > tbody {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border-spacing: 0;
  }
  .character-account-table .character-account-heading-row {
    display: block;
  }
  .Content .BoxContent .character-account-table .character-account-heading-row td {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 8px;
  }
  .character-account-table .character-account-columns {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .character-account-table .character-account-row {
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 10px;
    padding: 5px 10px;
    border: 1px solid #b69a68;
    background: #f7ead0;
  }
  .Content .BoxContent .character-account-table .character-account-row td {
    display: grid;
    grid-template-columns: minmax(76px, 0.45fr) minmax(0, 1fr);
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: 7px 0;
    border-bottom: 1px solid #d3bc8b;
    text-align: left;
    white-space: normal;
    overflow-wrap: break-word;
  }
  .character-account-table .character-account-row td[data-label]::before {
    content: attr(data-label);
    font-weight: bold;
    color: #6b4a2b;
  }
  .Content .BoxContent .character-account-table .character-account-row td:first-child {
    display: block;
    font-size: 16px;
    font-weight: bold;
  }
  .character-account-table .character-account-row td:first-child::before {
    display: none;
  }
  .Content .BoxContent .character-account-table .character-account-row td:last-child {
    border-bottom: 0;
  }

  .Content .BoxContent .character-history-table,
  .Content .BoxContent .character-history-table > tbody {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    border-spacing: 0;
  }
  .character-history-table .character-history-heading,
  .character-history-table .character-history-footer,
  .character-history-table .character-history-empty {
    display: block;
  }
  .Content .BoxContent .character-history-table .character-history-heading td,
  .Content .BoxContent .character-history-table .character-history-footer td,
  .Content .BoxContent .character-history-table .character-history-empty td {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 8px;
    white-space: normal;
  }
  .character-history-table .character-history-row {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0 0 10px;
    padding: 5px 10px;
    border: 1px solid #b69a68;
    background: #f7ead0;
  }
  .Content .BoxContent .character-history-table .character-history-row td {
    display: grid;
    grid-template-columns: minmax(76px, 0.45fr) minmax(0, 1fr);
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: 7px 0;
    border-bottom: 1px solid #d3bc8b;
    text-align: left;
    white-space: normal;
    overflow-wrap: break-word;
  }
  .character-history-table .character-history-row td[data-label]::before {
    content: attr(data-label);
    color: #6b4a2b;
    font-weight: bold;
  }
  .Content .BoxContent .character-history-table .character-history-row .character-history-description {
    display: block;
    order: -1;
    font-weight: bold;
  }
  .Content .BoxContent .character-history-table .character-history-row td:last-child {
    border-bottom: 0;
  }

  .guild-ranking-table .guild-ranking-columns {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .Content .BoxContent .rankings-page .guild-ranking-table .mobile-record-row .ranking-rank {
    grid-column: 1;
    grid-row: 2;
    width: auto;
    text-align: left;
  }
  .Content .BoxContent .rankings-page .guild-ranking-table .mobile-record-row .ranking-number {
    grid-column: 2;
    grid-row: 2;
  }
  .Content .BoxContent .rankings-page .guild-ranking-table .mobile-record-row .record-primary {
    font-size: 16px;
    font-weight: bold;
    overflow-wrap: break-word;
  }
  .Content .BoxContent .rankings-page .guild-ranking-table td.guild-ranking-action[data-label] {
    display: block;
  }
  .Content .BoxContent .rankings-page .guild-ranking-table td.guild-ranking-action[data-label]::before {
    display: none;
  }
  .guild-ranking-table .guild-ranking-action a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .account-ranking-table .account-ranking-columns {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .Content .BoxContent .rankings-page .account-ranking-table .mobile-record-row .ranking-rank {
    grid-column: 1;
    grid-row: 2;
    width: auto;
    text-align: left;
  }
  .Content .BoxContent .rankings-page .account-ranking-table .mobile-record-row .ranking-number {
    grid-column: 1 / -1;
    grid-row: auto;
    overflow-wrap: anywhere;
  }
  .Content .BoxContent .rankings-page .account-ranking-table .mobile-record-row .record-primary {
    font-size: 16px;
    font-weight: bold;
    overflow-wrap: break-word;
  }
  .pvp-ranking-table .pvp-ranking-columns {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .Content .BoxContent .rankings-page .pvp-ranking-table:not(.open-pvp-ranking-table) .mobile-record-row > td:nth-child(n+5):not(.pvp-mobile-details-cell) {
    display: none;
  }
  .Content .BoxContent .rankings-page .pvp-ranking-table .pvp-mobile-details-cell {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    border-bottom: 0;
  }
  .pvp-ranking-table .pvp-mobile-details-cell summary {
    box-sizing: border-box;
    min-height: 44px;
    padding: 10px 0;
  }
  .Content .BoxContent .rankings-page .open-pvp-ranking-table .mobile-record-row .ranking-rank {
    grid-column: 1;
    grid-row: 2;
    width: auto;
    text-align: left;
  }
  .Content .BoxContent .rankings-page .open-pvp-ranking-table .mobile-record-row .ranking-number {
    grid-column: 2;
    grid-row: 2;
  }
  .Content .BoxContent .rankings-page .open-pvp-ranking-table .mobile-record-row .record-primary {
    font-size: 16px;
    font-weight: bold;
    overflow-wrap: break-word;
  }
  .Content .BoxContent .rankings-page .open-pvp-ranking-table td.open-pvp-details[data-label] {
    display: block;
  }
  .Content .BoxContent .rankings-page .open-pvp-ranking-table td.open-pvp-details[data-label]::before {
    display: none;
  }
  .open-pvp-ranking-table .open-pvp-details summary {
    box-sizing: border-box;
    min-height: 44px;
    padding: 10px 0;
  }

  .war-ranking-table .war-ranking-columns {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .Content .BoxContent .rankings-page .war-ranking-table .mobile-record-row .ranking-rank {
    grid-column: 1;
    grid-row: 2;
    width: auto;
    text-align: left;
  }
  .Content .BoxContent .rankings-page .war-ranking-table .mobile-record-row .ranking-number {
    grid-column: 2;
    grid-row: 2;
  }
  .Content .BoxContent .rankings-page .war-ranking-table .mobile-record-row .record-primary {
    font-size: 16px;
    font-weight: bold;
    overflow-wrap: break-word;
  }
  .Content .BoxContent .rankings-page .war-ranking-table td.war-ranking-action[data-label] {
    display: block;
  }
  .Content .BoxContent .rankings-page .war-ranking-table td.war-ranking-action[data-label]::before {
    display: none;
  }
  .war-ranking-table .war-ranking-action a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .war-ranking-table .war-ranking-action summary {
    box-sizing: border-box;
    min-height: 44px;
    padding: 10px 0;
  }

  .rankings-page .mobile-record-row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 10px;
    margin-bottom: 10px;
    padding: 8px;
  }
  .Content .BoxContent .rankings-page .mobile-record-table td[data-label] {
    grid-column: 1 / -1;
    width: auto;
    grid-template-columns: minmax(72px, 0.55fr) minmax(0, 1fr);
    gap: 6px;
    padding: 6px 0;
    line-height: 1.3;
  }
  .Content .BoxContent .rankings-page .mobile-record-table td.record-primary {
    grid-column: 1 / -1;
    padding: 5px 0 8px;
  }
  .rankings-page .mobile-record-table .record-primary::before { display: none; }
  .rankings-page .mobile-record-table .record-primary .record-value { font-size: 16px; }
  .Content .BoxContent .rankings-page .player-ranking-table td.ranking-rank {
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .Content .BoxContent .rankings-page .player-ranking-table td.ranking-level {
    grid-column: 2;
    grid-row: 2;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .Content .BoxContent .rankings-page .player-ranking-table td.record-outfit:not(.record-empty) {
    display: block;
    position: absolute;
    top: 8px;
    left: 8px;
    width: 48px !important;
    height: 48px;
    padding: 0;
    border: 0;
  }
  .rankings-page .player-ranking-table .record-outfit::before { display: none; }
  .rankings-page .player-ranking-table .record-outfit img {
    width: 48px !important;
    height: 48px !important;
  }
  .Content .BoxContent .rankings-page .player-record-with-outfit td.record-primary {
    min-height: 56px;
    padding-left: 56px;
  }
  .Content .BoxContent .rankings-page .player-ranking-table td.ranking-experience {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }
  .Content .BoxContent .rankings-page .rankings-preview-table .ranking-rank[data-label] {
    width: auto;
    text-align: left;
  }
  .rankings-preview-table .rankings-table-caption {
    display: block;
    box-sizing: border-box;
    width: 100%;
  }

}

@media (max-width: 600px) {
  .Content .BoxContent .character-pvp-cards { grid-template-columns: minmax(0, 1fr); }
  .Content .BoxContent .character-info-table,
  .Content .BoxContent .character-info-table > tbody,
  .Content .BoxContent .character-info-table > tbody > tr {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }
  .Content .BoxContent .character-info-table > tbody > tr > td {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 5px 8px;
    overflow-wrap: anywhere;
  }
  .Content .BoxContent .character-info-table > tbody > tr > td:first-child:not([colspan]) {
    padding-bottom: 1px;
    font-weight: bold;
  }
  .Content .BoxContent .character-info-table > tbody > tr > td:nth-child(2) {
    padding-top: 1px;
  }
  .Content .BoxContent .character-info-table > tbody > tr > td table {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .Content .BoxContent .account-profile-filter-table td:first-child {
    width: 1%;
    white-space: nowrap;
    overflow-wrap: normal;
  }
  .Content .BoxContent .rankings-page .guild-ranking-table .mobile-record-row .ranking-rank,
  .Content .BoxContent .rankings-page .guild-ranking-table .mobile-record-row .ranking-number {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 360px) {
  .SocialNavBar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
    align-items: stretch;
  }
  .SocialNavBar > a {
    display: flex;
    box-sizing: border-box;
    min-width: 0;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 2px 3px;
    line-height: 1.2;
    overflow-wrap: normal;
  }
  .SocialNavBar > .dot {
    display: none;
  }
  .serverModeBarInner > .serverModePill {
    flex: 1 1 calc(50% - 4px);
    min-height: 44px;
    overflow-wrap: normal;
  }
  .serverModeBarInner > .serverModeLabel + .serverModePill {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    scroll-behavior: auto;
    transition-duration: 0.01ms;
  }
}
