/* Strawberry milk theme. The base stylesheet keeps the shared layout behavior. */
:root {
  --paper: #fff6f8;
  --paper-deep: #ffeaf1;
  --ink: #684450;
  --ink-light: #896675;
  --accent: #b74770;
  --line: #efd5df;
  --serif: "Noto Sans TC", sans-serif;
  --radius: 20px;
}
body {
  background-color: var(--paper);
  background-image: radial-gradient(#efcfdc 0.75px, transparent 0.75px);
  background-size: 20px 20px;
}
body::before { display: none; }
::selection { background: #f9c8db; color: #684450; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline-color: #b74770; border-radius: 8px; }
.site-header { padding-block: 23px; border-bottom: 1px dashed var(--line); }
.brand { gap: 12px; color: var(--accent); letter-spacing: .12em; }
.brand-monogram { display: grid; place-items: center; width: 43px; height: 43px; background: #ffe1eb; border-radius: 15px; font-size: 31px; padding-right: 3px; transform: rotate(-7deg); }
.header-link { background: white; border: 1px solid var(--line); border-radius: 30px; padding: 9px 16px; color: var(--accent); font-weight: 500; }
.header-link span { margin-left: 10px; }
.hero {
  grid-template-columns: 1.05fr 1fr;
  margin-top: 24px;
  padding: 38px 45px 0;
  border: 1px solid #f1ccd9;
  border-radius: 36px;
  background: linear-gradient(115deg, #ffedf3, #ffe1ec 70%, #ffeaf0);
  box-shadow: 0 8px 0 #f5dce688;
}
.eyebrow { color: var(--accent); font-weight: 600; letter-spacing: .17em; }
.hero .eyebrow { gap: 8px; font-size: 9px; }
.eyebrow-line { width: auto; height: auto; background: none; }
.eyebrow-line::before { content: "✿"; font-size: 18px; line-height: 1; }
h1, h2, h3 { font-weight: 700; }
h1 { color: #8c405e; font-size: clamp(42px, 4.9vw, 62px); line-height: 1.45; letter-spacing: -.025em; margin-bottom: 20px; }
h1 > span { letter-spacing: .02em; }
.title-dot { color: #d9779a; }
.hero-description { font-size: 17px; font-weight: 500; letter-spacing: .03em; }
.hero-note { font-size: 11px; max-width: 290px; line-height: 1.9; letter-spacing: .015em; }
.hero-art { height: 320px; margin: 0; color: #b74770; }
.cute-hero-illustration { display: block; position: absolute; width: 100%; height: 100%; object-fit: contain; inset: 0; }
.art-caption { top: -8px; right: 8%; font-size: 14px; color: #9f5672; transform: rotate(-5deg); z-index: 1; }
.round-stamp { width: auto; height: auto; border: 1px solid #f0b7ca; border-radius: 13px; padding: 7px 15px; bottom: 10px; right: 0; background: #fff9f2; color: #a54c6c; font-size: 14px; font-weight: 600; letter-spacing: .02em; box-shadow: 3px 3px 0 #eeb7ca55; transform: rotate(8deg); }
.round-stamp::after { display: none; }
.hero-footnote { margin-top: 20px; padding: 16px 0; border-top: 1px dashed #e5b5c7; border-bottom: 0; font-size: 10px; letter-spacing: .08em; color: #a15470; }
.hero-footnote > span:last-child { font-size: 10px; color: #8f6072; }
.collection { padding-top: 49px; }
.collection-heading h2 { font-size: 28px; letter-spacing: .02em; }
.collection-heading .eyebrow { font-size: 9px; margin-bottom: 8px; }
.collection-intro { font-size: 11px; }
.category-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; border: 0; margin-bottom: 22px; }
.category-tab { background: #fffdfd; border: 1px solid var(--line); border-radius: 18px; padding: 16px 9px; font-family: var(--sans); font-size: 13px; font-weight: 500; gap: 7px; box-shadow: 0 3px 0 #f6e3ea; transition: background .2s, transform .2s, box-shadow .2s; }
.category-tab:hover { background: #ffe8f0; transform: translateY(-2px); }
.category-tab.is-active { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 4px 0 #96385a; }
.tab-number { display: none; }
.category-tab::before { content: "♡"; font: 19px/1 Georgia, serif; }
.category-tab[data-category="restaurant"]::before { content: "♧"; }
.category-tab[data-category="cafe"]::before { content: "☕"; font-size: 16px; }
.category-tab[data-category="both"]::before { content: "✿"; font-size: 17px; }
.tab-count { background: #ffe9f1; color: #a6476a; border-radius: 20px; padding: 1px 6px; font: 10px/1.7 var(--sans); opacity: 1; }
.category-tab.is-active .tab-count { color: #fff; background: #ffffff26; }
.filter-form { background: #fffdfd; padding: 18px 23px 0; border: 1px solid var(--line); border-radius: 23px; box-shadow: 0 5px 18px #a6547110; }
.search-field { border-bottom-style: dashed; padding-bottom: 12px; }
.search-field input::placeholder { color: #947181; }
.search-field svg { stroke: #b0607f; }
.filter-fields { gap: 19px; padding: 16px 0 19px; }
.select-field > span { font-size: 10px; }
.select-field select, .sort-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23896075' stroke-width='1.5'/%3E%3C/svg%3E"); }
.select-field select { border-bottom: 0; }
.filter-chip { background: #ffe2ed; color: #934865; border-radius: 20px; margin-top: 12px; }
.result-toolbar { border-top: 0; padding: 23px 0; margin: 0; }
.result-toolbar p strong { font-family: var(--sans); font-weight: 600; color: var(--accent); }
.view-toggle { background: #fff; border-radius: 12px; padding: 3px; }
.view-toggle button { border-radius: 9px; padding: 7px 11px; }
.view-toggle .is-active { background: var(--accent); color: white; }
.restaurant-grid { gap: 25px; }
.restaurant-card { background: #fffdfd; border: 1px solid var(--line); border-radius: 24px; padding: 10px 10px 19px; box-shadow: 0 5px 0 #f4dfe8; transition: transform .2s, box-shadow .2s; }
.restaurant-card:hover { transform: translateY(-4px); box-shadow: 0 9px 0 #efd4e0; }
.card-visual { height: 175px; border-radius: 16px; margin-bottom: 17px; background: #ffe8f0; color: #ad5676; }
.restaurant-card:nth-child(3n+2) .card-visual { background: #fff0e7; }
.restaurant-card:nth-child(3n+3) .card-visual { background: #f4eaf6; }
.card-visual svg { width: 158px; height: 124px; opacity: 1; }
.card-index { font: 10px var(--sans); left: 12px; top: 12px; color: #956174; }
.card-kind-caption { font-size: 7px; letter-spacing: .08em; color: #946577; right: 10px; }
.status-mark { background: #ffffffd9; color: #a54c6c; border-radius: 30px; font-size: 9px; padding: 3px 9px; }
.status-mark.visited { background: #b74770; color: #fff; }
.card-meta, .card-title, .card-tags, .card-transport, .card-links { margin-left: 8px; margin-right: 8px; }
.card-meta { font-size: 10px; letter-spacing: .01em; gap: 5px; }
.card-pending { color: #987181; font-size: 8px; }
.card-title { font-size: 18px; font-weight: 600; }
.card-title button::after { font-size: 11px; }
.tag { border-color: #f0d4df; background: #fff2f7; color: #94526e; border-radius: 6px; padding: 2px 7px; font-size: 9px; }
.tag.offer { border-color: #f0ded1; background: #fff7ef; color: #926449; }
.tag.muted { color: #896675; }
.card-transport { font-size: 10px; }
.card-links { border-top: 1px dashed var(--line); padding-top: 12px; gap: 10px; }
.card-link { font-size: 9px; gap: 4px; }
.detail-link { font-size: 9px; color: #a64a70; }
.state-panel { background: #fffdfd; border: 1px dashed #e9b8cb; border-radius: 24px; }
.data-note { padding-inline: 8px; }
.site-footer { border-top: 1px dashed #dca4ba; padding-bottom: 35px; }
.footer-title { color: #a54c6c; font-size: 19px; font-weight: 600; }
.restaurant-dialog, .about-dialog { background: #fffafb; border: 1px solid #efc9d8; border-radius: 28px; box-shadow: 0 18px 80px #7b325226; }
.restaurant-dialog::backdrop, .about-dialog::backdrop { background: #74465769; backdrop-filter: blur(5px); }
.dialog-close { border-radius: 50%; background: #ffe8f0; color: #a34b6c; }
.detail-action { border-radius: 30px; background: var(--accent); color: #fff; }
.detail-action.secondary { background: #fff; color: #a34b6c; }
.verification-box { border-radius: 16px; background: #fff0f5; }
.detail-info .unverified { color: #9b5d77; }
.local-status { border-radius: 16px; background: #ffeaf2; }
.local-status button { border-radius: 20px; border-color: #b74770; color: #a3476a; }
.local-status button:hover { background: var(--accent); color: #fff; }
.toast { background: #a7476c; color: #fff; border-radius: 30px; box-shadow: 0 5px 25px #b7477026; }
.map-view { border-radius: 23px; overflow: hidden; background: #fff; }
.map-note, .unmapped-list { background: #fff0f5; }
#map { background: #f8e6ed; }
.map-marker { background: #b74770; border-color: #fff; box-shadow: 0 2px 7px #8d3a5c40; }
.map-marker span { color: #fff; }
.leaflet-popup-content-wrapper { border-radius: 17px; background: #fffafb; }
.leaflet-popup-tip { background: #fffafb; }
.map-popup-name { font-size: 14px; font-weight: 600; }

@media (min-width: 1500px) {
  .hero { padding-top: 48px; }
  .hero-art { height: 350px; }
  .hero-footnote { margin-top: 20px; }
}
@media (max-width: 1100px) {
  .hero { padding-inline: 30px; }
  .restaurant-grid { gap: 20px; }
  .card-meta { flex-wrap: wrap; gap: 1px 8px; }
  .card-links { flex-wrap: wrap; gap: 8px 12px; }
  .detail-link { font-size: 9px; }
}
@media (max-width: 760px) {
  .site-header { padding-block: 17px; }
  .brand { font-size: 8px; gap: 9px; }
  .brand-monogram { width: 35px; height: 35px; font-size: 26px; border-radius: 12px; }
  .header-link { font-size: 10px; padding: 7px 12px; }
  .hero { margin-top: 19px; padding: 31px 23px 0; border-radius: 28px; grid-template-columns: 1fr; text-align: center; }
  .hero .eyebrow { justify-content: center; font-size: 8px; margin-bottom: 14px; }
  .hero h1 { font-size: 42px; line-height: 1.4; margin-bottom: 16px; }
  .hero-description { font-size: 15px; white-space: normal; margin-bottom: 9px; }
  .hero-note { font-size: 10px; max-width: 270px; margin-inline: auto; }
  .hero-art { height: 235px; width: min(100%, 330px); margin: 15px auto 0; overflow: visible; }
  .art-caption { top: 3px; right: 2%; font-size: 11px; }
  .round-stamp { bottom: 4px; right: 4px; font-size: 11px; padding: 4px 11px; }
  .hero-footnote { margin-top: 17px; padding: 12px 0; gap: 8px; font-size: 8px; }
  .hero-footnote > span:last-child { font-size: 8px; }
  .collection { padding-top: 35px; }
  .collection-heading { margin-bottom: 20px; }
  .collection-heading h2 { font-size: 24px; }
  .category-tabs { gap: 8px; }
  .category-tab { flex-wrap: wrap; gap: 4px; font-size: 11px; padding: 12px 5px; border-radius: 15px; }
  .category-tab::before { width: 100%; font-size: 19px; line-height: 1.3; }
  .category-tab[data-category="cafe"]::before, .category-tab[data-category="both"]::before { font-size: 18px; }
  .tab-count { font-size: 9px; padding-inline: 5px; }
  .filter-form { padding: 13px 15px; border-radius: 19px; }
  .search-row { align-items: center; }
  .search-field { padding: 0; border-bottom: 0; gap: 8px; }
  .search-field input { font-size: 11px; padding: 5px 0; }
  .mobile-filter-toggle { padding: 7px 9px; background: #ffe8f0; border-radius: 10px; color: #a3476a; font-size: 10px; gap: 5px; }
  .mobile-filter-toggle svg { height: 14px; width: 14px; }
  .filter-fields { padding: 17px 0 2px; border-top: 1px dashed var(--line); margin-top: 13px; gap: 10px 20px; }
  .select-field select { font-size: 12px; }
  .result-toolbar { padding: 20px 1px; gap: 9px; }
  .result-controls { gap: 8px; }
  .view-toggle button { padding: 7px; }
  .restaurant-grid { gap: 22px 17px; }
  .restaurant-card { border-radius: 22px; padding: 9px 9px 18px; }
  .card-title { font-size: 18px; }
  .card-meta { font-size: 9px; }
  .card-pending { font-size: 8px; }
  .card-visual { height: 150px; }
  .card-visual svg { width: 145px; height: 114px; }
  .card-index { font-size: 9px; }
  .card-kind-caption { font-size: 6px; }
  .card-links { gap: 10px; }
  .site-footer { gap: 15px; }
  .footer-title { font-size: 16px; }
  .restaurant-dialog, .about-dialog { padding-inline: 24px; border-radius: 24px; }
}
@media (max-width: 600px) {
  .restaurant-grid { row-gap: 23px; }
  .card-visual { height: 185px; }
  .card-visual svg { width: 175px; height: 137px; }
  .card-kind-caption { font-size: 7px; }
  .card-title { font-size: 21px; }
  .card-meta { font-size: 10px; justify-content: space-between; }
  .card-pending { font-size: 9px; }
  .card-transport { font-size: 11px; }
  .card-links { gap: 13px; }
  .card-link, .detail-link { font-size: 10px; }
}
@media (max-width: 420px) {
  .hero-art { margin-left: auto; }
  .hero h1 { font-size: 39px; }
  .hero-footnote { font-size: 7px; }
  .hero-footnote > span:last-child { font-size: 7px; }
  .category-tabs { gap: 6px; }
  .category-tab { font-size: 10px; padding-inline: 3px; }
  .category-tab[data-category="both"] { column-gap: 3px; }
  .tab-count { font-size: 8px; padding-inline: 4px; }
  .result-toolbar p { font-size: 10px; }
  .result-controls { gap: 4px; }
  .sort-field select { min-width: 74px; font-size: 8px; }
}
