/* ============================================================
   ACWiki-style UI for /wiki (dark, rounded, subtle glow)
   ============================================================ */
:root{
  --bg:#141414;
  --bg-2:#1b1b1b;
  --panel:#202020;
  --text:#f2f2f2;
  --muted:#c9c9cf;
  --accent:#8b5cf6;
  --accent-2:#22d3ee;
  --border:rgba(255,255,255,.08);
  --ring:0 0 0 2px rgba(139,92,246,.28), 0 0 40px rgba(34,211,238,.18);
  --radius:16px;
  --shadow:0 8px 30px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html,body{height:100%;margin:0;padding:0}
body{
  font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial;
  color:var(--text);
  background: radial-gradient(circle at 50% 50%, #1a0938 0%, #05010f 100%);
}

/* Header */
.header{
  position: relative;
  overflow: hidden;
  background: transparent !important;
  z-index: 1;
  padding:30px 12px 30px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
}
.site-logo{width:240px;height:auto;filter:drop-shadow(0 10px 25px rgba(0,0,0,.4));z-index:2;}
.title{
  position: relative;
  z-index: 2;
  margin:6px 0 0;
  font-size:clamp(20px,3vw,34px);
  font-weight:900;
  letter-spacing:.3px;
  background:linear-gradient(90deg,var(--accent),var(--accent-2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  text-shadow:0 0 18px rgba(139,92,246,.25);
}
/* ==== TABS ==== */
.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px auto 30px;
}
.tab {
  background: #222;
  color: #fff;
  border-radius: 8px;
  padding: 8px 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}
.tab:hover { background: #333; transform: scale(1.05); }
.tab.active { background: #c0c; }

/* Nav */
.nav{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 12px 16px;
}

.nav-list{list-style:none;display:flex;gap:50px;padding:0;margin:0;flex-wrap:wrap;justify-content:center;}
.nav-list a{
  color:#e8e8ee;text-decoration:none;font-weight:700;letter-spacing:.2px;
}

/* Containers & Cards */
.container{width:min(1400px,92%);margin:28px auto 60px;}
.card{
  //background:linear-gradient(180deg,#212121,#1b1b1b);
  background:rgba(0, 0, 0, 1);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  line-height:1.6;
}
.h2{margin:0 0 12px;font-size:clamp(18px,2.5vw,28px)}
.note{margin-top:14px;background:rgba(139,92,246,.16);border:1px solid rgba(139,92,246,.35);color:#efe9ff;padding:10px 12px;border-radius:12px;}
.grid{margin-top:28px;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;width:100%;padding:0 2%;}
.link-card{text-decoration:none;color:inherit;padding:18px;border-radius:var(--radius);display:flex;flex-direction:column;justify-content:center;gap:6px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;}
.link-card:hover{transform:translateY(-2px);box-shadow:var(--ring);}
.card-emoji{font-size:26px;opacity:.95}
.card-title{font-size:18px;font-weight:800;}
.card-desc{color:var(--muted);font-size:14px;}
.footer{text-align:center;padding:30px 10px 40px;color:#cfcfd6;}


/* Ensure the whole section sits inside a bordered card */
.units-card { padding: 28px 34px; }

/* Keep everything comfortably inside the card edges */
.units-card .section-rule { margin: 10px 0 18px; }
.units-card .units-toolbar { margin-bottom: 14px; }
.units-card #units-grid { margin-top: 6px; }

/* ============================================================
   EXACT OLD PARTICLES — VISUAL STYLE RESTORED
   ============================================================ */

#bg-particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.dot {
  position: absolute;
  width: 4px;                /* old size that shows glow correctly */
  height: 4px;
  border-radius: 50%;
  opacity: 0.85;
  animation: floatLR 14s ease-in-out infinite;
  box-shadow: 0 0 8px currentColor; /* glow follows dot's color */
}

/* SMALLER MOVEMENT RANGE LIKE OLD SITE */
@keyframes floatLR {
  0%,100% { transform: translateX(0); opacity: 0.6; }
  50%     { transform: translateX(30px); opacity: 1; }
}

/* ============================================================
   EXACT OLD SHOOTING STAR STYLE
   ============================================================ */
.shooting-star {
  position: fixed;
  width: 5px;                 /* old size */
  height: 5px;
  background: white;
  border-radius: 50%;
  box-shadow:
    0 0 6px rgba(255,255,255,0.9),
    0 0 15px rgba(255,255,255,0.6); /* smaller old glow */
  animation: shootAcross 2s linear forwards;
  z-index: -1;
  opacity: 0.9;
  transform: rotate(-90deg);
}

/* OLD THIN TAIL */
.shooting-star::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -80px;                 /* old tail length */
  width: 80px;
  height: 1px;                 /* old thin tail */
  transform: translateY(-50%);
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0),
    rgba(255,255,255,0.7),
    rgba(255,255,255,1)
  );
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.8;
}

/* OLD SHOOTING PATH (same angle, slower fade) */
@keyframes shootAcross {
  0% {
    transform: translate(0, 0) rotate(-45deg) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(100vw, -70vh) rotate(-45deg) scale(0.7);
    opacity: 0;
  }
}
/* ============================
   SKILL BADGES INSIDE CARDS
   ============================ */

.skill-badge {
    display: inline-block;
    padding: 4px 10px !important;
    margin-top: 12px;
    border-radius: 8px;
    font-size: 12px !important;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* PASSIVE BADGE (orange) */
.passive-badge {
    border: 2px solid #ffb444;
    background: rgba(255, 180, 68, 0.20); /* faded orange interior */
    box-shadow: 0 0 8px rgba(255, 180, 68, 0.35);
}

/* ABILITY BADGE (red) */
.ability-badge {
    border: 2px solid #ff6b6b;
    background: rgba(255, 80, 80, 0.20); /* faded darker red interior */
    box-shadow: 0 0 8px rgba(255, 80, 80, 0.35);
}

.skill-badge {
    display: inline-block;
    text-align: center;
    padding: 6px 14px;
    font-weight: 700;
    border-radius: 20px;
    margin-top: 14px;

    /* FORCE CENTERING */
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}




/* ============================================================
   ORIGINAL ANIME CRUSADERS TIERLIST — EXACT RESTORE
   ============================================================ */

/* ==== TIER BOARD ==== */
#tierboard,
.tierboard {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  padding: 10px 0 50px;
  margin-top: 100px !important;
}

/* Tier container row */
.tier {
  display: flex;
  align-items: stretch;
  width: 90%;
  max-width: 1350px;
  overflow: hidden;
  border-radius: 0 10px 10px 0;
  background: #000;
  min-height: 120px;
}

/* Vertical tier label — EXACT */
.label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  width: 42px;
  background: #444;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  letter-spacing: 1px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  padding: 8px 0;
}

/* Optional horizontal label style — kept intact */
.horizontal-labels .label {
  writing-mode: horizontal-tb;
  transform: none;
  width: auto;
  font-weight: 700;
  padding: 6px 12px;
  font-size: 18px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}

/* Row of unit cards */
.row {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  padding: 10px 16px;
}

/* Tierlist unit card — EXACT */
.row .card {
  width: 120px;
  height: 120px;
  background: #071a2b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

/* Card image */
.row .card img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

/* Hover glow — EXACT turquoise glow */
.row .card:hover {
  transform: scale(1.05);
  box-shadow:
    0 0 5px rgba(94,234,212,1),
    0 0 15px rgba(94,234,212,0.7);
}

/* Missing unit card (fallback) */
.row .card.missing {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #330000;
  color: #ff8888;
  font-size: 10px;
  text-align: center;
}


/* ===== Units page ===== */
.units-container {
  background: rgba(25, 25, 25, 0.9);
  border-radius: 16px;
  padding: 35px 45px 40px;
  box-shadow: 0 0 25px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.08);
  margin-top: 20px;
}

.units-container h2 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 26px;
  font-weight: 800;
}
.section-rule{ border:0; border-top:2px solid #fff2; margin:10px 0 18px }

.units-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
}
/* LEFT group */
.units-toolbar-left{
  display:flex;
  align-items:center;
  gap:14px;
}
/* RIGHT group */
.units-toolbar-right{
  margin-left:auto;      /* pushes toggles to far right */
  display:flex;
  align-items:center;
}
.unit-toggle-group{
  display:flex;
  gap:10px;
  align-items:center;
}
.search-wrap{ flex:1; min-width:240px }
#u-search{
  width:100%; background:#1b1b1b; color:#eaeaf1; border:1px solid var(--border);
  border-radius:999px; padding:12px 16px; outline:none;
}
#u-search::placeholder{ color:#9aa }

.btn.pill{
  background:linear-gradient(180deg,#232323,#1a1a1a);
  border:1px solid var(--border); color:#fff; font-weight:700;
  border-radius:999px; padding:10px 14px; cursor:pointer;
}
.toggle{ display:flex; align-items:center; gap:8px; cursor:pointer }
.toggle input{ accent-color:#8b5cf6 }

.filters.soft{ background:#181818; }
.filters.hidden{ display:none }
.filter-group{
  display: flex;
  align-items: center;
  gap: 12px;        /* space between title and chips */
}

.filter-group{ margin:14px 0 }
.fg-title{ font-size: 14px;font-weight:800; margin:6px 0 8px }
.dim{ color:#aaa; font-weight:600 }

.chips{ display:flex; flex-wrap:wrap; gap:10px }
.chip{
  padding:8px 14px; border-radius:999px; border:1px solid #ffffff14;
  background:#222; color:#e9e9f5; font-weight:700; cursor:pointer;
  box-shadow: 0 1px 0 #000 inset;
}
.chip.active{ box-shadow: var(--ring); border-color: rgba(139,92,246,.7) }

/* Grid */
.units-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  justify-content: center;
  align-items: start;
  gap: 10px;              /* this is the only intentional spacing between units */
  padding: 0 20px;       /* your left-right spacing */
  box-sizing: border-box;
}
.u-cardbox { 
  width: 120px;
  height: 120px;
  background: #071a2b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  margin: 0px; /* 10px space around each card */
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, z-index 0s;
  position: relative;
}

.u-cardbox:hover {
  transform: scale(1.05);
  box-shadow:
    0 0 5px rgba(94,234,212,1),
    0 0 15px rgba(94,234,212,0.7);
    z-index: 10;
}
.u-cardbox[class*="rarity-"] { border: 0 !important; }

/* hide the old label overlay (if any old HTML still present) */
.u-namebar { display: none !important; }
.u-cardbox img{ width:90%; height:90%; object-fit:contain; display:block }
.u-namebar{
  position:absolute; left:6px; right:6px; bottom:6px;
  background:linear-gradient(180deg,#00000099,#000000dd);
  color:#fff; font-weight:900; text-shadow:0 1px 2px #000a; border-radius:8px; padding:6px 8px; font-size:14px;
}

.up-rarity {
  display: inline-block;
  margin: 4px 0 6px;
  padding: 4px 10px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  border-radius: 6px;
  /* let the rarity-title gradients handle background */
  background: none;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================
   Custom Crusader Variant — Beyond Heaven
   ============================================================ */
#up-rarity.rarity-crusader-beyondheaven {
    background: linear-gradient(
       90deg,
       #fffad1 0%,    
       #f9fdb2 50%,   
       #fcf7c6 100%    
    );
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    animation: rarityShift 6s linear infinite;
    }

/* ============================================================
   Custom Crusader Variant — Alucard
   ============================================================ */
#up-rarity.rarity-crusader-alucard {
    background: linear-gradient(
       90deg,
       #7A0000 0%,    
       #CC0000 50%,   
       #2b2b2b 100%   
    );
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    animation: rarityShift 6s linear infinite;
}


/* ============================
   TEXT-ONLY RARITY GRADIENTS
   ============================ */

#up-rarity.rarity-crusader {
     background: linear-gradient(
       90deg,
       #ff7f00 0%,
       #FF7FAF 50%,
       #0000ff 100%
     );
     background-size: 400% 400%;
     -webkit-background-clip: text;
     background-clip: text;
     color: transparent;
     animation: rarityShift 6s linear infinite;
   }


#up-rarity.rarity-secret {
     background: linear-gradient(
       90deg,
       #ff0000 0%,
       #cc0000 50%,
       #ff0000 100%
     );
     background-size: 400% 400%;
     -webkit-background-clip: text;
     background-clip: text;
     color: transparent;
     animation: rarityShift 6s linear infinite;
   }


#up-rarity.rarity-mythic {
     background: linear-gradient(
       90deg,
       #ccff99 0%,
       #00ff00 14%,
       #ffff00 28%,
       #ff9900 42%,
       #ff0000 56%,
       #ff66cc 70%,
       #00ffff 84%,
       #ccff99 100%
     );
     background-size: 800% 800%;
     -webkit-background-clip: text;
     background-clip: text;
     color: transparent;
     animation: rarityShift 6s linear infinite;
   }


#up-rarity.rarity-legendary {
     background: linear-gradient(
       90deg,
       #ffd700 0%,
       #fff68f 50%,
       #ffb347 100%
     );
     background-size: 400% 400%;
     -webkit-background-clip: text;
     background-clip: text;
     color: transparent;
     animation: rarityShift 6s linear infinite;
   }


