/* chatbot2027 (owner 2026-11-25): the floating 3D chibi assistant (public/rental/chatbot2027.js). Site palette; above
   the phone LINE bar (--kkbot-bar is its height, set by the script). */
.kkbot{--kkbot-bar:0px;position:fixed;right:20px;bottom:calc(20px + var(--kkbot-bar));z-index:60;font-family:var(--font);color:var(--ink)}
.kkbot-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.kkbot-launcher{position:relative;display:flex;align-items:flex-end;gap:0;padding:0;border:0;background:none;cursor:pointer;color:inherit}
.kkbot-avatar{position:relative;display:block;width:92px;height:92px;border-radius:50%;background:radial-gradient(circle at 50% 38%,#fff 0 40%,var(--blue-soft) 72%);box-shadow:0 10px 30px #17394e33,0 0 0 4px #fff,0 0 0 6px var(--orange);overflow:hidden;transition:transform .25s cubic-bezier(.2,.8,.2,1.4)}
.kkbot-launcher:hover .kkbot-avatar,.kkbot-launcher:focus-visible .kkbot-avatar{transform:translateY(-3px) scale(1.04)}
.kkbot-launcher:focus-visible{outline:none}.kkbot-launcher:focus-visible .kkbot-avatar{box-shadow:0 10px 30px #17394e33,0 0 0 4px #fff,0 0 0 7px var(--blue)}
.kkbot-avatar .kkbot-poster{position:absolute;left:50%;bottom:-6px;width:84px;height:auto;translate:-50% 0}
.kkbot-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none}
.kkbot.has-3d .kkbot-poster{visibility:hidden}
.kkbot.is-open .kkbot-avatar .kkbot-poster{visibility:visible}
.kkbot-launcher-label{position:absolute;right:calc(100% - 10px);bottom:8px;white-space:nowrap;padding:7px 14px 7px 12px;border-radius:999px 0 0 999px;background:var(--ink);color:#fff;font-size:14px;font-weight:700;box-shadow:0 6px 18px #17394e33;pointer-events:none}
.kkbot.is-open .kkbot-launcher-label{display:none}
.kkbot-teaser{position:absolute;right:6px;bottom:108px;width:max-content;max-width:230px;margin:0;padding:10px 14px;border-radius:14px 14px 4px 14px;background:#fff;border:1px solid var(--line);box-shadow:0 10px 30px #17394e26;font-size:14px;line-height:1.45;cursor:pointer;animation:kkbot-pop .35s cubic-bezier(.2,.8,.2,1.3)}
.kkbot-teaser[hidden]{display:none}
@keyframes kkbot-pop{from{opacity:0;transform:translateY(8px) scale(.96)}to{opacity:1;transform:none}}
.kkbot-panel{position:absolute;right:0;bottom:108px;width:min(392px,calc(100vw - 40px));height:min(620px,calc(100dvh - 150px - var(--kkbot-bar)));display:flex;flex-direction:column;border-radius:20px;background:#fff;border:1px solid var(--line);box-shadow:0 24px 60px #17394e40;overflow:hidden;animation:kkbot-pop .3s cubic-bezier(.2,.8,.2,1.1)}
.kkbot-panel[hidden]{display:none}
.kkbot-head{position:relative;display:flex;align-items:flex-end;gap:12px;padding:12px 48px 12px 12px;background:linear-gradient(160deg,var(--blue-dark),var(--blue));color:#fff;flex:none}
.kkbot-head{border-bottom:4px solid var(--orange)}
.kkbot-stage{position:relative;width:108px;height:120px;flex:none;margin:-4px 0 -12px;border-radius:16px 16px 0 0;background:radial-gradient(circle at 50% 45%,#ffffff40,transparent 70%);cursor:grab}
.kkbot-stage:active{cursor:grabbing}
.kkbot-stage .kkbot-poster{position:absolute;left:50%;bottom:0;width:96px;height:auto;translate:-50% 0}
.kkbot-head-text{padding-bottom:6px;min-width:0}
.kkbot-title{margin:0;font-size:18px;font-weight:800;line-height:1.3}
.kkbot-close{position:absolute;right:10px;top:10px;width:36px;height:36px;border:0;border-radius:50%;background:#ffffff26;color:#fff;cursor:pointer;display:grid;place-items:center}
.kkbot-close:hover,.kkbot-close:focus-visible{background:#ffffff40;outline:2px solid #fff;outline-offset:1px}
.kkbot-close svg{width:18px;height:18px}
.kkbot-log{flex:1;overflow-y:auto;padding:22px 14px 8px;display:flex;flex-direction:column;gap:12px;background:var(--bg);overscroll-behavior:contain}
.kkbot-msg{display:flex;gap:8px;align-items:flex-end;max-width:100%}
.kkbot-msg.is-user{justify-content:flex-end}
.kkbot-face{width:46px;height:auto;flex:none;align-self:flex-end;filter:drop-shadow(0 3px 4px #17394e26)}
.kkbot-say{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}
.kkbot-bubble{margin:0;padding:10px 13px;border-radius:16px 16px 16px 4px;background:#fff;border:1px solid var(--line);font-size:14.5px;line-height:1.55;width:fit-content;max-width:100%;overflow-wrap:anywhere}
.kkbot-bubble small{color:var(--muted);font-size:12.5px}
.kkbot-msg.is-user .kkbot-bubble{border-radius:16px 16px 4px 16px;background:var(--blue);border-color:var(--blue);color:#fff;max-width:80%}
.kkbot-msg.is-typing .kkbot-bubble{display:flex;gap:4px;padding:13px 14px}
.kkbot-msg.is-typing .kkbot-bubble span:not(.kkbot-sr){width:7px;height:7px;border-radius:50%;background:#9aa7b0;animation:kkbot-dot 1s infinite ease-in-out}
.kkbot-msg.is-typing .kkbot-bubble span:nth-child(2){animation-delay:.15s}.kkbot-msg.is-typing .kkbot-bubble span:nth-child(3){animation-delay:.3s}
@keyframes kkbot-dot{0%,60%,100%{transform:none;opacity:.5}30%{transform:translateY(-4px);opacity:1}}
.kkbot-rooms{display:flex;flex-direction:column;gap:8px}
.kkbot-room{display:flex;gap:10px;padding:8px;border-radius:14px;background:#fff;border:1px solid var(--line);color:inherit;text-decoration:none;transition:border-color .15s,box-shadow .15s}
.kkbot-room:hover,.kkbot-room:focus-visible{border-color:var(--blue);box-shadow:0 6px 18px #17394e1f;outline:none}
.kkbot-room img,.kkbot-room-noimg{width:96px;height:72px;flex:none;border-radius:10px;object-fit:cover;background:var(--blue-soft)}
.kkbot-room-text{display:flex;flex-direction:column;gap:1px;min-width:0;font-size:12.5px;color:var(--muted);line-height:1.4}
.kkbot-room-text strong{color:var(--ink);font-size:14px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.kkbot-room-price{color:var(--blue-dark);font-weight:800;font-size:14px}
.kkbot-room-price small{font-weight:600;color:var(--muted)}
.kkbot-zones{display:flex;flex-wrap:wrap;gap:6px}
.kkbot-zones a,.kkbot-links a{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;background:#fff;border:1px solid var(--line);color:var(--blue-dark);font-size:13.5px;font-weight:600;text-decoration:none}
.kkbot-zones a small{color:var(--muted);font-weight:500}
.kkbot-links{display:flex;flex-direction:column;gap:6px}
.kkbot-links a{border-radius:12px;padding:9px 12px}
.kkbot-zones a:hover,.kkbot-links a:hover,.kkbot-zones a:focus-visible,.kkbot-links a:focus-visible{border-color:var(--blue);outline:none}
.kkbot-chips{display:flex;flex-wrap:wrap;gap:6px;padding:8px 12px 10px;background:var(--bg);flex:none;max-height:132px;overflow-y:auto}
.kkbot-chips:empty{display:none}
.kkbot-chip{display:inline-flex;align-items:center;min-height:36px;padding:6px 14px;border-radius:999px;border:1.5px solid var(--blue);background:#fff;color:var(--blue-dark);font:600 13.5px/1.3 var(--font);cursor:pointer;text-decoration:none}
.kkbot-chip:hover,.kkbot-chip:focus-visible{background:var(--blue);color:#fff;outline:none}
.kkbot-chip.is-line{border-color:#06c755;color:#057a36}
.kkbot-chip.is-line:hover,.kkbot-chip.is-line:focus-visible{background:#06c755;color:#fff}
.kkbot-form{display:flex;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff;flex:none}
.kkbot-form input{flex:1;min-width:0;height:42px;padding:0 14px;border:1.5px solid var(--line);border-radius:999px;font:16px var(--font);color:var(--ink);background:var(--bg)}
.kkbot-form input:focus{outline:none;border-color:var(--blue);background:#fff}
.kkbot-form button{width:42px;height:42px;flex:none;border:0;border-radius:50%;background:var(--orange);color:var(--ink);cursor:pointer;display:grid;place-items:center}
.kkbot-form button:hover,.kkbot-form button:focus-visible{background:#e8930a;outline:2px solid var(--ink);outline-offset:1px}
.kkbot-form button svg{width:20px;height:20px}
@media(max-width:850px){
  .kkbot{right:12px;bottom:calc(12px + var(--kkbot-bar))}
  .kkbot-avatar{width:68px;height:68px}
  .kkbot-avatar .kkbot-poster{width:64px}
  .kkbot-launcher-label{font-size:13px;padding:6px 12px 6px 10px;bottom:4px}
  .kkbot-teaser{bottom:82px}
  .kkbot.is-open{left:0;right:0;bottom:0}
  .kkbot.is-open .kkbot-launcher{display:none}
  .kkbot-panel{position:fixed;left:0;right:0;bottom:0;width:auto;height:min(88dvh,680px);border-radius:20px 20px 0 0}
  .kkbot-log{padding-top:20px}
}
@media(prefers-reduced-motion:reduce){.kkbot-teaser,.kkbot-panel{animation:none}.kkbot-avatar{transition:none}.kkbot-msg.is-typing .kkbot-bubble span{animation:none}}
@media print{.kkbot{display:none}}
