/* /public/css/hearth.css (v2.21) 🔥 The Hearth (home.html): header, doorways, the family feed and the cards beside it.
   Drawn by js/home-hearth.js and js/feed.js. Full look (painted tiles, the family oak) and Classic look
   (html.oh-classic: plain lists, no pictures), light and dark (the --fp-* tokens in css/brand.css), computers and phones. */

.vh{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
main.content{overflow-x:clip}
#appShell main.content .container-fluid{max-width:1480px;margin:0 auto}
.hh-sec-h{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 16px;margin:0 0 14px}
.hh-sec-h h2{margin:0;font-family:var(--fp-sans);font-size:22px;font-weight:800;color:var(--fp-ink);letter-spacing:-.01em}
.hh-hint{margin:0;font-size:15px;color:var(--fp-muted)}
.hh-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px 20px;border-radius:999px;border:1.5px solid var(--fp-line-strong);background:var(--fp-card);color:var(--fp-ink)!important;font:inherit;font-size:16px;font-weight:700;text-decoration:none!important;cursor:pointer;transition:background-color .15s,transform .15s}
.hh-btn:hover{background:var(--fp-violet-soft)}
.hh-btn.is-main{background:var(--fp-violet);border-color:var(--fp-violet);color:var(--fp-on-violet)!important}
.hh-btn.is-main:hover{background:var(--fp-violet-strong);border-color:var(--fp-violet-strong)}
.hh-btn.is-block{display:flex;width:100%;margin-top:10px}
.hh-btn:disabled{opacity:.6;cursor:wait}
:is(.hh-btn,.hh-chip,.hh-arr-btn,.hh-door,.hh-ctl button,.hh-hide,.hh-more,.hh-rows a,.hh-otd,.hh-next,.hh-name):focus-visible{outline:3px solid var(--fp-violet);outline-offset:2px}

