/* 홈 진입 안내 팝업(<dialog class="notice">) — 지금은 Talk-Di 오픈베타 안내(2026-10-07)
   동작은 /notice.js. 홈(한국어)에서만 불러온다. */

.notice {
  width: min(400px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--card);
  color: var(--fg);
  box-shadow: 0 24px 60px -24px rgba(26, 47, 42, .55);
  overflow: auto;
  overscroll-behavior: contain;
}
/* <dialog> 미지원 브라우저에서는 닫힌 팝업이 본문에 그냥 그려지므로 숨긴다 */
.notice:not([open]) { display: none; }
.notice:focus { outline: none; }
.notice::backdrop { background: rgba(26, 47, 42, .42); }
.notice[open] { animation: notice-in .22s ease-out; }
@keyframes notice-in { from { opacity: 0; transform: translateY(10px); } }
body:has(.notice[open]) { overflow: hidden; }

.notice__body { display: flex; flex-direction: column; gap: 18px; padding: 28px 26px 24px; }
.notice__head { display: flex; align-items: center; gap: 16px; }
.notice__icon { width: 56px; height: 56px; border-radius: 13px; flex-shrink: 0; border: 1px solid var(--line); }
.notice__badge { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--coral-ink); }
.notice__title { margin: 6px 0 0; font-family: var(--font-point); font-size: 20px; line-height: 1.4; font-weight: 700; word-break: keep-all; text-wrap: balance; }
.notice__desc { font-size: 15px; line-height: 1.75; color: var(--muted); word-break: keep-all; }
.notice__cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px; border-radius: 99px;
  background: var(--fg); color: var(--bg);
  font-size: 15px; font-weight: 600; text-decoration: none;
}
.notice__cta:hover { background: var(--coral-ink); color: #fff; }

.notice__foot { display: flex; border-top: 1px solid var(--line); }
.notice__btn {
  flex: 1; padding: 14px 10px; border: 0; background: none;
  font: inherit; font-size: 13.5px; color: var(--muted); cursor: pointer;
}
.notice__btn + .notice__btn { border-left: 1px solid var(--line); }
.notice__btn:hover { background: var(--hover); color: var(--fg); }
