/* Shared visits sit quietly between the room caption and its existing audio dock. */
.together-alerts{border-top:1px solid #d5e3c32b;padding-top:18px;margin:20px 0 6px}.together-alerts .together-secondary{min-height:48px;font-size:14px}.together-alerts .together-note{font-size:14px;line-height:1.5;margin:10px 0 0}.together-alerts button[aria-pressed=true]{background:#d5e5c323;border-color:#d6e5bd8a}.together-alerts button:disabled{opacity:.65;cursor:default}
.together-panel .together-install-note{font-size:14px;line-height:1.5;padding:12px 14px;border:1px solid #d5e3c32b;border-radius:12px;margin-top:0}
.together-presence[hidden],.together-presence [hidden],.together-panel [hidden]{display:none!important}
.together-presence{display:flex;align-items:center;gap:12px;width:100%;margin:0 0 12px;padding:10px 13px 10px 17px;min-height:66px;border:1px solid #dbe5cf45;border-radius:22px;background:#19342bdf;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);box-shadow:0 4px 25px #061c1329;color:#edf1e5}
.together-people{flex:1;min-width:0}.together-people strong,.together-people>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.together-people strong{font-size:14px;font-weight:500;line-height:1.5}.together-people>span{font-size:12px;line-height:1.5;color:#c5d4bd;margin-top:1px}.together-presence.is-together{border-color:#dbe8cb70}.together-presence.is-reconnecting .together-people>span{color:#ddcbb4}
.together-heart,.together-details{width:44px;height:44px;min-width:44px;border-radius:50%;display:grid;place-items:center;padding:11px;border:1px solid #dbe5cf3b;background:#dce7d006;flex-shrink:0}.together-heart{color:#e8d8bd}.together-heart svg{width:22px;height:22px;stroke-width:1.4;fill:transparent}.together-details svg{width:22px;height:22px;stroke-width:1.4}.together-heart:disabled{cursor:default;opacity:.38}.together-heart.has-heart svg{fill:#eac6a95e;stroke:#efd5b9}.together-presence.received-heart{border-color:#e8c7a7a8;background:#334538ee;box-shadow:0 0 28px #dec39a22}.effects .together-presence,.effects .together-heart svg{transition:background 1.4s ease,border-color 1.4s ease,box-shadow 1.4s ease,fill 1s ease,stroke 1s ease}
.together-panel{padding:27px;overflow-y:auto}.together-panel .draft-panel-head{margin-bottom:20px}.together-panel .draft-panel-head h2{font-size:31px}.together-room-preview{height:138px;border-radius:15px;overflow:hidden;position:relative;margin-bottom:21px;background:#233e31}.together-room-preview img{width:100%;height:100%;object-fit:cover;display:block}.together-room-preview:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#0d251cd9);pointer-events:none}.together-room-preview>span{position:absolute;z-index:1;bottom:13px;left:17px;right:17px;font:400 24px/1.2 var(--serif);color:#f1f1e5;text-transform:capitalize;text-shadow:0 1px 12px #09251e66}.together-intro{font-size:16px;line-height:1.75;color:#e1e8d8;margin:0 0 20px}.together-name-label{display:block;font-size:14px;color:#d9e4d0;margin-bottom:9px}.together-panel input[type=text]{display:block;width:100%;height:49px;border:1px solid #d3e3c451;border-radius:12px;padding:11px 14px;font:400 16px/1.4 var(--sans);color:#f0f2e8;background:#10271d66;outline-offset:3px}.together-panel input[type=text]:focus{outline:2px solid #d1e3be}.together-panel input[type=text]:disabled{opacity:.7}.together-note{font-size:13px;line-height:1.7;color:#bccfb5;margin:11px 0 20px}.together-primary,.together-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:46px;border:1px solid #d5e3c36b;border-radius:25px;padding:11px 22px;font-size:14px;line-height:1.4}.together-primary{background:#e1ead3;color:#294331}.together-secondary{background:#d4e5bd09;color:#e1ebd5}.together-primary:disabled{opacity:.6}.together-link-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:15px}.together-feedback{font-size:14px;line-height:1.7;color:#d1e0c5;margin:17px 0 0}.together-feedback:empty{display:none}.together-feedback.is-error{color:#edcfb7}.together-panel #together-link{font-size:13px;color:#d0dfc4}.together-leave{display:block;font-size:14px;min-height:44px;color:#cfddc4;padding:8px 0;text-decoration:underline;text-underline-offset:4px}.together-panel #together-retry{margin-top:16px}
@media(max-width:600px){.together-presence{padding:9px 10px 9px 14px;gap:9px;margin-bottom:10px;min-height:64px}.together-panel{padding:24px}.together-panel .draft-panel-head h2{font-size:29px}.together-room-preview{height:122px}.together-room-preview>span{font-size:23px}}
@media(max-width:380px){.together-presence{gap:7px;padding:8px 9px 8px 12px}.together-people strong{font-size:13px}.together-people>span{font-size:11px}.together-panel{padding:22px}.together-panel .draft-panel-head h2{font-size:27px}.together-room-preview{height:108px;margin-bottom:17px}.together-intro{font-size:15px}.together-link-actions{gap:8px}.together-primary,.together-secondary{padding:11px 18px}}
@media(max-height:600px){.together-presence{margin-bottom:8px;min-height:58px;padding-top:6px;padding-bottom:6px}.together-room-preview{height:95px}.together-panel .draft-panel-head{margin-bottom:15px}.together-intro{margin-bottom:16px}}
@media(max-height:550px){.draft-room:has(.together-presence:not([hidden])) .room-caption{margin-bottom:12px}.draft-room:has(.together-presence:not([hidden])) .room-caption h2{font-size:28px;margin:6px 0}.draft-room:has(.together-presence:not([hidden])) .room-caption p{display:none}}
@media(prefers-reduced-motion:reduce){.effects .together-presence,.effects .together-heart svg{transition:none}.together-presence.received-heart{box-shadow:none}}

/* The same shared visit accompanies map exploration and other room views. */
.together-presence.together-floating{position:fixed;z-index:9;left:50%;transform:translateX(-50%);bottom:calc(max(25px,env(safe-area-inset-bottom)) + 96px);width:660px;max-width:calc(100% - 32px);margin:0}
.together-return{flex:0 0 auto;min-height:44px;padding:8px 12px;font-size:14px}
.together-lifecycle{font-size:14px;line-height:1.5}
.together-active .map-footer{padding-bottom:235px}
@media(max-width:600px){.together-presence.together-floating{bottom:calc(max(16px,env(safe-area-inset-bottom)) + 94px);width:430px;max-width:calc(100% - 32px)}.together-return{padding-inline:10px}.together-active .map-footer{padding-bottom:225px}}
@media(max-width:380px){.together-presence.together-floating{max-width:calc(100% - 22px)}}

/* A received note stays here until it is dismissed or the invitation expires. */
.together-farewell-choice{margin:22px 0 8px;padding:18px 0 10px;border-top:1px solid var(--line);color:var(--ink)}
.together-farewell-caption{font-size:14px;line-height:1.5;color:var(--muted);margin:0 0 8px;font-weight:500}
.together-farewell-preview,.together-farewell-text{font-size:16px;line-height:1.5;color:var(--ink);margin:0 0 14px;overflow-wrap:anywhere}
.together-farewell-choice .together-secondary,.together-farewell-dismiss{min-height:46px;color:var(--ink);border-color:var(--line)}
.together-presence.has-farewell{flex-wrap:wrap;gap:10px 12px}
.together-farewell-note{flex:0 0 100%;border-top:1px solid var(--line);padding:14px 2px 2px}
.together-farewell-note .together-farewell-caption{margin-bottom:6px}
.together-presence.note-only{padding:16px 18px}
.together-presence.note-only .together-farewell-note{padding:0;border:0}
body.together-note-visible .map-footer{padding-bottom:440px}
@media(max-width:600px){body.together-note-visible .map-footer{padding-bottom:445px}}
