/* Mundo da Flor V7.4.1-K5 — 📱 Telemóvel da Família: ecrã inicial (família + botões grandes) e sub-ecrãs */
.panel.fam-home{padding-bottom:10px}
.panel.fam .bk72{align-self:flex-start;flex:none}
.fh{display:flex;flex-direction:column;gap:12px;padding:2px 2px 12px}
.fh-t{margin:2px 4px -4px;font:600 15px var(--f1);color:#7B5CFF;letter-spacing:.2px}
.fh-fam{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.fh-card{display:flex;align-items:center;gap:9px;text-align:left;background:#fff;border-radius:18px;padding:8px 10px;box-shadow:0 3px 0 #E8DDF5;border:2px solid transparent;min-width:0;color:#2b1b3d;font-family:inherit}
button.fh-card{cursor:pointer}
button.fh-card:active{transform:translateY(2px);box-shadow:0 1px 0 #E8DDF5}
.fh-card.on{border-color:#C6F0D4;background:linear-gradient(180deg,#fff,#F3FFF7)}
.fh-card.me{border-color:#FFE3A3;background:linear-gradient(180deg,#fff,#FFF8E4)}
.fh-card:not(.on){opacity:.82}
.fh-face{position:relative;flex:none;width:50px;height:50px;border-radius:50%;background:#EFE8FA;box-shadow:inset 0 0 0 2px #fff,0 0 0 2px #E8DDF5}
.fh-card.on .fh-face{box-shadow:inset 0 0 0 2px #fff,0 0 0 3px #19b852}
.fh-face img{width:100%;height:100%;border-radius:50%;object-fit:cover;image-rendering:pixelated;display:block}
.fh-face .dot{position:absolute;right:-1px;bottom:0;width:13px;height:13px;border:2px solid #fff}
.fh-in{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}
.fh-in b{font:600 17px/1.1 var(--f1);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fh-chips{display:flex;gap:4px;flex-wrap:wrap;margin-top:2px}.fh-me{font:700 11px var(--f1);font-style:normal;background:#FFC83D;color:#5a3d00;border-radius:99px;padding:1px 8px}
.fh-in small{font:800 11.5px/1.2 var(--f2,Nunito),sans-serif;color:#6b5a88;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.fh-lv{font:700 12px var(--f1);background:#EFE8FA;color:#5B3FD0;border-radius:99px;padding:1px 9px;white-space:nowrap}
.fh-go{font-size:16px;opacity:.55;flex:none}
.fh-btns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.fh-btn{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:1px;min-height:92px;padding:10px 14px 10px 14px;border-radius:22px;color:#fff;text-align:left;font-family:var(--f1);border:0;overflow:hidden;box-shadow:0 5px 0 rgba(43,27,61,.22)}
.fh-btn::after{content:"";position:absolute;right:-18px;top:-18px;width:74px;height:74px;border-radius:50%;background:rgba(255,255,255,.16)}
.fh-btn:active{transform:translateY(3px);box-shadow:0 2px 0 rgba(43,27,61,.22)}
.fh-btn .ic{font-size:30px;line-height:1.1;filter:drop-shadow(0 2px 0 rgba(0,0,0,.18))}
.fh-btn b{font:600 19px/1.1 var(--f1)}
.fh-btn small{font:800 11.5px/1.2 var(--f2,Nunito),sans-serif;opacity:.92}
.fh-btn.k-chat{background:linear-gradient(135deg,#FF4F9A,#FF8E5A);box-shadow:0 5px 0 #C23878}
.fh-btn.k-meet{background:linear-gradient(135deg,#19B5A5,#2BC98A);box-shadow:0 5px 0 #0F8B7E}
.fh-btn.k-post{background:linear-gradient(135deg,#FF9F43,#FFC83D);box-shadow:0 5px 0 #C98A1E;color:#3d2600}
.fh-btn.k-tree{background:linear-gradient(135deg,#3FA66A,#8BD36A);box-shadow:0 5px 0 #2A7A4A}
.fh-btn.k-acc{background:linear-gradient(135deg,#7B5CFF,#4C9AE0);box-shadow:0 5px 0 #5340B8}
.fh-btn.k-adm{background:linear-gradient(135deg,#2B1B3D,#5B3A8E);box-shadow:0 5px 0 #150d20}
.fh-btn .bdg{position:absolute;top:8px;right:10px;z-index:1;min-width:24px;height:24px;border-radius:99px;background:#E8374F;color:#fff;font:700 14px/24px var(--f1);font-style:normal;text-align:center;padding:0 6px;box-shadow:0 0 0 3px rgba(255,255,255,.9)}
.fh-more{display:flex;gap:8px}
.fh-mini{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;min-height:46px;border-radius:16px;background:#fff;color:#5B3FD0;font:600 15px var(--f1);box-shadow:0 3px 0 #E8DDF5;position:relative}
.fh-mini span{font-size:19px}
.fh-mini .vzn{font-style:normal;background:#E8374F;color:#fff;border-radius:99px;min-width:20px;height:20px;line-height:20px;font-size:12px;text-align:center;padding:0 5px}
.fh .empty{grid-column:1/-1;text-align:center;color:#8A7AA6;font-weight:700;margin:4px 0}
@media (min-aspect-ratio:3/2) and (max-height:560px){
  .fh{display:grid;grid-template-columns:1.15fr 1fr;grid-template-areas:"t t" "f b" "f m";gap:8px 14px;align-items:start}
  .fh-t{grid-area:t;margin:0}.fh-fam{grid-area:f;grid-template-columns:1fr 1fr}.fh-btns{grid-area:b;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.fh-more{grid-area:m}
  .fh-btn{min-height:70px;padding:8px 10px;border-radius:18px}.fh-btn .ic{font-size:23px}.fh-btn b{font-size:15px}.fh-btn small{display:none}
  .fh-card{padding:6px 8px}.fh-face{width:42px;height:42px}.fh-in b{font-size:15px}
  .fh-mini{min-height:38px;font-size:13.5px}
}
@media (max-width:360px){.fh-fam{grid-template-columns:1fr}.fh-btn b{font-size:17px}}
@media (prefers-reduced-motion:reduce){.fh-btn,.fh-card{transition:none}}
.f61m .flg,.f61mi .flg{width:20px;height:13px;border:0;border-radius:2px;background:none;object-fit:cover;vertical-align:-2px;margin-right:3px;box-shadow:none}
/* Gerir família: botões do cartão em linha com quebra, sem sair do cartão */
.f61panel .f61m{flex-wrap:wrap}
.f61panel .f61m .f61mi{flex:1 1 140px}
.f61panel .f61m .f61ma{flex:1 0 100%;max-width:none;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;gap:6px;padding-top:2px}
.f61panel .f61ma .mini{white-space:normal;max-width:100%;text-align:left}
