/* ============================================================
   The Conservatory · Quizzes — styles
   "One at a time": one card fills the screen on a soft pastel ground that
   changes card to card. Same look as the Conservatory app's Prayer and Flowers:
   Lexend throughout, ink text and buttons, white "paper" panels.
   ============================================================ */
:root{
  color-scheme:light dark;
  --font:'Lexend', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gut:clamp(16px, 5vw, 24px);

  --page:#F4F2EE;
  --ink:#14262B; --on-ink:#fff;
  --muted:#4F5864;
  --dim:#4F5864;                       /* deck files colour hints with var(--dim) */
  --paper:rgba(255,255,255,.72); --paper-hi:rgba(255,255,255,.92);
  --disc:#fff;                         /* the round emoji badge */
  --field:#fff;
  --line:rgba(20,38,43,.14); --track:rgba(20,38,43,.16); --now:rgba(20,38,43,.5); --keyline:rgba(20,38,43,.35);
  --bad-bg:#F7D3CC; --bad-ink:#9E3A2B; --danger:#9E3A2B;
  --flame:#B4530A;
  --sharp:#B4530A; --flat:#2F5DA8;     /* deck files and the review notes use these */
  --staffbg:#fff;
  --lift:0 18px 40px -18px rgba(20,38,43,.45);

  /* grounds: one per card, cycling; finished screens have their own */
  --q1:#DCEFE6; --q2:#E3E6FA; --q3:#FCE8D5; --q4:#F3E1F0; --q5:#DDEEF7;
  --v1:#E6DEF7; --v2:#FDEEBF; --v3:#D8EAFA;
  --done:#E3F2EF; --learned:#ECF2DC;
  --panel:#fff;
}
@media (prefers-color-scheme: dark){
  :root{
    --page:#0F1A1D;
    --ink:#E9EFF0; --on-ink:#14262B;
    --muted:#A9B5B9;
    --dim:#A9B5B9;
    --paper:rgba(255,255,255,.08); --paper-hi:rgba(255,255,255,.14);
    --disc:rgba(255,255,255,.12);
    --field:rgba(255,255,255,.08);
    --line:rgba(233,239,240,.16); --track:rgba(233,239,240,.18); --now:rgba(233,239,240,.55); --keyline:rgba(233,239,240,.42);
    --bad-bg:rgba(232,131,111,.26); --bad-ink:#EE8C78; --danger:#F29C89;
    --flame:#F0A660;
    --sharp:#F0A660; --flat:#94BBF2;
    --staffbg:#E7ECED;
    --lift:0 18px 40px -18px rgba(0,0,0,.7);

    --q1:#122620; --q2:#191C33; --q3:#2A1E14; --q4:#28192A; --q5:#11222D;
    --v1:#1F1932; --v2:#28220E; --v3:#122236;
    --done:#0F2629; --learned:#1A2412;
    --panel:rgba(255,255,255,.09);
  }
}

/* ---------- base ---------- */
*{box-sizing:border-box; -webkit-tap-highlight-color:transparent;}
/* the ground sits on <html> so it fills the screen and fades card to card */
html{
  background-color:var(--ground, var(--page)); transition:background-color .7s ease;
  -webkit-text-size-adjust:100%; text-size-adjust:100%;
}
body{
  margin:0; color:var(--ink); font-family:var(--font); font-size:17px; line-height:1.45;
  -webkit-font-smoothing:antialiased; min-height:100vh; min-height:100dvh;
}
button, input, textarea, select{font:inherit; color:inherit;}
button{-webkit-appearance:none; appearance:none; cursor:pointer; -webkit-user-select:none; user-select:none; -webkit-touch-callout:none;}
:focus-visible{outline:3px solid var(--ink); outline-offset:2px;}
.ic{width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; flex:none;}

.wrap{
  max-width:600px; margin:0 auto; min-height:100vh; min-height:100dvh; display:flex; flex-direction:column;
  padding:calc(env(safe-area-inset-top) + 12px) calc(var(--gut) + env(safe-area-inset-right))
          calc(env(safe-area-inset-bottom) + 24px) calc(var(--gut) + env(safe-area-inset-left));
}
.wrap.session{padding-bottom:0;}   /* the foot carries the bottom safe area itself */

