:root {
    --bg: #f7f0e7;
    --paper: #fffaf3;
    --card: rgba(255, 252, 246, .95);
    --line: #eadfd0;
    --text: #303437;
    --muted: #766d63;
    --brand: #eb715b;
    --brand-dark: #d95f4a;
    --teal: #2f7c78;
    --teal-dark: #266765;
    --gold: #e4a23a;
    --shadow: 0 22px 52px rgba(117, 82, 50, .12);
    --soft-orange: #fff1e6;
    --soft-green: #ecf5f1;
    --soft-yellow: #fff6dd;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 9% 8%, rgba(255,255,255,.88) 0 15%, transparent 30%),
        radial-gradient(circle at 92% 4%, rgba(255,244,229,.88) 0 18%, transparent 36%),
        radial-gradient(circle at 86% 82%, rgba(236,245,241,.88) 0 16%, transparent 34%),
        linear-gradient(145deg, #f8f0e6 0%, #fbf6ef 48%, #f3eadf 100%);
    font-family: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: .01em;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.solo-dining-shell {
    width: min(1180px, calc(100% - 44px));
    margin: 0 auto;
    padding: 0 0 86px;
}

.dining-topbar {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    border-bottom: 1px solid rgba(201, 180, 151, .55);
    background: rgba(255, 250, 243, .78);
    backdrop-filter: blur(18px);
    position: sticky;
    top: 0;
    z-index: 30;
}

.dining-brand {
    display: inline-flex;
    align-items: baseline;
    gap: 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    color: #dc654e;
    white-space: nowrap;
}
.dining-brand span { font-size: 22px; transform: translateY(-8px); }
.dining-brand small {
    color: #5c5148;
    font-family: "Noto Sans TC", sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.dining-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex: 1;
    color: #3e3d3a;
    font-size: 14px;
    font-weight: 800;
}
.dining-menu a { position: relative; padding: 31px 0; white-space: nowrap; }
.dining-menu a.active::after,
.dining-menu a:hover::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 21px;
    width: 22px;
    height: 3px;
    border-radius: 99px;
    background: var(--brand);
    transform: translateX(-50%);
}

.dining-actions { display: flex; gap: 10px; align-items: center; }
.dining-actions a {
    min-width: 70px;
    text-align: center;
    padding: 10px 18px;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 900;
}
.dining-actions .outline { border: 1px solid rgba(235, 113, 91, .68); color: #574036; background: rgba(255,255,255,.56); }
.dining-actions .solid { color: #fff; background: linear-gradient(135deg, #f18773, #ec735e); box-shadow: 0 10px 24px rgba(235, 113, 91, .28); }
.dining-hamburger { display: none; border: 0; background: transparent; font-size: 24px; color: #3d3936; }

.dining-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 420px;
    gap: 34px;
    align-items: center;
    padding: 30px 16px 24px;
    border-bottom: 1px solid rgba(201, 180, 151, .32);
}

.hero-copy { min-width: 0; }
.eyebrow {
    margin: 0 0 8px;
    color: #c8774a;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.hero-copy h1 {
    margin: 0;
    font-family: "Noto Serif TC", serif;
    font-size: clamp(42px, 5vw, 62px);
    line-height: 1.2;
    letter-spacing: .03em;
    color: #303437;
}
.hero-copy > p:not(.eyebrow) {
    max-width: 620px;
    margin: 16px 0 22px;
    color: #5d5650;
    font-size: 16px;
    line-height: 1.9;
    font-weight: 700;
}

.hero-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 148px;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
}
.search-pill {
    height: 62px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 10px 0 20px;
    border: 1px solid rgba(214, 194, 166, .95);
    border-radius: 22px;
    background: rgba(255, 252, 246, .96);
    box-shadow: 0 16px 34px rgba(103, 74, 42, .12);
}
.search-pill span { color: #9d8a78; font-size: 20px; }
.search-pill input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 15px;
    font-weight: 800;
}
.search-pill button {
    width: 50px;
    height: 50px;
    overflow: hidden;
    color: transparent;
    border: 0;
    border-radius: 17px;
    background: var(--teal);
    position: relative;
}
.search-pill button::after {
    content: "⌕";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 24px;
}
.city-pill {
    height: 62px;
    border: 1px solid rgba(214, 194, 166, .9);
    border-radius: 22px;
    background: rgba(255, 250, 243, .86);
    color: #4c4742;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(103, 74, 42, .08);
}

.quick-filter-row,
.filter-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.filter-chip,
.filter-strip button {
    min-height: 42px;
    border: 1px solid rgba(222, 207, 184, .94);
    border-radius: 999px;
    background: rgba(255, 250, 243, .9);
    color: #665d54;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 900;
}
.filter-chip.active,
.filter-chip:hover {
    color: #fff;
    border-color: var(--brand);
    background: linear-gradient(135deg, #ef7f67, #eb705b);
}

.map-panel {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    border: 1px solid rgba(221, 205, 181, .88);
    border-radius: 26px;
    box-shadow: 0 20px 44px rgba(94, 70, 43, .12);
    background: #fff8ef;
}
.map-panel img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    transform: scale(1.035);
}
.map-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,248,240,.12));
    pointer-events: none;
}
.real-map-panel::after {
    display: none;
}

.real-dining-map {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: 26px;
    overflow: hidden;
    background: #efe4d4;
}

.real-dining-map .leaflet-control-container,
.solo-real-map-canvas .leaflet-control-container {
    font-family: "Noto Sans TC", sans-serif;
}

.real-dining-map .leaflet-popup-content-wrapper,
.solo-real-map-canvas .leaflet-popup-content-wrapper {
    border-radius: 16px;
    box-shadow: 0 18px 36px rgba(46, 32, 18, .18);
}

.real-dining-map .leaflet-popup-content,
.solo-real-map-canvas .leaflet-popup-content {
    margin: 12px 14px;
    color: #2f3435;
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 800;
}

