/* Public site. Mobile first: phones get the app layout, desktop widens it. */

.site { background: var(--color-bg); }

.site-main { min-height: 70vh; }

.page-pad { padding: 0 var(--space-4); max-width: 1180px; margin: 0 auto; }

@media (min-width: 900px) {
    .page-pad { padding: 0 var(--space-8); }
    .tabbar--site { display: none; }
}

/* ---------------------------------------------------------------------
   Top bar
   --------------------------------------------------------------------- */

.site-top {
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--color-glass);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
    padding-top: var(--safe-top);
}

.site-top__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    max-width: 1180px;
    margin: 0 auto;
    padding: var(--space-3) var(--space-4);
}

.site-top__brand { display: inline-flex; align-items: center; gap: var(--space-2); text-decoration: none; }

.site-top__links { display: none; gap: var(--space-1); }
.site-top__link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 var(--space-4);
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    color: var(--color-text-muted);
}
.site-top__link:hover { color: var(--color-text); background: var(--color-surface-soft); }
.site-top__link.is-active { color: var(--color-text); background: var(--color-accent-soft); }

@media (min-width: 900px) {
    .site-top__links { display: flex; }
    .site-top__inner { padding: var(--space-4) var(--space-8); }
}

/* ---------------------------------------------------------------------
   Sections and rails
   --------------------------------------------------------------------- */

.section { margin-top: var(--space-8); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-4); }
.section__title { font-size: var(--text-xl); font-weight: 800; letter-spacing: -0.02em; }
.section__link { font-weight: 600; font-size: var(--text-sm); color: var(--color-text-muted); text-decoration: none; white-space: nowrap; }
.section__link:hover { color: var(--color-text); }

@media (min-width: 900px) { .section { margin-top: var(--space-12); } }

/* Horizontal swipe rail. Bleeds to the screen edge on phones. */
.rail {
    display: grid;
    grid-auto-flow: column;
    gap: var(--space-3);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--space-4);
    padding: var(--space-1) var(--space-4) var(--space-4);
    margin: 0 calc(var(--space-4) * -1);
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

.rail--dishes { grid-auto-columns: 78%; }
.rail--spots { grid-auto-columns: 72%; }

@media (min-width: 600px) {
    .rail--dishes { grid-auto-columns: 44%; }
    .rail--spots { grid-auto-columns: 40%; }
}

@media (min-width: 900px) {
    .rail { margin: 0 calc(var(--space-8) * -1); padding-left: var(--space-8); padding-right: var(--space-8); scroll-padding: 0 var(--space-8); gap: var(--space-5); }
    .rail--dishes { grid-auto-columns: calc((100% - var(--space-5) * 2) / 3.2); }
    .rail--spots { grid-auto-columns: calc((100% - var(--space-5) * 3) / 4.2); }
}

/* Scrollable chip row */
.chip-row {
    display: flex;
    gap: var(--space-2);
    overflow-x: auto;
    scrollbar-width: none;
    padding: var(--space-1) var(--space-4);
    margin: 0 calc(var(--space-4) * -1);
}
.chip-row::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .chip-row { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; } }

.pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    min-height: 40px;
    padding: 0 var(--space-4);
    border-radius: var(--radius-pill);
    background: var(--color-surface-soft);
    color: var(--color-text);
    font-weight: 600;
    font-size: var(--text-sm);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s ease, transform 0.1s ease;
}
.pill:hover { background: var(--color-surface-raised); }
.pill:active { transform: scale(0.96); }
.pill.is-on { background: var(--color-primary); color: var(--color-on-primary); }
.pill .material-symbols-rounded { font-size: 18px; }
.pill__sep { width: 1px; background: var(--color-border); flex-shrink: 0; margin: var(--space-2) var(--space-1); }

/* ---------------------------------------------------------------------
   Home
   --------------------------------------------------------------------- */

