:root {
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --btn-bg: radial-gradient(circle at 50% 35%, rgba(70, 110, 150, 0.75), rgba(20, 35, 55, 0.85));
  --btn-ring: rgba(170, 220, 255, 0.55);
  --accent: #7fd4ff;
  --ui-font: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #183238;
  color: #eaf4ff;
  font-family: var(--ui-font);
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}

#viewport {
  position: fixed;
  inset: 0;
}

#hud {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

/* ---------------- Input layer ---------------- */

.input-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  touch-action: none;
}

.input-layer:not(.touch-on) .joy-zone,
.input-layer:not(.touch-on) .action-cluster,
.input-layer:not(.touch-on) .spell-row,
.input-layer:not(.touch-on) .aim-cancel {
  display: none;
}

.ctl {
  pointer-events: auto;
  position: absolute;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: var(--btn-bg);
  box-shadow: 0 0 0 0.35vh var(--btn-ring), 0 0.6vh 1.6vh rgba(0, 0, 0, 0.45);
  color: #eaf6ff;
  touch-action: none;
  display: grid;
  place-items: center;
  font: 700 2.6vh var(--ui-font);
  transition: transform 80ms ease-out, box-shadow 80ms;
  overflow: hidden;
}

.ctl svg {
  width: 52%;
  height: 52%;
}

.ctl.pressed {
  transform: scale(0.92);
  box-shadow: 0 0 0 0.45vh var(--accent), 0 0.3vh 1vh rgba(0, 0, 0, 0.5);
}

.ctl.disabled {
  filter: grayscale(1) brightness(0.6);
}

/* Joystick */
.joy-zone {
  pointer-events: auto;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42vw;
  height: 72vh;
  touch-action: none;
}

.joy-base {
  position: absolute;
  left: calc(9vh + var(--safe-l));
  bottom: calc(7vh + var(--safe-b));
  width: 27vh;
  height: 27vh;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 170, 210, 0.12) 55%, rgba(170, 220, 255, 0.3) 72%, rgba(170, 220, 255, 0) 74%);
  box-shadow: inset 0 0 0 0.3vh rgba(170, 220, 255, 0.35);
  opacity: 0.7;
  transition: opacity 120ms;
}

.joy-base.active {
  opacity: 1;
}

.joy-knob {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11vh;
  height: 11vh;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 50% 35%, #8fd8ff, #2f79b8 70%, #1d4d78);
  box-shadow: 0 0 0 0.35vh rgba(210, 240, 255, 0.8), 0 0 2vh rgba(120, 200, 255, 0.6);
}

/* Right-hand action cluster (MLBB arc around the attack button) */
.action-cluster {
  position: absolute;
  right: calc(3vh + var(--safe-r));
  bottom: calc(3vh + var(--safe-b));
  width: 52vh;
  height: 50vh;
}

.btn-attack {
  right: 0;
  bottom: 0;
  width: 19vh;
  height: 19vh;
  background: radial-gradient(circle at 50% 35%, rgba(120, 170, 220, 0.85), rgba(30, 60, 100, 0.9));
}

.btn-lock {
  width: 7.5vh;
  height: 7.5vh;
}

.btn-lock-minion {
  right: 20vh;
  bottom: -0.5vh;
}

.btn-lock-turret {
  right: 0.5vh;
  bottom: 20.5vh;
}

.skill {
  width: 13vh;
  height: 13vh;
}

.skill-1 {
  right: 22vh;
  bottom: 7vh;
}

.skill-2 {
  right: 18.5vh;
  bottom: 21.5vh;
}

.skill-3 {
  right: 5vh;
  bottom: 30vh;
}

.skill-4 {
  right: 33vh;
  bottom: 24vh;
}

.skill.ultimate {
  box-shadow: 0 0 0 0.4vh rgba(255, 210, 120, 0.8), 0 0.6vh 1.6vh rgba(0, 0, 0, 0.45);
}

.skill.aiming {
  box-shadow: 0 0 0 0.5vh var(--accent), 0 0 2.4vh rgba(127, 212, 255, 0.8);
}

.skill-label {
  position: relative;
  z-index: 1;
}

/* Skill name and mana cost under the key label (readable on touch screens). */
.skill-name {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 17%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  font: 700 1.25vh var(--ui-font);
  color: #eaf4ff;
  text-shadow: 0 0.2vh 0.4vh #000;
  pointer-events: none;
}

.skill-mana {
  position: absolute;
  left: 50%;
  top: 11%;
  transform: translateX(-50%);
  z-index: 1;
  padding: 0 0.6vh;
  border-radius: 1vh;
  background: rgba(40, 90, 180, 0.85);
  font: 700 1.2vh/1.7vh var(--ui-font);
  color: #dff1ff;
  pointer-events: none;
}

.ctl.ready {
  animation: skill-ready 0.5s ease-out;
}

@keyframes skill-ready {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 230, 140, 0.9);
    transform: scale(1.08);
  }
  100% {
    box-shadow: 0 0 0 2.4vh rgba(255, 230, 140, 0);
    transform: scale(1);
  }
}

/* Cooldown sweep: --cd = remaining fraction (0..1). */
.cd {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(rgba(0, 0, 0, 0.62) calc(var(--cd, 0) * 360deg), transparent 0);
  pointer-events: none;
}

.cd-text {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 800 3.6vh var(--ui-font);
  text-shadow: 0 0.2vh 0.4vh #000;
  pointer-events: none;
  z-index: 2;
}

/* Recall / Regen / battle spell row (bottom centre) */
.spell-row {
  position: absolute;
  left: 50%;
  bottom: calc(5vh + var(--safe-b));
  transform: translateX(-50%);
  display: flex;
  gap: 3vh;
}

