/* Player visual pass v204: readable city hub and compact newspaper. Presentation only. */
@media(min-width:850px){
 body:has(#app.screen:not(.auth-mode)){background:#15202a}
 body:has(#app.screen:not(.auth-mode))::before{content:"";position:fixed;inset:0;pointer-events:none;background:linear-gradient(90deg,#0b1720ad,#102432a7),url('/play/media/story_arrival.webp') center 48%/cover no-repeat;opacity:.72}
 /* v227: obsolete desktop overrides removed; all pages use the shared #app/.bottom widths in app.css. */
}
#app.home-mode .home-dashboard{gap:14px}
#app.home-mode .home-masthead{
 display:grid;grid-template-areas:"intro action" "stats action";grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);grid-template-rows:auto 1fr;
 gap:15px 24px;align-items:stretch;padding:clamp(16px,2.2vw,26px);min-height:325px;
 background:linear-gradient(90deg,#0c1b25be,#142633bc 62%,#18212bce),url('/play/media/story_arrival.webp') center 54%/cover;
 border-color:#dbb7819c;box-shadow:0 16px 38px #0004
}
#app.home-mode .home-masthead::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 65px #07152055;pointer-events:none}
#app.home-mode .home-masthead-top{grid-area:intro;max-width:none;margin:0;align-items:center;position:relative;z-index:1}
#app.home-mode .home-masthead-top h2{font-size:clamp(25px,3.3vw,38px);line-height:1.24}
#app.home-mode .home-masthead-top p{font-size:13px}
#app.home-mode .home-masthead .home-focus{
 grid-area:action;max-width:none;margin:0;align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:8px;
 padding:clamp(17px,2.4vw,26px);background:linear-gradient(130deg,#10202bea,#1a2632e8);
 border-color:#e5c28d7b;border-radius:18px;position:relative;z-index:1
}
#app.home-mode .home-masthead .home-focus h3{font-size:clamp(20px,2.4vw,29px);margin:0;color:#fff0d2}
#app.home-mode .home-masthead .home-focus p{font-size:13px;color:#dce0dc}
#app.home-mode .home-masthead .home-focus-cta{margin-top:8px}
#app.home-mode .home-masthead .home-facts{grid-area:stats;max-width:none;margin:0;position:relative;z-index:1;align-items:stretch}
#app.home-mode .home-masthead .home-facts>div{background:#12232be8;border-color:#d3b78c58;padding:12px;border-radius:13px;justify-content:center}
#app .city-walk{gap:9px}
#app .city-walk-title h2{font-size:clamp(19px,2vw,23px);margin-bottom:1px}
#app .city-walk-grid{gap:11px}
#app .city-walk-place{
 min-height:180px;border-radius:18px;
 box-shadow:inset 0 -100px 78px -65px #07181ae8,0 8px 19px #0004;
 transition:transform .18s ease,box-shadow .18s ease
}
#app .city-walk-place img{filter:saturate(1.16) contrast(1.08);transition:transform .25s ease}
#app .city-walk-work img{object-position:center 52%}
#app .city-walk-estate img{object-position:center 50%}
#app .city-walk-place::before{background:linear-gradient(0deg,#08181de8 0%,#09171a14 78%)}
#app .city-walk-place strong{font-size:clamp(17px,1.8vw,22px);color:#fff3de}
#app .city-walk-place small{font-size:11px;color:#f3e5d1}
#app .city-pulse-home{background:linear-gradient(128deg,#e9d0a7,#f8eacf 35%,#e6cba1)!important;padding:clamp(13px,2vw,22px);gap:10px;border-radius:20px}
#app .city-pulse-home .city-pulse-head{padding-bottom:11px}
#app .city-pulse-home .city-pulse-head h2{font-size:clamp(24px,2.6vw,32px)}
#app .city-pulse-home .city-pulse-items{gap:11px}
#app .city-pulse-home .city-pulse-item{box-shadow:0 5px 13px #805d3820}
#app .city-pulse-home .city-pulse-item-media{height:104px}
#app .city-pulse-home .city-pulse-item h3{line-height:1.35}
#app .city-pulse-home .city-pulse-item p{font-size:11px;line-height:1.55}
#app .city-pulse-home .city-pulse-copy{gap:4px;padding:10px}
#app .city-pulse-type-jobs .city-pulse-item-media{background-image:url('/play/media/story_employment.webp');background-position:center 53%}
#app .city-pulse-type-estate .city-pulse-item-media{background-image:url('/play/media/property-scenes.webp');background-position:center}
#app .city-pulse-type-market .city-pulse-item-media{filter:saturate(1.2) contrast(1.09)}
#app .city-pulse-page{max-width:100%;gap:13px;padding:clamp(13px,2.4vw,25px);box-shadow:0 12px 32px #0004}
#app .city-pulse-page .city-pulse-intro{padding-bottom:9px}
#app .city-pulse-page .city-pulse-mast{padding:9px 0}
#app .city-pulse-page .city-pulse-mast h2{font-size:clamp(27px,4.5vw,49px)}
#app .city-pulse-page .city-pulse-lead{padding-bottom:14px}
#app .city-pulse-page .city-pulse-lead .city-pulse-item{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:18px;align-items:stretch}
#app .city-pulse-page .city-pulse-lead .city-pulse-item-media{height:195px}
#app .city-pulse-page .city-pulse-lead .city-pulse-copy{align-items:flex-start;gap:6px;justify-content:center}
#app .city-pulse-page .city-pulse-lead h3{font-size:clamp(21px,2.4vw,28px)}
#app .city-pulse-page .city-pulse-lead p{font-size:13px;line-height:1.65}
#app .city-pulse-page .city-pulse-group-head h2{font-size:18px}
#app .city-pulse-page .city-pulse-columns{gap:12px}
#app .city-pulse-page .city-pulse-group{border-inline-start:1px solid #c3ac84;padding-inline-start:12px}
#app .city-pulse-page .city-pulse-group:first-child{border-inline-start:0;padding-inline-start:0}
#app .city-pulse-page .city-pulse-item{gap:8px;padding-bottom:10px}
#app .city-pulse-page .city-pulse-item-media{height:78px}
#app .city-pulse-page .city-pulse-item h3{font-size:14px}
#app .city-pulse-page .city-pulse-action{min-height:44px}
#app .city-pulse-page .city-pulse-more{border:1px solid #c9ac7a;border-radius:9px;background:#f0dfbf;overflow:hidden}
#app .city-pulse-page .city-pulse-more>summary{list-style:none;cursor:pointer;min-height:44px;display:flex;align-items:center;justify-content:center;padding:9px 12px;color:#5f4027;font-size:13px;font-weight:800}
#app .city-pulse-page .city-pulse-more>summary::-webkit-details-marker{display:none}
#app .city-pulse-page .city-pulse-more>summary::after{content:'+';margin-inline-start:6px;font-size:18px}
#app .city-pulse-page .city-pulse-more[open]>summary::after{content:'−'}
#app .city-pulse-page .city-pulse-more>summary:focus-visible{outline:3px solid #a97438;outline-offset:-3px}
#app .city-pulse-page .city-pulse-more .city-pulse-items{padding:10px}
#app .city-pulse-page .city-pulse-more .city-pulse-item:last-child{border-bottom:0}
@media(min-width:850px){
 #app.home-mode .home-dashboard{grid-template-columns:repeat(2,minmax(0,1fr))}
 #app.home-mode .home-dashboard> :is(.home-masthead,.city-walk,.city-pulse-home){grid-column:1/-1}
 #app .city-walk-place{min-height:194px}
}
@media(max-width:849px){
 #app.home-mode .home-masthead{grid-template-columns:minmax(0,1fr);grid-template-areas:"intro" "action" "stats";min-height:0;gap:12px}
 #app.home-mode .home-masthead .home-focus{min-height:0}
 #app .city-pulse-page .city-pulse-group{border-inline:0;padding-inline:0}
 #app .city-pulse-page .city-pulse-lead .city-pulse-item-media{height:185px}
 #app .city-pulse-home .city-pulse-item-media{height:100%;min-height:120px}
}
@media(max-width:540px){
 #app.home-mode .home-masthead{padding:14px;min-height:0}
 #app.home-mode .home-masthead-top h2{font-size:26px}
 #app.home-mode .home-masthead .home-focus{padding:14px;gap:4px}
 #app.home-mode .home-masthead .home-focus h3{font-size:20px}
 #app.home-mode .home-masthead .home-facts{gap:7px}
 #app .city-walk-place{min-height:135px}
 #app .city-walk-work{min-height:158px}
 #app .city-walk-place strong{font-size:17px}
 #app .city-pulse-home .city-pulse-item-media{height:100%;min-height:110px}
 #app .city-pulse-page .city-pulse-lead .city-pulse-item{grid-template-columns:1fr}
 #app .city-pulse-page .city-pulse-lead .city-pulse-item-media{height:172px}
 #app .city-pulse-page .city-pulse-strap{font-size:11px}
}
@media(max-width:355px){
 #app.home-mode .home-masthead .home-facts strong{font-size:15px}
 #app .city-pulse-page .city-pulse-more>summary{font-size:12px}
}
@media(prefers-reduced-motion:reduce){#app .city-walk-place,#app .city-walk-place img{transition:none!important}}

/* Distinct cinematic headers; existing first-party images, never remote images. */
#app.home-mode.screen:not(.auth-mode)>.hero{background:linear-gradient(90deg,#111d26db,#132a31c2),url('/play/media/story_arrival.webp') center 46%/cover!important}
#app.jobs-mode.screen:not(.auth-mode)>.hero{background-image:linear-gradient(90deg,#111d26d8,#182b34c7),url('/play/media/story_employment.webp')}
#app.estate-mode.screen:not(.auth-mode)>.hero{background-image:linear-gradient(90deg,#111d26d8,#182b34c7),url('/play/media/property-housing-scenes.webp')}

/* v205 owner screenshot follow-up: 690px narrow browser and phone-safe information density.
   Only layout changes; source-backed offers, navigation and player data are untouched. */
#app.home-mode .home-masthead-top,
#app.home-mode .home-masthead .home-focus,
#app.home-mode .home-masthead .home-facts{min-width:0}
#app.home-mode .home-masthead .home-focus{gap:6px}
#app.home-mode .home-masthead .home-focus h3{line-height:1.3}
#app.home-mode .home-masthead .home-focus p{line-height:1.5}
#app .city-pulse-page .city-pulse-item h3,
#app .city-pulse-home .city-pulse-item h3{overflow-wrap:anywhere}
#app .city-pulse-page .city-pulse-no-image{padding:9px 0 11px}
#app .city-pulse-page .city-pulse-no-image .city-pulse-copy{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,auto);
 grid-template-areas:"tag action" "headline action" "detail action";
 align-items:center;gap:2px 12px;
}
#app .city-pulse-page .city-pulse-no-image .city-pulse-tags{grid-area:tag;min-width:0}
#app .city-pulse-page .city-pulse-no-image h3{grid-area:headline;margin:2px 0}
#app .city-pulse-page .city-pulse-no-image p{grid-area:detail;margin:0;overflow-wrap:anywhere}
#app .city-pulse-page .city-pulse-no-image .city-pulse-action{
 grid-area:action;align-self:center;justify-self:end;margin:0;min-width:105px;
 width:auto;max-width:133px;min-height:44px;padding:7px 10px
}
#app .city-pulse-page .city-pulse-no-image .city-pulse-copy >*{min-width:0}
#app .city-pulse-page .city-pulse-group-head{padding:6px 0}
#app .city-pulse-page .city-pulse-group-head h2{font-size:18px}
#app .city-pulse-page .city-pulse-group{gap:7px}
#app .city-pulse-page .city-pulse-group>.city-pulse-items{gap:3px}
#app .city-pulse-page .city-pulse-more>summary{line-height:1.5}
#app.screen:not(.auth-mode)>.content{
 padding-bottom:calc(175px + env(safe-area-inset-bottom,0px));
 scroll-padding-bottom:calc(175px + env(safe-area-inset-bottom,0px))
}
#app.screen:not(.auth-mode) .content :is(.city-pulse-action,.city-pulse-more>summary,.city-walk-place){
 scroll-margin-bottom:calc(165px + env(safe-area-inset-bottom,0px))
}
@media (min-width:601px) and (max-width:849px){
 #app.home-mode .home-masthead{
   grid-template-areas:"intro intro" "action stats";
   grid-template-columns:minmax(0,1.35fr) minmax(0,.8fr);
   grid-template-rows:auto auto;gap:12px 14px;min-height:0;padding:16px
 }
 #app.home-mode .home-masthead-top{justify-content:space-between}
 #app.home-mode .home-masthead .home-focus{padding:15px;justify-content:center;min-height:0}
 #app.home-mode .home-masthead .home-focus h3{font-size:22px}
 #app.home-mode .home-masthead .home-focus-cta{margin-top:5px}
 #app.home-mode .home-masthead .home-facts{
   grid-template-columns:1fr;gap:8px;align-self:stretch
 }
 #app.home-mode .home-masthead .home-facts>div{padding:9px 11px;gap:2px}
 #app.home-mode .home-masthead .home-facts strong{font-size:18px}
 #app .city-walk-grid{gap:9px}
 #app .city-walk-place{min-height:155px;padding:11px}
 #app .city-walk-place strong{font-size:18px}
 #app .city-pulse-home .city-pulse-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 #app .city-pulse-home .city-pulse-item:first-child{grid-column:1/-1}
 #app .city-pulse-home .city-pulse-item{grid-template-columns:110px minmax(0,1fr)}
 #app .city-pulse-home .city-pulse-item:first-child{grid-template-columns:170px minmax(0,1fr)}
 #app .city-pulse-home .city-pulse-item-media{height:100%;min-height:122px}
 #app .city-pulse-home .city-pulse-action{min-height:44px}
 #app .city-pulse-page .city-pulse-columns{grid-template-columns:1fr;gap:15px}
 #app .city-pulse-page .city-pulse-lead .city-pulse-item{grid-template-columns:minmax(0,.95fr) minmax(0,1fr);gap:12px}
 #app .city-pulse-page .city-pulse-lead .city-pulse-item-media{height:180px}
 #app .city-pulse-page .city-pulse-lead .city-pulse-copy{gap:5px}
 #app .city-pulse-page .city-pulse-lead h3{font-size:23px}
}
@media (max-width:600px){
 #app.home-mode .home-masthead{
   grid-template-areas:"intro" "action" "stats";
   grid-template-columns:minmax(0,1fr);gap:10px;min-height:0;padding:13px
 }
 #app.home-mode .home-masthead-top{margin:0;align-items:center}
 #app.home-mode .home-masthead-top h2{font-size:clamp(22px,6vw,27px);margin:3px 0}
 #app.home-mode .home-masthead-top p{font-size:11px}
 #app.home-mode .home-city-emblem{width:37px;height:37px;flex-basis:37px}
 #app.home-mode .home-masthead .home-focus{padding:12px;gap:4px}
 #app.home-mode .home-masthead .home-focus h3{font-size:19px;margin:2px 0}
 #app.home-mode .home-masthead .home-focus p{font-size:11px;line-height:1.5}
 #app.home-mode .home-masthead .home-focus-cta{margin-top:5px}
 #app.home-mode .home-masthead .home-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 #app.home-mode .home-masthead .home-facts>div{padding:9px;gap:3px}
 #app.home-mode .home-masthead .home-facts small,
 #app.home-mode .home-masthead .home-facts span{font-size:10px}
 #app .city-pulse-page .city-pulse-lead .city-pulse-item{grid-template-columns:1fr;gap:9px}
 #app .city-pulse-page .city-pulse-lead .city-pulse-item-media{height:146px}
 #app .city-pulse-page .city-pulse-lead .city-pulse-copy{gap:5px}
 #app .city-pulse-page .city-pulse-lead h3{font-size:21px}
 #app .city-pulse-page .city-pulse-edition{font-size:10px}
 #app .city-pulse-page .city-pulse-mast h2{font-size:32px}
 #app .city-pulse-page .city-pulse-group{padding:0}
 #app .city-pulse-page .city-pulse-no-image .city-pulse-copy{
   grid-template-columns:minmax(0,1fr) 105px;gap:2px 8px
 }
 #app .city-pulse-page .city-pulse-no-image .city-pulse-action{
   min-width:0;width:105px;max-width:105px;padding:8px 4px;font-size:11px
 }
 #app .city-pulse-home .city-pulse-items{grid-template-columns:1fr}
 #app .city-pulse-home .city-pulse-item{grid-template-columns:96px minmax(0,1fr)}
 #app .city-pulse-home .city-pulse-item-media{min-height:115px}
 #app .city-pulse-home .city-pulse-copy{padding:9px}
}
@media (max-width:365px){
 #app .city-pulse-page .city-pulse-no-image .city-pulse-copy{grid-template-columns:minmax(0,1fr) 90px}
 #app .city-pulse-page .city-pulse-no-image .city-pulse-action{width:90px;max-width:90px;font-size:10px}
 #app .city-pulse-page .city-pulse-mast h2{font-size:28px}
}

/* Narrow-screen support controls stay accessible but intrude less over offers. */
@media(max-width:849px){
 #app .help-floating,.quick-report-float{
  width:42px;height:42px;min-width:42px;min-height:42px;
  bottom:calc(111px + env(safe-area-inset-bottom,0px))
 }
 #app .help-floating{right:max(6px,env(safe-area-inset-right,0px));font-size:20px}
 .quick-report-float{left:max(6px,env(safe-area-inset-left,0px))}
 .quick-report-float svg{width:21px;height:21px}
}