.hello { padding-top: var(--space-4); }
.hello__greeting { font-size: var(--text-3xl); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
.hello__line { margin: var(--space-2) 0 0; font-size: var(--text-lg); color: var(--color-text-muted); font-weight: 500; }
@media (min-width: 900px) { .hello { padding-top: var(--space-10); } .hello__greeting { font-size: 4rem; } .hello__line { font-size: var(--text-xl); } }

.home-chips { margin-top: var(--space-5); }

.craving-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
@media (min-width: 600px) { .craving-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .craving-grid { grid-template-columns: repeat(5, 1fr); gap: var(--space-4); } }

.craving {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 96px;
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    background: var(--color-surface-soft);
    text-decoration: none;
    transition: transform 0.12s ease, background 0.15s ease;
}
.craving:hover { background: var(--color-accent-soft); }
.craving:active { transform: scale(0.97); }
.craving__name { font-weight: 700; font-size: var(--text-base); }
.craving__count { font-size: var(--text-xs); color: var(--color-text-muted); font-weight: 600; }

/* ---------------------------------------------------------------------
   Dish card (hero rail)
   --------------------------------------------------------------------- */

.dish-card { display: flex; flex-direction: column; gap: var(--space-3); text-decoration: none; }
.dish-card:active .dish-card__photo { transform: scale(0.985); }

.dish-card__photo {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--color-surface-soft);
    transition: transform 0.15s ease;
}
.dish-card__photo img { width: 100%; height: 100%; object-fit: cover; }

.dish-card__body { padding: 0 var(--space-1); }
.dish-card__kicker { margin: 0; font-size: var(--text-xs); font-weight: 700; color: var(--color-text-muted); }
.dish-card__name { font-size: var(--text-xl); font-weight: 800; letter-spacing: -0.02em; margin-top: 2px; }
.dish-card__spot { margin: var(--space-1) 0 0; font-weight: 600; }
.dish-card__spot span { color: var(--color-text-muted); font-weight: 500; }
.dish-card__state { margin: var(--space-1) 0 0; font-size: var(--text-sm); }

/* ---------------------------------------------------------------------
   Spot card
   --------------------------------------------------------------------- */

.spot-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-6) var(--space-4); }
@media (min-width: 600px) { .spot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .spot-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-8) var(--space-6); } }

.spot-card { display: flex; flex-direction: column; gap: var(--space-3); text-decoration: none; min-width: 0; }
.spot-card:active .spot-card__photo { transform: scale(0.985); }

.spot-card__photo {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-surface-soft);
    transition: transform 0.15s ease;
}
.spot-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.spot-card__flag { position: absolute; top: var(--space-3); left: var(--space-3); }

.spot-card__body { display: flex; flex-direction: column; gap: 2px; padding: 0 var(--space-1); min-width: 0; }
.spot-card__name { font-size: var(--text-lg); font-weight: 700; letter-spacing: -0.01em; }
.spot-card__summary {
    margin: 0;
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.spot-card__meta { margin: var(--space-1) 0 0; font-size: var(--text-sm); }
.spot-card__meta--muted { margin: 0; color: var(--color-text-muted); }

/* Open state with a colored dot */
.open-dot { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 600; }
.open-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-text-faint); flex-shrink: 0; }
.open-dot--open { color: var(--color-success); }
.open-dot--open::before { background: var(--color-success); }
.open-dot--soon { color: var(--color-warning); }
.open-dot--soon::before { background: var(--color-accent-bright); }
.open-dot--closed { color: var(--color-text-muted); }
.open-dot--unknown { color: var(--color-text-faint); }

/* ---------------------------------------------------------------------
   Explore
   --------------------------------------------------------------------- */

.explore-head { padding-top: var(--space-2); display: flex; flex-direction: column; gap: var(--space-3); }
.explore-head__title { font-size: var(--text-2xl); font-weight: 800; letter-spacing: -0.02em; }

.search {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--color-surface-soft);
    border-radius: var(--radius-pill);
    padding: 0 var(--space-2) 0 var(--space-4);
    min-height: 52px;
}
.search:focus-within { background: var(--color-surface); box-shadow: 0 0 0 2px var(--color-accent), 0 0 0 6px var(--color-accent-soft); }
.search .material-symbols-rounded { color: var(--color-text-muted); }
.search__input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--color-text); min-height: 48px; }
.search__input:focus { outline: none; }
.search__input::placeholder { color: var(--color-text-faint); }

