body {
  user-select: none;
  --rs-header-height: 35px;
  --rs-nav-height: 60px;
  --rs-action-bar-height: 42px;
  padding-top: calc(var(--rs-header-height) + var(--rs-nav-height) + var(--rs-action-bar-height));
}

.cut-text {
	overflow: hidden;
	position: relative;
	display: inline-block;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.scrolling-text{position:absolute;left:0;right:0;top:55%;margin-left:auto;margin-right:auto;text-align:center;vertical-align:middle;max-width:300px;font-size:25px;opacity:0;display:none;z-index:100}
.scrolling-text-active{animation:scrolling-text-animation 1s infinite;animation-iteration-count:1;animation-timing-function:linear;display:block}
@keyframes scrolling-text-animation{0%{opacity:1}to{transform:translateY(-150px);opacity:.2}}

.pyro > .before, .pyro > .after {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  box-shadow: -120px -218.66667px blue, 248px -16.66667px #00ff84, 190px 16.33333px #002bff, -113px -308.66667px #ff009d, -109px -287.66667px #ffb300, -50px -313.66667px #ff006e, 226px -31.66667px #ff4000, 180px -351.66667px #ff00d0, -12px -338.66667px #00f6ff, 220px -388.66667px #99ff00, -69px -27.66667px #ff0400, -111px -339.66667px #6200ff, 155px -237.66667px #00ddff, -152px -380.66667px #00ffd0, -50px -37.66667px #00ffdd, -95px -175.66667px #a6ff00, -88px 10.33333px #0d00ff, 112px -309.66667px #005eff, 69px -415.66667px #ff00a6, 168px -100.66667px #ff004c, -244px 24.33333px #ff6600, 97px -325.66667px #ff0066, -211px -182.66667px #00ffa2, 236px -126.66667px #b700ff, 140px -196.66667px #9000ff, 125px -175.66667px #00bbff, 118px -381.66667px #ff002f, 144px -111.66667px #ffae00, 36px -78.66667px #f600ff, -63px -196.66667px #c800ff, -218px -227.66667px #d4ff00, -134px -377.66667px #ea00ff, -36px -412.66667px #ff00d4, 209px -106.66667px #00fff2, 91px -278.66667px #000dff, -22px -191.66667px #9dff00, 139px -392.66667px #a6ff00, 56px -2.66667px #0099ff, -156px -276.66667px #ea00ff, -163px -233.66667px #00fffb, -238px -346.66667px #00ff73, 62px -363.66667px #0088ff, 244px -170.66667px #0062ff, 224px -142.66667px #b300ff, 141px -208.66667px #9000ff, 211px -285.66667px #ff6600, 181px -128.66667px #1e00ff, 90px -123.66667px #c800ff, 189px 70.33333px #00ffc8, -18px -383.66667px #00ff33, 100px -6.66667px #ff008c;
  -moz-animation: 1s bang ease-out infinite backwards, 1s gravity ease-in infinite backwards, 5s position linear infinite backwards;
  -webkit-animation: 1s bang ease-out infinite backwards, 1s gravity ease-in infinite backwards, 5s position linear infinite backwards;
  -o-animation: 1s bang ease-out infinite backwards, 1s gravity ease-in infinite backwards, 5s position linear infinite backwards;
  -ms-animation: 1s bang ease-out infinite backwards, 1s gravity ease-in infinite backwards, 5s position linear infinite backwards;
  animation: 1s bang ease-out infinite backwards, 1s gravity ease-in infinite backwards, 5s position linear infinite backwards; }

.pyro > .after {
  -moz-animation-delay: 1.25s, 1.25s, 1.25s;
  -webkit-animation-delay: 1.25s, 1.25s, 1.25s;
  -o-animation-delay: 1.25s, 1.25s, 1.25s;
  -ms-animation-delay: 1.25s, 1.25s, 1.25s;
  animation-delay: 1.25s, 1.25s, 1.25s;
  -moz-animation-duration: 1.25s, 1.25s, 6.25s;
  -webkit-animation-duration: 1.25s, 1.25s, 6.25s;
  -o-animation-duration: 1.25s, 1.25s, 6.25s;
  -ms-animation-duration: 1.25s, 1.25s, 6.25s;
  animation-duration: 1.25s, 1.25s, 6.25s; }

@-webkit-keyframes bang {
  from {
    box-shadow: 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white; } }
@-moz-keyframes bang {
  from {
    box-shadow: 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white; } }
@-o-keyframes bang {
  from {
    box-shadow: 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white; } }
@-ms-keyframes bang {
  from {
    box-shadow: 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white; } }
@keyframes bang {
  from {
    box-shadow: 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white; } }
@-webkit-keyframes gravity {
  to {
    transform: translateY(200px);
    -moz-transform: translateY(200px);
    -webkit-transform: translateY(200px);
    -o-transform: translateY(200px);
    -ms-transform: translateY(200px);
    opacity: 0; } }
@-moz-keyframes gravity {
  to {
    transform: translateY(200px);
    -moz-transform: translateY(200px);
    -webkit-transform: translateY(200px);
    -o-transform: translateY(200px);
    -ms-transform: translateY(200px);
    opacity: 0; } }
@-o-keyframes gravity {
  to {
    transform: translateY(200px);
    -moz-transform: translateY(200px);
    -webkit-transform: translateY(200px);
    -o-transform: translateY(200px);
    -ms-transform: translateY(200px);
    opacity: 0; } }
@-ms-keyframes gravity {
  to {
    transform: translateY(200px);
    -moz-transform: translateY(200px);
    -webkit-transform: translateY(200px);
    -o-transform: translateY(200px);
    -ms-transform: translateY(200px);
    opacity: 0; } }
@keyframes gravity {
  to {
    transform: translateY(200px);
    -moz-transform: translateY(200px);
    -webkit-transform: translateY(200px);
    -o-transform: translateY(200px);
    -ms-transform: translateY(200px);
    opacity: 0; } }
@-webkit-keyframes position {
  0%, 19.9% {
    margin-top: 10%;
    margin-left: 40%; }

  20%, 39.9% {
    margin-top: 40%;
    margin-left: 30%; }

  40%, 59.9% {
    margin-top: 20%;
    margin-left: 70%; }

  60%, 79.9% {
    margin-top: 30%;
    margin-left: 20%; }

  80%, 99.9% {
    margin-top: 30%;
    margin-left: 80%; } }
@-moz-keyframes position {
  0%, 19.9% {
    margin-top: 10%;
    margin-left: 40%; }

  20%, 39.9% {
    margin-top: 40%;
    margin-left: 30%; }

  40%, 59.9% {
    margin-top: 20%;
    margin-left: 70%; }

  60%, 79.9% {
    margin-top: 30%;
    margin-left: 20%; }

  80%, 99.9% {
    margin-top: 30%;
    margin-left: 80%; } }
@-o-keyframes position {
  0%, 19.9% {
    margin-top: 10%;
    margin-left: 40%; }

  20%, 39.9% {
    margin-top: 40%;
    margin-left: 30%; }

  40%, 59.9% {
    margin-top: 20%;
    margin-left: 70%; }

  60%, 79.9% {
    margin-top: 30%;
    margin-left: 20%; }

  80%, 99.9% {
    margin-top: 30%;
    margin-left: 80%; } }
@-ms-keyframes position {
  0%, 19.9% {
    margin-top: 10%;
    margin-left: 40%; }

  20%, 39.9% {
    margin-top: 40%;
    margin-left: 30%; }

  40%, 59.9% {
    margin-top: 20%;
    margin-left: 70%; }

  60%, 79.9% {
    margin-top: 30%;
    margin-left: 20%; }

  80%, 99.9% {
    margin-top: 30%;
    margin-left: 80%; } }
@keyframes position {
  0%, 19.9% {
    margin-top: 10%;
    margin-left: 40%; }

  20%, 39.9% {
    margin-top: 40%;
    margin-left: 30%; }

  40%, 59.9% {
    margin-top: 20%;
    margin-left: 70%; }

  60%, 79.9% {
    margin-top: 30%;
    margin-left: 20%; }

  80%, 99.9% {
    margin-top: 30%;
    margin-left: 80%; } }
	
.app .table tr td, .app .table tr th {
    padding: 5px 10px !important;
}

.item-grid {
    display: flex;
    flex-flow: row wrap;
    list-style: none;
}

.inven {
    width: 36px;
    height: 32px;
    margin-left: 7px;
    margin-top: 4px;
    float: left;
    cursor: pointer;
    position: relative;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000;
}

.inven>img {
  height: 85%;
  width: 85%;
  object-fit: contain;
  margin: 4px;
  filter: drop-shadow(3px 3px 2px rgba(0,0,0,.2));
}

.inven-locked>img {
  width: auto;
  height: 16px;
  margin-top: 2px;
  right: 0px;
  position: absolute;
  z-index: 999;
}

.equip {
  width: 64px;
  height: 64px;
  margin-left: 5px;
  margin-top: 5px;
  float: left;
  cursor: pointer;
  position: relative;
}

.equip>img {
  height: 95%;
  width: 95%;
  object-fit: contain;
  filter: drop-shadow(3px 3px 2px rgba(0,0,0,.2));
}

.shop {
  width: 64px;
  height: 64px;
  margin-left: 10px;
  margin-top: 10px;
  float: left;
  cursor: pointer;
  position: relative;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000;
}

.shop>img {
  height: 85%;
  width: 85%;
  object-fit: contain;
  margin: 4px;
  filter: drop-shadow(3px 3px 2px rgba(0,0,0,.2));
}

/*.item-type-0 {
  border-radius: 10px;
  border: 2px solid rgba(148,146,147,1);
}

.item-type-1 {
  border-radius: 10px;
  border: 2px solid rgb(255,255,255);
}

.item-type-2 {
  border-radius: 10px;
  border: 2px solid rgba(119,176,100,1);
}

.item-type-3 {
  border-radius: 10px;
  border: 2px solid rgba(119,176,100,1);
}

.item-type-4 {
  border-radius: 10px;
  border: 2px solid rgba(80,143,215,1);
}

.item-type-5 {
  border-radius: 10px;
  border: 2px solid rgba(80,143,215,1);
}

.item-type-6 {
  border-radius: 10px;
  border: 2px solid rgba(203,114,216,1);
}

.item-type-7 {
  border-radius: 10px;
  border: 2px solid rgba(203,114,216,1);
}

.item-type-8 {
  border-radius: 10px;
  border: 2px solid rgba(215,139,6,1);
}

.item-type-9 {
  border-radius: 10px;
  border: 2px solid rgba(215,139,6,1);
}

.item-type-10 {
  border-radius: 10px;
  border: 2px solid rgba(225,120,83,1);
}

.item-type-11 {
  border-radius: 10px;
  border: 2px solid rgba(225,120,83,1);
}

.item-type-12 {
  border-radius: 10px;
  border: 2px solid rgba(249,82,82,1);
}

.item-type-13 {
  border-radius: 10px;
  border: 2px solid rgba(249,82,82,1);
}

.item-type-14 {
  border-radius: 10px;
  border: 2px solid rgba(207,125,93,1);
}

.item-type-15 {
  border-radius: 10px;
  border: 2px solid rgba(207,125,93,1);
}

.item-type-16 {
  border-radius: 10px;
  border: 2px solid rgba(143,165,202,1);
}

.item-type-17 {
  border-radius: 10px;
  border: 2px solid rgba(143,165,202,1);
}

.item-type-18 {
  border-radius: 10px;
  border: 2px solid rgba(255,125,0,1);
}

.item-type-19 {
  border-radius: 10px;
  border: 2px solid rgba(255,125,0,1);
}

.item-type-20 {
  border-radius: 10px;
  border: 2px solid rgba(201,11,11,1);
}

.item-type-50 {
  border-radius: 10px;
  border: 2px solid rgba(165,42,42,1);
}

.item-type-98 {
  border-radius: 10px;
  border: 2px solid rgba(230,204,128,1);
}

.item-type-99 {
  border-radius: 10px;
  border: 2px solid rgba(42,192,255,1);
}*/

.item-tooltip {
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,1);
}

.centered {
  position: absolute;
  top: 85%;
  left: 49%;
  transform: translate(-50%,-50%);
  text-shadow: 1px 1px 3px #000000, 0px 0px 6px rgba(0,0,0,0.75);
}

/* OSRS-style inventory item amount (top-left position) */
.inven .item-amount {
  position: absolute;
  top: 1px;
  left: 2px;
  font-size: 10px;
  font-weight: bold;
  font-family: 'RuneScape Small', Arial, sans-serif;
  text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
  z-index: 1;
}

.inven .item-amount.yellow {
  color: #ffff00;
}

.inven .item-amount.white {
  color: #ffffff;
}

.inven .item-amount.green {
  color: #00ff80;
}

.buff {
  width: 36px;
  height: 36px;
  margin: 0px 3px 20px 0px;
  float: left;
  cursor: pointer;
  position: relative;
  color: #fff;
  font-size: 8px;
  font-weight: 600;
  text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000;
  background-color: rgba(0,85,0,.25);
  border-radius: 5px;
  border: 2px solid rgba(0,85,0,1);
}

.buff>img {
  height: 85%;
  width: 85%;
  object-fit: contain;
  margin: 3px;
  filter: drop-shadow(3px 3px 2px rgba(0,0,0,.2));
}

.buff-centered {
  width: 100%;
  text-align: center;
  position: absolute;
  top: 55%;
  text-shadow: 1px 1px 3px #000000, 0px 0px 6px rgba(0,0,0,0.75);
}

.debuff {
  background-color: rgba(85,0,0,.25) !important;
  border: 2px solid rgba(85,0,0,1) !important;
}

.global-buff {
  border: 2px solid rgba(0,0,85,1) !important;
  background: linear-gradient(-45deg, #FFFFFF, #D6BDDD, #B7B4DB, #ABCADA, #B8D8BC, #D8D8BA, #DDBDC0, #000000);
  background-size: 400% 400%;
  animation: global-buff-gradient 5s ease infinite;
}

@keyframes global-buff-gradient {
  0% {
      background-position: 0% 50%;
  }
  50% {
      background-position: 100% 50%;
  }
  100% {
      background-position: 0% 50%;
  }
}

.GameTooltip {
	display:none;
	position:absolute;
	border:2px solid #000;
	background-color:rgba(0, 0, 0, 0.9);
	border-radius:5px;
	padding:10px;
	color:#fff;
	font-size:10px;
	width: 250px;
	z-index: 99999999999 !important;
}

.GameTooltip0 {
	border:2px solid #9d9d9d;
}

.GameTooltip1 {
	border:2px solid #FFFFFF;
}

.GameTooltip2 {
	border:2px solid #1eff00;
}

.GameTooltip3 {
	border:2px solid #0070ff;
}

.GameTooltip4 {
	border:2px solid #a335ee;
}

.GameTooltip5 {
	border:2px solid #ff8000;
}

.GameTooltip6 {
	border:2px solid #A52A2A;
}

.GameTooltip8 {
	border:2px solid #e6cc80;
}

.GameTooltip9 {
	border:2px solid #2AC0FF;
}

.placeholder {
  width: 64px;
  height: 1px;
  margin-left: 3px;
  margin-top: 3px;
}

@media screen and (min-width: 600px)  {
  .mobile-margin-top { margin-top:20px!important; }
}

#chatArea tr td {
  padding: 5px 2px !important;
}

#chatArea .chat-line {
  padding: 0px 2px !important;
  outline: none !important;
  border: 0 !important;
}

.twitch-glow {
  -webkit-animation: twitch-glow 1s ease-in-out infinite alternate;
  -moz-animation: twitch-glow 1s ease-in-out infinite alternate;
  animation: twitch-glow 1s ease-in-out infinite alternate;
}

@-webkit-keyframes twitch-glow {
  from {
    text-shadow: 0 0 1px #fff, 0 0 1px #fff, 0 0 1px #6441A5, 0 0 1px #6441A5, 0 0 1px #6441A5, 0 0 1px #6441A5, 0 0 1px #6441A5;
  }
  to {
    text-shadow: 0 0 1px #fff, 0 0 1px #4150a5, 0 0 1px #4150a5, 0 0 1px #4150a5, 0 0 1px #4150a5, 0 0 1px #4150a5, 0 0 1px #4150a5;
  }
}
.item-flash{animation:glow 1s linear infinite alternate}@keyframes glow{0%{}to{background: rgba(255,255,255,.33)}}

#chatRoot {
  --chat-box-content-bg: #52483c;
  --chat-box-content-font-color: #52483c;
  --chat-box-border-color: #52483c;
  --chat-setting-label-color: #52483c;
  --chat-setting-privacy-options-font-color: #52483c;
  --chat-setting-slider-rail-color: #52483c;
  --chat-setting-slider-track-color: #52483c;
  --chat-setting-slider-handle-border-color: #52483c;
  --chat-setting-slider-handle-bg-color: #52483c;
  --chat-setting-notify-dropdown-bg-color: #52483c;
  --chat-setting-enabled-dropdown-bg-color: #52483c;
  --chat-setting-disabled-dropdown-bg-color: #52483c;
  --chat-setting-disabled-bg-color: #52483c;
  --chat-setting-notify-dropdown-border-color: #52483c;
  --chat-setting-enabled-dropdown-border-color: #52483c;
  --chat-setting-disabled-dropdown-border-color: #52483c;
  --chat-setting-dropdown-options-color: #52483c;
  --chat-setting-dropdown-not-selected-options-color: #52483c;
  --chat-setting-dropdown-options-color-disabled: #52483c;
  --chat-scrollbar-thumb-color: #52483c;
  --chat-scrollbar-thumb-color-hover: #52483c;
  --chat-scrollbar-track-color: #52483c;
  --chat-dropdown-default-bg-color: #52483c;
  --chat-dropdown-arrow-color: #52483c;
  --chat-dropdown-menu-bg-color: #52483c;
  --chat-dropdown-menu-bg-color-disabled: #52483c;
  --chat-dropdown-menu-border-color: #52483c;
  --chat-dropdown-menu-box-shadow: #52483c;
  --chat-dropdown-option-bg-color-selected: #52483c;
  --chat-radio-button-box-shadow: #52483c;
  --chat-default-link-color: #52483c; --chat-default-link-color-hover: #52483c;
  --chat-people-tabs-bg: linear-gradient(180deg, #52483c, !important 0%, #52483c, !important 100%);
  --chat-people-tabs-text-shadow: 0 1px 0 #52483c;
  --chat-people-tabs-active-font-color: #52483c;
  --chat-people-border-color: #52483c;
  --chat-horizontal-divider-color: #52483c;
  --chat-horizontal-divider: none;
  --chat-horizontal-divider-box-shadow: none;
  /*! --chat-recently-met-players-img: url(/images/v2/chat/recently_met_players_light.svg); */
  /*! --chat-messege-delete-img: url(/images/v2/chat/people_chat_delete_light.svg); */
  --chat-notebook-dropdown-font-color: #52483c;
  --chat-notebook-text-area-bg-color: #52483c;
  --chat-notebook-text-area-font-color-active: #52483c;
  --chat-notebook-top-panel-border: 1px solid #52483c;
  --chat-notebook-top-panel-bg: linear-gradient(180deg, #52483c 0%, #52483c 100%);
  --chat-notebook-remove-icon-position-y: 1px;
  --chat-input-border-color: #52483c;
  /*! --chat-box-block-report-img: url(/images/v2/chat/chat_block_report_light.svg); */
  --chat-box-report-border-top-color: #52483c;
  --chat-box-user-link-hover-color: #52483c;
  --chat-box-secondary-font-color: #52483c;
}

.dark-mode #chatRoot {
  --chat-box-content-bg: #333;
  --chat-box-content-font-color: #ccc;
  --chat-box-border-color: #444;
  --chat-setting-label-color: #ccc;
  --chat-setting-privacy-options-font-color: #999;
  --chat-setting-slider-rail-color: #111;
  --chat-setting-slider-track-color: #00678A;
  --chat-setting-slider-handle-border-color: #00678A;
  --chat-setting-slider-handle-bg-color: #003041;
  --chat-setting-notify-dropdown-bg-color: #5C940D26;
  --chat-setting-enabled-dropdown-bg-color: #00698C26;
  --chat-setting-disabled-dropdown-bg-color: #333;
  --chat-setting-disabled-bg-color: #333;
  --chat-setting-notify-dropdown-border-color: #5C940D80;
  --chat-setting-enabled-dropdown-border-color: #00698C;
  --chat-setting-disabled-dropdown-border-color: #444;
  --chat-setting-dropdown-options-color: #ddd;
  --chat-setting-dropdown-not-selected-options-color: rgba(221, 221, 221, 0.8);
  --chat-setting-dropdown-options-color-disabled: #999;
  --chat-scrollbar-thumb-color: #555;
  --chat-scrollbar-thumb-color-hover: #777;
  --chat-scrollbar-track-color: #222;
  --chat-dropdown-default-bg-color: #111;
  --chat-dropdown-arrow-color: #888;
  --chat-dropdown-menu-bg-color: #444;
  --chat-dropdown-menu-bg-color-disabled: #444;
  --chat-dropdown-menu-border-color: #555;
  --chat-dropdown-menu-box-shadow: 0 2px 4px #00000073;
  --chat-dropdown-option-bg-color-selected: #111;
  --chat-radio-button-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.65);
  /*--chat-default-link-color: #74c0fc;
  --chat-default-link-color-hover: #a5d8ff;*/
  --chat-people-tabs-bg: linear-gradient(180deg, #444444 0%, #2E2E2E 100%);
  --chat-people-tabs-text-shadow: 0 1px 0 #222222;
  --chat-people-tabs-active-font-color: #fff;
  --chat-people-border-color: #444;
  --chat-horizontal-divider-color: #222;
  --chat-horizontal-divider: 1px solid #222;
  --chat-horizontal-divider-box-shadow: 0 1px 0 #FFFFFF1A;
  --chat-recently-met-players-img: url(/images/v2/chat/recently_met_players_dark.svg);
  --chat-messege-delete-img: url(/images/v2/chat/people_chat_delete_dark.svg);
  --chat-notebook-dropdown-font-color: #999;
  --chat-notebook-text-area-bg-color: #333;
  --chat-notebook-text-area-font-color-active: #fff;
  --chat-notebook-top-panel-border: none;
  --chat-notebook-top-panel-bg: linear-gradient(180deg, #444444 0%, #2E2E2E 100%);
  --chat-notebook-remove-icon-position-y: -135px;
  --chat-input-border-color: #444;
  --chat-box-block-report-img: url(/images/v2/chat/chat_block_report_dark.svg);
  --chat-box-report-border-top-color: transparent;
  --chat-box-user-link-hover-color: #fff;
  --chat-box-secondary-font-color: #777;
}

._chat-box-wrap_1pskg_111 {
  /*! height: 39px; */
  position: fixed;
  left: 12px;
  bottom: 0;
  color: #FFF;
  z-index: 1000;
  margin-bottom: 2px;
}

._chat-box-wrap_1pskg_111 ._chat-box-settings_1pskg_120._chat-active_1pskg_120,
._chat-box-wrap_1pskg_111 ._chat-box_1pskg_111._chat-active_1pskg_120 {
  position: absolute;
  bottom: 0;
  right: 0;
}

._chat-box_1pskg_111,
._chat-box-settings_1pskg_120 {
  float: right;
  margin: 0 1px;
}

._chat-box-head_1pskg_133 {
  position: relative;
  height: 34px;
  max-width: 132px;
  /*! width: 132px; */
  margin: 2px 0 0;
  background: linear-gradient(180deg, #6e2220 0%, #2a1312 100%);
  cursor: pointer;
  border-radius: 5px 5px 5px 5px;
  border-bottom: none;
  border-bottom: var(--chat-horizontal-divider);
  box-shadow: none;
  box-shadow: var(--chat-horizontal-divider-box-shadow);
}

._chat-box-title_1pskg_148 ._name_1pskg_148 {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 125px;
  vertical-align: middle;
  display: inline-block;
  white-space: nowrap;
  line-height: 14px;
  padding: 10px;
}

._chat-active_1pskg_120 ._chat-box-title_1pskg_148 ._name_1pskg_148 {
  max-width: 200px;
}

._chat-active_1pskg_120 ._chat-box-head_1pskg_133,
._chat-box_1pskg_111._chat-active_1pskg_120 ._chat-box-head_1pskg_133,
._chat-box_1pskg_111._minimized_1pskg_164._chat-active_1pskg_120 ._chat-box-head_1pskg_133,
._chat-box-settings_1pskg_120._chat-active_1pskg_120 ._chat-box-head_1pskg_133 {
  width: 290px;
  max-width: 290px;
}

._chat-box-head_1pskg_133 ._l_1pskg_170,
._chat-box-head_1pskg_133 ._r_1pskg_171 {
  position: absolute;
  top: 0;
  height: 34px;
  width: 7px;
  background: url(/images/v2/chat/tabs_ends.png) left top no-repeat;
}

._chat-box-head_1pskg_133 ._l_1pskg_170 {
  left: -6px;
}

._chat-box-head_1pskg_133 ._r_1pskg_171 {
  right: -6px;
  background-position: right top;
}

._chat-box-head_1pskg_133 ._l_1pskg_170._top_1pskg_188 {
  border-bottom-left-radius: 5px;
}

._chat-box-head_1pskg_133 ._r_1pskg_171._top_1pskg_188 {
  border-bottom-right-radius: 5px;
}

._chat-box-people_1pskg_196 ._chat-box-head_1pskg_133,
._chat-box-settings_1pskg_120 ._chat-box-head_1pskg_133,
._chat-box-error_1pskg_198 ._chat-box-head_1pskg_133,
._chat-box-notebook_1pskg_199 ._chat-box-head_1pskg_133 {
  background: linear-gradient(135deg, #827462 0%, #1c1a17 100%);
}

._chat-box-people_1pskg_196 ._chat-box-head_1pskg_133:hover,
._chat-box-settings_1pskg_120 ._chat-box-head_1pskg_133:hover,
._chat-box-error_1pskg_198 ._chat-box-head_1pskg_133:hover,
._chat-box-notebook_1pskg_199 ._chat-box-head_1pskg_133:hover {
  background: linear-gradient(135deg, #6d1c10 0%, #1e0000 100%);
}

._new_1pskg_210 ._chat-box-head_1pskg_133 {
  background: linear-gradient(180deg, #746858 0%, #282621 100%);
}

._new_1pskg_210 ._chat-box-head_1pskg_133:hover {
  background: linear-gradient(180deg, #52483c 0%, #52483c 100%);
}

._chat-box-head_1pskg_133:hover {
  background: linear-gradient(180deg, #333333 0%, #000000 100%);
}

._chat-box-head_1pskg_133 ._icon_1pskg_222,
._chat-box-head_1pskg_133 ._close_1pskg_223,
._chat-box-head_1pskg_133 ._delete_1pskg_224 {
  display: inline-block;
  vertical-align: middle;
  height: 34px;
  /*! width: px; */
  /*! background: url(/images/v2/chat/tab_icons.svg) left top; */
  /*! filter: drop-shadow(0px 0px 1px rgba(255, 255, 255, 0.68)); */
  /*! padding-right: 5px; */
}

._chat-box-head_1pskg_133 ._close_1pskg_223,
._chat-box-head_1pskg_133 ._delete_1pskg_224 {
  float: right;
  width: 16px;
}

._chat-active_1pskg_120 ._chat-box-head_1pskg_133 ._close_1pskg_223,
._chat-active_1pskg_120 ._chat-box-head_1pskg_133 ._delete_1pskg_224 {
  width: 26px !important;
}

._chat-active_1pskg_120 ._chat-box-head_1pskg_133 ._delete_1pskg_224 {
  margin-right: 0;
}

._chat-box-settings_1pskg_120 ._chat-box-head_1pskg_133 ._close_1pskg_223 {
  background-position: -483px top;
}

._chat-box-settings_1pskg_120 ._chat-box-head_1pskg_133 ._delete_1pskg_224,
._chat-box-head_1pskg_133 ._close_1pskg_223,
._minimized_1pskg_164 ._chat-box-head_1pskg_133 ._delete_1pskg_224 {
  display: initial;
}

._chat-box-head_1pskg_133 ._close_1pskg_223 {
  background-position: -517px top;
}

._chat-active_1pskg_120 ._chat-box-head_1pskg_133 ._close_1pskg_223 {
  display: block;
}

._chat-box-head_1pskg_133 ._delete_1pskg_224 {
  background-position: -552px top;
  margin-right: 10px;
}

._chat-box-settings_1pskg_120 ._chat-box-head_1pskg_133 ._close_1pskg_223:hover {
  background-position: -483px bottom;
}

._chat-box-head_1pskg_133 ._close_1pskg_223:hover {
  background-position: -517px bottom;
}

._chat-box-head_1pskg_133 ._delete_1pskg_224:hover {
  background-position: -552px bottom;
}

._chat-box-head_1pskg_133:hover ._icon_1pskg_222 {
  background-position: -374px bottom;
}

._hospital_1pskg_287 ._chat-box-head_1pskg_133:hover ._icon_1pskg_222 {
  background-position: -578px -36px;
}

._jail_1pskg_291 ._chat-box-head_1pskg_133:hover ._icon_1pskg_222 {
  background-position: -612px -36px;
}

._support_1pskg_295 ._chat-box-head_1pskg_133:hover ._icon_1pskg_222 {
  background-position: -646px -34px;
}

._travel_1pskg_299 ._chat-box-head_1pskg_133:hover ._icon_1pskg_222 {
  background-position: -680px -34px;
}

._christmastown_1pskg_303 ._chat-box-head_1pskg_133:hover ._icon_1pskg_222 {
  background-position: -782px -34px;
}

._christmastown_1pskg_303 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  background-position: -782px top;
}

._online_1pskg_311 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  margin-bottom: 2px;
  background-position: left top;
}

._away_1pskg_316 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  margin-bottom: 2px;
  background-position: -34px top;
}

._offline_1pskg_321 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  margin-bottom: 2px;
  background-position: -68px top;
}

._faction_1pskg_326 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  /*! background-position: -102px top; */
}

._faction_1pskg_326._new_1pskg_210 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  background-position: -1px bottom;
}

._company_1pskg_334 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  background-position: -136px top;
}

._company_1pskg_334._new_1pskg_210 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  background-position: -136px bottom;
}

._global_1pskg_342 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  background-position: -170px top;
}

._global_1pskg_342._new_1pskg_210 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  background-position: -170px bottom;
}

._new-players_1pskg_350 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  background-position: -204px top;
}

._new-players_1pskg_350._new_1pskg_210 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  background-position: -204px bottom;
}

._staff_1pskg_358 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  background-position: -238px top;
}

._stafficon_1pskg_362 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  background-position: -238px top;
}

._staff_1pskg_358._new_1pskg_210 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  background-position: -238px bottom;
}

._stafficon_1pskg_362._new_1pskg_210 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  background-position: -238px bottom;
}

._trade_1pskg_374 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  background-position: -272px top;
}

._trade_1pskg_374._new_1pskg_210 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  background-position: -272px bottom;
}

._offline_1pskg_321._min_1pskg_164 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  background-position: -340px top;
}

._hospital_1pskg_287 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  background-position: -578px top;
}

._hospital_1pskg_287._new_1pskg_210 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  background-position: -578px bottom;
}

._jail_1pskg_291 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  background-position: -612px top;
}

._jail_1pskg_291._new_1pskg_210 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  background-position: -612px bottom;
}

._support_1pskg_295 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  background-position: -646px top;
}

._support_1pskg_295._new_1pskg_210 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  background-position: -646px bottom;
}

._competition_1pskg_410 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  background-position: -748px 69px;
}

._competition_1pskg_410._new_1pskg_210 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  background-position: -748px bottom;
}

._travel_1pskg_299 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  background-position: -680px top;
}

._travel_1pskg_299._new_1pskg_210 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  background-position: -680px bottom;
}

._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  /*! background-position: -374px top; */
}

._chat-box-people_1pskg_196 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  background-position: -408px top !important;
}

._chat-box-settings_1pskg_120 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  background-position: -442px top;
}

._chat-box-error_1pskg_198 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  background-position: -442px top;
}

._faction_1pskg_326 ._chat-box-head_1pskg_133:hover ._icon_1pskg_222 {
  background-position: -102px bottom;
}

._company_1pskg_334 ._chat-box-head_1pskg_133:hover ._icon_1pskg_222 {
  background-position: -136px bottom;
}

._global_1pskg_342 ._chat-box-head_1pskg_133:hover ._icon_1pskg_222 {
  background-position: -170px bottom;
}

