/* ============================================================
   place.css — 공개(비로그인) 식당 상세 페이지 (/place/{id})
   검색 유입 랜딩. 밝은 톤 + 가입 유도.
   ============================================================ */
:root {
    --blue: #1A6BFF;
    --ink-900: #111827;
    --ink-700: #374151;
    --ink-500: #6b7280;
    --ink-300: #d1d5db;
    --ink-100: #f3f4f6;
    --line: #eceef2;
    --amber: #FF9F1C;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
.pp-body {
    background: #fff; color: var(--ink-900);
    font-family: -apple-system, 'Pretendard', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    padding-top: var(--app-safe-top, env(safe-area-inset-top, 0px));
}
.pp-wrap { max-width: 640px; margin: 0 auto; padding: 16px 18px 60px; }

.pp-brand { display: inline-block; margin-bottom: 18px; }
.pp-brand img { height: 22px; display: block; }

/* 헤더 */
.pp-head { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.pp-name { font-size: 26px; font-weight: 800; letter-spacing: -.5px; }
.pp-cat { margin-top: 6px; font-size: 13.5px; color: var(--ink-500); font-weight: 600; }
.pp-rating { display: flex; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.pp-stars { position: relative; display: inline-block; font-size: 19px; line-height: 1; letter-spacing: 2px; }
.pp-stars__off { color: var(--ink-300); }
.pp-stars__on {
    position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap;
    color: var(--amber);
}
.pp-score { font-size: 18px; font-weight: 800; color: var(--ink-900); }
.pp-score small { font-size: 12px; color: var(--ink-500); font-weight: 700; }
.pp-count { font-size: 13px; color: var(--ink-500); font-weight: 600; }
.pp-rating--none { font-size: 13.5px; color: var(--ink-500); }

/* 카드 */
.pp-card { margin-top: 20px; }
.pp-h2 { font-size: 16px; font-weight: 800; margin-bottom: 12px; }
.pp-h2 span { color: var(--blue); }
.pp-addr, .pp-tel { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--ink-700); margin-bottom: 8px; }
.pp-addr svg, .pp-tel svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--ink-500); }
.pp-tel a { color: var(--blue); text-decoration: none; }
.pp-map { height: 240px; border-radius: 14px; overflow: hidden; margin: 12px 0 8px; background: var(--ink-100); }
.pp-maplink { display: inline-block; font-size: 13px; font-weight: 700; color: var(--blue); text-decoration: none; }

/* 리뷰 */
.pp-reviews { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.pp-review { border: 1px solid var(--line); border-radius: 14px; padding: 13px 15px; }
.pp-review__top { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.pp-review__nick { font-size: 13.5px; font-weight: 700; }
.pp-review__score { font-size: 12px; font-weight: 800; color: var(--blue); }
.pp-review__visit { font-size: 11.5px; color: var(--ink-500); font-weight: 600; }
.pp-review__memo { font-size: 14px; color: var(--ink-700); line-height: 1.6; }

/* 가입 유도 */
.pp-cta {
    margin-top: 26px; text-align: center;
    background: linear-gradient(180deg, #f6f9ff, #eef4ff);
    border: 1px solid #dfe9ff; border-radius: 18px; padding: 26px 20px;
}
.pp-cta b { display: block; font-size: 18px; font-weight: 800; }
.pp-cta p { margin-top: 8px; font-size: 13.5px; color: var(--ink-500); line-height: 1.6; }
.pp-btn {
    display: inline-block; margin-top: 16px; padding: 14px 28px;
    background: var(--blue); color: #fff; border-radius: 12px;
    font-size: 15px; font-weight: 800; text-decoration: none;
}
.pp-btn:active { transform: scale(.98); }

/* 근처 맛집 */
.pp-nearby { list-style: none; display: flex; flex-direction: column; }
.pp-nearby li + li { border-top: 1px solid var(--line); }
.pp-nearby a { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 13px 2px; text-decoration: none; color: inherit; }
.pp-nearby__name { font-size: 14.5px; font-weight: 700; }
.pp-nearby__cat { font-size: 12px; color: var(--ink-500); font-weight: 600; flex-shrink: 0; }

.pp-foot { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-500); text-align: center; }
.pp-foot a { color: var(--blue); font-weight: 700; text-decoration: none; }

/* 없음 */
.pp-empty { text-align: center; padding: 60px 20px; }
.pp-empty h1 { font-size: 22px; font-weight: 800; }
.pp-empty p { margin: 10px 0 22px; font-size: 14px; color: var(--ink-500); }
