:root{--bar-bottom: calc(clamp(16px, 5.2dvh, 44px) + env(safe-area-inset-bottom, 0px)) ;--bar-width: min(300px, calc(100vw - 24px) );--controls-base: calc(var(--bar-bottom) + 122px);--top-bottom: calc(118px + env(safe-area-inset-top, 0px)) }.hud.top{display:grid;grid-template-columns:132px minmax(0,1fr) 44px;gap:8px 6px;align-items:center;z-index:7}.topright{display:contents}.title{grid-column:1;grid-row:1;width:100%;min-width:0;min-height:52px;padding:6px 10px}.title h1{font-size:1rem;white-space:nowrap}.title .tlv{overflow:hidden;text-overflow:ellipsis}#clock,#sideChoice{grid-column:2;grid-row:1;min-width:0}#clock{text-align:center;font-size:.74rem;padding:6px 8px;overflow-wrap:anywhere}#missionsBtn{grid-column:1;grid-row:2;min-width:0;min-height:44px;padding:5px 7px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#next{grid-column:2 / 4;grid-row:2;width:100%;min-width:0;height:44px;line-height:30px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.settings-btn{grid-column:3;grid-row:1;position:relative;width:44px;height:44px;padding:4px;background:none;border:0}.settings-btn>span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;font-size:22px}.settings-btn[aria-expanded=true]>span{background:var(--accent);color:var(--deep)}#mutedBadge{position:absolute;right:0;bottom:0;font-size:11px;font-style:normal}.settings{position:fixed;z-index:12;top:calc(70px + env(safe-area-inset-top,0px));right:max(16px,env(safe-area-inset-right));width:min(280px,calc(100vw - 32px));padding:8px 14px 14px;background:#06263af2;border-radius:20px}.setting-label{margin:6px 0;font-size:.78rem;color:var(--ink-soft)}.setting-segment{display:flex;gap:4px;border-radius:24px;padding:3px;background:#bef0ff14}.setting-segment button{flex:1;padding:6px;min-height:44px;min-width:0;font-size:.85rem;border:0;border-radius:999px}.setting-segment button[aria-pressed=true]{background:var(--accent);color:var(--deep)}#sideChoice{position:static;width:auto;flex-wrap:nowrap;flex-direction:row;gap:0;padding:0;border-radius:999px}#sideChoice button{min-width:0;flex:1;min-height:44px;padding:3px 4px;justify-content:center}#sideChoice button b{font-size:.65rem;white-space:nowrap}#sideChoice button small{font-size:.7rem}#sideHint{display:none}.compass{width:68px;height:68px;top:calc(var(--top-bottom) + 12px)}#toast,#breathTip{z-index:6;top:calc(var(--top-bottom) + 10px);max-width:min(420px,calc(100vw - 116px));font-size:.78rem}#toast{left:calc(50% - 36px)}#breathTip{position:fixed;left:50%;transform:translate(-50%);padding:8px 12px;text-align:center;pointer-events:none}body:has(#toast:not([hidden])) #breathTip{display:none}.hud.bottom{bottom:var(--bar-bottom);padding:0;gap:0}.controls{width:var(--bar-width);height:60px;flex-wrap:nowrap;justify-content:space-around;padding:4px;border-radius:24px}.controls button.icon{flex:1 1 44px;min-width:44px;width:auto;height:50px;display:flex;flex-direction:column;justify-content:center;gap:3px;border-radius:16px}.controls .sigwrap{flex:1 1 44px;min-width:44px}.controls .sigwrap>button{width:100%}.bar-label{font-size:.65rem;line-height:1;white-space:nowrap}#people>span:first-child{font-size:21px;line-height:22px}.dexbadge{top:0;bottom:auto;right:4px}.followchip{position:relative;left:auto;top:auto;transform:none;width:var(--bar-width);max-width:none;min-height:72px;border-radius:24px;padding:8px;gap:6px;border-color:#ffb35c99}.follow-person{flex:1;min-width:0}.follow-person span,.follow-person small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.follow-person small{font-size:.66rem;color:var(--ink-soft)}.followchip button{padding:6px 9px;font-size:.78rem;min-height:44px}#followClose{width:44px;padding:0;border:0}#followBtn{background:var(--accent);color:var(--deep)}.labels .tag.selected{outline:2px solid var(--accent);box-shadow:0 0 0 4px #ffb35c40}#logNudge,#deckGo,body[data-mode=dive] #diveBtn{position:fixed;bottom:calc(var(--bar-bottom) + 72px);left:50%;transform:translate(-50%);margin:0;min-height:44px;max-width:calc(100vw - 32px);padding:8px 16px;font-size:.84rem;background:var(--glass);color:var(--ink);border:1px solid var(--glass-edge);border-radius:999px}body:has(#diveBtn:not([hidden]))[data-mode=dive] #logNudge,body:has(#deckGo:not([hidden])) #logNudge,body:has(#followChip:not([hidden])) #logNudge,body:has(#followChip:not([hidden])) #deckGo,body:has(#followChip:not([hidden]))[data-mode=dive] #diveBtn{display:none}.boatacts{position:fixed;right:max(20px,calc(env(safe-area-inset-right,0px) + 12px));bottom:calc(var(--controls-base) + 14px);padding:0}.boatacts .actrow{flex-direction:column;align-items:stretch;width:150px;gap:8px}.boatacts #diveBtn{order:-1;min-height:52px}.boatacts .freebtn{min-height:44px;padding:8px;background:var(--glass)}#boatCustom{position:fixed;left:max(16px,env(safe-area-inset-left));bottom:calc(var(--controls-base) + 160px);min-height:48px;padding:10px 16px}#diveTip{display:none}.hint{position:fixed;bottom:4px;left:50%;transform:translate(-50%);max-width:calc(100vw - 32px);width:max-content;font-size:.65rem}.breathup{left:auto;top:auto;right:max(20px,calc(env(safe-area-inset-right,0px) + 12px));bottom:calc(var(--controls-base) + 14px);transform:none}.breathup .ring{width:148px;height:148px}.breathup .ring small{position:relative;font-size:.76rem}.breathup .ring b{font-size:1.6rem}.breathup .ring:disabled{cursor:wait}.sheet{bottom:calc(var(--bar-bottom) + 76px);max-height:min(68dvh,calc(100dvh - var(--bar-bottom) - 100px));z-index:11}.sheet button,.sheet .close{min-height:44px}#buddySheet h3{margin:14px 0 4px;font-size:12px;font-weight:600;color:var(--accent)}#buddySelf{margin:4px 0 0;font-size:12px;color:var(--ink-soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.buddyrow{display:grid;grid-template-columns:minmax(0,1fr) 100px;align-items:center;gap:10px;min-height:56px;border-bottom:1px solid rgba(190,240,255,.12)}.buddytext{min-width:0}.buddytext strong,.buddytext small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.buddytext strong{font-size:15px;font-weight:700;line-height:20px}.buddytext small{min-height:16px;font-size:12px;line-height:16px;color:var(--ink-soft)}.buddyaction{width:100px}.buddyaction button{display:flex;align-items:center;justify-content:center;width:100%;height:44px;padding:0 6px;font-size:13px;white-space:nowrap}.buddyrow.empty .buddytext{grid-column:1 / -1}.buddyrow.empty .buddytext strong{font-size:12px;font-weight:400;color:var(--ink-soft)}.buddyrow.empty .buddyaction{display:none}#buddyHint:empty{display:none}#buddySheet .buddyprivacy{margin:10px 0 0;font-size:11px;line-height:15px;color:var(--ink-soft);text-wrap:pretty}.sheet .swrow:not(.chiprow){min-height:44px;padding-block:9px;isolation:isolate}.sheet .sw{position:relative;width:28px;height:28px;min-width:0;min-height:0;flex:none;border:0;background:none}.sheet .sw:before{content:"";position:absolute;inset:0;z-index:1;border-radius:50%;background:var(--sw-color);border:2px solid rgba(255,255,255,.25)}.sheet .sw:after{content:"";position:absolute;width:44px;height:44px;left:50%;top:50%;transform:translate(-50%,-50%)}.sheet .sw[aria-pressed=true]:before{border:3px solid var(--accent)}.sheet .sw[aria-disabled=true]{opacity:1}.sheet .sw[aria-disabled=true]:before,.sheet .sw[aria-disabled=true] .sw-lock{opacity:.45}.sheet .sw-lock{z-index:2}@media(max-width:560px){.sheet .sw{width:26px;height:26px}}.name-row{display:flex;gap:8px;align-items:center;margin:8px 0}.name-row .myname{flex:1;min-width:0;margin:0}.name-row .myname b{display:inline-block;margin-left:0}#rerollName{flex:none;padding:6px 10px;font-size:.8rem}body.customizing #boatCustom,body.customizing #breathTip,body.customizing #settings,body.customizing #compass{display:none!important}body.customizing #custom{max-height:min(55dvh,34rem)}@media(max-width:420px){.followchip{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;gap:4px}.follow-person{grid-column:1 / 3;grid-row:1}#followClose{grid-column:3;grid-row:1 / 3}#followBtn,#buddyBtn{grid-row:2;min-width:0;white-space:normal}.follow-person span{font-size:.8rem}.follow-person small{font-size:.65rem}}@media(max-width:350px){.hud.top{padding-left:12px;padding-right:12px;grid-template-columns:minmax(86px,1fr) minmax(0,1.7fr) 44px;gap:6px 3px}.title{padding:6px}.title h1{font-size:.88rem}#clock{font-size:.67rem;padding:5px}.breathup .ring{width:120px;height:120px}.boatacts .actrow{width:132px}}@media(min-width:900px){.hud.top{grid-template-columns:150px minmax(130px,190px) 230px 1fr minmax(190px,240px) 44px}#missionsBtn{grid-column:2;grid-row:1}#next{grid-column:3;grid-row:1}#clock,#sideChoice{grid-column:5}.settings-btn{grid-column:6}.sheet{bottom:max(20px,env(safe-area-inset-bottom))}}@media(orientation:landscape)and (max-height:500px){:root{--bar-bottom: calc(12px + env(safe-area-inset-bottom, 0px)) ;--controls-base: calc(74px + env(safe-area-inset-bottom, 0px)) ;--bar-width: min(380px, calc(100vw - 360px) )}.hud.top{grid-template-columns:120px minmax(110px,150px) minmax(130px,200px) 1fr minmax(150px,190px) 44px}#missionsBtn{grid-column:2;grid-row:1}#next{grid-column:3;grid-row:1}#clock,#sideChoice{grid-column:5}.settings-btn{grid-column:6}.compass{right:22px}.stick,.breathup .ring{width:112px;height:112px}#boatCustom{bottom:calc(var(--controls-base) + 140px)}#logNudge{max-width:calc(100vw - 360px)}#toast{max-width:calc(100vw - 360px);left:50%}.sheet,body.customizing #custom{bottom:12px;max-height:calc(100dvh - 36px)}.hint{display:none}}#sideChoice button b{max-width:100%;overflow:hidden;text-overflow:ellipsis}#card,#card.hasgo{top:calc(var(--top-bottom) + 10px);left:max(16px,env(safe-area-inset-left));transform:none;width:min(22rem,calc(100vw - 116px));max-height:calc(100dvh - var(--top-bottom) - var(--controls-base) - 166px);overflow-y:auto}body:has(#signalList:not([hidden])) #deckGo,body:has(#signalList:not([hidden]))[data-mode=dive] #diveBtn{visibility:hidden}@media(orientation:landscape)and (max-height:500px){#card,#card.hasgo{left:50%;transform:translate(-50%);top:calc(var(--top-bottom) + 10px);max-height:calc(100dvh - var(--top-bottom) - var(--bar-bottom) - 148px);width:min(360px,calc(100vw - 360px))}}.title h1{overflow:hidden;text-overflow:ellipsis}body:has(#toast:not([hidden])) #card{visibility:hidden}body:has(#card:not([hidden])) #breathTip{visibility:hidden}#card button,#card .cardgo,#deckAct{min-height:44px}#card .cardgo{display:inline-flex;flex-direction:column;justify-content:center}body:has(#signalList:not([hidden])) #card{visibility:hidden}
