:root{
  --index: calc(1vw + 1vh);
  --primary: #6C8EBF;
  --secondary: #5B7A9D;
  --background: #1A1A1A;
  --text: #E0E0E0;
  --accent: #f95c52;
  --success: #7AA874;
  --fox-accent: #f95c52;
  --page-bg: linear-gradient(rgba(35,35,35,0.82), rgba(35,35,35,0.99) 100%), url("assets/img/Airbrush-image-extender.jpeg") fixed;
  --page-overlay: rgba(0,0,0,0.7);
}

[data-theme="fox"]{
  --primary: #6C8EBF;
  --secondary: #5B7A9D;
  --background: #1A1A1A;
  --text: #E0E0E0;
  --accent: #f95c52;
  --success: #7AA874;
  --fox-accent: #f95c52;
  --page-bg: linear-gradient(rgba(35,35,35,0.82), rgba(35,35,35,0.99) 100%), url("assets/img/Airbrush-image-extender.jpeg") fixed;
  --page-overlay: rgba(0,0,0,0.7);
}

html, body{
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body{
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  transition: background-color 0.5s ease, color 0.5s ease;
  line-height: 1.7;
}

/* Smooth theme transitions */
.page-body, .page-overlay, .navbar, .card-custom, .news-card, .grid-item, .grid-item.hot-map, .neon-card, .btn, .btn-dark, .btn-outline-light, .hot-map-score, .status-label, .status-value, .section-title, h1, h2, h3, h4, h5, h6, p, small, a{
  transition: background-color 0.5s ease,
              color 0.5s ease,
              border-color 0.5s ease,
              box-shadow 0.5s ease,
              text-shadow 0.5s ease;
}

.page-body{
  background: var(--page-bg);
  font-family: Afacad, sans-serif;
}

.page-overlay{
  background: var(--page-overlay);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  min-height: 100vh;
}

[data-theme="fox"] a{
  color: var(--fox-accent);
}

[data-theme="fox"] .navbar{
  border-bottom-color: rgba(249,92,82,0.55);
  background: linear-gradient(90deg, rgba(249,92,82,0.18), rgba(30,30,35,0.85) 35%, rgba(30,30,35,0.85) 65%, rgba(249,92,82,0.18)) !important;
}

[data-theme="fox"] .section-title, [data-theme="fox"] h2, [data-theme="fox"] h3, [data-theme="fox"] h4{
  text-shadow: 0 0 14px rgba(249,92,82,0.35);
}

[data-theme="fox"] .btn, [data-theme="fox"] .btn-dark, [data-theme="fox"] .btn-outline-light{
  border-color: rgba(249,92,82,0.6) !important;
  box-shadow: 0 0 12px rgba(249,92,82,0.22);
}

[data-theme="fox"] .btn:hover, [data-theme="fox"] .btn-dark:hover, [data-theme="fox"] .btn-outline-light:hover{
  box-shadow: 0 0 18px rgba(249,92,82,0.45);
}

[data-theme="fox"] .card-custom{
  border-color: rgba(249,92,82,0.35);
  box-shadow: 0 0 22px rgba(249,92,82,0.12), 0 10px 30px rgba(0,0,0,0.45);
}

[data-theme="fox"] .grid-item.hot-map::after{
  background: radial-gradient(circle, rgba(249,92,82,0.6), transparent 70%);
}

[data-theme="fox"] .card-custom:hover, [data-theme="fox"] .news-card:hover, [data-theme="fox"] .grid-item:hover{
  box-shadow:
    0 0 24px rgba(249,92,82,0.18),
    0 12px 34px rgba(0,0,0,0.45);
  border-color: rgba(249,92,82,0.55);
}

[data-theme="fox"] .section-title, [data-theme="fox"] h2, [data-theme="fox"] h3, [data-theme="fox"] h4{
  color: #f5e0de;
}

[data-theme="fox"] .status-value{
  color: #f5e0de;
}



[data-theme="fox"] .skills .badge{
  box-shadow: 0 0 12px rgba(249,92,82,0.25);
}

[data-theme="fox"] .progress-bar{
  background-color: var(--fox-accent);
}


::-webkit-scrollbar{
  background-color: var(--body);
  width: 4px;
  background-color: #262626;
}

::-webkit-scrollbar:hover{
  background-color: #262626;
  width: 6px;
}

::-webkit-scrollbar-thumb{
  border-radius: 4px;
  background: #ff7b36;
}

::-webkit-scrollbar-thumb:hover{
  background: #515151;
}

/* Навигация */

.navbar{
  background: linear-gradient(90deg,
      rgba(16,18,22,0.92),
      rgba(30,32,40,0.92) 40%,
      rgba(16,18,22,0.92) 60%,
      rgba(30,32,40,0.92)
  ) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  animation: navGlow 8s ease-in-out infinite;
}

@keyframes navGlow{
  0%{ box-shadow: 0 8px 26px rgba(0,0,0,0.35); }
  50%{ box-shadow: 0 12px 36px rgba(0,0,0,0.45); }
  100%{ box-shadow: 0 8px 26px rgba(0,0,0,0.35); }
}

.navbar .navbar-brand{
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar .navbar-brand::after{
  content: none;
}

.navbar-nav .nav-link{
  position: relative;
  letter-spacing: 0.2px;
  padding-bottom: 6px;
}

.navbar-nav .nav-link::after{
  content: none;
}

.navbar #themeToggle{
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14) !important;
  background: rgba(16,18,22,0.55) !important;
  color: rgba(235,243,255,0.92) !important;
  display: grid;
  place-items: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 14px 35px rgba(0,0,0,0.45);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.navbar #themeToggle::before, .navbar #themeToggle::after{
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.navbar #themeToggle::before{
  inset: -1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(249,92,82,0.20), transparent 55%);
}