.spell {
  position: relative;
  width: 9vh;
  height: 9vh;
  overflow: visible;
}

.spell-label {
  position: absolute;
  bottom: -3.2vh;
  left: 50%;
  transform: translateX(-50%);
  font: 600 1.7vh var(--ui-font);
  text-shadow: 0 0.2vh 0.3vh #000;
  white-space: nowrap;
}

/* Aim cancel zone */
.aim-cancel {
  position: absolute;
  right: calc(8vh + var(--safe-r));
  top: calc(16vh + var(--safe-t));
  width: 13vh;
  height: 13vh;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  background: rgba(40, 10, 10, 0.55);
  box-shadow: 0 0 0 0.35vh rgba(255, 120, 120, 0.6);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 100ms, transform 100ms, background 100ms;
  font-size: 4vh;
}

.aim-cancel small {
  font-size: 1.6vh;
}

.aim-cancel.visible {
  opacity: 1;
  transform: scale(1);
}

.aim-cancel.armed {
  background: rgba(200, 40, 40, 0.75);
  transform: scale(1.1);
}

/* ---------------- Misc overlays ---------------- */

#stats {
  position: fixed;
  left: calc(1.5vh + var(--safe-l));
  top: calc(40vh + var(--safe-t));
  z-index: 3;
  font: 600 1.6vh/1.3 ui-monospace, Menlo, Consolas, monospace;
  color: #bfe6ff;
  text-shadow: 0 1px 2px #000;
  pointer-events: none;
  white-space: pre;
}

#hint {
  position: fixed;
  left: 50%;
  top: calc(8vh + var(--safe-t));
  transform: translateX(-50%);
  z-index: 3;
  padding: 0.6vh 1.6vh;
  border-radius: 1vh;
  background: rgba(10, 25, 40, 0.6);
  font: 500 1.7vh var(--ui-font);
  pointer-events: none;
  transition: opacity 400ms;
  text-align: center;
}

#loading {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, #28536a, #0d1c26 70%);
  font: 700 3vh var(--ui-font);
  letter-spacing: 0.2em;
  transition: opacity 400ms;
}

#loading.done {
  opacity: 0;
  pointer-events: none;
}

#loading .bar {
  width: 30vh;
  height: 0.6vh;
  margin-top: 2vh;
  border-radius: 1vh;
  background: linear-gradient(90deg, #7fd4ff, #d9f2ff, #7fd4ff);
  background-size: 200% 100%;
  animation: loadbar 1.2s linear infinite;
}

@keyframes loadbar {
  to {
    background-position: -200% 0;
  }
}

#rotate {
  display: none;
}

@media (orientation: portrait) and (pointer: coarse) {
  #rotate {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: grid;
    place-items: center;
    background: #0d1c26;
    font: 700 2.4vh var(--ui-font);
    text-align: center;
    padding: 4vh;
  }
}

/* ---------------- Game HUD (UIManager) ---------------- */

.ui-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ui-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ui-minimap {
  position: absolute;
  left: calc(1.5vh + var(--safe-l));
  top: calc(1.5vh + var(--safe-t));
  width: 24vh;
  height: 24vh;
  border-radius: 1vh;
  overflow: hidden;
  box-shadow: 0 0 0 0.3vh rgba(170, 220, 255, 0.45), 0 0.6vh 1.6vh rgba(0, 0, 0, 0.5);
}

.ui-minimap canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.ui-score {
  position: absolute;
  left: 50%;
  top: calc(1vh + var(--safe-t));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1.4vh;
  padding: 0.5vh 2vh;
  border-radius: 0 0 1.4vh 1.4vh;
  background: linear-gradient(90deg, rgba(30, 90, 170, 0.8), rgba(12, 20, 32, 0.85) 35% 65%, rgba(170, 40, 40, 0.8));
  font: 800 3vh var(--ui-font);
}

.ui-score .clock {
  font: 600 2vh ui-monospace, Menlo, Consolas, monospace;
  color: #cfe3f5;
}

.ui-score .k-blue {
  color: #8fd0ff;
}

.ui-score .k-red {
  color: #ff9a9a;
}

.ui-topright {
  position: absolute;
  right: calc(1.5vh + var(--safe-r));
  top: calc(1.2vh + var(--safe-t));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6vh;
  font: 700 2vh var(--ui-font);
  text-shadow: 0 0.2vh 0.3vh #000;
}

.ui-gold {
  display: flex;
  align-items: center;
  gap: 0.6vh;
  color: #ffd86b;
}

.ui-gold i {
  width: 1.8vh;
  height: 1.8vh;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff2b0, #e2a622 60%, #9a6a0c);
}

.ui-pref {
  pointer-events: auto;
  border: 0;
  border-radius: 0.8vh;
  padding: 0.5vh 1.2vh;
  background: rgba(20, 40, 65, 0.8);
  box-shadow: inset 0 0 0 0.2vh rgba(170, 220, 255, 0.4);
  color: #dff1ff;
  font: 600 1.6vh var(--ui-font);
  cursor: pointer;
}

/* Local hero status: passive badge + timed buff chips (below the top-right block). */
.ui-status {
  position: absolute;
  right: calc(1.5vh + var(--safe-r));
  top: calc(12.5vh + var(--safe-t));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6vh;
  font: 700 1.5vh var(--ui-font);
  text-shadow: 0 0.2vh 0.3vh #000;
  pointer-events: none;
}

.ui-passive {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7vh;
  padding: 0.4vh 1vh 0.4vh 0.4vh;
  border-radius: 2vh;
  background: rgba(40, 28, 12, 0.8);
  box-shadow: inset 0 0 0 0.2vh rgba(255, 216, 107, 0.45);
  color: #ffe9b0;
  pointer-events: auto;
}

