@charset "UTF-8";
@font-face {
  font-family: "ChineseRocks";
  src: url("../Chinese Rocks SHA.otf") format("opentype");
}
*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
#intro-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.intro-content {
  text-align: center;
}
.intro-title {
  font-size: 42px;
  font-family: "ChineseRocks", "Roboto", sans-serif;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.intro-char {
  display: inline-block;
  position: relative;
  transform-origin: bottom center;
}
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

body {
  font-family: "Roboto", sans-serif;
  color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "ChineseRocks", "Roboto", sans-serif;
  font-weight: 400;
  margin: 0;
}

@keyframes promotion-compositor-wake {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0.02px, 0.02px, 0) scale(1.00001); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}

#game-container {
  position: absolute;
  width: 480px;
  height: 800px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06);
  will-change: transform;
  transform: translate3d(0, 0, 0);
  /* Убрали отсюда анимацию, чтобы не ломать масштабирование страницы */
}

#viewport {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 480px;
  height: 800px;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  contain: strict; /* Изолирует макет канваса для стабильных 120 FPS */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  /* Перенесли разгон рендеринга на канвас — масштабирование больше не ломается! */
  animation: promotion-compositor-wake 0.005s infinite linear;
}

#hub-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 0%, rgba(102, 238, 255, 0.07) 0%, rgba(4, 4, 10, 0.97) 70%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 14px calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 10;
}

#hub-overlay.hidden {
  display: none;
}

.hub-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}

.hub-title-small {
  font-size: 19px;
  letter-spacing: 2px;
  font-family: "ChineseRocks", "Roboto", sans-serif;
  font-weight: 400;
  filter: drop-shadow(0 2px 8px rgba(102, 238, 255, 0.4));
}

.title-char {
  display: inline-block;
  position: relative;
  transform-origin: bottom center;
  color: #fff;
  text-shadow: 0 0 6px rgba(102, 238, 255, 0.4);
}
.title-char:nth-child(n+6) {
  color: #66eeff;
  text-shadow: 0 0 8px rgba(102, 238, 255, 0.6);
}

.coin-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 204, 0, 0.08);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 204, 0, 0.28);
  font-family: "ChineseRocks", "Roboto", sans-serif;
  font-size: 17px;
  color: #ffcc00;
  box-shadow: 0 0 14px rgba(255, 204, 0, 0.1);
}

.coin-icon {
  animation: bounceCoin 2s infinite ease-in-out;
  display: inline-block;
}

@keyframes bounceCoin {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}
.fullscreen-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
  outline: none;
}
.fullscreen-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(102, 238, 255, 0.45);
  transform: scale(1.08);
}
.fullscreen-toggle-btn:active {
  transform: scale(0.92);
}

.hub-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.tab-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.38);
  padding: 7px 0;
  font-size: 11px;
  font-family: "ChineseRocks", "Roboto", sans-serif;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.tab-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}
.tab-btn.active {
  background: rgba(102, 238, 255, 0.1);
  border-color: rgba(102, 238, 255, 0.55);
  color: #66eeff;
  box-shadow: 0 0 12px rgba(102, 238, 255, 0.2);
}

.tab-panels {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 0;
}

.tab-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateX(15px);
}
.tab-panel.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.panel-scrollable {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
}
.panel-scrollable::-webkit-scrollbar {
  width: 3px;
}
.panel-scrollable::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.section-title {
  font-size: 13px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 1px;
  border-left: 3px solid #66eeff;
  padding-left: 8px;
  flex-shrink: 0;
  font-family: "ChineseRocks", "Roboto", sans-serif;
}

#panel-main-hub {
  gap: 8px;
}

.hub-skins-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  padding-bottom: 6px;
}

.hub-skins-title {
  font-size: 13px;
  font-family: "ChineseRocks", "Roboto", sans-serif;
  color: rgba(255, 255, 255, 0.8);
  border-left: 3px solid #66eeff;
  padding-left: 8px;
}

.hub-equipped-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}
.hub-equipped-label span {
  color: #66eeff;
  font-weight: bold;
}

.skins-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  flex-shrink: 0;
  padding-bottom: 6px;
  /* Плавный скроллбар */
}
.skins-scroll-wrapper::-webkit-scrollbar {
  height: 3px;
}
.skins-scroll-wrapper::-webkit-scrollbar-thumb {
  background: rgba(102, 238, 255, 0.2);
  border-radius: 2px;
}