.result-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin: var(--space-5) 0 var(--space-4); }
.result-bar__count { margin: 0; font-weight: 700; }
.result-bar__note { margin: 0; font-size: var(--text-sm); color: var(--color-text-muted); }

.load-more { display: flex; justify-content: center; margin-top: var(--space-8); }

.empty-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-3);
    padding: var(--space-12) var(--space-4);
}
.empty-hero__icon { font-size: 48px; width: 48px; height: 48px; color: var(--color-accent-bright); }
.empty-hero__title { font-size: var(--text-xl); font-weight: 800; }
.empty-hero__text { margin: 0; color: var(--color-text-muted); max-width: 38ch; }
.empty-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; margin-top: var(--space-2); }

/* ---------------------------------------------------------------------
   Spot detail
   --------------------------------------------------------------------- */

.spot-hero {
    position: relative;
    aspect-ratio: 4 / 3;
    max-height: 62vh;
    width: 100%;
    background: var(--color-surface-soft);
    overflow: hidden;
}
.spot-hero img { width: 100%; height: 100%; object-fit: cover; }

.spot-hero__btns {
    position: absolute;
    top: calc(var(--space-3) + var(--safe-top));
    left: var(--space-3);
    right: var(--space-3);
    display: flex;
    justify-content: space-between;
}

.float-btn {
    display: grid;
    place-items: center;
    width: var(--tap);
    height: var(--tap);
    border-radius: 50%;
    border: 0;
    background: var(--color-glass);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: var(--color-text);
    box-shadow: var(--shadow-card);
    text-decoration: none;
    cursor: pointer;
}
.float-btn:active { transform: scale(0.92); }

.spot-sheet {
    position: relative;
    margin-top: calc(var(--radius-xl) * -1);
    background: var(--color-bg);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: var(--space-6) var(--space-4) 0;
}

.spot-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-8); max-width: 1180px; margin: 0 auto; }

.spot-title { font-size: var(--text-2xl); font-weight: 800; letter-spacing: -0.02em; }
.spot-place { margin: var(--space-1) 0 0; color: var(--color-text-muted); font-weight: 500; }
.spot-state { margin: var(--space-3) 0 0; }
.spot-summary { margin: var(--space-4) 0 0; font-size: var(--text-lg); line-height: 1.4; font-weight: 500; }

.notice {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
    margin-top: var(--space-4);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    background: var(--color-warning-soft);
    color: var(--color-warning);
    font-weight: 600;
}
.notice--closed { background: var(--color-danger-soft); color: var(--color-danger); }

.block { display: flex; flex-direction: column; gap: var(--space-4); }
.block__title { font-size: var(--text-xl); font-weight: 800; letter-spacing: -0.02em; }

.prose { margin: 0; font-size: var(--text-base); line-height: 1.65; color: var(--color-text); max-width: 64ch; }
.prose p { margin: 0 0 var(--space-4); }

.order-rail { grid-auto-columns: 62%; }
@media (min-width: 600px) { .order-rail { grid-auto-columns: 38%; } }
@media (min-width: 900px) { .order-rail { grid-auto-columns: calc((100% - var(--space-5) * 2) / 3); } }

.order-card { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.order-card__photo { aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-surface-soft); }
.order-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.order-card__photo--none { display: grid; place-items: center; background: var(--color-accent-soft); }
.order-card__photo--none .material-symbols-rounded { font-size: 40px; width: 40px; height: 40px; color: var(--color-accent-hover); }
.order-card__name { font-weight: 700; font-size: var(--text-base); display: flex; justify-content: space-between; gap: var(--space-2); }
.order-card__price { color: var(--color-text-muted); font-weight: 600; white-space: nowrap; }
.order-card__note { margin: 0; font-size: var(--text-sm); color: var(--color-text-muted); }

.hours-list { list-style: none; margin: 0; padding: 0; background: var(--color-surface-soft); border-radius: var(--radius-lg); overflow: hidden; }
.hours-list li { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) var(--space-4); font-size: var(--text-sm); }
.hours-list li + li { border-top: 1px solid var(--color-surface); }
.hours-list li.is-today { font-weight: 700; background: var(--color-accent-soft); }
.hours-list span:last-child { text-align: right; color: var(--color-text-muted); }
.hours-list li.is-today span:last-child { color: var(--color-text); }

