:root {
      --wa-bg: #0b141a;
      --wa-card: #111b21;
      --wa-header: #202c33;
      --wa-green: #00a884;
      --wa-green-hover: #029474;
      --wa-bubble-bot: #202c33;
      --wa-bubble-user: #005c4b;
      --text-main: #e9edef;
      --text-sub: #8696a0;
      --border-color: #222d34;
      --gold-accent: #d4af37;
      --gold-sub: #f3e5ab;
      --danger-color: #ef5350;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
    html, body {
      width: 100%; height: 100%; height: 100dvh; overflow: hidden;
      background-color: #000; font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
      color: var(--text-main); display: flex; justify-content: center;
    }
    .app-container {
      width: 100%; max-width: 480px; height: 100%; height: 100dvh; min-height: 0;
      background: var(--wa-bg); display: flex; flex-direction: column; position: relative; overflow: hidden;
    }
    header {
      padding: 8px 10px; background: var(--wa-header); border-bottom: 1px solid var(--border-color);
      display: flex; justify-content: space-between; align-items: center; z-index: 100;
      box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    }
    .brand-box { display: flex; align-items: center; gap: 8px; cursor: pointer; flex: 1; min-width: 0; }
    .wa-back-btn {
      background: none; border: none; color: #aebac1; font-size: 20px; cursor: pointer;
      display: flex; align-items: center; justify-content: center; padding: 2px 4px 2px 0;
      line-height: 1; transition: color 0.15s ease;
    }
    .wa-back-btn:hover { color: #fff; }
    .avatar {
      width: 40px; height: 40px; border-radius: 50%; background: #1c272e;
      display: flex; align-items: center; justify-content: center; font-size: 19px;
      overflow: hidden; position: relative; flex-shrink: 0; box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    }
    .avatar img {
      width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block;
    }
    .avatar-online-dot {
      position: absolute; bottom: 1px; right: 1px; width: 10px; height: 10px;
      background: #25d366; border: 2px solid var(--wa-header); border-radius: 50%;
      transition: background 0.3s ease, box-shadow 0.3s ease;
    }
    .avatar-online-dot.error,
    .avatar-online-dot.offline {
      background: #ef5350 !important;
      box-shadow: 0 0 6px #ef5350 !important;
    }
    .brand-text { display: flex; flex-direction: column; overflow: hidden; min-width: 0; gap: 2px; }
    .brand-text h1 {
      font-size: 14.5px; font-weight: 700; color: #e9edef; display: flex; align-items: center; gap: 4px;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.25;
    }
    .verified-svg { width: 14px; height: 14px; fill: #00a884; flex-shrink: 0; }
    .header-guest-badge {
      display: inline-flex; align-items: center; gap: 3px;
      background: rgba(255, 210, 121, 0.14); border: 1px solid rgba(255, 210, 121, 0.45);
      color: #ffd279; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 10px;
      flex-shrink: 0; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    }
    .brand-text p {
      font-size: 11px; color: #8696a0; display: flex; align-items: center; gap: 3px;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2;
    }
    .live-status-dot {
      width: 7.5px; height: 7.5px; border-radius: 50%; display: inline-block;
      margin-right: 2px; flex-shrink: 0;
      transition: background 0.3s ease, box-shadow 0.3s ease;
    }
    .live-status-dot.online {
      background: #25d366;
      box-shadow: 0 0 5px #25d366;
    }
    .live-status-dot.error,
    .live-status-dot.offline {
      background: #ef5350 !important;
      box-shadow: 0 0 5px #ef5350 !important;
    }
    .status-online { color: #25d366 !important; font-weight: 500; }
    .status-error { color: #ef5350 !important; font-weight: 500; }
    .header-actions { display: flex; align-items: center; gap: 3px; flex-shrink: 0; position: relative; }
    .wa-head-btn {
      width: 28px; height: 28px; border-radius: 50%; background: transparent; border: none;
      color: #aebac1; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center;
      transition: background 0.15s ease, color 0.15s ease;
    }
    .wa-head-btn:hover { background: rgba(255,255,255,0.08); color: #e9edef; }
    .wa-head-btn:active { background: rgba(255,255,255,0.14); }
    .header-refresh-btn {
      transition: transform 0.2s ease, background 0.15s ease, color 0.15s ease;
      cursor: pointer;
    }
    .header-refresh-btn.rotating {
      animation: spinReload 0.65s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    }
    @keyframes spinReload {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }

    /* 바탕화면 추가(앱 설치) 전용 컴팩트 헤더 버튼 (가로 최적화) */
    .header-install-btn {
      background: linear-gradient(135deg, #1f2329, #121417) !important;
      border: 1px solid #38404a !important;
      border-radius: 12px !important;
      padding: 0 5px 0 4px !important;
      width: auto !important;
      height: 25px !important;
      gap: 2.5px;
      color: #e2e6eb !important;
      cursor: pointer;
      display: inline-flex !important;
      align-items: center;
      justify-content: center;
      transition: all 0.2s ease;
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    }
    .header-install-btn:hover {
      background: linear-gradient(135deg, #282e36, #181b20) !important;
      border-color: #4f5a68 !important;
      color: #eef1f5 !important;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
      transform: translateY(-1px);
    }
    .header-install-btn:hover .header-install-text {
      color: #eef1f5 !important;
    }
    .header-install-btn svg {
      width: 12px;
      height: 12px;
      fill: #e2e6eb !important;
      flex-shrink: 0;
    }
    .header-install-text {
      font-size: 10px;
      font-weight: 700;
      color: #e2e6eb !important;
      letter-spacing: -0.4px;
      white-space: nowrap;
    }
    @keyframes installPulse {
      0%, 100% { box-shadow: 0 0 0 0 rgba(226, 230, 235, 0.35); }
      50% { box-shadow: 0 0 0 5px rgba(226, 230, 235, 0); }
    }

    /* PWA 홈화면 추가 가이드 모달 */
    .pwa-modal-card {
      background: #182229;
      border: 1px solid #2f4656;
      border-radius: 18px;
      padding: 20px;
      width: 100%;
      max-width: 430px;
      color: var(--text-main);
      box-shadow: 0 16px 40px rgba(0,0,0,0.7);
      box-sizing: border-box;
      animation: modalSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }
    @keyframes modalSlideUp {
      from { transform: translateY(20px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }
    .pwa-modal-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid #283740;
      padding-bottom: 12px;
      margin-bottom: 14px;
    }
    .pwa-app-preview {
      display: flex;
      align-items: center;
      gap: 12px;
      background: #111b21;
      border: 1px solid #283740;
      border-radius: 14px;
      padding: 12px 14px;
      margin-bottom: 14px;
    }
    .pwa-app-icon {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      object-fit: cover;
      box-shadow: 0 3px 10px rgba(0,0,0,0.4);
      flex-shrink: 0;
    }
    .pwa-step-box {
      background: #111b21;
      border: 1px solid #233138;
      border-radius: 12px;
      padding: 11px 13px;
      margin-bottom: 9px;
      font-size: 13px;
      line-height: 1.5;
    }
    .pwa-step-num {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 20px;
      height: 20px;
      background: #252b34;
      color: #e2e6eb;
      border: 1px solid #434c59;
      font-size: 11px;
      font-weight: 700;
      border-radius: 50%;
      margin-right: 7px;
      flex-shrink: 0;
    }
    .pwa-highlight-key {
      color: #ffd279;
      font-weight: 700;
      background: rgba(255, 210, 121, 0.12);
      padding: 1px 5px;
      border-radius: 4px;
    }

    /* 왓츠앱 정통 점 3개 메뉴 드롭다운 */
    .wa-dropdown-menu {
      position: absolute; top: 38px; right: 0; background: #233138;
      border-radius: 10px; box-shadow: 0 6px 22px rgba(0,0,0,0.65);
      width: 225px; padding: 6px 0; z-index: 200; display: none;
      border: 1px solid rgba(255,255,255,0.1); animation: fadeInDrop 0.15s ease-out;
    }
    @keyframes fadeInDrop {
      from { opacity: 0; transform: translateY(-6px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .wa-dropdown-menu.open { display: block; }

    /* 상위 언어 변경 컴팩트 드롭다운 (버튼 바로 밑으로 스크롤 가능한 작은 창) */
    .header-lang-btn {
      display: inline-flex !important;
      align-items: center;
      gap: 1.5px;
      height: 25px;
      padding: 0 5px !important;
      border-radius: 12px !important;
      background: #202c33 !important;
      border: 1px solid #374248 !important;
      color: #ffd279 !important;
      font-size: 10px !important;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.15s ease;
      white-space: nowrap;
      width: auto !important;
      box-shadow: 0 1px 3px rgba(0,0,0,0.22);
    }
    .header-lang-btn:hover {
      background: #2a3942 !important;
      border-color: #ffd279 !important;
      color: #fff !important;
    }
    .header-lang-dropdown {
      position: absolute;
      top: 38px;
      right: 28px;
      background: #202c33;
      border: 1px solid #374248;
      border-radius: 12px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65);
      width: 200px;
      max-height: 290px;
      overflow-y: auto;
      padding: 4px 0;
      z-index: 220;
      display: none;
      animation: fadeInDrop 0.15s ease-out;
      scrollbar-width: thin;
      scrollbar-color: #374248 transparent;
    }
    .header-lang-dropdown::-webkit-scrollbar {
      width: 5px;
    }
    .header-lang-dropdown::-webkit-scrollbar-thumb {
      background: #374248;
      border-radius: 4px;
    }
    .header-lang-dropdown.open {
      display: block;
    }
    .header-lang-item {
      display: flex;
      align-items: center;
      gap: 9px;
      width: 100%;
      padding: 8px 12px;
      border: none;
      background: transparent;
      color: #e9edef;
      font-size: 12.5px;
      text-align: left;
      cursor: pointer;
      transition: background 0.12s ease;
    }
    .header-lang-item:hover {
      background: #182229;
      color: #25d366;
    }
    .header-lang-item.active {
      background: rgba(37, 211, 102, 0.12);
      color: #25d366;
      font-weight: 700;
    }
    .header-lang-item .lang-flag {
      font-size: 15px;
      line-height: 1;
    }
    .header-lang-item .lang-name {
      flex: 1;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .wa-dropdown-item {
      padding: 10px 16px; font-size: 13.5px; color: #d1d7db; display: flex; align-items: center;
      gap: 10px; cursor: pointer; transition: background 0.12s ease; text-decoration: none;
      width: 100%; border: none; background: none; text-align: left;
    }
    .wa-dropdown-item:hover { background: #182229; color: #fff; }
    .wa-dropdown-divider { height: 1px; background: rgba(255,255,255,0.08); margin: 4px 0; }

    .offline-banner {
      background: #b71c1c; color: #fff; font-size: 11.5px; padding: 4px 10px; text-align: center; display: none;
    }
    .offline-banner.visible { display: block; }

    /* 왓츠앱 정통 두들 배경 패턴 (Chat Area) */
    .chat-area {
      flex: 1 1 0%; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
      padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 8px;
      background-color: #0b141a;
      background-image:
        radial-gradient(circle at 50% 50%, rgba(18, 27, 34, 0.45) 0%, rgba(11, 20, 26, 0.95) 100%),
        url("data:image/svg+xml,%3Csvg width='260' height='260' viewBox='0 0 260 260' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.032'%3E%3Cpath d='M25 25h16v16H25zM75 75h16v16H75zM145 35h16v16h-16zM205 95h16v16h-16zM45 155h16v16H45zM155 175h16v16h-16zM215 215h16v16h-16z'/%3E%3Ccircle cx='35' cy='105' r='7'/%3E%3Ccircle cx='115' cy='145' r='8'/%3E%3Ccircle cx='185' cy='55' r='6'/%3E%3Ccircle cx='185' cy='185' r='7'/%3E%3Cpath d='M95 25c4 0 7 3 7 7s-3 7-7 7-7-3-7-7 3-7 7-7zM20 185c5 0 9 4 9 9s-4 9-9 9-9-4-9-9 4-9 9-9z'/%3E%3Cpath d='M115 85l8 14h-16zM225 25l10 16h-20zM175 225l10 16h-20z'/%3E%3Cpath d='M40 230c-2-5 3-10 8-8s8 8 2 12-8 1-10-4z'/%3E%3Cpath d='M130 110c-3-4 2-9 6-7s7 7 2 10-6 0-8-3z'/%3E%3C/g%3E%3C/svg%3E");
    }

    /* 왓츠앱 정통 날짜 구분선 */
    .wa-date-divider {
      align-self: center; margin: 6px 0 10px;
    }
    .wa-date-pill {
      background: #182229; color: #8696a0; font-size: 11px; font-weight: 500;
      padding: 4px 12px; border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,0.3);
      text-transform: uppercase; letter-spacing: 0.3px; display: inline-block;
    }

    /* 왓츠앱 정통 종단간 암호화 보안 알림 배너 */
    .wa-security-notice {
      align-self: center; max-width: 90%; background: #182229; border-radius: 8px;
      padding: 8px 12px; margin-bottom: 8px; text-align: center;
      font-size: 11px; line-height: 1.45; color: #ffd279;
      box-shadow: 0 1px 3px rgba(0,0,0,0.3); border: 1px solid rgba(255, 210, 121, 0.15);
      display: flex; align-items: center; justify-content: center; gap: 6px;
    }
    .wa-security-notice .lock-icon { font-size: 12px; }

    /* 왓츠앱 공식 비즈니스 배너 */
    .wa-biz-notice {
      align-self: center; max-width: 92%; background: #111b21; border-radius: 8px;
      padding: 7px 12px; margin-bottom: 10px; text-align: center;
      font-size: 11px; color: #8696a0; border: 1px solid #202c33;
    }
    .wa-biz-notice strong { color: #00a884; font-weight: 600; }

    /* 왓츠앱 정통 말풍선 (Chat Bubble) */
    .msg-wrap { display: flex; flex-direction: column; margin-bottom: 3px; width: 100%; position: relative; }
    .msg {
      max-width: 82%; padding: 6px 9px 8px 9px; border-radius: 7.5px; font-size: 14.2px;
      line-height: 1.42; word-break: break-word; white-space: pre-wrap; position: relative;
      box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
    }
    .msg-text-content { display: inline; }
    /* 봇 말풍선 (좌측 수신 말풍선) */
    .msg.bot {
      align-self: flex-start; background: #202c33; color: #e9edef;
      border-top-left-radius: 0; margin-left: 8px;
    }
    .msg.bot::before {
      content: ""; position: absolute; top: 0; left: -8px; width: 8px; height: 13px;
      background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 13' width='8' height='13'%3E%3Cpath opacity='0.13' fill='%23000' d='M5.188 1H0v11.193l6.467-8.625C7.526 2.156 6.958 1 5.188 1z'/%3E%3Cpath fill='%23202c33' d='M5.188 0H0v11.193l6.467-8.625C7.526 1.156 6.958 0 5.188 0z'/%3E%3C/svg%3E") no-repeat 0 0;
    }
    /* 사용자 말풍선 (우측 발신 말풍선) */
    .msg.user {
      align-self: flex-end; background: #005c4b; color: #e9edef;
      border-top-right-radius: 0; margin-right: 8px;
    }
    .msg.user::before {
      content: ""; position: absolute; top: 0; right: -8px; width: 8px; height: 13px;
      background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 13' width='8' height='13'%3E%3Cpath opacity='0.13' fill='%23000' d='M5.188 1H0v11.193l6.467-8.625C7.526 2.156 6.958 1 5.188 1z' transform='scale(-1, 1) translate(-8, 0)'/%3E%3Cpath fill='%23005c4b' d='M5.188 0H0v11.193l6.467-8.625C7.526 1.156 6.958 0 5.188 0z' transform='scale(-1, 1) translate(-8, 0)'/%3E%3C/svg%3E") no-repeat 0 0;
    }

    /* 왓츠앱 정통 말풍선 내부 우측 하단 시간 및 체크 표시 (Meta Inline) */
    .wa-bubble-meta {
      float: right; margin: 4px -3px -4px 7px;
      display: inline-flex; align-items: center; gap: 3px;
      font-size: 11px; color: #8696a0; user-select: none;
      vertical-align: bottom; white-space: nowrap; line-height: 1;
    }
    .msg.user .wa-bubble-meta {
      color: rgba(233, 237, 239, 0.65);
    }
    .wa-bubble-meta .wa-read-tick-svg {
      width: 16px; height: 11px; display: inline-block; vertical-align: middle;
      fill: #8696a0;
      transition: fill 0.25s ease;
    }
    .wa-bubble-meta .wa-read-tick-svg.sent {
      fill: rgba(233, 237, 239, 0.55);
    }
    .wa-bubble-meta .wa-read-tick-svg.delivered {
      fill: rgba(233, 237, 239, 0.85);
    }
    .wa-bubble-meta .wa-read-tick-svg.read {
      fill: #53bdeb; /* 왓츠앱 시그니처 읽음 블루 */
    }

    /* 왓츠앱 정통 리액션 뱃지 (Floating Reaction Pill) */
    .wa-reaction-badge {
      position: absolute; bottom: -8px; right: 12px; background: #202c33;
      border: 1.5px solid #0b141a; border-radius: 12px; padding: 1px 6px;
      font-size: 11.5px; display: inline-flex; align-items: center; gap: 2px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.4); animation: popReaction 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      user-select: none; z-index: 2;
    }
    @keyframes popReaction {
      from { transform: scale(0); opacity: 0; }
      to { transform: scale(1); opacity: 1; }
    }

    /* 헤더 실시간 타이핑 상태 */
    .status-typing {
      color: #25d366 !important; font-weight: 600; display: inline-flex; align-items: center; gap: 2px;
    }
    .typing-header-dots {
      display: inline-block;
      animation: dotsPulse 1.2s infinite steps(4, jump-none);
    }
    @keyframes dotsPulse {
      0%, 20% { opacity: 0; }
      40% { opacity: 0.4; }
      70% { opacity: 0.75; }
      100% { opacity: 1; }
    }

    /* 왓츠앱 음성 메시지 (Voice Note) 스타일 */
    .wa-voice-bubble {
      background: #182229; border: 1px solid #283740; border-radius: 12px;
      padding: 9px 12px; display: flex; align-items: center; gap: 10px;
      margin-top: 8px; margin-bottom: 6px; cursor: pointer; transition: background 0.15s ease;
      box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    }
    .wa-voice-bubble:hover { background: #202c33; }
    .wa-voice-play-btn {
      width: 38px; height: 38px; border-radius: 50%; background: #00a884;
      border: none; color: #fff; display: flex; align-items: center; justify-content: center;
      cursor: pointer; flex-shrink: 0; box-shadow: 0 2px 6px rgba(0,168,132,0.4);
      transition: transform 0.15s ease, background 0.15s ease;
    }
    .wa-voice-play-btn:active { transform: scale(0.92); background: #02906f; }
    .wa-voice-track { flex: 1; display: flex; flex-direction: column; gap: 4px; overflow: hidden; }
    .wa-voice-waves {
      display: flex; align-items: center; gap: 2.5px; height: 18px;
    }
    .wa-voice-waves span {
      flex: 1; min-width: 2px; background: #8696a0; border-radius: 2px;
      transition: height 0.15s ease, background 0.15s ease;
    }
    .wa-voice-waves.playing span {
      background: #00a884;
      animation: waveBeat 0.6s infinite alternate ease-in-out;
    }
    .wa-voice-waves.playing span:nth-child(2n) { animation-delay: 0.15s; }
    .wa-voice-waves.playing span:nth-child(3n) { animation-delay: 0.3s; }
    @keyframes waveBeat {
      0% { transform: scaleY(0.4); }
      100% { transform: scaleY(1.3); }
    }
    .wa-voice-info { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: #8696a0; }
    .wa-voice-duration { font-weight: 600; color: #e9edef; font-family: ui-monospace, SFMono-Regular, monospace; }
    .wa-voice-sub { font-size: 10.5px; color: #00a884; font-weight: 500; }
    .wa-voice-avatar {
      position: relative; width: 34px; height: 34px; border-radius: 50%; overflow: visible; flex-shrink: 0;
    }
    .wa-voice-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
    .wa-voice-avatar .wa-voice-badge {
      position: absolute; bottom: -3px; right: -3px; font-size: 12px; line-height: 1;
    }

    /* 왓츠앱 정통 비즈니스 프로필 상세 모달 */
    .host-profile-sheet {
      max-width: 440px; width: 100%; border-radius: 18px; padding: 20px 18px;
      background: #111b21; border: 1px solid #283740; box-shadow: 0 10px 40px rgba(0,0,0,0.7);
      animation: slideUpModal 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .profile-header-close { display: flex; justify-content: flex-end; margin-bottom: 4px; }
    .profile-avatar-center {
      display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 16px;
    }
    .profile-avatar-wrap {
      width: 86px; height: 86px; border-radius: 50%; border: 2.5px solid #00a884;
      overflow: hidden; position: relative; margin-bottom: 10px; box-shadow: 0 4px 16px rgba(0,0,0,0.5);
    }
    .profile-avatar-wrap img { width: 100%; height: 100%; object-fit: cover; }
    .profile-online-badge {
      position: absolute; bottom: 3px; right: 3px; width: 14px; height: 14px;
      border-radius: 50%; background: #25d366; border: 2px solid #111b21;
    }
    .profile-name {
      font-size: 17px; font-weight: 700; color: #e9edef; display: flex; align-items: center; gap: 6px;
    }
    .profile-status-pill {
      font-size: 11.5px; color: #25d366; font-weight: 600; margin-top: 4px;
      background: rgba(0,168,132,0.12); padding: 2px 10px; border-radius: 12px; border: 1px solid rgba(0,168,132,0.25);
    }
    .profile-quick-actions {
      display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px;
    }
    .profile-action-btn {
      background: #202c33; border: 1px solid #2a3942; border-radius: 10px;
      padding: 10px 4px; display: flex; flex-direction: column; align-items: center; gap: 4px;
      color: #5ef2c2; font-size: 11px; cursor: pointer; transition: all 0.15s ease;
    }
    .profile-action-btn .btn-icon { font-size: 18px; line-height: 1; }
    .profile-action-btn:hover, .profile-action-btn:active { background: #283740; border-color: #00a884; }
    .profile-info-list {
      display: flex; flex-direction: column; gap: 10px; border-top: 1px solid #202c33; padding-top: 14px;
    }
    .profile-info-item {
      background: #182229; border-radius: 8px; padding: 10px 12px;
    }
    .profile-info-item .info-label { font-size: 10.5px; color: #8696a0; font-weight: 600; margin-bottom: 3px; }
    .profile-info-item .info-val { font-size: 12.5px; color: #d1d7db; line-height: 1.45; }

    /* 말풍선 아래 보조 액션 (복사 및 피드백) */
    .meta-actions-row {
      display: flex; align-items: center; gap: 8px; margin-top: 2px;
      padding: 0 10px;
    }
    .meta-actions-row.bot { align-self: flex-start; margin-left: 2px; }
    .meta-actions-row.user { align-self: flex-end; margin-right: 2px; }
    .msg-btn {
      background: none; border: none; color: #8696a0; font-size: 11px; cursor: pointer; padding: 2px 4px;
      display: inline-flex; align-items: center; gap: 3px; border-radius: 4px; transition: background 0.15s ease, color 0.15s ease;
    }
    .msg-btn:hover { background: rgba(255,255,255,0.06); color: #e9edef; }

    .msg-ai-badge {
      display: inline-flex; align-items: center; gap: 5px;
      margin-bottom: 5px; padding: 2px 6px; border-radius: 6px;
      background: rgba(0, 168, 132, 0.15); border: 1px solid rgba(0, 168, 132, 0.3);
      font-size: 10.5px; color: #5ef2c2;
    }
    .msg-ai-badge strong { font-weight: 700; color: #ffd279; }
    .ai-gemini-pill {
      font-size: 10px; color: #8ad4ff; background: #111b21;
      padding: 1px 5px; border-radius: 4px; border: 1px solid #283740;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    }
    .ai-model-tag {
      font-size: 10px; color: #60cdff; background: rgba(96, 205, 255, 0.12);
      border: 1px solid rgba(96, 205, 255, 0.3); border-radius: 8px;
      padding: 1px 6px; font-weight: 500; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    }
    .meta-row { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
    .meta-row.user { align-self: flex-end; }
    .meta-row.bot { align-self: flex-start; }
    .time-stamp { font-size: 10px; color: #8696a0; }
    .wa-read-tick { color: #53bdeb; font-size: 11px; margin-left: 2px; font-weight: bold; }
    .msg-btn {
      background: none; border: none; color: #8696a0; font-size: 11px; cursor: pointer; padding: 0 3px;
      display: inline-flex; align-items: center; gap: 2px;
    }
    .msg-btn:hover { color: #e9edef; }

    /* 왓츠앱 비즈니스 인터랙티브 퀵 버튼 리스트 */
    .wa-quick-actions {
      display: flex; flex-direction: column; gap: 5px; margin-top: 8px; width: 100%;
    }
    .wa-action-btn {
      background: #182229; border: 1px solid #2a3942; border-radius: 8px;
      color: #53bdeb; padding: 7px 11px; font-size: 12.5px; font-weight: 500;
      text-align: left; cursor: pointer; display: flex; align-items: center;
      gap: 7px; transition: background 0.15s ease, border-color 0.15s ease;
    }
    .wa-action-btn:hover, .wa-action-btn:active {
      background: #202c33; border-color: #00a884; color: #5ef2c2;
    }

    .suggest-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; align-self: flex-start; }
    .suggest-chip {
      background: #182229; border: 1px solid #2f4656; color: #8ad4ff;
      padding: 5px 10px; border-radius: 14px; font-size: 11.5px; cursor: pointer; transition: all 0.15s ease;
    }
    .suggest-chip:hover, .suggest-chip:active { background: #243542; border-color: #8ad4ff; }
    .manager-cta {
      margin-top: 6px; display: inline-flex; align-items: center; gap: 6px;
      background: #14362b; border: 1px solid var(--wa-green); color: #5ef2c2;
      padding: 7px 12px; border-radius: 8px; font-size: 12px; font-weight: 500; text-decoration: none; align-self: flex-start;
      transition: background 0.15s ease;
    }
    .manager-cta:hover, .manager-cta:active { background: #1c4b3c; }
    .typing-dots { display: inline-flex; gap: 4px; align-items: center; padding: 4px 4px; }
    .typing-dots span {
      width: 6px; height: 6px; border-radius: 50%; background: var(--text-sub);
      animation: blink 1.2s infinite ease-in-out;
    }
    .typing-dots span:nth-child(2) { animation-delay: 0.2s; }
    .typing-dots span:nth-child(3) { animation-delay: 0.4s; }
    @keyframes blink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }

    .modal-backdrop {
      position: absolute; inset: 0; background: rgba(0,0,0,0.8);
      display: none; align-items: center; justify-content: center; padding: 18px; z-index: 100;
    }
    .modal-backdrop.open { display: flex; }
    .modal-card {
      background: #182229; border: 1px solid #3b4a54; border-radius: 16px;
      padding: 18px; width: 100%; max-width: 420px; color: var(--text-main);
      box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    }
    .modal-card h3 { color: #ffd279; font-size: 15px; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
    .kr-driver-box {
      background: #0b141a; border: 1.5px solid #2f4656; border-radius: 12px;
      padding: 14px; margin: 10px 0; font-size: 15.5px; line-height: 1.6; color: #fff; font-weight: 600;
    }
    .modal-desc { font-size: 12px; color: var(--text-sub); line-height: 1.4; margin-bottom: 12px; }
    .modal-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 14px; }
    .action-btn {
      background: #202c33; border: 1px solid #374248; color: #e9edef;
      padding: 7px 12px; border-radius: 14px; font-size: 12px; cursor: pointer; text-decoration: none;
      display: inline-flex; align-items: center; gap: 4px;
    }
    .action-btn:hover { background: #2a3942; }
    .action-btn.primary { background: #14362b; border-color: var(--wa-green); color: #5ef2c2; font-weight: 600; }
    .admin-card { max-width: 500px; max-height: 85vh; display: flex; flex-direction: column; }
    .admin-log-list { overflow-y: auto; max-height: 55vh; display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
    .log-item { background: #111b21; border: 1px solid #2f4656; border-radius: 10px; padding: 10px; font-size: 12px; }
    .log-item.alert { border-color: #ef5350; background: #231215; }
    .log-header { display: flex; justify-content: space-between; margin-bottom: 4px; font-weight: 600; }
    .log-header .badge { padding: 2px 6px; border-radius: 6px; font-size: 10px; background: #202c33; color: #8ad4ff; }
    .log-header .badge.alert { background: #b71c1c; color: #fff; }
    .log-msg { color: #fff; margin: 4px 0; font-size: 13px; }
    .log-reply { color: #8696a0; font-size: 11.5px; border-left: 2px solid #00a884; padding-left: 6px; margin-top: 4px; }
    .food-badge { background: #1f362e; color: #5ef2c2; border: 1px solid #00a884; padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 600; cursor: pointer; white-space: nowrap; }
    .food-badge:hover { background: #284c3f; }
    .food-card-modal { max-width: 460px; max-height: 88vh; display: flex; flex-direction: column; }
    .food-list { overflow-y: auto; max-height: 70vh; display: flex; flex-direction: column; gap: 14px; padding: 4px 0; }
    .food-item { background: #111b21; border: 1px solid #2f4656; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
    .food-img { width: 100%; height: 160px; object-fit: cover; background: #202c33; }
    .food-body { padding: 12px; display: flex; flex-direction: column; gap: 6px; }
    .food-title-row { display: flex; justify-content: space-between; align-items: baseline; }
    .food-name { font-size: 15px; font-weight: 700; color: #fff; }
    .food-tag { font-size: 10.5px; color: var(--gold-accent); background: #2a2212; padding: 2px 7px; border-radius: 6px; font-weight: 600; }
    .food-score-row { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #ffd279; }
    .food-address { font-size: 11.5px; color: var(--text-sub); display: flex; align-items: center; gap: 4px; }
    .food-desc { font-size: 12.5px; line-height: 1.5; color: #d1d7db; background: #182229; padding: 8px 10px; border-radius: 8px; margin-top: 4px; }
    .food-desc strong { color: #5ef2c2; }
    .food-actions { display: flex; gap: 6px; margin-top: 6px; }
    .food-actions a { flex: 1; text-align: center; text-decoration: none; padding: 6px 8px; font-size: 11px; border-radius: 8px; background: #202c33; color: #8ad4ff; border: 1px solid #374248; }
    .food-actions a:hover { background: #2a3942; }
    /* 왓츠앱 정통 스타일 입력창 푸터 (Chat Footer) */
    footer.wa-chat-footer {
      padding: 5px 8px calc(5px + env(safe-area-inset-bottom));
      background: #202c33; border-top: 1px solid rgba(134, 150, 160, 0.15);
      display: flex; flex-direction: column; gap: 5px; flex-shrink: 0; z-index: 50;
    }
    .wa-input-row {
      display: flex; align-items: flex-end; gap: 6px; width: 100%;
    }
    .wa-input-field-wrap {
      flex: 1; min-width: 0; position: relative; display: flex; align-items: flex-end;
      background: #2a3942; border-radius: 22px; padding: 6px 8px 6px 10px; min-height: 42px; height: auto;
      box-sizing: border-box; gap: 6px;
    }
    .wa-input-tool-btn {
      width: 28px; height: 28px; border-radius: 50%; background: transparent; border: none;
      color: #8696a0; font-size: 19px; cursor: pointer; display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; transition: color 0.15s ease, background 0.15s ease; padding: 0;
    }
    .wa-input-tool-btn:hover { background: rgba(255,255,255,0.06); color: #e9edef; }
    .wa-input-field-wrap #userInput,
    .wa-input-field-wrap textarea#userInput {
      flex: 1; min-width: 0; border: none; background: transparent; color: #e9edef;
      font-size: 15px; font-family: inherit; outline: none; padding: 3px 0; line-height: 1.4;
      resize: none; max-height: 112px; min-height: 24px; height: 24px; overflow-y: hidden;
    }
    .wa-input-field-wrap #userInput::placeholder,
    .wa-input-field-wrap textarea#userInput::placeholder { color: #8696a0; font-size: 14.5px; }
    .wa-send-btn {
      width: 42px; height: 42px; border-radius: 50%; background: #00a884;
      border: none; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; transition: background 0.15s ease, transform 0.1s ease;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    }
    .wa-send-btn:hover { background: #029474; }
    .wa-send-btn:active { transform: scale(0.92); background: #007a60; }
    .wa-send-btn:disabled { opacity: 0.45; cursor: not-allowed; }
    .wa-send-btn svg { width: 20px; height: 20px; fill: #ffffff; }
    .user-trans-send-btn { width: 38px; height: 32px; border-radius: 16px; flex: 0 0 38px; }
    .user-trans-send-btn svg { width: 17px; height: 17px; }
    .user-trans-apply-btn { min-width: 76px; height: 32px; flex: 0 0 76px; border: 1px solid #00a884; border-radius: 16px; background: #142a22; color: #5ef2c2; font-size: 10px; font-weight: 700; cursor: pointer; }
    .user-trans-apply-btn:active { transform: translateY(1px); }
    @media (max-width: 390px) {
      footer.wa-chat-footer { padding-left: 5px; padding-right: 5px; }
      .user-trans-row { gap: 3px; }
      .user-trans-select-wrap { gap: 2px; padding: 0 4px; }
      .user-trans-select { max-width: 82px; font-size: 10px; }
      .user-trans-output-field { padding-left: 7px; font-size: 10.5px; }
      .user-trans-send-btn { width: 34px; flex-basis: 34px; }
      .wa-input-row { gap: 4px; }
    }

    /* 왓츠앱 정통 상단 3버튼 바 (WhatsApp+, 예약자정보, 배달주문 - 세로폭 반으로 줄인 초슬림 가로형) */
    .wa-bottom-bar {
      width: 100%;
      display: flex; justify-content: space-between; align-items: center; gap: 5px;
      padding: 2.5px 7px; flex-shrink: 0; z-index: 5;
      background: #182229; border-bottom: 1px solid #283740;
    }
    .wa-tab-item {
      flex: 1; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 4px;
      min-width: 0; height: 26px; min-height: 26px; max-height: 26px;
      background: #182229; border: 1px solid #2a3942; border-radius: 8px; padding: 2px 6px; cursor: pointer;
      color: #c4cdd5; text-decoration: none; position: relative; transition: all 0.15s ease;
      -webkit-tap-highlight-color: transparent;
    }
    .wa-tab-item:hover { color: #ffffff; border-color: #3f5564; background: #202c33; }
    .wa-tab-item.active { color: #25d366; border-color: #00a884; background: #122b24; }
    #tabCalendarBtn {
      border-color: rgba(255, 210, 121, 0.45);
      color: #ffd279;
      background: linear-gradient(145deg, #241e12, #182229 75%);
    }
    #tabCalendarBtn .wa-tab-label {
      color: #ffd279;
      font-weight: 700;
    }
    #tabCalendarBtn.active, #tabCalendarBtn:hover {
      border-color: #ffd279;
      color: #fff;
      background: #2d2515;
    }
    .wa-tab-icon-wrap {
      width: 15px; height: 15px; display: inline-flex; align-items: center; justify-content: center;
      position: relative; flex-shrink: 0;
    }
    .wa-tab-svg { width: 14px; height: 14px; fill: currentColor; }
    .wa-tab-emoji { font-size: 13px; line-height: 1; }
    .wa-tab-label {
      font-size: 11px; font-weight: 600; margin-top: 0; letter-spacing: -0.2px;
      white-space: nowrap; text-align: center; line-height: 1;
    }
    .wa-tab-badge {
      background: #ffb800; color: #111b21;
      font-size: 8.5px; font-weight: 800; padding: 1px 3.5px; border-radius: 5px; line-height: 1;
      margin-left: 1px; flex-shrink: 0;
    }
    .wa-tab-dot {
      position: absolute; top: -1px; right: -2px; width: 5px; height: 5px;
      background: #e2e6eb; border-radius: 50%; box-shadow: 0 0 4px rgba(226, 230, 235, 0.8);
    }
    /* 진짜 왓츠앱 연결 버튼 전용 하이라이트 (고급 럭셔리 다크 에디션) */
    .wa-tab-item.wa-real-wa-btn {
      color: #e2e6eb;
      background: linear-gradient(145deg, #22262c, #131518 72%);
      border: 1px solid #373f49;
      box-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
    }
    .wa-tab-item.wa-real-wa-btn .wa-tab-label {
      font-weight: 700; color: #e2e6eb; font-size: 11px;
    }
    .wa-tab-item.wa-real-wa-btn:hover {
      background: linear-gradient(145deg, #2a3038, #181c20 72%);
      border-color: #4b5563;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    }
    .wa-tab-item.wa-real-wa-btn:hover .wa-tab-label {
      color: #f0f3f6;
    }

    /* 예약자정보 상세 모달 & 관리자 실시간 연동 캘린더 임베드 스타일 */
    .guest-res-info-modal {
      background: #141f26;
      border: 1.5px solid #00a884;
      border-radius: 18px;
      padding: 15px;
      width: 100%;
      max-width: 445px;
      color: var(--text-main);
      box-shadow: 0 14px 40px rgba(0,0,0,0.75);
      max-height: 91vh;
      overflow-y: auto;
      box-sizing: border-box;
    }
    .res-info-hero {
      background: linear-gradient(135deg, #0f2e24 0%, #182229 100%);
      border: 1px solid rgba(37, 211, 102, 0.4);
      border-radius: 14px;
      padding: 12px 13px;
      margin: 10px 0;
      display: flex;
      align-items: center;
      gap: 11px;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    }
    .res-info-avatar {
      width: 52px;
      height: 52px;
      border-radius: 50%;
      border: 2px solid #25d366;
      object-fit: cover;
      flex-shrink: 0;
      background: #111b21;
    }
    .res-info-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 7px;
      margin-bottom: 10px;
    }
    .res-info-cell {
      background: #111b21;
      border: 1px solid #233138;
      border-radius: 10px;
      padding: 8px 10px;
    }
    .res-info-cell.full {
      grid-column: 1 / -1;
    }
    .res-info-label {
      font-size: 10.5px;
      color: #8696a0;
      margin-bottom: 2px;
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .res-info-val {
      font-size: 13px;
      font-weight: 700;
      color: #e9edef;
      word-break: break-word;
    }
    .res-open-cal-cta {
      width: 100%;
      padding: 11px 14px;
      border-radius: 12px;
      background: linear-gradient(135deg, #00a884, #007a60);
      border: 1px solid #25d366;
      color: #ffffff;
      font-size: 13px;
      font-weight: 800;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      box-shadow: 0 4px 14px rgba(0, 168, 132, 0.35);
      transition: transform 0.12s ease, background 0.15s ease;
    }
    .res-open-cal-cta:hover {
      background: linear-gradient(135deg, #05b993, #008f70);
    }
    .res-open-cal-cta:active {
      transform: scale(0.98);
    }
    .admin-cal-embed-frame-wrap {
      width: 100%;
      height: 74vh;
      min-height: 480px;
      max-height: 680px;
      border-radius: 14px;
      overflow: hidden;
      border: 1px solid #283740;
      background: #0b141a;
      position: relative;
    }
    .admin-cal-embed-frame-wrap iframe {
      width: 100%;
      height: 100%;
      border: 0;
      display: block;
      background: #0b141a;
    }

    /* 캘린더 모달 & 예약 캘린더 스타일 (부킹닷컴 남색 & 에어비앤비 노란색) */
    .calendar-card-modal {
      background: #182229;
      border: 1.5px solid #2f4656;
      border-radius: 18px;
      padding: 14px 16px;
      width: 100%;
      max-width: 440px;
      color: var(--text-main);
      box-shadow: 0 12px 36px rgba(0,0,0,0.65);
      max-height: 90vh;
      overflow-y: auto;
      box-sizing: border-box;
    }
    .cal-modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-bottom: 8px;
      border-bottom: 1px solid #283740;
    }
    .cal-legend-bar {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      margin: 10px 0 8px;
      padding: 8px 10px;
      background: #111b21;
      border-radius: 10px;
      font-size: 11px;
      align-items: center;
      justify-content: space-between;
      border: 1px solid #233138;
    }
    .cal-legend-item {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 11px;
    }
    .legend-color-box {
      width: 12px;
      height: 12px;
      border-radius: 3px;
      display: inline-block;
      flex-shrink: 0;
    }
    .booking-box {
      background: #003580;
      border: 1px solid #1a66cc;
      box-shadow: 0 0 4px rgba(0, 53, 128, 0.7);
    }
    .legend-booking {
      color: #8ad4ff;
      font-weight: 700;
    }
    .airbnb-box {
      background: #ffb800;
      border: 1px solid #ffcc33;
      box-shadow: 0 0 4px rgba(255, 184, 0, 0.7);
    }
    .legend-airbnb {
      color: #ffd279;
      font-weight: 700;
    }
    .direct-box {
      background: #005c4b;
      border: 1px solid #00a884;
    }
    .legend-direct {
      color: #5ef2c2;
      font-weight: 600;
    }

    .cal-nav-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin: 8px 0;
      padding: 2px 4px;
    }
    .cal-nav-btn {
      background: #202c33;
      border: 1px solid #374248;
      color: #e9edef;
      font-size: 11.5px;
      padding: 4px 10px;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.15s ease;
    }
    .cal-nav-btn:hover {
      background: #283740;
      border-color: #00a884;
      color: #fff;
    }
    .cal-current-month {
      font-size: 14.5px;
      font-weight: 700;
      color: #ffd279;
      letter-spacing: 0.2px;
    }
    .cal-today-btn {
      background: #11221b;
      border: 1px solid #00a884;
      color: #25d366;
      font-size: 11px;
      padding: 4px 8px;
      border-radius: 8px;
      cursor: pointer;
      font-weight: 600;
    }

    .cal-weekdays {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      text-align: center;
      font-size: 11px;
      font-weight: 600;
      color: var(--text-sub);
      margin-bottom: 4px;
      padding: 0 2px;
    }
    .cal-weekday.sun { color: #ff6b6b; }
    .cal-weekday.sat { color: #60cdff; }

    .cal-grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 3px;
      background: #0b141a;
      padding: 4px;
      border-radius: 12px;
      border: 1px solid #202c33;
      will-change: transform, opacity;
      touch-action: pan-y;
      user-select: none;
      -webkit-user-select: none;
    }
    .cal-roll-in-left {
      animation: calRollInFromRight 0.25s cubic-bezier(0.2, 0.9, 0.3, 1) forwards !important;
    }
    .cal-roll-in-right {
      animation: calRollInFromLeft 0.25s cubic-bezier(0.2, 0.9, 0.3, 1) forwards !important;
    }
    @keyframes calRollInFromRight {
      0% { opacity: 0.15; transform: translate3d(60px, 0, 0); }
      100% { opacity: 1; transform: translate3d(0, 0, 0); }
    }
    @keyframes calRollInFromLeft {
      0% { opacity: 0.15; transform: translate3d(-60px, 0, 0); }
      100% { opacity: 1; transform: translate3d(0, 0, 0); }
    }
    .cal-day-cell {
      min-height: 50px;
      background: #141f26;
      border-radius: 6px;
      padding: 3px 2px;
      display: flex;
      flex-direction: column;
      cursor: pointer;
      transition: all 0.15s ease;
      border: 1.5px solid transparent;
      overflow: hidden;
      position: relative;
    }
    .cal-day-cell:hover {
      background: #1b2a33;
      border-color: #3b4a54;
    }
    .cal-day-cell.other-month {
      opacity: 0.28;
      background: #0c1418;
    }
    .cal-day-cell.today {
      border-color: #25d366;
      background: rgba(37, 211, 102, 0.08);
    }
    .cal-day-cell.selected {
      border-color: #ffd279;
      background: rgba(255, 210, 121, 0.14);
      box-shadow: 0 0 6px rgba(255, 210, 121, 0.4);
    }
    .cal-day-num {
      font-size: 11px;
      font-weight: 600;
      padding: 1px 3px;
      line-height: 1;
      margin-bottom: 2px;
    }
    .cal-day-cell.sun .cal-day-num { color: #ff8080; }
    .cal-day-cell.sat .cal-day-num { color: #80c8ff; }
    .cal-day-cell.today .cal-day-num {
      color: #25d366;
      font-weight: 800;
      text-decoration: underline;
    }

    .cal-events-wrap {
      display: flex;
      flex-direction: column;
      gap: 1.5px;
      width: 100%;
      overflow: hidden;
    }
    .cal-event-bar {
      font-size: 8.5px;
      line-height: 1.15;
      padding: 1.5px 2px;
      border-radius: 3px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      display: block;
      text-align: left;
    }
    .cal-event-booking {
      background: #003580;
      color: #ffffff;
      border: 1px solid #1a66cc;
      font-weight: 600;
    }
    .cal-event-airbnb {
      background: #ffb800;
      color: #111b21;
      border: 1px solid #ffa000;
      font-weight: 700;
    }
    .cal-event-direct {
      background: #005c4b;
      color: #5ef2c2;
      border: 1px solid #00a884;
      font-weight: 600;
    }

    .cal-selected-detail {
      margin-top: 10px;
      background: #111b21;
      border-radius: 12px;
      padding: 10px 12px;
      border: 1px solid #233138;
    }
    .cal-detail-header {
      font-size: 12px;
      font-weight: 700;
      color: #ffd279;
      margin-bottom: 6px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .cal-detail-item {
      background: #182229;
      padding: 8px 10px;
      border-radius: 8px;
      margin-bottom: 6px;
      font-size: 12px;
      line-height: 1.45;
    }
    .cal-detail-item.airbnb-item {
      border-left: 4px solid #ffb800;
    }
    .cal-detail-item.booking-item {
      border-left: 4px solid #003580;
    }
    .cal-detail-item.direct-item {
      border-left: 4px solid #00a884;
    }
    .cal-empty-card {
      text-align: center;
      padding: 12px 6px;
    }

    .sound-toast {
      position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
      background: rgba(17, 27, 33, 0.95); color: #5ef2c2; border: 1px solid #00a884;
      padding: 8px 16px; border-radius: 20px; font-size: 12px; font-weight: 500;
      z-index: 9999; box-shadow: 0 4px 16px rgba(0,0,0,0.6); pointer-events: none;
      transition: opacity 0.25s ease, transform 0.25s ease;
    }
    .sound-toast.hide { opacity: 0; transform: translate(-50%, -8px); }

    /* 게스트 채팅 실시간 AI 번역 툴바 */
    /* 게스트 2줄 실시간 번역 전송 바 */
    .user-input-row {
      display: flex;
      gap: 8px;
      align-items: center;
      width: 100%;
    }
    .user-input-row input#userInput {
      flex: 1;
      border: 1.5px solid #283740;
      border-radius: 22px;
      padding: 10px 14px;
      font-size: 13.5px;
      outline: none;
      background: #202c33;
      color: #fff;
      transition: all 0.2s ease;
      box-sizing: border-box;
    }
    .user-input-row input#userInput:focus {
      border-color: #00a884;
      background: #24343d;
      box-shadow: 0 0 0 2px rgba(0, 168, 132, 0.2);
    }
    .user-input-row input#userInput::placeholder {
      color: #8696a0;
      font-size: 12.5px;
    }
    .user-trans-row {
      display: flex;
      gap: 5px;
      align-items: center;
      width: 100%;
    }
    .user-trans-select-wrap {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      background: #202c33;
      border: 1px solid #3b4a54;
      border-radius: 16px;
      padding: 0 6px;
      height: 30px;
      flex-shrink: 0;
      box-sizing: border-box;
    }
    .user-trans-icon { font-size: 11.5px; line-height: 1; }
    .user-trans-select {
      background: transparent;
      color: #ffd279;
      border: none;
      font-size: 11px;
      font-weight: 700;
      outline: none;
      cursor: pointer;
      padding: 0;
      max-width: 105px;
    }
    .user-trans-select option { background: #111b21; color: #fff; }
    .user-trans-output-wrap {
      flex: 1;
      position: relative;
      display: flex;
      align-items: center;
      min-width: 0;
    }
    .user-trans-output-field {
      width: 100%;
      height: 30px;
      border: 1px solid #00a884;
      border-radius: 16px;
      padding: 0 24px 0 10px;
      font-size: 11.5px;
      outline: none;
      background: #142a22;
      color: #5ef2c2;
      font-weight: 500;
      transition: all 0.2s ease;
      box-sizing: border-box;
    }
    .user-trans-output-field:focus {
      border-color: #25d366;
      background: #17382d;
      color: #fff;
    }
    .user-trans-output-field::placeholder {
      color: #528974;
      font-size: 11px;
    }
    .user-trans-status-indicator {
      position: absolute;
      right: 7px;
      font-size: 11px;
      pointer-events: none;
      animation: spinIndicator 1.2s infinite linear;
    }
    @keyframes transPulseGlow {
      0% { box-shadow: 0 0 0 rgba(0, 168, 132, 0); border-color: #2a3942; }
      50% { box-shadow: 0 0 16px rgba(37, 211, 102, 0.7); border-color: #25d366; background: #1a2c35; }
      100% { box-shadow: 0 0 0 rgba(0, 168, 132, 0); border-color: #2a3942; }
    }
    .input-trans-glow {
      animation: transPulseGlow 1.2s ease-out;
    }


    /* 파일 및 동영상 첨부/다운로드 스타일 */
    .attach-btn {
      width: 38px; height: 38px; border-radius: 50%; background: #202c33; border: 1px solid #374248;
      color: #8696a0; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; transition: all 0.15s ease;
    }
    .attach-btn:hover { background: #2a3942; color: #e9edef; border-color: #00a884; }
    .attach-preview-bar {
      background: #182229; border: 1px solid #00a884; border-radius: 12px; padding: 6px 12px;
      display: flex; justify-content: space-between; align-items: center; font-size: 12px; margin-bottom: 4px;
    }
    .attach-preview-content { display: flex; align-items: center; gap: 6px; overflow: hidden; }
    .attach-preview-name { color: #fff; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; max-width: 180px; }
    .attach-preview-size { color: var(--text-sub); font-size: 11px; }
    .attach-cancel-btn { background: none; border: none; color: #8696a0; cursor: pointer; font-size: 15px; padding: 2px 6px; }
    .attach-cancel-btn:hover { color: #ef5350; }
    .chat-media-wrap {
      margin-top: 6px; border-radius: 10px; overflow: hidden; background: #111b21; border: 1px solid #283740;
      max-width: 100%; display: flex; flex-direction: column;
    }
    .chat-video-player {
      width: 100%; max-height: 240px; background: #000; border-radius: 8px 8px 0 0; outline: none; display: block;
    }
    .chat-img-thumb {
      width: 100%; max-height: 220px; object-fit: cover; border-radius: 8px 8px 0 0; cursor: pointer;
      transition: opacity 0.15s ease; display: block;
    }
    .chat-img-thumb:hover { opacity: 0.9; }
    .chat-media-footer {
      padding: 6px 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11px; background: #182229;
    }
    .media-title { color: #e9edef; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
    .media-dl-btn {
      background: #202c33; color: #5ef2c2; border: 1px solid #00a884; padding: 4px 9px; border-radius: 8px;
      font-size: 10.5px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
      display: inline-flex; align-items: center; gap: 4px; transition: background 0.15s ease;
    }
    .media-dl-btn:hover { background: #005c4b; color: #fff; }
    .file-box {
      flex-direction: row; align-items: center; padding: 10px 12px; gap: 10px; background: #182229; border-radius: 10px;
    }
    .file-icon-badge {
      width: 36px; height: 36px; border-radius: 8px; background: #202c33; border: 1px solid #374248;
      display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
    }
    .file-info-col { flex: 1; overflow: hidden; display: flex; flex-direction: column; gap: 2px; }
    .file-name-text { font-size: 12.5px; font-weight: 600; color: #fff; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
    .file-size-text { font-size: 10.5px; color: var(--text-sub); }

    /* CCTV 실시간 라이브 임베드 플레이어 카드 스타일 (모던 다크그레이 & 알찬 3열 그리드) */
    .cctv-media-card {
      border: 1px solid #2a3942 !important;
      background: #111b21 !important;
      width: 100%;
      max-width: 480px;
      border-radius: 10px;
      overflow: hidden;
      margin-top: 4px;
    }
    .cctv-live-badge-bar {
      display: flex; align-items: center; justify-content: space-between;
      padding: 6px 10px; background: #182229; border-bottom: 1px solid #2a3942;
    }
    .cctv-live-info { display: flex; align-items: center; gap: 6px; }
    .cctv-live-dot {
      width: 7px; height: 7px; background: #00a884; border-radius: 50%;
      display: inline-block; box-shadow: 0 0 5px #00a884;
      animation: cctvPulse 1.2s infinite ease-in-out;
    }
    @keyframes cctvPulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.35; transform: scale(0.8); }
    }
    .cctv-live-tag {
      font-weight: 700; color: #00a884; font-size: 10.5px; letter-spacing: 0.5px;
    }
    .cctv-live-title {
      font-size: 11.5px; color: #e9edef; font-weight: 500;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px;
    }
    .cctv-iframe-box {
      position: relative; width: 100%; padding-top: 56.25%; /* 16:9 비율 */
      background: #000; overflow: hidden;
    }
    .chat-cctv-iframe {
      position: absolute; top: 0; left: 0; width: 100%; height: 100%;
      border: 0; outline: none;
    }
    .cctv-btn-youtube {
      background: #202c33 !important; color: #cfd8dc !important; border: 1px solid #374248 !important;
      border-radius: 6px !important; padding: 4px 8px !important; font-size: 10.5px !important;
      text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
    }
    .cctv-btn-youtube:hover {
      background: #283740 !important; color: #fff !important; border-color: #53bdeb !important;
    }

    /* 알찬 CCTV 채널 그리드 (3열 균등 바둑판 배치) */
    .cctv-channels-box {
      margin-top: 8px;
      padding: 8px 10px;
      background: #111b21;
      border-top: 1px solid #283740;
      border-radius: 0 0 10px 10px;
    }
    .cctv-grid-container {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 5px;
      margin-top: 6px;
    }
    @media (max-width: 360px) {
      .cctv-grid-container {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    .cctv-grid-btn {
      background: #182229;
      border: 1px solid #283740;
      color: #cfd8dc;
      border-radius: 7px;
      padding: 5px 4px;
      font-size: 11px;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      transition: all 0.15s ease;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
      user-select: none;
      box-sizing: border-box;
      width: 100%;
    }
    .cctv-grid-btn:hover {
      background: #202c33;
      border-color: #00a884;
      color: #e9edef;
    }
    .cctv-grid-btn.active {
      background: #103629 !important;
      border-color: #00a884 !important;
      color: #5ef2c2 !important;
      font-weight: 700 !important;
      box-shadow: 0 0 8px rgba(0, 168, 132, 0.35);
    }
    .cctv-grid-btn .cctv-btn-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: #8696a0;
      flex-shrink: 0;
      transition: all 0.15s ease;
    }
    .cctv-grid-btn.active .cctv-btn-dot {
      background: #25d366;
      box-shadow: 0 0 5px #25d366;
      animation: cctvPulse 1.2s infinite ease-in-out;
    }

    /* 채팅창 내부 전송용 인챗 카드 (택시 길안내, 맛집 BEST 10, 예약 캘린더) */
    .chat-card-wrap {
      background: #111b21;
      border: 1px solid #283740;
      border-radius: 12px;
      padding: 12px;
      margin-top: 6px;
      color: #e9edef;
      box-shadow: 0 2px 8px rgba(0,0,0,0.3);
      width: 100%;
      box-sizing: border-box;
    }
    .taxi-card-box {
      border-color: #ffd279;
      background: linear-gradient(145deg, #182229, #111b21);
    }
    .food-card-box {
      border-color: #00a884;
      background: linear-gradient(145deg, #13222a, #111b21);
    }
    .cal-card-box {
      border-color: #53bdeb;
      background: linear-gradient(145deg, #132029, #111b21);
    }
    .chat-card-header {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 8px;
    }
    .chat-card-pill {
      margin-left: auto;
      font-size: 10px;
      background: #ffd279;
      color: #111b21;
      font-weight: 700;
      padding: 2px 6px;
      border-radius: 4px;
      flex-shrink: 0;
    }
    .chat-card-btn-row {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      margin-top: 10px;
    }
    .chat-card-btn {
      background: #202c33;
      border: 1px solid #374248;
      color: #8ad4ff;
      padding: 6px 10px;
      border-radius: 14px;
      font-size: 11.5px;
      font-weight: 600;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      transition: background 0.15s ease, border-color 0.15s ease;
    }
    .chat-card-btn:hover {
      background: #283740;
      border-color: #8ad4ff;
      color: #fff;
    }
    .chat-card-btn.primary {
      background: #103629;
      border-color: #00a884;
      color: #5ef2c2;
    }
    .chat-card-btn.primary:hover {
      background: #144937;
    }
    .chat-food-scroll-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
      max-height: 420px;
      overflow-y: auto;
      padding-right: 4px;
      margin-top: 6px;
    }
    .chat-food-item {
      background: #182229;
      border: 1px solid #2a3942;
      border-radius: 10px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }
    .chat-food-img {
      width: 100%;
      height: 120px;
      object-fit: cover;
      background: #202c33;
      display: block;
    }
    .chat-food-info {
      padding: 9px 10px;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    .chat-food-name {
      font-size: 13.5px;
      font-weight: 700;
      color: #fff;
    }
    .chat-food-tag {
      font-size: 10px;
      color: var(--gold-accent);
      background: #2a2212;
      padding: 2px 6px;
      border-radius: 4px;
      font-weight: 600;
    }
    .chat-food-reason {
      font-size: 11.5px;
      line-height: 1.45;
      color: #d1d7db;
      background: #111b21;
      padding: 6px 8px;
      border-radius: 6px;
    }
    .chat-food-reason strong {
      color: #5ef2c2;
    }
    .chat-food-links {
      display: flex;
      gap: 6px;
      margin-top: 4px;
    }
    .chat-food-link-btn {
      flex: 1;
      text-align: center;
      text-decoration: none;
      padding: 5px 8px;
      font-size: 11px;
      border-radius: 6px;
      background: #202c33;
      color: #8ad4ff;
      border: 1px solid #374248;
    }
    .chat-food-link-btn:hover {
      background: #2a3942;
      color: #fff;
    }

    /* 🔔 왓츠앱 실시간 알림 & 진동 허용 안내 배너 (처음 접속/앱 설치 시) */
    .wa-notif-prompt-banner {
      background: linear-gradient(135deg, #103629 0%, #0d281e 100%);
      border-bottom: 1px solid #00a884;
      padding: 7px 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.35);
      z-index: 100;
      flex-shrink: 0;
      animation: slideDownBanner 0.25s ease-out;
    }
    @keyframes slideDownBanner {
      from { transform: translateY(-100%); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }
    .wa-notif-prompt-content {
      display: flex;
      align-items: center;
      gap: 8px;
      min-width: 0;
      flex: 1;
    }
    .wa-notif-prompt-icon {
      font-size: 17px;
      flex-shrink: 0;
    }
    .wa-notif-prompt-info {
      display: flex;
      flex-direction: column;
      min-width: 0;
    }
    .wa-notif-prompt-title {
      font-size: 11.5px;
      font-weight: 700;
      color: #25d366;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .wa-notif-prompt-desc {
      font-size: 10.5px;
      color: #aebac1;
      line-height: 1.25;
      margin-top: 1px;
    }
    .wa-notif-prompt-actions {
      display: flex;
      align-items: center;
      gap: 5px;
      flex-shrink: 0;
    }
    .wa-notif-btn-allow {
      background: #25d366;
      color: #0b141a;
      border: none;
      border-radius: 12px;
      padding: 4px 10px;
      font-size: 11px;
      font-weight: 700;
      cursor: pointer;
      white-space: nowrap;
      box-shadow: 0 2px 6px rgba(37,211,102,0.3);
      transition: transform 0.1s ease;
    }
    .wa-notif-btn-allow:active {
      transform: scale(0.96);
    }
    .wa-notif-btn-close {
      background: transparent;
      color: #8696a0;
      border: none;
      font-size: 13px;
      padding: 3px 5px;
      cursor: pointer;
      line-height: 1;
    }
    .wa-notif-btn-close:hover {
      color: #e9edef;
    }

    /* 🔑 TTLock 대문 도어락 제어 & QR 발급기 모달 */
    #doorlockModal.show, #doorlockModal.open {
      display: flex !important;
    }
    #doorlockModal .modal-card {
      max-width: 440px;
      background: #182229;
      border: 1px solid #2a3942;
      border-radius: 16px;
      padding: 18px 20px;
      color: #e9edef;
      box-shadow: 0 16px 36px rgba(0,0,0,0.6);
      width: 92%;
    }
    #doorlockModal .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 14px;
      padding-bottom: 8px;
      border-bottom: 1px solid #222e35;
    }
    #doorlockModal .modal-header h3 {
      margin: 0;
      font-size: 15.5px;
      font-weight: 700;
      color: #00a884;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    #doorlockModal .close-btn {
      background: transparent;
      border: none;
      color: #8696a0;
      font-size: 16px;
      cursor: pointer;
      padding: 4px 8px;
      border-radius: 6px;
      line-height: 1;
    }
    #doorlockModal .close-btn:hover {
      background: rgba(255,255,255,0.08);
      color: #e9edef;
    }
    #doorlockModal .field {
      margin-bottom: 12px;
      text-align: left;
    }
    #doorlockModal .field label {
      display: block;
      font-size: 12px;
      color: #8696a0;
      margin-bottom: 5px;
      font-weight: 600;
    }
    #doorlockModal .field input,
    #doorlockModal .field select {
      width: 100%;
      box-sizing: border-box;
      background: #111b21;
      border: 1px solid #2a3942;
      color: #e9edef;
      padding: 9px 12px;
      border-radius: 8px;
      font-size: 13.5px;
      outline: none;
      transition: border-color 0.2s;
    }
    #doorlockModal .field input:focus,
    #doorlockModal .field select:focus {
      border-color: #00a884;
    }
    #doorlockModal .btn-row {
      display: flex;
      gap: 8px;
      margin-top: 14px;
    }
    #doorlockModal .btn-green {
      flex: 1;
      background: #00a884;
      color: #111b21;
      font-weight: 700;
      border: none;
      padding: 10px 14px;
      border-radius: 8px;
      cursor: pointer;
      font-size: 13.5px;
      transition: background 0.2s, transform 0.1s;
    }
    #doorlockModal .btn-green:hover {
      background: #06cf9c;
    }
    #doorlockModal .btn-green:active {
      transform: scale(0.98);
    }
    #doorlockModal .btn-dark {
      flex: 1;
      background: #202c33;
      border: 1px solid #53bdeb;
      color: #53bdeb;
      font-weight: 700;
      padding: 10px 14px;
      border-radius: 8px;
      cursor: pointer;
      font-size: 13.5px;
      transition: background 0.2s, transform 0.1s;
    }
    #doorlockModal .btn-dark:hover {
      background: #2a3942;
    }
    #doorlockModal .btn-dark:active {
      transform: scale(0.98);
    }


/* ============================================================
   SORIJAE LANDING VIEW (메인 도메인 일반 접속 전용 인덱스 화면)
   ============================================================ */
.sorijae-landing-container {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 20%, #172420 0%, #0c1417 100%);
  padding: 16px;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Noto Sans KR", sans-serif;
  color: #e9edef;
}
.landing-card {
  width: 100%;
  max-width: 440px;
  background: rgba(17, 27, 33, 0.95);
  border: 1px solid rgba(0, 168, 132, 0.35);
  border-radius: 20px;
  padding: 24px 20px 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  text-align: center;
  animation: landingFadeIn 0.5s ease-out;
}
@keyframes landingFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.landing-header {
  margin-bottom: 16px;
}
.landing-roof-symbol {
  color: #f6efdc;
  margin-bottom: 4px;
  display: flex;
  justify-content: center;
}
.landing-brand-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #f1f2f6;
  margin: 0;
  font-family: "Cinzel", "Times New Roman", serif, sans-serif;
}
.landing-brand-sub {
  font-size: 11px;
  letter-spacing: 2.5px;
  color: #8696a0;
  margin: 2px 0 6px;
  text-transform: uppercase;
  font-weight: 500;
}
.landing-brand-badge {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 2px;
  color: #ffd279;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 20px;
  background: rgba(255, 210, 121, 0.1);
  border: 1px solid rgba(255, 210, 121, 0.25);
}
.landing-signboard-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 18px;
  background: #000;
}
.landing-signboard-img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.landing-signboard-wrap:hover .landing-signboard-img {
  transform: scale(1.02);
}
.landing-address-box {
  background: rgba(32, 44, 51, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 14px 12px;
  margin-bottom: 16px;
  text-align: center;
}
.addr-badge {
  font-size: 11px;
  font-weight: 700;
  color: #00a884;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.addr-primary {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
  word-break: keep-all;
}
.addr-en {
  font-size: 11.5px;
  color: #8696a0;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}
.addr-subway {
  font-size: 12px;
  color: #ffd279;
  background: rgba(255, 210, 121, 0.08);
  padding: 6px 10px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 12px;
}
.addr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.landing-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.btn-copy {
  background: #233138;
  color: #5ef2c2;
  border: 1px solid rgba(94, 242, 194, 0.3);
}
.btn-copy:hover {
  background: #2a3c44;
}
.btn-map {
  background: #182229;
  color: #aebac1;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-map:hover {
  background: #202c33;
  color: #ffffff;
}
.landing-guest-notice {
  background: rgba(17, 34, 27, 0.6);
  border: 1px dashed rgba(0, 168, 132, 0.4);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
}
.notice-text {
  font-size: 11.5px;
  color: #8696a0;
  line-height: 1.5;
  margin: 0 0 10px;
}
.btn-enter-guest {
  width: 100%;
  background: linear-gradient(135deg, #00a884, #028267);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 168, 132, 0.35);
  transition: transform 0.15s ease, filter 0.2s ease;
}
.btn-enter-guest:hover {
  filter: brightness(1.08);
}
.btn-enter-guest:active {
  transform: scale(0.98);
}
.landing-footer {
  font-size: 11px;
  color: #667781;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.landing-admin-link {
  color: #8696a0;
  text-decoration: none;
}
.landing-admin-link:hover {
  color: #00a884;
  text-decoration: underline;
}
.landing-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 16px;
}
.landing-modal-card {
  width: 100%;
  max-width: 360px;
  background: #111b21;
  border: 1px solid #00a884;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
  box-sizing: border-box;
}
.landing-modal-input {
  width: 100%;
  box-sizing: border-box;
  background: #202c33;
  border: 1px solid #2a3942;
  border-radius: 8px;
  padding: 10px 12px;
  color: #e9edef;
  font-size: 13px;
  outline: none;
}
.landing-modal-input:focus {
  border-color: #00a884;
}
.landing-btn-submit {
  width: 100%;
  background: #00a884;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}
