.trainer-myth-section { background: var(--bg2); }
.trainer-myth-section__lead { font-size: 1.05rem; color: var(--text2); margin-bottom: 32px; max-width: 640px; }

.myth-game {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.myth-game__notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
  padding: 18px 22px;
  border-radius: 20px;
  border: 1px solid rgba(108, 71, 255, 0.28);
  background: linear-gradient(135deg, #f7f5ea 0%, #ede8d8 52%, #f0ebe0 100%);
  box-shadow: 0 8px 28px rgba(108, 71, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.myth-game__notice-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6c47ff, #4726d9);
  color: #f7f5ea;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.myth-game__notice-body strong { display: block; color: #2a2040; font-size: 0.97rem; line-height: 1.5; }
.myth-game__notice-body p { margin: 6px 0 0; color: #5c5280; font-size: 0.9rem; line-height: 1.6; }

.myth-game__sidebar { display: grid; gap: 16px; position: sticky; top: 90px; }
.myth-game__scorecard,
.myth-game__meta {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.myth-game__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--text2);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.myth-game__score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 12px;
  margin-top: 10px;
}
.myth-game__score span { color: var(--text2); font-size: 0.88rem; font-weight: 500; }
.myth-game__score strong { font-size: 1.5rem; font-weight: 800; }
.myth-game__score--good { background: rgba(52,168,83,0.08); }
.myth-game__score--good strong { color: #2c9a51; }
.myth-game__score--bad { background: rgba(229,83,83,0.08); }
.myth-game__score--bad strong { color: #d14343; }

.myth-game__meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-size: 0.88rem;
}
.myth-game__meta-row:first-of-type { border-top: none; padding-top: 0; }
.myth-game__meta-row strong { text-align: right; font-weight: 700; }

.myth-game__card-shell { perspective: 1800px; }
.myth-game__card {
  position: relative;
  width: 100%;
  min-height: 420px;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
.myth-game__card.is-flipped { transform: rotateY(180deg); }
.myth-game__card.is-swapping .myth-game__face--front { animation: mythFrontReveal 0.52s cubic-bezier(0.22,1,0.36,1); }
@keyframes mythFrontReveal { from { opacity: 0.5; transform: scale(0.97); } to { opacity: 1; transform: scale(1); } }
.myth-game__card:not(.is-flipped) .myth-game__face--back { pointer-events: none; }
.myth-game__card.is-flipped .myth-game__face--front { pointer-events: none; }

.myth-game__face {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  border-radius: 24px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 16px 44px rgba(0,0,0,0.07);
}
.myth-game__face--back { transform: rotateY(180deg); }

.myth-game__statement {
  margin: 8px 0 18px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.myth-game__prompt { margin-top: auto; color: var(--text2); font-size: 0.95rem; line-height: 1.6; }

.myth-game__choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.myth-game__choice {
  min-height: 60px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.myth-game__choice:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.07); }
.myth-game__choice--truth { color: #1a7f46; }
.myth-game__choice--truth:hover { border-color: rgba(52,168,83,0.4); background: rgba(52,168,83,0.05); }
.myth-game__choice--myth { color: #d35a23; }
.myth-game__choice--myth:hover { border-color: rgba(229,115,49,0.4); background: rgba(229,115,49,0.05); }

.myth-game__feedback {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.04);
  color: var(--text2);
}
.myth-game__feedback.is-correct { background: rgba(52,168,83,0.1); color: #248447; }
.myth-game__feedback.is-wrong { background: rgba(229,83,83,0.1); color: #d14343; }

.myth-game__verdict {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 16px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.myth-game__verdict--truth { background: rgba(52,168,83,0.09); border-color: rgba(52,168,83,0.22); color: #248447; }
.myth-game__verdict--myth { background: rgba(229,115,49,0.09); border-color: rgba(229,115,49,0.22); color: #d35a23; }
.myth-game__verdict--mixed { background: rgba(52,111,255,0.08); border-color: rgba(52,111,255,0.17); color: #2f5fe3; }

.myth-game__explanation { margin: 16px 0 0; color: var(--text2); font-size: 0.97rem; line-height: 1.7; }
.myth-game__next { align-self: flex-start; margin-top: 24px; }
.myth-game__status {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text2);
  line-height: 1.6;
}

@media (max-width: 780px) {
  .myth-game { grid-template-columns: 1fr; }
  .myth-game__sidebar { position: static; }
  .myth-game__notice { grid-template-columns: 1fr; align-items: start; }
}