.skins-scroll {
  display: flex;
  gap: 8px;
  padding: 4px 2px 4px 2px;
  flex-shrink: 0;
  width: max-content;
}

.skin-scroll-card {
  width: 82px;
  background: rgba(20, 20, 30, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 7px 5px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.skin-scroll-card:hover:not(.locked) {
  border-color: rgba(102, 238, 255, 0.55);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(102, 238, 255, 0.2);
}
.skin-scroll-card.equipped {
  border-color: #ffcc00;
  background: rgba(255, 204, 0, 0.07);
  box-shadow: 0 0 22px rgba(255, 204, 0, 0.25);
  animation: equippedPulse 2s infinite ease-in-out;
}
.skin-scroll-card.owned:not(.equipped) {
  border-color: rgba(255, 255, 255, 0.12);
}
.skin-scroll-card.locked {
  opacity: 0.65;
  cursor: pointer;
}

@keyframes equippedPulse {
  0%, 100% {
    box-shadow: 0 0 14px rgba(255, 204, 0, 0.2);
  }
  50% {
    box-shadow: 0 0 28px rgba(255, 204, 0, 0.45);
  }
}
.skin-lock-icon {
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 12px;
  pointer-events: none;
}

.skin-canvas-wrap {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.skin-canvas {
  display: block;
}

.skin-card-name {
  font-size: 9px;
  font-family: "ChineseRocks", "Roboto", sans-serif;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.skin-price {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
  font-family: "ChineseRocks", "Roboto", sans-serif;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 5px;
}
.skin-price.can-buy {
  color: #ffcc00;
  background: rgba(255, 204, 0, 0.1);
  border: 1px solid rgba(255, 204, 0, 0.2);
}
.skin-price.no-coins {
  color: rgba(255, 50, 50, 0.7);
  background: rgba(255, 50, 50, 0.07);
}

.skin-equipped-badge {
  font-size: 8px;
  color: #ffcc00;
  font-family: "ChineseRocks", "Roboto", sans-serif;
  letter-spacing: 0.3px;
  text-shadow: 0 0 8px rgba(255, 204, 0, 0.5);
}

.skin-owned-badge {
  font-size: 8px;
  color: rgba(102, 238, 255, 0.7);
  font-family: "ChineseRocks", "Roboto", sans-serif;
  letter-spacing: 0.3px;
}

.stats-card {
  background: rgba(14, 14, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 10px 14px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex-shrink: 0;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-family: "Roboto", sans-serif;
}

.accent-text {
  color: #66eeff;
  font-weight: bold;
  font-size: 16px;
  font-family: "ChineseRocks", "Roboto", sans-serif;
}

.btn-primary-glowing {
  background: linear-gradient(135deg, #66eeff, #0077aa);
  border: none;
  color: #000;
  padding: 13px;
  font-size: 16px;
  font-family: "ChineseRocks", "Roboto", sans-serif;
  font-weight: 400;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(102, 238, 255, 0.35);
  transition: all 0.2s ease;
  letter-spacing: 1.5px;
  width: 100%;
  flex-shrink: 0;
}
.btn-primary-glowing:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(102, 238, 255, 0.55);
}
.btn-primary-glowing:active {
  transform: translateY(1px);
}

/* ═══════════════════════════════════════════
   КОСМИЧЕСКИЙ МИНИМАЛИЗМ: КАРТОЧКИ УРОВНЕЙ
   ═══════════════════════════════════════════ */
.levels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding-bottom: 12px;
}

.level-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.level-card.locked {
  opacity: 0.15;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.03);
  cursor: not-allowed;
}

.level-card:not(.locked):hover {
  background: rgba(102, 238, 255, 0.03);
  border-color: rgba(102, 238, 255, 0.35);
  transform: none;
  box-shadow: none;
}

.level-card.completed {
  border-color: rgba(102, 238, 255, 0.18);
  background: rgba(102, 238, 255, 0.01);
}

/* Элегантные минималистичные индикаторы по бокам вместо тяжелых иконок */
.level-card.completed::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: #66eeff;
  font-size: 0;
  box-shadow: 0 0 6px rgba(102, 238, 255, 0.5);
}

.level-card.locked::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 10px;
  opacity: 0.3;
}

.level-header {
  display: flex;
  align-items: center;
  gap: 5px;
}

.level-icon {
  font-size: 15px;
  opacity: 0.85;
}

.level-number-badge {
  font-size: 16px;
  font-weight: 500;
  font-family: "ChineseRocks", "Roboto", sans-serif;
  color: rgba(255, 255, 255, 0.7);
}

.level-card.completed .level-number-badge {
  color: #66eeff;
}

.level-name {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  letter-spacing: 0.2px;
}

.level-goal {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2px 5px;
  border-radius: 3px;
  align-self: flex-start;
  font-family: "ChineseRocks", "Roboto", sans-serif;
}

.level-card.completed .level-goal {
  color: #66eeff;
  background: rgba(102, 238, 255, 0.03);
  border-color: rgba(102, 238, 255, 0.1);
}

.level-event-badge {
  font-size: 8px;
  color: #ffab40;
  background: rgba(255, 171, 64, 0.04);
  border: 1px solid rgba(255, 171, 64, 0.12);
  padding: 1px 4px;
  border-radius: 2px;
  align-self: flex-start;
  font-family: "Roboto", sans-serif;
}

.quests-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 12px;
}

