/* Public site layout fixes */

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-responsive table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.table-responsive table.drop {
  min-width: 760px;
}

.account-table {
  width: 100%;
  max-width: 500px;
}

.iptable {
  width: 100%;
}

/* Absorbed from mobile_redesign.css so shared public fixes live in one maintained layer */
:root {
  --gutter: 1rem;
  --card-radius: 0.5rem;
  --section-spacing: 1.5rem;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-size: 1rem;
  line-height: 1.5;
}

h1 {
  font-size: 1.8rem;
}

p {
  font-size: 1rem;
}

main.home > .container > * {
  margin-bottom: var(--section-spacing);
}

button,
.button,
.button-sign,
.signupButton,
.downloadButton {
  min-width: 44px;
  min-height: 44px;
}

.featuresBlock .flex {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gutter);
}

.features {
  position: relative;
  width: calc(33.333% - var(--gutter));
  border-radius: var(--card-radius);
  overflow: hidden;
}

.features img.card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features-info {
  position: relative;
  z-index: 1;
}

img,
video {
  max-width: 100%;
  height: auto;
}

iframe,
embed,
object {
  max-width: 100%;
}

@media (max-width: 768px) {
  html,
  body {
    min-height: 100%;
  }

  body {
    font-size: 0.95rem;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .features {
    width: calc(50% - var(--gutter));
  }

  input,
  select,
  textarea {
    font-size: 16px;
    min-width: 0;
  }

  .content {
    padding: 20px;
  }

  .content form,
  .formGroup {
    max-width: 100%;
  }

  .page {
    margin-bottom: 90px;
  }

  .col-xs-3,
  .col-xs-9 {
    width: 100%;
    float: none;
  }

  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table tr {
    display: table-row;
  }

  table td,
  table th {
    width: auto;
  }

  .errorGroup {
    position: static;
    margin: 10px 0 0;
    min-width: 0;
  }

  .errorGroup:before {
    display: none;
  }

  .account-table {
    max-width: 100%;
  }

  .pvpReward {
    width: 100% !important;
  }

  .select {
    width: 100% !important;
    margin-left: 0 !important;
  }

  .drop img {
    max-width: 140px;
    height: auto;
  }

  .card-inner img {
    max-width: 48px;
    height: auto;
  }
}

/* Visual polish */
body {
  background-color: #0f1213;
  background-image:
    radial-gradient(600px 320px at 12% -10%, rgba(36, 88, 140, 0.18), rgba(11, 15, 20, 0) 70%),
    radial-gradient(520px 300px at 88% -5%, rgba(140, 42, 52, 0.18), rgba(11, 15, 20, 0) 70%),
    url(../images/fon-bg.jpg);
  background-position:
    12% -10%,
    88% -5%,
    center top;
  background-repeat: no-repeat, no-repeat, no-repeat;
}

.menu > li > a:focus-visible,
.menu .dropDown-menu li a:focus-visible,
.topPanel-right .signIn:focus-visible {
  outline: 2px solid rgba(123, 199, 255, 0.9);
  outline-offset: 3px;
}

.topPanel {
  background: linear-gradient(90deg, rgba(8, 13, 20, 0.96), rgba(17, 25, 35, 0.92));
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.34);
}

.menu > li > a {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.menu > li.is-active > a,
.menu > li.is-open > a,
.menu > li:focus-within > a {
  color: #ff9095;
}

.menu > li.is-active > a::before,
.menu > li:focus-within > a::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 14px;
  height: 2px;
  background: linear-gradient(90deg, rgba(91, 210, 255, 0), rgba(91, 210, 255, 0.9), rgba(255, 110, 116, 0.9), rgba(255, 110, 116, 0));
}

.menu > li:focus-within > .dropDown-menu {
  display: block;
  animation: menudrop 0.5s linear;
}

.menu .dropDown-menu li.is-active > a {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(91, 210, 255, 0.35);
}

