/* Overwell look: warm paper, soft ink, Lora for headings, Inter for everything you read and tap.
   The variable names are the Overwell design tokens, so a value here maps to the same token in Figma.
   Light is the default; dark follows the system or data-theme="dark" on <html>. */
:root{
  --pageBackgroundColor:#efeadf;
  --tileBackgroundColor:#ffffff;
  --tileBorderColor:#ffffffcc;
  --fontPrimary:#2c2a26;
  --fontSecondary:#55524a;
  --fontTertiary:#6e6a60;
  --accentTextColor:#4287ab;
  --buttonPrimaryBackgroundColor:#181613;
  --buttonPrimaryBackgroundColorHover:#2c2a26;
  --buttonPrimaryBackgroundColorActive:#0e0d0b;
  --buttonPrimaryTextColor:#f7f4ee;
  --buttonSecondaryBorderColor:#181613;
  --buttonSecondaryTextColor:#181613;
  --progressBarBackgroundColor:#6e6a6040;
  --progressBarProgressBackgroundColor:#181613;
  --itemActiveDefault:#6e6a601a;
  --dividerDefaultColorTransparent:#6e6a601a;
  --highlightBlueTileBackgroundColor:#c7e1ef;
  --highlightBlueTileTextColor:#143b5a;
  --tileTransparentLevel2:#ffffffb3;
  /* brand colours that do not flip with the theme (illustration ink and panels) */
  --graphite:#2c2a26;
  --ink:#181613;
  --paper:#f7f4ee;
  --cove:#c7e1ef;
  --deep:#256085;
  --aha:#d6f54d;
  --beeswax:#fedb67;
  --angry-love:#ff4d00;
  --font-heading:"Lora",Georgia,"Times New Roman",serif;
  --font-sans:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --pageBackgroundColor:#181613;
    --tileBackgroundColor:#2c2a26;
    --tileBorderColor:#18161300;
    --fontPrimary:#e0d8c4;
    --fontSecondary:#aca595;
    --fontTertiary:#8c877a;
    --buttonPrimaryBackgroundColor:#e0d8c4;
    --buttonPrimaryBackgroundColorHover:#efeadf;
    --buttonPrimaryBackgroundColorActive:#cac1ad;
    --buttonPrimaryTextColor:#181613;
    --buttonSecondaryBorderColor:#e0d8c4;
    --buttonSecondaryTextColor:#f7f4ee;
    --progressBarBackgroundColor:#55524a;
    --progressBarProgressBackgroundColor:#e0d8c4;
    --itemActiveDefault:#6e6a6059;
    --dividerDefaultColorTransparent:#6e6a6059;
    --highlightBlueTileBackgroundColor:#569abb;
    --highlightBlueTileTextColor:#09243b;
    --tileTransparentLevel2:#2c2a26b3;
    color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --pageBackgroundColor:#181613;
  --tileBackgroundColor:#2c2a26;
  --tileBorderColor:#18161300;
  --fontPrimary:#e0d8c4;
  --fontSecondary:#aca595;
  --fontTertiary:#8c877a;
  --buttonPrimaryBackgroundColor:#e0d8c4;
  --buttonPrimaryBackgroundColorHover:#efeadf;
  --buttonPrimaryBackgroundColorActive:#cac1ad;
  --buttonPrimaryTextColor:#181613;
  --buttonSecondaryBorderColor:#e0d8c4;
  --buttonSecondaryTextColor:#f7f4ee;
  --progressBarBackgroundColor:#55524a;
  --progressBarProgressBackgroundColor:#e0d8c4;
  --itemActiveDefault:#6e6a6059;
  --dividerDefaultColorTransparent:#6e6a6059;
  --highlightBlueTileBackgroundColor:#569abb;
  --highlightBlueTileTextColor:#09243b;
  --tileTransparentLevel2:#2c2a26b3;
  color-scheme:dark;
}