.navbar #themeToggle::after{
  background:
    radial-gradient(circle at 50% 50%, rgba(100,160,255,0.35), transparent 60%);
  filter: blur(10px);
}

.navbar #themeToggle:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.28) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 18px 45px rgba(0,0,0,0.55);
}

.navbar #themeToggle:hover::before, .navbar #themeToggle:hover::after{
  opacity: 1;
}

.navbar #themeToggle:active{
  transform: translateY(0) scale(0.97);
}

.navbar #themeToggle i{
  position: relative;
  z-index: 1;
  font-size: 18px;
  line-height: 1;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.navbar #themeToggle.is-toggling i{
  animation: themeIconPop 450ms ease;
}

@keyframes themeIconPop{
  0%{ transform: rotate(0deg) scale(1); }
  40%{ transform: rotate(-18deg) scale(0.85); }
  100%{ transform: rotate(0deg) scale(1); }
}

html[data-theme="fox"] .navbar #themeToggle{
  border-color: rgba(249,92,82,0.40) !important;
  box-shadow: 0 0 0 1px rgba(249,92,82,0.12), 0 0 18px rgba(249,92,82,0.35), 0 18px 45px rgba(0,0,0,0.55);
  color: #ffd7d4 !important;
}

html[data-theme="fox"] .navbar #themeToggle::after{
  opacity: 0.35;
  background: radial-gradient(circle at 50% 50%, rgba(249,92,82,0.42), transparent 60%);
}

html[data-theme="fox"] .navbar #themeToggle i{
  text-shadow: 0 0 18px rgba(249,92,82,0.55);
}

html[data-theme="dark"] .navbar #themeToggle i{
  text-shadow: 0 0 18px rgba(100,160,255,0.45);
}

.navbar-nav{
  position: relative;
}

.nav-indicator{
  position: absolute;
  bottom: 2px;
  height: 3px;
  width: 28px;
  border-radius: 999px;
  background: var(--fox-accent);
  box-shadow: 0 0 10px rgba(249,92,82,0.7), 0 0 20px rgba(249,92,82,0.35);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.2s ease;
  pointer-events: none;
}

.navbar .container{
  position: relative;
}

@media (max-width: 991px){
  .navbar::before{
    display: none;
  }
  .navbar-nav .nav-link{
    padding: 10px 0;
  }
  .navbar-nav .nav-link::after{
    height: 1px;
  }
}