#up-rarity.rarity-epic {
     background: linear-gradient(
       90deg,
       #b426f8 0%,
       #d100d1 50%,
       #e77aff 100%
     );
     background-size: 400% 400%;
     -webkit-background-clip: text;
     background-clip: text;
     color: transparent;
     animation: rarityShift 6s linear infinite;
   }


#up-rarity.rarity-rare {
     background: linear-gradient(
       90deg,
       #1E90FF 0%,
       #00008b 50%,
       #1E90FF 100%
     );
     background-size: 400% 400%;
     -webkit-background-clip: text;
     background-clip: text;
     color: transparent;
     animation: rarityShift 6s linear infinite;
   }

/* === Animated Rarity Title Text === */
.rarity-title {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent !important;
  animation: rarityShift 6s linear infinite;
  background-size: 800% 800%;
}



/* ============================================================
   Modal — Fixed, Hidden by Default, Smooth Fade+Zoom
   ============================================================ */
.u-modal[hidden] {
  display: none !important;
}

.u-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: grid;
  place-items: center;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.u-modal.show {
  opacity: 1;
  pointer-events: auto;
}

/* Window contents */
.u-window {
  position: relative;
  background: #151515;
  color: #fff;
  width: min(980px, 92%);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid #ffffff24;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .6);
  transform: scale(.96);
  transition: transform .25s ease;
}

