/* =============== RESET =============== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --ui-bg-1: rgba(13, 17, 43, 0.94);
  --ui-bg-2: rgba(25, 22, 58, 0.91);
  --ui-border: rgba(181, 157, 255, 0.34);
  --ui-glow: rgba(113, 238, 255, 0.38);
  --ui-blue: #71eeff;
  --ui-blue-2: #7d67ff;
  --ui-neon: #c3fbff;
  --ui-amber: #ffcf70;
  --ui-danger: #ff6e91;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  background:
    radial-gradient(circle at top, rgba(35, 93, 159, 0.42), transparent 38%),
    linear-gradient(180deg, #030b15 0%, #071a2b 48%, #030d18 100%);
  color: #edf7ff;
}

/* =============== HOME / STAGE =============== */
.app {
  height: 100dvh;
  width: 100%;
  background:
    linear-gradient(120deg, rgba(11, 8, 37, 0.88) 0%, rgba(9, 25, 49, 0.56) 48%, rgba(8, 9, 34, 0.82) 100%),
    linear-gradient(180deg, transparent 60%, rgba(5, 5, 20, 0.72));
  position: relative;
}
.wz-err-modal::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff806f, #f8c56d 52%, #58d1d0);
  content: "";
}
.app.is-loading .stage-wrap {
  display: none !important;
}
.stage-wrap {
  position: relative;
  height: 100%;
  width: 100%;
  padding: 22px 28px;
}
.stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1786px;
  height: 1070px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0px;
  transform: translate(-50%, -50%) scale(var(--stage-scale, 1));
  transform-origin: center center;
  will-change: transform;
  z-index: 1;
}
.wz-err-ico svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.wz-err-title-wrap {
  display: grid;
  min-width: 0;
  gap: 5px;
}
.wz-err-eyebrow {
  color: #9db8b9;
  font: 700 10px/1.2 Inter, sans-serif;
}
.wz-err-head h3 {
  margin: 0;
  color: #f3fbfb;
  font: 750 21px/1.2 Inter, sans-serif;
}
.wz-err-body {
  display: grid;
  gap: 16px;
  padding: 21px 24px 8px;
}
.wz-err-lead {
  margin: 0;
  color: #d9e8e8;
  font: 500 14px/1.5 Inter, sans-serif;
}
.wz-err-tips {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.wz-err-tips li {
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: #a9c1c2;
  font: 400 12px/1.55 Inter, sans-serif;
}
.wz-err-tips li::before {
  width: 5px;
  height: 5px;
  margin-top: 6px;
  border-radius: 50%;
  background: #64cfd0;
  content: "";
}
.wz-err-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 1px;
  padding: 11px 13px;
  border: 1px solid rgba(157, 196, 198, 0.14);
  border-radius: 8px;
  background: rgba(2, 10, 15, 0.42);
}
.wz-err-code .lbl {
  color: #89a5a6;
  font: 650 10px/1.2 Inter, sans-serif;
}
.wz-err-code .val {
  color: #f3c878;
  font: 700 12px/1.2 ui-monospace, Consolas, monospace;
}
.wz-err-actions {
  display: flex;
  padding: 15px 24px 24px;
}
.wz-btn {
  display: inline-flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid rgba(125, 229, 221, 0.55);
  border-radius: 8px;
  background: linear-gradient(180deg, #69d7d1, #43b9bb);
  color: #062024;
  cursor: pointer;
  font: 750 14px/1 Inter, sans-serif;
  text-align: center;
  transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.wz-btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.wz-btn:hover {
  box-shadow: 0 5px 18px rgba(73, 198, 194, 0.2);
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.wz-btn:active {
  transform: translateY(0);
}
.wz-btn:focus-visible {
  outline: 2px solid #f3c878;
  outline-offset: 3px;
}
@media (max-width: 560px) {
  .wz-err {
    padding: 12px;
  }
  .wz-err-modal {
    max-height: calc(100dvh - 24px);
  }
  .wz-err-head {
    gap: 12px;
    padding: 20px 18px 16px;
  }
  .wz-err-body {
    gap: 14px;
    padding: 18px 18px 6px;
  }
  .wz-err-head h3 {
    font-size: 18px;
  }
  .wz-err-actions {
    padding: 14px 18px 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wz-err-modal,
  .wz-btn {
    animation: none;
    transition: none;
  }
}
.shell {
  z-index: 1;
    position: relative;
    width: 100%;
    height: 920px;
    border-radius: 30px;
    padding: 22px 18px;
    display: grid;
    grid-template-columns: 540px 625px 540px;
    gap: 20px;
    color: #fff;
    box-shadow: none;
    background: transparent;
    overflow: visible;
  }
  .shell::before {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 32px;
    height: 54px;
    border-radius: 14px;
    background: rgba(19, 22, 32, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
    z-index: 0;
  }
  .shell::after {
    content: "";
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 48px;
    height: 0;
    border-radius: 999px;
    background: transparent;
    pointer-events: none;
    z-index: 0;
  }
  .shell > * {
    position: relative;
    z-index: 1;
  }

  .panel {
    background: transparent;
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    min-width: 0;
    min-height: 0;
    color: #fff;
    box-shadow: none;
  }

  .shell > .player-panel {
    grid-column: 1;
  }

/* ===================== STREAMER MARQUEE (CSS-ONLY) ===================== */
.streamer-item.marquee {
  --gap: 10px;
  --dur: 70s;
  width: 100%;
  height: 270px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 28px,
    #000 calc(100% - 28px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 28px,
    #000 calc(100% - 28px),
    transparent 100%
  );
}
.marquee__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap);
  will-change: transform;
  animation: marquee-y var(--dur) linear infinite;
}
.streamer-item.marquee:hover .marquee__inner {
  animation-play-state: paused;
}

/* @media (prefers-reduced-motion: reduce) {
  .marquee__inner {
    animation: none;
  }
} */

@keyframes marquee-y {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100%);
  }
}

.streamer-link {
  display: block;
  width: 100%;
  height: 80px;
  border-radius: 7px;
  overflow: hidden;
  border: 1.5px solid #000;
}
.streamer-img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  display: block;
}

