/* fonts are hosted with the site (Dosis and Inter, SIL Open Font License) so every page opens in the right font */
@font-face{font-family:Dosis;font-style:normal;font-weight:500;font-display:block;src:url(../fonts/dosis-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:Dosis;font-style:normal;font-weight:600;font-display:block;src:url(../fonts/dosis-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:Dosis;font-style:normal;font-weight:700;font-display:block;src:url(../fonts/dosis-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:Dosis;font-style:normal;font-weight:800;font-display:block;src:url(../fonts/dosis-latin-800-normal.woff2) format('woff2')}
@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:block;src:url(../fonts/inter-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:block;src:url(../fonts/inter-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:block;src:url(../fonts/inter-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:block;src:url(../fonts/inter-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:Inter;font-style:normal;font-weight:800;font-display:block;src:url(../fonts/inter-latin-800-normal.woff2) format('woff2')}
/* Busiest City — shared styles */
:root{--bg:#f6f4ef;--panel:#fff;--ink:#1f2a2e;--muted:#6b7478;--line:#e3e0d8;--accent:#1f6f5c;--ground:#ebe7dc;--brand:#296dda;--park:#cfe0c3;--water:#bcd3dc}
  *{box-sizing:border-box}
  body{margin:0;font-family:Inter,system-ui,sans-serif;background:var(--bg);color:var(--ink);font-size:14px}
  a{color:var(--accent)}
  .top{display:flex;align-items:center;gap:14px;padding:10px 24px;background:var(--brand)}
  .brand{font-weight:800;font-size:18px;letter-spacing:-.02em;color:var(--ink);text-decoration:none;display:flex;align-items:center;gap:8px}
  .brand i{display:inline-grid;grid-template-columns:repeat(2,7px);gap:2px}
  .brand i b{width:7px;height:7px;border-radius:1.5px;background:var(--ink)}
  .brand i b:nth-child(2){background:#e8683a}
  .nav{display:flex;gap:4px;flex-wrap:wrap;margin-left:auto}
  .nav a{font-size:13px;font-weight:600;text-decoration:none;color:#fff;padding:6px 10px;border-radius:8px}
  .nav a:hover{background:rgba(255,255,255,.15)}
  .nav a.on{background:#fff;color:var(--brand)}
  .hero{padding:44px 24px 20px;max-width:1100px;margin:0 auto}
  .hero h1{font-size:40px;letter-spacing:-.03em;margin:0 0 10px;font-weight:800}
  .hero p{font-size:16px;color:var(--muted);max-width:620px;margin:0}
  .cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;max-width:1100px;margin:0 auto;padding:16px 24px 40px}
  .ccard{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;text-decoration:none;color:var(--ink);display:flex;flex-direction:column}
  .ccard:hover{border-color:#c9c3b5}
  .ccard svg{display:block;width:100%;aspect-ratio:1/1;background:var(--ground)}
  .ccard div{padding:12px 14px 14px}
  .ccard h3{margin:0 0 2px;font-size:17px}
  .ccard small{color:var(--muted);font-size:12px}
  .ccard p{margin:6px 0 0;font-size:13px;color:var(--muted)}
  header.city{padding:18px 24px 10px;display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 14px}
  header.city h1{font-size:22px;margin:0;font-weight:800;letter-spacing:-.02em}
  .tag{font-size:12px;font-weight:600;padding:3px 8px;border-radius:999px;background:#fbe9c6;color:#7a4b00}
  .tag.real{background:#d6ecdf;color:#14583f}
  .sub{color:var(--muted);font-size:13px;width:100%}
  .wrap{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:16px;padding:0 24px 24px}
  @media (max-width:900px){.wrap{grid-template-columns:1fr;padding:0 12px 16px}header.city,.top{padding-left:12px;padding-right:12px}.hero h1{font-size:30px}}
  .card{background:#fff;border:1px solid var(--line);border-radius:12px}
  .controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;padding:12px 14px;border-bottom:1px solid var(--line)}
  .days{display:flex;gap:4px;flex-wrap:wrap}
  .days button,.btn{font:inherit;font-size:13px;border:1px solid var(--line);background:#fff;color:var(--ink);padding:6px 10px;border-radius:8px;cursor:pointer}
  .days button.on{background:var(--ink);color:#fff;border-color:var(--ink)}
  .hourbox{display:flex;align-items:center;gap:10px;flex:1;min-width:240px}
  .hourbox input{flex:1;accent-color:var(--accent)}
  .hourlabel{font-weight:700;font-variant-numeric:tabular-nums;min-width:56px}
  .mapbox{position:relative;width:100%;background:var(--ground);overflow:hidden}
  .mapbox svg,.mapbox canvas{position:absolute;inset:0;width:100%;height:100%}
  .mapbox canvas{pointer-events:none;mix-blend-mode:multiply}
  .legend{display:flex;align-items:center;gap:6px;padding:10px 14px;border-top:1px solid var(--line);font-size:12px;color:var(--muted);flex-wrap:wrap}
  .legend i{display:inline-block;width:22px;height:10px;border-radius:2px}
  .side{display:flex;flex-direction:column;gap:16px}
  .sec{padding:14px}
  .sec h2{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:0 0 10px;font-weight:600}
  .big{font-size:34px;font-weight:800;letter-spacing:-.02em}
  .big small{font-size:13px;color:var(--muted);font-weight:500;margin-left:6px}
  .bars{display:flex;align-items:flex-end;gap:2px;height:70px;margin-top:10px}
  .bars div{flex:1;background:#d9d5ca;border-radius:2px 2px 0 0;cursor:pointer;min-height:2px}
  .bars div.cur{background:var(--accent)}
  .axis{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-top:4px}
  ul.list{list-style:none;margin:0;padding:0;max-height:360px;overflow:auto}
  ul.list li{display:grid;grid-template-columns:22px 1fr 80px 28px;align-items:center;gap:8px;padding:6px 4px;border-bottom:1px solid #f0ede6;cursor:pointer}
  ul.list li:hover,ul.list li.sel{background:#f6f4ef}
  ul.list .nm{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .meter{height:8px;background:#efece4;border-radius:4px;overflow:hidden}
  .meter span{display:block;height:100%}
  .num{text-align:right;font-variant-numeric:tabular-nums;font-weight:600}
  .detail,.note{font-size:12.5px;color:var(--muted);line-height:1.5}
  .detail b{color:var(--ink)}
  .drop{border:2px dashed var(--line);border-radius:10px;padding:12px;text-align:center;color:var(--muted);font-size:13px}
  .drop.over{border-color:var(--accent);background:#eef6f2}
  .err{color:#a3262f;font-size:12px;margin-top:6px}
  .tip{position:absolute;pointer-events:none;background:var(--ink);color:#fff;font-size:12px;padding:6px 8px;border-radius:6px;transform:translate(-50%,-125%);white-space:nowrap;display:none;z-index:5}
  footer{padding:20px 24px 30px;color:var(--muted);font-size:12px;max-width:1100px;margin:0 auto}
  select{font:inherit;font-size:12px;border:1px solid var(--line);border-radius:6px;padding:3px 4px;background:#fff}

  .brand img{height:44px;width:auto;display:block}
  h1,.hero h1,header.city h1{font-family:Dosis,Inter,sans-serif}
  .hero h1{font-weight:800}
  .more{max-width:1100px;margin:0 auto;padding:0 24px 40px}
  .more .card{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);overflow:hidden}
  .more img{width:100%;height:100%;object-fit:cover;display:block}
  .more .txt{padding:22px}
  .more h2{font-family:Dosis,Inter,sans-serif;font-size:24px;margin:0 0 8px}
  .more p{color:var(--muted);margin:0 0 10px;line-height:1.55}
  @media (max-width:800px){.more .card{grid-template-columns:1fr}}
  .page{max-width:760px;margin:0 auto;padding:36px 24px 20px;line-height:1.6}
  .page h1{font-size:34px;margin:0 0 12px;letter-spacing:-.02em}
  .page h2{font-size:18px;margin:28px 0 8px}
  .page p,.page li{color:#3d4649}
  .page .email{font-size:20px;font-weight:700}
  footer{border-top:1px solid var(--line);max-width:none;margin-top:10px;background:#fff}
  footer .in{max-width:1100px;margin:0 auto;display:flex;flex-wrap:wrap;gap:10px 22px;align-items:center}
  footer .links a{margin-right:14px;font-weight:600;text-decoration:none}
  footer .credits{flex:1;min-width:260px}
  footer .credits a.i8credit{font-weight:700}
  .side .sidecredit{text-align:center;margin:2px 0 6px;font:600 13px/1.4 Dosis,system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.85)}
  .side .sidecredit a{color:#fff;text-decoration:underline;text-underline-offset:2px}
  footer img{height:28px;display:block}

  .bay{max-width:1100px;margin:0 auto;padding:8px 24px 40px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:20px;align-items:start}
  @media (max-width:860px){.bay{grid-template-columns:1fr;padding:8px 12px 30px}}
  .mapcard{overflow:hidden}
  .baymap{position:relative;background:#4b86e8}
  .baymap svg{display:block;width:100%;height:auto}
  .baymap .lbl{font-family:Dosis,Inter,sans-serif;font-weight:800;font-size:12px;fill:#1f2a2e;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-opacity:.85;stroke-linejoin:round}
  .baymap .lbl.on{font-size:15px;fill:#1f2a2e;stroke:#fff;stroke-width:4px}
  .baymap .place{cursor:pointer}
  .baymap a.place:hover circle{stroke:#1f2a2e}
  .baymap a.place:focus{outline:none}
  .baymap a.place:focus circle{stroke:#1f2a2e;stroke-width:5}
  .baytip{position:absolute;transform:translate(-50%,-130%);background:#1f2a2e;color:#fff;font-size:12px;padding:5px 8px;border-radius:6px;white-space:nowrap;pointer-events:none}
  .mapcard .legend .dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#1f2a2e;margin:0 4px 0 10px}
  .mapcard .legend .dot.on{background:#fff;border:3px solid #e8683a;width:13px;height:13px;margin-left:0}
  .baySide h2{font-family:Dosis,Inter,sans-serif;font-size:22px;margin:0 0 10px}
  .cards.two{grid-template-columns:repeat(2,minmax(0,1fr));padding:0;max-width:none;gap:12px}
  .cards.two .ccard p{display:none}
  .baySide .note{margin-top:14px;font-size:13.5px}

  .worth{max-width:none;padding:0 24px 28px}
  #worthAll{max-width:1100px;margin:0 auto;padding:0 24px 40px}
  .nearby-tag{display:inline-block;margin-left:8px;padding:1px 8px;border-radius:999px;background:#E7F0FF;color:#2F5FB3;font:700 11px/18px Dosis,system-ui,sans-serif;letter-spacing:.04em;text-transform:uppercase;vertical-align:middle}
  .nearby-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:8px}.nearby-row span{font-size:13px;color:#5b6573}
  .worth .place-card .nearby-row a.btn{margin-top:0;display:inline-block;color:#1b2430!important;background:#fff!important;text-decoration:none!important;font-weight:600}
  .worth .place-card small a{color:#2F5FB3!important;text-decoration:underline}
  .worth h2{font-family:Dosis,Inter,sans-serif;font-size:22px;margin:0 0 6px}
  .worthList{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px;margin-top:10px}
  .place-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
  .place-img{position:relative;aspect-ratio:16/10;background:#e7e3d8;overflow:hidden}
  .place-img img{width:100%;height:100%;object-fit:cover;display:block}
  .place-img.tile{display:flex;align-items:center;justify-content:center}
  .place-img .credit{position:absolute;right:6px;bottom:6px;background:rgba(31,42,46,.75);color:#fff;font-size:10px;padding:2px 6px;border-radius:4px}
  .place-body{padding:12px 14px 14px}
  .place-card h3{margin:0 0 4px;font-size:15px;display:flex;align-items:center;gap:6px}
  .place-card h3 .mini{display:inline-flex}
  .place-card p{margin:0 0 4px;font-size:13px;color:#3d4649;line-height:1.45}
  .place-card small{color:var(--muted);font-size:12px}
  .btn.small{font-size:12px;padding:4px 8px;margin-top:8px;display:block}
  .worth-town{margin-top:18px}
  .worth-town h3{font-size:16px;margin:0;display:flex;gap:10px;align-items:baseline}
  .worth-town h3 a{font-size:13px;font-weight:600;text-decoration:none}
  .worth-town h3 span{font-size:12px;color:var(--muted);font-weight:500}
  @media (max-width:900px){.worth{padding:0 12px 24px}#worthAll{padding:0 12px 30px}}

  /* boxes without borders */
  .card,.ccard,.place-card{border:none}
  .ccard:hover{border-color:transparent;box-shadow:0 0 0 2px var(--brand)}
  .ccard small.rent{display:block;margin-top:3px;color:var(--ink);font-weight:600}

  /* home: big map on the left, cards flow beside it and then full width underneath */
  .hero,#worthAll{max-width:1600px}
  .bay{display:flow-root;max-width:1600px;margin:0 auto;padding:8px 24px 40px}
  .bay .mapcard{float:left;width:min(52%,820px);margin:0 14px 14px 0}
  .bayhead{font-family:Dosis,Inter,sans-serif;font-size:22px;margin:0 0 12px;line-height:1.2}
  .cards.flow{display:block;padding:0;max-width:none}
  .cards.flow .ccard{display:inline-flex;vertical-align:top;width:224px;margin:0 14px 14px 0}
  .cards.flow .ccard p{display:none}
  .baynote{clear:both;margin:6px 0 0;font-size:13.5px}
  @media (max-width:760px){.bay{padding:8px 12px 30px}.bay .mapcard{float:none;width:100%;margin:0 0 18px}
    .cards.flow .ccard{width:calc(50% - 7px);margin:0 0 12px}.cards.flow .ccard:nth-child(odd){margin-right:14px}}

  .ccard{position:relative}
  .ccard .logo{position:absolute;top:10px;left:10px;height:46px;max-width:140px;object-fit:contain;background:#fff;border-radius:10px;padding:6px 8px;box-sizing:content-box}
  .citylogo{height:34px;max-width:120px;object-fit:contain;vertical-align:middle;margin-right:10px;background:#fff;border-radius:8px;padding:3px 6px}
  .worth-page h1{margin-top:0}

  /* cooler page background instead of beige */
  :root{--bg:#eef2f7;--line:#dfe5ee}
  /* Worth a visit: one column per town */
  .worthCols{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:22px;margin-top:14px;align-items:start}
  .worthStack{display:flex;flex-direction:column;gap:12px;margin-top:10px}
  .worth-town{margin-top:0}
  .worth-town h3{font-size:17px;margin:0;display:flex;gap:8px;align-items:center;flex-wrap:wrap;min-height:34px}
  .worth-town h3 img{height:28px;max-width:80px;object-fit:contain;background:#fff;border-radius:6px;padding:2px 5px}
  .worth-town h3 .soon{font-size:12px;color:var(--muted);font-weight:500}
  .worthStack .place-img{aspect-ratio:16/8}

  /* city cards: text area in the header blue */
  .ccard>div{background:var(--brand);color:#fff;flex:1}
  .ccard h3{color:#fff}
  .ccard small{color:rgba(255,255,255,.82)}
  .ccard small.rent{color:#fff}
  .ccard:hover{box-shadow:0 0 0 2px #1f2a2e}
  /* initials badge for towns without a logo file yet */
  .logo.initials{display:flex;align-items:center;justify-content:center;width:46px;font-family:Dosis,Inter,sans-serif;font-weight:800;font-size:20px;color:var(--brand);letter-spacing:.02em}
  .citylogo.initials{display:inline-flex;align-items:center;justify-content:center;height:34px;min-width:34px;font-family:Dosis,Inter,sans-serif;font-weight:800;font-size:16px;color:#fff;background:var(--brand);box-sizing:border-box}

  /* bigger logo, blue intro band, square-grid backdrop */
  .top{padding:14px 24px}
  .brand img{height:64px}
  body{background-color:var(--bg);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M28 0H0V28' fill='none' stroke='%23dbe3ee' stroke-width='1'/%3E%3C/svg%3E")}
  .top{background-color:var(--brand);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M28 0H0V28' fill='none' stroke='%233a7be3' stroke-width='1'/%3E%3C/svg%3E")}
  .brand img{width:auto}
  .hero{max-width:none;margin:0;padding:34px 24px 40px;background-color:var(--brand);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M28 0H0V28' fill='none' stroke='%233a7be3' stroke-width='1'/%3E%3C/svg%3E");color:#fff}
  .hero>*{max-width:1552px;margin-left:auto;margin-right:auto}
  .hero h1{color:#fff;font-size:44px}
  .hero p{color:rgba(255,255,255,.88);max-width:1552px}
  .bay{padding-top:24px}
  header.city{background:transparent}
  @media (max-width:760px){.brand img{height:48px}.hero h1{font-size:30px}}

  /* header: deeper blue, stays put while scrolling, separate from the intro band */
  .top{position:sticky;top:0;z-index:50;background-color:#1d4fb0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M28 0H0V28' fill='none' stroke='%232659bd' stroke-width='1'/%3E%3C/svg%3E");box-shadow:0 2px 0 rgba(0,0,0,.12)}
  .nav a.on{color:#1d4fb0}

  /* header back to the logo blue; no intro band on the home page */
  .top{background-color:var(--brand);background-image:none;box-shadow:0 1px 8px rgba(20,40,80,.18)}
  .nav a.on{color:var(--brand)}
  .bay{padding-top:22px}
  .pagehead{max-width:1600px;margin:0 auto;padding:30px 24px 6px}
  .pagehead h1{font-family:Dosis,Inter,sans-serif;font-size:36px;margin:0 0 6px}
  .pagehead p{color:var(--muted);margin:0;font-size:15px}
  .howto{width:100%;margin-top:6px}
  .howto summary{display:inline-flex;align-items:center;gap:6px;cursor:pointer;font-weight:700;color:var(--brand);font-size:14px;list-style:none;padding:6px 12px;background:#fff;border-radius:999px}
  .howto summary::-webkit-details-marker{display:none}
  .howto summary::before{content:"?";display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:var(--brand);color:#fff;font-size:12px}
  .howto[open] summary{background:var(--brand);color:#fff}
  .howto[open] summary::before{background:#fff;color:var(--brand)}
  .howto>div{background:#fff;border-radius:12px;padding:12px 16px;margin-top:8px;max-width:760px;font-size:13.5px;line-height:1.55;color:#3d4649}
  .howto p{margin:0 0 6px}

  .brand{gap:14px}
  .slogan{font-family:Dosis,Inter,sans-serif;font-weight:600;font-size:17px;color:rgba(255,255,255,.88);padding-left:14px;border-left:2px solid rgba(255,255,255,.35);white-space:nowrap}
  @media (max-width:860px){.slogan{display:none}}

  /* zoomable maps */
  .zoomwrap{position:absolute;inset:0;transform-origin:0 0;will-change:transform}
  .zoomwrap>svg,.zoomwrap>canvas{position:absolute;inset:0;width:100%;height:100%}
  .zoomwrap .tip{transform:translate(-50%,-125%) scale(var(--iz,1));transform-origin:50% 100%}
  .mapbox.zoomed{cursor:grab}.mapbox.dragging{cursor:grabbing}
  .zoomctl{position:absolute;right:12px;bottom:12px;display:flex;flex-direction:column;gap:6px;z-index:6}
  .zoomctl button{width:34px;height:34px;border:none;border-radius:8px;background:#fff;color:var(--ink);font-size:20px;font-weight:700;line-height:1;cursor:pointer;box-shadow:0 1px 4px rgba(20,40,80,.25)}
  .zoomctl button:hover{background:var(--brand);color:#fff}
  .zoomctl .rz{font-size:16px}
  .zoomhint{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:rgba(31,42,46,.82);color:#fff;font-size:14px;font-weight:600;padding:8px 14px;border-radius:8px;opacity:0;pointer-events:none;transition:opacity .2s;z-index:7}
  .zoomhint.show{opacity:1}
  .baymap .zoomctl{bottom:12px}
  .baymap{overflow:hidden}
  .baymap .zoomwrap{position:relative;inset:auto}
  .baymap .zoomwrap>svg{position:static;display:block;width:100%;height:auto}
  .baymap .zoomwrap .baytip{transform:translate(-50%,-130%) scale(var(--iz,1));transform-origin:50% 100%}

  /* page: mostly white, faint grid, so the cards stand out */
  :root{--bg:#ffffff}
  body{background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M28 0H0V28' fill='none' stroke='%23f0f3f8' stroke-width='1'/%3E%3C/svg%3E")}
  .ccard,.card,.place-card{box-shadow:0 0 0 1px #e3e8f0}
  .ccard:hover{box-shadow:0 0 0 2px #1f2a2e}
  /* city cards: logo + name together in the blue band on top, map below */
  .ccard>.chead{display:flex;align-items:center;gap:10px;padding:10px 12px;flex:0 0 auto}
  .ccard>.chead>div{padding:0;min-width:0}
  .ccard>.chead h3{font-size:16px;line-height:1.15;margin:0 0 1px}
  .ccard .logo{position:static;height:34px;width:auto;max-width:72px;padding:4px;border-radius:8px;flex:0 0 auto}
  .ccard .logo.initials{width:34px;height:34px;padding:4px;font-size:15px}
  .ccard>svg{flex:1 1 auto}
  .ccard>.chead{height:66px;box-sizing:border-box}
  .ccard>.chead h3,.ccard>.chead small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

  /* header: brand left, sections centered, downtown picker right */
  .top{display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
  .top .nav{justify-self:center;display:flex;gap:4px}
  .top .nav a{font-size:15px;padding:8px 14px}
  .top .jump{justify-self:end}
  .top .jump select{font:600 13px Inter,sans-serif;color:var(--brand);background:#fff;border:none;border-radius:8px;padding:8px 10px;cursor:pointer;max-width:190px}
  .top{grid-template-columns:minmax(max-content,1fr) auto minmax(max-content,1fr);column-gap:20px}
  .top .brand img{height:52px}
  .top .slogan{font-size:16px}
  .top .nav a{display:inline-flex;align-items:center;gap:7px}
  .navic{width:24px;height:24px;display:block}
  @media (max-width:1250px){.slogan{display:none}}
  .top .nav{margin-left:0}
  @media (max-width:980px){.top .nav a{font-size:14px;padding:7px 9px}.top .jump select{max-width:150px}}
  @media (max-width:820px){.top{grid-template-columns:1fr;justify-items:center;row-gap:6px;padding:10px 12px}.top .brand{align-items:center}.top .brand img{height:42px}.top .slogan{display:none}.top .jump{display:none}
    .top .nav{justify-content:center;flex-wrap:wrap}.top .nav a{font-size:13px;padding:6px 10px}}
  /* city page: section jump bar */
  .jumpbar{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 0}
  .jumpbar a{font-size:13px;font-weight:600;text-decoration:none;color:var(--brand);background:#e8f0fd;padding:6px 12px;border-radius:999px}
  .jumpbar a:hover{background:var(--brand);color:#fff}
  html{scroll-padding-top:96px;scroll-behavior:smooth}
  /* landmarks */
  .lmGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}
  .lmStack{display:flex;flex-direction:column;gap:10px}
  .lm-card{display:flex;gap:12px;align-items:flex-start;background:#fff;border-radius:12px;padding:12px;box-shadow:0 0 0 1px #e3e8f0}
  .lm-ic{flex:0 0 44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center}
  .lm-card h4{margin:0 0 3px;font-size:15px;line-height:1.25}
  .lm-card .yr{margin-left:8px;font-size:12px;font-weight:600;color:var(--muted);background:#f1f4f9;padding:1px 7px;border-radius:999px;vertical-align:1px}
  .lm-card p{margin:0;font-size:13px;color:var(--muted);line-height:1.45}
  /* history */
  .hist-town{padding:16px 18px}
  .hist-town h3{display:flex;align-items:center;gap:10px;margin:0 0 8px;font-size:18px}
  .hist-town h3 img{height:32px;max-width:70px;object-fit:contain}
  .hist-town h3 a{margin-left:auto;font-size:13px;font-weight:600;color:var(--brand);text-decoration:none}
  .known{margin:0 0 10px;font-weight:600;color:var(--brand)}
  .facts{display:flex;gap:10px;margin:0 0 10px}
  .facts span{background:#f1f4f9;border-radius:10px;padding:6px 12px;display:flex;flex-direction:column}
  .facts small{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
  .facts b{font-size:18px}
  .hist-body p{margin:0 0 10px;line-height:1.6;font-size:14px;max-width:760px}
  .timeline{list-style:none;margin:12px 0 0;padding:0 0 0 14px;border-left:3px solid #e3e8f0}
  .timeline li{position:relative;display:flex;gap:12px;padding:5px 0;font-size:13.5px}
  .timeline li::before{content:"";position:absolute;left:-21px;top:10px;width:11px;height:11px;border-radius:50%;background:var(--brand)}
  .timeline b{flex:0 0 42px;color:var(--brand)}
  .histGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(420px,1fr));gap:16px;align-items:start}
  @media (max-width:520px){.histGrid{grid-template-columns:1fr}}

  /* one font everywhere: Dosis, the slogan font */
  body,button,input,select,textarea,.top .jump select{font-family:Dosis,system-ui,sans-serif}
  body{font-size:15.5px;font-weight:500;letter-spacing:.01em}
  h1,h2,h3,h4,b,strong{font-weight:700}
  .ccard small,.lm-card p,.place-body p,.place-body small,.note,.sub,.hist-body p,.timeline li{font-size:14.5px}
  .top .nav a{font-size:16px;font-weight:700}
  svg text{font-family:Dosis,system-ui,sans-serif}

  /* street photos */
  .ccard .cphoto{position:relative;flex:1 1 auto;aspect-ratio:1/1;overflow:hidden;background:var(--ground)}
  .ccard .cphoto>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
  .ccard .cphoto .inset{position:absolute;right:8px;bottom:8px;width:34%;aspect-ratio:1/1;border-radius:8px;overflow:hidden;box-shadow:0 0 0 2px #fff,0 2px 6px rgba(0,0,0,.25)}
  .ccard .cphoto .inset svg{width:100%;height:100%;aspect-ratio:auto}
  .ccard .cphoto.nophoto>img{display:none}.ccard .cphoto.nophoto .inset{inset:0;width:auto;border-radius:0;box-shadow:none}
  .cityhero{position:relative;margin:0 0 4px;height:clamp(180px,24vw,320px);overflow:hidden;background:#dfe5ee}
  .cityhero img{width:100%;height:100%;object-fit:cover;display:block}
  .cityhero figcaption,.histphoto figcaption{position:absolute;right:8px;bottom:8px;font-size:11.5px;color:#fff;background:rgba(20,28,40,.62);padding:3px 8px;border-radius:6px}
  .cityhero figcaption a,.histphoto figcaption a{color:#fff}
  .histphoto{position:relative;margin:-16px -18px 12px;height:180px;overflow:hidden;border-radius:12px 12px 0 0}
  .histphoto img{width:100%;height:100%;object-fit:cover;display:block}

  /* home: left column = map + photo gallery */
  .bay .mapcol{float:left;width:min(52%,820px);margin:0 14px 14px 0}
  .bay .mapcol .mapcard{float:none;width:auto;margin:0}
  .scenehead{margin-top:20px}
  .mapcard .legend .ln{display:inline-block;width:18px;height:5px;border-radius:3px;margin:0 4px 1px 12px;vertical-align:middle}
  .ln.bart{background:#0099d8}.ln.caltrain{background:#e31837}
  .scenes{columns:3 160px;column-gap:8px}
  .scene{position:relative;display:block;margin:0 0 8px;break-inside:avoid;border-radius:10px;overflow:hidden;background:#e8edf4}
  .scene img{display:block;width:100%;height:auto}
  .scene .cap{position:absolute;left:0;right:0;bottom:0;padding:16px 8px 6px;color:#fff;font-weight:700;font-size:14px;background:rgba(20,28,40,.45)}
  .scene .cap small{display:block;font-weight:500;font-size:10.5px;opacity:.9}
  .scene .cap small a{color:#fff}
  .scene:hover img{transform:scale(1.03)}.scene img{transition:transform .25s}
  @media (max-width:760px){.bay .mapcol{float:none;width:100%;margin:0 0 18px}}
  /* landmarks with photos */
  .lm-card.has-photo{padding:0;overflow:hidden;flex-direction:column;gap:0}
  .lm-photo{position:relative;margin:0;width:100%;aspect-ratio:16/10;background:#e8edf4}
  .histphoto,.cityhero{margin-left:0;margin-right:0}
  .lm-photo figcaption,.cityhero figcaption,.histphoto figcaption{max-width:calc(100% - 16px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}
  .lm-photo img{width:100%;height:100%;object-fit:cover;display:block}
  .lm-photo .lm-ic{position:absolute;left:10px;bottom:-18px;flex:none;width:40px;height:40px;box-shadow:0 0 0 3px #fff}
  .lm-photo figcaption{position:absolute;right:6px;top:6px;font-size:10.5px;color:#fff;background:rgba(20,28,40,.6);padding:2px 6px;border-radius:5px}
  .lm-photo figcaption a{color:#fff}
  .lm-card.has-photo>div:last-child{padding:24px 14px 14px}
  .lmGrid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}
  .lmStack{gap:12px}
  .worth-town>h3 .tphoto{display:block}
  .town-banner{position:relative;height:120px;border-radius:12px;overflow:hidden;margin:0 0 10px;background:#e8edf4}
  .town-banner img{width:100%;height:100%;object-fit:cover;display:block}
  .town-banner span{position:absolute;left:12px;bottom:10px;color:#fff;font-weight:800;font-size:22px;text-shadow:0 1px 6px rgba(0,0,0,.5)}
  .histGrid .hist-town{box-shadow:0 0 0 1px #e3e8f0}
  .histphoto{height:200px;margin:-16px -18px 12px}
  .hist-town .known{font-size:16px}

  /* logo as text: bold Dosis wordmark + building icon; no divider before the slogan */
  .top .brand{flex-direction:row;align-items:center;gap:18px}
  .wordmark{display:inline-flex;align-items:center;gap:16px;font-family:Dosis,system-ui,sans-serif;font-weight:500;font-size:32px;line-height:1;color:#fff;letter-spacing:.005em;white-space:nowrap}
  .top .brand .wordmark img{width:52px;height:35px;display:block}
  .top .slogan{border-left:none;padding-left:0;font-weight:600}
  @media (max-width:820px){.wordmark{font-size:26px}.top .brand .wordmark img{width:43px;height:29px}}

  /* home: one grid; map, photos and heading are placed by fitHomeGrid(), cards pack into every free cell */
  .homegrid{display:grid;grid-auto-rows:2px;row-gap:0;column-gap:14px;grid-auto-flow:row dense;align-items:start}
  .homegrid>*{margin:0 0 14px!important}
  .homegrid .cards{display:contents}
  .homegrid .ccard{display:flex!important;width:auto!important;margin:0 0 14px!important;align-self:start}
  .homegrid .bayhead{margin-bottom:0}
  .homegrid .hg-map .bayhead,.homegrid .hg-scenes .bayhead{margin:0 0 12px}
  .homegrid .hg-head{padding-top:2px;margin-bottom:2px!important}
  .homegrid .mapcard{float:none;width:auto;margin:0}
  /* header: slogan sits on the logo's baseline */
  .top .brand{align-items:baseline}
  .bay{max-width:none!important}
  @media (max-width:760px){.homegrid .hg-scenes{order:1}.homegrid .scenes .scene:nth-child(n+7){display:none}.baynote{margin-top:0}}

  /* Inter for the site; the logo and slogan keep Dosis */
  body,body *{font-family:Inter,system-ui,sans-serif}
  body{font-size:14.5px;font-weight:400;letter-spacing:0}
  .ccard small,.lm-card p,.place-body p,.place-body small,.note,.sub,.hist-body p,.timeline li{font-size:13.5px}
  .top .nav a{font-size:15px;font-weight:600}
  .wordmark,.wordmark *,.slogan{font-family:Dosis,system-ui,sans-serif!important}
  h1,h2,.bayhead,.pagehead h1{letter-spacing:-.015em}
  footer .studiotoys img{height:40px;width:auto;display:block}

  /* header text uppercase; map labels keep Dosis; downtown menu matches the nav buttons */
  .top .nav a,.top .slogan,.top .jump select{text-transform:uppercase;letter-spacing:.04em}
  .top .nav a{font-size:14px;line-height:20px;padding:8px 14px}
  .top .jump select{font:600 14px/20px Inter,system-ui,sans-serif;height:36px;padding:8px 30px 8px 12px;box-sizing:border-box;border-radius:8px}
  .top .slogan{font-size:15px}
  svg text,.baymap .lbl{font-family:Dosis,system-ui,sans-serif!important}

  /* tagline: small spaced capitals in Inter, softer than the logo */
  .top .slogan{font-family:Inter,system-ui,sans-serif!important;font-size:11.5px;font-weight:600;letter-spacing:.14em;color:rgba(255,255,255,.78);padding-bottom:3px}
  .top .jump select{max-width:none;width:auto}

  /* uppercase logo, slogan, nav and headings; header uses the Dosis font */
  .wordmark{text-transform:uppercase;letter-spacing:.04em;font-size:29px;font-weight:700}
  .wordmark .wm-city{color:#FFC4B5}
  .top .nav a,.top .jump select,.top .slogan{font-family:Dosis,system-ui,sans-serif!important;text-transform:uppercase}
  .top .nav a{font-size:16px;font-weight:700;letter-spacing:.06em}
  .top .jump select{font-size:15px;font-weight:700;letter-spacing:.05em}
  .top .slogan{font-size:14px;font-weight:600;letter-spacing:.1em;color:rgba(255,255,255,.85);padding-bottom:1px}
  h1,h2,.bayhead,.pagehead h1,.worth h2{text-transform:uppercase;letter-spacing:.03em}

  /* downtown cards: big city logo, then the name, then the map across the bottom half */
  .ccard.v2{background:#fff;box-shadow:0 0 0 1px #e3e8f0;flex-direction:column}
  .ccard.v2>div{flex:none;padding:0;background:none;color:inherit}
  .ccard.v2 .clogo{height:128px;display:flex;align-items:center;justify-content:center;padding:14px 16px 6px;box-sizing:border-box;background:#fff}
  .ccard.v2 .clogo img{max-height:100%;max-width:88%;object-fit:contain;display:block}
  .ccard.v2 .clogo .initials{width:92px;height:92px;border-radius:50%;display:flex;align-items:center;justify-content:center;font:800 34px/1 Dosis,system-ui,sans-serif;color:#fff;background:var(--tint,var(--brand))}
  .ccard.v2 .cname{padding:8px 12px 10px;text-align:center;background:#fff;color:var(--ink)}
  .ccard.v2 .cname h3{margin:0;font-size:17px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .ccard.v2 .cname small{display:block;color:var(--muted);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .ccard.v2 .cname small.rent{color:var(--ink);font-weight:600}
  .ccard.v2 .cmap{aspect-ratio:2/1;overflow:hidden;border-top:3px solid var(--tint,var(--brand))}
  .ccard.v2 .cmap svg{width:100%;height:100%;aspect-ratio:auto;display:block}
  .ccard.v2 .cmap img.still3d{width:100%;height:100%;object-fit:cover;display:block;background:#FFF6EA}
  .ccard.v2:hover{box-shadow:0 0 0 2px var(--brand)}
  /* very wide: photos are their own full-height column on the left; the grid of map + cards takes the rest */
  .bay.wide{display:flex;gap:14px;align-items:flex-start}
  .bay.wide>.hg-scenes{flex:none;position:relative}
  .bay.wide>.hg-scenes .scenes{columns:2 150px}
  .bay.wide>.homegrid{flex:1;min-width:0}

  .bay.wide{flex-wrap:wrap}
  .bay.wide>.baynote{flex:0 0 100%;margin-top:0}
  /* tighter space under the header */
  .bay{padding-top:10px!important}
  .pagehead{padding-top:14px!important}
  .pagehead h1{margin-top:0}
  header.city{padding-top:12px!important}
  /* slogan centered against the logo */
  .top .brand{align-items:center!important}
  .top .slogan{padding:0!important;line-height:1}

  /* nav at least as large as the map's town labels */
  .top .nav a{font-size:19px;padding:7px 14px;line-height:22px}
  .top .jump select{font-size:17px;height:36px;line-height:20px}
  .top .jump select{line-height:20px!important;padding:6px 30px 10px 12px!important}   /* Dosis caps sit low: nudge the label up so it reads centered */
  .top .jump select option{font-family:Dosis,system-ui,sans-serif;font-weight:600;font-size:16px;letter-spacing:.03em;color:#1b2430}

  /* soft blue-gray page so white cards stand out without borders */
  :root{--bg:#e8edf5}
  body{background-color:#e8edf5!important;background-image:none!important}
  .ccard,.ccard.v2,.card,.place-card,.lm-card,.hist-town,.histGrid .hist-town{box-shadow:none!important;border:none!important}
  .ccard.v2:hover,.ccard:hover{box-shadow:0 0 0 2px var(--brand)!important}
  .scene{background:#d9e0eb}

  /* blue page, like the header; text on the page goes white, cards stay white with dark text */
  :root{--bg:#296dda}
  body{background-color:#296dda!important}
  .top{box-shadow:0 2px 0 rgba(0,0,0,.12)!important}
  main{color:#fff}
  main h1,main h2,main .bayhead,.pagehead h1,.pagehead p,header.city h1,header.city .sub,main .note,.baynote,.sub{color:#fff!important}
  main a:not(.ccard):not(.scene):not(.town-banner):not(.jumpbar a){color:#fff}
  .card,.ccard,.place-card,.lm-card,.hist-town,.mapcard,.side .card{color:var(--ink)}
  .card a,.place-card a,.lm-card a,.hist-town a,.mapcard a{color:var(--brand)}
  .worth-town>h3,.worth-town>h3 .tn{color:#fff}
  .worth-town>h3 a,.hist-town h3 a{color:#fff}
  .hist-town h3 a{color:var(--brand)}
  .jumpbar a{background:rgba(255,255,255,.16);color:#fff}
  .jumpbar a:hover{background:#fff;color:var(--brand)}
  details.howto summary{color:#fff}
  .scene{background:#3a7be3}
  .ccard.v2:hover,.ccard:hover{box-shadow:0 0 0 3px #fff!important}
  footer{background:#fff}

  .card h1,.card h2,.card h3,.card h4,.card .note,.card small,.side .card h2,.place-card h3,.lm-card h4,.hist-town h3,.hist-town h3 .tn,.hist-town .note{color:var(--ink)!important}
  .card .note,.card small{color:var(--muted)!important}
  details.howto summary{color:var(--brand)!important}
  details.howto[open]>div{color:var(--ink)}

  .top{box-shadow:none!important;border-bottom:none!important}
  .cityhero{display:none!important}

  /* nav and headings: same Dosis weight as the logo */
  .top .nav a,.top .jump select{font-weight:500!important}
  main h1,main h2,.bayhead,.pagehead h1,header.city h1,.worth h2{font-family:Dosis,system-ui,sans-serif!important;font-weight:500!important;letter-spacing:.04em}
  .bayhead{font-size:26px}
  .baymap.map-iso{background:#296dda}

  /* city maps: white style; the space around a zoomed-out map is page blue, not beige */
  .mapbox{background:#296dda!important;--ground:#ffffff;--street:#e4e8ef;--main-st:#d3dae4;--hwy:#c6cfdb;--hwy-dash:#ffffff;--bldg:#e7ebf1;--bldg-line:#cdd5e0;--park:#d9eed3;--water:#cde3f5}
  .mapcard .mapbox,.card .mapbox{border-radius:0 0 12px 12px}

  /* keep zoomed maps sharp: no bitmap caching of the zoom layer */
  .zoomwrap{will-change:auto!important}
  .place-img .i8disc{width:84px;height:84px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center}

  /* city page: the play bar is its own rounded box, with a gap before the map */
  .card:has(#mapbox){background:transparent!important;overflow:visible!important;border-radius:0!important}
  .card:has(#mapbox)>.controls{background:#fff;border-radius:12px;border-bottom:none!important;margin-bottom:10px}
  .card:has(#mapbox)>#mapbox{border-radius:12px;overflow:hidden}
  .card:has(#mapbox)>.legend{background:#fff;padding-left:14px;padding-right:14px}
  .card:has(#mapbox)>#mapbox+.legend{margin-top:10px;border-radius:12px 12px 0 0;padding-top:10px}
  .card:has(#mapbox)>.legend:last-child{border-radius:0 0 12px 12px;padding-bottom:12px}

  /* rounded map; Icons8 icons without circles */
  .zoomwrap{border-radius:12px;overflow:hidden}
  .lm-ic.i8{background:transparent!important;box-shadow:none!important}
  .lm-ic.i8 img{display:block;width:100%;height:100%;object-fit:contain}
  .lm-photo .lm-ic.i8{background:#fff!important;border-radius:10px;padding:4px;box-sizing:border-box}
  .place-img.i8tile{background:#eef2f8!important}
  .place-img .i8{display:block;width:72px;height:72px}
  .lm-card .lmgo{margin-top:8px}
  .lm-card .lmoff{display:block;margin-top:8px;color:var(--muted);font-size:12px}
  .lmpin text{font-family:Inter,system-ui,sans-serif!important}

  /* play bar: help + top-5 note as its first row */
  .controls{flex-wrap:wrap}
  .ctrl-top{flex:0 0 100%;display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:6px 16px;padding-bottom:10px;border-bottom:1px solid #edf0f4;margin-bottom:2px}
  .ctrl-top details.howto{margin:0;background:none!important;border:none!important;padding:0!important;box-shadow:none!important;flex:1 1 320px}
  .ctrl-top details.howto summary{color:var(--brand)!important;font-weight:600;cursor:pointer;padding:0;background:none!important}
  .ctrl-top details.howto>div{color:var(--ink);font-size:13.5px;padding-top:6px}
  .ctrl-top details.howto>div p{margin:4px 0}
  .topnote{font-size:13px;color:var(--muted);white-space:nowrap}
  .topnote i{font-style:normal;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:#1b7a4b;color:#fff;font-weight:800;font-size:11px}

  header.city .citylogo,#cName .citylogo{display:none!important}

  /* city sub-nav styled like the main nav */
  .jumpbar{gap:4px;margin:12px 0 0 -14px}
  .jumpbar a{background:none!important;color:#fff!important;font-family:Dosis,system-ui,sans-serif!important;font-weight:500;font-size:18px;text-transform:uppercase;letter-spacing:.06em;padding:7px 14px;border-radius:8px;line-height:22px}
  .jumpbar a:hover{background:#fff!important;color:var(--brand)!important}
  /* more room above the play bar */
  header.city+.wrap,.wrap{margin-top:22px}

  /* nav highlight: bold text instead of a white bubble */
  .top .nav a,.top .nav a.on,.top .nav a:hover,.jumpbar a,.jumpbar a:hover{background:none!important;color:#fff!important}
  .top .nav a.on,.jumpbar a.on{font-weight:500!important;text-shadow:none;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
  .top .nav a:hover,.jumpbar a:hover{text-shadow:.5px 0 0 #fff,-.5px 0 0 #fff,0 0 .5px #fff}

  .ctrl-top details.howto summary{font-family:Dosis,system-ui,sans-serif!important;font-weight:500!important;font-size:17px;text-transform:uppercase;letter-spacing:.05em}

  .wordmark .beta{margin-left:10px;font:700 11px/1 Inter,system-ui,sans-serif!important;letter-spacing:.12em;text-transform:uppercase;color:var(--brand);background:#fff;border-radius:999px;padding:4px 8px;align-self:center}
  header.city .sub,#subline{display:none!important}

  .top .nav{flex-wrap:nowrap!important;white-space:nowrap}
  .top .nav a{padding:7px 11px!important}
  @media (max-width:1480px){.top .slogan{display:none!important}}
  @media (max-width:1100px){.top .nav a{font-size:16px!important;padding:6px 8px!important}}
  header.city .jumpbar{margin-left:6px}

  /* plain map first: the day/hour controls and the top-5 note show once busyness is on */
  body:not(.busy-on) .controls .days,body:not(.busy-on) .controls .hourbox,body:not(.busy-on) .topnote{display:none!important}
  body:not(.busy-on) .ctrl-top{border-bottom:none;padding-bottom:0;margin-bottom:0}
  .busytoggle{font:500 16px/1 Dosis,system-ui,sans-serif;text-transform:uppercase;letter-spacing:.06em;background:var(--brand);color:#fff;border:none;border-radius:8px;padding:10px 16px;cursor:pointer;flex:none}
  .busytoggle:hover{background:#1d58b8}
  body.busy-on .busytoggle{background:#eef2f8;color:var(--brand)}
  .ctrl-top{align-items:center}

  body:not(.busy-on) .busyonly,body.busy-on .busyoff,body:not(.busy-on) #srcTag{display:none!important}
  body:not(.busy-on) .legend .scale,body:not(.busy-on) #list .meter,body:not(.busy-on) #list .num{display:none!important}

  /* wider side column so place names fit; names wrap instead of being cut off */
  .wrap{grid-template-columns:minmax(0,1fr) 410px}
  @media (max-width:900px){.wrap{grid-template-columns:1fr}}
  ul.list .nm{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.3}
  body:not(.busy-on) ul.list li{grid-template-columns:22px 1fr}

  /* legends use the logo face */
  .legend,.legend span,.baylegend,.baylegend span{font-family:Dosis,system-ui,sans-serif!important;font-weight:500;text-transform:uppercase;letter-spacing:.04em}

  /* landmarks and history pages stretch to the full window width */
  #lmAll .worthCols{grid-template-columns:repeat(auto-fit,minmax(270px,1fr))}
  .histGrid{grid-template-columns:repeat(auto-fit,minmax(420px,1fr))}
  #lmAll,#histAll{max-width:none}
  .pagehead{max-width:none!important}

  /* map toolbar: Map/Photo, Street View, Walking tour */
  .mapbox{position:relative}
  .maptools{position:absolute;left:12px;top:12px;z-index:7;display:flex;flex-wrap:wrap;gap:6px;align-items:center;max-width:calc(100% - 24px)}
  .maptools button{font:500 14px/1 Dosis,system-ui,sans-serif;text-transform:uppercase;letter-spacing:.05em;border:none;background:#fff;color:#1f2a2e;padding:8px 12px;cursor:pointer;box-shadow:0 1px 4px rgba(0,0,0,.18)}
  .maptools .seg{display:flex;border-radius:8px;overflow:hidden;box-shadow:0 1px 4px rgba(0,0,0,.18)}
  .maptools .seg button{box-shadow:none;border-radius:0}
  .maptools .tool{border-radius:8px}
  .maptools button.on{background:var(--brand);color:#fff}
  .maptools button:disabled{opacity:.45;cursor:not-allowed}
  .maptools .toolnote{background:#1f2a2e;color:#fff;font:600 13px/1.3 Inter,system-ui,sans-serif;padding:7px 10px;border-radius:8px}
  .mapbox.sv-mode,.mapbox.sv-mode *{cursor:crosshair!important}
  /* open now */
  body.open-on .controls .days,body.open-on .controls .hourbox{display:flex!important}
  body.open-on .ctrl-top{border-bottom:1px solid #eef1f6;padding-bottom:10px;margin-bottom:10px}
  .opentoggle{background:#0f766e}
  .opentoggle:hover{background:#0b5f58}
  body.open-on .opentoggle{background:#e6f4f2;color:#0f766e}
  .dx-hours{margin-top:8px;font-size:12.5px;line-height:1.45;color:#3a4650}
  .dx-hours .is-open{color:#15803d}.dx-hours .is-closed{color:#b91c1c}
  .dx-hours.muted{color:#8a96a3}
  .dx-links{display:flex;gap:12px;margin-top:8px}
  .dx-links a{font-weight:600;color:var(--brand)}
  /* layer checkboxes */
  .legend.layers{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;margin-top:8px}
  .legend.layers label{display:inline-flex;align-items:center;gap:5px;cursor:pointer;color:var(--ink)}
  .legend.layers .lyhead{color:var(--muted)}

  /* landmarks page: city bar first, then a short photo banner of the same height for every town; rounded cards */
  .town-banner{display:block;height:84px!important;margin:8px 0 10px!important;border-radius:14px!important}
  .town-banner span{display:none}
  .lm-card{border-radius:14px!important;overflow:hidden}
  .lm-card img,.lm-card .lmph{border-radius:0}

  .openkey{font:600 13px/1.4 Inter,system-ui,sans-serif;color:#3a4650;display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}
  .openkey i{display:inline-block;width:12px;height:12px;border-radius:3px;margin-left:6px}
  .openkey .ok-open{background:#fff;box-shadow:inset 0 0 0 3px #f5b301}
  .openkey .ok-closed{background:#cfd6df;opacity:.6}

  /* business profile panel */
  .profile-wrap{position:fixed;inset:0;z-index:100}
  .profile-back{position:absolute;inset:0;background:rgba(15,25,40,.35);opacity:0;transition:opacity .2s}
  .profile{position:absolute;top:0;right:0;bottom:0;width:min(440px,100%);background:#fff;color:var(--ink);overflow-y:auto;box-shadow:-8px 0 30px rgba(0,0,0,.2);transform:translateX(100%);transition:transform .25s ease}
  .profile-wrap.in .profile{transform:none}.profile-wrap.in .profile-back{opacity:1}
  body.pf-open{overflow:hidden}
  .pf-close{position:absolute;top:10px;right:10px;z-index:3;width:36px;height:36px;border-radius:50%;border:none;background:rgba(255,255,255,.92);font-size:24px;line-height:1;cursor:pointer;box-shadow:0 1px 4px rgba(0,0,0,.2)}
  .pf-hero{position:relative;height:210px;background:var(--c);display:flex;align-items:center;justify-content:center;overflow:hidden}
  .pf-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
  .pf-hero .pf-ic{position:relative;opacity:.95}
  .pf-hero img~.pf-ic{display:none}
  .pf-credit{position:absolute;right:8px;bottom:6px;background:rgba(0,0,0,.55);color:#fff;font-size:11px;padding:2px 6px;border-radius:4px}
  .pf-body{padding:16px 18px 28px}
  .pf-body h2{font:500 26px/1.15 Dosis,system-ui,sans-serif;text-transform:uppercase;letter-spacing:.03em;margin:0 0 4px;color:var(--ink)}
  .pf-body h3{font:500 15px/1.2 Dosis,system-ui,sans-serif;text-transform:uppercase;letter-spacing:.06em;margin:20px 0 8px;color:var(--ink)}
  .pf-sub{color:var(--muted);font-size:14px}
  .pf-status{margin-top:6px;font-weight:700;font-size:14px}.pf-status.is-open{color:#15803d}.pf-status.is-closed{color:#b91c1c}
  .pf-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 4px}
  .pf-btn{font:500 13px/1 Dosis,system-ui,sans-serif;text-transform:uppercase;letter-spacing:.05em;border:1.5px solid var(--brand);color:var(--brand)!important;background:#fff;border-radius:999px;padding:8px 13px;cursor:pointer;text-decoration:none}
  .pf-btn:hover{background:#eef3fc}
  .pf-desc{font-size:14.5px;line-height:1.5;margin:12px 0 0}
  .pf-info{list-style:none;padding:0;margin:14px 0 0;border-top:1px solid #eef1f6}
  .pf-info li{display:flex;gap:12px;padding:9px 0;border-bottom:1px solid #eef1f6;font-size:14px}
  .pf-info b{width:82px;flex:none;color:var(--muted);font-weight:600}
  .pf-info a{color:var(--brand)}
  .pf-hours{border-collapse:collapse;font-size:14px;width:100%}
  .pf-hours th{text-align:left;font-weight:600;width:60px;padding:3px 0;color:var(--muted)}
  .pf-hours td{padding:3px 0}
  .pf-hours tr.today th,.pf-hours tr.today td{color:var(--ink);font-weight:700}
  .pf-days{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:8px}
  .pf-days button{border:none;background:#f1f4f9;border-radius:6px;padding:5px 8px;font-size:12.5px;cursor:pointer}
  .pf-days button.on{background:var(--ink);color:#fff}
  .pf-chart{position:relative;height:110px;display:flex;align-items:flex-end;gap:3px;padding-bottom:18px}
  .pf-chart span{flex:1;border-radius:3px 3px 0 0}
  .pf-axis{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}
  .pf-axis i{font-style:normal}
  .pf-chips{display:flex;flex-wrap:wrap;gap:6px}
  .pf-chips span{background:#f1f4f9;border-radius:999px;padding:5px 10px;font-size:13px}
  .pf-near{list-style:none;padding:0;margin:0}
  .pf-near li{padding:7px 0;border-bottom:1px solid #eef1f6;display:flex;flex-direction:column}
  .pf-near button{background:none;border:none;padding:0;text-align:left;font:600 14.5px Inter,system-ui,sans-serif;color:var(--brand);cursor:pointer}
  .pf-near small{color:var(--muted);font-size:12.5px}
  .pf-muted{color:var(--muted);font-size:13px;margin:6px 0 0}
  .pf-src{color:var(--muted);font-size:12px;margin-top:22px}
  .pf-src a{color:var(--brand)}
  .pf-open-btn{margin-top:10px}
  @media (max-width:600px){.profile{top:auto;height:88vh;width:100%;border-radius:16px 16px 0 0;transform:translateY(100%)}}

  /* landmarks page: each town is one rounded card; the pieces inside are square and stacked */
  #lmAll .worth-town{background:#fff;border-radius:16px;overflow:hidden;color:var(--ink);align-self:start}
  #lmAll .worth-town>h3{padding:10px 14px;margin:0;min-height:0;color:var(--ink)!important}
  #lmAll .worth-town>h3,#lmAll .worth-town>h3 .tn,#lmAll .worth-town>h3 span{color:var(--ink)!important}
  #lmAll .worth-town>h3 a{color:var(--brand)!important}
  #lmAll .town-banner{border-radius:0!important;margin:0!important;height:96px!important}
  #lmAll .lmStack{gap:0!important}
  #lmAll .lm-card{border-radius:0!important;box-shadow:none!important;border-top:1px solid #eef1f6!important}
  #lmAll .lm-card.has-photo>div:first-child{border-radius:0}

  #lmAll .town-banner{display:none!important}   /* no town photo banner on the landmarks page */

  /* town name next to the logo: bigger and bolder (landmarks, worth a visit, history) */
  .worth-town>h3 .tn,.hist-town h3 .tn{font-size:18px!important;font-weight:800!important;letter-spacing:-.01em}
  /* landmarks page: masonry columns so cards stack tightly with no gaps */
  #lmAll .worthCols{display:block!important;columns:280px;column-gap:14px}
  #lmAll .worth-town{break-inside:avoid;display:block;margin:0 0 14px!important;width:100%}

  /* text pages (About, Feedback, 404): white text on the blue page */
  .page,.page p,.page li,.page h1,.page h2,.page h3{color:#fff!important}
  .page p,.page li{color:rgba(255,255,255,.92)!important}
  .page a{color:#fff!important;text-decoration:underline}
  /* keep the footer at the bottom of short pages */
  body{min-height:100vh;display:flex;flex-direction:column}
  body>main,body>.page{flex:1 0 auto}
  body>footer{margin-top:auto;align-self:stretch;width:100%;box-sizing:border-box}
  body>*{min-width:0}
  body>main,body>header,body>nav{align-self:stretch}

  /* nav hover: just the underline, no bold */
  .top .nav a:hover,.jumpbar a:hover{text-shadow:none!important;font-weight:500!important;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}

  /* profile opens beside the map like a maps listing: no dark cover on wide screens */
  @media (min-width:901px){.profile-back{background:transparent!important}}

  .pf-hero.has-photo .pf-ic{display:none}

  /* legend as a filter */
  .legend-filter>span{cursor:pointer;border-radius:999px;padding:3px 9px 3px 5px;margin-right:4px!important;transition:background .15s}
  .legend-filter>span:hover{background:#eef3fc}
  .legend-filter>span.on{background:var(--brand);color:#fff}
  .legend-filter>span.dim{opacity:.45}
  .legend-filter .lgc{font-style:normal;font-size:11px;opacity:.7;margin-left:2px}
  .typelist{margin-top:10px;padding:12px 14px}
  .tl-head{display:flex;align-items:baseline;gap:8px;margin-bottom:8px}
  .tl-head b{font:500 16px Dosis,system-ui,sans-serif;text-transform:uppercase;letter-spacing:.05em}
  .tl-head span{color:var(--muted);font-size:13px}
  .tl-clear{margin-left:auto;border:none;background:#f1f4f9;border-radius:999px;padding:5px 11px;font-size:12.5px;cursor:pointer}
  .typelist ul{list-style:none;margin:0;padding:0;columns:220px;column-gap:18px}
  .typelist li{break-inside:avoid;padding:5px 0;border-bottom:1px solid #f1f4f9;display:flex;flex-direction:column}
  .typelist li button{background:none;border:none;padding:0;text-align:left;font:600 14px Inter,system-ui,sans-serif;color:var(--brand);cursor:pointer}
  .typelist small{color:var(--muted);font-size:12px}
  .typelist em{font-style:normal;font-weight:600}.typelist .is-open{color:#15803d}.typelist .is-closed{color:#b91c1c}

  /* legend: bold labels, counts in a bubble */
  #iconLegend.legend-filter>span{font-weight:700!important;color:var(--ink)}
  #iconLegend.legend-filter .lgc{display:inline-block;min-width:22px;padding:2px 7px;margin-left:5px;border-radius:999px;background:#eef2f8;color:#3a4650;font:700 11.5px/1.3 Inter,system-ui,sans-serif;text-align:center;opacity:1}
  #iconLegend.legend-filter .lgc{color:#1f2a2e!important}
  #iconLegend.legend-filter>span.on .lgc{box-shadow:0 0 0 2px #fff}

  /* legend: labels + count pills centered on one line */
  #iconLegend.legend-filter>span:not([style*="none"]){display:inline-flex!important;}
  #iconLegend.legend-filter>span{align-items:center!important;line-height:1!important;vertical-align:middle}
  #iconLegend.legend-filter .lgc{display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box;height:20px!important;min-width:26px;width:auto!important;padding:0 8px!important;line-height:1!important;font:700 11.5px/1 Inter,system-ui,sans-serif!important;font-variant-numeric:tabular-nums;vertical-align:middle;position:static!important;top:auto!important;margin-top:0!important}
  #iconLegend.legend-filter .lgc:empty{display:none!important}

  /* ---------- phones: no sideways scrolling, compact header + nav ---------- */
  .histGrid{grid-template-columns:repeat(auto-fit,minmax(min(420px,100%),1fr))!important}
  img,svg,video,figure{max-width:100%}
  @media (max-width:640px){
    .top{padding:10px 8px!important}
    .top .brand{gap:10px!important}
    .wordmark{font-size:22px!important;gap:10px!important}
    .top .brand .wordmark img{width:37px!important;height:25px!important}
    .wordmark .beta{font-size:9.5px!important;padding:3px 7px!important;margin-left:6px!important}
    .top .nav{flex-wrap:nowrap!important;gap:0!important;max-width:100%}
    .top .nav a{font-size:13px!important;padding:6px 7px!important;gap:4px!important;letter-spacing:.02em!important;white-space:nowrap}
    .navic{width:16px!important;height:16px!important}
  }
  @media (max-width:420px){
    .navic{display:none!important}
    .top .nav a{font-size:13px!important;padding:6px 8px!important}
  }

  /* smooth load: hide the page body until the map script has drawn everything, and reserve the map's space */
  html.sd-wait main,html.sd-wait .wrap,html.sd-wait footer,html.sd-wait section{opacity:0}
  main,.wrap,footer,section{transition:opacity .2s ease}
  html.sd-wait #mapbox{aspect-ratio:1/1;max-height:calc(100svh - 110px);min-height:340px}
  /* map card spacing matches the gap between the side cards (16px) */
  .card:has(#mapbox)>#mapbox{margin:16px 0!important}
  /* side card titles all use the same face and size as "Places on this map" */
  .card.sec h2,.card.sec h2 span{font-family:Inter,system-ui,sans-serif!important;font-size:12px!important;font-weight:500!important}

  /* ---------- city page layout: map on the left, controls + categories on the right ---------- */
  .wrap{grid-template-columns:minmax(0,1fr) 360px!important;align-items:start}
  .card.mapcard{background:transparent!important;box-shadow:none!important;overflow:visible!important;border-radius:12px!important}
  .card.mapcard>#mapbox#mapbox{margin:0!important;border-radius:12px}
  .side .ctrlcard{padding:12px 14px!important}
  .side .ctrlcard .controls{padding:0!important;border:none!important;background:none!important;margin:0!important;display:flex;flex-direction:column;align-items:stretch;gap:10px}
  .side .ctrlcard .ctrl-top{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
  .side .ctrlcard .days{display:flex;flex-wrap:nowrap;gap:4px}
  .side .ctrlcard .days button{flex:1 1 0;min-width:0;padding-left:0!important;padding-right:0!important;text-align:center}
  .side .ctrlcard .hourbox{display:flex;flex-wrap:wrap;gap:8px;align-items:center;width:100%}
  .side .ctrlcard .hourbox input[type=range]{flex:1 1 140px;min-width:0}
  .side .legendcard .legend{border-top:none!important;padding:6px 0 0!important;background:none!important}
  #iconLegend.legend-filter{flex-direction:column;align-items:stretch;gap:2px;padding-top:4px!important}
  #iconLegend.legend-filter>span:not([style*="none"]){display:flex!important;width:100%;box-sizing:border-box;padding:7px 8px!important;margin:0!important;border-radius:8px;font-size:13px}
  #iconLegend.legend-filter>span .lgc{margin-left:auto!important}
  #iconLegend.legend-filter>span::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin:0 2px 3px 10px;opacity:.45;flex:none}
  #iconLegend.legend-filter>span.on::after{transform:rotate(-135deg);margin-bottom:-3px}
  #iconLegend.legend-filter>span.dim{opacity:.6}
  .catlist,.catlist *{text-transform:none!important;letter-spacing:normal!important}
  .catlist{margin:2px 0 8px 10px;padding:4px 0 4px 10px;border-left:3px solid #e3e9f3}
  .catlist ul{list-style:none;margin:0;padding:0;max-height:420px;overflow:auto}
  .catlist li{padding:5px 2px;border-bottom:1px solid #f0f2f6}
  .catlist li:last-child{border-bottom:none}
  .catlist li button{all:unset;cursor:pointer;display:flex;align-items:center;gap:6px;font:600 13px/1.3 Inter,system-ui,sans-serif;color:var(--ink)}
  .catlist li button:hover .nm{text-decoration:underline}
  .catlist li small{display:block;font:12px/1.4 Inter,system-ui,sans-serif;color:var(--muted);margin-top:1px}
  .catlist .rt{color:#b7791f;font-weight:600}
  .catlist .feat{display:inline-flex;align-items:center;justify-content:center;flex:none}
  .catlist .feat-visit{color:#f5b301;font-size:14px;line-height:1}
  .catlist .feat-lm{color:var(--brand)}
  .catlist .tl-clear{all:unset;cursor:pointer;font:600 12px Inter,system-ui,sans-serif;color:var(--brand);margin-top:6px;display:inline-block}
  .catlist .tl-clear:hover{text-decoration:underline}
  #layerRow{flex-wrap:wrap;gap:6px 12px!important;padding:10px 0 0!important;border-top:1px solid #eef1f5!important;margin-top:8px}
  .zoomhint{display:none!important}
  /* city subheader links (Busy map / Visit / Landmarks / History) sized like the top nav at every width */
  .jumpbar a{font-size:19px!important;padding:7px 14px!important;letter-spacing:.04em!important}
  @media (max-width:1100px){.jumpbar a{font-size:16px!important;padding:6px 8px!important}}
  @media (max-width:640px){.jumpbar{flex-wrap:nowrap!important;margin-left:0!important;gap:0!important}.jumpbar a{font-size:13px!important;padding:6px 7px!important;letter-spacing:.02em!important;white-space:nowrap}.wrap{margin-top:12px!important}}
  @media (max-width:900px){.wrap{grid-template-columns:1fr!important}}

  /* city map box: the space beside the map uses the map's own ground color instead of blue */
  .card.mapcard>#mapbox#mapbox{background:var(--ground,#fff)!important}

  /* ---------- desktop city page = app view: no page scrolling, only the right column scrolls ---------- */
  @media (min-width:901px){
    html.appview,html.appview body{height:100%;overflow:hidden}
    html.appview body{display:flex;flex-direction:column;height:100vh}
    html.appview main{flex:1;min-height:0;display:flex;flex-direction:column}
    html.appview header.city{padding-top:6px!important;padding-bottom:8px!important;display:flex;align-items:center;flex-wrap:wrap;gap:4px 18px}
    html.appview header.city h1{margin:0!important}
    html.appview header.city .jumpbar{margin:0!important}
    html.appview .wrap{flex:1;min-height:0;grid-template-rows:minmax(0,1fr);align-items:stretch!important;padding-bottom:16px!important}
    html.appview .card.mapcard{height:100%;min-height:0}
    html.appview .side{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:6px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.5) transparent}
    html.appview .side>section.worth{margin:10px 0 0!important;padding:0!important;max-width:none!important}
    html.appview .side>section.worth .worthList,html.appview .side>section.worth .worthCols,html.appview .side>section.worth .lmGrid{grid-template-columns:1fr!important}
    html.appview .side>footer{margin:16px 0 0;border-radius:12px;overflow:hidden}
    html.appview .side>footer .in{flex-direction:column!important;align-items:flex-start!important;gap:10px!important;padding:14px!important}
  }

  /* home downtown cards: same layout as before (logo, name, little map at the bottom) but shorter, with quick stats */
  .ccard.v2 .clogo{height:84px!important;padding:10px 12px 2px!important}
  .ccard.v2 .clogo .initials{width:64px!important;height:64px!important;font-size:24px!important}
  .ccard.v2 .cname{padding:6px 10px 8px!important}
  .ccard.v2 .cname h3{font-size:16px!important}
  .ccard.v2 .cstats{display:flex;justify-content:center;flex-wrap:wrap;gap:0 8px;margin-top:3px;font:11.5px/1.35 Inter,system-ui,sans-serif;color:var(--muted)}
  .ccard.v2 .cstats b{color:var(--ink);font-weight:700}
  .ccard.v2 .cmap{aspect-ratio:5/2!important}

  /* home Bay Area map legend: white text on the blue page */
  .hg-map .legend{color:#fff!important;font:600 13px/1.4 Inter,system-ui,sans-serif!important;background:transparent!important;border-top:none!important;padding:10px 2px 0!important;gap:6px 10px!important}
  .hg-map .legend .dot:not(.on){box-shadow:0 0 0 2px #fff}

  /* search box in "Places on this map" */
  .placesearch{margin:8px 0 6px}
  .placesearch .ps-row{display:flex;align-items:center;gap:8px;border:1.5px solid #dbe3ef;border-radius:10px;padding:0 10px;background:#fff;color:#7a8794}
  .placesearch .ps-row:focus-within{border-color:var(--brand);color:var(--brand)}
  .placesearch input{flex:1;min-width:0;border:none;outline:none;font:500 14px/1 Inter,system-ui,sans-serif;padding:10px 0;color:var(--ink);background:none;text-transform:none}
  .placesearch input::-webkit-search-cancel-button{display:none}
  .placesearch .ps-x{all:unset;cursor:pointer;font-size:20px;line-height:1;color:#7a8794;padding:0 2px}
  .placesearch .ps-results{margin-top:6px;font-family:Inter,system-ui,sans-serif;text-transform:none;letter-spacing:normal}
  .placesearch .ps-count,.placesearch .ps-more{font-size:12px;color:var(--muted);padding:2px 2px 4px}
  .placesearch ul{list-style:none;margin:0;padding:0}
  .placesearch li button{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;gap:8px;width:100%;padding:6px 4px;border-radius:6px;font:600 13px/1.3 Inter,system-ui,sans-serif;color:var(--ink)}
  .placesearch li button:hover{background:#f1f5fb}
  .placesearch li button small{margin-left:auto;font-weight:500;color:var(--muted);font-size:11.5px}
  .placesearch .ps-dot{width:26px;height:26px;border-radius:7px;flex:none;display:grid;place-items:center}.placesearch .ps-dot svg{display:block;overflow:visible}
  .clusterbadge text{pointer-events:none}

/* control card: two equal buttons edge to edge, smaller type to match the category labels */
.side .ctrlcard .ctrl-top{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;align-items:center}
.side .ctrlcard .ctrl-top>*{grid-column:1/-1;min-width:0}
.side .ctrlcard .ctrl-top>.busytoggle{grid-column:auto;width:100%;margin:0!important;font-size:14px;padding:9px 6px;text-align:center;white-space:nowrap}
.side .ctrlcard .ctrl-top details.howto summary{font-size:13px!important;font-weight:700!important;letter-spacing:.04em}
.side .ctrlcard .ctrl-top details.howto summary::before{width:16px;height:16px;font-size:11px}

/* best / quietest time lines */
.bq{display:flex;align-items:center;gap:7px;font-size:13.5px;margin:3px 0}
.bq i{width:10px;height:10px;border-radius:50%;flex:none}
.bq i.b-busy{background:#1b7a4b}.bq i.b-quiet{background:#b7e4c7;border:1px solid #74c69d}
.pf-best{margin:8px 0 2px}
/* booking menu in the place profile */
.pf-bookwrap{position:relative;display:inline-block}
.pf-btn.pf-primary{background:var(--brand);color:#fff!important}
.pf-btn.pf-primary:hover{background:#1d58b8}
.pf-book{position:absolute;left:0;top:calc(100% + 6px);z-index:20;min-width:240px;background:#fff;border-radius:12px;box-shadow:0 10px 30px rgba(20,30,50,.18);padding:6px;display:flex;flex-direction:column}
.pf-book[hidden]{display:none}
.pf-book a{display:block;padding:9px 12px;border-radius:8px;font:600 14px/1.3 Inter,system-ui,sans-serif;color:var(--ink)!important;text-decoration:none}
.pf-book a:hover{background:#f1f5fb}
.pf-book a.bk-site,.pf-book a.bk-call{color:var(--brand)!important}
.pf-book small{display:block;padding:6px 12px 4px;font-size:12px;color:var(--muted);border-top:1px solid #eef1f6;margin-top:4px}
/* do business here */
.bizbtns{display:grid;gap:8px;margin-top:8px}
.bizbtn{display:block;border:1.5px solid #dbe3ef;border-radius:10px;padding:10px 12px;text-decoration:none;color:var(--ink)!important}
.bizbtn:hover{border-color:var(--brand);background:#f6f9fe}
.bizbtn b{display:block;font:500 15px/1.2 Dosis,system-ui,sans-serif;text-transform:uppercase;letter-spacing:.05em;color:var(--brand)}
.bizbtn small{display:block;font-size:12.5px;color:var(--muted);margin-top:2px}

.pf-rating{font-size:14px;margin:4px 0 0;color:var(--ink)}.pf-rating b{color:#b7791f}.pf-rating span{color:var(--muted)}.pf-rating a{color:var(--brand)}

.livebox{display:flex;flex-direction:column;gap:4px}
.livebtn{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;border:1.5px solid #1b7a4b;color:#1b7a4b;border-radius:8px;padding:8px;font:500 14px/1 Dosis,system-ui,sans-serif;text-transform:uppercase;letter-spacing:.06em}
.livebtn i{width:9px;height:9px;border-radius:50%;background:#1b7a4b}
.livebtn.on{background:#1b7a4b;color:#fff}.livebtn.on i{background:#fff;animation:livepulse 1.4s infinite}
.livebtn:disabled{opacity:.6;cursor:wait}
@keyframes livepulse{50%{opacity:.25}}
.livenote{font-size:12px;color:var(--muted);text-align:center}

#srcTag.real{background:#d8f3dc!important;color:#1b4332!important}

/* photo loading circle */
.pf-spin{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;pointer-events:none;z-index:2}
.pf-spin i{width:36px;height:36px;border-radius:50%;border:4px solid rgba(255,255,255,.35);border-top-color:#fff;animation:pfspin .8s linear infinite}
.pf-spin small{font-size:12.5px;color:#fff;font-weight:600;text-shadow:0 1px 3px rgba(0,0,0,.35)}
.pf-hero.pf-loading .pf-ic{opacity:0!important}
@keyframes pfspin{to{transform:rotate(360deg)}}

/* home cards: stats always on two lines (people / size · year) so every card is the same height, even 4 across */
.ccard.v2 .cstats{gap:0 6px!important;font-size:11px!important}
.ccard.v2 .cstats span{white-space:nowrap}
.ccard.v2 .cstats span:first-child{flex-basis:100%}
.ccard.v2 .cname small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;max-width:100%}

.rentlive{margin-top:12px;padding-top:10px;border-top:1px solid #eef1f6;font-size:14px}
.rentlive .rl-row{display:flex;align-items:baseline;gap:8px;margin-top:6px}.rentlive .rl-row span{width:72px;color:var(--muted)}.rentlive .rl-row b{font-size:17px}.rentlive .rl-row small{color:var(--muted)}
.rentlive .rl-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:8px}.rentlive .rl-grid span{background:#f4f2fd;border-radius:8px;padding:6px 4px;text-align:center;font-size:12px;color:var(--muted)}.rentlive .rl-grid b{display:block;color:#3b2f63;font-size:14px}
.rentlive .rl-src{display:block;margin-top:8px;color:var(--muted);font-size:12px}

.catlist small .hp{color:#2a6f97;font-weight:700}
.catlist small .cheap{display:inline-block;background:#2a6f97;color:#fff;font-size:10.5px;font-weight:700;padding:1px 6px;border-radius:999px;vertical-align:1px}

#postsList .post{border-top:1px solid #eef1f6}
#postsList .post:first-child{border-top:none}
#postsList .post-head{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;gap:10px;width:100%;padding:9px 0}
#postsList .pfb{flex:none;font-size:11px;font-weight:700;color:#fff;padding:2px 7px;border-radius:999px}
#postsList .pfb.ig{background:#c13584}#postsList .pfb.tt{background:#111}
#postsList .post-t{flex:1;font-size:14px;line-height:1.3}#postsList .post-t small{display:block;color:var(--muted);font-size:12px}
#postsList .post-go{color:var(--brand);font-weight:600;font-size:13px}
#postsList .post-embed{padding:0 0 12px}
#postsList .post-open{display:inline-block;margin:0 0 10px;font-size:13px;color:var(--brand)}
#postsList .post-note{display:block;margin-top:8px;color:var(--muted);font-size:12px}

.homegrid.v2{display:grid!important;grid-auto-rows:auto!important;grid-auto-flow:row!important;gap:16px!important;align-items:start}
.homegrid.v2>*{margin:0!important}
.homegrid.v2 .hg-scenes{grid-area:side}.homegrid.v2 .hg-map{grid-area:map}.homegrid.v2 .hg-right{grid-area:right;min-width:0}
.homegrid.v2.lay3{grid-template-areas:"side map right";grid-template-columns:clamp(300px,22vw,360px) minmax(0,1fr) clamp(500px,30vw,640px)}
.homegrid.v2.lay2{grid-template-areas:"side map" "side right";grid-template-rows:auto 1fr;grid-template-columns:clamp(280px,30vw,340px) minmax(0,1fr)}
.homegrid.v2.lay1{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"map" "right" "side"}
.homegrid.v2 .cards{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.homegrid.v2.lay1 .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.homegrid.v2 .ccard{margin:0!important}
.homegrid.v2 .hg-head{margin:0 0 12px!important}
.homegrid.v2 #scenes{display:none!important}
.scene-posts{display:flex;flex-direction:column;gap:14px}
.scenes-more{max-width:none;margin:0;padding:0 24px 40px}
.scenes-cols{column-gap:16px}
.scenes-cols .scene-post{margin:0 0 14px}
#mapPosts{margin-top:16px!important}
.scene-post{break-inside:avoid;background:#fff;border-radius:12px;overflow:hidden;padding:10px}
.scene-post .sp-head{display:flex;align-items:center;gap:8px;text-decoration:none;color:#1b2430;margin:0 0 8px;font-size:14px}
.scene-post .sp-head b{color:#1b2430!important;font-weight:700}
.scene-post .sp-head small{color:#6b7686;font-size:12px;margin-left:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:50%}
.scene-post .pfb,#postsList .pfb{flex:none;font-size:11px;font-weight:700;color:#fff;padding:2px 7px;border-radius:999px}
.scene-post .pfb.ig{background:#c13584}.scene-post .pfb.tt{background:#111}
.scene-post iframe,#postsList iframe{display:block;width:100%;border:0;border-radius:8px;background:#f2f5f9}
.baynote-end{padding:0 24px 40px;margin:0}
@media (max-width:760px){.scenes-more{padding:0 12px 30px}.baynote-end{padding:0 12px 30px}}

.rentlive .rl-row b,.rentlive .rl-grid b{font:700 13px/1.3 Dosis,system-ui,sans-serif!important;letter-spacing:.04em;color:var(--ink)}   /* same size and weight as the map legend words (SHOPPING, CAFÉ...) */
.rentlive>b{font-family:Dosis,system-ui,sans-serif;font-weight:500}

.catlist .feat-promo{font:700 10px/1 Inter,system-ui,sans-serif;color:#fff;background:#7c3aed;border-radius:999px;padding:3px 6px;margin-left:2px}
.place-card.promo{position:relative;border:2px solid #7c3aed}
.place-card .promo-tag{position:absolute;top:8px;left:8px;z-index:2;font:700 11px/1 Inter,system-ui,sans-serif;color:#fff;background:#7c3aed;border-radius:999px;padding:4px 8px}
.place-card .promo-offer{margin:2px 0 6px!important;padding:6px 8px;border-radius:8px;background:#f3eefe;color:#4c1d95!important;font-weight:600}
.bizbtn.promo{border-color:#7c3aed!important}.bizbtn.promo b{color:#7c3aed}

/* Scenes cards: one clean 4:5 picture each, no platform clutter */
.pf-box{position:relative;width:100%;aspect-ratio:4/5;overflow:hidden;border-radius:10px;background:#e9eef5}
.pf-box iframe{display:block;width:100%!important;border:0!important;border-radius:0!important;background:transparent!important}
.scene-post{padding:8px!important}
.scene-post .sp-head{margin:2px 2px 8px!important;font-size:13px!important;min-width:0}
.scene-post .sp-head b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scene-post .sp-head small{font-size:11px!important}
.scene-post .pfb{font-size:10px!important;padding:2px 6px!important}

.sharecity{display:inline-flex;align-items:center;gap:6px;margin-left:10px;vertical-align:middle;background:#fff;color:#1b2430;border:0;border-radius:999px;padding:6px 12px;font:700 12px/1 Dosis,system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;cursor:pointer}
.sharecity:hover{background:#eef2f7}
.hotelscity,.hotelscity span{text-decoration:none!important;color:#1b2430!important}.hotelscity{margin-left:6px}
@media (max-width:900px){header.city .hotelscity{align-self:center;margin-top:0;margin-bottom:0;position:relative;top:1px}}

/* ranked downtown cards (Nomad List style): rank, overall score, four score bars */
.rankbar{margin:0 0 12px}
.rankbar .rb-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 6px}
.rankbar button{border:0;border-radius:999px;background:#fff;color:#1b2430;padding:6px 12px;font:700 13px/1 Dosis,system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;cursor:pointer}
@media (hover:hover){.rankbar button:hover{background:#eef2f7}}
.ccard.sd-hide,.homegrid .ccard.sd-hide{display:none!important}
.rankbar button.on{background:#1b2430;color:#fff}
.rankbar small{color:rgba(255,255,255,.85);font-size:12px;margin-left:4px}
.ccard.v2.scored{position:relative}
.ccard.v2 .srank{position:absolute;top:8px;left:8px;z-index:2;font:800 13px/1 Dosis,system-ui,sans-serif;color:#1b2430;background:#eef2f7;border-radius:999px;padding:4px 7px}
.ccard.v2 .sall{position:absolute;top:8px;right:8px;z-index:2;font:800 14px/1 Dosis,system-ui,sans-serif;color:#fff;border-radius:8px;padding:5px 6px}
.ccard.v2 .sbars{margin:8px 0 0;text-align:left;display:grid;gap:4px}
.ccard.v2 .sbar{display:flex;align-items:center;gap:6px}
.ccard.v2 .sbar span{flex:0 0 46px;font:700 11px/1 Dosis,system-ui,sans-serif;letter-spacing:.05em;text-transform:uppercase;color:#6b7686}
.ccard.v2 .sbar i{flex:1;height:7px;border-radius:99px;background:#e9eef5;overflow:hidden;display:block}
.ccard.v2 .sbar b{display:block;height:100%;border-radius:99px}
.ccard.v2 .sbars,.ccard.v2 .sbar{padding:0!important;background:none!important}
.ccard.v2 .sbars{margin-top:8px}
.ccard.v2 .sbar span{flex-basis:44px;font-size:10.5px}
.rankbar button{padding:6px 10px;font-size:12.5px}

.rankbar .howlink{color:#fff;font-size:12px;font-weight:700;text-decoration:underline;margin-left:6px}
.rankbar .howscores{background:#fff;color:#1b2430;border-radius:14px;padding:4px 18px;margin:4px 0 8px;font-size:14px;line-height:1.5}
.rankbar .howscores summary{cursor:pointer;font:700 14px/1 Dosis,system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;padding:10px 0}
.rankbar .howscores:not([open]){display:none}
.rankbar .howscores p,.rankbar .howscores ul{margin:0 0 10px}
.rankbar .howscores ul{padding-left:20px}
.rankbar .howscores li{margin:0 0 6px}
.rankbar .howscores a{color:#2F5FB3!important;text-decoration:underline}
.snone{position:absolute;top:8px;left:8px;z-index:2;font:700 11px/1 Dosis,system-ui,sans-serif;letter-spacing:.03em;text-transform:uppercase;color:#5b6573;background:#eef2f7;border-radius:999px;padding:4px 7px;white-space:nowrap}

.tag.soon{background:#fff3d6;color:#8a5a00}
.hoods h2{margin-bottom:4px}
.hoods .hoods-sub{margin:0 0 14px;color:inherit;opacity:.85}
.hood-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.hood{display:flex;flex-direction:column;gap:2px;background:#fff;color:#1b2430;border-radius:12px;padding:10px 12px;text-decoration:none;position:relative}
.hood:hover{background:#f5f8fc}
.hood b{font:800 15px/1.15 Dosis,system-ui,sans-serif;letter-spacing:.02em;color:#1b2430!important;display:block}
.hood.on b{padding-right:40px}
.hood small{font-size:12px;color:#5b6573!important;font-weight:600}
.hood span{font-size:13px;line-height:1.4;color:#334!important}
.hood.on{outline:3px solid #1b2430}
.hood em{position:absolute;top:8px;right:8px;font:700 10px/1 Dosis,system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;font-style:normal;background:#1b2430;color:#fff;border-radius:999px;padding:3px 7px}
.hood-back{display:inline-block;font:700 13px/1 Dosis,system-ui,sans-serif;letter-spacing:.04em;color:inherit;opacity:.85;text-decoration:none;margin-bottom:4px}
.hood-back:hover{opacity:1;text-decoration:underline}

.busytoggle.soon{opacity:.6;cursor:default}

#cName .hood-crumb{color:inherit;opacity:.7;text-decoration:none;font-size:.72em;margin-right:.35em;white-space:nowrap}
#cName .hood-crumb span{margin-left:.3em}
#cName .hood-crumb:hover{opacity:1;text-decoration:underline}

.hood-grid.short .hood:nth-child(n+9):not(.on){display:none}
.hood-more{margin-top:8px;width:100%;border:0;border-radius:999px;background:#fff;color:#1b2430;padding:8px 12px;font:700 13px/1 Dosis,system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;cursor:pointer}
.hood-more:hover{background:#eef2f7}

.hood .hscore{position:absolute;bottom:8px;right:8px;font:800 12px/1 Dosis,system-ui,sans-serif;font-style:normal;color:#fff;border-radius:6px;padding:3px 5px}
.hood.on .hscore{bottom:8px}
.hood small{padding-right:30px}
.hood-sort{display:flex;gap:6px;margin:0 0 8px}
.hood-sort button{border:0;border-radius:999px;background:#fff;color:#1b2430;padding:5px 11px;font:700 12px/1 Dosis,system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;cursor:pointer}
.hood-sort button.on{background:#1b2430;color:#fff}
.hood-score{background:#fff;color:#1b2430;border-radius:12px;padding:10px 12px;margin:0 0 10px}
.hood-score .hs-top{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.hood-score .hs-top .sall{position:static}
.hood-score .hs-top b{font:800 14px/1.2 Dosis,system-ui,sans-serif;letter-spacing:.03em}
.hood-score small{display:block;font-size:11px;color:#5b6573;margin-top:4px}
.hood-score .sbars{display:grid;gap:5px;margin:2px 0 0}
.hood-score .sbar{display:flex;align-items:center;gap:8px}
.hood-score .sbar span{flex:0 0 52px;font:700 11px/1 Dosis,system-ui,sans-serif;letter-spacing:.05em;text-transform:uppercase;color:#6b7686}
.hood-score .sbar i{flex:1;height:8px;border-radius:99px;background:#e9eef5;overflow:hidden;display:block}
.hood-score .sbar b{display:block;height:100%;border-radius:99px}
.hood-score .hs-top .sall{border-radius:8px;padding:5px 6px;font:800 14px/1 Dosis,system-ui,sans-serif;color:#fff}
.hood-score small a{color:#2F5FB3;text-decoration:underline}

/* wide screens: map and rankings side by side, scenes in one grid underneath */
.homegrid.v2.lay3{grid-template-areas:"map right"!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
.homegrid.v2.lay3 .hg-scenes{display:none!important}
.homegrid.v2 .cards.capped{overflow:hidden}
.ranks-more{display:block;margin:14px auto 0;padding:10px 18px;border:0;border-radius:999px;background:#fff;color:#1d4fae;font:700 14px/1 Inter,system-ui,sans-serif;cursor:pointer}
.ranks-more:hover{background:#eef3fc}
.scenes-head{margin:0;padding:0 24px 12px}
/* map key sits in the empty top-right corner of the map on wider screens */
@media (min-width:1000px){
  .hg-map .mapcard{position:relative}
  .hg-map .legend{position:absolute;top:14px;right:14px;flex-direction:column;align-items:flex-start;background:#fff!important;color:#1f2a2e!important;border-radius:10px;padding:10px 14px!important;font-size:12px!important;display:grid!important;grid-template-columns:auto 1fr;gap:6px 8px!important;box-shadow:0 1px 3px rgba(0,0,0,.12)}
  .hg-map .legend .dot:not(.on){box-shadow:none}
}

/* a little more breathing room in the downtowns column */
.homegrid.v2 .hg-right .hg-head{margin:0 0 16px!important}
.homegrid.v2 .hg-right .rankbar{margin:0 0 20px}
.homegrid.v2 .hg-right .rankbar .rb-row{gap:8px;margin:0 0 10px}
.homegrid.v2 .hg-right .cards{gap:18px!important}

/* downtown cards: short street-map strip on top with the town name on a band, logo below */
.ccard.v2 .cmap{order:-1;height:104px;aspect-ratio:auto!important;border-top:0!important;border-bottom:0!important}
.ccard.v2 .cname h3,.ccard.v2 .cname>small{position:absolute;left:0;right:0;z-index:2;background:rgba(16,24,40,.6);color:#fff!important;text-align:center;padding:0 10px;margin:0}
.ccard.v2 .cname h3{top:52px;height:30px;line-height:34px;font:700 20px/34px Dosis,system-ui,sans-serif!important;letter-spacing:.02em}
.ccard.v2 .cname>small{top:82px;height:22px;line-height:18px;font-size:12px!important;color:#E3E9F2!important}
.ccard.v2 .clogo{height:78px!important;padding:12px 12px 4px!important;border-top:3px solid var(--tint,var(--brand))}
.ccard.v2 .cname{padding:6px 12px 12px!important}

/* home page: "Right now" bar */
.nowbar{margin:0 0 22px}
.nowbar .nb-head{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 14px;margin:0 0 12px}
.nowbar .nb-head .bayhead{margin:0}
.nowbar .nb-head b{color:#fff;font:600 15px/1.2 Inter,system-ui,sans-serif}
.nowbar .nb-head small{color:#DCE8FA;font-size:13px}
.nowbar .nb-row{display:flex;gap:14px;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:thin}
.nb-card{flex:1 0 190px;max-width:260px;background:#fff;color:#1b2430;border-radius:12px;padding:13px 14px 12px;text-decoration:none;display:flex;flex-direction:column;gap:6px}
.nb-card:hover{box-shadow:0 0 0 3px #fff}
.nowbar .nb-card b{font:700 16px/1.2 Inter,system-ui,sans-serif;color:#1b2430}
.nowbar .nb-card small{color:#5b6472;font-size:12.5px;margin-top:-4px}
.nowbar .nb-card em{font-style:normal;color:#5b6472;font-size:12px;margin-top:auto}
.nb-pill{align-self:flex-start;font:700 11px/1 Inter,system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;border-radius:999px;padding:5px 9px}
.nb-busy{background:#FDE2DC;color:#A8301A}
.nb-quiet{background:#DDF5E6;color:#17663A}
.nb-rise{background:#FFF1CC;color:#7A5000}
.nb-bars{display:flex;align-items:flex-end;gap:3px;height:30px;margin-top:2px}
.nb-bars i{flex:1;background:#C9D6EA;border-radius:2px}
.nb-bars i.on{background:#296dda}

/* town pages: scorecard */
.scorecard .sc-rows{display:flex;flex-direction:column;gap:8px;margin-top:6px;background:#fff;border-radius:12px;padding:12px 12px 10px}
.sc-row{display:grid;grid-template-columns:20px 100px minmax(0,1fr);align-items:center;gap:8px;cursor:default}
.sc-ic{font-size:16px;line-height:1;text-align:center}
.sc-lb{font:600 15px/1.15 Dosis,system-ui,sans-serif;letter-spacing:.02em;color:var(--ink,#1b2430)}
.sc-bar{position:relative;height:28px;border-radius:999px;background:#d5dce6;overflow:hidden;display:block}
.sc-bar i{position:absolute;left:0;top:0;bottom:0;border-radius:999px}
.sc-bar b{position:relative;display:block;padding:0 10px;line-height:28px;color:#fff;font:700 14.5px/28px Dosis,system-ui,sans-serif;letter-spacing:.02em;text-shadow:0 1px 2px rgba(0,0,0,.35);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scorecard .sc-note{display:block;margin-top:10px;font-size:12px;color:#DCE8FA}
.scorecard .sc-note a{color:#fff}
.hoods .hood-score{display:none}
/* vibes, encampment and crime layers */
.aurakey{background:#fff;border-radius:12px;padding:10px 12px;margin:8px 0;display:flex;flex-direction:column;gap:8px;font:14px/1.35 Inter,system-ui,sans-serif;color:#1b2430}
.aurakey b{font-family:Dosis,Inter,sans-serif;font-weight:700;margin-right:6px}
.aurakey .ak-note{display:block;color:#5b6472;font-size:12.5px;margin-top:3px}
.ak-sw{display:inline-block;width:12px;height:12px;border-radius:50%;vertical-align:-1px;margin-right:5px}
.ak-vibes{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.ak-vibes .ak-note{flex-basis:100%}
.ak-vibes button{font:700 13px/1 Dosis,Inter,sans-serif;text-transform:uppercase;letter-spacing:.04em;border:2px solid var(--vc);background:#fff;color:#1b2430;border-radius:999px;padding:5px 10px;cursor:pointer;display:inline-flex;align-items:center;gap:4px}
.ak-vibes button i{width:9px;height:9px;border-radius:50%;background:var(--vc)}
.ak-vibes button small{color:#5b6472;font-weight:700}
.ak-vibes button.on{background:var(--vc);color:#fff}.ak-vibes button.on small{color:#fff}
.vibebar .vb-card{flex-basis:210px}
.vb-card ol{margin:2px 0 0;padding-left:20px;font:600 14px/1.5 Dosis,Inter,sans-serif}
.vb-card ol a{color:#1b2430;text-decoration:none}.vb-card ol a:hover{color:var(--vc);text-decoration:underline}
.vb-card ol em{font-style:normal;color:#5b6472;font-size:12px;margin:0}
.nowbar.vibebar .vb-card ol li{display:flex;justify-content:space-between;gap:8px}
.page .nowbar.vibebar .vb-card ol a,.page .nowbar.vibebar .vb-card ol a:visited{color:#1b2430!important;text-decoration:none;display:inline}
.page .nowbar.vibebar .vb-card ol a:hover{color:var(--vc)!important;text-decoration:underline}
.nowbar.vibebar .vb-card ol em{margin:0;color:#5b6472}
/* live temperature */
.ccard{position:relative}
.ccard .ctemp{position:absolute;top:8px;left:42px;z-index:3;background:#fff;color:var(--tc);font:700 13px/1 Dosis,Inter,sans-serif;padding:4px 8px;border-radius:999px;box-shadow:0 1px 3px rgba(0,0,0,.18)}
.htemp{display:inline-flex;align-items:center;gap:5px;background:#fff;color:#1b2430;font:600 15px/1 Dosis,Inter,sans-serif;padding:6px 12px;border-radius:999px;margin:6px 8px 6px 0;vertical-align:middle}
.htemp b{color:var(--tc);font-weight:800}
/* home: vibe filter chips */
.vibefilter{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 12px}
.vibefilter .vf-lb{font:700 13px/1 Dosis,Inter,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#DCE8FA;margin-right:2px}
.vibefilter button{font:700 14px/1 Dosis,Inter,sans-serif;text-transform:uppercase;letter-spacing:.04em;border:2px solid var(--vc,#fff);background:#fff;color:#1b2430;border-radius:999px;padding:6px 11px;cursor:pointer}
.vibefilter button.on{background:var(--vc,#1b2430);border-color:var(--vc,#1b2430);color:#fff}
.vibefilter button[data-v=""].on{background:#1b2430;border-color:#fff}
.ccard .cvibe{position:absolute;top:8px;right:8px;z-index:3;background:var(--vc);color:#fff;font:700 13px/1 Dosis,Inter,sans-serif;padding:5px 9px;border-radius:999px}
/* nature spots on the Bay map */
.baymap .nat{cursor:pointer}
.baymap .nat text:first-child{transition:transform .15s;transform-box:fill-box;transform-origin:center}
.baymap .nat:hover text:first-child{transform:scale(1.3)}
.baymap .natlbl{font-family:Dosis,Inter,sans-serif;font-weight:700;fill:#3d5a32;paint-order:stroke;stroke:#fff;stroke-opacity:.85;stroke-linejoin:round;letter-spacing:.03em}
.baymap .natdeco{pointer-events:none;opacity:.85}
.baytip small{opacity:.75}
/* station cards */
.stationcard{position:absolute;z-index:30;width:240px;background:#fff;color:#1b2430;border-radius:12px;padding:12px 14px;box-shadow:0 6px 20px rgba(0,0,0,.22);border-top:5px solid var(--oc);display:flex;flex-direction:column;gap:3px;font:14px/1.35 Inter,system-ui,sans-serif}
.stationcard .sc-op{align-self:flex-start;background:var(--oc);color:#fff;font:800 11px/1 Dosis,Inter,sans-serif;letter-spacing:.08em;text-transform:uppercase;border-radius:999px;padding:4px 8px}
.stationcard b{font:700 17px/1.2 Dosis,Inter,sans-serif;margin-top:4px}
.stationcard small{color:#5b6472;font-size:12.5px}
.stationcard .sc-links{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.stationcard .sc-links a{font:700 12.5px/1 Dosis,Inter,sans-serif;text-transform:uppercase;letter-spacing:.04em;text-decoration:none;color:var(--oc);border:2px solid var(--oc);border-radius:999px;padding:5px 9px}
.page .stationcard .sc-links a{color:var(--oc)!important;text-decoration:none}
.stationcard .sc-links a:first-child{background:var(--oc);color:#fff!important}
.stationcard .sc-x{position:absolute;top:6px;right:8px;border:0;background:none;font-size:20px;line-height:1;color:#5b6472;cursor:pointer}
