/* The storm course's bonus page, Where you live (/storm-course/where-you-live, Nov 9 2026). Loaded after course.css and
   storm.css on that page only. The cards use the storm card styles; this is the picker, the region boxes and the gate. */
/* The region map (Devan approved, Nov 9): not tappable; the buttons under it do the picking. On phones it's capped
   so the first buttons are one short scroll away. */
.rg-hero{margin-bottom:0;padding-bottom:0}
.rg-hero p{margin:0 0 4px}
.rg-map{margin:12px auto 10px;max-width:340px}
.rg-map img{display:block;width:100%;height:auto;border-radius:12px}
@media (max-width:559px){.rg-map{max-width:none;width:min(100%,240px)}}
.rg-pick{margin:0 0 8px}
.rg-pick ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
@media (min-width:640px){.rg-pick ul{grid-template-columns:repeat(3,minmax(0,1fr))}}
.rg-pick li{margin:0;min-width:0}
.rg-b{display:flex;align-items:center;gap:10px;min-height:52px;padding:9px 10px;box-sizing:border-box;height:100%;
  border:1.5px solid var(--line);border-radius:10px;background:var(--surface);color:var(--fg);text-decoration:none;line-height:1.2}
.rg-pick a.rg-b{margin-left:0;white-space:normal;font-weight:400;font-size:inherit}   /* not the site nav's links (learn.css nav a) */
.rg-b:hover{border-color:var(--ember)}
.rg-b b{font-size:15.5px;font-weight:600}
.rg-b .rg-c{font-size:13px;color:var(--muted);margin-left:auto}
.rg-b.on{border-color:var(--ember);background:var(--ember-soft);box-shadow:inset 0 0 0 1px var(--ember)}
.rg-b.soon b{color:var(--muted)}
.rg-sw{flex:none;width:22px;height:22px;border-radius:5px;display:inline-flex;align-items:center;justify-content:center}
.rg-sw svg{width:20px;height:16px}
.rg-sw-hills{background:#8a5a3c22}
.rg-sw-city{background:#2b2b2b18;color:#2b2b2b}
@media (prefers-color-scheme:dark){.rg-sw-hills{background:#e7c3a833}.rg-sw-city{background:#ffffff26;color:#e9ecef}}
.rg-mnote{margin:10px 0 0}
.rg-facts{margin:10px 0 0}
h2 .rg-sw{vertical-align:-3px;margin-right:8px}

.rgs{display:flex;flex-direction:column;gap:12px;margin:18px 0 26px}
.rg{border:1px solid var(--line);border-radius:14px;padding:14px 16px 6px;background:var(--surface)}
.rg h2{font-size:22px;margin:0 0 6px}
.rg .rg-s,.rg .rg-t{font-size:16px;line-height:1.45;margin:0 0 6px}
.rg .rg-t{padding-left:20px}
.rg .rg-t li{margin:2px 0}
.rg .rg-m{font-size:14px;color:var(--muted);margin:0 0 8px}
.rg .rg-go{margin:4px 0 10px}
.rg.soon{background:transparent}
/* The picked region comes first and opens up */
.rgs.picked .rg.on{order:-1;border:1.5px solid var(--ember);background:transparent;padding:16px 16px 10px}
.rgs.picked .rg:not(.on) .rg-t{display:none}
.rgs.picked .rg:not(.on){padding-bottom:4px}
.rg-slot:empty{display:none}
.rg-slot .start{margin:10px 0 6px}
.rg-lead p{font-size:15.5px;line-height:1.45;color:var(--muted);margin:4px 0 8px}
.rg-slot #lesson{margin-top:14px}
.rg-slot #lesson .slide{border-top:1px solid var(--line);padding-top:14px;margin-top:14px}
.rg-gate{margin:8px 0 10px}
.rg-gate .acct-why{margin:0 0 6px}
.rg-safe{margin:10px 0 0}
.rg-soon{font-size:16px;margin:6px 0}
.rg-end h2{font-size:24px;margin:16px 0 6px}
.rg-others{margin:10px 0 14px}
.rg-oh{font-weight:600;margin:0 0 4px}
.rg-others ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.rg-others a{display:inline-block;padding:7px 12px;border:1px solid var(--line);border-radius:999px;font-size:15px;text-decoration:none;color:var(--fg);background:var(--surface)}
.rg-others a span{color:var(--muted)}
.player .rg-end{padding-top:6px}
.rg-back{margin:22px 0 8px}
@media print{.rg-pick,.rg-go,.rg-gate,.rg-back{display:none!important}}
