@font-face { font-family:"Chat Pixel";src:url('/vendor/galmuri/IndexChatPixel-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap; }
.index-chat {
  --chat-bottom:110px;--chat-height:430px;--chat-width:342px;
  position:fixed;z-index:8;right:calc(14px + var(--safe-right,0px));bottom:var(--chat-bottom);
  color:#151515;font:13px/1.45 Arial,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;
}
.index-chat [hidden] { display:none !important; }
.index-chat button,.index-chat input,.index-chat textarea { box-sizing:border-box;font:inherit;color:inherit; }
.index-chat-launch,.index-chat-window {
  border:0;background:rgba(255,255,255,.42);
  -webkit-backdrop-filter:blur(24px) saturate(160%);backdrop-filter:blur(24px) saturate(160%);
  box-shadow:0 8px 32px rgba(0,0,0,.1);
}
.index-chat .index-chat-launch { position:relative;display:grid;place-items:center;height:44px;padding:0 16px;border:0;border-radius:8px;background:rgba(255,255,255,.55);box-shadow:inset 0 1px 1px rgba(255,255,255,.7),inset 0 -1px 1px rgba(0,0,0,.04),0 2px 0 rgba(130,140,135,.22),0 3px 5px rgba(0,0,0,.07);touch-action:none;user-select:none;cursor:grab;font:400 12px/1 "Chat Pixel",monospace;letter-spacing:.2px;transition:box-shadow 100ms ease,background 100ms ease; }
.index-chat-launch-label { display:inline-block;position:relative;z-index:1;pointer-events:none; }
.index-chat-launch::after { content:none; }
.index-chat .index-chat-launch:active { cursor:grabbing;box-shadow:inset 0 1px 2px rgba(0,0,0,.06),0 .5px 0 rgba(130,140,135,.2),0 1px 2px rgba(0,0,0,.04); }
.index-chat-launch:active .index-chat-launch-label { transform:translateY(1px); }
.index-chat-window { position:relative;display:flex;flex-direction:column;width:var(--chat-width);height:var(--chat-height);border-radius:22px;overflow:hidden;transform-origin:0 0; }
.index-chat-heading { display:flex;align-items:center;justify-content:space-between;flex:0 0 42px;gap:8px;padding:0 9px 0 16px;border-bottom:0;touch-action:none;user-select:none;cursor:grab; }
.index-chat-heading:active { cursor:grabbing; }
.index-chat-title { font:400 12px/1.4 "Chat Pixel",monospace;letter-spacing:.2px; }
.index-chat .index-chat-collapse,.index-chat .index-chat-send { flex:0 0 32px;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:none;line-height:1;font-size:20px; }
.index-chat-collapse:hover { background:rgba(255,255,255,.35); }
.index-chat .index-chat-send { display:grid;place-items:center;background:rgba(255,255,255,.48);font-size:16px; }
.index-chat-send svg { display:block;width:20px;height:20px;pointer-events:none; }
.index-chat .index-chat-send:hover { background:rgba(255,255,255,.68); }
.index-chat-scroll { flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:11px 15px;scrollbar-width:thin; }
.index-chat .index-chat-older { display:block;width:100%;margin:0 0 10px;padding:5px 0;border:0;background:transparent;text-decoration:underline;text-underline-offset:3px;font-size:11px; }
.index-chat-messages { margin:0;padding:0;list-style:none;display:flex;flex-direction:column;align-items:flex-start;gap:13px; }
.index-chat-message { max-width:88%;min-width:0;align-self:flex-start;text-align:left; }
.index-chat-message.is-own { align-self:flex-end; }
.index-chat-meta { display:flex;align-items:baseline;flex-wrap:wrap;column-gap:7px;margin:0 3px 4px; }
.index-chat-message.is-own .index-chat-meta { justify-content:flex-end; }
.index-chat-name { font-size:11px;font-weight:600;overflow-wrap:anywhere; }
.index-chat-time { color:rgba(0,0,0,.54);font-size:10px;font-variant-numeric:tabular-nums; }
.index-chat-text { margin:0;padding:7px 10px;border-radius:12px 12px 12px 3px;background:rgba(255,255,255,.35);white-space:pre-wrap;overflow-wrap:anywhere; }
.index-chat-message.is-own .index-chat-text { border-radius:12px 12px 3px 12px;background:rgba(255,255,255,.67); }
.index-chat-form { position:relative;flex:0 0 auto;margin:0;padding:9px 15px 16px;border-top:0; }
.index-chat .index-chat-display-name { display:block;width:calc(100% - 40px);padding:2px 0 7px;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:11px; }
.index-chat-compose { display:flex;align-items:center;gap:8px; }
.index-chat .index-chat-input { display:block;flex:1;width:0;min-width:0;min-height:40px;max-height:120px;height:40px;padding:calc((40px - 1.4em)/2) 0;border:0;border-radius:0;resize:none;background:transparent;box-shadow:none;line-height:1.4; }
.index-chat input::placeholder,.index-chat textarea::placeholder { color:rgba(0,0,0,.58);opacity:1; }
.index-chat button:disabled { opacity:.45;cursor:wait; }
.index-chat-status { margin:6px 0 0;font-size:11px;line-height:1.3; }
.index-chat-trap { position:absolute;left:-10000px;top:0;width:1px;height:1px;overflow:hidden; }
.index-chat .index-chat-resize { position:absolute;right:3px;bottom:3px;width:26px;height:26px;padding:0;border:0;border-radius:0 0 18px 0;background:transparent;cursor:nwse-resize;touch-action:none; }
.index-chat-resize::before { content:'';position:absolute;right:6px;bottom:7px;width:8px;height:8px;border-right:1px solid rgba(0,0,0,.3);border-bottom:1px solid rgba(0,0,0,.3);border-radius:0 0 4px 0; }
.index-chat :is(button,.index-chat-heading,.index-chat-scroll):focus-visible { outline:1px solid rgba(0,90,55,.65);outline-offset:-3px; }
.index-chat .index-chat-launch:focus-visible { outline:none;text-decoration:underline;text-underline-offset:4px; }
.index-chat :is(input,textarea):focus,.index-chat :is(input,textarea):focus-visible { outline:none;box-shadow:none; }
@media(max-width:760px), (hover:none) and (pointer:coarse) {
  .index-chat { right:calc(10px + var(--safe-right,0px)); }
  .index-chat .index-chat-input,.index-chat .index-chat-display-name { font-size:16px; }
  .index-chat .index-chat-display-name { padding-bottom:5px; }
  .index-chat .index-chat-collapse,.index-chat .index-chat-send { flex-basis:40px;width:40px;height:40px; }
}
@media(prefers-reduced-motion:reduce) { .index-chat .index-chat-launch { transition:none; } }
@media print { .index-chat { display:none !important; } }