*{box-sizing:border-box}
html,body{margin:0}
:root{padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
body{min-height:100vh;background:var(--pageBackgroundColor);color:var(--fontPrimary);
  font:400 16px/24px var(--font-sans);-webkit-font-smoothing:antialiased}
.wrap{max-width:520px;margin:0 auto;padding:16px 16px 120px;display:flex;flex-direction:column;gap:24px}
button,textarea,input{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:2px solid var(--accentTextColor);outline-offset:2px}
h1,h2{margin:0;font-family:var(--font-heading);font-weight:600;letter-spacing:-.02em;text-wrap:balance}
h1{font-size:35px;line-height:40px}
h2{font-size:28px;line-height:34px}
p{margin:0}
.muted{color:var(--fontSecondary)}
.small{font-size:14px;line-height:20px}
.lead{font-size:18px;line-height:26px;color:var(--fontSecondary)}
[hidden]{display:none!important}

/* top bar */
.top{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px}
.wordmark{height:24px;width:auto;display:block;color:var(--fontPrimary)}
.wordmark.logo{height:84px;margin:-8px 0 -12px -2px}
/* on a dark page the figure goes deep blue, so the light letters stay readable on top of it */
@media (prefers-color-scheme:dark){.wordmark.logo path[fill="#C7E1EF"]{fill:#2a6d96}}
.count{display:flex;align-items:baseline;gap:6px;background:var(--tileBackgroundColor);border:1px solid var(--tileBorderColor);
  border-radius:999px;padding:6px 12px;font-size:14px;line-height:20px;color:var(--fontSecondary);font-variant-numeric:tabular-nums}
.count b{font-weight:600;color:var(--fontPrimary)}
.count.bump{animation:bump .5s cubic-bezier(.3,1.5,.5,1)}
@keyframes bump{40%{transform:scale(1.12)}}

/* floating nav: glass, no shadow */
.tabs{position:fixed;left:50%;bottom:calc(16px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:50;
  display:flex;gap:4px;padding:4px;border-radius:999px;background:var(--tileTransparentLevel2);border:1px solid var(--dividerDefaultColorTransparent);
  -webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
.tabs a{display:flex;align-items:center;gap:8px;padding:10px 18px;border-radius:999px;white-space:nowrap;
  color:var(--fontSecondary);text-decoration:none;font-weight:600;font-size:14px;line-height:20px}
.tabs a[aria-current="true"]{background:var(--buttonPrimaryBackgroundColor);color:var(--buttonPrimaryTextColor)}
.view{display:none;flex-direction:column;gap:16px}
.view.on{display:flex}

/* hero */
.hero{display:flex;flex-direction:column;gap:12px;padding-top:8px}
.hero .lead{margin-top:-4px}
.badge{align-self:flex-start;background:var(--tileBackgroundColor);color:var(--fontSecondary);border-radius:999px;
  padding:6px 12px;font-weight:500;font-size:14px;line-height:17px}
.bar{height:8px;border-radius:999px;background:var(--progressBarBackgroundColor);overflow:hidden;margin-top:4px}
.bar i{display:block;height:100%;width:0;background:var(--progressBarProgressBackgroundColor);border-radius:999px;transition:width .4s ease}

/* cards */
.card{background:var(--tileBackgroundColor);border:1px solid var(--tileBorderColor);border-radius:16px;padding:16px;
  display:flex;flex-direction:column;gap:12px}

/* scene: an illustration, so its colours stay the same in both themes */
.scene{position:relative;border-radius:16px;overflow:hidden;background:#143b5a}
.scene svg{display:block;width:100%;height:auto}
.it{opacity:0;transition:opacity .5s;transform-box:fill-box;transform-origin:50% 100%}
.it.on{opacity:1}
.it.new{animation:pop .9s cubic-bezier(.3,1.7,.5,1)}
@keyframes pop{from{transform:scale(.2);opacity:0}60%{opacity:1}to{transform:scale(1)}}
.flame{transform-box:fill-box;transform-origin:50% 100%;animation:flick 1s ease-in-out infinite alternate}
.flame.b{animation-duration:.7s}
@keyframes flick{from{transform:scaleY(.92) skewX(-3deg)}to{transform:scaleY(1.08) skewX(3deg)}}
.tw{animation:tw 2.4s ease-in-out infinite alternate}
.tw:nth-child(2n){animation-delay:-1.2s}.tw:nth-child(3n){animation-delay:-.6s}
@keyframes tw{from{opacity:.25}to{opacity:1}}
.fall{animation:fall 6s linear infinite}
.fall:nth-child(2){animation-delay:-2s}.fall:nth-child(3){animation-delay:-3.5s}.fall:nth-child(4){animation-delay:-5s}.fall:nth-child(5){animation-delay:-1s}.fall:nth-child(6){animation-delay:-4.2s}
@keyframes fall{from{transform:translate(0,-12px)}to{transform:translate(-10px,104px)}}
.rise{animation:rise 3s ease-out infinite}
.rise:nth-child(2){animation-delay:-1s}.rise:nth-child(3){animation-delay:-2s}.rise:nth-child(4){animation-delay:-1.6s}.rise:nth-child(5){animation-delay:-.5s}
@keyframes rise{from{transform:translate(0,0);opacity:1}to{transform:translate(6px,-46px);opacity:0}}
#cold,#warm{transition:opacity 1.2s;pointer-events:none}
.cap{background:var(--ink);color:var(--paper);padding:10px 16px;font-size:14px;line-height:20px}
.cap b{font-weight:600;color:var(--aha)}

/* task card */
.task{gap:8px;padding:20px 16px 16px}
.task .meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:4px}
.tag{background:var(--highlightBlueTileBackgroundColor);color:var(--highlightBlueTileTextColor);border-radius:8px;
  padding:4px 8px;font-weight:600;font-size:12px;line-height:16px}
.task .when{font-size:14px;line-height:20px;color:var(--fontTertiary)}
.task h2{font-size:24px;line-height:30px}
.task .hint{color:var(--fontSecondary)}
.task .btn{margin-top:12px}
.doneline{font-weight:600;margin-top:4px}

/* buttons: the darkest thing on the page; they press 2px down and spring back */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;width:100%;padding:12px 20px;
  border:0;border-radius:16px;background:var(--buttonPrimaryBackgroundColor);color:var(--buttonPrimaryTextColor);
  font-weight:600;font-size:16px;line-height:20px;text-decoration:none;text-align:center;
  transition:transform .18s cubic-bezier(.3,1.6,.5,1),background .15s}
.btn:hover{background:var(--buttonPrimaryBackgroundColorHover)}
.btn:active{background:var(--buttonPrimaryBackgroundColorActive);transform:translateY(2px) scale(.98)}
.btn.outline{background:transparent;color:var(--buttonSecondaryTextColor);box-shadow:inset 0 0 0 2px var(--buttonSecondaryBorderColor)}
.btn.outline:hover{background:var(--itemActiveDefault)}
.btn.sm{width:auto;align-self:flex-start;min-height:40px;padding:10px 16px;font-size:14px;line-height:16px;border-radius:12px}
.btn[disabled]{opacity:.5;pointer-events:none}
.row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.actions{display:flex;flex-direction:column;gap:8px}

/* the 32 doors: a number and its date */
.doors{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.day{aspect-ratio:1;border-radius:12px;border:1px solid var(--progressBarBackgroundColor);background:transparent;padding:0;position:relative;
  font-family:var(--font-heading);font-weight:600;font-size:20px;line-height:1;font-variant-numeric:tabular-nums lining-nums;
  transition:transform .18s cubic-bezier(.3,1.6,.5,1);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}
.day b{font-weight:600}
.day small{font-family:var(--font-sans);font-weight:500;font-size:10px;line-height:1;letter-spacing:0;opacity:.75;white-space:nowrap}
.day:active{transform:translateY(2px) scale(.98)}
.day.locked{border-style:dashed;color:var(--fontTertiary)}
.day.done{border-color:transparent;background:var(--highlightBlueTileBackgroundColor);color:var(--highlightBlueTileTextColor)}
.day.today::after{content:"";position:absolute;right:6px;top:6px;width:5px;height:5px;border-radius:50%;background:currentColor}
.day.sel{box-shadow:inset 0 0 0 2px var(--buttonSecondaryBorderColor);border-color:transparent}

.linkbtn{background:none;border:0;padding:0;color:var(--accentTextColor);font-weight:600;text-decoration:underline;font-size:inherit;line-height:inherit}
/* a note about the dates */
.phase{background:var(--highlightBlueTileBackgroundColor);color:var(--highlightBlueTileTextColor);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:4px}
.phase .btn{align-self:flex-start;margin-top:8px}
.phase b{font-family:var(--font-heading);font-weight:600;font-size:22px;line-height:28px}
.task .big{font-family:var(--font-heading);font-weight:600;font-size:58px;line-height:60px;letter-spacing:-.03em;font-variant-numeric:lining-nums}
.day[disabled]{cursor:default}
.wordmark{cursor:default;-webkit-tap-highlight-color:transparent;user-select:none}
/* only shown while a team member is previewing another date (tap the logo five times) */
.pv{position:sticky;top:0;z-index:60;background:var(--aha);color:var(--ink);font-size:12px;line-height:16px;font-weight:600;text-align:center;padding:6px 12px}

/* finished room */
.finish{background:var(--cove);color:var(--graphite);border-radius:16px;padding:24px 16px 16px;display:flex;flex-direction:column;gap:12px}
.finish .badge{background:#fff;color:#55524a}
.finish .btn{background:var(--ink);color:var(--paper)}
.finish .btn:hover{background:var(--graphite)}
.finish .btn.outline{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 2px var(--ink)}
.finish .btn.outline:hover{background:#18161314}
.finish .actions{margin-top:4px}
.finish #x-status:empty{display:none}

.foot{font-family:var(--font-heading);font-weight:500;font-size:18px;line-height:24px;text-align:center;color:var(--fontTertiary);padding:8px 0}

/* export preview */
.sheet{border:0;border-radius:24px;padding:24px;width:min(420px,calc(100vw - 32px));max-height:calc(100vh - 32px);
  background:var(--tileBackgroundColor);color:var(--fontPrimary)}
.sheet[open]{display:flex;flex-direction:column;gap:16px}
.sheet::backdrop{background:#181613b3}
.sheet h2{font-size:22px;line-height:28px}
.sheet img{display:block;max-width:100%;max-height:46vh;width:auto;margin:0 auto;border-radius:12px;object-fit:contain}

/* ---------- thought disposal ---------- */
/* the stage is an illustration panel: Cove, with props in single-colour Graphite like the Overwell stamps */
.stage{position:relative;height:340px;border-radius:16px;overflow:hidden;background:var(--cove);color:var(--graphite)}
.note{position:absolute;left:50%;top:30px;width:200px;margin-left:-100px;overflow:hidden;
  padding:12px 14px;background:#fff;color:var(--graphite);border:1.5px solid var(--graphite);border-radius:4px;
  font:italic 500 19px/1.2 var(--font-heading);transform:rotate(-2deg);z-index:4;overflow-wrap:anywhere}
.note.md{font-size:17px}
.note.sm{font-size:15px}
.note.empty{color:#8c877a}
.props{position:absolute;inset:0}
.result{position:absolute;inset:0;display:none;flex-direction:column;gap:12px;align-items:center;justify-content:center;text-align:center;padding:24px;z-index:9}
.result.on{display:flex;animation:fadein .4s both}
@keyframes fadein{from{opacity:0;transform:translateY(8px)}}
.result p{font-family:var(--font-heading);font-weight:600;font-size:24px;line-height:30px;letter-spacing:-.02em;text-wrap:balance;max-width:15em}
.result .small{color:var(--deep)}
.result .btn{align-self:center;margin-top:4px;background:var(--ink);color:var(--paper)}
/* the slow out-breath shown when a thought comes back */
.exhale{position:relative;width:76px;height:76px;display:grid;place-items:center}
.exhale i{position:absolute;inset:0;border-radius:50%;border:2px solid var(--graphite);background:#ffffff80;animation:exhale 7s ease-in-out infinite}
.exhale span{position:relative;font-size:12px;line-height:16px;font-weight:600}
@keyframes exhale{0%,100%{transform:scale(.62);opacity:.5}35%{transform:scale(1);opacity:1}}
.pop{position:absolute;font:italic 600 26px/1 var(--font-heading);color:var(--graphite);z-index:8;pointer-events:none;white-space:nowrap}

.label{font-weight:600;font-size:14px;line-height:20px}
textarea{width:100%;background:var(--tileBackgroundColor);border:1px solid var(--progressBarBackgroundColor);border-radius:12px;
  padding:12px;resize:vertical;min-height:84px;font-size:16px;line-height:24px}
textarea:focus{outline:none;border-color:var(--buttonSecondaryBorderColor)}
textarea::placeholder{color:var(--fontTertiary)}
fieldset{border:0;padding:0;margin:0;min-width:0}
legend{font-size:14px;line-height:20px;color:var(--fontSecondary);font-weight:600;padding:0;margin-bottom:8px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips input{position:absolute;opacity:0;pointer-events:none}
.chips label{background:var(--tileBackgroundColor);box-shadow:inset 0 0 0 1px var(--progressBarBackgroundColor);border-radius:8px;
  padding:10px 14px;font-weight:500;font-size:14px;line-height:20px;cursor:pointer}
.chips input:checked+label{box-shadow:inset 0 0 0 2px var(--buttonSecondaryBorderColor);font-weight:600}
.chips input:focus-visible+label{outline:2px solid var(--accentTextColor);outline-offset:2px}
.shake{animation:shake .4s}
@keyframes shake{25%{transform:translateX(-6px)}50%{transform:translateX(6px)}75%{transform:translateX(-3px)}}
.controls{display:flex;flex-direction:column;gap:16px;transition:opacity .3s}
.controls>div{display:flex;flex-direction:column;gap:8px}
.busy .controls{opacity:.4;pointer-events:none}
a.help{color:var(--accentTextColor);font-weight:600}

/* props */
.scorch{position:absolute;left:-2px;right:-2px;top:0;height:60px;pointer-events:none;
  background:linear-gradient(transparent 0,rgba(122,74,42,.35) 30%,rgba(44,42,38,.92) 66%,var(--graphite) 82%,var(--angry-love) 90%,var(--beeswax) 100%)}
.flames{position:absolute;height:60px;z-index:5;pointer-events:none;opacity:0;transform-origin:50% 100%}
.flames svg{position:absolute;bottom:0;transform-origin:50% 100%;animation:flick .4s ease-in-out infinite alternate;overflow:visible}
.ashbit{position:absolute;background:var(--graphite);z-index:6;border-radius:40% 60% 50% 30%}
.smoke{position:absolute;width:44px;height:44px;border-radius:50%;background:#fff;filter:blur(12px);opacity:0;z-index:5}
.dot{position:absolute;border-radius:50%;z-index:6;pointer-events:none}
.fogp{position:absolute;border-radius:50%;background:#fff;filter:blur(20px);opacity:0;z-index:5}
.plane{position:absolute;width:72px;height:54px;z-index:6;opacity:0}
.vac{position:absolute;right:14px;bottom:16px;width:150px;height:112px;z-index:3}
.clipbox{position:absolute;inset:0 0 auto 0;height:186px;overflow:hidden;z-index:2}
.shred{position:absolute;top:176px;left:50%;width:250px;margin-left:-125px;height:52px;border-radius:12px;background:var(--graphite);z-index:3}
.shred::before{content:"";position:absolute;left:20px;right:20px;top:8px;height:6px;border-radius:3px;background:#000}
.shred::after{content:"";position:absolute;left:20px;bottom:12px;width:44px;height:4px;border-radius:2px;background:#55524a;box-shadow:0 8px 0 #55524a}
.led{position:absolute;right:16px;bottom:12px;width:10px;height:10px;border-radius:50%;background:var(--angry-love)}
.strips{position:absolute;top:227px;left:50%;width:200px;margin-left:-100px;height:113px;overflow:hidden;display:flex;gap:4px;z-index:2}
.strips i{flex:1;height:112px;background:repeating-linear-gradient(#fff 0 12px,#aca595 12px 13.5px);border-radius:0 0 2px 2px;
  box-shadow:inset 1.5px 0 0 var(--graphite),inset -1.5px 0 0 var(--graphite)}
/* black hole: a slow bright swirl underneath, a solid disc on top */
.hole{position:absolute;width:96px;height:96px;left:50%;top:210px;margin-left:-48px;z-index:3}
.hole::before{content:"";position:absolute;inset:-14px;border-radius:50%;filter:blur(5px);
  background:conic-gradient(#fff,var(--deep),#d6d0f6,var(--beeswax),#fff);animation:spin 1.1s linear infinite}
.hole::after{content:"";position:absolute;inset:4px;border-radius:50%;background:#0e0d0b}
.hole b{position:absolute;inset:-28px;border-radius:50%;border:2px dashed var(--graphite);opacity:.6;animation:spin 6s linear infinite reverse}
@keyframes spin{to{transform:rotate(360deg)}}
.table{position:absolute;top:200px;right:0;height:8px;background:var(--graphite);border-radius:4px 0 0 4px;z-index:2}
.table::after{content:"";position:absolute;left:30px;top:8px;width:7px;height:140px;background:var(--graphite)}
.catp{position:absolute;top:90px;width:100px;height:110px;z-index:3}
.catp .tail{transform-box:fill-box;transform-origin:0 100%}
.paw{position:absolute;top:176px;height:14px;width:10px;border-radius:7px;background:var(--graphite);z-index:5}
.mon{position:absolute;left:50%;bottom:-6px;width:180px;height:140px;margin-left:-90px;z-index:3;transform:translateY(170px)}
.mon .mouth{transform-box:fill-box;transform-origin:50% 50%}
.mon .eye{transform-box:fill-box;transform-origin:50% 50%}
/* runners: legs swing, bodies bob */
.runner{position:absolute;left:0;pointer-events:none}
.runner svg,.artist svg{display:block;overflow:visible}
.leg{transform-box:fill-box;transform-origin:50% 0;animation:leg .26s ease-in-out infinite alternate}
.leg.b{animation-direction:alternate-reverse}
@keyframes leg{from{transform:rotate(calc(var(--sw,36deg)*-1))}to{transform:rotate(var(--sw,36deg))}}
.bob{animation:bob .26s ease-in-out infinite alternate}
@keyframes bob{from{transform:translateY(0)}to{transform:translateY(-4px)}}
.still .leg,.still .bob{animation-play-state:paused}
.mammoth{--sw:22deg}
.ground{position:absolute;left:0;right:0;top:304px;height:2px;background:var(--graphite);opacity:.2}
/* the artist and the poster */
.artist{position:absolute;top:178px;width:88px;height:150px;z-index:7;--sw:20deg;transform-origin:50% 100%}
.poster{position:absolute;left:50%;top:14px;width:224px;margin-left:-112px;height:0;overflow:hidden;z-index:5;transform:rotate(1.5deg);transform-origin:50% 0}
.poster-in{box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;gap:2px;padding:18px 16px;background:var(--aha);color:var(--graphite);
  border:1.5px solid var(--graphite);border-radius:3px;font:600 25px/1.14 var(--font-heading);letter-spacing:-.02em}
.poster-in .last{display:flex;align-items:baseline;gap:7px}
.poster-in svg{height:22px;width:auto;position:relative;top:3px}
.roll{position:absolute;left:50%;top:8px;width:238px;margin-left:-119px;height:14px;border-radius:7px;background:#fff;border:1.5px solid var(--graphite);z-index:6;opacity:0}
.swipe{position:absolute;left:50%;width:150px;margin-left:-75px;height:16px;border-radius:8px;background:#ffffffb3;z-index:6;opacity:0}
/* phoenix: last time's ashes, and what gets up out of them */
.ash{position:absolute;left:50%;bottom:22px;width:120px;height:26px;margin-left:-60px;z-index:3;transform-origin:50% 100%;
  border-radius:50% 50% 8px 8px/100% 100% 8px 8px;background:var(--graphite)}
.ashglow{position:absolute;left:50%;bottom:10px;width:180px;height:70px;margin-left:-90px;z-index:2;opacity:0;border-radius:50%;filter:blur(14px);
  background:radial-gradient(ellipse,rgba(255,77,0,.7) 0,transparent 70%)}
.phx{position:absolute;left:50%;top:210px;width:120px;height:110px;margin-left:-60px;z-index:6;opacity:0}
.phx .wing{transform-origin:57px 55px;animation:flap .26s ease-in-out infinite alternate}
@keyframes flap{from{transform:rotate(-20deg)}to{transform:rotate(24deg)}}

@media (prefers-reduced-motion:reduce){
  .flame,.tw,.fall,.rise,.it.new,.hole::before,.hole b,.exhale i,.result.on,.count.bump,.leg,.bob{animation:none}
  .btn,.day{transition:none}
}

/* language picker in the footer */
.foot{display:flex;flex-direction:column;align-items:center;gap:12px}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.langpick select{font:inherit;font-family:var(--font-sans);font-size:14px;line-height:20px;color:var(--fontSecondary);background:var(--tileBackgroundColor);border:1px solid var(--tileBorderColor);border-radius:999px;padding:6px 12px}

/* the personal link: warmer than the date notes, so it reads as something to keep */
.mylink{background:var(--aha);color:var(--ink)}
.mylink .btn{background:var(--ink);color:var(--paper)}
