html{zoom: 0.9;}


/* ===   === */
/*body {
    font-family: 'HeliosCond-bold', Arial, sans-serif;
    color: #e0e0e0;
    margin: 0;
    padding: 20px;
    background-image: url('/stats/ico/bodytop_bc.jpg');
    background-size: cover, cover;
    background-position: top, bottom;
    background-repeat: no-repeat, no-repeat;
    
}*/

/* ===   === */
.profile-header { text-align: center; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid #3d434d; }
.username { font-size: 24px; font-weight: bold; color: #ffffff; margin-bottom: 5px; text-shadow: 0 0 5px #00ffff; }
.clan { color: #00ffff; padding-right:155px; font-size: 14px; }

/* ===  === */
.tabs-wrapper { align-items: flex-start; height: auto !important; max-height: none !important; flex-grow: 0 !important; }
.tabs { display:flex; gap:10px; padding:0; list-style:none; }
.tabs li { padding: 10px 20px; cursor: pointer; color: #1F2HQQ; border-bottom: 2px solid transparent; }
.tabs li.active { color: #003538; border-bottom: 2px solid #4a90e2; }

/* ===   === */
.tab-content { flex: 1; }
.tab-content > div { display: none; padding: 1px; }
.tab-content > div.active { display: block; }

/* ===   === */
.achievements { padding: 0; border: none; background: none; margin-top: 10px; }
.achievements h3 { padding-right: 0.5cqh; color: #ffffff; margin-top: 0; border-bottom: 1px solid #3d434d; padding-bottom: 10px; text-align: center; }

/*   */
.favorite-hero { background: none; border: none; box-shadow: none; padding: 0; margin: 0; width: 100%; margin-right:25px; }
.hero-img { width: 64px; margin-bottom: 8px; }
.hero-info p { margin: 4px 0; font-size: 13px; color: #cceeff; }

/* ===============================
   STATS CARDS — FIXED & CENTERED
   =============================== */


.stats-frame {
  background-color: rgba(0, 64, 70, 0.88);

  width: 100%;
  max-width: 360px;
  min-height: 84px;

  padding: 10px 14px;
  box-sizing: border-box;

  border-radius: 12px;
  border: 1px solid rgba(0,255,255,.35);

  box-shadow:
    inset 0 0 10px rgba(0,255,255,.25),
    0 6px 18px rgba(0,0,0,.35);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  gap: 2px;
}

.stats-frame p {
  margin: 0;
  font-size: 14px;
  line-height: 1.15;
  color: #cceeff;
}

.stats-frame p:first-child {
  font-weight: 700;
  color: #eaffff;
  margin-bottom: -2px;
}

/* ===============================
   GRID TRACK VARIABLES
   =============================== */
:root {
  --track-left:   360px;
  --track-mid:    420px;
  --track-right:  360px;
  --sep:           28px;
  --sep-color: transparent;
}

/* ===============================
   STATS SUMMARY — DENSE VERSION
   =============================== */

.stats-summary {
  display: grid;
  grid-template-columns:
    var(--track-left)
    var(--sep)
    var(--track-mid)
    var(--sep)
    var(--track-right);

  width: 100%;
  max-width: calc(
    var(--track-left) +
    var(--track-mid) +
    var(--track-right) +
    2 * var(--sep)
  );

  margin: 12px auto 0;
  align-items: stretch;
  justify-content: center;
}

.stats-summary > :nth-child(1){ grid-column: 1; }
.stats-summary > :nth-child(2){ grid-column: 3; }
.stats-summary > :nth-child(3){ grid-column: 5; }
.stats-summary > :nth-child(4){ grid-column: 3; }

/* ===== BASE CARD ===== */
.stats-summary > div {
  position: relative;

  background:
    linear-gradient(
      180deg,
      rgba(10,70,76,.88),
      rgba(4,34,38,.95)
    );

  border-radius: 16px;
  border: 1px solid rgba(0,255,255,.32);

  padding: 10px 16px;
  min-height: 70px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  gap: 2px;

  box-shadow:
    0 6px 18px rgba(0,0,0,.45);

  backdrop-filter: blur(2px);
  transition: transform .18s ease, box-shadow .18s ease;
}

/* subtle glow line */
.stats-summary > div::after {
  content: "";
  position: absolute;
  inset: auto 14px 0 14px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0,255,255,.6),
    transparent
  );
  opacity: .6;
}

/* ===== TEXT ===== */
.stats-summary > div p {
  margin: 0;
  line-height: 1.05;
}

/* label */
.stats-summary > div p:first-child {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #8fe9ef;
  opacity: .9;
  margin-bottom: -2px;
}

/* value */
.stats-summary > div p:last-child {
  font-size: 1.55rem;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 0 8px rgba(0,255,255,.5);
}

/* ===== CENTER (ACCOUNT RATING) ===== */
.stats-summary-accrang,
.stats-summary > div:nth-child(4) {
  margin-top: 22px;

  background:
    linear-gradient(
      180deg,
      rgba(0,145,155,.96),
      rgba(0,80,86,.96)
    );

  border-color: rgba(0,255,255,.6);

  box-shadow:
    0 12px 30px rgba(0,255,255,.35),
    0 8px 24px rgba(0,0,0,.65);

  transform: translateY(-4px);
}

.stats-summary > div:nth-child(4) p:last-child {
  font-size: 1.8rem;
  line-height: 1.05;
  text-shadow:
    0 0 14px rgba(0,255,255,.8);
}

/* ===== HOVER ===== */
.stats-summary > div:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 32px rgba(0,0,0,.65);
}

.stats-summary > div:nth-child(4):hover {
  transform: translateY(-4px);
}

/* ===============================
   ACHIEVEMENTS LAYOUT
   =============================== */

.achievements-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 12px;
}

.achievements-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.achievements-row {
  display: grid !important;

  grid-template-columns:
    var(--track-left)
    var(--sep)
    minmax(0, 1fr)
    var(--sep)
    var(--track-right);

  width: 100%;
  max-width: calc(
    var(--track-left) +
    var(--track-mid) +
    var(--track-right) +
    2 * var(--sep)
  );

  margin: 8px auto 0;
  padding: 8px 0;

  align-items: start;
  box-sizing: border-box;

  background:
    linear-gradient(var(--sep-color), var(--sep-color))
      left var(--track-left) / var(--sep) 100% no-repeat,
    linear-gradient(var(--sep-color), var(--sep-color))
      left calc(100% - var(--track-right) - var(--sep))
      / var(--sep) 100% no-repeat;
}



/* ===============================
   GRID COLUMNS — CENTERED
   =============================== */

.achievements-grid{
  grid-column: 1;
  max-width: var(--track-left);
  justify-self: center;
}

/*   */
.left-section{
  grid-column: 3;
  max-width: var(--track-mid);

  padding-left: 0;              /*   */
  justify-self: center;

  display: flex;
  flex-direction: column;
  gap: 16px;

  align-items: center;          /*  */
}

/*   */
.win-loss-chart{
  grid-column: 5;
  width: var(--track-right);
  height: var(--track-right);

  margin: 0;
  justify-self: center;        
}

/* canvas    */
.win-loss-chart canvas{
  width: 45cqh !important;
  height: 45cqh !important;
  display: block;
  margin: 0 auto;
}

/* ===============================
   CONTENT ALIGNMENT
   =============================== */

.profile-title h2{
  color: #00ffff;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 5px #00ffff;
}

/*   */
.favorite-hero-container{
  background-color: rgba(0, 64, 70, 0.85);
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #00ffff44;
  box-shadow: 0 0 8px #00ffff33 inset;

  width: 100%;
  max-width: 350px;

  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/*   */
.rank-img{
  width: 20px;
  height: auto;
  vertical-align: middle;
  margin-left: 6px;
}

/*  */
.charts{
  margin-top: 20px;
  display: flex;
  justify-content: center;
}






/* =====   (   ) ===== */
.favorite-hero {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 76px;
  text-align: center;
}
.left-section > .stats-frame .hero-img,
.favorite-hero .hero-img{
  grid-column: 1;
  justify-self: end;
  border-radius: 8px;
}
.left-section > .stats-frame .hero-info,
.favorite-hero .hero-info{
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.25;
  margin: 0;
}
.left-ection > .stats-frame .hero-info p,
.favorite-hero .hero-info p{
  margin: 2px 0;
  white-space: normal;
  word-break: break-word;
}

/* ===== Favorites box:  " " ==== */
.favorites-on-main {
  width: min(260px, 100%);
  background: rgba(0,64,70,.90);
  border: 1px solid rgba(0,255,255,.35);
  border-radius: 10px;
  padding: 8px 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,.45);
  backdrop-filter: blur(1px);
  margin: 10px 0;
  position: relative; /*     */
}

/*  */
.favorites-on-main .fav-header{
  display:flex; align-items:center; justify-content:center; gap:8px;
  margin-bottom: 6px;
  position: relative;
}
.favorites-on-main .fav-header .username{
  color:#00ffff; font-weight:700; text-align:center; width:100%;
  text-shadow: 0 0 3px rgba(0,255,255,.35);
  font-size: 18px;
}

.favorites-on-main .fav-clear-btn{
  position:absolute; right:8px; top:8px;
  padding:4px 8px; border-radius:6px;
  border:1px solid rgba(0,255,255,.35);
  background:#003e44; color:#cceeff; cursor:pointer; font-size:.85rem;
}
.favorites-on-main .fav-clear-btn:hover{ filter:brightness(1.06); }

.favorites-on-main .fav-list{
  display:flex; flex-direction:column; gap:6px;
  max-height: 220px;
  overflow: auto;
  padding-right: 2px;
}

.favorites-on-main .fav-card{
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  backround:#002b30;
  border:1px solid rgba(0,255,255,.18);
  border-radius: 8px;
  padding: 6px 8px;
}


.favorites-on-main .fav-card .fav-link{
  color:#cceeff; font-weight:600; text-decoration:none;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  display:block;
}

.favorites-on-main .fav-card .fav-remove{
  background:#5a0b0b;
  border:1px solid rgba(255,255,255,.12);
  color:#fff; border-radius: 8px;
  padding: 2px 6px; line-height:1;
  cursor:pointer; font-weight:700;
}
.favorites-on-main .fav-card .fav-remove:hover{ background:#7a0f0f; }






/* ==================     ================== */
.left-section > .stats-frame{
  padding-right: 20px;
  padding-left: 20px;
}
.left-section > .stats-frame:has(.hero-img),

/* ========     ======== */
.hero-card-link { text-decoration: none; color: inherit; display:block; }



.hero-section{
  background: rgba(0,64,70,.55);
  border: 1px solid #00ffff22;
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 10px;
}
.hero-section-title{ font-weight:700; color:#00ffff; margin-bottom:6px; }
.hero-stats{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap:6px 16px; }
.hero-stats .stat-name{ color:#aee; }
.hero-stats .stat-val{ color:#fff; }

.hero-detail-skills { display:flex; flex-direction:column; gap:10px; }
.hero-detail-skills--empty { color:#88a; font-style: italic; }
.hero-skill-caption { font-weight:700; color:#00ffff; }
.hero-skill-item { background:#00343a; border:1px solid #00ffff22; border-radius:6px; padding:8px 10px; }
.hero-skill-name { font-weight:600; color:#fff; margin-bottom:4px; }
.hero-skill-text { color:#cceeff; font-size:.95rem; line-height:1.35; }

.hero-detail-history { background: rgba(0,64,70,.6); border:1px solid #00ffff33; border-radius:8px; padding: 12px 16px; }
.hero-history-title { font-weight:700; color:#00ffff; margin-bottom:8px; }
.hero-history-empty { color:#9ab; }

.hero-history-table { display:grid; gap:6px; }
.hero-history-row { display:grid; grid-template-columns: 90px 140px 140px 110px 100px 60px; gap:8px; align-items:center; padding:6px 8px; border-radius:6px; }
.hero-history-row--head { background:#002b30; color:#aee; font-weight:600; }
.hero-history-row.is-win { background:#013a34; }
.hero-history-row.is-loss { background:#3a0111; }
.hero-history-row a { color:#aee; text-decoration: underline; }
.hero-history-row .delta.pos { color:#7CFF8A; }
.hero-history-row .delta.neg { color:#FF6B6B; }
.hero-history-row .delta.zero { color:#cceeff; }
/*       */
/*       */
.container{ position:relative; } /*   abs   */

.server-tops-on-main{
  position:absolute;
  top:150px;     /*    / */
  left:20px;
  width:min(340px, 28vw);
  z-index:6;
}

.server-top{
  display:flex;
  flex-direction:column;      /*    */
  align-items:flex-start;
  gap:10px;                   /*   —    */
  margin-bottom:24px;         /*     */
}

.server-top-art{
  position:relative;
  width: 220px;               /*   «» */
  height: 86px;
}
.server-top-bar{
  position:absolute; inset:0;
  width:100%; height:auto; object-fit:contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
}
/*   */
.server-top-crown{
  position:absolute;
  width:72px;                 /*   */
  height:auto;
  left:50%; transform:translateX(-50%);
  top:-14px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
}

/*    */
.server-top-caption{
  display:flex; flex-direction:column; gap:6px; /*  4px */
  padding-left: 4px;
}
.server-top-title{
  font-weight:800; color:#cceeff;
  text-shadow:0 0 6px rgba(0,255,255,.35);
  letter-spacing:.5px; font-size:0.92rem;
}
.server-top-nick{ color:#00ffff; font-weight:700; text-decoration:none; }
.server-top-nick:hover{ text-decoration:underline; }
.server-top-sub{ color:#a8c6d1; font-size:.9rem; }

/* =========================================================
   WEEKLY TOP — PRIME WORLD (GOLD / SILVER / BRONZE)
   ========================================================= */

/* ===============================
   CONTAINER
   =============================== */
.weekly-top {
  width: 300px;
  margin-left: 18px;
  padding: 12px;
  border-radius: 14px;

  background: linear-gradient(180deg, #08383d, #05282c);
  box-shadow:
    inset 0 0 18px rgba(0,255,255,.15),
    0 10px 26px rgba(0,0,0,.55);

  display: flex;
  flex-direction: column;
}

/* ===============================
   HEADER
   =============================== */
.weekly-top-header {
  text-align: center;
  font-weight: 800;
  font-size: .95rem;
  margin-bottom: 8px;
  color: #bffcff;
  text-shadow: 0 0 6px rgba(0,255,255,.6);
}

.weekly-top-header span {
  display: block;
  font-size: .7rem;
  opacity: .7;
}

/* ===============================
   TABS
   =============================== */
.weekly-top-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.weekly-top-tabs button {
  flex: 1;
  font-size: .75rem;
  font-weight: 700;

  border-radius: 6px;
  border: 1px solid rgba(0,255,255,.25);
  background: #043136;
  color: #cceeff;

  cursor: pointer;
  transition: all .15s ease;
}

.weekly-top-tabs button.active {
  background: linear-gradient(180deg, #0a6b73, #05555c);
  box-shadow: 0 0 8px rgba(0,255,255,.5);
  color: #ffffff;
}

/* ===============================
   LIST
   =============================== */
.weekly-top-list {
  max-height: 220px;
  overflow-y: auto;
  overflow-x: visible;
  padding-top: 26px;     

  display: flex;
  flex-direction: column;
  gap: 6px;

  padding-right: 4px;
}

/* ===============================
   ITEM BASE
   =============================== */
.weekly-top-item {
  position: relative; 

  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 6px;

  padding: 6px 8px;
  border-radius: 8px;

  font-size: .75rem;
  background: rgba(0,0,0,.25);
  box-shadow: inset 0 0 6px rgba(0,255,255,.15);

  color: #eaffff;
}

/* ===============================
   RANK / NAME / VALUE
   =============================== */
.weekly-top-rank {
  width: 28px;
  text-align: center;
  font-weight: 900;
  color: #9ff;
}

.weekly-top-name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.weekly-top-value {
  font-weight: 800;
  color: #ffd277;
}

/* ===============================
   TOP 1 — GOLD
   =============================== */
.weekly-top-item.top-1 {
  background: linear-gradient(90deg, #4a3a00, #cfa83a);
  box-shadow:
    0 0 14px rgba(255,215,0,.6),
    inset 0 0 10px rgba(255,235,150,.35);
  color: #fffbe6;
}

.weekly-top-item.top-1 .weekly-top-rank {
  color: #ffd700;
}

/* ===============================
   TOP 2 — SILVER
   =============================== */
.weekly-top-item.top-2 {
  background: linear-gradient(90deg, #2f3236, #bfc3c7);
  box-shadow:
    0 0 12px rgba(192,192,192,.5),
    inset 0 0 8px rgba(255,255,255,.25);
  color: #ffffff;
}

.weekly-top-item.top-2 .weekly-top-rank {
  color: #e0e0e0;
}

/* ===============================
   TOP 3 — BRONZE
   =============================== */
.weekly-top-item.top-3 {
  background: linear-gradient(90deg, #3a2414, #cd7f32);
  box-shadow:
    0 0 10px rgba(205,127,50,.45),
    inset 0 0 8px rgba(255,220,180,.25);
  color: #fff3e6;
}

.weekly-top-item.top-3 .weekly-top-rank {
  color: #ffb36b;
}

/* ===============================
    CROWNS (PNG, SMALL, ANGLED)
   =============================== */
.weekly-top-item.top-1::before,
.weekly-top-item.top-2::before,
.weekly-top-item.top-3::before {
  content: "";
  position: absolute;
  top: -28px;
  left: -12px;

  width: 42px;
  height: 42px;

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  transform: rotate(-22deg);
  opacity: 0.95;
 /*  */
  filter:
    drop-shadow(0 6px 6px rgba(0,0,0,.6))
    drop-shadow(0 0 8px rgba(255,255,255,.25));
    
  pointer-events: none;
  z-index: 8;
}


.weekly-top-item.top-1::before {
  background-image: url('/stats/ico/tops/gold-crown.png');
}


.weekly-top-item.top-2::before {
  background-image: url('/stats/ico/tops/silver-crown.png');
}


.weekly-top-item.top-3::before {
  background-image: url('/stats/ico/tops/bronz-crown.png');
}

/*===============================
   HOVER (NOT TOP 3)
   =============================== */
.weekly-top-item:not(.top-1):not(.top-2):not(.top-3):hover {
  background: rgba(0,255,255,.08);
}

.achievement-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  gap: 12px;
  align-items: center;

  background: linear-gradient(180deg, #00383f, #002a30);
  border: 1px solid rgba(0,255,255,.45);
  border-radius: 12px;
  padding: 12px 16px;

  color: #dffcff;
  box-shadow:
    0 0 20px rgba(0,255,255,.35),
    inset 0 0 8px rgba(0,255,255,.25);

  opacity: 0;
  transform: translateY(20px);
  transition: .35s ease;
  z-index: 9999;
}

.achievement-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.achievement-toast img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
}

.achievement-toast .t-title {
  font-weight: 700;
  color: #00ffff;
}

.achievement-toast .t-name {
  font-size: .9rem;
  opacity: .9;
}
/* ===== OVERLAY ===== */
.nick-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 15, 18, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

/* ===== PANEL ===== */
.nick-panel {
  width: 360px;
  padding: 16px 18px 18px;
  border-radius: 14px;

  background:
    linear-gradient(180deg, #0e3a40, #07262a);

  border: 1px solid rgba(0, 255, 255, 0.35);

  box-shadow:
    0 0 0 2px rgba(0,0,0,.4),
    inset 0 0 25px rgba(0,255,255,.15),
    0 18px 40px rgba(0,0,0,.6);

  animation: nickPop .25s ease-out;
}

@keyframes nickPop {
  from { transform: scale(.92); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ===== TITLE ===== */
.nick-title {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #e6ffff;
  margin-bottom: 10px;
  text-shadow: 0 0 6px rgba(0,255,255,.6);
}

/* ===== INPUT ===== */
.nick-input {
  width: 100%;
  height: 40px;

  padding: 0 12px;
  border-radius: 8px;

  background: linear-gradient(180deg, #f3f6f7, #cfdede);
  border: 1px solid #bcd2d6;

  font-size: 0.95rem;
  font-weight: 600;
  color: #1a2b2e;

  outline: none;
  box-shadow:
    inset 0 1px 3px rgba(0,0,0,.35);
}

.nick-input::placeholder {
  color: #6b7f84;
  font-weight: 500;
}

.nick-input:focus {
  border-color: #00ffff;
  box-shadow:
    0 0 8px rgba(0,255,255,.6),
    inset 0 1px 3px rgba(0,0,0,.3);
}

/*  */
.nick-input.error {
  border-color: #ff5555;
  box-shadow: 0 0 8px rgba(255,80,80,.6);
}

/* ===== ACTIONS ===== */
.nick-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

/* ===== SAVE BUTTON ===== */
.btn-save {
  flex: 1;
  height: 38px;

  border-radius: 9px;
  border: 1px solid #ffe08a;

  background:
    linear-gradient(180deg, #f7e08a, #cfa542);

  color: #3a2a00;
  font-weight: 700;
  cursor: pointer;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.6),
    0 3px 8px rgba(0,0,0,.4);
}

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

/* ===== CANCEL BUTTON ===== */
.btn-cancel {
  flex: 1;
  height: 38px;

  border-radius: 9px;
  border: 1px solid #00cfa5;

  background:
    linear-gradient(180deg, #1ed3a8, #0a7f66);

  color: #eafff8;
  font-weight: 700;
  cursor: pointer;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.25),
    0 3px 8px rgba(0,0,0,.4);
}

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

/* ===== TYPING ANIMATION ===== */
.nick-input.typing {
  animation: inputPulse .25s ease-out;
}

@keyframes inputPulse {
  0%   { box-shadow: 0 0 0 rgba(0,255,255,0); }
  50%  { box-shadow: 0 0 10px rgba(0,255,255,.55); }
  100% { box-shadow: 0 0 0 rgba(0,255,255,0); }
}

/* =====================================================
   ACCOUNT SWITCH — GAME HUD
   ===================================================== */

.as-wrap {
  margin: 14px 0 10px;
  display: flex;
  justify-content: center;
}

.as-panel {
  display: flex;
  align-items: center;
  gap: 14px;

  padding: 10px 16px;
  border-radius: 16px;

  background:
    linear-gradient(180deg, #0b3b40, #06262a);

  border: 1px solid rgba(0,255,255,.35);

  box-shadow:
    inset 0 0 20px rgba(0,255,255,.18),
    0 12px 28px rgba(0,0,0,.5);
}

/* ===== TEXT ===== */
.as-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #d9f6f8;
  text-shadow: 0 0 6px rgba(0,255,255,.35);
  white-space: nowrap;
}

.as-text b {
  color: #00ffff;
  font-weight: 700;
}

/* ===== BUTTON (ACTION) ===== */
.as-btn {
  height: 38px;
  padding: 0 20px;

  border-radius: 12px;
  border: 1px solid #ffe08a;

  background:
    linear-gradient(180deg, #f7e08a, #cfa542);

  color: #3a2a00;
  font-weight: 700;
  cursor: pointer;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.6),
    0 4px 12px rgba(0,0,0,.45);

  transition:
    transform .12s ease,
    filter .12s ease,
    box-shadow .12s ease;
}

.as-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.as-btn:active {
  transform: translateY(0);
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,.35);
}

/*   " " */
.as-btn:empty {
  display: none !important;
}


.audit-help-btn {
  all: unset;
  cursor: pointer;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  background: rgba(0,80,90,.6);
  border: 1px solid #00ffff55;
}

.audit-help-btn img {
  width: 30px;
  height: 30px;
}

/* === AUDIT TABS === */
.audit-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.audit-tab {
  all: unset;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  background: #003a40;
  color: #cceeff;
  border: 1px solid #00ffff33;
}

.audit-tab.active {
  background: #008b94;
  color: #ffffff;
}

/* === PANELS === */
.audit-panel {
  display: none;
}

.audit-panel.active {
  display: block;
}

/* === IMAGES === */
.audit-img {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 10px auto;
  border-radius: 8px;
  border: 1px solid #00ffff33;
}
/* =========================================================
   SEARCH FORM —   ( )
   ========================================================= */

.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-form input[type="text"] {
  height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #00ffff44;
  background: rgba(0, 40, 45, 0.9);
  color: #dbefff;
  font-size: 0.95rem;
  outline: none;
}

.search-form input[type="text"]::placeholder {
  color: #9adfe6;
}

/* ===  === */
.search-btn {
  all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 42px;
  padding: 0 22px;

  cursor: pointer;
  user-select: none;

  border-radius: 10px;
  border: 1px solid rgba(255, 210, 77, .55);
  background: linear-gradient(
    180deg,
    rgba(0,120,120,.35),
    rgba(0,60,60,.35)
  );

  color: #dbefff;
  font-family: HeliosCond, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .4px;

  box-shadow:
    00 0 2px rgba(0,0,0,.25),
    inset 0 0 0 1px rgba(0,255,255,.18);

  transition: filter .12s ease, box-shadow .12s ease, transform .06s ease;
}

.search-btn:hover {
  filter: brightness(1.08);
  box-shadow:
    0 0 0 2px rgba(0,0,0,.25),
    inset 0 0 0 1px rgba(0,255,255,.28),
    0 10px 20px rgba(0,0,0,.28);
}

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


/* =========================================================
   MATCHES PAGINATION (DESKTOP + MOBILE)
   ========================================================= */

.matches-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 18px 0 6px;
  user-select: none;
}

.match-nav {
  all: unset;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 1.2rem;
  color: #dbefff;

  background: radial-gradient(circle at top,
    rgba(0,120,120,.55),
    rgba(0,60,60,.65)
  );

  border: 1px solid rgba(0,255,255,.35);

  box-shadow:
    inset 0 0 10px rgba(0,255,255,.25),
    0 6px 18px rgba(0,0,0,.5);

  transition: transform .12s ease, filter .12s ease;
}

.match-nav:hover:not(:disabled) {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.match-nav:active:not(:disabled) {
  transform: translateY(1px);
}

.match-nav:disabled {
  opacity: .35;
  cursor: default;
}

.page-indicator {
  color: #9feeff;
  font-weight: 600;
  font-size: .95rem;
}

/* =========================================================
   MATCH FILTERS — MODERN UI
   ========================================================= */

.filters-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
  width: 100%;
  margin-bottom: 10px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 140px;
}

.filter-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #00ffff;
  text-transform: uppercase;
  letter-spacing: .4px;
}

/* === SELECT === */
.filter-select {
  height: 38px;
  padding: 0 10px;

  border-radius: 8px;
  border: 1px solid rgba(0,255,255,.35);
  background:
    linear-gradient(
      180deg,
      rgba(0,50,55,.95),
      rgba(0,25,30,.95)
    );

  color: #dbefff;
  font-size: 0.9rem;
  cursor: pointer;

  box-shadow:
    inset 0 0 0 1px rgba(0,255,255,.15),
    0 4px 12px rgba(0,0,0,.4);

  transition: filter .12s ease, box-shadow .12s ease;
}

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

.filter-select:focus {
  outline: none;
  border-color: rgba(255,210,77,.7);
  box-shadow:
    inset 0 0 0 1px rgba(255,210,77,.35),
    0 0 0 2px rgba(0,0,0,.3);
}