.real-map-popup strong {
    display: block;
    margin-bottom: 4px;
    color: #2f7c78;
    font-size: 15px;
    font-weight: 900;
}

.real-map-popup span {
    display: block;
    color: #71665c;
    font-size: 12px;
    line-height: 1.55;
}

.real-map-popup a {
    display: inline-flex;
    margin-top: 8px;
    color: #ef735d;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.real-map-fallback {
    display: grid;
    place-items: center;
    height: 100%;
    min-height: 300px;
    padding: 20px;
    color: #756b61;
    text-align: center;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.7;
}

.map-search,
.map-sort {
    position: absolute;
    z-index: 1001;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 252, 246, .96);
    color: var(--teal);
    box-shadow: 0 12px 26px rgba(75, 55, 32, .16);
    font-size: 13px;
    font-weight: 900;
}
.map-search { top: 16px; right: 16px; padding: 10px 16px; }
.map-sort { right: 18px; bottom: 16px; padding: 9px 14px; color: #5e554c; }

.filter-strip {
    padding: 0 16px 24px;
}
.filter-strip button:hover {
    border-color: rgba(47,124,120,.5);
    color: var(--teal-dark);
    background: #fff;
}

.section-block {
    margin: 0 16px 28px;
}
.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}
.section-heading h2 {
    margin: 0;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    line-height: 1.25;
    color: #333332;
}
.section-heading a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    color: var(--teal);
    border: 1px solid rgba(216, 199, 174, .8);
    border-radius: 999px;
    background: rgba(255, 251, 245, .82);
    font-size: 14px;
    font-weight: 900;
}
.section-heading.compact { margin-bottom: 14px; }
.section-heading.compact h2 { font-size: 26px; }

.dining-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.dining-card {
    overflow: hidden;
    border: 1px solid rgba(222, 207, 184, .88);
    border-radius: 20px;
    background: rgba(255,252,246,.96);
    box-shadow: 0 16px 34px rgba(102, 75, 46, .10);
    transition: transform .2s ease, box-shadow .2s ease;
}
.dining-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(102, 75, 46, .14);
}
.dining-card[hidden] { display: none; }
.cover { position: relative; height: 150px; overflow: hidden; }
.cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}
.dining-card:hover .cover img { transform: scale(1.045); }
.cover span {
    position: absolute;
    left: 12px;
    bottom: 10px;
    padding: 5px 10px;
    border-radius: 8px;
    background: rgba(47, 124, 120, .92);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}
.dining-card:nth-child(2) .cover span { background: rgba(231, 116, 82, .92); }
.dining-card:nth-child(3) .cover span { background: rgba(222, 152, 42, .92); }
.dining-card:nth-child(4) .cover span { background: rgba(72, 128, 111, .92); }
.card-body { padding: 16px 16px 18px; }
.card-body h3 {
    margin: 0 0 8px;
    color: #2f3335;
    font-size: 18px;
    font-weight: 900;
}
.card-body p {
    margin: 0 0 10px;
    color: #6b6259;
    font-size: 14px;
    font-weight: 800;
}
.card-body strong {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--gold);
    font-weight: 900;
}
.card-body strong small { color: #7e756c; font-weight: 800; }
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 14px;
}
.tag-row em {
    font-style: normal;
    border-radius: 999px;
    background: #f7eee5;
    color: #746b60;
    padding: 5px 8px;
    font-size: 12px;
    font-weight: 900;
}
.card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.card-actions button,
.card-actions a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 900;
}
.card-actions button {
    border: 1px solid rgba(235, 113, 91, .45);
    color: var(--brand-dark);
    background: #fff8f2;
}
.card-actions button.saved {
    color: #fff;
    border-color: var(--teal);
    background: var(--teal);
}
.card-actions a {
    border: 1px solid rgba(47, 124, 120, .32);
    color: var(--teal-dark);
    background: #f3fbf8;
}

.empty-state {
    padding: 32px;
    border: 1px dashed rgba(222, 207, 184, .95);
    border-radius: 22px;
    background: rgba(255,252,246,.88);
    text-align: center;
}
.empty-state h3 { margin: 0 0 8px; font-weight: 900; }
.empty-state p { margin: 0; color: var(--muted); font-weight: 800; }

.bottom-layout {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 28px;
    align-items: start;
}
.cafe-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.cafe-gallery article,
.service-mini-grid a {
    overflow: hidden;
    border: 1px solid rgba(222, 207, 184, .88);
    border-radius: 18px;
    background: rgba(255,252,246,.95);
    box-shadow: 0 14px 32px rgba(102, 75, 46, .08);
}
.cafe-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}
.cafe-gallery strong,
.cafe-gallery span {
    display: block;
    padding-inline: 13px;
}
.cafe-gallery strong { padding-top: 12px; font-size: 15px; font-weight: 900; }
.cafe-gallery span { padding-bottom: 14px; color: var(--muted); font-size: 12px; font-weight: 800; }

