/* The lesson as the student sees it (lesson.js). Every rule starts with .L, so it can be
   loaded next to another page without touching it. */
.L { --p: #2E1250; --g: #DDB385; --b: #8A5A2B; background: #FDFCF9; color: var(--p); font: 17px/1.55 -apple-system, "Segoe UI", Roboto, sans-serif; container-type: inline-size; text-align: left; }
.L h2, .L h3, .L-say, .L-big, .L-era b, .L-quote { font-family: "Iowan Old Style", Baskerville, Palatino, Georgia, serif; font-weight: 400; line-height: 1.22; }
.L h2 { font-size: 34px; margin: 4px 0 14px; color: var(--p); }
.L h2 em { color: var(--b); }
.L h3 { font-size: 23px; margin: 0 0 8px; }
.L p { margin: 0 0 14px; }
.L .L-label { display: block; font-size: 13px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--b); font-weight: 600; margin: 0 0 6px; }
.L button { font: inherit; color: var(--p); box-shadow: none; }
.L-part { max-width: 720px; margin: 0 auto; padding: 34px 24px 8px; }
.L-open { background: radial-gradient(420px 300px at 100% 0, #5E4A9A, transparent), linear-gradient(150deg, #2E1250, #4A2080); color: #fff; padding: 64px 26px 56px; text-align: center; border: 0; position: static; height: auto; display: block; }
.L .L-open h2 { color: #fff; font-size: 46px; }
.L .L-open h2 em, .L .L-open .L-label, .L .L-try .L-label { color: var(--g); }
.L-open p { max-width: 520px; margin: 0 auto; font-size: 18px; }
.L-logo { display: block; width: 88px; height: 88px; margin: 0 auto 20px; border-radius: 50%; background: radial-gradient(circle, #DDB385 0 11px, transparent 12px 21px, #DDB38588 21px 22px, transparent 23px 32px, #DDB385AA 32px 33px, transparent 34px 42px, #DDB385 43px 44px, transparent 44px); }
.L-box { background: #fff; border: 1px solid #ECE4DA; border-radius: 20px; padding: 22px; }
.L-hint { color: #5C4A76; }
.L-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.L-chips span { border: 1px solid #ECE4DA; background: #fff; border-radius: 99px; padding: 6px 14px; font-size: 15px; }
.L-wheel, .L-rings { display: grid; gap: 22px; align-items: center; }
.L-ring { position: relative; width: min(100%, 300px); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; background: radial-gradient(circle closest-side, transparent 83.4%, #E9D9C0 83.8% 84.6%, transparent 85%); }
.L .L-dot { position: absolute; width: 46px; height: 46px; min-height: 0; margin: -23px 0 0 -23px; padding: 0; justify-content: center; border-radius: 50%; border: 1.5px solid var(--g); background: #fff; font-weight: 600; cursor: pointer; }
.L .L-dot.seen { background: #F8EEDF; }
.L .L-dot.on { background: var(--p); color: var(--g); }
.L-mid { position: absolute; inset: 25%; display: grid; place-content: center; text-align: center; border: 1px solid #E9D9C0; border-radius: 50%; font: 400 19px/1.2 "Iowan Old Style", Baskerville, Palatino, Georgia, serif; padding: 8px; }
.L-words { min-height: 190px; }
.L-nav { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.L-count { font-size: 15px; letter-spacing: 1px; }
.L .L-btn { min-height: 44px; border-radius: 99px; border: 1px solid #DCD1C4; background: #fff; padding: 6px 22px; font-weight: 600; cursor: pointer; }
.L .L-btn.main { background: var(--p); border-color: var(--p); color: #fff; }
.L .L-btn.gold { background: var(--g); border-color: var(--g); color: var(--p); margin: 14px auto 0; display: block; }
.L .L-btn:disabled { opacity: .4; }
.L-eras { display: grid; gap: 12px; margin-bottom: 12px; }
.L .L-era { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; background: #fff; border: 1px solid #ECE4DA; border-radius: 18px; padding: 16px 18px; cursor: pointer; }
.L .L-era.on { border: 2px solid var(--g); padding: 15px 17px; }
.L-era b { font-size: 24px; display: block; }
.L-wave { display: block; width: 100%; height: 34px; margin: 8px 0 4px; fill: none; stroke: var(--b); stroke-width: 1.4; }
.L-tell p:last-child { margin: 0; }
.L-circles { position: relative; width: min(100%, 280px); aspect-ratio: 1; margin: 0 auto; }
.L .L-circle { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; border: 1.5px solid var(--g); background: #F9EFE8; padding: 0; min-height: 0; display: block; cursor: pointer; }
.L .L-circle.on { background: var(--p); color: var(--g); }
.L-circle span { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.L-circle span.up { top: 18px; transform: none; }
.L-rings ul { list-style: none; margin: 0; padding: 0; }
.L-rings li { padding: 8px 0 8px 26px; border-top: 1px solid #F0E8DE; position: relative; }
.L-rings li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 10px; height: 10px; border: 1.3px solid var(--g); border-radius: 50%; }
.L-two { display: grid; gap: 14px; margin-bottom: 18px; }
.L-quote { margin: 0; border-left: 3px solid var(--g); padding: 4px 0 4px 22px; font-size: 25px; }
.L-quote small { display: block; font: 16px/1.4 -apple-system, sans-serif; color: #5C4A76; }
.L-try { background: linear-gradient(150deg, #2E1250, #4A2080); color: #fff; border-radius: 22px; padding: 26px 22px 28px; text-align: center; margin: 8px 0 16px; }
.L-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.L .L-tab { min-height: 44px; border-radius: 99px; border: 1px solid #7B5FA8; background: transparent; color: #fff; padding: 4px 16px; cursor: pointer; }
.L .L-tab.on { background: var(--g); border-color: var(--g); color: var(--p); }
.L-ballbox { height: 230px; display: grid; place-items: center; }
.L .L-ball { width: 96px; height: 96px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F3DDBF, #D9AD78); box-shadow: 0 0 0 14px #ffffff22, 0 0 0 30px #ffffff14; cursor: pointer; }
.L-say { display: block; font-size: 27px; }
.L-try p { margin: 6px auto; max-width: 440px; }
.L-big { font-size: 25px; }
.L-dots { display: flex; gap: 10px; justify-content: center; margin-top: 10px; }
.L-dots i { width: 11px; height: 11px; border: 1.3px solid var(--g); border-radius: 50%; }
.L-dots i.on { background: var(--g); }
.L-care { display: flex; gap: 12px; background: #F9EEE8; border-radius: 16px; padding: 16px 18px; margin: 10px 0 16px; }
.L-care p { margin: 0; }
.L-mark { flex: none; width: 24px; height: 24px; border: 1.5px solid var(--b); border-radius: 50%; display: grid; place-items: center; font-size: 14px; color: var(--b); }
.L-q { padding: 14px 0; border-bottom: 1px solid #F0E8DE; }
.L-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.L .L-opt { min-height: 44px; border-radius: 99px; border: 1px solid #DCD1C4; background: #fff; padding: 4px 18px; cursor: pointer; }
.L .L-opt.yes { background: #EDF5F0; border-color: #2F6E52; }
.L .L-opt.no { background: #F7ECE7; border-color: #A8362A; }
.L-why { min-height: 26px; margin: 8px 0 0 !important; }
.L-sum { font-weight: 600; margin: 12px 0 0 !important; }
.L-task { border: 1.5px solid var(--p); border-radius: 18px; background: #fff; padding: 20px 22px; margin-bottom: 40px; }
.L-task small:last-child { font-size: 15px; letter-spacing: 0; color: var(--p); }
.L-video { display: grid; place-items: center; aspect-ratio: 16/9; background: #17121C; color: var(--g); border-radius: 18px; }
.L-src { display: block; color: #5C4A76; font-size: 14px; }
@container (min-width: 560px) {
  .L-wheel, .L-rings { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .L-eras { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .L-two { grid-template-columns: 1fr 1fr; }
}