.ui-passive b {
  display: grid;
  place-items: center;
  width: 2.6vh;
  height: 2.6vh;
  border-radius: 50%;
  background: #6b4a1f;
  color: #ffd86b;
}

.ui-passive .stack {
  color: #9fe7ff;
}

.ui-passive .cd {
  position: absolute;
  left: 0.4vh;
  top: 0.4vh;
  width: 2.6vh;
  height: 2.6vh;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-style: normal;
  opacity: 0;
}

.ui-passive.cooling .cd {
  opacity: 1;
}

.ui-buffs {
  display: flex;
  gap: 0.5vh;
}

.buff {
  display: none;
  padding: 0.3vh 0.8vh;
  border-radius: 1vh;
  color: #fff;
}

.buff.on {
  display: inline-block;
}

.buff-blue {
  background: rgba(47, 121, 184, 0.85);
}

.buff-red {
  background: rgba(184, 60, 47, 0.85);
}

.buff-shell {
  background: rgba(96, 150, 30, 0.9);
}

.ui-feed {
  position: absolute;
  right: calc(1.5vh + var(--safe-r));
  top: calc(18.5vh + var(--safe-t));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5vh;
}

.feed-row {
  padding: 0.4vh 1.2vh;
  border-radius: 0.6vh;
  background: rgba(10, 18, 28, 0.7);
  font: 700 1.7vh var(--ui-font);
  animation: feedIn 200ms ease-out;
}

@keyframes feedIn {
  from {
    transform: translateX(3vh);
    opacity: 0;
  }
}

.ui-announce {
  position: absolute;
  left: 50%;
  top: 18vh;
  transform: translate(-50%, -1vh);
  padding: 0.8vh 3vh;
  border-radius: 1vh;
  background: linear-gradient(90deg, transparent, rgba(10, 20, 35, 0.85) 20% 80%, transparent);
  font: 800 2.8vh var(--ui-font);
  letter-spacing: 0.08em;
  opacity: 0;
  transition: opacity 200ms, transform 200ms;
  white-space: nowrap;
}

.ui-announce.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.ui-announce.good {
  color: #8fd0ff;
}

.ui-announce.bad {
  color: #ff8a8a;
}

.ui-aggro {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 12vh rgba(255, 30, 30, 0.55);
  opacity: 0;
  transition: opacity 150ms;
}

.ui-aggro.on {
  opacity: 1;
  animation: aggroPulse 0.8s ease-in-out infinite alternate;
}

@keyframes aggroPulse {
  to {
    box-shadow: inset 0 0 6vh rgba(255, 30, 30, 0.35);
  }
}

.ui-death {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  padding: 1.5vh 4vh;
  border-radius: 1.2vh;
  background: rgba(10, 14, 20, 0.75);
  font: 700 3vh var(--ui-font);
  display: none;
}

.ui-death.show {
  display: block;
}

.ui-death b {
  color: #ffd23f;
}

body.hero-dead #viewport {
  filter: grayscale(0.85) brightness(0.8);
}

.ui-end {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  align-content: center;
  gap: 2vh;
  background: radial-gradient(circle, rgba(10, 20, 35, 0.6), rgba(5, 10, 18, 0.92));
  pointer-events: auto;
  z-index: 5;
}

.ui-end.show {
  display: grid;
}

.ui-end h1 {
  margin: 0;
  font: 900 12vh var(--ui-font);
  letter-spacing: 0.12em;
}

.ui-end.win h1 {
  color: #ffd86b;
  text-shadow: 0 0 4vh rgba(255, 200, 80, 0.7);
}

.ui-end.lose h1 {
  color: #9aa6b5;
  text-shadow: 0 0 4vh rgba(120, 140, 170, 0.5);
}

.ui-end p {
  margin: 0;
  font: 600 2.4vh var(--ui-font);
}

.ui-end button {
  border: 0;
  border-radius: 1vh;
  padding: 1.2vh 4vh;
  background: linear-gradient(#ffe08a, #d7a531);
  color: #3a2a05;
  font: 800 2.4vh var(--ui-font);
  cursor: pointer;
}

/* ---------------- Shop (ShopPanel) ---------------- */

.item-icon {
  display: inline-grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 0.8vh;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c) 55%, white), var(--c) 55%, color-mix(in srgb, var(--c) 45%, black));
  box-shadow: inset 0 0 0 0.2vh rgba(255, 255, 255, 0.35);
  color: #fff;
  font: 800 1.7vh var(--ui-font);
  text-shadow: 0 0.15vh 0.3vh rgba(0, 0, 0, 0.6);
}

.shop-strip {
  position: absolute;
  left: calc(1.5vh + var(--safe-l));
  top: calc(27vh + var(--safe-t));
  display: grid;
  grid-template-columns: auto auto;
  gap: 0.8vh;
  align-items: center;
  pointer-events: none;
  z-index: 3;
}

.shop-strip button,
.shop-panel button {
  pointer-events: auto;
  cursor: pointer;
  border: 0;
  font-family: var(--ui-font);
}