.u-modal.show .u-window {
  transform: scale(1);
}

/* Close Button */
.u-close {
  position: absolute;
  right: 18px;
  top: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: #2a2a2a;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

/* Header */
.u-header {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}
.u-avatar {
  width: 86px;
  height: 86px;
  border-radius: 12px;
  object-fit: cover;
  border: 3px solid #ffffff1f;
}
.u-name {
  font-size: clamp(22px, 2.8vw, 34px);
  margin: 0;
}
.u-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.badge {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: #222;
  border: 1px solid #ffffff1a;
}

/* Layout */
.u-columns {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
}
.u-card {
  background: #1a1a1a;
  border: 1px solid #ffffff14;
  border-radius: 14px;
  padding: 16px;
}
.u-card-title {
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 10px;
}
.u-passives {
  color: #ddd;
  line-height: 1.6;
}
.u-cost .u-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  background: #0f0f0f;
  border: 1px solid #ffffff12;
  margin-bottom: 10px;
}
.u-cost .u-row span {
  color: #cfd3e0;
}
.mt { margin-top: 14px; }

.u-best {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 6px;
}
.best-box {
  background: #141414;
  border: 1px solid #ffffff12;
  border-radius: 12px;
  padding: 12px;
}
.best-title {
  font-weight: 900;
  margin-bottom: 8px;
  text-align: center;
}
.best-icons {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.u-deltas {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  justify-content: center;
}
.delta {
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 8px;
}
.delta.up { color: #22c55e; }
.delta.down { color: #ef4444; }

@media (max-width: 900px) {
  .u-columns { grid-template-columns: 1fr; }
}
/* ============================================================
   Colored Filter Chips — Default Gradient + Bright Active Glow
   ============================================================ */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  border: none;
  font-weight: 700;
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75); /* dark glow for readability */
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  transition: all 0.25s ease-in-out;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.3);
}