@media (max-width: 576px){
  .navbar .container{
    padding-right: 12px;
    padding-left: 12px;
  }
  .navbar .navbar-brand{
    max-width: calc(100% - 56px);
    gap: 8px;
  }
  .navbar .navbar-brand span{
    display: block;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .navbar-brand img{
    width: 34px;
  }
}

@media (max-width: 768px){
  #fullscreenVideo{
    display: none;
  }
  .page-overlay{
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(0,0,0,0.78);
  }
  .navbar, .card-custom, .news-card, .grid-item, .grid-item.hot-map, .neon-card, .btn, .btn-dark, .btn-outline-light, .hot-map-score, .loss-kpi, .loss-side, .war-status-card{
    box-shadow: none !important;
  }
  .navbar, .news-card, .card-custom, .grid-item, .neon-card, .btn{
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  [data-aos]{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Fox accents */
.section-title, h2, h3, h4{
  text-shadow: 0 0 12px rgba(249,92,82,0.25);
}

.navbar-brand img{
  filter: drop-shadow(0 0 6px rgba(249,92,82,0.6));
}

.btn, .btn-dark, .btn-outline-light{
  border-color: rgba(249,92,82,0.35) !important;
}

.btn:hover, .btn-dark:hover, .btn-outline-light:hover{
  box-shadow: 0 0 16px rgba(249,92,82,0.35);
}

/* Герой-секция */

.hero-section{
  position: relative;
  padding: clamp(150px, 19vh, 230px) 0 clamp(42px, 8vh, 90px);
  overflow: hidden;
}

.hero-section::before{
  content: '';
  position: absolute;
  inset: -20px;
  pointer-events: none;
  background:
    radial-gradient(700px 360px at 50% 35%, rgba(249,92,82,0.18), transparent 60%),
    radial-gradient(900px 520px at 15% 25%, rgba(100,160,255,0.10), transparent 60%),
    radial-gradient(900px 520px at 85% 20%, rgba(255,255,255,0.06), transparent 60%);
  filter: blur(0px);
  opacity: 0.95;
}

.hero-inner{
  margin-top: -40px;
  position: relative;
  max-width: 980px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero-kicker{
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(233,238,247,0.70);
}

.server-hint{
  margin-top: -15px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(233, 238, 247, 0.45);
  margin-bottom: 8px;
}

.hero-accent{
  color: var(--fox-accent);
  font-size: 0.64em;
  letter-spacing: 0.08em;
  text-shadow: 0 0 18px rgba(249,92,82,0.45);
}

.hero-line{
  width: min(280px, 78%);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(249,92,82,0.9), transparent);
  box-shadow: 0 0 14px rgba(249,92,82,0.32);
  opacity: 0.9;
  animation: heroLineSweep 3.2s ease-in-out infinite;
}

@keyframes heroLineSweep{
  0%{ transform: translateX(-16%); opacity: 0.5; }
  50%{ transform: translateX(16%); opacity: 1; }
  100%{ transform: translateX(-16%); opacity: 0.5; }
}

.hero-tags{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}


.hero-tag{
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: rgba(233,238,247,0.88);
  background: rgba(16,18,22,0.32);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}













.hero-scroll{
  margin-top: 0;
  width: 34px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.08);
  display: grid;
  place-items: start center;
  padding-top: 10px;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.hero-scroll__dot{
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--fox-accent);
  box-shadow: 0 0 14px rgba(249,92,82,0.55);
  animation: heroScrollDot 1.35s ease-in-out infinite;
}

@keyframes heroScrollDot{
  0%{ transform: translateY(0); opacity: 0.15; }
  40%{ opacity: 1; }
  100%{ transform: translateY(16px); opacity: 0.15; }
}

@media (max-width: 576px){
  .hero-kicker{
    letter-spacing: 0.20em;
  }
  
  
}

/* Карточки */

/* Анимации */

[data-aos]{
  transition: opacity 0.6s, transform 0.6s;
}

.aos-fade{
  opacity: 0;
  transform: translateY(20px);
}

.aos-fade.aos-animate{
  opacity: 1;
  transform: translateY(0);
}

/* Временная шкала */

.timeline{
  position: relative;
  padding-left: 40px;
  margin-left: 20px;
}

.timeline::before{
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--primary);
}

.timeline-item{
  position: relative;
  margin-bottom: 40px;
  padding-left: 30px;
}

.timeline-item::before{
  content: '';
  position: absolute;
  left: -8px;
  top: 5px;
  width: 16px;
  height: 16px;
  background: var(--background);
  border: 2px solid var(--primary);
  border-radius: 50%;
}

/* Дополнительные стили */

.member-card{
  position: relative;
  overflow: visible;
}







.map-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.grid-item{
  background: rgba(255,255,255,0.05);
  padding: 15px;
  border: 2px solid var(--primary);
  min-height: 100px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s;
}

.grid-item.hot-map{
  background: radial-gradient(120% 140% at 100% 0%, rgba(255,82,71,0.15) 0%, rgba(12,14,20,0.7) 40%, rgba(10,12,18,0.9) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.06);
  padding: 22px;
  min-height: 170px;
  overflow: hidden;
}

.grid-item.hot-map::before{
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 220px at -10% -30%, rgba(108,142,191,0.25), transparent 60%),
    radial-gradient(300px 200px at 120% 20%, rgba(255,82,71,0.2), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.grid-item.hot-map::after{
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,92,82,0.45), transparent 70%);
  filter: blur(6px);
  opacity: 0.7;
  pointer-events: none;
}