.shop-open {
  height: 5.2vh;
  padding: 0 1.4vh;
  border-radius: 1vh;
  background: linear-gradient(#ffe08a, #c9962a);
  color: #3a2a05;
  font: 800 1.8vh var(--ui-font);
  display: flex;
  align-items: center;
  gap: 0.6vh;
  box-shadow: 0 0.4vh 1vh rgba(0, 0, 0, 0.45);
}

.shop-open .cart {
  font-size: 2.2vh;
}

.shop-quick {
  position: relative;
  width: 7vh;
  height: 7vh;
  padding: 0.5vh;
  border-radius: 1.2vh;
  background: rgba(15, 25, 40, 0.8);
  box-shadow: inset 0 0 0 0.25vh rgba(170, 220, 255, 0.35);
  opacity: 0.7;
  filter: grayscale(0.6);
}

.shop-quick b {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2.3vh;
  color: #ffd86b;
  font: 700 1.5vh var(--ui-font);
  text-shadow: 0 0.15vh 0.3vh #000;
}

.shop-quick.ready {
  opacity: 1;
  filter: none;
  box-shadow: inset 0 0 0 0.3vh #ffd86b, 0 0 2vh rgba(255, 216, 107, 0.7);
  animation: quickPulse 1.2s ease-in-out infinite alternate;
}

@keyframes quickPulse {
  to {
    box-shadow: inset 0 0 0 0.3vh #ffd86b, 0 0 0.6vh rgba(255, 216, 107, 0.3);
  }
}

.shop-inv {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, 3.6vh);
  gap: 0.5vh;
  margin-top: 1.8vh;
}

.shop-inv .slot,
.shop-owned .slot {
  aspect-ratio: 1;
  border-radius: 0.8vh;
  background: rgba(10, 18, 28, 0.65);
  box-shadow: inset 0 0 0 0.2vh rgba(170, 220, 255, 0.2);
}

.shop-inv .item-icon {
  font-size: 1.2vh;
}

.shop-panel {
  position: fixed;
  inset: 0;
  z-index: 8;
  display: none;
  place-items: center;
  background: rgba(3, 8, 14, 0.55);
  pointer-events: auto;
}

.shop-panel.show {
  display: grid;
}

.shop-box {
  width: min(92vw, 120vh);
  height: min(88vh, 80vh);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 1.2vh;
  padding: 2vh;
  border-radius: 1.6vh;
  background: linear-gradient(160deg, rgba(24, 44, 66, 0.97), rgba(10, 20, 32, 0.97));
  box-shadow: 0 0 0 0.25vh rgba(170, 220, 255, 0.3), 0 2vh 5vh rgba(0, 0, 0, 0.6);
}

.shop-box header {
  display: flex;
  align-items: center;
  gap: 2vh;
}

.shop-box h2 {
  margin: 0;
  font: 800 3vh var(--ui-font);
  letter-spacing: 0.08em;
}

.shop-gold {
  display: flex;
  align-items: center;
  gap: 0.6vh;
  color: #ffd86b;
  font: 800 2.4vh var(--ui-font);
}

.shop-gold i {
  width: 2vh;
  height: 2vh;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff2b0, #e2a622 60%, #9a6a0c);
}

.shop-auto {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.8vh;
  font: 600 1.7vh var(--ui-font);
  pointer-events: auto;
}

.shop-role + .shop-auto {
  margin-left: 0;
}

.shop-auto input {
  width: 2.2vh;
  height: 2.2vh;
}

.shop-close {
  width: 4.6vh;
  height: 4.6vh;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 2.4vh;
}

.shop-tabs {
  display: flex;
  gap: 0.8vh;
  flex-wrap: wrap;
}

.shop-tabs button {
  padding: 0.8vh 1.8vh;
  border-radius: 0.8vh;
  background: rgba(255, 255, 255, 0.08);
  color: #cfe3f5;
  font: 700 1.7vh var(--ui-font);
  box-shadow: inset 0 -0.3vh 0 var(--c, #7fd4ff);
}

.shop-tabs button.active {
  background: rgba(127, 212, 255, 0.25);
  color: #fff;
}

.shop-body {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 34vh;
  gap: 1.6vh;
}

.shop-grid {
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12vh, 1fr));
  align-content: start;
  gap: 1vh;
}

.shop-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.5vh;
  padding: 1vh;
  border-radius: 1vh;
  background: rgba(255, 255, 255, 0.06);
  color: #eef4ff;
}

.shop-card .item-icon {
  width: 6.5vh;
  height: 6.5vh;
  font-size: 2.2vh;
}

.shop-card .name {
  font: 600 1.45vh var(--ui-font);
  text-align: center;
}

.shop-card .cost {
  color: #ffd86b;
  font: 700 1.5vh var(--ui-font);
}

.shop-card.locked {
  opacity: 0.55;
}

.shop-card .owned {
  position: absolute;
  top: 0.6vh;
  right: 0.6vh;
  padding: 0.2vh 0.6vh;
  border-radius: 0.5vh;
  background: #3fa2ff;
  font: 800 1.1vh var(--ui-font);
}

.shop-detail {
  padding: 1.4vh;
  border-radius: 1vh;
  background: rgba(0, 0, 0, 0.25);
  overflow-y: auto;
}

.shop-detail .detail-head {
  display: flex;
  gap: 1.2vh;
  align-items: center;
}

.shop-detail .detail-head .item-icon {
  width: 7vh;
  height: 7vh;
  flex: none;
  font-size: 2.4vh;
}

.shop-detail h3 {
  margin: 0;
  font: 800 2.2vh var(--ui-font);
}

.shop-detail small {
  text-transform: capitalize;
  color: #9fb3c8;
}

.shop-detail ul {
  padding-left: 2.2vh;
  font: 600 1.7vh/1.6 var(--ui-font);
  color: #bfe6ff;
}

.shop-detail .act {
  width: 100%;
  padding: 1.2vh;
  border-radius: 1vh;
  font: 800 2vh var(--ui-font);
}