.quests-all-done {
  text-align: center;
  padding: 30px 20px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-family: "ChineseRocks", "Roboto", sans-serif;
}

.quest-card {
  background: linear-gradient(135deg, rgba(20, 18, 40, 0.7), rgba(10, 8, 20, 0.85));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.2s ease;
  overflow: hidden;
}
.quest-card.completable {
  border-color: rgba(102, 238, 255, 0.35);
  background: linear-gradient(135deg, rgba(14, 14, 22, 0.75), rgba(8, 8, 12, 0.88));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
.quest-card.claimed {
  opacity: 0.35;
  background: rgba(8, 8, 12, 0.4);
  border-color: rgba(255, 255, 255, 0.02);
}

.quest-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quest-name {
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.3px;
}

.quest-reward {
  color: #ffcc00;
  font-size: 12px;
  font-weight: bold;
  font-family: "ChineseRocks", "Roboto", sans-serif;
}

.quest-desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  font-family: "Roboto", sans-serif;
  line-height: 1.4;
}

.quest-progress-bar-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.quest-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #0077aa, #66eeff);
  border-radius: 3px;
  transition: width 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.quest-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quest-ratio {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
}

.btn-claim {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.3);
  padding: 4px 12px;
  border-radius: 6px;
  font-family: "ChineseRocks", "Roboto", sans-serif;
  font-size: 11px;
  cursor: default;
  transition: all 0.2s ease;
}
.btn-claim.ready {
  background: linear-gradient(135deg, #66eeff, #00b0ff);
  border: none;
  color: #000;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(102, 238, 255, 0.25);
}
.btn-claim.ready:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
}
.btn-claim.ready:active {
  transform: translateY(0);
}
.btn-claim.claimed {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.2);
  border-color: transparent;
  cursor: default;
}

.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 12px;
}

.leaderboard-item {
  display: flex;
  align-items: center;
  background: rgba(14, 14, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 10px 13px;
}
.leaderboard-item.rank-1 {
  border-color: rgba(255, 215, 0, 0.28);
  background: rgba(255, 215, 0, 0.04);
}
.leaderboard-item.rank-2 {
  border-color: rgba(192, 192, 192, 0.2);
}
.leaderboard-item.rank-3 {
  border-color: rgba(205, 127, 50, 0.2);
}
.leaderboard-item.player-self {
  border-color: rgba(102, 238, 255, 0.32);
  background: rgba(102, 238, 255, 0.04);
}

.rank-num {
  font-size: 12px;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.5);
  min-width: 36px;
}

.player-name {
  flex: 1;
  font-size: 12px;
  color: #fff;
  padding: 0 8px;
}

.player-score {
  font-size: 14px;
  font-weight: bold;
  color: #66eeff;
  font-family: "ChineseRocks", "Roboto", sans-serif;
}

#ingame-ui {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 15;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 14px 12px;
  pointer-events: none;
}
#ingame-ui button {
  pointer-events: auto;
}

#ingame-ui.hidden {
  display: none;
}

.ingame-coins {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 204, 0, 0.32);
  border-radius: 20px;
  padding: 6px 13px;
  color: #ffcc00;
  font-family: "ChineseRocks", "Roboto", sans-serif;
  font-size: 16px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 0 12px rgba(255, 204, 0, 0.1);
}

