#citysense,#citysense *{box-sizing:border-box;letter-spacing:0}
#citysense{max-width:1440px;margin:0 auto;padding:20px 24px 40px;font-family:'Segoe UI',Arial,sans-serif;color:#17392f;text-align:left}
#citysense [hidden]{display:none!important}
.cs-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 0 18px}
.cs-heading h1{font:800 34px/1.1 'Segoe UI',Arial,sans-serif;color:#17392f;margin:0;display:flex;gap:14px;align-items:baseline;flex-wrap:wrap}
.cs-heading h1 span{font-size:13px;font-weight:600;color:#577469}
.cs-heading p{margin:5px 0 0;color:#577469;font-size:15px}
#citysense button{border:0;border-radius:6px;background:#176848;color:white;padding:12px 18px;font:700 15px/1.25 'Segoe UI',Arial,sans-serif;cursor:pointer;min-height:44px;white-space:normal}
#citysense button:hover{background:#114f36}
#citysense button:disabled{opacity:.5;cursor:default}
#citysense button.cs-quiet{background:#edf4ef;color:#214d3c;border:1px solid #c5d7cb}
#citysense button:focus-visible,#citysense summary:focus-visible{outline:3px solid #efae32;outline-offset:3px}
.cs-hud{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 20px;background:#edf4ef;border-top:3px solid #176848;min-height:116px}
.cs-eyebrow{font-size:11px;font-weight:800;color:#547364}
.cs-hud h2{font:750 23px/1.2 'Segoe UI',Arial,sans-serif;margin:6px 0;color:#17392f}
.cs-hud p{margin:0;font-size:14px;color:#496557}
.cs-total{display:flex;flex-direction:column;align-items:center;flex-shrink:0;min-width:65px}
.cs-total strong{font-size:32px;line-height:1.1}.cs-total span{font-size:13px;color:#547364}
.cs-map-shell{height:65svh;min-height:450px;max-height:820px;position:relative;background:#e6ece9}
#cs-map{height:100%;width:100%}
.cs-overlay{position:absolute;inset:0;display:grid;place-items:center;background:#e4ede73b;padding:18px;overflow:auto}
.cs-start{width:420px;max-width:100%;padding:24px;background:#fff;border:1px solid #ccd9d0;border-radius:8px;box-shadow:0 8px 32px #12362226}
.cs-start h2{font:800 29px/1.15 'Segoe UI',Arial,sans-serif;margin:8px 0 20px;color:#17392f}
#cs-city-search{min-height:48px}#cs-city-search gmp-place-autocomplete{width:100%}
#cs-selection{font-size:14px;min-height:36px;margin:12px 0;color:#496557;overflow-wrap:anywhere}
#cs-start{width:100%;margin-top:16px}.cs-small{font-size:12px;line-height:1.5;color:#61756a;margin:12px 0 0}
.cs-start .g-recaptcha{max-width:100%;overflow:hidden}
#citysense .cs-map-button{position:absolute;right:12px;top:12px;background:white;color:#17392f;padding:12px;box-shadow:0 2px 6px #0002}
#cs-actions{position:absolute;bottom:40px;left:50%;transform:translateX(-50%);display:flex;gap:8px;width:max-content;max-width:calc(100% - 20px);padding:7px;border-radius:8px;background:white;box-shadow:0 2px 12px #0003}
#cs-actions button{font-size:14px;padding:12px}
.cs-loading{position:absolute;inset:0;background:#eff6f1e8;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:16px;text-align:center;padding:30px;z-index:4}
.cs-spinner{width:34px;height:34px;border:4px solid #cbdcd0;border-top-color:#176848;border-radius:50%;animation:cs-spin 1s linear infinite}
@keyframes cs-spin{to{transform:rotate(360deg)}}
#cs-message{padding:8px 0;font-size:14px;min-height:32px;color:#496557}#cs-message.error{color:#a32d28}
.cs-reveal{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px 0 24px;border-bottom:1px solid #d4dfd7}
.cs-reveal h2{font-size:25px;margin:5px 0;color:#17392f}.cs-reveal p{font-size:14px;margin:8px 0}
.cs-legend{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.cs-dot{width:11px;height:11px;border-radius:50%;display:inline-block}.guess{background:#ff9900}.best{background:#0077de}.place{background:#7554a3}
.cs-finish{text-align:center;padding:20px 0 30px;border-bottom:1px solid #d4dfd7}.cs-finish h2{font-size:30px;color:#17392f;margin:8px 0}.cs-finish p{margin:8px 0}.cs-finish ol{display:flex;justify-content:center;gap:10px;list-style:none;padding:12px 0;flex-wrap:wrap}.cs-finish li{padding:10px;border-bottom:3px solid #efae32;font-size:14px}.cs-finish-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
#cs-copy-fallback{width:100%;padding:12px;margin-top:15px}.cs-rules{margin-top:12px;font-size:14px;color:#547364}.cs-rules summary{cursor:pointer;font-weight:700}.cs-rules p{max-width:850px;line-height:1.6}
@media(max-width:600px){#citysense{padding:14px 10px 30px}.cs-heading h1{font-size:29px}.cs-heading h1 span{display:none}.cs-hud{padding:12px;min-height:125px;gap:10px}.cs-hud h2{font-size:19px}.cs-total strong{font-size:27px}.cs-map-shell{height:66svh;min-height:500px}.cs-start{padding:16px}.cs-overlay{padding:8px}.cs-reveal{align-items:stretch;flex-direction:column;gap:4px}.cs-heading p{font-size:13px}#citysense .cs-heading button{padding:10px;font-size:13px}}
@media(prefers-reduced-motion:reduce){.cs-spinner{animation:none}}
#citysense .cs-hud{position:sticky;top:var(--cs-top,55px);z-index:20;min-height:0;padding:10px 14px;box-shadow:0 2px 5px #17392f18;scroll-margin-top:var(--cs-top,55px)}
#citysense .cs-hud h2{font-size:20px;line-height:1.2;margin:3px 0;font-weight:800}
#citysense .cs-hud p{font-size:12px;line-height:1.35}
#citysense .cs-total strong{font-size:26px}
#citysense .cs-map-shell{height:calc(100svh - var(--cs-top,55px) - var(--cs-hud-height,110px) - 24px);min-height:260px;max-height:900px}
#citysense .cs-start{min-width:0;width:min(420px,100%)}
#citysense .cs-overlay{grid-template-columns:minmax(0,1fr)}
#citysense .cs-place-info{max-width:260px;color:#17392f;font:14px/1.45 'Segoe UI',Arial,sans-serif}
#citysense .cs-place-info p{margin:7px 0;overflow-wrap:anywhere}
#cs-start-message{color:#a32d28;background:#fff1ef;border-left:3px solid #a32d28;padding:10px;margin:12px 0 0;font-size:14px;line-height:1.45;overflow-wrap:anywhere}
#citysense .cs-modes{display:flex;gap:4px;border:0;margin:0 0 16px;padding:0;min-width:0}
#citysense .cs-mode-legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#citysense .cs-modes label{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;background:#edf4ef;border:1px solid #c5d7cb;border-radius:5px;padding:10px 5px;min-height:44px;font-size:14px;font-weight:700;cursor:pointer}
#citysense .cs-modes label:has(input:checked){background:#176848;color:white;border-color:#176848}
#citysense .cs-modes input{margin:0;accent-color:#176848}
#citysense .cs-modes label{font-size:12px;gap:4px;line-height:1.3}
.cs-scoring-copy{font-size:14px;line-height:1.6}
.cs-scoring-copy p{margin:14px 0}
#cs-shared{font-size:14px;line-height:1.5;margin:12px 0;color:#214d3c}
.cs-other-game{display:inline-block;margin-top:10px;font-size:14px}
body.cs-playing{overflow:hidden!important}
body.cs-playing>header,body.cs-playing>footer,body.cs-playing #pb-chat-frame{display:none!important}
#citysense.cs-immersive{position:fixed;inset:0;z-index:100000;width:100%;max-width:none;height:100dvh;margin:0;padding:0;background:white;display:flex;flex-direction:column;overflow:hidden}
#citysense.cs-immersive>.cs-heading,#citysense.cs-immersive>.cs-rules{display:none}
.cs-game-bar{display:flex;align-items:center;justify-content:space-between;flex:none;padding:4px 12px;background:white;border-bottom:1px solid #d4dfd7}
.cs-game-bar strong{font-size:19px;font-weight:800}
.cs-game-brand{display:flex;align-items:center;gap:8px;min-width:0}
.cs-app-actions{display:flex;align-items:center;gap:6px}
.cs-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-shrink:0}
#citysense .cs-heading-actions>button{margin:0;flex-shrink:0}
@media(max-width:600px){
 #citysense .cs-heading{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin-bottom:12px}
 #citysense .cs-heading-actions{justify-content:flex-start;flex-wrap:wrap;gap:6px}
 #citysense .cs-heading-actions>button.cs-quiet{min-width:44px;min-height:44px;padding:10px;margin:0}
 #citysense .cs-heading-actions .cs-install-label{display:none}
 #citysense .cs-game-bar{gap:6px;flex-wrap:wrap;padding:4px 8px}
 #citysense .cs-game-brand{flex:1 1 auto}
 #citysense .cs-app-actions{flex:0 0 auto;margin-left:auto;gap:4px}
 #citysense .cs-app-actions>button{width:44px;height:44px;min-width:44px;min-height:44px;padding:10px}
}
#cs-install-help{font-size:15px;line-height:1.6;margin:16px 0}
.cs-heading{flex-wrap:wrap}
#citysense .cs-brand-logo{display:block;width:36px;height:36px;object-fit:contain;flex-shrink:0;align-self:center}
#citysense .cs-game-bar .cs-brand-logo{width:30px;height:30px}
#citysense .cs-game-bar button{padding:8px 12px;min-height:36px;margin:0}
#citysense.cs-immersive .cs-game{display:flex;flex-direction:column;flex:1;min-height:0}
#citysense.cs-immersive .cs-hud{position:relative;top:auto;flex:none}
#citysense.cs-immersive .cs-map-shell{height:auto;min-height:0;max-height:none;flex:1}
#citysense.cs-immersive #cs-message{min-height:0;margin:0;padding:4px 12px;font-size:12px;flex:none;max-height:12dvh;overflow:auto}
#citysense.cs-immersive #cs-message:empty{display:none}
#citysense.cs-immersive .cs-reveal{padding:8px 12px max(8px,env(safe-area-inset-bottom));flex:none;max-height:35dvh;overflow:auto;gap:6px}
#citysense.cs-immersive .cs-reveal h2{font-size:21px;margin:2px 0}
#citysense.cs-immersive .cs-reveal p{font-size:12px;line-height:1.4;margin:4px 0}
#citysense.cs-immersive .cs-complete .cs-map-shell{display:none}
#citysense.cs-immersive .cs-finish{flex:1;min-height:0;overflow:auto;padding:24px 16px max(24px,env(safe-area-inset-bottom));border:0}
#citysense .cs-share-dialog{width:440px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;margin:auto;padding:20px;border:1px solid #c5d7cb;border-radius:8px;background:white;color:#17392f;box-shadow:0 12px 45px #0003}
.cs-share-dialog::backdrop{background:#142b26aa}
.cs-share-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
#citysense .cs-share-heading button{margin:0}
#citysense .cs-share-heading h2{font:800 23px/1.2 'Segoe UI',Arial,sans-serif;margin:0;color:#17392f}
#cs-share-status{font-size:14px;line-height:1.5;margin:16px 0}
#cs-share-options label{font-size:13px}
#cs-share-url{width:100%;min-width:0;padding:10px;font-size:14px;margin:6px 0 14px}
.cs-share-links{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.cs-share-links a{display:flex;align-items:center;gap:7px;padding:10px;background:#edf4ef;border-radius:5px;color:#176848;font-size:14px;min-height:44px}
@media(max-width:600px){.cs-heading{flex-wrap:wrap}#citysense.cs-immersive .cs-hud{padding:6px 10px}#citysense.cs-immersive .cs-hud p{font-size:11px}#citysense.cs-immersive .cs-eyebrow{line-height:1.2}.cs-game-bar{padding-top:max(4px,env(safe-area-inset-top))}}
@media(max-width:600px){#citysense .cs-hud{padding:8px 10px;gap:8px}#citysense .cs-hud h2{font-size:16px}#citysense .cs-total{min-width:45px}#citysense .cs-eyebrow{font-size:10px}}
