/* Phone layout: small map signs, readable reading surfaces, unobstructed screen. */
@media(max-width:760px){
 .nebula-top{font-size:16px}
 
 .nebula-top .island-intro .hero-tagline{font-size:15px;line-height:1.8}
 .nebula-top .island-intro p:last-child{font-size:14px;line-height:1.85;max-width:31em}
 .compact-hero .map-viewport{padding-top:62px;padding-bottom:22px;max-height:none;overflow:visible}
 .pop-world .map-module{--sign-x:0px;--sign-gap:8px;min-width:44px;min-height:44px;transform:none;left:calc(var(--x) - var(--module-width)/2);top:calc(var(--y) - var(--module-width)*1.5);z-index:auto!important}
 .pop-world .map-module .module-label{width:72px;min-width:72px;height:26px;min-height:26px;left:calc(50% + var(--sign-x));bottom:calc(-26px - var(--sign-gap));padding:2px 3px;gap:0;border:1px solid #263c4b;border-radius:5px;box-shadow:0 2px 0 #172b44;justify-content:center;translate:none;z-index:20}
 .pop-world .map-module .module-label:before{content:'';position:absolute;bottom:100%;left:50%;height:var(--sign-gap);width:1px;background:#fff3c9;box-shadow:1px 0 #20394f;transform-origin:bottom;pointer-events:none}
 .pop-world .map-module .module-label:after{content:'';position:absolute;left:calc(50% - 2px);top:calc(-1 * var(--sign-gap) - 3px);width:4px;height:4px;border-radius:50%;background:#fff3c9;border:1px solid #263c4b;pointer-events:none}
 .pop-world .map-module .module-name,.pop-world .module-weather .module-name{display:block;font-size:10px;font-weight:700;line-height:1.1;white-space:normal;overflow-wrap:normal}
 .pop-world .map-module .module-plus{display:none}
 .pop-world .module-weather{--sign-x:-12px;--sign-gap:5px}
 .pop-world .module-journal{--sign-x:-20px;--sign-gap:3px}
 .pop-world .module-tana{--sign-x:-4px;--sign-gap:4px}
 .pop-world .module-lab{--sign-x:0px;--sign-gap:6px}
 .pop-world .module-club{--sign-x:23px;--sign-gap:4px}
 .pop-world .module-whale{--sign-x:0px;--sign-gap:4px}
 .pop-world .module-jinja{--sign-x:6px;--sign-gap:2px}
 .pop-world .module-agi{--sign-x:0px;--sign-gap:0px}
 .pop-world .module-weather .module-label,.pop-world .module-jinja .module-label{bottom:calc(100% + var(--sign-gap))}
 .pop-world .module-weather .module-label:before,.pop-world .module-jinja .module-label:before{bottom:auto;top:100%}
 .pop-world .module-weather .module-label:after,.pop-world .module-jinja .module-label:after{top:calc(100% + var(--sign-gap) - 1px)}
 .pop-world .module-club .module-label{bottom:24px}
 .pop-world .module-club .module-label:before{height:1px;width:10px;bottom:50%;left:-10px}
 .pop-world .module-club .module-label:after{top:calc(50% - 2px);left:-13px}
 .nebula-top .map-caption{padding:16px;gap:10px}
 .nebula-top .map-caption strong{font-size:15px;line-height:1.7}
 .nebula-top .map-caption p{font-size:13px;line-height:1.8;max-width:none}
 .nebula-top .area-shortcuts{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .nebula-top .area-shortcuts>a{font-size:13px;min-height:50px;min-width:0;padding:10px;gap:6px}
 .nebula-top .area-shortcuts>a span:not(.area-shortcut-icon){white-space:normal;overflow-wrap:anywhere}
 .nebula-top .area-shortcuts>a>.icon:last-child{display:none}
 .nebula-top .area-shortcut-icon{width:28px;height:28px;flex:0 0 28px}
 .nebula-top .area-shortcuts>a:before{display:none}
 .nebula-top .main-nav a{font-size:16px;min-height:44px;display:flex;align-items:center}
 .nebula-top .island-card-grid{gap:22px}
 .nebula-top .island-card-grid>.directory-card{padding:22px;border-radius:20px}
 .nebula-top .directory-card-top{align-items:flex-start;flex-wrap:wrap;gap:8px}
 
 .nebula-top .directory-badge,.nebula-top .directory-badge.is-private{font-size:11px}
 .nebula-top .directory-card-main{grid-template-columns:minmax(0,1fr) 88px;gap:12px 10px;min-height:0;padding:22px 0}
 .nebula-top .directory-card-copy{display:contents}
 .nebula-top .directory-card h2{grid-column:1;grid-row:1;align-self:end;font-size:27px;line-height:1.3;letter-spacing:-.03em;margin:0;overflow-wrap:anywhere}
 .nebula-top .directory-weather h2{font-size:25px}
 .nebula-top .directory-weather h2 span{white-space:nowrap}
 .nebula-top .directory-card-copy h3{grid-column:1/-1;grid-row:3;font-size:17px;line-height:1.7;margin:0;text-wrap:initial;color:#f4e5ee}
 .nebula-top .directory-card-copy p{grid-column:1/-1;grid-row:4;font-size:15px;line-height:1.85;color:#ddd0e3;margin:0}
 .nebula-top .directory-card-art{grid-column:2;grid-row:1/3}
 .nebula-top .directory-card-body{min-height:0;padding:22px 0}
 .nebula-top .directory-card-link{font-size:16px;min-height:54px;padding-top:18px}
 .nebula-top .directory-feature{align-items:flex-start;margin:20px 0 16px}
 .nebula-top .directory-feature strong{font-size:16px;line-height:1.7}
 .nebula-top .directory-feature p{font-size:14px;line-height:1.8;color:#d6c8df}
 .nebula-top .directory-note{font-size:12px;line-height:1.8;color:#cfc1d8}
 .nebula-top .directory-weather .weather-scope{font-size:13px;line-height:1.7}
 .nebula-top .directory-weather-reading{gap:12px}
 .nebula-top .directory-weather-reading>strong{font-size:34px}
 .nebula-top .directory-weather-trend{font-size:14px;line-height:1.7}
 .nebula-top .directory-risk{font-size:14px;margin-left:0;width:100%}
 .nebula-top .directory-card .give-empty{font-size:15px;line-height:1.8}
 .nebula-top .section-head{gap:16px;align-items:flex-start;flex-wrap:wrap}
 .nebula-top .section-head h2{font-size:25px;line-height:1.6}
 
 .nebula-top .text-link{font-size:15px;min-height:44px}
 .nebula-top .article-grid{grid-template-columns:1fr}
 .nebula-top .article-card h3{font-size:18px;line-height:1.75}
 .nebula-top .article-meta,.nebula-top .article-tag{font-size:12px}
 .nebula-top .journal-tabs button,.nebula-top .article-filters button{font-size:14px;min-height:44px}
 .nebula-top .article-filters{flex-wrap:wrap}
 .nebula-top .footer p,.nebula-top .footer>span,.nebula-top .footer>a:not(.brand),.nebula-top .brand-proposals{font-size:13px;line-height:1.8}
 .nebula-top .next-stop h2{font-size:23px;line-height:1.6}
 .nebula-top .mockbar{position:relative;bottom:auto;left:auto;transform:none;margin:20px auto 28px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:calc(100% - 32px);white-space:normal;gap:4px;box-shadow:none}
 .nebula-top .mockbar>a{font-size:12px;min-height:44px;padding:8px;justify-content:center;flex-wrap:wrap}
 .nebula-top .mockbar>a span{font-size:11px}
 .nebula-top .mockbar .mockbar-home{grid-column:1/-1;font-size:13px}
 .nebula-top .mockbar-home span{display:inline}
 .nebula-top .mock-divider{display:none}
 .nebula-top .module-popup-copy{padding:20px 22px}
 .nebula-top .module-popup-kicker{font-size:12px}
 .nebula-top .module-popup-copy h2{font-size:28px}
 .nebula-top .module-popup-copy h3{font-size:18px;line-height:1.65}
 .nebula-top .module-popup-copy>p:not(.module-popup-kicker){font-size:16px;line-height:1.85}
 .nebula-top .module-visit{font-size:16px;min-height:50px}
 .nebula-top .module-close,.nebula-top .module-popup-nav button{width:44px;height:44px}
 .nebula-top .module-popup-nav>span{font-size:12px}
 .nebula-top .dialog-content>p{font-size:16px}
}
@media(max-width:370px){
 .nebula-top .brand .brand-wordmark{width:148px}
 .nebula-top .brand .brand-world{width:36px;height:36px;flex-basis:36px}
 .nebula-top .header-actions{gap:4px}
 .nebula-top .island-card-grid>.directory-card{padding:18px}
 .nebula-top .directory-card-main{grid-template-columns:minmax(0,1fr) 74px}
 .nebula-top .directory-card h2{font-size:24px}
 .nebula-top .directory-weather h2{font-size:22px}
 .nebula-top .area-shortcuts>a{font-size:12px}
}