.grid-item.hot-map:hover{
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(255,255,255,0.28);
  box-shadow:
    0 16px 40px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.grid-item.hot-map .grid-label span{
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.3px;
  font-size: 1.08rem;
  color: #f2f4f8;
  text-transform: uppercase;
}

.grid-item.hot-map .grid-label{
  position: relative;
  z-index: 1;
}

.grid-item:hover{
  background: rgba(var(--primary-rgb), 0.1);
}





.hot-map-score{
  margin-top: 8px;
  font-size: 1rem;
  color: #f2d8d6;
  font-weight: 600;
  letter-spacing: 0.2px;
  position: relative;
  z-index: 1;
}









@media (max-width: 768px){
  .grid-item.hot-map{
    min-height: 150px;
    padding: 18px;
  }
  .grid-item.hot-map .grid-label span{
    font-size: 1.02rem;
  }
}

@keyframes pulse{
  0%{
    opacity: 1;
  }
  50%{
    opacity: 0.5;
  }
  100%{
    opacity: 1;
  }
}

.checklist{
  list-style: none;
  padding-left: 0;
}

.checklist li{
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}



.leaflet-container{
  background: #1a1a1a !important;
  border-radius: 8px;
}

.leaflet-control-attribution{
  background: rgba(0,0,0,0.7) !important;
  color: #fff !important;
}







.war-status-card{
}

.war-status-item{
  text-align: center;
  padding: 1.5rem;
}

.status-label{
  color: #a0aec0;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.status-value{
  font-size: 1.4rem;
  font-weight: 600;
  color: #cbd5e0;
}

.state-badge{
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
}





@keyframes pulse{
  0%{
    box-shadow: 0 0 0 0 rgba(72, 187, 120, 0.4);
  }
  70%{
    box-shadow: 0 0 0 10px rgba(72, 187, 120, 0);
  }
  100%{
    box-shadow: 0 0 0 0 rgba(72, 187, 120, 0);
  }
}





















@keyframes highlight{
  0%{
    background: rgba(255,215,0,0.3);
  }
  100%{
    background: transparent;
  }
}

.card-custom{
  min-height: 230px;
  background: rgba(26,29,36,0.18);
  border: 1px solid rgba(255,255,255,0.17);
  border-radius: 5px;
  transition: transform 0.3s;
}




.member-card h5{
  color: #e0e0e0;
  margin: 15px 0;
  font-family: 'Arial', sans-serif;
}

.text-muted{
  color: #6c757d !important;
}

.skills .badge{
  margin: 3px;
  color: #212529;
  font-weight: bold;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 0 10px rgba(255,255,255,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.badge{
  font-size: 11px;
}

.skills .badge:hover{
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(100,160,255,0.35), 0 0 28px rgba(255,82,71,0.2);
}

#fullscreenVideo{
  position: fixed;
  inset: 0;
  object-fit: cover;
  z-index: -1;
  width: 100vw;
  height: 100vh;
}

html{
  /*width: 100dvw;*/
}

.progress, .progress-stacked{
  --bs-progress-height: 1rem;
  --bs-progress-font-size: 0.75rem;
  --bs-progress-bg: var(--bs-secondary-bg);
  --bs-progress-border-radius: var(--bs-border-radius);
  --bs-progress-box-shadow: var(--bs-box-shadow-inset);
  --bs-progress-bar-color: #fff;
  --bs-progress-bar-bg: #0d6efd;
  --bs-progress-bar-transition: width 0.6s ease;
  display: flex;
  height: var(--bs-progress-height);
  overflow: hidden;
  font-size: var(--bs-progress-font-size);
  background-color: var(--bs-progress-bg);
  border-radius: var(--bs-progress-border-radius);
}

section{
  overflow: hidden;
  outline: none;
}


.war-timeline{
    position: relative;
    height: 20px;
    background-color: #262626;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.timeline-fill{
    height: 100%;
    width: 0%;
    background-color: var(--success); /*    */
    border-radius: 10px;
    transition: width 1s ease, background-color 0.5s ease;
}



[data-theme="fox"] .timeline-fill{
  background-color: var(--fox-accent);
}

[data-theme="fox"] .war-timeline{
  background-color: rgba(249,92,82,0.12);
  box-shadow: inset 0 0 12px rgba(249,92,82,0.2);
}

[data-theme="fox"] .section-title{
  color: #f5e0de;
}


.war-timeline-dates{
    font-size: 0.9rem;
    color: #718096;
    display: flex;
    justify-content: space-between;
}

.news-card{
    background: linear-gradient(135deg, rgba(18,20,28,0.95), rgba(26,30,40,0.85));
    border-radius: var(--card-radius);
    padding: 20px 22px;
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 16px 34px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.06);
    color: #f0f2f6;
    transition: transform 0.28s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 160px;
}
.news-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.55);
    border-color: rgba(249,92,82,0.32);
}
.news-card::before{
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(280px 140px at 110% -10%, rgba(249,92,82,0.18), transparent 60%),
        radial-gradient(220px 140px at -10% 110%, rgba(100,160,255,0.18), transparent 60%);
    opacity: 0.75;
    pointer-events: none;
}
.news-author{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.news-author-meta{
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.news-tag{
    align-self: flex-start;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(233,238,247,0.85);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
}
.news-author img{
    width: 44px;
    height: 44px;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.14);
}
.news-content{
    white-space: pre-wrap;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #e6e9ef;
}


.news-date{
    color: #9aa3b2;
    font-size: 0.8rem;
    margin-top: 10px;
    text-align: right;
}



.neon-card{
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    height: 100%;
    isolation: isolate;
    border-radius: inherit;
}

.neon-card::before{
    content: '';
    position: absolute;
    inset: -40px;
    border-radius: inherit;
    background:
        radial-gradient(420px 220px at 110% -20%, rgba(255,82,71,0.2), transparent 60%),
        radial-gradient(420px 220px at -10% 120%, rgba(108,142,191,0.18), transparent 60%);
    pointer-events: none;
    opacity: 0.9;
    z-index: 0;
}

.neon-card > *{
    position: relative;
    z-index: 1;
}

.neon-chart-wrap{
    position: relative;
    height: 240px;
    padding: 16px 12px 12px;
}

.neon-chart{
    width: 100%;
    height: 100% !important;
    display: block;
    margin: 0;
    flex: 0 0 auto;
}



.legend-dot{
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 10px currentColor;
}

.legend-dot.colonial{
    color: #64a0ff;
    background: #64a0ff;
}

.legend-dot.warden{
    color: #ff7a6f;
    background: #ff7a6f;
}

.neon-sub{
    margin-top: auto;
    padding-top: 10px;
    font-size: 0.9rem;
    color: #cbd5e0;
    position: relative;
    z-index: 1;
}

/* =========================
   Loss Summary (Left Stats)
   ========================= */

.loss-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.loss-kpi{
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(10,12,18,0.35);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.loss-kpi__label{
    font-size: 12px;
    color: rgba(233,238,247,0.65);
    letter-spacing: 0.2px;
}

.loss-kpi__value{
    margin-top: 6px;
    font-size: 22px;
    font-weight: 900;
    color: #e9eef7;
    font-variant-numeric: tabular-nums;
}

.loss-kpi--accent{
    border-color: rgba(249,92,82,0.35);
    background: radial-gradient(220px 120px at 15% 0%, rgba(249,92,82,0.18), transparent 60%), rgba(10,12,18,0.35);
    box-shadow: 0 0 24px rgba(249,92,82,0.16);
}

.loss-sides{
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.loss-side{
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(10,12,18,0.32);
}

.loss-side__label{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(233,238,247,0.68);
}

.loss-side__value{
    margin-top: 6px;
    font-size: 18px;
    font-weight: 800;
    color: #e9eef7;
    font-variant-numeric: tabular-nums;
}

.loss-side__sub{
    margin-top: 4px;
    font-size: 12px;
    color: rgba(233,238,247,0.55);
}

@media (max-width: 768px){
    .loss-grid, .loss-sides{
        grid-template-columns: 1fr;
    }
}

.neon-tooltip{
    position: absolute;
    padding: 6px 10px;
    background: rgba(10,12,18,0.92);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    color: #e9eef7;
    font-size: 0.85rem;
    pointer-events: none;
    box-shadow: 0 10px 24px rgba(0,0,0,0.4);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 3;
}

.neon-tooltip.show{
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px){
    
}

/* =========================
   WOW: Squad + Front Maps
   ========================= */

#squad{
    position: relative;
}

#squad .container{
    position: relative;
}

#squad #members-list{
    align-items: stretch;
}