/* ---------- type ---------- */
h1{margin:0 0 6px; font-size:clamp(30px, 9vw, 38px); line-height:1.08; font-weight:700; letter-spacing:-.02em;}
h1.hello{margin-top:6px;}
.lead{margin:0 0 4px; font-size:18px; line-height:1.45; color:var(--ink);}
.eyebrow{font-size:14px; font-weight:600; letter-spacing:.1em; text-transform:uppercase;}
.eyebrow.sect{margin:28px 0 12px;}
.help{font-size:14px; color:var(--muted); line-height:1.55; margin:8px 0 0;}
.stage .help{color:var(--ink);}            /* body text on a deck's colour is ink, never grey */
.stage .panel .help{color:var(--muted);}   /* on a white panel the softer grey reads fine */
.help code{background:var(--paper); padding:2px 6px; border-radius:6px; font-family:var(--mono); font-size:13.5px; color:var(--ink);}
.center{text-align:center;}
.tag{font-size:12px; font-weight:600; color:var(--muted); background:var(--paper); border-radius:8px; padding:2px 8px; white-space:nowrap;}

/* ---------- buttons ---------- */
.primary{
  width:100%; min-height:64px; border-radius:32px; border:0; background:var(--ink); color:var(--on-ink);
  font-size:20px; font-weight:600; line-height:1.2; padding:10px 22px;
  display:flex; align-items:center; justify-content:center; gap:10px; text-align:center;
}
.second{
  width:100%; min-height:52px; border-radius:26px; border:0; background:var(--paper); color:var(--ink);
  font-size:17px; font-weight:600; line-height:1.2; padding:8px 20px;
  display:flex; align-items:center; justify-content:center; gap:8px; text-align:center;
}
.second.small{width:auto; min-height:44px; padding:0 16px; font-size:15px; flex:none;}
.second.danger{color:var(--danger);}
.textlink{
  min-height:44px; align-self:center; padding:0 18px; border:0; background:transparent; color:var(--ink);
  font-size:16px; font-weight:500; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:4px;
}
.round{
  width:44px; height:44px; border-radius:50%; border:0; background:var(--paper); color:var(--ink); padding:0;
  display:flex; align-items:center; justify-content:center; flex:none;
}
.round .ic{width:20px; height:20px;}
.primary:active, .second:active, .round:active, .grade:active, .deck:active, .statchip:active,
.opt:not(:disabled):active{transform:scale(.98);}
@media (hover:hover){
  .second:hover, .round:hover, .grade:hover, button.statchip:hover,
  .opt:not(:disabled):hover{background:var(--paper-hi);}
  .deck:hover{box-shadow:inset 0 0 0 2px var(--line);}   /* keeps the deck's own colour */
  .grade.again:hover{background:var(--bad-bg); filter:brightness(.97);}
}
.actions{display:flex; flex-direction:column; gap:8px; margin-top:22px;}

/* ---------- top bar (home and the list screens) ---------- */
.topbar{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px;}
.brand{
  border:0; background:none; padding:0; min-height:44px; text-align:left; color:var(--ink);
  display:flex; flex-direction:column; justify-content:center;
}
.brand small{font-size:12px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--muted);}
.brand span{font-size:22px; font-weight:700; letter-spacing:-.02em; line-height:1.1;}

/* ---------- a one-at-a-time screen ---------- */
.scr{flex:1 0 auto; display:flex; flex-direction:column;}
.shead{display:flex; flex-direction:column; gap:8px; padding-top:4px;}
.segs{display:flex; gap:6px;}
.segs.tight{gap:3px;}
.segs i{flex:1; min-width:2px; height:5px; border-radius:3px; background:var(--track); transition:background-color .5s;}
.segs i.done{background:var(--ink);}
.segs i.now{background:var(--now);}
.segs.solid{height:5px; border-radius:3px; background:var(--track); overflow:hidden;}
.segs.solid i.fill{flex:none; min-width:0; height:100%; border-radius:0; background:var(--ink); transition:width .5s;}
.bar{display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:44px;}
.when{min-width:0; font-size:15px; font-weight:500; line-height:1.25; color:var(--muted);}
.when b{display:block; font-weight:600; color:var(--ink); overflow-wrap:anywhere;}
.tools{display:flex; align-items:center; gap:8px; flex:none;}
.pill{display:flex; align-items:center; gap:6px; height:32px; padding:0 12px; border-radius:16px; background:var(--paper); font-size:14px; font-weight:600; white-space:nowrap;}
.pill .ic{width:16px; height:16px; color:var(--flame);}