.service-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.service-mini-grid a {
    min-height: 190px;
    padding: 18px 12px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 7px;
}
.service-mini-grid img,
.round-icon {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--soft-green);
}
.round-icon {
    display: grid;
    place-items: center;
    font-size: 34px;
    background: #fff4e6;
}
.round-icon.pet { background: #f2eadf; }
.service-mini-grid strong { font-size: 17px; font-weight: 900; }
.service-mini-grid small { color: var(--muted); font-weight: 800; }
.service-mini-grid span:last-child { color: var(--gold); font-size: 13px; font-weight: 900; }

.mobile-bottom-nav { display: none; }

@media (max-width: 1120px) {
    .dining-menu { gap: 18px; }
    .dining-hero { grid-template-columns: 1fr; }
    .map-panel { min-height: 200px; }
    .dining-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bottom-layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    body { background: linear-gradient(180deg, #fbf3ea 0%, #fffaf3 55%, #f7efe4 100%); }
    .solo-dining-shell {
        width: 100%;
        padding-bottom: 96px;
    }
    .dining-topbar {
        min-height: 64px;
        padding: 0 18px;
        border-bottom-color: rgba(218, 201, 176, .62);
    }
    .dining-brand { font-size: 27px; }
    .dining-brand span { font-size: 17px; transform: translateY(-6px); }
    .dining-brand small,
    .dining-actions { display: none; }
    .dining-hamburger { display: block; }
    .dining-menu {
        display: none;
        position: fixed;
        z-index: 60;
        top: 64px;
        left: 16px;
        right: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 22px;
        background: rgba(255,250,243,.98);
        box-shadow: var(--shadow);
    }
    .dining-menu-open .dining-menu { display: flex; }
    .dining-menu a { padding: 12px; border-radius: 14px; }
    .dining-menu a.active { background: #fff0e8; color: var(--brand-dark); }
    .dining-menu a.active::after,
    .dining-menu a:hover::after { display: none; }

    .dining-hero {
        display: block;
        padding: 22px 18px 14px;
        border-bottom: 0;
    }
    .hero-copy h1 { font-size: 30px; line-height: 1.35; }
    .hero-copy > p:not(.eyebrow) {
        margin: 8px 0 18px;
        max-width: 315px;
        font-size: 13px;
        line-height: 1.75;
    }
    .hero-search {
        grid-template-columns: 1fr 104px;
        gap: 8px;
        margin-bottom: 12px;
    }
    .search-pill {
        height: 45px;
        padding: 0 7px 0 13px;
        border-radius: 13px;
        box-shadow: 0 9px 22px rgba(103, 74, 42, .10);
    }
    .search-pill span { font-size: 15px; }
    .search-pill input { font-size: 12px; }
    .search-pill button {
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }
    .search-pill button::after { font-size: 18px; }
    .city-pill {
        height: 45px;
        border-radius: 13px;
        font-size: 12px;
    }
    .quick-filter-row {
        display: grid;
        grid-template-columns: repeat(3, max-content);
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 2px;
    }
    .filter-chip {
        min-height: 35px;
        padding: 0 14px;
        font-size: 12px;
        white-space: nowrap;
    }
    .map-panel { display: none; }
    .filter-strip {
        padding: 2px 18px 18px;
        gap: 9px;
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    .filter-strip button {
        min-height: 34px;
        padding: 0 14px;
        font-size: 12px;
        white-space: nowrap;
    }
    .section-block { margin: 0 18px 22px; }
    .section-heading { margin-bottom: 12px; }
    .section-heading .eyebrow { display: none; }
    .section-heading h2 { font-size: 20px; }
    .section-heading a { display: none; }
    .dining-card-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .dining-card {
        display: grid;
        grid-template-columns: 116px 1fr;
        border-radius: 17px;
        box-shadow: 0 10px 24px rgba(102, 75, 46, .09);
    }
    .cover {
        height: 130px;
        min-height: 100%;
    }
    .cover span {
        left: 8px;
        bottom: 8px;
        padding: 4px 7px;
        border-radius: 7px;
        font-size: 10px;
    }
    .card-body { padding: 12px; }
    .card-body h3 { font-size: 15px; margin-bottom: 5px; }
    .card-body p { font-size: 12px; margin-bottom: 7px; }
    .card-body strong { font-size: 12px; margin-bottom: 8px; }
    .tag-row { display: none; }
    .card-actions { grid-template-columns: 1fr; }
    .card-actions button { display: none; }
    .card-actions a {
        min-height: 30px;
        border-radius: 10px;
        font-size: 12px;
    }
    .bottom-layout { display: none; }
    .empty-state { padding: 22px; }
    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 80;
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        min-height: 68px;
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
        border-top: 1px solid rgba(219, 202, 179, .86);
        background: rgba(255, 250, 243, .97);
        backdrop-filter: blur(16px);
        box-shadow: 0 -12px 28px rgba(79, 58, 34, .08);
    }
    .mobile-bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: #6d645b;
        font-size: 10px;
        font-weight: 900;
    }
    .mobile-bottom-nav a span { font-size: 15px; line-height: 1; }
    .mobile-bottom-nav a.active { color: var(--brand); }
}

@media (max-width: 390px) {
    .dining-card { grid-template-columns: 104px 1fr; }
    .hero-search { grid-template-columns: 1fr 96px; }
}

/* Stage 326：餐飲搜尋與篩選 */
.dining-filter-form { margin: 0; }
.city-select-pill,
.filter-select,
.toggle-pill,
.reset-filter-link {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(222, 207, 184, .94);
    border-radius: 999px;
    background: rgba(255, 250, 243, .92);
    color: #665d54;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}
.city-select-pill {
    height: 62px;
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(103, 74, 42, .08);
}
.city-select-pill span { color: var(--teal); }
.city-select-pill select,
.filter-select select {
    appearance: none;
    border: 0;
    outline: 0;
    background: transparent;
    color: #4c4742;
    font-weight: 900;
    cursor: pointer;
}
.filter-select::after {
    content: "⌄";
    color: #9e8870;
    font-size: 12px;
    margin-left: -2px;
}
.toggle-pill input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--brand);
}
.toggle-pill:has(input:checked) {
    color: #fff;
    border-color: var(--brand);
    background: linear-gradient(135deg, #ef7f67, #eb705b);
}
.reset-filter-link {
    color: var(--teal-dark);
    background: #f6fbf8;
    border-color: rgba(47, 124, 120, .24);
}
.advanced-filter-strip {
    align-items: center;
}
.map-sort-label {
    position: absolute;
    z-index: 1001;
    right: 18px;
    bottom: 16px;
    padding: 9px 14px;
    border-radius: 12px;
    background: rgba(255, 252, 246, .96);
    color: #5e554c;
    box-shadow: 0 12px 26px rgba(75, 55, 32, .16);
    font-size: 13px;
    font-weight: 900;
}
.result-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}
.result-toolbar h2 {
    margin: 0 0 6px;
    font-family: "Noto Serif TC", serif;
    font-size: 30px;
    line-height: 1.25;
    color: #333332;
}
.result-toolbar span {
    color: #71675e;
    font-size: 14px;
    font-weight: 800;
}
.result-toolbar strong {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid rgba(216, 199, 174, .8);
    border-radius: 999px;
    background: rgba(255, 251, 245, .86);
    color: var(--teal-dark);
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}
.card-meta-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 9px;
}
.card-meta-line em {
    flex: 0 0 auto;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eaf6f2;
    color: var(--teal-dark);
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}
.card-meta-line small {
    color: #94887c;
    font-size: 11px;
    font-weight: 900;
}
.empty-state a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin-top: 16px;
    padding: 0 18px;
    border-radius: 999px;
    color: #fff;
    background: var(--teal);
    font-weight: 900;
}

