/* Nara, identity v4 "felt": everything on screen belongs to the same handmade world as Nara herself.
   - the world is a felt-and-wool diorama (the city, the mountain, the icons are all sewn pieces);
   - surfaces are soft and thick: a light rim on top, a ledge underneath, a soft shadow on the "table";
   - what you can press is sewn on: a dashed stitch line runs inside the big buttons;
   - one motion language: things are soft, so they squash when pressed and settle with a small bounce.
   Loaded after style.css, home.css and fix.css; it only restyles, the screens and their order stay as they are. */
html:root{
  --bg:#fbeee1; --surface:#fffaf4; --sunk:#f5e6d9;
  --line:#f1dfd1; --line-2:#e3cbbb;
  --fill:#f6e8dc; --fill-2:#ecd8c9;
  --ink:#3a1b1e; --ink-2:#6b4a47; --muted:#a38a84;
  --red:#cf2434; --red-d:#8f1322; --red-soft:#ffe2dc;
  --apr:#f3a323; --apr-d:#c27808; --apr-soft:#ffefcf;
  --sky:#3f9bd8; --sky-d:#2a72a6; --sky-soft:#e0f0fb;
  --grn:#5fa83e; --grn-d:#417f28; --grn-soft:#e6f4da;
  --plum:#9b59d0; --plum-d:#7a3fae;
  --off:#ebdcd1; --off-d:#d7c2b5; --off-ink:#b39d93;
  --lower:#fff5ea; --j-road:rgba(255,248,240,.94); --j-roadline:#d29a83; --stage:#ffe3d2;
  --f-disp:"Lalezar","Vazirmatn",system-ui,sans-serif;
  --r-xl:30px; --r-l:26px; --r-m:18px; --r-s:14px;
  --tabh:82px;
  --spring:cubic-bezier(.34,1.56,.64,1); --soft:cubic-bezier(.22,1,.36,1);
  --rim:inset 0 0 0 2px rgba(255,255,255,.9);
  --lift:0 5px 0 var(--line-2),0 18px 26px -18px rgba(120,52,40,.42);
  --felt:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5  0 0 0 0 .25  0 0 0 0 .18  0 0 0 .55 -.2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme:light;
}

