/* Opening tuition page (FEAT-2026-0926-0064, F/#94). Reuses the play.css board
   + .arena/.panel/.card shell; this file styles the coach head, opening search,
   variation menu, and the study/drill controls. The full 3D grandmaster (s15.3)
   layers on later; until then this is the graceful-degradation tuition surface:
   deterministic tauTree naming + book line + canned coach voice. */

.ln-coach { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.55rem; }
.ln-coach-face {
    font-size: 2.2rem; line-height: 1; width: 2.6rem; height: 2.6rem;
    display: flex; align-items: center; justify-content: center; color: var(--corn);
    border-radius: 12px; background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.ln-coach-meta { display: flex; flex-direction: column; }
.ln-coach-meta b { font-family: 'Bangers', 'Outfit', sans-serif; font-size: 1.438rem; letter-spacing: 0.02em; }
.ln-coach-sub { font-size: 0.78rem; opacity: 0.72; }
.ln-line { font-style: italic; margin: 0; line-height: 1.45; color: var(--corn); font-size: 1.02rem; }

.ln-search { display: flex; gap: 0.5rem; }
.ln-search input {
    flex: 1 1 auto; min-width: 0; padding: 0.5rem 0.7rem; border-radius: 8px;
    background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
    color: inherit; font: inherit;
}
.ln-search .btn { width: auto; margin: 0; flex: 0 0 auto; }
.ln-quick { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; }
.ln-chip {
    cursor: pointer; font-size: 0.8rem; padding: 0.25rem 0.7rem; border-radius: 999px;
    background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
    color: inherit;
}
.ln-chip:hover { border-color: var(--corn); color: var(--corn); }

.ln-results, .ln-lines { margin-top: 0.6rem; display: flex; flex-direction: column; gap: 0.35rem; max-height: 340px; overflow-y: auto; }
.ln-item {
    text-align: left; cursor: pointer; padding: 0.5rem 0.7rem; border-radius: 8px;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
    color: inherit; font: inherit; display: flex; justify-content: space-between; gap: 0.6rem;
}
.ln-item:hover { border-color: var(--corn); }
.ln-item.active { border-color: var(--lime); background: rgba(77, 255, 176, 0.08); }
.ln-item .ln-item-name { font-weight: 600; }
.ln-item .ln-item-meta { opacity: 0.65; font-size: 0.78rem; white-space: nowrap; }
.ln-item .ln-eco { font-family: 'Silkscreen', monospace; }

.ln-moves { display: flex; flex-wrap: wrap; gap: 0.25rem 0.4rem; margin-bottom: 0.6rem; line-height: 1.7; }
.ln-moves .mv-num { opacity: 0.5; font-size: 0.85rem; }
.ln-moves .mv {
    cursor: pointer; padding: 0.05rem 0.35rem; border-radius: 5px; border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.05); color: inherit; font: inherit;
}
.ln-moves .mv:hover { border-color: rgba(255, 255, 255, 0.25); }
.ln-moves .mv.current { border-color: var(--corn); color: var(--corn); }

.ln-controls { display: flex; gap: 0.4rem; margin-bottom: 0.6rem; }
.ln-controls .ln-btn { flex: 1 1 0; margin: 0; }
#ln-drill { width: 100%; }
a.btn#ln-play { width: auto; display: inline-block; margin-top: 0.6rem; padding: 0.25rem 1.4rem; }

/* Drill feedback recolours the coach line. */
.ln-line.good { color: var(--lime); }
.ln-line.bad { color: var(--magenta); }

/* Book-move hint dots while drilling (reuse play.css .sq.hint styling). */
#overlay .btn { width: auto; display: inline-block; margin-top: 0.6rem; padding: 0.25rem 1.6rem; }
