:root {
    --primary: #ff8a5c;
    --primary-dark: #e5642f;
    --bg: #fdf8f4;
    --card-bg: #ffffff;
    --text: #33291f;
    --muted: #8a7d6e;
    --border: #eee0d3;
    --warn-bg: #fff4e5;
    --warn-text: #92600b;
    --error-bg: #fdecea;
    --error-text: #b3261e;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

.site-header {
    padding: 32px 24px 16px;
    text-align: center;
}
.site-header.small { text-align: left; padding: 16px 24px; }
.site-header h1 { margin: 0 0 6px; font-size: 26px; }
.subtitle { color: var(--muted); margin: 0; }
.back-link { color: var(--primary-dark); text-decoration: none; font-weight: 600; }

.banner {
    margin: 0 24px 16px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
}
.banner-demo { background: var(--warn-bg); color: var(--warn-text); }
.banner-error { background: var(--error-bg); color: var(--error-text); }

.filter-bar {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 0 24px 24px;
    flex-wrap: wrap;
}
.filter-bar select, .filter-bar button {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 14px;
}
.filter-bar button {
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
}
.filter-bar button:hover { background: var(--primary-dark); }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    padding: 0 24px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    display: block;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.06); }

.card-thumb { height: 150px; background: #f3ece3; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 36px; color: #d8c8b3;
}
.thumb-placeholder.large { font-size: 56px; }

.card-body { padding: 14px 16px 18px; }
.card-body h2 { font-size: 16px; margin: 0 0 4px; }
.addr { font-size: 13px; color: var(--muted); margin: 0 0 10px; }

.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badges.large { margin: 16px 0; }
.badge {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 12px; padding: 5px 10px;
    border-radius: 999px;
    background: #f6efe6;
    color: #7a5c33;
    white-space: nowrap;
}
.badge-no_info, .badge-see_detail { background: #f1f1f1; color: #666; }

.stale-warning {
    margin-top: 8px;
    font-size: 12px;
    color: var(--warn-text);
}

.empty { text-align: center; color: var(--muted); grid-column: 1 / -1; padding: 60px 0; }

.detail {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 24px 60px;
}
.detail-thumb { border-radius: 14px; overflow: hidden; height: 220px; background: #f3ece3; margin-bottom: 16px; }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail h1 { font-size: 22px; margin: 0 0 6px; }

.notice-box, .contact-box {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 18px;
    margin-top: 16px;
}
.notice-box h2, .contact-box h2 { font-size: 15px; margin: 0 0 8px; }
.no-info { color: var(--muted); font-size: 14px; }

.call-btn, .map-btn {
    display: inline-block;
    margin: 4px 8px 0 0;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}
.call-btn { background: var(--primary); color: #fff; }
.map-btn { background: #f1f1f1; color: var(--text); }

.disclaimer {
    margin-top: 20px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
    border-top: 1px dashed var(--border);
    padding-top: 12px;
}

.site-footer {
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    padding: 20px 24px 40px;
}