/* ===== Default Gradient Colors ===== */
.chip[data-val="Crusader"]  { background: linear-gradient(135deg, #000, #8b0000); }
.chip[data-val="Secret"]    { background: linear-gradient(135deg, #a30000, #ff6666); }
.chip[data-val="Mythic"]    { background: linear-gradient(135deg, #ff0000, #ff7f00, #ffff00, #00ff00, #00ffff, #0000ff, #8b00ff); }
.chip[data-val="Legendary"] { background: linear-gradient(135deg, #f0c000, #b89400); color:#111; }
.chip[data-val="Epic"]      { background: linear-gradient(135deg, #a020f0, #6a0dad); }
.chip[data-val="Rare"]      { background: linear-gradient(135deg, #0066ff, #003399); }

.chip[data-val="Hybrid"]    { background: linear-gradient(135deg, #a22, #d55); }
.chip[data-val="Ground"]    { background: linear-gradient(135deg, #2a6cf6, #2040c0); }
.chip[data-val="Hill"]      { background: linear-gradient(135deg, #2ecc71, #27ae60); }
.chip[data-val="Summon"]    { background: linear-gradient(135deg, #d36cd3, #a033a0); }
.chip[data-val="Buff"]      { background: linear-gradient(135deg, #9b59b6, #6d3b8f); }
.chip[data-val="Farm"]      { background: linear-gradient(135deg, #f1c40f, #b7950b); color:#111; }

.chip[data-val="Physical"]  { background: linear-gradient(135deg, #8b0000, #b22222); }
.chip[data-val="Magic"]     { background: linear-gradient(135deg, #0033ff, #000099); }
.chip[data-val="True"]      { background: linear-gradient(135deg, #ccc, #999); color:#111; }

.chip[data-val="Fire"]      { background: linear-gradient(135deg, #ff3300, #cc0000); }
.chip[data-val="Water"]     { background: linear-gradient(135deg, #007fff, #0044aa); }
.chip[data-val="Lightning"] { background: linear-gradient(135deg, #0000ff, #66ccff); }
.chip[data-val="Wind"]       { background: linear-gradient(135deg, #2ecc71, #1abc9c); }
.chip[data-val="Rose"]      { background: linear-gradient(135deg, #ff69b4, #d63384); }
.chip[data-val="Ice"] { background: linear-gradient(135deg, #00c6ff, #3a7593); }
.chip[data-val="Light"]     { background: linear-gradient(135deg, #f1c40f, #f9e79f); color:#111; }
.chip[data-val="Dark"]      { background: linear-gradient(135deg, #2c3e50, #000); }

/* ===== Hover and Active Effects ===== */
.chip:hover {
  filter: brightness(1.3);
  transform: scale(1.05);
}

.chip.active {
  color: #fff !important;
  filter: brightness(1.6);
  box-shadow: 0 0 20px rgba(255,255,255,0.2), inset 0 0 10px rgba(255,255,255,0.3);
  transform: scale(1.08);
}
.unit-popup-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
}
.unit-popup-overlay.hidden { display: none; }

.unit-popup {
  background: #1b1b1b;
  border-radius: 12px;
  overflow: hidden;   /* <-- this fixes the radius not showing */
  width: 850px;
  max-width: 95%;
  padding: 24px;
  color: #fff;
  position: relative;
}
.unit-popup.crusader-border { 
    border: 3px solid #ff814e;
    box-shadow: 0 0 15px #ff814e99;
}

.unit-popup.secret-border { 
    border: 3px solid #ff0000;
    box-shadow: 0 0 15px #ff000099;
}

.unit-popup.mythic-border {
  position: relative;
  border-radius: 16px;
  border: 3px solid transparent !important;
}
.unit-popup.mythic-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  padding: 3px; /* thickness of border */
  background: linear-gradient(
    45deg,
    #ff00ff,
    #ff6a00,
    #ffe600,
    #48ff00
  );

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;

  pointer-events: none; /* don’t block clicking */
}

.unit-popup.legendary-border {
    border: 3px solid #ffc41b;
    box-shadow: 0 0 15px #ffc41b99;
}

.unit-popup.epic-border {
    border: 3px solid #7306f6;
    box-shadow: 0 0 15px #7306f699;
}

.unit-popup.rare-border {
    border: 3px solid #1197ff;
    box-shadow: 0 0 15px #1197ff99;
}

.unit-popup.crusader-border-beyondheaven {
  border: 3px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(#000,#000) padding-box,
    linear-gradient(90deg,#fffad1,#f9fdb2,#fcf7c6) border-box;
}

/* ===========================================
   ALUCARD — 3-COLOR GRADIENT BORDER
   =========================================== */

.unit-popup.crusader-border-alucard {
  position: relative;
  border-radius: 16px;
  border: 3px solid transparent !important;
}

.unit-popup.crusader-border-alucard::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px; /* border thickness */

  background: linear-gradient(
    90deg,
    #7A0000 0%,
    #2b2b2b 50%,
    #CC0000 100%
  );

  /* mask the center so only the border shows */
  -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;

  pointer-events: none;
}
/* ===========================================
   AKUZO — 3-COLOR GRADIENT BORDER
   =========================================== */
.unit-popup.crusader-border-akuzo {
  position: relative;
  border-radius: 16px;
  border: 3px solid transparent !important;
}

.unit-popup.crusader-border-akuzo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px; /* border thickness */

  background: linear-gradient(
    90deg,
     #ff7f00 0%,
     #FF7FAF 50%,
     #0000ff 100%
  );

  /* mask the center so only the border shows */
  -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;

  pointer-events: none;
}



.close-btn {
  position: absolute; right: 16px; top: 16px;
  background: #333; color: #fff;
  border: none; border-radius: 50%;
  width: 32px; height: 32px; font-size: 22px; cursor: pointer;
}
.unit-popup-header {
  display: flex;
  align-items: flex-start;  /* 🔥 Push content to top of image */
  gap: 16px;
}
.up-img { width: 120px; height: 120px; }
.up-name-wrap h3 {
  font-size: 32px !important;
  font-weight: 800;
  margin: 0;
}
#up-name {
  font-size: 32px !important;
}


.up-name-wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* ensures text sticks to top */
  margin-top: 0; /* remove any extra offset */
}

.up-name-wrap h3 {
  margin-top: 0;
}
.up-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.up-tags span {
  padding: 3px 8px; font-size: 12px; font-weight: 700;
}
/** .unit-popup-body {
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 24px;
} **/
.up-row-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}
.up-subtitle {
  font-size: 22px; font-weight: 800; margin-bottom: 8px;
  color: #ffd100;
}
.up-abilities .ability {
  background: #242424; border-radius: 8px; padding: 8px 12px; margin-bottom: 10px;
}
.up-cost div { display: flex; justify-content: space-between; margin: 3px 0; }
.up-best { display: flex; justify-content: space-between; margin-top: 8px; gap: 12px; }
.up-traits img { width: 40px; margin-right: 4px; vertical-align: middle; }
.up-curses img { width: 40px; margin-right: 4px; vertical-align: middle; }

#up-abilities .ability {
  background: #242424;       /* same card background */
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 10px;
}

#up-abilities .ability h5 {
  font-size: 18px !important;
  color: #ffffff;            /* same purple header color */
  margin: 0 0 4px 0;
}

#up-abilities .ability div {
  font-size: 16px;
  color: #ddd;
  line-height: 1.4;
}
/* === Matching style for passives section === */
#up-passives .ability {
  background: #242424;       /* same card background */
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 10px;
}

#up-passives .ability h5 {
  font-size: 18px !important;
  color: #ffffff;            /* same purple header color */
  margin: 0 0 4px 0;
}

#up-passives .ability div {
  font-size: 16px;
  color: #ddd;
  line-height: 1.4;
}
.up-row-top.up-four {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    align-items: start;
}

/* === Uniform Card Styling for Cost, Traits, and Curses === */
#up-cost,
#up-traits,
#up-curses,
#up-relics,
#up-evo-reqs {
  background: #242424;       /* same as ability boxes */
  border-radius: 0px 8px 8px 0px;
  padding: 8px 12px;
  border: 1px solid #ffffff0f;
}

/* Make the rows inside cost look clean */
#up-cost div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 6px 0;
}

/* Align icons nicely in traits & curses */
#up-traits img,
#up-curses img,
#up-relics img {
  width: 30px;
  height: 30px;
  margin: 4px;
  vertical-align: middle;
}
#up-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.info-block {
    display: flex;
    align-items: stretch;
}
.info-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: center;

    padding: 4px 4px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
    border-radius: 0 6px 6px 0;
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 10px;   /* consistent width */
}
.info-card {
    background: #1d1d1f;
    padding: 4px 4px;
    border-radius: 0 18px 18px 0;
    flex: 1;
}
.subtitle-cost {
    background: linear-gradient(180deg, #d4a017, #b8860b);
}
.subtitle-traits {
    background: linear-gradient(180deg, #ff4cf0, #8a00ff);
}
.subtitle-curses {
    background: linear-gradient(180deg, #e20909, #780101);
}
.subtitle-relics {
    background: linear-gradient(180deg, #538dff, #305398);
}
.subtitle-evo {
  background: linear-gradient(180deg, #01b43e, #26ff00);
}

/* Evo requirements grid */
#up-evo-reqs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Item icon wrapper */
.evo-item {
  position: relative;
  width: 64px;
  height: 64px;
}

.evo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Amount overlay (×27 style) */
.evo-amount {
  position: absolute;
  bottom: 0px;
  right: 0px;
  color: #fe0;
  font-size: 16px;
  font-weight: 800;
  padding: 2px 5px;
}

/* ------------------------------------------
   PASSIVE / ABILITY LEFT LABELS (vertical)
------------------------------------------- */

.skill-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: center;
    padding: 12px 6px;
    border-radius: 0 8px 8px 0;
    font-size: 13px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    min-width: 28px;
}

/* Passive = gold gradient */
.label-passive {
    background: linear-gradient(180deg, #011eff, #001aa9);
}

/* Ability = pink/red gradient */
.label-ability {
    background: linear-gradient(180deg, #b30000, #ff0000);
}

/* Container that keeps label + card aligned */
.ability-with-label {
    display: flex;
    flex-direction: row;
    gap: 0;
    margin-bottom: 20px;
    margin-top: 20px;
}

/* The ability/passive card itself */
.skill-box {
    flex-grow: 1;
   background: #242424;       /* same as ability boxes */
   border-radius: 0px 8px 8px 0px;
   border: 1px solid #ffffff0f;
    padding: 0 14px 10px;   /* no top padding */
}

/* title center */
.skill-title {
    width: 100%;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #c699ff; /* same purple as your passive titles */
    margin-bottom: 10px;
}

/* description left-align */
.skill-desc {
    text-align: left;
    font-size: 15px;
    line-height: 1.6;
}

.search-wrap {
    flex: 0 0 300px !important;
    min-width: 300px !important;
}

#up-tags .tag-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  min-width: 32px;
  min-height: 32px;
}

.up-tags img {
  margin-right: 4px;   /* reduce this from 10px or higher to 4px */
  vertical-align: middle;
}

#up-tags .tag-item img {
  width: 28px;
  height: 28px;
  display: block;
}

.up-tags .tag-item {
  display: inline-block;
  margin-right: 6px;   /* smaller gap between icons */
  line-height: 1;
}
/* === Popup Tag Colors (match filter chips) === */
#up-tags span[data-tag="Ground"]  { background: linear-gradient(135deg, #2a6cf6, #2040c0); }
#up-tags span[data-tag="Hybrid"]  { background: linear-gradient(135deg, #a22, #d55); }
#up-tags span[data-tag="Hill"]    { background: linear-gradient(135deg, #2ecc71, #27ae60); }
#up-tags span[data-tag="Summon"]  { background: linear-gradient(135deg, #d36cd3, #a033a0); }
#up-tags span[data-tag="Buff"]    { background: linear-gradient(135deg, #9b59b6, #6d3b8f); }
#up-tags span[data-tag="Farm"]    { background: linear-gradient(135deg, #f1c40f, #b7950b); color: #111; }

/* optional: consistent tag box style */
#up-tags span {
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  margin: 2px;
  display: inline-block;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
/* Popup tag row split */
.up-tags {
  display: flex;
  align-items: center;
  justify-content: space-between; /* left text vs right icons */
}

.up-tags-left {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;                       /* control group-internal spacing */
}
.up-tags-right {
  display: flex;
  gap: 0;                    /* absolutely no gaps between icons */
}
/* Text-only chips on the left (minimal style, you’ll color later) */
.up-tags-left .tag-chip {
  font-weight: 800;
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 8px;
  background: #222;               /* placeholder; feel free to change later */
  border: 1px solid #ffffff14;
}

/* Icon pills on the right */
.up-tags-right .tag-icon {
  padding: 0;                /* remove inner padding */
  margin: 0;                 /* remove external spacing */
  border: none;              /* remove subtle borders if any */
  background: transparent;   /* no pill backgrounds */
}

.up-tags-right .tag-icon img {
  width: 28px;
  height: 28px;
  margin: 0;
display: block;
}
.toggle-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;          /* spacing between Normal/Shiny buttons */
  margin-top: 10px;
}
.toggle-btn {
  padding: 4px 8px;
  border-radius: 8px;
  border: none;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
  cursor: pointer;
  font-size: 13px;
  border: 1px solid #ffffff14;
}
.toggle-btn.normal {
  background: linear-gradient(135deg, #2a6cf6, #2040c0); /* Ground colors */
  color: #fff;
}
.toggle-btn.shiny {
  background: linear-gradient(135deg, #facc15, #b89400); /* Yellow/gold shiny */
  color: #fff;
}
.toggle-btn.active {
  box-shadow: 0 0 10px rgba(255,255,255,0.4);
  transform: scale(1.05);
}

/* === ACWiki — Unified Units Popup (wins all conflicts) === */
#unit-popup-overlay,
.unit-popup-overlay {
  position: fixed !important;
  inset: 0 !important;                 /* full viewport */
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.82) !important;
  z-index: 100000 !important;          /* above nav, tooltips, legacy .overlay */
  width: 100vw;
  height: 100vh;
  pointer-events: auto !important;
}

#unit-popup-overlay.hidden,
.unit-popup-overlay.hidden {
  display: none !important;
}

.unit-popup {
  position: relative !important;
  margin: 0 auto !important;
  width: min(1000px, 92vw);   /* increased from 900px → 1080px (+20%) */
  background: #000000;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 40px 120px rgba(0,0,0,.6);
  border: 1px solid rgba(255,255,255,0.34);
  padding: 28px;              /* slightly more space inside */
  z-index: 100001 !important; /* keep it above backdrop */
}
/* === FIX: make tags row flex properly (no fixed left column) === */
#up-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

/* left group (text chips) can wrap naturally */
#up-tags-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* right group (icons) align side-by-side tightly */
#up-tags-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px; /* slight breathing room between icons */
}

#up-tags-right img {
  width: 28px;
  height: 28px;
  display: block;
  margin: 0;
}


/* Close button stays clickable & visible */
.close-btn {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: #2a2a2a; color: #fff; cursor: pointer;
  z-index: 100002;
}

/* Optional: prevent background scroll while modal open */
body:has(#unit-popup-overlay:not(.hidden)) {
  overflow: hidden;
}

@keyframes rarityShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
#up-rarity.rarity-title {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}
/* ===== ROW 1 — 3 Columns (Cost | Traits | Curses) ===== */
.up-row-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 24px;
    margin-bottom: 24px;
}
#up-cost {
  font-size: 14px;   /* shrink entire card's text */
  line-height: 1.1; /* optional: tighter spacing */
}

#up-cost div {
  font-size: 14px;   /* override nested divs too */
}

#up-cost div span {
  font-size: 14px;   /* the yen numbers */
}


/* ===== ROW 2 — Full Width Abilities ===== */
.up-row-bottom {
    width: 100%;
}

/* Keep inner ability boxes same look */
.up-row-bottom .up-section .ability,
.up-row-bottom #up-passives .ability {
    background: #242424;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 10px;
}
.skill-title {
    margin-top: 0 !important;
    padding-top: 0 !important;
    line-height: 1.1 !important; /* fixes the fake “gap” */
}

.skill-box {
    padding-top: 10px !important; /* ensure no override causes new padding */
}
/* Make all 4 cards equal height */
#up-cost,
#up-traits,
#up-curses,
#up-relics {
    min-height: 66px;   /* adjust higher or lower until they match perfectly */
}
/* === FINAL POPUP HEADER FIX — NAME TOP + TIGHT SPACING === */

/* 3-column header: [image/toggle] | [name/rarity/tags] | [stats box] */
.unit-popup-header {
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: flex-start !important;
  column-gap: 20px !important;
}

/* Left column: image + Normal/Shiny stacked */
.up-img-column {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
}

/* Center column: name / rarity / tags stuck to the TOP with tiny gaps */
.up-name-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 10px !important;   /* controls vertical gap between lines */
}

/* Name: no extra margins, tight line-height */
#up-name {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.1 !important;
}

/* Rarity: sits right under name */
#up-rarity {
  margin: 0 !important;
  padding: 0 !important;
}

/* Tags row: tiny bump below rarity */
#up-tags {
  margin-top: 2px !important;
}

/* Right column: stats box stays at the top-right */
.up-right {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-end !important;
}

.up-maxstats {
  margin: 0 !important;
}
/* ============================
   MAX STATS — Floating Card
============================ */
.up-right {
  margin-left: auto;
  display: flex;
  align-items: flex-start;
}

.up-maxstats {
  background: #242424;
  border-radius: 12px;
  padding: 14px 18px;
  min-width: 160px;

  box-shadow: 0 0 14px rgba(0,0,0,0.6);
  text-align: right;
}

.up-maxstats-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffd24a;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.up-maxstats-values span {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin: 2px 0;
  color: #fff;
}
/* Force Max Level Stats into one horizontal row */
.up-maxstats-values {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: flex-end; /* stays aligned on right */
}

.up-maxstats-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 4px;
    text-align: right;
}
.up-right {
    text-align: right;
    padding-top: 4px;
    padding-right: 40px !important; /* move box left */
}
.up-maxstats-values {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 18px;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

.stat-icon {
    width: 22px;
    height: 22px;
    display: block;
}
#up-evo-reqs .evo-item {
  position: relative;
}

#up-evo-reqs .evo-item::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: #fe0;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 9999;
}

#up-evo-reqs .evo-item:hover::after {
  opacity: 1;
}
.switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.switch input {
  display: none;
}

.slider {
  width: 42px;
  height: 22px;
  background: #ccc;
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}

.slider::before {
  content: '';
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.2s;
}

.switch input:checked + .slider {
  background: #3b82f6; /* blue */
}

.switch input:checked + .slider.green {
  background: #22c55e; /* green */
}

.switch input:checked + .slider::before {
  transform: translateX(20px);
}

.label-text {
  font-size: 13px;
  color: var(--text);
}
/* --- BIG switch variant (Filters-sized) --- */
.switch.big{
  height:44px;                 /* matches .btn.pill */
  padding:0 14px;
  background:#1f2937;
  border-radius:999px;
  display:flex;
  align-items:center;
  gap:10px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.switch.big input{ display:none; }

/* Slider size */
.switch.big .slider{
  width:52px;
  height:26px;
  background:#6b7280;
  border-radius:999px;
  position:relative;
  transition:background .2s ease;
}

.switch.big .slider:before{
  content:'';
  width:22px;
  height:22px;
  background:#fff;
  border-radius:50%;
  position:absolute;
  top:2px;
  left:2px;
  transition:transform .2s ease;
}

.switch.big input:checked + .slider{
  background:#3b82f6; /* base = blue */
}

.switch.big input:checked + .slider.green{
  background:#22c55e; /* evo = green */
}

.switch.big input:checked + .slider:before{
  transform:translateX(26px);
}

/* Label */
.switch.big .label-text{
  font-size:14px;
  font-weight:500;
  white-space:nowrap;
}
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip-box {
  position: absolute;
  left: 50%;
  top: 110%;
  transform: translateX(-50%);
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);   /* solid black, slight softness */
  opacity: 0;
  min-width: 220px;
  max-width: 320px;
  padding: 10px 12px;
  border: 2px solid #444;      /* ⭐ THIS was missing */
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.tooltip:hover .tooltip-box {
  opacity: 1;
  visibility: visible;
}
/* Base tooltip wrapper */
.tooltip.keyword-tooltip {
  position: relative;
  display: inline-block;
}

/* Tooltip box */
.tooltip.keyword-tooltip .tooltip-box {
  position: absolute;
  bottom: calc(100% + 10px); /* ⬅️ ABOVE the word */
  left: 50%;
  transform: translateX(-50%);
  
  min-width: 220px;
  max-width: 360px;

  background: rgba(0, 0, 0, 0.92);
  border: 2px solid #444;
  border-radius: 12px;
  padding: 12px 14px;

  box-shadow: 0 12px 30px rgba(0,0,0,0.65);
  
  z-index: 9999;

  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
}

/* Show on hover */
.tooltip.keyword-tooltip:hover .tooltip-box {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}
/* FORCE keyword tooltips ABOVE */
.tooltip.keyword-tooltip > .tooltip-box {
  top: auto !important;
  bottom: calc(100% + 12px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}
.tooltip-box {
  color: #e5e7eb; /* body text color */
}

.status-tooltip-title {
  font-weight: 800;
  text-align: center;
  margin-bottom: 6px;
}

.status-tooltip-body {
  font-size: 13px;
  line-height: 1.35;
}



