* { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #000; color: #fff; min-height: 100vh; line-height: 1.6; }
        a { text-decoration: none; color: #ff6b00; }
        
        .header { background: #000; padding: 12px 15px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #222; position: sticky; top: 0; z-index: 100; }
        .header-left { display: flex; align-items: center; gap: 15px; }
        .back-btn { color: #b8b8b8; font-size: 20px; text-decoration: none; }
        .logo { font-size: 20px; font-weight: 700; text-decoration: none; }
        .logo span:first-child { color: #ff6b00; }
        .logo span:last-child { color: #fff; }
        .header-right { display: flex; align-items: center; gap: 10px; }
        
        .menu-btn { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }
        
        .shop-views-bar { background: #111; padding: 8px 15px; font-size: 12px; color: #b8b8b8; border-bottom: 1px solid #222; display: flex; justify-content: space-between; align-items: center; }
        
        
        .open-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 12px; font-size: 11px; font-weight: 600; }
        .open-badge.open { background: #14532d; color: #4ade80; }
        .open-badge.open::before { content: ''; width: 6px; height: 6px; background: #4ade80; border-radius: 50%; animation: blink 1.5s infinite; }
        .open-badge.closed { background: #3d1a1a; color: #f87171; }
        .hiring-banner { display: flex; align-items: center; gap: 10px; margin: 10px 15px 3px; padding: 12px 16px; border-radius: 10px; background: linear-gradient(135deg, rgba(255,107,0,0.1), rgba(255,107,0,0.04)); border: 1px solid rgba(255,107,0,0.2); text-decoration: none; color: inherit; transition: all 0.2s; }
        .hiring-banner:hover { border-color: rgba(255,107,0,0.4); }
        .hiring-banner-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff6b00; flex-shrink: 0; animation: blink 1.5s infinite; }
        .hiring-banner-text { font-size: 12px; color: #ff8c3a; font-weight: 600; }
        .hiring-banner-arrow { margin-left: auto; color: #ff6b00; font-size: 14px; }
        .status-badge-private { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 12px; font-size: 11px; font-weight: 600; background: #3d1a3d; color: #c084fc; }
        .status-badge-private::before { content: '🔒'; font-size: 10px; }
        @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
        
        .shop-content { padding: 15px 15px; word-break: keep-all; }
        .shop-content h1, .shop-content h2, .shop-content h3 { color: #ff6b00; margin: 20px 0 10px; word-break: keep-all; }
        /* 2026-09-05: keep-all 은 어절 사이 공백이 있는 한국어용. 공백이 없는 일본어·중국어에서는
           줄바꿈 지점이 사라져 본문이 가로로 삐져나간다(390px 뷰포트 실측: ja docW 645 · zh 480 · zh_hant 480).
           해당 언어에서만 해제 — ko 는 keep-all 유지. :lang() 은 <html lang> 을 상속받아 판정. */
        .shop-content:lang(ja), .shop-content:lang(zh),
        .shop-content:lang(ja) *, .shop-content:lang(zh) * { word-break: normal; overflow-wrap: anywhere; }
        .shop-content h2:first-child, .shop-content h3:first-child { margin-top: 0; }
        .shop-content p { margin-bottom: 15px; color: #ddd; }
        .shop-content ul, .shop-content ol { margin: 15px 0; padding-left: 20px; }
        .shop-content li { margin-bottom: 8px; color: #ccc; }
        .shop-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 15px 0; }
        .shop-content table { width: 100%; border-collapse: collapse; margin: 15px 0; }
        .shop-content th, .shop-content td { border: 1px solid #333; padding: 10px; text-align: left; }
        .shop-content th { background: #1a1a1a; color: #ff6b00; }
        /* CMS Custom Container Override - prevent shop-content defaults from overriding CMS custom styles */
        .shop-content [class*="-container"] h1,
        .shop-content [class*="-container"] h2,
        .shop-content [class*="-container"] h3 { color: unset; }
        .shop-content [class*="-container"] p { margin-bottom: unset; color: unset; }
        .shop-content [class*="-container"] ul,
        .shop-content [class*="-container"] ol { margin: unset; padding-left: unset; }
        .shop-content [class*="-container"] li { margin-bottom: unset; color: unset; }
        .shop-content [class*="-container"] img { border-radius: unset; margin: unset; }
        .shop-content [class*="-container"] table { margin: unset; }
        .shop-content [class*="-container"] th,
        .shop-content [class*="-container"] td { border: unset; padding: unset; background: unset; color: unset; }        
        /* Shop Info Section */
        .shop-info-section { background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%); border: 1px solid #333; border-radius: 12px; padding: 15px 10px; margin: 15px 8px; }
        .shop-info-title { font-size: 16px; color: #ff6b00; margin-bottom: 15px; font-weight: 600; }
        .shop-info-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid #222; }
        .shop-info-item:last-child { border-bottom: none; padding-bottom: 0; }
        .shop-info-label { min-width: 80px; font-size: 13px; color: #b8b8b8; flex-shrink: 0; }
        .shop-info-value { font-size: 14px; color: #fff; word-break: break-word; }
        .phone-link { color: #4ade80; text-decoration: none; }
        .phone-link:hover { text-decoration: underline; }
        .shop-info-maps-link { display: inline-flex; align-items: center; gap: 8px; background: #ff6b00; color: #000; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 600; transition: background 0.2s; }
        .shop-info-maps-link:hover { background: #ff8533; }

        
        /* Google Reviews Section */
        .google-reviews-section { padding: 15px 8px; border-top: 1px solid #333; }
        .google-reviews-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
        .google-reviews-title { font-size: 18px; color: #ff6b00; display: flex; align-items: center; gap: 8px; }
        .google-reviews-rating { display: flex; align-items: center; gap: 10px; }
        .google-reviews-stars { color: #fbbf24; font-size: 16px; }
        .google-reviews-score { font-size: 20px; font-weight: bold; color: #fff; }
        .google-reviews-count { font-size: 13px; color: #b8b8b8; }
        .google-reviews-list { display: flex; flex-direction: column; gap: 15px; }
        .google-review-item { background: #1a1a1a; border: 1px solid #333; border-radius: 8px; padding: 15px; }
        .google-review-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
        .google-review-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #ff6b00, #d85800); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: bold; font-size: 16px; }
        .google-review-author-info { display: flex; flex-direction: column; gap: 3px; margin-left: 12px; }
        .google-review-author-name { font-size: 14px; font-weight: 600; color: #fff; }
        .google-review-rating { display: flex; align-items: center; gap: 8px; }
        .google-review-stars { color: #fbbf24; font-size: 14px; }
        .google-review-date { font-size: 12px; color: #b8b8b8; }
        .google-review-text { color: #ccc; line-height: 1.6; font-size: 14px; }
        .google-reviews-footer { margin-top: 15px; text-align: center; }
        .google-reviews-link { display: inline-block; padding: 10px 20px; background: #1a1a1a; border: 1px solid #333; border-radius: 6px; color: #ff6b00; text-decoration: none; font-size: 14px; transition: all 0.2s; }
        .google-reviews-link:hover { background: #252525; border-color: #ff6b00; }
        
        /* Pro Reviews Section */
        .pro-reviews-section { padding: 15px 8px; border-top: 1px solid #333; }
        .pro-reviews-title { font-size: 18px; color: #ff6b00; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
        .pro-reviews-count { background: #ff6b00; color: #000; font-size: 12px; padding: 2px 8px; border-radius: 10px; }
        .pro-reviews-list { display: flex; flex-direction: column; gap: 15px; }
        
        .pro-review-item { background: linear-gradient(135deg, #1a1208 0%, #0f0f0f 100%); border: 1px solid #3d2814; border-radius: 12px; padding: 16px; position: relative; }
        .pro-review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
        .pro-review-author { display: flex; align-items: center; gap: 10px; }
        .pro-review-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #ff6b00, #ff8533); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: #fff; }
        .pro-review-author-info { display: flex; flex-direction: column; gap: 2px; }
        .pro-review-author-name { font-size: 14px; font-weight: 600; color: #fff; }
        .pro-review-badge { font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 3px; color: #fff; display: inline-block; }
        .pro-review-date { font-size: 11px; color: #b8b8b8; }
        
        .pro-review-title { font-size: 15px; font-weight: 600; color: #ff6b00; margin-bottom: 8px; line-height: 1.4; }
        .pro-review-title-link { text-decoration: none; display: block; }
        .pro-review-title-link:hover .pro-review-title { text-decoration: underline; }
        .pro-review-content { font-size: 13px; color: #b8b8b8; line-height: 1.7; padding: 12px 14px; background: rgba(255,255,255,0.03); border-left: 3px solid #ff6b00; border-radius: 0 6px 6px 0; margin-bottom: 2px; }
        .pro-review-content.expanded { display: block; -webkit-line-clamp: unset; }
        .pro-review-more { color: #ff6b00; font-size: 12px; cursor: pointer; margin-top: 8px; display: inline-block; }
        
        .pro-review-images { display: flex; gap: 6px; margin-bottom: 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
        .pro-review-images::-webkit-scrollbar { display: none; }
        .pro-review-images img { width: 90px; height: 90px; object-fit: cover; border-radius: 6px; flex-shrink: 0; cursor: pointer; }
        
        .pro-review-link { display: inline-block; margin-top: 10px; font-size: 13px; color: #ff6b00; text-decoration: none; font-weight: 500; }
        .pro-review-link:hover { color: #ffaa66; text-decoration: underline; }
        
        .no-pro-reviews { text-align: center; padding: 30px; color: #b8b8b8; font-size: 14px; background: #111; border-radius: 10px; }
        
        /* Login Notice */
        .login-required { background: #111; border: 1px solid #333; border-radius: 10px; padding: 25px; text-align: center; margin-bottom: 25px; }
        .login-required-text { font-size: 14px; color: #b8b8b8; margin-bottom: 15px; }
        .login-required-btn { display: inline-block; background: #ff6b00; color: #000; padding: 10px 24px; border-radius: 6px; font-size: 14px; font-weight: 600; text-decoration: none; }
        .login-required-btn:hover { background: #ff8533; }
        
        .comments-section { padding: 15px 8px; border-top: 1px solid #333; }
        .comments-title { font-size: 18px; color: #ff6b00; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
        .comments-count { background: #ff6b00; color: #000; font-size: 12px; padding: 2px 8px; border-radius: 10px; }
        
        .comment-form { background: #111; border: 1px solid #333; border-radius: 10px; padding: 20px; margin-bottom: 25px; }
        .comment-form-title { font-size: 14px; color: #b8b8b8; margin-bottom: 15px; }
        .comment-input-group { margin-bottom: 15px; }
        .comment-input-group label { display: block; font-size: 12px; color: #b8b8b8; margin-bottom: 6px; }
        .comment-input-group input, .comment-input-group textarea { width: 100%; background: #1a1a1a; border: 1px solid #333; border-radius: 8px; padding: 12px; color: #fff; font-size: 16px; }
        .comment-input-group textarea { min-height: 100px; resize: vertical; }
        .comment-input-group input:focus, .comment-input-group textarea:focus { outline: none; border-color: #ff6b00; }
        .comment-input-group input:focus-visible, .comment-input-group textarea:focus-visible { outline: 2px solid #ff6b00; outline-offset: 2px; }
        
        .captcha-group { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; padding: 12px; background: #1a1a1a; border-radius: 8px; }
        .captcha-group label { font-size: 13px; color: #ff6b00; white-space: nowrap; margin: 0; }
        .captcha-group input { width: 80px; background: #111; border: 1px solid #333; border-radius: 6px; padding: 8px 12px; color: #fff; font-size: 16px; text-align: center; }
        .captcha-group input:focus { outline: none; border-color: #ff6b00; }
        .captcha-group input:focus-visible { outline: 2px solid #ff6b00; outline-offset: 2px; }
        
        .comment-error { background: #3d1a1a; border: 1px solid #ff4444; border-radius: 6px; padding: 10px; margin-bottom: 15px; font-size: 13px; color: #fca5a5; }
        .comment-submit { background: #ff6b00; border: none; border-radius: 8px; padding: 12px 24px; color: #000; font-size: 14px; font-weight: 600; cursor: pointer; }
        .comment-submit:hover { background: #ff8533; }
        
        .comment-list { display: flex; flex-direction: column; gap: 15px; }
        .comment-item { background: #111; border: 1px solid #222; border-radius: 10px; padding: 15px; }
        .comment-item.hidden-comment { border-color: #333; background: #0a0a0a; }
        .comment-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
        .comment-author { font-size: 14px; font-weight: 600; color: #ff6b00; }
        .comment-date { font-size: 11px; color: #b8b8b8; }
        .hidden-badge { display: inline-block; font-size: 10px; padding: 2px 6px; background: #333; color: #b8b8b8; border-radius: 4px; margin-left: 8px; }
        .comment-content { font-size: 14px; color: #ccc; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
        .comment-translated { font-size: 10px; color: #4ade80; margin-top: 5px; }
        .comment-lang-row { display: flex; gap: 10px; margin-bottom: 15px; }
        .comment-lang-select { background: #1a1a1a; border: 1px solid #333; border-radius: 8px; padding: 12px; color: #fff; font-size: 16px; cursor: pointer; min-width: 90px; }
        .comment-lang-select:focus { outline: none; border-color: #ff6b00; }
        .comment-lang-select:focus-visible { outline: 2px solid #ff6b00; outline-offset: 2px; }
        
        .owner-reply { margin-top: 12px; padding: 12px; background: #0f2d0f; border-radius: 8px; border-left: 3px solid #4ade80; }
        .owner-reply-label { font-size: 11px; color: #4ade80; margin-bottom: 5px; display: flex; align-items: center; gap: 5px; }
        .owner-reply-content { font-size: 13px; color: #ccc; line-height: 1.5; }
        
        .no-comments { text-align: center; padding: 30px; color: #b8b8b8; font-size: 14px; }
        
        .add-comment-btn { display: flex; align-items: center; gap: 8px; background: #1a1a1a; border: 1px solid #333; color: #fff; padding: 12px 20px; border-radius: 25px; cursor: pointer; font-size: 14px; margin-bottom: 15px; }
        .add-comment-btn:hover { border-color: #ff6b00; }
        
        .comment-form-wrapper { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
        .comment-form-wrapper.open { max-height: 500px; }
        
        .form-buttons { display: flex; gap: 10px; }
        .comment-cancel { background: #333; color: #fff; border: none; padding: 12px 25px; border-radius: 25px; cursor: pointer; font-size: 14px; }
        
        .comment-actions { margin-top: 10px; }
        .reply-btn { background: none; border: none; color: #b8b8b8; font-size: 12px; cursor: pointer; padding: 5px 10px; border-radius: 15px; }
        .reply-btn:hover { background: #222; color: #ff6b00; }
        .delete-btn:hover { color: #ff4444; }
        
        .replies { margin-top: 15px; padding-left: 20px; border-left: 2px solid #333; }
        .reply-item { background: #0a0a0a; border-radius: 8px; padding: 12px; margin-top: 10px; }
        
        .reply-form-wrapper { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; margin-top: 10px; }
        .reply-form-wrapper.open { max-height: 400px; }
        .reply-form { background: #0a0a0a; border-radius: 8px; padding: 15px; }
        
        
        .toast { position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%); background: #333; color: #fff; padding: 12px 24px; border-radius: 8px; font-size: 14px; z-index: 9999; display: none; }
        .toast.show { display: block; animation: fadeInOut 2s; }
        @keyframes fadeInOut { 0%, 100% { opacity: 0; } 20%, 80% { opacity: 1; } }
        
        .admin-action-bar { background: #1a1a0a; border-bottom: 1px solid #3d3d00; padding: 8px 15px; display: flex; justify-content: flex-end; gap: 10px; align-items: center; }
        .detail-type-badge { font-size: 10px; padding: 2px 8px; border-radius: 4px; background: #1a3d1a; color: #4ade80; font-weight: 600; }
        .detail-type-badge.type2 { background: #1a1a3d; color: #818cf8; }
        .admin-action-bar .admin-label { font-size: 11px; color: #facc15; margin-right: auto; }
        .admin-action-bar a { font-size: 12px; padding: 5px 14px; border-radius: 5px; font-weight: 600; text-decoration: none; }
        .admin-action-bar .admin-edit-btn { background: #ff6b00; color: #000; }
        .admin-action-bar .admin-edit-btn:hover { background: #ff8533; }
        .admin-action-bar .admin-delete-btn { background: #3d1a1a; color: #f87171; border: 1px solid #7f1d1d; }
        .admin-action-bar .admin-delete-btn:hover { background: #5a1a1a; }
        
        /* Nearby Shops Section */
        .nearby-section { padding: 20px 15px; border-top: 1px solid #333; }
        .nearby-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
        .nearby-title { font-size: 16px; color: #ff6b00; font-weight: 600; }
        .nearby-more { font-size: 12px; color: #b8b8b8; }
        .nearby-more:hover { color: #ff6b00; }
        .nearby-list { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
        .nearby-list::-webkit-scrollbar { height: 2px; }
        .nearby-list::-webkit-scrollbar-track { background: #111; }
        .nearby-list::-webkit-scrollbar-thumb { background: #333; border-radius: 2px; }
        .nearby-card { flex-shrink: 0; width: 140px; scroll-snap-align: start; background: #111; border: 1px solid #222; border-radius: 8px; overflow: hidden; transition: border-color 0.2s; }
        .nearby-card:hover { border-color: #ff6b00; }
        .nearby-card a { color: inherit; }
        .nearby-thumb { width: 100%; height: 100px; object-fit: cover; display: block; background: #1a1a1a; }
        .nearby-card img { width: 100% !important; height: 100px !important; object-fit: cover !important; display: block; }
        .nearby-info { padding: 8px 10px; }
        .nearby-name { font-size: 12px; font-weight: 600; color: #fff; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px; }
        .nearby-type { font-size: 10px; color: #b8b8b8; }
        
        @media (min-width: 768px) { body { max-width: 768px; margin: 0 auto; } }

        /* CMS Content Override - Mobile Padding */
        .shop-content .tn-encyclopedia .container { padding: 0 4px; }
        .shop-content .tn-encyclopedia .hero-content { padding: 20px 8px; }
        .shop-content .tn-encyclopedia .city-deep { padding: 15px 8px; }
        
        /* ============================================================ */
        /* TNL Rating System (in-house rating system)                          */
        /* ============================================================ */
        
        /* TNL User Rating Section (Q-A B: above the Google Reviews box, visually prioritized) */
        .tnl-rating-section { padding: 18px 12px; border-top: 1px solid #333; background: linear-gradient(135deg, rgba(255,107,0,0.08) 0%, rgba(255,107,0,0.02) 100%); border-radius: 0; margin: 0 8px; border: 1px solid rgba(255,107,0,0.25); border-radius: 12px; margin-top: 15px; margin-bottom: 5px; }
        .tnl-rating-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
        .tnl-rating-title { font-size: 18px; color: #ff6b00; display: flex; align-items: center; gap: 8px; font-weight: 600; }
        .tnl-rating-display { display: flex; align-items: center; gap: 12px; }
        .tnl-rating-score { font-size: 32px; font-weight: 700; color: #fff; line-height: 1; }
        .tnl-rating-stars { color: #fbbf24; font-size: 18px; letter-spacing: 2px; }
        .tnl-rating-count { font-size: 12px; color: #b8b8b8; margin-top: 4px; }
        .tnl-rating-footer { margin-top: 12px; text-align: center; }
        .tnl-rating-link { display: inline-block; padding: 9px 18px; background: rgba(255,107,0,0.1); border: 1px solid #ff6b00; border-radius: 6px; color: #ff6b00; text-decoration: none; font-size: 13px; font-weight: 600; transition: all 0.2s; }
        .tnl-rating-link:hover { background: #ff6b00; color: #000; }
        
        /* Comments Section header rating summary (position ②: Comments 15 ・ ★★★★★ 4.7 / 5.0) */
        .comments-rating-summary { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; font-size: 13px; font-weight: 400; }
        .comments-rating-stars { color: #fbbf24; letter-spacing: 1px; font-size: 14px; }
        .comments-rating-value { color: #fff; font-weight: 600; font-size: 13px; }
        
        /* Comment form rating input UI (position ③: required) */
        .comment-rating-input { margin-bottom: 15px; padding: 14px 16px; background: #1a1a1a; border: 1px solid #333; border-radius: 8px; }
        .comment-rating-label { display: block; font-size: 13px; color: #ff6b00; margin-bottom: 10px; font-weight: 600; }
        .comment-rating-required { color: #f87171; margin-left: 4px; }
        .rating-stars-input { display: inline-flex; gap: 6px; cursor: pointer; user-select: none; padding: 4px 0; }
        .rating-stars-input.rating-error { animation: ratingShake 0.45s ease; }
        @keyframes ratingShake {
            0%, 100% { transform: translateX(0); }
            20% { transform: translateX(-7px); }
            40% { transform: translateX(7px); }
            60% { transform: translateX(-5px); }
            80% { transform: translateX(5px); }
        }
        .rating-star { font-size: 32px; color: #b8b8b8; line-height: 1; transition: color 0.12s, transform 0.1s; display: inline-block; }
        .rating-star:hover { transform: scale(1.12); }
        .rating-star.active { color: #fbbf24; }
        
        /* Individual comment rating display (next to author name, Google review style) */
        .comment-rating-display { display: inline-block; margin-left: 8px; color: #fbbf24; font-size: 13px; letter-spacing: 1px; vertical-align: middle; }