.community-welcome{display:flex;justify-content:space-between;align-items:center;position:relative;overflow:hidden;background:#f7e7e1;border-radius:26px;padding:26px;margin-bottom:23px}.community-welcome h2{font:700 32px/1.12 Georgia,serif;letter-spacing:-.6px;margin:13px 0}.community-welcome p{font-size:14px;color:#726c73;margin:0}.community-flower{font-size:140px;line-height:1;color:#dfada0;position:absolute;right:-20px;top:5px;opacity:.55}.community-welcome>div{position:relative;z-index:1}.family-room{background:white;border:1px solid var(--line);border-radius:22px;overflow:hidden}.room-header{display:flex;align-items:center;gap:10px;padding:17px 14px;background:#fffdfb;border-bottom:1px solid var(--line)}.room-avatar{width:38px;height:38px;flex-shrink:0;display:grid;place-items:center;background:#e4ece7;border-radius:13px;color:#55796a}.room-header>div:nth-child(2){min-width:0;flex:1}.room-header h2{font-size:15px;letter-spacing:-.4px;margin:0 0 5px}.room-header>div>span{font-size:10px;color:var(--muted);display:block}.room-header .icon-button{width:40px;height:44px;border-radius:12px}.call-entry{padding:10px 11px;min-height:44px;border-radius:12px}.call-entry span{display:none}.channel-tabs{display:flex;gap:0;padding:6px 8px 0;border-bottom:1px solid var(--line);overflow:auto}.channel-tabs button{border:0;border-bottom:2px solid transparent;background:none;padding:11px 9px;font-size:11px;min-height:45px;white-space:nowrap;color:var(--muted)}.channel-tabs button.active{color:var(--ink);border-bottom-color:#d59983;font-weight:700}.chat-encryption{text-align:center;background:#fbf9f4}.chat-encryption .text-button{font-size:9px;font-weight:400;color:#747566;min-height:35px;padding:9px 5px}.chat-encryption .icon{width:11px;height:11px}.chat-messages{min-height:290px;max-height:53dvh;overflow:auto;padding:17px 13px;display:flex;flex-direction:column;gap:20px;overscroll-behavior:contain;background:#fffcf9}.chat-empty{text-align:center;margin:auto;padding:20px 0;color:var(--muted);font-size:12px;width:100%}.chat-empty h3{font-size:17px;line-height:1.3;color:var(--ink);margin:13px 0 8px}.chat-empty p{font-size:12px}.chat-empty .badge{font-size:9px;white-space:normal}.chat-empty-heart{width:55px;height:55px;display:inline-grid;place-items:center;background:#f4e5de;color:#b07962;border-radius:19px}.chat-empty-heart .icon{width:30px;height:30px;stroke-width:1.2}.chat-message{display:flex;gap:8px;align-items:flex-end}.chat-message>.avatar{width:27px;height:27px;font-size:9px;flex-shrink:0}.chat-message.mine{flex-direction:row-reverse}.chat-bubble{max-width:calc(100% - 34px);background:#f1ece5;border-radius:16px 16px 16px 4px;padding:12px}.chat-message.mine .chat-bubble{background:#e5eee8;border-radius:16px 16px 4px 16px}.chat-author{display:flex;gap:14px;align-items:center;justify-content:space-between;font-size:10px;margin-bottom:6px}.chat-author time{font-size:9px;color:#77767a}.chat-bubble p{font-size:14px;color:#414857;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.chat-bubble img{max-width:100%;max-height:300px;display:block;border-radius:10px;object-fit:contain;margin:5px 0}.chat-bubble audio{max-width:100%;width:230px}.chat-composer{padding:13px 11px 7px;border-top:1px solid var(--line);background:#fff}.composer-row{display:flex;gap:7px;align-items:flex-end}.composer-row>.icon-button,.send-button{width:40px;min-width:40px;height:44px;min-height:44px;border-radius:13px;padding:0;flex-shrink:0}.composer-row textarea{resize:none;min-width:0;flex:1;border:0;border-radius:12px;background:#f6f3ee;min-height:44px;max-height:120px;padding:12px 10px;font-size:16px;line-height:1.3;color:var(--ink)}.attachment-button{position:relative;overflow:hidden;cursor:pointer}.attachment-button input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.composer-status{font-size:9px;color:var(--muted);margin:7px 0 0;min-height:16px}.attachment-preview{display:flex;align-items:center;gap:10px;background:#f5eee6;border-radius:12px;padding:7px 10px;margin-bottom:10px}.attachment-preview>span{font-size:12px;min-width:0;overflow-wrap:anywhere;flex:1}.attachment-preview[hidden]{display:none}.recording{background:#f8d9d4!important;color:#ad3a43!important}.family-secondary{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px;margin:12px 0}.family-secondary .text-button{font-size:11px}.family-secondary .icon{width:15px;height:15px}.guest-room{max-width:900px;margin:auto;padding:0 18px 35px}.guest-header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:90px}.guest-header .badge{font-size:10px}.guest-header .brand{font-size:22px}.join-card{max-width:480px;margin:35px auto;padding:30px;background:#f4e6df;border-radius:28px}.join-card h1{font-size:32px;line-height:1.15;letter-spacing:-1px;margin:17px 0}.join-card p{font-size:14px;color:var(--muted)}.guest-room .chat-messages{max-height:60dvh}
/* Video: one familiar face, a clear bottom control bar. */
.call-overlay{position:fixed;inset:0;z-index:70;background:#171e32;overflow:auto;color:white;padding:0}.call-room{min-height:100dvh;display:flex;flex-direction:column;padding:20px 15px;max-width:1400px;margin:auto}.call-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.call-header .eyebrow{color:#c2ccc8;font-size:10px}.call-header h2{font:700 25px/1.2 Georgia,serif;margin:8px 0 0}.call-header .icon-button{background:#ffffff15;color:#fff;border-color:#ffffff10}.video-grid{display:grid;gap:15px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));flex:1}.video-tile{position:relative;min-height:340px;background:#2a3658;border-radius:25px;overflow:hidden}.video-tile video{width:100%;height:100%;position:absolute;inset:0;object-fit:contain;background:#202b46}.video-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:25px;text-align:center;background:radial-gradient(ellipse at 90% 15%,#435667,transparent 70%),#2d3957}.video-placeholder[hidden]{display:none}.call-flower{color:#bad1c7;font-size:115px;line-height:1}.video-placeholder h3{font:700 27px/1.2 Georgia,serif;margin:23px 0 12px}.video-placeholder p{color:#c1c9d7;font-size:13px}.video-name{position:absolute;bottom:17px;left:18px;background:#20283b99;backdrop-filter:blur(8px);border-radius:10px;padding:8px 12px;font-size:13px}.video-play{position:absolute;bottom:20px;right:20px}.video-play[hidden]{display:none}.call-status{text-align:center;color:#d0d4de;font-size:12px;line-height:1.5;margin:18px auto;max-width:670px}.call-prejoin{display:flex;flex-direction:column;gap:10px;justify-content:center;padding:0 10px;margin:0 auto;width:100%;max-width:540px}.call-prejoin .button{background:#d8e9e1;color:#223d39;min-height:54px;font-size:15px}.call-prejoin .secondary{background:#ffffff12;border-color:#ffffff25;color:#fff}.call-prejoin[hidden]{display:none}.call-controls{display:flex;gap:12px;justify-content:center;align-items:center;margin:0 auto;padding:15px}.call-controls[hidden]{display:none}.call-control{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;width:64px;min-height:66px;border:1px solid #ffffff20;border-radius:18px;background:#36445d;color:#fff}.call-control span{font-size:9px}.call-control.off{background:#816a47}.call-control.hangup{background:#e99891;color:#38232b}.call-control .icon{width:24px;height:24px}.call-bottom{display:flex;gap:15px;align-items:center;justify-content:space-between;margin-top:14px;flex-wrap:wrap}.call-bottom .text-button,.call-bottom>span{color:#c1c9d0;font-size:11px}.call-bottom .icon{width:15px;height:15px}
@media(min-width:600px){.community-welcome{padding:32px}.community-welcome h2{font-size:40px}.community-flower{font-size:210px;right:35px;top:-6px}.call-entry span{display:inline}.room-header{padding:20px;gap:15px}.room-header h2{font-size:18px}.room-header>div>span{font-size:12px}.room-avatar{width:47px;height:47px}.channel-tabs{gap:17px;padding-left:20px}.channel-tabs button{font-size:13px}.chat-encryption .text-button{font-size:11px}.chat-messages{padding:25px;min-height:360px;max-height:56dvh}.chat-empty h3{font-size:22px}.chat-empty p{font-size:14px}.chat-empty .badge{font-size:11px}.chat-message>.avatar{width:33px;height:33px;font-size:11px}.chat-message{gap:12px}.chat-bubble{max-width:76%;padding:15px 17px}.chat-bubble p{font-size:15px}.chat-author{font-size:12px}.chat-author time{font-size:10px}.chat-composer{padding:18px 20px 10px}.composer-status{font-size:11px}.composer-row{gap:10px}.composer-row>.icon-button,.send-button{width:45px;height:48px;min-height:48px}.composer-row textarea{min-height:48px}.family-secondary .text-button{font-size:13px}.call-room{padding:28px}.call-header h2{font-size:32px}.call-prejoin{flex-direction:row}.call-prejoin .button{flex:1}.video-tile{min-height:420px}.call-controls{gap:20px}.call-control{width:76px;min-height:73px}.call-control span{font-size:11px}.call-status{font-size:14px}}
/* The conversation, including its composer, fits in the phone viewport. */
@media(max-width:599px){
 body[data-workspace-view="family"] .workspace-main{padding:0 0 calc(77px + env(safe-area-inset-bottom))}
 body[data-workspace-view="family"] .workspace-top{height:65px;padding:0 18px}
 body[data-workspace-view="family"] .page-heading,body[data-workspace-view="family"] .community-welcome,body[data-workspace-view="family"] .workspace-footnote,body[data-workspace-view="family"] .mobile-add{display:none}
 body[data-workspace-view="family"] .family-room{border-radius:22px 22px 0 0;border-width:1px 0 0;height:calc(100dvh - 142px - env(safe-area-inset-bottom));display:flex;flex-direction:column}
 body[data-workspace-view="family"] .room-header,body[data-workspace-view="family"] .channel-tabs,body[data-workspace-view="family"] .chat-encryption,body[data-workspace-view="family"] .chat-composer{flex-shrink:0}
 body[data-workspace-view="family"] .chat-messages{min-height:0;max-height:none;flex:1}
 body[data-workspace-view="family"] .family-secondary{padding:0 18px}
 .guest-room{padding:0 0 18px}.guest-header{padding:0 17px;min-height:70px}.guest-room .family-room{border-radius:22px 22px 0 0;display:flex;flex-direction:column;height:calc(100dvh - 70px)}.guest-room .chat-messages{flex:1;min-height:0;max-height:none}.guest-room .chat-composer{padding-bottom:calc(10px + env(safe-area-inset-bottom))}.guest-room .join-card,.guest-room>.empty{margin:20px 15px}
}
.guest-room .chat-bubble p{font-size:20px;line-height:1.6}.guest-room .chat-author{font-size:14px}.guest-room .chat-author time{font-size:12px}.guest-room .room-header h2{font-size:19px}.guest-room .composer-row textarea{font-size:18px}.guest-room .channel-tabs button{font-size:13px}
@media(max-width:599px){.guest-room .chat-bubble p{font-size:18px}.guest-room .chat-author{font-size:12px}.guest-room .chat-author time{font-size:10px}.guest-room .room-header h2{font-size:15px}}
@media(min-width:600px){body[data-workspace-view="family"] .community-welcome{display:none}body[data-workspace-view="family"] .page-heading{margin:23px 0}body[data-workspace-view="family"] .family-room{height:calc(100dvh - 245px);min-height:430px;display:flex;flex-direction:column}body[data-workspace-view="family"] .chat-messages{min-height:0;max-height:none;flex:1}body[data-workspace-view="family"] .room-header,body[data-workspace-view="family"] .channel-tabs,body[data-workspace-view="family"] .chat-encryption,body[data-workspace-view="family"] .chat-composer{flex-shrink:0}}