._new-players_1pskg_350 ._chat-box-head_1pskg_133:hover ._icon_1pskg_222 {
  background-position: -204px bottom;
}

._staff_1pskg_358 ._chat-box-head_1pskg_133:hover ._icon_1pskg_222 {
  background-position: -238px bottom;
}

._trade_1pskg_374 ._chat-box-head_1pskg_133:hover ._icon_1pskg_222 {
  background-position: -272px bottom;
}

._offline_1pskg_321._min_1pskg_164 ._chat-box-head_1pskg_133:hover ._icon_1pskg_222 {
  background-position: -340px bottom;
}

._chat-box-people_1pskg_196 ._chat-box-head_1pskg_133:hover ._icon_1pskg_222 {
  background-position: -408px bottom;
}

._chat-box-settings_1pskg_120 ._chat-box-head_1pskg_133:hover ._icon_1pskg_222 {
  background-position: -442px bottom;
}

._chat-box-content_1pskg_478 {
  display: none;
  background-color: #F2F2F2;
  background-color: var(--chat-box-content-bg);
  width: 288px;
  border-color: var(--chat-box-border-color);
  color: #333;
  color: var(--chat-box-content-font-color);
  margin-bottom: 10px;
}

._chat-active_1pskg_120 ._chat-box-content_1pskg_478 {
  display: block;
}

._chat-box-content_1pskg_478 ._chat-opt-label_1pskg_498,
._chat-box-content_1pskg_478 ._chat-opt-drop-list_1pskg_499 {
  float: left;
}

._chat-box-content_1pskg_478 ._chat-opt-label_1pskg_498 {
  width: 95px;
  padding: 10px 0 10px 5px;
  color: var(--chat-setting-label-color);
}

._chat-box-content_1pskg_478 ._message_1pskg_509._row-gray_1pskg_509 {
  background-color: #e8e8e8;
}

._chat-opts_1pskg_513 {
  padding-bottom: 2px;
  border-bottom: 1px solid #CCC;
}

._chat-size-val_1pskg_518 {
  position: relative;
  top: 11px;
  right: 10px;
}

._chat-size_1pskg_518 ._chat-size-gray-wrap_1pskg_524,
._chat-size_1pskg_518 ._chat-size-act-wrap_1pskg_525,
._chat-size_1pskg_518 ._chat-size-gray_1pskg_524 {
  height: 12px;
  background: url(/images/v2/chat/progress_bar.png) -36px top no-repeat;
}

._chat-size_1pskg_518 ._chat-size-gray_1pskg_524 {
  margin-left: 9px;
}

._chat-size_1pskg_518 ._chat-size-gray_1pskg_524 {
  width: 156px;
}

._chat-size_1pskg_518 ._chat-size-gray-wrap_1pskg_524 {
  background-position: left -12px;
}

._chat-size_1pskg_518 ._chat-size-act-wrap_1pskg_525 {
  position: absolute;
  left: 4px;
  top: 0;
  width: 143px;
  background-position: left -36px;
}

._chat-size-val_1pskg_518:hover ._chat-size-act-wrap_1pskg_525 {
  background-position: left -60px;
}

._chat-box-content_1pskg_478 ._type-list_1pskg_555 {
  overflow: hidden;
  border-bottom: solid 1px #CCC;
  border-color: var(--chat-horizontal-divider-color);
  box-shadow: var(--chat-horizontal-divider-box-shadow);
  background: linear-gradient(180deg, #FFF 0%, #DDD 100%);
  background: var(--chat-people-tabs-bg);
}

._chat-box-content_1pskg_478 #_char-friends_1pskg_1 {
  border-top: 1px solid #CCC;
}

._chat-box-content_1pskg_478 #_char-blocked_1pskg_1 {
  border-top: 1px solid #CCC;
}

._chat-box-content_1pskg_478 ._viewport_1pskg_572 {
  word-wrap: break-word;
  overflow-y: scroll;
  scrollbar-color: #f2f2f2 #ddd;
  scrollbar-color: var(--chat-scrollbar-thumb-color) var(--chat-scrollbar-track-color);
  scrollbar-width: thin;
}
._chat-box-content_1pskg_478 ._viewport_1pskg_572::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
._chat-box-content_1pskg_478 ._viewport_1pskg_572::-webkit-scrollbar-track {
  background-color: #ddd;
  background-color: var(--chat-scrollbar-track-color);
}
._chat-box-content_1pskg_478 ._viewport_1pskg_572::-webkit-scrollbar-track:vertical {
  border-radius: 0 0 5px 0;
}
._chat-box-content_1pskg_478 ._viewport_1pskg_572::-webkit-scrollbar-thumb {
  background-color: #f2f2f2;
  background-color: var(--chat-scrollbar-thumb-color);
  border: 2px solid #ddd;
  border-color: var(--chat-scrollbar-track-color);
  border-radius: 8px;
}
._chat-box-content_1pskg_478 ._viewport_1pskg_572:hover::-webkit-scrollbar-thumb {
  background-color: #fff;
  background-color: var(--chat-scrollbar-thumb-color-hover);
}

._chat-box_1pskg_111 ._chat-box-content_1pskg_478 ._viewport_1pskg_572::-webkit-scrollbar-track:vertical {
  border-radius: 0;
}

._chat-opts_1pskg_513 ._viewport_1pskg_572 {
  overflow-y: hidden;
}

._chat-box-content_1pskg_478 ._type-list_1pskg_555 > li {
  width: 56px;
  height: 34px;
  line-height: 34px;
  float: left;
  text-align: center;
  text-shadow: 0 1px 0 #FFF;
  text-shadow: var(--chat-people-tabs-text-shadow);
}
._chat-box-content_1pskg_478 ._type-list_1pskg_555 > li a {
  display: inline-block;
}
._chat-box-content_1pskg_478 ._type-list_1pskg_555 > li:hover a {
  color: #666;
  color: var(--chat-people-tabs-active-font-color);
}

._chat-box-content_1pskg_478 ._type-list_1pskg_555 > ._active_1pskg_627 a {
  color: #666;
  color: var(--chat-people-tabs-active-font-color);
  border-bottom: 3px solid #666;
  border-color: var(--chat-people-tabs-active-font-color);
  box-sizing: border-box;
  height: 100%;
}

._chat-box-content_1pskg_478 ._ui-helper-hidden-accessible_1pskg_636 {
  display: none;
}

._chat-box-settings_1pskg_120 ._people-info_1pskg_640 ._viewport_1pskg_572 {
  border-top: 1px solid #CCC;
}

._people-list_1pskg_644 {
  padding-bottom: 1px;
}

._people-list_1pskg_644 ._user-name-id_1pskg_648 ._ellipsis_1pskg_648 {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
  vertical-align: middle;
  display: inline-block;
  white-space: nowrap;
}

._people-list_1pskg_644 > li {
  height: 30px;
  line-height: 30px;
  border-bottom: 1px solid #CCC;
  border-color: var(--chat-people-border-color);
  padding-left: 20px;
}
._people-list_1pskg_644 > li ._user-name-id_1pskg_648 {
  position: relative;
}
._people-list_1pskg_644 > li ._user-name-id_1pskg_648:before {
  content: "";
  display: block;
  position: absolute;
  top: 6px;
  left: -10px;
  width: 4px;
  height: 4px;
  border-radius: 2px;
  background-color: #CC3300;
}

._people-list_1pskg_644 > li._online_1pskg_311 ._user-name-id_1pskg_648:before {
  background-color: #009900;
}

._people-list_1pskg_644 > li._last_1pskg_683 {
  border-bottom: none;
}

._people-list_1pskg_644 > li ._chat_1pskg_111,
._people-list_1pskg_644 > li ._close_1pskg_223 {
  display: inline-block;
  height: 30px;
  width: 30px;
  background: url(/images/v2/chat/people_chat_delete.png) left bottom;
  background-image: var(--chat-messege-delete-img);
}

._people-list_1pskg_644 > li ._close_1pskg_223 {
  background-position: right bottom;
}

._people-list_1pskg_644 > li ._chat_1pskg_111:hover {
  background-position: left top;
}

._people-list_1pskg_644 > li ._close_1pskg_223:hover {
  background-position: right top;
}

._scrollbar_1pskg_708._disable_1pskg_708 + ._viewport_1pskg_572 ._people-list_1pskg_644 {
  padding-right: 0;
  width: auto;
}

._people-list_1pskg_644 > li ._i-wrap_1pskg_713 {
  height: 30px;
  width: 30px;
  float: right;
}

._show-recent-icons_1pskg_719 ._people-list_1pskg_644 > li {
  padding-left: 30px;
  background: url(/images/v2/chat/recently_met_players_light.svg) left top no-repeat;
  background-image: var(--chat-recently-met-players-img);
}

._show-recent-icons_1pskg_719 ._people-list_1pskg_644 > li ._user-name-id_1pskg_648 {
  padding-left: 10px;
}
._show-recent-icons_1pskg_719 ._people-list_1pskg_644 > li ._user-name-id_1pskg_648:before {
  left: 1px;
}

._show-recent-icons_1pskg_719 ._people-list_1pskg_644 > li._sent-message_1pskg_732 {
  background-position: left top;
}

._show-recent-icons_1pskg_719 ._people-list_1pskg_644 > li._sent-money_1pskg_736 {
  background-position: left -30px;
}

._show-recent-icons_1pskg_719 ._people-list_1pskg_644 > li._sent-item_1pskg_740 {
  background-position: left -60px;
}

._show-recent-icons_1pskg_719 ._people-list_1pskg_644 > li._trade_1pskg_374 {
  background-position: left -90px;
}

._show-recent-icons_1pskg_719 ._people-list_1pskg_644 > li._give-property_1pskg_748 {
  background-position: left -120px;
}

._show-recent-icons_1pskg_719 ._people-list_1pskg_644 > li._give-bust_1pskg_752 {
  background-position: left -150px;
}

._show-recent-icons_1pskg_719 ._people-list_1pskg_644 > li._give-revive_1pskg_756 {
  background-position: left -180px;
}

._show-recent-icons_1pskg_719 ._people-list_1pskg_644 > li._faction-application_1pskg_760 {
  background-position: left -210px;
}

._show-recent-icons_1pskg_719 ._people-list_1pskg_644 > li._company-application_1pskg_764 {
  background-position: left -240px;
}

._show-recent-icons_1pskg_719 ._people-list_1pskg_644 > li._referral_1pskg_768 {
  background-position: left -270px;
}

._show-recent-icons_1pskg_719 ._people-list_1pskg_644 > li._started-chat_1pskg_772 {
  background-position: left -300px;
}

._people-list-wrap_1pskg_776 {
  min-height: 206px;
}

._chat-box_1pskg_111 ._chat-box-content_1pskg_478 {
  height: 238px;
  border-bottom: 1px solid #CCC;
  border-color: var(--chat-input-border-color);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  margin-bottom: 0;
}

._chat-box_1pskg_111 ._chat-box-input_1pskg_789 {
  display: none;
  border-right: 1px solid #ABABAB;
  border-bottom: 1px solid #ABABAB;
  border-left: 1px solid #ABABAB;
  border-color: var(--chat-box-border-color);
  color: #333;
  color: var(--chat-box-content-font-color);
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  margin-bottom: 10px;
  background-color: #F2F2F2;
  background-color: var(--chat-box-content-bg);
  height: 68px;
}

._chat-active_1pskg_120._chat-box_1pskg_111 ._chat-box-input_1pskg_789 {
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
}

._chat-box_1pskg_111 ._chat-box-input_1pskg_789 {
  overflow: hidden;
}

._chat-box_1pskg_111 ._chat-box-input_1pskg_789 ._chat-box-textarea_1pskg_816 {
  float: left;
  height: 50px;
  width: 269px;
  padding: 5px;
  margin: 2px 0 0 0;
  resize: none;
  border: 1px solid #CCC;
  border-color: var(--chat-input-border-color);
  background-color: #F2F2F2;
  background-color: var(--chat-box-content-bg);
  overflow: auto; /*IE 11 fix*/
  box-sizing: content-box;
  font-family: Arial, serif;
  color: var(--chat-notebook-text-area-font-color-active);
}

._chat-box_1pskg_111._global_1pskg_342 ._chat-box-input_1pskg_789 ._chat-box-textarea_1pskg_816,
._chat-box_1pskg_111._company_1pskg_334 ._chat-box-input_1pskg_789 ._chat-box-textarea_1pskg_816,
._chat-box_1pskg_111._staff_1pskg_358 ._chat-box-input_1pskg_789 ._chat-box-textarea_1pskg_816,
._chat-box_1pskg_111._support_1pskg_295 ._chat-box-input_1pskg_789 ._chat-box-textarea_1pskg_816,
._chat-box_1pskg_111._trade_1pskg_374 ._chat-box-input_1pskg_789 ._chat-box-textarea_1pskg_816,
._chat-box_1pskg_111._new-players_1pskg_350 ._chat-box-input_1pskg_789 ._chat-box-textarea_1pskg_816,
._chat-box_1pskg_111._faction_1pskg_326 ._chat-box-input_1pskg_789 ._chat-box-textarea_1pskg_816 {
  margin: 0;
}

._chat-box_1pskg_111 ._chat-box-input_1pskg_789 ._chat-box-input-buttons_1pskg_843 {
  float: right;
}

._chat-box_1pskg_111 ._chat-box-input_1pskg_789 ._chat-box-input-buttons_1pskg_843 a,
._chat-box-content_1pskg_478 ._error-icon_1pskg_848 {
  background: url(/images/v2/chat/chat_block_report_light.svg) left top;
  background-image: var(--chat-box-block-report-img);
}

._chat-box_1pskg_111 ._chat-box-input_1pskg_789 ._chat-box-input-buttons_1pskg_843 a {
  height: 33px;
  width: 34px;
  display: block;
}

._chat-box-content_1pskg_478 ._error-icon_1pskg_848 {
  display: inline-block;
  vertical-align: middle;
  height: 13px;
  width: 13px;
  background-position: -45px -45px;
}

._chat-box_1pskg_111 ._chat-box-input_1pskg_789 ._chat-box-input-buttons_1pskg_843 a._ban_1pskg_867 {
  border-bottom: 1px solid #CCC;
  border-bottom-color: var(--chat-input-border-color);
  background-position: left top;
}

._chat-box_1pskg_111 ._chat-box-input_1pskg_789 ._chat-box-input-buttons_1pskg_843 a._ban_1pskg_867:hover {
  background-position: right top;
}

._chat-box_1pskg_111 ._chat-box-input_1pskg_789 ._chat-box-input-buttons_1pskg_843 a._report_1pskg_877 {
  border-top: 1px solid #FFF;
  border-top-color: var(--chat-box-report-border-top-color);
  background-position: left bottom;
}

._chat-box_1pskg_111 ._chat-box-input_1pskg_789 ._chat-box-input-buttons_1pskg_843 a._report_1pskg_877:hover {
  background-position: right bottom;
}

._chat-focus_1pskg_887 ._chat-box-content_1pskg_478,
._chat-focus_1pskg_887._chat-box_1pskg_111 ._chat-box-input_1pskg_789,
._chat-focus_1pskg_887._chat-box_1pskg_111 ._chat-box-input_1pskg_789 ._chat-box-textarea_1pskg_816 {
  background-color: #FFF;
}

._chat-box_1pskg_111 ._chat-box-content_1pskg_478 ._overview_1pskg_893 {
  padding: 1px 0 0 0;
}

._chat-box-content_1pskg_478 ._message_1pskg_509,
._chat-box-content_1pskg_478 ._timestamp_1pskg_898,
._chat-box-content_1pskg_478 ._error_1pskg_848 {
  padding: 0 5px 0 10px;
  line-height: 18px;
}

._chat-box-content_1pskg_478 ._message_1pskg_509 a {
  font-weight: bold;
  text-decoration: none;
  color: #333;
  color: var(--chat-box-content-font-color);
}

._chat-box-content_1pskg_478 ._chat-last-message-label_1pskg_911 {
  padding-left: 10px;
  line-height: 18px;
  color: #666666;
  color: var(--chat-box-secondary-font-color);
  margin: 0;
}

._chat-box-content_1pskg_478 ._message_1pskg_509._staff_1pskg_358 ._staff_name_1pskg_919 {
  color: #D83500;
}

._chat-box-content_1pskg_478 ._error_1pskg_848 {
  color: #D83500;
}

._chat-box-content_1pskg_478 ._message_1pskg_509 a:hover {
  color: #999;
  color: var(--chat-box-user-link-hover-color);
}

._chat-box-content_1pskg_478 ._timestamp_1pskg_898 {
  font-style: italic;
  color: #999;
}

._chat-box_1pskg_111._minimized_1pskg_164 ._chat-box-title_1pskg_148 ._name_1pskg_148 {
  display: initial;
}

._chat-box_1pskg_111._minimized_1pskg_164 ._chat-box-head_1pskg_133,
._chat-box-settings_1pskg_120 ._chat-box-head_1pskg_133 {
  width: 34px;
}

._chat-box_1pskg_111._minimized_1pskg_164 {
  position: relative;
}

._chat-box_1pskg_111._fixed_1pskg_950 ._name_1pskg_148 {
  margin-left: -12px;
}

._chat-box_1pskg_111._fixed_1pskg_950 ._icon_1pskg_222 {
  background-position: -72px top;
}

._chat-box_1pskg_111._fixed_1pskg_950._away_1pskg_316 ._icon_1pskg_222 {
  background-position: -38px top;
}

._chat-box_1pskg_111._fixed_1pskg_950._online_1pskg_311 ._icon_1pskg_222 {
  background-position: -4px top;
}

._chat-box_1pskg_111._fixed4_1pskg_966 ._chat-box-head_1pskg_133 {
  max-width: 56px;
  width: 56px;
}

._chat-box_1pskg_111._fixed4_1pskg_966 ._name_1pskg_148 {
  width: 25px;
  max-width: 25px;
}

._chat-box_1pskg_111._fixed5_1pskg_976 ._chat-box-head_1pskg_133 {
  max-width: 66px;
  width: 66px;
}

._chat-box_1pskg_111._fixed5_1pskg_976 ._icon_1pskg_222 {
  background-position: -75px top;
}

._chat-box_1pskg_111._fixed5_1pskg_976 ._name_1pskg_148 {
  width: 35px;
  max-width: 35px;
}

._chat-box_1pskg_111._fixed6_1pskg_990 ._chat-box-head_1pskg_133 {
  max-width: 76px;
  width: 76px;
}

._chat-box_1pskg_111._fixed6_1pskg_990 ._name_1pskg_148 {
  width: 43px;
  max-width: 43px;
}

._chat-box_1pskg_111._fixed7_1pskg_1000 ._chat-box-head_1pskg_133 {
  max-width: 86px;
  width: 86px;
}

._chat-box_1pskg_111._fixed7_1pskg_1000 ._name_1pskg_148 {
  width: 51px;
  max-width: 51px;
}

._chat-box_1pskg_111._fixed8_1pskg_1010 ._chat-box-head_1pskg_133 {
  max-width: 96px;
  width: 96px;
}

._chat-box_1pskg_111._fixed8_1pskg_1010 ._name_1pskg_148 {
  width: 63px;
  max-width: 63px;
}

._chat-box_1pskg_111._fixed9_1pskg_1020 ._chat-box-head_1pskg_133 {
  width: 104px;
  max-width: 104px;
}

._chat-box_1pskg_111._fixed9_1pskg_1020 ._name_1pskg_148 {
  width: 71px;
  max-width: 71px;
}

._chat-box_1pskg_111._fixed10_1pskg_1030 ._chat-box-head_1pskg_133 {
  width: 114px;
  max-width: 114px;
}

._chat-box_1pskg_111._fixed10_1pskg_1030 ._name_1pskg_148 {
  width: 81px;
  max-width: 81px;
}

._chat-box_1pskg_111._fixed11_1pskg_1040 ._chat-box-head_1pskg_133 {
  width: 124px;
  max-width: 124px;
}

._chat-box_1pskg_111._fixed11_1pskg_1040 ._name_1pskg_148 {
  width: 91px;
  max-width: 91px;
}

._chat-box_1pskg_111._focus_1pskg_1050 ._chat-box-content_1pskg_478,
._chat-box_1pskg_111._focus_1pskg_1050 ._chat-box-input_1pskg_789,
._chat-box_1pskg_111._focus_1pskg_1050 ._chat-box-input_1pskg_789 ._chat-box-textarea_1pskg_816 {
  background-color: #FFF;
}

._chat-box_1pskg_111._focus_1pskg_1050 ._chat-box-content_1pskg_478 ._thumb_1pskg_1056,
._chat-box_1pskg_111._focus_1pskg_1050 ._chat-box-content_1pskg_478 ._thumb_1pskg_1056 ._end_1pskg_1057 {
  background-image: url(/images/v2/lib/tinyscrollbar-bright-white-thumb-y.png);
}

._chat-box-content_1pskg_478 ._ac-wrapper_1pskg_1061 {
  z-index: 999999;
}

._chat-box_1pskg_111 ._chat-confirm_1pskg_1065 {
  padding: 10px;
  text-align: center;
  display: none;
}

._chat-box_1pskg_111 ._chat-confirm_1pskg_1065 ._link-wrap_1pskg_1071 {
  display: block;
  padding-top: 10px;
}

._chat-box_1pskg_111 ._chat-confirm_1pskg_1065 ._link-wrap_1pskg_1071 ._yes_1pskg_1076,
._chat-box_1pskg_111 ._chat-confirm_1pskg_1065 ._link-wrap_1pskg_1071 ._no_1pskg_1077 {
  margin-left: 10px;
  margin-right: 10px;
}

._chat-box-content_1pskg_478 ._people-info_1pskg_640._wo-input_1pskg_1082 ._viewport_1pskg_572 {
  height: 208px;
  max-height: 208px;
}

._disabled_1pskg_1087,
._disabled_1pskg_1087 div,
._disabled_1pskg_1087 textarea {
  background-color: #ddd;
  background-color: var(--chat-setting-disabled-bg-color);
}

/* start fix for user autocomplete */
#chatRoot ._chat-box-content_1pskg_478 .ac-search.chat-box-list-input {
  border: 1px solid #ccc;
  border-color: var(--chat-people-border-color);
}
#chatRoot ._chat-box-content_1pskg_478 .ac-search.chat-box-list-input.ac-focus, #chatRoot ._chat-box-content_1pskg_478 .ac-search.chat-box-list-input.open {
  border-bottom: 1px solid transparent;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* end fix for user autocomplete */
/*!!!!!!!!!!!!!!!!!!!!!!! notebookstarted !!!!!!!!!!!!!!!!!!!!!!!!!!*/
._minimized_1pskg_164 ._chat-box-head_1pskg_133 ._resize_1pskg_1107._out_1pskg_1107,
._chat-box-notebook_1pskg_199._minimized_1pskg_164 ._menu-wrap_1pskg_1108 {
  display: none;
}

._chat-box-notebook_1pskg_199._minimized_1pskg_164 {
  width: 34px;
}

._chat-box-notebook_1pskg_199 ._chat-box-content_1pskg_478 ._chat-opt-drop-list_1pskg_499 {
  float: none;
}

._chat-box-notebook_1pskg_199 ._chat-box-title_1pskg_148 ._name_1pskg_148 {
  display: inline;
}

._chat-box-notebook_1pskg_199 ._menu-wrap_1pskg_1108 {
  border-left: 1px solid #ABABAB;
  border-left: var(--chat-notebook-top-panel-border);
  border-right: 1px solid #ABABAB;
  border-right: var(--chat-notebook-top-panel-border);
  width: auto;
  box-shadow: var(--chat-horizontal-divider-box-shadow);
  position: relative;
  z-index: 1;
}

._chat-box-notebook_1pskg_199 ._top-panel_1pskg_1135 {
  position: relative;
  border-bottom: 1px solid #CCC;
  border-color: var(--chat-horizontal-divider-color);
  background: linear-gradient(180deg, #FFFFFF 0%, #DDDDDD 100%);
  background: var(--chat-notebook-top-panel-bg);
}

._chat-box-notebook_1pskg_199 ._chat-box-head_1pskg_133 {
  position: relative;
  z-index: 2;
}

._chat-box-notebook_1pskg_199 ._notebook-select-wrap_1pskg_1148 {
  position: absolute;
  left: 34px;
  top: 0;
  right: 3px;
  bottom: 0;
}

._chat-box-notebook_1pskg_199 ._notebook-select-wrap_1pskg_1148 ._select-list_1pskg_1156 ._scrollbar_1pskg_708 {
  top: 1px;
  right: 2px;
  z-index: 1001;
  width: 12px;
  border-bottom-right-radius: 3px;
}

._chat-box-notebook_1pskg_199 ._notebook-select-wrap_1pskg_1148 ._viewport_1pskg_572 {
  position: relative;
  top: -1px;
  left: 0;
  height: 172px;
  width: auto;
  border: 1px solid #CCC;
  background-color: #FFF;
  overflow: auto;
}

._chat-box-notebook_1pskg_199 ._notebook-select-wrap_1pskg_1148 ._overview_1pskg_893 {
  right: 0;
  padding: 0;
}

._chat-box-notebook_1pskg_199 ._notebook-select-wrap_1pskg_1148 ._notebook-opt_1pskg_1180 {
  top: 26px;
  left: 0;
  right: 0;
  width: auto;
}

._chat-box-notebook_1pskg_199 ._notebook-select-wrap_1pskg_1148 ._overview_1pskg_893 ._special_1pskg_1187 {
  font-style: italic;
}

._chat-box-notebook_1pskg_199 ._notebook-select-wrap_1pskg_1148 ._overview_1pskg_893 ._special_1pskg_1187 a {
  color: #999;
}

._chat-box-notebook_1pskg_199 ._entries-info_1pskg_1195 ._viewport_1pskg_572 {
  border-top: none;
}

._chat-box-notebook_1pskg_199 ._entries-info_1pskg_1195 ._scrollbar_1pskg_708 {
  top: 0;
  right: 1px;
  width: 12px;
  border-bottom-right-radius: 4px;
}

._chat-box-notebook_1pskg_199 ._viewport_1pskg_572 {
  background-color: #FFF;
  background-color: var(--chat-notebook-text-area-bg-color);
  width: auto;
  line-height: 16px;
  z-index: auto;
  overflow-y: auto;
}

._chat-box-notebook_1pskg_199 ._viewport_1pskg_572 textarea {
  z-index: auto;
  overflow-y: hidden;
}

._chat-box-notebook_1pskg_199 ._chat-box-content_1pskg_478 {
  margin-bottom: 10px;
  overflow: hidden;
  border-bottom: 1px solid #ABABAB;
  border-bottom-color: var(--chat-box-border-color);
  border-radius: 0 0 5px 5px;
}

._chat-box-notebook_1pskg_199 ._chat-box-content_1pskg_478 ._overview_1pskg_893 {
  padding: 0 15px;
  white-space: pre-wrap;
}

._chat-box-notebook_1pskg_199 ._temp-field_1pskg_1233 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  display: block;
  width: 100%;
  padding: 5px 10px;
  border: 1px solid #CCC;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

._chat-box-notebook_1pskg_199 input[type=text]._error_1pskg_848 {
  border: 2px solid #FFA396;
  padding: 4px 9px;
}

._chat-box-notebook_1pskg_199 ._entries-info_1pskg_1195 ._thumb_1pskg_1056 {
  height: 100%;
  width: 20px;
  left: -4px;
  background: none;
}

._chat-box-notebook_1pskg_199 ._entries-info_1pskg_1195 ._thumb_1pskg_1056 ._end_1pskg_1057 {
  position: absolute;
  top: 2px;
  left: 6px;
  right: 6px;
  bottom: 2px;
  height: auto;
  width: auto;
  background: #FFF none;
  opacity: 0.5;
  border-radius: 5px;
}

._chat-box-notebook_1pskg_199 ._entries-info_1pskg_1195 ._thumb_1pskg_1056:hover ._end_1pskg_1057 {
  background: #999 none;
}

._chat-box-notebook_1pskg_199 ._entries-info_1pskg_1195 ._edit-note_1pskg_1278 {
  padding: 0;
  resize: none;
  overflow-y: hidden;
  border: none;
  font-size: 12px;
  line-height: 16px;
  font-family: Arial, serif;
  background-color: #fff;
  background-color: var(--chat-notebook-text-area-bg-color);
  color: #000;
  color: var(--chat-notebook-text-area-font-color-active);
}

._chat-box-notebook_1pskg_199 ._chat-box-head_1pskg_133 ._icon_1pskg_222 {
  background-position: -714px top;
}

._chat-box-notebook_1pskg_199 ._chat-box-head_1pskg_133:hover ._icon_1pskg_222 {
  background-position: -714px bottom;
}

/* notebook 2 */
._chat-box-head_1pskg_133 ._loader_1pskg_1301 {
  display: inline-block;
  vertical-align: middle;
  height: 34px;
  width: 28px;
}

._chat-box-head_1pskg_133 ._resize_1pskg_1107,
._chat-box-notebook_1pskg_199 ._remove_1pskg_1309 {
  display: inline-block;
  vertical-align: middle;
  height: 34px;
  background: url(/images/v2/chat/notebook_icons.svg) left top no-repeat;
}

._chat-box-head_1pskg_133 ._resize_1pskg_1107 {
  float: right;
  width: 28px;
  margin-right: 10px;
}

._chat-box-head_1pskg_133 ._resize_1pskg_1107._out_1pskg_1107 {
  background-position: 0 -68px;
}

._chat-box-head_1pskg_133 ._resize_1pskg_1107._out_1pskg_1107:hover {
  background-position: -34px -68px;
}

._chat-box-head_1pskg_133 ._resize_1pskg_1107._in_1pskg_1330 {
  background-position: 0 -102px;
}

._chat-box-head_1pskg_133 ._resize_1pskg_1107._in_1pskg_1330:hover {
  background-position: -34px -102px;
}

._chat-box-notebook_1pskg_199 ._remove_1pskg_1309 {
  width: 34px;
  cursor: pointer;
  background-position: 0 1px;
  background-position-y: var(--chat-notebook-remove-icon-position-y);
}

._chat-box-notebook_1pskg_199 ._remove_1pskg_1309:hover {
  background-position: -34px 1px;
  background-position-y: var(--chat-notebook-remove-icon-position-y);
}

._chat-box-notebook_1pskg_199 ._remove_1pskg_1309._disabled_1pskg_1087 {
  background-position: -68px 1px;
  background-position-y: var(--chat-notebook-remove-icon-position-y);
  cursor: default;
}

._chat-box-notebook_1pskg_199 ._chat-box-content_1pskg_478 ._title_1pskg_1356,
._chat-box-notebook_1pskg_199 ._chat-box-content_1pskg_478 ._edit-title_1pskg_1357 {
  font-weight: bold;
}

._chat-box-notebook_1pskg_199 ._title_1pskg_1356,
._chat-box-notebook_1pskg_199 ._edit-title_1pskg_1357 {
  padding-top: 10px;
  padding-bottom: 5px;
}

._chat-box-notebook_1pskg_199 ._edit-title_1pskg_1357 {
  background-color: #fff;
  background-color: var(--chat-notebook-text-area-bg-color);
  color: #000;
  color: var(--chat-notebook-text-area-font-color-active);
}

._chat-box-people_1pskg_196 ._chat-box-content_1pskg_478 ._autocomplete-wrap_1pskg_1374 ._ac-options_1pskg_1374 #_ac-all_1pskg_1 {
  width: 24%;
}

._chat-box-notebook_1pskg_199 ._dropdown-control_1pskg_1378 {
  color: var(--chat-notebook-dropdown-font-color);
  padding-top: 6px;
  padding-bottom: 7px;
}
._chat-box-notebook_1pskg_199 ._dropdown-control_1pskg_1378 ._dropdown-arrow_1pskg_1383 {
  top: 10px;
}

/*-------------- dropdown extensions -------------------*/
._dropdown-root_1pskg_1388 {
  float: right;
  position: relative;
  width: 147px;
  margin: 1px 7px 1px 1px;
}

._disabled_1pskg_1087 ._dropdown-root_1pskg_1388 {
  background-color: transparent;
}

._notebook-select-wrap_1pskg_1148 ._dropdown-root_1pskg_1388 {
  position: relative;
  width: 100%;
  margin: 3px 1px;
  padding-top: 1px;
}

._dropdown-control_1pskg_1378 {
  position: relative;
  overflow: hidden;
  background-color: white;
  background-color: var(--chat-dropdown-default-bg-color);
  border: 1px solid #ccc;
  border-color: var(--chat-setting-disabled-dropdown-border-color);
  border-radius: 5px;
  box-sizing: border-box;
  color: #333;
  color: var(--chat-setting-dropdown-options-color);
  cursor: default;
  outline: none;
  padding: 8px 52px 8px 10px;
  transition: all 200ms ease;
}

