/* 真心话大冒险 — 游戏页样式（基于 theme.css） */

.game-stage {
  padding: 1.35rem 1.15rem 1.5rem;
  margin-bottom: 1rem;
}

.game-lead {
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 1.25rem;
}

.game-panel {
  display: none;
}

.game-panel.is-active {
  display: block;
}

.game-block {
  margin-bottom: 1.15rem;
}

.game-block__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
}

.game-block__hint {
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.game-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.92rem;
  color: var(--text);
  font-family: inherit;
}

.game-input:focus {
  outline: 2px solid rgba(77, 171, 247, 0.35);
  border-color: #91d5ff;
}

.game-player-row {
  display: flex;
  gap: 0.55rem;
}

.game-player-row .game-input {
  flex: 1;
}

.game-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-height: 1.75rem;
  margin-top: 0.55rem;
}

.game-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #ffd6e0;
  font-size: 0.85rem;
}

.game-chip__remove {
  border: none;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.game-level-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.game-level-btn {
  padding: 0.65rem 0.5rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.game-level-btn.is-active {
  color: #e64980;
  background: #fff0f3;
  border-color: #ffd6e0;
}

.game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.15rem;
}

.game-rules {
  margin-top: 1.15rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: #fffaf7;
  border: 1px dashed #f1d7de;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text-soft);
}

.game-rules summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

.game-rules ul {
  margin: 0.65rem 0 0 1.1rem;
}

.game-spin-area {
  text-align: center;
  padding: 0.5rem 0;
}

.game-current-player {
  font-family: "Noto Serif SC", serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.game-current-hint {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 1.15rem;
}

.game-bottle-wrap {
  position: relative;
  width: 8rem;
  height: 8rem;
  margin: 0 auto 1rem;
}

.game-bottle {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 2.4rem;
  height: 7rem;
  transform-origin: center center;
  transition: transform 2.8s cubic-bezier(0.15, 0.85, 0.2, 1);
}

.game-bottle__body {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2rem;
  height: 5.2rem;
  border-radius: 0.6rem 0.6rem 0.35rem 0.35rem;
  background: linear-gradient(90deg, #ff6b8a, #ffa8c5, #ff6b8a);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.12);
}

.game-bottle__neck {
  position: absolute;
  top: 0.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0.85rem;
  height: 1.6rem;
  border-radius: 0.2rem 0.2rem 0 0;
  background: linear-gradient(90deg, #e64980, #ff8fab, #e64980);
}

.game-bottle__label {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 700;
  color: #ff6b8a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.game-choice-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 18px;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
  transition: transform 0.2s, box-shadow 0.2s;
}

.game-choice-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.game-choice-card--truth {
  background: linear-gradient(135deg, #e7f5ff, #fff);
  border-color: #c5e4ff;
}

.game-choice-card--dare {
  background: linear-gradient(135deg, #fff0f3, #fff);
  border-color: #ffd6e0;
}

.game-choice-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.game-choice-card--truth .game-choice-card__icon {
  background: linear-gradient(135deg, #4dabf7, #74c0fc);
}

.game-choice-card--dare .game-choice-card__icon {
  background: linear-gradient(135deg, #ff6b8a, #ffa8c5);
}

.game-choice-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.game-choice-card__desc {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.game-reveal {
  text-align: center;
}

.game-reveal__badge {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
}

.game-reveal__badge--truth {
  background: linear-gradient(135deg, #4dabf7, #74c0fc);
}

.game-reveal__badge--dare {
  background: linear-gradient(135deg, #ff6b8a, #ffa8c5);
}

.game-reveal__card {
  margin: 0 auto;
  max-width: 28rem;
  min-height: 10rem;
  padding: 1.5rem 1.25rem;
  border-radius: 18px;
  background: #fffaf7;
  border: 1px solid #f1d7de;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-reveal__text {
  font-family: "Noto Serif SC", serif;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text);
}

.game-reveal__player {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

body.is-loading .game-stage {
  opacity: 0.55;
  pointer-events: none;
}

@media (max-width: 640px) {
  .game-choice-grid,
  .game-level-group {
    grid-template-columns: 1fr;
  }

  .game-player-row {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .game-bottle,
  .game-choice-card {
    transition: none;
  }
}
