
.reina-web-chat{position:fixed;right:22px;bottom:22px;z-index:9998;font-family:Inter,"Noto Sans KR",sans-serif}
.reina-chat-launcher{width:190px;height:66px;display:flex;align-items:center;gap:10px;padding:5px 13px 5px 5px;border:1px solid rgba(236,108,211,.22);border-radius:22px;background:rgba(13,15,25,.94);color:#fff;box-shadow:0 20px 55px rgba(0,0,0,.38),0 0 30px rgba(209,82,205,.07);backdrop-filter:blur(18px);cursor:pointer;transition:.2s ease;position:relative}
.reina-chat-launcher:hover{transform:translateY(-3px);border-color:rgba(239,116,217,.4)}
.reina-chat-launcher.is-hidden{opacity:0;pointer-events:none;transform:translateY(10px)}
.reina-chat-launcher>img{width:54px!important;height:54px!important;max-width:54px!important;max-height:54px!important;display:block;flex:0 0 54px;border-radius:17px;object-fit:contain!important;object-position:center bottom;background:radial-gradient(circle at 50% 30%,rgba(230,101,212,.15),transparent 55%),#11131e}
.launcher-online{position:absolute;left:47px;bottom:7px;width:9px;height:9px;border:2px solid #11131e;border-radius:50%;background:#68edb3;box-shadow:0 0 10px rgba(104,237,179,.55)}
.launcher-label{text-align:left}.launcher-label b,.launcher-label small{display:block}.launcher-label b{font-size:12px;letter-spacing:.08em}.launcher-label small{font-size:8px;color:#8b95a9;margin-top:3px;white-space:nowrap}
.reina-chat-window{position:absolute;right:0;bottom:0;width:min(390px,calc(100vw - 28px));height:min(610px,calc(100vh - 100px));display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(235,111,214,.18);border-radius:25px;background:rgba(10,12,20,.98);box-shadow:0 28px 85px rgba(0,0,0,.52),0 0 55px rgba(205,77,202,.07);backdrop-filter:blur(24px);opacity:0;pointer-events:none;transform:translateY(15px) scale(.97);transform-origin:right bottom;transition:.22s ease}
.reina-chat-window.is-open{opacity:1;pointer-events:auto;transform:none}
.reina-chat-header{height:74px;flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:10px 13px;border-bottom:1px solid rgba(255,255,255,.06);background:linear-gradient(100deg,rgba(205,78,195,.07),transparent)}
.reina-chat-profile{display:flex;align-items:center;gap:10px}.reina-chat-avatar{width:50px;height:50px;overflow:hidden;border-radius:15px;background:radial-gradient(circle at 50% 30%,rgba(231,104,212,.14),transparent 55%),#121420}.reina-chat-avatar img{width:100%!important;height:100%!important;max-width:100%!important;display:block;object-fit:contain!important;object-position:center bottom}
.reina-chat-profile b,.reina-chat-profile small{display:block}.reina-chat-profile b{font-size:12px;letter-spacing:.09em}.reina-chat-profile small{font-size:7px;color:#778398;margin-top:4px;letter-spacing:.06em}.reina-chat-profile small i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#68edb3;margin-right:5px;box-shadow:0 0 9px rgba(104,237,179,.5)}
.reina-chat-header>button{width:34px;height:34px;border:0;border-radius:10px;background:rgba(255,255,255,.035);color:#929bad;font-size:22px;cursor:pointer}
.reina-chat-body{flex:1;overflow-y:auto;padding:18px 14px;scrollbar-width:thin;scrollbar-color:#4b3b59 transparent}
.reina-chat-msg{display:flex;gap:8px;align-items:flex-start;margin:0 0 13px}.reina-chat-msg>img{width:30px!important;height:30px!important;max-width:30px!important;flex:0 0 30px;border-radius:9px;object-fit:contain!important;object-position:center bottom;background:#141622}
.reina-chat-msg p{white-space:pre-wrap;word-break:break-word;margin:0;max-width:82%;padding:10px 12px;border-radius:5px 14px 14px 14px;border:1px solid rgba(230,106,211,.08);background:linear-gradient(135deg,rgba(205,80,195,.08),rgba(91,75,185,.045));color:#c6ccda;font-size:10px;line-height:1.72}
.user-msg{justify-content:flex-end}.user-msg p{border:0;border-radius:14px 5px 14px 14px;background:#1b1e2d;color:#e9ebf2}
.reina-chat-msg.typing p{color:#7f899c;font-style:italic}
.reina-chat-suggestions{display:flex;gap:6px;flex-wrap:wrap;margin:4px 0 8px 38px}.reina-chat-suggestions button{padding:7px 9px;border:1px solid rgba(225,103,208,.1);border-radius:9px;background:rgba(255,255,255,.025);color:#939db0;font-size:8px;cursor:pointer}
.reina-chat-inputbar{display:flex;align-items:flex-end;gap:8px;padding:11px 12px;border-top:1px solid rgba(255,255,255,.06);background:#0c0e17}.reina-chat-inputbar textarea{flex:1;min-height:39px;max-height:96px;resize:none;padding:11px 12px;border:1px solid rgba(255,255,255,.075);border-radius:13px;outline:none;background:#121520;color:#e8eaf0;font:inherit;font-size:10px;line-height:1.5}.reina-chat-inputbar>button{width:40px;height:40px;flex:0 0 auto;border:0;border-radius:12px;background:linear-gradient(135deg,#ec79c9,#9679ff);color:#fff;cursor:pointer;font-size:13px}
.reina-chat-foot{padding:0 12px 10px;text-align:center;background:#0c0e17;color:#4f5a6e;font-size:7px}
.reina-web-chat,.reina-chat-launcher{pointer-events:auto!important}
@media(max-width:600px){.reina-web-chat{right:12px;bottom:12px}.reina-chat-launcher{width:62px;height:62px;border-radius:20px;padding:4px}.reina-chat-launcher>img{width:52px!important;height:52px!important;max-width:52px!important;flex-basis:52px}.launcher-label{display:none}.launcher-online{left:auto;right:5px;bottom:5px}.reina-chat-window{width:calc(100vw - 24px);height:min(620px,calc(100vh - 76px))}}

/* REINA WEB v3.6.1 · AI Assistant collision hotfix */
.reina-home-footer{
  padding-bottom:96px!important;
}
.reina-legal-page .legal-shell{
  padding-bottom:150px!important;
}

/* 노트북/태블릿/폭이 좁은 데스크톱에서는 런처를 캐릭터 버튼으로 축소 */
@media(max-width:1100px){
  .reina-web-chat{right:16px;bottom:16px}
  .reina-chat-launcher{
    width:64px!important;
    height:64px!important;
    padding:4px!important;
    border-radius:21px!important;
  }
  .reina-chat-launcher>img{
    width:54px!important;
    height:54px!important;
    max-width:54px!important;
    flex-basis:54px!important;
  }
  .reina-chat-launcher .launcher-label{display:none!important}
  .reina-chat-launcher .launcher-online{
    left:auto!important;
    right:5px!important;
    bottom:5px!important;
  }
}

/* 아주 작은 화면에서는 Footer와 겹치지 않도록 더 작게 */
@media(max-width:600px){
  .reina-web-chat{right:10px!important;bottom:10px!important}
  .reina-chat-launcher{
    width:58px!important;
    height:58px!important;
    border-radius:19px!important;
  }
  .reina-chat-launcher>img{
    width:50px!important;
    height:50px!important;
    max-width:50px!important;
    flex-basis:50px!important;
  }
  .reina-chat-window{
    right:0!important;
    bottom:0!important;
    width:calc(100vw - 20px)!important;
    height:min(620px,calc(100vh - 68px))!important;
  }
  .reina-home-footer{padding-bottom:88px!important}
  .reina-legal-page .legal-shell{padding-bottom:120px!important}
}