.ingame-score {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(102, 238, 255, 0.32);
  border-radius: 20px;
  padding: 6px 13px;
  color: #66eeff;
  font-family: "ChineseRocks", "Roboto", sans-serif;
  font-size: 16px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 0 12px rgba(102, 238, 255, 0.1);
}

.pause-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  pointer-events: auto;
}
.pause-btn:active {
  transform: scale(0.88);
  background: rgba(255, 255, 255, 0.1);
}

.result-modal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.88);
  z-index: 25;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

.result-modal.hidden {
  display: none;
}

.modal-content {
  background: rgba(14, 14, 22, 0.99);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px 24px;
  width: 290px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.modal-content h2 {
  font-size: 32px;
  letter-spacing: 2px;
  color: #fff;
  font-family: "ChineseRocks", "Roboto", sans-serif;
}

#modal-title.victory {
  color: #66eeff;
  text-shadow: 0 0 20px rgba(102, 238, 255, 0.4);
}

#modal-title.failed {
  color: #ff1744;
  text-shadow: 0 0 20px rgba(255, 23, 68, 0.4);
}

#modal-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-family: "Roboto", sans-serif;
  line-height: 1.5;
}

.modal-reward {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 24px;
  color: #ffcc00;
  font-weight: bold;
  font-family: "ChineseRocks", "Roboto", sans-serif;
  text-shadow: 0 0 14px rgba(255, 204, 0, 0.3);
}

.btn-modal-primary {
  width: 100%;
  padding: 12px;
  background: rgba(102, 238, 255, 0.1);
  border: 1px solid rgba(102, 238, 255, 0.4);
  color: #66eeff;
  font-family: "ChineseRocks", "Roboto", sans-serif;
  font-size: 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 1px;
}
.btn-modal-primary:hover {
  background: rgba(102, 238, 255, 0.2);
}
.btn-modal-primary:active {
  transform: scale(0.97);
}

.btn-modal-secondary {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.65);
  font-family: "ChineseRocks", "Roboto", sans-serif;
  font-size: 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-modal-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-modal-danger {
  width: 100%;
  padding: 12px;
  background: rgba(255, 23, 68, 0.07);
  border: 1px solid rgba(255, 23, 68, 0.22);
  color: #ff1744;
  font-family: "ChineseRocks", "Roboto", sans-serif;
  font-size: 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-modal-danger:hover {
  background: rgba(255, 23, 68, 0.16);
}

.modal-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
}

.btn-modal-primary-outline {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(102, 238, 255, 0.32);
  color: #66eeff;
  font-family: "ChineseRocks", "Roboto", sans-serif;
  font-size: 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-modal-primary-outline:hover {
  background: rgba(102, 238, 255, 0.1);
  border-color: #66eeff;
}
.btn-modal-primary-outline:active {
  transform: scale(0.97);
}

#toast-container {
  position: absolute;
  bottom: 24px;
  left: 14px;
  right: 14px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}

.toast {
  background: rgba(10, 10, 18, 0.97);
  border-left: 4px solid #66eeff;
  border-radius: 8px;
  padding: 9px 13px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-title {
  font-size: 11px;
  font-weight: bold;
  color: #66eeff;
  font-family: "ChineseRocks", "Roboto", sans-serif;
  letter-spacing: 0.5px;
}

.toast-message {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-family: "Roboto", sans-serif;
}

#coins-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 50;
}

.flying-coin {
  position: absolute;
  font-size: 16px;
}

#mobile-hint {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 12;
}

#mobile-hint.hidden {
  display: none;
}

.mhint-drag {
  color: rgba(255, 255, 255, 0.16);
  font-size: 13px;
  font-family: "ChineseRocks", "Roboto", sans-serif;
  letter-spacing: 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 10px;
  width: 100%;
  text-align: center;
}

.mobile-recommend-tip {
  background: rgba(10, 10, 18, 0.9);
  border: 1px solid rgba(102, 238, 255, 0.15);
  border-radius: 12px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  flex-shrink: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.mobile-recommend-tip .tip-icon {
  font-size: 18px;
}
.mobile-recommend-tip .tip-text {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.35;
  font-family: "Roboto", sans-serif;
}

/*# sourceMappingURL=style.css.map */