.address { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4); border-radius: var(--radius-lg); background: var(--color-surface-soft); }
.address__text { margin: 0; font-weight: 600; }

.photo-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
@media (min-width: 900px) { .photo-wall { grid-template-columns: repeat(4, 1fr); gap: var(--space-3); } }
.photo-wall__item { aspect-ratio: 1; border-radius: var(--radius-md); overflow: hidden; padding: 0; border: 0; background: var(--color-surface-soft); cursor: zoom-in; }
.photo-wall__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s ease; }
.photo-wall__item:hover img { transform: scale(1.03); }

.link-pills { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.side-actions { display: none; }

.spot-side { display: flex; flex-direction: column; gap: var(--space-8); }

/* Sticky bottom actions on phones */
.spot-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: flex;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4) calc(var(--space-3) + var(--safe-bottom));
    background: var(--color-glass);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
    box-shadow: var(--shadow-bar);
}
.spot-actions .btn { flex: 1; min-height: 50px; }

@media (min-width: 900px) {
    .spot-hero { aspect-ratio: auto; height: 460px; max-width: 1180px; margin: var(--space-6) auto 0; border-radius: var(--radius-xl); }
    .spot-hero__btns { top: var(--space-4); left: var(--space-4); right: var(--space-4); }
    .spot-sheet { margin-top: 0; padding: var(--space-8) var(--space-8) 0; }
    .spot-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: var(--space-10); }
    .spot-title { font-size: var(--text-3xl); }
    .spot-actions { display: none; }
    .side-actions { display: flex; flex-direction: column; gap: var(--space-2); }
    .spot-side { position: sticky; top: var(--space-6); align-self: start; gap: var(--space-6); }
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(0, 0, 0, 0.92); display: grid; place-items: center; padding: var(--space-4); }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: var(--radius-md); object-fit: contain; }
.lightbox__close { position: absolute; top: calc(var(--space-4) + var(--safe-top)); right: var(--space-4); }
.lightbox__caption { color: var(--color-on-dark); text-align: center; margin: var(--space-3) 0 0; font-size: var(--text-sm); }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */

.site-foot { padding: var(--space-10) var(--space-4) calc(var(--tabbar-h) + var(--safe-bottom) + var(--space-6)); }
.site-foot__inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: var(--space-3); color: var(--color-text-muted); font-size: var(--text-sm); border-top: 1px solid var(--color-border); padding-top: var(--space-6); }
.site-foot__inner p { margin: 0; }
.site--detail .site-foot { padding-bottom: calc(var(--actionbar-h) + var(--safe-bottom) + var(--space-6)); }
@media (min-width: 900px) { .site-foot { padding: var(--space-12) var(--space-8) var(--space-8); } .site--detail .site-foot { padding-bottom: var(--space-8); } }

/* ---------------------------------------------------------------------
   Tips and contributions
   --------------------------------------------------------------------- */

.block__head { display: flex; align-items: baseline; gap: var(--space-2); }
.block__count { font-weight: 700; color: var(--color-text-faint); }

.tips-empty { color: var(--color-text-muted); }

.tip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }

.tip {
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-lg);
    background: var(--color-surface-soft);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}
.tip--heads-up { background: var(--color-warning-soft); }
.tip__kind { display: inline-flex; align-items: center; gap: var(--space-1); font-size: var(--text-xs); font-weight: 700; color: var(--color-warning); }
.tip__kind .material-symbols-rounded { font-size: 16px; }
.tip__body { margin: 0; font-size: var(--text-base); line-height: 1.5; font-weight: 500; }
.tip__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.tip__who { font-size: var(--text-xs); color: var(--color-text-muted); font-weight: 600; margin-right: auto; }