.shop-detail .buy {
  background: linear-gradient(#ffe08a, #d7a531);
  color: #3a2a05;
}

.shop-detail .buy:disabled {
  filter: grayscale(1);
  opacity: 0.6;
  cursor: not-allowed;
}

.shop-detail .sell {
  background: linear-gradient(#ff9a8a, #c9483a);
  color: #fff;
}

.shop-detail .why,
.shop-detail .hint {
  color: #ff9a9a;
  font: 600 1.5vh var(--ui-font);
}

.shop-detail .hint {
  color: #9fb3c8;
}

.shop-owned {
  display: grid;
  grid-template-columns: repeat(6, 6vh);
  gap: 1vh;
  justify-content: center;
}

.shop-owned .slot {
  cursor: pointer;
}

.shop-card .cost s {
  color: #8b93a0;
  font-weight: 500;
  margin-left: 0.4vh;
}

.shop-detail .recipe {
  display: flex;
  align-items: center;
  gap: 0.6vh;
  margin-top: 1.2vh;
  color: #9fb3c8;
  font: 600 1.5vh var(--ui-font);
}

.shop-detail .recipe .comp {
  width: 3.6vh;
  height: 3.6vh;
  opacity: 0.45;
}

.shop-detail .recipe .comp.have {
  opacity: 1;
  outline: 0.25vh solid #7dff8a;
  border-radius: 0.8vh;
}

.shop-detail .recipe .item-icon {
  font-size: 1.2vh;
}

/* ---------------- Hero select (draft screen) ---------------- */

.select-screen {
  position: fixed;
  inset: 0;
  z-index: 15;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 2vh;
  padding: calc(3vh + var(--safe-t)) calc(3vh + var(--safe-r)) calc(3vh + var(--safe-b)) calc(3vh + var(--safe-l));
  background: radial-gradient(ellipse at 50% 30%, #2d5f86, #0e1f33 70%);
  overflow: auto;
}

.select-screen header {
  position: relative;
  text-align: center;
}

.select-account {
  position: absolute;
  right: 0;
  top: 0;
  display: grid;
  grid-template-columns: auto 12vh;
  align-items: center;
  column-gap: 1vh;
  row-gap: 0.3vh;
  padding: 0.8vh 1.4vh;
  border: 0;
  border-radius: 1.2vh;
  cursor: pointer;
  background: rgba(8, 18, 30, 0.72);
  box-shadow: inset 0 0 0 0.2vh rgba(160, 210, 255, 0.25);
  color: #eef6ff;
  font: 700 1.6vh var(--ui-font);
  text-align: left;
}

.select-account b {
  color: #ffe08a;
  font-size: 2vh;
}

.select-account i {
  height: 0.8vh;
  border-radius: 0.4vh;
  background: linear-gradient(90deg, #7dff8a var(--xp), rgba(255, 255, 255, 0.15) var(--xp));
}

.select-account .bp {
  color: #9fe7ff;
}

.select-account small {
  color: #9fb3c8;
  text-decoration: underline;
}

.select-history {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: none;
  place-items: center;
  background: rgba(4, 10, 18, 0.7);
}

.select-history.show {
  display: grid;
}

.history-box {
  width: min(90vw, 80vh);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  gap: 1vh;
  padding: 2.4vh;
  border-radius: 1.6vh;
  background: #0e1f33;
  box-shadow: inset 0 0 0 0.25vh rgba(160, 210, 255, 0.25);
  color: #eef6ff;
  font-family: var(--ui-font);
}

.history-box h2 {
  margin: 0;
  color: #ffe08a;
}

.history-list {
  min-height: 0;
  overflow-y: auto;
  display: grid;
  gap: 0.6vh;
}

.history-summary,
.history-empty {
  margin: 0 0 0.6vh;
  color: #9fb3c8;
  font: 600 1.6vh var(--ui-font);
}

.history-row {
  display: grid;
  grid-template-columns: 9vh 1fr 9vh 10vh 6vh 7vh 10vh;
  align-items: center;
  gap: 1vh;
  padding: 0.8vh 1.2vh;
  border-radius: 1vh;
  background: rgba(20, 40, 65, 0.7);
  font: 600 1.6vh var(--ui-font);
}

.history-row.win b {
  color: #7dff8a;
}

.history-row.lose b {
  color: #ff8a7a;
}

.history-row small {
  color: #9fb3c8;
  text-align: right;
}

.history-close {
  align-self: flex-end;
  padding: 0.8vh 2.4vh;
  border: 0;
  border-radius: 1vh;
  cursor: pointer;
  background: #2f79b8;
  color: #fff;
  font: 700 1.6vh var(--ui-font);
}

.detail-skins button.locked {
  position: relative;
}

.detail-skins button.locked img {
  filter: grayscale(0.7) brightness(0.7);
}

.detail-skins button.locked::after {
  content: '🔒';
  position: absolute;
  top: 0.4vh;
  right: 0.4vh;
  font-size: 1.6vh;
}

.skin-unlock {
  padding: 0.7vh 2vh;
  border: 0;
  border-radius: 1vh;
  cursor: pointer;
  background: linear-gradient(#7fd4ff, #2f79b8);
  color: #06223a;
  font: 800 1.6vh var(--ui-font);
}

.skin-unlock:disabled {
  cursor: default;
  background: rgba(20, 40, 65, 0.85);
  color: #9fb3c8;
}

.select-screen h1 {
  margin: 0;
  font: 900 5vh var(--ui-font);
  letter-spacing: 0.12em;
  color: #ffe08a;
  text-shadow: 0 0 3vh rgba(255, 210, 90, 0.45);
}

.select-screen header p {
  margin: 0.5vh 0 0;
  color: #9fc6e8;
  font: 600 2vh var(--ui-font);
  letter-spacing: 0.2em;
}

.select-body {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr minmax(30vh, 44vh);
  gap: 3vh;
}

.select-main {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 2.2vh;
  overflow-y: auto;
}

.select-options {
  display: grid;
  gap: 1vh;
}

.select-options small {
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}

.select-bans {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8vh;
}

.select-bans button,
.select-diff button {
  cursor: pointer;
  border: 0;
  font-family: var(--ui-font);
  color: #eef6ff;
  background: rgba(20, 40, 65, 0.85);
  box-shadow: inset 0 0 0 0.2vh rgba(160, 210, 255, 0.25);
}

.select-bans button {
  position: relative;
  display: grid;
  justify-items: center;
  width: 9vh;
  padding: 0.5vh 0.4vh 0.7vh;
  border-radius: 1vh;
  font: 700 1.3vh var(--ui-font);
}

.select-bans img {
  width: 6vh;
  aspect-ratio: 4 / 5;
  object-fit: contain;
}

.select-bans button.banned {
  box-shadow: inset 0 0 0 0.3vh #ff5a5a;
  background: rgba(90, 20, 20, 0.85);
}

.select-bans button.banned img {
  filter: grayscale(1) brightness(0.6);
}

.select-bans button.banned::after {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  top: 38%;
  height: 0.45vh;
  border-radius: 0.3vh;
  background: #ff5a5a;
  transform: rotate(-38deg);
}

.select-bans button:disabled {
  opacity: 0.3;
  cursor: default;
}

.select-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7vh;
}

.select-chips button {
  cursor: pointer;
  border: 0;
  padding: 0.7vh 1.4vh;
  border-radius: 1vh;
  font: 700 1.5vh var(--ui-font);
  color: #eef6ff;
  background: rgba(20, 40, 65, 0.85);
  box-shadow: inset 0 0 0 0.2vh rgba(160, 210, 255, 0.25);
}

.select-chips button.active {
  background: #6b4a1f;
  box-shadow: inset 0 0 0 0.25vh #ffd86b;
  color: #ffe9b0;
}

.select-perk-info {
  margin: 0;
  color: #b9c6d8;
  font: 500 1.4vh/1.45 var(--ui-font);
}

.select-perk-info b {
  color: #ffe9b0;
}

.select-diff {
  display: flex;
  gap: 1vh;
}

.select-diff button {
  padding: 0.8vh 2.6vh;
  border-radius: 1vh;
  font: 800 1.7vh var(--ui-font);
  opacity: 0.6;
}

.select-diff button.active {
  opacity: 1;
  background: #2f79b8;
  box-shadow: 0 0 0 0.3vh #fff;
}

.select-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15vh, 1fr));
  align-content: start;
  gap: 1.6vh;
}

.select-card,
.detail-skins button,
.detail-team button,
.lock-in {
  cursor: pointer;
  border: 0;
  font-family: var(--ui-font);
  color: #eef6ff;
}

.select-card {
  display: grid;
  justify-items: center;
  padding: 1vh 1vh 1.4vh;
  border-radius: 1.4vh;
  background: linear-gradient(180deg, rgba(90, 150, 210, 0.35), rgba(15, 30, 50, 0.9));
  box-shadow: inset 0 0 0 0.25vh rgba(160, 210, 255, 0.25);
  transition: transform 120ms, box-shadow 120ms;
}

.select-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
}

