.stories-modal{width:580px;padding:24px;display:flex;flex-direction:column;overflow:hidden;max-height:calc(100dvh - 40px - var(--safe-top) - var(--safe-bottom))}
.stories-modal h2{font-family:Arial,sans-serif;font-size:1.5rem;font-weight:700;letter-spacing:-.025em;margin:0 46px 16px 0;line-height:1.4}
#story-picker-content{min-height:0;display:flex;flex-direction:column;gap:14px}
.story-picker-list{list-style:none;padding:0;margin:0;overflow:auto;overscroll-behavior:contain;min-height:0;scrollbar-gutter:stable}
.story-picker-item{border-top:1px solid #294b3e26}
.story-picker-item:last-child{border-bottom:1px solid #294b3e26}
.story-picker-choice{display:block;text-align:left;width:100%;padding:13px 10px;border:0;border-radius:3px;background:transparent;color:#233b3b;line-height:1.4}
.story-picker-choice:hover,.story-picker-choice:focus-visible{background:#e7ece3}
.story-picker-choice:focus-visible{outline-offset:-3px;outline-color:#9a4c2c}
.story-picker-choice[aria-current=true]{background:#e7ece3;border-left:3px solid #b56b44;padding-left:7px}
.story-picker-heading{display:flex;align-items:baseline;justify-content:space-between;gap:14px}
.story-picker-name{font-size:1rem;font-weight:700;overflow-wrap:anywhere}
.story-picker-distance{flex-shrink:0;font-size:.875rem;font-variant-numeric:tabular-nums;color:#56645a;white-space:nowrap}
.story-picker-meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;font-size:.875rem;color:#667164;margin-top:3px}
.story-picker-current{font-weight:700;color:#365b47}
.story-picker-description{display:block;margin-top:5px;font-size:.875rem;color:#354c41;line-height:1.45;overflow-wrap:anywhere}
.story-picker-map{flex-shrink:0;align-self:stretch;font-size:.9375rem;min-height:44px}
.story-picker-empty{font-size:1rem;line-height:1.5;padding:16px 4px}
@media(max-width:700px){
  .stories-modal{padding:20px 14px;max-height:calc(100dvh - 24px - var(--safe-top) - var(--safe-bottom))}
  .stories-modal h2{font-size:1.375rem;margin:0 46px 13px 6px}
  .story-picker-heading{gap:10px}.story-picker-choice{padding:12px 8px}.story-picker-choice[aria-current=true]{padding-left:5px}
}
@media(orientation:landscape) and (max-height:560px){
  .stories-modal{padding:16px 20px;width:650px}
  .stories-modal h2{font-size:1.25rem;margin-bottom:10px}
  #story-picker-content{gap:10px}
  .story-picker-choice{padding-top:10px;padding-bottom:10px}
}
.stories-modal .close-modal{width:44px;height:44px;min-width:44px}
@media(orientation:landscape) and (max-height:560px){.stories-modal .close-modal{top:8px}}