@media (min-width: 994px) {
  .topPane-menu-block {
    position: relative;
    overflow: visible;
  }

  .topPane-menu-block > .menu {
    margin-left: auto;
  }

  .menu > li {
    overflow: visible;
  }

  .menu > li > .dropDown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 14px 0 16px;
    background: linear-gradient(180deg, rgba(10, 16, 24, 0.96), rgba(13, 20, 29, 0.94));
    border: 1px solid rgba(120, 150, 180, 0.18);
    border-top: 0;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 22px 38px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 25;
  }

  .topPanel-left .menu > li > .dropDown-menu {
    left: 0;
    right: auto;
  }

  .topPane-menu-block > .menu > li > .dropDown-menu {
    left: auto;
    right: 0;
  }

  .menu > li > .dropDown-menu li {
    width: 100%;
    padding: 0 22px;
  }

  .menu > li > .dropDown-menu li a {
    white-space: nowrap;
  }

  .menu .points,
  .menu .user {
    width: auto;
    min-width: 140px;
  }

  .menu .points > a,
  .menu .user > a {
    text-align: center;
    min-width: 140px;
    height: 54px;
    line-height: 54px;
    margin-top: 13px;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(20, 31, 44, 0.92), rgba(15, 23, 34, 0.96));
    border: 1px solid rgba(120, 150, 180, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 14px 24px rgba(0, 0, 0, 0.22);
  }

  .menu .points > a {
    color: #ff8f94;
  }

  .menu .user > a {
    color: #eaf2ff;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 12px;
  border: 1px solid rgba(120, 150, 180, 0.35);
  border-radius: 16px;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(0, 0, 0, 0.35),
    0 0 18px rgba(84, 140, 210, 0.2);
  background:
    radial-gradient(140px 90px at 0 0, rgba(88, 146, 214, 0.22), rgba(0, 0, 0, 0) 70%),
    radial-gradient(140px 90px at 100% 0, rgba(190, 88, 112, 0.22), rgba(0, 0, 0, 0) 70%),
    radial-gradient(140px 90px at 0 100%, rgba(88, 146, 214, 0.16), rgba(0, 0, 0, 0) 70%),
    radial-gradient(140px 90px at 100% 100%, rgba(190, 88, 112, 0.16), rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 20;
}

body::after {
  content: "";
  position: fixed;
  inset: 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.04);
  pointer-events: none;
  z-index: 19;
}

main.home {
  background-image: none;
}

.str-m:after {
  display: none;
}

header {
  background:
    radial-gradient(600px 260px at 15% 20%, rgba(44, 116, 188, 0.08), rgba(9, 12, 18, 0) 70%),
    radial-gradient(520px 220px at 85% 0%, rgba(145, 30, 43, 0.08), rgba(9, 12, 18, 0) 70%),
    linear-gradient(180deg, rgba(9, 12, 18, 0.45) 0%, rgba(9, 12, 18, 0.2) 55%, rgba(9, 12, 18, 0.06) 100%);
  box-shadow: inset 0 -20px 40px rgba(0, 0, 0, 0.18);
}

.site-header--compact {
  height: 280px;
}

.site-header--compact .logo {
  top: 92px;
  left: 50%;
  margin-left: -160px;
  transform: scale(0.72);
  transform-origin: top center;
}

.site-header--compact .serverBlock,
.site-header--compact .fcb,
.site-header--compact .signupBlock,
.site-header--compact .downloadBlock,
.site-header--compact .sparks,
.site-header--compact .smoke {
  display: none;
}

.site-header--compact + .page > .container {
  margin-top: 32px;
}

.logo img {
  filter: brightness(1.15) drop-shadow(0 6px 18px rgba(0, 0, 0, 0.55));
}

.serverBlock .server {
  min-width: 120px;
  padding: 10px 12px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(13, 20, 29, 0.74), rgba(10, 16, 24, 0.42));
  border: 1px solid rgba(120, 150, 180, 0.12);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.24);
}

.fcb p {
  color: #e6edf3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  margin-bottom: 8px;
  line-height: 1.1;
  position: relative;
  z-index: 1;
}

.fcb .progress {
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(120, 150, 180, 0.18);
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.26);
}

.fcb .lightFc,
.fcb .furyFc {
  position: relative;
  z-index: 1;
}

.fcb .lightFc span,
.fcb .furyFc span {
  position: relative;
  z-index: 2;
}

.fcb .fcSepare {
  left: 50%;
  top: 0;
  margin-left: 0;
  transform: translateX(-50%);
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}