._dropdown-root_1pskg_1388._is-open_1pskg_1423 ._dropdown-control_1pskg_1378 {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

._chat-opt-value_1pskg_1428._enabled_1pskg_1428 ._dropdown-control_1pskg_1378 {
  background-color: #CFDCE0;
  background-color: var(--chat-setting-enabled-dropdown-bg-color);
  border-color: var(--chat-setting-enabled-dropdown-border-color);
}

._chat-opt-value_1pskg_1428._notify_1pskg_1434 ._dropdown-control_1pskg_1378 {
  background-color: #CFD9C4;
  background-color: var(--chat-setting-notify-dropdown-bg-color);
  border-color: var(--chat-setting-notify-dropdown-border-color);
}

._chat-opt-value_1pskg_1428._disabled_1pskg_1087 ._dropdown-control_1pskg_1378 {
  background-color: #ddd;
  background-color: var(--chat-setting-disabled-dropdown-bg-color);
  border-color: var(--chat-setting-disabled-dropdown-border-color);
  color: var(--chat-setting-dropdown-options-color-disabled);
}

._dropdown-control_1pskg_1378:hover {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

._dropdown-arrow_1pskg_1383 {
  border-color: #999 transparent transparent;
  border-color: var(--chat-dropdown-arrow-color) transparent transparent;
  border-style: solid;
  border-width: 5px 5px 0;
  content: "";
  display: block;
  height: 0;
  position: absolute;
  right: 10px;
  top: 12px;
  width: 0;
}

._is-open_1pskg_1423 ._dropdown-arrow_1pskg_1383 {
  border-color: transparent transparent #999;
  border-color: transparent transparent var(--chat-dropdown-arrow-color);
  border-width: 0 5px 5px;
}

._dropdown-menu_1pskg_1471 {
  background-color: white;
  background-color: var(--chat-dropdown-menu-bg-color);
  border: 1px solid #ccc;
  border-color: var(--chat-dropdown-menu-border-color);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  box-shadow: var(--chat-dropdown-menu-box-shadow);
  box-sizing: border-box;
  margin-top: -1px;
  max-height: 120px;
  overflow-y: auto;
  position: absolute;
  top: 100%;
  width: 100%;
  z-index: 1002;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: #f2f2f2 #ddd;
  scrollbar-color: var(--chat-scrollbar-thumb-color) var(--chat-scrollbar-track-color);
  scrollbar-width: thin;
}
._dropdown-menu_1pskg_1471::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
._dropdown-menu_1pskg_1471::-webkit-scrollbar-track {
  background-color: #ddd;
  background-color: var(--chat-scrollbar-track-color);
}
._dropdown-menu_1pskg_1471::-webkit-scrollbar-track:vertical {
  border-radius: 0 0 5px 0;
}
._dropdown-menu_1pskg_1471::-webkit-scrollbar-thumb {
  background-color: #f2f2f2;
  background-color: var(--chat-scrollbar-thumb-color);
  border: 2px solid #ddd;
  border-color: var(--chat-scrollbar-track-color);
  border-radius: 8px;
}
._dropdown-menu_1pskg_1471:hover::-webkit-scrollbar-thumb {
  background-color: #fff;
  background-color: var(--chat-scrollbar-thumb-color-hover);
}
._dropdown-menu_1pskg_1471 ._dropdown-option_1pskg_1513 {
  box-sizing: border-box;
  color: rgba(51, 51, 51, 0.8);
  color: var(--chat-setting-dropdown-not-selected-options-color);
  background-color: var(--chat-dropdown-menu-bg-color);
  cursor: pointer;
  display: block;
  padding: 8px 10px;
}
._dropdown-menu_1pskg_1471 ._dropdown-option_1pskg_1513:last-child {
  border-bottom-right-radius: 2px;
  border-bottom-left-radius: 2px;
}
._dropdown-menu_1pskg_1471 ._dropdown-option_1pskg_1513:hover {
  background-color: #f2f9fc;
  background-color: var(--chat-dropdown-option-bg-color-selected);
  color: #333;
  color: var(--chat-setting-dropdown-options-color);
}
._dropdown-menu_1pskg_1471 ._dropdown-option_1pskg_1513._is-selected_1pskg_1532 {
  background-color: #f2f9fc;
  background-color: var(--chat-dropdown-option-bg-color-selected);
  color: #333;
  color: var(--chat-setting-dropdown-options-color);
}

._disabled_1pskg_1087 ._dropdown-menu_1pskg_1471 {
  background-color: #ddd;
  background-color: var(--chat-dropdown-menu-bg-color-disabled);
}

._soundFirst_1pskg_1544 ._dropdown-menu_1pskg_1471 {
  height: 100px;
}

._soundLast_1pskg_1548 ._dropdown-menu_1pskg_1471 {
  height: 69px;
}

._twoElements_1pskg_1552 ._dropdown-menu_1pskg_1471 {
  height: 60px;
}

._dropdown-menu_1pskg_1471 ._dropdown-group_1pskg_1556 > ._dropdown-title_1pskg_1556 {
  padding: 8px 10px;
  color: rgb(51, 51, 51);
  color: var(--chat-setting-dropdown-options-color);
  font-weight: bold;
  text-transform: capitalize;
}

._dropdown-noresults_1pskg_1564 {
  box-sizing: border-box;
  color: #ccc;
  cursor: default;
  display: block;
  padding: 8px 10px;
}

._dropdown-placeholder_1pskg_1572 {
  width: 170px;
}

._chat-settings-opts_1pskg_1576 {
  padding-bottom: 0;
}

._chat-settings-opts_1pskg_1576 ._chat-setting-label_1pskg_1580 {
  color: var(--chat-setting-label-color);
}

._chat-settings-opts_1pskg_1576 ._privacy_1pskg_1584 ._privacy-radio-button_1pskg_1584 {
  position: absolute;
  opacity: 0;
  left: -5000px;
  top: auto;
}

._chat-settings-opts_1pskg_1576 ._privacy_1pskg_1584 ._privacy-label_1pskg_1591 {
  padding-left: 18px;
  vertical-align: bottom;
  color: var(--chat-setting-privacy-options-font-color);
  position: relative;
  cursor: pointer;
}
._chat-settings-opts_1pskg_1576 ._privacy_1pskg_1584 ._privacy-label_1pskg_1591:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid #aaa;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.75), 0 1px 0 0 rgba(255, 255, 255, 0.75);
  box-shadow: var(--chat-radio-button-box-shadow);
}
._chat-settings-opts_1pskg_1576 ._privacy_1pskg_1584 ._privacy-label_1pskg_1591:after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  opacity: 0;
  background-color: #aaa;
}

._chat-settings-opts_1pskg_1576 ._privacy_1pskg_1584 ._privacy-radio-button_1pskg_1584:checked + ._privacy-label_1pskg_1591:after {
  opacity: 1;
}

._chat-box-notebook_1pskg_199 > ._dropdown-placeholder_1pskg_1572 {
  width: 240px;
}

/*-------------- dropdown extensions ended -------------------*/
/*--------------------- people tab, jquery insertion bugfix------*/
.ac-wrapper .ui-helper-hidden-accessible {
  display: none;
}

/*--------------------- people tab, jquery insertion bugfix ended ------*/
/*----------------- Loader ------------------------- */
._loader_1pskg_1301 {
  position: relative;
  margin: 0 auto;
  width: 100px;
}

._loader_1pskg_1301:before {
  content: "";
  display: block;
  padding-top: 100%;
}