#squad .member-card{
    position: relative;
    height: 100%;
    padding: 18px 18px 16px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(16,18,22,0.07);
    backdrop-filter: blur(20px) saturate(170%);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
    box-shadow: 0 18px 60px rgba(0,0,0,0.46);
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(0);
    transform-style: preserve-3d;
    transition: transform 0.22s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

#squad .member-card::before{
    content: '';
    position: absolute;
    inset: -1px;
    pointer-events: none;
    border-radius: inherit;
    background:
        radial-gradient(520px 300px at 15% 0%, rgba(249,92,82,0.16), transparent 60%),
        radial-gradient(560px 320px at 85% 20%, rgba(100,160,255,0.10), transparent 60%),
        linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03) 45%, rgba(249,92,82,0.10));
    opacity: 0.55;
}

#squad .member-card::after{
    content: '';
    position: absolute;
    inset: -1px;
    pointer-events: none;
    border-radius: inherit;
    background:
        radial-gradient(360px 240px at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,0.18), transparent 60%),
        radial-gradient(520px 320px at 90% 120%, rgba(249,92,82,0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.22s ease;
}

#squad .member-card:hover, #squad .member-card:focus-visible{
    border-color: rgba(255,255,255,0.26);
    box-shadow:
        0 26px 80px rgba(0,0,0,0.58),
        0 0 24px rgba(249,92,82,0.10);
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
}

#squad .member-card:hover::after, #squad .member-card:focus-visible::after{
    opacity: 1;
}

#squad .member-card:focus-visible{
    outline: none;
}

#squad .member-head{
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
    transform: translateZ(16px);
}

