/* ═══════════════════════════════════════════════════════════
   Fideograph Course Player — Course-level UI
   Builds on top of lesson-engine.css
   ═══════════════════════════════════════════════════════════ */

.fgc-wrap { max-width: 860px; margin: 0 auto; padding: 40px 20px 80px; }

.fgc-back { font-size: 12px; color: rgba(26,21,16,.35); text-decoration: none; letter-spacing: .06em; text-transform: uppercase; display: inline-block; margin-bottom: 20px; }
.fgc-back:hover { color: var(--fgl-gold, #C9A84C); }

.fgc-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.fgc-badge { font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 8px; background: rgba(201,168,76,.1); color: rgba(26,21,16,.4); }

.fgc-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(28px, 4vw, 42px); font-weight: 400; color: #1A1510; margin: 0 0 10px; line-height: 1.2; }
.fgc-desc { font-family: 'EB Garamond', Georgia, serif; font-size: 1.05rem; color: rgba(26,21,16,.5); line-height: 1.7; margin: 0 0 24px; }

/* Progress */
.fgc-progress-wrap { margin-bottom: 24px; }
.fgc-progress-bar { height: 6px; background: rgba(26,21,16,.06); border-radius: 3px; overflow: hidden; }
.fgc-progress-fill { height: 100%; background: linear-gradient(90deg, #C9A84C, #B8922A); border-radius: 3px; transition: width .4s ease; }
.fgc-progress-text { display: flex; justify-content: space-between; font-size: 12px; color: rgba(26,21,16,.35); margin-top: 6px; }

/* Actions */
.fgc-action { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.fgc-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border: none; border-radius: 8px; font-family: 'DM Mono', monospace; font-size: 13px; font-weight: 700; letter-spacing: .04em; cursor: pointer; text-decoration: none; transition: all .2s; }
.fgc-btn--primary { background: #1A1510; color: #FAF6ED; }
.fgc-btn--primary:hover { background: #2e2a1e; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(28,24,16,.15); }
.fgc-btn--gold { background: #C9A84C; color: #1A1510; }
.fgc-btn--gold:hover { background: #B8922A; }
.fgc-btn--subtle { background: rgba(26,21,16,.04); color: rgba(26,21,16,.5); }
.fgc-btn--subtle:hover { background: rgba(26,21,16,.08); color: #1A1510; }

.fgc-completed-badge { font-family: 'DM Mono', monospace; font-size: 13px; font-weight: 700; color: #1D8A6A; padding: 12px 24px; background: rgba(29,138,106,.06); border-radius: 8px; }

/* Course Map */
.fgc-map { background: #fff; border: 1px solid rgba(26,21,16,.08); border-radius: 10px; overflow: hidden; }
.fgc-map.is-collapsed .fgc-map__body { display: none; }
.fgc-map__header { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid rgba(26,21,16,.06); }
.fgc-map__title { font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(26,21,16,.4); }
.fgc-map__close { background: none; border: none; font-size: 18px; color: rgba(26,21,16,.3); cursor: pointer; padding: 4px 8px; }
.fgc-map__close:hover { color: #1A1510; }
.fgc-map__body { padding: 8px 0; max-height: 500px; overflow-y: auto; }

.fgc-map__section { font-family: 'DM Mono', monospace; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(26,21,16,.25); padding: 14px 18px 6px; }

.fgc-map__lesson { display: flex; align-items: center; gap: 10px; padding: 10px 18px; transition: background .15s; cursor: default; }
.fgc-map__lesson--done { cursor: pointer; }
.fgc-map__lesson--done:hover { background: rgba(29,138,106,.03); }
.fgc-map__lesson--current { background: rgba(201,168,76,.04); cursor: pointer; border-left: 3px solid #C9A84C; }
.fgc-map__lesson--current:hover { background: rgba(201,168,76,.08); }
.fgc-map__lesson--locked { opacity: .4; }

.fgc-map__dot { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; border: 2px solid rgba(26,21,16,.1); background: #FAF6ED; }
.fgc-map__lesson--done .fgc-map__dot { background: #1D8A6A; border-color: #1D8A6A; color: #fff; }
.fgc-map__lesson--current .fgc-map__dot { background: #C9A84C; border-color: #C9A84C; color: #fff; }

.fgc-map__lesson-title { font-family: 'EB Garamond', Georgia, serif; font-size: 14px; color: rgba(26,21,16,.7); flex: 1; }
.fgc-map__lesson--done .fgc-map__lesson-title { color: #1A1510; }
.fgc-map__lesson--current .fgc-map__lesson-title { color: #1A1510; font-weight: 600; }

.fgc-map__score { font-family: 'DM Mono', monospace; font-size: 10px; color: rgba(26,21,16,.3); }

.fgc-map__review { display: flex; align-items: center; gap: 8px; padding: 6px 18px 6px 28px; font-family: 'DM Mono', monospace; font-size: 10px; color: rgba(201,168,76,.5); letter-spacing: .06em; }
.fgc-map__review-icon { font-size: 12px; }

@media (max-width: 600px) {
    .fgc-wrap { padding: 20px 16px 60px; }
    .fgc-action { flex-direction: column; }
    .fgc-btn { justify-content: center; }
}