.stage{flex:1 0 auto; display:flex; flex-direction:column; justify-content:center; padding:22px 0;}
.stage.top{justify-content:flex-start; padding-top:14px;}
/* The buttons for the card live in a foot pinned to the bottom of the screen, so Next and the
   grades are always in reach; content scrolls under it. An empty foot holds its place (so the
   card doesn't jump when Next arrives) but lets taps through. */
.foot{
  position:sticky; bottom:0; z-index:5; display:flex; flex-direction:column; gap:8px;
  margin:0 calc(-1 * var(--gut)); padding:12px var(--gut) calc(env(safe-area-inset-bottom) + 14px);
  min-height:calc(env(safe-area-inset-bottom) + 90px);
  background-color:var(--ground, var(--page)); transition:background-color .7s ease;
}
.foot::before{
  content:""; position:absolute; left:0; right:0; bottom:100%; height:22px; pointer-events:none;
  background:linear-gradient(to top, var(--ground, var(--page)), transparent);
}
.foot:empty{background:transparent; pointer-events:none;}
.foot:empty::before, .foot.flow::before{display:none;}
.foot.flow{position:static; background:transparent; padding-top:8px; min-height:0;}

/* ---------- the card ---------- */
.qcard{display:flex; flex-direction:column; gap:14px; width:100%;}
.qtext{margin:0; font-size:clamp(27px, 8.2vw, 32px); line-height:1.12; font-weight:700; letter-spacing:-.02em; overflow-wrap:anywhere;}
.letters{font-family:var(--mono); font-size:19px; line-height:1.7; letter-spacing:.02em; overflow-wrap:anywhere;}
.answer{font-size:clamp(19px, 5.6vw, 22px); line-height:1.5; padding:18px; border-radius:20px; background:var(--paper); overflow-wrap:anywhere;}
.note{font-size:16px; line-height:1.5; padding:12px 16px; border-radius:16px; background:var(--paper);}
.hintlink{align-self:flex-start; padding:0;}
.peekbox{
  background:var(--paper); border-radius:20px; padding:14px 16px; max-height:42vh; overflow:auto;
  font-size:17px; -webkit-overflow-scrolling:touch;
}
.passage{border-radius:24px; padding:18px 18px 8px; font-size:18px;}
/* a readable white panel on the deck's colour (the passage, the review notes) */
.panel, .pcard.panel{background:var(--panel);}
.pair{display:flex; gap:8px;}
@media (max-width:359px){ .foot .primary{font-size:18px;} .pair .second{font-size:16px; padding:8px 12px;} }
.pair > *{flex:1; min-width:0;}

.opts{display:flex; flex-direction:column; gap:10px; margin-top:2px;}
.opt{
  width:100%; min-height:60px; border-radius:20px; border:0; background:var(--paper); color:var(--ink);
  display:flex; align-items:center; gap:14px; padding:10px 16px; text-align:left;
  font-size:clamp(18px, 5.2vw, 20px); font-weight:500; line-height:1.3;
  transition:background-color .3s, opacity .3s, color .3s;
}
.opt .k{
  width:32px; height:32px; border-radius:50%; border:2px solid var(--keyline); flex:none;
  display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:700;
  transition:background-color .3s, border-color .3s, color .3s;
}
.opt .k .ic{width:16px; height:16px; stroke-width:3;}
.opt .ot{min-width:0; overflow-wrap:anywhere;}
.opt:disabled{cursor:default; opacity:1;}
.opt.right{background:var(--ink); color:var(--on-ink);}
.opt.right .k{border-color:var(--on-ink); background:var(--on-ink); color:var(--ink);}
.opt.wrong{background:var(--bad-bg);}
.opt.wrong .k{border-color:var(--bad-ink); background:var(--bad-ink); color:var(--on-ink);}
.opt.fade{opacity:.45;}