.select-card.active {
  transform: translateY(-0.6vh);
  box-shadow: inset 0 0 0 0.35vh #ffd86b, 0 0 2.4vh rgba(255, 216, 107, 0.45);
}

.card-name {
  font: 800 2vh var(--ui-font);
}

.card-role,
.detail-role {
  margin-top: 0.3vh;
  padding: 0.2vh 1vh;
  border-radius: 1vh;
  background: rgba(127, 212, 255, 0.18);
  color: #9fdcff;
  font: 700 1.4vh var(--ui-font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.select-detail {
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1vh;
  padding: 2vh;
  border-radius: 1.6vh;
  background: rgba(8, 18, 30, 0.72);
  box-shadow: inset 0 0 0 0.25vh rgba(160, 210, 255, 0.2);
}

.detail-portrait img {
  height: 30vh;
  aspect-ratio: 4 / 5;
  object-fit: contain;
}

.select-detail h2 {
  margin: 0;
  font: 900 3.4vh var(--ui-font);
}

.detail-skills {
  align-self: stretch;
  margin: 0.5vh 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6vh;
  font: 600 1.7vh var(--ui-font);
}

.detail-skills b {
  display: inline-grid;
  place-items: center;
  width: 2.6vh;
  height: 2.6vh;
  margin-right: 1vh;
  border-radius: 50%;
  background: #2f79b8;
}

.detail-skills em {
  margin-left: 0.6vh;
  color: #ffd86b;
  font-style: normal;
  font-size: 1.3vh;
}

.detail-skills .passive b {
  background: #6b4a1f;
  color: #ffd86b;
}

.detail-skills small {
  display: block;
  margin: 0.2vh 0 0.4vh 3.6vh;
  color: #b9c6d8;
  font-weight: 500;
  font-size: 1.3vh;
  line-height: 1.3;
}

.detail-label {
  align-self: flex-start;
  color: #9fb3c8;
  font: 700 1.4vh var(--ui-font);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.detail-skins {
  display: flex;
  gap: 1vh;
}

.detail-skins button {
  display: grid;
  justify-items: center;
  width: 9vh;
  padding: 0.5vh;
  border-radius: 1vh;
  background: rgba(255, 255, 255, 0.07);
  font: 600 1.3vh var(--ui-font);
}

.detail-skins img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
}

.detail-skins button.active {
  box-shadow: inset 0 0 0 0.3vh #ffd86b;
}

.detail-team {
  display: flex;
  gap: 1vh;
}

.detail-team button {
  padding: 0.8vh 3vh;
  border-radius: 1vh;
  font: 800 1.8vh var(--ui-font);
  opacity: 0.5;
}

.detail-team .blue {
  background: #2f79b8;
}

.detail-team .red {
  background: #b83a3a;
}

.detail-team button.active {
  opacity: 1;
  box-shadow: 0 0 0 0.3vh #fff;
}

.select-actions {
  position: sticky;
  bottom: 0;
  flex-shrink: 0;
  margin-top: auto;
  width: 100%;
  display: grid;
  gap: 0.6vh;
  padding-top: 0.6vh;
  background: rgba(8, 18, 30, 0.9);
}

.quick-match {
  cursor: pointer;
  border: 0;
  background: none;
  color: #9fb3c8;
  font: 600 1.5vh var(--ui-font);
  text-decoration: underline;
}

.lock-in {
  width: 100%;
  padding: 1.6vh;
  border-radius: 1.2vh;
  background: linear-gradient(#ffe08a, #d7a531);
  color: #3a2a05;
  font: 900 2.6vh var(--ui-font);
  letter-spacing: 0.1em;
}

@media (max-aspect-ratio: 4/3) {
  .select-body {
    grid-template-columns: 1fr;
  }
}

.end-actions {
  display: flex;
  gap: 2vh;
}

.ui-end .pick {
  background: linear-gradient(#9fdcff, #3f86d6);
  color: #0c2340;
}

/* Sound toggle, right of the minimap. */
.ui-sound {
  position: absolute;
  left: calc(26.5vh + var(--safe-l));
  top: calc(1.5vh + var(--safe-t));
  width: 4.4vh;
  height: 4.4vh;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 40, 65, 0.8);
  box-shadow: inset 0 0 0 0.2vh rgba(170, 220, 255, 0.4);
  font-size: 2.2vh;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}

/* ---------------------------------------------------------------------------
   Draft screen
   --------------------------------------------------------------------------- */
.draft-screen {
  position: fixed;
  inset: 0;
  z-index: 16;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 2vh;
  padding: calc(3vh + var(--safe-t)) calc(3vh + var(--safe-r)) calc(3vh + var(--safe-b)) calc(3vh + var(--safe-l));
  background: radial-gradient(ellipse at 50% 30%, #2d5f86, #0e1f33 70%);
  color: #eef6ff;
  font-family: var(--ui-font);
  overflow: auto;
}

.draft-screen header {
  display: grid;
  justify-items: center;
  gap: 0.4vh;
}

.draft-screen h1 {
  margin: 0;
  color: #ffe08a;
  font: 900 4.4vh var(--ui-font);
  letter-spacing: 0.15em;
}

.draft-phase {
  margin: 0;
  font: 700 2vh var(--ui-font);
}

.draft-timer {
  min-height: 3.4vh;
  color: #ffd86b;
  font: 900 3.2vh var(--ui-font);
}

.draft-body {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(18vh, 26vh) 1fr minmax(18vh, 26vh);
  gap: 3vh;
}

.draft-team {
  display: grid;
  align-content: start;
  gap: 1vh;
}

.draft-team h2 {
  margin: 0 0 0.4vh;
  font: 800 2.2vh var(--ui-font);
}

.draft-team h2 small {
  color: #9fb3c8;
  font-weight: 600;
  font-size: 1.4vh;
}

.draft-team.blue h2 {
  color: #7fc4ff;
}

.draft-team.red h2 {
  color: #ff8a7a;
}

.draft-slot {
  display: flex;
  align-items: center;
  gap: 1vh;
  height: 8vh;
  padding: 0 1vh;
  border-radius: 1vh;
  background: rgba(8, 18, 30, 0.72);
  box-shadow: inset 0 0 0 0.2vh rgba(160, 210, 255, 0.15);
  font: 700 1.8vh var(--ui-font);
  color: #9fb3c8;
}

.draft-team.red .draft-slot {
  flex-direction: row-reverse;
  text-align: right;
}

.draft-slot img {
  width: 6vh;
  height: 7.5vh;
  object-fit: contain;
}

.draft-slot img:not([src]) {
  visibility: hidden;
}

.draft-slot.filled {
  color: #eef6ff;
}

.draft-team.blue .draft-slot.filled {
  background: linear-gradient(90deg, rgba(47, 121, 184, 0.55), rgba(8, 18, 30, 0.72));
}

.draft-team.red .draft-slot.filled {
  background: linear-gradient(270deg, rgba(184, 58, 58, 0.55), rgba(8, 18, 30, 0.72));
}

.draft-slot.picking {
  box-shadow: inset 0 0 0 0.3vh #ffd86b, 0 0 1.6vh rgba(255, 216, 107, 0.45);
  animation: draft-pulse 0.9s ease-in-out infinite alternate;
}

@keyframes draft-pulse {
  to {
    box-shadow: inset 0 0 0 0.3vh #fff3c4, 0 0 2.4vh rgba(255, 216, 107, 0.7);
  }
}

.draft-center {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2vh;
}

.draft-bans {
  display: flex;
  align-items: center;
  gap: 1vh;
}

.draft-ban-list {
  display: flex;
  gap: 0.8vh;
}

.draft-ban {
  padding: 0.5vh 1.2vh;
  border-radius: 1vh;
  background: rgba(90, 20, 20, 0.85);
  box-shadow: inset 0 0 0 0.2vh #ff5a5a;
  font: 700 1.5vh var(--ui-font);
  text-decoration: line-through;
}

.draft-ban.none {
  background: none;
  box-shadow: none;
  text-decoration: none;
}

.draft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13vh, 1fr));
  gap: 1.2vh;
  width: 100%;
  transition: opacity 150ms;
}

.draft-grid.waiting {
  opacity: 0.55;
}

.draft-hero {
  display: grid;
  justify-items: center;
  padding: 0.8vh;
  border: 0;
  border-radius: 1.2vh;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(90, 150, 210, 0.35), rgba(15, 30, 50, 0.9));
  box-shadow: inset 0 0 0 0.2vh rgba(160, 210, 255, 0.25);
  color: #eef6ff;
  font: 800 1.6vh var(--ui-font);
}