/* ORTA ÃƒÆ’Ã†â€™Ãƒâ€¦Ã¢â‚¬Å“ST - mini canvas */
#homeMain {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
}
.center-top {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.home-last-score {
  position: absolute;
  left: 50%;
  top: 26%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(340px, 85%);
  min-height: 80px;
  margin: 0;
  padding: 14px 18px;
  border: 1px solid rgba(115, 220, 255, 0.38);
  border-radius: 12px;
  background: rgba(4, 28, 44, 0.82);
  color: #bfe9ff;
  font: 800 11px/1.2 Inter, sans-serif;
  pointer-events: none;
}
.home-last-score strong {
  color: #ffe07a;
  font-size: 48px;
  line-height: 1;
  text-align: center;
}
.home-center-skins {
  width: 100%;
  height: 155px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  /* border: 2px solid #0090ff; */
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(0, 144, 255, 0.2), inset 0 0 20px rgba(0, 144, 255, 0.05);
}
.skins-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#skin-prev-canvas {
  position: relative;
  width: 300px;
  height: 90px;
  margin: auto;
}
.canvas-gelecek {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  position: relative;
}
.home-skins-btn {
  width: 45px;
  height: 45px;
  position: absolute;
  z-index: 5;
  cursor: pointer;
}
.home-skins-prev {
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.home-skins-next {
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

/* ORTA ORTA - play & butonlar */
.center-controls {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.play-game-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 40px;
  border: 1px solid #cc4400;
  border-radius: 7px;
  font-weight: 800;
  font-size: 32px;
  color: #fff;
  text-transform: uppercase;
  cursor: pointer;
  background: linear-gradient(180deg, #ff7b00 0%, #ff5500 100%);
  box-shadow: 0 2px 0 #993300, 0 0 10px rgba(255, 85, 0, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.play-game-btn:hover {
  background: linear-gradient(180deg, #ff9500 0%, #ff6600 100%);
  color: #fff;
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.home-center-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}
.h-btn {
  height: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid #005a9e;
  border-radius: 7px;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
  cursor: pointer;
  background: linear-gradient(180deg, #007acc 0%, #005a9e 100%);
  box-shadow: 0 2px 0 #003d6b;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.h-btn:hover {
  background: linear-gradient(180deg, #0090ff 0%, #007acc 100%);
  filter: brightness(1.1);
}
/* ORTA ALT - server list */
.center-bottom {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}
.home-center-server-map {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: stretch;
}
.server-map {
  flex: 1 1 0;
  text-align: center;
  padding: 6px 12px;
  border-radius: 50px;
  border: 2px solid #0090ff;
  color: #0090ff;
  font: 900 16px/1 Inter;
  box-shadow: 0 0.5px 0 #000, 0 0.7px 1px #000c;
  cursor: pointer;
  user-select: none;
  transition: transform 0.15s, background 0.15s, color 0.15s;
}
.server-map:hover {
  transform: translateY(-1px);
}
.center-bottom[data-selected-server="eu"] .eu, .center-bottom[data-selected-server="as"] .as,
.center-bottom[data-selected-server="na"] .na, .center-bottom[data-selected-server="sa"] .sa {
  background: linear-gradient(
    180deg,
    #0090ff 26.5%,
    #0090ff 39.5%,
    #0090ff 64%,
    #0090ff 97%
  );
  color: #fff;
}
.home-center-server-list {
  display: none;
  width: 100%;
  box-sizing: border-box;
  padding: 7px 10px;
  border: 1px solid rgba(91, 188, 205, 0.3);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(5, 31, 45, 0.94), rgba(3, 20, 32, 0.96));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(220, 255, 255, 0.05);
  max-height: 415px;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.home-center-server-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.center-bottom[data-selected-server="eu"] #server-eu, .center-bottom[data-selected-server="as"] #server-as
,.center-bottom[data-selected-server="na"] #server-na, .center-bottom[data-selected-server="sa"] #server-sa {
  display: block;
}
.server-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 8px;
  margin-bottom: 0;
  border: 0;
  border-bottom: 1px solid rgba(112, 184, 193, 0.2);
  border-radius: 0;
  background: transparent !important;
  cursor: pointer;
  transition: background-color 0.2s;
  box-shadow: none;
}
.server-item:hover {
  background: rgba(0, 144, 255, 0.12) !important;
}
.server-item:last-child {
  border-bottom: 0;
}
.server-name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.server-img {
  width: 35px;
  height: 25px;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid #fff;
}
.server-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.server-city {
  font-weight: 900;
  font-size: 20px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.server-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 160px;
}
.server-online {
  display: flex;
  align-items: center;
  gap: 8px;
}
.server-player {
  font: 900 12px/1 Inter;
  color: #00d2ff;
  letter-spacing: 0.5px;
}
.server-count {
  font: 900 18px/1 Inter;
  color: #fff;
}
.server-range {
  position: relative;
  width: 160px;
  height: 8px;
  border-radius: 12px;
  background: #000;
  border: 1px solid #005a9e;
  overflow: hidden;
}
.server-range-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  border-right: 1px solid #005a9e;
  background: linear-gradient(90deg, #00d2ff, #00ff9d);
}
.server-range-fill.full {
  background: linear-gradient(90deg, #ff9900, #ff0000);
}

/* LOGIN REGISTER */
.ha-step {
  display: none;
}
.ha-step.active {
  display: flex;
}

.home-auth {
  position: relative;
  width: 100%;
  border: 2px solid #000;
  border-radius: 18px;
  padding: 16px;
  background: rgba(4, 28, 44, 0.95);
  box-shadow: inset 0 1px 0 #fff2;
  margin: auto;
  overflow: visible;
  z-index: 1;
}
.home-auth-inner {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  padding: 20px;
  min-height: 520px;
}
.ha-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  text-align: center;
}
.ha-head h3 {
  margin: 0;
  font: 900 30px/1.1 Inter;
  color: #fff;
}
.ha-key-login {
  padding: 8px 14px;
  border: 1px solid rgba(46, 233, 255, 0.65);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.ha-card {
  margin-top: 16px;
  flex-direction: column;
  gap: 14px;
}
.ha-card.ha-step.active {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 0 16px;
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.ha-lab {
  font: 800 18px/1 Inter;
  color: #fff;
  text-align: center;
}
.ha-field {
  height: 54px;
  border-radius: 12px;
  border: 2px solid #000;
  padding: 0 14px;
  font: 800 16px/1 Inter;
  background: #02121c;
  color: #fff;
  box-shadow: inset 0 1px 0 #ffffff22;
}
.game-description-box {
  width: 100%;
  box-sizing: border-box;
  flex: 1 1 auto;
  min-height: 0;
  max-height: 390px;
  overflow-y: auto;
  padding: 14px 16px;
  border: 1px solid rgba(75, 217, 229, 0.3);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(7, 42, 54, 0.92), rgba(3, 25, 38, 0.96));
  color: #d8ebff;
  font: 500 13px/1.55 Inter, sans-serif;
  scrollbar-color: rgba(75, 217, 229, 0.55) rgba(0, 0, 0, 0.18);
  scrollbar-width: thin;
}
.game-description-box h2,
.game-description-box h3 {
  margin: 0 0 8px;
  color: #fff;
  line-height: 1.3;
}
.game-description-box h2 {
  font-size: 17px;
}
.game-description-box h3 {
  margin-top: 16px;
  font-size: 14px;
}
.game-description-box p {
  margin: 0 0 10px;
}
.game-description-box ul {
  margin: 0 0 10px;
  padding-left: 20px;
}
.game-description-box li {
  margin: 4px 0;
}
.game-description-tip {
  padding: 9px 10px;
  border-left: 3px solid #ffd36a;
  border-radius: 5px;
  background: rgba(255, 211, 106, 0.08);
}
.ha-accepts {
  display: flex;
  flex-direction: column;
  margin-top: 6px;
}
.ha-accept {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 8px 0;
  color: #d8ebff;
  font: 800 14px/1.2 Inter;
}
.ha-accept input {
  width: 18px;
  height: 18px;
}
.ha-btn {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid #000;
  cursor: pointer;
  font: 900 18px/1 Inter;
  color: #fff;
  box-shadow: 0 0.5px 0 #000, 0 0.7px 1px #000c;
  transition: 0.12s;
}
.ha-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}


.ha-btn.primary {
  background: linear-gradient(180deg, #007acc 0%, #005a9e 100%);
  color: #0a1a34;
}
.ha-error {
  font: 800 14px/1.2 Inter;
  color: #ff4d4d;
  text-align: center;
  padding: 10px 14px;
  background: rgba(255, 77, 77, 0.1);
  border: 1.5px solid #ff4d4d;
  border-radius: 10px;
  margin-bottom: 12px;
  display: none;
}
.ha-error.active {
  display: block;
}

.ha-btn.primary.loading {
  position: relative;
  pointer-events: none;
}
.ha-btn.primary.loading::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 3px solid rgba(10, 26, 52, 0.3);
  border-top-color: #0a1a34;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}
.ha-btn.google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #0a1a34;
}
.ha-btn.google .g-ico {
  width: 22px;
  height: 22px;
}
.social-links {
  position: absolute;
  left: 50%;
  bottom: 38px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
}

.discord-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  background: #5865f2;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.social-tiktok {
  width: 25px;
  height: 25px;
  border-radius: 6px;
  object-fit: contain;
}

.tiktok-btn {
  background: #111 !important;
}

.tiktok-btn:hover {
  background: #242424 !important;
}

.discord-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.discord-btn:hover {
  transform: translateY(-2px);
  background: #4752c4;
}

.ha-hint {
  font: 800 13px/1.2 Inter;
  color: #bfe9ff;
  text-align: center;
}
#homeMain[hidden],
#homeAuth[hidden],
.hidden {
  display: none !important;
}
.ha-step {
  display: none;
}
.ha-step.active {
  display: flex;
}

.ha-link-btn {
  align-self: flex-start;
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1.5px solid #000;
  background: linear-gradient(180deg, #ffffff, #e6f4ff);
  color: #0a1a34;
  font: 800 13px/1 Inter, system-ui, sans-serif;
  cursor: pointer;
  box-shadow: 0 0.5px 0 #000, 0 0.7px 4px #0006;
}
.ha-link-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

body.auth-locked #homeMain {
  display: none !important;
}
body.auth-locked #homeAuth {
  display: block !important;
}
body.auth-locked .header-btn.buy-btn,
body.auth-locked .header-btn.settings-btn,
body.auth-locked .header-btn.store-btn,
body.auth-locked .header-btn.lead-btn {
  display: none !important;
}
body.auth-locked .exit-btn {
  display: none !important;
}
body.auth-locked .login-btn {
  display: inline-flex !important;
}
body:not(.auth-locked) .login-btn {
  display: none !important;
}
body:not(.auth-locked) .exit-btn {
  display: inline-flex !important;
}

/* SAÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€¦Ã‚Â¾ PANEL */
.player-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  border-radius: 14px;
  border: 1px solid transparent;
  padding: 12px;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(31, 188, 206, 0.13), transparent 42%) padding-box,
    linear-gradient(155deg, rgba(7, 39, 53, 0.98), rgba(3, 21, 31, 0.98)) padding-box,
    linear-gradient(135deg, #ffd36a 0%, #4bd9e5 38%, #ff806f 68%, #68dfa8 100%) border-box;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(220, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.player-card::before {
  content: "";
  position: absolute;
  inset: 5px;
  z-index: 1;
  border: 1px solid rgba(220, 245, 255, 0.16);
  border-radius: 9px;
  background:
    linear-gradient(90deg, #c8a957 16px, transparent 16px) left top / 16px 2px no-repeat,
    linear-gradient(180deg, #c8a957 16px, transparent 16px) left top / 2px 16px no-repeat,
    linear-gradient(270deg, #54aeb5 16px, transparent 16px) right top / 16px 2px no-repeat,
    linear-gradient(180deg, #54aeb5 16px, transparent 16px) right top / 2px 16px no-repeat,
    linear-gradient(90deg, #b9665d 16px, transparent 16px) left bottom / 16px 2px no-repeat,
    linear-gradient(0deg, #b9665d 16px, transparent 16px) left bottom / 2px 16px no-repeat,
    linear-gradient(270deg, #559a79 16px, transparent 16px) right bottom / 16px 2px no-repeat,
    linear-gradient(0deg, #559a79 16px, transparent 16px) right bottom / 2px 16px no-repeat;
  pointer-events: none;
}
.player-card > * {
  position: relative;
  z-index: 2;
}
.pi-top {
  display: flex;
  align-items: center;
  gap: 8px;
}
.avatar {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #bff6ff, #72e7ff);
  box-shadow: 0 0 0 4px #34d2ff inset, 0 0 0 1.5px #000;
  border: 1px solid #fff;
  overflow: hidden;
}
.avatar img {
  width: 27px;
  height: 27px;
}
.pi-name {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}
.pi-name h3 {
  font-weight: 900;
  font-size: 19px;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.badge {
  display: none;
  padding: 5px 9px;
  border-radius: 999px;
  font: 900 11px/1 Inter;
  color: #fff;
  background: linear-gradient(180deg, #ff7b00 0%, #ff5500 100%);
  box-shadow: 0 0 0 1px #000, 0 6px 14px #ff5b5b55, inset 0 1px 0 #fff8;
}
#app.vip .badge {
  display: inline-block;
}
.pi-rows {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pi-row {
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  min-height: 36px;
  padding: 5px 10px;
  border: 1px solid rgba(112, 184, 193,  0.28);
  border-radius: 7px;
  background: linear-gradient(100deg, rgba(16, 62, 73, 0.54), rgba(5, 35, 47, 0.72));
  box-shadow: inset 0 1px 0 rgba(226, 255, 255, 0.045);
  transition: border-color 140ms ease, background-color 140ms ease;
}
.stat-level {
  --stat-accent: #ffd36a;
  --stat-border: rgba(255, 211, 106, 0.38);
  --stat-wash: rgba(255, 211, 106, 0.1);
}
.stat-kills {
  --stat-accent: #ff806f;
  --stat-border: rgba(255, 128, 111, 0.36);
  --stat-wash: rgba(255, 128, 111, 0.09);
}
.stat-headshots {
  --stat-accent: #4bd9e5;
  --stat-border: rgba(75, 217, 229, 0.36);
  --stat-wash: rgba(75, 217, 229, 0.09);
}
.stat-points {
  --stat-accent: #68dfa8;
  --stat-border: rgba(104, 223, 168, 0.36);
  --stat-wash: rgba(104, 223, 168, 0.09);
}
.stat-tokens {
  --stat-accent: #ffb978;
  --stat-border: rgba(255, 185, 120, 0.36);
  --stat-wash: rgba(255, 185, 120, 0.09);
}
.pi-row::before {
  display: none;
}
.pi-row:hover {
  border-color: var(--stat-accent, rgba(97, 227, 235, 0.52));
  background-color: rgba(10, 70, 87, 0.16);
}
.vip-only {
  display: none;
}
.zoom-only {
  display: none;
}
.zoom-only.open {
  display: flex;
}

#app.vip .vip-only {
  display: flex;
}
.pi-row .label {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 900;
  font-size: 14px;
  color: var(--stat-accent, #a7ccd4);
}
.pi-row .value {
  font-weight: 900;
  font-size: 17px;
  min-width: 0;
  color: #efffff;
  text-shadow: 0 0 12px rgba(84, 220, 228, 0.16);
}
.change-name-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #59d98e, #24bfa7);
  gap: 4px;
  padding: 4px 9px;
  border-radius: 7px;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
  font-weight: 900;
  font-size: 13px;
  color: #fff;
}
.change-name-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}
.change-name-btn img {
  width: 16px;
  height: 16px;
}
.change-name-btn.disabled {
  display: none;
}
.change-token-no {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #00b6ff;
  width: 26px;
  height: 26px;
}
.vip-card {
  width: 100%;
  padding: 20px 15px;
  border-radius: 16px;
  background: rgba(4, 28, 44, .95);
  box-shadow: 0 0 20px rgba(0, 144, 255, 0.2);
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.vip-content-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.vip-section {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  padding: 5px; 
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid #007acc;
  box-sizing: border-box;
  transition: transform 0.2s;
}

.vip-section:hover {
  border-color: #00b6ff;
  box-shadow: inset 0 0 10px rgba(0, 182, 255, 0.1);
  transform: translateY(-2px); 
}

.vip-title {
  color: #00b6ff;
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.vip-desc {
  color: #a0aec0;
  font-size: 13px;
  line-height: 1.4;
}

.vip-features {
  color: #00ffcc;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 0;
}

.price-box {
  display: flex;
  align-items: center;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.price-box .duration {
 
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: -2px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  text-shadow: 0 0 8px rgba(0, 182, 255, 0.6);
}

.price-box .amount {
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  text-shadow: 0 0 8px rgba(0, 182, 255, 0.6);
}

.vip-card .pri {
  width: 100%;
  max-width: 250px;
  height: 40px;
  border: 1px solid rgba(0,0,0,0.3);
  border-radius: 8px;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ff7b00 26.5%, #ff9500 36%, #f6ba06 97%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px auto 0;
  transition: all 0.2s ease;
  cursor: pointer;
}

.pri:hover {
  background: #00b6ff;
  transform: scale(1.03);
  box-shadow: 0 4px 15px rgba(255, 123, 0, 0.3);
}



/* FOOTER */
.site-footer {
  width: 100%;
  display: flex;
  align-items: center;
}
.footer-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  /* border: 1px solid #0090ff; */
  border-radius: 12px;
  padding: 8px 14px;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); */
  background: rgba(4, 28, 44, 0.95);
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 144, 255, 0.2), inset 0 0 20px rgba(0, 144, 255, 0.05);
}
.foot-left,
.support-mail {
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

.foot-right {
  display: flex;
  align-items: center;
  gap: 30px;
}




.footer-site-link {
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid #005a9e;
  border-radius: 7px;
  background: linear-gradient(180deg, #007acc 0%, #005a9e 100%);
  box-shadow: 0 2px 0 #003d6b, 0 0 10px rgba(0, 144, 255, 0.35);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}






























/* =============== COMMON MODALS (20px kenar) =============== */
.settings-wrap,
.lb-wrap,
#wzs-store {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  z-index: 10000;
}
.settings-wrap.active,
.lb-wrap.active,
#wzs-store.active {
  display: grid;
}
.settings-overlay,
.lb-overlay,
.wzs-dim {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 30, 0.55);
  backdrop-filter: blur(5px);
}
.settings-modal,
.lb-modal,
.wzs-modal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 40px);
  max-width: 1786px;
  height: calc(100% - 40px);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(4, 28, 44, 0.95);
  box-shadow: 0 0 15px rgba(0, 144, 255, 0.2), inset 0 0 20px rgba(0, 144, 255, 0.05);
  color: #fff;
  display: flex;
  flex-direction: column;
}

/* =============== SETTINGS =============== */

.settings-wrap {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  z-index: 10000;
}
.settings-wrap.active {
  display: grid;
}
.settings-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(3px) saturate(120%);
}
.settings-modal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 40px);
  max-width: 1786px;
  height: calc(100% - 40px);
  border-radius: 16px;
  background: rgba(4, 28, 44, 0.95);
  box-shadow: 0 0 15px rgba(0, 144, 255, 0.2), inset 0 0 20px rgba(0, 144, 255, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #fff;
}

/* ---------- Head ---------- */
.settings-head {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 19px;
  /* border-bottom: 3px solid #0090ff; */
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.07) 0,
    rgba(255, 255, 255, 0) 100%
  );
}
.backbtn {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    180deg,
    #0090ff 26.5%,
    #0090ff 39.5%,
    #0090ff 64%,
    #0090ff 97%
  );
  border: 1.5px solid #000;
  box-shadow: 0 0.5px 0 #000, 0 0.7px 1px #000c;
  cursor: pointer;
  transition: transform 0.12s, filter 0.15s, box-shadow 0.15s;
}
.backbtn:before {
  content: "";
  width: 10px;
  height: 10px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(45deg);
}
.backbtn:hover {
  transform: translateY(-1px) scale(1.04);
  filter: brightness(1.05);
}
.settings-head h3 {
  font: 900 33px/1 Inter, system-ui;
}

/* VIP pill */
.vip-pill {
  margin-left: auto;
  padding: 0.36rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    #ff7b00 26.5%,
    #ff9500 36%,
    #ff9500 64%,
    #f6ba06 97%
  );
  border: 1.5px solid #000;
  color: #231800;
  font: 900 12px/1 Inter;
  box-shadow: 0 0.5px 0 #000, 0 0.7px 1px #000c;
  display: none;
}

/* ---------- Tabs ---------- */
.tabbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 16px;
  /* border-bottom: 3px solid #0090ff; */
  background: rgba(4, 28, 44, 0.95);
}
.tab {
  padding: 15px 20px;
  border-radius: 10px;
  border: 1.5px solid #000;
  background: rgba(4, 28, 44, 0.95);
  color: #fff;
  font: 800 20px/1 Inter;
  cursor: pointer;
  box-shadow: 0 0.5px 0 #000, 0 0.7px 1px #000c;
  transition: transform 0.12s, filter 0.15s, background 0.15s;
}
.tab:hover {
  transform: translateY(-1px);
}
.tab.active {
  background: linear-gradient(
    180deg,
    #0090ff 26.5%,
    #0090ff 39.5%,
    #0090ff 64%,
    #0090ff 97%
  );
}

/* ---------- Body ---------- */
.settings-body {
  flex: 1;
  overflow: auto;
  padding: 14px;
}
.settings-body::-webkit-scrollbar {
  width: 10px;
}
.settings-body::-webkit-scrollbar-thumb {
  background: #02121c;
  border-radius: 10px;
  border: 1px solid #000;
}
.sectionS {
  display: none;
}
.sectionS.active {
  display: block;
}

/* ---------- Rows ---------- */
.opt {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 10px 0;
  padding: 14px;
  border-radius: 14px;
  background: rgba(4, 28, 44, 0.95);
  border: 1.5px solid #000;
  box-shadow: 0 0.5px 0 #000, 0 0.7px 1px #000c;
}
.opL {
  min-width: 280px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.opT {
  font: 900 22px/1 Inter;
}
.hint {
  font: 500 19px/1.25 Inter;
  color: #eae4ff;
}
.opR {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}



.vip-sc { position: relative; }

#app:not(.vip) .vip-sc::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  border-radius: inherit;
  z-index: 1;
  pointer-events: auto;
}


#app:not(.vip) .vip-sc .vip-a {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background: #ffb100;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  padding: 8px 20px;
  border-radius: 6px;
  z-index: 2;
  pointer-events: none;
}

#app.vip .vip-sc::before { display: none; }
#app.vip .vip-sc .vip-a { display: none; }




/* ---------- Inputs / Selects ---------- */
.field,
select,
input[type="text"],
input[type="number"],
input[type="color"] {
  width: 100%;
  padding: 10px 20px;
  border-radius: 12px;
  border: 1px solid #005a9e;
  background: #02121c;
  color: #fff;
  font: 700 24px/1 Inter;
  box-shadow: none;
  outline: 0;
}
.field:focus,
select:focus,
input[type="text"]:focus,
input[type="number"]:focus,
input[type="color"]:focus {
  box-shadow: 0 0 0 3px rgba(38, 179, 247, 0.35);
}


