/* Gpappas Tattoo · chat v2 (16 Nov 2026). Overrides site.css chat rules. Tokens from PALETTE.md. */
body.chat-lock{position:fixed;left:0;right:0;width:100%;overflow:hidden}
/* Launcher (desktop pill) */
.chat-launcher{gap:.7rem;padding:.4rem 1.15rem .4rem .4rem;background:#0B0D11;border:1px solid #2A2F3A;border-radius:999px;box-shadow:0 10px 30px rgb(0 0 0/.45);transition:box-shadow .2s,transform .2s}
.chat-launcher:hover{box-shadow:0 0 0 6px rgb(231 235 241/.06),0 10px 30px rgb(0 0 0/.45);transform:translateY(-1px)}
.chat-launcher .chat-icon-slot,.chat-launcher .chat-icon{width:2.75rem;height:2.75rem}
.chat-launcher b{font-family:var(--font-display);font-weight:700;text-transform:uppercase;letter-spacing:.06em;font-size:1rem;line-height:1.1;color:#F2F4F7}
.chat-launcher small{font-family:var(--font-sans);font-size:13px;color:#A8B0BC;line-height:1.3}
.chat-btn .chat-icon{border-radius:50%;transition:box-shadow .2s}
.chat-btn:hover .chat-icon{box-shadow:0 0 0 6px rgb(231 235 241/.06)}
/* Panel */
.chat-scrim{background:rgb(4 5 7/.62);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
.chat{right:1.5rem;bottom:1.5rem;width:24rem;max-width:calc(100vw - 2rem);height:min(40rem,calc(100vh - 3rem));background:#0B0D11;border:1px solid #2A2F3A;border-radius:16px;box-shadow:0 24px 60px rgb(0 0 0/.55);grid-template-rows:auto 1fr auto auto auto}
.chat.is-open{animation:gpChatUp .22s cubic-bezier(.2,.8,.2,1) both}
@keyframes gpChatUp{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
.chat__grip{display:none}
.chat__head{background:#12151C;border-bottom:1px solid #2A2F3A;padding:.85rem .85rem .85rem 1rem;gap:.7rem}
.chat__avatar,.chat__avatar .chat-icon{width:2.5rem;height:2.5rem}
.chat__who b{font-family:var(--font-display);font-weight:700;text-transform:uppercase;letter-spacing:.1em;font-size:1rem;color:#F2F4F7}
.chat__who small{color:#A8B0BC;font-size:12px;margin-top:.1rem}
.chat__head .icon-btn{width:2.75rem;height:2.75rem;border-radius:50%;border:1px solid #2A2F3A;background:transparent;color:#F2F4F7}
.chat__log{background:#0B0D11;padding:1rem .9rem;gap:.45rem;align-content:start;scroll-behavior:smooth}
.chat__day{margin:.1rem 0 .4rem;font-family:var(--font-display);font-size:11px;letter-spacing:.18em;color:#A8B0BC}
.msg{display:flex;align-items:flex-end;gap:.5rem;min-width:0}
.msg--me{justify-content:flex-end;margin-top:.35rem}
.msg--bot.msg--first{margin-top:.35rem}
.msg__av{flex:none;width:1.75rem;height:1.75rem}
.msg__av .chat-icon{width:1.75rem;height:1.75rem;border-radius:50%;display:block}
.bubble{max-width:82%;padding:.65rem .85rem;font-size:15px;line-height:1.45;border-radius:14px 14px 14px 4px;overflow-wrap:anywhere}
.msg .bubble{justify-self:auto}
.bubble--bot{background:#181C25;border:1px solid #2A2F3A;border-left:1px solid #2A2F3A;color:#F2F4F7;border-radius:14px 14px 14px 4px}
.bubble--me{background:#E7EBF1;color:#0B0D11;border-radius:14px 14px 4px 14px}
.bubble a{color:#F2F4F7;text-decoration:underline;text-underline-offset:3px}
.bubble a.ig-cta{display:inline-flex;align-items:center;min-height:2.5rem;margin-top:.55rem;padding:0 .9rem;border:1px solid #A8B0BC;border-radius:999px;font-size:14px;font-weight:600;text-decoration:none;color:#F2F4F7;white-space:nowrap}
.bubble a.ig-cta:hover{background:#E7EBF1;color:#0B0D11;border-color:#E7EBF1}
/* Typing: needle ticks */
.typing{display:inline-flex;align-items:flex-end;gap:4px;height:2.4rem;padding:.7rem .9rem;background:#181C25;border:1px solid #2A2F3A;border-radius:14px 14px 14px 4px}
.typing i{display:block;width:3px;height:14px;border-radius:2px;background:#A8B0BC;transform-origin:bottom;animation:gpTick .6s ease-in-out infinite}
.typing i:nth-child(2){animation-delay:.1s}.typing i:nth-child(3){animation-delay:.2s}
@keyframes gpTick{0%,100%{transform:scaleY(.35);opacity:.5}50%{transform:scaleY(1);opacity:1}}
/* Chips */
.chat__chips,.chat__fu{display:flex;gap:.45rem}
.chat__chips{flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:.6rem 16px;padding-inline-start:16px;scroll-padding-inline:16px;background:#0B0D11;border-top:1px solid #2A2F3A}
.chat__chips::-webkit-scrollbar{display:none}
.chat__fu{flex-wrap:wrap;padding:.15rem 0 .2rem 2.25rem}
.chat__chips button,.chat__fu button{flex:none;scroll-snap-align:start;display:inline-flex;align-items:center;gap:.4rem;height:2.5rem;min-height:2.5rem;padding:0 .85rem;background:transparent;color:#F2F4F7;border:1px solid #2A2F3A;border-radius:999px;font:inherit;font-size:14px;font-weight:500;white-space:nowrap;cursor:pointer;transition:border-color .15s,background-color .15s}
.chat__chips button:hover,.chat__fu button:hover,.chat__chips button:focus-visible,.chat__fu button:focus-visible{border-color:#E7EBF1;background:#12151C;color:#F2F4F7}
.chat__chips .chip-i,.chat__fu .chip-i{width:1rem;height:1rem;color:#A8B0BC;flex:none}
/* Input */
.chat__form{padding:.55rem .9rem .35rem;gap:.5rem;border-top:0;background:#0B0D11;align-items:center}
.chat__form input{min-height:2.75rem;height:2.75rem;padding:0 1.1rem;background:#12151C;border:1px solid #2A2F3A;border-radius:999px;color:#F2F4F7;font-size:16px}
.chat__form input::placeholder{color:#A8B0BC}
.chat__form input:focus{outline:2px solid #E7EBF1;outline-offset:1px}
.chat__form button{width:2.75rem;height:2.75rem;min-width:2.75rem;border-radius:50%;background:#E7EBF1;color:#0B0D11;display:grid;place-items:center}
.chat__honest{padding:0 1rem calc(.6rem + env(safe-area-inset-bottom,0px));font-size:12px;color:#A8B0BC;text-align:center;background:#0B0D11}
/* Mobile: full-height bottom sheet */
@media (max-width:599.98px){
  .chat{left:0;right:0;bottom:var(--kb,0px);top:auto;width:100%;max-width:none;height:calc(100vh - 12px);height:calc(var(--vvh,100dvh) - 12px);border-radius:16px 16px 0 0;border-bottom:0;grid-template-rows:auto auto 1fr auto auto auto}
  .chat__grip{display:block;justify-self:center;width:2.5rem;height:4px;margin:.5rem 0 0;border-radius:4px;background:#2A2F3A}
  .chat__head{background:#12151C}
  .chat.is-open{animation-duration:.22s}
}
@media (prefers-reduced-motion:reduce){.chat.is-open{animation:none}.typing i{animation:none}.chat__log{scroll-behavior:auto}}

/* v3 polish (16 Nov 12:1x): desktop panel height + light scrim */
@media (min-width:600px){
  .chat{bottom:1.5rem;height:min(42rem,calc(100vh - 3rem));height:min(42rem,calc(100dvh - 3rem))}
  .chat-scrim{background:rgb(4 5 7/.08);backdrop-filter:none;-webkit-backdrop-filter:none}
}