#squad .member-avatar{
    position: relative;
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    border-radius: 22px;
    overflow: visible;
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.10),
        0 10px 30px rgba(0,0,0,0.35);
}

#squad .member-avatar__img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    transform: none;
    filter: saturate(1.06) contrast(1.06);
}





/* =========================
   WOW: Stats + Bottom Block
   ========================= */

#stats, #achievements, #join{
  position: relative;
  overflow: visible;
}

#stats .container, #achievements .container, #join .container{
  position: relative;
}

.achievement-card{
  position: relative;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(16,18,22,0.07);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  box-shadow: 0 22px 70px rgba(0,0,0,0.48);
  overflow: hidden;
}

.achievement-card::before{
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(520px 280px at 12% 0%, rgba(249,92,82,0.18), transparent 62%),
    radial-gradient(520px 280px at 88% 20%, rgba(100,160,255,0.10), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03) 45%, rgba(249,92,82,0.10));
  opacity: 0.65;
}

.achievement-media{
  position: relative;
  z-index: 1;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(10,12,18,0.28);
  display: grid;
  place-items: center;
  padding: 14px;
}

.achievement-media img{
  width: 100%;
  height: auto;
  max-width: 160px;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.45));
}

.achievement-body{
  position: relative;
  z-index: 1;
  min-width: 0;
}

.achievement-kicker{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(10,12,18,0.28);
  color: rgba(233,238,247,0.78);
  font-size: 12px;
  letter-spacing: 0.3px;
  margin-bottom: 10px;
}

.achievement-title{
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.2px;
  color: rgba(233,238,247,0.96);
}

.achievement-desc{
  margin-top: 10px;
  margin-bottom: 16px;
  color: rgba(233,238,247,0.66);
  line-height: 1.55;
}

.achievement-progress{
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  overflow: hidden;
}

.achievement-progress__bar{
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(249,92,82,0.95), rgba(249,92,82,0.55));
  box-shadow: 0 0 18px rgba(249,92,82,0.25);
}

.achievement-meta{
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(233,238,247,0.70);
  font-size: 12px;
}

.achievement-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(10,12,18,0.22);
}

.pill-dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fox-accent);
  box-shadow: 0 0 10px rgba(249,92,82,0.55);
}

.join-shell{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: stretch;
}

.join-panel{
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(16,18,22,0.07);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  box-shadow: 0 22px 70px rgba(0,0,0,0.48);
  overflow: hidden;
  padding: 22px;
}

.join-panel::before{
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(520px 280px at 10% 0%, rgba(249,92,82,0.14), transparent 62%),
    radial-gradient(520px 280px at 90% 30%, rgba(100,160,255,0.10), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03) 45%, rgba(249,92,82,0.10));
  opacity: 0.55;
}

.join-panel > *{
  position: relative;
  z-index: 1;
}

.join-title{
  margin: 0 0 10px;
  font-weight: 950;
  letter-spacing: 0.2px;
}

.join-lead{
  margin: 0 0 18px;
  color: rgba(233,238,247,0.65);
}

.join-label{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(10,12,18,0.28);
  color: rgba(233,238,247,0.78);
  font-size: 12px;
  letter-spacing: 0.3px;
}

.join-checklist{
  list-style: none;
  padding: 14px 0 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.join-checklist li{
  position: relative;
  padding-left: 34px;
  color: rgba(233,238,247,0.78);
  line-height: 1.4;
}

.join-checklist li::before{
  content: '';
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: rgba(10,12,18,0.35);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 0 18px rgba(249,92,82,0.10);
}

.join-checklist li::after{
  content: '';
  position: absolute;
  left: 7px;
  top: 0.62em;
  width: 8px;
  height: 4px;
  border-left: 2px solid rgba(233,238,247,0.95);
  border-bottom: 2px solid rgba(233,238,247,0.95);
  transform: rotate(-45deg);
  filter: drop-shadow(0 0 10px rgba(249,92,82,0.25));
}

.join-cta{
  display: grid;
  gap: 14px;
}

.join-cta-top{
  display: flex;
  align-items: center;
  gap: 12px;
}

.join-cta-icon{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(10,12,18,0.30);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 0 22px rgba(249,92,82,0.14);
}

.join-cta-icon svg{
  width: 24px;
  height: 24px;
}

.join-cta-title{
  font-weight: 900;
  margin: 0;
}

.join-cta-desc{
  margin: 4px 0 0;
  color: rgba(233,238,247,0.65);
  font-size: 0.95rem;
}

.join-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.16);
  text-decoration: none;
  color: rgba(255,255,255,0.95);
  background: linear-gradient(135deg, rgba(249,92,82,0.92), rgba(249,92,82,0.55));
  box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 26px rgba(249,92,82,0.25);
  transition: transform 0.18s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.join-btn:hover{
  transform: translateY(-2px);
  filter: saturate(1.04);
  box-shadow: 0 20px 54px rgba(0,0,0,0.40), 0 0 30px rgba(249,92,82,0.32);
}

