/* Map overlays: one calm layout and one look (frosted glass pills, line icons). Loaded last.
   Top row: Build (left) · goal (centre) · zoom (right). Second row: festival / journal chips.
   Bottom row: island news (left) · Free Roam (right). Notices are slim pills under the top row. */
.city-view{--g-bg:rgba(9,24,30,.74);--g-line:rgba(255,255,255,.16);--g-shadow:0 6px 18px rgba(0,0,0,.24);--g-blur:blur(10px)}
.city-view .city-build-btn,.city-view .city-roam,.city-view .fest-chip,.city-view .city-ticker,.city-view .city-weather,.city-view .city-controls button,.city-view .city-goal,.city-view .lens-journal-chip,.city-view .city-toast,.city-view .city-hint{-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);box-shadow:var(--g-shadow)}
/* Build: gold, compact, with a line icon */
.city-view .city-build-btn{top:10px;left:10px;min-height:38px;display:inline-flex;align-items:center;gap:7px;padding:0 14px 0 11px;border-radius:999px;background:linear-gradient(180deg,#f3d58a,#e2b55a);color:#2a1d06;font:700 14px/1 Inter,system-ui,sans-serif;border:1px solid rgba(255,255,255,.35)}
.city-view .city-build-btn svg,.city-view .city-roam svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
/* zoom buttons: small round glass */
.city-view .city-controls{top:10px;right:10px;gap:6px}
.city-view .city-controls button{width:38px;height:38px;border-radius:999px;background:var(--g-bg);border:1px solid var(--g-line);font:600 17px/1 Inter,system-ui,sans-serif}
/* goal: centred in the top row, slimmer */
.city-view .city-goal{top:10px;width:min(52%,300px);padding:6px 12px 7px;border-radius:16px;background:var(--g-bg);border:1px solid rgba(231,196,111,.5)}
/* festival: a small gold-trimmed chip under Build, not a banner across the map */
.city-view .fest-chip{top:58px;bottom:auto;left:10px;transform:none;max-width:calc(100% - 70px);padding:7px 13px 7px 11px;border-radius:999px;background:var(--g-bg);color:#ffe4a0;border:1px solid rgba(242,201,107,.7);font:700 13px/1.1 Inter,system-ui,sans-serif;animation:none;display:inline-flex;align-items:center;gap:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.city-view .fest-chip::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:#f2c96b;box-shadow:0 0 0 0 rgba(242,201,107,.7);animation:mapPulse 1.8s ease-out infinite}
@keyframes mapPulse{0%{box-shadow:0 0 0 0 rgba(242,201,107,.7)}80%,100%{box-shadow:0 0 0 9px rgba(242,201,107,0)}}
.city-view .lens-journal-chip{top:58px;right:10px;min-height:34px;border-radius:999px;background:var(--g-bg);border:1px solid var(--g-line);font:600 12.5px/1 Inter,system-ui,sans-serif}
/* notices: a slim pill under the top rows, never mid-map */
.city-view .city-toast{top:104px;padding:8px 16px;border-radius:999px;background:var(--g-bg);border:1px solid var(--g-line);font:600 14px/1.25 Inter,system-ui,sans-serif;max-width:calc(100% - 40px)}
.city-view .city-toast.big{background:rgba(40,30,8,.86);color:#ffe4a0;border-color:rgba(242,201,107,.7);font:700 15px/1.25 Inter,system-ui,sans-serif;box-shadow:var(--g-shadow)}
/* bottom row: news on the left, Free Roam on the right */
.city-view .city-ticker{top:auto;bottom:10px;left:10px;right:auto;transform:none;max-width:calc(100% - 156px);padding:6px 12px;border-radius:999px;background:var(--g-bg);border:1px solid var(--g-line);font:600 12px/1.2 Inter,system-ui,sans-serif}
.city-view .city-ticker b{font:800 9px/1 Inter,system-ui,sans-serif}
.city-view .city-roam{bottom:10px;right:10px;padding:9px 15px 9px 12px;border-radius:999px;background:rgba(22,84,70,.88);border:1px solid rgba(255,255,255,.2);font:700 13.5px/1 Inter,system-ui,sans-serif;gap:7px}
.city-view .city-roam.locked{background:var(--g-bg);color:#c9d6d2}
.city-view .city-replay{bottom:56px}
.city-view .city-invite{top:auto;bottom:52px}
/* weather: a small round button above the news */
.city-view .city-weather{top:auto;bottom:52px;left:10px;padding:6px 10px;border-radius:999px;background:var(--g-bg);border:1px solid var(--g-line)}
.city-view:has(.city-invite.in) .city-weather{bottom:94px}
/* the how-to hint shows only in the first rounds, in the news spot */
.city-view .city-hint{left:10px;bottom:10px;padding:6px 12px;border-radius:999px;background:var(--g-bg);font:600 12px/1.2 Inter,system-ui,sans-serif;max-width:calc(100% - 156px)}
.city-view.seasoned .city-hint{display:none}
.city-view:not(.seasoned) .city-ticker{display:none}
/* the building sheet: a rounded card that leaves the map visible */
.city-view .city-sheet{border-radius:22px;background:#fbf7ee;box-shadow:0 18px 50px rgba(0,0,0,.4);border:1px solid rgba(0,0,0,.06)}
.city-view .city-sheet::before{content:"";display:block;width:38px;height:4px;border-radius:4px;background:#dccfb2;margin:-4px auto 8px}
.city-view .city-sheet-close{width:30px;height:30px;border:0;background:#efe6d2;color:#5a4a30;font-size:13px}
@media (min-width:821px){.city-view .city-sheet::before{display:none}}
.city-view:not(.hq) [data-city-rot]{display:none}
