/* 3Dear 랜딩·약관 공용 스타일. 청첩장과 같은 베이지 톤 */
:root {
  --paper: #f4ebd8; --paper-2: #fbf6ec; --ink: #4a3626; --ink-soft: #7d6650; --rule: #dccbab;
  --rose: #c4907a; --rose-deep: #a8705b; --olive: #8b9468; --night: #1e1712;
  --f-head: "Black Han Sans", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --f-body: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --wrap: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.7 var(--f-body); word-break: keep-all; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 400; line-height: 1.2; margin: 0; letter-spacing: -.01em; }
/* 작은 제목(h3)은 본문 글꼴 굵게: Black Han Sans 는 큰 글씨용이라 20px 안팎에서는 획이 뭉쳐 읽기 어렵다 */
h3 { font-family: var(--f-body); font-weight: 700; letter-spacing: -.02em; line-height: 1.35; }
.eyebrow { font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--rose-deep); margin: 0 0 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font: 500 16px/1 var(--f-body); text-decoration: none; border: 1.5px solid var(--ink); color: var(--ink); background: transparent; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--ink); color: var(--paper-2); }
.btn.primary:hover { background: #2f2218; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; }

/* 머리 */
.top { position: sticky; top: 0; z-index: 10; background: rgba(244,235,216,.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--rule); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo { font: 400 26px/1 var(--f-head); text-decoration: none; letter-spacing: -.02em; }
.logo b { color: var(--rose); font-weight: 400; }
.nav { display: flex; gap: 26px; align-items: center; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.nav .btn { min-height: 40px; padding: 8px 16px; font-size: 14px; color: var(--paper-2); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* 첫 화면 */
.hero { padding: 56px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4vw, 48px); }
.hero h1 .nw { display: inline-block; font-style: normal; }   /* 구 단위로만 줄을 바꾼다 */
.hero h1 span { color: var(--rose-deep); }
.hero .lead { font-size: 18px; color: var(--ink-soft); margin: 22px 0 30px; max-width: 34em; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .note { margin: 18px 0 0; font-size: 14px; color: var(--ink-soft); }
.phone { justify-self: center; position: relative; width: 320px; height: 672px; border-radius: 46px; background: #15100c; padding: 12px;
  box-shadow: 0 30px 60px rgba(60,40,20,.28), inset 0 0 0 2px #3a2c22; }
.phone::before { content: ""; position: absolute; z-index: 2; top: 20px; left: 50%; width: 92px; height: 24px; margin-left: -46px; border-radius: 14px; background: #15100c; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #f4ebd8; }
.screen iframe { position: absolute; left: 0; top: 0; width: 375px; height: 821px; border: 0; transform-origin: 0 0; transform: scale(.7893); }
.screen .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.screen .tap { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); white-space: nowrap; }
.screen .tap.btn { background: rgba(30,23,18,.82); color: #fff8ec; border-color: transparent; }
.phone-cap { text-align: center; font-size: 13px; color: var(--ink-soft); margin-top: 14px; }
@media (max-width: 900px) {
  .hero { padding-top: 32px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .phone { width: 280px; height: 588px; border-radius: 40px; padding: 10px; }
  .screen { border-radius: 32px; }
  .screen iframe { transform: scale(.6933); }
  /* 좁은 화면: 제목 바로 아래 대화방 휴대폰을 둬서 첫 화면에 대화가 보이게 하고, 소개 글·버튼은 그 아래로 */
  .hero .wrap { gap: 0; }
  .hero .wrap > div:first-child { display: contents; }
  .hero .eyebrow { order: 1; }
  .hero h1 { order: 2; }
  .hero .wrap > div:last-child { order: 3; margin-top: 18px; }
  .hero .lead { order: 4; margin: 32px 0 24px; }
  .hero .ctas { order: 5; }
  .hero .note { order: 6; }
}

/* 공통 구간 */
section.band { padding: 88px 0; }
section.band.alt { background: var(--paper-2); }
section.band.dark { background: var(--night); color: #f3e9d8; }
section.band.dark .eyebrow { color: #e3b09c; }
.head { max-width: 640px; margin-bottom: 44px; }
.head h2 { font-size: clamp(30px, 3.6vw, 42px); }
.head p { color: var(--ink-soft); margin: 14px 0 0; font-size: 17px; }
.dark .head p { color: #cdbfa6; }
.how-cta { margin-top: 40px; text-align: center; }
.btn.light { background: #f3e9d8; border-color: #f3e9d8; color: var(--night); }
.btn.light:hover { background: #fffaf1; }

/* 기능: 실제 화면 영상(tools/rec 로 녹화) 4개를 하나씩. 영상이 끝나면 다음 기능으로, 화살표·목록·점·옆으로 밀기로도 넘긴다 */
.demos { display: grid; grid-template-columns: 300px minmax(0, 470px); gap: 88px; align-items: center; padding-left: 64px; }
.demo-stage { position: relative; }
.mini { position: relative; aspect-ratio: 540 / 1168; border-radius: 34px; background: #15100c; padding: 8px; box-shadow: 0 24px 50px -22px rgba(54,36,20,.5); touch-action: pan-y; }
.mini video { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: cover; border-radius: 26px; background: #e9dcc2; opacity: 0; transition: opacity .35s ease; }
.mini video:not(.on) { visibility: hidden; transition: opacity .35s ease, visibility 0s .35s; }   /* 겹친 영상 중 지금 것만 누를 수 있게 */
.mini video.on { opacity: 1; }
.demo-arrow { position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; border: 1px solid var(--rule); background: #fffaf1; color: var(--ink);
  font: 400 26px/1 var(--f-body); display: grid; place-items: center; padding: 0 0 3px; cursor: pointer; box-shadow: 0 4px 14px -6px rgba(54,36,20,.4); transition: transform .2s; }
.demo-arrow:hover { transform: scale(1.06); }
.demo-arrow.prev { left: -64px; }
.demo-arrow.next { right: -64px; }
.demo-dots { display: none; }
.demo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.demo-list button { position: relative; width: 100%; display: flex; gap: 16px; align-items: flex-start; text-align: left; padding: 18px 20px; border-radius: 20px; border: 1px solid transparent;
  background: transparent; color: inherit; font: inherit; cursor: pointer; overflow: hidden; transition: background .25s, border-color .25s; }
.demo-list .n { font: 700 14px/1.95 var(--f-body); color: var(--rule); letter-spacing: .02em; }
.demo-list b { display: block; font: 700 19px/1.45 var(--f-body); letter-spacing: -.02em; color: var(--ink-soft); transition: color .25s; }
.demo-list .d { display: block; max-height: 0; overflow: hidden; opacity: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; transition: max-height .35s ease, opacity .35s, margin .35s; }
.demo-list .bar { position: absolute; left: 20px; right: 20px; bottom: 0; height: 3px; }
.demo-list .bar i { display: block; height: 100%; width: 0; background: var(--rose); border-radius: 2px; transition: width .25s linear; }
.demo-list li.on button { background: #fffaf1; border-color: var(--rule); }
.demo-list li.on .n { color: var(--rose-deep); }
.demo-list li.on b { color: var(--ink); }
.demo-list li.on .d { max-height: 80px; opacity: 1; margin-top: 4px; }
.demo-list li:not(.on) button:hover b { color: var(--ink); }
@media (max-width: 860px) {
  .demos { grid-template-columns: 1fr; gap: 22px; justify-items: center; padding-left: 0; }
  .demo-stage { width: min(64vw, 270px); }
  .demo-arrow { width: 40px; height: 40px; margin-top: -20px; font-size: 24px; }
  .demo-arrow.prev { left: -54px; }
  .demo-arrow.next { right: -54px; }
  .demo-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
  .demo-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: var(--rule); cursor: pointer; transition: width .25s, background .25s; }
  .demo-dots button.on { width: 22px; background: var(--rose-deep); }
  .demo-list { width: 100%; max-width: 460px; }
  .demo-list li:not(.on) { display: none; }   /* 좁은 화면은 지금 보이는 기능 설명만 */
  .demo-list { overflow: hidden; }
  .demo-list li.on.in-next { animation: demoInNext .42s cubic-bezier(.22, .8, .3, 1); }   /* 다음으로: 오른쪽에서 슥 */
  .demo-list li.on.in-prev { animation: demoInPrev .42s cubic-bezier(.22, .8, .3, 1); }   /* 이전으로: 왼쪽에서 슥 */
  .demo-list li.on .d { transition: none; }
  .demo-list button { cursor: default; text-align: center; justify-content: center; padding: 16px 18px; }
  .demo-list .n { display: none; }
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { border-top: 2px solid #4b3a2c; padding-top: 22px; }
.step::before { counter-increment: s; content: "0" counter(s); font: 400 34px/1 var(--f-head); color: #e3b09c; display: block; margin-bottom: 14px; }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { margin: 0; color: #cdbfa6; font-size: 15.5px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 30px; } }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; background: #fffaf1; border: 1px solid var(--rule); border-radius: 24px; padding: 30px 26px; display: flex; flex-direction: column; }
.plan.pick { border: 2px solid var(--ink); }
.plan h3 { font-size: 22px; }
.plan .price { font: 400 40px/1.1 var(--f-head); margin: 14px 0 2px; }
.plan .was { margin: 14px 0 0; font-size: 15px; line-height: 1.4; color: var(--ink-soft); }
.plan .was s { text-decoration-thickness: 1px; }
.plan .was .off { margin-left: 6px; color: #c2453a; font-weight: 700; }
.plan .was + .price { margin-top: 2px; }
.plan .price small { font: 400 15px var(--f-body); color: var(--ink-soft); margin-left: 4px; }
.plan .sub { font-size: 14px; color: var(--ink-soft); margin: 0 0 18px; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 9px; font-size: 15.5px; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--olive); font-weight: 700; }
.plan li.no::before { content: "–"; color: #b9a98c; }
.plan li.no { color: var(--ink-soft); }
.plan .btn { margin-top: auto; }
/* 플랜마다 색을 달리한다: 미리보기 = 연한 종이(점선), 기본 = 따뜻한 장밋빛, 프리미엄 = 짙은 바탕에 유리 코팅 */
.plan.free { background: rgba(251, 246, 236, .55); border: 1.5px dashed var(--rule); }
.plan.free h3, .plan.free .price { color: var(--ink-soft); }
.plan.pick { background: linear-gradient(180deg, #fbeadf 0%, #f4d8c6 100%); border: 2px solid var(--rose-deep); box-shadow: 0 18px 40px -24px rgba(168, 112, 91, .6); }
.plan.pick li::before { color: var(--rose-deep); }
.plan.premium { overflow: hidden; color: #f6ead8; border: 1px solid rgba(255, 236, 214, .28);
  background: radial-gradient(120% 70% at 85% -10%, rgba(227, 176, 156, .55), transparent 60%),
              radial-gradient(90% 60% at -10% 110%, rgba(196, 160, 98, .45), transparent 60%),
              linear-gradient(160deg, #3d2a20 0%, #241913 55%, #1b130e 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 0 0 1px rgba(255, 255, 255, .05), 0 24px 50px -22px rgba(30, 23, 18, .75); }
.plan.premium::before { content: ""; position: absolute; inset: 0; pointer-events: none;   /* 유리 표면: 위쪽이 밝게 비치는 코팅 */
  background: radial-gradient(140% 55% at 50% -8%, rgba(255, 255, 255, .17), rgba(255, 255, 255, .05) 55%, transparent 72%); }
.plan.premium::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 38%; pointer-events: none;   /* 비스듬히 지나가는 빛 */
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16) 45%, rgba(255, 255, 255, .3) 50%, rgba(255, 255, 255, .16) 55%, transparent);
  transform: translateX(-160%) skewX(-18deg); animation: plan-sheen 6.5s ease-in-out 1.2s infinite; }
@keyframes plan-sheen { 0% { transform: translateX(-160%) skewX(-18deg); } 38%, 100% { transform: translateX(330%) skewX(-18deg); } }
.plan.premium > * { position: relative; z-index: 1; }
.plan.premium h3 { color: #fff3e2; }
.plan.premium .price { color: #fff3e2; text-shadow: 0 1px 18px rgba(227, 176, 156, .35); }
.plan.premium .price small, .plan.premium .sub, .plan.premium .was { color: rgba(246, 234, 216, .72); }
.plan.premium .was .off { color: #ff9d86; }
.plan.premium li::before { color: #e8c48f; }
.plan.premium mark { color: #ffe2ae; font-weight: 700; padding: 2px 8px; margin: 0 -8px; border-radius: 6px;   /* 강조: 밝은 금빛 글자 + 아주 옅은 바탕 (글자를 가리지 않게) */
  background: rgba(232, 196, 143, .16); }
.btn.glass { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .38); color: #fff6ea;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn.glass:hover { background: rgba(255, 255, 255, .2); }
@media (prefers-reduced-motion: reduce) { .plan.premium::after { animation: none; opacity: 0; } }
.plans-note { margin-top: 22px; font-size: 14px; color: var(--ink-soft); display: grid; gap: 4px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; } }

.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font: 500 17px/1.5 var(--f-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 24px; color: var(--rose-deep); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-soft); }

.cta-end { text-align: center; }
.cta-end h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.cta-end p { color: var(--ink-soft); margin: 0 0 28px; }
.cta-end .ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* 바닥 */
.foot { background: #2a2019; color: #c9b99c; font-size: 13.5px; padding: 44px 0 56px; }
.foot .logo { color: #f3e9d8; font-size: 22px; }
.foot .links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0; }
.foot .links a { color: #f3e9d8; text-decoration: none; }
.foot .links a:hover { text-decoration: underline; }
.foot .biz { line-height: 1.9; margin: 0; }
.foot .tbd { background: rgba(255,255,255,.08); color: #e9d9bd; padding: 0 5px; border-radius: 3px; }
.foot .copy { margin-top: 14px; color: #8d7d66; }

/* 약관 페이지 */
.legal { max-width: 780px; margin: 0 auto; padding: 48px 20px 80px; }
.legal h1 { font-size: 36px; margin-bottom: 8px; }
.legal .meta { color: var(--ink-soft); font-size: 14px; margin: 0 0 24px; }
.legal .draft { background: #fff3e6; border: 1px solid #e9c9a8; border-radius: 14px; padding: 14px 18px; font-size: 14.5px; margin-bottom: 32px; }
.legal h2 { font: 700 19px/1.5 var(--f-body); margin: 34px 0 10px; }
.legal p, .legal li { font-size: 15.5px; }
.legal ol, .legal ul { padding-left: 1.3em; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 10px 0; }
.legal th, .legal td { border: 1px solid var(--rule); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal th { background: var(--paper-2); font-weight: 500; }
.legal .tbd { background: #f6e3c8; padding: 0 4px; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn:hover { transform: none; } }

/* 브랜드 로고 (brand/3dear-logo) */
.logo { display: inline-flex; align-items: center; line-height: 0; }
.logo img { display: block; height: 58px; width: auto; }
@media (max-width: 600px) { .top .wrap { height: 68px; } .logo img { height: 48px; } }
.foot .logo img { height: 50px; }

/* 첫 화면 휴대폰: 메신저 대화 → 링크 카드를 누르면 청첩장 */
.chat { position: absolute; inset: 0; display: flex; flex-direction: column; background: #b9cddd; font: 400 13px/1.45 var(--f-body); color: #222; transition: opacity .35s ease; }
.chat.hide { opacity: 0; pointer-events: none; }
.chat-status { display: flex; justify-content: space-between; align-items: center; padding: 12px 26px 0; font-size: 12px; font-weight: 700; height: 34px; }
.chat-status .sig { display: inline-flex; gap: 2px; align-items: flex-end; height: 10px; }
.chat-status .sig i { width: 3px; background: #222; border-radius: 1px; }
.chat-status .sig i:nth-child(1) { height: 4px; } .chat-status .sig i:nth-child(2) { height: 6px; } .chat-status .sig i:nth-child(3) { height: 8px; } .chat-status .sig i:nth-child(4) { height: 10px; }
.chat-top { display: flex; align-items: center; gap: 8px; padding: 8px 14px; font-size: 15px; }
.chat-top b { flex: 1; font-weight: 700; }
.chat-top .chev { font-size: 22px; line-height: 1; }
.chat-top .menu { font-size: 14px; opacity: .7; }
.chat-body { flex: 1; overflow: hidden; padding: 6px 10px 10px; display: flex; flex-direction: column; gap: 6px; }
.chat-day { align-self: center; margin: 2px 0 6px; padding: 3px 10px; border-radius: 999px; background: rgba(0,0,0,.12); color: #fff; font-size: 11px; }
.msg { display: flex; gap: 7px; opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.msg.show { opacity: 1; transform: none; }
.msg .col { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.msg .row { display: flex; align-items: flex-end; gap: 5px; }
.msg time { font-size: 10px; color: #4c5a66; white-space: nowrap; }
.msg .name { font-size: 11.5px; color: #3d4a55; }
.avatar { flex: none; width: 34px; height: 34px; border-radius: 13px; background: #d7a88f; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.msg.cont { padding-left: 41px; }
.bubble { margin: 0; padding: 7px 10px; border-radius: 4px 14px 14px 14px; background: #fff; max-width: 190px; word-break: keep-all; }
.msg.out { justify-content: flex-end; }
.msg.out .bubble { background: #fbe34b; border-radius: 14px 4px 14px 14px; }
.link-card { display: block; width: 196px; background: #fff; border-radius: 6px 14px 14px 14px; overflow: hidden; text-decoration: none; color: #222; box-shadow: 0 0 0 0 rgba(196,144,122,.0); cursor: pointer; transition: transform .2s, box-shadow .2s; }
.link-card img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.link-card .lc-text { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px 9px; }
.link-card b { font-size: 12.5px; font-weight: 700; line-height: 1.35; }
.link-card small { font-size: 11px; color: #555; line-height: 1.35; }
.link-card em { font-style: normal; font-size: 10.5px; color: #999; }
.link-card.pulse { animation: cardPulse 1.8s ease-in-out infinite; }
@keyframes cardPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(196,144,122,.0); } 50% { box-shadow: 0 0 0 5px rgba(196,144,122,.55); } }
.link-card:hover { transform: translateY(-1px); }
.chat-input { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 12px 16px; background: #fff; color: #999; font-size: 18px; }
.chat-input i { flex: 1; height: 30px; border-radius: 15px; background: #f2f2f2; }
/* 안내는 입력창 자리에만 뜬다: 대화 영역 밖이라 어느 화면 크기에서도 말풍선을 가리지 않는다 */
.chat-hint { position: absolute; left: 50%; top: 8px; height: 30px; display: flex; align-items: center; transform: translateX(-50%); max-width: calc(100% - 80px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: rgba(30,23,18,.85); color: #fff8ec; font-size: 12.5px; padding: 6px 12px; border-radius: 999px; opacity: 0; transition: opacity .4s; pointer-events: none; }
.chat-hint.show { opacity: 1; }
.screen iframe { opacity: 0; transition: opacity .5s ease; }
.screen iframe.ready { opacity: 1; }
.screen .back-chat { position: absolute; z-index: 3; left: 10px; top: 40px; font: 500 12px/1 var(--f-body); color: #fff8ec; background: rgba(30,23,18,.7); border: 0; border-radius: 999px; padding: 7px 11px; cursor: pointer; }
.screen .open-full { position: absolute; z-index: 3; right: 10px; top: 40px; font: 500 12px/1 var(--f-body); color: #fff8ec; background: rgba(30,23,18,.7); border-radius: 999px; padding: 7px 11px; text-decoration: none; }
.screen .loading { position: absolute; inset: 0; display: grid; place-items: center; background: #faedcd; color: var(--ink); font-size: 13px; }
@media (max-width: 900px) { .chat { font-size: 12px; } .bubble { max-width: 165px; } .link-card { width: 172px; } .avatar { width: 30px; height: 30px; } .msg.cont { padding-left: 37px; } }
@media (prefers-reduced-motion: reduce) { .msg { transition: none; } .link-card.pulse { animation: none; } }
@keyframes demoInNext { from { transform: translateX(56%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes demoInPrev { from { transform: translateX(-56%); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .demo-list li.on.in-next, .demo-list li.on.in-prev { animation: none; } }