.helpful {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    min-height: 36px;
    padding: 0 var(--space-3);
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--color-surface);
    color: var(--color-text-muted);
    font: inherit;
    font-size: var(--text-xs);
    font-weight: 700;
    cursor: pointer;
}
.helpful .material-symbols-rounded { font-size: 18px; }
.helpful.is-on { background: var(--color-primary); color: var(--color-on-primary); }
.helpful.is-on .material-symbols-rounded { font-variation-settings: "FILL" 1, "wght" 500; }
.helpful:disabled { cursor: default; opacity: 0.6; }
.helpful:active:not(:disabled) { transform: scale(0.95); }

.contribute-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.contribute-row .btn { flex: 1 1 160px; }

.rail--tips { grid-auto-columns: 80%; }
@media (min-width: 600px) { .rail--tips { grid-auto-columns: 46%; } }
@media (min-width: 900px) { .rail--tips { grid-auto-columns: calc((100% - var(--space-5) * 2) / 3.2); } }

.tip-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    background: var(--color-accent-soft);
    text-decoration: none;
    min-height: 168px;
}
.tip-card__body { margin: 0; font-size: var(--text-lg); font-weight: 600; line-height: 1.35; flex: 1; }
.tip-card__meta { margin: 0; font-size: var(--text-sm); }
.tip-card__who { margin: 0; font-size: var(--text-xs); color: var(--color-text-muted); font-weight: 600; }

/* Sheets and forms */

.segmented--full { display: flex; }
.segmented--full .segmented__option { flex: 1; }
.segmented--full .segmented__option span { width: 100%; }

.field__optional { font-weight: 500; color: var(--color-text-faint); font-size: var(--text-xs); margin-left: var(--space-1); }
.field-row--two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }

.identity { border: 0; margin: 0; padding: var(--space-4); border-radius: var(--radius-lg); background: var(--color-surface-soft); display: flex; flex-direction: column; gap: var(--space-3); }
.identity__title { padding: 0; font-weight: 700; margin-bottom: var(--space-1); float: left; width: 100%; }
.identity .input { background: var(--color-surface); }

.photo-pick {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: 96px;
    border: 2px dashed var(--color-border-strong);
    border-radius: var(--radius-lg);
    background: var(--color-surface-soft);
    font-weight: 600;
    cursor: pointer;
}
.photo-pick:focus-within { border-color: var(--color-accent); }
.photo-previews { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.photo-previews:empty { display: none; }
.photo-previews img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); }

.narrow { max-width: 640px; }
.lead-text { margin: var(--space-2) 0 var(--space-6); color: var(--color-text-muted); font-size: var(--text-lg); }
.suggest-form { margin-bottom: var(--space-8); }

.site-foot__text { display: flex; flex-direction: column; gap: var(--space-1); }
.site-foot__links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.site-foot__links a { color: var(--color-text); font-weight: 600; }
.inline-form { display: inline; }
.link-button { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--color-text); text-decoration: underline; cursor: pointer; }

/* Claims */
.back-link { display: inline-flex; align-items: center; gap: var(--space-1); margin: var(--space-2) 0 var(--space-4); color: var(--color-text-muted); font-weight: 600; text-decoration: none; }
.how-list { margin: 0 0 var(--space-6); padding: var(--space-4) var(--space-5) var(--space-4) var(--space-10); background: var(--color-accent-soft); border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: var(--space-2); }
.owner-link { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-4); border-radius: var(--radius-lg); background: var(--color-surface-soft); color: var(--color-text); font-weight: 600; text-decoration: none; }
.owner-link:hover { background: var(--color-accent-soft); }

/* ---------------------------------------------------------------------
   Lists, saved, reports
   --------------------------------------------------------------------- */

.float-group { display: flex; gap: var(--space-2); }
.float-btn.is-saved { color: var(--color-danger); }
.float-btn.is-saved .material-symbols-rounded { font-variation-settings: "FILL" 1, "wght" 500; }

.tip__report { border: 0; background: none; padding: 0 var(--space-2); font: inherit; font-size: var(--text-xs); color: var(--color-text-faint); cursor: pointer; min-height: 36px; }
.tip__report:hover { color: var(--color-text-muted); text-decoration: underline; }

