.family-voice-entry{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;color:#dcc397!important;border:1px solid #d6ba7d33!important;background:#0c252ed9!important;border-radius:24px!important;padding:9px 12px!important;min-height:42px;font:inherit;font-size:11px!important}.family-voice-entry small{border-radius:50%;min-width:17px;padding:1px 3px;background:#d8bd83;color:#142b31;text-align:center;font-size:10px}.family-voice-mine{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;background:#102c35;border:1px solid #dbbf8530;color:#d9c297;padding:18px 17px;border-radius:15px;margin:18px 0;font:inherit;font-size:14px}.family-voice-mine small{color:#91a39f;font-size:10px}.family-voice-panel{position:absolute;z-index:13;top:calc(132px + env(safe-area-inset-top,0px));left:16px;right:16px;max-width:488px;border:1px solid #cdb07a44;border-radius:17px;background:#10303bef;box-shadow:0 6px 22px #030d1455;backdrop-filter:blur(15px);color:#dfca9f;padding:6px 8px 6px 12px;pointer-events:auto}.voice-controls{display:flex;align-items:center;gap:6px}.voice-summary{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}.voice-title{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.voice-status{font-size:9px;color:#9eb5ae;line-height:1.5}.voice-controls button,.voice-recovery button{appearance:none;border:0;border-radius:11px;min-height:42px;padding:8px 12px;font:inherit;font-size:11px;cursor:pointer;white-space:nowrap}.voice-mic,.voice-join{background:#d7bb83;color:#182c31}.voice-mic.is-live{background:#244851;color:#e5d3ab;border:1px solid #cfb47866}.voice-leave{color:#b9c3b8;background:#203f49}.voice-error{color:#ddbc87;font-size:11px;line-height:1.7;margin:6px 2px;max-height:5em;overflow:auto}.voice-error:empty{display:none}.voice-recovery{display:flex;flex-wrap:wrap;gap:5px}.voice-recovery button{color:#d8bc88;background:transparent;padding:5px 8px;min-height:36px}.voice-recovery:has(button:not([hidden])){border-top:1px solid #ffffff0c;margin-top:5px;padding-top:3px}.voice-controls button:disabled{opacity:.5;cursor:wait}.voice-audio-host,.family-voice-panel[hidden],.family-voice-entry[hidden],.family-voice-mine[hidden],.family-voice-panel button[hidden]{display:none!important}@media(max-width:370px){.family-voice-entry{padding:8px!important;font-size:10px!important}.family-voice-panel{left:12px;right:12px;padding-left:10px}.voice-controls button{padding:8px 10px}.voice-title{font-size:10px}}
.voice-controls[hidden],.voice-roster[hidden]{display:none!important}
.voice-roster{border-top:1px solid #ffffff10;margin-top:6px;padding-top:6px;min-width:0}
.voice-preview .voice-roster{border-top:0;margin-top:0;padding-top:1px}
.voice-roster-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;color:#cdb98e;line-height:1.4}
.voice-roster-heading small{font-size:8px;color:#819d98;font-weight:400}
.voice-members{display:flex;gap:7px;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;touch-action:pan-x;scrollbar-width:thin;scrollbar-color:#7e998755 transparent;padding:5px 1px 2px}
.voice-members:focus-visible{outline:1px solid #cdb98e;outline-offset:2px;border-radius:8px}
.voice-member{display:flex;align-items:center;gap:6px;flex:0 0 auto;max-width:128px;min-width:76px;padding:3px 7px 3px 3px;border-radius:20px;background:#173e4699;border:1px solid #a8bbaa1a}
.voice-member-face{position:relative;display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border-radius:50%;overflow:hidden;background:#456565;color:#e2c99a;font-size:12px;box-shadow:0 0 0 1px #b5baa344}
.voice-member-face img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.voice-member-face img[hidden]{display:none!important}
.voice-member-info{display:flex;flex-direction:column;min-width:0;gap:2px}
.voice-member-name{max-width:85px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#dfd0ae;font-size:10px;line-height:1.25}
.voice-member-state{color:#8faaa2;font-size:8px;line-height:1.2;white-space:nowrap}
.voice-member.is-speaking{border-color:#c9c48a88;background:#2d5149}
.voice-member.is-speaking .voice-member-face{box-shadow:0 0 0 2px #d3c990}
.voice-member.is-speaking .voice-member-state{color:#e3d49c}
@media(prefers-reduced-motion:reduce){.voice-members{scroll-behavior:auto}}
/* Camera sharing is optional; the map remains available behind this compact panel. */
.voice-video-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;border-top:1px solid #ffffff0c;margin-top:5px;padding-top:5px}
.voice-video-actions[hidden],.family-video-panel[hidden],.family-video-grid[hidden],.family-video-card video[hidden],.family-video-pending[hidden]{display:none!important}
.voice-video-actions button,.family-video-heading button{appearance:none;border:1px solid #c4b58b33;border-radius:10px;background:#203f49;color:#e1c99b;min-height:34px;padding:6px 10px;font:inherit;font-size:10px;cursor:pointer}
.voice-camera.is-live{background:#d4bb85;color:#182f35}.voice-camera-note{flex:1;min-width:90px;font-size:9px;line-height:1.5;color:#9db4ac}
.family-video-panel{position:fixed;z-index:24;bottom:calc(96px + env(safe-area-inset-bottom,0px));left:max(14px,calc(50% - 244px));right:max(14px,calc(50% - 244px));max-width:488px;border:1px solid #cbb48255;border-radius:15px;background:#0f2a34f5;color:#dfc99b;box-shadow:0 9px 30px #020e1766;backdrop-filter:blur(15px);padding:7px;pointer-events:auto}
.family-video-heading{display:flex;gap:6px;align-items:center;padding:0 2px 6px}.family-video-heading strong{flex:1;font-size:11px;font-weight:500}.family-video-heading button{min-height:30px;padding:5px 8px;font-size:9px}.family-video-heading button[hidden]{display:none!important}
.family-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:31vh;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.family-video-card{position:relative;aspect-ratio:16/10;min-width:0;overflow:hidden;border-radius:10px;background:#071b24;display:grid;place-items:center}
.family-video-card video{display:block;width:100%;height:100%;object-fit:cover;background:#071b24}.family-video-card video.is-self{transform:scaleX(-1)}
.family-video-name{position:absolute;bottom:0;left:0;right:0;padding:14px 7px 5px;background:linear-gradient(transparent,#07171ede);font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}.family-video-pending{font-size:10px;color:#89a8a0;padding:20px 4px}
/* Map utilities are 164px above the map's lower edge, which itself sits above
   the bottom navigation. Reserve their full touch row before placing video. */
@media(max-width:699px){.family-video-panel{bottom:calc(var(--bottom-bar,70px) + 164px + 44px + 12px)}.family-video-grid{max-height:min(24dvh,180px)}}
@media(min-width:700px){.family-video-grid{max-height:36vh}.family-video-panel{bottom:24px;left:auto;right:24px;width:390px}}