._circular_1pskg_1650 {
  -webkit-animation: _rotate_1pskg_1 2s linear infinite;
  animation: _rotate_1pskg_1 2s linear infinite;
  height: 100%;
  -webkit-transform-origin: center center;
  -ms-transform-origin: center center;
  transform-origin: center center;
  width: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

._path_1pskg_1666 {
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  -webkit-animation: _dash_1pskg_1 1.5s ease-in-out infinite, _color_1pskg_1 6s ease-in-out infinite;
  animation: _dash_1pskg_1 1.5s ease-in-out infinite, _color_1pskg_1 6s ease-in-out infinite;
  stroke-linecap: round;
}

@-webkit-keyframes _rotate_1pskg_1 {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes _rotate_1pskg_1 {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-webkit-keyframes _dash_1pskg_1 {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124;
  }
}
@keyframes _dash_1pskg_1 {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124;
  }
}
@-webkit-keyframes _color_1pskg_1 {
  100%, 0% {
    stroke: #d62d20;
  }
  40% {
    stroke: #0057e7;
  }
  66% {
    stroke: #008744;
  }
  80%, 90% {
    stroke: #ffa700;
  }
}
@keyframes _color_1pskg_1 {
  100%, 0% {
    stroke: #d62d20;
  }
  40% {
    stroke: #0057e7;
  }
  66% {
    stroke: #008744;
  }
  80%, 90% {
    stroke: #ffa700;
  }
}
#interfaceRoot {
  --interface-box-content-bg: #52483c;
  --interface-box-content-font-color: #52483c;
  --interface-box-border-color: #52483c;
  --interface-setting-label-color: #52483c;
  --interface-setting-privacy-options-font-color: #52483c;
  --interface-setting-slider-rail-color: #52483c;
  --interface-setting-slider-track-color: #52483c;
  --interface-setting-slider-handle-border-color: #52483c;
  --interface-setting-slider-handle-bg-color: #52483c;
  --interface-setting-notify-dropdown-bg-color: #52483c;
  --interface-setting-enabled-dropdown-bg-color: #52483c;
  --interface-setting-disabled-dropdown-bg-color: #52483c;
  --interface-setting-disabled-bg-color: #52483c;
  --interface-setting-notify-dropdown-border-color: #52483c;
  --interface-setting-enabled-dropdown-border-color: #52483c;
  --interface-setting-disabled-dropdown-border-color: #52483c;
  --interface-setting-dropdown-options-color: #52483c;
  --interface-setting-dropdown-not-selected-options-color: #52483c;
  --interface-setting-dropdown-options-color-disabled: #52483c;
  --interface-scrollbar-thumb-color: #52483c;
  --interface-scrollbar-thumb-color-hover: #52483c;
  --interface-scrollbar-track-color: #52483c;
  --interface-dropdown-default-bg-color: #52483c;
  --interface-dropdown-arrow-color: #52483c;
  --interface-dropdown-menu-bg-color: #52483c;
  --interface-dropdown-menu-bg-color-disabled: #52483c;
  --interface-dropdown-menu-border-color: #52483c;
  --interface-dropdown-menu-box-shadow: #52483c;
  --interface-dropdown-option-bg-color-selected: #52483c;
  --interface-radio-button-box-shadow: #52483c;
  --interface-default-link-color: #52483c; --interface-default-link-color-hover: #52483c;
  --interface-people-tabs-bg: linear-gradient(180deg, #52483c, !important 0%, #52483c, !important 100%);
  --interface-people-tabs-text-shadow: 0 1px 0 #52483c;
  --interface-people-tabs-active-font-color: #52483c;
  --interface-people-border-color: #52483c;
  --interface-horizontal-divider-color: #52483c;
  --interface-horizontal-divider: none;
  --interface-horizontal-divider-box-shadow: none;
  /*! --interface-recently-met-players-img: url(/images/v2/interface/recently_met_players_light.svg); */
  /*! --interface-messege-delete-img: url(/images/v2/interface/people_interface_delete_light.svg); */
  --interface-notebook-dropdown-font-color: #52483c;
  --interface-notebook-text-area-bg-color: #52483c;
  --interface-notebook-text-area-font-color-active: #52483c;
  --interface-notebook-top-panel-border: 1px solid #52483c;
  --interface-notebook-top-panel-bg: linear-gradient(180deg, #52483c 0%, #52483c 100%);
  --interface-notebook-remove-icon-position-y: 1px;
  --interface-input-border-color: #52483c;
  /*! --interface-box-block-report-img: url(/images/v2/interface/interface_block_report_light.svg); */
  --interface-box-report-border-top-color: #52483c;
  --interface-box-user-link-hover-color: #52483c;
  --interface-box-secondary-font-color: #52483c;
}

.dark-mode #interfaceRoot {
  --interface-box-content-bg: #333;
  --interface-box-content-font-color: #ccc;
  --interface-box-border-color: #444;
  --interface-setting-label-color: #ccc;
  --interface-setting-privacy-options-font-color: #999;
  --interface-setting-slider-rail-color: #111;
  --interface-setting-slider-track-color: #00678A;
  --interface-setting-slider-handle-border-color: #00678A;
  --interface-setting-slider-handle-bg-color: #003041;
  --interface-setting-notify-dropdown-bg-color: #5C940D26;
  --interface-setting-enabled-dropdown-bg-color: #00698C26;
  --interface-setting-disabled-dropdown-bg-color: #333;
  --interface-setting-disabled-bg-color: #333;
  --interface-setting-notify-dropdown-border-color: #5C940D80;
  --interface-setting-enabled-dropdown-border-color: #00698C;
  --interface-setting-disabled-dropdown-border-color: #444;
  --interface-setting-dropdown-options-color: #ddd;
  --interface-setting-dropdown-not-selected-options-color: rgba(221, 221, 221, 0.8);
  --interface-setting-dropdown-options-color-disabled: #999;
  --interface-scrollbar-thumb-color: #555;
  --interface-scrollbar-thumb-color-hover: #777;
  --interface-scrollbar-track-color: #222;
  --interface-dropdown-default-bg-color: #111;
  --interface-dropdown-arrow-color: #888;
  --interface-dropdown-menu-bg-color: #444;
  --interface-dropdown-menu-bg-color-disabled: #444;
  --interface-dropdown-menu-border-color: #555;
  --interface-dropdown-menu-box-shadow: 0 2px 4px #00000073;
  --interface-dropdown-option-bg-color-selected: #111;
  --interface-radio-button-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.65);
  /*--interface-default-link-color: #74c0fc;
  --interface-default-link-color-hover: #a5d8ff;*/
  --interface-people-tabs-bg: linear-gradient(180deg, #444444 0%, #2E2E2E 100%);
  --interface-people-tabs-text-shadow: 0 1px 0 #222222;
  --interface-people-tabs-active-font-color: #fff;
  --interface-people-border-color: #444;
  --interface-horizontal-divider-color: #222;
  --interface-horizontal-divider: 1px solid #222;
  --interface-horizontal-divider-box-shadow: 0 1px 0 #FFFFFF1A;
  --interface-recently-met-players-img: url(/images/v2/interface/recently_met_players_dark.svg);
  --interface-messege-delete-img: url(/images/v2/interface/people_interface_delete_dark.svg);
  --interface-notebook-dropdown-font-color: #999;
  --interface-notebook-text-area-bg-color: #333;
  --interface-notebook-text-area-font-color-active: #fff;
  --interface-notebook-top-panel-border: none;
  --interface-notebook-top-panel-bg: linear-gradient(180deg, #444444 0%, #2E2E2E 100%);
  --interface-notebook-remove-icon-position-y: -135px;
  --interface-input-border-color: #444;
  --interface-box-block-report-img: url(/images/v2/interface/interface_block_report_dark.svg);
  --interface-box-report-border-top-color: transparent;
  --interface-box-user-link-hover-color: #fff;
  --interface-box-secondary-font-color: #777;
}

._interface-box-wrap_data_111 {
  /*! height: 39px; */
  position: fixed;
  right: 12px;
  bottom: 0;
  color: #FFF;
  z-index: 1000;
  margin-bottom: 2px;
}

._interface-box-wrap_data_111 ._interface-box-settings_data_120._interface-active_data_120,
._interface-box-wrap_data_111 ._interface-box_data_111._interface-active_data_120 {
  position: absolute;
  bottom: 0;
  right: 0;
}

._interface-box_data_111,
._interface-box-settings_data_120 {
  float: right;
  margin: 0 1px;
}

._interface-box-head_data_133 {
  position: relative;
  height: 34px;
  max-width: 132px;
  /*! width: 132px; */
  margin: 2px 0 0;
  background: linear-gradient(180deg, #6e2220 0%, #2a1312 100%);
  cursor: pointer;
  border-radius: 5px 5px 5px 5px;
  border-bottom: none;
  border-bottom: var(--interface-horizontal-divider);
  box-shadow: none;
  box-shadow: var(--interface-horizontal-divider-box-shadow);
}

._interface-box-title_data_148 ._name_data_148 {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 125px;
  vertical-align: middle;
  display: inline-block;
  white-space: nowrap;
  line-height: 14px;
  padding: 10px;
}

._interface-active_data_120 ._interface-box-title_data_148 ._name_data_148 {
  max-width: 200px;
}

._interface-active_data_120 ._interface-box-head_data_133,
._interface-box_data_111._interface-active_data_120 ._interface-box-head_data_133,
._interface-box_data_111._minimized_data_164._interface-active_data_120 ._interface-box-head_data_133,
._interface-box-settings_data_120._interface-active_data_120 ._interface-box-head_data_133 {
  width: 290px;
  max-width: 290px;
}

._interface-box-head_data_133 ._l_data_170,
._interface-box-head_data_133 ._r_data_171 {
  position: absolute;
  top: 0;
  height: 34px;
  width: 7px;
  background: url(/images/v2/interface/tabs_ends.png) left top no-repeat;
}

._interface-box-head_data_133 ._l_data_170 {
  left: -6px;
}

._interface-box-head_data_133 ._r_data_171 {
  right: -6px;
  background-position: right top;
}

._interface-box-head_data_133 ._l_data_170._top_data_188 {
  border-bottom-left-radius: 5px;
}

._interface-box-head_data_133 ._r_data_171._top_data_188 {
  border-bottom-right-radius: 5px;
}

._interface-box-people_data_196 ._interface-box-head_data_133,
._interface-box-settings_data_120 ._interface-box-head_data_133,
._interface-box-error_data_198 ._interface-box-head_data_133,
._interface-box-notebook_data_199 ._interface-box-head_data_133 {
  background: linear-gradient(135deg, #827462 0%, #1c1a17 100%);
}

._interface-box-people_data_196 ._interface-box-head_data_133:hover,
._interface-box-settings_data_120 ._interface-box-head_data_133:hover,
._interface-box-error_data_198 ._interface-box-head_data_133:hover,
._interface-box-notebook_data_199 ._interface-box-head_data_133:hover {
  background: linear-gradient(135deg, #6d1c10 0%, #1e0000 100%);
}

._new_data_210 ._interface-box-head_data_133 {
  background: linear-gradient(180deg, #746858 0%, #282621 100%);
}

._new_data_210 ._interface-box-head_data_133:hover {
  background: linear-gradient(180deg, #52483c 0%, #52483c 100%);
}

._interface-box-head_data_133:hover {
  background: linear-gradient(180deg, #333333 0%, #000000 100%);
}

._interface-box-head_data_133 ._icon_data_222,
._interface-box-head_data_133 ._close_data_223,
._interface-box-head_data_133 ._delete_data_224 {
  display: inline-block;
  vertical-align: middle;
  height: 34px;
  /*! width: px; */
  /*! background: url(/images/v2/interface/tab_icons.svg) left top; */
  /*! filter: drop-shadow(0px 0px 1px rgba(255, 255, 255, 0.68)); */
  /*! padding-right: 5px; */
}

._interface-box-head_data_133 ._close_data_223,
._interface-box-head_data_133 ._delete_data_224 {
  float: right;
  width: 16px;
}

._interface-active_data_120 ._interface-box-head_data_133 ._close_data_223,
._interface-active_data_120 ._interface-box-head_data_133 ._delete_data_224 {
  width: 26px !important;
}

._interface-active_data_120 ._interface-box-head_data_133 ._delete_data_224 {
  margin-right: 0;
}

._interface-box-settings_data_120 ._interface-box-head_data_133 ._close_data_223 {
  background-position: -483px top;
}

._interface-box-settings_data_120 ._interface-box-head_data_133 ._delete_data_224,
._interface-box-head_data_133 ._close_data_223,
._minimized_data_164 ._interface-box-head_data_133 ._delete_data_224 {
  display: initial;
}

._interface-box-head_data_133 ._close_data_223 {
  background-position: -517px top;
}

._interface-active_data_120 ._interface-box-head_data_133 ._close_data_223 {
  display: block;
}

._interface-box-head_data_133 ._delete_data_224 {
  background-position: -552px top;
  margin-right: 10px;
}

._interface-box-settings_data_120 ._interface-box-head_data_133 ._close_data_223:hover {
  background-position: -483px bottom;
}

._interface-box-head_data_133 ._close_data_223:hover {
  background-position: -517px bottom;
}

._interface-box-head_data_133 ._delete_data_224:hover {
  background-position: -552px bottom;
}

._interface-box-head_data_133:hover ._icon_data_222 {
  background-position: -374px bottom;
}

._hospital_data_287 ._interface-box-head_data_133:hover ._icon_data_222 {
  background-position: -578px -36px;
}

._jail_data_291 ._interface-box-head_data_133:hover ._icon_data_222 {
  background-position: -612px -36px;
}

._support_data_295 ._interface-box-head_data_133:hover ._icon_data_222 {
  background-position: -646px -34px;
}

._travel_data_299 ._interface-box-head_data_133:hover ._icon_data_222 {
  background-position: -680px -34px;
}

._christmastown_data_303 ._interface-box-head_data_133:hover ._icon_data_222 {
  background-position: -782px -34px;
}

._christmastown_data_303 ._interface-box-head_data_133 ._icon_data_222 {
  background-position: -782px top;
}

._online_data_311 ._interface-box-head_data_133 ._icon_data_222 {
  margin-bottom: 2px;
  background-position: left top;
}

._away_data_316 ._interface-box-head_data_133 ._icon_data_222 {
  margin-bottom: 2px;
  background-position: -34px top;
}

._offline_data_321 ._interface-box-head_data_133 ._icon_data_222 {
  margin-bottom: 2px;
  background-position: -68px top;
}

._faction_data_326 ._interface-box-head_data_133 ._icon_data_222 {
  /*! background-position: -102px top; */
}

._faction_data_326._new_data_210 ._interface-box-head_data_133 ._icon_data_222 {
  background-position: -1px bottom;
}

._company_data_334 ._interface-box-head_data_133 ._icon_data_222 {
  background-position: -136px top;
}

._company_data_334._new_data_210 ._interface-box-head_data_133 ._icon_data_222 {
  background-position: -136px bottom;
}

._global_data_342 ._interface-box-head_data_133 ._icon_data_222 {
  background-position: -170px top;
}

._global_data_342._new_data_210 ._interface-box-head_data_133 ._icon_data_222 {
  background-position: -170px bottom;
}

._new-players_data_350 ._interface-box-head_data_133 ._icon_data_222 {
  background-position: -204px top;
}

._new-players_data_350._new_data_210 ._interface-box-head_data_133 ._icon_data_222 {
  background-position: -204px bottom;
}

._staff_data_358 ._interface-box-head_data_133 ._icon_data_222 {
  background-position: -238px top;
}

._stafficon_data_362 ._interface-box-head_data_133 ._icon_data_222 {
  background-position: -238px top;
}

._staff_data_358._new_data_210 ._interface-box-head_data_133 ._icon_data_222 {
  background-position: -238px bottom;
}

._stafficon_data_362._new_data_210 ._interface-box-head_data_133 ._icon_data_222 {
  background-position: -238px bottom;
}

._trade_data_374 ._interface-box-head_data_133 ._icon_data_222 {
  background-position: -272px top;
}

._trade_data_374._new_data_210 ._interface-box-head_data_133 ._icon_data_222 {
  background-position: -272px bottom;
}

._offline_data_321._min_data_164 ._interface-box-head_data_133 ._icon_data_222 {
  background-position: -340px top;
}

._hospital_data_287 ._interface-box-head_data_133 ._icon_data_222 {
  background-position: -578px top;
}

._hospital_data_287._new_data_210 ._interface-box-head_data_133 ._icon_data_222 {
  background-position: -578px bottom;
}

._jail_data_291 ._interface-box-head_data_133 ._icon_data_222 {
  background-position: -612px top;
}

._jail_data_291._new_data_210 ._interface-box-head_data_133 ._icon_data_222 {
  background-position: -612px bottom;
}

._support_data_295 ._interface-box-head_data_133 ._icon_data_222 {
  background-position: -646px top;
}

._support_data_295._new_data_210 ._interface-box-head_data_133 ._icon_data_222 {
  background-position: -646px bottom;
}

._competition_data_410 ._interface-box-head_data_133 ._icon_data_222 {
  background-position: -748px 69px;
}

._competition_data_410._new_data_210 ._interface-box-head_data_133 ._icon_data_222 {
  background-position: -748px bottom;
}

._travel_data_299 ._interface-box-head_data_133 ._icon_data_222 {
  background-position: -680px top;
}

._travel_data_299._new_data_210 ._interface-box-head_data_133 ._icon_data_222 {
  background-position: -680px bottom;
}

._interface-box-head_data_133 ._icon_data_222 {
  /*! background-position: -374px top; */
}

._interface-box-people_data_196 ._interface-box-head_data_133 ._icon_data_222 {
  background-position: -408px top !important;
}

._interface-box-settings_data_120 ._interface-box-head_data_133 ._icon_data_222 {
  background-position: -442px top;
}

._interface-box-error_data_198 ._interface-box-head_data_133 ._icon_data_222 {
  background-position: -442px top;
}

._faction_data_326 ._interface-box-head_data_133:hover ._icon_data_222 {
  background-position: -102px bottom;
}

._company_data_334 ._interface-box-head_data_133:hover ._icon_data_222 {
  background-position: -136px bottom;
}

._global_data_342 ._interface-box-head_data_133:hover ._icon_data_222 {
  background-position: -170px bottom;
}

._new-players_data_350 ._interface-box-head_data_133:hover ._icon_data_222 {
  background-position: -204px bottom;
}

._staff_data_358 ._interface-box-head_data_133:hover ._icon_data_222 {
  background-position: -238px bottom;
}

._trade_data_374 ._interface-box-head_data_133:hover ._icon_data_222 {
  background-position: -272px bottom;
}

._offline_data_321._min_data_164 ._interface-box-head_data_133:hover ._icon_data_222 {
  background-position: -340px bottom;
}

._interface-box-people_data_196 ._interface-box-head_data_133:hover ._icon_data_222 {
  background-position: -408px bottom;
}

._interface-box-settings_data_120 ._interface-box-head_data_133:hover ._icon_data_222 {
  background-position: -442px bottom;
}

._interface-box-content_data_478 {
  display: none;
  background-color: #F2F2F2;
  background-color: var(--interface-box-content-bg);
  width: 288px;
  border-color: var(--interface-box-border-color);
  color: #333;
  color: var(--interface-box-content-font-color);
  margin-bottom: 10px;
}

._interface-active_data_120 ._interface-box-content_data_478 {
  display: block;
}

._interface-box-content_data_478 ._interface-opt-label_data_498,
._interface-box-content_data_478 ._interface-opt-drop-list_data_499 {
  float: left;
}

._interface-box-content_data_478 ._interface-opt-label_data_498 {
  width: 95px;
  padding: 10px 0 10px 5px;
  color: var(--interface-setting-label-color);
}

._interface-box-content_data_478 ._message_data_509._row-gray_data_509 {
  background-color: #e8e8e8;
}

._interface-opts_data_513 {
  padding-bottom: 2px;
  border-bottom: 1px solid #CCC;
}

._interface-size-val_data_518 {
  position: relative;
  top: 11px;
  right: 10px;
}

._interface-size_data_518 ._interface-size-gray-wrap_data_524,
._interface-size_data_518 ._interface-size-act-wrap_data_525,
._interface-size_data_518 ._interface-size-gray_data_524 {
  height: 12px;
  background: url(/images/v2/interface/progress_bar.png) -36px top no-repeat;
}

._interface-size_data_518 ._interface-size-gray_data_524 {
  margin-left: 9px;
}

._interface-size_data_518 ._interface-size-gray_data_524 {
  width: 156px;
}

._interface-size_data_518 ._interface-size-gray-wrap_data_524 {
  background-position: left -12px;
}

._interface-size_data_518 ._interface-size-act-wrap_data_525 {
  position: absolute;
  left: 4px;
  top: 0;
  width: 143px;
  background-position: left -36px;
}

._interface-size-val_data_518:hover ._interface-size-act-wrap_data_525 {
  background-position: left -60px;
}

._interface-box-content_data_478 ._type-list_data_555 {
  overflow: hidden;
  border-bottom: solid 1px #CCC;
  border-color: var(--interface-horizontal-divider-color);
  box-shadow: var(--interface-horizontal-divider-box-shadow);
  background: linear-gradient(180deg, #FFF 0%, #DDD 100%);
  background: var(--interface-people-tabs-bg);
}

._interface-box-content_data_478 #_char-friends_data_1 {
  border-top: 1px solid #CCC;
}

._interface-box-content_data_478 #_char-blocked_data_1 {
  border-top: 1px solid #CCC;
}

._interface-box-content_data_478 ._viewport_data_572 {
  word-wrap: break-word;
  overflow-y: scroll;
  scrollbar-color: #f2f2f2 #ddd;
  scrollbar-color: var(--interface-scrollbar-thumb-color) var(--interface-scrollbar-track-color);
  scrollbar-width: thin;
}
._interface-box-content_data_478 ._viewport_data_572::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
._interface-box-content_data_478 ._viewport_data_572::-webkit-scrollbar-track {
  background-color: #ddd;
  background-color: var(--interface-scrollbar-track-color);
}
._interface-box-content_data_478 ._viewport_data_572::-webkit-scrollbar-track:vertical {
  border-radius: 0 0 5px 0;
}
._interface-box-content_data_478 ._viewport_data_572::-webkit-scrollbar-thumb {
  background-color: #f2f2f2;
  background-color: var(--interface-scrollbar-thumb-color);
  border: 2px solid #ddd;
  border-color: var(--interface-scrollbar-track-color);
  border-radius: 8px;
}
._interface-box-content_data_478 ._viewport_data_572:hover::-webkit-scrollbar-thumb {
  background-color: #fff;
  background-color: var(--interface-scrollbar-thumb-color-hover);
}

._interface-box_data_111 ._interface-box-content_data_478 ._viewport_data_572::-webkit-scrollbar-track:vertical {
  border-radius: 0;
}

._interface-opts_data_513 ._viewport_data_572 {
  overflow-y: hidden;
}

._interface-box-content_data_478 ._type-list_data_555 > li {
  width: 56px;
  height: 34px;
  line-height: 34px;
  float: left;
  text-align: center;
  text-shadow: 0 1px 0 #FFF;
  text-shadow: var(--interface-people-tabs-text-shadow);
}
._interface-box-content_data_478 ._type-list_data_555 > li a {
  display: inline-block;
}
._interface-box-content_data_478 ._type-list_data_555 > li:hover a {
  color: #666;
  color: var(--interface-people-tabs-active-font-color);
}

._interface-box-content_data_478 ._type-list_data_555 > ._active_data_627 a {
  color: #666;
  color: var(--interface-people-tabs-active-font-color);
  border-bottom: 3px solid #666;
  border-color: var(--interface-people-tabs-active-font-color);
  box-sizing: border-box;
  height: 100%;
}

._interface-box-content_data_478 ._ui-helper-hidden-accessible_data_636 {
  display: none;
}

._interface-box-settings_data_120 ._people-info_data_640 ._viewport_data_572 {
  border-top: 1px solid #CCC;
}

._people-list_data_644 {
  padding-bottom: 1px;
}

._people-list_data_644 ._user-name-id_data_648 ._ellipsis_data_648 {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
  vertical-align: middle;
  display: inline-block;
  white-space: nowrap;
}

._people-list_data_644 > li {
  height: 30px;
  line-height: 30px;
  border-bottom: 1px solid #CCC;
  border-color: var(--interface-people-border-color);
  padding-left: 20px;
}
._people-list_data_644 > li ._user-name-id_data_648 {
  position: relative;
}
._people-list_data_644 > li ._user-name-id_data_648:before {
  content: "";
  display: block;
  position: absolute;
  top: 6px;
  left: -10px;
  width: 4px;
  height: 4px;
  border-radius: 2px;
  background-color: #CC3300;
}

._people-list_data_644 > li._online_data_311 ._user-name-id_data_648:before {
  background-color: #009900;
}

._people-list_data_644 > li._last_data_683 {
  border-bottom: none;
}

._people-list_data_644 > li ._interface_data_111,
._people-list_data_644 > li ._close_data_223 {
  display: inline-block;
  height: 30px;
  width: 30px;
  background: url(/images/v2/interface/people_interface_delete.png) left bottom;
  background-image: var(--interface-messege-delete-img);
}

._people-list_data_644 > li ._close_data_223 {
  background-position: right bottom;
}

._people-list_data_644 > li ._interface_data_111:hover {
  background-position: left top;
}

._people-list_data_644 > li ._close_data_223:hover {
  background-position: right top;
}

._scrollbar_data_708._disable_data_708 + ._viewport_data_572 ._people-list_data_644 {
  padding-right: 0;
  width: auto;
}

._people-list_data_644 > li ._i-wrap_data_713 {
  height: 30px;
  width: 30px;
  float: right;
}

._show-recent-icons_data_719 ._people-list_data_644 > li {
  padding-left: 30px;
  background: url(/images/v2/interface/recently_met_players_light.svg) left top no-repeat;
  background-image: var(--interface-recently-met-players-img);
}

._show-recent-icons_data_719 ._people-list_data_644 > li ._user-name-id_data_648 {
  padding-left: 10px;
}
._show-recent-icons_data_719 ._people-list_data_644 > li ._user-name-id_data_648:before {
  left: 1px;
}

._show-recent-icons_data_719 ._people-list_data_644 > li._sent-message_data_732 {
  background-position: left top;
}

._show-recent-icons_data_719 ._people-list_data_644 > li._sent-money_data_736 {
  background-position: left -30px;
}

._show-recent-icons_data_719 ._people-list_data_644 > li._sent-item_data_740 {
  background-position: left -60px;
}

._show-recent-icons_data_719 ._people-list_data_644 > li._trade_data_374 {
  background-position: left -90px;
}

._show-recent-icons_data_719 ._people-list_data_644 > li._give-property_data_748 {
  background-position: left -120px;
}

._show-recent-icons_data_719 ._people-list_data_644 > li._give-bust_data_752 {
  background-position: left -150px;
}

._show-recent-icons_data_719 ._people-list_data_644 > li._give-revive_data_756 {
  background-position: left -180px;
}

._show-recent-icons_data_719 ._people-list_data_644 > li._faction-application_data_760 {
  background-position: left -210px;
}

._show-recent-icons_data_719 ._people-list_data_644 > li._company-application_data_764 {
  background-position: left -240px;
}

._show-recent-icons_data_719 ._people-list_data_644 > li._referral_data_768 {
  background-position: left -270px;
}

._show-recent-icons_data_719 ._people-list_data_644 > li._started-interface_data_772 {
  background-position: left -300px;
}

._people-list-wrap_data_776 {
  min-height: 206px;
}

._interface-box_data_111 ._interface-box-content_data_478 {
  height: 238px;
  border-bottom: 1px solid #CCC;
  border-color: var(--interface-input-border-color);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  margin-bottom: 0;
}

._interface-box_data_111 ._interface-box-input_data_789 {
  display: none;
  border-right: 1px solid #ABABAB;
  border-bottom: 1px solid #ABABAB;
  border-left: 1px solid #ABABAB;
  border-color: var(--interface-box-border-color);
  color: #333;
  color: var(--interface-box-content-font-color);
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  margin-bottom: 10px;
  background-color: #F2F2F2;
  background-color: var(--interface-box-content-bg);
  height: 68px;
}

._interface-active_data_120._interface-box_data_111 ._interface-box-input_data_789 {
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
}

._interface-box_data_111 ._interface-box-input_data_789 {
  overflow: hidden;
}

._interface-box_data_111 ._interface-box-input_data_789 ._interface-box-textarea_data_816 {
  float: left;
  height: 50px;
  width: 269px;
  padding: 5px;
  margin: 2px 0 0 0;
  resize: none;
  border: 1px solid #CCC;
  border-color: var(--interface-input-border-color);
  background-color: #F2F2F2;
  background-color: var(--interface-box-content-bg);
  overflow: auto; /*IE 11 fix*/
  box-sizing: content-box;
  font-family: Arial, serif;
  color: var(--interface-notebook-text-area-font-color-active);
}

._interface-box_data_111._global_data_342 ._interface-box-input_data_789 ._interface-box-textarea_data_816,
._interface-box_data_111._company_data_334 ._interface-box-input_data_789 ._interface-box-textarea_data_816,
._interface-box_data_111._staff_data_358 ._interface-box-input_data_789 ._interface-box-textarea_data_816,
._interface-box_data_111._support_data_295 ._interface-box-input_data_789 ._interface-box-textarea_data_816,
._interface-box_data_111._trade_data_374 ._interface-box-input_data_789 ._interface-box-textarea_data_816,
._interface-box_data_111._new-players_data_350 ._interface-box-input_data_789 ._interface-box-textarea_data_816,
._interface-box_data_111._faction_data_326 ._interface-box-input_data_789 ._interface-box-textarea_data_816 {
  margin: 0;
}

._interface-box_data_111 ._interface-box-input_data_789 ._interface-box-input-buttons_data_843 {
  float: right;
}

._interface-box_data_111 ._interface-box-input_data_789 ._interface-box-input-buttons_data_843 a,
._interface-box-content_data_478 ._error-icon_data_848 {
  background: url(/images/v2/interface/interface_block_report_light.svg) left top;
  background-image: var(--interface-box-block-report-img);
}

._interface-box_data_111 ._interface-box-input_data_789 ._interface-box-input-buttons_data_843 a {
  height: 33px;
  width: 34px;
  display: block;
}

._interface-box-content_data_478 ._error-icon_data_848 {
  display: inline-block;
  vertical-align: middle;
  height: 13px;
  width: 13px;
  background-position: -45px -45px;
}

._interface-box_data_111 ._interface-box-input_data_789 ._interface-box-input-buttons_data_843 a._ban_data_867 {
  border-bottom: 1px solid #CCC;
  border-bottom-color: var(--interface-input-border-color);
  background-position: left top;
}

._interface-box_data_111 ._interface-box-input_data_789 ._interface-box-input-buttons_data_843 a._ban_data_867:hover {
  background-position: right top;
}

._interface-box_data_111 ._interface-box-input_data_789 ._interface-box-input-buttons_data_843 a._report_data_877 {
  border-top: 1px solid #FFF;
  border-top-color: var(--interface-box-report-border-top-color);
  background-position: left bottom;
}

._interface-box_data_111 ._interface-box-input_data_789 ._interface-box-input-buttons_data_843 a._report_data_877:hover {
  background-position: right bottom;
}

._interface-focus_data_887 ._interface-box-content_data_478,
._interface-focus_data_887._interface-box_data_111 ._interface-box-input_data_789,
._interface-focus_data_887._interface-box_data_111 ._interface-box-input_data_789 ._interface-box-textarea_data_816 {
  background-color: #FFF;
}

._interface-box_data_111 ._interface-box-content_data_478 ._overview_data_893 {
  padding: 1px 0 0 0;
}

._interface-box-content_data_478 ._message_data_509,
._interface-box-content_data_478 ._timestamp_data_898,
._interface-box-content_data_478 ._error_data_848 {
  padding: 0 5px 0 10px;
  line-height: 18px;
}

._interface-box-content_data_478 ._message_data_509 a {
  font-weight: bold;
  text-decoration: none;
  color: #333;
  color: var(--interface-box-content-font-color);
}

._interface-box-content_data_478 ._interface-last-message-label_data_911 {
  padding-left: 10px;
  line-height: 18px;
  color: #666666;
  color: var(--interface-box-secondary-font-color);
  margin: 0;
}

._interface-box-content_data_478 ._message_data_509._staff_data_358 ._staff_name_data_919 {
  color: #D83500;
}

._interface-box-content_data_478 ._error_data_848 {
  color: #D83500;
}

._interface-box-content_data_478 ._message_data_509 a:hover {
  color: #999;
  color: var(--interface-box-user-link-hover-color);
}

._interface-box-content_data_478 ._timestamp_data_898 {
  font-style: italic;
  color: #999;
}

._interface-box_data_111._minimized_data_164 ._interface-box-title_data_148 ._name_data_148 {
  display: initial;
}

._interface-box_data_111._minimized_data_164 ._interface-box-head_data_133,
._interface-box-settings_data_120 ._interface-box-head_data_133 {
  width: 34px;
}

._interface-box_data_111._minimized_data_164 {
  position: relative;
}

._interface-box_data_111._fixed_data_950 ._name_data_148 {
  margin-left: -12px;
}

._interface-box_data_111._fixed_data_950 ._icon_data_222 {
  background-position: -72px top;
}

._interface-box_data_111._fixed_data_950._away_data_316 ._icon_data_222 {
  background-position: -38px top;
}

._interface-box_data_111._fixed_data_950._online_data_311 ._icon_data_222 {
  background-position: -4px top;
}

._interface-box_data_111._fixed4_data_966 ._interface-box-head_data_133 {
  max-width: 56px;
  width: 56px;
}

._interface-box_data_111._fixed4_data_966 ._name_data_148 {
  width: 25px;
  max-width: 25px;
}

._interface-box_data_111._fixed5_data_976 ._interface-box-head_data_133 {
  max-width: 66px;
  width: 66px;
}

._interface-box_data_111._fixed5_data_976 ._icon_data_222 {
  background-position: -75px top;
}

._interface-box_data_111._fixed5_data_976 ._name_data_148 {
  width: 35px;
  max-width: 35px;
}

._interface-box_data_111._fixed6_data_990 ._interface-box-head_data_133 {
  max-width: 76px;
  width: 76px;
}

._interface-box_data_111._fixed6_data_990 ._name_data_148 {
  width: 43px;
  max-width: 43px;
}

._interface-box_data_111._fixed7_data_1000 ._interface-box-head_data_133 {
  max-width: 86px;
  width: 86px;
}

._interface-box_data_111._fixed7_data_1000 ._name_data_148 {
  width: 51px;
  max-width: 51px;
}

._interface-box_data_111._fixed8_data_1010 ._interface-box-head_data_133 {
  max-width: 96px;
  width: 96px;
}

._interface-box_data_111._fixed8_data_1010 ._name_data_148 {
  width: 63px;
  max-width: 63px;
}

._interface-box_data_111._fixed9_data_1020 ._interface-box-head_data_133 {
  width: 104px;
  max-width: 104px;
}

._interface-box_data_111._fixed9_data_1020 ._name_data_148 {
  width: 71px;
  max-width: 71px;
}

._interface-box_data_111._fixed10_data_1030 ._interface-box-head_data_133 {
  width: 114px;
  max-width: 114px;
}

._interface-box_data_111._fixed10_data_1030 ._name_data_148 {
  width: 81px;
  max-width: 81px;
}

._interface-box_data_111._fixed11_data_1040 ._interface-box-head_data_133 {
  width: 124px;
  max-width: 124px;
}

._interface-box_data_111._fixed11_data_1040 ._name_data_148 {
  width: 91px;
  max-width: 91px;
}

._interface-box_data_111._focus_data_1050 ._interface-box-content_data_478,
._interface-box_data_111._focus_data_1050 ._interface-box-input_data_789,
._interface-box_data_111._focus_data_1050 ._interface-box-input_data_789 ._interface-box-textarea_data_816 {
  background-color: #FFF;
}

._interface-box_data_111._focus_data_1050 ._interface-box-content_data_478 ._thumb_data_1056,
._interface-box_data_111._focus_data_1050 ._interface-box-content_data_478 ._thumb_data_1056 ._end_data_1057 {
  background-image: url(/images/v2/lib/tinyscrollbar-bright-white-thumb-y.png);
}

._interface-box-content_data_478 ._ac-wrapper_data_1061 {
  z-index: 999999;
}

._interface-box_data_111 ._interface-confirm_data_1065 {
  padding: 10px;
  text-align: center;
  display: none;
}

._interface-box_data_111 ._interface-confirm_data_1065 ._link-wrap_data_1071 {
  display: block;
  padding-top: 10px;
}

._interface-box_data_111 ._interface-confirm_data_1065 ._link-wrap_data_1071 ._yes_data_1076,
._interface-box_data_111 ._interface-confirm_data_1065 ._link-wrap_data_1071 ._no_data_1077 {
  margin-left: 10px;
  margin-right: 10px;
}

._interface-box-content_data_478 ._people-info_data_640._wo-input_data_1082 ._viewport_data_572 {
  height: 208px;
  max-height: 208px;
}

._disabled_data_1087,
._disabled_data_1087 div,
._disabled_data_1087 textarea {
  background-color: #ddd;
  background-color: var(--interface-setting-disabled-bg-color);
}

/* start fix for user autocomplete */
#interfaceRoot ._interface-box-content_data_478 .ac-search.interface-box-list-input {
  border: 1px solid #ccc;
  border-color: var(--interface-people-border-color);
}
#interfaceRoot ._interface-box-content_data_478 .ac-search.interface-box-list-input.ac-focus, #interfaceRoot ._interface-box-content_data_478 .ac-search.interface-box-list-input.open {
  border-bottom: 1px solid transparent;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* end fix for user autocomplete */
/*!!!!!!!!!!!!!!!!!!!!!!! notebookstarted !!!!!!!!!!!!!!!!!!!!!!!!!!*/
._minimized_data_164 ._interface-box-head_data_133 ._resize_data_1107._out_data_1107,
._interface-box-notebook_data_199._minimized_data_164 ._menu-wrap_data_1108 {
  display: none;
}

._interface-box-notebook_data_199._minimized_data_164 {
  width: 34px;
}

._interface-box-notebook_data_199 ._interface-box-content_data_478 ._interface-opt-drop-list_data_499 {
  float: none;
}

._interface-box-notebook_data_199 ._interface-box-title_data_148 ._name_data_148 {
  display: inline;
}

._interface-box-notebook_data_199 ._menu-wrap_data_1108 {
  border-left: 1px solid #ABABAB;
  border-left: var(--interface-notebook-top-panel-border);
  border-right: 1px solid #ABABAB;
  border-right: var(--interface-notebook-top-panel-border);
  width: auto;
  box-shadow: var(--interface-horizontal-divider-box-shadow);
  position: relative;
  z-index: 1;
}

._interface-box-notebook_data_199 ._top-panel_data_1135 {
  position: relative;
  border-bottom: 1px solid #CCC;
  border-color: var(--interface-horizontal-divider-color);
  background: linear-gradient(180deg, #FFFFFF 0%, #DDDDDD 100%);
  background: var(--interface-notebook-top-panel-bg);
}

._interface-box-notebook_data_199 ._interface-box-head_data_133 {
  position: relative;
  z-index: 2;
}

._interface-box-notebook_data_199 ._notebook-select-wrap_data_1148 {
  position: absolute;
  left: 34px;
  top: 0;
  right: 3px;
  bottom: 0;
}

._interface-box-notebook_data_199 ._notebook-select-wrap_data_1148 ._select-list_data_1156 ._scrollbar_data_708 {
  top: 1px;
  right: 2px;
  z-index: 1001;
  width: 12px;
  border-bottom-right-radius: 3px;
}

._interface-box-notebook_data_199 ._notebook-select-wrap_data_1148 ._viewport_data_572 {
  position: relative;
  top: -1px;
  left: 0;
  height: 172px;
  width: auto;
  border: 1px solid #CCC;
  background-color: #FFF;
  overflow: auto;
}

._interface-box-notebook_data_199 ._notebook-select-wrap_data_1148 ._overview_data_893 {
  right: 0;
  padding: 0;
}

._interface-box-notebook_data_199 ._notebook-select-wrap_data_1148 ._notebook-opt_data_1180 {
  top: 26px;
  left: 0;
  right: 0;
  width: auto;
}

._interface-box-notebook_data_199 ._notebook-select-wrap_data_1148 ._overview_data_893 ._special_data_1187 {
  font-style: italic;
}

._interface-box-notebook_data_199 ._notebook-select-wrap_data_1148 ._overview_data_893 ._special_data_1187 a {
  color: #999;
}

._interface-box-notebook_data_199 ._entries-info_data_1195 ._viewport_data_572 {
  border-top: none;
}

._interface-box-notebook_data_199 ._entries-info_data_1195 ._scrollbar_data_708 {
  top: 0;
  right: 1px;
  width: 12px;
  border-bottom-right-radius: 4px;
}

._interface-box-notebook_data_199 ._viewport_data_572 {
  background-color: #FFF;
  background-color: var(--interface-notebook-text-area-bg-color);
  width: auto;
  line-height: 16px;
  z-index: auto;
  overflow-y: auto;
}

._interface-box-notebook_data_199 ._viewport_data_572 textarea {
  z-index: auto;
  overflow-y: hidden;
}

._interface-box-notebook_data_199 ._interface-box-content_data_478 {
  margin-bottom: 10px;
  overflow: hidden;
  border-bottom: 1px solid #ABABAB;
  border-bottom-color: var(--interface-box-border-color);
  border-radius: 0 0 5px 5px;
}

._interface-box-notebook_data_199 ._interface-box-content_data_478 ._overview_data_893 {
  padding: 0 15px;
  white-space: pre-wrap;
}

._interface-box-notebook_data_199 ._temp-field_data_1233 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  display: block;
  width: 100%;
  padding: 5px 10px;
  border: 1px solid #CCC;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

._interface-box-notebook_data_199 input[type=text]._error_data_848 {
  border: 2px solid #FFA396;
  padding: 4px 9px;
}

._interface-box-notebook_data_199 ._entries-info_data_1195 ._thumb_data_1056 {
  height: 100%;
  width: 20px;
  left: -4px;
  background: none;
}

._interface-box-notebook_data_199 ._entries-info_data_1195 ._thumb_data_1056 ._end_data_1057 {
  position: absolute;
  top: 2px;
  left: 6px;
  right: 6px;
  bottom: 2px;
  height: auto;
  width: auto;
  background: #FFF none;
  opacity: 0.5;
  border-radius: 5px;
}

._interface-box-notebook_data_199 ._entries-info_data_1195 ._thumb_data_1056:hover ._end_data_1057 {
  background: #999 none;
}

._interface-box-notebook_data_199 ._entries-info_data_1195 ._edit-note_data_1278 {
  padding: 0;
  resize: none;
  overflow-y: hidden;
  border: none;
  font-size: 12px;
  line-height: 16px;
  font-family: Arial, serif;
  background-color: #fff;
  background-color: var(--interface-notebook-text-area-bg-color);
  color: #000;
  color: var(--interface-notebook-text-area-font-color-active);
}

._interface-box-notebook_data_199 ._interface-box-head_data_133 ._icon_data_222 {
  background-position: -714px top;
}

._interface-box-notebook_data_199 ._interface-box-head_data_133:hover ._icon_data_222 {
  background-position: -714px bottom;
}

/* notebook 2 */
._interface-box-head_data_133 ._loader_data_1301 {
  display: inline-block;
  vertical-align: middle;
  height: 34px;
  width: 28px;
}

._interface-box-head_data_133 ._resize_data_1107,
._interface-box-notebook_data_199 ._remove_data_1309 {
  display: inline-block;
  vertical-align: middle;
  height: 34px;
  background: url(/images/v2/interface/notebook_icons.svg) left top no-repeat;
}

._interface-box-head_data_133 ._resize_data_1107 {
  float: right;
  width: 28px;
  margin-right: 10px;
}

._interface-box-head_data_133 ._resize_data_1107._out_data_1107 {
  background-position: 0 -68px;
}

._interface-box-head_data_133 ._resize_data_1107._out_data_1107:hover {
  background-position: -34px -68px;
}

._interface-box-head_data_133 ._resize_data_1107._in_data_1330 {
  background-position: 0 -102px;
}

._interface-box-head_data_133 ._resize_data_1107._in_data_1330:hover {
  background-position: -34px -102px;
}

._interface-box-notebook_data_199 ._remove_data_1309 {
  width: 34px;
  cursor: pointer;
  background-position: 0 1px;
  background-position-y: var(--interface-notebook-remove-icon-position-y);
}

._interface-box-notebook_data_199 ._remove_data_1309:hover {
  background-position: -34px 1px;
  background-position-y: var(--interface-notebook-remove-icon-position-y);
}

._interface-box-notebook_data_199 ._remove_data_1309._disabled_data_1087 {
  background-position: -68px 1px;
  background-position-y: var(--interface-notebook-remove-icon-position-y);
  cursor: default;
}

._interface-box-notebook_data_199 ._interface-box-content_data_478 ._title_data_1356,
._interface-box-notebook_data_199 ._interface-box-content_data_478 ._edit-title_data_1357 {
  font-weight: bold;
}

._interface-box-notebook_data_199 ._title_data_1356,
._interface-box-notebook_data_199 ._edit-title_data_1357 {
  padding-top: 10px;
  padding-bottom: 5px;
}

._interface-box-notebook_data_199 ._edit-title_data_1357 {
  background-color: #fff;
  background-color: var(--interface-notebook-text-area-bg-color);
  color: #000;
  color: var(--interface-notebook-text-area-font-color-active);
}

._interface-box-people_data_196 ._interface-box-content_data_478 ._autocomplete-wrap_data_1374 ._ac-options_data_1374 #_ac-all_data_1 {
  width: 24%;
}

._interface-box-notebook_data_199 ._dropdown-control_data_1378 {
  color: var(--interface-notebook-dropdown-font-color);
  padding-top: 6px;
  padding-bottom: 7px;
}
._interface-box-notebook_data_199 ._dropdown-control_data_1378 ._dropdown-arrow_data_1383 {
  top: 10px;
}

/*-------------- dropdown extensions -------------------*/
._dropdown-root_data_1388 {
  float: right;
  position: relative;
  width: 147px;
  margin: 1px 7px 1px 1px;
}

._disabled_data_1087 ._dropdown-root_data_1388 {
  background-color: transparent;
}

._notebook-select-wrap_data_1148 ._dropdown-root_data_1388 {
  position: relative;
  width: 100%;
  margin: 3px 1px;
  padding-top: 1px;
}

._dropdown-control_data_1378 {
  position: relative;
  overflow: hidden;
  background-color: white;
  background-color: var(--interface-dropdown-default-bg-color);
  border: 1px solid #ccc;
  border-color: var(--interface-setting-disabled-dropdown-border-color);
  border-radius: 5px;
  box-sizing: border-box;
  color: #333;
  color: var(--interface-setting-dropdown-options-color);
  cursor: default;
  outline: none;
  padding: 8px 52px 8px 10px;
  transition: all 200ms ease;
}

._dropdown-root_data_1388._is-open_data_1423 ._dropdown-control_data_1378 {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

._interface-opt-value_data_1428._enabled_data_1428 ._dropdown-control_data_1378 {
  background-color: #CFDCE0;
  background-color: var(--interface-setting-enabled-dropdown-bg-color);
  border-color: var(--interface-setting-enabled-dropdown-border-color);
}

._interface-opt-value_data_1428._notify_data_1434 ._dropdown-control_data_1378 {
  background-color: #CFD9C4;
  background-color: var(--interface-setting-notify-dropdown-bg-color);
  border-color: var(--interface-setting-notify-dropdown-border-color);
}

._interface-opt-value_data_1428._disabled_data_1087 ._dropdown-control_data_1378 {
  background-color: #ddd;
  background-color: var(--interface-setting-disabled-dropdown-bg-color);
  border-color: var(--interface-setting-disabled-dropdown-border-color);
  color: var(--interface-setting-dropdown-options-color-disabled);
}

._dropdown-control_data_1378:hover {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

._dropdown-arrow_data_1383 {
  border-color: #999 transparent transparent;
  border-color: var(--interface-dropdown-arrow-color) transparent transparent;
  border-style: solid;
  border-width: 5px 5px 0;
  content: "";
  display: block;
  height: 0;
  position: absolute;
  right: 10px;
  top: 12px;
  width: 0;
}

._is-open_data_1423 ._dropdown-arrow_data_1383 {
  border-color: transparent transparent #999;
  border-color: transparent transparent var(--interface-dropdown-arrow-color);
  border-width: 0 5px 5px;
}

._dropdown-menu_data_1471 {
  background-color: white;
  background-color: var(--interface-dropdown-menu-bg-color);
  border: 1px solid #ccc;
  border-color: var(--interface-dropdown-menu-border-color);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  box-shadow: var(--interface-dropdown-menu-box-shadow);
  box-sizing: border-box;
  margin-top: -1px;
  max-height: 120px;
  overflow-y: auto;
  position: absolute;
  top: 100%;
  width: 100%;
  z-index: 1002;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: #f2f2f2 #ddd;
  scrollbar-color: var(--interface-scrollbar-thumb-color) var(--interface-scrollbar-track-color);
  scrollbar-width: thin;
}
._dropdown-menu_data_1471::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
._dropdown-menu_data_1471::-webkit-scrollbar-track {
  background-color: #ddd;
  background-color: var(--interface-scrollbar-track-color);
}
._dropdown-menu_data_1471::-webkit-scrollbar-track:vertical {
  border-radius: 0 0 5px 0;
}
._dropdown-menu_data_1471::-webkit-scrollbar-thumb {
  background-color: #f2f2f2;
  background-color: var(--interface-scrollbar-thumb-color);
  border: 2px solid #ddd;
  border-color: var(--interface-scrollbar-track-color);
  border-radius: 8px;
}
._dropdown-menu_data_1471:hover::-webkit-scrollbar-thumb {
  background-color: #fff;
  background-color: var(--interface-scrollbar-thumb-color-hover);
}
._dropdown-menu_data_1471 ._dropdown-option_data_1513 {
  box-sizing: border-box;
  color: rgba(51, 51, 51, 0.8);
  color: var(--interface-setting-dropdown-not-selected-options-color);
  background-color: var(--interface-dropdown-menu-bg-color);
  cursor: pointer;
  display: block;
  padding: 8px 10px;
}
._dropdown-menu_data_1471 ._dropdown-option_data_1513:last-child {
  border-bottom-right-radius: 2px;
  border-bottom-left-radius: 2px;
}
._dropdown-menu_data_1471 ._dropdown-option_data_1513:hover {
  background-color: #f2f9fc;
  background-color: var(--interface-dropdown-option-bg-color-selected);
  color: #333;
  color: var(--interface-setting-dropdown-options-color);
}
._dropdown-menu_data_1471 ._dropdown-option_data_1513._is-selected_data_1532 {
  background-color: #f2f9fc;
  background-color: var(--interface-dropdown-option-bg-color-selected);
  color: #333;
  color: var(--interface-setting-dropdown-options-color);
}

._disabled_data_1087 ._dropdown-menu_data_1471 {
  background-color: #ddd;
  background-color: var(--interface-dropdown-menu-bg-color-disabled);
}

._soundFirst_data_1544 ._dropdown-menu_data_1471 {
  height: 100px;
}

._soundLast_data_1548 ._dropdown-menu_data_1471 {
  height: 69px;
}

._twoElements_data_1552 ._dropdown-menu_data_1471 {
  height: 60px;
}

._dropdown-menu_data_1471 ._dropdown-group_data_1556 > ._dropdown-title_data_1556 {
  padding: 8px 10px;
  color: rgb(51, 51, 51);
  color: var(--interface-setting-dropdown-options-color);
  font-weight: bold;
  text-transform: capitalize;
}

._dropdown-noresults_data_1564 {
  box-sizing: border-box;
  color: #ccc;
  cursor: default;
  display: block;
  padding: 8px 10px;
}

._dropdown-placeholder_data_1572 {
  width: 170px;
}

._interface-settings-opts_data_1576 {
  padding-bottom: 0;
}

._interface-settings-opts_data_1576 ._interface-setting-label_data_1580 {
  color: var(--interface-setting-label-color);
}

._interface-settings-opts_data_1576 ._privacy_data_1584 ._privacy-radio-button_data_1584 {
  position: absolute;
  opacity: 0;
  left: -5000px;
  top: auto;
}

._interface-settings-opts_data_1576 ._privacy_data_1584 ._privacy-label_data_1591 {
  padding-left: 18px;
  vertical-align: bottom;
  color: var(--interface-setting-privacy-options-font-color);
  position: relative;
  cursor: pointer;
}
._interface-settings-opts_data_1576 ._privacy_data_1584 ._privacy-label_data_1591:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid #aaa;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.75), 0 1px 0 0 rgba(255, 255, 255, 0.75);
  box-shadow: var(--interface-radio-button-box-shadow);
}
._interface-settings-opts_data_1576 ._privacy_data_1584 ._privacy-label_data_1591:after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  opacity: 0;
  background-color: #aaa;
}

._interface-settings-opts_data_1576 ._privacy_data_1584 ._privacy-radio-button_data_1584:checked + ._privacy-label_data_1591:after {
  opacity: 1;
}

._interface-box-notebook_data_199 > ._dropdown-placeholder_data_1572 {
  width: 240px;
}

/*-------------- dropdown extensions ended -------------------*/
/*--------------------- people tab, jquery insertion bugfix------*/
.ac-wrapper .ui-helper-hidden-accessible {
  display: none;
}

/*--------------------- people tab, jquery insertion bugfix ended ------*/
/*----------------- Loader ------------------------- */
._loader_data_1301 {
  position: relative;
  margin: 0 auto;
  width: 100px;
}

._loader_data_1301:before {
  content: "";
  display: block;
  padding-top: 100%;
}

._circular_data_1650 {
  -webkit-animation: _rotate_data_1 2s linear infinite;
  animation: _rotate_data_1 2s linear infinite;
  height: 100%;
  -webkit-transform-origin: center center;
  -ms-transform-origin: center center;
  transform-origin: center center;
  width: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

._path_data_1666 {
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  -webkit-animation: _dash_data_1 1.5s ease-in-out infinite, _color_data_1 6s ease-in-out infinite;
  animation: _dash_data_1 1.5s ease-in-out infinite, _color_data_1 6s ease-in-out infinite;
  stroke-linecap: round;
}

@-webkit-keyframes _rotate_data_1 {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes _rotate_data_1 {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-webkit-keyframes _dash_data_1 {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124;
  }
}
@keyframes _dash_data_1 {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124;
  }
}
@-webkit-keyframes _color_data_1 {
  100%, 0% {
    stroke: #d62d20;
  }
  40% {
    stroke: #0057e7;
  }
  66% {
    stroke: #008744;
  }
  80%, 90% {
    stroke: #ffa700;
  }
}
@keyframes _color_data_1 {
  100%, 0% {
    stroke: #d62d20;
  }
  40% {
    stroke: #0057e7;
  }
  66% {
    stroke: #008744;
  }
  80%, 90% {
    stroke: #ffa700;
  }
}
.auth-box-custom {
    background: transparent !important;
    border: none !important;
    color: #c0b090 !important;
}
.auth-box-custom label {
    color: #c0b090 !important;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
}
.auth-box-custom .form-control {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid #4a3820 !important;
    color: #e0d0c0 !important;
}
.auth-box-custom .form-control:focus {
    border-color: #ffd700 !important;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.3) !important;
}

/* ==========================================================================
   MOBILE-FIRST RESPONSIVE STYLES - RSRealm
   ========================================================================== */

/* --------------------------------------------------------------------------
   NEW HEADER & NAVBAR STYLES (Based on files3 design)
   -------------------------------------------------------------------------- */

/* Header Top Bar */
.rs-header {
    background: linear-gradient(to bottom, #140f0a, #1e1914);
    border-bottom: 3px solid #4a3820;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--rs-header-height);
    z-index: 10002;
    margin: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.rs-header-top {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    height: 100%;
    flex-wrap: wrap;
}

.rs-player-count {
    color: #fff;
    font-size: 11px;
    font-family: 'Georgia', serif;
}

.rs-header-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.rs-header-links a {
    color: #d4c5a0;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s;
}

.rs-header-links a:hover {
    color: #fff;
    text-decoration: none;
}

/* Main Navigation */
.rs-nav {
    background: linear-gradient(to bottom, #28231e, #1e1914);
    border-bottom: 2px solid #4a3820;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    position: fixed;
    top: var(--rs-header-height);
    left: 0;
    right: 0;
    height: var(--rs-nav-height);
    z-index: 10001;
    margin: 0;
    box-sizing: border-box;
}

.rs-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    height: 100%;
    flex-wrap: wrap;
}

.rs-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.rs-logo img {
    height: 35px;
    width: 35px;
}

.rs-logo-text {
    font-size: 20px;
    font-weight: bold;
    color: #d4c5a0;
    font-family: 'Georgia', serif;
    letter-spacing: 1px;
}

/* Nav Links Container */
.rs-nav-links {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.rs-nav-link {
    color: #d4c5a0;
    text-decoration: none;
    padding: 8px 15px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    font-family: 'Georgia', serif;
    border-radius: 3px;
}

.rs-nav-link:hover,
.rs-nav-link:focus {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
}

.rs-nav-link.active {
    color: #ffd700;
}

/* Play Now Button */
.rs-play-now-btn {
    background: linear-gradient(to bottom, #7cb342, #558b2f);
    color: #fff !important;
    border: 2px solid #33691e;
    border-radius: 5px;
    padding: 8px 20px !important;
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
}

.rs-play-now-btn:hover {
    background: linear-gradient(to bottom, #8bc34a, #689f38);
    transform: translateY(-2px);
    color: #fff !important;
}

/* Mobile Hamburger Menu */
.rs-hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    gap: 5px;
    z-index: 1001;
}

.rs-hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #d4c5a0;
    border-radius: 2px;
    transition: all 0.3s;
}

.rs-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.rs-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.rs-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* User Info Center (in header) */
.rs-user-info-center {
    color: #d4c5a0 !important;
    font-size: 12px;
    font-family: 'Georgia', serif;
    text-align: center;
    flex: 1;
}

.rs-user-info-center a {
    color: #ffd700;
    text-decoration: none;
    font-weight: bold;
}

.rs-user-info-center a:hover {
    color: #fff;
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   MOBILE RESPONSIVE STYLES (Mobile First)
   -------------------------------------------------------------------------- */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Mobile CSS variable overrides */
    body {
        --rs-header-height: 60px;
        --rs-nav-height: 55px;
        --rs-action-bar-height: 42px;
    }

    /* Header adjustments */
    .rs-header-top {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .rs-player-count {
        font-size: 10px;
    }

    .rs-header-links {
        gap: 10px;
    }

    .rs-header-links a {
        font-size: 11px;
    }

    /* Navigation mobile */
    .rs-hamburger {
        display: flex;
    }

    .rs-nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 15px 0;
        gap: 0;
        background: linear-gradient(to bottom, rgba(30, 25, 20, 0.98), rgba(20, 15, 10, 0.98));
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        border-bottom: 2px solid #4a3820;
        max-height: 70vh;
        overflow-y: auto;
        z-index: 9999;
    }

    .rs-nav-links.active {
        display: flex;
    }

    .rs-nav-link {
        width: 100%;
        text-align: center;
        padding: 12px 15px;
        border-bottom: 1px solid rgba(74, 56, 32, 0.3);
    }

    .rs-nav-link:last-child {
        border-bottom: none;
    }

    .rs-play-now-btn {
        margin: 10px 15px;
        width: calc(100% - 30px);
        text-align: center;
    }

    .rs-nav-container {
        position: relative;
    }

    /* User info center mobile */
    .rs-user-info-center {
        font-size: 10px;
        order: 2;
        width: 100%;
        margin-top: 5px;
    }

    /* App content adjustments */
    .app-content-wrapped {
        padding: 10px !important;
    }

    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Form adjustments */
    .form-group .row > [class*="col-"] {
        margin-bottom: 10px;
    }

    /* Tab adjustments */
    .nav-tabs > li > a {
        padding: 8px 12px;
        font-size: 12px;
    }

    /* Button adjustments */
    .btn {
        padding: 8px 12px;
        font-size: 13px;
    }

    .btn-block {
        margin-bottom: 8px;
    }

    /* Modal adjustments */
    .modal-dialog {
        margin: 10px;
        width: calc(100% - 20px);
    }

    /* Item grid adjustments */
    .item-grid {
        grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    }

    /* Chat box adjustments */
    .chatbox-container {
        height: 250px !important;
    }

    /* Navigation horizontal mobile */
    .app-navigation-horizontal nav > ul {
        flex-wrap: wrap;
    }

    .app-navigation-horizontal nav > ul > li {
        flex: 1 1 auto;
    }

    .app-navigation-horizontal nav > ul > li > a {
        padding: 8px 10px;
        font-size: 11px;
    }

    /* Hide desktop elements on mobile */
    .hidden-xs-custom {
        display: none !important;
    }

    /* Action box adjustments */
    #actionBox {
        margin-bottom: 15px;
    }

    /* Stat panels */
    .app-widget-tile {
        padding: 10px;
    }

    .app-widget-tile .intval {
        font-size: 18px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .rs-hamburger {
        display: flex;
    }

    .rs-nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 15px 0;
        background: linear-gradient(to bottom, rgba(30, 25, 20, 0.98), rgba(20, 15, 10, 0.98));
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
    }

    .rs-nav-links.active {
        display: flex;
    }

    .rs-nav-link {
        width: 100%;
        text-align: center;
        padding: 12px 15px;
    }

    .rs-nav-container {
        position: relative;
    }

    .app-content-wrapped {
        padding: 15px !important;
    }

    .chatbox-container {
        height: 300px !important;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Tablet CSS variable overrides */
    body {
        --rs-header-height: 35px;
        --rs-nav-height: 55px;
        --rs-action-bar-height: 42px;
    }

    .rs-hamburger {
        display: flex;
    }

    .rs-nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 15px 0;
        background: linear-gradient(to bottom, rgba(30, 25, 20, 0.98), rgba(20, 15, 10, 0.98));
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
    }

    .rs-nav-links.active {
        display: flex;
    }

    .rs-nav-container {
        position: relative;
    }

    .rs-nav-link {
        padding: 10px 20px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .rs-hamburger {
        display: none;
    }

    .rs-nav-links {
        display: flex !important;
    }

    .rs-logo-text {
        font-size: 24px;
    }

    .rs-nav-link {
        padding: 8px 20px;
        font-size: 14px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .rs-header-top,
    .rs-nav-container {
        max-width: 1400px;
    }
}

/* --------------------------------------------------------------------------
   EXISTING APP MOBILE IMPROVEMENTS
   -------------------------------------------------------------------------- */

/* App container mobile fixes */
@media (max-width: 767.98px) {
    .app {
        padding-top: 0;
    }

    .app-container {
        padding: 0;
    }

    .app-content-wrapped {
        min-height: auto;
    }

    /* Frame E replacement - hide old style */
    .frame.e {
        display: none !important;
    }

    /* Sidebar adjustments */
    .app-sidepanel {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Game area adjustments */
    #gameArea {
        padding: 10px;
    }

    /* Equipment slots */
    .equipment-slot {
        width: 45px;
        height: 45px;
    }

    /* Skills grid */
    .skill-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Inventory grid */
    .inventory-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Shop items */
    .shop-item {
        width: 50px;
        height: 50px;
    }

    /* Highscores table */
    .highscores-table td,
    .highscores-table th {
        padding: 6px 8px;
        font-size: 11px;
    }

    /* Combat UI */
    .combat-container {
        flex-direction: column;
    }

    .combat-enemy,
    .combat-player {
        width: 100%;
    }

    /* Progress bars */
    .progress {
        height: 18px;
    }

    .progress-bar span {
        font-size: 10px;
    }
}

/* Tablet specific fixes */
@media (min-width: 768px) and (max-width: 991.98px) {
    .frame.e {
        display: none !important;
    }

    .app-content-wrapped {
        padding: 20px;
    }

    .skill-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .inventory-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* --------------------------------------------------------------------------
   TOUCH-FRIENDLY IMPROVEMENTS
   -------------------------------------------------------------------------- */

/* Increase tap targets for mobile */
@media (max-width: 991.98px) {
    a, button, .btn, [role="button"] {
        min-height: 44px;
        min-width: 44px;
    }

    .btn-xs {
        min-height: 36px;
        min-width: 36px;
        padding: 6px 12px;
    }

    /* Dropdown items */
    .dropdown-menu > li > a {
        padding: 12px 15px;
    }

    /* Form inputs */
    .form-control {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Checkboxes and radios */
    input[type="checkbox"],
    input[type="radio"] {
        width: 20px;
        height: 20px;
    }

    /* Select elements */
    select.form-control {
        min-height: 44px;
    }
}

/* --------------------------------------------------------------------------
   NAVIGATION HORIZONTAL MOBILE IMPROVEMENTS
   -------------------------------------------------------------------------- */

.app-navigation-horizontal {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 767.98px) {
    .app-navigation-horizontal nav {
        min-width: max-content;
    }

    .app-navigation-horizontal nav > ul {
        display: flex;
        flex-wrap: nowrap;
        padding: 0 10px;
    }

    .app-navigation-horizontal nav > ul > li {
        flex-shrink: 0;
    }

    .app-navigation-horizontal nav > ul > li > a {
        white-space: nowrap;
        padding: 10px 12px;
        font-size: 12px;
    }

    .app-navigation-horizontal nav > ul > li > ul {
        position: fixed;
        left: 0;
        right: 0;
        top: auto;
        width: 100%;
        max-height: 50vh;
        overflow-y: auto;
    }
}

/* --------------------------------------------------------------------------
   UTILITY CLASSES
   -------------------------------------------------------------------------- */

/* Show/hide utilities for responsive */
.mobile-only {
    display: none !important;
}

.desktop-only {
    display: block !important;
}

@media (max-width: 991.98px) {
    .mobile-only {
        display: block !important;
    }

    .desktop-only {
        display: none !important;
    }
}

/* Flex utilities */
.flex-mobile-column {
    display: flex;
}

@media (max-width: 767.98px) {
    .flex-mobile-column {
        flex-direction: column;
    }
}

/* Text alignment mobile */
@media (max-width: 767.98px) {
    .text-center-mobile {
        text-align: center !important;
    }
}

/* Spacing mobile */
@media (max-width: 767.98px) {
    .mb-mobile-15 {
        margin-bottom: 15px !important;
    }

    .p-mobile-10 {
        padding: 10px !important;
    }
}

/* --------------------------------------------------------------------------
   BANNER SECTION STYLES
   -------------------------------------------------------------------------- */

.rs-banner-section {
    text-align: center;
    padding: 15px 10px;
    background: rgba(0, 0, 0, 0.5);
}

.rs-banner-section img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 575.98px) {
    .rs-banner-section {
        padding: 10px 5px;
    }

    .rs-banner-section img {
        max-height: 60px;
    }
}

/* --------------------------------------------------------------------------
   GAME NAVIGATION MOBILE STYLES
   -------------------------------------------------------------------------- */

/* Game nav toggle button */
.game-nav-toggle {
    display: none;
    width: 100%;
    padding: 12px 15px;
    background: linear-gradient(to bottom, #2D3349, #272c40);
    border: none;
    border-bottom: 1px solid #4a3820;
    color: #d4c5a0;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    text-align: left;
}

.game-nav-toggle .ra {
    margin-right: 10px;
}

.game-nav-toggle.active {
    background: linear-gradient(to bottom, #3D4359, #373c50);
}

/* Nav icon styling */
.nav-icon {
    float: left;
    margin-right: 10px;
    line-height: 20px;
    min-width: 20px;
    text-align: center;
    font-size: 20px;
}

.skill-icon {
    height: 1.9em;
    border: 0 !important;
    vertical-align: middle;
}

.skill-icon.grayscale {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

/* Mobile nav text visibility */
.nav-text-mobile {
    display: none;
    margin-left: 5px;
}

@media (max-width: 991.98px) {
    .nav-text-mobile {
        display: inline;
    }
}

/* Mobile game nav styles */
@media (max-width: 767.98px) {
    .game-nav-toggle {
        display: block;
    }

    #gameNavMenu {
        display: none;
        background: #2D3349;
    }

    #gameNavMenu.show {
        display: block;
    }

    .app-navigation-horizontal nav > ul {
        flex-direction: column;
    }

    .app-navigation-horizontal nav > ul > li {
        width: 100%;
        border-bottom: 1px solid rgba(74, 56, 32, 0.3);
    }

    .app-navigation-horizontal nav > ul > li > a {
        padding: 15px;
        display: block;
    }

    .app-navigation-horizontal nav > ul > li > ul {
        position: static;
        width: 100%;
        background: rgba(0, 0, 0, 0.2);
        display: none;
    }

    .app-navigation-horizontal nav > ul > li:hover > ul,
    .app-navigation-horizontal nav > ul > li:focus-within > ul,
    .app-navigation-horizontal nav > ul > li.open > ul {
        display: block;
    }

    .app-navigation-horizontal nav > ul > li > ul > li > a {
        padding: 12px 15px 12px 30px;
    }
}

/* Desktop nav reset */
@media (min-width: 768px) {
    #gameNavMenu {
        display: block !important;
    }

    .game-nav-toggle {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   ADDITIONAL MOBILE IMPROVEMENTS
   -------------------------------------------------------------------------- */

/* App widget tiles mobile */
@media (max-width: 575.98px) {
    .app-widget-tile {
        margin-bottom: 10px;
    }

    .app-widget-tile .intval {
        font-size: 20px;
    }

    .app-widget-tile .title {
        font-size: 12px;
    }
}

/* Column stacking for mobile */
@media (max-width: 767.98px) {
    .col-md-6,
    .col-md-4,
    .col-md-3,
    .col-lg-4,
    .col-lg-3,
    .col-lg-6,
    .col-lg-8 {
        width: 100%;
        float: none;
        margin-bottom: 15px;
    }

    /* Reorder columns on mobile - put action box first */
    #actionBox {
        order: -1;
    }
}

/* Tables mobile responsive */
@media (max-width: 767.98px) {
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table {
        min-width: 500px;
    }

    .table td,
    .table th {
        padding: 8px 6px;
        font-size: 12px;
    }
}

/* Alerts mobile */
@media (max-width: 575.98px) {
    .alert {
        padding: 10px;
        font-size: 13px;
    }

    .alert-icon-block .alert-icon {
        padding: 8px;
    }
}

/* Headings mobile */
@media (max-width: 575.98px) {
    h1, .h1 {
        font-size: 24px;
    }

    h2, .h2 {
        font-size: 20px;
    }

    h3, .h3 {
        font-size: 18px;
    }

    h4, .h4 {
        font-size: 16px;
    }
}

/* Panel and card mobile */
@media (max-width: 575.98px) {
    .panel,
    .card {
        margin-bottom: 15px;
    }

    .panel-body,
    .card-body {
        padding: 12px;
    }
}

/* Fix iOS input zoom */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    input[type="text"],
    input[type="password"],
    input[type="email"],
    input[type="number"],
    input[type="tel"],
    input[type="url"],
    select,
    textarea {
        font-size: 16px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Safe area for notched phones */
@supports (padding: max(0px)) {
    .rs-header,
    .rs-nav {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .rs-nav-links {
        max-height: 60vh;
        overflow-y: auto;
    }

    .modal-dialog {
        margin: 5px auto;
    }

    .modal-body {
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* --------------------------------------------------------------------------
   CHAT TAB TOGGLE STYLES
   -------------------------------------------------------------------------- */

/* Chat tab hover effect - no transform to prevent movement */
._chat-box-notebook_1pskg_199 a:hover ._chat-box-head_1pskg_133 {
    filter: brightness(1.2);
}

._chat-box-notebook_1pskg_199 a ._chat-box-head_1pskg_133 {
    transition: filter 0.2s ease, border 0.2s ease, background 0.2s ease;
}

@keyframes chat-unread-pulse {
    0%, 100% { box-shadow: 0 0 5px rgba(255, 0, 0, 0.5); }
    50% { box-shadow: 0 0 12px rgba(255, 0, 0, 0.8); }
}


._interface-box-notebook_data_199 a ._interface-box-head_data_133 {
    transition: filter 0.2s ease, border 0.2s ease, background 0.2s ease;
}

/* Active interface tab styling - use box-shadow instead of border to prevent size change */
.interface-tab-active ._interface-box-head_data_133 {
    box-shadow: inset 0 0 0 2px #ffd700, 0 0 8px rgba(255, 215, 0, 0.4) !important;
}

/* Interface tab hover effect - no transform to prevent movement */
._interface-box-notebook_data_199 a:hover ._interface-box-head_data_133 {
    filter: brightness(1.2);
}

/* --------------------------------------------------------------------------
   OSRS-STYLE CHAT AREA STYLING
   -------------------------------------------------------------------------- */

/* Parchment-style chat background */
.osrs-chat-content {
    background-color: #c4b38d !important;
    background-image: linear-gradient(180deg,
        #d4c4a1 0%,
        #cbb992 15%,
        #c4b38d 50%,
        #baa87f 85%,
        #b09d74 100%
    ) !important;
    border: 3px solid #3d2b1f;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    position: relative;
}

/* Override any dark background from base class */
.osrs-chat-content,
.osrs-chat-content * {
    --chat-box-content-bg: #c4b38d !important;
}


/* Hide the custom scrollbar element in OSRS chat - we use native scrollbars */
.osrs-chat-content ._scrollbar_1pskg_708 {
    display: none !important;
}

/* Chat viewport area - the message area */
.osrs-chat-viewport {
    background: transparent !important;
    border-bottom: 2px solid rgba(61, 43, 31, 0.5);
    scrollbar-width: thin;
    scrollbar-color: #8b7355 #d4c4a1;
    pointer-events: auto !important;
}

/* Ensure all chat elements allow pointer events */
.osrs-chat-viewport *,
.osrs-chat-content *,
#chatArea *,
#chatArea .scroll,
#chatArea .tab-pane,
#chatArea table,
#chatArea tbody,
#chatArea tr,
#chatArea td,
._overview_1pskg_893,
._overview_1pskg_893 * {
    pointer-events: auto !important;
}

.osrs-chat-viewport::-webkit-scrollbar {
    width: 10px;
}

.osrs-chat-viewport::-webkit-scrollbar-track {
    background: #c4b38d;
    border-left: 1px solid #8b7355;
}

.osrs-chat-viewport::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8b7355 0%, #6b5344 100%);
    border: 1px solid #5a4332;
    border-radius: 2px;
}

.osrs-chat-viewport::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9b8365 0%, #7b6354 100%);
}

/* Chat input area styling */
.osrs-chat-input {
    background: transparent !important;
    border-top: 2px solid #5a4332;
    padding: 5px 10px;
    box-shadow: none !important;
}

.osrs-chat-input input {
    background: transparent !important;
    border: none !important;
    color: #0000ff !important;
    font-family: 'Courier New', monospace;
    box-shadow: none !important;
    text-shadow: none !important;
}

.osrs-chat-input input:focus {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

/* Chat message text colors for OSRS style */
.osrs-chat-content .chat-line {
    color: #000000;
    text-shadow: none !important;
    box-shadow: none !important;
    font-size: 12px;
    line-height: 14px !important;
    padding: 1px 5px !important;
    background: transparent !important;
    pointer-events: auto;
}

/* Username display in chat input */
.osrs-chat-input #chatDisplayName {
    color: #000080 !important;
    font-weight: bold;
    text-shadow: none !important;
    box-shadow: none !important;
}

/* --------------------------------------------------------------------------
   OSRS CHAT MESSAGE COLORS
   -------------------------------------------------------------------------- */

/* === OSRS CHAT MESSAGE COLORS === */

/* Public Chat - Blue */
.osrs-chat-content .chat-line {
    color: #0000FF;
}

/* Private Chat Messages - Dark Red */
#privateChatBox .chat-line,
.chat-msg-private {
    color: #7F0000 !important;
}

/* Clan/Guild Chat - Dark Red */
#guildChatBox .chat-line,
.chat-msg-clan {
    color: #7F0000 !important;
}

/* Trade Chat - Purple */
#tradeChatBox .chat-line,
.chat-msg-trade {
    color: #7F007F !important;
}

/* Game Log Messages - Black */
#gameLogBox .chat-line,
.chat-msg-game {
    color: #000000 !important;
}

/* Game Tips - Green */
.game-tip {
    color: #006600 !important;
}

/* Level Up / Quest / Examine - Navy */
.chat-msg-levelup,
.chat-msg-quest,
.chat-msg-examine {
    color: #000080 !important;
}

/* Important / Drop notifications - Red */
.chat-msg-important,
.chat-msg-drop {
    color: #FF0000 !important;
}

/* Username in chat - Black */
.chat-username {
    color: #000000;
    font-weight: bold;
}

.chat-username:hover {
    color: #0000FF;
}

/* --------------------------------------------------------------------------
   CHAT FILTER CONTEXT MENU
   -------------------------------------------------------------------------- */

.chat-filter-menu {
    display: none;
    position: fixed;
    background: linear-gradient(180deg, #4a3828 0%, #2d2218 100%);
    border: 2px solid #6b5344;
    border-radius: 3px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    z-index: 10000;
    min-width: 120px;
    padding: 4px 0;
}

.chat-filter-menu.visible {
    display: block;
}

.chat-filter-menu-header {
    color: #ffd700;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 10px;
    border-bottom: 1px solid #6b5344;
    text-transform: uppercase;
}

.chat-filter-option {
    display: block;
    width: 100%;
    padding: 6px 12px;
    color: #d4c5a0;
    font-size: 12px;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease;
}

.chat-filter-option:hover {
    background: rgba(255, 215, 0, 0.2);
    color: #fff;
}

.chat-filter-option.active {
    color: #00ff00;
}

.chat-filter-option.active::before {
    content: '✓ ';
}

/* Filter indicator on tab */
.chat-filter-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    font-size: 8px;
    padding: 1px 3px;
    border-radius: 2px;
    text-transform: uppercase;
    font-weight: bold;
}

.chat-filter-indicator.filter-on {
    display: none; /* Don't show indicator when On (default) */
}

.chat-filter-indicator.filter-friends {
    background: #2196F3;
    color: #fff;
}

.chat-filter-indicator.filter-off {
    background: #f44336;
    color: #fff;
}

/* --------------------------------------------------------------------------
   CLICKABLE USERNAMES IN CHAT
   -------------------------------------------------------------------------- */

/* Clickable username in chat messages - base styles */
.chat-username {
    cursor: context-menu;
    text-decoration: none;
    pointer-events: auto !important;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    position: relative;
    z-index: 10;
    /* Color defined in OSRS CHAT MESSAGE COLORS section */
}

/* Clickable friend name in friends list */
.rs-clickable-name {
    cursor: pointer;
}

.rs-clickable-name:hover {
    color: #ffd700 !important;
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   CHAT UI LAYOUT STYLES
   -------------------------------------------------------------------------- */

/* Base chatbox container positioning - chat tabs on bottom LEFT */
#chatRoot {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 998;
}

/* Chat tabs wrapper - vertical stack on left side */
._chat-box-wrap_1pskg_111 {
    position: fixed;
    bottom: 0;
    left: 12px;
    right: auto;
    z-index: 998;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 2px;
}

/* Override float for vertical stacking */
._chat-box-wrap_1pskg_111 ._chat-box_1pskg_111,
._chat-box-wrap_1pskg_111 ._chat-box-settings_1pskg_120 {
    float: none;
}

/* Chat content box - positioned to the right of tabs */
._chat-box-wrap_1pskg_111 #chatBoxContainer {
    position: absolute;
    bottom: 0;
    left: 45px;
    right: auto;
}

/* --------------------------------------------------------------------------
   INTERFACE UI LAYOUT STYLES (Right side: Stats, Skills, Inventory, etc.)
   -------------------------------------------------------------------------- */

/* Interface tabs wrapper - vertical stack on right side */
._interface-box-wrap_data_111 {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 2px;
}

/* Override float for vertical stacking */
._interface-box-wrap_data_111 ._interface-box_data_111,
._interface-box-wrap_data_111 ._interface-box-settings_data_120 {
    float: none;
}

/* Interface content box - positioned to the left of tabs */
._interface-box-wrap_data_111 #interfaceBoxContainer {
    position: absolute;
    bottom: 0;
    right: 45px;
    left: auto;
}

/* Chat box content responsive sizing */
._chat-box_1pskg_111._global_1pskg_342 {
    max-width: calc(100vw - 60px);
    max-height: 50vh;
}

._chat-box-content_1pskg_478 {
    max-width: calc(100vw - 60px) !important;
    max-height: 50vh !important;
}

/* Viewport inside chat */
._viewport_1pskg_572 {
    max-width: calc(100vw - 100px) !important;
}

/* Mobile chat styles */
@media (max-width: 767.98px) {
    /* Chat tabs container - horizontal layout at bottom */
    ._chat-box-wrap_1pskg_111 {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        gap: 2px;
        padding: 5px;
    }

    /* Chat tab buttons - smaller on mobile */
    ._chat-box_1pskg_111._chat-box-notebook_1pskg_199 {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
    }

    ._chat-box-head_1pskg_133 {
        width: 36px;
        height: 36px;
    }

    ._chat-box-title_1pskg_148 img {
        height: 18px !important;
        width: 18px !important;
        margin-left: 4px !important;
        margin-top: 4px !important;
    }

    /* Chat content box - responsive width */
    ._chat-box_1pskg_111._global_1pskg_342 {
        position: fixed !important;
        bottom: 50px !important;
        right: 5px !important;
        left: 5px !important;
        width: calc(100vw - 10px) !important;
        max-width: calc(100vw - 10px) !important;
        max-height: 40vh !important;
        z-index: 999 !important;
    }

    ._chat-box-content_1pskg_478 {
        width: calc(100vw - 10px) !important;
        max-width: calc(100vw - 10px) !important;
        height: auto !important;
        max-height: 40vh !important;
        min-height: 150px;
    }

    ._viewport_1pskg_572 {
        width: calc(100vw - 50px) !important;
        max-width: calc(100vw - 50px) !important;
        height: auto !important;
        max-height: calc(40vh - 60px) !important;
        min-height: 100px;
    }

    /* Chat input adjustments */
    #chatInput .input-group {
        left: 10px !important;
        width: calc(100% - 30px);
    }

    #chatInput input.form-control {
        width: calc(100vw - 120px) !important;
        max-width: calc(100vw - 120px) !important;
    }

    /* Scroll container */
    .scroll {
        max-height: calc(40vh - 80px) !important;
    }

    #chatArea {
        width: 100% !important;
    }

    /* Chat table */
    #chatArea .table {
        width: 100% !important;
        table-layout: fixed;
    }

    .chat-line {
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }
}

/* Small tablets and large phones */
@media (min-width: 768px) and (max-width: 991.98px) {
    ._chat-box_1pskg_111._global_1pskg_342 {
        max-width: 450px !important;
        max-height: 45vh !important;
    }

    ._chat-box-content_1pskg_478 {
        width: 450px !important;
        max-height: 45vh !important;
    }

    ._viewport_1pskg_572 {
        width: 420px !important;
        max-width: 420px !important;
    }
}

/* Ensure chat doesn't cover entire screen */
@media (max-height: 600px) {
    ._chat-box_1pskg_111._global_1pskg_342 {
        max-height: 35vh !important;
    }

    ._chat-box-content_1pskg_478 {
        max-height: 35vh !important;
    }

    ._viewport_1pskg_572 {
        max-height: calc(35vh - 60px) !important;
    }
}

/* Landscape mode on phones */
@media (max-height: 500px) and (orientation: landscape) {
    ._chat-box_1pskg_111._global_1pskg_342 {
        max-height: 60vh !important;
        right: 60px !important;
        left: auto !important;
        width: 350px !important;
    }

    ._chat-box-content_1pskg_478 {
        width: 350px !important;
        max-height: 60vh !important;
    }

    ._viewport_1pskg_572 {
        width: 320px !important;
        max-width: 320px !important;
    }
}

/* ==========================================================================
   RS ACTION BAR - Compact Design with Two Progress Bars
   ========================================================================== */

.rs-action-bar {
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: linear-gradient(to bottom, #28231e, #1e1914);
    border-bottom: 2px solid #4a3820;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    position: fixed;
    top: calc(var(--rs-header-height) + var(--rs-nav-height));
    left: 0;
    right: 0;
    height: var(--rs-action-bar-height);
    z-index: 10000;
    margin: 0;
    margin-bottom: 15px;
    box-sizing: border-box;
}

/* Add spacing below action bar for content */
.container {
    margin-top: 10px;
}

/* Hide action content when not active, show idle message */
.rs-action-bar .rs-action-bar-inner {
    display: none;
}

.rs-action-bar.active .rs-action-bar-inner {
    display: flex;
}

.rs-action-bar .rs-ab-idle {
    display: flex;
}

.rs-action-bar.active .rs-ab-idle {
    display: none;
}

/* Idle state styling */
.rs-ab-idle {
    padding: 10px 15px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #888;
    font-size: 13px;
}

.rs-ab-idle i {
    color: #666;
    font-size: 16px;
}

/* Player Info Section (left side of action bar) */
.rs-ab-player {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 15px;
    border-right: 1px solid #4a3820;
    background: rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.rs-ab-player-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.rs-ab-player-name {
    font-weight: 600;
    color: #f5e6c8;
    font-size: 13px;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    display: block;
}

a.rs-ab-player-name:hover {
    color: #ffd700;
    text-decoration: underline;
}

.rs-ab-player-combat {
    color: #8a7a6a;
    font-size: 10px;
    line-height: 1.2;
}

.rs-ab-player-combat span {
    color: #d4a017;
    font-weight: 600;
}

/* OSRS-Style Orbs */
.rs-ab-orbs {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.rs-ab-orb {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rs-ab-orb-text {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    text-shadow: 1px 1px 2px #000;
    min-width: 20px;
    text-align: right;
}

.rs-ab-orb-container {
    position: relative;
    width: 30px;
    height: 30px;
}

.rs-ab-orb-bg {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #1a1510;
    border: 2px solid #3d3020;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8);
}

.rs-ab-orb-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    transition: height 0.3s ease;
    border-radius: 0 0 50% 50%;
}

.rs-ab-health-orb .rs-ab-orb-fill {
    background: linear-gradient(to top, #7a1f1f, #c0392b);
}

.rs-ab-prayer-orb .rs-ab-orb-fill {
    background: linear-gradient(to top, #1a1030, #352850);
}

.rs-ab-orb-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    z-index: 2;
}

.rs-ab-health-orb .rs-ab-orb-icon {
    color: #ff6b6b;
}

.rs-ab-prayer-orb .rs-ab-orb-icon {
    color: #a0a0ff;
}

/* Regen ring SVG */
.rs-ab-orb-regen {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    transform: rotate(-90deg);
    z-index: 3;
}

.rs-ab-regen-ring {
    fill: none;
    stroke: #4CAF50;
    stroke-width: 2;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.1s linear;
}

.rs-ab-orb-max {
    display: none;
}

.rs-action-bar-inner {
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Icon with Level Badge */
.rs-ab-icon {
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.rs-ab-icon:hover {
    opacity: 0.8;
}

.rs-ab-icon img {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    border: 2px solid #8b6914;
    background: #1a1510;
    vertical-align: middle;
}

.rs-ab-icon span {
    position: absolute;
    bottom: -2px;
    right: -4px;
    background: linear-gradient(180deg, #ffd700, #b8860b);
    color: #1a1510;
    font-size: 9px;
    font-weight: bold;
    padding: 0 4px;
    border-radius: 3px;
    line-height: 14px;
}

/* Skill Group (Skill Name + Stop Button) */
.rs-ab-skill-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.rs-ab-skill {
    color: #ffd700;
    font-size: 14px;
    font-weight: bold;
}

/* Stop Button (next to skill) */
.rs-ab-stop {
    background: linear-gradient(180deg, #c0392b, #922b21);
    border: 1px solid #7b241c;
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 10px;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.rs-ab-stop:hover {
    background: linear-gradient(180deg, #e74c3c, #c0392b);
}

/* Action Name */
.rs-ab-action {
    color: #a09080;
    font-size: 11px;
    flex-shrink: 0;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Progress Bars Container */
.rs-ab-bars {
    flex: 1;
    min-width: 150px;
    max-width: 300px;
}

.rs-ab-bar-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: -4px;
}

.rs-ab-bar-row:last-child {
    margin-bottom: -5px;
}

.rs-ab-bar-label {
    color: #8a7a6a;
    font-size: 9px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.rs-ab-bar-label i {
    color: #ffd700;
    font-size: 8px;
}

.rs-ab-bar {
    flex: 1;
    height: 8px;
    background: #1a1510;
    border-radius: 4px;
    border: 1px solid #4a3820;
    overflow: hidden;
}

.rs-ab-bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 3px;
    transition: width 0.15s linear;
}

/* XP Bar - Green */
.rs-ab-xp-fill {
    background: linear-gradient(90deg, #4CAF50, #2E7D32);
}

/* Action Bar - Gold */
.rs-ab-action-fill {
    background: linear-gradient(90deg, #ffd700, #b8860b);
}

.rs-ab-bar-text {
    color: #8a7a6a;
    font-size: 9px;
    min-width: 50px;
    text-align: right;
    flex-shrink: 0;
}

/* Loot Popup - Centered below action bar */
.rs-ab-loot-popup {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%) translateY(5px);
    background: linear-gradient(180deg, rgba(30, 25, 20, 0.98), rgba(20, 16, 12, 0.98));
    border: 2px solid #8b6914;
    border-radius: 8px;
    padding: 10px 20px;
    color: #8FC02C;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), 0 0 20px rgba(139, 105, 20, 0.3);
    z-index: 1000;
    pointer-events: none;
}

.rs-ab-loot-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.rs-ab-loot-popup i {
    color: #ffd700;
    margin-right: 8px;
    animation: lootIconPulse 0.5s ease-out;
}

@keyframes lootIconPulse {
    0% { transform: scale(1.5); }
    100% { transform: scale(1); }
}

/* Mobile */
@media (max-width: 767px) {
    .rs-action-bar-inner {
        padding: 6px 10px;
        gap: 8px;
    }

    .rs-ab-action {
        display: none;
    }

    .rs-ab-bars {
        min-width: 100px;
    }

    .rs-ab-bar-row {
        margin-bottom: 3px;
    }

    .rs-ab-bar-row:last-child {
        margin-bottom: 0;
    }

    .rs-ab-bar-text {
        min-width: 40px;
        font-size: 8px;
    }

    .rs-ab-loot-popup {
        font-size: 12px;
        padding: 8px 14px;
    }
}

@media (max-width: 480px) {
    .rs-ab-skill {
        font-size: 12px;
    }

    .rs-ab-icon img {
        width: 26px;
        height: 26px;
    }

    .rs-ab-bar-label {
        display: none;
    }

    .rs-ab-bar-text {
        display: none;
    }

    .rs-ab-stop {
        width: 20px;
        height: 20px;
    }
}

/* ========================================
   RS Action List - Modern Card Grid
   ======================================== */

/* Add scroll background for narrowscroll */
.narrowscroll-bgimg {
    background-image: url("../assets/images/scrolls/scroll_background.gif");
    background-repeat: repeat-y;
    background-position: center;
}

.rs-action-list {
    padding: 10px;
}

.rs-action-list-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding: 12px;
    background: linear-gradient(to bottom, #3d3529, #2d261e);
    border-radius: 4px;
    border: 1px solid #1a1610;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.rs-al-skill-icon {
    width: 48px;
    height: 48px;
    border: 2px solid #4a3820;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    image-rendering: pixelated;
}

.rs-al-header-text h3 {
    margin: 0 0 4px 0;
    color: #ff981f;
    font-size: 1.3em;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
}

.rs-al-header-text p {
    margin: 0;
    color: #a89070;
    font-size: 0.85em;
    line-height: 1.4;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
}

.rs-action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.rs-action-card {
    background: linear-gradient(to bottom, #494034, #3a3127);
    border: 1px solid #1a1610;
    border-radius: 4px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.rs-action-card:hover {
    background: linear-gradient(to bottom, #5a4d40, #4a4035);
    border-color: #4a3820;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.rs-action-card:active {
    transform: translateY(0);
    background: linear-gradient(to bottom, #3d3529, #2d261e);
}

.rs-ac-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
}

.rs-ac-name {
    font-weight: 600;
    color: #ff981f;
    font-size: 14px;
    line-height: 1.2;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
    flex: 1;
}

.rs-ac-success {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    white-space: nowrap;
    flex-shrink: 0;
}

.rs-success-high {
    background: rgba(95, 168, 42, 0.3);
    color: #7fca4a;
    border: 1px solid rgba(95, 168, 42, 0.5);
}

.rs-success-good {
    background: rgba(139, 195, 74, 0.25);
    color: #8bc34a;
    border: 1px solid rgba(139, 195, 74, 0.4);
}

.rs-success-med {
    background: rgba(255, 152, 31, 0.25);
    color: #ff981f;
    border: 1px solid rgba(255, 152, 31, 0.4);
}

.rs-success-low {
    background: rgba(198, 40, 40, 0.25);
    color: #e57373;
    border: 1px solid rgba(198, 40, 40, 0.4);
}

.rs-ac-type {
    font-size: 11px;
    color: #a89070;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
}

.rs-ac-rewards {
    background: rgba(95, 168, 42, 0.15);
    border: 1px solid rgba(95, 168, 42, 0.3);
    border-radius: 4px;
    padding: 6px 8px;
    font-size: 12px;
}

.rs-ac-reward-item {
    color: #7fca4a;
    display: block;
    line-height: 1.4;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
}

.rs-ac-requires {
    background: rgba(230, 81, 0, 0.15);
    border: 1px solid rgba(230, 81, 0, 0.3);
    border-radius: 4px;
    padding: 6px 8px;
    font-size: 11px;
}

.rs-ac-req-label {
    color: #ff6b35;
    font-weight: 600;
    display: block;
    margin-bottom: 3px;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
}

.rs-ac-req-item {
    color: #c0a070;
    display: block;
    line-height: 1.4;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
}

.rs-ac-stats {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 6px;
    border-top: 1px solid rgba(74, 56, 32, 0.5);
}

.rs-ac-stat {
    font-size: 11px;
    color: #a89070;
    display: flex;
    align-items: center;
    gap: 4px;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
}

.rs-ac-stat i {
    color: #c0a070;
    font-size: 10px;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .rs-action-list {
        padding: 8px;
    }

    .rs-action-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 8px;
    }

    .rs-action-card {
        padding: 8px;
    }

    .rs-ac-name {
        font-size: 0.85em;
    }

    .rs-action-list-header {
        padding: 8px;
        gap: 8px;
    }

    .rs-al-skill-icon {
        width: 32px;
        height: 32px;
    }

    .rs-al-header-text h3 {
        font-size: 1em;
    }

    .rs-al-header-text p {
        font-size: 0.75em;
    }
}

/* ========================================
   RS Hiscores - 3-Column Layout
   ======================================== */

.rs-hiscores {
    display: flex;
    gap: 15px;
    padding: 15px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 500px;
}

/* Column 1: Skills Sidebar */
.rs-hs-skills {
    width: 160px;
    flex-shrink: 0;
    background: linear-gradient(to bottom, rgba(40, 35, 30, 0.95), rgba(30, 25, 20, 0.95));
    border: 1px solid #4a3820;
    border-radius: 6px;
    overflow: hidden;
}

.rs-hs-skills-narrow {
    width: 140px;
}

.rs-hs-skills-header {
    background: linear-gradient(to bottom, #5a4a30, #3a2a1a);
    color: #ffd700;
    font-weight: bold;
    padding: 10px 12px;
    text-align: center;
    border-bottom: 1px solid #4a3820;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.rs-hs-skills-list {
}

.rs-hs-skill-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: #c0b090;
    text-decoration: none;
    border-bottom: 1px solid rgba(74, 56, 32, 0.5);
    transition: all 0.15s ease;
    font-size: 0.9em;
}

.rs-hs-skill-item:hover {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
}

.rs-hs-skill-item.active {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border-left: 3px solid #ffd700;
}

.rs-hs-skill-icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

/* Column 2: Main Content */
.rs-hs-main {
    flex: 1;
    background: linear-gradient(to bottom, rgba(40, 35, 30, 0.95), rgba(30, 25, 20, 0.95));
    border: 1px solid #4a3820;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.rs-hs-main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: linear-gradient(to bottom, #5a4a30, #3a2a1a);
    border-bottom: 1px solid #4a3820;
}

.rs-hs-title {
    color: #ffd700;
    font-weight: bold;
    font-size: 1.1em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.rs-hs-type-btns {
    display: flex;
    gap: 5px;
}

.rs-hs-type-btn {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #4a3820;
    color: #a09080;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.rs-hs-type-btn:hover {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
}

.rs-hs-type-btn.active {
    background: rgba(255, 215, 0, 0.25);
    color: #ffd700;
    border-color: #ffd700;
}

.rs-hs-back-btn {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #4a3820;
    color: #c0b090;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.rs-hs-back-btn:hover {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
}

.rs-hs-table-wrap {
    flex: 1;
}

.rs-hs-table {
    width: 100%;
    border-collapse: collapse;
}

.rs-hs-table thead {
    position: sticky;
    top: 0;
    background: #3a2a1a;
    z-index: 1;
}

.rs-hs-table th {
    padding: 10px 12px;
    text-align: left;
    color: #ffd700;
    font-weight: 600;
    border-bottom: 2px solid #4a3820;
    font-size: 0.9em;
}

.rs-hs-table td {
    padding: 8px 12px;
    color: #c0b090;
    border-bottom: 1px solid rgba(74, 56, 32, 0.4);
    font-size: 0.9em;
}

.rs-hs-row:hover {
    background: rgba(255, 215, 0, 0.05);
}

.rs-hs-gold {
    background: rgba(255, 215, 0, 0.15) !important;
}

.rs-hs-gold .rs-hs-rank {
    color: #ffd700;
    font-weight: bold;
}

.rs-hs-silver {
    background: rgba(192, 192, 192, 0.1) !important;
}

.rs-hs-silver .rs-hs-rank {
    color: #c0c0c0;
    font-weight: bold;
}

.rs-hs-bronze {
    background: rgba(205, 127, 50, 0.1) !important;
}

.rs-hs-bronze .rs-hs-rank {
    color: #cd7f32;
    font-weight: bold;
}

.rs-hs-rank {
    font-weight: 600;
    width: 50px;
}

.rs-hs-name a {
    color: #e0d0b0;
    text-decoration: none;
    transition: color 0.15s ease;
}

.rs-hs-name a:hover {
    color: #ffd700;
}

.rs-hs-activity {
    display: inline-flex;
    align-items: center;
    margin-left: 5px;
    padding: 2px 4px;
    border-radius: 3px;
}

.rs-hs-online {
    background: rgba(76, 175, 80, 0.3);
}

.rs-hs-idle {
    background: rgba(128, 128, 128, 0.3);
}

.rs-hs-act-icon {
    width: 14px;
    height: 14px;
}

.rs-hs-overall {
    background: rgba(255, 215, 0, 0.08) !important;
}

.rs-hs-overall td {
    font-weight: 600;
}

/* Column 3: Sidebar */
.rs-hs-sidebar {
    width: 180px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rs-hs-box {
    background: linear-gradient(to bottom, rgba(40, 35, 30, 0.95), rgba(30, 25, 20, 0.95));
    border: 1px solid #4a3820;
    border-radius: 6px;
    padding: 12px;
}

.rs-hs-box-title {
    color: #ffd700;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 0.95em;
    text-align: center;
}

.rs-hs-input {
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 8px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #4a3820;
    border-radius: 4px;
    color: #e0d0b0;
    font-size: 0.9em;
    box-sizing: border-box;
}

.rs-hs-input:focus {
    outline: none;
    border-color: #ffd700;
}

.rs-hs-btn {
    width: 100%;
    padding: 8px 12px;
    background: linear-gradient(to bottom, #5a4a30, #3a2a1a);
    border: 1px solid #4a3820;
    border-radius: 4px;
    color: #ffd700;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.rs-hs-btn:hover {
    background: linear-gradient(to bottom, #6a5a40, #4a3a2a);
    border-color: #ffd700;
}

/* Compare View */
.rs-hs-compare-main {
    flex: 1;
}

.rs-hs-compare-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(74, 56, 32, 0.5);
}

.rs-hs-compare-bar .rs-hs-input {
    flex: 1;
    margin-bottom: 0;
}

.rs-hs-compare-bar .rs-hs-btn {
    width: auto;
    flex-shrink: 0;
}

.rs-hs-vs {
    color: #ffd700;
    font-weight: bold;
    font-size: 0.9em;
}

.rs-hs-compare-wrap {
    overflow-y: auto;
    max-height: 400px;
}

.rs-hs-compare-table th,
.rs-hs-compare-table td {
    text-align: center;
    padding: 6px 8px;
    font-size: 0.85em;
}

.rs-hs-compare-table th:first-child,
.rs-hs-compare-table td:first-child,
.rs-hs-compare-table th:nth-child(5),
.rs-hs-compare-table td:nth-child(5) {
    text-align: left;
}

.rs-hs-arrow {
    width: 40px;
    text-align: center !important;
    font-size: 1.1em;
}

.rs-arrow-up {
    color: #4CAF50;
}

.rs-arrow-down {
    color: #f44336;
}

.rs-arrow-eq {
    color: #9e9e9e;
}

/* Compare view - no sidebar needed */
.rs-hs-compare-view .rs-hs-sidebar {
    display: none;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .rs-hiscores {
        flex-direction: column;
        padding: 10px;
    }

    .rs-hs-skills {
        width: 100%;
        order: 2;
    }

    .rs-hs-skills-list {
        display: flex;
        flex-wrap: wrap;
        max-height: none;
        padding: 8px;
        gap: 5px;
    }

    .rs-hs-skill-item {
        padding: 6px 10px;
        border: 1px solid #4a3820;
        border-radius: 4px;
        flex: 0 0 auto;
    }

    .rs-hs-skill-item.active {
        border-left-width: 1px;
    }

    .rs-hs-main {
        order: 1;
    }

    .rs-hs-sidebar {
        width: 100%;
        order: 3;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .rs-hs-box {
        flex: 1;
        min-width: 150px;
    }

    .rs-hs-compare-bar {
        flex-wrap: wrap;
    }

    .rs-hs-compare-bar .rs-hs-input {
        flex: 1 1 100px;
    }
}

@media (max-width: 600px) {
    .rs-hs-compare-table th,
    .rs-hs-compare-table td {
        padding: 4px 3px;
        font-size: 0.75em;
    }

    .rs-hs-skill-icon {
        width: 14px;
        height: 14px;
    }

    .rs-hs-title {
        font-size: 1em;
    }
}

/* ===================================
   LOGGED OUT HOME PAGE STYLES
   =================================== */

/* Home page layout */
.rs-home-layout {
    margin-top: 20px;
    overflow: hidden;
}

.rs-home-layout > [class*="col-"]:last-child {
    overflow: hidden;
}

/* Navigation blocks for logged-out home - uses original fieldset.menu styling */
.rs-home-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Override fieldset.menu width for responsive home nav */
.rs-home-nav fieldset.menu {
    width: 260px;
}

/* Home page scroll - override narrowscroll fixed width */
.rs-home-layout .narrowscroll-bg {
    width: 100%;
    margin-left: 0;
}

.rs-home-layout .narrowscroll-bgimg {
    background-size: 100% auto;
}

.rs-home-layout .narrowscroll-top,
.rs-home-layout .narrowscroll-bottom {
    width: 100%;
    height: auto;
}

.rs-home-layout .narrowscroll-content {
    padding: 25px 35px;
}

/* Empty news state */
.rs-news-empty {
    text-align: center;
    padding: 40px 20px;
    color: #5a4a3a;
    font-style: italic;
}

/* News Welcome Header */
.rs-news-welcome {
    font-family: 'Times New Roman', Times, serif;
    font-size: 2em;
    color: #3a2a1a;
    text-align: center;
    margin: 0 0 15px 0;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
    word-wrap: break-word;
}

.rs-news-intro {
    font-size: 0.9em;
    color: #4a3a2a;
    text-align: justify;
    margin-bottom: 25px;
    line-height: 1.5;
    word-wrap: break-word;
}

.rs-news-header {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.4em;
    color: #3a2a1a;
    text-align: center;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #8b7355;
}

/* News Item */
.rs-news-item {
    padding: 15px 0;
    border-bottom: 1px solid #a89070;
    clear: both;
}

.rs-news-item::after {
    content: '';
    display: table;
    clear: both;
}

.rs-news-item:last-of-type {
    border-bottom: none;
}

.rs-news-thumb {
    float: left;
    width: 80px;
    height: 80px;
    margin-right: 15px;
    border: 2px solid #8b7355;
    border-radius: 3px;
    background: #c9b896;
}

.rs-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rs-news-details {
    overflow: hidden;
}

.rs-news-title {
    margin: 0 0 5px 0;
    font-size: 1.1em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rs-news-title a {
    color: #8b4513;
    text-decoration: none;
    font-weight: bold;
}

.rs-news-title a:hover {
    color: #5a2d0a;
    text-decoration: underline;
}

.rs-news-meta {
    font-size: 0.85em;
    color: #6a5a4a;
    margin-bottom: 8px;
}

.rs-news-category {
    color: #8b4513;
    font-style: italic;
}

.rs-news-date {
    color: #5a4a3a;
}

.rs-news-excerpt {
    margin: 0 0 8px 0;
    font-size: 0.9em;
    color: #3a2a1a;
    line-height: 1.4;
    overflow: hidden;
    word-wrap: break-word;
}

.rs-news-readmore {
    color: #b8860b;
    font-weight: bold;
    font-size: 0.9em;
    text-decoration: none;
}

.rs-news-readmore:hover {
    color: #8b6914;
    text-decoration: underline;
}

.rs-news-footer {
    text-align: center;
    font-size: 0.85em;
    color: #5a4a3a;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #a89070;
    word-wrap: break-word;
}

.rs-news-footer a {
    color: #8b4513;
    font-weight: bold;
}

.rs-news-footer a:hover {
    color: #5a2d0a;
}

/* Shops Dropdown in Navbar */
.rs-nav-dropdown {
    position: relative;
    display: inline-block;
}

.rs-nav-dropdown-toggle {
    cursor: pointer;
}

.rs-nav-dropdown-toggle i {
    font-size: 0.8em;
    margin-left: 3px;
}

.rs-nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: linear-gradient(to bottom, rgba(40, 35, 30, 0.98), rgba(30, 25, 20, 0.98));
    border: 1px solid #4a3820;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    padding: 5px 0;
}

.rs-nav-dropdown:hover .rs-nav-dropdown-menu {
    display: block;
}

.rs-nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: #c0b090;
    text-decoration: none;
    transition: all 0.15s ease;
    font-size: 0.9em;
}

.rs-nav-dropdown-menu a:hover {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
}

.rs-nav-dropdown-menu a img {
    width: 20px;
    height: 20px;
}

/* Skills Dropdown - Grid Layout */
.rs-skills-dropdown {
    min-width: 280px;
    display: none;
    padding: 10px !important;
}

.rs-nav-dropdown:hover .rs-skills-dropdown {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
}

.rs-skills-dropdown a {
    padding: 8px 12px !important;
    font-size: 0.85em !important;
    border-radius: 4px;
}

.rs-skills-dropdown a img {
    width: 24px !important;
    height: 24px !important;
}

/* Auth Modal Styling */
.rs-auth-modal {
    background: linear-gradient(to bottom, rgba(40, 35, 30, 0.98), rgba(30, 25, 20, 0.98));
    border: 2px solid #4a3820;
    border-radius: 8px;
}

.rs-auth-modal .modal-header {
    background: linear-gradient(to bottom, #5a4a30, #3a2a1a);
    border-bottom: 1px solid #4a3820;
    border-radius: 6px 6px 0 0;
}

.rs-auth-modal .modal-title {
    color: #ffd700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.rs-auth-modal .close {
    color: #c0b090;
    opacity: 0.8;
}

.rs-auth-modal .close:hover {
    color: #ffd700;
    opacity: 1;
}

.rs-auth-modal .modal-body {
    padding: 20px;
}

.rs-auth-modal .nav-tabs {
    border-bottom: 1px solid #4a3820;
    margin-bottom: 15px;
}

.rs-auth-modal .nav-tabs > li > a {
    color: #c0b090;
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
}

.rs-auth-modal .nav-tabs > li > a:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #4a3820 #4a3820 transparent;
    color: #ffd700;
}

.rs-auth-modal .nav-tabs > li.active > a,
.rs-auth-modal .nav-tabs > li.active > a:hover,
.rs-auth-modal .nav-tabs > li.active > a:focus {
    background: rgba(255, 215, 0, 0.2);
    border-color: #4a3820 #4a3820 transparent;
    color: #ffd700;
}

.rs-auth-modal .form-control {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #4a3820;
    color: #e0d0c0;
}

.rs-auth-modal .form-control:focus {
    border-color: #ffd700;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.rs-auth-modal label {
    color: #c0b090;
}

.rs-auth-modal .btn-primary {
    background: linear-gradient(to bottom, #5a4a30, #3a2a1a);
    border: 1px solid #ffd700;
    color: #ffd700;
}

.rs-auth-modal .btn-primary:hover {
    background: linear-gradient(to bottom, #6a5a40, #4a3a2a);
}

.rs-auth-modal .btn-default {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #4a3820;
    color: #c0b090;
}

.rs-auth-modal .btn-default:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffd700;
}

.rs-auth-modal .app-checkbox label {
    color: #c0b090;
}

.rs-auth-modal a {
    color: #ffd700;
}

.rs-auth-modal a:hover {
    color: #ffea80;
}

/* Mobile responsive for home page */
@media (max-width: 991px) {
    .rs-home-nav fieldset.menu {
        width: 100%;
    }

    .rs-news-thumb {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 767px) {
    .rs-home-layout {
        display: block !important;
    }

    .rs-home-layout > div {
        width: 100% !important;
        float: none !important;
    }

    .rs-home-nav {
        margin-bottom: 20px;
    }

    .rs-home-nav fieldset.menu {
        width: 100%;
        max-width: 100%;
    }

    /* News scroll mobile */
    .rs-home-layout .narrowscroll-content {
        padding: 15px 20px;
    }

    .rs-news-welcome {
        font-size: 1.3em;
    }

    .rs-news-intro {
        font-size: 0.85em;
    }

    .rs-news-header {
        font-size: 1.2em;
    }

    .rs-news-thumb {
        width: 50px;
        height: 50px;
        margin-right: 10px;
    }

    .rs-news-title {
        font-size: 1em;
    }

    .rs-news-excerpt {
        font-size: 0.85em;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .rs-news-meta {
        font-size: 0.75em;
    }

    .rs-news-footer {
        font-size: 0.8em;
    }

    /* Mobile dropdown */
    .rs-nav-dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 0;
        margin-top: 5px;
    }

    /* Mobile skills dropdown - single column */
    .rs-skills-dropdown {
        min-width: 100% !important;
        padding: 5px !important;
    }

    .rs-nav-dropdown:hover .rs-skills-dropdown,
    .rs-nav-dropdown.active .rs-skills-dropdown {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    /* Player info section mobile */
    .rs-ab-player {
        padding: 4px 8px;
        gap: 6px;
    }

    .rs-ab-player-name {
        max-width: 70px;
        font-size: 10px;
    }

    .rs-ab-player-combat {
        font-size: 8px;
    }

    /* Orbs mobile */
    .rs-ab-orb-container {
        width: 26px;
        height: 26px;
    }

    .rs-ab-orb-bg {
        top: 2px;
        left: 2px;
        width: 22px;
        height: 22px;
    }

    .rs-ab-orb-text {
        font-size: 10px;
        min-width: 18px;
    }

    .rs-ab-orb-icon {
        font-size: 9px;
    }

    .rs-ab-orb-regen {
        width: 26px;
        height: 26px;
    }
}

/* Very small screens - hide player info text */
@media (max-width: 480px) {
    .rs-ab-player-info {
        display: none;
    }

    .rs-ab-player {
        gap: 6px;
    }
}

/* ==========================================================================
   OSRS-Style Skills Panel
   ========================================================================== */

/* Skills box container fixes - override inline styles */
#skills-box {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
}

#skills-box.scroll {
    overflow: visible !important;
    height: auto !important;
}

/* Override parent viewport position when skills-box is active */
#skills-box.active ~ ._viewport_data_572,
/* Skills tab viewport fixes - ensure proper sizing */
._viewport_data_572:has(#skills-box.active),
.tab-content:has(#skills-box.active) ._viewport_data_572,
._overview_data_893:has(#skills-box.active) {
    position: relative !important;
    height: 256px !important;
    max-height: 256px !important;
    overflow: hidden !important;
}

/* When skills tab is active */
.tab-pane#skills-box.active {
    position: relative !important;
    overflow: hidden !important;
    height: 256px !important;
}

/* Fix viewport container when viewing skills */
._viewport_data_572:has(.osrs-skills-panel) {
    position: relative !important;
    height: 256px !important;
    max-height: 256px !important;
    overflow: hidden !important;
}

/* Skills box - fit within container border */
#skills-box {
    height: 256px !important;
    max-height: 256px !important;
    overflow: hidden !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    margin-left: 5px !important;
    width: 190px !important;
    max-width: 190px !important;
}

.osrs-skills-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(8, 1fr);
    gap: 0;
    padding: 0;
    background: #3d3529;
    width: 190px;
    max-width: 190px;
    height: 256px;
    box-sizing: border-box;
    overflow: hidden;
}

.osrs-skill-cell {
    position: relative;
    background: linear-gradient(180deg, #564b3d 0%, #4a4035 40%, #3d3529 100%);
    padding: 2px 3px 4px 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    gap: 2px;
    box-sizing: border-box;
    border-right: 1px solid #2a241c;
    border-bottom: 1px solid #2a241c;
    transition: background 0.1s ease;
}

/* Remove right border on last column */
.osrs-skill-cell:nth-child(3n) {
    border-right: none;
}

/* Hunter is the 22nd skill (last one before total) - remove bottom border */
.osrs-skill-cell:nth-child(22) {
    border-bottom: none;
}

.osrs-skill-cell:hover {
    background: linear-gradient(180deg, #6a5d4d 0%, #5a4f42 40%, #4d4238 100%);
}

/* Skill XP Tooltip - default position below the cell */
.osrs-skill-cell:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 100%;
    left: 0;
    transform: none;
    background: rgba(0, 0, 0, 0.95);
    color: #ffff00;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 10000;
    pointer-events: none;
    border: 1px solid #4a3820;
}

/* Right-align tooltip for first column */
.osrs-skill-cell:nth-child(3n+1):hover::after {
    left: 0;
    right: auto;
}

/* Center tooltip for middle column */
.osrs-skill-cell:nth-child(3n+2):hover::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Left-align tooltip for last column */
.osrs-skill-cell:nth-child(3n):hover::after {
    left: auto;
    right: 0;
}

.osrs-skill-icon {
    width: 23px;
    height: 21px;
    flex-shrink: 0;
    image-rendering: pixelated;
    object-fit: contain;
}

/* Fraction-style level display: current top-left, max bottom-right */
.osrs-skill-levels {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 18px;
    margin-left: auto;
}

/* Diagonal line via pseudo-element */
.osrs-skill-levels::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 1px;
    background: #ffff00;
    transform: translate(-50%, -50%) rotate(-50deg);
    box-shadow: 1px 1px 0 #000;
}

.osrs-level-current {
    position: absolute;
    top: -1px;
    left: 2px;
    color: #ffff00;
    font-size: 11px;
    font-weight: bold;
    text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
    line-height: 1;
    font-family: 'runescape_uf', sans-serif;
}

/* Hide the separator span - we use ::before on parent instead */
.osrs-level-separator {
    display: none;
}

.osrs-level-max {
    position: absolute;
    bottom: -1px;
    right: 0;
    color: #ffff00;
    font-size: 11px;
    font-weight: bold;
    text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
    line-height: 1;
    font-family: 'runescape_uf', sans-serif;
}

.osrs-skill-progress {
    position: absolute;
    bottom: 1px;
    left: 2px;
    right: 2px;
    height: 3px;
    background: #0d0d0d;
    border-radius: 0;
}

.osrs-skill-progress-fill {
    height: 100%;
    background: linear-gradient(to bottom, #00b400 0%, #007800 100%);
    border-radius: 0;
    transition: width 0.3s ease;
}

.osrs-total-level {
    grid-column: 2 / 4;
    background: linear-gradient(180deg, #564b3d 0%, #4a4035 40%, #3d3529 100%);
    padding: 4px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
}

.osrs-total-level:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.95);
    color: #ffff00;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 10000;
    pointer-events: none;
    border: 1px solid #4a3820;
}

.osrs-total-label {
    color: #ffff00;
    font-size: 12px;
    margin-right: 6px;
    font-family: 'runescape_uf', sans-serif;
    text-shadow: 1px 1px 0 #000;
}

.osrs-total-value {
    color: #ffff00;
    font-size: 13px;
    font-weight: bold;
    font-family: 'runescape_uf', sans-serif;
    text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}

/* ==========================================================================
   OSRS-Style Skill Modal
   ========================================================================== */

.osrs-skill-modal {
    z-index: 10010 !important;
}

.osrs-skill-modal .modal-dialog {
    max-width: 520px;
    margin: 30px auto;
}

.osrs-skill-modal .modal-content {
    background: linear-gradient(to bottom, #5d5142 0%, #4a4035 50%, #3d3529 100%);
    border: 4px solid #1a1610;
    border-radius: 0;
    box-shadow: 0 0 0 2px #6d5d4a, inset 0 0 20px rgba(0,0,0,0.3);
    overflow: hidden;
}

.modal-backdrop.show {
    z-index: 10005 !important;
}

.osrs-skill-modal .modal-header {
    background: linear-gradient(to bottom, #4a4035, #3a3127);
    border-bottom: 2px solid #1a1610;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.osrs-skill-modal .modal-title {
    color: #ff981f;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
    margin: 0;
}

.osrs-skill-modal .close {
    color: #ff981f;
    opacity: 1;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
    font-size: 20px;
}

/* Skill Header Section */
.osrs-skill-header {
    background: linear-gradient(to bottom, #3d3529, #2d261e);
    border-bottom: 2px solid #1a1610;
    padding: 8px 10px;
}

.osrs-skill-modal .osrs-skill-header .osrs-skill-info {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.osrs-skill-info > * {
    display: block !important;
    visibility: visible !important;
}

.osrs-skill-header-icon {
    width: 48px;
    height: 48px;
    image-rendering: pixelated;
    border: 2px solid #4a3820;
    background: rgba(0,0,0,0.3);
    padding: 4px;
    border-radius: 4px;
}

.osrs-skill-stats {
    flex: 1;
}

.osrs-skill-level-display {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
}

.osrs-skill-level-label {
    color: #c0a070;
    font-size: 11px;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
}

.osrs-skill-level-value {
    color: #ffff00;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
}

.osrs-skill-xp-info {
    font-size: 10px;
}

.osrs-skill-xp-text {
    color: #c0a070;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
    margin-bottom: 3px;
}

.osrs-skill-xp-bar {
    height: 6px;
    background: #1a1610;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 2px;
}

.osrs-skill-xp-fill {
    height: 100%;
    background: linear-gradient(to bottom, #5fa82a, #4a8520);
    border-radius: 3px;
}

.osrs-skill-xp-remaining {
    color: #888;
    font-size: 9px;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
}

.osrs-skill-progress-info {
    text-align: right;
}

.osrs-actions-unlocked {
    color: #5fa82a;
    font-size: 11px;
    font-weight: bold;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
}

.osrs-skill-description {
    color: #a89070;
    font-size: 11px;
    font-style: italic;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #4a3820;
}

.osrs-skill-modal .modal-body {
    padding: 0;
    display: flex;
    min-height: 180px;
    max-height: 320px;
}

/* Categories sidebar */
.osrs-skill-categories {
    width: 110px;
    background: linear-gradient(to bottom, #3d3529, #2d261e);
    border-right: 2px solid #1a1610;
    padding: 4px;
    flex-shrink: 0;
    overflow-y: auto;
}

.osrs-skill-category {
    background: linear-gradient(to bottom, #4a4035, #3a3127);
    border: 1px solid #1a1610;
    color: #ff981f;
    padding: 6px 8px;
    margin-bottom: 2px;
    cursor: pointer;
    font-size: 11px;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
    transition: all 0.15s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.osrs-skill-category:hover,
.osrs-skill-category.active {
    background: linear-gradient(to bottom, #5a4d3f, #4a4035);
    color: #ffff00;
}

.osrs-cat-count {
    background: rgba(0,0,0,0.3);
    color: #888;
    font-size: 9px;
    padding: 1px 4px;
    border-radius: 3px;
}

.osrs-skill-category.active .osrs-cat-count {
    color: #ffff00;
}

/* Actions list */
.osrs-skill-actions {
    flex: 1;
    padding: 6px;
    overflow-y: auto;
}

.osrs-action-item {
    display: flex;
    flex-direction: column;
    padding: 6px 8px;
    margin-bottom: 3px;
    background: linear-gradient(to bottom, #494034, #3a3127);
    border: 1px solid #1a1610;
    border-radius: 3px;
    cursor: default;
    transition: background 0.15s ease;
}

.osrs-action-item:hover:not(.locked) {
    background: linear-gradient(to bottom, #5a4d40, #4a4035);
}

.osrs-action-main {
    display: flex;
    align-items: center;
    width: 100%;
}

.osrs-action-item.locked {
    opacity: 0.5;
}

.osrs-action-level {
    color: #ffff00;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
    min-width: 25px;
    text-align: center;
}

.osrs-action-item.locked .osrs-action-level {
    color: #888;
}

.osrs-action-icon {
    width: 24px;
    height: 24px;
    margin: 0 8px;
    image-rendering: pixelated;
}

.osrs-action-details {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.osrs-action-name {
    color: #ff981f;
    font-size: 12px;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.osrs-action-item.locked .osrs-action-name {
    color: #666;
}

.osrs-action-xp {
    color: #5fa82a;
    font-size: 10px;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
    margin-top: 1px;
}

.osrs-action-item.locked .osrs-action-xp {
    color: #4a6a3a;
}

.osrs-action-extra {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 10px;
}

.osrs-action-output,
.osrs-action-equip {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #a89070;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
}

.osrs-action-output i,
.osrs-action-equip i {
    color: #666;
    font-size: 9px;
}

.osrs-action-item.locked .osrs-action-output,
.osrs-action-item.locked .osrs-action-equip {
    color: #555;
}

.osrs-no-actions {
    color: #666;
    font-size: 11px;
    text-align: center;
    padding: 20px;
    font-style: italic;
}

/* ==========================================================================
   OSRS-Style Popover/Tooltip Styling
   ========================================================================== */

.popover {
    background: linear-gradient(to bottom, #3d3529, #2d261e);
    border: 2px solid #4a3820;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    font-family: inherit;
}

.popover-title,
.popover-header {
    background: linear-gradient(to bottom, #4a4035, #3a3127);
    border-bottom: 1px solid #4a3820;
    color: #ff981f;
    font-weight: bold;
    font-size: 13px;
    padding: 8px 12px;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
}

.popover-content,
.popover-body {
    color: #c0a070;
    font-size: 12px;
    padding: 10px 12px;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
    line-height: 1.4;
}

.popover.top > .arrow::after,
.popover.bs-popover-top > .arrow::after,
.bs-popover-top .popover-arrow::after {
    border-top-color: #2d261e;
}

.popover.bottom > .arrow::after,
.popover.bs-popover-bottom > .arrow::after,
.bs-popover-bottom .popover-arrow::after {
    border-bottom-color: #3d3529;
}

.popover.left > .arrow::after,
.popover.bs-popover-start > .arrow::after,
.bs-popover-start .popover-arrow::after {
    border-left-color: #2d261e;
}

.popover.right > .arrow::after,
.popover.bs-popover-end > .arrow::after,
.bs-popover-end .popover-arrow::after {
    border-right-color: #2d261e;
}

.popover > .arrow::before,
.popover .popover-arrow::before {
    border-color: #4a3820;
}

/* Tooltip styling */
.tooltip-inner {
    background: linear-gradient(to bottom, #3d3529, #2d261e);
    border: 1px solid #4a3820;
    color: #ffff00;
    font-size: 12px;
    padding: 6px 10px;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.tooltip.top .tooltip-arrow,
.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #4a3820;
}

.tooltip.bottom .tooltip-arrow,
.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: #4a3820;
}

.tooltip.left .tooltip-arrow,
.bs-tooltip-start .tooltip-arrow::before {
    border-left-color: #4a3820;
}

.tooltip.right .tooltip-arrow,
.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: #4a3820;
}

/* ==========================================================================
   ADVENTURER'S LOG - RS2009 STYLE
   ========================================================================== */

.rs-adventurer-log-modal .modal-dialog {
    max-width: 900px;
    width: 95%;
    margin: 30px auto;
}

/* Adventurer's Log - Full Page View (RS2009 Theme) */
.rs-al-container {
    background:
        /* Noise overlay for paper texture */
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(139, 105, 20, 0.03) 2px,
            rgba(139, 105, 20, 0.03) 4px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 2px,
            rgba(139, 105, 20, 0.02) 2px,
            rgba(139, 105, 20, 0.02) 4px
        ),
        /* Subtle grain effect */
        radial-gradient(ellipse at 20% 30%, rgba(210, 180, 140, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(210, 180, 140, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 80%, rgba(184, 134, 11, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 20%, rgba(184, 134, 11, 0.1) 0%, transparent 40%),
        /* Aged spots */
        radial-gradient(circle at 15% 25%, rgba(139, 90, 43, 0.08) 0%, transparent 8%),
        radial-gradient(circle at 85% 75%, rgba(139, 90, 43, 0.06) 0%, transparent 10%),
        radial-gradient(circle at 50% 50%, rgba(139, 90, 43, 0.04) 0%, transparent 15%),
        /* Base parchment gradient */
        linear-gradient(to bottom, #f7e8c8 0%, #f0ddb0 20%, #e8d4a0 50%, #f0ddb0 80%, #f5e2b8 100%);
    border: 4px solid #3d3020;
    border-radius: 4px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.6),
        inset 0 0 80px rgba(139, 105, 20, 0.15),
        inset 0 0 20px rgba(139, 105, 20, 0.1);
    font-family: 'Times New Roman', Times, serif;
    color: #3d3020;
}

/* Header Bar */
.rs-al-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, #4a3d30, #3d3020);
    padding: 8px 15px;
    border-bottom: 2px solid #2d2518;
}

.rs-al-back-link {
    color: #f5e6c8;
    font-size: 12px;
    text-decoration: none;
    opacity: 0.9;
}

.rs-al-back-link:hover {
    color: #ffd700;
    opacity: 1;
    text-decoration: none;
}

.rs-al-back-link i {
    margin-right: 5px;
}

.rs-al-title {
    font-size: 20px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
}

.rs-al-search {
    display: flex;
    gap: 5px;
}

.rs-al-search input {
    padding: 4px 8px;
    border: 1px solid #8b7355;
    border-radius: 3px;
    background: #f5e6c8;
    font-size: 12px;
    width: 150px;
}

.rs-al-search button {
    padding: 4px 12px;
    background: linear-gradient(to bottom, #b8860b, #8b6914);
    color: #fff;
    border: 1px solid #6b4f0c;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.rs-al-search button:hover {
    background: linear-gradient(to bottom, #d4a017, #b8860b);
}

/* Main Content Area */
.rs-al-content {
    padding: 15px;
}

/* Top Section: Player Info + Skills - Horizontal Layout */
.rs-al-top-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

/* Player Panel - Horizontal compact layout */
.rs-al-player-panel {
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid #8b7355;
    border-radius: 4px;
    padding: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-start;
}

.rs-al-avatar-area {
    display: flex;
    gap: 12px;
    align-items: center;
    min-width: 200px;
}

.rs-al-avatar {
    width: 64px;
    height: 64px;
    background: #2d2518;
    border: 3px solid #4a3820;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.rs-al-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rs-al-player-details {
    flex: 1;
    min-width: 120px;
}

.rs-al-player-name {
    font-size: 18px;
    font-weight: bold;
    color: #2d2518;
    margin-bottom: 5px;
}

.rs-al-player-info {
    font-size: 12px;
    color: #4a3820;
    margin-bottom: 5px;
}

.rs-al-time-played {
    font-size: 12px;
    color: #4a3820;
    margin-bottom: 5px;
}

.rs-al-time-played .label {
    font-weight: bold;
}

.rs-al-created {
    font-size: 12px;
    color: #4a3820;
    margin-bottom: 10px;
}

.rs-al-created .label {
    font-weight: bold;
}

.rs-al-settings-btn {
    padding: 4px 12px;
    background: linear-gradient(to bottom, #6b5b4f, #4a3d30);
    color: #f5e6c8;
    border: 1px solid #3d3020;
    border-radius: 3px;
    font-size: 11px;
    cursor: pointer;
}

.rs-al-settings-btn:hover {
    background: linear-gradient(to bottom, #8b7355, #6b5b4f);
}

/* Skills Panel */
.rs-al-skills-panel {
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid #8b7355;
    border-radius: 4px;
    padding: 10px;
}

.rs-al-total-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #8b7355;
}

.rs-al-total-label {
    font-size: 16px;
    font-weight: bold;
    color: #2d2518;
}

.rs-al-total-stats {
    font-size: 12px;
    color: #4a3820;
}

.rs-al-total-stats span {
    margin-left: 5px;
}

.rs-al-skills-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.rs-al-skill-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px;
    background: rgba(45, 37, 24, 0.1);
    border: 1px solid #8b7355;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.2s;
}

.rs-al-skill-item:hover {
    background: rgba(139, 105, 20, 0.3);
    text-decoration: none;
}

.rs-al-skill-item img {
    width: 24px;
    height: 24px;
    image-rendering: pixelated;
}

.rs-al-skill-level {
    font-size: 10px;
    font-weight: bold;
    color: #2d2518;
    margin-top: 2px;
}

/* Skill Progress Bar */
.rs-al-skill-progress {
    position: absolute;
    bottom: 2px;
    left: 3px;
    right: 3px;
    height: 3px;
    background: #2d2518;
    border-radius: 1px;
}

.rs-al-skill-progress-fill {
    height: 100%;
    background: linear-gradient(to bottom, #5fa82a 0%, #4a8520 100%);
    border-radius: 1px;
    transition: width 0.3s ease;
}

/* Enhanced Player Panel Styles */
.rs-al-player-badges {
    display: flex;
    gap: 5px;
    margin-top: 3px;
}

.rs-al-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 3px;
    font-size: 11px;
}

.rs-al-badge.ironman {
    background: #6c757d;
    color: #fff;
}

.rs-al-badge.hardcore {
    background: #dc3545;
    color: #fff;
}

.rs-al-badge.premium {
    background: linear-gradient(to bottom, #ffd700, #b8860b);
    color: #2d2518;
}

/* Stats Grid - Horizontal compact layout */
.rs-al-stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
    min-width: 280px;
}

.rs-al-stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(139, 115, 85, 0.3);
    border-radius: 3px;
    white-space: nowrap;
}

.rs-al-stat-icon {
    font-size: 12px;
    color: #8b6914;
}

.rs-al-stat-label {
    font-size: 10px;
    color: #6b5b4f;
}

.rs-al-stat-value {
    font-size: 11px;
    font-weight: bold;
    color: #2d2518;
    margin-left: 2px;
}

/* Info section - inline with stats */
.rs-al-info-section {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    flex: 1;
    min-width: 200px;
}

.rs-al-info-row {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    white-space: nowrap;
}

.rs-al-info-label {
    color: #6b5b4f;
}

.rs-al-info-label i {
    margin-right: 4px;
    color: #8b6914;
}

.rs-al-info-value {
    color: #2d2518;
    font-weight: bold;
}

/* Activity indicator */
.rs-al-activity {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(95, 168, 42, 0.2);
    border: 1px solid rgba(95, 168, 42, 0.5);
    border-radius: 4px;
    margin-left: auto;
}

.rs-al-activity-icon {
    width: 20px;
    height: 20px;
}

.rs-al-activity-text {
    font-size: 11px;
    color: #2d2518;
    font-weight: bold;
}

.rs-al-online-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #5fa82a;
    border-radius: 50%;
    margin-right: 5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Autocomplete Search Styles */
.rs-al-search-wrapper {
    position: relative;
    display: inline-block;
}

.rs-al-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f5e6c8;
    border: 2px solid #8b7355;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.rs-al-autocomplete-item {
    padding: 8px 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(139, 115, 85, 0.2);
    transition: background 0.2s;
}

.rs-al-autocomplete-item:last-child {
    border-bottom: none;
}

.rs-al-autocomplete-item:hover {
    background: rgba(139, 105, 20, 0.2);
}

.rs-al-autocomplete-name {
    color: #2d2518;
    font-weight: bold;
    font-size: 12px;
}

.rs-al-autocomplete-level {
    color: #6b5b4f;
    font-size: 10px;
}

.rs-al-compare-link {
    text-align: right;
    font-size: 11px;
}

.rs-al-compare-link a {
    color: #8b6914;
}

/* Middle Section: Recent Events */
.rs-al-middle-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.rs-al-events-panel {
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid #8b7355;
    border-radius: 4px;
    overflow: hidden;
}

.rs-al-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, #6b5b4f, #4a3d30);
    padding: 8px 12px;
    border-bottom: 1px solid #3d3020;
}

.rs-al-panel-title {
    font-size: 14px;
    font-weight: bold;
    color: #f5e6c8;
}

.rs-al-rss-icon {
    color: #ffd700;
    font-size: 12px;
}

.rs-al-events-list {
    max-height: 250px;
    overflow-y: auto;
    padding: 5px;
}

.rs-al-event-item {
    padding: 8px;
    border-bottom: 1px solid rgba(139, 115, 85, 0.3);
}

.rs-al-event-item:last-child {
    border-bottom: none;
}

.rs-al-event-header {
    font-size: 11px;
    color: #8b6914;
    margin-bottom: 3px;
}

.rs-al-event-header a {
    color: #8b6914;
    text-decoration: underline;
}

.rs-al-event-content {
    font-size: 12px;
    color: #2d2518;
    line-height: 1.4;
}

.rs-al-event-content .listing-item {
    display: inline;
}

.rs-al-event-content .listing-item-icon {
    height: 1em;
    vertical-align: middle;
    margin-right: 3px;
}

.rs-al-event-time {
    font-size: 10px;
    color: #8b7355;
    margin-top: 3px;
    font-style: italic;
}

/* Bottom Section: Achievements + Quests (2 columns) */
.rs-al-bottom-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.rs-al-achievements-panel,
.rs-al-quests-panel {
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid #8b7355;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Tabs */
.rs-al-tabs {
    display: flex;
    border-bottom: 1px solid #8b7355;
    background: rgba(107, 91, 79, 0.2);
}

.rs-al-tab {
    flex: 1;
    padding: 6px 8px;
    background: transparent;
    border: none;
    border-right: 1px solid #8b7355;
    font-size: 11px;
    color: #4a3820;
    cursor: pointer;
    transition: background 0.2s;
}

.rs-al-tab:last-child {
    border-right: none;
}

.rs-al-tab:hover {
    background: rgba(139, 105, 20, 0.2);
}

.rs-al-tab.active {
    background: rgba(139, 105, 20, 0.4);
    font-weight: bold;
}

/* Lists */
.rs-al-achievements-list,
.rs-al-quests-list,
.rs-al-friends-list {
    flex: 1;
    max-height: 200px;
    overflow-y: auto;
    padding: 5px;
}

.rs-al-list-item {
    padding: 8px;
    border-bottom: 1px solid rgba(139, 115, 85, 0.3);
}

.rs-al-list-item:last-child {
    border-bottom: none;
}

.rs-al-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.rs-al-item-name {
    font-size: 12px;
    font-weight: bold;
    color: #2d2518;
}

.rs-al-item-date {
    font-size: 10px;
    color: #8b7355;
}

.rs-al-item-desc {
    font-size: 11px;
    color: #4a3820;
    line-height: 1.3;
}

/* Progress Bar */
.rs-al-progress-bar {
    position: relative;
    height: 14px;
    background: #2d2518;
    border: 1px solid #4a3820;
    border-radius: 3px;
    overflow: hidden;
    margin: 4px 0;
}

.rs-al-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(to bottom, #4CAF50, #2E7D32);
    transition: width 0.3s;
}

.rs-al-progress-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: #fff;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
    z-index: 1;
}

/* Friends List */
.rs-al-friend-item {
    padding: 6px 8px;
    border-bottom: 1px solid rgba(139, 115, 85, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rs-al-friend-item:last-child {
    border-bottom: none;
}

.rs-al-friend-item a {
    color: #4a3820;
    text-decoration: none;
    font-size: 12px;
}

.rs-al-friend-item a:hover {
    color: #8b6914;
}

.rs-al-friend-item.online a {
    color: #2e7d32;
}

.rs-al-online-dot {
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
    display: inline-block;
}

/* Pagination */
.rs-al-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px;
    border-top: 1px solid #8b7355;
    background: rgba(107, 91, 79, 0.2);
    font-size: 11px;
    color: #4a3820;
}

.rs-al-pagination button {
    padding: 2px 8px;
    background: linear-gradient(to bottom, #6b5b4f, #4a3d30);
    color: #f5e6c8;
    border: 1px solid #3d3020;
    border-radius: 3px;
    cursor: pointer;
    font-size: 11px;
}

.rs-al-pagination button:hover {
    background: linear-gradient(to bottom, #8b7355, #6b5b4f);
}

/* Empty state */
.rs-al-empty {
    padding: 20px;
    text-align: center;
    color: #8b7355;
    font-style: italic;
    font-size: 12px;
}

/* Footer */
.rs-al-footer {
    display: flex;
    justify-content: center;
    padding: 10px;
    background: linear-gradient(to bottom, #4a3d30, #3d3020);
    border-top: 2px solid #2d2518;
}

.rs-al-footer .btn {
    padding: 6px 20px;
}

/* ========================================
   Patch Notes - RS2009 Parchment Theme
   ======================================== */
.rs-patch-notes {
    background:
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(139, 105, 20, 0.03) 2px, rgba(139, 105, 20, 0.03) 4px),
        repeating-linear-gradient(-45deg, transparent, transparent 2px, rgba(139, 105, 20, 0.02) 2px, rgba(139, 105, 20, 0.02) 4px),
        radial-gradient(ellipse at 20% 30%, rgba(210, 180, 140, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(210, 180, 140, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 80%, rgba(184, 134, 11, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 20%, rgba(184, 134, 11, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 15% 25%, rgba(139, 90, 43, 0.08) 0%, transparent 8%),
        radial-gradient(circle at 85% 75%, rgba(139, 90, 43, 0.06) 0%, transparent 10%),
        linear-gradient(to bottom, #f7e8c8 0%, #f0ddb0 20%, #e8d4a0 50%, #f0ddb0 80%, #f5e2b8 100%);
    border: 4px solid #3d3020;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 0 80px rgba(139, 105, 20, 0.15), inset 0 0 20px rgba(139, 105, 20, 0.1);
    font-family: 'Times New Roman', Times, serif;
    color: #3d3020;
}

.rs-pn-header {
    background: linear-gradient(to bottom, #4a3d30, #3d3020);
    padding: 10px 15px;
    border-bottom: 2px solid #2d2518;
    text-align: center;
}

.rs-pn-title {
    font-size: 20px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
}

.rs-pn-content {
    padding: 15px;
    max-height: 500px;
    overflow-y: auto;
}

.rs-pn-item {
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid #8b7355;
    border-radius: 4px;
    margin-bottom: 12px;
    overflow: hidden;
}

.rs-pn-item:last-child {
    margin-bottom: 0;
}

.rs-pn-item-header {
    background: rgba(107, 91, 79, 0.2);
    padding: 8px 12px;
    border-bottom: 1px solid rgba(139, 115, 85, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.rs-pn-date {
    display: inline-block;
    background: linear-gradient(to bottom, #b8860b, #8b6914);
    color: #fff;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.rs-pn-item-title {
    font-size: 14px;
    font-weight: bold;
    color: #2d2518;
}

.rs-pn-item-body {
    padding: 12px;
    display: flex;
    gap: 15px;
}

.rs-pn-item-text {
    flex: 1;
    font-size: 13px;
    line-height: 1.5;
    color: #3d3020;
    text-align: justify;
}

.rs-pn-item-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
}

.rs-pn-read-more {
    display: inline-block;
    color: #b8860b;
    font-weight: bold;
    text-decoration: none;
    margin-left: 5px;
}

.rs-pn-read-more:hover {
    color: #ffd700;
    text-decoration: underline;
}

/* Patch note detail page */
.rs-patch-note-detail {
    max-width: 800px;
    margin: 20px auto;
}

.rs-pn-full-body {
    flex-direction: column;
}

.rs-pn-full-text {
    text-align: left;
    white-space: pre-wrap;
    line-height: 1.7;
}

.rs-pn-category {
    display: inline-block;
    background: linear-gradient(to bottom, #4a3d30, #3d3020);
    color: #d4c4a8;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    margin-left: 10px;
}

.rs-pn-back {
    padding: 15px;
    border-top: 1px solid rgba(139, 115, 85, 0.3);
    text-align: center;
}

.rs-pn-back-link {
    color: #b8860b;
    font-weight: bold;
    text-decoration: none;
}

.rs-pn-back-link:hover {
    color: #ffd700;
    text-decoration: underline;
}

.rs-pn-back-link i {
    margin-right: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .rs-al-header-bar {
        flex-direction: column;
        gap: 10px;
    }

    .rs-al-back-link {
        order: 2;
    }

    .rs-al-title {
        order: 1;
    }

    .rs-al-search {
        width: 100%;
        order: 3;
    }

    .rs-al-search input {
        flex: 1;
    }

    .rs-al-top-section {
        grid-template-columns: 1fr;
    }

    .rs-al-middle-section {
        grid-template-columns: 1fr;
    }

    .rs-al-bottom-section {
        grid-template-columns: 1fr;
    }

    .rs-al-skills-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .rs-al-player-panel {
        flex-direction: column;
        align-items: center;
    }

    .rs-al-avatar-area {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .rs-al-player-badges {
        justify-content: center;
    }

    .rs-al-stats-grid {
        justify-content: center;
        min-width: auto;
    }

    .rs-al-info-section {
        justify-content: center;
        min-width: auto;
    }

    .rs-al-activity {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }

    .rs-al-search-wrapper {
        width: 100%;
    }

    .rs-al-autocomplete {
        min-width: 100%;
    }

    /* Patch Notes Responsive */
    .rs-pn-item-body {
        flex-direction: column-reverse;
        align-items: center;
    }

    .rs-pn-item-text {
        text-align: left;
    }

    .rs-pn-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* =====================================================
   Avatar Upload Styles
   ===================================================== */
.avatar-upload-section {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.avatar-preview-container {
    flex-shrink: 0;
}

.avatar-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #8b7355;
    object-fit: cover;
    background: #e8e0d4;
    transition: opacity 0.3s;
}

.avatar-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.avatar-actions .btn {
    padding: 5px 15px;
}

.avatar-hint {
    margin: 0;
    font-size: 11px;
    color: #888;
}

/* Avatar in Adventurer's Log */
.rs-al-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid #8b7355;
    object-fit: cover;
    background: #e8e0d4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .avatar-upload-section {
        flex-direction: column;
        text-align: center;
    }

    .avatar-actions {
        align-items: center;
    }
}

/* =====================================================
   Friends & Ignores List Styles (RS2009 Theme)
   ===================================================== */
.rs-social-list {
    display: flex;
    flex-direction: column;
    height: 260px;
    background: linear-gradient(180deg, #2b2116 0%, #1a150d 100%);
    border: 2px solid #5c4a32;
    border-radius: 3px;
    margin: 2px;
}

.rs-social-header {
    background: linear-gradient(180deg, #5c4a32 0%, #3d3020 100%);
    color: #ffd700;
    font-family: 'Times New Roman', serif;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    padding: 4px 8px;
    border-bottom: 1px solid #5c4a32;
    text-shadow: 1px 1px 2px #000;
}

.rs-social-entries {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 2px;
}

.rs-social-entries::-webkit-scrollbar {
    width: 8px;
}

.rs-social-entries::-webkit-scrollbar-track {
    background: #1a150d;
}

.rs-social-entries::-webkit-scrollbar-thumb {
    background: #5c4a32;
    border-radius: 4px;
}

.rs-social-entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 6px;
    font-size: 11px;
    cursor: pointer;
    border-bottom: 1px solid rgba(92, 74, 50, 0.3);
    transition: background 0.15s;
}

.rs-social-entry:hover {
    background: rgba(255, 215, 0, 0.1);
}

.rs-social-entry.selected {
    background: rgba(255, 215, 0, 0.2);
}

.rs-social-entry-name {
    color: #ffcc00;
    font-weight: bold;
    flex-shrink: 0;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-social-entry-activity {
    color: #00ff00;
    font-size: 10px;
    text-align: right;
    flex: 1;
    margin-left: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-social-entry-activity.offline {
    color: #ff3333;
}

.rs-social-loading {
    color: #999;
    text-align: center;
    padding: 20px;
    font-style: italic;
    font-size: 11px;
}

.rs-social-empty {
    color: #888;
    text-align: center;
    padding: 20px 10px;
    font-size: 11px;
}

.rs-social-actions {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: linear-gradient(180deg, #3d3020 0%, #2b2116 100%);
    border-top: 1px solid #5c4a32;
}

.rs-social-btn {
    flex: 1;
    padding: 5px 8px;
    font-size: 10px;
    font-weight: bold;
    border: 1px solid #5c4a32;
    border-radius: 2px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.15s;
}

.rs-social-btn-add {
    background: linear-gradient(180deg, #3d6b3d 0%, #2d4d2d 100%);
    color: #90EE90;
}

.rs-social-btn-add:hover {
    background: linear-gradient(180deg, #4d8b4d 0%, #3d5d3d 100%);
}

.rs-social-btn-del {
    background: linear-gradient(180deg, #6b3d3d 0%, #4d2d2d 100%);
    color: #ff9999;
}

.rs-social-btn-del:hover {
    background: linear-gradient(180deg, #8b4d4d 0%, #5d3d3d 100%);
}

/* Ignore list entry styling (different from friends) */
#ignores-box .rs-social-entry-name {
    color: #ff9999;
}

#ignores-box .rs-social-entry-activity {
    display: none;
}

/* ===========================================
   RS2009 SweetAlert Theme
   =========================================== */
.sweet-alert {
    background: linear-gradient(to bottom, rgba(60, 50, 40, 0.98), rgba(40, 35, 25, 0.98)) !important;
    border: 2px solid #5c4a32 !important;
    border-radius: 8px !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 215, 0, 0.1) !important;
}

.sweet-alert h2 {
    color: #ffd700 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
    font-family: inherit !important;
}

.sweet-alert p {
    color: #c0b090 !important;
}

.sweet-alert .sa-icon.sa-success .sa-placeholder {
    border-color: rgba(100, 180, 100, 0.3) !important;
}

.sweet-alert .sa-icon.sa-success .sa-line {
    background-color: #5cb85c !important;
}

.sweet-alert .sa-icon.sa-error {
    border-color: #d9534f !important;
}

.sweet-alert .sa-icon.sa-error .sa-line {
    background-color: #d9534f !important;
}

.sweet-alert .sa-icon.sa-warning {
    border-color: #f0ad4e !important;
}

.sweet-alert .sa-icon.sa-warning .sa-body,
.sweet-alert .sa-icon.sa-warning .sa-dot {
    background-color: #f0ad4e !important;
}

.sweet-alert .sa-icon.sa-info {
    border-color: #5bc0de !important;
}

.sweet-alert .sa-icon.sa-info::before,
.sweet-alert .sa-icon.sa-info::after {
    background-color: #5bc0de !important;
}

.sweet-alert input {
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid #5c4a32 !important;
    color: #e0d0c0 !important;
    border-radius: 4px !important;
}

.sweet-alert input:focus {
    border-color: #ffd700 !important;
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.4) !important;
}

.sweet-alert input::placeholder {
    color: #8b7355 !important;
}

.sweet-alert button {
    border-radius: 4px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 10px 24px !important;
    transition: all 0.2s ease !important;
}

.sweet-alert button.confirm {
    background: linear-gradient(to bottom, #5a8a5a, #3d6b3d) !important;
    border: 1px solid #2d4d2d !important;
    color: #e0ffe0 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.sweet-alert button.confirm:hover {
    background: linear-gradient(to bottom, #6a9a6a, #4d7b4d) !important;
}

.sweet-alert button.cancel {
    background: linear-gradient(to bottom, #6b4a4a, #4d3535) !important;
    border: 1px solid #3d2525 !important;
    color: #ffcccc !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.sweet-alert button.cancel:hover {
    background: linear-gradient(to bottom, #7b5a5a, #5d4545) !important;
}

.sweet-alert .sa-error-container {
    background-color: rgba(100, 50, 50, 0.3) !important;
}

.sweet-alert .sa-error-container p {
    color: #ff9999 !important;
}

.sweet-alert fieldset {
    border-color: #5c4a32 !important;
}

/* Sweet Alert overlay */
.sweet-overlay {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

/* ===========================================
   RS2009 Travel System Panel
   =========================================== */
.rs-travel-panel {
    background: linear-gradient(180deg, #2b2116 0%, #1a150d 100%);
    border: 2px solid #5c4a32;
    border-radius: 8px;
    padding: 0;
    margin-bottom: 15px;
    overflow: hidden;
}

.rs-location-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.1) 0%, transparent 100%);
    border-bottom: 1px solid #5c4a32;
}

.rs-location-icon {
    font-size: 2em;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid #5c4a32;
}

.rs-location-info {
    flex: 1;
}

.rs-location-name {
    margin: 0;
    color: #ffd700;
    font-size: 1.3em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.rs-location-region {
    color: #8b7355;
    font-size: 0.85em;
}

.rs-location-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.rs-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: bold;
    text-transform: uppercase;
}

.rs-badge-bank {
    background: #2d5a27;
    color: #90ee90;
}

.rs-badge-clickable {
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.rs-badge-clickable:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
    text-decoration: none;
    color: inherit;
}

.rs-badge-bank.rs-badge-clickable:hover {
    background: #3d7a37;
    color: #ffffff;
    box-shadow: 0 0 8px rgba(144, 238, 144, 0.5);
}

.rs-badge-pvp {
    background: #8b0000;
    color: #ff4444;
    animation: pulse 1s infinite;
}

.rs-badge-danger {
    background: #5a2727;
    color: #ff9090;
}

.rs-location-description {
    padding: 10px 15px;
    color: #c0b090;
    font-size: 0.9em;
    border-bottom: 1px solid #3a3020;
}

.rs-location-actions {
    padding: 0;
}

.rs-action-tabs {
    display: flex;
    border-bottom: 1px solid #5c4a32;
    background: rgba(0, 0, 0, 0.2);
}

.rs-action-tab {
    flex: 1;
    padding: 10px 8px;
    background: transparent;
    border: none;
    color: #8b7355;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85em;
}

.rs-action-tab:hover {
    color: #c9b896;
    background: rgba(255, 215, 0, 0.05);
}

.rs-action-tab.active {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    border-bottom: 2px solid #ffd700;
}

.rs-action-tab i {
    margin-right: 4px;
}

.rs-tab-content {
    display: none;
    padding: 10px;
    max-height: 300px;
    overflow-y: auto;
}

.rs-tab-content.active {
    display: block;
}

/* Travel Routes */
.rs-route-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid #3a3020;
    border-radius: 6px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.rs-route-item:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #5c4a32;
}

.rs-route-method {
    font-size: 1.5em;
    width: 40px;
    text-align: center;
}

.rs-route-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rs-route-dest {
    color: #ffd700;
    font-weight: bold;
}

.rs-route-meta {
    color: #8b7355;
    font-size: 0.8em;
    text-transform: capitalize;
}

.rs-route-cost {
    color: #ff9900;
    font-weight: bold;
}

.rs-route-free {
    color: #90ee90;
    font-size: 0.85em;
}

.rs-mini-badge {
    margin-left: 4px;
    font-size: 0.9em;
}

.rs-mini-badge.bank {
    color: #90ee90;
}

.rs-mini-badge.pvp {
    color: #ff4444;
}

/* Facilities */
.rs-facilities-section {
    margin-bottom: 15px;
}

.rs-facilities-section h4 {
    color: #ffd700;
    font-size: 0.9em;
    margin: 0 0 8px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #3a3020;
}

.rs-facility-item,
.rs-store-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid #3a3020;
    border-radius: 4px;
    margin: 3px;
    font-size: 0.85em;
    color: #c0b090;
}

.rs-facility-icon,
.rs-store-icon {
    font-size: 1.1em;
}

.rs-facility-clickable {
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    width: 100%;
    justify-content: flex-start;
}

.rs-facility-clickable:hover {
    background: rgba(45, 90, 39, 0.4);
    border-color: #2d5a27;
    color: #90ee90;
    text-decoration: none;
}

.rs-facility-arrow {
    margin-left: auto;
    color: #5c4a32;
    transition: all 0.2s ease;
}

.rs-facility-clickable:hover .rs-facility-arrow {
    color: #90ee90;
    transform: translateX(3px);
}

/* Enemies */
.rs-enemy-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid #3a3020;
    border-radius: 6px;
    margin-bottom: 6px;
}

.rs-enemy-info {
    display: flex;
    flex-direction: column;
}

.rs-enemy-name {
    color: #ff6b6b;
    font-weight: bold;
}

.rs-enemy-stats {
    color: #8b7355;
    font-size: 0.8em;
}

.rs-enemy-slayer {
    color: #9b59b6;
    font-size: 0.75em;
}

.rs-enemy-note {
    color: #c0b090;
    font-size: 0.75em;
    font-style: italic;
    max-width: 40%;
    text-align: right;
}

/* Map */
.rs-region-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.rs-region-btn {
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #3a3020;
    border-radius: 4px;
    color: #8b7355;
    cursor: pointer;
    font-size: 0.8em;
    transition: all 0.2s;
}

.rs-region-btn:hover,
.rs-region-btn.active {
    background: rgba(255, 215, 0, 0.15);
    border-color: #5c4a32;
    color: #ffd700;
}

.rs-map-location {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid #3a3020;
    border-radius: 6px;
    margin-bottom: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.rs-map-location:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #5c4a32;
}

.rs-map-location.rs-current-location {
    background: rgba(255, 215, 0, 0.15);
    border-color: #ffd700;
}

.rs-map-icon {
    font-size: 1.3em;
}

.rs-map-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rs-map-name {
    color: #c0b090;
    font-weight: bold;
}

.rs-map-region {
    color: #8b7355;
    font-size: 0.75em;
}

.rs-current-badge {
    background: #ffd700;
    color: #1a150d;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7em;
    font-weight: bold;
}

/* Travel Modal */
.rs-travel-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.rs-travel-modal-content {
    background: linear-gradient(180deg, #2b2116 0%, #1a150d 100%);
    border: 2px solid #5c4a32;
    border-radius: 12px;
    padding: 30px 50px;
    text-align: center;
}

.rs-travel-animation {
    font-size: 4em;
    margin-bottom: 20px;
    animation: travel-bounce 0.5s infinite alternate;
}

@keyframes travel-bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-10px); }
}

.rs-travel-progress-text {
    color: #ffd700;
    font-size: 1.2em;
    margin-bottom: 15px;
}

.rs-travel-progress-bar {
    width: 200px;
    height: 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #5c4a32;
    border-radius: 5px;
    overflow: hidden;
}

.rs-travel-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ff9900);
    transition: width 0.1s linear;
}

/* Empty/Loading states */
.rs-empty,
.rs-loading {
    padding: 20px;
    text-align: center;
    color: #8b7355;
    font-style: italic;
}

/* Scrollbar styling for travel panel */
.rs-tab-content::-webkit-scrollbar {
    width: 8px;
}

.rs-tab-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.rs-tab-content::-webkit-scrollbar-thumb {
    background: #5c4a32;
    border-radius: 4px;
}

.rs-tab-content::-webkit-scrollbar-thumb:hover {
    background: #7c6a52;
}

/* ========================================
   Action Panel - Parchment Style
   (Replaces scroll background)
   ======================================== */
.rs-action-panel {
    background:
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(139, 105, 20, 0.03) 2px, rgba(139, 105, 20, 0.03) 4px),
        repeating-linear-gradient(-45deg, transparent, transparent 2px, rgba(139, 105, 20, 0.02) 2px, rgba(139, 105, 20, 0.02) 4px),
        radial-gradient(ellipse at 20% 30%, rgba(210, 180, 140, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(210, 180, 140, 0.3) 0%, transparent 50%),
        linear-gradient(to bottom, #f7e8c8 0%, #f0ddb0 20%, #e8d4a0 50%, #f0ddb0 80%, #f5e2b8 100%);
    border: 4px solid #3d3020;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 0 80px rgba(139, 105, 20, 0.15);
    font-family: 'Times New Roman', Times, serif;
    color: #3d3020;
    overflow: hidden;
}

.rs-action-panel-header {
    background: linear-gradient(to bottom, #4a3d30, #3d3020);
    padding: 12px 15px;
    border-bottom: 2px solid #2d2518;
    display: flex;
    align-items: center;
    gap: 12px;
}

.rs-action-panel-header .rs-al-skill-icon {
    width: 48px;
    height: 48px;
    border: 2px solid #ffd700;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.3);
}

.rs-action-panel-header .rs-al-header-text h3 {
    color: #ffd700;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.8);
    margin: 0 0 4px 0;
    letter-spacing: 1px;
}

.rs-action-panel-header .rs-al-header-text p {
    color: #c9b896;
    font-size: 12px;
    margin: 0;
}

.rs-action-panel-content {
    padding: 15px;
    max-height: 600px;
    overflow-y: auto;
}

.rs-action-panel-content .rs-action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.rs-action-panel-content .rs-action-card {
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid #8b7355;
    border-radius: 4px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rs-action-panel-content .rs-action-card:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: #b8860b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.rs-action-panel-content .rs-ac-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.rs-action-panel-content .rs-ac-name {
    font-weight: bold;
    font-size: 13px;
    color: #2d2518;
}

.rs-action-panel-content .rs-ac-success {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: bold;
}

.rs-action-panel-content .rs-success-high {
    background: linear-gradient(to bottom, #4caf50, #388e3c);
    color: white;
}

.rs-action-panel-content .rs-success-good {
    background: linear-gradient(to bottom, #8bc34a, #689f38);
    color: white;
}

.rs-action-panel-content .rs-success-med {
    background: linear-gradient(to bottom, #ffc107, #ff9800);
    color: #333;
}

.rs-action-panel-content .rs-success-low {
    background: linear-gradient(to bottom, #f44336, #d32f2f);
    color: white;
}

.rs-action-panel-content .rs-ac-type {
    font-size: 11px;
    color: #5c4a32;
    font-style: italic;
    margin-bottom: 6px;
}

.rs-action-panel-content .rs-ac-rewards,
.rs-action-panel-content .rs-ac-requires {
    font-size: 11px;
    margin-bottom: 4px;
}

.rs-action-panel-content .rs-ac-req-label {
    color: #8b0000;
    font-weight: bold;
    margin-right: 4px;
}

.rs-action-panel-content .rs-ac-stats {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid rgba(139, 115, 85, 0.3);
}

.rs-action-panel-content .rs-ac-stat {
    font-size: 11px;
    color: #5c4a32;
}

.rs-action-panel-content .rs-ac-stat i {
    margin-right: 3px;
}

/* Scrollbar for action panel */
.rs-action-panel-content::-webkit-scrollbar {
    width: 8px;
}

.rs-action-panel-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.rs-action-panel-content::-webkit-scrollbar-thumb {
    background: #8b7355;
    border-radius: 4px;
}

.rs-action-panel-content::-webkit-scrollbar-thumb:hover {
    background: #a08565;
}

/* ========================================
   OSRS Shop Dropdown Styles
   ======================================== */
.rs-shops-dropdown {
    min-width: 280px;
}

.rs-shop-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #5c4a32, transparent);
    margin: 8px 0;
}

.rs-shop-section-title {
    font-size: 11px;
    color: #b8860b;
    text-transform: uppercase;
    font-weight: bold;
    padding: 4px 12px;
    letter-spacing: 1px;
}

.rs-local-shop {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px !important;
}

.rs-shop-icon {
    font-size: 16px;
    width: 24px;
    text-align: center;
}

.rs-shop-name {
    flex: 1;
    font-weight: 500;
}

.rs-shop-npc {
    font-size: 11px;
    color: #8b7355;
    font-style: italic;
}

.rs-nav-empty {
    padding: 12px;
    text-align: center;
    color: #8b7355;
    font-style: italic;
    font-size: 12px;
}

.rs-nav-loading {
    padding: 12px;
    text-align: center;
    color: #b8860b;
    font-size: 12px;
}

/* Shop stock indicators */
.shop.stock-none {
    opacity: 0.5;
    filter: grayscale(50%);
}

.shop.stock-low {
    box-shadow: inset 0 0 10px rgba(244, 67, 54, 0.3);
}

.shop.stock-med {
    box-shadow: inset 0 0 10px rgba(255, 193, 7, 0.2);
}

.shop-stock {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(0, 0, 0, 0.8);
    color: #ffd700;
    font-size: 10px;
    padding: 1px 4px;
    border-radius: 2px;
}

/* Responsive for action panel */
@media (max-width: 768px) {
    .rs-action-panel-content .rs-action-grid {
        grid-template-columns: 1fr;
    }

    .rs-action-panel-header {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   Admin Fast Travel Button
   ======================================== */
.rs-fast-travel-btn {
    background: linear-gradient(to bottom, #ffd700 0%, #b8860b 50%, #daa520 100%);
    border: 2px solid #8b6914;
    color: #1a150d;
    font-weight: bold;
    font-size: 14px;
    padding: 10px 24px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
}

.rs-fast-travel-btn:hover {
    background: linear-gradient(to bottom, #ffe44d 0%, #daa520 50%, #ffd700 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.rs-fast-travel-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.rs-fast-travel-btn i {
    margin-right: 6px;
}

/* ========================================
   Shop Panel - Parchment Style
   (Matches action panel styling)
   ======================================== */
.rs-shop-panel {
    background:
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(139, 105, 20, 0.03) 2px, rgba(139, 105, 20, 0.03) 4px),
        repeating-linear-gradient(-45deg, transparent, transparent 2px, rgba(139, 105, 20, 0.02) 2px, rgba(139, 105, 20, 0.02) 4px),
        radial-gradient(ellipse at 20% 30%, rgba(210, 180, 140, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(210, 180, 140, 0.3) 0%, transparent 50%),
        linear-gradient(to bottom, #f7e8c8 0%, #f0ddb0 20%, #e8d4a0 50%, #f0ddb0 80%, #f5e2b8 100%);
    border: 4px solid #3d3020;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 0 80px rgba(139, 105, 20, 0.15);
    font-family: 'Times New Roman', Times, serif;
    color: #3d3020;
    overflow: hidden;
}

.rs-shop-panel-header {
    background: linear-gradient(to bottom, #4a3d30, #3d3020);
    padding: 12px 15px;
    border-bottom: 2px solid #2d2518;
    display: flex;
    align-items: center;
    gap: 12px;
}

.rs-shop-panel-header .rs-shop-icon {
    font-size: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #ffd700;
    border-radius: 4px;
}

.rs-shop-panel-header .rs-shop-header-text h3 {
    color: #ffd700;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.8);
    margin: 0 0 4px 0;
    letter-spacing: 1px;
}

.rs-shop-panel-header .rs-shop-header-text p {
    color: #c9b896;
    font-size: 12px;
    margin: 0;
    font-style: italic;
}

.rs-shop-panel-content {
    padding: 15px;
    max-height: 500px;
    overflow-y: auto;
}

.rs-shop-panel-content .rs-shop-npc-text {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid #8b7355;
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 15px;
    font-style: italic;
    color: #3d3020;
}

.rs-shop-panel-content .rs-shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    gap: 8px;
}

.rs-shop-panel-content .rs-shop-item {
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid #8b7355;
    border-radius: 4px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.rs-shop-panel-content .rs-shop-item:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: #b8860b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.rs-shop-panel-content .rs-shop-item img {
    max-width: 48px;
    max-height: 48px;
}

.rs-shop-panel-content .rs-shop-item .rs-item-stock {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(0, 0, 0, 0.8);
    color: #ffd700;
    font-size: 10px;
    padding: 1px 4px;
    border-radius: 2px;
    font-family: 'Courier New', monospace;
}

.rs-shop-panel-content .rs-shop-item.stock-none {
    opacity: 0.5;
    filter: grayscale(50%);
    pointer-events: none;
}

.rs-shop-panel-content .rs-shop-item.stock-low {
    box-shadow: inset 0 0 10px rgba(244, 67, 54, 0.3);
}

/* Scrollbar for shop panel */
.rs-shop-panel-content::-webkit-scrollbar {
    width: 8px;
}

.rs-shop-panel-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.rs-shop-panel-content::-webkit-scrollbar-thumb {
    background: #8b7355;
    border-radius: 4px;
}

.rs-shop-panel-content::-webkit-scrollbar-thumb:hover {
    background: #a08565;
}

/* Shop modal item display */
#shopItem .modal-content {
    background:
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(139, 105, 20, 0.03) 2px, rgba(139, 105, 20, 0.03) 4px),
        linear-gradient(to bottom, #f7e8c8 0%, #f0ddb0 20%, #e8d4a0 50%, #f0ddb0 80%, #f5e2b8 100%);
    border: 3px solid #3d3020;
    color: #3d3020;
}

#shopItem .modal-header {
    background: linear-gradient(to bottom, #4a3d30, #3d3020);
    border-bottom: 2px solid #2d2518;
}

#shopItem .modal-header h4 {
    color: #ffd700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

#shopItem .modal-footer {
    background: rgba(0, 0, 0, 0.1);
    border-top: 1px solid #8b7355;
}

/* ═══════════════════════════════════════════════════════════════════════════
   WORLD EVENTS BAR
   ═══════════════════════════════════════════════════════════════════════════ */

.rs-world-events-bar {
    background: linear-gradient(to right, #1a1510, #2d2518 10%, #3d3020 50%, #2d2518 90%, #1a1510);
    border: 2px solid #8b6914;
    border-radius: 4px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 215, 0, 0.1);
}

.rs-we-header {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    background: linear-gradient(to bottom, #4a3d30, #3d3020);
    border-bottom: 1px solid #8b6914;
}

.rs-we-title {
    font-size: 11px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.rs-we-content {
    padding: 8px 15px;
    min-height: 40px;
    display: flex;
    align-items: center;
    position: relative;
}

.rs-we-event {
    display: none;
    width: 100%;
    animation: rsWeSlideIn 0.5s ease-out;
}

.rs-we-event.active {
    display: flex;
    align-items: center;
    gap: 12px;
}

@keyframes rsWeSlideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.rs-we-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.rs-we-icon.boss_spawn { color: #ff4444; }
.rs-we-icon.resource_boost { color: #44ff44; }
.rs-we-icon.invasion { color: #ff8800; }
.rs-we-icon.festival { color: #ff88ff; }
.rs-we-icon.double_xp { color: #ffff44; }

.rs-we-details {
    flex: 1;
    min-width: 0;
}

.rs-we-event-title {
    font-size: 14px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rs-we-event-desc {
    font-size: 12px;
    color: #d4c4a8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.rs-we-location {
    font-size: 11px;
    color: #b8860b;
    white-space: nowrap;
}

.rs-we-timer {
    font-size: 11px;
    color: #ffd700;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 8px;
    border-radius: 3px;
    border: 1px solid #8b6914;
    white-space: nowrap;
    flex-shrink: 0;
}

.rs-we-no-events {
    color: #888;
    font-style: italic;
    font-size: 13px;
    text-align: center;
    width: 100%;
}

.rs-we-dots {
    display: flex;
    gap: 6px;
    padding: 4px 12px 8px;
    justify-content: center;
}

.rs-we-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3d3020;
    border: 1px solid #8b6914;
    cursor: pointer;
    transition: background 0.2s ease;
}

.rs-we-dot.active {
    background: #ffd700;
}

.rs-we-dot:hover {
    background: #b8860b;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MODAL POSITION FIX
   Position modals below the fixed navbar
   ═══════════════════════════════════════════════════════════════════════════ */

.modal {
    padding-top: 60px !important; /* Account for navbar height */
}

.modal-dialog {
    margin-top: 20px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   UNIVERSAL OSRS MODAL THEME
   Apply .rs-modal class to any modal for OSRS styling
   ═══════════════════════════════════════════════════════════════════════════ */

.rs-modal .modal-content {
    background:
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(139, 105, 20, 0.03) 2px, rgba(139, 105, 20, 0.03) 4px),
        linear-gradient(to bottom, #f7e8c8 0%, #f0ddb0 20%, #e8d4a0 50%, #f0ddb0 80%, #f5e2b8 100%);
    border: 3px solid #3d3020;
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: #3d3020;
}

.rs-modal .modal-body {
    padding: 20px;
    color: #3d3020;
}

.rs-modal .modal-body .app-heading {
    background: linear-gradient(to bottom, #4a3d30, #3d3020);
    margin: -20px -20px 20px -20px;
    padding: 12px 20px;
    border-bottom: 2px solid #2d2518;
}

.rs-modal .modal-body .app-heading h3 {
    color: #ffd700 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    margin: 0;
}

.rs-modal .form-control {
    background: #f5e6c8;
    border: 1px solid #8b7355;
    color: #3d3020;
}

.rs-modal .form-control:focus {
    border-color: #b8860b;
    box-shadow: 0 0 5px rgba(184, 134, 11, 0.3);
}

.rs-modal .btn-default {
    background: linear-gradient(to bottom, #5a5040, #4a4035);
    border: 1px solid #3d3020;
    color: #d4c4a8;
}

.rs-modal .btn-default:hover {
    background: linear-gradient(to bottom, #6a6050, #5a5045);
    color: #ffd700;
}

.rs-modal .btn-primary {
    background: linear-gradient(to bottom, #8b6914, #6d5210);
    border: 1px solid #4a3810;
    color: #fff;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.rs-modal .btn-primary:hover {
    background: linear-gradient(to bottom, #a07916, #7d6212);
}

.rs-modal .btn-success {
    background: linear-gradient(to bottom, #4a7a20, #3a6018);
    border: 1px solid #2a4810;
}

.rs-modal .btn-danger {
    background: linear-gradient(to bottom, #8b2020, #6d1818);
    border: 1px solid #4a1010;
}

.rs-modal label {
    color: #3d3020;
    font-weight: bold;
}

.rs-modal hr {
    border-color: #8b7355;
}

.rs-modal .text-muted {
    color: #6d5d4a !important;
}

.rs-modal .alert-default {
    background: rgba(139, 105, 20, 0.15);
    border: 1px solid #8b7355;
    color: #3d3020;
}

.rs-modal .alert-success {
    background: rgba(74, 122, 32, 0.15);
    border: 1px solid #4a7a20;
    color: #3a6018;
}

.rs-modal .app-widget-tile {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid #8b7355;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 10px;
}

.rs-modal .app-widget-tile .title {
    color: #3d3020;
    font-weight: bold;
}

.rs-modal .app-widget-tile .intval {
    color: #8b6914;
    font-size: 18px;
    font-weight: bold;
}

.rs-modal .avatar-upload-section {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid #8b7355;
    border-radius: 4px;
}

.rs-modal .avatar-preview {
    width: 80px;
    height: 80px;
    border: 2px solid #8b6914;
    border-radius: 4px;
    object-fit: cover;
}

.rs-modal .avatar-hint {
    font-size: 11px;
    color: #6d5d4a;
    margin-top: 5px;
}

.rs-modal .select2-container--default .select2-selection--multiple {
    background: #f5e6c8;
    border: 1px solid #8b7355;
}

.rs-modal .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: #8b6914;
    border-color: #6d5210;
    color: #fff;
}

@media (max-width: 768px) {
    .rs-we-event.active {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .rs-we-timer {
        align-self: flex-end;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   OSRS EQUIPMENT PANEL STYLES
   ═══════════════════════════════════════════════════════════════════════════════ */

.osrs-equipment-panel {
    background: transparent;
    border: none;
    padding: 0;
    width: 140px;
    margin: 0 auto;
}

.osrs-equip-row {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-bottom: 2px;
}

.osrs-equip-spacer {
    width: 36px;
    height: 36px;
}

.osrs-equip-slot {
    width: 36px;
    height: 36px;
    position: relative;
    background: #1a1510;
    border: 1px solid #0d0c0a;
    border-radius: 2px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

/* Slot with equipped item - very dark background + yellow glow border */
.osrs-equip-slot.has-item {
    background: #000000;
    border-color: #c8aa00;
    box-shadow: inset 0 0 3px rgba(200, 170, 0, 0.5);
}

.osrs-equip-slot:hover {
    border-color: #8b7355;
}

.osrs-equip-slot.has-item:hover {
    border-color: #ffd700;
}

.osrs-equip-slot:hover .osrs-slot-bg {
    opacity: 0.5;
}

.osrs-slot-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    opacity: 0.3;
    image-rendering: pixelated;
    pointer-events: none;
}

.osrs-slot-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.osrs-slot-item img {
    max-width: 32px;
    max-height: 32px;
    image-rendering: pixelated;
    /* White outline to make items visible against dark background */
    filter: drop-shadow(0 0 1px #fff)
            drop-shadow(0 0 1px rgba(255,255,255,0.5))
            drop-shadow(1px 1px 2px rgba(0,0,0,1));
}

.osrs-slot-item .equip {
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    float: none !important;
    position: static !important;
}

.osrs-slot-item .equip > img {
    width: 100% !important;
    height: 100% !important;
    /* White outline for maximum visibility */
    filter: drop-shadow(0 0 1px #fff)
            drop-shadow(0 0 1px rgba(255,255,255,0.5))
            drop-shadow(1px 1px 2px rgba(0,0,0,1)) !important;
}

/* Equipment Buttons Row */
.osrs-equip-buttons {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid #5c4f3d;
}

.osrs-equip-btn {
    width: 32px;
    height: 32px;
    background: linear-gradient(180deg, #4d4030 0%, #3d3020 100%);
    border: 1px solid #5c4f3d;
    border-radius: 2px;
    cursor: pointer;
    padding: 2px;
    transition: all 0.2s;
}

.osrs-equip-btn:hover {
    background: linear-gradient(180deg, #5d5040 0%, #4d4030 100%);
    border-color: #8b7355;
}

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

.osrs-equip-btn img {
    width: 100%;
    height: 100%;
    opacity: 0.7;
    image-rendering: pixelated;
}

/* Equipment slot with item - hide background */
.osrs-equip-slot.has-item .osrs-slot-bg {
    opacity: 0.15;
}

/* 2H weapon occupies weapon slot and hides shield */
.osrs-equip-slot.slot-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   OSRS COMBAT OPTIONS PANEL STYLES
   ═══════════════════════════════════════════════════════════════════════════════ */

.osrs-combat-options {
    background: transparent;
    border: none;
    padding: 4px;
    width: 180px;
    margin: 0 auto;
}

.osrs-combat-header {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid #5c4f3d;
    margin-bottom: 6px;
}

.osrs-combat-icon {
    width: 28px;
    height: 28px;
    image-rendering: pixelated;
}

.osrs-combat-title {
    display: flex;
    flex-direction: column;
}

.osrs-combat-title > span:first-child {
    color: #ff981f;
    font-weight: bold;
    font-size: 12px;
}

.osrs-combat-level {
    color: #fff;
    font-size: 11px;
    margin-top: 2px;
}

/* Attack Styles 2x2 Grid */
.osrs-attack-styles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    margin-bottom: 6px;
}

.osrs-style-btn {
    background: linear-gradient(180deg, #4d4030 0%, #3d3020 100%);
    border: 1px solid #5c4f3d;
    border-radius: 2px;
    padding: 5px 3px;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.osrs-style-btn:hover {
    background: linear-gradient(180deg, #5d5040 0%, #4d4030 100%);
    border-color: #8b7355;
}

.osrs-style-btn.active {
    background: linear-gradient(180deg, #6d5a40 0%, #5d4a30 100%);
    border-color: #ff981f;
}

.osrs-style-btn.active .osrs-style-name {
    color: #ff981f;
}

.osrs-style-name {
    color: #fff;
    font-weight: bold;
    font-size: 11px;
}

.osrs-style-type {
    color: #aaa;
    font-size: 9px;
}

.osrs-style-loading {
    grid-column: span 2;
    text-align: center;
    color: #888;
    font-size: 10px;
    padding: 10px;
}

/* Auto Retaliate Button */
.osrs-auto-retaliate {
    width: 100%;
    background: linear-gradient(180deg, #4d4030 0%, #3d3020 100%);
    border: 1px solid #5c4f3d;
    border-radius: 2px;
    color: #fff;
    font-size: 10px;
    padding: 4px 6px;
    cursor: pointer;
    margin-bottom: 5px;
    transition: all 0.15s;
}

.osrs-auto-retaliate:hover {
    background: linear-gradient(180deg, #5d5040 0%, #4d4030 100%);
    border-color: #8b7355;
}

.osrs-auto-retaliate.active {
    background: linear-gradient(180deg, #2d5a2d 0%, #1d4a1d 100%);
    border-color: #4a8b4a;
}

/* Special Attack Bar */
.osrs-special-attack {
    margin-bottom: 5px;
}

.osrs-special-bar {
    background: #1a1510;
    border: 1px solid #5c4f3d;
    border-radius: 2px;
    height: 18px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.osrs-special-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(180deg, #00b300 0%, #008000 100%);
    transition: width 0.3s;
}

.osrs-special-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    text-shadow: 1px 1px 1px #000;
    z-index: 1;
}

/* Weapon Category */
.osrs-weapon-category {
    text-align: center;
    color: #888;
    font-size: 10px;
    padding-top: 6px;
    border-top: 1px solid #5c4f3d;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   UNIFORM TAB PANEL STYLING
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Hide inactive tabs - IMPORTANT: must use display:none */
#interfaceBoxContainer .tab-pane {
    display: none;
}

#interfaceBoxContainer .tab-pane.active {
    display: block;
}

/* Inventory tab */
#inventory-box {
    padding: 4px !important;
    margin-left: 0 !important;
}

/* Equipment tab - center content when active */
#equip-box.active {
    display: flex !important;
    align-items: flex-start;
    justify-content: center;
    padding-top: 4px;
}

/* Friends/Ignores tabs */
#friends-box,
#ignores-box {
    padding: 4px;
}

#friends-box .rs-social-list,
#ignores-box .rs-social-list {
    background: transparent;
    border: none;
    max-height: 250px;
}

#friends-box .rs-social-entries,
#ignores-box .rs-social-entries {
    max-height: 170px;
    overflow-y: auto;
}

/* Combat options tab - center content when active */
#combat-box.active {
    display: flex !important;
    align-items: flex-start;
    justify-content: center;
    padding-top: 4px;
}

/* Social list styling for friends/ignores */
.rs-social-list {
    background: linear-gradient(180deg, #3d3428 0%, #2d2418 50%, #1a1510 100%);
    border: 2px solid #5c4f3d;
    border-radius: 4px;
}

.rs-social-header {
    background: linear-gradient(180deg, #4d4030 0%, #3d3020 100%);
    color: #ff981f;
    font-weight: bold;
    font-size: 12px;
    padding: 6px 10px;
    border-bottom: 1px solid #5c4f3d;
}

.rs-social-entries {
    padding: 4px;
}

.rs-social-entry {
    background: rgba(0,0,0,0.2);
    border: 1px solid #3d3020;
    border-radius: 2px;
    padding: 4px 8px;
    margin-bottom: 2px;
    color: #fff;
    font-size: 11px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rs-social-entry:hover {
    background: rgba(255,255,255,0.1);
}

.rs-social-entry .online {
    color: #0f0;
}

.rs-social-entry .offline {
    color: #888;
}

.rs-social-loading {
    color: #888;
    text-align: center;
    padding: 20px;
    font-size: 11px;
}

.rs-social-actions {
    display: flex;
    gap: 4px;
    padding: 6px;
    border-top: 1px solid #5c4f3d;
}

.rs-social-btn {
    flex: 1;
    background: linear-gradient(180deg, #4d4030 0%, #3d3020 100%);
    border: 1px solid #5c4f3d;
    border-radius: 2px;
    color: #fff;
    font-size: 10px;
    padding: 4px 6px;
    cursor: pointer;
    transition: all 0.15s;
}

.rs-social-btn:hover {
    background: linear-gradient(180deg, #5d5040 0%, #4d4030 100%);
    border-color: #8b7355;
}

.rs-social-btn-add {
    background: linear-gradient(180deg, #2d5a2d 0%, #1d4a1d 100%);
    border-color: #4a8b4a;
}

.rs-social-btn-add:hover {
    background: linear-gradient(180deg, #3d6a3d 0%, #2d5a2d 100%);
}

.rs-social-btn-del {
    background: linear-gradient(180deg, #5a2d2d 0%, #4a1d1d 100%);
    border-color: #8b4a4a;
}

.rs-social-btn-del:hover {
    background: linear-gradient(180deg, #6a3d3d 0%, #5a2d2d 100%);
}

/* ==========================================================================
   OSRS-Style Prayer Panel - Matching Skills Panel Layout
   ========================================================================== */

/* Prayer box container - same dimensions as skills-box */
#prayer-box {
    height: 256px !important;
    max-height: 256px !important;
    overflow: hidden !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    margin-left: 5px !important;
    width: 190px !important;
    max-width: 190px !important;
}

/* Fix viewport container when viewing prayers */
._viewport_data_572:has(.osrs-prayer-panel) {
    position: relative !important;
    height: 256px !important;
    max-height: 256px !important;
    overflow: hidden !important;
}

/* When prayer tab is active */
.tab-pane#prayer-box.active {
    position: relative !important;
    overflow: hidden !important;
    height: 256px !important;
}

/* Prayer panel - constrained like skills panel */
.osrs-prayer-panel {
    display: flex;
    flex-direction: column;
    width: 190px;
    max-width: 190px;
    height: 256px;
    max-height: 256px;
    box-sizing: border-box;
    overflow: hidden;
    background: #3d3529;
    padding: 2px;
}

/* Prayer header - compact */
.osrs-prayer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 4px;
    background: linear-gradient(180deg, #4d4438 0%, #3d3428 100%);
    border-radius: 2px;
    margin-bottom: 2px;
    border: 1px solid #5c4a32;
    flex-shrink: 0;
    height: 22px;
    min-height: 22px;
}

.osrs-prayer-points {
    color: #00ffff;
    font-size: 10px;
    font-weight: bold;
    text-shadow: 1px 1px 2px #000;
}

.osrs-quick-prayers-btn {
    background: linear-gradient(180deg, #5c4a32 0%, #3d3428 100%);
    border: 1px solid #7c6a52;
    border-radius: 2px;
    padding: 1px 4px;
    cursor: pointer;
    transition: all 0.2s;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.osrs-quick-prayers-btn:hover {
    background: linear-gradient(180deg, #7c6a52 0%, #5c4a32 100%);
    box-shadow: 0 0 6px rgba(255, 200, 100, 0.3);
}

.osrs-quick-prayers-btn.active {
    background: linear-gradient(180deg, #4080c0 0%, #305080 100%);
    border-color: #60a0e0;
    box-shadow: 0 0 6px rgba(80, 180, 255, 0.5);
}

.quick-prayer-icon {
    width: 14px;
    height: 14px;
    image-rendering: pixelated;
    transition: filter 0.2s;
}

.osrs-quick-prayers-btn.active .quick-prayer-icon {
    filter: brightness(1.3) drop-shadow(0 0 2px rgba(100, 200, 255, 0.8));
}

/* Quick prayers setup banner */
.osrs-quick-prayers-setup {
    background: linear-gradient(180deg, #3d3428 0%, #2d2420 100%);
    padding: 2px 4px;
    border-radius: 2px;
    margin-bottom: 2px;
    border: 1px solid #5c4a32;
    flex-shrink: 0;
}

.quick-prayers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffd700;
    font-size: 9px;
    font-weight: bold;
}

.quick-prayers-close {
    background: none;
    border: none;
    color: #ff6b6b;
    font-size: 12px;
    cursor: pointer;
    line-height: 1;
    padding: 0 2px;
}

/* Prayer grid - 5 columns, fills remaining space */
.osrs-prayer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 1px;
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 2px;
    min-height: 0;
    overflow: hidden;
}

/* Prayer slot - flexible sizing */
.osrs-prayer-slot {
    position: relative;
    background: linear-gradient(180deg, #2d2820 0%, #1a1510 100%);
    border: 1px solid #4d4438;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.osrs-prayer-slot:hover {
    border-color: #7c6a52;
    box-shadow: 0 0 4px rgba(255, 200, 100, 0.3);
}

.osrs-prayer-slot.prayer-active {
    background: radial-gradient(circle, rgba(255, 230, 180, 0.4) 0%, rgba(200, 180, 100, 0.2) 50%, transparent 70%);
    border-color: #ffd700;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.5), inset 0 0 10px rgba(255, 215, 0, 0.2);
}

.osrs-prayer-slot.prayer-active .osrs-prayer-icon {
    filter: brightness(1.3) saturate(1.2);
}

.osrs-prayer-slot.prayer-locked {
    opacity: 0.4;
    cursor: not-allowed;
}

.osrs-prayer-slot.prayer-locked:hover {
    border-color: #4d4438;
    box-shadow: none;
}

.prayer-lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 2px;
}

/* Prayer icon - scales to fit slot */
.osrs-prayer-icon {
    width: 85%;
    height: 85%;
    max-width: 28px;
    max-height: 28px;
    image-rendering: pixelated;
    pointer-events: none;
    object-fit: contain;
}

/* Quick prayer selection mode */
.osrs-prayer-slot.prayer-quick-selected {
    border-color: #00ffff;
    box-shadow: 0 0 6px rgba(0, 255, 255, 0.5);
}

.osrs-prayer-grid.quick-setup-mode .osrs-prayer-slot:not(.prayer-locked) {
    border-color: #555;
}

.osrs-prayer-grid.quick-setup-mode .osrs-prayer-slot.prayer-quick-selected {
    border-color: #00ffff;
    background: rgba(0, 255, 255, 0.1);
}
