/* City of Zero living streets & print newspaper — v203 with four unique environments. Read-only presentation. */
#app.home-mode{--city-cream:#f5dfbb;--city-copper:#d8a669;--city-leaf:#7c9275}
#app.home-mode>.hero{background:linear-gradient(90deg,#081c2bea,#102b3bb0),url('/play/media/city-square-203.svg') center 37%/cover!important;border-bottom-color:#d4aa7033}
#app.home-mode>.hero .hero-headline{display:none}
#app.home-mode .content{padding-top:14px}
#app.home-mode .home-dashboard{gap:18px}
#app.home-mode .home-masthead{min-height:300px;background:linear-gradient(90deg,#091d2ae8 0%,#132b37a8 53%,#132b372f 100%),url('/play/media/city-square-203.svg') center/cover;border:1px solid #e7c38d62;box-shadow:0 22px 48px #0005}
#app.home-mode .home-masthead::before{display:none}
#app.home-mode .home-masthead-top{max-width:550px;margin-bottom:22px}
#app.home-mode .home-masthead-top h2{color:#fff0d2;font-size:clamp(23px,4vw,34px);text-shadow:0 3px 15px #0009}
#app.home-mode .home-masthead-top p{font-size:13px;color:#faf0de;text-shadow:0 1px 12px #000}
#app.home-mode .home-masthead .home-focus{max-width:670px;background:#101f2de8;border-color:#dcb77d77;backdrop-filter:blur(7px);box-shadow:0 8px 25px #0004}
#app.home-mode .home-masthead .home-focus h3{color:#fff0ce}
#app.home-mode .home-masthead .home-facts{max-width:670px}
#app.home-mode .home-masthead .home-facts>div{background:#0b1e2ce5;border-color:#ddbf8b55;backdrop-filter:blur(7px)}
#app .city-walk{min-width:0;display:grid;gap:12px}
#app .city-walk-title{display:flex;align-items:center;justify-content:space-between;gap:10px}
#app .city-walk-title h2{color:#fff2d7;margin:3px 0;font-size:clamp(19px,2.5vw,24px)}
#app .city-walk-title p{margin:0;font-size:12px;color:#c7d4d7}
#app .city-walk-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#app .city-walk-place{position:relative;isolation:isolate;display:flex;align-items:flex-end;text-align:right;min-width:0;min-height:170px;padding:13px;border:1px solid #f1d09470;border-radius:17px;overflow:hidden;color:#fff6e7;background:#213b42;box-shadow:0 10px 27px #0004;cursor:pointer}
#app .city-walk-place::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#071720ed,#07172030 70%)}
#app .city-walk-place img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .32s ease}
#app .city-walk-place span{display:grid;gap:2px;min-width:0;text-shadow:0 2px 10px #000}
#app .city-walk-place strong{font-size:17px}
#app .city-walk-place small{font-size:11px;color:#f2e6d0;line-height:1.5}
#app .city-walk-place:hover img{transform:scale(1.055)}
#app .city-walk-place:focus-visible{outline:3px solid #f2d8a6;outline-offset:3px}
#app .city-walk-place:active{transform:scale(.99)}
/* The compact home newspaper retains the three trusted snapshot categories. */
#app .city-pulse-home{background:linear-gradient(145deg,#e9d1a7,#f9e9c9 43%,#e3c8a0)!important;border:1px solid #bf9866!important;color:#322c28;box-shadow:0 15px 35px #0004;padding:18px}
#app .city-pulse-home .city-pulse-head{border-bottom:3px double #765438;padding-bottom:12px;align-items:end}
#app .city-pulse-home .city-pulse-head h2{color:#332d29;font-family:Georgia,'Times New Roman',serif;font-size:clamp(24px,3vw,34px);margin:2px 0 0}
#app .city-pulse-home .city-pulse-head p{color:#624d38;font-size:12px;margin:2px 0 0}
#app .city-pulse-home .overline{color:#78512e}
#app .city-pulse-home .city-pulse-all{background:#674426;color:#fff2d9;border:1px solid #674426;min-height:44px;border-radius:8px}
#app .city-pulse-home .city-pulse-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
#app .city-pulse-home .city-pulse-item{display:flex;flex-direction:column;gap:0;padding:0;border:1px solid #c3a47d;border-radius:10px;background:#fff5e5;overflow:hidden;min-width:0}
#app .city-pulse-item-media{height:116px;width:100%;background-position:center;background-size:cover;flex:0 0 auto}
#app .city-pulse-home .city-pulse-copy{padding:11px;display:flex;flex-direction:column;align-items:stretch;gap:4px;width:100%;flex:1}
#app .city-pulse-home .city-pulse-tags{color:#7a4d31;line-height:1.4}
#app .city-pulse-home .city-pulse-source{color:#3f422c;border:1px solid #ad9e7c;background:#e5e4c6}
#app .city-pulse-home .city-pulse-item h3{margin:4px 0 0;color:#292726;font-size:15px}
#app .city-pulse-home .city-pulse-item p{color:#5b5146;font-size:12px}
#app .city-pulse-home .city-pulse-action{margin-top:auto;border-radius:8px;background:#654d35;color:#fff1d7;border-color:#654d35;min-height:44px;width:100%}
#app .city-pulse-home .city-pulse-disclaimer{color:#665741;font-size:10px}
#app .city-pulse-home .city-pulse-empty{background:#fff7e9;color:#584730}
/* Full newspaper is an editorial canvas rather than dark stacked cards. */
#app .city-pulse-page{display:grid;gap:17px;border:1px solid #b99666;background:repeating-linear-gradient(0deg,#f6e8cb 0,#f6e8cb 36px,#f3e2c1 37px);color:#302b27;padding:clamp(13px,2.7vw,26px);border-radius:16px;box-shadow:0 20px 45px #0004}
#app .city-pulse-page .city-pulse-intro{border:0;border-bottom:4px double #6c4b30;border-radius:0;background:transparent;padding:0 0 14px;color:#332c25}
#app .city-pulse-edition{display:flex;justify-content:space-between;gap:10px;color:#7c5636;font-size:11px;border-bottom:1px solid #a7895c;padding-bottom:7px}
#app .city-pulse-mast{display:flex;align-items:center;justify-content:center;gap:12px;text-align:center;padding:12px 0}
#app .city-pulse-mast h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(29px,5.5vw,54px);letter-spacing:0;color:#302925;line-height:1.1;margin:0}
#app .city-pulse-mast span{font-size:12px;color:#72583d}
#app .city-pulse-strap{text-align:center;font-size:12px;font-weight:800;color:#624a33;letter-spacing:.5px;border-top:1px solid #af9068;padding-top:8px}
#app .city-pulse-lead-label{font-size:11px;color:#6e472b;font-weight:900;margin-bottom:10px;letter-spacing:1px}
#app .city-pulse-page .city-pulse-lead{border-bottom:1px solid #b19a75;padding-bottom:16px}
#app .city-pulse-page .city-pulse-lead .city-pulse-item{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);padding:0;gap:15px;border:0;background:transparent}
#app .city-pulse-page .city-pulse-lead .city-pulse-item-media{height:240px;border-radius:7px;box-shadow:0 10px 25px #0002}
#app .city-pulse-page .city-pulse-lead h3{font-size:clamp(19px,3vw,28px);font-family:Georgia,'Times New Roman',serif;line-height:1.4}
#app .city-pulse-page .city-pulse-lead .city-pulse-copy{display:flex;flex-direction:column;gap:9px;align-items:start;justify-content:center}
#app .city-pulse-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
#app .city-pulse-page .city-pulse-group{display:grid;align-content:start;gap:10px;min-width:0}
#app .city-pulse-page .city-pulse-group-head{border-block:2px solid #70523a;padding:7px 0;color:#463121}
#app .city-pulse-page .city-pulse-group-head h2{color:#3a3027;font-family:Georgia,'Times New Roman',serif;font-size:20px;margin:0}
#app .city-pulse-page .city-pulse-group-head span{background:#e6d1ae;color:#62452e;font-size:12px}
#app .city-pulse-page .city-pulse-items{display:grid;gap:10px}
#app .city-pulse-page .city-pulse-item{display:grid;grid-template-columns:96px minmax(0,1fr);gap:9px;align-items:start;padding:0 0 12px;border:0;border-bottom:1px solid #c2ab87;border-radius:0;background:transparent}
#app .city-pulse-page .city-pulse-item-media{height:86px;border-radius:6px;box-shadow:0 4px 10px #0002}
#app .city-pulse-page .city-pulse-copy{min-width:0}
#app .city-pulse-page .city-pulse-tags{font-size:10px;color:#71512f;gap:5px}
#app .city-pulse-page .city-pulse-source{background:#dfdfc7;color:#42523b;border:1px solid #a6aa8c;padding:1px 7px}
#app .city-pulse-page .city-pulse-item h3{font-size:14px;line-height:1.45;margin:4px 0;color:#332c27}
#app .city-pulse-page .city-pulse-item p{font-size:11px;color:#6a5546;line-height:1.6;margin:2px 0 7px}
#app .city-pulse-page .city-pulse-action{min-height:44px;padding:8px 10px;background:#4c3e30;color:#f9ecd1;border:1px solid #4c3e30;border-radius:7px;white-space:normal;font-size:11px}
#app .city-pulse-page .city-pulse-empty{background:#e9d3af;color:#5f4832;border-radius:6px}
#app .city-pulse-page .city-pulse-disclaimer{font-size:11px;color:#68513d;padding-top:10px;border-top:2px double #9f8665}
#app .city-pulse-page :is(.city-pulse-action,.city-pulse-all):focus-visible{outline:3px solid #a46d2b;outline-offset:2px}
/* v228: home and City Pulse use the shared player shell and dock widths.
   Keep the desktop content grid; remove v202 page-specific viewport sizing. */