/* ================================================================ 1. the header */
#hmHearth{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 24px;padding:22px 28px;border-radius:24px;overflow:hidden;color:#fff;
  background:radial-gradient(90% 120% at 88% 120%,color-mix(in srgb,var(--fp-gold) 34%,transparent),transparent 60%),linear-gradient(135deg,var(--oh-violet-strong,#3d1f8f) 0%,var(--oh-violet,#5b35c4) 75%);box-shadow:0 10px 30px rgba(45,25,110,.18)}
html.theme-dark #hmHearth{background:radial-gradient(90% 120% at 88% 120%,color-mix(in srgb,var(--fp-gold) 20%,transparent),transparent 60%),linear-gradient(135deg,#24135a 0%,#3d1f8f 80%)}
.hh-date{margin:0 0 2px;font-size:15px;font-weight:600;opacity:.92}
.hh-greet{margin:0 0 12px;font-family:var(--fp-sans);font-size:clamp(26px,3.2vw,36px);font-weight:800;line-height:1.1;color:#fff!important;letter-spacing:-.01em}
.hh-chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.hh-water{display:contents}
.hh-chip{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:8px 16px;border-radius:999px;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.14);color:#fff!important;font:inherit;font-size:15px;font-weight:700;text-decoration:none!important;cursor:pointer;transition:background-color .15s,transform .15s}
.hh-chip:hover{background:rgba(255,255,255,.24)}
.hh-chip.is-act{background:#fff;color:var(--oh-violet-strong,#3d1f8f)!important;border-color:#fff;box-shadow:0 6px 16px rgba(20,10,50,.25)}
.hh-chip.is-act:hover{transform:translateY(-1px)}
.hh-chip.is-done{cursor:default;background:rgba(255,255,255,.1)}
#hmHearth :is(.hh-chip,.hh-arr-btn):focus-visible{outline-color:#fff}
.hh-hd-side{display:flex;align-items:flex-end;gap:16px}
.hh-scene{width:150px;margin:-18px 0 -26px}
.hh-oak{display:block;width:100%;height:auto;overflow:visible}
.hh-glow{fill:var(--fp-gold);opacity:.45}
.hh-trunk{fill:none;stroke:#2a1460;stroke-width:9;stroke-linecap:round}
.hh-leaf{opacity:.93}.hh-leaf-0{fill:#c9b8ff}.hh-leaf-1{fill:#a48bff}.hh-leaf-2{fill:#e7defe}
.hh-canopy{transform-box:fill-box;transform-origin:50% 100%;animation:hhSway 9s ease-in-out infinite}
@keyframes hhSway{0%,100%{rotate:-1.2deg}50%{rotate:1.2deg}}
.hh-dot{fill:var(--fp-gold);animation:hhTw 4.5s ease-in-out var(--d) infinite}
@keyframes hhTw{0%,100%{opacity:1}50%{opacity:.45}}
.hh-root{fill:var(--fp-gold);filter:drop-shadow(0 0 8px var(--fp-gold))}
.hh-rain path{fill:#fff;opacity:0}
#hmHearth.is-raining .hh-rain path{animation:hhRain 1.1s ease-out var(--d) 1 both}
@keyframes hhRain{0%{opacity:0;transform:translateY(0)}20%{opacity:.95}100%{opacity:0;transform:translateY(120px)}}
#hmHearth.is-watered .hh-glow{opacity:.8}
.hh-arr-btn{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:10px 18px;border-radius:999px;border:1.5px solid rgba(255,255,255,.55);background:transparent;color:#fff;font:inherit;font-size:16px;font-weight:700;cursor:pointer;white-space:nowrap}
.hh-arr-btn:hover{background:rgba(255,255,255,.14)}
.hh-arr-btn[aria-pressed="true"]{background:#fff;color:var(--oh-violet-strong,#3d1f8f)}

/* ================================================================ arranging */
.hh-arrbar{position:sticky;top:calc(var(--fp-nav-h,64px) + 8px);z-index:20;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin:18px 0 0;padding:14px 18px;border-radius:18px;background:var(--fp-gold);color:var(--fp-on-gold);font-size:16px;box-shadow:0 10px 24px rgba(0,0,0,.15)}
.hh-arrbar-b{display:flex;flex-wrap:wrap;gap:8px}
.hh-arrbar .hh-btn{border-color:rgba(0,0,0,.35);background:rgba(255,255,255,.7);color:#2a1d00!important}
.hh-arrbar .hh-btn.is-main{background:#2a1d00;border-color:#2a1d00;color:#fff!important}

/* ================================================================ 2. doorways */
#hmDoors{margin:26px 0 0}
.hh-doors{display:grid;grid-template-columns:repeat(auto-fill,minmax(134px,1fr));gap:12px;margin:0;padding:0;list-style:none}
.hh-door{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-height:132px;padding:16px;border-radius:20px;border:1px solid var(--fp-line);
  background:linear-gradient(165deg,color-mix(in srgb,var(--c) 14%,var(--fp-card)) 0%,var(--fp-card) 70%);color:var(--fp-ink)!important;text-decoration:none!important;
  box-shadow:0 1px 2px rgba(20,14,40,.05);transition:transform .15s,box-shadow .15s,border-color .15s}
a.hh-door:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--c) 55%,var(--fp-line));box-shadow:0 12px 26px rgba(20,14,40,.12)}
.hh-pic{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;font-size:28px;line-height:1;background:radial-gradient(circle at 30% 25%,rgba(255,255,255,.45),transparent 55%),var(--c);box-shadow:inset 0 -3px 0 rgba(0,0,0,.18),0 4px 10px color-mix(in srgb,var(--c) 40%,transparent)}
.hh-t{display:flex;flex-direction:column;gap:2px;min-width:0}
.hh-t b{font-size:17px;font-weight:800;line-height:1.2}
.hh-t small{font-size:14px;line-height:1.3;color:var(--fp-muted)}
.hh-count{position:absolute;top:12px;right:12px;min-width:30px;height:30px;padding:0 9px;display:grid;place-items:center;border-radius:999px;background:var(--fp-gold);color:var(--fp-on-gold);font-size:15px;font-weight:800}
.hh-count.is-urgent{background:#c2412d;color:#fff}
html.theme-dark .hh-count.is-urgent{background:#f07a63;color:#1b0b06}
.hh-all{margin-top:12px;width:100%}
/* arranging the tiles */
.hh-door.is-edit{cursor:grab;padding-bottom:64px;border-style:dashed;border-width:2px}
.hh-door.is-edit.is-hidden{opacity:.55;background:var(--fp-sunken)}
.hh-door.is-drag{opacity:.4}
.hh-door.is-over{outline:3px solid var(--fp-violet);outline-offset:2px}
.hh-ctl{position:absolute;left:10px;right:10px;bottom:10px;display:flex;gap:6px}
.hh-ctl button{min-width:44px;min-height:44px;border-radius:12px;border:1.5px solid var(--fp-line-strong);background:var(--fp-card);color:var(--fp-ink);font:inherit;font-size:18px;font-weight:800;cursor:pointer}
.hh-ctl button:disabled{opacity:.35;cursor:default}
.hh-ctl .hh-hide{flex:1;font-size:15px}
.hh-hide{min-height:44px;padding:6px 14px;border-radius:12px;border:1.5px solid var(--fp-line-strong);background:var(--fp-card);color:var(--fp-ink);font:inherit;font-size:15px;font-weight:700;cursor:pointer}
.hh-hide[aria-pressed="true"]{background:var(--fp-violet);border-color:var(--fp-violet);color:var(--fp-on-violet)}
.hh-hidden-tag{position:absolute;top:12px;right:12px;padding:2px 10px;border-radius:999px;background:var(--fp-ink);color:var(--fp-card);font-size:13px;font-weight:800}

/* ================================================================ 3 + 4. the feed and the cards beside it */
.hh-main{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:28px;align-items:start;margin:32px 0 32px}
#hmSide{display:flex;flex-direction:column;gap:16px;position:sticky;top:calc(var(--fp-nav-h,64px) + 16px)}
#hmAnnouncements[hidden]{display:none}
.hh-card{background:var(--fp-card);border:1px solid var(--fp-line);border-radius:20px;padding:16px 18px;box-shadow:0 1px 2px rgba(20,14,40,.04);color:var(--fp-ink)}
.hh-card[hidden]{display:none!important}
.hh-card.is-off{opacity:.55}
.hh-card-h{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 10px}
.hh-card-h h2{display:flex;align-items:center;gap:8px;margin:0;font-family:var(--fp-sans);font-size:18px;font-weight:800;color:var(--fp-ink)}
.hh-ic{font-size:20px}
.hh-more{white-space:nowrap;flex:none;display:inline-flex;align-items:center;min-height:44px;color:var(--fp-violet-strong)!important;font-weight:700;font-size:15px;text-decoration:none}
.hh-more:hover{text-decoration:underline}
.hh-more.is-block{display:flex}
.hh-sec-ctl{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:-4px -6px 10px;padding:6px 6px 10px;border-bottom:2px dashed var(--fp-line);font-weight:800}
.hh-quiet{margin:6px 0 0;font-size:15px;color:var(--fp-muted);line-height:1.5}
.hh-quiet a{color:var(--fp-violet-strong);font-weight:700}
.hh-rows{list-style:none;margin:0;padding:0}
.hh-rows li+li{border-top:1px solid var(--fp-line)}
.hh-rows a{display:flex;align-items:center;gap:12px;min-height:52px;padding:8px 4px;color:var(--fp-ink)!important;text-decoration:none;border-radius:10px}
.hh-rows a:hover{background:var(--fp-violet-soft)}
.hh-row-i{flex:none;width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:var(--fp-sunken);font-size:19px}
.hh-row-t{display:flex;flex-direction:column;min-width:0;flex:1}
.hh-row-t b{font-size:16px;line-height:1.3}
.hh-row-t small{font-size:14px;color:var(--fp-muted)}
.hh-rows.is-small b{font-size:15px}
.hh-when{flex:none;padding:3px 10px;border-radius:999px;background:var(--fp-sunken);font-size:14px;font-weight:700;color:var(--fp-muted)}
.hh-when.is-today{background:var(--fp-violet);color:var(--fp-on-violet)}
/* v2.22 upcoming events (the family calendars): a date chip in the calendar's color, the answer, quick RSVP buttons */
.hh-evs{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.hh-ev{border:1px solid var(--fp-line);border-left:4px solid var(--cal);border-radius:14px;padding:8px 10px 10px}
.hh-ev-a{display:flex;align-items:center;gap:12px;color:var(--fp-ink)!important;text-decoration:none;border-radius:10px;padding:2px 0 8px}
.hh-ev-a,.hh-ev-a:hover{text-decoration:none!important}
.hh-ev-a:hover b{text-decoration:underline!important}
.hh-ev-d{flex:none;width:46px;border-radius:10px;overflow:hidden;text-align:center;background:#fffdf8;border:1px solid #e6dccb;line-height:1.05}
.hh-ev-d small{display:block;background:var(--cal);color:#fff;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;padding:3px 0}
.hh-ev-d b{display:block;font-family:var(--fp-serif,Lora,Georgia,serif);font-size:21px;color:#2b2233;padding:3px 0 4px}
.hh-ev .hh-row-t .fcx-state{align-self:flex-start;margin-top:4px}
html.theme-dark .hh-ev-d b{color:#2b2233!important}
html.oh-classic .hh-ev{border-radius:8px}
html.oh-classic .hh-ev-d{background:none;border:0;width:40px}
html.oh-classic .hh-ev-d small{background:none;color:var(--fp-muted);padding:0}
html.oh-classic .hh-ev-d b{color:var(--fp-ink);font-family:inherit}
html.oh-classic.theme-dark .hh-ev-d b{color:var(--fp-ink)!important}
html.oh-classic .hh-ev .fcx-a{border-radius:6px}
.hh-rel{display:inline-block;width:fit-content;margin-top:3px;padding:1px 9px;border-radius:999px;background:var(--fp-violet-soft);color:var(--fp-violet-strong)!important;font-weight:700}
.hh-otd,.hh-next{display:flex;align-items:center;gap:14px;padding:10px;border-radius:16px;background:var(--fp-violet-soft);color:var(--fp-ink)!important;text-decoration:none}
.hh-otd:hover,.hh-next:hover{filter:brightness(.98)}
.hh-face{position:relative;flex:none;display:grid;place-items:center;width:52px;height:52px;border-radius:999px;overflow:hidden;background:var(--fp-card);color:var(--fp-violet-strong);font-weight:800;box-shadow:0 0 0 3px var(--fp-card),0 0 0 5px var(--fp-gold)}
.hh-face.is-big{width:68px;height:68px;font-size:20px}
.hh-face img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hh-go{font-size:22px;color:var(--fp-violet-strong)}
.hh-name{display:block;border-radius:14px;overflow:hidden;background:var(--fp-sunken);aspect-ratio:4/3}
.hh-name img{width:100%;height:100%;object-fit:cover;display:block}
.hh-road-t{margin:0 0 10px;font-size:16px}
.hh-road-t b{color:var(--fp-violet-strong)}
.hh-road{display:flex;gap:6px;margin:0 0 12px;padding:0;list-style:none;position:relative}
.hh-road::before{content:"";position:absolute;left:18px;right:18px;top:50%;border-top:3px dotted var(--fp-line-strong);opacity:.5}
.hh-road li{position:relative;flex:1;display:flex;justify-content:center}
.hh-road-dot{display:grid;place-items:center;width:40px;height:40px;border-radius:999px;background:var(--fp-card);border:2px solid var(--fp-line-strong);font-size:12px;font-weight:800;color:var(--fp-muted)}
.hh-road .is-done .hh-road-dot{background:var(--fp-gold);border-color:var(--fp-gold);color:var(--fp-on-gold)}
.hh-road .is-cur .hh-road-dot{border-color:var(--fp-violet);color:var(--fp-violet-strong);box-shadow:0 0 0 4px var(--fp-violet-soft)}
.hh-next small:first-child{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--fp-violet-strong)}
.hh-q{margin:0;font-family:var(--fp-serif);font-size:18px;line-height:1.45;color:var(--fp-ink)}
.hh-ta{width:100%;margin-top:10px;min-height:84px;border:1.5px solid var(--fp-line-strong);border-radius:12px;padding:10px 12px;font:inherit;font-size:16px;background:var(--fp-card);color:var(--fp-ink);resize:vertical}
.hh-done{margin:10px 0 0;font-weight:800;color:var(--fp-success)}
/* Fireside (js/fireside.js) in a side card: photo on top, the story under it */
.hh-fire .hm-card-h{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 10px}
.hh-fire .hm-card-h h3,.hh-fire .fy-h{display:flex;align-items:center;gap:8px;margin:0;font-size:18px!important;font-weight:800;color:var(--fp-ink)!important}
.hh-fire .hm-spot-img{aspect-ratio:16/10;max-height:240px;border-radius:14px;box-shadow:none}
.hh-fire .hm-spot .hm-spot-name{font-size:1.35rem}
.hh-fire .hm-spot-facts{font-size:15px;margin:10px 0}
.hh-fire .hm-spot-actions .btn{min-height:44px;font-size:15px}
.hh-fire .fy-prompt{font-size:14px;margin-top:8px}
.hh-fire .fy-light-btn{min-height:40px}

/* ---- the composer */
.hf-comp{background:var(--fp-card);border:1px solid var(--fp-line);border-radius:22px;padding:18px 20px;box-shadow:0 6px 18px rgba(20,14,40,.06)}
.hf-comp-h{margin:0 0 10px;font-family:var(--fp-sans);font-size:17px;font-weight:800;color:var(--fp-ink)}
.hf-comp-top{display:flex;gap:12px;align-items:flex-start}
.hf-comp textarea{flex:1;min-height:56px;border:1.5px solid var(--fp-line-strong);border-radius:16px;padding:14px 16px;font:inherit;font-size:18px;line-height:1.5;background:var(--fp-surface);color:var(--fp-ink);resize:none}
.hf-comp textarea:focus{outline:none;border-color:var(--fp-violet);box-shadow:0 0 0 4px color-mix(in srgb,var(--fp-violet) 18%,transparent);background:var(--fp-card)}
.hf-comp-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;padding-left:60px}
.hf-tool{display:inline-flex;align-items:center;gap:7px;min-height:48px;padding:8px 16px;border-radius:999px;border:1.5px solid var(--fp-line);background:var(--fp-card);color:var(--fp-ink);font:inherit;font-size:16px;font-weight:700;cursor:pointer;margin:0}
.hf-tool:hover,.hf-tool:focus-within{border-color:var(--fp-violet);background:var(--fp-violet-soft)}
.hf-tool select{border:0;background:transparent;color:inherit;font:inherit;font-weight:700;min-height:40px;cursor:pointer}
.hf-tool select:focus{outline:none}
.hf-tool:focus-visible,.hf-tool:has(input:focus-visible){outline:3px solid var(--fp-violet);outline-offset:2px}
.hf-count{font-size:14px;color:var(--fp-muted)}
.hf-share{margin-left:auto;min-width:120px}
.hf-err{margin:8px 0 0;color:var(--fp-danger);font-weight:700}
.hf-err:empty{display:none}
.hf-comp-photo{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:12px 0 0 60px}
.hf-comp-photo img{max-width:220px;max-height:160px;border-radius:12px;object-fit:cover}
.hf-comp-photo[hidden],.hf-comp-tags[hidden],.hf-comp-find[hidden]{display:none}
.hf-comp-tags{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 0 60px}
.hf-comp-find{margin:12px 0 0 60px}
.hf-comp-find label{display:block;font-weight:700;margin-bottom:6px}
.hf-comp-find input{width:100%;min-height:48px;border:1.5px solid var(--fp-line-strong);border-radius:12px;padding:8px 14px;font:inherit;font-size:17px;background:var(--fp-card);color:var(--fp-ink)}
.hf-find-l{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.hf-find-b{display:flex;flex-direction:column;align-items:flex-start;min-height:48px;padding:6px 14px;border-radius:12px;border:1.5px solid var(--fp-line);background:var(--fp-card);color:var(--fp-ink);font:inherit;cursor:pointer;text-align:left}
.hf-find-b:hover{border-color:var(--fp-violet);background:var(--fp-violet-soft)}
.hf-find-b small{color:var(--fp-muted)}
.hf-find-none{margin:4px 0;color:var(--fp-muted)}
/* ---- filter chips */
.hf-chips{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 16px}
.hf-chip{min-height:44px;padding:8px 18px;border-radius:999px;border:1.5px solid var(--fp-line-strong);background:var(--fp-card);color:var(--fp-ink);font:inherit;font-size:15px;font-weight:700;cursor:pointer}
.hf-chip:hover{background:var(--fp-violet-soft)}
.hf-chip[aria-pressed="true"]{background:var(--fp-ink);border-color:var(--fp-ink);color:var(--fp-card)}
.hf-chip:focus-visible{outline:3px solid var(--fp-violet);outline-offset:2px}
/* ---- the list */
.hf-list,.hf-pinned{display:flex;flex-direction:column;gap:16px}
.hf-pinned:empty{display:none}
.hf-pinned{margin-bottom:16px}
.hf-wait{color:var(--fp-muted);padding:16px 4px}
.hf-post,.hf-story{background:var(--fp-card);border:1px solid var(--fp-line);border-radius:22px;padding:18px 22px;box-shadow:0 4px 14px rgba(20,14,40,.05);color:var(--fp-ink)}
.hf-post.is-pinned{border:2px solid var(--fp-gold);background:linear-gradient(180deg,color-mix(in srgb,var(--fp-gold) 10%,var(--fp-card)),var(--fp-card) 40%)}
.hf-pin-flag{margin:0 0 8px;font-size:14px;font-weight:800;color:var(--fp-ink)}
.hf-ph{display:flex;align-items:center;gap:12px}
.hf-ph-t{display:flex;flex-direction:column;min-width:0;flex:1}
.hf-ph-t b{font-size:17px;font-weight:800}
.hf-ph-t small{font-size:14px;color:var(--fp-muted)}
.hf-branch{font-weight:700;color:var(--fp-violet-strong)}
.hf-av{position:relative;flex:none;display:inline-grid;place-items:center;border-radius:999px;overflow:hidden;background:var(--fp-violet-soft);color:var(--fp-violet-strong);font-weight:800;font-size:18px}
.hf-av img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hf-body{margin:14px 0 0;font-size:18px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.hf-photo{display:block;margin:14px 0 0;border-radius:16px;overflow:hidden;background:var(--fp-sunken)}
.hf-photo img{display:block;width:100%;max-height:480px;object-fit:cover}
.hf-photo.is-broken{display:none}
.hf-with{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:12px 0 0;font-size:14px;color:var(--fp-muted)}
.hf-with>span:first-child{font-weight:700;margin-right:2px}
.hf-tag{display:inline-flex;align-items:center;gap:4px;min-height:34px;padding:3px 12px;border-radius:999px;background:var(--fp-violet-soft);color:var(--fp-violet-strong)!important;font-size:14px;font-weight:700;text-decoration:none}
.hf-tag button{border:0;background:none;color:inherit;font-size:20px;line-height:1;min-width:28px;min-height:28px;cursor:pointer}
.hf-pf{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:16px 0 0;padding-top:14px;border-top:1px solid var(--fp-line)}
.hf-rxs{display:flex;flex-wrap:wrap;gap:6px}
.hf-rx{display:inline-flex;align-items:center;gap:6px;min-height:46px;padding:6px 14px;border-radius:999px;border:1.5px solid var(--fp-line);background:var(--fp-card);color:var(--fp-ink);font:inherit;font-size:15px;font-weight:700;cursor:pointer;transition:background-color .15s,border-color .15s,transform .12s}
.hf-rx:hover{border-color:var(--fp-violet);background:var(--fp-violet-soft)}
.hf-rx:active{transform:scale(.96)}
.hf-rx.is-on{background:var(--fp-violet-soft);border-color:var(--fp-violet);color:var(--fp-violet-strong)}
.hf-rx-i{font-size:19px;line-height:1}
.hf-rx-n{min-width:22px;padding:0 6px;border-radius:999px;background:var(--fp-violet);color:var(--fp-on-violet);font-size:13px;text-align:center}
.hf-rx:focus-visible{outline:3px solid var(--fp-violet);outline-offset:2px}
.hf-seen{font-size:15px;color:var(--fp-muted);font-weight:600}
.hf-seen.is-btn{min-height:44px;border:0;background:none;font:inherit;font-size:15px;font-weight:700;color:var(--fp-violet-strong);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.hf-seen-l{margin:10px 0 0;padding:10px 14px;border-radius:12px;background:var(--fp-sunken);font-size:15px}
.hf-seen-l[hidden]{display:none}
.hf-who{margin:8px 0 0;font-size:14px;color:var(--fp-muted)}
.hf-menu{position:relative}
.hf-dots{width:44px;height:44px;border-radius:999px;border:0;background:none;color:var(--fp-muted);font-size:24px;line-height:1;cursor:pointer}
.hf-dots:hover{background:var(--fp-sunken)}
.hf-menu-l{position:absolute;right:0;top:46px;z-index:5;display:flex;flex-direction:column;min-width:230px;padding:6px;border-radius:14px;background:var(--fp-card);border:1px solid var(--fp-line);box-shadow:0 14px 34px rgba(0,0,0,.18)}
.hf-menu-l[hidden]{display:none}
.hf-menu-l button{min-height:46px;padding:8px 14px;border:0;border-radius:10px;background:none;color:var(--fp-ink);font:inherit;font-size:16px;font-weight:600;text-align:left;cursor:pointer}
.hf-menu-l button:hover{background:var(--fp-violet-soft)}
.hf-menu-l .is-danger{color:var(--fp-danger)}
.hf-edit{width:100%;min-height:110px;border:1.5px solid var(--fp-violet);border-radius:14px;padding:12px 14px;font:inherit;font-size:18px;background:var(--fp-card);color:var(--fp-ink)}
.hf-row{display:flex;gap:8px;margin-top:8px}
.hf-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 20px;border-radius:999px;border:1.5px solid var(--fp-line-strong);background:var(--fp-card);color:var(--fp-ink);font:inherit;font-size:16px;font-weight:700;cursor:pointer}
.hf-btn.is-main{background:var(--fp-violet);border-color:var(--fp-violet);color:var(--fp-on-violet)}
.hf-btn.is-main:hover{background:var(--fp-violet-strong)}
.hf-btn:disabled{opacity:.6;cursor:wait}
.hf-btn:focus-visible{outline:3px solid var(--fp-violet);outline-offset:2px}
.hf-foot{display:flex;justify-content:center;margin:18px 0 0}
.hf-moreb{min-width:220px}
/* story cards (memories and life events) */
.hf-story{padding:16px 22px;border-left:5px solid var(--fp-gold)}
.hf-st-t{margin:12px 0 0;font-family:var(--fp-serif);font-size:20px;font-weight:600;line-height:1.3;color:var(--fp-ink)}
.hf-st-when{margin:4px 0 0;font-size:14px;font-weight:700;color:var(--fp-muted)}
.hf-st-x{margin:8px 0 0;font-size:16px;line-height:1.6;color:var(--fp-ink)}
.hf-link{display:inline-flex;align-items:center;min-height:44px;margin-top:4px;color:var(--fp-violet-strong)!important;font-weight:700;text-decoration:none}
.hf-link:hover{text-decoration:underline}
/* automatic changes: one small line each */
.hf-acts{padding:10px 16px 8px;border-radius:18px;background:var(--fp-sunken);border:1px solid var(--fp-line)}
.hf-acts-more{min-height:44px;margin:2px 0 4px;padding:4px 0;border:0;background:none;color:var(--fp-violet-strong);font:inherit;font-size:15px;font-weight:700;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.hf-acts li.is-extra{display:none}.hf-acts.is-open li.is-extra{display:flex}
.hf-acts-h{margin:4px 0 4px;font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--fp-muted)}
.hf-acts ul{list-style:none;margin:0;padding:0}
.hf-act{display:flex;align-items:center;gap:10px;min-height:48px;padding:6px 0;font-size:15px;line-height:1.4}
.hf-act+.hf-act{border-top:1px solid var(--fp-line)}
.hf-act-i{flex:none;width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:var(--fp-card);font-size:17px}
.hf-act-t{flex:1;min-width:0}
.hf-act-t a{color:var(--fp-violet-strong);font-weight:700}
.hf-act-t small{color:var(--fp-muted);white-space:nowrap}
.hf-act-pics{display:flex;gap:4px;flex:none}
.hf-act-pics a{display:block;width:40px;height:40px;border-radius:8px;overflow:hidden;background:var(--fp-card)}
.hf-act-pics img{width:100%;height:100%;object-fit:cover}
.hf-act-go{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:999px;color:var(--fp-violet-strong)!important;font-size:20px;text-decoration:none}
.hf-act-go:hover{background:var(--fp-card)}
.hf-empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:30px 20px;border:2px dashed var(--fp-line);border-radius:22px;text-align:center;color:var(--fp-muted)}
.hf-empty b{font-size:18px;color:var(--fp-ink)}
.hf-empty p{margin:0}
.hf-empty-i{font-size:34px}
.hf-toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);z-index:10060;max-width:min(520px,calc(100vw - 32px));padding:14px 22px;border-radius:16px;background:var(--fp-ink);color:var(--fp-card);font-size:16px;font-weight:700;box-shadow:0 14px 30px rgba(0,0,0,.25)}
html.fp-has-tabs .hf-toast{bottom:96px}
/* announcements (js/announcements.js) inside the side card */
#hhSec-ann{padding:6px}
#hhSec-ann .an-box{margin:0;border-radius:16px}
#hhSec-ann .an-box+.an-box{margin-top:6px}
#hmFeedTop:not(:empty){margin-bottom:14px}
#hmFeedTop .an-box{margin-bottom:8px}

/* ================================================================ tablets and phones */
@media (min-width:1280px) and (max-width:1439.98px){.hh-main{grid-template-columns:minmax(0,1fr) 320px;gap:22px}}
/* tablets and small computers (the side menu is open, so the page itself is 650–900 px wide) */
@media (min-width:992px) and (max-width:1279.98px){
  .hh-scene{display:none}
  .hh-doors{grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:10px}
  .hh-door{min-height:112px;padding:12px;gap:8px}
  .hh-t b{font-size:16px}.hh-t small{font-size:13px}
  .hh-pic{width:46px;height:46px;font-size:24px}
  .hh-main{grid-template-columns:minmax(0,1fr)}
  #hmSide{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
}
@media (max-width:991.98px){
  .hh-main{grid-template-columns:minmax(0,1fr);gap:24px}
  #hmSide{position:static}
  .hh-doors{grid-template-columns:repeat(4,minmax(0,1fr))}
  html.oh-classic .hh-doors{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:767.98px){
  #hmHearth{grid-template-columns:1fr;padding:18px 18px 16px;border-radius:20px}
  .hh-hd-side{justify-content:space-between;align-items:center}
  .hh-scene{display:none}
  .hh-arr-btn{width:100%;justify-content:center}
  .hh-doors{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .hh-door{min-height:112px;padding:12px 8px;align-items:center;text-align:center;gap:8px;border-radius:16px}
  .hh-t{align-items:center}
  .hh-t b{font-size:15px}
  .hh-t small{display:none}
  .hh-pic{width:46px;height:46px;font-size:24px;border-radius:14px}
  .hh-count{top:6px;right:6px;min-width:26px;height:26px;font-size:13px;padding:0 7px}
  .hh-door.is-edit{padding-bottom:58px}
  .hh-ctl{left:4px;right:4px;bottom:4px;gap:3px}
  .hh-ctl button{min-width:0;flex:1;padding:0}
  .hh-ctl .hh-hide{font-size:13px}
  .hf-comp{padding:14px}
  .hf-comp-top .hf-av{display:none}
  .hf-comp-bar,.hf-comp-photo,.hf-comp-tags,.hf-comp-find{padding-left:0;margin-left:0}
  .hf-comp-bar .hf-tool{flex:1 1 calc(50% - 8px);justify-content:center}
  .hf-comp-bar .hf-tool.is-sel{flex-basis:100%}
  .hf-share{flex:1 1 100%;margin-left:0}
  .hf-count{flex-basis:100%}
  .hf-count:empty{display:none}
  .hf-chips{flex-wrap:nowrap;overflow-x:auto;margin:16px -4px 12px;padding:0 4px 4px;scrollbar-width:none}
  .hf-chip{flex:none}
  .hf-post,.hf-story{padding:14px 16px;border-radius:18px}
  .hf-body{font-size:17px}
  .hf-rxs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%}
  .hf-rx{flex-direction:column;gap:2px;padding:6px 2px;border-radius:14px;min-height:60px;font-size:13px}
  .hf-rx-n{font-size:12px;min-width:20px;padding:0 5px}
  .hf-rx-l{font-size:13px}
  .hf-act-pics{display:none}
  .hh-arrbar{top:calc(var(--fp-nav-h,56px) + 4px)}
}

/* ================================================================ Classic look: plain lists, no pictures */
html.oh-classic body #hmHearth{background:var(--fp-card)!important;color:var(--fp-ink);border:1px solid var(--fp-line);border-radius:8px;box-shadow:none;padding:16px 20px}
html.oh-classic .hh-greet{color:var(--fp-ink)!important;font-family:var(--fp-serif);font-weight:700}
html.oh-classic .hh-date{color:var(--fp-muted);opacity:1}
html.oh-classic .hh-scene{display:none}
html.oh-classic .hh-chip{background:none;border:1px solid var(--fp-line-strong);color:var(--fp-ink)!important;border-radius:6px}
html.oh-classic .hh-chip.is-act{background:var(--fp-violet);border-color:var(--fp-violet);box-shadow:none}
html.oh-classic body #hmHearth .hh-chip.is-act,html.oh-classic body #hmHearth .hh-chip.is-act *,html.oh-classic body #hmHearth .hh-arr-btn[aria-pressed="true"],html.oh-classic body #hmHearth .hh-arr-btn[aria-pressed="true"] *{color:var(--fp-on-violet)!important}
html.oh-classic .hh-arr-btn{border:1px solid var(--fp-line-strong);color:var(--fp-ink);border-radius:6px}
html.oh-classic .hh-arr-btn[aria-pressed="true"]{background:var(--fp-violet);color:var(--fp-on-violet);border-color:var(--fp-violet)}
html.oh-classic #hmHearth :is(.hh-chip,.hh-arr-btn):focus-visible{outline-color:var(--fp-violet)}
html.oh-classic .hh-doors{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:0;border:1px solid var(--fp-line);border-radius:8px;overflow:hidden;background:var(--fp-card)}
html.oh-classic .hh-door{box-shadow:0 0 0 .5px var(--fp-line)!important;min-height:60px;flex-direction:row;align-items:center;gap:10px;padding:10px 16px;border:0;border-radius:0;background:var(--fp-card);box-shadow:none;text-align:left}
html.oh-classic a.hh-door:hover{transform:none;background:var(--fp-violet-soft);box-shadow:none}
html.oh-classic .hh-pic{display:none}
html.oh-classic .hh-t{flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:2px 10px}
html.oh-classic .hh-t b{font-size:17px;color:var(--fp-violet-strong);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
html.oh-classic .hh-t small{display:inline;font-size:14px}
html.oh-classic .hh-count{position:static;margin-left:auto;border-radius:4px;height:26px;min-width:26px;font-size:14px}
html.oh-classic .hh-door.is-edit{padding:10px 12px;border-style:solid;border-width:0;flex-wrap:wrap}
html.oh-classic .hh-ctl{position:static;margin-left:auto}
html.oh-classic .hh-hidden-tag{position:static;border-radius:4px}
html.oh-classic :is(.hh-card,.hf-comp,.hf-post,.hf-story,.hf-acts,.hf-empty){border-radius:8px;box-shadow:none}
html.oh-classic .hf-post.is-pinned{background:var(--fp-card)}
html.oh-classic .hf-story{border-left-width:1px}
html.oh-classic :is(.hh-btn,.hf-btn,.hf-tool,.hf-chip,.hf-rx,.hh-hide,.hh-ctl button){border-radius:6px}
html.oh-classic .hf-comp textarea{border-radius:6px;background:var(--fp-card)}
html.oh-classic .hf-av,html.oh-classic .hh-face{display:none}
html.oh-classic .hh-otd,html.oh-classic .hh-next{background:none;padding:6px 0;border-radius:0}
html.oh-classic .hh-row-i,html.oh-classic .hf-act-i{background:none;width:24px}
html.oh-classic .hf-act-pics,html.oh-classic .hh-name{display:none}
html.oh-classic .hh-road::before{display:none}
html.oh-classic .hh-road-dot{border-radius:4px}
html.oh-classic .hf-photo{border-radius:4px}
html.oh-classic .hf-tag{border-radius:4px}
html.oh-classic .hh-arrbar{border-radius:8px;box-shadow:none}
@media (max-width:767.98px){
  html.oh-classic .hh-doors{grid-template-columns:1fr}
  html.oh-classic .hh-door{min-height:56px}
  html.oh-classic .hh-t small{display:inline}
}

/* motion off: Calm screen and reduced motion */
html.fp-calm :is(.hh-canopy,.hh-dot){animation:none!important}
html.fp-calm :is(.hh-door,.hf-rx,.hh-chip):hover{transform:none!important}
@media (prefers-reduced-motion:reduce){.hh-canopy,.hh-dot,.hh-rain path{animation:none!important}.hh-door,.hf-rx,.hh-chip{transition:none!important}}