.signupBlock .signupButton,
.downloadBlock .downloadButton {
  border-radius: 10px;
  overflow: hidden;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

@media (max-width: 993px) {
  .site-header + .home > .container,
  .site-header--compact + .page > .container {
    margin-top: 20px;
  }

  .account-page .content,
  .shop-page .content {
    padding: 22px;
  }

  .shop-page .shop-header {
    align-items: flex-start;
  }

  .shop-page .shop-balance-card,
  .shop-page .shop-login-card {
    width: 100%;
    justify-content: space-between;
  }

  .fcb .fcSepare {
    display: none;
  }
}

@media (max-width: 768px) {
  .site-header--compact {
    height: 210px;
    padding-top: 0;
  }

  .site-header--compact .logo {
    top: 72px;
    margin-left: -120px;
    transform: scale(0.55);
  }
}

.recharge-card {
  max-width: 720px;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(76, 90, 110, 0.4);
  background:
    linear-gradient(140deg, rgba(24, 32, 44, 0.98), rgba(16, 20, 26, 0.92));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.recharge-note {
  font-size: 18px;
  color: #f4b4b4;
  margin-bottom: 20px;
}

.recharge-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  border-radius: 30px;
  background: linear-gradient(135deg, #3dbb6b 0%, #1f8f4e 100%);
  box-shadow: 0 10px 20px rgba(31, 143, 78, 0.35);
}

.recharge-button:hover {
  filter: brightness(110%);
}

@media (max-width: 768px) {
  .recharge-card {
    padding: 18px;
  }

  .recharge-note {
    font-size: 16px;
  }

  .recharge-button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 0.9rem;
  }

  .features {
    width: 100%;
  }

  .content {
    padding: 16px;
  }

  .modalBlock {
    padding: 24px;
  }

  .modal_div h1 {
    font-size: 20px;
  }

  .modalBlock h2 {
    font-size: 22px;
  }

  .facebookButton {
    width: 100%;
    max-width: 320px;
  }

  .topPane-menu-block {
    width: 85vw;
    left: -85vw;
    padding-top: 120px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .btn-button.active {
    left: calc(85vw - 50px);
  }

  .topPane-menu-block .menu .points,
  .topPane-menu-block .menu .user {
    width: 100%;
    text-align: left;
    padding-left: 40px;
  }

  .topPanel-right .signIn {
    width: 100%;
    max-width: 260px;
    padding: 14px 20px;
  }
}

@media (max-width: 320px) {
  h1 {
    font-size: 1.6rem;
  }

  .topPane-menu-block {
    width: 82vw;
    left: -82vw;
  }

  .btn-button.active {
    left: calc(82vw - 50px);
  }
}

.str-block a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Absorbed from mobile_styles.css so shared public responsive behavior lives in one maintained layer */
@media (max-width: 1600px) {
  .toTop {
    right: 10px;
    bottom: 10px;
    z-index: 20;
  }

  .socBlock-fixed {
    left: 10px;
    bottom: 10px;
    margin-bottom: 0;
    z-index: 20;
  }
}

@media (max-width: 1200px) {
  header {
    padding: 0 15px;
  }

  section {
    padding: 30px 0;
  }

  .str-m:after,
  .toTop {
    display: none;
  }

  .str-m {
    margin-bottom: 40px;
  }

  .str-m a:hover {
    transform: scale(1) !important;
  }

  .str-m .streamBlock {
    width: 40%;
  }

  .str-m .mediaBlock {
    width: 60%;
  }

  .str-m .mediaBlock .artwork,
  .str-m .mediaBlock .media-l,
  .str-m .mediaBlock .video,
  .str-m .mediaBlock .screens {
    width: 50%;
  }

  .str-m .mediaBlock .cosplay {
    width: 100%;
  }

  .str-m .mediaBlock .cosplay span {
    left: 20px;
  }

  .str-m .mediaBlock .video span,
  .str-m .mediaBlock .screens span {
    left: 10px;
  }

  .container,
  .topPanel {
    padding: 0 15px;
  }

  .topPanel a {
    margin-right: 15px;
  }

  .menu li {
    padding: 0 10px;
    width: 130px;
  }

  .menu li a {
    padding: 0 10px;
  }

  .news .button {
    opacity: 1;
  }

  .fMenu {
    margin-right: 100px;
  }

  .sparks {
    display: none;
  }
}

@media (max-width: 993px) {
  .wrapper {
    background: none;
  }

  .topPanel-wrapper {
    height: 50px;
  }

  .topPanel-wrapper:after {
    display: none;
  }

  .topPanel a {
    margin-right: 0;
  }

  .logo-panel {
    left: 50%;
    top: 5px;
    margin-top: 0;
    width: 100px;
    margin-left: -50px;
    text-align: center;
  }

  .logo-panel a {
    margin-right: 0;
  }

  .logo-panel img {
    height: 40px;
  }

  .socBlock-fixed {
    top: 5px;
    bottom: auto;
    right: 15px;
    left: auto;
    background: none;
    padding: 12px 2px;
  }

  .topPane-menu-block {
    display: block;
    position: fixed;
    left: -320px;
    top: 0;
    width: 320px;
    height: 100%;
    background: #14171c;
    padding: 150px 20px 20px;
    transition: 0.5s;
    z-index: 22;
  }

  .topPane-menu-block.active {
    left: 0;
  }

  .topPane-menu-block .topPanel-left {
    overflow-y: auto;
  }

  .topPane-menu-block .topPanel-right {
    position: absolute;
    top: 50px;
    width: calc(100% - 40px);
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #34393d;
  }

  .topPane-menu-block .menu {
    display: block;
    width: 100%;
    margin-top: 50px;
    margin-left: 0;
  }

  .topPane-menu-block .menu li {
    height: auto;
    padding: 20px 0 20px 40px;
    width: 100%;
  }

  .topPane-menu-block .menu li a {
    font-size: 20px;
    height: auto;
    line-height: 1;
  }

  .topPane-menu-block .menu .dropDown-menu {
    padding: 10px 0 10px 40px;
  }

  .topPane-menu-block .menu .dropDown-menu li,
  .topPane-menu-block .menu .dropDown-menu li a {
    padding: 10px 0;
  }

  .topPane-menu-block .menu:hover .dropDown-menu {
    display: none;
  }

  .topPane-menu-block .menu li:hover .dropDown-menu,
  .topPane-menu-block .menu li.is-open > .dropDown-menu {
    display: block;
  }

  .btn-button {
    position: fixed;
    left: 10px;
    top: 15px;
    z-index: 23;
    transition: 0.5s;
  }

  .btn-button span {
    display: block;
    width: 30px;
    height: 3px;
    margin-bottom: 4px;
    background: rgba(255, 255, 255, 0.8);
    transition: 0.5s;
  }

  .btn-button.active {
    left: 270px;
    top: 25px;
  }

  .btn-button.active span:nth-child(1) {
    transform: rotate(45deg);
    margin-bottom: -3px;
  }

  .btn-button.active span:nth-child(2) {
    display: none;
  }

  .btn-button.active span:nth-child(3) {
    transform: rotate(-45deg);
  }

  .logo,
  .serverBlock,
  .fcb,
  .signupBlock,
  .downloadBlock {
    position: relative;
    width: 100%;
    text-align: center;
    top: auto;
    left: auto;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
  }

  .serverBlock .server {
    margin-right: 0;
    margin: 0 10px;
  }

  .fcb {
    position: relative;
  }

  .fcb .progress {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
  }

  header {
    padding-top: 80px;
    height: auto;
  }

  .sliderBlock,
  .newsBlock {
    width: 100%;
  }

  .swiper-slider-small {
    right: 0;
    bottom: 0;
  }

  .swiper-button-next,
  .swiper-button-prev {
    margin-top: -20px;
  }

  .slideNewsBlock {
    padding-bottom: 30px;
    margin-bottom: 30px;
  }

  .str-m .streamBlock,
  .str-m .mediaBlock {
    width: 100%;
  }

  .str-m .mediaBlock h2 {
    text-align: left;
  }

  .str-block {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
  }

  .str-block a {
    margin: 0 10px;
  }

  .featuresBlock {
    height: auto;
  }

  .fMenu {
    margin-right: 40px;
  }
}

@media (max-width: 769px) {
  header {
    padding-top: 80px;
    height: auto;
  }

  .logo,
  .serverBlock,
  .fcb,
  .signupBlock,
  .downloadBlock {
    position: relative;
    width: 100%;
    text-align: center;
    top: auto;
    left: auto;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
  }

  .serverBlock .server {
    margin-right: 0;
    margin: 0 10px;
  }

  .fcb {
    position: relative;
  }

  .fcb .progress {
    width: 100%;
    max-width: 450px;
  }

  .features {
    width: 50%;
    margin: 0 0 20px;
  }

  .featuresBlock .flex {
    flex-wrap: wrap;
  }

  .signupBlock .signup-links a,
  .downloadBlock .download-links a {
    margin-left: 15px;
  }

  .streamBlock a img {
    position: relative;
    z-index: 3;
  }

  .footer-menu,
  .sectionflex {
    justify-content: center;
    width: 100%;
  }

  .fMenu {
    margin-right: 0;
    margin: 0 20px 20px;
  }

  footer {
    padding: 30px 0;
  }

  .logos img {
    margin-bottom: 20px;
  }

  .modalBlock {
    height: 100%;
  }

  .modal_div {
    align-items: flex-start;
  }

  .scroll-modal {
    height: calc(100% - 50px);
    overflow-y: auto;
  }
}

@media (max-width: 576px) {
  .socBlock-fixed {
    right: 10px;
  }

  .socBlock-fixed a {
    margin-right: 3px;
    margin-left: 3px;
  }

  .serverBlock .server {
    margin: 0 2px 10px;
  }

  .fcb {
    position: relative;
  }

  .fcb .progress {
    width: 100%;
    max-width: 300px;
    height: 60px;
  }

  .fcb .lightFc,
  .fcb .furyFc {
    padding: 20px 0;
    font-size: 18px;
  }

  .downloadButton,
  .signupButton {
    width: 100%;
    max-width: 300px;
  }

  .downloadButton {
    margin-bottom: 15px;
  }

  .downloadBlock .download-links a,
  .mediaButton .button,
  .featuresBlock h2 {
    color: #fff;
  }

  .swiper-button-next,
  .swiper-button-prev {
    top: 10px;
    margin-top: 0;
  }

  .swiper-button-next {
    right: 10px;
  }

  .swiper-button-prev {
    right: 44px;
  }

  .playBlock {
    top: 100px;
    bottom: auto;
  }

  .newsBlock {
    padding: 15px;
    height: auto;
  }

  .news {
    padding: 13px 0;
    flex-wrap: wrap;
  }

  .news .button {
    width: 100%;
    margin-top: 15px;
  }

  .news:before {
    display: none;
  }

  .str-block {
    flex-wrap: wrap;
  }

  .str-block a {
    margin-bottom: 15px;
  }

  .str-m .mediaBlock .media-l,
  .artwork,
  .features {
    width: 100% !important;
  }

  .fMenu {
    margin: 0 5px 20px;
    width: 46%;
  }

  .modalBlock {
    padding: 30px;
  }

  .facebookButton {
    width: 100%;
  }

  .formGroup-button {
    margin-top: 20px;
    justify-content: center;
  }

  .formGroup-button .lost-pass {
    display: inline-block;
    margin-bottom: 15px;
  }

  table tr {
    display: flex;
    flex-wrap: wrap;
  }

  table tr td {
    width: 100%;
  }

  .streamBlock a {
    width: 100%;
    padding-left: 20px;
  }

  .swiper-slider {
    height: 200px;
  }
}

@media (max-width: 768px) {
  body::before {
    inset: 6px;
    border-radius: 10px;
  }

  body::after {
    inset: 14px;
    border-radius: 8px;
  }

  .newsBlock {
    padding: 28px 24px;
    height: auto;
  }

  .newsTitle {
    gap: 14px;
  }

  .newsTitle h2 {
    margin-bottom: 14px;
  }

  .newsTabs span {
    padding-bottom: 16px;
  }
}

@media (max-width: 993px) {
  body.nav-open {
    overflow: hidden;
  }

  .nav-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 8, 14, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 21;
  }

  .nav-drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .topPane-menu-block {
    left: 0;
    width: min(360px, 88vw);
    max-width: 88vw;
    height: 100dvh;
    padding: 120px 0 28px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    box-shadow: 24px 0 48px rgba(0, 0, 0, 0.42);
    z-index: 22;
  }

  .topPane-menu-block.active {
    left: 0;
    transform: translateX(0);
  }

  .topPane-menu-block .topPanel-left,
  .topPane-menu-block > .menu,
  .topPane-menu-block .topPanel-right {
    width: 100%;
    display: block;
    flex: 0 0 auto;
  }

  .topPane-menu-block .topPanel-left {
    overflow: visible;
  }

  .topPane-menu-block .menu {
    display: block;
    width: 100%;
    margin: 0;
  }

  .topPane-menu-block .menu > li {
    width: 100%;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .topPane-menu-block .menu > li > a {
    min-height: 56px;
    height: auto;
    line-height: 1.35;
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .topPane-menu-block .menu > li > a[aria-haspopup="true"]::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }

  .topPane-menu-block .menu > li.is-open > a[aria-haspopup="true"]::after {
    transform: rotate(225deg);
  }

  .topPane-menu-block .menu .dropDown-menu {
    display: none;
    padding: 0 0 12px;
    background: rgba(255, 255, 255, 0.03);
  }

  .topPane-menu-block .menu .dropDown-menu li {
    width: 100%;
    padding: 0;
  }

  .topPane-menu-block .menu .dropDown-menu li a {
    display: block;
    padding: 12px 40px 12px 58px;
    height: auto;
    line-height: 1.4;
  }

  .topPane-menu-block .menu:hover .dropDown-menu,
  .topPane-menu-block .menu li:hover > .dropDown-menu {
    display: none;
  }

  .topPane-menu-block .menu li.is-open > .dropDown-menu {
    display: block;
  }
}

@media (hover: none) and (pointer: coarse) {
  .menu:hover .dropDown-menu,
  .menu li:hover > .dropDown-menu {
    display: none;
  }

  .menu li.is-open > .dropDown-menu {
    display: block;
  }
}

/* Header polish */
.content h1,
.content h2,
.content h3 {
  color: #e6edf3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.content h1 {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.content h1::after {
  content: "";
  display: block;
  width: 140px;
  height: 2px;
  margin-top: 12px;
  background: linear-gradient(90deg, rgba(93, 178, 255, 0.8), rgba(255, 102, 114, 0.6), rgba(255, 255, 255, 0));
}

.content h2 {
  font-size: 20px;
  margin-bottom: 18px;
}

.content h3 {
  font-size: 16px;
  margin-bottom: 14px;
}

/* Page header */
.page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}

.page-header h1 {
  margin: 0 0 6px;
  color: #f3f6fb;
  font-size: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  position: relative;
}

.page-header h1::after {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  margin-top: 8px;
  background: linear-gradient(90deg, rgba(93, 178, 255, 0.8), rgba(255, 102, 114, 0.6), rgba(255, 255, 255, 0));
}

.page-header p {
  margin: 0;
  font-size: 13px;
  color: #8fa2a5;
}

.account-page .content {
  max-width: 980px;
  margin: 0 auto;
}

.account-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.account-summary__card {
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(86, 102, 126, 0.32);
  background: linear-gradient(160deg, rgba(17, 25, 34, 0.98), rgba(11, 16, 24, 0.92));
  box-shadow: 0 20px 32px rgba(0, 0, 0, 0.22);
}

.account-summary__label {
  display: block;
  margin-bottom: 10px;
  color: #8fa2a5;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.account-summary__value {
  display: block;
  color: #f3f6fb;
  font-size: 20px;
  line-height: 1.35;
  word-break: break-word;
}

.account-panel {
  margin-bottom: 24px;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid rgba(86, 102, 126, 0.28);
  background: linear-gradient(180deg, rgba(12, 17, 24, 0.96), rgba(10, 13, 19, 0.92));
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.24);
}

