/* Community choices stay inside the phone, with space for long labels. */
html body #app.nav-focused:not(.map-journey)[data-discovery-group=voice] #discovery-tray:has(.discovery-choices){left:12px!important;right:12px!important;top:auto!important;bottom:calc(82px + env(safe-area-inset-bottom,0px))!important;transform:none!important;width:auto!important;max-width:420px!important;max-height:calc(100% - 190px)!important;box-sizing:border-box;overflow:auto!important;padding:12px!important;border-radius:18px!important}
html body #app[data-discovery-group=voice] #discovery-tray .discovery-choices{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html body #app[data-discovery-group=voice] #discovery-tray .discovery-choice{box-sizing:border-box;min-width:0!important;width:100%!important;height:auto!important;min-height:64px!important;padding:10px!important;overflow:visible;white-space:normal}
html body #app[data-discovery-group=voice] #discovery-tray .discovery-choice strong{flex:1;min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.4!important}
@media(max-width:360px){html body #app[data-discovery-group=voice] #discovery-tray .discovery-choices{grid-template-columns:minmax(0,1fr)}}

/* Sentiment is an answer form, not a clipped reading-card column. */
html body #app.sentiment-mode #discovery-tray.loom-scroll-form{left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:min(420px,calc(100% - 24px))!important;max-width:calc(100% - 24px)!important;top:auto!important;bottom:calc(82px + env(safe-area-inset-bottom,0px))!important;height:auto!important;max-height:min(60dvh,calc(100dvh - 190px))!important;overflow-y:auto!important;overflow-x:hidden!important;padding:12px!important;box-sizing:border-box}
html body #app.sentiment-mode #discovery-tray.loom-scroll-form :is(.map-step,.map-step-copy,#community-sentiment){height:auto!important;max-height:none!important;overflow:visible!important;min-width:0;columns:auto!important}
html body #app.sentiment-mode #discovery-tray.loom-scroll-form .map-step{padding:0!important;border:0;box-shadow:none}
html body #app.sentiment-mode #discovery-tray .sentiment-close{position:absolute;top:7px;right:8px;min-height:44px;min-width:44px;border:0;background:transparent;color:inherit;font-size:24px;cursor:pointer}
