/* Mobile island: full scene, right-side tools and bottom sheets. */
#scene-time,.mobile-resource-tabs{display:none}
@media(max-width:999px){
 .island-brand{top:12px;left:12px;width:calc(100% - 112px);max-width:290px;border-radius:18px}
 .island-brand>a{padding:12px 10px;gap:9px}.careflow-island-name{font-size:24px}.careflow-island-caption b{font-size:17px}.island-brand .careflow-island-caption small{font-size:10px;white-space:normal}
 .scene-toolbar{position:absolute;top:12px;bottom:auto;left:auto;right:12px;display:flex;flex-direction:column;width:76px;max-width:76px;gap:6px;z-index:15}
 .scene-toolbar button{flex:none;width:100%;min-height:40px;padding:8px 4px;font-size:14px;background:#faf6edf2;border:1px solid #ddd5c9;border-radius:13px}
 #scene-time{display:block}.scene-toolbar button[aria-expanded=true]{background:#102942;color:white}
 .island-stage #scene,.guide-playing .island-stage #scene,.island-stage:has(.resource-detail:not([hidden])) #scene{top:0;height:100%;width:100%}
 .index-open .island-stage #scene,.island-stage:has(.resource-detail:not([hidden])) #scene{height:47dvh}
 .island-ambience{display:none;position:fixed;top:auto;bottom:0;left:0;right:0;transform:none;width:100%;max-width:none;padding:16px 10px calc(16px + env(safe-area-inset-bottom));box-sizing:border-box;background:#faf6edf5;border-radius:24px 24px 0 0;z-index:26;justify-content:center}
 .time-open .island-ambience{display:flex}.island-ambience .time-options button{width:40px;height:40px;min-height:40px}
 .resource-results{position:fixed;top:auto;left:0;right:0;bottom:0;width:100%;height:53dvh;max-height:53dvh;padding:28px 18px calc(24px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;border:1px solid #ddd5c9;box-sizing:border-box;overflow:auto;z-index:25}
 .resource-results:before,.island-stage>.resource-detail:before{content:'';display:block;width:40px;height:4px;background:#bfb9b0;border-radius:9px;margin:-14px auto 14px}
 .resource-results>h1,.resource-results>.interface-eyebrow,.resource-results>p:not(#resource-result-status){display:none}
 #index-close{position:sticky;float:right;top:0;width:40px;height:40px;min-height:40px;padding:0;margin:0 0 8px 8px;font-size:24px;border-radius:12px;z-index:3}
 .resource-search-box label{display:none}.resource-search-row{display:flex;flex-wrap:wrap;clear:none}.resource-search-row input{width:calc(100% - 48px);flex:1 1 100%;min-width:0;font-size:18px;min-height:44px}.resource-search-row button{font-size:16px;min-height:40px;padding:7px 12px}
 .resource-search-box{margin:0}.location-fold{margin:8px 0}.location-fold summary{font-size:18px;min-height:40px;padding:6px 0}
 .mobile-resource-tabs{display:flex;gap:8px;margin:12px 0}.mobile-resource-tabs button{flex:1;min-height:44px;padding:8px;font-size:17px;border:1px solid #d8cdbb;border-radius:12px;background:#fffaf4;color:#102942}.mobile-resource-tabs button[aria-selected=true]{background:#102942;color:white}
 .resource-results[data-mobile-tab=zones] #resource-cards,.resource-results[data-mobile-tab=zones] #resource-more,.resource-results[data-mobile-tab=zones] #resource-results-heading,.resource-results[data-mobile-tab=zones] #resource-result-status{display:none}
 .resource-results[data-mobile-tab=topics] #resource-zone-list{display:none!important}
 .resource-zone-list button{min-height:58px;font-size:20px}.resource-topic h3 button{font-size:20px}
 .island-stage>.resource-detail{position:fixed;top:auto;left:0;right:0;bottom:0;width:100%;height:53dvh;max-height:53dvh;box-sizing:border-box;padding:28px 20px calc(24px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;z-index:24;overflow:auto;overscroll-behavior:contain}
 .island-guide{bottom:calc(12px + env(safe-area-inset-bottom));max-height:40dvh}.guide-playing .island-stage #scene{height:65dvh}
 .time-open .resource-detail{display:none}
}
@media(max-width:359px){.careflow-island-name{font-size:20px}.careflow-island-caption b{font-size:15px}.island-brand>a{gap:6px}}
@media(max-width:999px){#pins .zp,#pins .tp{font-size:14px;max-width:145px;padding:7px 9px}.resource-search-row input{scroll-margin-top:20px}}
@media(max-width:999px){
 .index-open .island-stage #scene,.island-stage:has(.resource-detail:not([hidden])) #scene{top:88px;height:calc(47dvh - 88px)}
 .time-open .island-stage #scene{top:0;height:100%}
 .island-stage>.resource-detail{border:1px solid #ddd5c9}
 .resource-detail .resource-back{position:sticky;top:0;z-index:2;margin-top:0;min-height:40px;font-size:16px;padding:8px 12px}
}
@media(max-width:999px){#pins .zp.compact-pin{font-size:0;min-width:34px;max-width:42px;padding:7px}#pins .zp.compact-pin b{font-size:14px;margin:0}.time-tooltip{top:auto;bottom:calc(100% + 8px)}}