.account-panel h3 {
  margin-bottom: 10px;
}

.account-panel__hint {
  margin-bottom: 16px;
  color: #8fa2a5;
  font-size: 13px;
}

.account-table td:first-child,
.iptable th {
  color: #c2d4e7;
  font-weight: 600;
}

.account-table td:last-child,
.iptable td {
  color: #f3f6fb;
}

.shop-page .content {
  max-width: 1120px;
  margin: 0 auto;
}

.shop-page .shop-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}

.shop-page .shop-title h1 {
  margin: 0 0 6px;
  color: #f3f6fb;
}

.shop-page .shop-subtitle {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #9db0c2;
}

.shop-page .shop-balance-card,
.shop-page .shop-login-card {
  background: linear-gradient(160deg, rgba(17, 25, 34, 0.98), rgba(11, 16, 24, 0.92));
  border: 1px solid rgba(86, 102, 126, 0.34);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d6dee6;
  box-shadow: 0 20px 32px rgba(0, 0, 0, 0.22);
}

.shop-page .shop-balance-card strong {
  color: #f3f6fb;
  font-size: 16px;
}

.shop-page .shop-login-card a.button {
  padding: 10px 18px;
}

.shop-page .shop-status {
  margin-bottom: 16px;
  font-size: 13px;
  color: #9aa4b2;
}