.ui-select {
  appearance: none;
  padding: 0.82rem 2.4rem 0.82rem 0.9rem;
  background-image: linear-gradient(45deg, transparent 50%, #9ec5ff 50%),
    linear-gradient(135deg, #9ec5ff 50%, transparent 50%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08));
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%,
    calc(100% - 2.2rem) 50%;
  background-size: 6px 6px, 6px 6px, 1px 60%;
  background-repeat: no-repeat;
}

.ui-select option {
  background: #320b5a;
  color: #fff;
}

.fileish {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fileish input[type="file"] {
  display: none;
}
.fileName {
  flex: 1;
  color: #cfe9ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font: 700 18px/1 Inter;
}

.copyBtn,
.btnGhost {
  padding: 0.82rem 1rem;
  border-radius: 10px;
  border: 1.5px solid #000;
  cursor: pointer;
  box-shadow: 0 0.5px 0 #000, 0 0.7px 1px #000c;
  transition: transform 0.12s, box-shadow 0.15s, background 0.15s, color 0.15s,
    filter 0.15s;
}
.copyBtn {
  background: linear-gradient(
    180deg,
    #ff7b00 26.5%,
    #ff9500 36%,
    #ff9500 64%,
    #f6ba06 97%
  );
  color: #231800;
  font: 900 18px/1 Inter;
}
.copyBtn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.copyBtn:active {
  transform: translateY(0);
}
.copyBtn:focus-visible {
  outline: 0;
  box-shadow: 0 0.5px 0 #000, 0 0.7px 1px #000c,
    0 0 0 3px rgba(252, 209, 19, 0.35);
}

.btnGhost {
  background: linear-gradient(
    180deg,
    #0090ff 26.5%,
    #0090ff 39.5%,
    #0090ff 64%,
    #0090ff 97%
  );
  color: #fff;
  font: 900 18px/1 Inter;
}
.btnGhost:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.btnGhost:active {
  transform: translateY(0);
}
.btnGhost:focus-visible {
  outline: 0;
  box-shadow: 0 0.5px 0 #000, 0 0.7px 1px #000c,
    0 0 0 3px rgba(38, 179, 247, 0.35);
}

/* ---------- Switch ---------- */
.switch {
  position: relative;
  width: 60px;
  height: 32px;
  flex: 0 0 auto;
}
.switch input {
  appearance: none;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #02121c;
  border: 1px solid #005a9e;
  cursor: pointer;
}
.switch input:checked {
  background: linear-gradient(180deg, #0090ff 0%, #005a9e 100%);
  box-shadow: 0 0 12px rgba(0, 144, 255, 0.35), inset 0 0 8px rgba(0, 144, 255, 0.2);
}
.switch input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: left 0.15s;
}
.switch input:checked::after {
  left: 31px;
}

/* ---------- Range ---------- */
.sliderWrap {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.range {
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #02121c;
  border: 1px solid #005a9e;
}
.range::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0090ff;
  border: 2px solid #02121c;
  box-shadow: 0 0 0 3px rgba(0, 144, 255, 0.25);
}
.val {
  min-width: 64px;
  text-align: center;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1.5px solid #000;
  background: #02121c;
  font: 900 18px/1 Inter;
  color: #fff;
}

.keyRow {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 14px;
  align-items: center;
  width: 100%;
}
.key {
  display: grid;
  place-items: center;
  height: 48px;
  border-radius: 12px;
  background: #02121c;
  border: 1.5px solid #000;
  color: #fff;
  font: 900 18px/1 Inter;
}

@media (max-width: 1024px) {
  .opL {
    min-width: 240px;
  }
  .tab {
    padding: 12px 16px;
    font-size: 18px;
  }
  .settings-head h3 {
    font-size: 28px;
  }
}
@media (max-width: 768px) {
  .settings-modal {
    width: calc(100% - 20px);
    height: calc(100% - 20px);
  }
  .opL {
    min-width: 200px;
    max-width: 240px;
  }
  .settings-head h3 {
    font-size: 24px;
  }
  .tab {
    padding: 10px 14px;
    font-size: 16px;
  }
  .field,
  .ui-select,
  .fileName {
    font-size: 18px;
  }
  .opt {
    gap: 12px;
  }
}
@media (max-width: 560px) {
  .opL {
    min-width: 180px;
  }
  .keyRow {
    grid-template-columns: 160px 1fr;
  }
}

/* Settings panel refresh */
.settings-overlay {
  background: rgba(3, 10, 14, 0.78);
  backdrop-filter: blur(9px) saturate(115%);
}

.settings-modal {
  --settings-ink: #edf5ec;
  --settings-muted: #9fb3ad;
  --settings-panel: #142a30;
  --settings-field: #0b1c22;
  --settings-line: rgba(190, 215, 198, 0.16);
  width: min(1120px, calc(100% - 40px));
  height: min(780px, calc(100% - 40px));
  display: grid;
  grid-template-columns: 212px minmax(0, 1fr);
  grid-template-rows: 76px minmax(0, 1fr);
  border: 1px solid var(--settings-line);
  border-radius: 8px;
  background: #0d2026;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  color: var(--settings-ink);
}

.settings-head {
  grid-column: 1 / -1;
  min-width: 0;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--settings-line);
  background: #10252b;
}

.backbtn {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid var(--settings-line);
  border-radius: 5px;
  background: #1a3438;
  box-shadow: none;
}

.settings-head h3 {
  font-size: 23px;
  line-height: 1.1;
}

.tabbar {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 5px;
  min-height: 0;
  padding: 18px 12px;
  overflow: auto;
  border-right: 1px solid var(--settings-line);
  background: #10252b;
}

.tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 43px;
  padding: 10px 11px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  box-shadow: none;
  color: #b6c8c0;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.tab::before {
  color: #778f88;
  content: "01";
  font: 700 10px/1 Inter, sans-serif;
  font-variant-numeric: tabular-nums;
}

.tab[data-tab="audio"]::before { content: "02"; }
.tab[data-tab="visual"]::before { content: "03"; }
.tab[data-tab="controls"]::before { content: "04"; }
.tab[data-tab="shortcuts"]::before { content: "05"; }
.tab[data-tab="perf"]::before { content: "06"; }

.tab:hover {
  transform: none;
  background: rgba(225, 238, 213, 0.06);
  color: var(--settings-ink);
}

.tab.active {
  border-color: rgba(174, 206, 153, 0.24);
  background: #213b3a;
  color: #d6efb0;
}

.tab.active::before {
  color: #f0c879;
}

.settings-body {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  min-height: 0;
  padding: 20px;
  background: #0d2026;
}

.sectionS.active {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 10px;
}

.opt {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 13px;
  min-width: 0;
  min-height: 112px;
  margin: 0;
  padding: 15px;
  border: 1px solid var(--settings-line);
  border-radius: 6px;
  background: var(--settings-panel);
  box-shadow: none;
}

.opL {
  min-width: 0;
  max-width: none;
  gap: 5px;
}

.opT {
  color: var(--settings-ink);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.3;
}

.hint {
  color: var(--settings-muted);
  font-size: 12px;
  line-height: 1.35;
}

.opR {
  width: 100%;
  gap: 9px;
}

.settings-modal .field,
.settings-modal select,
.settings-modal input[type="text"],
.settings-modal input[type="number"] {
  min-width: 0;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid rgba(190, 215, 198, 0.2);
  border-radius: 4px;
  background: var(--settings-field);
  color: var(--settings-ink);
  font-size: 14px;
  font-weight: 600;
}

.settings-modal .ui-select option {
  background: #10252b;
}

.settings-modal .ui-select {
  padding-right: 38px;
}

.settings-modal .fileName {
  min-width: 0;
  color: var(--settings-muted);
  font-size: 12px;
}

.settings-modal .copyBtn,
.settings-modal .btnGhost {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(222, 188, 118, 0.38);
  border-radius: 4px;
  background: #c38d44;
  box-shadow: none;
  color: #17231e;
  font-size: 12px;
  font-weight: 800;
}

.settings-modal .btnGhost {
  border-color: rgba(190, 215, 198, 0.24);
  background: #29464a;
  color: var(--settings-ink);
}

.settings-modal .switch {
  width: 44px;
  height: 25px;
}

.settings-modal .switch input {
  border: 1px solid rgba(190, 215, 198, 0.24);
  background: #0b1c22;
}

.settings-modal .switch input::after {
  top: 2px;
  left: 2px;
  width: 19px;
  height: 19px;
  background: #b4c2b9;
}

.settings-modal .switch input:checked {
  background: #597c5c;
  box-shadow: none;
}

.settings-modal .switch input:checked::after {
  left: 21px;
  background: #eff5dd;
}

.settings-modal .sliderWrap {
  gap: 12px;
}

.settings-modal .range {
  height: 6px;
  border: 0;
  background: #30474a;
}

.settings-modal .range::-webkit-slider-thumb {
  width: 15px;
  height: 15px;
  border: 2px solid #0d2026;
  background: #d7bc78;
  box-shadow: 0 0 0 2px rgba(215, 188, 120, 0.22);
}

.settings-modal .val {
  min-width: 48px;
  padding: 7px 8px;
  border: 1px solid var(--settings-line);
  border-radius: 4px;
  background: var(--settings-field);
  color: #d9e8d5;
  font-size: 13px;
}

.settings-modal input[type="color"] {
  width: 48px;
  min-height: 36px;
  padding: 3px;
  border: 1px solid var(--settings-line);
  border-radius: 4px;
  background: var(--settings-field);
}

.settings-modal .keyRow {
  grid-template-columns: minmax(86px, 0.7fr) minmax(0, 1fr);
  gap: 9px;
}

.settings-modal .key {
  min-width: 0;
  height: 38px;
  padding: 0 7px;
  border: 1px solid var(--settings-line);
  border-radius: 4px;
  background: #0b1c22;
  color: #dfc984;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.settings-modal .keyRow .field {
  height: auto;
  white-space: normal;
}

.settings-modal .vip-a {
  top: 8px;
  right: 8px;
  transform: none;
  padding: 4px 7px;
  border: 1px solid rgba(238, 197, 120, 0.32);
  border-radius: 3px;
  background: #735b32;
  color: #f4dfae;
  font-size: 9px;
}

#app:not(.vip) .settings-modal .vip-sc .vip-a {
  border-color: rgba(238, 197, 120, 0.32);
  background: #735b32;
  color: #f4dfae;
}

.settings-body::-webkit-scrollbar {
  width: 7px;
}

.settings-body::-webkit-scrollbar-thumb {
  border: 0;
  border-radius: 0;
  background: #496258;
}