.feedback{font-size:17px; line-height:1.45; padding:14px 16px; border-radius:18px; background:var(--paper);}
.feedback b{display:block; font-size:19px; font-weight:600;}
.feedback p{margin:4px 0 0;}
.feedback .ansline strong{font-weight:600;}

/* the key-signature staff: a white panel in both themes, drawn larger than the old one */
.staffpanel{
  --staff:#14262B; --ink:#14262B; --dim:#4F5864; --sharp:#B4530A; --flat:#2F5DA8;
  background:var(--staffbg); color:#14262B; border-radius:16px; padding:10px 12px; margin-top:12px;
  display:flex; justify-content:center;
}
.staffpanel .staff{display:block; width:220px; max-width:100%; height:auto;}
.staffpanel.qstaff{margin-top:0; padding:14px 12px;}
.staffpanel.qstaff .staff{width:260px;}
.staffpanel.scale .staff{width:100%; max-width:340px;}

.ask{font-size:16px; text-align:center; color:var(--muted);}
.grades{display:grid; grid-template-columns:1fr 1fr; gap:8px;}
.grade{
  min-height:64px; border-radius:20px; border:0; background:var(--paper); color:var(--ink); padding:8px;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; text-align:center;
}
.grade .g{font-size:18px; font-weight:600; line-height:1.2;}
.grade .w{font-size:14px; color:var(--muted); line-height:1.25;}
.grade.again{background:var(--bad-bg);}

/* ---------- learn: the fade-out ladder ---------- */
.ladder{display:flex; align-items:center; gap:4px;}
.ladder i{display:block; width:22px; height:6px; border-radius:3px; background:var(--track);}
.ladder i.done{background:var(--now);}
.ladder i.on{background:var(--ink);}
.ladder span{margin-left:8px; font-size:14px; font-weight:500; color:var(--muted);}
.versetext{font-size:clamp(19px, 5.6vw, 22px); line-height:1.7; overflow-wrap:anywhere;}
.versetext .fl{font-weight:700; background:var(--paper); border-radius:4px; padding:0 2px;}
.versetext .blank{display:inline-block; width:1.4em; height:1em; vertical-align:baseline; border-bottom:2px solid var(--keyline);}
.answer.versefull{font-size:18px;}
.ladtable{width:100%; text-align:left;}
.ladrow{display:flex; align-items:center; gap:10px; padding:6px 0;}
.ladrow .lname{flex:1; font-size:15px;}
.ladrow .lcount{font-weight:700;}

/* ---------- finished ---------- */
.rcard{display:flex; flex-direction:column; align-items:center; text-align:center; gap:12px; width:100%;}
.donering{
  width:clamp(84px, 26vw, 112px); height:clamp(84px, 26vw, 112px); border-radius:50%;
  background:var(--ink); color:var(--on-ink); display:flex; align-items:center; justify-content:center; flex:none;
}
.donering .ic{width:48%; height:48%; stroke-width:2.4;}
.rcard .big{margin:0; font-size:clamp(30px, 9vw, 40px); line-height:1.08; font-weight:700; letter-spacing:-.02em;}
.rcard .lead{margin:0; max-width:340px;}
.stats{display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:8px; width:100%; margin-top:4px;}
.stat{background:var(--paper); border-radius:18px; padding:12px 4px; display:flex; flex-direction:column; gap:2px;}
.stat b{font-size:22px; font-weight:700; letter-spacing:-.02em; line-height:1.15;}
.stat span{font-size:12px; color:var(--muted); line-height:1.2;}
.newbadges{display:flex; flex-direction:column; gap:8px; align-items:center;}
.badgewrap{display:flex; flex-wrap:wrap; gap:8px; justify-content:center;}
.badgewrap.left{justify-content:flex-start;}
.badge-pill{font-size:14px; font-weight:600; background:var(--paper); border-radius:16px; padding:6px 12px;}
.badge-pill.new{background:var(--ink); color:var(--on-ink);}
.badge-pill.locked{opacity:.45;}