.report-link { display: flex; align-items: center; gap: var(--space-2); width: 100%; padding: var(--space-3) var(--space-4); border: 0; border-radius: var(--radius-lg); background: none; color: var(--color-text-muted); font: inherit; font-size: var(--text-sm); font-weight: 600; cursor: pointer; text-align: left; }
.report-link:hover { background: var(--color-surface-soft); color: var(--color-text); }
.report-link .material-symbols-rounded { font-size: 18px; }

.rail--lists { grid-auto-columns: 66%; }
@media (min-width: 600px) { .rail--lists { grid-auto-columns: 38%; } }
@media (min-width: 900px) { .rail--lists { grid-auto-columns: calc((100% - var(--space-5) * 3) / 4.2); } }

.list-card { display: flex; flex-direction: column; gap: var(--space-2); text-decoration: none; }
.list-card__photo { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-accent-soft); }
.list-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.list-card__title { font-size: var(--text-lg); font-weight: 800; letter-spacing: -0.01em; }
.list-card__count { margin: 0; color: var(--color-text-muted); font-size: var(--text-sm); font-weight: 600; }

.list-page { padding-top: var(--space-4); }
.list-page__kicker { margin: 0; font-weight: 700; color: var(--color-text-muted); }
.list-page__title { font-size: var(--text-3xl); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin: var(--space-1) 0 var(--space-4); }
.list-page__intro { font-size: var(--text-lg); margin-bottom: var(--space-6); }

.list-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-8); }
.list-item__link { display: flex; flex-direction: column; gap: var(--space-3); text-decoration: none; }
.list-item__photo { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-xl); overflow: hidden; background: var(--color-surface-soft); }
.list-item__photo img { width: 100%; height: 100%; object-fit: cover; }
.list-item__num { position: absolute; top: var(--space-3); left: var(--space-3); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-accent); color: var(--color-accent-ink); font-weight: 800; font-size: var(--text-lg); }
.list-item__name { font-size: var(--text-xl); font-weight: 800; letter-spacing: -0.02em; }
.list-item__place { margin: 2px 0 0; color: var(--color-text-muted); }
.list-item__dish { margin: var(--space-2) 0 0; }
.list-item__note { margin: var(--space-2) 0 0; font-size: var(--text-lg); line-height: 1.45; }

/* Account */
.account-card { padding: var(--space-6); border-radius: var(--radius-xl); background: var(--color-surface-soft); margin: var(--space-4) 0 var(--space-8); }
.account-card__name { margin: 0; font-size: var(--text-xl); font-weight: 800; }
.account-card__meta { margin: var(--space-1) 0 var(--space-4); color: var(--color-text-muted); }
.account-card__actions { justify-content: flex-start; }
.account-stats { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-4); color: var(--color-text-muted); }
.account-stats strong { color: var(--color-text); font-size: var(--text-lg); }
.danger-zone { padding: var(--space-6); border-radius: var(--radius-xl); box-shadow: inset 0 0 0 1.5px var(--color-danger-soft); display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-8); }
.danger-zone .btn { align-self: flex-start; }

.lightbox__report { position: absolute; bottom: calc(var(--space-4) + var(--safe-bottom)); right: var(--space-4); border: 0; background: rgba(255, 255, 255, 0.14); color: var(--color-on-dark); font: inherit; font-size: var(--text-xs); font-weight: 600; padding: var(--space-2) var(--space-3); border-radius: var(--radius-pill); cursor: pointer; }
.lightbox__report:hover { background: rgba(255, 255, 255, 0.24); }


/* ---------------------------------------------------------------------
   TasteIowa public UI refresh
   Bold editorial sans headings + quiet, modern interface typography.
   The custom logo carries the retro personality; the UI stays clean.
   --------------------------------------------------------------------- */

.site {
    --public-heading: var(--font-heading);
    --public-body: var(--font-sans);
    --public-page-bg: #FCFBF8;
    --public-soft: #F5F2EC;
    --public-line: #E9E4DC;
    background: var(--public-page-bg);
}

.site,
.site button,
.site input,
.site select,
.site textarea { font-family: var(--public-body); }

.hello__greeting,
.explore-head__title,
.section__title,
.spot-title,
.list-page__title,
.empty-hero__title,
.dish-card__name,
.list-card__title,
.list-item__name,
.block__title,
.spot-card__name {
    font-family: var(--public-heading);
    font-weight: 800;
    letter-spacing: -0.035em;
}