.draft-hero img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
}

.draft-hero small {
  color: #9fb3c8;
  font-size: 1.2vh;
}

.draft-hero.active {
  box-shadow: inset 0 0 0 0.35vh #ffd86b, 0 0 2vh rgba(255, 216, 107, 0.45);
}

.draft-hero:disabled {
  cursor: default;
  opacity: 0.35;
}

.draft-hero.banned img {
  filter: grayscale(1);
}

.draft-lock {
  width: min(40vh, 100%);
  padding: 1.4vh;
  border: 0;
  border-radius: 1.2vh;
  cursor: pointer;
  background: linear-gradient(#ffe08a, #d7a531);
  color: #3a2a05;
  font: 900 2.4vh var(--ui-font);
  letter-spacing: 0.1em;
}

.draft-lock:disabled {
  cursor: default;
  opacity: 0.4;
}

@media (max-aspect-ratio: 4/3) {
  .draft-body {
    grid-template-columns: 1fr 1fr;
  }

  .draft-center {
    grid-column: 1 / -1;
    order: -1;
  }
}

.end-rewards {
  margin: 0 0 2vh;
  color: #ffe08a;
  font: 800 2.2vh var(--ui-font);
}

.end-rewards small {
  color: #9fb3c8;
  font-weight: 600;
}

.end-rewards .lvl-up {
  color: #7dff8a;
}

.end-rewards ul {
  margin: 0.8vh 0 0;
  text-align: center;
  padding: 0;
  list-style: none;
  color: #7dff8a;
  font: 700 1.7vh var(--ui-font);
}

.history-box h3 {
  margin: 0.6vh 0 0;
  color: #9fc6e8;
  font: 800 1.7vh var(--ui-font);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.daily {
  display: grid;
  gap: 0.6vh;
}

.quest {
  display: grid;
  grid-template-columns: 1fr auto 8vh;
  align-items: center;
  gap: 1vh;
  padding: 0.8vh 1.2vh;
  border-radius: 1vh;
  background: linear-gradient(90deg, rgba(47, 121, 184, 0.45) var(--p, 0%), rgba(20, 40, 65, 0.7) var(--p, 0%));
  font: 600 1.6vh var(--ui-font);
}

.quest b {
  color: #9fe7ff;
}

.quest em {
  font-style: normal;
  text-align: right;
  color: #dfe9f5;
}

.quest.done {
  background: rgba(40, 110, 50, 0.6);
}

.quest.done em {
  color: #7dff8a;
}

.daily-reset {
  color: #9fb3c8;
  font: 500 1.3vh var(--ui-font);
}

/* Diagnostics overlay only with ?stats=1. */
body:not(.show-stats) #stats {
  display: none;
}

/* ---------------------------------------------------------------------------
   Online lobby
   --------------------------------------------------------------------------- */
.play-online {
  cursor: pointer;
  border: 0;
  padding: 0.8vh;
  border-radius: 1vh;
  background: linear-gradient(#7fd4ff, #2f79b8);
  color: #06223a;
  font: 800 1.7vh var(--ui-font);
}

.online-panel {
  position: fixed;
  inset: 0;
  z-index: 3;
  display: none;
  place-items: center;
  background: rgba(4, 10, 18, 0.75);
}

.online-panel.show {
  display: grid;
}

.online-box {
  width: min(92vw, 70vh);
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  gap: 1.2vh;
  padding: 2.4vh;
  border-radius: 1.6vh;
  background: #0e1f33;
  box-shadow: inset 0 0 0 0.25vh rgba(160, 210, 255, 0.25);
  color: #eef6ff;
  font: 600 1.6vh var(--ui-font);
}

.online-box h2 {
  margin: 0;
  color: #ffe08a;
}

.online-box section {
  display: grid;
  gap: 1vh;
}

.online-box label {
  display: grid;
  gap: 0.5vh;
  color: #9fc6e8;
}

.online-box textarea,
.online-box select {
  width: 100%;
  box-sizing: border-box;
  padding: 0.8vh;
  border: 0;
  border-radius: 0.8vh;
  background: #07121f;
  color: #dff1ff;
  font: 500 1.4vh ui-monospace, Menlo, Consolas, monospace;
  resize: vertical;
  word-break: break-all;
}

.online-box button {
  cursor: pointer;
  border: 0;
  padding: 0.9vh 1.6vh;
  border-radius: 1vh;
  background: #2f79b8;
  color: #fff;
  font: 700 1.6vh var(--ui-font);
}

.online-tabs {
  display: flex;
  gap: 0.8vh;
}

.online-tabs button {
  opacity: 0.55;
}

.online-tabs button.active {
  opacity: 1;
  box-shadow: 0 0 0 0.25vh #fff;
}

.online-status {
  margin: 0;
  color: #7dff8a;
}

.online-status.bad {
  color: #ff8a7a;
}

.online-close {
  justify-self: end;
  background: rgba(20, 40, 65, 0.9) !important;
}