@media (max-width: 760px) {
    .city-select-pill {
        height: 45px;
        border-radius: 13px;
        padding: 0 10px;
        font-size: 12px;
    }
    .city-select-pill span { display: none; }
    .city-select-pill select { max-width: 84px; font-size: 12px; }
    .advanced-filter-strip {
        padding: 2px 18px 14px;
        gap: 8px;
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    .filter-select,
    .toggle-pill,
    .reset-filter-link {
        min-height: 34px;
        padding: 0 12px;
        font-size: 12px;
    }
    .filter-select select { font-size: 12px; }
    .toggle-pill input { width: 13px; height: 13px; }
    .result-toolbar {
        align-items: flex-start;
        margin-bottom: 12px;
    }
    .result-toolbar .eyebrow { display: none; }
    .result-toolbar h2 { font-size: 20px; margin-bottom: 3px; }
    .result-toolbar span { display: block; max-width: 210px; font-size: 11px; line-height: 1.55; }
    .result-toolbar strong { min-height: 30px; padding: 0 10px; font-size: 11px; }
    .card-meta-line { margin-bottom: 6px; }
    .card-meta-line em { font-size: 10px; padding: 3px 6px; }
    .card-meta-line small { display: none; }
}

.result-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.result-toolbar-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff7e8;
    border: 1px solid rgba(216, 199, 174, .9);
    color: var(--teal-dark);
    font-size: 12px;
    font-weight: 900;
}
@media (max-width: 760px) {
    .result-toolbar-actions {
        width: 100%;
        justify-content: space-between;
    }
    .result-toolbar-actions a {
        min-height: 30px;
        padding: 0 10px;
        font-size: 11px;
    }
}

/* UAT fix：餐飲會員頁 Topbar 選單過長導致整頁水平捲動 / 右側空白 */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.solo-dining-shell {
    max-width: calc(100vw - 44px);
    overflow-x: clip;
}