/* ---------- the table everything sits on: warm cream felt ---------- */
html{background:var(--bg)}
body{background:none}
body::before{background:radial-gradient(120% 60% at 50% 0%,#ffe6d3 0%,rgba(255,230,211,0) 70%),var(--felt),var(--bg)}
body::after{-webkit-mask:none;mask:none;background:none}
body:not(.lesson)::after{inset:auto 0 0 0;height:calc(var(--tabh) + 34px + env(safe-area-inset-bottom));z-index:7;pointer-events:none;
  background:linear-gradient(to top,var(--bg) 58%,rgba(251,238,225,0))}
.lower::after,.ipanel::before{display:none}
::selection{background:#ffd3c9}

/* ---------- type: the display face for names, titles and the things you press first ---------- */
h1,h2,.brand,.wordmark,.tagline,.cta,.jhead h2,h2.sh,.trhead h1,.intro h1,.celebrate h1,.streakscr h1,.tcoach b{font-family:var(--f-disp);font-weight:400;letter-spacing:0}
h1{font-size:2rem;line-height:1.3} h2{font-size:1.45rem;line-height:1.35}
h2.sh{font-size:1.35rem;margin:10px 6px -6px;color:var(--ink)}
.brand{font-size:1.7rem;gap:8px;color:var(--red);text-shadow:0 2px 0 #fff}
.brand::before{width:30px;height:30px;border-radius:0;background:url(/art/i/nara.webp) center/contain no-repeat;box-shadow:none;margin-top:-4px}
.wordmark{font-size:4.2rem;text-shadow:0 3px 0 #fff,0 8px 14px rgba(160,40,40,.18)}
.wordmark .hy{font-family:var(--f-hy)}
.tagline{font-size:1.5rem}

/* ---------- felt icons (pictures), wherever a drawn icon used to be ---------- */
img.fi{width:1.5em;height:1.5em;object-fit:contain;vertical-align:-.36em;flex:none;-webkit-user-drag:none;user-select:none}
.em{display:inline-block}

/* ---------- buttons: soft pieces with a ledge; they squash when pressed ---------- */
button{border:0;border-radius:var(--r-m);background:linear-gradient(180deg,#fffdf9,#fbf1e6);color:var(--ink-2);
  box-shadow:inset 0 0 0 2px #fff,0 0 0 1.5px var(--line),0 5px 0 var(--line-2);
  transition:transform .12s var(--soft),box-shadow .12s var(--soft),background .15s,color .15s,filter .15s}
button:active:not([disabled]){transform:translateY(4px) scale(1.012,.97);box-shadow:inset 0 0 0 2px #fff,0 0 0 1.5px var(--line),0 1px 0 var(--line-2)}
.primary,.mic,.askmic,.trbtn.me,.node.cur,.sbicon,.cta,.tabs .fab i,.cta .go{--k:var(--red);--kd:var(--red-d)}
.green,.cta.done{--k:var(--grn);--kd:var(--grn-d)}
.sky,button.snd,.trbtn.them,.node.open,.stepbox.open .sbicon{--k:var(--sky);--kd:var(--sky-d)}
.apr,.node.done,.stepbox.done .sbicon{--k:var(--apr);--kd:var(--apr-d)}
button.primary,button.green,button.sky,button.apr,.mic,.askmic,.trbtn,.node,.sbicon,.cta,.tabs .fab i,
button.snd:not([data-slow]):not([data-lang="fa"]){
  border:0;color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.16);
  background:radial-gradient(130% 90% at 50% -10%,rgba(255,255,255,.34),rgba(255,255,255,0) 62%),
    linear-gradient(180deg,color-mix(in srgb,var(--k) 90%,#fff),var(--k) 48%,color-mix(in srgb,var(--k) 86%,#000));
  box-shadow:inset 0 1.5px 0 rgba(255,255,255,.5),inset 0 -3px 0 rgba(0,0,0,.1),0 5px 0 var(--kd),0 14px 18px -10px color-mix(in srgb,var(--kd) 65%,transparent)}
button.primary:active:not([disabled]),button.green:active:not([disabled]),button.sky:active:not([disabled]),button.apr:active:not([disabled]),
.mic:active:not([disabled]),.askmic:active:not([disabled]),.trbtn:active:not([disabled]),.node:active:not([disabled]),.cta:active:not([disabled]),
button.snd:not([data-slow]):not([data-lang="fa"]):active{transform:translateY(4px) scale(1.012,.97);
  box-shadow:inset 0 1.5px 0 rgba(255,255,255,.5),inset 0 -3px 0 rgba(0,0,0,.1),0 1px 0 var(--kd),0 4px 8px -6px color-mix(in srgb,var(--kd) 65%,transparent)}
button.big{min-height:62px;font-size:1.16rem;border-radius:22px}
button.wide.primary,button.wide.green,button.wide.apr,button.wide.sky,.cta,.trbtn{position:relative}
button.wide.primary::after,button.wide.green::after,button.wide.apr::after,button.wide.sky::after,.cta::after,.trbtn::after,.tabs .fab i::after,.sbicon::after{
  content:"";position:absolute;inset:5px;border-radius:inherit;border:2px dashed rgba(255,255,255,.45);pointer-events:none}
.sbicon{position:relative}
button.ghost{background:none;box-shadow:none;color:var(--sky-d)}
button.ghost:active:not([disabled]){transform:scale(.97);box-shadow:none}
button.small{border-radius:14px;box-shadow:inset 0 0 0 2px #fff,0 0 0 1.5px var(--line),0 3px 0 var(--line-2)}
button.small.primary,button.small.green,button.small.sky,button.small.apr{box-shadow:inset 0 1.5px 0 rgba(255,255,255,.5),0 3px 0 var(--kd)}
button[disabled]{background:var(--off)!important;color:var(--off-ink)!important;box-shadow:0 5px 0 var(--off-d)!important;text-shadow:none!important}
button[disabled]::after{display:none}
button.snd[data-slow],button.snd[data-lang="fa"]{border:0;background:linear-gradient(180deg,#fffdf9,#fbf1e6);color:var(--sky);box-shadow:inset 0 0 0 2px #fff,0 0 0 1.5px var(--line),0 4px 0 var(--line-2)}
button.snd{border-radius:16px}
button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--sky);outline-offset:3px}

/* ---------- surfaces: thick cream felt cards ---------- */
.card,.wl,.stat,.bubble,.tcard,.askbox,.st{border:0;background:var(--surface);box-shadow:var(--rim),0 0 0 1.5px var(--line),var(--lift)}
.card{border-radius:var(--r-l);padding:18px}
button.card{box-shadow:var(--rim),0 0 0 1.5px var(--line),var(--lift)}
.note{background:var(--sunk);border-radius:var(--r-m);box-shadow:inset 0 2px 0 rgba(120,60,40,.06)}
.pill{border-radius:99px;background:var(--fill);color:var(--ink-2);padding:5px 13px}
.pill.new{background:var(--apr-soft);color:var(--apr-d)} .pill.ok{background:var(--grn-soft);color:var(--grn-d)}
.pill.sug,button.pill{border:0;border-radius:99px;background:linear-gradient(180deg,#fffdf9,#fbf1e6);box-shadow:inset 0 0 0 2px #fff,0 0 0 1.5px var(--line),0 3px 0 var(--line-2)}
.pill.sug.on{background:var(--sky-soft);box-shadow:inset 0 0 0 2px var(--sky),0 3px 0 var(--sky)}
.bubble{border-radius:24px;padding:14px 18px}
.fb{border-radius:var(--r-m)}
input[type=text],input[type=email],input[type=tel],textarea{border:0;border-radius:var(--r-m);background:var(--sunk);box-shadow:inset 0 2px 0 rgba(120,60,40,.1),inset 0 0 0 1.5px var(--line-2)}
input[type=text]:focus,input[type=email]:focus,input[type=tel]:focus,textarea:focus{background:#fff;box-shadow:inset 0 0 0 2.5px var(--sky)}
select{border:0;border-radius:14px;background:linear-gradient(180deg,#fffdf9,#fbf1e6);box-shadow:inset 0 0 0 2px #fff,0 0 0 1.5px var(--line),0 3px 0 var(--line-2)}
input[type=checkbox]{background:var(--fill-2);box-shadow:inset 0 2px 0 rgba(120,60,40,.12)}
input[type=checkbox]:checked{background:var(--grn)}
label.set+label.set{border-top:2px dashed var(--line-2)}

/* ---------- top bar: the name with Nara's face, three sewn-on badges ---------- */
.topbar{padding:max(12px,env(safe-area-inset-top)) 4px 2px;align-items:center}
.chips{gap:6px}
.chip{gap:3px;font-size:1rem;font-weight:900;padding:3px 10px 3px 6px;border-radius:99px;color:var(--ink);background:var(--surface);
  box-shadow:var(--rim),0 0 0 1.5px var(--line),0 3px 0 var(--line-2)}
.chip img.fi{width:26px;height:26px;margin:-2px 0}
.chip.fire,.chip.xp,.chip.lvl{color:var(--ink)} .chip.off{color:var(--off-ink)} .chip.off img.fi{filter:grayscale(1) opacity(.55)}

/* ---------- home: Nara on the square in Yerevan ---------- */
.stage{height:384px;border-radius:36px;background:#f3c9b3 url(/art/world-city.webp) center 34%/cover;
  box-shadow:inset 0 0 0 3px rgba(255,255,255,.7),0 6px 0 #e2bfae,0 26px 34px -22px rgba(120,45,35,.6)}
.stage::before{content:"";position:absolute;inset:9px;border-radius:28px;border:2px dashed rgba(255,255,255,.7);pointer-events:none;z-index:1}
.stage::after{content:"";position:absolute;inset:auto 0 0 0;height:42%;pointer-events:none;background:linear-gradient(to top,rgba(255,236,222,.96) 8%,rgba(255,236,222,0))}
.spark{display:none}
.stage>img.nur{bottom:84px}
.podium{bottom:74px;width:150px;height:26px;background:radial-gradient(closest-side,rgba(96,30,24,.4),rgba(96,30,24,0));filter:blur(3px)}
.sbub{top:20px;right:20px;max-width:64%;border-radius:22px;padding:11px 16px;font-size:.98rem;background:var(--surface);
  box-shadow:var(--rim),0 4px 0 rgba(150,80,60,.28),0 14px 20px -10px rgba(90,30,25,.5);animation:popin .5s .25s var(--spring) both}
.sbub::after{bottom:-7px;left:38px;box-shadow:3px 3px 0 rgba(150,80,60,.22)}
.stats{left:16px;right:16px;bottom:16px;gap:10px}
.st{border-radius:20px;padding:8px 12px 8px 10px;gap:8px;box-shadow:var(--rim),0 4px 0 #e5c9b9,0 12px 16px -12px rgba(90,30,25,.5)}
.st .si{width:40px;height:40px;background:none!important}
.st .si img.fi{width:40px;height:40px}
.st small{font-size:.74rem;font-weight:800} .st b{font-size:1.2rem}

.cta{min-height:70px;border-radius:999px;padding:7px 28px 7px 9px;font-size:1.55rem;line-height:1;margin-top:-2px}
.cta::after{inset:6px}
.cta .go{position:relative;z-index:1;width:54px;height:54px;background:#fff;color:var(--red);box-shadow:inset 0 -3px 0 rgba(0,0,0,.08),0 3px 0 rgba(90,10,20,.35)}
.cta .go svg{width:26px;height:26px;animation:nudge 1.8s var(--soft) infinite}
@keyframes nudge{0%,55%,100%{transform:none}70%{transform:translateX(-5px)}85%{transform:translateX(1px)}}
.cta.done::after{display:none}
.ctasub{font-weight:800;margin-top:-4px}

/* ---------- the climb: the day's steps sewn onto Ararat ---------- */
.journey{height:690px;border-radius:36px;background:#f1c3ab url(/art/world-climb.webp) center top/cover;
  box-shadow:inset 0 0 0 3px rgba(255,255,255,.7),0 6px 0 #e2bfae,0 26px 34px -22px rgba(120,45,35,.6)}
.journey::after{content:"";position:absolute;inset:9px;border-radius:28px;border:2px dashed rgba(255,255,255,.65);pointer-events:none;z-index:1}
.journey .mtn rect,.journey .mtn circle,.journey .mtn path:not([fill="none"]){display:none}
.journey .mtn path[stroke-width="30"]{stroke-width:25px;filter:drop-shadow(0 3px 0 rgba(140,70,50,.35))}
.journey .mtn path[stroke-dasharray]{stroke-width:2.6px;stroke-dasharray:7 8}
.journey .mtn path[stroke-width="8"]{stroke-width:11px;opacity:1;stroke:var(--apr)}
.jhead{inset:16px 16px auto 16px;align-items:center;z-index:3;background:rgba(255,250,244,.92);border-radius:99px;padding:5px 18px 5px 5px;
  box-shadow:var(--rim),0 4px 0 rgba(150,80,60,.25),0 14px 20px -12px rgba(90,30,25,.45)}
.jhead>div{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;min-width:0}
.jhead h2{font-size:1.35rem;line-height:1.5}
.jhead .meta{font-size:.78rem;gap:2px 12px}
.jhead button{width:44px;height:44px;min-height:44px;border-radius:50%;background:linear-gradient(180deg,#fffdf9,#fbf1e6);border:0;box-shadow:inset 0 0 0 2px #fff,0 0 0 1.5px var(--line),0 4px 0 var(--line-2)}
.jhead button img.fi{width:30px;height:30px}
.stn{z-index:2}
.stn .node{width:72px;height:68px}
.node{box-shadow:inset 0 2px 0 rgba(255,255,255,.5),inset 0 -4px 0 rgba(0,0,0,.1),0 7px 0 var(--kd),0 16px 16px -8px rgba(90,30,25,.45)}
.node::after{content:"";position:absolute;inset:5px;border-radius:50%;border:2px dashed rgba(255,255,255,.5);pointer-events:none}
.node:active:not([disabled]){transform:translateY(6px) scale(1.02,.96)}
.stn .node.lock,.node[disabled]{--kd:#d9c2b3;background:linear-gradient(180deg,#fff7ee,#f1e0d2)!important;color:#c1a698!important;
  box-shadow:inset 0 2px 0 #fff,0 7px 0 #d9c2b3,0 16px 16px -8px rgba(90,30,25,.35)!important}
.stn .node.lock::after{border-color:rgba(190,150,130,.45)}
.node.lock img.fi{width:40px;height:40px;filter:saturate(.75)}
.stn .ring circle{stroke:#fff;stroke-width:6}
.stn.cur::before{border-color:rgba(255,255,255,.35)}
.stn .start-tip,.start-tip{border:0;border-radius:14px;padding:2px 14px;font:400 1.1rem var(--f-disp);color:var(--red);background:var(--surface);box-shadow:var(--rim),0 3px 0 rgba(150,80,60,.3),0 10px 14px -8px rgba(90,30,25,.5)}
.start-tip::after{border:0;box-shadow:2px 2px 0 rgba(150,80,60,.25)}
.slabel{font-size:.8rem;padding:3px 11px;border-radius:99px;background:rgba(255,250,244,.94);box-shadow:0 2px 0 rgba(150,80,60,.25)}
.stn.chest .node,.node.chest{width:92px;height:92px;background:none!important;box-shadow:none!important;border-radius:0;animation:bob 3.2s ease-in-out infinite}
.stn.chest .node::after{display:none}
.node.chest img.fi{width:92px;height:92px;filter:drop-shadow(0 8px 6px rgba(90,30,25,.4))}
.stn.chest.done .node img.fi{filter:drop-shadow(0 0 14px rgba(255,200,60,.95)) drop-shadow(0 8px 6px rgba(90,30,25,.4))}
@keyframes bob{50%{transform:translateY(-6px) rotate(-3deg)}}

/* the sheet under the climb */
.lower{border-radius:34px 34px 0 0;margin-top:10px;padding-top:26px}
.lower::before{display:none}
.quest{gap:16px}
.qi{width:46px;height:46px} .qi img.fi{width:46px;height:46px}
.q b{font-size:1rem}
.qd{background:none;width:34px;height:34px} .qd svg{display:none} .qd::before{content:"";width:34px;height:34px;background:url(/art/i/ok.webp) center/contain no-repeat}
.wf{width:52px;height:52px} .wf img.fi{width:52px;height:52px} .wf.off img.fi{filter:grayscale(1) opacity(.5)}
.days i{width:38px;height:38px;background:var(--fill);box-shadow:inset 0 2px 0 rgba(120,60,40,.1)}
.days .on i{background:none;box-shadow:none} .days i img.fi{width:36px;height:36px}
.days .now i{outline:0;border:2px dashed var(--apr)}

/* progress bars: a sewn band filling up */
.bar,.gbar{height:18px;background:var(--fill-2);box-shadow:inset 0 2px 0 rgba(120,60,40,.14)}
.bar>i,.gbar>i{background:linear-gradient(180deg,color-mix(in srgb,var(--grn) 86%,#fff),var(--grn));box-shadow:inset 0 -3px 0 rgba(0,0,0,.1)}
.gbar>i{background:linear-gradient(180deg,color-mix(in srgb,var(--apr) 86%,#fff),var(--apr))}
.bar>i::after,.gbar>i::after{top:4px;height:4px;background:rgba(255,255,255,.45)}

/* ---------- tab bar: a felt tray that floats above the table ---------- */
.tabs{left:10px;right:10px;bottom:calc(8px + env(safe-area-inset-bottom));max-width:540px;margin:0 auto;padding:8px 6px 6px;border:0;border-radius:30px;align-items:flex-end;
  background:var(--surface);box-shadow:var(--rim),0 0 0 1.5px var(--line),0 6px 0 var(--line-2),0 20px 28px -12px rgba(110,40,35,.5)}
.tabs button{min-height:56px;gap:1px;border:0;background:none;box-shadow:none;color:var(--muted);font-size:.74rem;font-weight:800;border-radius:20px;padding:2px;justify-content:flex-end}
.tabs button:active:not([disabled]){transform:none;box-shadow:none}
.tabs .ti{width:36px;height:36px;object-fit:contain;filter:saturate(.45) opacity(.7);transition:transform .45s var(--spring),filter .2s}
.tabs button:active .ti{transform:scale(.86)}
.tabs button.on{background:none;border:0;color:var(--red)}
.tabs button.on .ti{filter:drop-shadow(0 4px 3px rgba(120,40,30,.3));transform:translateY(-4px) scale(1.2);animation:tabpop .5s var(--spring)}
@keyframes tabpop{from{transform:translateY(0) scale(.9)}}
.tabs .fab{flex:1;width:auto;max-width:108px;height:auto;min-height:56px;margin:0 2px;padding:2px;border:0!important;border-radius:20px;background:none!important;box-shadow:none!important;
  display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:1px;color:var(--muted);overflow:visible}
.tabs .fab i{position:relative;width:64px;height:64px;margin-top:-38px;border-radius:50%;color:#fff;border:4px solid var(--surface);box-sizing:content-box;
  transition:transform .12s var(--soft),box-shadow .12s var(--soft)}
.tabs .fab i::after{inset:5px}
.tabs .fab i svg{width:30px;height:30px;position:relative;z-index:1}
.tabs .fab span{position:static;translate:none;font-size:.74rem;font-weight:800;color:inherit;margin-top:3px}
.tabs button.fab.on{background:none!important;color:var(--red)}
.tabs .fab.on span{color:var(--red)}
.tabs .fab:active{transform:none!important;box-shadow:none!important}
.tabs .fab:active i{transform:translateY(4px) scale(1.03,.95);box-shadow:inset 0 1.5px 0 rgba(255,255,255,.5),0 1px 0 var(--kd)}

/* ---------- inside a lesson ---------- */
#back{width:44px;height:44px;min-height:44px;border-radius:50%;font-size:1.05rem;color:var(--ink-2);background:linear-gradient(180deg,#fffdf9,#fbf1e6);
  box-shadow:inset 0 0 0 2px #fff,0 0 0 1.5px var(--line),0 3px 0 var(--line-2)}
#back:active{transform:translateY(3px) scale(1.02,.96)}
.ltitle{font:400 1.3rem var(--f-disp);color:var(--ink)}
.foot{border-top:0;background:linear-gradient(to top,var(--bg) 78%,rgba(251,238,225,0));padding-top:22px}
.card.word{border-radius:30px;padding:22px 20px}
.opts button,.roles button,.choices button{border-radius:20px}
.opts button.on,.choices button.on,.roles button.on,.scene.on{background:var(--sky-soft);color:var(--sky-d);box-shadow:inset 0 0 0 2.5px var(--sky),0 5px 0 var(--sky)}
.opts button.right{box-shadow:inset 0 0 0 2.5px var(--grn),0 5px 0 var(--grn)!important}
.opts button.wrong{box-shadow:inset 0 0 0 2.5px var(--red),0 5px 0 var(--red)!important}
.opts button[disabled]:not(.right):not(.wrong){box-shadow:inset 0 0 0 2px #fff,0 0 0 1.5px var(--line),0 5px 0 var(--line)!important}
.sheet{border-radius:32px 32px 0 0;box-shadow:0 -10px 30px -12px rgba(90,30,25,.35);animation:up .34s var(--spring)}
.sheet.ok{background:#e9f6dc} .sheet.bad{background:#ffe6df}
.sheet h2{font-size:1.7rem}
.sheet h2 .badge{width:44px;height:44px;background:none}
.sheet h2 .badge svg{display:none}
.sheet.ok h2 .badge{background:url(/art/i/ok.webp) center/contain no-repeat}
.sheet.bad h2 .badge{background:url(/art/i/no.webp) center/contain no-repeat}
.tile{border-radius:20px;border:0;box-shadow:0 5px 0 var(--apr-d)} .tile.g{box-shadow:0 5px 0 var(--grn-d)} .tile.r{box-shadow:0 5px 0 var(--red-d)}
.tile span{border-radius:16px;margin:0 3px 3px}
.tile img.fi{width:28px;height:28px}
.combo img.fi{width:26px;height:26px}
.bigfire{width:170px;height:170px} .bigfire img.fi{width:170px;height:170px;filter:drop-shadow(0 10px 10px rgba(150,70,10,.35))}
.bigfire b{inset:auto 0 30px;text-shadow:0 2px 0 rgba(150,60,0,.5);font-family:var(--f-disp);font-weight:400;font-size:3.2rem}
.xpb{border-radius:99px;padding:0 9px 0 5px} .xpb img.fi{width:20px;height:20px}
.seeds i{border-radius:50%}

/* ---------- conversation: the tutor, the bubbles, the microphone ---------- */
.tcoach{position:relative;display:flex;align-items:center;gap:12px;min-height:92px;padding:10px 16px 10px 12px;margin-top:20px;border-radius:28px;overflow:visible;
  background:linear-gradient(120deg,#ffd9c2,#ffc7b8 55%,#f6a9a4);box-shadow:inset 0 0 0 3px rgba(255,255,255,.6),0 5px 0 #dfa898,0 18px 24px -18px rgba(120,45,35,.6)}
.tcoach::after{content:"";position:absolute;inset:7px;border-radius:22px;border:2px dashed rgba(255,255,255,.7);pointer-events:none}
.tcoach img{width:112px;height:112px;margin:-34px 0 -10px;object-fit:contain;object-position:bottom;flex:none;filter:drop-shadow(0 6px 5px rgba(90,30,25,.3));animation:tutorIn .6s var(--spring) both}
.tcoach b{display:block;font-size:1.6rem;line-height:1.1;color:var(--ink)}
.tcoach small{display:block;font-weight:800;color:var(--ink-2);font-size:.86rem}
.tcoach .live{margin-inline-start:auto;display:flex;gap:3px;align-items:flex-end;height:22px;position:relative;z-index:1}
.tcoach .live i{width:5px;height:6px;border-radius:3px;background:var(--red);opacity:.35}
@keyframes tutorIn{from{transform:translateY(18px) scale(.9);opacity:0}}
.chat{gap:14px}
.msg{border:0;border-radius:24px;padding:12px 16px;box-shadow:var(--rim),0 0 0 1.5px var(--line),0 4px 0 var(--line-2);animation:msgIn .34s var(--spring) both;transform-origin:0 100%}
.msg.tutor{background:var(--surface);border-end-start-radius:8px}
.msg.me{background:linear-gradient(180deg,#ffe9e3,#ffdcd4);box-shadow:inset 0 0 0 2px rgba(255,255,255,.8),0 0 0 1.5px #f6c7bd,0 4px 0 #ecb3a7;border-end-end-radius:8px;transform-origin:100% 100%}
@keyframes msgIn{from{transform:scale(.86);opacity:0}}
html[data-voice] .chat .msg.tutor:not(.nurans):not(.trl){margin-left:50px;position:relative;max-width:calc(86% - 50px)}
html[data-voice] .chat .msg.tutor:not(.nurans):not(.trl)::before{content:"";position:absolute;left:-52px;bottom:-4px;width:44px;height:44px;border-radius:50%;
  background:#ffd3c2 var(--tut) center 12%/135% no-repeat;box-shadow:inset 0 0 0 2px #fff,0 3px 0 var(--line-2)}
html[data-voice="female"]{--tut:url(/art/tutor-anahit.webp)} html[data-voice="male"]{--tut:url(/art/tutor-hayk.webp)}
.dock{border-top:0;background:linear-gradient(to top,var(--bg) 80%,rgba(251,238,225,0));padding-top:22px}
.mic{width:88px;height:84px;min-height:84px;box-shadow:inset 0 2px 0 rgba(255,255,255,.5),inset 0 -4px 0 rgba(0,0,0,.1),0 7px 0 var(--kd),0 18px 20px -10px rgba(140,20,30,.6)}
.mic::after{content:"";position:absolute;inset:6px;border-radius:50%;border:2px dashed rgba(255,255,255,.5);pointer-events:none}
.dock .side{width:56px;height:56px;min-height:56px}
.dock .status.turn{border-radius:99px;box-shadow:0 3px 0 #f0d9a8}
.askbox{border-radius:24px;padding:7px}
.askmic{border-radius:16px}
.scc{border-radius:26px;min-height:104px;box-shadow:inset 0 2px 0 rgba(255,255,255,.35),0 6px 0 color-mix(in srgb,var(--c) 62%,#000),0 18px 20px -14px rgba(90,30,25,.55);
  background:radial-gradient(130% 90% at 50% -10%,rgba(255,255,255,.3),rgba(255,255,255,0) 60%),var(--c)}
.scc::after{content:"";position:absolute;inset:5px;border-radius:21px;border:2px dashed rgba(255,255,255,.4);pointer-events:none}
.scc .pic{left:2px;top:2px;transform:rotate(-8deg)} .scc .pic img.fi{width:64px;height:64px;filter:drop-shadow(0 6px 5px rgba(0,0,0,.25))}
.scene .ic img.fi{width:44px;height:44px}
.seg{border-radius:18px;background:var(--fill-2);box-shadow:inset 0 2px 0 rgba(120,60,40,.12)}
.seg button{background:none;box-shadow:none} .seg button.on{background:var(--surface);box-shadow:0 3px 0 var(--line-2)}

/* ---------- translator ---------- */
.trhead{border-radius:30px;padding:18px 18px 16px;box-shadow:inset 0 2px 0 rgba(255,255,255,.4),0 6px 0 var(--sky-d),0 20px 24px -16px rgba(30,80,120,.6);
  background:radial-gradient(130% 90% at 50% -10%,rgba(255,255,255,.3),rgba(255,255,255,0) 60%),linear-gradient(180deg,#56aee6,var(--sky))}
.trhead::after{content:"";position:absolute;inset:6px;border-radius:24px;border:2px dashed rgba(255,255,255,.45);pointer-events:none}
.trhead h1{font-size:1.9rem}
.trscenes{position:relative;z-index:1}
.trscenes .pill,.trscenes button.pill{border-radius:99px;background:rgba(255,255,255,.2);color:#fff;box-shadow:inset 0 0 0 2px rgba(255,255,255,.45),0 3px 0 rgba(0,0,0,.14)}
.trscenes .pill.on,.trscenes button.pill.on{background:#fff;color:var(--sky-d);box-shadow:0 3px 0 rgba(0,0,0,.14)}
.trscenes .pill img.fi{width:22px;height:22px}
.trbtn{border-radius:26px;min-height:98px}
.trbtn::after{inset:6px}
.trbtn.me,.trbtn.them{box-shadow:inset 0 1.5px 0 rgba(255,255,255,.5),inset 0 -3px 0 rgba(0,0,0,.1),0 6px 0 var(--kd),0 16px 18px -10px color-mix(in srgb,var(--kd) 65%,transparent)}
.showcard{background:var(--bg)}

/* ---------- words, profile ---------- */
.wl{border-radius:var(--r-l)}
.wi+.wi{border-top:2px dashed var(--line)}
.boxdots i{border-radius:4px;background:var(--fill-2)} .boxdots i.on{background:var(--apr)}
.stat{border-radius:24px;padding:14px 14px 14px 12px}
.stat .si{font-size:0;width:46px;height:46px;flex:none} .stat .si img.fi{width:46px;height:46px}
.stat b{font-size:1.45rem}

/* ---------- sheets that slide up, the tour, toasts ---------- */
.modal{background:rgba(58,20,22,.5)}
.mbox{border-radius:34px 34px 0 0;background:var(--bg);padding-top:22px;position:relative;animation:up .36s var(--spring)}
.mbox::before{content:"";position:absolute;top:9px;left:50%;width:44px;height:5px;margin-left:-22px;border-radius:5px;background:var(--line-2)}
.mhead{background:var(--bg)}
.sbicon{width:92px;height:86px}
.tcard{border-radius:26px}
.toast{border-radius:99px;background:var(--ink);box-shadow:0 5px 0 rgba(0,0,0,.25),0 16px 20px -10px rgba(0,0,0,.4)}
.nbub{border-radius:18px;box-shadow:var(--rim),0 3px 0 var(--line-2),0 12px 16px -10px rgba(90,30,25,.5)}

/* ---------- welcome and first-run screens ---------- */
.yvn{border:0;border-radius:34px;box-shadow:inset 0 0 0 3px rgba(255,255,255,.7),0 6px 0 #e2bfae,0 26px 34px -22px rgba(120,45,35,.6)}
.yvn::after{height:38%;background:linear-gradient(to top,rgba(120,40,30,.28),rgba(120,40,30,0))}
.welcome .yvn{min-height:290px}
.ipanel{border-radius:36px;box-shadow:inset 0 0 0 3px rgba(255,255,255,.6),0 6px 0 rgba(120,60,40,.18)}
.ipanel::after{content:"";position:absolute;inset:9px;border-radius:28px;border:2px dashed rgba(255,255,255,.75);pointer-events:none}
.intro .feat span{border:0;box-shadow:var(--rim),0 0 0 1.5px var(--line),0 3px 0 var(--line-2)}
.chips button{border:0}
.splash .brand{font-size:3.4rem} .splash .brand::before{width:64px;height:64px}

/* ---------- one motion language ---------- */
main>section,main>.card,main>.say,main>.trhead,main>.wl,main>.statgrid,main>.tcoach,main>h1,main>.hero{animation:settle .42s var(--soft) both}
main>:nth-child(3){animation-delay:.04s} main>:nth-child(4){animation-delay:.08s} main>:nth-child(5){animation-delay:.12s} main>:nth-child(n+6){animation-delay:.15s}
@keyframes settle{from{opacity:0;transform:translateY(10px) scale(.985)}}
@media (prefers-reduced-motion:reduce){main>*,.msg,.tcoach img,.cta .go svg,.node.chest,.sbub{animation:none!important}.tabs .ti{transition:none}}
