/* Context Clues Climber -- mountain scene + sentence card */

.ccc-play { --ccc-sky1: #90caf9; --ccc-sky2: #e3f2fd; --ccc-rock1: #78909c; --ccc-rock2: #455a64; --ccc-snow: #ffffff; }
.ccc-canyon { --ccc-sky1: #ffccbc; --ccc-sky2: #fff3e0; --ccc-rock1: #d84315; --ccc-rock2: #8d2b0b; --ccc-snow: #ffab91; }
.ccc-jungle { --ccc-sky1: #c8e6c9; --ccc-sky2: #f1f8e9; --ccc-rock1: #558b2f; --ccc-rock2: #1b5e20; --ccc-snow: #aed581; }
.ccc-glacier { --ccc-sky1: #b3e5fc; --ccc-sky2: #ffffff; --ccc-rock1: #81d4fa; --ccc-rock2: #0277bd; --ccc-snow: #e1f5fe; }
.ccc-sunset { --ccc-sky1: #ff8a65; --ccc-sky2: #b39ddb; --ccc-rock1: #5e35b1; --ccc-rock2: #311b92; --ccc-snow: #ffccbc; }

.ccc-main { display: grid; grid-template-columns: minmax(150px, 34%) 1fr; gap: 14px; align-items: stretch; }
@media (max-width: 620px) { .ccc-main { grid-template-columns: 1fr; } .ccc-scene { aspect-ratio: 16 / 9; max-height: 200px; } }

.ccc-scene {
  position: relative; min-height: 240px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, var(--ccc-sky1), var(--ccc-sky2));
  border: 1px solid var(--color-border);
}
.ccc-mountain {
  position: absolute; inset: 4% -10% 0 -10%;
  background: linear-gradient(160deg, var(--ccc-rock1), var(--ccc-rock2));
  clip-path: polygon(0 100%, 30% 40%, 42% 52%, 60% 4%, 78% 38%, 100% 100%);
}
.ccc-snow { position: absolute; inset: 4% -10% 0 -10%; background: var(--ccc-snow); clip-path: polygon(52% 18%, 60% 4%, 67% 18%, 63% 15%, 60% 20%, 56% 15%); }
.ccc-ledge { position: absolute; width: 22px; height: 6px; margin: 10px 0 0 -11px; border-radius: 3px; background: rgba(0, 0, 0, 0.35); }
.ccc-ledge.is-done { background: #ffd54f; box-shadow: 0 0 8px rgba(255, 213, 79, 0.8); }
.ccc-climber { position: absolute; font-size: 30px; transform: translate(-50%, -50%); transition: left 0.8s cubic-bezier(0.3, 1.3, 0.5, 1), top 0.8s cubic-bezier(0.3, 1.3, 0.5, 1); z-index: 2; }
.ccc-flag { position: absolute; left: 52%; top: 2%; font-size: 24px; opacity: 0.35; transition: transform 0.4s ease, opacity 0.4s ease; }
.ccc-flag.is-planted { opacity: 1; transform: scale(1.5); }
.ccc-alt { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border-radius: 10px; background: rgba(0, 0, 0, 0.45); color: #fff; font-size: 0.8rem; font-weight: 700; }

.ccc-card { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 16px; background: var(--color-bg-alt); border: 1px solid var(--color-border); }
.ccc-sentence { margin: 0; font-size: 1.25rem; line-height: 1.55; }
.ccc-word { background: rgba(79, 216, 224, 0.22); color: var(--color-text); font-weight: 800; padding: 0 4px; border-radius: 4px; }
.ccc-clue-mark { background: rgba(255, 213, 79, 0.35); color: var(--color-text); padding: 0 2px; border-radius: 3px; animation: ccc-glow 1.2s ease; }
@keyframes ccc-glow { 0% { background: rgba(255, 213, 79, 0.9); } }
.ccc-ask { margin: 0; font-weight: 800; font-size: 1.1rem; }
.ccc-ask strong { color: var(--color-primary); }
.ccc-choices { display: flex; flex-direction: column; gap: 8px; }
.ccc-choice {
  position: relative; text-align: left; padding: 12px 14px 12px 34px; border-radius: 12px; font: inherit; font-size: 1.05rem; font-weight: 700;
  border: 2px solid var(--color-border); background: var(--color-surface); color: var(--color-text); cursor: pointer;
}
.ccc-choice .ak-key { top: 50%; left: 12px; transform: translateY(-50%); }
.ccc-choice:hover:not(:disabled) { border-color: var(--color-primary); }
.ccc-choice:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }
.ccc-choice.is-right { border-color: var(--color-success); background: rgba(74, 222, 128, 0.2); }
.ccc-choice.is-wrong { border-color: var(--color-accent); background: rgba(238, 111, 168, 0.14); opacity: 0.65; text-decoration: line-through; }
.ccc-clue { margin: 0; min-height: 1.4em; font-size: 0.95rem; color: var(--color-text-soft); }
.ccc-clue strong { color: #ffd54f; }
.ccc-read { padding: 8px 14px; }

@media (prefers-reduced-motion: reduce) { .ccc-climber, .ccc-flag { transition: none; } .ccc-clue-mark { animation: none; } }
