/* 🫖 티타임 입구(2026-11-04 사용자: 광장 B · 꾸미기 B·C · 게임 B) — 카페 라떼·코코아색, 모양은 각 페이지의 알약·카드를 따른다 */
.tea-door { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; background: rgba(255, 250, 243, .92); border: 1px solid #e7d3bd; color: #6b4a3a; text-decoration: none; font-family: inherit; box-shadow: 0 3px 10px rgba(107, 74, 58, .16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); -webkit-tap-highlight-color: transparent; }
.tea-door:active, .tea-mini:active, .tea-card:active { transform: scale(.97); }
.tea-thumb { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #ead9c4; flex: none; }
.tea-text { display: grid; line-height: 1.2; min-width: 0; }
.tea-text b { font-size: 12.5px; font-weight: 900; white-space: nowrap; }
.tea-live { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 800; color: #8a6a58; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tea-dot { width: 7px; height: 7px; border-radius: 50%; background: #2fa866; flex: none; animation: tea-ping 1.8s ease-out infinite; }
@keyframes tea-ping { 0% { box-shadow: 0 0 0 0 rgba(47, 168, 102, .55); } 80%, 100% { box-shadow: 0 0 0 6px rgba(47, 168, 102, 0); } }
[data-tea="off"] .tea-dot { background: #b9a89c; animation: none; }
[data-tea="off"].tea-door, [data-tea="off"].tea-mini { opacity: .8; box-shadow: none; }
[data-tea="idle"] .tea-dot { display: none; }
@media (prefers-reduced-motion: reduce) { .tea-dot { animation: none; } }

/* 꾸미기: 지갑 아래 세로 미니 카드(.pixel-preview 자리·모양) */
.tea-mini { position: absolute; z-index: 2; right: 10px; top: 56px; display: grid; justify-items: center; gap: 3px; padding: 6px 6px 5px; background: rgba(255, 250, 243, .9); border: 1px solid #e7d3bd; border-radius: 14px; color: #6b4a3a; text-decoration: none; box-shadow: 0 3px 10px rgba(107, 74, 58, .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); -webkit-tap-highlight-color: transparent; }
.tea-mini .tea-thumb { width: 52px; height: 52px; border-radius: 10px; }
.tea-mini b { font-size: 11px; font-weight: 900; white-space: nowrap; }
.tea-mini .tea-live { font-size: 10px; }
.pixel-preview:not([hidden]) ~ .tea-mini { top: 170px; }
@media (max-width: 380px) { .tea-mini { top: 50px; } .tea-mini .tea-thumb { width: 44px; height: 44px; } }

/* 꾸미기 「제출했어요!」 창: 승인 기다리는 동안 티타임 가기(시안 C) */
dialog.sheet .tea-wait { display: grid; gap: 2px; width: 100%; box-sizing: border-box; margin-top: 10px; padding: 10px 14px; border: 1px solid #e7b77c; border-radius: 16px; background: #fff3e4; color: #8a4f12; text-decoration: none; text-align: center; font-size: 14px; font-weight: 900; }
dialog.sheet .tea-wait[hidden] { display: none; }
dialog.sheet .tea-wait small { font-size: 11px; font-weight: 700; color: #a8774a; }

/* 게임: 메인 배너 아래 가로 카드 */
.tea-card { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; color: inherit; text-decoration: none; background: linear-gradient(135deg, #fffaf3, #f6ebde); border-color: #e7d3bd; -webkit-tap-highlight-color: transparent; }
.tea-card .tea-thumb { width: 56px; height: 56px; border-radius: 14px; }
.tea-card .tea-text { flex: 1; gap: 2px; }
.tea-card .tea-text b { font-size: 15px; color: #6b4a3a; }
.tea-card .tea-text small { font-size: 11.5px; font-weight: 700; color: #8a7a72; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tea-card .tea-go { flex: none; display: grid; justify-items: end; gap: 4px; }
.tea-card .tea-live { font-size: 11px; background: #fff; border: 1px solid #e7d3bd; border-radius: 999px; padding: 2px 8px; }
.tea-card .tea-go i.go { font-style: normal; font-size: 12px; font-weight: 900; color: #fff; background: #6b4a3a; border-radius: 999px; padding: 4px 11px; }
[data-tea="off"].tea-card .tea-go i.go { background: #b9a89c; }