/* ---------- home ---------- */
.chips3{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:8px; margin:18px 0 4px;}
.statchip{
  border:0; background:var(--disc); color:var(--ink); border-radius:20px; padding:12px 6px; min-height:76px;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; text-align:center;
  box-shadow:0 1px 0 var(--line);
}
.statchip b{display:flex; align-items:center; gap:4px; font-size:26px; font-weight:700; letter-spacing:-.02em; line-height:1.1;}
.statchip b .ic{width:20px; height:20px; color:var(--flame);}
.statchip span{font-size:13px; font-weight:500;}

/* Each deck card wears its deck's own colour (--tint, set inline), the colour its quiz opens on.
   minmax(0,1fr): a grid column otherwise grows to its widest card's unbroken line,
   so one long deck description pushed every card past a phone's edge. */
.decklist{display:grid; grid-template-columns:minmax(0,1fr); gap:12px;}
.deck{
  display:flex; flex-direction:column; align-items:stretch; gap:6px; width:100%; min-width:0; text-align:left;
  border:0; border-radius:24px; background:var(--tint, var(--paper)); color:var(--ink); padding:14px 16px 16px;
}
.dtop{display:flex; align-items:center; gap:10px; min-height:48px;}
.demoji{
  width:44px; height:44px; border-radius:50%; background:var(--disc); flex:none;
  display:flex; align-items:center; justify-content:center; font-size:22px;
  box-shadow:0 8px 18px -10px rgba(20,38,43,.45);
}
.dcount{flex:1; min-width:0; font-size:14px; font-weight:600;}
.ddue{flex:none; display:flex; flex-direction:column; align-items:center; line-height:1; min-width:44px;}
.ddue b{font-size:34px; font-weight:700; letter-spacing:-.02em; line-height:1;}
.ddue small{font-size:13px; font-weight:600; margin-top:3px;}
.ddue.zero .ic{width:28px; height:28px; stroke-width:2.6;}
.dt{font-size:clamp(20px, 6.2vw, 24px); font-weight:700; letter-spacing:-.02em; line-height:1.15; overflow-wrap:anywhere; margin-top:2px;}
.dd{font-size:15px; line-height:1.35; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.dprog{display:flex; align-items:center; gap:10px; margin-top:4px;}
.dprog .track{flex:1; margin-top:0;}
.dp{font-size:13px; font-weight:500; white-space:nowrap;}
.track{display:block; height:6px; border-radius:3px; background:var(--track); overflow:hidden; margin-top:8px;}
.track > i{display:block; height:100%; background:var(--ink); border-radius:3px;}
.track.thick{height:8px; margin-top:12px;}
.deck .tag{color:var(--ink); background:var(--paper-hi);}
/* dark mode: the deck colours are deep, so lift them a little off the page and keep their hue */
@media (prefers-color-scheme: dark){
  .deck, .row.tinted{background-image:linear-gradient(var(--paper), var(--paper)); box-shadow:inset 0 0 0 1px var(--line);}
}
.newquiz{
  width:100%; min-height:56px; border-radius:28px; border:2px dashed var(--keyline); background:transparent; color:var(--ink);
  font-size:17px; font-weight:600; display:flex; align-items:center; justify-content:center; gap:10px; padding:8px 20px;
}
.newquiz .plus{width:28px; height:28px; border-radius:50%; background:var(--ink); color:var(--on-ink); display:flex; align-items:center; justify-content:center; font-size:20px; line-height:1;}
.topbar .round{background:var(--disc); box-shadow:0 8px 18px -10px rgba(20,38,43,.45);}
.fabroom{height:76px; flex:none;}
.fab{
  position:fixed; right:calc(18px + env(safe-area-inset-right)); bottom:calc(20px + env(safe-area-inset-bottom));
  width:60px; height:60px; border-radius:50%; border:0; background:var(--ink); color:var(--on-ink);
  font-size:30px; line-height:1; box-shadow:var(--lift); z-index:40;
}
.fab:active{transform:scale(.95);}

/* ---------- lists: scoreboard, my quizzes, review notes ---------- */
.pcard{background:var(--paper); border-radius:24px; padding:16px 18px; display:flex; flex-direction:column; gap:8px; margin-top:12px; text-align:left;}
.pcard .help{margin:0;}
.pcard.empty{align-items:stretch; text-align:center;}
.pcard.empty p{margin:4px 0; color:var(--muted);}
.lvlhead{display:flex; justify-content:space-between; align-items:baseline; gap:10px; flex-wrap:wrap;}
.lvl{font-weight:700; font-size:20px; letter-spacing:-.02em;}
.rows{display:grid; grid-template-columns:minmax(0,1fr); gap:8px;}
.row{display:flex; align-items:center; gap:14px; background:var(--paper); border-radius:20px; padding:12px 14px 12px 16px;}
.row.tinted{background-color:var(--tint);}   /* longhand: keeps the dark-mode lift's background-image */
.row.tinted .rs{color:var(--ink);}
.remoji{width:40px; height:40px; border-radius:50%; background:var(--disc); flex:none; display:flex; align-items:center; justify-content:center; font-size:22px;}
.rmeta{flex:1; min-width:0;}
.rt{font-weight:600;}
.rs{font-size:13px; color:var(--muted);}
.rnum{font-weight:700; font-size:20px; letter-spacing:-.02em;}
.mnemo{font-size:19px; font-weight:600; line-height:1.6;}
.notebody{font-size:16px; line-height:1.6;}
.keyhead{display:flex; justify-content:space-between; align-items:baseline; gap:10px;}
.keyname{font-size:20px; font-weight:700; letter-spacing:-.02em;}
.keyacc{font-weight:700;}

/* ---------- forms ---------- */
.fld{display:block; margin:18px 0 6px; font-size:15px; font-weight:600;}
.field{
  width:100%; min-height:50px; padding:12px 14px; border:1px solid var(--line); border-radius:14px;
  background:var(--field); color:var(--ink); font-size:16px;   /* 16px+: iPhone doesn't zoom in */
}
textarea.field{min-height:200px; line-height:1.5; resize:vertical;}
.field::placeholder{color:var(--muted); opacity:.8;}
.emojipick{display:flex; flex-wrap:wrap; gap:8px;}
.emojipick button{width:48px; height:48px; border-radius:50%; border:2px solid transparent; background:var(--paper); font-size:24px; padding:0;}
.emojipick button.sel{border-color:var(--ink); background:var(--paper-hi);}

/* ---------- toast, save warning, confetti ---------- */
.toast{
  position:fixed; left:50%; bottom:calc(28px + env(safe-area-inset-bottom)); transform:translate(-50%, 10px);
  background:var(--ink); color:var(--on-ink); padding:12px 20px; border-radius:22px;
  font-weight:600; font-size:15px; opacity:0; pointer-events:none; transition:opacity .25s, transform .25s; z-index:60;
  max-width:calc(100vw - 32px); text-align:center; box-shadow:var(--lift);
}
.toast.show{opacity:1; transform:translate(-50%, 0);}

/* shown once when the browser refuses to save; stays for the visit */
.savewarn{
  position:sticky; top:0; z-index:55; padding:8px 16px; padding-top:calc(8px + env(safe-area-inset-top));
  background:#9E3A2B; color:#fff; font-weight:600; font-size:16px; line-height:1.4; text-align:center;
}
.savewarn button{
  background:none; border:0; padding:0 4px; min-height:44px; color:#fff; font:inherit;
  text-decoration:underline; text-underline-offset:3px;
}

#confetti{position:fixed; inset:0; width:100%; height:100%; pointer-events:none; z-index:50;}

/* ---------- motion ---------- */
@keyframes o-rise{from{opacity:0; transform:translateY(34px) scale(.97);} to{opacity:1; transform:none;}}
@keyframes o-up{from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:none;}}
@keyframes o-pop{0%{transform:scale(.6); opacity:0;} 60%{transform:scale(1.08); opacity:1;} 100%{transform:scale(1); opacity:1;}}
@keyframes o-draw{from{stroke-dashoffset:24;} to{stroke-dashoffset:0;}}
.rise{animation:o-rise .55s cubic-bezier(.2,.7,.2,1) both;}
.fadeup{animation:o-up .35s ease both;}
.pop{animation:o-pop .6s cubic-bezier(.2,.7,.2,1) both;}
.draw{stroke-dasharray:24; animation:o-draw .4s .3s ease-out both;}
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{animation:none !important; transition:none !important; scroll-behavior:auto !important;}
}
