/* Aya app v5 (AYA_APP_V5, Matteo 2026-10-31). Loaded after asker_v4.css and
   asker_v4_brand.css. Source: design_handoff_aya_webapp (README + prototype
   aya-app.html, last rules win). Archivo only, yellow #F2FE80, ink #26252E,
   no terracotta. The brand layer hides every video and shadow; v5 brings
   back exactly the ones the handoff draws, with higher specificity. */
:root{--ink:#26252E;--ink2:#6E6C78;--mu:#9A98A3;--cr:#F4F2E8;--cr2:#F1EEE6;--line:#E6E3DA;--li:#F2FE80;--lil:#C9B7E0;--lild:#A08ABC;--page:#E9E5DA;--sh:0 10px 30px -12px rgba(38,37,46,.25);--ease:cubic-bezier(.2,.8,.2,1)}
html body.v5{background:var(--page)!important;color:var(--ink)!important;font-family:Archivo,system-ui,sans-serif}
/* Desktop: the app in a 430px column on #E9E5DA (handoff), never the QR page */
@media (min-width:701px){
  html body.v5{display:flex!important;align-items:stretch;justify-content:center;padding:0!important;min-height:100vh}
  html body.v5 .ph{display:block!important;width:430px!important;height:100vh!important;max-height:none!important;border-radius:0!important;box-shadow:0 0 0 1px rgba(38,37,46,.06)!important}
}
html body.v5 .ph .sc{font-family:Archivo,system-ui,sans-serif}
html body.v5 .ph .sc.on{animation:v5in .28s ease-out}
@keyframes v5in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
html body.v5 .ph button:active:not(:disabled),html body.v5 .ph .nx:active{transform:scale(.97)}
html body.v5 .ph .sc .sb{position:relative;z-index:3}

/* Videos and the reduced-motion still */
html body.v5 .ph video.welvid,html body.v5 .ph video.stvid,html body.v5 .ph video.homev,html body.v5 .ph video.ansv{display:block!important}
html body.v5 .ph .v5still{display:block!important}

/* ---- 1. Welcome ---- */
html body.v5 .ph #s-wel{background:#2a2622!important;color:#fff;overflow:hidden}
#s-wel .welvid,#s-story .stvid{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scale(1.14);transform-origin:50% 50%;z-index:0}
#s-wel img.welvid,#s-story img.stvid{object-fit:contain;transform:none;object-position:center 60%}
html body.v5 .ph .welsc{position:absolute;inset:0;z-index:1;background-image:linear-gradient(rgba(0,0,0,.35) 0%,rgba(0,0,0,0) 30%,rgba(0,0,0,0) 62%,rgba(0,0,0,.55) 100%)!important}
#s-wel .sb{color:#fff}
#s-wel .body{position:absolute;top:46px;left:0;right:0;bottom:0;z-index:2;padding:0 24px 44px;justify-content:flex-start;overflow:hidden}
#s-wel .welwm{flex:1;display:flex;flex-direction:column;align-items:center;padding-top:28px}
#s-wel .v5wm{font:900 110px/99px Archivo,system-ui,sans-serif;letter-spacing:-.06em;color:#fff}
#s-wel .wsub{font:700 22px Archivo,system-ui,sans-serif;color:#fff;margin-top:6px;white-space:nowrap;letter-spacing:-.02em}
html body.v5 .ph #s-wel .nx,html body.v5 .ph #s-story .nx{width:84px!important;height:84px!important;background:#fff!important;box-shadow:0 14px 30px -14px rgba(0,0,0,.5)!important}
#s-wel .welin{font:600 15px Archivo,system-ui;color:#fff;margin-top:22px}
#s-wel .welin a,#s-wel .welin b{color:#fff;font-weight:900;text-decoration:underline;text-underline-offset:3px}

/* ---- 2. Story ---- */
html body.v5 .ph #s-story{background:#2a2622!important;color:#fff;overflow:hidden}
html body.v5 .ph .stsc{position:absolute;inset:0;z-index:1;background-image:linear-gradient(rgba(0,0,0,.4) 0%,rgba(0,0,0,0) 28%,rgba(0,0,0,0) 55%,rgba(0,0,0,.6) 100%)!important}
#s-story .sb{color:#fff}
#s-story .stbars{position:relative;z-index:2;display:flex;gap:6px;padding:6px 18px 0}
#s-story .stbars i{flex:1;height:3px;border-radius:3px;background:rgba(255,255,255,.35);overflow:hidden}
#s-story .stbars i b{display:block;height:100%;width:0;background:#fff}
#s-story .stbars i.d b{width:100%}
#s-story .stbars i.c b{animation:stbar 6s linear forwards}
@keyframes stbar{from{width:0}to{width:100%}}
#s-story .stz{position:absolute;top:60px;bottom:150px;z-index:2;width:40%}
#s-story .stl{left:0}#s-story .str{right:0;width:60%}
html body.v5 .ph #s-story .stcap{position:absolute;left:45px;right:45px;bottom:138px;z-index:3;margin:0;background:#fff!important;color:var(--ink)!important;font:800 19px/1.28 Archivo,system-ui!important;letter-spacing:-.02em;text-align:center;border-radius:26px;padding:15px 20px;box-shadow:0 14px 30px -18px rgba(0,0,0,.5)!important;text-wrap:balance}
#s-story .stbot{position:absolute;left:0;right:0;bottom:0;z-index:3;display:flex;align-items:center;justify-content:space-between;padding:22px 22px 40px}
#s-story .stskip{font:600 15px Archivo,system-ui;color:#fff;opacity:.85;width:56px;text-align:left}
html body.v5 .ph #s-story .nx{width:76px!important;height:76px!important}
html body.v5 .ph #s-story .nx.last{background:var(--li)!important}

/* ---- 3-5. Number, code, name: lilac ---- */
html body.v5 .ph .sc.sg{background:var(--lil)!important;color:#fff}
html body.v5 .ph .sc.sg:before{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(40,30,70,.28) 0%,rgba(40,30,70,.06) 45%,rgba(40,30,70,.18) 100%)!important}
.sc.sg .sb{color:#fff}
html body.v5 .ph .sc.sg .bk{background:#fff!important;top:56px}
.sc.sg .body{position:relative;padding:112px 26px 44px}
html body.v5 .ph .sc.sg h2{font:900 38px/1 Archivo,system-ui!important;letter-spacing:-.04em!important;color:#fff!important;max-width:320px}
html body.v5 .ph .sc.sg .sub{color:rgba(255,255,255,.88)!important;font-size:15.5px;line-height:1.45;margin-top:14px;max-width:260px}
html body.v5 .ph .sc.sg .sub a{color:#fff}
.sc.sg .v5f{display:flex;flex-direction:column;align-items:center;width:100%;flex:1;min-height:0}
html body.v5 .ph .sc.sg .pill{width:100%;height:68px!important;border-radius:999px!important;background:#fff!important;padding:0 22px;margin-top:34px;justify-content:center;gap:8px}
html body.v5 .ph .sc.sg .pill select{height:42px;background-color:#EFEDE3!important;border-radius:999px;font:600 15px Archivo,system-ui;color:var(--ink);padding:0 12px}
html body.v5 .ph .sc.sg .pill input{font:700 21px Archivo,system-ui;color:var(--ink);text-align:left}
#s-name .pill input{text-align:center!important}
html body.v5 .ph .sc.sg .pill input::placeholder{color:#A9A6B2}
.sc.sg .hint{color:rgba(255,255,255,.88);font-size:12px;margin:12px 0}
.sc.sg .legal{font-size:13px!important;margin-top:14px!important}
.sc.sg .err{color:#fff;font-weight:700}
.sc.sg .v5sp{flex:1}
html body.v5 .ph .sc.sg .nx{width:80px!important;height:80px!important;background:#fff!important;box-shadow:0 14px 30px -16px rgba(38,37,46,.45)!important;margin-top:20px}
html body.v5 .ph .sc.sg .nx:disabled{opacity:.6}
html body.v5 .ph .sc.sg .nx:not(:disabled){background:var(--li)!important}
html body.v5 .ph .sc.sg .otp i{width:44px;height:54px;background:#fff!important;color:var(--ink)}
#s-otp .body>div:last-child{color:rgba(255,255,255,.88)!important}#s-otp .body a{color:#fff}

/* ---- 6. Home: lilac, Aya sitting video, white controls ---- */
html body.v5 .ph #s-home{background:var(--lil)!important;overflow:hidden}
#s-home .homev,#s-home .ansv{position:absolute;z-index:0;pointer-events:none}
#s-home .homev{left:41px;width:307px;top:258px;bottom:40px;height:auto;object-fit:cover;background:var(--lild);
  -webkit-mask-image:linear-gradient(to right,transparent,#000 30%,#000 70%,transparent),linear-gradient(transparent,#000 18%,#000 80%,transparent);-webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,transparent,#000 30%,#000 70%,transparent),linear-gradient(transparent,#000 18%,#000 80%,transparent);mask-composite:intersect}
#s-home img.homev{object-fit:contain;background:none}
#s-home .ansv{inset:0;width:100%;height:100%;object-fit:cover;transform:scale(1.14);opacity:0;transition:opacity .28s ease-out}
#s-home img.ansv{object-fit:contain;transform:none;object-position:center bottom}
#s-home.recording .ansv{opacity:1}#s-home.recording .homev{opacity:0}
#s-home .top{position:relative;z-index:2;padding:6px 16px;height:58px}
html body.v5 .ph #s-home .top .ib,html body.v5 .ph #s-home .stk{width:52px!important;height:52px!important;border-radius:50%!important;background:#fff!important;box-shadow:var(--sh)!important;display:grid;place-items:center;position:relative}
html body.v5 .ph #s-home #stkn{position:absolute;top:-4px;right:-4px;left:auto;min-width:22px;height:22px;border-radius:999px;padding:0 5px;background:var(--li)!important;color:var(--ink)!important;font:800 12px/22px Archivo,system-ui;box-shadow:0 0 0 2px #fff!important;text-align:center}
html body.v5 .ph #s-home #dcount{position:absolute;top:-3px;right:-3px;min-width:18px;height:18px;border-radius:9px;background:var(--li)!important;color:var(--ink)!important;font:800 10.5px Archivo,system-ui;box-shadow:0 0 0 2px #fff!important;place-items:center}
#s-home #tcar{display:none!important}
#s-home .stage{position:relative;z-index:2;flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:18px 20px 0;gap:14px}
html body.v5 .ph #s-home .qtag{background:rgba(255,255,255,.85)!important;height:36px;padding:0 8px 0 14px!important;font:600 13.5px Archivo,system-ui!important;gap:8px!important;margin:0!important;border-radius:999px!important}
#s-home .qtag span{color:#6E6B78!important;font-weight:400}#s-home .qtag b{font-weight:700!important}
html body.v5 .ph #s-home .qtag i{width:22px!important;height:22px!important;font-size:12px!important;background:var(--cr)!important}
html body.v5 .ph #s-home #q.qq{background:#fff!important;color:var(--ink)!important;font:900 24px/1.12 Archivo,system-ui!important;letter-spacing:-.04em!important;text-align:center;border-radius:26px;padding:14px 20px;margin:0 18px;max-width:300px;box-shadow:0 18px 36px -22px rgba(40,30,70,.55)!important;text-wrap:balance}
#s-home #qmeta{display:none!important}
html body.v5 .ph #s-home #wait{background:rgba(255,255,255,.92);border-radius:26px;padding:20px 18px;box-shadow:var(--sh)!important}
#s-home #after .cap{background:#fff;border-radius:22px;padding:12px 16px;font-weight:600}
html body.v5 .ph #s-home .bot{position:relative;z-index:3;height:84px;margin:0 14px 22px;padding:0 10px!important;border-radius:999px;background:#fff!important;box-shadow:0 18px 36px -20px rgba(40,30,70,.5)!important;display:flex;align-items:center;justify-content:space-between;gap:10px}
html body.v5 .ph #s-home .bot .ib{width:58px;height:58px;border-radius:50%;background:var(--cr)!important;display:grid;place-items:center}
html body.v5 .ph #s-home .bot .mic{height:58px!important;padding:0 22px!important;border-radius:999px!important;background:var(--ink)!important;color:#fff!important;font:700 16px Archivo,system-ui!important;display:flex;align-items:center;gap:8px}
#s-home .bot .mic svg{width:20px;height:20px;stroke:#fff!important}
/* Coach marks: white bubbles over the bar, dismissed on tap (remembered) */
html body.v5 .ph #s-home .coach{position:absolute;left:0;right:0;bottom:106px;height:0;z-index:5;background:none!important;display:none}
html body.v5 .ph #s-home .coach.on{display:block}
html body.v5 .ph #s-home .coach .blob{position:absolute;background:#fff!important;color:var(--ink);font:700 16px/1.2 Archivo,system-ui;padding:16px 20px;border-radius:28px 30px 26px 32px/30px 26px 32px 28px;box-shadow:0 14px 30px -14px rgba(0,0,0,.35)!important;white-space:nowrap;animation:v5blob .4s var(--ease) both}
#s-home .coach .blob:after{content:"";position:absolute;bottom:-7px;width:16px;height:16px;background:#fff;transform:rotate(45deg);border-radius:3px}
#s-home .coach .b1{left:14px;bottom:0}#s-home .coach .b1:after{left:26px}
#s-home .coach .b2{left:50%;transform:translateX(-50%);bottom:64px}#s-home .coach .b2:after{left:calc(50% - 8px)}
#s-home .coach .b3{right:16px;bottom:0}#s-home .coach .b3:after{right:60px}
@keyframes v5blob{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}
#s-home.coaching .stage,#s-home.coaching .top{filter:none!important;opacity:1!important}

/* ---- 7. Recording: call style ---- */
#s-home .callh{display:none;position:relative;z-index:2;flex-direction:column;align-items:center;text-align:center;padding:28px 40px 0;gap:6px}
#s-home.recording .callh{display:flex}
#s-home .callh b{font:800 21px/1.2 Archivo,system-ui;letter-spacing:-.03em;color:var(--ink);text-wrap:balance}
#s-home .callh span{font:500 16px Archivo,system-ui;font-variant-numeric:tabular-nums;color:var(--ink)}
html body.v5 .ph #s-home.recording .stage{visibility:hidden}
html body.v5 .ph #s-home.recording .bot{background:none!important;box-shadow:none!important;height:56px;margin:0 0 26px;padding:0 18px!important}
html body.v5 .ph #s-home.recording .recbar{display:flex;flex:1;margin:0!important;justify-content:space-between!important;align-items:center}
html body.v5 .ph #s-home.recording .recbar #tm,#s-home .live{display:none!important}
html body.v5 .ph #s-home.recording .recbar #cancel,html body.v5 .ph #s-home.recording .recbar #save{order:0;width:56px!important;height:56px!important;background:none!important;border-radius:50%}
html body.v5 .ph #s-home.recording .recbar #save{order:2}
html body.v5 .ph #s-home.recording .recbar svg{width:26px;height:26px;stroke:var(--ink)!important}
#s-home.recording #plus{display:none}

/* ---- 8. Chat: dark, blurred, Aya peeks ---- */
html body.v5 .ph #s-chat{background:#3A3358!important;color:#fff;overflow:hidden}
html body.v5 .ph #s-chat:before{content:"";position:absolute;inset:0;z-index:0;background-image:linear-gradient(rgba(38,30,62,.55),rgba(38,30,62,.35) 50%,rgba(30,24,50,.7))!important;backdrop-filter:blur(20px)}
#s-chat .sb{color:#fff}
#s-chat .chtop{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:10px 18px 6px;height:76px}
#s-chat .chl{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 13px 0 11px;border-radius:999px;background:rgba(255,255,255,.14);color:#fff;font:600 13px Archivo,system-ui;white-space:nowrap}
#s-chat .chl i{width:8px;height:8px;border-radius:50%;background:var(--li);animation:bl 1.4s infinite}
@keyframes bl{50%{opacity:.35}}
html body.v5 .ph #s-chat .chd{width:60px;height:60px;border-radius:50%;background:rgba(255,255,255,.92)!important;display:grid;place-items:center;box-shadow:0 10px 24px -16px rgba(38,37,46,.35)!important}
html body.v5 .ph #s-chat #ch{position:relative;z-index:1;padding:10px 16px 110px!important;gap:10px!important;-webkit-mask-image:linear-gradient(transparent 0,#000 90px);mask-image:linear-gradient(transparent 0,#000 90px);background:none!important}
#s-chat .cgrp{display:block}#s-chat .cgrp>div{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
html body.v5 .ph #s-chat .cgrp .bu,html body.v5 .ph #s-chat .cgrp>div>p,html body.v5 .ph #s-chat .cgrp>div>div:not(.mopts):not(.fb){position:relative;background:#fff!important;color:var(--ink)!important;font:500 17px/1.38 Archivo,system-ui!important;border-radius:28px 28px 28px 8px!important;padding:15px 20px!important;max-width:86%;margin:0}
html body.v5 .ph #s-chat .cme{align-self:flex-end;background:var(--lil)!important;color:var(--ink)!important;font:500 17px/1.38 Archivo,system-ui!important;border-radius:28px 28px 8px 28px!important;padding:15px 20px!important;max-width:86%;display:flex;align-items:center;gap:8px}
#s-chat .cme .wv i{background:var(--ink)!important}
html body.v5 .ph #s-chat .dt{background:none!important;color:rgba(255,255,255,.75)!important}
html body.v5 .ph #s-chat img.chpeek{display:block!important;position:absolute;left:22px;bottom:-140px;width:170px;z-index:1;pointer-events:none;filter:drop-shadow(0 0 24px rgba(255,255,255,.35));transform:rotate(-.2deg)}
html body.v5 .ph #s-chat .cbb{position:relative;z-index:3;padding:8px 14px 26px!important;background:none!important}
html body.v5 .ph #s-chat .cin{flex:1;height:62px!important;border-radius:999px!important;background:#fff!important;display:flex;align-items:center;gap:4px;padding:0 7px 0 22px!important}
html body.v5 .ph #s-chat .cin input{font:500 17px Archivo,system-ui!important;color:var(--ink);background:none!important}
html body.v5 .ph #s-chat .cin input::placeholder{color:#8C8A94}
html body.v5 .ph #s-chat .cmic{width:48px!important;height:48px!important;background:var(--ink)!important;border-radius:50%}
html body.v5 .ph #s-chat .cmic svg{stroke:var(--li)!important;width:22px;height:22px}
html body.v5 .ph #s-chat .cmic.rec{background:var(--li)!important}html body.v5 .ph #s-chat .cmic.rec svg{stroke:var(--ink)!important}

/* Sheets slide up 320ms, backdrop rgba(38,37,46,.35) */
html body.v5 .ph .sht{transition:transform .32s var(--ease)!important;border-radius:30px 30px 0 0!important}
html body.v5 .ph .dim.on{background:rgba(38,37,46,.35)!important}

@media (prefers-reduced-motion:reduce){
  html body.v5 .ph *{animation:none!important;transition:none!important}
  #s-story .stbars i.c b{width:100%}
}
@media (max-width:700px){html body.v5 .ph .sc.sg .pill input{font-size:21px!important}html body.v5 .ph #s-chat .cin input{font-size:17px!important}}
html body.v5 .ph .sc.sg .pill input{font-size:21px!important}

/* ===== PR B: diary, week, invite, stories, book, settings, topics, spaces, locked ===== */
/* Display type: Archivo 900, tight (handoff), not the v4 Archivo 400 */
html body.v5 .ph h2,html body.v5 .ph .hdr h3,html body.v5 .ph .lkh h2,html body.v5 .ph .ttl,html body.v5 .ph .pkt,html body.v5 .ph .lkt,html body.v5 .ph .sht h3{font-family:Archivo,system-ui,sans-serif!important;font-weight:900!important;letter-spacing:-.04em!important;color:var(--ink)!important}
html body.v5 .ph h2 em,html body.v5 .ph h3 em{font-family:Archivo,system-ui,sans-serif!important;font-style:normal!important;font-weight:900!important}
html body.v5 .ph .hdr h3{font-size:24px!important}
html body.v5 .ph .lkt{font-weight:500!important;letter-spacing:-.03em!important}
html body.v5 .ph .sc.lib,html body.v5 .ph #s-diary,html body.v5 .ph #s-top,html body.v5 .ph #s-topin{background:#F4F2E8!important}
html body.v5 .ph .hdr .ib,html body.v5 .ph .lkh .bk,html body.v5 .ph #s-topin .top .ib{background:#fff!important;width:34px;height:34px;border-radius:50%}
/* Primary actions on these screens: ink pill, white text (prototype) */
html body.v5 .ph #s-lock .lkb,html body.v5 .ph #s-book .cta:not(.lt),html body.v5 .ph #s-top .cta,html body.v5 .ph #s-room .inv,html body.v5 .ph #s-inv #inok,html body.v5 .ph #s-plus .pkg{background:var(--ink)!important;color:#fff!important}
html body.v5 .ph #s-lock .lkb svg,html body.v5 .ph #s-room .inv svg{stroke:#fff!important}
html body.v5 .ph .lkart i{background:var(--ink)!important}html body.v5 .ph .lkart i svg{stroke:#fff!important}
html body.v5 .ph .lkart i:nth-of-type(even){background:var(--ink)!important}
/* Diary rows: 56px rounded thumbnail, small yellow play badge */
html body.v5 .ph #dlist .it{background:#fff!important;border-radius:22px!important;align-items:center}
html body.v5 .ph #dlist .it .pl,html body.v5 .ph #dlist .it .pth{width:56px!important;height:56px!important;border-radius:16px!important}
html body.v5 .ph #dlist .it b{font-weight:700;color:var(--ink)}
html body.v5 .ph #dlist .it small{color:var(--mu)}
html body.v5 .ph .dfl button,html body.v5 .ph #lf button{border-radius:999px!important;background:#fff!important;color:var(--ink)!important;font-weight:600}
html body.v5 .ph .dfl button.on,html body.v5 .ph #lf button.on{background:var(--ink)!important;color:#fff!important}
/* Settings: selected days ink */
html body.v5 .ph #s-set .days button.on{background:var(--ink)!important;color:#fff!important}
/* Topics: theme card ink */
html body.v5 .ph #s-top .mth{background:var(--ink)!important}
html body.v5 .ph #s-top .mth,html body.v5 .ph #s-top .mth *{color:#fff!important}
html body.v5 .ph #s-top .mth small{color:rgba(255,255,255,.6)!important}
html body.v5 .ph #s-topin .ch2,html body.v5 .ph #s-topin .rb{background:var(--ink)!important}
/* Who / spaces: rows on cream, no character in the room */
html body.v5 .ph #s-room img.aya,html body.v5 .ph #s-inv img{display:none!important}
html body.v5 .ph #s-who img,html body.v5 .ph #s-topin img{display:block!important;margin-left:auto;margin-right:auto}
html body.v5 .ph #s-who .op{background:#F4F2E8!important}
html body.v5 .ph #s-who .nx:disabled,html body.v5 .ph #s-spname .nx:disabled{background:#B9B7BF!important;opacity:1}
/* Overline labels */
html body.v5 .ph .v5ov{display:block;font:700 12px Archivo,system-ui;letter-spacing:.12em;text-transform:uppercase;color:var(--ink2)}
html body.v5 .ph .v5as{margin:6px 0 0;text-align:center;color:var(--ink2)}
/* Your week sheet */
html body.v5 .ph .v5wk .skh{display:grid!important;grid-template-columns:1fr auto;grid-template-rows:auto auto;padding:26px 24px 4px!important;row-gap:4px}
html body.v5 .ph .v5wk .skh .v5ov{display:block!important;grid-column:1;grid-row:1}
html body.v5 .ph .v5wk .skh .skp{display:block!important;grid-column:1;grid-row:2;font:900 30px/1.05 Archivo,system-ui!important;letter-spacing:-.04em!important;white-space:nowrap}
html body.v5 .ph .v5wk .skh .skx{display:grid!important;grid-column:2;grid-row:1/3;align-self:center;width:40px;height:40px;border-radius:50%;place-items:center;background:var(--cr2)!important}
html body.v5 .ph .v5wk .skb{padding:22px 24px 26px!important;display:flex;flex-direction:column;gap:22px}
html body.v5 .ph .v5wk .skw{display:flex;justify-content:space-between}
html body.v5 .ph .v5wk .skw span{display:flex;flex-direction:column;align-items:center;gap:6px;font:700 12px Archivo,system-ui;color:var(--mu)}
html body.v5 .ph .v5wk .skw span.t{color:var(--ink)}
html body.v5 .ph .v5wk .skw i{width:34px;height:34px;border-radius:50%;background:var(--cr2)!important;border:0;display:grid;place-items:center}
html body.v5 .ph .v5wk .skw .d i{background:var(--li)!important}
html body.v5 .ph .v5wk .skw .d i:after{content:"✓";font:900 15px Archivo,system-ui;color:var(--ink);font-style:normal}
html body.v5 .ph .v5wk .skw .t i{box-shadow:inset 0 0 0 2px var(--ink)!important;background:#fff!important}
html body.v5 .ph .v5wk .skw .t.d i{background:var(--li)!important}
html body.v5 .ph .v5wk .skg{display:grid;grid-template-columns:1fr 1fr;gap:10px}
html body.v5 .ph .v5wk .skg>div{background:var(--cr)!important;border-radius:20px!important;padding:16px;display:flex;flex-direction:column;gap:4px}
html body.v5 .ph .v5wk .skg b{font:900 30px/1 Archivo,system-ui!important;letter-spacing:-.04em;color:var(--ink)!important}
html body.v5 .ph .v5wk .skg span{font:600 13px Archivo,system-ui;color:var(--ink2)!important}
html body.v5 .ph .v5ch>div{display:flex;justify-content:space-between;font:600 14px Archivo,system-ui;color:var(--ink2);margin-bottom:8px}
html body.v5 .ph .v5ch b{color:var(--ink);font-weight:700}
html body.v5 .ph .v5ch p{margin:0;height:8px;border-radius:8px;background:var(--cr2)}
html body.v5 .ph .v5ch p i{display:block;height:100%;border-radius:8px;background:var(--ink)}
html body.v5 .ph .v5wk .skf{margin:0;text-align:center;color:var(--ink2)!important;font-size:14px}
/* Invite sheet */
html body.v5 .ph .sht .ihd h3{font-size:30px!important;line-height:1.05}
html body.v5 .ph .sht .chips button{background:#fff!important;box-shadow:inset 0 0 0 1.5px var(--line)!important;color:var(--ink)!important;font-weight:600}
html body.v5 .ph .sht .chips button.on{background:var(--li)!important;box-shadow:inset 0 0 0 1.5px var(--ink)!important}
html body.v5 .ph .sht .fld,html body.v5 .ph .sht .tel select{background:#fff!important;border:1.5px solid var(--line)!important;border-radius:16px!important}
html body.v5 .ph .sht #isend:disabled{opacity:.45!important}
/* Entry sheet: yellow voice player */
html body.v5 .ph .sht .vn,html body.v5 .ph .sht .ply{background:var(--li)!important;border-radius:999px!important}
html body.v5 .ph .sht .v5meta{margin:0 0 6px;font:600 13px Archivo,system-ui;color:var(--mu)!important}
html body.v5 .ph .sht h3.v5q{font-size:26px!important;line-height:1.1;margin:0 0 14px}
html body.v5 .ph .sht .v5acts{display:flex;gap:8px;margin-top:14px}
html body.v5 .ph .sht .v5acts .cta{flex:1;min-width:0;height:50px;font-size:15px!important;padding:0 10px}
html body.v5 .ph .sht .v5acts .cta.lt{background:var(--cr)!important}
html body.v5 .ph #s-diary .dfl{display:flex;gap:8px;padding:4px 16px 12px;overflow-x:auto}
html body.v5 .ph #s-diary .dfl button{height:36px;padding:0 14px;flex:none;font-size:14px}

button.wbell{font:inherit;color:inherit;border:0;cursor:pointer}
button.wbell:active{transform:scale(.97)}
/* Matteo 2026-11-01 picture: week pill, diary feature card, "Chiedi della tua famiglia" chat */
#s-home .top .tsp{flex:1}
#s-home .wkp{display:flex;align-items:center;gap:8px;height:46px;padding:0 10px 0 16px;border:0;border-radius:999px;background:#fff;cursor:pointer;box-shadow:0 10px 30px -12px rgba(38,37,46,.25)}
#s-home .wkp b{font:900 20px Archivo,system-ui;letter-spacing:-.04em;color:#26252E;display:block!important}
#s-home .wkp span{display:flex;gap:4px}
#s-home .wkp i{width:22px;height:22px;border-radius:50%;background:#F1EEE6;display:grid;place-items:center}
#s-home .wkp i.ok{background:#F2FE80}
#s-diary .dtop{display:flex;justify-content:space-between;padding:8px 18px 0}
#s-diary .dtop .ib{background:#fff!important;width:50px!important;height:50px!important}
#s-diary .dttl{margin:18px 20px 12px;font:900 40px/1 Archivo,system-ui;letter-spacing:-.05em;color:#26252E}
#s-diary .dfl{padding:0 20px 14px!important;display:flex;gap:8px}
#s-diary .dfl button{height:38px;padding:0 16px;border-radius:999px;background:transparent!important;border:1.5px solid #E6E3DA!important;color:#6E6C78!important;font:700 14px Archivo,system-ui}
#s-diary .dfl button.on{background:#F2FE80!important;border-color:#26252E!important;color:#26252E!important}
#s-diary .dfeat{background:#fff;border-radius:24px;padding:16px;display:flex;flex-direction:column;gap:12px;cursor:pointer;margin-bottom:6px}
#s-diary .dfh{display:flex;align-items:center;gap:10px}
#s-diary .dfh i{width:32px;height:32px;border-radius:50%;background:#E4DCF5;display:grid;place-items:center;font:800 14px Archivo,system-ui;font-style:normal}
#s-diary .dfh b{font:700 16px Archivo,system-ui}#s-diary .dfh small{margin-left:auto;font-size:13px;color:#7A7884}
#s-diary .dfq{margin:0;font:700 17px/1.3 Archivo,system-ui;letter-spacing:-.02em;color:#26252E}
#s-diary .dfeat img{width:100%;height:170px;object-fit:cover;border-radius:16px}
#s-diary .dfp{display:flex;align-items:center;gap:12px}
#s-diary .dfp b{width:40px;height:40px;border-radius:50%;background:#F2FE80;display:grid;place-items:center;flex:none}
#s-diary .dfp span{flex:1;height:3px;background:repeating-linear-gradient(90deg,#26252E 0 3px,transparent 3px 7px)}
#s-diary .dfp small{font-size:13px;color:#6E6C78}
#s-diary .dft{margin:0;font-size:15px;line-height:1.4;color:#6E6C78}
#s-diary .list .it{background:transparent!important;box-shadow:none!important}
#s-chat{background:#2E2B3A!important}#s-chat:before{display:none!important}
#s-chat .chc{width:50px;height:50px;border-radius:50%;background:#fff;border:0;display:grid;place-items:center;cursor:pointer}
#s-chat .chl{background:rgba(0,0,0,.35)!important;height:42px!important;padding:0 16px!important;font:700 14px Archivo,system-ui!important}
#s-chat .chtop .chd{width:50px!important;height:50px!important}
html body.v5 .ph #s-chat img.chpeek{width:80px!important;left:40px!important;bottom:84px!important}
#s-chat .cin .csend{width:44px;height:44px;border:0;background:none;display:grid;place-items:center;cursor:pointer;flex:none}
#s-chat.lt{background:#F4F2E8!important}#s-chat.lt .chl{color:#26252E!important;background:#fff!important}
html body.v5 #s-home .wkp #stkn{position:static!important;background:none!important;box-shadow:none!important;min-width:0!important;height:auto!important;padding:0!important;font:900 20px Archivo,system-ui!important;line-height:1!important}
html body.v5 #s-diary h1.dttl{font-weight:900!important;letter-spacing:-.05em!important}
html body.v5 #s-chat #cmic{width:44px!important;height:44px!important;flex:none;border:0;cursor:pointer;display:grid;place-items:center}
html body.v5 #s-chat.typing #cmic,html body.v5 #s-chat:not(.typing) .csend{display:none!important}
html body.v5 #s-chat #ch{padding-bottom:190px!important}
html body.v5 .ph #s-chat img.chpeek{bottom:70px!important;width:64px!important;z-index:0!important}
html body.v5 .ph #s-chat .ch{position:relative;z-index:2;margin-bottom:96px!important;padding-bottom:20px!important}
/* Home as Matteo's picture 2026-11-01: whole Aya on the pedestal, plain chip, wide question */
html body.v5 .ph #s-home .homev{left:50%!important;width:300px!important;transform:translateX(-50%)!important;top:auto!important;bottom:118px!important;height:360px!important;object-fit:cover!important;-webkit-mask:radial-gradient(closest-side,#000 70%,transparent 100%)!important;mask:radial-gradient(closest-side,#000 70%,transparent 100%)!important}
html body.v5 .ph #s-home .qtag{background:rgba(255,255,255,.55)!important;padding:0 14px!important}
html body.v5 .ph #s-home .qtag span,html body.v5 .ph #s-home .qtag b{color:#26252E!important;font-weight:700!important}
html body.v5 .ph #s-home .qtag i{background:none!important;width:auto!important;font-style:normal}
html body.v5 .ph #s-home #q.qq{max-width:none!important;align-self:stretch;margin:0 4px!important;padding:22px 20px!important;font-size:26px!important;border-radius:30px!important}
/* Home, two states (Matteo picture 2026-11-01b) */
html body.v5 #s-home .wkp #stkn small{font:500 16px Archivo,system-ui;color:#6E6C78;letter-spacing:0}
html body.v5 #s-home .wkp i{width:26px;height:26px}
html body.v5 .ph #s-home #q.qq{background:none!important;box-shadow:none!important;padding:0 6px!important;font-size:30px!important;line-height:1.08!important;border-radius:0!important}
html body.v5 .ph #s-home #q.qq:after{display:none!important}
html body.v5 #s-home:not(.noq) #qmeta{display:block!important;font:500 15px Archivo,system-ui;color:#55544F;margin-top:-4px}
html body.v5 #s-home .qtag{background:rgba(255,255,255,.6)!important}
#s-home #askl{display:none;flex:1;border:0;background:none;font:500 17px Archivo,system-ui;color:#6E6C78;cursor:pointer}
html body.v5 #s-home:not(.noq):not(.recording) #idle #chat{display:none!important}
html body.v5 #s-home:not(.noq):not(.recording) #idle{flex:1}
html body.v5 #s-home:not(.noq):not(.recording) #idle .mic{flex:1;height:60px!important;font-size:18px!important}
html body.v5 #s-home .mic svg{stroke:#F2FE80!important}
html body.v5 #s-home.noq #askl{display:block}
html body.v5 #s-home.noq #idle .mic{display:none!important}
html body.v5 #s-home.noq .qtag{display:none!important}
html body.v5 #s-home #wait{background:none!important;box-shadow:none!important;padding:0!important;gap:14px!important}
html body.v5 #s-home #wait h2{font:900 40px/1.02 Archivo,system-ui!important;letter-spacing:-.05em!important;color:#26252E!important;margin:0!important}
html body.v5 #s-home #wait p{margin:0;font:500 17px Archivo,system-ui;color:#55544F}
html body.v5 #s-home #wait .wpill{background:rgba(255,255,255,.6)!important;font:500 16px Archivo,system-ui;color:#26252E}
html body.v5 #s-home #wait .wpill i{background:#F2FE80!important;box-shadow:0 0 0 1.5px #26252E}
#s-home .wgo{display:inline-flex;align-items:center;gap:10px;height:56px;padding:0 26px;border:0;border-radius:999px;background:#26252E;color:#fff;font:700 17px Archivo,system-ui;cursor:pointer;margin-top:4px}
#s-home .wgo span{color:#F2FE80;font-size:22px;font-weight:400}
html body.v5 .ph section#s-home div#wait.wait,html body.v5 .ph section#s-home div#wait{background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border:0!important}
/* Di cosa parliamo? (Matteo picture 2026-11-01) */
html body.v5 .ph #s-pick{background:#C9B7E0!important}
html body.v5 #s-pick .pkh{padding:10px 20px 0!important;align-items:stretch!important}
#s-pick .pkr{display:flex;align-items:center;gap:12px}
html body.v5 #s-pick .pkr .x{position:static!important;width:56px!important;height:56px!important;background:#fff!important;border-radius:50%}
html body.v5 #s-pick .seg{background:rgba(255,255,255,.5)!important;padding:5px!important}
html body.v5 #s-pick .seg button{height:44px!important;padding:0 20px!important;color:#55544F!important;font:600 16px Archivo,system-ui!important}
html body.v5 #s-pick .seg button.on{background:#fff!important;color:#26252E!important}
html body.v5 #s-pick #pkt{text-align:center!important;font:900 34px/1.05 Archivo,system-ui!important;letter-spacing:-.05em!important;margin:30px 0 0!important;padding:0!important}
html body.v5 #s-pick #pks{text-align:center;margin:8px auto 0;font-size:14px;color:#55544F;max-width:30ch}
html body.v5 #s-pick .car{padding:56px 24px 10px!important;gap:16px!important;flex:none!important;align-items:flex-start!important}
html body.v5 #s-pick .pk.tc{flex:0 0 76%!important;position:relative!important;overflow:visible!important;background:#EBE3F3!important;border-radius:30px!important;padding:44px 22px 20px!important;min-height:330px;display:flex!important;flex-direction:column!important;gap:16px!important;justify-content:flex-start!important;box-shadow:none!important}
html body.v5 #s-pick .pk.tc.sel{background:#F2FE80!important;box-shadow:0 24px 40px -26px rgba(40,30,70,.5)!important}
#s-pick .tch{position:absolute;left:50%;top:-44px;transform:translateX(-50%);width:130px;height:72px;overflow:hidden;display:block}
html body.v5 #s-pick .tch img{display:block!important;width:130px!important;height:auto!important;max-height:none!important;margin:0!important;filter:drop-shadow(0 10px 14px rgba(40,30,70,.25))}
html body.v5 #s-pick .tct{align-self:flex-start;background:rgba(255,255,255,.7);border-radius:999px;padding:8px 14px;font:700 15px Archivo,system-ui!important;letter-spacing:0!important;text-transform:none!important;color:#26252E!important}
html body.v5 #s-pick .pk.tc p{margin:0!important;font:900 28px/1.1 Archivo,system-ui!important;letter-spacing:-.04em!important;color:#26252E!important;flex:1}
html body.v5 #s-pick .pk.tc p:before{content:"\201C"}html body.v5 #s-pick .pk.tc p:after{content:"\201D"}
#s-pick .tcf{display:flex;align-items:center;justify-content:space-between}
html body.v5 #s-pick .pk.tc .ch2{margin:0!important;height:52px!important;padding:0 24px!important;background:#26252E!important;color:#fff!important;font:700 17px Archivo,system-ui!important;border-radius:999px!important}
html body.v5 #s-pick .dots{margin-top:6px!important}
html body.v5 #s-pick .dots i{width:8px;height:8px;background:rgba(38,37,46,.25)!important}
html body.v5 #s-pick .dots i.on{width:26px;border-radius:4px;background:#26252E!important}
html body.v5 #s-pick .pkb{margin:auto 16px 22px!important;padding:8px 8px 8px 24px!important;background:#fff!important}
html body.v5 #s-pick .pkb span{display:flex;flex-direction:column;gap:2px}
html body.v5 #s-pick .pkb small{font:500 15px Archivo,system-ui;color:#6E6C78}
html body.v5 #s-pick .pkb b{font:800 19px Archivo,system-ui;color:#26252E}
html body.v5 #s-pick .pkb .ib{width:62px!important;height:62px!important;background:#F1EEE6!important}
html body.v5 #s-pick .pkb .pkm{background:#26252E!important}
html body.v5 #s-pick .pk.tc,html body.v5 #s-pick .pk.tc p{text-align:left!important}
html body.v5 #s-pick .tch,html body.v5 #s-pick .tch img{background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}
html body.v5 #s-pick .pk.tc{min-height:380px}
html body.v5 #s-pick .tch{-webkit-mask:radial-gradient(ellipse 50% 60% at 50% 45%,#000 80%,transparent 100%);mask:radial-gradient(ellipse 50% 60% at 50% 45%,#000 80%,transparent 100%)}
html body.v5 #s-pick .pk.tc{min-height:0!important;padding:36px 20px 18px!important;gap:12px!important;flex:0 0 72%!important}
html body.v5 #s-pick .pk.tc p{font-size:22px!important;line-height:1.12!important;flex:none!important;min-height:100px}
html body.v5 #s-pick .car{padding-top:46px!important}
html body.v5 #s-pick .pk.tc .ch2{height:44px!important;font-size:15px!important;padding:0 18px!important}
html body.v5 #s-pick .tct{font-size:13px!important;padding:6px 12px}
html body.v5 #s-pick .tch{top:-38px;width:110px;height:60px}
html body.v5 #s-pick .tch img{width:110px!important}
html body.v5 #s-pick #pkt{font-size:30px!important;margin-top:22px!important}
/* Spaces + invite (Matteo pictures 2026-11-01) */
html body.v5 .ph .sc.v5f{background:#FAF8F3!important;color:#26252E}
.v5f.on{display:flex!important;flex-direction:column}
.v5fb{display:flex;justify-content:space-between;padding:14px 22px 0;flex:none}
html body.v5 .v5f .ib.v5bk{width:52px!important;height:52px!important;background:#EBE3F3!important;border-radius:50%}
.v5fbody{flex:1;display:flex;flex-direction:column;align-items:stretch;padding:24px 22px 28px;text-align:center;min-height:0}
html body.v5 .v5fbody h2{margin:0!important;font:900 32px/1.05 Archivo,system-ui!important;letter-spacing:-.045em!important;color:#26252E!important;text-wrap:balance}
html body.v5 .v5fbody .sub{margin:12px auto 0!important;font-size:15.5px!important;color:#4F4D58!important;max-width:30ch}
.v5opts{display:flex;flex-direction:column;gap:10px;margin-top:28px}
html body.v5 .v5opts .op{display:flex!important;align-items:center;gap:14px;text-align:left;background:#fff!important;border-radius:26px!important;padding:16px!important;box-shadow:0 0 0 1.5px #ECE8E0 inset!important;border:0}
html body.v5 .v5opts .op>i{width:46px;height:46px;border-radius:50%;background:#EBE3F3;display:grid;place-items:center;flex:none}
html body.v5 .v5opts .op b{font:800 18px Archivo,system-ui;display:block}
html body.v5 .v5opts .op small{font-size:14px;color:#4F4D58}
html body.v5 .v5opts .op .ck{margin-left:auto;width:28px;height:28px;border-radius:50%;box-shadow:0 0 0 1.5px #CFCBD6 inset;display:grid;place-items:center;flex:none;background:#fff}
html body.v5 .v5opts .op.on{background:#C9B7E0!important;box-shadow:none!important}
html body.v5 .v5opts .op.on>i{background:#fff}
html body.v5 .v5opts .op.on .ck{background:#26252E!important;box-shadow:none}
.v5cta{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:60px;border:0;border-radius:999px;background:#26252E;color:#fff;font:700 17px Archivo,system-ui;cursor:pointer;flex:none}
.v5cta:disabled{opacity:.35}
.v5cta .pl{color:#F2FE80;font-size:24px;font-weight:400}
.v5later{display:block;align-self:center;margin-top:14px;background:none;border:0;font:600 15px Archivo,system-ui;color:#26252E;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.v5name{display:flex;align-items:center;gap:14px;margin-top:28px;background:#fff;border-radius:28px;padding:12px 16px;box-shadow:0 0 0 2px #C9B7E0 inset}
.v5name i{width:46px;height:46px;border-radius:50%;background:#C9B7E0;display:grid;place-items:center;flex:none}
html body.v5 .v5name input{flex:1;min-width:0;border:0;outline:0;background:none;font:800 19px Archivo,system-ui;color:#26252E}
.v5lock{display:flex;gap:8px;align-items:flex-start;text-align:left;margin:16px 14px 0;font-size:13.5px;line-height:1.45;color:#4F4D58}
.v5lock svg{flex:none;margin-top:2px}
.v5room{flex:1;display:flex;flex-direction:column;padding:22px 22px 28px;min-height:0}
.v5room .rtag{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;background:#F2C9AE;border-radius:999px;padding:6px 12px;font:700 13.5px Archivo,system-ui}
html body.v5 .v5room h1{margin:12px 0 0;font:900 34px/1.05 Archivo,system-ui!important;letter-spacing:-.045em!important;text-align:left}
.v5room .rcard{margin-top:20px;background:#EBE3F3;border-radius:28px;overflow:hidden}
html body.v5 .v5room .seats{position:static!important;display:flex!important;justify-content:space-around;padding:18px 10px 14px!important;gap:6px!important;flex-wrap:nowrap}
html body.v5 .v5room .seat{display:flex;flex-direction:column;align-items:center;gap:6px;font:600 13.5px Archivo,system-ui;color:#26252E;width:70px;background:none;border:0;padding:0;cursor:pointer}
html body.v5 .v5room .seat i{position:relative;width:62px!important;height:62px!important;border-radius:50%;display:grid;place-items:center;font:800 22px Archivo,system-ui;font-style:normal;background:#fff;border:0!important}
html body.v5 .v5room .seat.me i{background:#C9B7E0;box-shadow:0 0 0 3px #fff}
html body.v5 .v5room .seat.em{color:#6E5A9A}
html body.v5 .v5room .seat.em i b{position:absolute;right:-4px;bottom:-2px;width:24px;height:24px;border-radius:50%;background:#26252E;color:#F2FE80;display:grid;place-items:center;font:700 16px/1 Archivo,system-ui}
.v5room .rcard p{margin:0;padding:10px;border-top:1px solid rgba(38,37,46,.08);text-align:center;font:600 13.5px Archivo,system-ui;color:#4F4D58}
.v5room .rempty{margin-top:auto;padding-top:40px;text-align:center}
html body.v5 .v5room .rempty h2{margin:0!important;font:900 30px/1.1 Archivo,system-ui!important;letter-spacing:-.04em!important}
.v5room .rempty p{margin:10px auto 0;max-width:32ch;font-size:15px;line-height:1.45;color:#4F4D58}
html body.v5 .v5room .v5cta{margin-top:26px}
html body.v5 #sht .inv5 .ihd{display:flex;align-items:flex-start}
html body.v5 #sht .inv5 h3{font:900 28px/1.05 Archivo,system-ui!important;letter-spacing:-.04em}
html body.v5 #sht .inv5 .ix{width:44px;height:44px;border-radius:50%;background:#EBE3F3;border:0;display:grid;place-items:center;flex:none;cursor:pointer}
html body.v5 #sht .inv5 .v5ov{color:#6E5A9A!important}
html body.v5 #sht .inv5 #rel button{background:#fff!important;border:1.5px solid #E6E3DA!important}
html body.v5 #sht .inv5 #rel button.on{background:#C9B7E0!important;border-color:#C9B7E0!important;color:#26252E!important}
html body.v5 #sht .inv5 #iname:focus,html body.v5 #sht .inv5 #inum:focus{border-color:#C9B7E0!important}
html body.v5 #sht .inv5 #isend{display:flex;align-items:center;justify-content:center;gap:10px;background:#26252E!important;color:#fff!important}
html body.v5 #sht .inv5 #isend:disabled{opacity:.35}
html body.v5 #sht{background:#FAF8F3!important}
html body.v5 .ph #s-who .v5opts button.op{background:#fff!important}
html body.v5 .ph #s-who .v5opts button.op.on{background:#C9B7E0!important;box-shadow:none!important}
html body.v5 .ph #s-room .v5room .seat.me i{background:#C9B7E0!important}
/* Cream app (Matteo pictures 2026-11-01c): cream pages, lilac only as accent */
html body.v5 .ph section#s-home.sc,html body.v5 .ph section#s-home.sc:not(.recording){background:#FAF8F3!important}
html body.v5 .ph #s-home .top .ib,html body.v5 .ph #s-home .wkp{background:#F1EEE6!important;box-shadow:none!important}
html body.v5 #s-home .wkp i{background:#fff}
html body.v5 .ph #s-home .homev{border-radius:50%;width:320px!important;height:320px!important;bottom:130px!important;-webkit-mask:radial-gradient(circle closest-side,#000 97%,transparent 100%)!important;mask:radial-gradient(circle closest-side,#000 97%,transparent 100%)!important}
html body.v5 .ph #s-home .qtag,html body.v5 #wait .wpill{background:#F1EEE6!important}
html body.v5 .ph #s-home .bot{background:#F1EEE6!important;box-shadow:none!important}
html body.v5 .ph #s-home .bot .ib{background:#fff!important}
html body.v5 .ph #s-pick{background:#FAF8F3!important}
html body.v5 #s-pick .seg{background:#F1EEE6!important}
html body.v5 #s-pick .pkr .x{background:#F1EEE6!important}
html body.v5 #s-pick .pk.tc{background:#fff!important;box-shadow:0 0 0 1.5px #ECE8E0 inset!important}
html body.v5 #s-pick .pk.tc.sel{background:#C9B7E0!important;box-shadow:none!important}
html body.v5 #s-pick .pkb{box-shadow:0 0 0 1.5px #ECE8E0 inset!important}
html body.v5 #s-chat #ch .row.me .bu{background:#C9B7E0!important;color:#26252E!important}
html body.v5 #s-chat .chl{background:rgba(0,0,0,.3)!important}
html body.v5 .ph #s-room .v5room .rcard{background:#fff!important;box-shadow:0 0 0 1.5px #ECE8E0 inset}
html body.v5 .ph #s-room .v5room .seat.em i{background:#F6F4EF!important;box-shadow:0 0 0 1.5px #D9D5CE inset}
html body.v5 .ph #s-room .v5room .seat.em{color:#26252E}
html body.v5 .ph .v5f .ib.v5bk{background:#F1EEE6!important}
html body.v5 .v5name{box-shadow:0 0 0 2px #26252E inset!important}
html body.v5 #sht .inv5 #iname{border-color:#26252E!important}
/* Settings as Matteo picture 2026-11-01c */
html body.v5 .ph #s-set{background:#F4F2EC!important}
html body.v5 #s-set .v5bk{background:#fff!important;width:56px!important;height:56px!important;border-radius:50%}
html body.v5 h1.v5pt{margin:22px 22px 10px;font:900 40px/1 Archivo,system-ui!important;letter-spacing:-.05em!important;color:#26252E}
html body.v5 #setl{padding:8px 18px 30px!important;gap:16px!important}
html body.v5 #setl .grp{background:#fff!important;border-radius:28px!important;padding:20px 22px 6px!important}
html body.v5 #setl .grp>h4{font:800 13px Archivo,system-ui!important;letter-spacing:.16em!important;color:#7A7884!important;margin:0 0 4px!important}
html body.v5 #setl .rw{padding:18px 0!important;border-bottom:1px solid #EFECE6!important}
html body.v5 #setl .rw:last-child{border-bottom:0!important}
html body.v5 #setl .rw b{font:600 17px Archivo,system-ui!important}
html body.v5 #setl .rw em{font:500 16px Archivo,system-ui!important;color:#7A7884!important}
html body.v5 #setl .tg{width:58px!important;height:34px!important;background:#ECEAE4!important}
html body.v5 #setl .tg.on{background:#26252E!important}
html body.v5 #setl .tg:after{width:26px!important;height:26px!important;top:4px!important;left:4px!important}
html body.v5 #setl .tg.on:after{left:28px!important;background:#F2FE80!important}
/* Diary timeline (Matteo picture 2026-11-01c) */
html body.v5 .ph #s-diary{background:#F4F2EC!important}
html body.v5 #s-diary .dtop .ib{width:56px!important;height:56px!important}
#s-diary .dttlr{display:flex;align-items:baseline;justify-content:space-between;padding-right:22px}
#s-diary #dcnt{font:500 16px Archivo,system-ui;color:#7A7884}
#s-diary .dq{margin:0 20px 12px;height:48px;border-radius:999px;border:0;padding:0 18px;font:500 16px Archivo,system-ui;background:#fff}
html body.v5 #s-diary .dfl button{background:#fff!important;border:1.5px solid #E6E3DA!important;color:#26252E!important;height:46px!important;padding:0 20px!important;font:600 16px Archivo,system-ui!important}
html body.v5 #s-diary .dfl button.on{background:#26252E!important;border-color:#26252E!important;color:#fff!important}
html body.v5 #s-diary .list{padding:0 20px 30px!important;gap:12px!important}
#s-diary .dmon{margin:10px 0 2px;font:800 13px Archivo,system-ui;letter-spacing:.16em;color:#7A7884}
#s-diary .drow{display:flex;gap:14px;align-items:flex-start;cursor:pointer}
#s-diary .ddate{width:44px;flex:none;text-align:center;padding-top:16px}
#s-diary .ddate b{display:block;font:900 30px/1 Archivo,system-ui;letter-spacing:-.04em;color:#26252E}
#s-diary .ddate small{font:500 14px Archivo,system-ui;color:#7A7884}
#s-diary .dcard{flex:1;min-width:0;background:#fff;border-radius:24px;padding:16px 18px;display:flex;flex-direction:column;gap:10px}
#s-diary .dtag{align-self:flex-start;background:#F1EEE6;border-radius:999px;padding:5px 12px;font:700 13px Archivo,system-ui;color:#26252E}
#s-diary .dq2{margin:0;font:800 18px/1.25 Archivo,system-ui;letter-spacing:-.02em;color:#4A4855}
#s-diary .dtx{margin:0;font:500 15px/1.45 Archivo,system-ui;color:#55544F}
#s-diary .dcard img{width:100%;height:150px;object-fit:cover;border-radius:16px}
#s-diary .dpl{display:flex;align-items:center;gap:10px}
#s-diary .dpl b{width:42px;height:42px;border-radius:50%;background:#26252E;display:grid;place-items:center;flex:none;cursor:pointer}
#s-diary .dpl span{width:70px;height:16px;background:repeating-linear-gradient(90deg,#26252E 0 3px,transparent 3px 7px);-webkit-mask:linear-gradient(#000,#000) center/100% 60% no-repeat}
#s-diary .dpl small{font:500 14px Archivo,system-ui;color:#55544F}
/* Ti scrivo io (Matteo picture 2026-11-01c) */
html body.v5 .ph #s-sched{background:#26252E!important}
#s-sched.on{display:flex!important;flex-direction:column}
#s-sched .schtop{display:flex;justify-content:space-between;align-items:center;padding:14px 18px 0;position:relative;z-index:2}
#s-sched .schp{display:flex;align-items:center;gap:12px;background:#fff;border-radius:999px;padding:6px 20px 6px 6px;font:600 16px Archivo,system-ui;color:#26252E}
#s-sched .schp b{width:38px;height:38px;border-radius:50%;background:#F2FE80;display:grid;place-items:center;font:900 18px Archivo,system-ui}
#s-sched .schl{height:50px;padding:0 20px;border-radius:999px;border:0;background:rgba(255,255,255,.12);color:#fff;font:700 16px Archivo,system-ui;cursor:pointer}
#s-sched .scha{flex:none;height:200px;display:flex;justify-content:center;overflow:hidden;margin-top:-6px}
html body.v5 #s-sched .scha img{display:block!important;width:260px;height:auto;max-height:none}
#s-sched .schc{flex:1;margin:-10px 14px 16px;background:#FAF8F3;border-radius:32px;padding:30px 20px 20px;display:flex;flex-direction:column;align-items:center;text-align:center;position:relative}
#s-sched .schw{position:absolute;top:-18px;display:inline-flex;align-items:center;gap:6px;background:#C9B7E0;border-radius:999px;padding:8px 16px;font:700 15px Archivo,system-ui;color:#26252E}
html body.v5 #s-sched h2{margin:6px 0 0!important;font:900 36px/1 Archivo,system-ui!important;letter-spacing:-.05em!important;color:#26252E!important}
#s-sched .schc>p{margin:12px 0 0;font:500 16px/1.4 Archivo,system-ui;color:#55544F;max-width:28ch}
#s-sched .schd{display:flex;gap:5px;margin-top:22px}
#s-sched .schd button{width:42px;height:42px;border-radius:50%;border:0;background:#F1EEE6;font:700 13px Archivo,system-ui;color:#26252E;cursor:pointer}
#s-sched .schd button.on{background:#26252E;color:#F2FE80}
#s-sched .scht{display:flex;align-items:center;gap:14px;margin-top:16px;font:500 16px Archivo,system-ui;color:#55544F}
#s-sched .scht select{height:46px;border:0;border-radius:14px;background:#F1EEE6;padding:0 14px;font:800 19px Archivo,system-ui;color:#26252E}
/* Storie (Matteo 2026-11-01): cards like the diary, coloured people, dark tabs */
html body.v5 .ph #s-sto{background:#F4F2EC!important}
html body.v5 #s-sto .hdr .ib{background:#fff!important;width:52px!important;height:52px!important}
html body.v5 #s-sto .pfh{padding:70px 20px 6px!important}
html body.v5 #s-sto .pfh h1{font:900 36px/1.02 Archivo,system-ui!important;letter-spacing:-.05em!important;color:#26252E!important}
html body.v5 #s-sto .pfh>p{font:500 15px Archivo,system-ui;color:#7A7884}
html body.v5 #s-sto .stt2 button{background:#fff!important;color:#26252E!important;height:40px!important;padding:0 16px!important;font:600 15px Archivo,system-ui!important;border:1.5px solid #E6E3DA!important}
html body.v5 #s-sto .stt2 button.on{background:#26252E!important;color:#fff!important;border-color:#26252E!important}
html body.v5 #s-sto .ppl2{gap:14px!important;margin-top:18px!important}
html body.v5 #s-sto .ppl2 i{width:56px!important;height:56px!important;font:800 20px Archivo,system-ui!important;color:#26252E!important;box-shadow:none!important}
html body.v5 #s-sto .ppl2 button.on i{box-shadow:0 0 0 3px #26252E!important}
html body.v5 #s-sto .ppl2 small{font:600 13px/1.2 Archivo,system-ui!important;color:#26252E!important}
html body.v5 #s-sto .ppl2 .ad i{background:#F6F4EF!important;box-shadow:0 0 0 1.5px #CFCBC4 inset!important;font-weight:400!important}
html body.v5 #s-sto .pfl{padding:8px 20px 30px!important;gap:12px!important}
#s-sto .pst5{background:#fff;border-radius:24px;padding:16px 18px;display:flex;flex-direction:column;gap:10px}
#s-sto .w5{display:flex;align-items:center;justify-content:space-between}
#s-sto .ptag{border-radius:999px;padding:5px 12px;font:700 13px Archivo,system-ui;color:#26252E}
#s-sto .w5 small{font:500 13px Archivo,system-ui;color:#7A7884}
#s-sto .q5{margin:0;font:800 19px/1.25 Archivo,system-ui;letter-spacing:-.02em;color:#26252E}
#s-sto .pl5{display:flex;align-items:center;gap:10px}
#s-sto .pl5>button[data-story]{width:44px;height:44px;border-radius:50%;border:0;background:#26252E;display:grid;place-items:center;cursor:pointer;flex:none}
#s-sto .pl5 span{flex:1;height:16px;background:repeating-linear-gradient(90deg,#26252E 0 3px,transparent 3px 7px);opacity:.75}
#s-sto .pl5 small{font:500 14px Archivo,system-ui;color:#55544F}
html body.v5 #s-sto .pl5 .plk{width:44px;height:44px;border-radius:50%;border:0;background:#F1EEE6!important;font-size:20px;padding:0;display:grid;place-items:center}
html body.v5 #s-sto .pl5 .plk.on{background:#F2C9AE!important}
#s-sto .seal5{display:flex;gap:8px;align-items:center;margin:0;background:#F1EEE6;border-radius:14px;padding:10px 12px;font:500 14px Archivo,system-ui;color:#55544F}
html body.v5 #s-sto .pwt{background:#fff!important;border:1.5px dashed #CFCBC4!important;border-radius:24px!important}
html body.v5 #s-sto .pfh{padding-top:96px!important}
html body.v5 .ph #s-sto .ppl2 button:nth-child(1) i{background:#C9B7E0!important}
html body.v5 .ph #s-sto .ppl2 button:nth-child(5n+2):not(.ad) i{background:#FFD0B0!important}
html body.v5 .ph #s-sto .ppl2 button:nth-child(5n+3):not(.ad) i{background:#CFE6F2!important}
html body.v5 .ph #s-sto .ppl2 button:nth-child(5n+4):not(.ad) i{background:#E6F2C2!important}
html body.v5 .ph #s-sto .ppl2 button:nth-child(5n+5):not(.ad) i{background:#F7C8D6!important}
html body.v5 .ph #s-sto .ppl2 button:nth-child(5n+6):not(.ad) i{background:#D8CDEE!important}
html body.v5 #s-sto .pl5 span{display:block!important;min-width:60px}
/* Libro, Percorso, Mamma, Locked, Plan in the cream style (Matteo 2026-11-01) */
html body.v5 .ph #s-book,html body.v5 .ph #s-path,html body.v5 .ph #s-mom,html body.v5 .ph #s-lock,html body.v5 .ph #s-plus{background:#F4F2EC!important}
html body.v5 #s-book .hdr,html body.v5 #s-mom .hdr{flex-direction:column;align-items:flex-start!important;padding:14px 22px 6px!important;gap:20px!important}
html body.v5 #s-book .hdr .ib,html body.v5 #s-mom .hdr .ib,html body.v5 #s-path .pth .ib,html body.v5 #s-lock .bk{background:#fff!important;width:52px!important;height:52px!important;border-radius:50%}
html body.v5 #s-book .hdr h3,html body.v5 #s-mom .hdr h3,html body.v5 #s-lock h2,html body.v5 #s-path .pth h2{font:900 36px/1 Archivo,system-ui!important;letter-spacing:-.05em!important;color:#26252E!important}
html body.v5 #s-book .chp,html body.v5 #s-mom .mst,html body.v5 #s-path .pen{background:#fff!important;border-radius:24px!important;box-shadow:none!important;border:0!important}
html body.v5 #s-path .pen{margin:0 18px 12px}
html body.v5 #s-book .book{background:#C9B7E0!important}
html body.v5 #s-book .bar2,html body.v5 #s-path .ps i{background:#E6E3DA!important}
html body.v5 #s-book .bar2 i,html body.v5 #s-path .ps i.f{background:#26252E!important}
html body.v5 #s-path .pth h2 em{background:#C9B7E0!important;color:#26252E!important}
html body.v5 #s-path .pfa i[style]{background:#F2FE80!important}
html body.v5 #s-plus .pk{background:#C9B7E0!important}
html body.v5 #s-plus .pkg,html body.v5 #s-lock .lkb,html body.v5 #s-mom #mominv{background:#26252E!important;color:#fff!important;height:60px!important;border-radius:999px!important}
html body.v5 #s-lock .lkart i{background:#C9B7E0!important}html body.v5 #s-lock .lkart i:nth-of-type(even){background:#26252E!important}
html body.v5 #s-plus .pkpl button{background:#fff!important}html body.v5 #s-plus .pkpl button.on{box-shadow:0 0 0 2px #26252E inset!important}
/* Ti scrivo io: Aya whole and below the pill, no focus ring, card sized to content */
html body.v5 #s-sched .scha{flex:1 1 auto;min-height:0;height:auto;margin-top:12px;align-items:flex-end;overflow:visible}
html body.v5 #s-sched .scha img{width:auto!important;height:100%!important;max-height:300px!important;object-fit:contain}
html body.v5 #s-sched .schc{flex:none;margin-top:-6px}
html body.v5 #s-sched .schc>span[style*="flex:1"]{flex:none!important;height:26px}
html body.v5 #s-sched button:focus{outline:none}
html body.v5 #s-sched button:focus-visible{outline:2px solid #C9B7E0;outline-offset:2px}
/* Chi vede cosa (Matteo picture 2026-11-01) */
#sht .cvc{display:flex;flex-direction:column}
#sht .cvh{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
html body.v5 #sht .cvh h3{margin:0;font:900 30px/1 Archivo,system-ui!important;letter-spacing:-.045em}
html body.v5 #sht .cvh .ix{width:46px;height:46px;border-radius:50%;background:#F1EEE6;border:0;display:grid;place-items:center;cursor:pointer}
#sht .cvr{display:flex;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid #EFECE6}
#sht .cvr:last-of-type{border-bottom:0;margin-bottom:18px}
#sht .cvr i{width:52px;height:52px;border-radius:50%;background:#F1EEE6;display:grid;place-items:center;flex:none}
#sht .cvr i.l{background:#C9B7E0}
#sht .cvr b{display:block;font:800 17px Archivo,system-ui;color:#26252E}
#sht .cvr small{font:500 15px/1.35 Archivo,system-ui;color:#55544F}
html body.v5 .v5room .seat .wtp{background:#F1EEE6;border-radius:999px;padding:3px 10px;font:700 12px Archivo,system-ui;color:#55544F}
/* Di cosa parliamo: as Matteo picture 2026-11-01 (big centred card, tilted Aya head with spark) */
html body.v5 #s-pick .pkr{justify-content:flex-start}
html body.v5 #s-pick .seg{margin:0 auto 0 30px!important}
html body.v5 #s-pick #pkt{margin-top:26px!important;font-size:36px!important}
html body.v5 #s-pick .car{flex:1 1 auto!important;align-items:center!important;padding:70px 48px 10px!important;gap:20px!important;scroll-padding:0 48px}
html body.v5 #s-pick .pk.tc{flex:0 0 100%!important;min-height:360px!important;padding:44px 22px 22px!important;scroll-snap-align:center}
html body.v5 #s-pick .pk.tc p{font-size:27px!important;line-height:1.1!important;flex:1!important}
html body.v5 #s-pick .tct{font-size:15px!important;padding:8px 14px!important;background:rgba(255,255,255,.75)!important}
html body.v5 #s-pick .tch{top:-74px!important;width:140px!important;height:86px!important;transform:translateX(-50%) rotate(-9deg)!important;-webkit-mask:none!important;mask:none!important;border-radius:26px 26px 0 0}
html body.v5 #s-pick .tch img{width:140px!important}
html body.v5 #s-pick .pk.tc:before{content:"";position:absolute;left:calc(50% + 70px);top:-96px;width:34px;height:34px;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34' fill='none' stroke='%2326252E' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M6 12L11 4M14 18l13-4M15 25l11 5'/%3E%3C/svg%3E")}
html body.v5 #s-pick .pk.tc .ch2{height:52px!important;font-size:17px!important;padding:0 24px!important}
html body.v5 #s-pick .dots{padding:18px 0 10px!important}
html body.v5 #s-pick .tch{height:70px!important;top:-62px!important;border-radius:28px!important;overflow:hidden!important;width:128px!important}
html body.v5 #s-pick .tch img{width:140px!important;margin-left:-6px!important;margin-top:-2px!important}
html body.v5 #s-pick .pk.tc:before{top:-84px;left:calc(50% + 62px)}
html body.v5 #s-pick .pk.tc .tct{background:#F1EEE6!important}
html body.v5 #s-pick .pk.tc.sel .tct{background:rgba(255,255,255,.7)!important}
/* Photo added (Matteo picture 2026-11-01 "Foto caricata") */
html body.v5 .ph section#s-home.hp,html body.v5 .ph section#s-home.hp.recording{background:#FAF8F3!important}
html body.v5 #s-home.hp:before,html body.v5 #s-home.hp:after{display:none!important}
html body.v5 #s-home.hp #homev,html body.v5 #s-home.hp #ansv{display:none!important}
html body.v5 #s-home.hp .top{opacity:1!important;pointer-events:auto!important}
html body.v5 #s-home.hp .qtag,html body.v5 #s-home.hp #qmeta,html body.v5 #s-home.hp .callh b{display:none!important}
html body.v5 #s-home.hp .stage{justify-content:flex-start!important;padding:10px 22px 0!important;gap:24px!important;overflow:visible!important}
html body.v5 #s-home.hp #phc{display:block!important;order:1;width:250px!important;height:250px!important;border-radius:28px!important;background-size:cover!important;background-position:center!important;box-shadow:0 0 0 7px #fff,0 26px 40px -24px rgba(38,37,46,.55)!important;transform:rotate(-3deg)!important;opacity:1!important;margin:16px auto 0!important;flex:none}
html body.v5 #s-home.hp #q.qq,html body.v5 #s-home.hp.recording #q,html body.v5 #s-home.hp.iq #q{display:block!important;order:2;position:relative;align-self:stretch;margin:0 0 0 62px!important;text-align:left!important;background:#fff!important;border:1.5px solid #ECE8E0!important;border-radius:24px!important;padding:14px 18px!important;font:800 20px/1.2 Archivo,system-ui!important;letter-spacing:-.02em!important;color:#4A4855!important;box-shadow:none!important;max-width:none!important}
html body.v5 #s-home.hp #q.qq:before{content:"";position:absolute;left:-62px;top:0;width:48px;height:48px;border-radius:50%;background:#C9B7E0 url(/static/v5/aya-cutout.png) center 6%/100% auto no-repeat}
html body.v5 #s-home.hp #q.qq:after{display:none!important}
html body.v5 #s-home.hp.recording .callh{display:flex!important;flex-direction:row!important;position:absolute;left:50%;bottom:112px;transform:translateX(-8px);padding:0!important;z-index:4;color:#26252E!important}
html body.v5 #s-home.hp.recording .callh span{font:800 17px Archivo,system-ui!important;color:#26252E!important;opacity:1!important}
html body.v5 #s-home.hp.recording #live{display:flex!important;position:absolute!important;left:50%;bottom:108px;transform:translateX(-118px)!important;height:26px!important;width:110px!important;margin:0!important;background:none!important;box-shadow:none!important;padding:0 0 0 22px!important;gap:3px!important;overflow:hidden;z-index:4}
html body.v5 #s-home.hp.recording #live:before{content:"";position:absolute;left:0;top:8px;width:11px;height:11px;border-radius:50%;background:#D9534F}
html body.v5 #s-home.hp.recording #live i{background:#26252E!important;width:3px!important;max-height:22px!important;transform:none!important}
html body.v5 #s-home.hp.recording .bot{background:#F1EEE6!important;border-radius:999px!important;margin:0 18px 26px!important;padding:8px!important;box-shadow:none!important}
html body.v5 #s-home.hp.recording #recbar{display:flex!important;justify-content:space-between!important;align-items:center}
html body.v5 #s-home.hp.recording #recbar:before{content:"Ti ascolto…";order:1;font:600 17px Archivo,system-ui;color:#55544F}
html body.v5 #s-home.hp.recording #tm{display:none!important}
html body.v5 #s-home.hp.recording #cancel,html body.v5 #s-home.hp.recording #save{width:62px!important;height:62px!important;border-radius:50%!important;background:#fff!important}
html body.v5 #s-home.hp.recording #cancel{order:0}html body.v5 #s-home.hp.recording #save{order:2}
html body.v5 #s-home.hp.recording #save svg *{stroke:#E3EE5A!important;stroke-width:3!important}
html body.v5 #s-home.hp.recording #cancel svg *{stroke:#26252E!important}
html body.v5 #ph section#s-home.hp video#ansv,html body.v5 #ph section#s-home.hp video#homev{display:none!important;opacity:0!important}
html body.v5 #ph section#s-home.hp #stage #phc{display:block!important;visibility:visible!important}
html body.v5 #ph section#s-home.hp #stage #q{display:block!important;visibility:visible!important}
html body.v5 #ph section#s-home.hp #askl,html body.v5 #ph section#s-home.recording #askl{display:none!important}
html body.v5 #ph section#s-home.hp.recording #recbar{flex:1}
html body.v5 #ph section#s-home.hp #ansv,html body.v5 #ph section#s-home.hp #homev{display:none!important;opacity:0!important}
html body.v5 #ph section#s-home.hp #stage{flex:1 1 auto!important;justify-content:flex-start!important;padding-top:6px!important;min-height:0}
html body.v5 #ph section#s-home.hp #tcar,html body.v5 #ph section#s-home.hp #wait,html body.v5 #ph section#s-home.hp #after{display:none!important}
html body.v5 #ph section#s-home.hp .ansv,html body.v5 #ph section#s-home.hp .homev{display:none!important;opacity:0!important}
html body.v5 #ph section#s-home.hp.recording #live{display:flex!important;visibility:visible!important;opacity:1!important}
html body.v5 #ph section#s-home.hp #q.qq:before{background-size:190% auto!important;background-position:center 3%!important}
html body.v5 #ph section#s-home.hp #stage{position:static!important}
html body.v5 #ph section#s-home.hp.recording #live{position:absolute!important;top:auto!important;bottom:108px!important;left:50%!important;transform:translateX(-118px)!important}
/* Side menu (Matteo picture 2026-11-01) */
html body.v5 #drw.drw{background:#FAF8F3!important;border-radius:0 34px 34px 0!important;padding:28px 18px 18px!important;width:300px!important;gap:4px!important}
#drw .dlogo{display:flex;align-items:center;justify-content:space-between;margin:0 0 18px 6px}
#drw .dlogo b{font:900 38px/1 Archivo,system-ui;letter-spacing:-.06em;color:#26252E}
html body.v5 #drw .dx{width:52px!important;height:52px!important;border-radius:50%!important;background:#F1EEE6!important;display:grid!important;place-items:center;padding:0!important}
html body.v5 #drw>button[data-m]:not(.sm){font:800 19px Archivo,system-ui!important;letter-spacing:-.02em;padding:13px 14px!important;border-radius:18px;gap:16px!important}
html body.v5 #drw>button.dcur{background:#F1EEE6!important}
html body.v5 #drw>button[data-m] svg{width:22px!important;height:22px!important;stroke-width:1.9!important}
#drw .dov{margin:22px 6px 6px;font:800 13px Archivo,system-ui;letter-spacing:.16em;text-transform:uppercase;color:#26252E}
html body.v5 #drw .dspc,html body.v5 #drw .dnew{display:flex!important;align-items:center;gap:14px!important;padding:8px 6px!important;text-align:left}
html body.v5 #drw .dspc i,html body.v5 #drw .dnew i{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;flex:none}
html body.v5 #drw .dnew i{background:#fff;box-shadow:0 0 0 1.5px #D9D5CE inset}
html body.v5 #drw .dspc b,html body.v5 #drw .dnew b{display:block;font:800 17px Archivo,system-ui;color:#26252E}
html body.v5 #drw .dnew b{font-weight:600;color:#55544F}
html body.v5 #drw .dspc small,html body.v5 #drw .dnew small{font:500 14px Archivo,system-ui;color:#7A7884}
html body.v5 #drw .dspc.cur{background:none!important}
html body.v5 #drw .nwrap{margin-top:auto!important;border-top:1px solid #EAE7E0;padding-top:10px}
html body.v5 #drw .ntg,html body.v5 #drw [data-m="set"]{font:600 18px Archivo,system-ui!important;padding:12px 8px!important}
html body.v5 #drw .prog{display:flex!important;flex-direction:column;align-items:flex-start;gap:4px;margin-top:10px!important;background:#F1EEE6;border-radius:20px;padding:14px 16px!important;border:0;text-align:left;width:100%;cursor:pointer}
html body.v5 #drw .prog b{font:800 16px Archivo,system-ui;color:#26252E}
html body.v5 #drw .prog span{font:600 14px Archivo,system-ui;color:#55544F}
html body.v5 #drw .prog div{width:100%;height:6px;border-radius:6px;background:#E3E0D8!important;margin-top:8px}
html body.v5 #drw .prog div i{display:block;min-width:24px;height:100%;border-radius:6px;background:#26252E!important}
html body.v5 #sperr{margin:12px 0 0;font:600 14px Archivo,system-ui;color:#B5462F;text-align:left;padding-left:8px}
html body.v5 .v5cta:focus{outline:none}
/* Matteo pictures 2026-11-01d: lilac Home + photo, peeking Aya on topics, Storie timeline */
html body.v5 #ph section#s-home.sc:not(.recording),html body.v5 #ph section#s-home.hp,html body.v5 #ph section#s-home.hp.recording{background:#C9B7E0!important}
html body.v5 #ph #s-home .top .ib,html body.v5 #ph #s-home .wkp{background:#FAF8F3!important}
html body.v5 #ph #s-home .qtag,html body.v5 #ph #s-home #wait .wpill{background:rgba(255,255,255,.6)!important}
html body.v5 #ph #s-home .homev{-webkit-mask:radial-gradient(circle closest-side,#000 97%,transparent 100%)!important;mask:radial-gradient(circle closest-side,#000 97%,transparent 100%)!important;filter:brightness(1.08)}
html body.v5 #ph #s-home .bot,html body.v5 #ph #s-home.hp.recording .bot{background:#FAF8F3!important}
html body.v5 #ph #s-home .bot .ib,html body.v5 #ph #s-home.hp.recording #cancel{background:#fff!important}
html body.v5 #ph #s-home.hp #q.qq{margin:0!important;text-align:center!important;border:0!important;color:#4A4855!important}
html body.v5 #ph #s-home.hp #q.qq:before{display:none!important}
html body.v5 #ph #s-home.hp #phc{position:relative;overflow:visible!important}
html body.v5 #ph #s-home.hp #phc:after{content:"";position:absolute;right:-46px;top:-96px;width:150px;height:130px;background:url(/static/v5/aya-cutout.png) center top/120px auto no-repeat;transform:rotate(3deg);filter:drop-shadow(0 12px 16px rgba(40,30,70,.3));clip-path:inset(0 0 0 0)}
html body.v5 #ph #s-home.hp.recording #save{background:#26252E!important}
html body.v5 #ph #s-home.hp.recording #save svg *{stroke:#F2FE80!important}
html body.v5 #s-pick .tch{width:150px!important;height:auto!important;top:-90px!important;overflow:visible!important;border-radius:0!important;transform:translateX(-50%)!important}
html body.v5 #s-pick .tch img{width:150px!important;margin:0!important;filter:drop-shadow(0 10px 14px rgba(40,30,70,.2))}
html body.v5 #s-pick .pk.tc:before{top:-104px;left:calc(50% + 66px)}
html body.v5 #s-pick .car{padding-top:96px!important}
html body.v5 .ph #s-sto.tl{background:#F4F2EC!important}
#s-sto.tl .scr{padding:0 20px 30px!important;gap:12px!important}
#s-sto .tlh{display:flex;align-items:baseline;justify-content:space-between;margin-top:8px}
html body.v5 #s-sto .tlh h1{margin:0;font:900 40px/1 Archivo,system-ui;letter-spacing:-.05em;color:#26252E}
#s-sto .tlh span{font:600 16px Archivo,system-ui;color:#7A7884}
#s-sto .tlf{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:6px 0 4px}
#s-sto .tlf button{flex:none;height:46px;padding:0 20px;border-radius:999px;border:1.5px solid #E6E3DA;background:#fff;font:600 16px Archivo,system-ui;color:#26252E;cursor:pointer;white-space:nowrap}
#s-sto .tlf button.on{background:#26252E;color:#fff;border-color:#26252E}
#s-sto .dmon{margin:10px 0 2px;font:800 13px Archivo,system-ui;letter-spacing:.16em;color:#7A7884}
#s-sto .drow{display:flex;gap:14px;align-items:flex-start}
#s-sto .ddate{width:44px;flex:none;text-align:center;padding-top:16px}
#s-sto .ddate b{display:block;font:900 30px/1 Archivo,system-ui;letter-spacing:-.04em;color:#26252E}
#s-sto .ddate small{font:500 14px Archivo,system-ui;color:#7A7884}
#s-sto .dcard{flex:1;min-width:0;background:#fff;border-radius:24px;padding:16px 18px;display:flex;flex-direction:column;gap:10px}
#s-sto .tlw{display:flex;align-items:center;gap:10px}
#s-sto .dtag{border-radius:999px;padding:5px 12px;font:700 13px Archivo,system-ui;color:#26252E}
#s-sto .tlw small{font:500 14px Archivo,system-ui;color:#7A7884;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#s-sto .dq2{margin:0;font:800 18px/1.25 Archivo,system-ui;letter-spacing:-.02em;color:#4A4855}
#s-sto .dtx{margin:0;font:500 15px/1.45 Archivo,system-ui;color:#55544F}
#s-sto .dpl{display:flex;align-items:center;gap:10px}
#s-sto .dpl b{width:42px;height:42px;border-radius:50%;background:#26252E;display:grid;place-items:center;flex:none;cursor:pointer}
#s-sto .dpl span{width:70px;height:16px;background:repeating-linear-gradient(90deg,#26252E 0 3px,transparent 3px 7px)}
#s-sto .dpl small{font:500 14px Archivo,system-ui;color:#55544F}
/* Notifiche open: only logo + the list (Matteo 2026-11-01) */
html body.v5 #drw.nopen>.dov,html body.v5 #drw.nopen>.dnew,html body.v5 #drw.nopen>.prog,html body.v5 #drw.nopen>#dsp,html body.v5 #drw.nopen>button[data-m]{display:none!important}
html body.v5 #drw.nopen>.dlogo{order:-2}
html body.v5 #drw.nopen .nwrap{border-top:0!important}
html body.v5 #s-sto.tl .hdr h3{visibility:hidden}
html body.v5 #s-sto.tl .tlh h1{font-weight:900!important;letter-spacing:-.05em!important;font-size:40px!important}
html body.v5 #s-sto .dpl span{display:block!important;flex:none}
#s-sto.tle .scr{display:flex;flex-direction:column;min-height:100%}
#s-sto .tle-a{display:flex;justify-content:center;margin-top:30px}
#s-sto .tle-a span{width:200px;height:200px;border-radius:50%;background:#C9B7E0;display:flex;justify-content:center;overflow:visible;position:relative}
html body.v5 #s-sto .tle-a img{display:block!important;width:150px;height:auto;position:absolute;top:-24px;clip-path:inset(0 0 42% 0);filter:drop-shadow(0 12px 14px rgba(40,30,70,.25))}
html body.v5 #s-sto .tle-t{margin:18px auto 0!important;text-align:center;font:900 28px/1.08 Archivo,system-ui!important;letter-spacing:-.04em!important;color:#26252E;max-width:16ch}
#s-sto .tle-p{margin:12px auto 0;text-align:center;font:500 16px/1.45 Archivo,system-ui;color:#55544F;max-width:30ch}
#s-sto .tle-c{margin-top:auto;background:#fff;border-radius:28px;padding:20px;display:flex;flex-direction:column;gap:16px}
#s-sto .tle-s{display:flex;justify-content:center;gap:24px}
#s-sto .tle-s i{position:relative;width:58px;height:58px;border-radius:50%;background:#F6F4EF;box-shadow:0 0 0 1.5px #CFCBC4 inset}
#s-sto .tle-s b{position:absolute;right:-6px;bottom:-4px;width:26px;height:26px;border-radius:50%;background:#26252E;color:#F2FE80;display:grid;place-items:center;font:700 17px/1 Archivo,system-ui}
html body.v5 #ph #s-home.hp #phc:after{right:50%!important;transform:translateX(50%) rotate(-4deg)!important;top:-78px!important;width:150px!important;height:90px!important;background:url(/static/v5/aya-peek.png) center top/150px auto no-repeat!important;clip-path:none!important}
html body.v5 #ph #s-home.hp #stage{padding-top:70px!important}
html body.v5 #drw.nopen .nwrap{margin-top:0!important;order:-1;flex:1}
html body.v5 #drw.nopen>.dlogo{order:-3}
html body.v5 #s-sto.tle .scr{padding-bottom:24px!important}
/* Empty Storie: peeking Aya over a smaller circle, everything fits one screen */
html body.v5 #s-sto .tle-a{margin-top:44px}
html body.v5 #s-sto .tle-a span{width:170px;height:170px;align-items:flex-start}
html body.v5 #s-sto .tle-a img{width:170px!important;top:-46px!important;clip-path:none!important;filter:drop-shadow(0 10px 14px rgba(40,30,70,.2))!important}
html body.v5 #s-sto .tle-t{font-size:26px!important;margin-top:20px!important}
html body.v5 #s-sto .tle-p{font-size:15px}
html body.v5 #s-sto.tle .scr{height:100%;overflow:auto}
html body.v5 #s-sto .tle-c{margin-top:24px}
html body.v5 #s-sto .tle-s i{width:52px;height:52px}
/* No Aya on the photo until the sitting-Aya file exists (Matteo 2026-11-01: looked messed up) */
html body.v5 #ph #s-home.hp #phc:after{display:none!important}
html body.v5 #ph #s-home.hp #stage{padding-top:24px!important}
/* Recording, with or without photo (Matteo picture 2026-11-01e): Aya full screen, question + timer on top, ✕ / ✓ bar */
html body.v5 #ph section#s-home.recording .ansv,html body.v5 #ph section#s-home.hp.recording .ansv{display:block!important;opacity:1!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;transform:scale(1.14)!important;-webkit-mask:none!important;mask:none!important;filter:none!important;z-index:0!important;border-radius:0!important}
html body.v5 #ph section#s-home.recording .homev{display:none!important}
html body.v5 #ph section#s-home.recording:before,html body.v5 #ph section#s-home.recording:after{display:none!important}
html body.v5 #ph section#s-home.recording .top{opacity:1!important;pointer-events:auto!important;position:relative;z-index:3}
html body.v5 #ph section#s-home.recording .callh{display:flex!important;flex-direction:column!important;align-items:center!important;position:absolute!important;left:0!important;right:0!important;top:130px!important;bottom:auto!important;transform:none!important;padding:0 30px!important;z-index:3;gap:10px!important}
html body.v5 #ph section#s-home.recording .callh b,html body.v5 #ph section#s-home.hp.recording .callh b{display:block!important;font:900 28px/1.12 Archivo,system-ui!important;letter-spacing:-.04em!important;color:#26252E!important;text-align:center;text-wrap:balance;max-width:320px}
html body.v5 #ph section#s-home.recording .callh span{font:600 18px Archivo,system-ui!important;color:#26252E!important;opacity:1!important}
html body.v5 #ph section#s-home.recording #live,html body.v5 #ph section#s-home.hp.recording #live{display:none!important}
html body.v5 #ph section#s-home.recording #stage>*:not(#phc){display:none!important}
html body.v5 #ph section#s-home.hp.recording #stage #q{display:none!important}
html body.v5 #ph section#s-home.hp.recording #stage{position:static!important}
html body.v5 #ph section#s-home.hp.recording #stage #phc{display:block!important;position:absolute!important;right:22px!important;bottom:150px!important;width:170px!important;height:170px!important;margin:0!important;transform:rotate(5deg)!important;z-index:3;box-shadow:0 0 0 6px #fff,0 20px 30px -18px rgba(38,37,46,.5)!important}
html body.v5 #ph section#s-home.recording .bot{background:#FAF8F3!important;border-radius:999px!important;margin:0 18px 26px!important;padding:8px!important;z-index:3}
html body.v5 #ph section#s-home.recording #recbar{display:flex!important;justify-content:space-between!important;width:100%}
html body.v5 #ph section#s-home.recording #recbar:before{content:none!important}
html body.v5 #ph section#s-home.recording #recbar .dot,html body.v5 #ph section#s-home.recording #recbar .sep,html body.v5 #ph section#s-home.recording #tm{display:none!important}
html body.v5 #ph section#s-home.recording #cancel{width:66px!important;height:66px!important;border-radius:50%!important;background:#F1EEE6!important}
html body.v5 #ph section#s-home.recording #save{width:66px!important;height:66px!important;border-radius:50%!important;background:#26252E!important}
html body.v5 #ph section#s-home.recording #save svg *{stroke:#F2FE80!important;stroke-width:3!important}
html body.v5 #ph section#s-home.recording #cancel svg *{stroke:#26252E!important}
html body.v5 #s-sto .dpl span,html body.v5 #s-diary .dpl span{display:block!important;flex:none!important;width:70px!important;height:18px!important;-webkit-mask:none!important;mask:none!important;background:repeating-linear-gradient(90deg,#26252E 0 3px,transparent 3px 7px)!important;clip-path:polygon(0 30%,8% 30%,8% 10%,16% 10%,16% 40%,24% 40%,24% 0,32% 0,32% 25%,40% 25%,40% 15%,48% 15%,48% 35%,56% 35%,56% 5%,64% 5%,64% 30%,72% 30%,72% 10%,80% 10%,80% 40%,88% 40%,88% 20%,100% 20%,100% 80%,88% 80%,88% 60%,80% 60%,80% 90%,72% 90%,72% 70%,64% 70%,64% 95%,56% 95%,56% 65%,48% 65%,48% 85%,40% 85%,40% 75%,32% 75%,32% 100%,24% 100%,24% 60%,16% 60%,16% 90%,8% 90%,8% 70%,0 70%)!important}
/* Sitting Aya render (Matteo 2026-11-01) replaces the close-up video on Home */
html body.v5 #ph #s-home:not(.recording) .homev{display:none!important}
#s-home .ayasit{position:absolute;left:50%;bottom:120px;transform:translateX(-50%);width:300px;height:300px;border-radius:50%;background:rgba(255,255,255,.28);z-index:1;pointer-events:none}
html body.v5 #s-home .ayasit img{display:block!important;position:absolute;left:50%;bottom:6px;transform:translateX(-50%);height:330px;width:auto;max-height:none;filter:drop-shadow(0 18px 20px rgba(40,30,70,.25));animation:ayaBob 4.5s ease-in-out infinite}
html body.v5 #s-home.recording .ayasit,html body.v5 #s-home.hp .ayasit{display:none}
html body.v5 #s-sched .scha img{height:100%!important;max-height:260px!important;width:auto!important}
html body.v5 #s-sto .tle-a span{width:180px;height:180px;align-items:flex-end}
html body.v5 #s-sto .tle-a img{width:auto!important;height:210px!important;top:auto!important;bottom:-4px;position:absolute}
/* Recording bar: buttons inside the pill (Matteo 2026-11-01) */
html body.v5 #ph section#s-home.recording .bot{padding:10px!important;height:auto!important;min-height:0!important;overflow:hidden}
html body.v5 #ph section#s-home.recording .bot #recbar.recbar{margin:0!important;padding:0!important;height:auto!important;align-items:center!important}
html body.v5 #ph section#s-home.recording #cancel,html body.v5 #ph section#s-home.recording #save{width:60px!important;height:60px!important;margin:0!important;flex:none}
html body.v5 #ph section#s-home.recording .ansv,html body.v5 #ph section#s-home.hp.recording .ansv{transform:none!important;object-position:50% 70%!important}
/* Peek Aya: hands grip the card's top edge, neck hidden behind the card (Matteo 2026-11-01) */
html body.v5 #s-pick .pk.tc{isolation:isolate}
html body.v5 #s-pick .tch{z-index:-1!important;top:-78px!important;filter:none!important}
html body.v5 #s-pick .tch img{filter:none!important}
html body.v5 #s-pick .pk.tc:after{content:"";position:absolute;inset:0;border-radius:30px;background:inherit;z-index:-1}
/* Topic of today chosen (.iq): the question still shows on Home */
html body.v5 #ph section#s-home.iq:not(.recording):not(.hp) #stage #q.qq{display:block!important;visibility:visible!important;opacity:1!important}
html body.v5 #ph section#s-home.iq #intc,html body.v5 #ph section#s-home.iq #tcar{display:none!important}
html body.v5 #s-pick .tch{z-index:3!important;top:-96px!important;height:auto!important}
html body.v5 #s-pick .tch img{display:block}
/* Topic card sized to its content (Matteo 2026-11-01) */
html body.v5 #s-pick .car{flex:none!important;align-items:flex-start!important}
html body.v5 #s-pick .pk.tc{min-height:0!important;padding:40px 22px 20px!important;gap:12px!important}
html body.v5 #s-pick .pk.tc p{flex:none!important;min-height:0!important;font-size:24px!important}
html body.v5 #s-pick .dots{margin-top:auto!important}
html body.v5 #s-home .wkp i{background:#F1EEE6!important;box-shadow:0 0 0 1.5px #E3E0D8 inset;display:grid!important;place-items:center}
html body.v5 #s-home .wkp i.ok{background:#F2FE80!important;box-shadow:0 0 0 1.5px #D9E36A inset}
/* Home on a real phone (Matteo 2026-11-01 19:32): smaller title, Aya never under the text */
html body.v5 #s-home #wait h2{font-size:32px!important;line-height:1.04!important}
html body.v5 #s-home #wait p{font-size:16px!important}
html body.v5 #s-home .wgo{height:52px!important;font-size:16px!important}
html body.v5 #s-home #q.qq{font-size:28px!important}
html body.v5 #s-home .ayasit{width:min(240px,62vw)!important;height:min(240px,62vw)!important;bottom:118px!important}
html body.v5 #s-home .ayasit img{height:min(250px,30vh)!important}
html body.v5 #s-home .stage{position:relative;z-index:3}
html body.v5 #s-home .wkp~.bdg,html body.v5 #s-home .top>.bdg,html body.v5 #s-home #dcount{display:none!important}
/* Empty Storie fits a real phone (browser bar eats ~110px) */
html body.v5 #s-sto.tle .scr{padding-bottom:calc(24px + env(safe-area-inset-bottom))!important}
html body.v5 #s-sto .tle-a{margin-top:20px!important}
html body.v5 #s-sto .tle-a span{width:150px!important;height:150px!important}
html body.v5 #s-sto .tle-a img{height:170px!important}
html body.v5 #s-sto .tle-t{font-size:24px!important;margin-top:14px!important}
html body.v5 #s-sto .tle-p{margin-top:8px!important;font-size:15px}
html body.v5 #s-sto .tle-c{margin-top:18px!important;padding:16px!important;gap:12px!important}
html body.v5 #s-sto .tle-s i{width:46px!important;height:46px!important}
/* Peek Aya centred on the card (Matteo 19:33) */
html body.v5 #s-pick .pk.tc .tch{left:50%!important;right:auto!important;margin:0!important;transform:translateX(-50%)!important}
html body.v5 #s-pick .pk.tc:before{left:calc(50% + 70px)!important}
html body.v5 #s-pick .pk.tc.sel{background:#C9B7E0!important}
html body.v5 #s-pick .pk.tc.sel .tct{background:rgba(255,255,255,.7)!important}
/* Menu on a real phone (Matteo 19:34): fits the visible screen, a bit smaller */
html body.v5 #drw.drw{top:0!important;bottom:0!important;height:auto!important;max-height:100%!important;overflow-y:auto!important;padding:18px 16px calc(14px + env(safe-area-inset-bottom))!important;width:min(290px,78vw)!important;border-radius:0 28px 28px 0!important}
html body.v5 #drw .dlogo{margin-bottom:10px!important}
html body.v5 #drw .dlogo b{font-size:30px!important}
html body.v5 #drw .dx{width:42px!important;height:42px!important}
html body.v5 #drw>button[data-m]:not(.sm){font-size:17px!important;padding:10px 12px!important}
html body.v5 #drw .dov{margin:14px 6px 4px!important;font-size:12px!important}
html body.v5 #drw .dspc i,html body.v5 #drw .dnew i{width:38px!important;height:38px!important}
html body.v5 #drw .dspc b,html body.v5 #drw .dnew b{font-size:15px!important}
html body.v5 #drw .dspc small,html body.v5 #drw .dnew small{font-size:13px!important}
html body.v5 #drw .ntg,html body.v5 #drw [data-m="set"]{font-size:16px!important;padding:9px 8px!important}
html body.v5 #drw .prog{padding:10px 14px!important;margin-top:6px!important}
html body.v5 #drw .prog b{font-size:14px!important}html body.v5 #drw .prog span{font-size:13px!important}
html body.v5 #drw .prog div{margin-top:4px!important}
html body.v5 .ph,html body.v5 #ph{height:100dvh!important;max-height:100dvh!important}
/* Invite sheet (Matteo picture 2026-11-01) */
html body.v5 #sht .inv6{display:flex;flex-direction:column;gap:12px}
#sht .inv6 .ihandle{align-self:center;width:44px;height:5px;border-radius:3px;background:#E3E0D8;margin:-6px 0 2px}
#sht .inv6 .itag{display:inline-block;background:#F6D9C6;border-radius:999px;padding:5px 12px;font:700 13px Archivo,system-ui;color:#26252E}
html body.v5 #sht .inv6 h3{margin:8px 0 0!important;font:900 30px/1.05 Archivo,system-ui!important;letter-spacing:-.045em}
html body.v5 #sht .inv6 #rel{margin:4px 0 0!important;gap:8px!important}
html body.v5 #sht .inv6 #rel button{height:44px!important;padding:0 18px!important;border:0!important;background:#F1EEE6!important;font:600 16px Archivo,system-ui!important;color:#26252E!important;border-radius:999px!important}
html body.v5 #sht .inv6 #rel button.on{background:#26252E!important;color:#fff!important}
#sht .inv6 .lf{display:flex;flex-direction:column;gap:2px;background:#fff;border-radius:20px;padding:10px 18px;box-shadow:0 0 0 1.5px #ECE8E0 inset}
#sht .inv6 .lf small{font:600 13px Archivo,system-ui;color:#7A7884}
html body.v5 #sht .inv6 .lf input{border:0!important;outline:0;background:none!important;padding:0!important;height:30px!important;font:700 19px Archivo,system-ui!important;color:#26252E;box-shadow:none!important;width:100%}
#sht .inv6 .lft{display:flex;align-items:center;gap:10px}
html body.v5 #sht .inv6 .lft select{border:0!important;background:none!important;font:700 17px Archivo,system-ui!important;padding:0 18px 0 0!important;height:30px!important;box-shadow:none!important}
#sht .inv6 .lft i{width:1.5px;height:26px;background:#E3E0D8}
#sht .inv6 .iprev{display:flex;gap:12px;align-items:center;background:#EBE3F3;border-radius:20px;padding:14px 16px}
#sht .inv6 .iprev img{width:46px;height:46px;border-radius:50%;background:#fff;object-fit:contain;padding:4px;flex:none}
#sht .inv6 .iprev p{margin:0;font:500 15px/1.4 Archivo,system-ui;color:#26252E}
html body.v5 #sht .inv6 #isend{height:58px!important}
html body.v5 .v5room .rempty{margin-top:36px!important;padding-top:0!important}
html body.v5 .v5room .v5cta{margin-top:auto!important}
/* Toast (Matteo picture 2026-11-01) */
html body.v5 #toast{display:flex!important;align-items:center;gap:12px;left:16px!important;right:16px!important;transform:translateY(-20px)!important;top:auto!important;bottom:120px;width:auto!important;max-width:none!important;background:#26252E!important;color:#fff!important;border-radius:999px!important;padding:8px 8px 8px 8px!important;font:700 16px Archivo,system-ui!important;white-space:normal!important;box-shadow:0 16px 30px -16px rgba(0,0,0,.5)!important;z-index:80;pointer-events:none}
html body.v5 #toast.on{transform:none!important;pointer-events:auto}
html body.v5 #toast i{width:38px;height:38px;border-radius:50%;background:#F2FE80;display:grid;place-items:center;flex:none}
html body.v5 #toast span{flex:1;padding-right:8px}
html body.v5 #toast button{flex:none;height:40px;padding:0 18px;border:0;border-radius:999px;background:rgba(255,255,255,.14);color:#fff;font:600 15px Archivo,system-ui;cursor:pointer}
/* Week pill as Matteo's reference (2026-11-01): smaller dots, small tick */
html body.v5 #s-home .wkp{height:44px!important;gap:10px!important;padding:0 8px 0 18px!important}
html body.v5 #s-home .wkp #stkn{font-size:19px!important}
html body.v5 #s-home .wkp span{gap:5px!important}
html body.v5 #s-home .wkp i{width:24px!important;height:24px!important;background:#F1EEE6!important;box-shadow:0 0 0 1px #E3E0D8 inset!important}
html body.v5 #s-home .wkp i.ok{background:#F2FE80!important;box-shadow:0 0 0 1px #C9D24A inset!important}
html body.v5 #s-home .wkp i svg{width:11px!important;height:11px!important}
/* Invite sheet as Matteo's mockup 2026-11-02 */
html body.v5 #sht .inv7{display:flex;flex-direction:column;gap:12px}
#sht .inv7 .ihandle{align-self:center;width:44px;height:5px;border-radius:3px;background:#E3E0D8;margin:-6px 0 2px}
html body.v5 #sht .inv7 .ihd{align-items:center;gap:12px}
html body.v5 #sht .inv7 h3{flex:1;margin:0!important;font:900 25px/1.1 Archivo,system-ui!important;letter-spacing:-.04em}
html body.v5 #sht .inv7 .ix{background:#F1EEE6!important;width:42px;height:42px}
#sht .inv7 .isub{margin:0;font:400 15px/1.45 Archivo,system-ui;color:#5E5C66}
#sht .inv7 .ilab{margin:6px 0 0;font:800 12px Archivo,system-ui;letter-spacing:.14em;color:#26252E}
html body.v5 #sht .inv7 #rel{margin:0!important;gap:8px!important}
html body.v5 #sht .inv7 #rel button{height:42px!important;padding:0 18px!important;background:#fff!important;border:1.5px solid #E6E3DA!important;font:700 15px Archivo,system-ui!important;color:#26252E!important;border-radius:999px!important}
html body.v5 #sht .inv7 #rel button.on{background:#C9B7E0!important;border-color:#C9B7E0!important}
html body.v5 #sht .inv7 #iname,html body.v5 #sht .inv7 #inum,html body.v5 #sht .inv7 #icc{height:56px!important;border-radius:18px!important;border:1.5px solid #E6E3DA!important;background:#fff!important;padding:0 18px!important;font:600 17px Archivo,system-ui!important;color:#26252E;box-shadow:none!important;width:100%;box-sizing:border-box;margin:0!important}
html body.v5 #sht .inv7 #iname:focus,html body.v5 #sht .inv7 #inum:focus{border-color:#26252E!important;outline:0}
#sht .inv7 .itel{display:flex;gap:10px}
html body.v5 #sht .inv7 #icc{flex:0 0 34%;width:auto}
html body.v5 #sht .inv7 #isend{height:56px!important;border-radius:999px!important;margin-top:4px}
html body.v5 #sht .inv7 #isend svg{width:20px;height:20px}
html body.v5 #sht .inv7 #isend svg path{stroke:#F2FE80}
html body.v5 #sht .inv7 .err:empty{display:none}
/* Topic picker as the mockup: cream cards, lilac when chosen, smaller Aya */
html body.v5 #s-pick .pk.tc{background:#F1EEE6!important;box-shadow:none!important}
html body.v5 #s-pick .pk.tc .tct{background:#fff!important}
html body.v5 #s-pick .pk.tc.sel{background:#C9B7E0!important}
html body.v5 #s-pick .pk.tc.sel .tct{background:rgba(255,255,255,.7)!important}
html body.v5 #s-pick .tch,html body.v5 #s-pick .tch img{width:120px!important}
html body.v5 #s-pick .tch{top:-70px!important}
html body.v5 #s-pick .pk.tc:before{top:-84px;left:calc(50% + 54px)}
html body.v5 #sht .inv7 #rel{flex-wrap:wrap}
html body.v5 #sht .inv7 #rel button{padding:0 15px!important;outline:0!important}
html body.v5 #sht .inv7 #isend:disabled{background:#26252E!important;color:#fff!important;opacity:.35}
/* Install sheet (PWA, 2026-11-02); the menu item hides once Aya runs as an installed app */
@media (display-mode: standalone){html body.v5 #dinst{display:none!important}}
html.pwa body.v5 #dinst{display:none!important}
html body.v5 #sht .inst5{display:flex;flex-direction:column;gap:12px}
#sht .inst5 .ihandle{align-self:center;width:44px;height:5px;border-radius:3px;background:#E3E0D8;margin:-6px 0 2px}
html body.v5 #sht .inst5 .ihd{display:flex;align-items:center;gap:12px}
#sht .inst5 .ihd img{width:52px;height:52px;border-radius:14px}
html body.v5 #sht .inst5 h3{flex:1;margin:0!important;font:900 25px/1.1 Archivo,system-ui!important;letter-spacing:-.04em}
html body.v5 #sht .inst5 .ix{width:42px;height:42px;border-radius:50%;background:#F1EEE6;border:0;display:grid;place-items:center;cursor:pointer}
#sht .inst5 p{margin:0;font:400 15px/1.45 Archivo,system-ui;color:#5E5C66}
#sht .inst5 ol{margin:4px 0 8px;padding:0;list-style:none;counter-reset:s;display:flex;flex-direction:column;gap:10px}
#sht .inst5 li{counter-increment:s;display:flex;align-items:center;gap:14px;background:#fff;border-radius:18px;padding:14px 16px;font:500 16px/1.35 Archivo,system-ui;color:#26252E;box-shadow:0 0 0 1.5px #ECE8E0 inset}
#sht .inst5 li:before{content:counter(s);flex:none;width:30px;height:30px;border-radius:50%;background:#C9B7E0;display:grid;place-items:center;font:800 14px Archivo,system-ui}
/* Installed app on iPhone: the strip behind the home bar takes the screen's colour, never grey (Matteo 2026-11-02) */
@media (display-mode: standalone){
  html,html body.v5{background:#FAF8F3!important}
  html:has(#s-home.on),html:has(#s-home.on) body.v5{background:#C9B7E0!important}
}
html.pwa,html.pwa body.v5{background:#FAF8F3!important}
html.pwa:has(#s-home.on),html.pwa:has(#s-home.on) body.v5{background:#C9B7E0!important}
/* Installed app: the menu starts below the iPhone clock, the logo never sits on the time */
@media (display-mode: standalone){html body.v5 #drw.drw{padding-top:calc(18px + env(safe-area-inset-top))!important}}
html.pwa body.v5 #drw.drw{padding-top:calc(18px + env(safe-area-inset-top))!important}
/* Installed app on iPhone: 100dvh stops above the home bar there; 100vh is the whole screen, so the app (and the menu's dim) reach the bottom edge */
@media (display-mode: standalone){html body.v5 .ph,html body.v5 #ph{position:fixed!important;top:0!important;left:0!important;right:0!important;bottom:0!important;width:auto!important;height:auto!important;max-height:none!important;margin:0!important}}
html.pwa body.v5 .ph,html.pwa body.v5 #ph{position:fixed!important;top:0!important;left:0!important;right:0!important;bottom:0!important;width:auto!important;height:auto!important;max-height:none!important;margin:0!important}
/* iOS 26 installed app: the viewport is short by the status bar while the page is shorter than the screen
   (WebKit 301108). A page at least screen-tall gets the full viewport, so the pinned app reaches the bottom edge.
   Same fix as frappe-ui #1284. The Home bar then clears the home indicator. */
@media (display-mode: standalone){
  html{min-height:min(100lvh,calc(100% + env(safe-area-inset-top)))}
  html body.v5 .ph #s-home .bot{margin-bottom:max(22px,env(safe-area-inset-bottom))!important}
}
/* Chat buttons on the yellow CTA: dark text, never white on yellow
   (Matteo 2026-11-14, "Raccontamela tu, adesso" was unreadable). */
html body.v5 #ch .mopts button:first-child,html body.v5 #ch .mopts button[data-mo="rec"]{color:var(--ink)!important}
html body.v5 #ch .mopts button:first-child svg,html body.v5 #ch .mopts button[data-mo="rec"] svg{stroke:var(--ink)!important}
