/* Feel Good Diary. Phone-width column, brand pastels as screen grounds, white cards, maroon titles, ink body text. */

@font-face{font-family:"Fraunces";font-weight:600;font-display:swap;src:url(fonts/fraunces-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Fraunces";font-weight:800;font-display:swap;src:url(fonts/fraunces-latin-800-normal.woff2) format("woff2")}
@font-face{font-family:"Fraunces";font-weight:900;font-display:swap;src:url(fonts/fraunces-latin-900-normal.woff2) format("woff2")}
@font-face{font-family:"League Spartan";font-weight:600;font-display:swap;src:url(fonts/league-spartan-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"League Spartan";font-weight:700;font-display:swap;src:url(fonts/league-spartan-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Work Sans";font-weight:400;font-display:swap;src:url(fonts/work-sans-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Work Sans";font-weight:500;font-display:swap;src:url(fonts/work-sans-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Work Sans";font-weight:600;font-display:swap;src:url(fonts/work-sans-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Tinos";font-weight:400;font-display:swap;src:url(fonts/tinos-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Tinos";font-weight:700;font-display:swap;src:url(fonts/tinos-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Fuzzy Bubbles";font-weight:400;font-display:swap;src:url(fonts/fuzzy-bubbles-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Fuzzy Bubbles";font-weight:700;font-display:swap;src:url(fonts/fuzzy-bubbles-latin-700-normal.woff2) format("woff2")}

:root{
  color-scheme: only light;
  --maroon:#7a1216;
  --maroon-soft:#9a4a4d;
  --ink:#1c1616;
  --ink-soft:#5b5252;
  --blue:#abdff5;
  --lilac:#f1b0f2;
  --coral:#ff7568;
  --mint:#cefeea;
  --sun:#f6d35f;
  --g-blue:#e9f9ff;
  --g-pink:#fee3ff;
  --g-peach:#ffd6d4;
  --g-mint:#f0fff8;
  --g-sun:#fdf9d2;
  --mys-red:#f25f62;
  --mys-yellow:#eff286;
  --paper:#ffffff;
  --line:#f0dcdc;
  --ground:var(--g-mint);
  --squig:#f1b0f2;
  --display:"Fraunces","Georgia",serif;
  --label:"League Spartan","Futura","Trebuchet MS",sans-serif;
  --body:"Work Sans","Helvetica Neue",Arial,sans-serif;
  --hand:"Fuzzy Bubbles","Comic Sans MS","Chalkboard SE",cursive;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
html,body{min-height:100%;margin:0}
[hidden]{display:none!important}
body{background:var(--ground);color:var(--ink);font-family:var(--body);font-weight:500;font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;transition:background-color .35s ease;-webkit-tap-highlight-color:transparent}
button{font:inherit;color:inherit;cursor:pointer}
button:focus-visible,a:focus-visible,textarea:focus-visible,label:focus-within,main:focus-visible{outline:3px solid var(--maroon);outline-offset:3px}
main:focus{outline:none}
@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

.phone{position:relative;max-width:430px;margin:0 auto;min-height:100vh;min-height:100dvh;overflow:hidden;padding-top:env(safe-area-inset-top,0px);padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}
.phone.noNav{padding-bottom:calc(28px + env(safe-area-inset-bottom,0px))}
.squig{position:absolute;top:-30px;left:0;width:100%;height:auto;pointer-events:none;z-index:0;opacity:.9}
.squig path{stroke:var(--squig);transition:stroke .35s ease}
.topslot{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;gap:8px;padding:8px 18px 0}
.topslot:empty{display:none}
.screen{position:relative;z-index:1;padding:18px 18px 8px;display:flex;flex-direction:column;gap:18px;animation:rise .35s ease both}
@keyframes rise{from{transform:translateY(8px);opacity:.4}to{transform:none;opacity:1}}
.loading{font-family:var(--display);font-weight:800;color:var(--maroon);text-align:center;padding-top:40vh;margin:0}

.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}
.topbar img{height:34px;width:auto}
.eyebrow{font-family:var(--label);font-weight:600;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--maroon)}
.eyebrow.hand{font-family:var(--hand);font-weight:700;font-size:16px;letter-spacing:.02em;text-transform:none}
.daychip{font-family:var(--label);font-weight:700;font-size:13px;letter-spacing:.04em;background:var(--paper);border-radius:99px;padding:7px 12px 5px;white-space:nowrap;color:var(--maroon)}
h1,h2,h3{color:var(--maroon);font-family:var(--display);font-weight:800;line-height:1.1;margin:0;text-wrap:balance;letter-spacing:-.01em}
h1{font-size:34px}
h2{font-size:27px}
h3{font-size:20px}
p{margin:0}
.lead{font-size:17px;line-height:1.55}
.muted{color:var(--ink-soft)}
.small{font-size:14px}
.center{text-align:center}
.hand{font-family:var(--hand);font-weight:700;color:var(--maroon)}

.card{background:var(--paper);border-radius:26px;padding:20px;display:flex;flex-direction:column;gap:12px}
.card.soft{background:rgba(255,255,255,.62)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:99px;padding:15px 22px 13px;font-family:var(--label);font-weight:700;font-size:17px;letter-spacing:.02em;background:var(--maroon);color:#fff;min-height:52px;text-decoration:none;transition:transform .15s ease;text-align:center}
.btn:active{transform:scale(.98)}
.btn.ghost{background:transparent;color:var(--maroon);box-shadow:inset 0 0 0 2px var(--maroon)}
.btn.light{background:var(--paper);color:var(--maroon)}
.btn.wide{width:100%}
.btn.sm{min-height:44px;padding:10px 18px 8px;font-size:15px}
.link{background:none;border:0;padding:10px 6px;min-height:44px;font-family:var(--label);font-weight:600;font-size:15px;color:var(--maroon);text-decoration:underline;text-underline-offset:4px;align-self:center}
.topbar .link{align-self:auto;padding-left:0}
.stack{display:flex;flex-direction:column;gap:10px}
.row{display:flex;gap:10px;flex-wrap:wrap}

/* buddy picker */
.buddies{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.bud{border:0;border-radius:26px;background:var(--paper);padding:12px 8px 10px;display:flex;flex-direction:column;align-items:center;gap:2px;transition:transform .15s ease}
.bud:active{transform:scale(.97)}
.bud img{width:112px;height:112px;object-fit:contain}
.bud span{font-family:var(--display);font-weight:800;font-size:19px;color:var(--maroon)}
.bud.happy{background:var(--g-sun)}
.bud.sad{background:var(--g-blue)}
.bud.fear{background:var(--g-pink)}
.bud.angry{background:var(--g-peach)}
.mystery{grid-column:1/-1;border:0;border-radius:26px;background:var(--mys-red);color:#fff;display:flex;align-items:center;gap:14px;padding:14px 18px;text-align:left;width:100%}
.mystery .q{flex:none;width:64px;height:64px;border-radius:20px 20px 24px 24px;background:var(--mys-yellow);color:var(--maroon);font-family:var(--display);font-weight:900;font-size:40px;display:grid;place-items:center;line-height:1}
.mystery b{display:block;font-family:var(--display);font-size:20px;font-weight:800;line-height:1.15;color:#fff}
.mystery small{display:block;font-size:14px;opacity:.95;margin-top:2px}

/* moods */
.moods{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.mood{border:0;border-radius:20px;background:var(--paper);padding:10px 12px;min-height:64px;display:flex;align-items:center;gap:10px;font-family:var(--display);font-weight:800;font-size:19px;text-align:left;color:var(--maroon)}
.mood img{width:48px;height:48px;object-fit:contain;flex:none}

.hero-bud{display:flex;justify-content:center}
.hero-bud img{width:170px;height:170px;object-fit:contain;animation:bob 3.2s ease-in-out infinite}
@keyframes bob{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-6px) rotate(2deg)}}
.note{font-family:var(--hand);font-weight:700;font-size:22px;line-height:1.45;color:var(--maroon);text-wrap:pretty}
.speech{position:relative;background:var(--paper);border-radius:26px;padding:22px 22px 24px}
.speech::before{content:"";position:absolute;top:-10px;left:50%;width:22px;height:22px;background:var(--paper);transform:translateX(-50%) rotate(45deg);border-radius:4px}
.banner{background:var(--paper);border-radius:18px;padding:12px 16px;font-family:var(--display);font-weight:600;font-size:17px;color:var(--maroon)}
.banner.warn{font-family:var(--body);font-weight:500;font-size:14px;color:var(--ink);background:var(--g-peach)}

/* activity */
.why{font-size:17px;line-height:1.5}
.opt{border-radius:22px;padding:16px 18px;display:flex;flex-direction:column;gap:6px}
.opt .tag{font-family:var(--label);font-weight:700;font-size:14px;letter-spacing:.02em;color:var(--maroon)}
.opt p{font-size:17px}
.opt.one{background:var(--mint)}
.opt.full{background:#f3dcf5}
.both{text-align:center;font-family:var(--hand);font-weight:700;font-size:clamp(12px,3.9vw,17px);color:var(--maroon);white-space:nowrap}

/* today card */
.todaycard{flex-direction:row;align-items:center;gap:14px}
.todaycard img{width:84px;height:84px;object-fit:contain;flex:none}
.todaycard .actname{font-family:var(--display);font-weight:800;font-size:19px;color:var(--maroon);line-height:1.2}

.welcome-text{font-size:15px;line-height:1.5;margin-top:-4px}
.doneline{font-size:clamp(12px,3.6vw,15px);line-height:1.4}

/* nav */
.nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,430px);z-index:20;background:var(--paper);display:grid;grid-template-columns:repeat(4,1fr);padding:8px 8px calc(8px + env(safe-area-inset-bottom,0px));box-shadow:0 -6px 20px rgba(122,18,22,.08);border-radius:22px 22px 0 0}
.nav button{border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 0;min-height:52px;font-family:var(--label);font-weight:600;font-size:13px;color:var(--maroon-soft);border-radius:14px}
.nav button[aria-current="page"]{color:var(--maroon);background:var(--g-pink)}
.nav svg{width:24px;height:24px}

/* diary */
.entry{background:var(--paper);border-radius:22px;padding:16px;display:grid;grid-template-columns:56px 1fr;gap:12px;align-items:start}
.entry img.b{width:56px;height:56px;object-fit:contain}
.entry .meta{font-family:var(--label);font-weight:600;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--maroon-soft)}
.entry .t{font-family:var(--display);font-weight:800;font-size:18px;color:var(--maroon);line-height:1.2}
.entry .photo{grid-column:1/-1;width:100%;border-radius:16px;max-height:320px;object-fit:cover;background:var(--g-mint);min-height:120px}
.entry .txt{grid-column:1/-1;font-family:var(--hand);font-weight:700;font-size:11px;line-height:1.45;color:var(--maroon);background:var(--g-mint);border-radius:12px;padding:8px 10px;white-space:pre-wrap;overflow-wrap:anywhere}
.entry .gal{grid-column:1/-1;justify-self:start;margin-top:-8px;font-size:14px;padding-left:0}
.pill{display:inline-block;font-family:var(--label);font-weight:700;font-size:12px;letter-spacing:.05em;border-radius:99px;padding:4px 10px 2px;background:var(--mint);color:var(--maroon)}
.pill.rest{background:var(--g-peach)}
.pill.open{background:var(--g-blue)}

/* collection */
.coll{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.coll div{background:var(--paper);border-radius:20px;padding:10px 6px;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;font-family:var(--label);font-weight:600;font-size:13px;color:var(--maroon)}
.coll img{width:78px;height:78px;object-fit:contain}
.coll .locked img{filter:grayscale(1) brightness(1.35) contrast(.6);opacity:.45}
.common4{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.common4 div{background:rgba(255,255,255,.7);border-radius:18px;padding:8px 4px;display:flex;flex-direction:column;align-items:center;font-family:var(--label);font-weight:600;font-size:12px;text-align:center;color:var(--maroon)}
.common4 .muted{color:var(--ink-soft)}
.common4 img{width:58px;height:58px;object-fit:contain}
.meter{display:flex;gap:6px}
.meter i{flex:1;height:10px;border-radius:99px;background:rgba(122,18,22,.14)}
.meter i.on{background:var(--mys-red)}
.claim{background:var(--mys-red);color:#fff}
.claim h2{color:#fff}

/* inputs */
textarea{width:100%;min-height:130px;border:2px solid var(--line);border-radius:18px;padding:14px;font-family:var(--body);font-weight:500;font-size:16px;color:var(--ink);background:var(--paper);resize:vertical}
.upload{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;min-height:56px;border:2px dashed var(--maroon-soft);border-radius:20px;padding:16px;font-family:var(--label);font-weight:600;color:var(--maroon);cursor:pointer;background:rgba(255,255,255,.6)}
.upload input{position:absolute;opacity:0;width:1px;height:1px}
.upload svg{width:22px;height:22px}
.preview{width:100%;border-radius:18px;max-height:320px;object-fit:cover}

/* steps */
.steps{display:flex;flex-direction:column;gap:12px;counter-reset:s}
.step{display:grid;grid-template-columns:36px 1fr;gap:12px;align-items:start}
.step::before{counter-increment:s;content:counter(s);width:36px;height:36px;border-radius:50%;background:var(--maroon);color:#fff;display:grid;place-items:center;font-family:var(--label);font-weight:700;font-size:17px;padding-top:2px}
.step p{padding-top:5px}
.mini{border:1.5px solid var(--line);border-radius:12px;overflow:hidden;display:grid}
.mini p{padding:6px 10px;font-size:13px;line-height:1.4}
.mini .one{background:var(--mint)}
.mini .full{background:var(--g-pink);border-top:1.5px solid var(--line)}
.fine{font-size:12px;line-height:1.45;font-style:italic;color:var(--ink-soft)}

/* privacy lines */
.priv{display:flex;align-items:flex-start;gap:6px;font-size:12.5px;line-height:1.45;color:var(--ink-soft)}
.priv svg{flex:none;width:14px;height:14px;margin-top:2px;color:var(--maroon)}
.privbox{display:flex;gap:8px;align-items:flex-start;padding-top:6px;font-size:11px;line-height:1.45;color:var(--ink-soft)}
.privbox svg{flex:none;width:14px;height:14px;margin-top:1px;color:var(--maroon)}
.privbox b{display:block;font-family:var(--label);font-weight:700;font-size:11px;letter-spacing:.04em;color:var(--maroon)}
.privcard p{font-size:12px;line-height:1.5;text-align:justify;hyphens:none}
.nowrap{white-space:nowrap}

/* keep us close */
.seg{display:grid;grid-template-columns:1fr 1fr;background:rgba(255,255,255,.6);border-radius:99px;padding:4px}
.seg button{border:0;border-radius:99px;background:none;min-height:44px;padding:10px 0 8px;font-family:var(--label);font-weight:700;color:var(--maroon)}
.seg button[aria-pressed="true"]{background:var(--maroon);color:#fff}
.wa{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;background:var(--mint);border-radius:22px;padding:16px 18px}
.num{font-family:var(--label);font-weight:700;font-size:20px;letter-spacing:.03em;user-select:all;color:var(--maroon)}
.tipline{font-size:clamp(11px,3.05vw,13px);line-height:1.4}
.step{grid-template-columns:36px 1fr auto}
.steptext{display:flex;flex-direction:column;gap:6px;min-width:0}
.steptext p{padding-top:5px}
.key{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--g-blue);color:var(--maroon)}
.key svg{width:22px;height:22px}
.stepnote{display:flex;align-items:center;gap:8px;font-size:13px;line-height:1.35;color:var(--ink-soft)}
.stepnote .key{width:28px;height:28px;border-radius:9px}
.stepnote .key svg{width:16px;height:16px}
.btn .key{width:auto;height:auto;background:none;color:inherit}
.remind{display:flex;align-items:center;gap:10px;background:var(--paper);border-radius:20px;padding:8px 6px 8px 10px;box-shadow:0 6px 18px rgba(122,18,22,.07)}
.remind p{flex:1;font-size:14px;line-height:1.35;color:var(--ink)}
.remind .btn.sm{min-height:40px;padding:9px 14px 7px;font-size:14px;white-space:nowrap}
.remind .x{flex:none;width:44px;height:44px;border:0;background:none;border-radius:50%;font-size:24px;line-height:1;color:var(--ink-soft)}
.tip{background:var(--mys-yellow);border-radius:18px;padding:12px 16px;font-size:14px;line-height:1.45}

/* milestones */
.big{font-family:var(--display);font-weight:900;font-size:64px;line-height:1;color:var(--maroon)}
.stat{display:flex;align-items:baseline;gap:10px;font-size:17px}
.stat b{font-family:var(--display);font-weight:900;font-size:36px;line-height:1;color:var(--maroon)}
.letter{background:var(--paper);border-radius:6px 26px 26px 26px;padding:22px;font-family:var(--hand);font-weight:700;font-size:19px;line-height:1.5;color:var(--maroon);white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:0 10px 26px rgba(122,18,22,.1)}
.four{display:flex;justify-content:center;gap:4px}
.four img{width:23%;height:auto;max-width:96px}
.four.sm img{width:70px;height:70px;object-fit:contain}

/* scanner */
.scanner{position:relative;border-radius:26px;overflow:hidden;background:#1c1616;aspect-ratio:1/1}
.scanner video{width:100%;height:100%;object-fit:cover;display:block}
.scanner::after{content:"";position:absolute;inset:18%;border:4px solid rgba(255,255,255,.9);border-radius:24px;box-shadow:0 0 0 999px rgba(28,22,22,.35)}
.scanmsg{min-height:1.5em}

/* top notices */
.update{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;background:var(--paper);border-radius:18px;padding:8px 8px 8px 16px;font-size:14px;box-shadow:0 6px 18px rgba(122,18,22,.08)}

/* test tools */
.tbtn{border:2px dashed var(--maroon);color:var(--maroon);background:rgba(255,255,255,.85);border-radius:99px;min-height:32px;padding:5px 11px 3px;font-family:var(--label);font-weight:700;font-size:12px;letter-spacing:.06em;text-transform:uppercase}
.sheet{position:fixed;inset:0;z-index:40;background:rgba(60,10,12,.35);display:flex;align-items:flex-end;justify-content:center}
.sheet .in{width:min(100%,430px);background:#fff;border-radius:26px 26px 0 0;padding:20px 18px calc(20px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:12px;max-height:88%;overflow:auto}
.sheet .in .btn{min-height:44px;font-size:15px;padding:11px 14px 9px}
.tgrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.kv{font-size:14px;background:var(--g-blue);border-radius:14px;padding:10px 12px}
.testtag{font-family:var(--label);font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase;background:var(--mys-yellow);border-radius:8px;padding:4px 8px 2px;align-self:flex-start;color:var(--maroon)}

/* round 2 */
.screen.mid{min-height:calc(100dvh - 28px - env(safe-area-inset-bottom,0px));padding-bottom:7vh}
.screen.mid > .topbar + *{margin-top:auto!important}
.screen.mid > :last-child{margin-bottom:auto}
.speech .note{font-size:18px;text-align:center}
.stickline{font-size:15px;margin-top:-4px}
.remind p{font-size:11px;line-height:1.45}
.intro{font-size:13px;line-height:1.5;text-align:center;text-wrap:pretty}
.journey{background:var(--paper);border:2px solid #d9a1d6;border-radius:24px;padding:16px 16px 14px;display:flex;flex-direction:column;gap:8px}
.journey p{display:flex;align-items:center;gap:10px;font-family:var(--hand);font-weight:700;font-size:14px;line-height:1.3;color:var(--maroon);white-space:nowrap}
.journey svg{flex:none;width:20px;height:20px;color:#b774b3}
.journey .btn{margin-top:6px}
.privbox + .privbox{margin-top:-8px}

/* round 3: stickers + claim box */
.trio{display:flex;justify-content:center;gap:16px}
.trio img{width:62px;height:62px;object-fit:contain}
.trio .locked img,.common4 .locked img{filter:grayscale(1) brightness(1.35) contrast(.6);opacity:.45}
.common4 .locked span{color:var(--ink-soft);font-weight:500;font-size:11px;line-height:1.25}
.claim{display:grid;grid-template-columns:minmax(0,1fr) 82px;gap:12px;align-items:center;padding:16px 14px 16px 16px}
.claimtext{display:flex;flex-direction:column;gap:8px;min-width:0}
.claim h3{color:#fff;font-size:clamp(13px,3.9vw,16px);white-space:nowrap;letter-spacing:-.015em}
.claim p{font-size:11px;line-height:1.45}
.claim .btn{min-height:38px;padding:9px 14px 7px;font-size:13px;align-self:flex-start}
.claim .num{font-family:var(--body);font-weight:500;font-size:11px;color:#fff;opacity:.9}
.phoneshot{aspect-ratio:9/18;border:3px solid var(--maroon);border-radius:16px;background:#fff;padding:3px;display:flex;align-items:center;overflow:hidden;box-shadow:0 6px 14px rgba(60,0,0,.22);transform:rotate(4deg)}
.phoneshot img{width:100%;height:auto;display:block;border-radius:3px}

/* round 4: Buddies tab mission box */
.missionbox{background:var(--paper);border:2px solid #d9a1d6;border-radius:24px;padding:14px;display:flex;flex-direction:column;gap:12px}
.mbrow{display:grid;grid-template-columns:minmax(0,1fr) clamp(78px,24vw,100px);gap:12px;align-items:center}
.mbtext{display:flex;flex-direction:column;gap:10px;min-width:0}
.mbsteps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;counter-reset:m}
.mbsteps li{display:grid;grid-template-columns:22px 1fr;gap:8px;align-items:start;font-size:clamp(12px,3.5vw,14px);line-height:1.35;color:var(--ink)}
.mbsteps li::before{counter-increment:m;content:counter(m);width:22px;height:22px;border-radius:50%;background:var(--maroon);color:#fff;display:grid;place-items:center;font-family:var(--label);font-weight:700;font-size:12px;padding-top:1px}
.gift{display:flex;align-items:center;gap:6px;font-family:var(--label);font-weight:700;font-size:clamp(12px,3.5vw,14px);color:var(--maroon);white-space:nowrap}
.gift svg{flex:none;width:18px;height:18px}
.cardshot{width:100%;height:auto;border:3px solid #fff;border-radius:8px;box-shadow:0 5px 12px rgba(60,0,0,.18);transform:rotate(4deg)}
.missionbox .mystery{padding:10px 14px;gap:12px;border-radius:20px}
.missionbox .mystery .q{width:44px;height:44px;border-radius:14px 14px 17px 17px;font-size:28px}
.missionbox .mystery b{font-size:16px}
.missionbox .mystery small{font-size:12.5px}

/* round 7: Mystery box screen */
h2.oneline{white-space:nowrap;font-size:clamp(21px,6.6vw,27px);text-align:center}
.gift.fitline{font-size:clamp(11.5px,3.35vw,14px);gap:5px}
.gift.fitline svg{width:16px;height:16px}

/* ---------- 30-day version ---------- */
body{letter-spacing:-0.013em}
.opt{border:1.5px solid rgba(122,18,22,.12)}
.calhead{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.calhead h2{font-size:22px}
.calcount{font-family:var(--label);font-weight:700;font-size:13px;color:var(--maroon-soft)}
.cal{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin-top:-6px}
.cal .c{position:relative;aspect-ratio:1;border:1.5px solid #e2dede;border-radius:12px;background:#f2f0f0;display:grid;place-items:center;overflow:hidden}
.cal .c .n{position:absolute;top:3px;left:3px;min-width:16px;height:16px;padding:0 3px;border-radius:99px;background:#e6e2e2;color:#a39c9c;font-family:var(--label);font-weight:700;font-size:9px;line-height:17px;text-align:center;letter-spacing:0}
.cal .c .m{font-size:20px;line-height:1;margin-top:6px}
.cal .c.on{border-color:#d9a1d6}
.cal .c.on .n{background:#fff;color:var(--maroon)}
.cal .c.on img{width:78%;height:78%;object-fit:contain;margin-top:6px}
.duo{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.minibox{border:0;border-radius:20px;padding:10px 8px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;min-width:0}
.minibox b{font-family:var(--display);font-weight:800;font-size:13.5px;line-height:1.15}
.minibox small{font-size:11px;line-height:1.3}
.todaymini{background:var(--paper);color:var(--maroon)}
.todaymini img{width:42px;height:42px;object-fit:contain}
.todaymini small{color:var(--ink-soft)}
.mysterymini{background:var(--mys-red);color:#fff}
.mysterymini .q{width:42px;height:42px;border-radius:13px 13px 15px 15px;background:var(--mys-yellow);color:var(--maroon);font-family:var(--display);font-weight:900;font-size:26px;display:grid;place-items:center;line-height:1}
.journeybadge{align-self:flex-start;margin-top:-6px;display:inline-flex;align-items:center;gap:6px;background:var(--maroon);color:#fff;border-radius:99px;padding:8px 14px 7px;font-family:var(--label);font-weight:600;font-size:13.5px;box-shadow:0 4px 12px rgba(122,18,22,.25)}
.journeybadge b{font-weight:700}
.sphero{width:92px;height:92px;border-radius:50%;background:var(--paper);display:grid;place-items:center;font-size:46px;margin:6px auto 0;box-shadow:0 6px 18px rgba(122,18,22,.08)}
.spbody{display:flex;flex-direction:column;gap:10px}
.sptext{font-size:15px;line-height:1.5;text-wrap:pretty}
.sptext b,.subline b{color:var(--maroon);font-weight:700}
.codebox{display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--paper);border:2px dashed #d9a1d6;border-radius:18px;padding:10px 10px 10px 18px}
.codebox span{font-family:var(--label);font-weight:700;font-size:20px;letter-spacing:.08em;color:var(--maroon)}
.qrcard{background:var(--paper);border-radius:22px;padding:14px 18px 12px;display:flex;flex-direction:column;align-items:center;gap:6px;margin:0 auto;text-align:center}
.qrcard img{width:140px;height:140px;image-rendering:pixelated}
.subline{font-size:12px;line-height:1.45;text-align:center;color:var(--ink-soft)}
.subline a{color:var(--maroon);font-weight:600}
.screen.mid h2.hand{text-align:center}
.screen.mid > :first-child:not(.topbar){margin-top:auto}
.big.center,h1.center{text-align:center}
.letter.sm{font-size:15px;line-height:1.5;padding:18px}
.totals{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.totals div{background:var(--paper);border:2px solid #d9a1d6;border-radius:20px;padding:14px 8px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px}
.totals b{font-family:var(--display);font-weight:900;font-size:36px;line-height:1;color:var(--maroon)}
.totals span{font-size:13px;line-height:1.3;color:var(--ink)}
.sharerow{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap}
.sharelink{display:inline-flex;align-items:center;gap:6px;border:0;background:rgba(255,255,255,.7);border-radius:99px;padding:9px 14px 8px;font-family:var(--label);font-weight:700;font-size:14px;color:var(--maroon)}
.sharelink svg{width:17px;height:17px}
.soc{width:38px;height:38px;border:0;border-radius:50%;background:rgba(255,255,255,.7);display:grid;place-items:center;color:var(--maroon);padding:0}
.soc svg{width:19px;height:19px}
.sharelink:disabled,.soc:disabled{opacity:.5}

/* ---------- round 9 ---------- */
:root{--serif-price:"Times New Roman","Tinos",Times,serif}
.cal .c .m.two{font-size:15px;letter-spacing:-3px}
.infomini{background:var(--paper);color:var(--maroon);justify-content:center}
.infomini small{color:var(--ink-soft)}
.duo{row-gap:10px}
/* how to use: zigzag */
.howto{padding:20px 16px}
.hrow{display:flex;align-items:center;gap:14px}
.hrow.r{flex-direction:row-reverse}
.hrow.r .ht{text-align:right}
.hart{position:relative;flex:none;width:96px;height:96px;border-radius:50%;display:grid;place-items:center;color:var(--maroon)}
.hnum{position:absolute;top:-4px;left:-4px;width:28px;height:28px;border-radius:50%;background:var(--maroon);color:#fff;font-family:var(--label);font-weight:700;font-size:14px;display:grid;place-items:center;padding-top:2px;border:3px solid var(--paper)}
.hbottle{width:52px;height:74px;object-fit:contain}
.hsticker{position:absolute;width:44px;height:44px;right:-6px;bottom:-4px;object-fit:contain}
.hphone{width:46px;height:74px;border:3px solid var(--maroon);border-radius:11px;background:#fff;display:grid;place-items:center;position:relative}
.hphone:before{content:"";position:absolute;top:4px;width:14px;height:3px;border-radius:2px;background:var(--maroon)}
.hphone img{width:36px;height:36px;object-fit:contain}
.hfear{width:66px;height:66px;margin:14px 18px 0 0;object-fit:contain}
.hbub{position:absolute;top:8px;right:-2px;background:#fff;border:2px solid var(--maroon);border-radius:12px 12px 12px 3px;font-family:var(--hand);font-weight:700;font-size:13px;padding:1px 7px;line-height:1.3}
.htag{position:absolute;bottom:4px;right:-4px;background:var(--maroon);color:#fff;font-family:var(--label);font-weight:700;font-size:10px;border-radius:99px;padding:3px 7px 2px}
.ht{font-size:14px;line-height:1.35;min-width:0}
.ht b{display:block;font-family:var(--label);font-weight:700;font-size:15px;color:var(--maroon);margin-bottom:2px}
.hcurve{display:block;width:100%;height:34px;color:var(--maroon);opacity:.55}
.choices{margin-top:14px;border:1.5px solid #ecdcdc;border-radius:14px;overflow:hidden}
.choices p{padding:8px 12px;font-size:13px;line-height:1.35}
.choices .one{background:var(--mint)}
.choices .full{background:#f3dcf5;border-top:1.5px solid #ecdcdc}
.choices b{font-family:var(--label);font-weight:700;color:var(--maroon)}
.hfine{margin-top:14px;text-align:center;font-family:var(--hand);font-weight:700;font-size:13px;color:var(--maroon)}
/* Day 3 offer */
.offer{background:var(--paper);border:2px solid #d9a1d6;border-radius:24px;padding:16px;display:flex;flex-direction:column;gap:14px}
.orow{display:grid;grid-template-columns:minmax(0,1fr) clamp(104px,32vw,140px);gap:10px;align-items:center}
.otext{min-width:0}
.oset{white-space:nowrap;font-family:var(--serif-price);font-weight:700;font-size:clamp(20px,6.4vw,26px);line-height:1.1;color:#1f5a37;letter-spacing:-.01em}
.owas{font-family:var(--serif-price);font-weight:700;font-size:clamp(20px,6.2vw,25px);color:#7d7373;text-decoration:line-through;text-decoration-color:#ff7568;text-decoration-thickness:3px;margin-top:6px}
.onow{font-family:var(--label);font-weight:700;font-size:15px;letter-spacing:.06em;color:#1f5a37;margin-top:8px}
.oprice{font-family:var(--serif-price);font-weight:700;font-size:clamp(28px,8.8vw,38px);line-height:1;white-space:nowrap;letter-spacing:-.01em;color:var(--maroon);margin-top:2px}
.opic{width:100%;height:auto;display:block}
.offer .codebox{border-radius:16px;padding:8px 8px 8px 16px}
.codebox small{display:block;font-family:var(--serif-price);font-weight:400;font-size:13px;letter-spacing:0;color:#5b5252}
.sptext b{white-space:normal}

/* ---------- round 10 ---------- */
.forlabel{font-family:var(--label);font-weight:700;font-size:12px;line-height:1.4;text-align:center;color:var(--maroon);margin:4px 0 -8px}
.privline{font-size:clamp(9.5px,3vw,12px);letter-spacing:-.04em;white-space:nowrap;text-align:center;color:var(--ink-soft);margin-top:-2px}
.forcards{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.forcards div{border:1.5px solid #d9a1d6;border-radius:14px;padding:9px 3px 8px;display:flex;flex-direction:column;align-items:center;gap:4px;background:transparent;min-width:0}
.forcards svg{width:24px;height:24px;color:var(--maroon)}
.forcards span{display:block;max-width:100%;white-space:nowrap;font-size:clamp(9px,2.62vw,11.5px);letter-spacing:-.05em;line-height:1.2;color:var(--ink);text-align:center}
h2.twoline span{display:block;white-space:nowrap}
h2.twoline{font-size:min(22px,calc((100vw - 36px) / 18.8));text-wrap:nowrap}
.h1sm{font-size:21px}
.howto .hcurve{height:14px}
.howto .hart{width:84px;height:84px}
.howto .hbottle{width:46px;height:64px}
.howto .hsticker{width:38px;height:38px}
.howto .hphone{width:40px;height:64px}
.howto .hphone img{width:30px;height:30px}
.howto .hfear{width:58px;height:58px}
.howto{padding:18px 16px}
.duo .infomini:nth-child(3){background:var(--g-pink)}
.duo .infomini:nth-child(4){background:var(--g-sun)}

/* ---------- round 11 ---------- */
.speech .note{color:var(--note-ink,var(--maroon))}
.stepnote{font-size:clamp(9.5px,2.92vw,11.5px);letter-spacing:-.04em;line-height:1.3}
/* bigger tap area for the small WhatsApp text link, same look */
.subline a{display:inline-block;padding:13px 10px;margin:-13px -10px}