.shop-page .shop-status.error {
  color: #f48771;
}

.shop-page .shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.shop-page .shop-card {
  position: relative;
  background: linear-gradient(160deg, #111922 0%, #0b1016 100%);
  border: 1px solid #253144;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #d6dee6;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.shop-page .shop-card:hover {
  transform: translateY(-2px);
  border-color: #3a4a63;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
}

.shop-page .shop-card__top {
  display: flex;
  gap: 12px;
  align-items: center;
}

.shop-page .shop-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: #0b1118;
  border: 1px solid #2b394b;
  background-repeat: no-repeat;
  background-size: 512px 512px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #cfe1e6;
  flex: 0 0 44px;
}

.shop-page .shop-card__image {
  width: 100%;
  height: 140px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  border: 1px solid #263246;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.shop-page .shop-card--image .shop-card__image {
  margin-top: 2px;
}

.shop-page .shop-card__title {
  margin: 0;
  color: #f6f7fb;
  font-size: 16px;
}

.shop-page .shop-card__meta {
  font-size: 12px;
  color: #9aa4b2;
}

.shop-page .shop-card__desc {
  font-size: 13px;
  line-height: 1.5;
  color: #b2bbc7;
  min-height: 40px;
}

.shop-page .shop-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.shop-page .shop-card__price {
  font-size: 16px;
  color: #f3f6fb;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-page .shop-card__price del {
  color: #758090;
  font-size: 12px;
  font-weight: 400;
}