.dining-topbar {
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.dining-brand {
    flex: 0 0 auto;
}

.dining-menu {
    min-width: 0;
    flex: 1 1 auto;
    justify-content: flex-start;
    gap: clamp(18px, 2vw, 28px);
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}

.dining-menu::-webkit-scrollbar {
    display: none;
}

.dining-menu a {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

/* 會員餐飲頁已經在會員端，避免右側再出現「登入 / 註冊」造成誤會與版面外擴 */
.dining-actions {
    display: none !important;
}

.dining-hero,
.filter-strip,
.section-block,
.bottom-layout,
.dining-card-grid {
    max-width: 100%;
}

@media (max-width: 760px) {
    .solo-dining-shell {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .dining-topbar {
        overflow: visible;
    }

    .dining-menu {
        overflow-x: visible;
        scroll-snap-type: none;
    }
}

/* MEMBER_DINING_V1_COMPACT_DISCOVERY
   /member/dining 改成乾淨工作表式瀏覽：縮小 Hero、搜尋與篩選集中、餐廳改一列一筆，減少巨大卡片與空白。 */
body {
    background:
        radial-gradient(circle at 6% 0%, rgba(255,255,255,.9), transparent 28%),
        radial-gradient(circle at 92% 18%, rgba(231,246,241,.72), transparent 30%),
        linear-gradient(180deg, #fbf7f1 0%, #f6efe5 100%) !important;
    color: #111827;
}

.solo-dining-shell {
    width: min(1480px, calc(100% - 56px));
    max-width: min(1480px, calc(100vw - 56px));
    padding-bottom: 64px;
}

.dining-topbar {
    min-height: 72px;
    padding: 0 2px;
    background: rgba(255,250,243,.92);
    border-bottom: 1px solid #e6d8c6;
    overflow: visible;
}
.dining-brand {
    font-size: 34px;
    color: #d95f4a;
    letter-spacing: -.04em;
}
.dining-brand small {
    font-size: 12px;
    color: #4b4038;
}
.dining-menu {
    justify-content: flex-start;
    gap: clamp(18px, 2vw, 30px);
    font-size: 15px;
}
.dining-menu a {
    padding: 27px 0 22px;
}
.dining-menu a.active::after,
.dining-menu a:hover::after {
    bottom: 16px;
    height: 4px;
    width: 28px;
}

.public-browse-notice {
    max-width: none;
    margin: 18px 0 0;
    padding: 12px 18px;
    border-radius: 18px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 10px 28px rgba(87,63,42,.06);
}
.public-browse-notice strong {
    color: #e76551;
    font-size: 15px;
}
.public-browse-notice span {
    color: #3d3a36;
    font-size: 15px;
}

.dining-filter-form {
    margin: 22px 0 24px;
    padding: 24px;
    border: 1px solid rgba(218,203,181,.9);
    border-radius: 30px;
    background: rgba(255,252,247,.94);
    box-shadow: 0 22px 50px rgba(91,67,42,.09);
}
.dining-hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
    gap: 28px;
    align-items: end;
    padding: 0;
    border: 0;
}
.hero-copy h1 {
    font-family: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(38px, 3.8vw, 58px);
    letter-spacing: -.05em;
    line-height: 1.05;
    color: #111827;
}
.hero-copy > p:not(.eyebrow) {
    max-width: 720px;
    margin: 12px 0 18px;
    color: #5f5a54;
    font-size: 16px;
    line-height: 1.75;
}
.eyebrow {
    margin-bottom: 7px;
    color: #c95e49;
    font-size: 12px;
    letter-spacing: .16em;
}
.hero-search {
    max-width: 850px;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 12px;
    margin-bottom: 14px;
}
.search-pill,
.city-select-pill {
    height: 56px;
    min-height: 56px;
    border-radius: 18px;
    background: #fffdf9;
    box-shadow: none;
}
.search-pill {
    padding-left: 18px;
}
.search-pill button {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: #087f73;
}
.quick-filter-row {
    gap: 10px;
}
.filter-chip,
.filter-strip button,
.city-select-pill,
.filter-select,
.toggle-pill,
.reset-filter-link {
    border-color: #e3d3be;
    color: #5c4635;
    background: rgba(255,252,247,.95);
}
.filter-chip,
.filter-strip button {
    min-height: 38px;
    padding: 0 16px;
}
.filter-chip.active,
.filter-chip:hover,
.toggle-pill:has(input:checked) {
    border-color: #ef735d;
    background: #ef735d;
    color: #fff;
}

.map-panel,
.map-panel .solo-dining-live-map,
.map-panel .leaflet-container,
#soloDiningLiveMap.leaflet-container,
#soloDiningLiveMap .leaflet-container {
    height: 210px !important;
    min-height: 210px !important;
    border-radius: 22px !important;
}
.map-panel {
    box-shadow: 0 18px 38px rgba(76,58,38,.12);
}
.map-search,
.map-sort-label {
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(75,55,32,.13);
}

.advanced-filter-strip {
    margin-top: 18px;
    padding: 18px 0 0;
    border-top: 1px solid #eadccd;
    gap: 10px;
}
.filter-select,
.toggle-pill,
.reset-filter-link {
    min-height: 40px;
    padding: 0 15px;
}

.section-block {
    margin: 0 0 26px;
    padding: 24px;
    border: 1px solid rgba(218,203,181,.9);
    border-radius: 28px;
    background: rgba(255,252,247,.96);
    box-shadow: 0 18px 44px rgba(91,67,42,.075);
}
.result-toolbar {
    align-items: flex-start;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #eadccd;
}
.result-toolbar h2,
.section-heading h2 {
    font-family: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: -.04em;
    color: #111827;
}
.result-toolbar span {
    color: #746a61;
    font-weight: 800;
}
.result-toolbar-actions a,
.result-toolbar strong {
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff7ec;
}
.result-toolbar strong {
    color: #087f73;
    background: #eefaf6;
    border-color: #cce9df;
}

.dining-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.dining-card {
    display: grid;
    grid-template-columns: 178px minmax(0, 1fr);
    min-height: 174px;
    overflow: hidden;
    border-radius: 22px;
    background: #fffdf8;
    box-shadow: none;
}
.dining-card:hover {
    transform: none;
    box-shadow: 0 14px 34px rgba(91,67,42,.10);
}
.cover {
    height: 100%;
    min-height: 174px;
}
.cover img {
    height: 100%;
}
.cover span {
    left: 14px;
    bottom: 14px;
    border-radius: 999px;
    padding: 6px 10px;
}
.card-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
    grid-template-areas:
        "meta actions"
        "title actions"
        "area actions"
        "rating actions"
        "tags actions";
    gap: 4px 18px;
    align-items: center;
    padding: 18px 18px 18px 20px;
}
.card-meta-line { grid-area: meta; justify-content: flex-start; gap: 10px; margin-bottom: 0; }
.card-body h3 { grid-area: title; margin: 2px 0 2px; font-size: 24px; line-height: 1.18; letter-spacing: -.02em; color: #172033; }
.card-body p { grid-area: area; margin: 0; font-size: 15px; color: #675e55; }
.card-body strong { grid-area: rating; margin: 4px 0 0; font-size: 18px; color: #df982e; }
.tag-row { grid-area: tags; margin: 8px 0 0; }
.card-actions {
    grid-area: actions;
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    align-self: stretch;
    align-content: center;
}
.card-actions button,
.card-actions a {
    min-height: 40px;
    border-radius: 14px;
    font-size: 14px;
}
.card-actions a:nth-of-type(1) {
    color: #fff;
    border-color: #087f73;
    background: #087f73;
}
.card-actions a:nth-of-type(n+2) {
    background: #f6fbf9;
}

.bottom-layout {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.bottom-layout .section-block {
    margin: 0;
}
.cafe-gallery,
.service-mini-grid {
    gap: 12px;
}
.cafe-gallery article,
.service-mini-grid a {
    border-radius: 18px;
    box-shadow: none;
}
.cafe-gallery img {
    height: 128px;
}
.service-mini-grid a {
    min-height: 156px;
}
.service-mini-grid img,
.round-icon {
    width: 62px;
    height: 62px;
}

@media (max-width: 1120px) {
    .dining-hero {
        grid-template-columns: 1fr;
    }
    .dining-card {
        grid-template-columns: 148px minmax(0, 1fr);
    }
    .card-body {
        grid-template-columns: minmax(0, 1fr) 190px;
    }
    .bottom-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .solo-dining-shell {
        width: 100%;
        max-width: 100vw;
        padding: 0 14px 90px;
    }
    .dining-topbar {
        margin: 0 -14px;
        padding: 0 14px;
        min-height: 64px;
    }
    .dining-brand { font-size: 27px; }
    .public-browse-notice {
        margin-top: 12px;
        border-radius: 16px;
    }
    .dining-filter-form {
        margin: 14px 0 18px;
        padding: 16px;
        border-radius: 22px;
    }
    .hero-copy h1 { font-size: 34px; }
    .hero-search {
        grid-template-columns: 1fr;
    }
    .search-pill,
    .city-select-pill {
        height: 48px;
        min-height: 48px;
        border-radius: 15px;
    }
    .quick-filter-row,
    .advanced-filter-strip {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
    }
    .section-block {
        padding: 16px;
        border-radius: 22px;
    }
    .result-toolbar {
        display: grid;
        gap: 12px;
    }
    .result-toolbar h2,
    .section-heading h2 {
        font-size: 26px;
    }
    .dining-card {
        grid-template-columns: 112px minmax(0, 1fr);
        min-height: 150px;
        border-radius: 18px;
    }
    .cover { min-height: 150px; }
    .card-body {
        display: block;
        padding: 12px;
    }
    .card-body h3 {
        font-size: 17px;
    }
    .card-body p,
    .card-meta-line small {
        display: none;
    }
    .card-body strong {
        font-size: 13px;
    }
    .card-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        margin-top: 8px;
    }
    .card-actions button,
    .card-actions a {
        min-height: 32px;
        font-size: 12px;
        border-radius: 10px;
    }
    .card-actions a:nth-of-type(n+2) {
        display: none;
    }
}

/* MEMBER_DINING_V2_DENSE_LIST_UI
   再壓縮 /member/dining：首頁搜尋變工作列、餐廳列表改真正一列一筆、底部推薦改低高度，避免大卡與大片空白。 */
body {
    background: linear-gradient(180deg, #fbf6ee 0%, #f7efe5 100%) !important;
}

.solo-dining-shell {
    width: min(1500px, calc(100% - 64px)) !important;
    max-width: min(1500px, calc(100vw - 64px)) !important;
    padding-bottom: 46px !important;
}

.dining-topbar {
    min-height: 66px !important;
    margin-bottom: 0 !important;
}
.dining-brand {
    font-size: 31px !important;
}
.dining-brand small {
    font-size: 11px !important;
}
.dining-menu {
    gap: clamp(16px, 1.8vw, 26px) !important;
    font-size: 14px !important;
}
.dining-menu a {
    padding-top: 23px !important;
    padding-bottom: 19px !important;
}
.dining-menu a.active::after,
.dining-menu a:hover::after {
    bottom: 12px !important;
}

.public-browse-notice {
    margin-top: 14px !important;
    padding: 10px 18px !important;
    border-radius: 16px !important;
    box-shadow: none !important;
}
.public-browse-notice strong,
.public-browse-notice span {
    font-size: 14px !important;
}

.dining-filter-form {
    margin: 16px 0 18px !important;
    padding: 18px 22px !important;
    border-radius: 24px !important;
    box-shadow: 0 12px 28px rgba(91,67,42,.055) !important;
}
.dining-hero {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 520px) !important;
    gap: 24px !important;
    align-items: center !important;
}
.hero-copy h1 {
    font-size: clamp(34px, 3vw, 48px) !important;
    line-height: 1.03 !important;
    letter-spacing: -.055em !important;
}
.hero-copy > p:not(.eyebrow) {
    margin: 9px 0 14px !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
}
.eyebrow {
    margin-bottom: 5px !important;
    font-size: 11px !important;
}
.hero-search {
    grid-template-columns: minmax(0, 1fr) 136px !important;
    max-width: 760px !important;
    margin-bottom: 10px !important;
}
.search-pill,
.city-select-pill {
    height: 48px !important;
    min-height: 48px !important;
    border-radius: 15px !important;
}
.search-pill {
    padding-left: 14px !important;
}
.search-pill input {
    font-size: 14px !important;
}
.search-pill button {
    width: 40px !important;
    height: 40px !important;
    border-radius: 13px !important;
}
.search-pill button::after {
    font-size: 20px !important;
}
.quick-filter-row {
    gap: 8px !important;
}
.filter-chip,
.filter-strip button,
.filter-select,
.toggle-pill,
.reset-filter-link {
    min-height: 34px !important;
    padding: 0 13px !important;
    font-size: 13px !important;
}
.map-panel,
.map-panel .solo-dining-live-map,
.map-panel .leaflet-container,
#soloDiningLiveMap.leaflet-container,
#soloDiningLiveMap .leaflet-container {
    height: 180px !important;
    min-height: 180px !important;
    border-radius: 18px !important;
}
.map-search {
    top: 12px !important;
    right: 12px !important;
    padding: 8px 13px !important;
    font-size: 12px !important;
}
.map-sort-label {
    right: 12px !important;
    bottom: 12px !important;
    padding: 7px 12px !important;
    font-size: 12px !important;
}
.advanced-filter-strip {
    margin-top: 13px !important;
    padding-top: 13px !important;
    gap: 8px !important;
}

.section-block {
    margin-bottom: 18px !important;
    padding: 18px 22px !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 26px rgba(91,67,42,.055) !important;
}
.result-toolbar {
    align-items: center !important;
    padding-bottom: 12px !important;
    margin-bottom: 12px !important;
}
.result-toolbar h2,
.section-heading h2 {
    font-size: 28px !important;
    line-height: 1.1 !important;
}
.result-toolbar span {
    font-size: 13px !important;
}
.result-toolbar-actions {
    gap: 8px !important;
}
.result-toolbar-actions a,
.result-toolbar strong {
    min-height: 31px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
}

.dining-card-grid {
    gap: 10px !important;
}
.dining-card {
    grid-template-columns: 138px minmax(0, 1fr) !important;
    min-height: 128px !important;
    border-radius: 18px !important;
    box-shadow: none !important;
}
.dining-card:hover {
    transform: none !important;
    box-shadow: 0 8px 22px rgba(91,67,42,.08) !important;
}
.cover {
    height: 128px !important;
    min-height: 128px !important;
}
.cover img {
    width: 138px !important;
    height: 128px !important;
    object-fit: cover !important;
    object-position: center center !important;
}
.cover span {
    left: 10px !important;
    bottom: 9px !important;
    padding: 4px 8px !important;
    font-size: 11px !important;
}
.card-body {
    grid-template-columns: minmax(260px, 1fr) minmax(300px, 360px) !important;
    grid-template-areas:
        "meta actions"
        "title actions"
        "area actions"
        "rating actions"
        "tags actions" !important;
    gap: 2px 16px !important;
    padding: 12px 14px 12px 16px !important;
}
.card-meta-line {
    gap: 8px !important;
}
.card-meta-line em {
    padding: 3px 8px !important;
    font-size: 11px !important;
}
.card-meta-line small {
    font-size: 11px !important;
}
.card-body h3 {
    margin: 0 !important;
    font-size: 22px !important;
    line-height: 1.12 !important;
}
.card-body p {
    font-size: 13px !important;
}
.card-body strong {
    margin-top: 2px !important;
    font-size: 15px !important;
}
.tag-row {
    gap: 5px !important;
    margin-top: 5px !important;
}
.tag-row em {
    padding: 4px 7px !important;
    font-size: 11px !important;
}
.tag-row em:nth-child(n+5) {
    display: none !important;
}
.card-actions {
    grid-template-columns: 1fr 1fr !important;
    gap: 7px !important;
    align-self: center !important;
    align-content: center !important;
}
.card-actions button,
.card-actions a {
    min-height: 34px !important;
    border-radius: 11px !important;
    font-size: 13px !important;
    padding: 0 10px !important;
}
.card-actions button {
    grid-column: auto !important;
}
.card-actions a:nth-of-type(1) {
    background: #087f73 !important;
    color: #fff !important;
    border-color: #087f73 !important;
}
.card-actions a:nth-of-type(n+2),
.card-actions button {
    background: #f7fcfa !important;
}

.bottom-layout {
    grid-template-columns: 1fr 1fr !important;
    gap: 18px !important;
    margin-top: 8px !important;
}
.bottom-layout .section-block {
    padding: 18px !important;
    border-radius: 22px !important;
}
.section-heading.compact {
    align-items: center !important;
    margin-bottom: 12px !important;
}
.section-heading.compact h2 {
    font-size: 24px !important;
}
.cafe-gallery,
.service-mini-grid {
    gap: 10px !important;
}
.cafe-gallery article,
.service-mini-grid a {
    border-radius: 14px !important;
}
.cafe-gallery img {
    height: 96px !important;
}
.cafe-gallery strong {
    padding-top: 9px !important;
    font-size: 14px !important;
}
.cafe-gallery span {
    padding-bottom: 10px !important;
    font-size: 11px !important;
}
.service-mini-grid a {
    min-height: 126px !important;
    padding: 14px 10px !important;
}
.service-mini-grid img,
.round-icon {
    width: 52px !important;
    height: 52px !important;
}
.round-icon {
    font-size: 26px !important;
}
.service-mini-grid strong {
    font-size: 15px !important;
}
.service-mini-grid small,
.service-mini-grid span:last-child {
    font-size: 11px !important;
}

@media (max-width: 1120px) {
    .dining-hero {
        grid-template-columns: 1fr !important;
    }
    .map-panel,
    .map-panel .solo-dining-live-map,
    .map-panel .leaflet-container,
    #soloDiningLiveMap.leaflet-container,
    #soloDiningLiveMap .leaflet-container {
        height: 160px !important;
        min-height: 160px !important;
    }
    .card-body {
        grid-template-columns: minmax(0, 1fr) 280px !important;
    }
    .card-actions {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 900px) {
    .solo-dining-shell {
        width: min(100%, calc(100vw - 28px)) !important;
        max-width: calc(100vw - 28px) !important;
    }
    .dining-filter-form,
    .section-block {
        padding: 16px !important;
    }
    .result-toolbar {
        display: grid !important;
        gap: 10px !important;
        align-items: start !important;
    }
    .result-toolbar-actions {
        justify-content: flex-start !important;
    }
    .dining-card {
        grid-template-columns: 118px minmax(0, 1fr) !important;
        min-height: 124px !important;
    }
    .cover,
    .cover img {
        width: 118px !important;
        height: 124px !important;
        min-height: 124px !important;
    }
    .card-body {
        display: block !important;
        padding: 12px !important;
    }
    .card-body h3 {
        font-size: 18px !important;
    }
    .tag-row {
        display: none !important;
    }
    .card-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        margin-top: 8px !important;
    }
    .card-actions button,
    .card-actions a {
        min-height: 31px !important;
        font-size: 12px !important;
    }
    .bottom-layout {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 760px) {
    .solo-dining-shell {
        padding-left: 12px !important;
        padding-right: 12px !important;
        padding-bottom: 88px !important;
    }
    .dining-filter-form {
        margin-top: 12px !important;
    }
    .hero-copy h1 {
        font-size: 30px !important;
    }
    .hero-copy > p:not(.eyebrow) {
        font-size: 13px !important;
    }
    .dining-card {
        grid-template-columns: 96px minmax(0, 1fr) !important;
        min-height: 116px !important;
    }
    .cover,
    .cover img {
        width: 96px !important;
        height: 116px !important;
        min-height: 116px !important;
    }
    .cover span {
        font-size: 10px !important;
        left: 7px !important;
        bottom: 7px !important;
    }
    .card-meta-line small,
    .card-body p {
        display: none !important;
    }
    .card-body h3 {
        font-size: 16px !important;
    }
    .card-actions a:nth-of-type(n+2),
    .card-actions button {
        display: none !important;
    }
    .bottom-layout {
        display: grid !important;
        gap: 14px !important;
    }
    .cafe-gallery,
    .service-mini-grid {
        grid-template-columns: repeat(3, minmax(118px, 1fr)) !important;
        overflow-x: auto !important;
    }
}

/* UAT: 會員端餐廳列表評價數同步 */
.dining-card-rating.dining-rating-open {
    cursor: pointer;
}
.dining-card-rating.dining-rating-open:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}
.review-comments-btn[hidden] {
    display: none !important;
}

/* UAT: 星星評分與查看留言都可開啟會員留言視窗 */
button.dining-card-rating.dining-rating-open {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    text-align: left;
}
button.dining-card-rating.dining-rating-open:hover,
button.dining-card-rating.dining-rating-open:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
    outline: none;
}
.dining-card-rating.dining-rating-open {
    cursor: pointer;
}
.dining-card-rating.dining-rating-open:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}
.review-comments-btn[hidden] {
    display: none !important;
}
.dining-review-viewer[hidden] {
    display: none !important;
}
.dining-review-viewer {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(12px, 3vw, 28px);
}
.dining-review-viewer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 18, 25, 0.58);
    backdrop-filter: blur(5px);
}
.dining-review-viewer-panel {
    position: relative;
    width: min(980px, calc(100vw - 48px));
    max-height: min(86vh, 780px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    background: #fffaf3;
    border: 1px solid rgba(197, 164, 119, 0.42);
    border-radius: 28px;
    box-shadow: 0 28px 80px rgba(20, 33, 43, 0.24);
}
.dining-review-viewer-header {
    padding: 34px 84px 20px 44px;
    border-bottom: 1px solid rgba(197, 164, 119, 0.28);
    background: linear-gradient(180deg, #fffaf3 0%, #fffdf8 100%);
}
.dining-review-viewer-kicker {
    display: inline-block;
    color: #e65c49;
    font-weight: 900;
    letter-spacing: .14em;
    margin-bottom: 8px;
}
.dining-review-viewer-panel h2 {
    margin: 0;
    color: #132033;
    font-size: clamp(30px, 4.2vw, 46px);
    line-height: 1.12;
    word-break: keep-all;
}
.dining-review-viewer-summary {
    margin: 12px 0 0;
    color: #6a625b;
    font-size: 17px;
    font-weight: 800;
}
.dining-review-viewer-close {
    position: absolute;
    top: 28px;
    right: 34px;
    z-index: 2;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 1px solid #bfe7df;
    background: #effbf8;
    color: #0b625b;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
}
.dining-review-viewer-close:hover,
.dining-review-viewer-close:focus-visible {
    background: #def7f1;
    outline: 3px solid rgba(13, 106, 96, .16);
}
.dining-review-viewer-list {
    min-height: 0;
    overflow-y: auto;
    padding: 22px 44px;
    display: grid;
    align-content: start;
    gap: 16px;
    scrollbar-gutter: stable;
}
.dining-review-viewer-card {
    background: #fff;
    border: 1px solid rgba(197, 164, 119, 0.42);
    border-radius: 22px;
    padding: 22px 24px;
}
.dining-review-viewer-card-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}
.dining-review-viewer-card-head strong {
    color: #132033;
    font-size: 24px;
    font-weight: 900;
}
.dining-review-viewer-card-head em {
    color: #d98918;
    font-size: 24px;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}
.dining-review-viewer-card small {
    display: block;
    margin-top: 6px;
    color: #736961;
    font-weight: 800;
}
.dining-review-viewer-card p {
    margin: 20px 0;
    color: #4e4843;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.7;
}
.dining-review-viewer-scores {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.dining-review-viewer-scores span {
    display: inline-flex;
    border-radius: 999px;
    background: #fff1e9;
    color: #ad4e3e;
    padding: 8px 14px;
    font-weight: 900;
}
.dining-review-viewer-empty {
    border: 1px dashed rgba(197, 164, 119, .65);
    border-radius: 22px;
    padding: 34px;
    color: #756b62;
    font-weight: 900;
    text-align: center;
}
.dining-review-viewer-footer {
    padding: 0 44px 28px;
    background: #fffaf3;
}
.dining-review-viewer-write {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 12px 22px;
    background: #105b4f;
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}
body.dining-review-viewer-open {
    overflow: hidden;
}
@media (max-width: 720px) {
    .dining-review-viewer {
        padding: 10px;
        align-items: stretch;
    }
    .dining-review-viewer-panel {
        width: 100%;
        max-height: calc(100dvh - 20px);
        border-radius: 22px;
    }
    .dining-review-viewer-header {
        padding: 26px 72px 16px 22px;
    }
    .dining-review-viewer-panel h2 {
        font-size: 30px;
    }
    .dining-review-viewer-summary {
        font-size: 15px;
    }
    .dining-review-viewer-close {
        top: 18px;
        right: 18px;
        width: 48px;
        height: 48px;
    }
    .dining-review-viewer-list {
        padding: 18px 22px;
    }
    .dining-review-viewer-card {
        padding: 18px;
    }
    .dining-review-viewer-card-head strong,
    .dining-review-viewer-card-head em {
        font-size: 20px;
    }
    .dining-review-viewer-card p {
        font-size: 16px;
    }
    .dining-review-viewer-footer {
        padding: 0 22px 22px;
    }
}

/* MEMBER_REVIEW_MODAL_MERCHANT_REPLY_VISIBLE_FIX */
.dining-review-viewer-merchant-reply {
    margin: 18px 0 8px;
    padding: 16px 18px;
    border: 1px solid rgba(12, 103, 94, .14);
    border-radius: 18px;
    background: rgba(239, 251, 248, .86);
    color: #194943;
}
.dining-review-viewer-merchant-reply strong {
    display: block;
    margin-bottom: 8px;
    color: #0d6a60;
    font-size: 14px;
    font-weight: 900;
}
.dining-review-viewer-merchant-reply p {
    margin: 0;
    color: #44504e;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.7;
}
.dining-review-viewer-merchant-reply small {
    display: block;
    margin-top: 8px;
    color: #6d7b78;
    font-size: 12px;
    font-weight: 800;
}

/* MEMBER_REVIEW_MODAL_PINNED_VISIBLE_FIX */
.dining-review-viewer-pinned {
    display: inline-flex;
    margin-left: 10px;
    vertical-align: middle;
    align-items: center;
    border-radius: 999px;
    padding: 5px 10px;
    background: #fff4dc;
    color: #c77400;
    font-size: 13px;
    font-weight: 900;
}
.dining-review-viewer-pinned::before {
    content: '📌';
    margin-right: 4px;
}
