/* birthday-stores-v1: one viewport with a single scrollable store list. */
.birthday-stores { margin: 0; color: #513632; background: #fbe4b7; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; }
.birthday-stores * { box-sizing: border-box; }
.birthday-stores .mobile-page {
  width: 100%; max-width: 560px; height: 100vh; height: 100dvh; min-height: 420px; margin: 0 auto;
  background: #fbe4b7 var(--stores-background) center top / cover no-repeat;
}
.birthday-stores .stores-content { display: flex; flex-direction: column; justify-content: center; flex: 1 1 auto; min-height: 0; width: 92%; margin: 0 auto; padding: clamp(12px, 2.5vh, 22px) 0; }
.stores-heading { flex: 0 0 auto; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; padding: 0 3px; }
.stores-heading h1 { flex: 0 0 auto; margin: 0; font-size: clamp(20px, 5.5vw, 24px); line-height: 1.4; letter-spacing: .04em; color: #743d3e; }
.store-summary { margin: 0; text-align: right; font-size: 11px; line-height: 1.5; color: #896351; overflow-wrap: anywhere; }
.store-results {
  flex: 0 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden;
  height: 58vh; height: min(58dvh, 520px);
  padding: 0 14px; border: 1px solid rgba(160, 101, 79, .22); border-radius: 18px;
  background: rgba(255, 252, 245, .97); -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain; scrollbar-width: thin; scrollbar-color: #c99988 transparent;
}
.store-results::-webkit-scrollbar { width: 4px; }
.store-results::-webkit-scrollbar-thumb { background: #c99988; border-radius: 4px; }
.store-list { list-style: none; margin: 0; padding: 0; }
.store-item { min-width: 0; padding: 13px 0; }
.store-item + .store-item { border-top: 1px solid #eee2d5; }
.store-item-heading { display: flex; align-items: baseline; gap: 8px; }
.store-name { flex: 1; min-width: 0; margin: 0; color: #593d38; font-size: 15px; line-height: 1.5; font-weight: 600; overflow-wrap: anywhere; }
.store-location { flex: 0 1 auto; max-width: 36%; padding: 2px 6px; border-radius: 5px; background: #f3e7e2; color: #985857; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.store-address { display: flex; align-items: flex-start; gap: 5px; margin: 6px 0 0; color: #8c7567; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.store-address svg { flex: 0 0 13px; width: 13px; height: 16px; margin-top: 1px; color: #ae7970; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.store-address span { min-width: 0; }
.store-empty { padding: 28px 8px; color: #927160; text-align: center; font-size: 13px; line-height: 1.8; }
.retry-button { display: block; margin: 0 auto 20px; min-height: 44px; padding: 0 24px; border: 1px solid #a76e65; border-radius: 999px; background: #fffcf5; color: #864b48; font: inherit; font-size: 14px; cursor: pointer; }
.birthday-stores [hidden] { display: none !important; }
.birthday-stores :is(button, .store-results):focus-visible { outline: 2px solid #a65e5d; outline-offset: 2px; }
.birthday-stores .page-footer-note { flex: 0 0 auto; width: 94%; margin: 0 auto; padding: 12px 0 max(12px, env(safe-area-inset-bottom, 0px)); text-align: center; font-size: clamp(8px, 2.25vw, 12px); line-height: 1.6; font-weight: 600; color: #6c5140; }
.birthday-stores .page-footer-note .global-footer-note__license { display: flex; flex-wrap: wrap; gap: 0 8px; margin-top: 4px; font-size: clamp(7px, 1.9vw, 9px); font-weight: 400; }
.birthday-stores .page-footer-note .global-footer-note__license img { width: 12px; height: 12px; }
@media (max-width: 360px) { .store-results { padding: 0 11px; } .store-name { font-size: 14px; } .store-item { padding: 11px 0; } }
@media (max-height: 600px) { .birthday-stores .stores-content { padding-block: 10px; } .stores-heading { margin-bottom: 8px; } .birthday-stores .page-footer-note { padding-top: 8px; padding-bottom: max(8px, env(safe-area-inset-bottom, 0px)); } }
