/* 온웹 민트 길잡이 onweb_guide — 대화창 (D-26)
   색은 테마 강조색(--owg-pt) 하나. 모바일 기준 500px. */
.owg {
  --owg-pt: #ef007c;
  --owg-ink: #1f2430;
  --owg-dim: #6b7280;
  --owg-line: #e8e9ee;
  --owg-bg: #f6f7f9;
  font-family: inherit;
  color: var(--owg-ink);
  line-height: 1.45;
  letter-spacing: -.2px;
}
.owg *, .owg *::before, .owg *::after { box-sizing: border-box; }
.owg button { font-family: inherit; }

/* ---- 떠 있는 버튼 ---- */
.owg:not(.owg-inline) { position: fixed; bottom: var(--owg-b); z-index: 9989; }
/* 열려 있을 땐 리빌더 관리 아이콘 · 다른 떠 있는 버튼보다 위 */
.owg.owg-on:not(.owg-inline) { z-index: 2147483647; }   /* 0.1.2 최댓값 — 같은 값이면 나중 요소가 위라서 열 때 body 맨 끝으로 옮긴다 */
.owg-right:not(.owg-inline) { right: var(--owg-s); }
.owg-left:not(.owg-inline) { left: var(--owg-s); }
.owg-fab {
  display: flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 18px 0 6px; border: 0; border-radius: 999px;
  background: #fff; color: var(--owg-ink); cursor: pointer;
  box-shadow: 0 6px 22px rgba(20, 24, 40, .18), 0 0 0 1px rgba(20, 24, 40, .05);
  transition: transform .15s ease, box-shadow .15s ease;
}
.owg-fab:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(20, 24, 40, .22); }
.owg-fab-t { font-size: 14.5px; font-weight: 700; white-space: nowrap; }
.owg-on .owg-fab { transform: scale(.94); }
.owg-av {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
  background: var(--owg-pt); color: #fff;
}
.owg-av svg { width: 22px; height: 22px; fill: currentColor; }
.owg-av img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
/* 0.1.3 펠트 캐릭터 얼굴 : 분홍 원 없이 캐릭터만, 조금 크게 */
.owg-av.owg-av-img { background: transparent; overflow: visible; flex-basis: 46px; width: 46px; height: 46px; margin-left: -2px; }
.owg-av.owg-av-img img { object-fit: contain; background: transparent; filter: drop-shadow(0 1px 1px rgba(20, 24, 40, .12)); }
.owg-fab:hover .owg-av-img img { animation: owgWave .6s ease; }
@keyframes owgWave { 30% { transform: rotate(-8deg); } 60% { transform: rotate(6deg); } }
.owg-hd .owg-av.owg-av-img { flex-basis: 40px; width: 40px; height: 40px; margin-left: 0; }