/* Page titles should feel confident without becoming oversized or decorative. */
.hello__greeting,
.explore-head__title,
.list-page__title {
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: .95;
}

.explore-head__title { font-size: clamp(2.55rem, 11vw, 4rem); }
.section__title { font-size: clamp(1.45rem, 5vw, 1.8rem); line-height: 1; }
.spot-card__name { font-size: 1.25rem; line-height: 1.08; }
.dish-card__name { line-height: 1.02; }

/* Keep the brand accent subtle instead of flooding the interface with cream. */
.hello__greeting { color: var(--color-text); }
.hello__greeting .dot { color: var(--color-accent-bright); }

/* Header: crisp white bar and the approved PNG wordmark. */
.site-top {
    background: rgba(252, 251, 248, .96);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: 1px solid var(--public-line);
}
.site-top__inner {
    min-height: 58px;
    padding-top: 11px;
    padding-bottom: 11px;
}
.site-top .brand-logo {
    height: 29px;
    width: auto;
}
.site-top__link {
    border-radius: 10px;
    font-family: var(--public-body);
    font-weight: 650;
}
.site-top__link:hover { background: var(--public-soft); }
.site-top__link.is-active { background: var(--color-primary); color: #fff; }

/* Search feels like a real control rather than a large beige capsule. */
.search {
    min-height: 52px;
    padding: 0 13px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--public-line);
    box-shadow: 0 1px 0 rgba(16, 38, 26, .02);
}
.search:focus-within {
    background: #fff;
    border-color: rgba(16, 38, 26, .48);
    box-shadow: 0 0 0 3px rgba(16, 38, 26, .09);
}
.search__input { font-family: var(--public-body); font-weight: 500; }
.search__input::placeholder { color: #808981; }

/* Filters stay tappable, but no longer look like oversized bubbles. */
.pill {
    min-height: 39px;
    padding: 0 13px;
    border-radius: 11px;
    background: #fff;
    border: 1px solid var(--public-line);
    font-family: var(--public-body);
    font-weight: 650;
    font-size: .875rem;
}
.pill:hover { background: var(--public-soft); }
.pill.is-on {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
.pill__sep { margin-left: 2px; margin-right: 2px; }

/* Cards: tighter radii and stronger text hierarchy so photography leads. */
.spot-card { gap: 11px; }
.spot-card__photo { border-radius: 16px; }
.spot-card__body { gap: 4px; padding: 0 2px; }
.spot-card__summary {
    color: #647068;
    font-size: .9375rem;
    line-height: 1.42;
}
.spot-card__meta { font-size: .875rem; }
.dish-card__photo,
.list-item__photo { border-radius: 18px; }
.craving,
.list-card__photo,
.owner-link,
.account-card { border-radius: 16px; }

.result-bar { margin-top: 26px; margin-bottom: 16px; }
.result-bar__count {
    font-family: var(--public-heading);
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Mobile tab bar: flatter, sharper and less generic-app looking. */
.tabbar--site {
    background: rgba(252, 251, 248, .97);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: 0 -1px 0 var(--public-line);
}
.tabbar--site .tabbar__item {
    font-family: var(--public-body);
    font-weight: 650;
    color: #748078;
}
.tabbar--site .tabbar__icon {
    width: 42px;
    height: 30px;
    border-radius: 10px;
    background: transparent;
}
.tabbar--site .tabbar__item.is-active {
    color: var(--color-primary);
}
.tabbar--site .tabbar__item.is-active .tabbar__icon {
    background: transparent;
    color: var(--color-accent-bright);
}
.tabbar--site .tabbar__item.is-active .material-symbols-rounded {
    font-variation-settings: "FILL" 1, "wght" 600;
}

/* Footer should recede instead of competing with the content. */
.site-foot { border-top-color: var(--public-line); }
.site-foot__inner .brand-icon { flex-shrink: 0; }

@media (min-width: 900px) {
    .site-top__inner { min-height: 66px; }
    .site-top .brand-logo { height: 32px; }
    .explore-head__title { font-size: 4.25rem; }
}
