/* Zenkai Idle R7.10.92 — isolated fixes only:
   chat resizing + hunt departure notice. NO Hunt modal/frame/layout selectors here. */

/* V54 remains the visual authority for the chat. V92 only replaces the unreliable
   native resize gesture with explicit hit areas. */
html body .hunter-chat{
  resize:none!important;
  min-width:220px!important;
  min-height:150px!important;
  max-width:min(760px,calc(100vw - 8px))!important;
  max-height:min(720px,calc(100dvh - 58px))!important;
}
html body .hunter-chat.minimized{
  min-height:31px!important;
  max-height:31px!important;
}
.hunter-chat .zk92-chat-resize{
  position:absolute!important;
  display:block!important;
  z-index:999!important;
  pointer-events:auto!important;
  touch-action:none!important;
  user-select:none!important;
  background:transparent!important;
}
.hunter-chat .zk92-chat-resize.top{left:18px!important;right:18px!important;top:0!important;height:10px!important;cursor:ns-resize!important}
.hunter-chat .zk92-chat-resize.left{left:0!important;top:18px!important;bottom:18px!important;width:10px!important;cursor:ew-resize!important}
.hunter-chat .zk92-chat-resize.right{right:0!important;top:18px!important;bottom:18px!important;width:10px!important;cursor:ew-resize!important}
.hunter-chat .zk92-chat-resize.bottom{left:18px!important;right:18px!important;bottom:0!important;height:8px!important;cursor:ns-resize!important}
.hunter-chat .zk92-chat-resize.top-left{left:0!important;top:0!important;width:20px!important;height:20px!important;cursor:nwse-resize!important}
.hunter-chat .zk92-chat-resize.top-right{right:0!important;top:0!important;width:20px!important;height:20px!important;cursor:nesw-resize!important}
.hunter-chat .zk92-chat-resize.bottom-left{left:0!important;bottom:0!important;width:18px!important;height:18px!important;cursor:nesw-resize!important}
.hunter-chat .zk92-chat-resize.bottom-right{right:0!important;bottom:0!important;width:18px!important;height:18px!important;cursor:nwse-resize!important}
.hunter-chat.minimized .zk92-chat-resize{display:none!important}
body.zk92-chat-resizing,body.zk92-chat-resizing *{user-select:none!important}

/* Small visual indicators only; the entire borders above are clickable. */
.hunter-chat:not(.minimized)::after{
  pointer-events:none!important;
}
.hunter-chat .zk92-chat-resize.top-left::after,
.hunter-chat .zk92-chat-resize.top-right::after{
  content:'';position:absolute;top:3px;width:12px;height:2px;border-top:1px solid rgba(82,190,255,.72);opacity:.65;
}
.hunter-chat .zk92-chat-resize.top-left::after{left:4px;transform:rotate(-45deg)}
.hunter-chat .zk92-chat-resize.top-right::after{right:4px;transform:rotate(45deg)}

/* Notice displayed while the REAL lobby path is being walked. */
.zk92-hunt-departure{
  position:fixed!important;
  left:50%!important;
  top:var(--zk93-depart-top,113px)!important;
  transform:translateX(-50%)!important;
  z-index:100500!important;
  width:min(520px,calc(100vw - 24px))!important;
  display:none!important;
  grid-template-columns:42px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  padding:9px 10px!important;
  box-sizing:border-box!important;
  border:1px solid #43c9ff!important;
  border-radius:6px!important;
  background:linear-gradient(180deg,rgba(5,42,78,.97),rgba(3,21,41,.98))!important;
  box-shadow:0 8px 32px rgba(0,0,0,.78),0 0 18px rgba(34,190,255,.24),inset 0 0 16px rgba(39,159,225,.12)!important;
  color:#eaf7ff!important;
  font-family:Arial,Helvetica,sans-serif!important;
  pointer-events:auto!important;
}
.zk92-hunt-departure.show{display:grid!important}
.zk92-hunt-departure .zk92-depart-icon{
  width:40px;height:40px;display:grid;place-items:center;border:1px solid #238fd0;border-radius:50%;
  background:#071b31;color:#7bdcff;font-size:21px;font-weight:900;
}
.zk92-hunt-departure .zk92-depart-copy{min-width:0;display:grid;gap:2px}
.zk92-hunt-departure .zk92-depart-copy b{font-size:13px;color:#fff;letter-spacing:.02em;text-shadow:0 1px 2px #000}
.zk92-hunt-departure .zk92-depart-copy span{font-size:11px;color:#a9cde2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.zk92-hunt-departure .zk92-depart-copy small{font-size:9.5px;color:#65cff2}
.zk92-hunt-departure button{
  height:34px;min-width:94px;padding:0 12px;border:1px solid #a44d34;border-radius:4px;
  background:linear-gradient(#75351f,#421c12);color:#ffd9ca;font:900 11px/1 Arial,sans-serif;cursor:pointer;
}
.zk92-hunt-departure button:hover{filter:brightness(1.13)}
@media(max-width:760px){
  .zk92-hunt-departure{width:calc(100vw - 12px)!important;grid-template-columns:34px minmax(0,1fr) auto!important;padding:7px 8px!important}
  .zk92-hunt-departure .zk92-depart-icon{width:32px;height:32px;font-size:17px}
  .zk92-hunt-departure .zk92-depart-copy b{font-size:11px}.zk92-hunt-departure .zk92-depart-copy span{font-size:9.5px}.zk92-hunt-departure .zk92-depart-copy small{font-size:8.5px}
  .zk92-hunt-departure button{height:31px;min-width:78px;padding:0 8px;font-size:10px}
}
