/* Tryout demo lesson (Penpot "Web / Tryout — demo lesson"): a
   focused 720px column on paper — top bar with progress, a teach
   card, a quick check, a feedback band, and the save strip. */
.try-body{background:var(--paper)}
.try-top{display:grid;align-items:center;gap:20px;
  grid-template-columns:auto 1fr minmax(120px,500px) auto 1fr auto;
  width:min(1220px,calc(100% - 32px));margin:26px auto 0}
.try-track{grid-column:3}
.try-count{grid-column:4}
.try-exit{grid-column:6}
/* The board draws the ✕ and Exit small; the glyphs keep that size,
   but the hit area grows to 40px via padding, with negative margins
   cancelling the layout footprint so nothing on the bar moves. */
.try-x{color:var(--muted);text-decoration:none;font-size:1.25rem;line-height:1;
  display:inline-flex;align-items:center;justify-content:center;
  min-width:40px;min-height:40px;padding:10px 12px;margin:-10px -12px}
.try-track{height:10px;border-radius:5px;background:var(--lav2)}
.try-fill{height:10px;border-radius:5px;background:var(--violet);width:12.5%;
  transition:width .3s ease}
.try-count{color:var(--muted);font-size:.875rem;font-weight:600;white-space:nowrap}
.try-exit{color:var(--muted);text-decoration:none;font-size:.875rem;font-weight:600;
  display:inline-flex;align-items:center;justify-content:center;
  min-width:40px;min-height:40px;padding:10px 8px;margin:-10px -8px}
.try-kicker{width:300px;max-width:90%;margin:26px auto 0;padding:7px 0;text-align:center;
  background:var(--lav1);color:var(--deep);border-radius:15px;
  font-size:.6875rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
#stage{width:min(720px,calc(100% - 32px));margin:24px auto 0}
.try-card{background:var(--white);border:1px solid var(--lav2);border-radius:24px;
  padding:26px 32px 32px}
.try-label{color:var(--violet);font-size:.6875rem;font-weight:700;letter-spacing:.09em;margin:0}
.try-glyph-panel{background:var(--lav1);border-radius:16px;margin-top:14px;
  padding:28px 0;text-align:center}
.try-glyph{font-family:"Shippori Mincho B1","Noto Sans JP",serif;font-size:6.875rem;font-weight:600;
  color:var(--violet);line-height:1.2}
.try-readings{display:flex;align-items:center;gap:12px;margin-top:22px;flex-wrap:wrap;justify-content:center}
.try-chip{border-radius:18px;padding:9px 16px;font-size:.8125rem;white-space:nowrap}
.try-chip-on{background:var(--violet);color:#fff;font-weight:700}
.try-chip-kun{background:var(--white);border:1px solid var(--lav2);font-weight:600}
.try-meaning{font-size:1.25rem;font-weight:700}
.try-example{font-family:"Noto Sans JP",sans-serif;font-size:1rem;font-weight:500;
  text-align:center;margin:26px 0 0}
.try-stroke{color:var(--muted);font-size:.8125rem;text-align:center;margin:8px 0 0}
.try-q{font-size:1.125rem;font-weight:700;text-align:center;margin:34px 0 0}
.try-opts{display:flex;gap:20px;justify-content:center;margin-top:18px;flex-wrap:wrap}
.try-opt{flex:0 0 180px;height:56px;border-radius:16px;border:1.5px solid var(--lav2);
  background:var(--white);font:inherit;font-size:.9375rem;font-weight:600;cursor:pointer}
.try-opt-right{background:#e2f3e8;border-color:#2f9e5f;color:#1e7a46;font-weight:700}
.try-opt-wrong{background:#fbeae4;border-color:#c2432b;color:#c2432b}
.try-opt[disabled]{cursor:default}
.try-band{display:flex;align-items:center;gap:16px;border-radius:16px;
  padding:14px 20px 14px 32px;margin-top:26px}
.try-band-ok{background:#e2f3e8}
.try-band-bad{background:#fbeae4}
.try-band p{flex:1;font-size:.9375rem;font-weight:700;margin:0}
.try-band-ok p{color:#1e7a46}
.try-band-bad p{color:#c2432b}
.try-continue{flex:0 0 168px;height:48px;border:0;border-radius:12px;background:var(--violet);
  color:#fff;font:inherit;font-size:.9375rem;font-weight:700;cursor:pointer}
.try-save{display:flex;align-items:center;gap:16px;width:min(720px,calc(100% - 32px));
  margin:26px auto 40px;background:var(--deep);border-radius:16px;padding:12px 12px 12px 32px}
.try-save p{flex:1;color:#fff;font-size:.9375rem;font-weight:600;margin:0}
.try-save-btn{flex:0 0 224px;text-align:center;background:var(--lime);color:var(--deep);
  border-radius:12px;padding:11px 0;font-size:.8125rem;font-weight:700;text-decoration:none}
.try-done{text-align:center}
.try-done-mark{width:100px;height:100px;border-radius:50%;background:#e2f3e8;color:#1e7a46;
  font-size:2.5rem;font-weight:800;display:flex;align-items:center;justify-content:center;margin:8px auto 20px}
.try-done h2{font-size:1.25rem;font-weight:800;margin:0 0 10px}
.try-done p{color:var(--muted);font-size:.84375rem;line-height:1.5;max-width:420px;margin:0 auto 22px}
.try-noscript{text-align:center;color:var(--muted)}
@media (max-width:640px){
  .try-opt{flex:1 1 100%}
  .try-band{flex-wrap:wrap;padding:16px 20px}
  .try-continue{flex:1 1 100%}
  .try-save{flex-wrap:wrap;padding:16px 20px}
  .try-save-btn{flex:1 1 100%}
  .try-glyph{font-size:5rem}
}