@media(min-width:850px){
 #app.home-mode .home-dashboard{grid-template-columns:repeat(2,minmax(0,1fr))}
 #app.home-mode .home-dashboard> :is(.city-walk,.city-pulse-home){grid-column:1/-1}
 #app.home-mode .city-walk-place{min-height:205px}
}
@media(max-width:849px){
 #app .city-pulse-page .city-pulse-columns{grid-template-columns:1fr}
 #app .city-pulse-page .city-pulse-item{grid-template-columns:128px minmax(0,1fr)}
 #app .city-pulse-page .city-pulse-lead .city-pulse-item-media{height:190px}
 #app .city-pulse-home .city-pulse-items{grid-template-columns:1fr}
 #app .city-pulse-home .city-pulse-item{display:grid;grid-template-columns:110px minmax(0,1fr)}
 #app .city-pulse-home .city-pulse-item-media{height:100%;min-height:130px}
}
@media(max-width:540px){
 #app.home-mode .home-masthead{min-height:320px;background-position:58% center}
 #app.home-mode .home-masthead .home-focus{background:#0b2030e9}
 #app .city-walk-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
 #app .city-walk-place{min-height:140px;padding:9px;border-radius:12px}
 #app .city-walk-place strong{font-size:14px}
 #app .city-walk-place small{font-size:10px}
 #app .city-pulse-home{padding:12px}
 #app .city-pulse-home .city-pulse-head{flex-wrap:wrap;align-items:center}
 #app .city-pulse-home .city-pulse-head h2{font-size:27px}
 #app .city-pulse-home .city-pulse-all{width:100%}
 #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:170px}
 #app .city-pulse-page .city-pulse-mast span{display:none}
}
@media(max-width:355px){
 #app .city-pulse-home .city-pulse-item{grid-template-columns:92px minmax(0,1fr)}
 #app .city-pulse-page .city-pulse-item{grid-template-columns:84px minmax(0,1fr)}
 #app .city-walk-place{min-height:135px}
 #app .city-walk-place small{display:none}
}
@media(prefers-reduced-motion:reduce){#app .city-walk-place img{transition:none}}

/* Place-based headers throughout the real game, with no changes to gameplay. */
#app.screen:not(.auth-mode):not(.profile-mode)>.hero{background:linear-gradient(90deg,#0a1d2de5,#233d48a8),url('/play/media/city-square-203.svg') center 35%/cover;border-bottom-color:#caa17055}
#app.jobs-mode.screen:not(.auth-mode)>.hero{background-image:linear-gradient(90deg,#0b1b2be6,#2939449a),url('/play/media/city-cafe-203.svg')}
#app.market-mode.screen:not(.auth-mode)>.hero,
#app.business-mode.screen:not(.auth-mode)>.hero{background-image:linear-gradient(90deg,#0b1b2be6,#2942389a),url('/play/media/city-market-203.svg')}
#app.estate-mode.screen:not(.auth-mode)>.hero{background-image:linear-gradient(90deg,#0b1b2be6,#35434a9a),url('/play/media/city-estate-203.svg')}
#app.government-mode.screen:not(.auth-mode)>.hero{background-image:linear-gradient(90deg,#0b1b2be6,#37424b9a),url('/play/media/city-square-203.svg')}
#app.screen:not(.auth-mode):not(.profile-mode)>.hero .hero-headline .title{color:#fff1d5;text-shadow:0 2px 14px #071320}
#app.screen:not(.auth-mode):not(.profile-mode)>.hero .hero-headline .sub{color:#ece4d9;text-shadow:0 2px 10px #071320}
@media(min-width:850px){#app.screen:not(.auth-mode):not(.profile-mode)>.hero{background-position:center 36%}}

#app .city-pulse-type-jobs .city-pulse-item-media{background-image:url('/play/media/city-cafe-203.svg')}
#app .city-pulse-type-market .city-pulse-item-media{background-image:url('/play/media/city-market-203.svg')}
#app .city-pulse-type-estate .city-pulse-item-media{background-image:url('/play/media/city-estate-203.svg')}

/* v203: scene-specific art direction, stronger mobile places and reduced navy-wall feeling. */
#app.home-mode .home-masthead{
  background-image:linear-gradient(90deg,rgba(16,25,30,.88),rgba(28,34,34,.53) 57%,rgba(28,27,29,.11)),url('/play/media/city-square-203.svg');
  background-position:center 53%;
  border-color:#ead0a472;
}
#app.home-mode .home-masthead .home-focus{
  background:rgba(18,29,31,.89);border:1px solid #ddc0928c;
}
#app.home-mode .home-masthead .home-facts>div{
  background:rgba(27,37,39,.9);
}
#app.home-mode .city-walk-place{
  border:1px solid #e2c28e77;
  background-color:#473b33;
}
#app.home-mode .city-walk-place::before{background:linear-gradient(0deg,rgba(13,24,27,.93),rgba(13,24,27,.12) 78%)}
#app .city-pulse-item-media{background-position:center 50%}
#app .city-pulse-home .city-pulse-item-media{background-position:center 52%}
#app .city-pulse-page .city-pulse-item-media{background-position:center 50%}
#app.screen:not(.auth-mode)>.always-wallet{
  background:linear-gradient(90deg,#12252cf5,#1d302ff5);
  border-bottom-color:#c1a47845;
}
#app.screen:not(.auth-mode) .bottom{
  background:linear-gradient(95deg,#132830fb,#1a2930fb)!important;
  border-top-color:#c9b08663;
}
#app.screen:not(.auth-mode) .bottom button.active{color:#f7dfa9}
#app .city-walk-place strong{text-shadow:0 2px 9px #101313}
@media(min-width:850px){
 body:has(#app.screen:not(.auth-mode)){
   background:linear-gradient(90deg,#12232ccc,#12232cc9),url('/play/media/city-square-203.svg') center/cover fixed;
 }
 #app.home-mode .city-walk-place{min-height:220px}
}
@media(max-width:540px){
 #app.home-mode .home-masthead{min-height:300px}
 #app .city-walk-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 #app .city-walk-place{min-height:152px}
 #app .city-walk-work{grid-column:1/-1;min-height:165px;max-height:210px}
 #app .city-walk-work img{object-position:center 46%}
 #app .city-walk-place strong{font-size:17px}
 #app .city-walk-place small{display:block}
 #app .city-pulse-home .city-pulse-item-media{background-size:cover}
}
@media(max-width:355px){
 #app .city-walk-place{min-height:128px}
 #app .city-walk-work{min-height:158px}
 #app .city-walk-place strong{font-size:15px}
 #app .city-walk-place small{display:block;font-size:10px}
}

/* v203 editorial rhythm: one illustration per section, no repeated street thumbnails for 12 offers. */
#app .city-pulse-page .city-pulse-no-image{
  display:block;min-width:0;padding:10px 0 14px;
  border-bottom:1px solid #baa17a;
  background:transparent;
}
#app .city-pulse-page .city-pulse-no-image .city-pulse-copy{display:block;width:100%;min-width:0}
#app .city-pulse-page .city-pulse-no-image .city-pulse-item h3{font-size:15px}
#app .city-pulse-page .city-pulse-no-image .city-pulse-action{margin-top:7px}
#app .city-pulse-group-head{position:relative}
#app .city-pulse-group-head::after{content:"";position:absolute;inset:auto 0 -7px;height:1px;background:#c8b28a}