.shop-page .shop-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: rgba(255, 110, 116, 0.15);
  color: #ff6e74;
  border: 1px solid rgba(255, 110, 116, 0.4);
  width: fit-content;
}

.shop-page .shop-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-page .shop-actions .button {
  white-space: nowrap;
}

.shop-page .shop-empty {
  color: #9aa4b2;
}

/* Features page styling */
.features-page .content {
  position: relative;
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
  padding: 38px 40px 42px;
  background:
    radial-gradient(520px 240px at 15% 0%, rgba(36, 88, 140, 0.2), rgba(10, 13, 15, 0) 70%),
    linear-gradient(180deg, rgba(16, 23, 34, 0.96) 0%, rgba(10, 13, 15, 0.96) 100%);
  border: 1px solid rgba(90, 110, 135, 0.55);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.4);
}

.droplist-page .content,
.bosses-page .content {
  max-width: 1100px;
  margin: 0 auto;
}

.features-page .content::before {
  display: none;
}

.features-page .page-logo {
  display: none;
}

.features-page .content ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  padding-left: 0;
  margin: 24px 0 28px;
}

.features-page .content ul li {
  list-style: none;
  position: relative;
  padding: 10px 12px 10px 34px;
  font-size: 14px;
  color: #d7e1ee;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  background: rgba(12, 16, 22, 0.55);
  border: 1px solid rgba(90, 110, 140, 0.35);
  border-left: 3px solid rgba(110, 176, 255, 0.6);
  border-radius: 8px;
}