.join-btn:active{
  transform: translateY(0);
}

.join-btn svg{
  width: 20px;
  height: 20px;
}

@media (max-width: 992px){
  .join-shell{
    grid-template-columns: 1fr;
  }
  .achievement-card{
    grid-template-columns: 1fr;
  }
  .achievement-media{
    max-width: 260px;
  }
}

#squad .member-meta{
    min-width: 0;
    text-align: left;
}

#squad .member-name{
    font-weight: 900;
    letter-spacing: 0.2px;
    font-size: 18px;
    color: rgba(233,238,247,0.96);
    line-height: 1.15;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#squad .member-badges{
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#squad .member-badge{
    width: 20px;
    height: 20px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(10,12,18,0.35);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 6px 14px rgba(0,0,0,0.35);
    color: rgba(233,238,247,0.95);
    font-size: 12px;
}

#squad .member-badge.badge-verified{
    background: #2f80ff;
    border-color: rgba(255,255,255,0.35);
    box-shadow: 0 6px 14px rgba(47,128,255,0.45);
    color: #ffffff;
}

#squad .member-badge i{
    line-height: 1;
}

#squad .member-role{
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.35;
    color: rgba(233,238,247,0.58);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#squad .member-skills{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    position: relative;
    z-index: 1;
    transform: translateZ(10px);
    align-items: center;
}

#squad .member-skills:empty{
    display: none;
}

#squad .member-skills .skill-badge{
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.12), 0 0 16px rgba(249,92,82,0.10);
    color: rgba(10,12,18,0.95);
}

#squad .member-foot{
    font-size: 12px;
    color: rgba(233,238,247,0.58);
}

#squad .member-foot__date{
    color: rgba(233,238,247,0.82);
    font-weight: 600;
}

#squad .member-award{
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(10,12,18,0.35);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 10px 24px rgba(0,0,0,0.45);
    position: relative;
}

#squad .member-award__img{
    width: 16px;
    height: 16px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(249,92,82,0.25));
}

#squad .member-foot{
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.10);
    font-size: 12px;
    color: rgba(233,238,247,0.48);
    position: relative;
    z-index: 1;
    transform: translateZ(8px);
}

#squad .member-foot__date{
    color: rgba(233,238,247,0.76);
    font-weight: 700;
}

#front .war-map{
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    position: relative;
}

#front .war-map::before{
    content: none;
}

#front .map-grid{
    gap: 22px;
}

#front .grid-item.hot-map{
    border-radius: var(--card-radius);
    background: radial-gradient(120% 140% at 100% 0%, rgba(255,82,71,0.12) 0%, rgba(12,14,20,0.46) 40%, rgba(10,12,18,0.56) 100%);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
}

#front .hot-map-top{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    position: relative;
    z-index: 1;
}

#front .hot-rank{
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0,0,0,0.14);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(233,238,247,0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#front .grid-item.hot-map:first-child .hot-rank{
    border-color: rgba(249,92,82,0.40);
    background: rgba(249,92,82,0.14);
    color: #ffd7d4;
    box-shadow: 0 0 18px rgba(249,92,82,0.22);
}

#front .hot-meter{
    margin-top: 12px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

#front .hot-meter__fill{
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(100,160,255,0.95), rgba(249,92,82,0.95));
    box-shadow: 0 0 18px rgba(249,92,82,0.18);
}

#front .hot-map-score__n{
    color: #e9eef7;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

#front .hot-map-metrics{
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    position: relative;
    z-index: 1;
}

#front .hot-side{
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#front .hot-side__label{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(233,238,247,0.70);
}

#front .hot-dot{
    width: 8px;
    height: 8px;
    border-radius: 999px;
    box-shadow: 0 0 12px rgba(255,255,255,0.12);
}

#front .hot-dot--col{
    background: #64a0ff;
    box-shadow: 0 0 14px rgba(100,160,255,0.50);
}

#front .hot-dot--war{
    background: #f95c52;
    box-shadow: 0 0 14px rgba(249,92,82,0.55);
}

#front .hot-side__value{
    margin-top: 6px;
    font-size: 18px;
    font-weight: 800;
    color: #e9eef7;
    font-variant-numeric: tabular-nums;
}

#front .hot-side__delta{
    margin-top: 2px;
    font-size: 12px;
    color: rgba(233,238,247,0.52);
}

@media (max-width: 768px){
    #front .war-map{
        padding: 0;
    }
    #front .map-grid{
        gap: 16px;
    }
    #front .hot-map-metrics{
        grid-template-columns: 1fr;
    }
}

/* =========================
   Global Card Radius
   ========================= */

:root{
  --card-radius: 8px;
  --card-radius-lg: 10px;
}

