/* Burnout lesson. All rules scoped under .bu-* */
.bu-sc { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 10px; }
.bu-note { font-size: 13px; color: var(--dim); text-align: center; }

/* the month line */
.bu-line { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 10px; }
.bu-track { position: relative; height: 8px; border-radius: 4px; background: var(--raised); }
.bu-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--gold); }
.bu-vac { position: absolute; top: -5px; width: 10px; height: 18px; margin-left: -5px; border-radius: 4px; background: var(--mint); opacity: 0; transition: opacity .3s; }
.bu-vac.on { opacity: 1; }
.bu-ticks { grid-column: 1; display: flex; justify-content: space-between; font: 600 12px var(--mono); color: var(--faint); margin-top: 3px; }
.bu-mon { grid-column: 2; grid-row: 1 / span 2; font: 700 14px var(--sans); color: var(--gold); min-width: 92px; text-align: right; }

/* Maya and what she says */
.bu-who { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 10px; }
.bu-maya { width: 110px; height: 150px; object-fit: contain; transition: filter .6s; filter: drop-shadow(0 10px 20px rgba(123, 92, 253, .3)); }
.bu-say { position: relative; padding: 10px 12px; border-radius: 16px; background: var(--raised); border: 1.5px solid var(--line-strong); font: 600 15px/1.3 var(--serif); color: var(--text); min-height: 64px; display: flex; align-items: center; }
.bu-say::before { content: ''; position: absolute; left: -8px; top: 50%; margin-top: -7px; border: 7px solid transparent; border-right-color: var(--line-strong); border-left: 0; }
.bu-say.bu-off { opacity: 0; }
.bu-say.bu-in { animation: buIn .35s ease-out; }
@keyframes buIn { from { opacity: 0; transform: translateY(6px); } }

/* the three gauges */
.bu-gs { display: flex; flex-direction: column; gap: 7px; }
.bu-g { display: grid; grid-template-columns: 1fr 140px; align-items: center; gap: 10px; padding: 5px 8px; border-radius: 12px; border: 1.5px solid transparent; transition: border-color .3s; }
.bu-gl { display: flex; flex-direction: column; line-height: 1.15; }
.bu-gl b { font: 700 14px var(--sans); }
.bu-gl span { font-size: 12px; color: var(--dim); }
.bu-gt { height: 16px; border-radius: 8px; background: var(--raised); overflow: hidden; }
.bu-gt i { display: block; height: 100%; width: 0; border-radius: 6px; }
.bu-g-ex .bu-gt i, .bu-d-ex { background: #FF8A6B; }
.bu-g-cy .bu-gt i, .bu-d-cy { background: var(--violet-bright); }
.bu-g-ef .bu-gt i, .bu-d-ef { background: var(--gold); }
.bu-g.bu-hot { border-color: var(--line-strong); background: rgba(255, 255, 255, .03); }

/* the two fixes */
.bu-fx { width: 100%; max-width: 360px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bu-fc { display: flex; flex-direction: column; gap: 6px; padding: 12px 10px; border-radius: 16px; background: var(--surface); border: 1.5px solid var(--line); }
.bu-fc b { font: 700 16px var(--serif); }
.bu-fc span { font-size: 13px; color: var(--dim); line-height: 1.25; min-height: 34px; }
.bu-ft { height: 14px; border-radius: 7px; background: var(--raised); overflow: hidden; }
.bu-ft i { display: block; height: 100%; width: 0; border-radius: 7px; background: var(--violet-bright); }
.bu-fj .bu-ft i { background: var(--mint); }

/* the WHO's entry */
.bu-doc { width: 100%; max-width: 330px; padding: 14px 16px; border-radius: 16px; background: #F3EEE4; color: #1E1A14; box-shadow: 0 16px 30px rgba(0, 0, 0, .35); display: flex; flex-direction: column; gap: 8px; }
.bu-dh { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1.5px solid rgba(30, 26, 20, .2); padding-bottom: 6px; }
.bu-dh span { font: 700 12px var(--mono); color: #6A5F50; }
.bu-dh b { font: 700 17px var(--serif); }
.bu-dl { font-size: 13px; line-height: 1.3; color: #3A3328; }
.bu-doc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font: 600 14px var(--sans); }
.bu-doc li { display: flex; align-items: center; gap: 8px; }
.bu-doc li i { width: 12px; height: 12px; border-radius: 3px; }
.bu-dtag { font: 700 13px var(--sans); color: #8A3A1E; }

@media (max-height: 700px) {
  .bu-maya { width: 86px; height: 110px; }
  .bu-who { grid-template-columns: 86px 1fr; }
  .bu-say { font-size: 14px; min-height: 52px; padding: 8px 10px; }
  .bu-gs { gap: 4px; }
  .bu-g { padding: 3px 6px; }
}