.features-page .content ul li::before {
  content: ">";
  position: absolute;
  left: 12px;
  top: 10px;
  color: #8fc0ff;
  font-weight: bold;
  letter-spacing: -0.5px;
}

.features-page .content p {
  text-align: center;
  color: #9fb4c9;
  font-style: italic;
  margin-top: 24px;
}

.bosses-page .boss-page-header h2 {
  margin: 0 0 6px;
  color: #f3f6fb;
  font-size: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  position: relative;
}

.bosses-page .boss-page-header h2::after {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  margin-top: 8px;
  background: linear-gradient(90deg, rgba(93, 178, 255, 0.8), rgba(255, 102, 114, 0.6), rgba(255, 255, 255, 0));
}

@media (max-width: 900px) {
  .features-page .content {
    padding: 32px 24px;
  }

  .features-page .content ul {
    grid-template-columns: 1fr;
  }
}

/* News + Events feed */
.news-page .content,
.events-page .content {
  max-width: 1080px;
  margin: 0 auto;
}

.news-page .news-container,
.events-page .news-container {
  width: 100%;
  margin: 0;
  max-width: 100%;
}

.content-feed {
  display: grid;
  gap: 22px;
}

.content-feed__month {
  margin: 26px 0 4px;
  color: #e6edf3;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  padding-bottom: 10px;
}

.content-feed__month::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 160px;
  height: 2px;
  background: linear-gradient(90deg, rgba(123, 199, 255, 0.7), rgba(255, 122, 134, 0.5), rgba(255, 255, 255, 0));
}