.card-custom, .news-card, .grid-item, .grid-item.hot-map, #squad .member-card, .achievement-card, .join-panel, .loss-kpi, .loss-side, .war-status-card{
  border-radius: var(--card-radius);
}

/* =========================
   WOW: News Cards
   ========================= */

#news .news-card{
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 14px 14px;
  --news-card-height: 160px;
  height: var(--news-card-height);
  background: linear-gradient(140deg, rgba(16,18,26,0.96), rgba(24,30,40,0.86));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: none;
  overflow: hidden;
}

#news .news-card::before{
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--news-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  filter: saturate(1.1) contrast(1.05);
  transform: scale(1.04);
  transition: opacity 0.3s ease;
  z-index: 0;
}

#news .news-card.no-media::before{
  content: none;
}

#news .news-card::after{
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background:
    radial-gradient(420px 220px at 110% -10%, rgba(249,92,82,0.28), transparent 60%),
    radial-gradient(340px 220px at -10% 110%, rgba(100,160,255,0.22), transparent 60%);
  opacity: 0.55;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

#news .news-card > *{
  position: relative;
  z-index: 1;
}

#news .news-card:hover{
  transform: translateY(-2px);
  box-shadow: none;
  border-color: rgba(249,92,82,0.28);
}

#news .news-card:hover::after{
  opacity: 0.85;
}

#news .news-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

#news .news-author{
  display: flex;
  align-items: center;
  gap: 10px;
}

#news .news-author img{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 10px 20px rgba(0,0,0,0.45);
}

#news .news-author-meta{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#news .news-name{
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
  letter-spacing: 0.2px;
  font-size: 16px;
  color: rgba(233,238,247,0.96);
  line-height: 1.1;
}

#news .news-badges{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#news .news-badge{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(10,12,18,0.35);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 6px 14px rgba(0,0,0,0.45);
  color: rgba(233,238,247,0.95);
  font-size: 10px;
}

#news .news-badge i{
  line-height: 1;
}

#news .news-badge.badge-verified{
  background: #2f80ff;
  border-color: rgba(255,255,255,0.35);
  box-shadow: 0 6px 14px rgba(47,128,255,0.45);
  color: #ffffff;
}

#news .news-meta{
    position: absolute;
    top: -7px;
    right: -3px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

#news .news-tag{
  position: absolute;
  right: 11px;
  padding-right: 19px;
  bottom: 12px;
  top: auto;
  left: auto;
  margin: 0;
  align-self: auto;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: rgba(233,238,247,0.9);
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
}

#news .news-tag i{
  font-size: 11px;
}

#news .news-date{
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(233,238,247,0.7);
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
}

#news .news-content{
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(233,238,247,0.88);
  text-shadow: 0 2px 6px rgba(0,0,0,0.35);
  position: relative;
  --news-line: 1.5em;
  --news-max-lines: 6;
  --news-content-offset: 92px;
  --news-max-height: calc(var(--news-card-height) - var(--news-content-offset));
  max-height: var(--news-max-height);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: var(--news-max-lines);
  -webkit-box-orient: vertical;
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0,0,0,1) 0,
    rgba(0,0,0,1) calc(var(--news-line) * 3),
    rgba(0,0,0,0) var(--news-max-height)
  );
  mask-image: linear-gradient(
    180deg,
    rgba(0,0,0,1) 0,
    rgba(0,0,0,1) calc(var(--news-line) * 3),
    rgba(0,0,0,0) var(--news-max-height)
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

#news .news-card.no-media .news-content{
  text-shadow: none;
}

#news .news-content::after{
  content: none;
}

#news .news-expand{
  align-self: center;
  margin-top: 6px;
  width: 28px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.18);
  color: rgba(233,238,247,0.9);
  display: grid;
  place-items: center;
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

#news .news-expand:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.28);
}

#news .news-card.is-expanded .news-content{
  max-height: none;
  -webkit-line-clamp: unset;
  -webkit-mask-image: none;
  mask-image: none;
}

#news .news-card.is-expanded .news-content::after{
  opacity: 0;
}

#news .news-card.is-expanded{
  height: auto;
}

#news .news-card.is-expanded .news-expand i{
  transform: rotate(180deg);
}

#news .news-card.is-short .news-content{
  max-height: none;
  -webkit-line-clamp: unset;
  -webkit-mask-image: none;
  mask-image: none;
}

#news .news-card.is-short .news-expand{
  display: none;
}

@media (max-width: 768px){
  #news .news-name{
    font-size: 15px;
  }
}

.medal-tooltip {
    display: flex;
    align-items: center;
    gap: 10px;
}
.medal-tooltip img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
}
.medal-tooltip__title {
    font-weight: 600;
    white-space: nowrap;
}

.tooltip.medal-tooltip-pop .tooltip-inner {
    max-width: 320px;
    padding: 10px 12px;
}