@media (max-width: 760px) {
  .settings-modal {
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 64px 54px minmax(0, 1fr);
  }

  .settings-head {
    grid-column: 1;
    grid-row: 1;
    padding: 10px 13px;
  }

  .settings-head h3 {
    font-size: 19px;
  }

  .tabbar {
    grid-column: 1;
    grid-row: 2;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    overflow-x: auto;
    overflow-y: hidden;
    border-right: 0;
    border-bottom: 1px solid var(--settings-line);
  }

  .tab {
    flex: 0 0 auto;
    width: auto;
    min-height: 36px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .tab::before {
    font-size: 9px;
  }

  .settings-body {
    grid-column: 1;
    grid-row: 3;
    padding: 12px;
  }

  .sectionS.active {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .opt {
    min-height: 100px;
    padding: 12px;
  }

  .opL {
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .settings-modal {
    width: calc(100% - 12px);
    height: calc(100% - 12px);
  }

  .settings-modal .opR.fileish {
    flex-wrap: wrap;
  }

  .settings-modal .opR.fileish .fileName {
    flex-basis: 100%;
  }
}

/* =============== LEADERBOARD =============== */
.lb-head {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 14px 18px;
  border-bottom: 2px solid #00000033;
  background: linear-gradient(180deg, #ffffff10 0%, #0000 100%);
}
.lb-head h3 {
  margin: 0;
  font: 900 32px/1 Inter;
}
.lb-back {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(180deg, #0090ff 0%, #005a9e 100%);
  border: 1px solid #005a9e;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.12s;
  box-shadow: 0 2px 0 #003d6b;
}
.lb-back:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.lb-back:before {
  content: "";
  width: 10px;
  height: 10px;
  border-left: 3px solid #9cffea;
  border-bottom: 3px solid #9cffea;
  transform: rotate(45deg);
}
.lb-body {
  flex: 1;
  overflow: auto;
  scrollbar-gutter: stable both-edges;
}
.lb-body::-webkit-scrollbar {
  width: 10px;
}
.lb-body::-webkit-scrollbar-thumb {
  background: #3c135b;
  border-radius: 10px;
}
.lb-table {
  padding: 14px;
}
.lb-th,
.lb-row {
  display: grid;
  grid-template-columns: 40px 1fr 120px 140px 110px 90px;
  gap: 12px;
  align-items: center;
  text-align: center;
}
.lb-th {
  position: sticky;
  top: 0;
  z-index: 5;
  border: 1px solid #0090ff;
  border-radius: 14px;
  background: rgba(4, 28, 44, 0.95);
  box-shadow: 0 0 12px rgba(0, 144, 255, 0.2), inset 0 0 12px rgba(0, 144, 255, 0.05);
}
.lb-thc {
  appearance: none;
  background: transparent;
  border: 0;
  color: #cfe7ff;
  padding: 12px 12px;
  font: 900 12px/1 Inter;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  justify-content: center;
  font-size: 18px;
}
.lb-thc.lb-left {
  padding: 12px 28px;
  justify-content: flex-start;
}
.lb-thc.active {
  color: #fff;
  text-shadow: 0 1px 0 #000;
  border: 1px solid #0090ff;
  border-radius: 12px;
  background: #0090ff;
}
.lb-thc.active:after {
  content: "";
  font-size: 16px;
  opacity: 0.9;
  transform: translateY(-1px);
}
.lb-thc.active.asc:after {
  content: "";
}
.lb-row {
  margin: 10px 0;
  padding: 12px;
  border-radius: 14px;
  /* border: 2px solid #000; */
  position: relative;
  /* background: linear-gradient(180deg, #6c1f8eaa, #611c85aa); */
  box-shadow: 0 0.5px 0 #000, 0 0.7px 1px #000c, inset 0 1px 0 #ffffff26;
  backdrop-filter: blur(3px);
}
.lb-row:hover {
  filter: brightness(1.03);
}
.lb-row.top1 {
  box-shadow: 0 0 0 2px #ffd54f inset, 0 0 24px #ffd54f44;
}
.lb-row.top2 {
  box-shadow: 0 0 0 2px #c0c7d1 inset, 0 0 24px #c0c7d144;
}
.lb-row.top3 {
  box-shadow: 0 0 0 2px #e6aa76 inset, 0 0 24px #e6aa7644;
}
.lb-row.top4,
.lb-row.top5,
.lb-row.top6,
.lb-row.top7,
.lb-row.top8,
.lb-row.top9,
.lb-row.top10 {
  box-shadow: 0 0 0 2px #00c8ff66 inset, 0 0 18px #00c8ff22;
}
.lb-rank {
  font: 900 22px/1 Inter;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-player {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  justify-content: flex-start;
}
.lb-rank-icon {
  font-size: 24px;
  flex: 0 0 auto;
}
.lb-ava {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 36px;
  box-shadow: 0 0 0 2px #ffffff22;
}
.lb-name {
  font-weight: 900;
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 420px;
}
.lb-flag {
  width: 24px;
  height: 18px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px #ffffff55;
  flex: 0 0 auto;
}
.lb-num {
  font: 900 18px/1 Inter;
}
.lb-foot {
  padding: 12px 14px;
  border-top: 2px solid #00000033;
  background: linear-gradient(180deg, #0000, #ffffff05);
}
.lb-meRow {
  border-color: #ff9500;
  box-shadow: 0 0 0 1px #00c8ff66 inset;
  background: linear-gradient(
    180deg,
    #0090ff 26.5%,
    #0090ff 39.5%,
    #0090ff 64%,
    #0090ff 97%
  );
}

/* =============== STORE =============== */
/* container */
#wzs-store {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 10000;
}
#wzs-store.active {
  display: block;
}
.wzs-dim {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 30, 0.55);
  backdrop-filter: blur(5px);
}

/* modal */
.wzs-modal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 40px);
  max-width: 1786px;
  height: calc(100% - 80px);
  /* no border in style.css */
  border-radius: 16px;
  overflow: hidden;
  background: rgba(4, 28, 44, 0.95);
  box-shadow: 0 0 15px rgba(0, 144, 255, 0.2), inset 0 0 20px rgba(0, 144, 255, 0.05);
  color: #fff;
  display: flex;
  flex-direction: column;
}

/* head */
.wzs-head {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 25px;
  border-bottom: 2px solid #00000033;
  background: linear-gradient(180deg, #ffffff10 0%, #0000 100%);
}
.wzs-back {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(180deg, #0090ff 0%, #005a9e 100%);
  border: 1px solid #005a9e;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.12s;
  box-shadow: 0 2px 0 #003d6b;
}
.wzs-back:before {
  content: "";
  width: 10px;
  height: 10px;
  border-left: 3px solid #9cffea;
  border-bottom: 3px solid #9cffea;
  transform: rotate(45deg);
}
.wzs-back:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.wzs-title {
  margin: 0;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 0.2px;
}

/* wallet (coins + get coins) */
.wzs-wallet {
  margin-left: auto;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid #005a9e;
  background: #02121c;
  box-shadow: none;
}
.wzs-coin-img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  /* background:#ffd24d; */ /* buraya coin gÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¶rseli gelebilir */
}
.wzs-amount {
  font: 900 18px/1 Inter;
  color: #ffe07a;
  text-shadow: 0 1px 0 #000;
}
.wzs-topup {
  height: 50px;
  padding: 0 21px;
  border-radius: 10px;
  border: 1.5px solid #000;
  cursor: pointer;
  display: flex;
  gap: 10px;
  align-items: center;
  /* background:linear-gradient(90deg,#00FFD1,#00B7FF); */
  color: #fff;
  font-weight: 900;
  font-size: 19px;
  box-shadow: 0 0.5px 0 #000, 0 0.7px 1px #000c;
  background: linear-gradient(
    90deg,
    rgb(66, 255, 123) 0%,
    rgb(0, 213, 90) 100%
  );
}
.wzs-topup:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  background: linear-gradient(180deg, #0090ff 0%, #007acc 100%);
}
.wzs-topup:active {
  transform: translateY(0);
}

.wzs-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 16px;
}
.wzs-pill {
  height: 60px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 2px solid #0090ff;
  background: linear-gradient(180deg, #ffffff12, #0000);
  font-weight: 900;
  color: #ede7ff;
  cursor: pointer;
  box-shadow: inset 0 1px 0 #fff3;
  font-size: 20px;
}
.wzs-pill.active {
  background: linear-gradient(180deg, #2ee9ff, #00b6ff);
  color: #fff;
  border-color: #0b6aa3;
  box-shadow: 0 8px 18px #00c9ff36, inset 0 -6px 10px #ffffffb0;
}

.wzs-body {
  flex: 1;
  position: relative;
  padding: 0 16px 16px;
  overflow: hidden;
}
.wzs-view {
  position: absolute;
  inset: 0;
  padding: 12px 0 0;
  display: none;
  overflow: auto;
}
.wzs-view.active {
  display: block;
}

.wzs-shell {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(300px, 380px) 1fr;
  gap: 18px;
  min-height: 0;
  min-width: 900px;
}

.wzs-side {
  border: 2px solid #000;
  border-radius: 18px;
  background: rgba(4, 28, 44, 0.95);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: inset 0 1px 0 #fff2;
  min-height: 0;
  overflow: auto;
}
.wzs-side::-webkit-scrollbar {
  display: none;
}
.wzs-side h5 {
  margin: 10px 0 30px;
  font-size: 24px;
  color: #cfe3ff;
  font-weight: 900;
  text-align: center;
}
.wzs-vlist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wzs-vbtn {
  height: 70px;
  border-radius: 14px;
  border: 2px solid #0090ff;
  background: linear-gradient(180deg, #ffffff10, #0000);
  color: #ede7ff;
  font-weight: 900;
  cursor: pointer;
  text-align: center;
  padding: 0;
  font-size: 20px;
  box-shadow: inset 0 1px 0 #fff2;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 144, 255, 0.2), inset 0 0 20px rgba(0, 144, 255, 0.05);
}
.wzs-vbtn:hover {
  filter: brightness(1.05);
}
.wzs-vbtn.active {
  background: linear-gradient(90deg, #9cf6ff55, #4bd7ff55);
  border-color: #00c8ff;
  box-shadow: inset 0 0 0 2px #00c8ff80;
}
.wzs-vbtn img{
  width:100%;
  height:100%;
}
.wzs-stage {
  position: relative;
  border: 2px solid #000;
  border-radius: 18px;
  padding: 16px;
  background: rgba(4, 28, 44, 0.95);
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 1px 0 #fff2;
  min-height: 0;
  overflow: hidden;
}
.wzs-canvas {
  position: relative;
  flex: 1;
  min-height: 340px;
  border-radius: 16px;
  border: 2px dashed #cfe7ff66;
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(
    135deg,
    #cfe7ff1a 0 12px,
    #e7f4ff10 12px 24px
  );
  overflow: hidden;
}
#wzsAccCanvas,
#wzsSkinCanvas {
  width: 600px;
  height: 200px;
}

.wzs-arrow {
  --ty: -50%;
  position: absolute;
  top: 50%;
  transform: translateY(var(--ty));
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid #6fe0ff66;
  background: linear-gradient(180deg, #eaf9ff, #c7eaff);
  color: #0a1a34;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 18px #37e0ff33, inset 0 -6px 10px #ffffffaa;
  transition: transform 0.12s, box-shadow 0.15s, filter 0.15s;
  z-index: 2;
}
.wzs-arrow.left {
  left: 12px;
}
.wzs-arrow.right {
  right: 12px;
}
.wzs-arrow:hover {
  box-shadow: 0 0 0 3px #9ee9ff80 inset, 0 12px 24px #37e0ff55;
  transform: translateY(var(--ty)) scale(1.06);
}
.wzs-arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #0a1a34;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.coin-ico {
  width: 30px;
  height: 30px;
  display: inline-block;
  vertical-align: -3px;
}

.wzs-color-price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  margin-left: auto;
  border: 1.5px solid #000;
  border-radius: 999px;
  background: #0d2240;
  color: #fff;
  font: 800 14px/1 Inter;
  box-shadow: 0 0.5px 0 #000, 0 0.7px 1px #000c, inset 0 0 0 1px #ffffff1a;
}

.wzs-buybar {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px dashed #0090ff;
  background: linear-gradient(180deg, rgba(4, 28, 44, 0.9), rgba(4, 28, 44, 0.85));
  box-shadow: 0 0 12px rgba(0, 144, 255, 0.15), inset 0 0 0 1px rgba(0, 144, 255, 0.1);
}
.wzs-buybar.active {
  display: flex;
}

.wzs-price {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid #000;
  background: linear-gradient(180deg, #14355f 0%, #0e2748 100%);
  color: #f3fbff;
  font: 900 18px/1 Inter;
  letter-spacing: 0.3px;
  box-shadow: 0 0.5px 0 #000, 0 0.7px 1px #000c, inset 0 0 0 1px #ffffff22;
}

.wzs-buy {
  min-width: 120px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1.5px solid #000;
  cursor: pointer;
  color: #0b1f34;
  font: 900 18px/1 Inter;
  background: linear-gradient(180deg, #14ff85 0%, #0fe36f 60%, #0acc63 100%);
  box-shadow: 0 0.5px 0 #000, 0 1px 2px #000c, inset 0 0 0 1px #ffffff55;
  transition: transform 0.08s ease, filter 0.12s ease;
}
.wzs-buy:hover {
  filter: brightness(1.06);
}
.wzs-buy:active {
  transform: translateY(0);
}

.wzs-ctrl {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  padding: 12px;
  border-radius: 14px;
  border: 1.5px solid #000;
  background: rgba(4, 28, 44, 0.95);
  box-shadow: 0 0.5px 0 #000, 0 0.7px 1px #000c;
}



.wzs-skin-notice {
  position: absolute;
  right: 30px;
  display: none;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 18px 20px;
  color: #ffe39b;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  border-radius: 10px;
  border: 1px solid #ffd54d66;
  background: linear-gradient(180deg, #fff1b31a, #fff1b30a);
}

.wzs-skin-notice.open {
  display: flex;
}







.wzs-sw {
  display: flex;
  align-items: center;
  gap: 15px;
}
.wzs-meta {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid #000;
  background: #02121c;
  color: #fff;
  font: 900 14px/1 Inter;
}

/* responsive */
@media (max-width: 900px) {
  .wzs-buybar {
    justify-content: space-between;
  }
  .wzs-price {
    font-size: 14px;
  }
  .wzs-buy {
    min-width: 104px;
    padding: 10px 14px;
    font-size: 16px;
  }
}

.wzs-add,
.wzs-rem,
.wzs-select,
.wzs-buy {
  display: none;
  padding: 15px 20px;
  border-radius: 12px;
  border: 1.5px solid #000;
  cursor: pointer;
  font-weight: 900;
  font-size: 20px;
  color: #fff;
  box-shadow: 0 0.5px 0 #000, 0 0.7px 1px #000c;
  transition: transform 0.12s, filter 0.12s;
  /* background: linear-gradient(90deg, rgb(66, 255, 123) 0%, rgb(0, 213, 90) 100%); */
}
.wzs-add {
  background:linear-gradient(180deg, #007acc 0%, #005a9e 100%);
}
.wzs-rem {
  background: linear-gradient(90deg, #ff7080, #ff3b3b);
}
.wzs-select {
  background: linear-gradient(
    180deg,
    #ff7b00 26.5%,
    #ff9500 36%,
    #ff9500 64%,
    #f6ba06 97%
  );
}
.wzs-buy {
  display: inline-block;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  background: linear-gradient(180deg, #ff7b00 0%, #ff5500 100%);
  border: 1px solid #cc4400;
  box-shadow: 0 2px 0 #993300, 0 0 10px rgba(255, 85, 0, 0.4);
}
.wzs-buy:hover {
  filter: brightness(1.06);
}
.wzs-buy:active {
  transform: translateY(0);
}
.wzs-add.active,
.wzs-rem.active,
.wzs-select.active {
  display: inline-block;
}
.wzs-lock {
  padding: 18px 20px;
  border-radius: 10px;
  border: 1px solid #ffd54d66;
  background: linear-gradient(180deg, #fff1b31a, #fff1b30a);
  color: #ffe39b;
  font-weight: 900;
  font-size: 16px;
  display: none;
}
.wzs-lock.active {
  display: inline-block;
}
.wzs-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #ffffffaa inset, 0 4px 10px #0006;
  cursor: pointer;
  border: 0;
}
.wzs-dot.sel {
  outline: 3px solid #37e0ff88;
}

.wzs-pay {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  z-index: 20;
}
.wzs-pay.open {
  display: grid;
}
.wzs-pay-dim {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 30, 0.6);
  backdrop-filter: blur(6px);
}
.wzs-pay-panel {
  position: relative;
  width: min(1100px, calc(100% - 40px));
  border: 2px solid #0090ff;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(4, 28, 44, 0.95);
  box-shadow: 0 30px 100px #000c, inset 0 1px 0 #fff2;
  color: #fff;
}
.wzs-pay-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 2px solid #00000055;
  background: linear-gradient(180deg, #ffffff10, #0000);
}
.wzs-pay-head h4 {
  margin: 0;
  font: 900 22px/1 Inter;
}
.wzs-pay-close {
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(180deg, #0090ff 0%, #005a9e 100%);
  border: 1px solid #005a9e;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.12s, filter 0.15s, box-shadow 0.15s;
  box-shadow: inset 0 1px 0 #fff3, 0 0.7px 1px #000c;
  background: url(./img/close.png);
  background-repeat: no-repeat;
  background-position: center;
}
.wzs-pay-close:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  border-color: #00d55a;
}

.wzs-pack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
}
@media (max-width: 680px) {
  .wzs-pack-grid {
    grid-template-columns: 1fr;
  }

  .wzs-pay-close {
    width: 60px;
    height: 60px;
  }
  .wzs-pay-head h4 {
    margin: 0;
    font: 900 36px/1 Inter;
  }

  .pack-price {
    font: 900 40px/1 Inter;
    color: #ffe07a;
    text-shadow: 0 1px 0 #000;
  }
}
.wzs-pack {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 14px;
  background: #02121c;
  box-shadow: 0 0 12px rgba(0, 144, 255, 0.2);
}
.pack-info {
  display: flex;
  align-items: center;
  gap: 18px;
}
.pack-price {
  font: 900 30px/1 Inter;
  color: #ffe07a;
  text-shadow: 0 1px 0 #000;
}
.pack-coins {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 900 22px/1 Inter;
  color: #d8ebff;
}
.pack-coins .coin-ico {
  width: 35px;
  height: 35px;
  border-radius: 50%;
}
.pack-cta {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #cc4400;
  cursor: pointer;
  font: 900 18px/1 Inter;
  color: #fff;
  background: linear-gradient(180deg, #ff7b00 0%, #ff5500 100%);
  box-shadow: 0 2px 0 #993300, 0 0 10px rgba(255, 85, 0, 0.4);
}
.pack-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
  background: linear-gradient(180deg, #ff9500 0%, #ff6600 100%);
}
.pack-cta:active {
  transform: translateY(0);
}.wzs-pay-foot {
  padding: 10px 16px;
  border-top: 2px solid #00000055;
  background: linear-gradient(180deg, #0000, #ffffff08);
}
.wzs-pay-note {
  font: 800 14px/1 Inter;
  color: #bfe9ff;
  text-align: center;
}

@media (max-width: 1100px) {
  .wzs-title {
    font-size: 24px;
  }
  .wzs-shell {
    grid-template-columns: minmax(240px, 300px) 1fr;
    min-width: 820px;
  }
  .wzs-canvas {
    min-height: 300px;
  }
  .wzs-pill {
    height: 54px;
    font-size: 18px;
  }
}
@media (max-width: 820px) {
  .wzs-title {
    font-size: 22px;
  }
  .wzs-back {
    width: 40px;
    height: 40px;
  }
  .wzs-pill {
    height: 48px;
    font-size: 16px;
  }
  .wzs-arrow {
    width: 44px;
    height: 44px;
  }
  .wzs-arrow svg {
    width: 20px;
    height: 20px;
  }
}
@media (max-width: 640px) {
  .wzs-title {
    font-size: 20px;
  }
  .wzs-shell {
    grid-template-columns: minmax(220px, 360px) 1fr;
    min-width: 760px;
  }
}

@media (max-width: 768px) {
  .header-btn {
    font-size: 16px;
    height: 46px;
  }
  .play-game-btn {
    font-size: 28px;
  }
  .h-btn {
    height: 48px;
    font-size: 16px;
  }
  .server-map {
    font-size: 16px;
  }
  .server-city {
    font-size: 19px;
  }
  .server-count {
    font-size: 18px;
  }
  .features li {
    font-size: 16px;
  }
  .vip-card h3 {
    font-size: 20px;
  }
  .vip-card .price {
    font-size: 34px;
  }

  .lb-th,
  .lb-row {
    grid-template-columns: 40px 1fr 110px 130px 100px 90px;
  }
  .lb-name,
  .lb-num {
    font-size: 14px;
  }
  .lb-thc {
    font-size: 12px;
  }

  .wzs-shell {
    grid-template-columns: minmax(220px, 360px) 1fr;
    min-width: 760px;
  }
  .wzs-canvas {
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  .header-btn {
    font-size: 17px;
  }
  .server-city {
    font-size: 20px;
  }
  .lb-thc {
    font-size: 13px;
  }
}
.bottom-left-controls,
.bottom-right-controls {
  position: absolute;
  top: auto;
  bottom: 136px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
}
.bottom-left-controls {
  left: 16px;
}
.bottom-right-controls {
  right: 16px;
}
.header-btn {
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid #005a9e;
  border-radius: 7px;
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(180deg, #007acc 0%, #005a9e 100%);
  box-shadow: 0 2px 0 #003d6b;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.header-btn:hover {
  background: linear-gradient(180deg, #0090ff 0%, #007acc 100%);
  color: #fff;
  filter: brightness(1.1);
}
.settings-btn .settings-gear {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.settings-btn:hover .settings-gear,
.settings-btn:focus-visible .settings-gear {
  transform: rotate(180deg);
}
@media (prefers-reduced-motion: reduce) {
  .settings-btn .settings-gear { transition: none; }
}
.exit-btn {
  background: linear-gradient(180deg, #d32f2f 0%, #b71c1c 100%);
  border-color: #b71c1c;
  padding: 0 12px;
}
@media (max-width: 768px) {
  .header-btn {
    height: 46px;
    font-size: 16px;
  }
}
@media (max-width: 560px) {
  .bottom-left-controls,
  .bottom-right-controls {
    gap: 6px;
    bottom: 84px;
  }
  .bottom-left-controls {
    left: 8px;
  }
  .bottom-right-controls {
    right: 8px;
  }
  .header-btn {
    height: 40px;
    padding: 0 10px;
    font-size: 12px;
  }
  .exit-btn {
    padding: 0 8px;
  }
}
/* LOGIN REGISTER  */

/* ABOUT START */
.about-card {
  display: none;
  border: 1px solid #0090ff;
  border-radius: 16px;
  padding: 16px;
  background: rgba(4, 28, 44, 0.95);
  box-shadow: 0 0 12px rgba(0, 144, 255, 0.2), inset 0 0 12px rgba(0, 144, 255, 0.05);
  color: #d8ebff;
  height: 100%;
}
.about-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  text-align: center;
}
.about-card h3 {
  margin: 0;
  font: 900 32px/1.1 Inter;
  color: #fff;
  letter-spacing: 0.3px;
}
.about-card h4 {
  margin: 10px 0 6px;
  font: 900 22px/1 Inter;
  color: #fff;
}
.about-scroll {
  border: 1px solid #005a9e;
  border-radius: 12px;
  padding: 12px 14px;
  background: #02121c;
  box-shadow: none;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #0090ff #02121c;
}

.about-scroll::-webkit-scrollbar {
  width: 10px;
}
.about-scroll::-webkit-scrollbar-track {
  background: linear-gradient(180deg, rgba(0, 144, 255, 0.08), rgba(4, 28, 44, 0.95));
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px #003d6b;
}
.about-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, #0090ff, #005a9e);
  box-shadow: 0 8px 18px rgba(0, 144, 255, 0.24), inset 0 -6px 10px rgba(255, 255, 255, 0.25);
}
.about-scroll::-webkit-scrollbar-thumb:hover {
  filter: brightness(1.06);
}
.about-scroll::-webkit-scrollbar-corner {
  background: transparent;
}
.about-card p,
.about-card li {
  font: 800 16px/1.45 Inter;
  color: #d8ebff;
}
.about-card ul {
  margin: 6px 0 8px 18px;
  display: grid;
  gap: 4px;
  list-style: square;
}

body.auth-locked .player-card,
body.auth-locked .vip-card {
  display: none !important;
}
body.auth-locked #aboutCard {
  display: flex !important;
  flex-direction: column;
}

@media (max-width: 980px) {
  .about-card h3 {
    font-size: 22px;
  }
}


/* ==== GAME OVER ==== */
.wz-world-marker {
  display: none;
  position: fixed;
  z-index: 120001;
  inset: 0;
  margin: auto;
  transform: scale(0.72);
  width: min(76vw, 76vh, 760px);
  height: min(76vw, 76vh, 760px);
  padding: 6px;
  border: 3px solid rgba(113, 238, 255, 0.88);
  border-radius: 22px;
  background: rgba(4, 28, 44, 0.78);
  pointer-events: none;
  box-shadow: 0 0 0 5px rgba(0, 144, 255, 0.2), 0 0 32px rgba(0, 144, 255, 0.48);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.42));
  animation: wzWorldMarkerIn 240ms ease-out both;
}
.wz-world-marker.visible {
  display: flex;
  align-items: center;
  justify-content: center;
}
#deathServerRank {
  position: absolute;
  top: 8%;
  right: 8%;
  padding: 6px 10px;
  border: 1px solid rgba(115, 220, 255, 0.55);
  border-radius: 8px;
  background: rgba(4, 28, 44, 0.9);
  color: #ffe07a;
  font: 900 17px/1 Inter, sans-serif;
  white-space: nowrap;
  pointer-events: none;
}
.death-quadrant-map {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(30%, 190px);
  aspect-ratio: 1;
  display: grid;
  grid-template: repeat(2, 1fr) / repeat(2, 1fr);
  overflow: hidden;
  border: 3px solid rgba(113, 238, 255, 0.88);
  border-radius: 50%;
  background: rgba(4, 28, 44, 0.9);
  box-shadow: 0 0 18px rgba(0, 144, 255, 0.32);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.death-quadrant-map button {
  min-width: 0;
  padding: 0;
  border: 1px solid rgba(113, 238, 255, 0.72);
  border-radius: 0;
  background: rgba(0, 144, 255, 0.18);
  color: #fff;
  font: 900 14px/1 Inter, sans-serif;
  text-shadow: 0 1px 3px #041c2c;
  cursor: pointer;
  pointer-events: auto;
}
.death-quadrant-map button:nth-child(2),
.death-quadrant-map button:nth-child(3) {
  background: rgba(46, 233, 255, 0.12);
}
.death-quadrant-map button:hover { background: rgba(20, 255, 133, 0.28); }
body:not(.vip) .death-quadrant-map button {
  pointer-events: none;
  filter: grayscale(0.8);
  opacity: 0.45;
}
body:not(.vip) .death-quadrant-map .vip-a {
  position: absolute;
  top: 50%;
  right: 50%;
  display: block;
  padding: 4px 8px;
  transform: translate(50%, -50%);
  border-radius: 6px;
  background: #ffb100;
  color: #fff;
  font: 900 12px/1 Inter, sans-serif;
  pointer-events: none;
}
body.vip .death-quadrant-map .vip-a { display: none; }
.death-quadrant-map .vip-a {
  top: 50%;
  right: 50%;
  padding: 4px 8px;
  font-size: 12px;
  transform: translate(50%, -50%);
}
@keyframes wzWorldMarkerIn {
  from { opacity: 0; scale: 0.85; }
  to { opacity: 1; scale: 1; }
}
.wz-go { position: fixed; inset: 0; display: none; z-index: 120000; }
.wz-go.open { display: block; animation: wzGoFadeIn .3s ease-out both; -webkit-animation: wzGoFadeIn .3s ease-out both; }

.wz-go-dim {
  position: absolute; inset: 0;
  background: rgba(8, 10, 30, 0.6);
  backdrop-filter: blur(6px);
  z-index: 1;
}
.wz-go.open .wz-go-dim { animation: wzGoDimIn .3s ease-out both; -webkit-animation: wzGoDimIn .3s ease-out both; }
/* ============================================================
   WORMZILLA.IO - GAME OVER MODAL (WZ-GO) - FULL FIXED CSS
   ============================================================ */

/* --- ANA MODAL KONTEYNIRI --- */
.wz-go-modal {
  position: absolute;
  z-index: 100;
  left: 50%;
  top: 10px; /* Üstten boşluk */
  transform: translateX(-50%);
  width: min(1000px, calc(100% - 24px));
  /* REKLAM BARINA GÖRE YÜKSEKLİK HESABI */
  height: calc(100vh - 270px - 20px); 
  max-height: 700px;
  
  display: flex;
  flex-direction: column;
  
  border: 2px solid #0090ff;
  border-radius: 16px;
  background: rgba(4, 28, 44, 0.98); /* Daha az transparan */
  box-shadow: 0 0 25px rgba(0, 144, 255, 0.3), inset 0 0 20px rgba(0, 144, 255, 0.05);
  color: #fff;
  overflow: hidden; /* Taşmayı modal içinde tut */
}

/* Modal Giriş Animasyonu */
.wz-go.open .wz-go-modal { animation: wzGoModalIn .30s cubic-bezier(.22,.61,.36,1) both; }
/* --- WORMZILLA MODAL CSS START --- */
.wz-go-modal {
  position: absolute;
  z-index: 1000;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(480px, calc(100% - 24px));
  height: auto !important;
  max-height: calc(100vh - 24px);
  display: flex;
  flex-direction: column;
  border: 2px solid #0090ff;
  border-radius: 16px;
  background: rgba(4, 28, 44, 0.98);
  box-shadow: 0 0 25px rgba(0, 144, 255, 0.3);
  color: #fff;
  overflow-y: auto;
  min-height: 200px;
}

.wz-go-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.wz-go-head h3 { margin: 0; font: 900 24px/1.1 Inter; text-transform: uppercase; }

.wz-go-chip { 
  display: flex !important; padding: 6px 12px; border-radius: 999px; 
  background: linear-gradient(90deg, #2ee9ff, #00b6ff);
  color: #041225; font: 900 13px/1 Inter;
}

.wz-go-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
  gap: 15px;
}

.wz-go-score { text-align: center; width: 100%; }
.wz-go-score .lbl { color: #cfe3ff; font: 800 18px/1 Inter; text-transform: uppercase; }
.wz-go-score .val {
  margin-top: 5px; font: 900 36px/1 Inter; color: #ffe07a;
  text-shadow: 0 2px 0 #000, 0 8px 20px rgba(0,0,0,0.4);
}

.pizza-respawn-picker {
  display: grid; /*Grid yap */
  position: relative;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  width: 140px;
  height: 140px;
  margin: 15px auto;
}

body:not(.vip) .pizza-respawn-picker::before {
  content: "";
  position: absolute ;
  top: 0 ;
  left: 0 ;
  width: 100% ;
  height: 100% ;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 50%;
  z-index: 10;
  pointer-events: auto;
}

body:not(.vip) .pizza-respawn-picker .vip-a {
  display: flex;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffb100;
  color: #fff;
  font: 900 14px Inter;
  padding: 5px 12px;
  border-radius: 6px;
  z-index: 11;
  pointer-events: none;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

body.vip .pizza-respawn-picker .vip-a { display: none; }

.pizza-dilim {
  border: 1.5px solid rgba(0, 144, 255, 0.2);
  background: rgba(15, 25, 35, 0.9);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: 0.15s;
}

.pizza-dilim:nth-child(1) { border-top-left-radius: 100%; }
.pizza-dilim:nth-child(2) { border-top-right-radius: 100%; }
.pizza-dilim:nth-child(3) { border-bottom-left-radius: 100%; }
.pizza-dilim:nth-child(4) { border-bottom-right-radius: 100%; }

.pizza-dilim:hover { background: #0090ff; transform: scale(1.05); z-index: 5; }
.pizza-dilim span { font: 900 18px Inter; color: #fff; }

.pizza-vip-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 36px; height: 36px; background: #041c2c; border: 2px solid #0090ff;
  border-radius: 50%; color: #0090ff; font: 900 9px Inter;
  display: flex; align-items: center; justify-content: center;
  z-index: 5;
}

.wz-go-actions { width: 100%; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.result-buttons { display: flex; gap: 8px; justify-content: center; width: 100%; }
#result-continue,
#result-play-again {
  position: absolute;
  top: 75%;
  width: 124px;
  box-sizing: border-box;
  white-space: nowrap;
  transform: translate(-50%, -50%) scale(1.4);
  flex: 0 0 auto;
  pointer-events: auto;
}
#result-continue { left: 34%; }
#result-play-again { left: 76%; }

.wz-go-btn {
  flex: 1; max-width: 180px; padding: 12px; border-radius: 10px; border: none; cursor: pointer;
  font: 900 15px/1 Inter; color: #fff; text-transform: uppercase; transition: 0.1s;
}

.wz-go-btn.pri { background: linear-gradient(180deg, #14ff85, #0acc63); color: #0b1f34; }
.wz-go-btn.sec { background: linear-gradient(180deg, #007acc, #005a9e); }


@media (max-width: 480px) {
  .wz-go-modal { max-height: calc(100vh - 24px); }
  .wz-go-head h3 { font-size: 18px; }
  .wz-go-score .val { font-size: 28px; }
  .pizza-respawn-picker { width: 110px; height: 110px; }
  .result-buttons { flex-direction: column; align-items: center; }
  .wz-go-btn { width: 100%; max-width: 220px; }
  .death-quadrant-map { top: 53%; width: 22%; }
  #result-continue,
  #result-play-again {
    transform: translate(-50%, -50%) scale(1);
  }
  #result-continue { left: 25%; }
  #result-play-again { left: 75%; }
}

@media (max-height: 480px) and (orientation: landscape) {
  .wz-go-modal { max-height: calc(100vh - 16px); }
  .wz-go-body { flex-direction: row; padding: 8px; gap: 10px; }
  .wz-go-score .val { font-size: 20px; }
  .pizza-respawn-picker { width: 90px; height: 90px; }
  .wz-go-btn { padding: 6px; font-size: 11px; }
}
/* --- WORMZILLA MODAL CSS END --- */

/* ===== BANNED POPUP ===== */
.wz-ban {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(8, 10, 30, 0.65);
  backdrop-filter: blur(6px);
  z-index: 12000;
}
.wz-ban.open {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: wzbanfade 0.2s ease-out both;
}
@keyframes wzbanfade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.wz-ban-inner {
  width: fit-content;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  color: #fff;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  border: 2px solid #0090ff;
  border-radius: 16px;
  background: rgba(4, 28, 44, 0.95);
  box-shadow: 0 0 15px rgba(0, 144, 255, 0.2),
    inset 0 0 20px rgba(0, 144, 255, 0.05);
    margin: auto;
    padding: 20px;
}

.wz-banned-img {
  width: 50%;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}


.wz-ban-title {
  font: 900 64px/1 Inter;
  letter-spacing: 6px;
  color: #ff4d4d;
  text-shadow: 0 0 12px rgba(255, 77, 77, 0.55),
    0 0 28px rgba(255, 46, 46, 0.35);
}
.wz-ban-msg {
  margin: 0 auto;
  max-width: 720px;
  font: 800 16px/1.5 Inter;
  color: #d7e7ff;
}
.wz-ban-foot {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  flex-direction: column;
}
.wz-ban .socials {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wz-ban .social-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0, 144, 255, 0.35));
}
.wz-ban .support-mail {
  text-decoration: none;
}
.wz-ban .support-mail:hover {
  text-decoration: underline;
}
@media (max-width: 640px) {
  .wz-ban-title {
    font-size: 42px;
    letter-spacing: 4px;
  }
  .wz-ban-msg {
    font-size: 14px;
  }
}





/* ===== ERROR POPUP ===== */
.wz-err {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 11000;
}
.wz-err.open {
  display: block;
}
.wz-err-dim {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 30, 0.65);
  backdrop-filter: blur(6px);
}
.wz-err-modal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: min(640px, calc(100% - 32px));
  border: 2px solid #0090ff;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(4, 28, 44, 0.95);
  box-shadow: 0 0 15px rgba(0, 144, 255, 0.2), inset 0 0 20px rgba(0, 144, 255, 0.05);
  color: #fff;
  animation: wzerrpop 0.18s ease-out forwards;
}
@keyframes wzerrpop {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
.wz-err-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 2px solid #00000055;
  background: linear-gradient(180deg, #ffffff10, #0000);
}
.wz-err-ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(
    75% 75% at 30% 25%,
    #ff7a7a 0,
    #ff3b3b 60%,
    #c21443 100%
  );
  box-shadow: 0 8px 18px #ff3b3b40, inset 0 -6px 10px #ffffff80;
  border: 1.5px solid #000;
}
.wz-err-ico svg {
  width: 26px;
  height: 26px;
  stroke: #fff;
  stroke-width: 2.2;
  fill: none;
}
.wz-err-head h3 {
  margin: 0;
  font: 900 24px/1.1 Inter;
  letter-spacing: 0.2px;
}
.wz-err-body {
  padding: 18px 20px;
  display: grid;
  gap: 12px;
}
.wz-err-body p {
  margin: 0;
  font: 800 15px/1.4 Inter;
  color: #dbefff;
}
.wz-err-tips {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}
.wz-err-tips li {
  font: 800 14px/1.35 Inter;
  color: #bfe9ff;
}
.wz-err-code {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #02121c;
  border: 1px solid #005a9e;
  box-shadow: none;
}
.wz-err-code .lbl {
  font: 900 12px/1 Inter;
  color: #9fdcff;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.wz-err-code .val {
  font: 900 13px/1 Inter;
  color: #ffe07a;
}
.wz-err-actions {
  padding: 6px 20px 20px;
  display: flex;
  justify-content: center;
}
.wz-btn {
  padding: 20px 45px;
  border-radius: 12px;
  border: 1.5px solid #000;
  cursor: pointer;
  font: 900 24px/1 Inter;
  color: #fff;
  box-shadow: 0 0.5px 0 #000, 0 0.7px 1px #000c;
  transition: 0.12s;
  background: linear-gradient(180deg, #007acc 0%, #005a9e 100%);
  text-decoration: none;
  text-align: center;
}
.wz-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}
.wz-btn:active {
  transform: translateY(0);
}
@media (max-width: 560px) {
  .wz-err-modal {
    width: calc(100% - 20px);
  }
  .wz-err-head h3 {
    font-size: 20px;
  }
  .wz-err-ico {
    width: 40px;
    height: 40px;
  }
  .wz-err-ico svg {
    width: 22px;
    height: 22px;
  }
  .wz-btn {
    width: 100%;
  }
}



/* MESSAGE START */

/* SERVER FULL START */
.wz-msg {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  z-index: 120001;
  backdrop-filter: blur(6px);
}

.wz-msg.open {
  display: flex;
}

.wz-msg-inner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: min(640px, calc(100% - 32px));
  border: 2px solid #0090ff;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(4, 28, 44, 0.95);
  box-shadow: 0 0 15px rgba(0, 144, 255, 0.2), inset 0 0 20px rgba(0, 144, 255, 0.05);
  color: #fff;
  animation: wzerrpop 0.18s ease-out forwards;
  display: flex;
  flex-direction: column;
}

.wz-msg-header {
  background: rgba(0, 144, 255, 0.1);
  padding: 18px 20px;
  border-bottom: 1px solid rgba(0, 144, 255, 0.2);
}

.wz-msg-header-title {
  font-size: 22px;
  color: #fff;
  font-weight: 800;
  margin: 0;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-align: center;
}

.wz-msg-body {
  padding: 50px 30px;
  text-align: center;
}

.wz-msg-main-text {
  color: #bfe9ff;
  font: 800 18px / 1.4 Inter, sans-serif;
  margin: 0;
}

.wz-msg-foot {
  padding: 0 30px 30px 30px;
  display: flex;
  justify-content: center;
}

#wz-full-ok-btn {
  min-width: 150px;
  height: 48px;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .wz-msg-inner {
    transform: translate(-50%, -50%) scale(1) !important;
  }
}

@media (max-height: 480px) {
  .wz-msg-body {
    padding: 25px 20px;
  }
  .wz-msg-main-text {
    font-size: 15px;
  }
  .wz-msg-foot {
    padding-bottom: 20px;
  }
}
/* MESSAGE END */
















/* BUY POPUP */
.wz-err {
  display: none;
  place-items: center;
  padding: 16px;
}
.wz-err.open {
  display: grid;
}
.wz-err-dim {
  background: rgba(3, 10, 17, 0.76);
  backdrop-filter: blur(8px) saturate(0.82);
}
.wz-err-modal {
  position: relative;
  left: auto;
  top: auto;
  width: min(460px, 100%);
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  transform: none;
  border: 1px solid rgba(109, 211, 226, 0.24);
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(18, 39, 48, 0.99), rgba(7, 18, 27, 0.99));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62), 0 0 42px rgba(54, 199, 215, 0.08);
  color: #edf7f8;
  animation: wzerr-modern-pop 0.2s ease-out both;
}
.wz-err-modal::before {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, #ff806f, #f8c56d 52%, #58d1d0);
  content: "";
}
@keyframes wzerr-modern-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.wz-err-head {
  justify-content: flex-start;
  gap: 14px;
  padding: 24px 24px 19px;
  border-bottom: 1px solid rgba(211, 239, 239, 0.1);
}
.wz-err-ico {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 128, 111, 0.32);
  border-radius: 11px;
  background: rgba(255, 128, 111, 0.1);
  box-shadow: none;
  color: #ff9a86;
  place-items: center;
}
.wz-err-ico svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.wz-err-title-wrap {
  display: grid;
  min-width: 0;
  gap: 5px;
}
.wz-err-eyebrow {
  color: #9db8b9;
  font: 700 10px/1.2 Inter, sans-serif;
}
.wz-err-head h3 {
  color: #f3fbfb;
  font: 750 21px/1.2 Inter, sans-serif;
}
.wz-err-body {
  gap: 16px;
  padding: 21px 24px 8px;
}
.wz-err-lead {
  margin: 0;
  color: #d9e8e8;
  font: 500 14px/1.5 Inter, sans-serif;
}
.wz-err-tips {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}
.wz-err-tips li {
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: #a9c1c2;
  font: 400 12px/1.55 Inter, sans-serif;
}
.wz-err-tips li::before {
  width: 5px;
  height: 5px;
  margin-top: 6px;
  border-radius: 50%;
  background: #64cfd0;
  content: "";
}
.wz-err-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 1px;
  padding: 11px 13px;
  border: 1px solid rgba(157, 196, 198, 0.14);
  border-radius: 8px;
  background: rgba(2, 10, 15, 0.42);
}
.wz-err-code .lbl {
  color: #89a5a6;
  font: 650 10px/1.2 Inter, sans-serif;
}
.wz-err-code .val {
  color: #f3c878;
  font: 700 12px/1.2 ui-monospace, Consolas, monospace;
}
.wz-err-actions {
  display: flex;
  padding: 15px 24px 24px;
}
.wz-btn {
  display: inline-flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid rgba(125, 229, 221, 0.55);
  border-radius: 8px;
  background: linear-gradient(180deg, #69d7d1, #43b9bb);
  color: #062024;
  cursor: pointer;
  font: 750 14px/1 Inter, sans-serif;
  text-align: center;
  transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.wz-btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.wz-btn:hover {
  box-shadow: 0 5px 18px rgba(73, 198, 194, 0.2);
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.wz-btn:active { transform: translateY(0); }
.wz-btn:focus-visible {
  outline: 2px solid #f3c878;
  outline-offset: 3px;
}
@media (max-width: 560px) {
  .wz-err { padding: 12px; }
  .wz-err-modal { max-height: calc(100dvh - 24px); }
  .wz-err-head { gap: 12px; padding: 20px 18px 16px; }
  .wz-err-body { gap: 14px; padding: 18px 18px 6px; }
  .wz-err-head h3 { font-size: 18px; }
  .wz-err-actions { padding: 14px 18px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .wz-err-modal,
  .wz-btn { animation: none; transition: none; }
}

body:has(#wz-error.open) #app,
body:has(#wz-error.open) #gameOver,
body:has(#wz-error.open) #wz-death-marker,
body:has(#wz-error.open) .settings-wrap,
body:has(#wz-error.open) .lb-wrap,
body:has(#wz-error.open) #wzs-store,
body:has(#wz-error.open) #playerProfileWrap,
body:has(#wz-error.open) .confetti-layer {
  visibility: hidden !important;
  pointer-events: none !important;
}

#wz-error {
  z-index: 130000;
}

.wzp {
  position: fixed;
  inset: 0;
  z-index: 10110;
  display: none;
}
.wzp.open {
  display: block;
}
.wzp-dim {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 30, 0.6);
  backdrop-filter: blur(6px);
}
.wzp-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(980px, calc(100% - 32px));
  max-height: min(88vh, 100% - 32px);
  display: flex;
  flex-direction: column;
  border: 2px solid #0090ff;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(4, 28, 44, 0.95);
  box-shadow: 0 0 15px rgba(0, 144, 255, 0.2), inset 0 0 20px rgba(0, 144, 255, 0.05);
  color: #fff;
}
.wzp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 2px solid #00000055;
  background: linear-gradient(180deg, #ffffff10, #0000);
}
.wzp-head h4 {
  margin: 0;
  font: 900 22px/1.1 Inter;
}
.wzp-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1.5px solid #000;
  background: #ff4d4d;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 0.5px 0 #000, 0 0.7px 1px #000c;
}
.wzp-body {
  padding: 16px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wzp-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.wzp-card {
  border: 1px solid #0090ff;
  border-radius: 14px;
  padding: 14px;
  background: #02121c;
  box-shadow: 0 0 12px rgba(0, 144, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wzp-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wzp-ico {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.wzp-title {
  font: 900 16px/1.1 Inter;
  color: #fff;
}
.wzp-desc {
  font: 800 12px/1.2 Inter;
  color: #cfe3ff;
}
.wzp-price {
  font: 900 18px/1 Inter;
  color: #ffe07a;
  text-shadow: 0 1px 0 #000;
}
.wzp-cta {
  align-self: flex-start;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #cc4400;
  background: linear-gradient(180deg, #ff7b00 0%, #ff5500 100%);
  color: #fff;
  font: 900 14px/1 Inter;
  cursor: pointer;
  box-shadow: 0 2px 0 #993300, 0 0 10px rgba(255, 85, 0, 0.4);
}
.wzp-sec {
  margin: 4px 0 0 2px;
  font: 900 14px/1 Inter;
  color: #cfe3ff;
  letter-spacing: 0.5px;
}
.wzp-pack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.wzp-pack {
  /* border:2px solid #000; */
  border-radius: 12px;
  padding: 12px;
  background: #02121c;
  box-shadow: none;
  border: 1px solid #005a9e;
}
.wzp-pack .pack-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.wzp-pack .pack-price {
  font: 900 16px/1 Inter;
  color: #fff;
}
.wzp-pack .pack-coins {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 900 14px/1 Inter;
  color: #bfe9ff;
}
.wzp-pack .coin-ico {
  width: 18px;
  height: 18px;
}
.wzp-pack .pack-cta {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cc4400;
  background: linear-gradient(180deg, #ff7b00 0%, #ff5500 100%);
  color: #fff;
  font: 900 14px/1 Inter;
  cursor: pointer;
  box-shadow: 0 2px 0 #993300, 0 0 10px rgba(255, 85, 0, 0.4);
}
.wzp-foot {
  padding: 10px 12px;
  border-top: 2px solid #00000055;
  background: linear-gradient(180deg, #041420 0%, #041c2e 100%);
  box-shadow: inset 0 1px 0 #ffffff1a;
}
.wzp-note {
  text-align: center;
  font: 800 12px/1.2 Inter;
  color: #9fdcff;
  letter-spacing: 1px;
}
@media (max-width: 1024px) {
  .wzp-pack-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 740px) {
  .wzp-feature-grid {
    grid-template-columns: 1fr;
  }
  .wzp-pack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wzp-head h4 {
    font-size: 18px;
  }
}
@media (max-width: 420px) {
  .wzp-pack-grid {
    grid-template-columns: 1fr;
  }
}

/* NAME CHANGE POPUP */
.wz-nc {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 11020;
}
.wz-nc.open {
  display: block;
}
.wz-nc-dim {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 30, 0.6);
  backdrop-filter: blur(6px);
}
.wz-nc-modal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(640px, calc(100% - 32px));
  border: 2px solid #0090ff;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(4, 28, 44, 0.95);
  box-shadow: 0 0 15px rgba(0, 144, 255, 0.2), inset 0 0 20px rgba(0, 144, 255, 0.05);
  color: #fff;
}
.wz-nc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  padding: 14px 16px;
  border-bottom: 2px solid #00000055;
  background: linear-gradient(180deg, #ffffff10, #0000);
}
.wz-nc-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1.5px solid #0b6aa3;
  background: linear-gradient(90deg, #2ee9ff, #00b6ff);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px #00c9ff36, inset 0 -6px 10px #ffffffb0;
  color: #041225;
}
.wz-nc-ico svg {
  width: 22px;
  height: 22px;
}
.wz-nc-head h3 {
  margin: 0;
  font: 900 22px/1.1 Inter;
}
.wz-nc-x {
  margin-left: auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #005a9e;
  background: linear-gradient(180deg, #0090ff 0%, #005a9e 100%);
  color: #fff;
  cursor: pointer;
  font-size: 40px;
  box-shadow: 0 2px 0 #003d6b;
}
.wz-nc-x:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.wz-nc-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wz-nc-lab {
  font: 800 14px/1 Inter;
  color: #cfe3ff;
  text-align: center;
}
.wz-nc-field {
  height: 54px;
  border-radius: 12px;
  border: 2px solid #000;
  padding: 0 14px;
  font: 800 16px/1 Inter;
  background: #02121c;
  color: #fff;
  box-shadow: inset 0 1px 0 #ffffff22;
}

.wz-nc-submit {
  padding: 16px;
  border-radius: 12px;
  border: 1.5px solid #000;
  cursor: pointer;
  font: 900 18px/1 Inter;
  color: #0a1a34;
  background: linear-gradient(180deg, #ff7b00 0%, #ff5500 100%);
  box-shadow: 0 2px 0 #993300, 0 0 10px rgba(255, 85, 0, 0.4);
  transition: 0.12s;
}
.wz-nc-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.wz-nc-submit:not(:disabled):hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.wz-nc-error {
  font: 800 14px/1.2 Inter;
  color: #ff4d4d;
  text-align: center;
  padding: 10px 14px;
  background: rgba(255, 77, 77, 0.1);
  border: 1.5px solid #ff4d4d;
  border-radius: 10px;
  margin-top: 12px;
  display: none;
}
.wz-nc-error.active {
  display: block;
}








#nameTokenCount {
  padding: 2px 10px;
  border: 1.5px solid #000;
  border-radius: 999px;
  background: linear-gradient(180deg, #14355f, #0e2748);
  color: #ffe07a;
  font-weight: 900;
}
.stat-tokens #nameTokenCount {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid rgba(255, 185, 120, 0.72);
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe2a0, #ffad52);
  color: #332316;
  box-shadow: 0 0 10px rgba(255, 185, 120, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.wz-pill {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1.5px solid #000;
  cursor: pointer;
  font: 900 16px/1 Inter;
  color: #fff;
  box-shadow: 0 0.5px 0 #000, 0 0.7px 1px #000c;
  transition: 0.12s;
}

@media (max-width: 560px) {
  .wz-nc-head h3 {
    font-size: 20px;
  }
}

/* ===================== APP + LOADER CSS ===================== */

#wz-center-loader {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
  padding-top: calc(16px + env(safe-area-inset-top));
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
  padding-left: calc(16px + env(safe-area-inset-left));
  padding-right: calc(16px + env(safe-area-inset-right));
}
#wz-center-loader.active {
  display: flex;
}
#wz-center-loader .wzil-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center center;
}
.wzil-card {
  width: min(420px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
  border: 1px solid rgba(46, 233, 255, 0.52);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(155deg, rgba(12, 39, 55, 0.98), rgba(4, 17, 32, 0.98));
  box-shadow: 0 22px 70px #000b, 0 0 32px rgba(0, 182, 255, 0.14), inset 0 1px 0 #ffffff1a;
  color: #fff;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
#wz-center-loader.active .wzil-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #2ee9ff, #72efbd, transparent);
  box-shadow: 0 0 12px #00b6ff99;
  animation: wzilLoadSweep 1.7s ease-in-out infinite alternate;
}
@keyframes wzilLoadSweep {
  from { transform: translateX(-105%); }
  to { transform: translateX(278%); }
}
.wzil-art {
  align-self: stretch;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 4px 8px 8px;
}
.wzil-svg {
  width: 72px;
  height: 72px;
}
.wzil-track {
  fill: none;
  stroke: #ffffff22;
  stroke-width: 10;
}
.wzil-worm {
  fill: none;
  stroke: url(#wzilgrad);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 40 220;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 8px 22px #00c9ff66);
  animation: wzilDash 1.2s ease-in-out infinite;
}
@keyframes wzilDash {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -260;
  }
}
.wzil-pct {
  min-width: 76px;
  font: 900 28px/1 Inter, system-ui;
  color: #65e9ff;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.wzil-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  border: 1px solid #ffffff1a;
  background: #071624;
  box-shadow: inset 0 1px 3px #0009;
  overflow: hidden;
}
.wzil-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2ee9ff, #00b6ff 68%, #72efbd);
  box-shadow: 0 0 12px #00b6ff88, inset 0 1px 0 #ffffff99;
  transition: width 0.24s ease-out;
}
.wzil-tip {
  text-align: center;
  color: #e6f8ff;
  font: 800 19px/1.25 Inter, system-ui;
  text-transform: uppercase;
}
.wzil-tasks {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wzil-task {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid #ffffff22;
  border-radius: 10px;
  background: linear-gradient(180deg, #14355f22, #0e274822);
  font: 600 12px/1.5 Inter, system-ui;
  color: #d8ebff;
}
.wzil-task .tick {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex: 0 0 14px;
  background: #ff6363;
  box-shadow: 0 0 0 1px #0008 inset;
}
.wzil-task[data-status="working"] .tick {
  background: #ffc14d;
}
.wzil-task[data-status="done"] .tick {
  background: #38d996;
  box-shadow: 0 0 0 1px #0b3 inset;
}
.wzil-task .label {
  flex: 1 1 auto;
}
.wzil-task .sub {
  opacity: 0.9;
}
@media (max-width: 560px) {
  .wzil-card {
    padding: 16px;
    border-radius: 17px;
  }
  .wzil-tip {
    font-size: 17px;
  }
  .wzil-svg {
    width: 64px;
    height: 64px;
  }
  .wzil-pct {
    min-width: 68px;
    font-size: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #wz-center-loader.active .wzil-card::after {
    animation: none;
    transform: translateX(88%);
  }
}

.app.is-loading .stage-wrap {
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Oyun katmanÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚Â± (canvas) */
.game-wrap{
  position:fixed;
  inset:0;
  display:none;
  background:#000;
  z-index:22000;
}
.app.in-game #gameWrap{
  display:block;
}
.mobile-z-icons,
.mobile-left-moo-top,
.mobile-speed-button,
.mobile-left-moo {
  display: none;
}
@media (hover: none) and (pointer: coarse) {
  .app.in-game:not(.is-loading) .mobile-z-icons {
    position: fixed;
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    z-index: 22010;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .app.in-game:not(.is-loading) .mobile-z-icons button {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    padding: 3px;
    border: 0;
    background: transparent;
  }
  .app.in-game:not(.is-loading) .mobile-z-icons img,
  .app.in-game:not(.is-loading) .mobile-left-moo-top img,
  .app.in-game:not(.is-loading) .mobile-speed-button img,
  .app.in-game:not(.is-loading) .mobile-left-moo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .app.in-game:not(.is-loading) .mobile-left-moo-top,
  .app.in-game:not(.is-loading) .mobile-speed-button {
    position: fixed;
    z-index: 22010;
    display: block;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .app.in-game:not(.is-loading) .mobile-left-moo-top {
    left: max(22px, env(safe-area-inset-left));
    bottom: calc(142px + env(safe-area-inset-bottom));
  }
  .app.in-game:not(.is-loading) .mobile-speed-button {
    right: max(24px, env(safe-area-inset-right));
    bottom: calc(28px + env(safe-area-inset-bottom));
  }
  .app.in-game:not(.is-loading) .mobile-left-moo {
    position: fixed;
    left: max(18px, env(safe-area-inset-left));
    bottom: calc(18px + env(safe-area-inset-bottom));
    z-index: 22010;
    display: block;
    width: 118px;
    height: 118px;
    touch-action: none;
  }
  .app.in-game:not(.is-loading) .mobile-left-moo img {
    position: absolute;
    inset: 0;
  }
}
.app.in-game #stage {
  display: none;
}
.game-stage{
  position:absolute;
  inset:0;
  z-index:22000;
}
#gameCanvas{
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:100%;
  display:block;
  background:#000;
  z-index:22000;
}
 
/* Loader overlay (canvas ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼stÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼nde gÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¶rÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼nÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼r, kapanÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚Â±nca canvas zaten gÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¶rÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼nÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼r) */
#gamePortal{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  z-index:23000;
  background:
    radial-gradient(1200px 600px at 50% 50%,#0000 0%,#0008 60%,#000d 100%),
    #0b0b13;
}
#gamePortal.active{display:flex}
#gamePortal.fadeout{animation:portalFade .35s ease forwards}
@keyframes portalFade{to{opacity:0;visibility:hidden}}

.portal-wrap{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
}
.portal-card{
  width:860px;
  max-width:86%;
  border:2px solid #2b6be9;
  border-radius:18px;
  overflow:hidden;
  background:linear-gradient(180deg,#0f1630 0%,#0d1328 60%,#0b1122 100%);
  box-shadow:0 24px 90px #000c,inset 0 1px 0 #ffffff18;
  color:#e9f2ff;
  padding:20px;
  display:flex;
  flex-direction:column;
  gap:14px;
  align-items:center;
}
.portal-title{
  font:900 clamp(20px,2vw,28px)/1.1 Inter,system-ui;
  text-transform:uppercase;
}
.portal-bar{
  width:100%;
  height:14px;
  border-radius:999px;
  border:1.5px solid #000;
  background:linear-gradient(180deg,#0e2448,#0a1a34);
  box-shadow:0 .5px 0 #000,0 .7px 1px #000c,inset 0 0 0 1px #ffffff22;
  overflow:hidden;
}
.portal-fill{
  height:100%;
  width:0%;
  background:linear-gradient(90deg,#4da3ff,#2ee9ff);
}
.portal-ring{width:96px;height:96px}
.portal-track{fill:none;stroke:#ffffff1e;stroke-width:10}
.portal-worm{
  fill:none;
  stroke:url(#portalGrad);
  stroke-width:10;
  stroke-linecap:round;
  stroke-dasharray:40 220;
  animation:portalDash 1.2s ease-in-out infinite;
}
@keyframes portalDash{to{stroke-dashoffset:-260}}
.portal-msg{
  font:800 clamp(18px,3.6vw,32px)/1.2 Inter,system-ui;
  color:#bfe3ff;
  text-align:center;
}

#btnGoogle {
  margin: auto;
}
.ha-key-login {
  display: none !important;
}
.announce-container {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1000px;
  height: 45px;
  background-color: #0a1a34; 
  border: 2px solid #3572a1; 
  border-radius: 4px;
  display: none;
  align-items: center;
  overflow: hidden; 
  z-index: 22001;
  box-shadow: none;
  width: 50%;
}
.notice-title {
    background-color: #2b6b9d;
    color: #ffffff;
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: 1px;
    flex-shrink: 0;
    z-index: 2; 
}
.announce-container.active {
  display: flex;
}
.announce-text {
  display: inline-block;
    white-space: nowrap;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    padding-left: 100%; 
    animation: announce-move 30s linear infinite; 
}
@keyframes announce-move {
  to { transform: translateX(-100%); }
}

@media screen and (max-width: 900px) {
  .announce-container {
      position: absolute;
      top: 45px;
      height: 29px;
  }

  .notice-title {
      padding: 0 10px;
      z-index: 2;
  }
}




/* =============== WORMZILLA LEGAL PAGES - FULL STYLE =============== */
.legal-page-body {
  background: #060b1a;
  margin: 0; padding: 0;
  height: 100vh; width: 100vw;
  display: flex; justify-content: center; align-items: center;
  font-family: 'Inter', sans-serif;
  color: #e9f2ff;
}

.legal-wrapper {
  width: 860px; max-width: 92%; height: 88vh;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #0f1630 0%, #0d1328 60%, #0b1122 100%);
  border: 2px solid #2b6be9;
  border-radius: 18px;
  box-shadow: 0 24px 90px #000c, inset 0 1px 0 #ffffff10;
  overflow: hidden;
}

.legal-top-bar {
  padding: 25px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(43, 107, 233, 0.3);
  text-align: center;
}

.legal-logo img { height: 60px; width: auto; }

.legal-content-scroll {
  flex: 1; overflow-y: auto; padding: 40px;
}

.legal-container { display: flex; flex-direction: column; gap: 35px; }

.legal-section h4 {
  color: #00b6ff;
  font: 900 22px 'Inter', sans-serif;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 1px;
  text-shadow: 0 0 15px rgba(0, 182, 255, 0.3);
}

.legal-section p, .legal-section li {
  color: #b0c4de;
  line-height: 1.8; font-size: 16px;
}

.legal-section ul { margin-top: 15px; padding: 0; list-style: none; }
.legal-section li { position: relative; padding-left: 25px; margin-bottom: 12px; }
.legal-section li::before {
  content: "▹"; color: #00b6ff;
  position: absolute; left: 0; font-weight: bold;
}

.legal-mail-link {
  color: #00b6ff !important;
  text-decoration: underline; font-weight: 800;
}

.legal-warning {
  border: 1px solid rgba(255, 77, 77, 0.3);
  background: rgba(255, 77, 77, 0.05);
  padding: 25px; border-radius: 12px; margin-top: 15px;
}

.legal-warning strong { color: #ff4d4d; display: block; margin-bottom: 8px; font-weight: 900; }

.legal-footer {
  padding: 20px 35px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(43, 107, 233, 0.2);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; color: #5d7494;
}

.legal-footer a { color: #00b6ff; text-decoration: none; font-weight: 700; transition: color 0.2s; }
.legal-footer a:hover { color: #fff; }

.legal-content-scroll::-webkit-scrollbar { width: 6px; }
.legal-content-scroll::-webkit-scrollbar-thumb { background: #2b6be9; border-radius: 10px; }

.accept-policy-link,
.foot-link {
  color: #00b6ff;
  text-decoration: none;
  font-weight: 700;
}

.accept-policy-link:hover,
.foot-link:hover {
  color: #fff;
}
/* =============== INFO BOX - MANUAL SCROLL & HIDDEN BAR =============== */
.rklm-box {
  width: 100%;
  height: auto;
  background: rgba(4, 28, 44, 0.8) !important;
  border: 1.5px solid rgba(0, 144, 255, 0.3);
  border-radius: 14px;
  padding: 20px;
  
  /* Manuel Kaydırma Ayarları */
  overflow-y: scroll; /* Kaydırma açık */
  scrollbar-width: none; /* Firefox için barı gizle */
  -ms-overflow-style: none; /* IE ve Edge için barı gizle */
  
  position: relative;
  /* Üst ve alt sönümleme efekti (Kaydırırken şık durur) */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
}

/* Chrome, Safari ve Opera için scroll barı gizle */
.rklm-box::-webkit-scrollbar {
  display: none;
}

/* İçerik Stilleri */
.rklm-box h2 {
  color: #00b6ff;
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.rklm-box h3 {
  color: #00d2ff;
  font-size: 1rem;
  font-weight: 800;
  margin: 20px 0 10px;
}

.rklm-box p, .rklm-box li {
  color: #b0c4de;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.rklm-box ul {
  padding-left: 15px;
  margin-bottom: 15px;
}

.rklm-box li {
  list-style-type: "▹ ";
  margin-bottom: 6px;
}

.pro-tip-box {
  background: rgba(0, 255, 157, 0.1);
  border: 1px dashed #00ff9d;
  padding: 12px;
  border-radius: 8px;
  margin: 15px 0;
  color: #00ff9d;
  font-size: 0.85rem;
}

.final-call {
  text-align: center;
  padding: 15px;
  border-top: 1px solid rgba(0, 144, 255, 0.2);
  margin-top: 20px;
  color: #fff;
}

/* =============== ADBLOCK POPUP DESIGN (ISOLATED) =============== */
.wz-adb {
  position: fixed;
  inset: 0;
  display: none; 
  background: rgba(4, 10, 20, 0.9);
  backdrop-filter: blur(10px);
  z-index: 30000; /* En üst katman */
  align-items: center;
  justify-content: center;
}

.wz-adb.active {
  display: flex;
  animation: wzGoFadeIn .4s ease-out both;
}

.wz-adb-inner {
  width: min(550px, calc(100% - 40px));
  background: linear-gradient(180deg, #0f1630 0%, #0d1328 60%, #0b1122 100%);
  border: 2px solid #2b6be9; /* Portal rengi ile uyumlu mavi */
  border-radius: 20px;
  padding: 35px;
  text-align: center;
  box-shadow: 0 30px 100px #000c, inset 0 1px 0 #ffffff18;
  color: #e9f2ff;
}

.wz-adb-img {
  width: 140px;
  height: auto;
  margin-bottom: 25px;
  filter: drop-shadow(0 0 15px rgba(43, 107, 233, 0.4));
}

.wz-adb-title {
  font: 900 36px/1.1 'Inter', system-ui;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.wz-adb-msg {
  font: 600 16px/1.6 'Inter', sans-serif;
  color: #bfe3ff;
  margin-bottom: 30px;
}

.wz-adb-foot {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
}

.adb-socials {
  display: flex;
  gap: 15px;
}

.adb-socials .social-icon {
  width: 28px;
  height: 28px;
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
}

.adb-socials a:hover .social-icon {
  opacity: 1;
  transform: translateY(-2px);
}

.adb-mail-link {
  color: #00b6ff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.adb-refresh-btn {
  margin-top: 10px;
  padding: 12px 30px;
  background: linear-gradient(180deg, #ff7b00 0%, #ff5500 100%);
  border: 1px solid #cc4400;
  border-radius: 8px;
  color: #fff;
  font: 900 16px 'Inter';
  cursor: pointer;
  box-shadow: 0 2px 0 #993300;
  transition: transform 0.1s;
}

.adb-refresh-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .wz-adb-inner { padding: 25px; }
  .wz-adb-title { font-size: 26px; }
  .wz-adb-msg { font-size: 14px; }
}

.wz-nc-warning {
  font-size: 12px;
  color: #856404; 
  padding: 5px;
  border-radius: 4px;
  margin-bottom: 10px;
}


/* ===== UPDATE POPUP STYLES ===== */
.upd-container {
  position: fixed;
  inset: 0;
  display: none; 
  z-index: 11000;
}

.upd-container.open {
  display: block;
}

.upd-dim {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 30, 0.65);
  backdrop-filter: blur(6px);
}

.upd-modal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: min(640px, calc(100% - 32px));
  border: 2px solid #0090ff;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(4, 28, 44, 0.95);
  box-shadow: 0 0 15px rgba(0, 144, 255, 0.2), inset 0 0 20px rgba(0, 144, 255, 0.05);
  color: #fff;
  animation: upd-pop-in 0.18s ease-out forwards;
}

@keyframes upd-pop-in {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.96); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.upd-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 2px solid #00000055;
  background: linear-gradient(180deg, #ffffff10, #0000);
}

.upd-ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(75% 75% at 30% 25%, #00c2ff 0, #0090ff 60%, #005a9e 100%);
  box-shadow: 0 8px 18px #0090ff40, inset 0 -6px 10px #ffffff80;
  border: 1.5px solid #000;
}

.upd-ico svg {
  width: 26px;
  height: 26px;
  stroke: #fff;
  stroke-width: 2.2;
  fill: none;
}

.upd-head h3 {
  margin: 0;
  font: 900 24px/1.1 'Inter', sans-serif;
  letter-spacing: 0.2px;
}

.upd-body {
  padding: 18px 20px;
  display: grid;
  gap: 12px;
}

.upd-body p {
  margin: 0;
  font: 800 15px/1.4 'Inter', sans-serif;
  color: #dbefff;
}

.upd-tips {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.upd-tips li {
  font: 800 14px/1.35 'Inter', sans-serif;
  color: #bfe9ff;
}

.upd-status {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #02121c;
  border: 1px solid #005a9e;
}

.upd-status .lbl {
  font: 900 12px/1 'Inter', sans-serif;
  color: #9fdcff;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.upd-status .val {
  font: 900 13px/1 'Inter', sans-serif;
  color: #ffe07a;
}

.upd-actions {
  padding: 6px 20px 20px;
  display: flex;
  justify-content: center;
}

.upd-btn-refresh {
  padding: 20px 45px;
  border-radius: 12px;
  border: 1.5px solid #000;
  cursor: pointer;
  font: 900 24px/1 'Inter', sans-serif;
  color: #fff;
  box-shadow: 0 0.5px 0 #000, 0 0.7px 1px #000c;
  transition: 0.12s;
  background: linear-gradient(180deg, #007acc 0%, #005a9e 100%);
  text-decoration: none;
  text-align: center;
}

.upd-btn-refresh:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}
/* VIP GIFT POPUP START */
.vip-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 30, 0.85); /* backdrop-filter: blur(5px); */
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.vip-modal-overlay.open {
  display: flex;
  opacity: 1;
}

.vip-modal-card {
  background: #041c2c;
  width: 100%;
  max-width: 543px;
  border-radius: 28px;
  border: 2px solid #0090ff;
  box-shadow: 0 0 60px rgba(0, 144, 255, 0.4);
  overflow: hidden;
  z-index: 3333333;
  /* transform: scale(0.85); */
  /* transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); */
}



.vip-modal-head {
  padding: 25px;
  background: linear-gradient(90deg, rgba(0, 144, 255, 0.2), transparent);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 144, 255, 0.2);
}

.vip-modal-head h3 {
  margin: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1px;
}

.vip-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.vip-close-btn svg { width: 22px; height: 22px; stroke: #fff; stroke-width: 3; fill: none; }
.vip-close-btn:hover { background: #ff4b4b; /* transform: rotate(90deg); */ }

.vip-modal-body { padding: 30px; }

.vip-input-group {margin-bottom: 30px;}

.vip-input-group .vip-label {
  display: block;
  color: #0090ff;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.vip-modal-body .wz-input-field {
  width: 100%;
  height: 58px;
  background: #02121c;
  border: 2px solid rgba(0, 144, 255, 0.2);
  border-radius: 15px;
  padding: 0 20px;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  transition: 0.2s;
}

.vip-modal-body .wz-input-field:focus {
  border-color: #0090ff;
  box-shadow: 0 0 15px rgba(0, 144, 255, 0.25);
}

.vip-error-msg, .vip-bottom-error {
  color: #ff4b4b;
  font-size: 12px;
  font-weight: 800;
  margin-top: 10px;
  display: none;
}
.vip-error-msg, .vip-bottom-error.open{
  display: block;
}
.vip-bottom-error {
  margin-top: 15px;
  text-align: center;
  padding: 12px;
  background: rgba(255, 75, 75, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(255, 75, 75, 0.2);
}
.vip-bottom-success{
  color: #00ff88;
  font-size: 20px;
  font-weight: 800;
  margin-top: 15px;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  display:none; 
  text-transform: uppercase;
  letter-spacing: 1px;
  /* animation: shake 0.3s ease-in-out; */
}
.vip-bottom-success.open{
 display: block;
}
.vip-section .pri, .vip-modal-actions .pri {
  background: linear-gradient(180deg, #ffcc00 0%, #ff9500 50%, #e68a00 100%) !important;
  color: #2e1a00 !important;
  border: none;
  border-bottom: 4px solid #b36b00;
  box-shadow: 0 4px 15px rgba(255, 166, 0, 0.4);
  font-weight: 900;
  width: 100%;
  height: 60px;
  border-radius: 15px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-transform: uppercase;
}

.vip-section .pri::after, .vip-modal-actions .pri::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%; width: 25%; height: 200%;
  background: rgba(255, 255, 255, 0.4);
  transform: rotate(30deg);
  /* animation: vip-shimmer 3s infinite; */
  display: none; /* Parlama kapatıldı */
}

/* @keyframes vip-shimmer { 0% { left: -60%; } 20% { left: 120%; } 100% { left: 120%; } } */

select.wz-input-field option { background: #041c2c; color: #fff; }
/* VIP GIFT POPUP END */

.vip-section.name-card-n{
  display: none !important;
}

.vip-modal-info{
  font-weight: 400;
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 10px;
}

.vip-section .pri:disabled, 
.vip-modal-actions .pri:disabled {
  background: #444 !important;
  color: #777 !important;
  border-bottom: 4px solid #333;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.6;
}

.vip-section .pri:not(:disabled):hover, 
.vip-modal-actions .pri:not(:disabled):hover {
  filter: brightness(1.1);
}

.vip-section .pri:not(:disabled):active, 
.vip-modal-actions .pri:not(:disabled):active {
  transform: translateY(2px);
  border-bottom-width: 0;
}
.ha-google-btn,
.ha-guest-btn {
  width: min(100%, 400px);
  margin-left: auto;
  margin-right: auto;
}

.gsi-material-button {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-appearance: none;
  background-color: #131314;
  background-image: none;
  border: 1px solid #747775;
  -webkit-border-radius: 20px;
  border-radius: 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #e3e3e3;
  cursor: pointer;
  font-family: 'Roboto', arial, sans-serif;
  font-size: 14px;
  height: 46px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 16px;
  position: relative;
  text-align: center;
  -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
  transition: background-color .218s, border-color .218s, box-shadow .218s;
  vertical-align: middle;
  white-space: nowrap;
  max-width: 400px;
  min-width: min-content;
  border-color: rgba(137, 145, 149, 0.95);
  display: block;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.25);
}

.ha-guest-btn {
  display: block;
  height: 46px;
  border-radius: 20px;
  border: 1px solid rgba(116, 120, 117, 0.9);
  background: linear-gradient(180deg, rgba(26, 28, 31, 0.96), rgba(17, 18, 20, 0.94));
  color: #e3e3e3;
  font-size: 14px;
  cursor: pointer;
  margin-top: 12px;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ha-guest-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(121, 239, 255, 0.9);
  box-shadow: 0 16px 28px rgba(49, 202, 255, 0.18);
}

.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  margin-right: 10px;
  min-width: 20px;
  width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
  -webkit-align-items: center;
  align-items: center;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
  -webkit-flex-grow: 1;
  flex-grow: 1;
  font-family: 'Roboto', arial, sans-serif;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
  -webkit-transition: opacity .218s;
  transition: opacity .218s;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gsi-material-button:disabled {
  cursor: default;
  background-color: #13131461;
  border-color: #8e918f1f;
}

.gsi-material-button:disabled .gsi-material-button-state {
  background-color: #e3e3e31f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
  opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
  opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state, 
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
  background-color: white;
  opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
  -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
  background-color: white;
  opacity: 8%;
}
body.ios .gsi-material-button {
  display: block;
}
body.ios .full-screen-btn, body.ios .footer-site-link, body.ios #btnGoogle {
  display: none;
}

/* Final play-button override */
.play-game-btn {
  border: 1px solid #a8ffbf !important;
  background: linear-gradient(180deg, #4ee67a 0%, #21bd56 58%, #12833d 100%) !important;
  box-shadow: 0 8px 26px rgba(24, 180, 78, 0.42), 0 0 22px rgba(78, 230, 122, 0.28) !important;
}

.play-game-btn:hover {
  background: linear-gradient(180deg, #66ef91 0%, #2bc966 58%, #159648 100%) !important;
  box-shadow: 0 10px 30px rgba(24, 180, 78, 0.48), 0 0 28px rgba(78, 230, 122, 0.34) !important;
}

.play-game-btn:active {
  background: linear-gradient(180deg, #2ec966 0%, #168d43 100%) !important;
}

/* Settings UI theme */
.settings-overlay {
  background: rgba(2, 8, 16, 0.78);
  backdrop-filter: blur(10px) saturate(125%);
}

.settings-modal {
  --settings-ink: #e8f7ff;
  --settings-muted: #93adbb;
  --settings-panel: #102837;
  --settings-field: #081b27;
  --settings-line: rgba(100, 198, 235, 0.2);
  border: 1px solid var(--settings-line);
  border-radius: 12px;
  background: linear-gradient(145deg, #0d2330, #081720 78%);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62), 0 0 36px rgba(0, 182, 255, 0.08);
  color: var(--settings-ink);
}

.settings-head {
  background: #0d2431;
}

.backbtn {
  border-color: var(--settings-line);
  border-radius: 7px;
  background: #153446;
  box-shadow: none;
}

.tabbar {
  border-color: var(--settings-line);
  background: #0a1c27;
}

.tab {
  color: #a7bfcc;
}

.tab::before {
  color: #668899;
}

.tab:hover {
  background: rgba(65, 190, 235, 0.09);
  color: var(--settings-ink);
}

.tab.active {
  border-color: rgba(61, 207, 255, 0.32);
  background: linear-gradient(90deg, rgba(0, 182, 255, 0.2), rgba(0, 122, 204, 0.08));
  box-shadow: inset 2px 0 #38dfff;
  color: #b8f1ff;
}

.tab.active::before {
  color: #5cddff;
}

.settings-body {
  background: transparent;
}

.settings-modal .opt {
  border-radius: 8px;
  background: linear-gradient(145deg, #102a39, #0c202d);
  transition: border-color 0.16s ease, background 0.16s ease;
}

.settings-modal .opt:hover {
  border-color: rgba(73, 201, 244, 0.34);
  background: linear-gradient(145deg, #123143, #0c202d);
}

.settings-modal .field,
.settings-modal select,
.settings-modal input[type="text"],
.settings-modal input[type="number"] {
  border-color: rgba(100, 198, 235, 0.22);
  border-radius: 6px;
}

.settings-modal .field:focus,
.settings-modal select:focus,
.settings-modal input[type="text"]:focus,
.settings-modal input[type="number"]:focus {
  outline: 2px solid rgba(56, 223, 255, 0.28);
  border-color: #38c8ed;
}

.settings-modal .ui-select option {
  background: #0d2431;
}

.settings-modal .copyBtn,
.settings-modal .btnGhost {
  border-color: rgba(56, 223, 255, 0.38);
  border-radius: 6px;
  background: #31c5e8;
  color: #06202b;
}

.settings-modal .btnGhost {
  border-color: rgba(100, 198, 235, 0.24);
  background: #183849;
  color: var(--settings-ink);
}

.settings-modal .copyBtn:hover,
.settings-modal .btnGhost:hover {
  filter: brightness(1.12);
}

.settings-modal .switch input {
  border-color: rgba(100, 198, 235, 0.26);
  background: #081b27;
}

.settings-modal .switch input:checked {
  background: #087caa;
}

.settings-modal .switch input:checked::after {
  background: #e8fbff;
}

.settings-modal .range {
  background: #254451;
}

.settings-modal .range::-webkit-slider-thumb {
  border-color: #0d2330;
  background: #40d6f5;
  box-shadow: 0 0 0 2px rgba(64, 214, 245, 0.22);
}

.settings-modal .val {
  background: var(--settings-field);
  color: #c3effa;
}

.settings-modal input[type="color"] {
  border-radius: 6px;
}

.settings-modal .key {
  border-radius: 6px;
  background: var(--settings-field);
  color: #8de8ff;
}

@media (max-width: 760px) {
  .settings-modal .tabbar {
    scrollbar-width: none;
  }

  .settings-modal .tabbar::-webkit-scrollbar {
    display: none;
  }
}

.settings-wrap:not(.vip-enabled) .vip-sc::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(110deg, rgba(3, 12, 21, 0.48), rgba(4, 17, 27, 0.68));
  backdrop-filter: saturate(0.35);
  cursor: not-allowed;
  pointer-events: auto;
}

.settings-wrap:not(.vip-enabled) .vip-sc .vip-a {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  transform: none;
  border: 1px solid rgba(255, 201, 88, 0.42);
  border-radius: 999px;
  background: rgba(68, 51, 24, 0.96);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
  color: #ffe1a0;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

.settings-wrap:not(.vip-enabled) .vip-sc .vip-a::before {
  content: "";
  width: 8px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 2px;
  box-shadow: 0 -3px 0 -1.5px currentColor;
}

.settings-wrap:not(.vip-enabled) .vip-sc .vip-a::after {
  content: " ONLY";
}

.settings-wrap.vip-enabled .vip-sc::before,
.settings-wrap.vip-enabled .vip-sc .vip-a {
  display: none;
}

/* Leaderboard refresh */
.lb-overlay {
  background: rgba(2, 8, 16, 0.82);
  backdrop-filter: blur(10px) saturate(125%);
}

.lb-modal {
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
  height: min(860px, calc(100% - 32px));
  border: 1px solid rgba(100, 198, 235, 0.22);
  border-radius: 12px;
  background: linear-gradient(145deg, #0d2330, #081720 78%);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62), 0 0 36px rgba(0, 182, 255, 0.08);
}

.lb-head {
  flex: 0 0 auto;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(100, 198, 235, 0.2);
  background: #0d2431;
}

.lb-head h3 {
  color: #e8f7ff;
  font-size: 24px;
}

.lb-back {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(100, 198, 235, 0.26);
  border-radius: 7px;
  background: #153446;
  box-shadow: none;
}

.lb-back:before {
  border-color: #b8f1ff;
}

.lb-body {
  min-height: 0;
  scrollbar-color: #28566a #091923;
  scrollbar-width: thin;
}

.lb-body::-webkit-scrollbar {
  width: 8px;
}

.lb-body::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: #28566a;
}

.lb-table {
  padding: 12px 16px;
}

.lb-th,
.lb-row {
  grid-template-columns: 48px minmax(220px, 1fr) 95px minmax(145px, 170px) 80px 75px;
  gap: 10px;
}

.lb-th {
  padding: 4px;
  border: 1px solid rgba(100, 198, 235, 0.2);
  border-radius: 8px;
  background: #0a1c27;
  box-shadow: none;
}

.lb-thc {
  width: 100%;
  padding: 11px 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #93adbb;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.lb-thc.lb-left {
  padding: 11px 10px;
}

.lb-thc:hover {
  color: #e8f7ff;
  background: rgba(65, 190, 235, 0.08);
}

.lb-thc.active {
  border-color: rgba(61, 207, 255, 0.3);
  border-radius: 6px;
  background: rgba(0, 182, 255, 0.14);
  color: #8de8ff;
  text-shadow: none;
}

.lb-thc.active:after {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.lb-thc.active.asc:after {
  transform: rotate(225deg);
}

.lb-row {
  margin: 6px 0;
  padding: 9px;
  border: 1px solid rgba(100, 198, 235, 0.12);
  border-radius: 8px;
  background: linear-gradient(110deg, #102a38, #0b1c28);
  box-shadow: none;
  backdrop-filter: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.lb-row:hover {
  border-color: rgba(76, 202, 242, 0.3);
  background: linear-gradient(110deg, #133244, #0c202c);
  filter: none;
}

.lb-row.top1 {
  border-color: rgba(255, 213, 79, 0.58);
  background: linear-gradient(110deg, rgba(91, 70, 28, 0.55), #0c202c 75%);
  box-shadow: inset 3px 0 #ffd54f;
}

.lb-row.top2 {
  border-color: rgba(192, 199, 209, 0.42);
  background: linear-gradient(110deg, rgba(73, 83, 96, 0.5), #0c202c 75%);
  box-shadow: inset 3px 0 #c0c7d1;
}

.lb-row.top3 {
  border-color: rgba(230, 170, 118, 0.44);
  background: linear-gradient(110deg, rgba(91, 60, 39, 0.48), #0c202c 75%);
  box-shadow: inset 3px 0 #e6aa76;
}

.lb-row.top4,
.lb-row.top5,
.lb-row.top6,
.lb-row.top7,
.lb-row.top8,
.lb-row.top9,
.lb-row.top10 {
  border-color: rgba(0, 200, 255, 0.18);
  box-shadow: inset 3px 0 rgba(0, 200, 255, 0.7);
}

.lb-rank {
  color: #c3d9e3;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.lb-row.top1 .lb-rank { color: #ffd76f; }
.lb-row.top2 .lb-rank { color: #d1d8e0; }
.lb-row.top3 .lb-rank { color: #edb27e; }

.lb-player {
  gap: 8px;
}

.lb-rank-icon {
  font-size: 18px;
}

.lb-name {
  max-width: none;
  color: #e8f7ff;
  font-size: 14px;
  font-weight: 750;
}

.lb-num {
  color: #c5dbe5;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.lb-foot {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-top: 1px solid rgba(100, 198, 235, 0.2);
  background: #0a1c27;
}

.lb-meRow {
  margin: 0;
  border: 1px solid rgba(56, 223, 255, 0.44);
  background: linear-gradient(90deg, rgba(0, 182, 255, 0.18), rgba(0, 122, 204, 0.08));
  box-shadow: inset 3px 0 #38dfff;
}

@media (max-width: 760px) {
  .lb-modal {
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    border-radius: 10px;
  }

  .lb-head {
    gap: 10px;
    padding: 10px 12px;
  }

  .lb-head h3 {
    font-size: 20px;
  }

  .lb-body {
    scrollbar-gutter: stable;
  }

  .lb-table {
    min-width: 0;
    padding: 9px;
  }

  .lb-th {
    display: flex;
    width: 100%;
    min-width: 0;
    gap: 4px;
    padding: 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .lb-th::-webkit-scrollbar {
    display: none;
  }

  .lb-thc,
  .lb-thc.lb-left {
    flex: 0 0 auto;
    width: auto;
    padding: 8px 9px;
    font-size: 10px;
  }

  .lb-row,
  .lb-meRow {
    grid-template-columns: 30px minmax(0, 0.8fr) minmax(0, 1.2fr);
    grid-template-areas:
      "rank player player"
      "rank kills points"
      "rank hs level";
    gap: 7px;
    padding: 9px 8px;
    text-align: left;
  }

  .lb-rank {
    grid-area: rank;
    align-self: stretch;
    font-size: 13px;
  }

  .lb-player {
    grid-area: player;
    min-width: 0;
    gap: 6px;
  }

  .lb-rank-icon {
    font-size: 15px;
  }

  .lb-name {
    min-width: 0;
    font-size: 12px;
  }

  .lb-num {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: 5px;
    min-width: 0;
    font-size: 10px;
    text-align: right;
  }

  .lb-row > .lb-num:nth-child(3) { grid-area: kills; }
  .lb-row > .lb-num:nth-child(4) { grid-area: points; }
  .lb-row > .lb-num:nth-child(5) { grid-area: hs; }
  .lb-row > .lb-num:nth-child(6) { grid-area: level; }

  .lb-meRow > .lb-num:nth-child(3) { grid-area: kills; }
  .lb-meRow > .lb-num:nth-child(4) { grid-area: points; }
  .lb-meRow > .lb-num:nth-child(5) { grid-area: hs; }
  .lb-meRow > .lb-num:nth-child(6) { grid-area: level; }

  .lb-num::before {
    color: #819eac;
    font-size: 8px;
    font-weight: 800;
    text-align: left;
  }

  .lb-row > .lb-num:nth-child(3)::before,
  .lb-meRow > .lb-num:nth-child(3)::before { content: "KILLS"; }
  .lb-row > .lb-num:nth-child(4)::before,
  .lb-meRow > .lb-num:nth-child(4)::before { content: "SCORE"; }
  .lb-row > .lb-num:nth-child(5)::before,
  .lb-meRow > .lb-num:nth-child(5)::before { content: "HS"; }
  .lb-row > .lb-num:nth-child(6)::before,
  .lb-meRow > .lb-num:nth-child(6)::before { content: "LEVEL"; }

  .lb-foot {
    padding: 8px 9px;
  }
}

.player-card-placeholder {
  width: 100%;
  min-height: 120px;
  border: 1px solid rgba(75, 217, 229, 0.14);
  border-radius: 14px;
  background: rgba(3, 21, 31, 0.48);
}

.player-card:not(.is-expanded) .pi-row:not(.stat-level):not(.stat-kills):not(.stat-points) {
  display: none !important;
}

.player-card:not(.is-expanded) .pi-row {
  min-height: 32px;
  padding: 4px 9px;
}

.player-card .pi-top {
  width: 100%;
  min-width: 0;
}

.player-card-expand {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(75, 217, 229, 0.3);
  border-radius: 9px;
  background: rgba(24, 84, 100, 0.7);
  color: #a8f3ff;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.player-card-expand svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.player-card-expand:hover {
  transform: translateY(-1px);
  border-color: #69e5f2;
  background: #12607a;
}

.player-card-expand[aria-expanded="true"] svg {
  display: none;
}

.player-card-expand[aria-expanded="true"]::after {
  content: "×";
  font: 500 24px/1 Inter, system-ui;
}

.player-profile-wrap {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: none;
  place-items: center;
  padding: 16px;
}

.player-profile-wrap.active {
  display: grid;
}

.player-profile-dim {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 16, 0.82);
  backdrop-filter: blur(10px) saturate(125%);
}

.player-profile-dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: min(820px, 100%);
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(75, 217, 229, 0.28);
  border-radius: 16px;
  background: linear-gradient(145deg, #0d2330, #081720 78%);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.64), 0 0 36px rgba(0, 182, 255, 0.12);
  animation: playerProfileEnter 180ms ease-out both;
}

@keyframes playerProfileEnter {
  from { opacity: 0; transform: translateY(8px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.player-profile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.player-profile-eyebrow {
  margin-bottom: 4px;
  color: #61d9eb;
  font: 800 10px/1.2 Inter, system-ui;
  letter-spacing: 0.12em;
}

.player-profile-head h2 {
  margin: 0;
  color: #e8f7ff;
  font: 850 21px/1.2 Inter, system-ui;
}

.player-profile-close {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(100, 198, 235, 0.2);
  border-radius: 9px;
  background: #153446;
  color: #c8eff8;
  cursor: pointer;
}

.player-profile-close svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.player-profile-close:hover {
  border-color: rgba(255, 128, 111, 0.55);
  background: rgba(117, 52, 48, 0.6);
}

.player-profile-content .player-card {
  width: 100%;
  padding: 16px;
  gap: 12px;
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(31, 188, 206, 0.12), transparent 42%) padding-box,
    linear-gradient(155deg, #0c2b3a, #071b28) padding-box,
    linear-gradient(135deg, #ffd36a, #4bd9e5 42%, #68dfa8) border-box;
}

.player-card.is-expanded .pi-top {
  gap: 12px;
  min-height: 48px;
}

.player-card.is-expanded .avatar {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
}

.player-card.is-expanded .avatar img {
  width: 36px;
  height: 36px;
}

.player-card.is-expanded .pi-name h3 {
  font-size: 21px;
}

.player-card.is-expanded .pi-rows {
  gap: 8px;
}

.player-card.is-expanded .pi-row {
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 9px;
}

.player-card.is-expanded .pi-row .label {
  font-size: 14px;
}

.player-card.is-expanded .pi-row .value {
  font-size: 16px;
}

@media (max-width: 560px) {
  .player-profile-wrap {
    padding: 10px;
  }

  .player-profile-dialog {
    max-height: calc(100% - 4px);
    padding: 13px;
    border-radius: 13px;
  }

  .player-profile-head h2 {
    font-size: 19px;
  }

  .player-profile-content .player-card {
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .player-profile-dialog,
  .player-card-expand {
    animation: none;
    transition: none;
  }
}