  :root { --bg:#050508; --grn:#00ff9d; --red:#ff2a6d; --blu:#05d9e8; --gld:#ffc800; --pur:#bc13fe; --gry:#444; --ac:#3A404A; --hc: var(--pur);}
  * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
  body { font-family:'Montserrat',sans-serif; background:var(--bg); color:#fff; margin:0; padding:20px; padding-bottom:120px; display:flex; justify-content:center; overflow-x:hidden; transition: background-color 1s ease; }
  .app-wrap { width:100%; max-width:600px; position:relative; z-index:2; }

  .amb-bg { position:fixed; inset:0; background:radial-gradient(circle at 50% 30%, var(--ac), transparent 80%); opacity:0.15; z-index:0; pointer-events:none; transition: opacity 1s; animation:breathe 6s infinite ease-in-out; }

  #toast { position:fixed; bottom:30px; left:50%; transform:translateX(-50%) translateY(50px); background:#111; border:1px solid var(--ac); color:#fff; padding:10px 20px; border-radius:30px; font-family:'Rajdhani'; font-weight:bold; font-size:13px; z-index:10000; opacity:0; transition:0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); pointer-events:none; box-shadow:0 5px 20px rgba(0,0,0,0.8); text-transform:uppercase; letter-spacing:1px; display:flex; align-items:center; gap:10px; }
  #toast.show { opacity:1; transform:translateX(-50%) translateY(0); }

  #boot { position:fixed; inset:0; background:#000; z-index:9999; display:flex; flex-direction:column; align-items:center; justify-content:center; font-family:'Rajdhani'; }
  .boot-txt { color:var(--grn); font-size:14px; margin-bottom:5px; border-right:2px solid var(--grn); animation:type 0.5s steps(20,end); white-space:nowrap; overflow:hidden; }
  
.head { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding-bottom: 15px; 
  border-bottom: 1px solid rgba(255,255,255,0.1); 
  margin-bottom: 20px; 
  height: 60px;
  width: 100%;
}
@media all and (display-mode: standalone) {
  .ico[onclick="full()"], .btn-t[onclick="full()"] { display: none !important; }
}
.head-l { 
  display: flex; 
  align-items: center; 
  gap: 5px; 
}

.head-r {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-box { 
  display: flex; 
  align-items: center; 
  gap: 1px; 
}

.logo-txt { 
  font-family: 'Rajdhani', sans-serif; 
  font-weight: 800; 
  font-size: 16px; 
  color: #ccc; 
  letter-spacing: 2px; 
  line-height: 1; 
  position: relative;
  top: -2px; 
}
.btn-back {
  font-size: 36px;
  color: #666;
  text-decoration: none;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: 30px;
  margin-right: 5px;
  position: relative;
  top: -5px;
  line-height: 0;
  padding-bottom: 4px;
}
.btn-back:hover { color: #fff; }
.ico { 
  width: 34px; 
  height: 34px; 
  border: 1px solid #333; 
  border-radius: 50%; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  color: #fff; 
  text-decoration: none; 
  background: transparent; 
  cursor: pointer; 
  transition: 0.2s;
}

.ico:hover { 
  border-color: #fff; 
  background: rgba(255,255,255,0.1); 
}

.btn-back {
  font-size: 24px;
  color: #666;
  text-decoration: none;
  transition: 0.2s;
  display: flex;
  align-items: center;
  height: 34px;
}
.btn-back:hover { color: #fff; }
  

.hero-name {
  font-family: 'Rajdhani'; 
  font-weight: 800; 
  font-size: 42px;
  text-transform: uppercase; 
  color: #fff; 
  line-height: 1;
  text-shadow: 2px 2px var(--red), -2px -2px var(--blu);
}

.hero-sport {
  color: var(--ac); 
  font-size: 12px; 
  letter-spacing: 4px; 
  font-weight: bold; 
  text-transform: uppercase; 
  margin-top: 5px;
}

.edit-link {
  font-family: 'Montserrat';
  color: #444; 
  font-size: 10px; 
  margin-left: 10px; 
  cursor: pointer; 
  vertical-align: middle; 
  border: 1px solid #333;
  padding: 2px 6px;
  border-radius: 4px;
  text-decoration: none;
  transition: 0.2s;
}
.edit-link:hover { color: #fff; border-color: #fff; }

 .id-box { 
  text-align: center; 
  margin-top: 10px; 
  margin-bottom: 25px; 
  animation: slideIn 0.5s ease-out;
}
  .glitch-nm { font-family:'Rajdhani'; font-weight:800; font-size:32px; text-transform:uppercase; color:#fff; text-shadow:2px 2px var(--red), -2px -2px var(--blu); display:inline-block; margin-right:5px; }
  .sub-sp { color:var(--ac); font-family:'Rajdhani'; font-size:12px; letter-spacing:3px; font-weight:bold; text-transform:uppercase; margin-top:5px; }
  .btn-edit { background:rgba(255,255,255,0.1); border:1px solid #444; color:#ccc; font-size:10px; width:24px; height:24px; border-radius:50%; cursor:pointer; vertical-align:top; display:inline-flex; align-items:center; justify-content:center; transition:0.2s; margin-left:5px; }
  .btn-edit:hover { border-color:var(--ac); color:var(--ac); }

  .stats { display:flex; justify-content:center; gap:15px; margin-bottom:20px; }
  .s-tag { background:#111; border:1px solid #333; padding:5px 12px; border-radius:20px; font-size:12px; font-family:'Rajdhani'; font-weight:bold; display:flex; align-items:center; gap:5px; }
  .fire { color:#666; } .fire.on { color:orange; filter:drop-shadow(0 0 5px orange); }

 .stage { 
  background: radial-gradient(circle, rgba(255,255,255,0.03), transparent 70%); 
  border: 1px solid #333; 
  border-top: 1px solid var(--ac); 
  border-bottom: 1px solid var(--ac);
  border-radius: 4px; 
  
  padding: 20px 10px;
  margin-bottom: 20px; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  position: relative;
  overflow: hidden;
  
  height: auto; 
  max-height: 300px;
  
  transition: max-height 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
              padding 0.5s cubic-bezier(0.25, 1, 0.5, 1),
              border-color 0.3s;
}
.chr { 
  width: 100%;
  height: auto;
  max-height: 80px;
  
  display: block;
  margin: 10px auto 20px auto;
  
  filter: drop-shadow(0 0 8px var(--ac)); 
}
  .bp { fill:rgba(10,12,16,0.95); stroke:var(--ac); stroke-width:1.5; stroke-linejoin:round; transition:0.3s; }
  
  .c-row { display:grid; grid-template-columns:repeat(10, 1fr); gap:6px; margin-top:0px; width:100%; justify-content:center; padding:10px; background:rgba(0,0,0,0.5); border-radius:8px; border:1px solid #333; }
  .c-dot { width:22px; height:22px; border-radius:50%; cursor:pointer; border:2px solid #444; transition:0.2s; position:relative; display:flex; justify-content:center; align-items:center; }
  .c-dot:hover { transform:scale(1.2); z-index:10; border-color:#fff; }
  .c-dot.act { border:2px solid #fff; box-shadow:0 0 10px var(--ac); transform:scale(1.3); z-index:5; }
  .c-dot.lck { 
  opacity: 0.5 !important;
  filter: brightness(0.6) !important;
  cursor: not-allowed; 
  border-color: #333;
}

.c-dot.lck .lk {
  color: #fff;
  text-shadow: 0 0 2px #000;
  opacity: 1;
  font-weight: bold;
}

  .tier-1 { --tc: #444; }
.tier-2 { --tc: var(--grn); }
.tier-3 { --tc: var(--blu); }
.tier-4 { --tc: var(--pur); }
.tier-5 { --tc: var(--gld); }

  .c-head { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  margin-bottom: 12px;
  gap: 15px;
}

  .tier-5 .c-lvl, .tier-5 .c-tit { color:var(--gld); text-shadow:0 0 5px var(--gld); }
.bar-f {
  background: var(--ac) !important; 
  
  box-shadow: 0 0 8px var(--ac); 
  
  transition: width 0.5s ease, background 0.3s, box-shadow 0.3s;
}
.act { 
  display: flex; 
  gap: 12px; 
  border-top: 1px solid rgba(255,255,255,0.1); 
  padding-top: 15px;
  align-items: center; 
}

.ba { 
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--ac);
  color: var(--ac);
  
  font-size: 11px;
  letter-spacing: 1px;
  padding: 10px 12px;
  border-radius: 6px; 
  cursor: pointer; 
  font-weight: 800;
  font-family: 'Rajdhani'; 
  flex: 1; 
  transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-transform: uppercase;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
} 

.ba:hover { 
  background: var(--ac);
  color: #000;
  border-color: var(--ac);
  box-shadow: 0 0 15px var(--ac);
  transform: translateY(-2px);
}
  .btn-up { width:100%; background:var(--gld); color:#000; border:none; padding:10px; border-radius:6px; font-size:12px; font-weight:bold; cursor:pointer; animation:p 2s infinite; margin-bottom:10px; display:block; box-shadow:0 0 15px rgba(255,200,0,0.4); }

 #fxp { 
  display: none; 
  background: linear-gradient(90deg, rgba(5,217,232,0.05), transparent); 
  border-left: 4px solid var(--blu); 
  padding: 15px; 
  margin-bottom: 25px; 
  cursor: pointer; 
  border-radius: 4px; 
  
  animation: calmBreath 4s infinite ease-in-out; 
}
.add-btn { 
  width: 100%; 
  padding: 16px; 
  margin-top: 20px; 
  
  background: rgba(0, 255, 157, 0.05); 
  border: 1px solid var(--grn); 
  color: var(--grn); 
  
  font-family: 'Rajdhani'; 
  font-weight: 800;
  font-size: 14px; 
  text-transform: uppercase; 
  letter-spacing: 1px;
  
  cursor: pointer; 
  transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 255, 157, 0.1);
} 

.add-btn:hover { 
  background: var(--grn); 
  color: #000; 
  box-shadow: 0 0 25px var(--grn);
  transform: translateY(-2px);
}
.btn-upgrade-slim {
 animation: goldBreath 3s infinite ease-in-out !important;
  
  box-shadow: none !important; 
  border-color: var(--gld);
  color: var(--gld);
  background: rgba(255, 200, 0, 0.05);
}

.btn-upgrade-slim:hover {
  background: var(--gld);
  color: #000;
  box-shadow: 0 0 20px rgba(255, 200, 0, 0.6) !important;
  transform: scale(1.02);
  animation: none !important;
}

.btn-upgrade-slim:active {
  transform: scale(0.98);
}

@keyframes pulseBorder {
  0% { border-color: rgba(255, 200, 0, 0.3); box-shadow: 0 0 0 rgba(255,200,0,0); }
  50% { border-color: rgba(255, 200, 0, 1); box-shadow: 0 0 10px rgba(255,200,0,0.1); }
  100% { border-color: rgba(255, 200, 0, 0.3); box-shadow: 0 0 0 rgba(255,200,0,0); }
}
  .hof-btn { width:100%; padding:15px; background:#111; border:1px solid var(--blu); color:var(--blu); font-family:'Rajdhani'; font-weight:bold; margin-top:10px; cursor:pointer; transition:0.2s; } .hof-btn:hover { background:rgba(5,217,232,0.1); }

  .mod { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.95); z-index:999; align-items:center; justify-content:center; padding:20px; }
  .box { background:#12121a; border:1px solid #333; padding:25px; width:100%; max-width:400px; border-radius:16px; position:relative; text-align:center; max-height:90vh; overflow-y:auto; }
  .x-btn { position:absolute; top:10px; right:15px; background:none; border:none; color:#666; font-size:24px; cursor:pointer; }
  input { width:100%; background:#000; border:1px solid #444; color:#fff; padding:12px; margin-bottom:15px; border-radius:6px; box-sizing:border-box; font-family:'Montserrat'; font-size: 16px !important;}
  .lbl { font-size:10px; color:#888; text-transform:uppercase; display:block; text-align:left; margin-bottom:5px; font-weight:bold; margin-top:10px; }
  .w-opt { width:100%; padding:15px; margin-bottom:10px; background:#1a1a25; border:1px solid #333; color:#fff; text-align:left; cursor:pointer; border-radius:8px; transition:0.2s; }
  .w-opt:hover { border-color:var(--grn); transform:translateX(5px); }
  
  .lvl-card { background:linear-gradient(135deg, #000, #1a1a20); border:2px solid var(--gld); padding:30px 20px; border-radius:15px; margin-bottom:15px; position:relative; overflow:hidden; }
  .lvl-card::before { content:''; position:absolute; top:-50%; left:-50%; width:200%; height:200%; background:repeating-linear-gradient(45deg,transparent,transparent 10px,rgba(255,200,0,0.05) 10px,rgba(255,200,0,0.05) 20px); animation:rot 20s linear infinite; }
  .lvl-big { font-size:60px; color:var(--gld); font-family:'Rajdhani'; font-weight:800; text-shadow:0 0 20px var(--gld); line-height:1; }
  .lvl-info { color:#fff; margin-bottom:20px; font-size:14px; position:relative; z-index:2; }
  
.hof-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
  text-align: left;
  padding: 15px;
  background: rgba(255,255,255,0.05);
  border: 1px solid #333;
  border-radius: 8px;
  position: relative;
  z-index: 2;
  
  width: 100%;
  box-sizing: border-box;
}

.hof-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #ccc;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
  padding-bottom: 4px;
}
.hof-row:last-child { border-bottom: none; }
  .hof-n { font-weight:bold; text-transform:uppercase; }
  .hof-l { font-family:'Rajdhani'; color:var(--gld); }
  
  .xp-float { position:absolute; color:var(--gld); font-weight:bold; font-size:14px; pointer-events:none; animation:flyUp 1s forwards; z-index:2000; }

  @keyframes type { from{width:0} } @keyframes scn { 0%{top:0%;opacity:0} 10%{opacity:1} 90%{opacity:1} 100%{top:100%;opacity:0} }
  @keyframes flyUp { 0%{opacity:1;transform:translateY(0)} 100%{opacity:0;transform:translateY(-50px)} }
@keyframes calmBreath { 
  0% { 
    opacity: 0.7; 
    border-left-color: rgba(5,217,232,0.3); 
  } 
  50% { 
    opacity: 1; 
    border-left-color: var(--blu); 
  } 
  100% { 
    opacity: 0.7; 
    border-left-color: rgba(5,217,232,0.3); 
  } 
}
  @keyframes breath { 0%,100%{transform:scale(1)} 50%{transform:scale(1.02)} }
  @keyframes leg { 0%{border-color:var(--gld)} 50%{border-color:#fff} 100%{border-color:var(--gld)} }
  @keyframes rot { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }


.hero-box { 
  text-align: center; 
  margin-top: 10px; 
  margin-bottom: 30px; 
  animation: fadeInTitle 1s ease-out;
}
.card {
  position: relative;
}

.sys-badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 4px 10px;
  
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;
  
  border-bottom-left-radius: 8px;
  z-index: 10;
  pointer-events: none;
}

.tag-mvp {
  background: var(--gld);
  color: #000;
  box-shadow: -2px 2px 15px rgba(255, 200, 0, 0.2);
}

.tag-weak {
  background: var(--red);
  color: #fff;
  box-shadow: -2px 2px 15px rgba(255, 42, 109, 0.2);
  animation: pulseWeak 2s infinite;
}

@keyframes pulseWeak { 
  0% { opacity: 1; } 
  50% { opacity: 0.7; } 
  100% { opacity: 1; } 
}
.hero-title { 
  font-family: 'Rajdhani', sans-serif; 
  font-weight: 800; 
  font-size: 42px;
  line-height: 1; 
  text-transform: uppercase; 
  letter-spacing: 2px; 
  color: #fff;
  
  text-shadow: 0 0 10px var(--hc), 0 0 20px var(--hc);
}

.hero-sub { 
  font-size: 10px; 
  color: var(--hc); 
  letter-spacing: 4px; 
  text-transform: uppercase; 
  font-weight: bold; 
  margin-top: 5px; 
  opacity: 0.8;
}

@keyframes fadeInTitle { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.btn-vis {
  position: absolute; top: 10px; right: 10px; z-index: 50;
  background: rgba(0, 0, 0, 0.8); border: 1px solid #444; color: #666;
  padding: 5px 10px; border-radius: 6px; cursor: pointer;
  font-family: 'Rajdhani'; font-weight: bold; font-size: 10px;
  letter-spacing: 1px; transition: 0.3s;
  transform: translate(0, 0); 
}
.btn-vis:hover { border-color: #fff; color: #fff; }

.stage.minimized {
  max-height: 46px !important;
  padding: 0 10px !important;
  
  background: transparent;
  border-color: #222;
  border-top: 1px dashed #333;
  border-bottom: 1px dashed #333;
}

.stage svg, 
.stage .c-row, 
.stage .tech-sep {
  opacity: 1;
  transition: opacity 0.4s ease 0.2s;
}

.stage.minimized svg, 
.stage.minimized .c-row, 
.stage.minimized .tech-sep {
  opacity: 0 !important;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.stage.minimized .btn-vis {
  border-color: var(--ac);
  color: var(--ac);
  
  width: 100%;
  height: 46px;
  top: 0; left: 0; right: 0;
  
  background: transparent;
  border: none;
  font-size: 11px;
  
  display: flex;
  align-items: center;
  justify-content: center;
}
.stage.minimized .btn-vis:hover {
  background: rgba(255,255,255,0.05);
}

.stage.minimized .btn-vis {
  border-color: var(--ac);
  color: var(--ac);
  width: 100%;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: transparent;
  text-align: center;
  border: none;
}
.logic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 25px;
  animation: slideIn 0.5s ease-out;
}

.logic-card {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #333;
  border-left-width: 3px;
  padding: 10px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}

.logic-card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.logic-icon {
  font-size: 18px;
  margin-bottom: -5px;
  text-shadow: 0 0 10px currentColor;
}

.logic-ti {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 11px;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.logic-tx {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  color: #ccc;
  line-height: 1.4;
}

.logic-tx strong {
  color: #fff;
  font-weight: 600;
}
.admin-deck {
  margin-top: 40px;
  border-top: 1px dashed #333;
  padding-top: 20px;
}

.deck-header {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 10px;
  color: #666;
  letter-spacing: 2px;
  margin-bottom: 15px;
  text-align: center;
}

.deck-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 15px;
}

.deck-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(0,0,0,0.4));
  border: 1px solid #333;
  border-bottom: 2px solid var(--dc);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: 0.2s;
  text-align: left;
  width: 100%;
}

.deck-card:active {
  transform: scale(0.96);
  background: rgba(255,255,255,0.05);
}

.deck-icon {
  font-size: 24px;
  color: var(--dc);
  filter: drop-shadow(0 0 8px var(--dc));
  margin-right: 15px;
  
  display: flex;
  align-items: center;
  justify-content: center;
}

.deck-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.deck-info {
  display: flex;
  flex-direction: column;
}

.deck-tit {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: #fff;
  letter-spacing: 1px;
}

.deck-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  color: #888;
  margin-top: 2px;
}

.deck-reset {
  width: 100%;
  background: transparent;
  border: 1px dashed #444;
  color: #555;
  padding: 10px;
  border-radius: 6px;
  font-family: 'Rajdhani';
  font-size: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.deck-reset:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(255, 42, 109, 0.05);
}


.card {
  display: grid;
  grid-template-areas: 
    "head head"
    "bar bar"
    "xp btn"
    "act act";
  grid-template-columns: 1fr auto;
  
  background: #0f0f13;
  border: 1px solid #333;
  border-left: 3px solid var(--tc);
  border-radius: 6px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.card-h {
  grid-area: head;
  display: flex;
  justify-content: flex-start; 
  align-items: center;
  gap: 15px; 
  padding: 12px 15px 8px 15px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 0 !important;
}
.c-tit { 
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 1px; 
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.c-lvl { 
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px; 
  font-weight: 800;
  
  color: #fff;            
  
  padding: 3px 8px;
  background: rgba(0,0,0,0.6);
  border: 1px solid var(--tc);
  border-radius: 4px;
  
  text-shadow: 0 0 5px var(--tc); 
  box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
}

.bar-bg {
  grid-area: bar;
  height: 2px;
  background: rgba(255,255,255,0.1);
  width: 100%;
  margin: 0;
  border-radius: 0;
}
.bar-f {
  height: 100%;
  box-shadow: 0 0 10px var(--tc);
  border-radius: 0;
}

.xp-txt {
  grid-area: xp;
  align-self: center;
  justify-self: start;
  
  padding: 12px 15px;
  margin: 0 !important;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  color: #666;
  font-weight: 600;
}

div[id^="btn-"] {
  grid-area: btn;
  align-self: center;
  justify-self: end;
  padding-right: 15px;
}

.btn-upgrade-slim {
  width: auto;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--gld);
  color: var(--gld);
  
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 800;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  
  animation: hudPulse 2s infinite ease-in-out;
}

.btn-upgrade-slim:hover {
  background: var(--gld);
  color: #000;
  box-shadow: 0 0 15px var(--gld);
  transform: scale(1.05);
}



.card .act {
  grid-area: act;
  display: flex;
  gap: 10px;
  padding: 0 15px 15px 15px;
  margin-top: 5px;
  border-top: none; 
}

.ba {
  background: #18181e;
  border: 1px solid #333;
  color: #777;
  font-size: 10px;
  padding: 8px;
  border-radius: 4px;
  transition: 0.2s;
}
.ba:hover {
  border-color: #555;
  background: #222;
  color: #fff;
  transform: translateY(-2px);
}


.card.is-mvp, .card.is-weak {
  background: #0f0f13 !important;
}

.card.is-mvp {
  border-left-color: var(--gld) !important;
  box-shadow: inset 0 0 20px rgba(255, 215, 0, 0.05), 0 4px 15px rgba(0,0,0,0.5);
}
.card.is-mvp .c-tit { color: var(--gld); text-shadow: 0 0 10px rgba(255,215,0,0.3); }

.card.is-weak {
  border-left-color: var(--red) !important;
  box-shadow: inset 0 0 20px rgba(255, 42, 109, 0.05), 0 4px 15px rgba(0,0,0,0.5);
}
.card.is-weak .c-tit { color: var(--red); }

.sys-badge {
  position: absolute;
  top: 0;
  right: 0;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 9px;
  padding: 3px 8px;
  border-bottom-left-radius: 6px;
  z-index: 10;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tag-mvp {
  background: var(--gld);
  color: #000;
  box-shadow: -2px 2px 10px rgba(255,215,0,0.2);
}

.tag-weak {
  background: var(--red);
  color: #fff;
  box-shadow: -2px 2px 10px rgba(255,42,109,0.2);
  animation: weakAlert 2s infinite;
}

@keyframes hudPulse {
  0% { box-shadow: 0 0 0 rgba(255,200,0,0); border-color: rgba(255,200,0,0.4); }
  50% { box-shadow: 0 0 12px rgba(255,200,0,0.4); border-color: var(--gld); }
  100% { box-shadow: 0 0 0 rgba(255,200,0,0); border-color: rgba(255,200,0,0.4); }
}

@keyframes weakAlert {
  0% { opacity: 0.7; }
  50% { opacity: 1; text-shadow: 0 0 5px var(--red); }
  100% { opacity: 0.7; }
}
@keyframes deepBreath {
  0% { 
    opacity: 0.85; 
    transform: scale(1);
    box-shadow: 0 0 5px rgba(255,255,255,0.05);
  }
  50% { 
    opacity: 1; 
    transform: scale(1.01);
    box-shadow: 0 0 15px rgba(255,255,255,0.15);
  }
  100% { 
    opacity: 0.85; 
    transform: scale(1);
    box-shadow: 0 0 5px rgba(255,255,255,0.05);
  }
}
.sys-memo {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--ac);
  
  padding: 15px;
  margin-bottom: 25px;
  border-radius: 6px;
  
  animation: slideIn 0.6s ease-out;
}

.memo-icon {
  font-size: 24px;
  line-height: 1;
  filter: drop-shadow(0 0 10px var(--ac)); 
}

.memo-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.memo-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--ac);
  text-transform: uppercase;
}

.memo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  line-height: 1.5;
  color: #aaa;
}

.memo-text strong {
  color: #fff;
  font-weight: 600;
}
.mod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 25px;
  animation: slideIn 0.5s ease-out;
}

.mod-card {
  position: relative;
  background: rgba(25, 25, 30, 0.6);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 3px solid var(--mc); 
  border-radius: 8px;
  padding: 15px 12px;
  
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
}

.mod-card:hover {
  background: rgba(255,255,255,0.03);
  border-color: var(--mc);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.mod-icon {
  color: var(--mc);
  filter: drop-shadow(0 0 8px var(--mc));
  margin-bottom: 5px;
  
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.mod-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.mod-tit {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: #fff;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.mod-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  color: #888;
  line-height: 1.4;
}

.mod-arr {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 18px;
  color: var(--mc);
  opacity: 0.5;
  font-family: 'Rajdhani';
  font-weight: bold;
  transition: 0.3s;
}

.mod-card:hover .mod-arr {
  opacity: 1;
  transform: translateX(3px);
}

.xp-label {
  font-weight: 800;
  margin-right: 5px;
  font-size: 10px;
  letter-spacing: 1px;
  display: inline-block;
}

.xp-alert {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 20px;
  
  border: 1px solid var(--gld) !important;
  color: var(--gld);
  background: rgba(255, 200, 0, 0.05);
  
  animation: goldBreath 4s infinite ease-in-out;
}

@media (max-width: 360px) {
  .xp-label {
    display: none;
  }
}

.xp-alert:hover {
  background: var(--gld);
  color: #000;
  box-shadow: 0 0 20px rgba(255, 200, 0, 0.6);
  transform: translateY(-2px);
  animation: none;
}

.pulse-icon {
  margin-right: 5px;
  animation: spin 3s infinite linear;
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 5px rgba(5, 217, 232, 0.2); border-color: rgba(5, 217, 232, 0.4); }
  50% { box-shadow: 0 0 15px rgba(5, 217, 232, 0.6); border-color: var(--blu); }
  100% { box-shadow: 0 0 5px rgba(5, 217, 232, 0.2); border-color: rgba(5, 217, 232, 0.4); }
}

.stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
@keyframes goldBreath { 
  0% { 
    border-color: rgba(255, 200, 0, 0.3); 
    box-shadow: 0 0 0 rgba(255, 200, 0, 0);
    transform: scale(1);
  } 
  50% { 
    border-color: var(--gld); 
    box-shadow: 0 0 10px rgba(255, 200, 0, 0.2);
    transform: scale(1.02);
  } 
  100% { 
    border-color: rgba(255, 200, 0, 0.3); 
    box-shadow: 0 0 0 rgba(255, 200, 0, 0);
    transform: scale(1);
  } 
}
.xp-wallet {
  margin-top: 2px;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.xp-big {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--gld);
  text-shadow: 0 0 10px rgba(255, 200, 0, 0.3);
  line-height: 1;
  transition: all 0.2s;
}

.xp-unit {
  font-family: 'Rajdhani', sans-serif;
  font-weight: bold;
  font-size: 10px;
  color: #888;
  text-transform: uppercase;
}
.tech-sep {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  margin-bottom: 12px;
  margin-top: -10px;
  opacity: 0.8;
}

.tech-sep .line {
  height: 1px;
  background: linear-gradient(90deg, transparent, #333, transparent);
  flex: 1;
}

.tech-sep .lbl {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 10px;
  color: var(--ac);
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.stage.minimized .tech-sep {
  opacity: 0;
  pointer-events: none;
}
#sys-tut-layer {
  position: fixed; inset: 0; z-index: 9999;
  background: transparent;
  display: none; flex-direction: column; align-items: center; justify-content: center;
}

#sys-tut-focus {
  position: fixed;
  top: 0; left: 0;
  
  border: 1px solid var(--grn); 
  box-shadow: 0 0 0 9999px rgba(0,0,0,0.85), 0 0 30px rgba(0,255,157,0.2); 
  transition: all 0.3s ease-out;
  pointer-events: none; z-index: 10000;
  opacity: 0;
  border-radius: 6px;
}
.f-corner { position: absolute; width: 10px; height: 10px; border-color: var(--grn); border-style: solid; transition:0.3s; }
.tl { top: -1px; left: -1px; border-width: 3px 0 0 3px; }
.tr { top: -1px; right: -1px; border-width: 3px 3px 0 0; }
.bl { bottom: -1px; left: -1px; border-width: 0 0 3px 3px; }
.br { bottom: -1px; right: -1px; border-width: 0 3px 3px 0; }

#sys-tut-box {
  position: fixed; 
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 500px;
  
  background: #0a0a0e; 
  border: 1px solid #333; 
  border-left: 4px solid var(--grn);
  padding: 20px; 
  border-radius: 8px; 
  z-index: 10001;
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
  
  transition: opacity 0.3s ease, top 0.3s ease, bottom 0.3s ease;
  opacity: 0;
}

.t-bot {
  bottom: 40px;
  top: auto;
}

.t-top {
  top: 90px;
  bottom: auto;
}
.tm-icon { font-size: 24px; margin-bottom: 10px; animation: pulse 2s infinite; }
#tm-head { font-family: 'Rajdhani'; font-weight: 800; font-size: 18px; color: var(--grn); letter-spacing: 2px; margin-bottom: 5px; text-transform:uppercase; }
#tm-body { font-size: 13px; color: #ccc; line-height: 1.5; margin-bottom: 20px; }
#tm-nav { display: flex; justify-content: space-between; align-items: center; }

.b-tut-next { background: var(--grn); color: #000; border: none; padding: 10px 20px; font-weight: bold; font-family: 'Rajdhani'; letter-spacing: 1px; cursor: pointer; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.b-tut-skip { background: transparent; color: #666; border: none; font-size: 11px; cursor: pointer; letter-spacing: 1px; }



.id-card-box {
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  overflow: visible !important;
  max-width: 360px !important;
  width: 100%;
}

.id-card {
  position: relative;
  background: #0a0a0e;
  border: 1px solid #333;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,215,0,0.1);
  display: flex;
  flex-direction: column;
}

.id-bg-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.4; pointer-events: none; z-index: 0;
}

.id-scanline {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.2) 3px
  );
  z-index: 1; pointer-events: none;
}

.id-header {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
}

.id-sys-name {
  font-family: 'Rajdhani'; font-weight: bold; font-size: 12px;
  letter-spacing: 2px; color: #666; margin-left: 10px;
}

.id-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  
  background: rgba(0, 255, 157, 0.05);
  border: 1px solid rgba(0, 255, 157, 0.3);
  padding: 4px 8px;
  border-radius: 4px;
  
  font-family: 'Rajdhani', sans-serif;
  font-weight: bold;
  font-size: 10px;
  color: var(--grn);
  letter-spacing: 1px;
  box-shadow: 0 0 10px rgba(0, 255, 157, 0.1);
}

.status-dot {
  width: 6px; height: 6px;
  background: var(--grn);
  border-radius: 50%;
  box-shadow: 0 0 5px var(--grn);
  animation: blinkStatus 2s infinite;
}

@keyframes blinkStatus {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}
.id-body {
  position: relative; z-index: 2;
  padding: 30px 20px 10px 20px;
  text-align: left;
}

.id-label {
  font-size: 9px; color: var(--gld); letter-spacing: 2px; font-weight: bold;
  margin-bottom: 5px; opacity: 0.7;
}

.id-name-glitch {
  font-family: 'Rajdhani'; font-weight: 800; font-size: 32px;
  color: #fff; text-transform: uppercase; line-height: 0.9;
  text-shadow: 2px 2px 0px rgba(255,255,255,0.1);
  margin-bottom: 5px;
}

.id-sport {
  font-family: 'Montserrat'; font-size: 11px; color: #888;
  letter-spacing: 4px; text-transform: uppercase;
}

.id-core {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px;
}

.id-lvl-wrap {
  position: relative;
  width: 90px; height: 90px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.id-lvl-ring {
  position: absolute; inset: 0;
  border: 4px solid var(--gld);
  border-radius: 50%;
  border-bottom-color: transparent;
  transform: rotate(-45deg);
  box-shadow: 0 0 15px rgba(255,215,0,0.2);
}
.id-lvl-val {
  font-family: 'Rajdhani'; font-weight: 800; font-size: 42px;
  color: #fff; line-height: 1; text-shadow: 0 0 10px var(--gld);
}
.id-lvl-label {
  font-size: 8px; color: var(--gld); letter-spacing: 1px; font-weight: bold;
  position: absolute; bottom: 18px;
}

.id-streak-box {
  flex: 1; margin-left: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid #333;
  border-radius: 8px;
  padding: 10px;
  display: flex; align-items: center; gap: 10px;
}
.stk-data { text-align: left; }
.stk-val { font-family: 'Rajdhani'; font-weight: bold; color: #fff; font-size: 16px; }
.stk-lbl { font-size: 8px; color: #666; letter-spacing: 1px; }

.id-footer {
  position: relative; z-index: 2;
  background: #000;
  border-top: 2px solid var(--gld);
  padding: 20px;
  margin-top: auto;
}

.id-foot-lbl {
  font-size: 9px; color: #444; font-weight: bold; margin-bottom: 15px;
  text-align: left; letter-spacing: 1px;
}

.hof-stats-grid {
  display: flex; flex-direction: column; gap: 8px;
}

.hof-stats-grid .hof-row {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 5px;
  border-bottom: 1px dashed #222;
}
.hof-stats-grid .hof-n { color: #ccc; font-size: 11px; font-family: 'Montserrat'; }
.hof-stats-grid .hof-l { color: var(--gld); font-family: 'Rajdhani'; font-weight: bold; }

.id-close-btn {
  margin-top: 15px;
  width: 100%;
  background: transparent;
  color: #666;
  border: 1px solid #333;
  padding: 12px;
  font-family: 'Rajdhani'; font-weight: bold; letter-spacing: 2px;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.2s;
}
.id-close-btn:hover {
  border-color: #fff; color: #fff; background: rgba(255,255,255,0.05);
}
.fire-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  
  width: 32px;
  height: 32px;
  
  background: rgba(255, 200, 0, 0.05);
  border: 1px solid rgba(255, 200, 0, 0.3);
  border-radius: 50%;
  
  color: var(--gld);
  box-shadow: 0 0 10px rgba(255, 200, 0, 0.1);
  margin-right: 2px;
}

.fire-icon svg {
  width: 18px; 
  height: 18px;
  filter: drop-shadow(0 0 2px rgba(255, 200, 0, 0.5));
}
.fire {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  color: #444;
  transition: all 0.3s ease;
}

.fire svg {
  width: 100%;
  height: 100%;
}

.fire.on {
  color: #ff9d00;
  filter: drop-shadow(0 0 5px #ff9d00);
  animation: tagPulse 2s infinite ease-in-out;
}

@keyframes tagPulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; filter: drop-shadow(0 0 8px #ff9d00); }
  100% { transform: scale(1); opacity: 0.8; }
}

.lvl-god-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: radial-gradient(circle at top, #1a1a20, #000);
  border: 1px solid #333;
  border-top: 2px solid var(--gld);
  border-bottom: 2px solid var(--gld);
  border-radius: 20px;
  padding: 40px 20px 20px 20px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(0,0,0,0.8), 0 0 20px rgba(255, 200, 0, 0.1);
  animation: slideUpPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideUpPop {
  0% { opacity: 0; transform: translateY(50px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.lvl-aura {
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: conic-gradient(
    from 0deg, 
    transparent 0deg, 
    rgba(255, 200, 0, 0.05) 60deg, 
    transparent 120deg, 
    rgba(255, 200, 0, 0.05) 180deg, 
    transparent 240deg, 
    rgba(255, 200, 0, 0.05) 300deg, 
    transparent 360deg
  );
  animation: auraSpin 20s linear infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes auraSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.lvl-particles {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.3; z-index: 0;
}

.lvl-top { position: relative; z-index: 2; margin-bottom: 20px; }
.lvl-icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  background: var(--gld); color: #000;
  font-size: 14px; border-radius: 50%;
  box-shadow: 0 0 15px var(--gld);
  margin-bottom: 10px;
  animation: bounceBadge 2s infinite;
}
@keyframes bounceBadge { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }

.lvl-h-txt {
  font-family: 'Rajdhani'; font-weight: 800; letter-spacing: 4px; color: #666; font-size: 12px;
}

.lvl-core {
  position: relative; z-index: 2;
  width: 120px; height: 120px;
  margin: 0 auto 25px auto;
  display: flex; align-items: center; justify-content: center;
}

.lvl-ring-outer {
  position: absolute; inset: 0;
  border: 1px dashed rgba(255,200,0,0.3);
  border-radius: 50%;
  animation: spinRight 10s linear infinite;
}
.lvl-ring-inner {
  position: absolute; inset: 10px;
  border: 2px solid var(--gld);
  border-top-color: transparent; border-bottom-color: transparent;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255,200,0,0.2);
  animation: spinLeft 4s linear infinite;
}

@keyframes spinRight { to { transform: rotate(360deg); } }
@keyframes spinLeft { to { transform: rotate(-360deg); } }

.lvl-num-glitch {
  font-family: 'Rajdhani'; font-weight: 800; font-size: 72px;
  color: #fff;
  text-shadow: 0 0 20px var(--gld), 4px 4px 0px rgba(0,0,0,0.5);
  line-height: 1;
  z-index: 5;
}

.lvl-mid { position: relative; z-index: 2; margin-bottom: 30px; }
.lvl-sub {
  font-size: 10px; color: var(--gld); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 5px; opacity: 0.8;
}
.lvl-name {
  font-family: 'Rajdhani'; font-weight: 800; font-size: 28px; color: #fff;
  text-transform: uppercase; letter-spacing: 1px;
  text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.lvl-journal {
  background: rgba(0,0,0,0.5); border: 1px solid #333;
  padding: 10px; margin-bottom: 20px; border-radius: 6px;
  font-size: 11px; color: #ccc; text-align: left;
  display: none; position: relative; z-index: 2;
}
.lvl-journal div { margin-bottom: 4px; padding-bottom: 4px; border-bottom: 1px dashed #222; }

.lvl-actions {
  display: flex; flex-direction: column; gap: 10px;
  position: relative; z-index: 2;
}

.lvl-btn-share {
  background: var(--gld);
  color: #000;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-family: 'Rajdhani'; font-weight: 800; font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 5px 20px rgba(255, 200, 0, 0.3);
  transition: 0.3s;
}
.lvl-btn-share:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 200, 0, 0.5);
  background: #ffdb4d;
}

.lvl-btn-ghost {
  background: transparent; border: 1px dashed #444; color: #666;
  padding: 8px; border-radius: 6px; font-size: 10px; font-weight: bold; cursor: pointer;
}
.lvl-btn-ghost:hover { border-color: #777; color: #aaa; }

.lvl-btn-close {
  background: #111; color: #fff; border: 1px solid #333;
  padding: 12px; border-radius: 8px; font-family: 'Rajdhani'; font-weight: bold;
  cursor: pointer; transition: 0.2s;
}
.lvl-btn-close:hover { background: #222; border-color: #555; }

@media (max-height: 700px) {
  .lvl-god-card { padding-top: 20px; }
  .lvl-core { width: 90px; height: 90px; margin-bottom: 15px; }
  .lvl-num-glitch { font-size: 50px; }
  .lvl-name { font-size: 22px; }
}
.lvl-brand-header {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #fff;
  letter-spacing: 4px;
  text-transform: uppercase;
  
  width: 100%;
  padding-bottom: 15px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}