/* ---- 먼저 말 걸기 풍선 ---- */
.owg-teaser {
  position: absolute; bottom: 64px; width: max-content; max-width: 260px;
  display: flex; align-items: flex-start; gap: 4px;
  background: #fff; border-radius: 14px; padding: 4px 4px 4px 0;
  box-shadow: 0 8px 26px rgba(20, 24, 40, .18);
  animation: owgPop .35s ease;
}
.owg-right .owg-teaser { right: 0; }
.owg-left .owg-teaser { left: 0; }
.owg-teaser[hidden] { display: none; }
.owg-teaser-t { flex: 1; border: 0; background: none; text-align: left; padding: 9px 4px 9px 13px; font-size: 13.5px; font-weight: 600; color: var(--owg-ink); cursor: pointer; line-height: 1.45; }
.owg-teaser-x { flex: 0 0 26px; height: 26px; border: 0; background: none; color: #9aa0ab; font-size: 18px; cursor: pointer; border-radius: 50%; }
.owg-teaser-x:hover { background: var(--owg-bg); }
@keyframes owgPop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---- 대화창 ---- */
.owg-panel {
  display: flex; flex-direction: column; background: #fff; overflow: hidden;
}
.owg:not(.owg-inline) .owg-panel {
  position: absolute; bottom: 66px; width: 384px; height: min(640px, calc(100vh - var(--owg-b) - 90px));
  border-radius: 18px; box-shadow: 0 16px 48px rgba(20, 24, 40, .24), 0 0 0 1px rgba(20, 24, 40, .05);
  animation: owgPop .22s ease;
}
.owg-right:not(.owg-inline) .owg-panel { right: 0; }
.owg-left:not(.owg-inline) .owg-panel { left: 0; }
.owg-panel[hidden] { display: none; }
.owg-inline .owg-panel { height: min(720px, 78vh); border: 1px solid var(--owg-line); border-radius: 16px; }

.owg-hd { display: flex; align-items: center; gap: 10px; padding: 12px 10px 12px 14px; border-bottom: 1px solid var(--owg-line); }
.owg-hd .owg-av { flex-basis: 36px; width: 36px; height: 36px; }
.owg-hd-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.owg-hd-t strong { font-size: 15.5px; font-weight: 800; }
.owg-hd-t small { font-size: 12px; color: var(--owg-dim); }
.owg-ic { width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; font-size: 20px; color: #7b8190; cursor: pointer; line-height: 1; }
.owg-ic:hover { background: var(--owg-bg); color: var(--owg-ink); }

.owg-log { position: relative; flex: 1; overflow-y: auto; padding: 14px 12px 6px; background: var(--owg-bg); overscroll-behavior: contain; }
.owg-row { display: flex; margin: 0 0 8px; }
.owg-me { justify-content: flex-end; }
.owg-bub { max-width: 84%; padding: 9px 13px; border-radius: 16px; font-size: 14px; white-space: pre-wrap; word-break: keep-all; overflow-wrap: anywhere; }
.owg-bot .owg-bub { background: #fff; border-top-left-radius: 5px; box-shadow: 0 1px 2px rgba(20, 24, 40, .06); }
.owg-me .owg-bub { background: var(--owg-pt); color: #fff; border-top-right-radius: 5px; }
.owg-wide { flex-direction: column; }
.owg-typing .owg-bub { letter-spacing: 3px; color: #9aa0ab; animation: owgBlink 1s infinite; }
@keyframes owgBlink { 50% { opacity: .4; } }
.owg-old { opacity: .92; }

.owg-ttl { font-size: 13px; font-weight: 800; margin: 4px 2px 6px; }

/* ---- 카드 (옆으로 넘기기) ---- */
.owg-cards { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.owg-cards::-webkit-scrollbar { height: 5px; }
.owg-cards::-webkit-scrollbar-thumb { background: #d4d6dd; border-radius: 3px; }
.owg-card {
  flex: 0 0 148px; display: flex; flex-direction: column; background: #fff; border-radius: 12px; overflow: hidden;
  color: inherit !important; text-decoration: none !important; scroll-snap-align: start;
  box-shadow: 0 1px 3px rgba(20, 24, 40, .08); transition: box-shadow .15s ease, transform .15s ease;
}
.owg-card:hover { box-shadow: 0 4px 14px rgba(20, 24, 40, .14); transform: translateY(-1px); }
.owg-th { position: relative; display: block; aspect-ratio: 4 / 5; background: #eef0f4; overflow: hidden; }
.owg-sq .owg-th { aspect-ratio: 1 / 1; }
.owg-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.owg-th-ico { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 34px; }
.owg-bds { position: absolute; left: 6px; top: 6px; display: flex; flex-wrap: wrap; gap: 3px; }
.owg-bd { font-size: 10.5px; font-weight: 800; padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .94); color: var(--owg-ink); }
.owg-bd-pick { background: var(--owg-pt); color: #fff; }
.owg-bd-end { background: #1f2430; color: #fff; }
.owg-bd-soon { background: #fff; color: var(--owg-pt); }
.owg-bd-free { background: #fff7d6; color: #8a5a00; }
.owg-ct { display: flex; flex-direction: column; gap: 2px; padding: 8px 9px 10px; min-width: 0; }
.owg-cc { font-size: 11px; font-weight: 700; color: var(--owg-pt); }
.owg-tt { font-size: 13px; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: keep-all; overflow-wrap: anywhere; }
.owg-cm { font-size: 11.5px; color: var(--owg-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.owg-ds { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.owg-dist { color: var(--owg-pt); font-weight: 700; }
.owg-more { align-self: flex-start; margin: 0 2px 4px; border: 0; background: none; color: var(--owg-pt); font-size: 12.5px; font-weight: 700; cursor: pointer; padding: 2px 0; }

/* ---- 버튼 ---- */
.owg-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 4px; }
.owg-chip {
  display: inline-flex; align-items: center; height: 34px; padding: 0 13px; border-radius: 999px;
  border: 1px solid #d9dbe2; background: #fff; color: var(--owg-ink) !important; font-size: 13px; font-weight: 600;
  cursor: pointer; text-decoration: none !important; white-space: nowrap; transition: border-color .12s ease, background .12s ease;
}
.owg-chip:hover { border-color: var(--owg-pt); color: var(--owg-pt) !important; }
.owg-ask .owg-chip { border-color: var(--owg-pt); color: var(--owg-pt) !important; }
.owg-ask .owg-chip:hover { background: var(--owg-pt); color: #fff !important; }
.owg-chip-more { background: var(--owg-ink); border-color: var(--owg-ink); color: #fff !important; }
.owg-chip-more:hover { background: #000; color: #fff !important; }
.owg-link::after { content: ' ↗'; margin-left: 3px; opacity: .6; }

.owg-fbrow { align-items: center; gap: 4px; font-size: 12px; color: var(--owg-dim); margin-top: -2px; }
.owg-fbt { margin-right: 4px; }
.owg-fb { border: 1px solid var(--owg-line); background: #fff; border-radius: 999px; width: 34px; height: 28px; cursor: pointer; font-size: 14px; }
.owg-fb:hover { border-color: var(--owg-pt); }

/* ---- 입력 ---- */
.owg-form { display: flex; gap: 6px; padding: 10px; border-top: 1px solid var(--owg-line); background: #fff; }
.owg-in { flex: 1; min-width: 0; height: 42px; border: 1px solid #d9dbe2; border-radius: 999px; padding: 0 16px; font-size: 15px; font-family: inherit; color: var(--owg-ink); background: #fff; }
.owg-in:focus { outline: none; border-color: var(--owg-pt); box-shadow: 0 0 0 3px color-mix(in srgb, var(--owg-pt) 18%, transparent); }
.owg-send { flex: 0 0 auto; height: 42px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--owg-pt); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.owg-foot { margin: 0; padding: 0 12px 8px; font-size: 11px; color: #9aa0ab; text-align: center; background: #fff; }

/* ---- 모바일 (500px) ---- */
@media (max-width: 500px) {
  .owg:not(.owg-inline) { bottom: var(--owg-bm); }
  .owg-fab { height: 50px; padding: 0 5px; }
  .owg-fab-t { display: none; }
  .owg-teaser { bottom: 60px; max-width: calc(100vw - 32px - var(--owg-s)); }
  .owg:not(.owg-inline) .owg-panel {
    position: fixed; inset: 0; width: auto; height: 100%; height: 100dvh; border-radius: 0; bottom: auto;
  }
  .owg-on:not(.owg-inline) .owg-fab, .owg-on:not(.owg-inline) .owg-teaser { display: none; }
  .owg-card { flex-basis: 140px; }
  .owg-in { font-size: 16px; }
  .owg-inline .owg-panel { height: 80vh; border-radius: 12px; }
}
@media print { .owg { display: none !important; } }

/* ---- 공용 날씨 모듈 답변 (0.1.4) ---- */
.owg-wx { box-sizing: border-box; width: 100%; min-width: 0; padding: 13px; border-radius: 16px; background: #fff; color: var(--owg-ink); box-shadow: 0 1px 2px rgba(20, 24, 40, .06); font-size: 13px; line-height: 1.5; }
.owg-wx-head { display: flex; align-items: center; gap: 9px; }
.owg-wx-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; font-size: 28px; }
.owg-wx-icon img { position: absolute; inset: 0; width: 44px; height: 44px; object-fit: contain; background: #fff; }
.owg-wx-title { display: flex; flex-direction: column; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.owg-wx-title strong { font-size: 15px; font-weight: 800; }
.owg-wx-title small { color: var(--owg-dim); font-size: 11px; }
.owg-wx-when { flex: 0 0 auto; color: var(--owg-dim); font-size: 12px; }
.owg-wx-now { display: flex; align-items: center; gap: 10px; margin: 8px 0 4px; }
.owg-wx-temp { font-size: 38px; line-height: 1.2; font-weight: 800; }
.owg-wx-detail { color: var(--owg-dim); font-size: 12px; overflow-wrap: anywhere; }
.owg-wx-pm { margin-top: 6px; font-size: 12px; }
.owg-wx-days { display: flex; gap: 6px; overflow-x: auto; margin-top: 10px; padding-bottom: 5px; }
.owg-wx-day { display: flex; flex-direction: column; align-items: center; flex: 0 0 88px; box-sizing: border-box; padding: 8px 4px; border: 1px solid var(--owg-line); border-radius: 10px; background: var(--owg-bg); font-size: 12px; white-space: nowrap; }
.owg-wx-day strong { font-size: 12px; }
.owg-wx-day small { color: var(--owg-dim); font-size: 11px; }
.owg-wx-icon-sm { flex-basis: 32px; width: 32px; height: 32px; font-size: 23px; }
.owg-wx-icon-sm img { width: 32px; height: 32px; background: var(--owg-bg); }
.owg-wx-credit { margin-top: 9px; padding-top: 7px; border-top: 1px solid var(--owg-line); color: var(--owg-dim); font-size: 10px; overflow-wrap: anywhere; }
.owg-wx-loc { margin-top: 8px; }
.owg-wx-note { display: block; margin-top: 4px; color: var(--owg-dim); font-size: 11px; }
@media (max-width: 500px) { .owg-wx-temp { font-size: 33px; } }

/* ==========================================================================
   0.1.5 떠 있는 버튼 — 캐릭터를 위에 크게, 이름은 아래 (눈에 잘 띄게)
   ========================================================================== */
.owg-fab {
  flex-direction: column; justify-content: center; gap: 1px;
  width: 92px; height: auto; padding: 8px 6px 9px; border-radius: 24px;
  border: 2px solid var(--owg-pt);
  box-shadow: 0 8px 26px rgba(20, 24, 40, .22), 0 0 0 4px color-mix(in srgb, var(--owg-pt) 14%, transparent);
  animation: owgHop 7s ease-in-out 2.5s infinite;
}
.owg-fab:hover { transform: translateY(-3px); animation: none; }
.owg-on .owg-fab { animation: none; }
.owg-fab .owg-av { flex: 0 0 auto; width: 52px; height: 52px; }
.owg-fab .owg-av svg { width: 28px; height: 28px; }
.owg-fab .owg-av.owg-av-img { width: 68px; height: 68px; margin: -4px 0 -2px; }
.owg-fab-t { display: block; font-size: 13.5px; font-weight: 800; line-height: 1.2; color: var(--owg-ink); letter-spacing: -.3px; }
@keyframes owgHop {
  0%, 84%, 100% { transform: translateY(0); }
  88% { transform: translateY(-9px); }
  92% { transform: translateY(0); }
  95% { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) { .owg-fab { animation: none; } }
/* 버튼이 커진 만큼 풍선 · 대화창은 버튼 바로 위에 */
.owg:not(.owg-inline) .owg-teaser { bottom: calc(100% + 10px); }
.owg:not(.owg-inline) .owg-panel { bottom: calc(100% + 12px); height: min(640px, calc(100vh - var(--owg-b) - 150px)); }
@media (max-width: 500px) {
  .owg-fab { width: 80px; padding: 6px 4px 8px; border-radius: 22px; }
  .owg-fab .owg-av { width: 46px; height: 46px; }
  .owg-fab .owg-av.owg-av-img { width: 60px; height: 60px; }
  .owg-fab-t { display: block; font-size: 12.5px; }
  .owg:not(.owg-inline) .owg-teaser { bottom: calc(100% + 8px); }
  .owg:not(.owg-inline) .owg-panel { bottom: auto; height: 100%; height: 100dvh; }
}

/* 0.1.6 카드 줄 : 마우스로 끌어 넘기기 · ‹ › 화살표 (마우스가 있는 PC 에서만 화살표) */
.owg-rail { position: relative; }
.owg-cards { cursor: grab; user-select: none; -webkit-user-select: none; }
.owg-cards.owg-grab { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.owg-cards.owg-grab .owg-card { pointer-events: none; }
.owg-card img { -webkit-user-drag: none; user-drag: none; }
.owg-arw { display: none; }
@media (hover: hover) and (pointer: fine) {
  .owg-arw {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: calc(50% - 22px); z-index: 2; width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid #e3e5ea; background: rgba(255, 255, 255, .96); color: var(--owg-ink); font-size: 22px; line-height: 1;
    box-shadow: 0 3px 10px rgba(20, 24, 40, .16); cursor: pointer; padding: 0 0 3px;
  }
  .owg-arw:hover { border-color: var(--owg-pt); color: var(--owg-pt); }
  .owg-arw[hidden] { display: none; }
  .owg-arw-l { left: -4px; }
  .owg-arw-r { right: -4px; }
}

/* ==========================================================================
   0.1.7 버튼 모양 — card 둥근 네모(기본, 0.1.5 그대로) · circle 동그라미 · clear 투명 · pill 가로 알약
   ========================================================================== */
/* 동그라미 · 투명 : 버튼 껍데기는 비우고, 얼굴과 이름표만 보인다 */
.owg-shape-circle .owg-fab, .owg-shape-clear .owg-fab {
  width: auto; padding: 0; gap: 5px; background: transparent; border: 0; box-shadow: none; border-radius: 0;
}
.owg-shape-circle .owg-fab:hover, .owg-shape-clear .owg-fab:hover { box-shadow: none; }
/* 동그라미 */
.owg-shape-circle .owg-fab .owg-av, .owg-shape-circle .owg-fab .owg-av.owg-av-img {
  width: 80px; height: 80px; margin: 0; padding: 3px; border-radius: 50%; overflow: hidden;
  background: #fff; border: 2px solid var(--owg-pt);
  box-shadow: 0 8px 24px rgba(20, 24, 40, .22), 0 0 0 4px color-mix(in srgb, var(--owg-pt) 14%, transparent);
}
.owg-shape-circle .owg-fab .owg-av:not(.owg-av-img) { padding: 0; background: var(--owg-pt); }
.owg-shape-circle .owg-fab .owg-av:not(.owg-av-img) svg { width: 36px; height: 36px; }
.owg-shape-circle .owg-fab-t { padding: 3px 11px; border-radius: 999px; background: #fff; font-size: 12.5px; box-shadow: 0 2px 8px rgba(20, 24, 40, .18); }
/* 투명 : 캐릭터만 크게, 아래 이름은 흰 테두리 글자 */
.owg-shape-clear .owg-fab .owg-av.owg-av-img { width: 92px; height: 92px; margin: 0; }
.owg-shape-clear .owg-fab .owg-av.owg-av-img img { filter: drop-shadow(0 6px 10px rgba(20, 24, 40, .28)); }
.owg-shape-clear .owg-fab .owg-av:not(.owg-av-img) { width: 72px; height: 72px; box-shadow: 0 8px 22px rgba(20, 24, 40, .25); }
.owg-shape-clear .owg-fab .owg-av:not(.owg-av-img) svg { width: 34px; height: 34px; }
.owg-shape-clear .owg-fab-t {
  font-size: 13.5px; margin-top: -4px;
  text-shadow: 0 0 2px #fff, 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #fff, 0 1px 2px rgba(255,255,255,.9);
}
/* 가로 알약 : 얼굴 왼쪽 · 이름 오른쪽 */
.owg-shape-pill .owg-fab { flex-direction: row; width: auto; height: 64px; padding: 0 20px 0 6px; gap: 8px; border-radius: 999px; }
.owg-shape-pill .owg-fab .owg-av { width: 48px; height: 48px; }
.owg-shape-pill .owg-fab .owg-av.owg-av-img { width: 58px; height: 58px; margin: 0 -2px 0 -2px; }
.owg-shape-pill .owg-fab-t { font-size: 15px; }
@media (max-width: 500px) {
  .owg-shape-circle .owg-fab .owg-av, .owg-shape-circle .owg-fab .owg-av.owg-av-img { width: 70px; height: 70px; padding: 3px; }
  .owg-shape-clear .owg-fab .owg-av.owg-av-img { width: 80px; height: 80px; }
  .owg-shape-pill .owg-fab { height: 58px; padding: 0 14px 0 5px; }
  .owg-shape-pill .owg-fab .owg-av.owg-av-img { width: 52px; height: 52px; }
  .owg-shape-pill .owg-fab-t { font-size: 13.5px; }
}

/* ==========================================================================
   0.1.8 처음 등장 · 귀여운 말풍선
   ========================================================================== */
/* 처음 등장 : 아래에서 톡 튀어 올라와 → 손 흔들기 → 물결 두 번 */
.owg-enter:not(.owg-inline) { animation: owgEnter .9s cubic-bezier(.34, 1.56, .64, 1) both; }
.owg-enter .owg-av img, .owg-enter .owg-av svg { animation: owgHello 1.1s ease-in-out .75s both; transform-origin: 50% 85%; }
.owg-enter .owg-fab .owg-av { animation: owgRipple 1.1s ease-out .8s 2; }
@keyframes owgEnter {
  0%   { opacity: 0; transform: translateY(70px) scale(.35); }
  55%  { opacity: 1; transform: translateY(-16px) scale(1.1); }
  75%  { transform: translateY(5px) scale(.96); }
  100% { opacity: 1; transform: none; }
}
@keyframes owgHello {
  0%, 100% { transform: rotate(0); }
  15% { transform: rotate(-16deg); } 30% { transform: rotate(13deg); }
  45% { transform: rotate(-10deg); } 60% { transform: rotate(7deg); } 75% { transform: rotate(-3deg); }
}
@keyframes owgRipple {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--owg-pt) 45%, transparent); }
  100% { box-shadow: 0 0 0 22px color-mix(in srgb, var(--owg-pt) 0%, transparent); }
}
/* 말풍선이 뜰 때 버튼이 한 번 꾸벅 */
.owg-fab.owg-nudge { animation: owgNudge .7s ease-in-out; }
@keyframes owgNudge { 0%, 100% { transform: none; } 25% { transform: translateY(-8px) rotate(-4deg); } 55% { transform: translateY(0) rotate(3deg); } 80% { transform: rotate(-1deg); } }

/* 말풍선 : 분홍 테두리 + 버튼 쪽 꼬리 + 둥실둥실 */
.owg:not(.owg-inline) .owg-teaser {
  display: block; width: max-content; max-width: 240px; padding: 0; gap: 0;
  background: #fff; border: 2px solid var(--owg-pt); border-radius: 22px 22px 8px 22px;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--owg-pt) 22%, transparent), 0 2px 6px rgba(20, 24, 40, .08);
  transform-origin: 85% 110%;
  animation: owgBubbleIn .6s cubic-bezier(.34, 1.56, .64, 1) both, owgFloat 3.2s ease-in-out .8s infinite;
}
.owg-left:not(.owg-inline) .owg-teaser { border-radius: 22px 22px 22px 8px; transform-origin: 15% 110%; }
.owg:not(.owg-inline) .owg-teaser[hidden] { display: none; }
.owg:not(.owg-inline) .owg-teaser::after {
  content: ''; position: absolute; bottom: -9px; right: 34px; width: 14px; height: 14px;
  background: #fff; border-right: 2px solid var(--owg-pt); border-bottom: 2px solid var(--owg-pt);
  transform: rotate(45deg); border-bottom-right-radius: 4px;
}
.owg-left:not(.owg-inline) .owg-teaser::after { right: auto; left: 34px; }
.owg:not(.owg-inline) .owg-teaser-t { display: flex; flex-direction: column; gap: 3px; padding: 11px 16px 12px 15px; text-align: left; }
.owg-teaser-k { font-size: 11.5px; font-weight: 800; color: var(--owg-pt); letter-spacing: -.2px; }
.owg-teaser-m { font-size: 14px; font-weight: 700; color: var(--owg-ink); line-height: 1.45; word-break: keep-all; min-height: 20px; }
.owg:not(.owg-inline) .owg-teaser-x {
  position: absolute; top: -9px; right: -9px; width: 24px; height: 24px; flex: none;
  border-radius: 50%; background: #fff; border: 1.5px solid #e3e5ea; color: #8a909c; font-size: 15px; line-height: 20px;
  box-shadow: 0 2px 6px rgba(20, 24, 40, .14);
}
.owg-left:not(.owg-inline) .owg-teaser-x { right: auto; left: -9px; }
.owg:not(.owg-inline) .owg-teaser-x:hover { color: var(--owg-pt); border-color: var(--owg-pt); background: #fff; }
.owg-dots { display: inline-flex; gap: 4px; padding: 6px 0 2px; }
.owg-dots b { width: 7px; height: 7px; border-radius: 50%; background: var(--owg-pt); opacity: .35; animation: owgDot 1s infinite; }
.owg-dots b:nth-child(2) { animation-delay: .15s; } .owg-dots b:nth-child(3) { animation-delay: .3s; }
@keyframes owgDot { 0%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
@keyframes owgBubbleIn { 0% { opacity: 0; transform: translateY(14px) scale(.4); } 100% { opacity: 1; transform: none; } }
@keyframes owgFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (max-width: 500px) {
  .owg:not(.owg-inline) .owg-teaser { max-width: calc(100vw - 40px - var(--owg-s)); }
  .owg-teaser-m { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .owg-enter, .owg-enter .owg-av, .owg-enter .owg-av img, .owg-fab.owg-nudge, .owg:not(.owg-inline) .owg-teaser, .owg-dots b { animation: none !important; }
}

/* 0.2.0 광고 배지 · 알림 받기 버튼 */
.owg-bd-ad { background: #4b5563; color: #fff; }
.owg-chip-push { border-color: var(--owg-pt); background: color-mix(in srgb, var(--owg-pt) 8%, #fff); color: var(--owg-pt) !important; font-weight: 700; }
.owg-chip-push:hover { background: var(--owg-pt); color: #fff !important; }