.content-card {
  display: flex;
  gap: 24px;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid rgba(85, 105, 130, 0.55);
  background:
    linear-gradient(160deg, rgba(20, 26, 36, 0.96), rgba(12, 16, 22, 0.92));
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
}

.content-card__media {
  position: relative;
  flex: 0 0 320px;
  min-height: 190px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(52, 84, 128, 0.4), rgba(20, 24, 32, 0.9));
}

.content-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-card__badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 6px 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #0b0f14;
  background: linear-gradient(120deg, #f0d38a, #d68c2b);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.content-card__body {
  flex: 1;
  min-width: 0;
}

.content-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #8fa2a5;
}

.content-card__tag {
  padding: 4px 10px;
  border-radius: 999px;
  color: #f6f1df;
  background: rgba(255, 190, 92, 0.16);
  border: 1px solid rgba(255, 190, 92, 0.35);
}

.content-card__date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(100, 130, 160, 0.35);
  background: rgba(12, 16, 22, 0.45);
  color: #cfe0f2;
}

.content-card__title {
  margin: 10px 0 12px;
  font-size: 22px;
  color: #f3f6fb;
  letter-spacing: 0.6px;
}

.content-card__title a {
  color: inherit;
  text-decoration: none;
}

.content-card__title a:hover {
  color: #ff7f86;
}

.content-card__text {
  color: #d5e1ef;
  font-size: 15px;
  line-height: 1.7;
}

.content-card__text p {
  margin: 0 0 8px;
}

.content-card__text ul,
.content-card__text ol {
  margin: 10px 0 14px 20px;
  padding: 0;
}

.content-card__text li {
  margin-bottom: 6px;
}

.content-card__text h2,
.content-card__text h3,
.content-card__text h4 {
  margin: 18px 0 10px;
  color: #f2f5fb;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.content-card__text h2 {
  font-size: 22px;
}

.content-card__text h3 {
  font-size: 18px;
}

.content-card__text h4 {
  font-size: 16px;
}

.content-card__text a {
  color: #7cc6ff;
  text-decoration: underline;
}

.content-card__text a:hover {
  color: #ff7f86;
}

.content-card__text img {
  max-width: 100%;
  border-radius: 12px;
  margin: 12px 0;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.content-card__text blockquote {
  margin: 14px 0;
  padding: 12px 16px;
  border-left: 3px solid rgba(123, 199, 255, 0.6);
  background: rgba(14, 18, 24, 0.6);
  color: #b9c7d8;
  font-style: italic;
}

.content-card__text--clamp {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.content-card__actions {
  margin-top: 16px;
}

.content-card__actions--center {
  text-align: center;
}

.content-card__footer {
  margin-top: 12px;
  font-size: 12px;
  color: #8fa2a5;
}

.content-card--detail {
  flex-direction: column;
}

.content-card--detail .content-card__media {
  flex: 0 0 auto;
  width: 100%;
  max-height: 380px;
}

@media (max-width: 900px) {
  .content-card {
    flex-direction: column;
  }

  .content-card__media {
    width: 100%;
    max-height: 240px;
  }

  .content-card__title {
    font-size: 20px;
  }

  .account-summary {
    grid-template-columns: 1fr;
  }

  .shop-page .shop-card__image {
    height: 120px;
  }
}

/* Home feature grid layout */
.featuresBlock {
  height: auto;
  margin-bottom: 60px;
}

.featuresBlock .flex {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.features {
  width: auto;
  margin: 0;
}

@media (max-width: 1200px) {
  .featuresBlock .flex {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features:hover {
    height: 390px;
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .featuresBlock .flex {
    grid-template-columns: 1fr;
  }
}

/* Button borders */
button:not(.btn-button),
.button,
.button-sign,
.signupButton,
.downloadButton {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(0, 0, 0, 0.25),
    0 10px 18px rgba(0, 0, 0, 0.25);
}

button:not(.btn-button):hover,
.button:hover,
.button-sign:hover,
.signupButton:hover,
.downloadButton:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 0 0 1px rgba(0, 0, 0, 0.2),
    0 12px 20px rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-button {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
  cursor: pointer;
}

.btn-button:focus-visible {
  outline: 2px solid rgba(123, 199, 255, 0.9);
  outline-offset: 4px;
}
