:root {
  color-scheme: light; --ink: #211c23; --paper: #faf9f7; --pink: #ff83c5;
  --berry: #9b165e; --blush: #ffedf6; --line: #dedad7; --soft: #635c62;
  font-family: "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
html { scroll-padding-bottom: 5rem; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select { cursor: pointer; }
a { color: inherit; }
button { background: white; border: 1px solid var(--line); border-radius: .65rem; }
button:hover, .action-nav a:hover, .card-actions a:hover { background: var(--blush); }
:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; }
svg { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.symbols, [hidden] { display: none !important; }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; background: white; z-index: 9; padding: .75rem; }
.mast { background: white; border-bottom: 1px solid var(--line); }
.wrap, .mast-inner, .guide-inner { max-width: 72rem; margin: auto; padding-inline: clamp(1.1rem, 4vw, 3rem); }
.mast-inner { display: flex; align-items: center; justify-content: space-between; min-height: 73px; }
.mast img { width: 185px; height: auto; display: block; }
.install { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .45rem .85rem; font-size: .9rem; font-weight: 650; }
.install .chevron { width: .8rem; height: .8rem; }
.install[aria-expanded=true] { background: var(--blush); border-color: #e6b9cf; }
.install[aria-expanded=true] .chevron { transform: rotate(180deg); }
.install-guide { background: #fff5fa; border-top: 1px solid #f2dce7; }
.guide-inner { padding-block: .65rem; font-size: .95rem; line-height: 1.45; }
.guide-inner svg { width: 1.05em; height: 1.05em; vertical-align: -.15em; }
.guide-inner strong { font-weight: 700; }
.guide-inner ol { margin: 0; padding-left: 1.45rem; }
.guide-inner li::marker { color: var(--berry); font-weight: 700; }
.guide-inner li + li { margin-top: .15rem; }
.guide-inner .guide-title { font-weight: 700; margin: 0 0 .25rem; }
.menu-hint { color: var(--soft); }
.finder { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0,.75fr); gap: 7%; align-items: center; margin: 2.7rem 0 1.8rem; }
.region { display: flex; align-items: center; gap: .35rem; font-size: .88rem; color: var(--soft); margin: 0 0 .8rem; }
.region svg { width: 1rem; height: 1rem; color: var(--berry); }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3 { text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 5.4vw, 4.65rem); line-height: 1.02; letter-spacing: -.07em; max-width: 10em; margin-bottom: 1.25rem; font-weight: 720; }
h1 em { color: var(--berry); font-family: Georgia, serif; font-weight: 400; }
.hero-photo { height: clamp(155px,16.5vw,210px); overflow: hidden; border-radius: 1.2rem .35rem 1.2rem .35rem; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.searchbox { display: flex; gap: .65rem; align-items: center; padding: .34rem .35rem .34rem 1rem; background: white; border: 1px solid #aba3a6; border-radius: .85rem; }
.searchbox:focus-within { outline: 2px solid var(--berry); outline-offset: 2px; }
.searchbox input { width: 100%; min-width: 0; border: 0; outline: 0; font-size: 1rem; background: transparent; }
.searchbox button, .primary, .invite-panel button { min-height: 44px; background: var(--pink); border: 0; padding: .65rem 1.1rem; font-weight: 700; }
.action-nav { display: flex; align-items: center; gap: .5rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.action-nav button, .action-nav a, .card-actions a, .card-actions button { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: .42rem; font-weight: 600; }
.action-nav button, .action-nav a { min-height: 44px; padding: .5rem .8rem; border: none; border-radius: .6rem; background: transparent; font-size: .94rem; }
.action-nav [aria-pressed=true] { background: var(--ink); color: white; }
.action-nav a { margin-left: auto; color: var(--berry); }
.list-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin: 1.6rem 0 1.15rem; }
.list-head h2, .invite-panel h2, dialog h2 { font-size: clamp(1.5rem, 2.7vw, 2.25rem); letter-spacing: -.045em; }
#count { color: var(--soft); margin-top: .25rem; font-size: .9rem; }
.select { max-width: 48%; }
select { max-width: 100%; color: var(--ink); min-height: 44px; border: 1px solid var(--line); border-radius: .65rem; background: white; padding: .55rem .6rem; font-size: .94rem; }
.card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; align-items: stretch; }
.index-card { display: flex; flex-direction: column; min-width: 0; padding: .65rem 1rem .4rem; border: 1px solid var(--line); border-top: 3px solid #efb0d1; border-radius: .35rem .35rem .85rem .85rem; background: white; box-shadow: 0 2px 0 rgba(36,24,29,.04); }
.card-top, .card-actions { display: flex; align-items: center; gap: .55rem; }
.card-top { display: grid; grid-template-columns: 3.625rem minmax(0,1fr) 2.5rem; align-items: start; gap: .7rem; margin: .3rem 0 .7rem; }
.card-title { align-self: center; min-width: 0; }
.card-visual { position: relative; isolation: isolate; display: grid; place-items: center; width: 3.625rem; height: 3.625rem; overflow: hidden; border-radius: .7rem; background: #f8eaf1; color: #85375e; }
.card-visual svg { width: 1.65rem; height: 1.65rem; stroke-width: 1.55; }
.card-visual img { position: absolute; inset: 0; width: 100%; height: 100%; background: white; }
.logo-tile { border: 1px solid #e8e3e3; }
.logo-tile img { padding: .18rem; object-fit: contain; }
.photo-tile img { object-fit: cover; object-position: center 29%; }
.index-card h3 a:focus-visible { outline-offset: 1px; }
.searchbox input::placeholder { color: #706970; opacity: 1; }
.index-label { color: var(--berry); font-size: .83rem; font-weight: 650; }
.heart { border: 0; border-radius: 50%; background: transparent; width: 44px; height: 44px; margin-right: -.42rem; display: grid; place-items: center; }
.heart[aria-pressed=true] { color: var(--berry); }
.heart[aria-pressed=true] svg { fill: currentColor; }
.index-card h3 { font-size: 1.43rem; line-height: 1.1; letter-spacing: -.035em; margin: .2rem 0 0; text-wrap: pretty; overflow-wrap: anywhere; }
.index-card h3 a { text-decoration: none; }
.index-card h3 a:hover { text-decoration: underline; }
.place, .description { font-size: .95rem; color: var(--soft); line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.index-card .place { -webkit-line-clamp: 1; margin-bottom: .16rem; }
.place svg { width: .9rem; height: .9rem; margin-right: .2rem; vertical-align: -.13em; }
.card-actions { margin-top: auto; padding-top: .35rem; gap: .15rem; flex-wrap: wrap; }
.card-actions a, .card-actions button { min-height: 44px; border: none; padding: .25rem .4rem; background: transparent; border-radius: .4rem; font-size: .88rem; }
.card-actions .contact { color: var(--berry); }
.card-actions button { margin-left: auto; }
.card-actions svg { width: 1rem; height: 1rem; }
.more { display: block; margin: 1.5rem auto; min-height: 44px; padding: .65rem 1rem; }
.empty { padding: 1.5rem; background: white; border: 1px solid var(--line); border-radius: 1rem; }
.empty p, .invite-panel p { color: var(--soft); line-height: 1.45; margin: .4rem 0; }
.empty button { min-height: 44px; padding: .55rem .8rem; margin-top: .5rem; }
.invite-panel { margin: 1.7rem 0 3rem; padding: 1.4rem; background: var(--blush); border-radius: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
dialog { color: var(--ink); border: 1px solid var(--line); border-radius: 1.2rem; width: min(32rem, calc(100% - 2rem)); padding: 1.5rem; }
dialog::backdrop { background: rgba(27,19,24,.44); }
dialog h2 { padding-right: 1.7rem; }
.close { position: absolute; top: .6rem; right: .6rem; width: 42px; height: 42px; border: 0; background: transparent; font-size: 1.7rem; }
#sheet-info { white-space: pre-line; line-height: 1.5; margin: .8rem 0; }
dialog label { display: block; font-size: .85rem; font-weight: 650; margin-bottom:.35rem; }
textarea { resize: vertical; width: 100%; border: 1px solid #c6bec1; border-radius: .6rem; padding: .7rem; line-height: 1.45; }
.sheet-actions { display: flex; gap: .55rem; flex-wrap: wrap; margin-top: .75rem; }
.sheet-actions button { padding: .6rem .85rem; min-height: 44px; }
#sheet-status { margin-top: .5rem; font-size: .88rem; }
@media (max-width: 850px) { .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 620px) {
  .mast-inner { min-height: 62px; } .mast img { width: 151px; }
  .finder { display: block; margin: 1.4rem 0 1rem; } .hero-photo { display: none; }
  h1 { max-width: none; font-size: clamp(2.45rem, 9.2vw, 3.4rem); margin-bottom: .95rem; }
  .region { margin-bottom: .55rem; } .searchbox { gap: .5rem; padding-left: .7rem; }
  .action-nav { position: fixed; z-index: 2; bottom: 0; left: 0; right: 0; justify-content: space-around; gap: 0; padding: .25rem .25rem calc(.25rem + env(safe-area-inset-bottom)); background: white; border: 0; border-top: 1px solid var(--line); }
  .action-nav button,.action-nav a { white-space: nowrap; flex: 1 1 0; margin: 0; flex-direction: column; gap: .15rem; padding: .35rem .2rem; font-size: .84rem; line-height: 1.15; min-height: 48px; text-align: center; }
  .action-nav [aria-pressed=true] { background: var(--blush); color: var(--berry); }
  .list-head { margin: .7rem 0 .65rem; }
  #result-heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  #count { margin: 0; font-weight: 650; color: var(--ink); }
  .select { max-width: 57%; } .select select { width: 100%; font-size: .9rem; }
  .directory { scroll-margin-bottom: 5rem; }
  .index-card h3 { font-size: 1.2rem; } .card-grid { grid-template-columns: 1fr; gap: .7rem; }
  .index-card { padding: .55rem .85rem .35rem; } .card-top { grid-template-columns: 3.25rem minmax(0,1fr) 2.25rem; gap: .6rem; } .card-visual { width: 3.25rem; height: 3.25rem; } .heart { justify-self: end; } .invite-panel { display: block; margin-bottom: calc(6.5rem + env(safe-area-inset-bottom)); } .invite-panel button { margin-top: .5rem; }
}

@media (max-width: 359px) {
  .mast img { width: 128px; }
  .install { white-space: nowrap; padding-inline: .6rem; }
  h1 { font-size: clamp(1.9rem, 9.65vw, 2.15rem); }
  .searchbox { gap: .4rem; }
  .searchbox button { padding-inline: .7rem; }
  .card-top { grid-template-columns: 2.8rem minmax(0,1fr) 1.9rem; gap: .5rem; }
  .card-visual { width: 2.8rem; height: 2.8rem; }
  .card-actions .share-detail { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
