.chat-location-overlay,.chat-encounter-overlay{position:fixed;inset:0;z-index:70;display:grid;place-items:center;padding:16px;background:rgba(6,7,25,.76);backdrop-filter:blur(12px)}
.chat-location-choice,.chat-map-card,.chat-encounter-card{overflow:hidden;border:1px solid rgba(184,157,255,.64);border-radius:23px;background:linear-gradient(145deg,#332869,#172048);box-shadow:0 23px 70px rgba(0,0,0,.5);color:#f7f3ff}
.chat-location-choice{width:min(360px,100%);padding:14px}.chat-location-choice header,.chat-map-card header,.chat-encounter-card header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 17px}.chat-location-choice header button,.chat-map-card header button{border:0;background:none;color:#f7f3ff;font-size:24px;cursor:pointer}.chat-location-choice>button{width:100%;display:flex;align-items:center;gap:13px;padding:15px;border:1px solid rgba(183,152,255,.26);border-radius:14px;background:rgba(150,117,239,.12);color:inherit;text-align:left;margin-top:9px;cursor:pointer}.chat-location-choice>button>span:first-child{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:rgba(158,130,245,.23);font-size:24px}.chat-location-choice strong,.chat-location-choice small,.chat-map-card strong,.chat-map-card small,.chat-encounter-card strong,.chat-encounter-card small{display:block}.chat-location-choice small,.chat-map-card small,.chat-encounter-card small{font-size:11px;color:#c9bee8;margin-top:3px}
.chat-map-card,.chat-encounter-card{position:relative;width:min(750px,100%)}.chat-map-viewport{position:relative}#chat-place-map,#encounter-map{height:min(55vh,480px);min-height:285px;background:#253657}.chat-map-pin{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:600;pointer-events:none;color:#805bf1;font-size:41px;text-shadow:0 2px 9px #fff,0 0 18px #d1adff}.chat-map-bottom,.chat-encounter-bottom{padding:15px 17px;display:grid;gap:10px}.chat-map-bottom input,.chat-encounter-bottom input{width:100%;padding:10px 12px;margin-top:5px;border:1px solid rgba(180,153,252,.42);border-radius:11px;background:rgba(10,14,41,.5);color:#fff}.chat-map-bottom>div,.chat-encounter-bottom>div{display:flex;gap:9px}.chat-map-bottom button,.chat-encounter-bottom button,.chat-encounter-card header button{padding:10px 17px;border:1px solid rgba(181,156,255,.58);border-radius:11px;background:linear-gradient(130deg,#8e72de,#5b53b2);color:#fff;cursor:pointer}.chat-encounter-card header button{background:#a84b67}.chat-encounter-bottom>div input{margin:0}
.chat-place-card{width:min(275px,60vw);display:grid;gap:0;padding:0;overflow:hidden;border:0;border-radius:10px;background:rgba(131,112,194,.14);color:inherit;text-align:left;cursor:pointer}.chat-place-map-preview{height:75px;display:grid;place-items:center;background:radial-gradient(circle at 50% 50%,#a59de2 0 3px,transparent 4px),linear-gradient(35deg,rgba(160,180,199,.3) 25%,transparent 25% 45%,rgba(158,179,199,.3) 45% 55%,transparent 55%),#35436a;color:#e5d5ff;font-size:26px}.chat-place-description{padding:9px}.chat-place-description strong,.chat-place-description small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-place-description small{font-size:10px;color:var(--muted)}
#encounter-ptt{width:100%;min-height:48px;border:1px solid rgba(186,163,255,.65);border-radius:14px;background:linear-gradient(135deg,rgba(152,118,242,.77),rgba(100,82,200,.9));color:#fff;font-weight:650;touch-action:none;cursor:pointer}#encounter-ptt:disabled{opacity:.52;cursor:default}#encounter-ptt.talking{background:linear-gradient(135deg,#71cfb1,#34a77a);box-shadow:0 0 25px rgba(75,210,154,.35)}
.chat-place-search{display:flex;gap:8px;padding:0 15px 10px}.chat-place-search input{flex:1;min-width:0;padding:9px 11px;border:1px solid rgba(180,153,252,.45);border-radius:10px;background:#111a3d;color:#fff}.chat-place-search button{padding:9px 15px;border:0;border-radius:10px;background:#9272e3;color:#fff;cursor:pointer}.chat-place-results{max-height:130px;overflow:auto;color:#d5c8ef;font-size:11px}.chat-place-results:not(:empty){padding:5px 15px}.chat-place-results button{display:block;width:100%;padding:7px;border:0;border-bottom:1px solid rgba(180,153,252,.2);background:transparent;color:#efeaff;text-align:left;cursor:pointer}
.chat-map-card .chat-place-results{max-height:min(29vh,220px);overflow:auto;scrollbar-color:#8e75d2 transparent}.chat-map-card .chat-place-results p{margin:7px 4px;color:#cdbfe9}.chat-map-card .chat-place-results button{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:8px 10px;border-radius:9px;transition:background .16s ease}.chat-map-card .chat-place-results button:hover,.chat-map-card .chat-place-results button.active{background:rgba(152,117,237,.26)}.chat-map-card .chat-place-results strong{font-size:12px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-map-card .chat-place-results small{grid-column:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#bdb5db}.chat-map-card .chat-place-results em{grid-column:2;grid-row:1/3;align-self:center;font-style:normal;color:#e2d2ff}.chat-map-pin.bounce{animation:chatPinBounce .42s ease-out}@keyframes chatPinBounce{0%{transform:translate(-50%,-65%)}45%{transform:translate(-50%,-95%)}100%{transform:translate(-50%,-50%)}}
.chat-incoming-encounter{position:fixed;z-index:80;top:12px;left:50%;transform:translateX(-50%);max-width:95vw;display:flex;align-items:center;gap:9px;padding:10px 13px;border:1px solid #c2aaff;border-radius:15px;background:#2e225e;color:#fff;box-shadow:0 12px 33px rgba(10,9,42,.55)}.chat-incoming-encounter span{font-size:11px}.chat-incoming-encounter button{border:0;border-radius:8px;padding:7px 10px;color:#fff;background:#6677c3;cursor:pointer}.chat-incoming-encounter [data-answer="yes"]{background:#35a977}.chat-incoming-encounter [data-answer="no"]{background:#ad4b67}
