/* APP-P3 다이어리 분석·목표·타임랩스·기록 카드: 목업 demo.css 같은 규칙(목업 14·15단계) */
.diary-pot { width: 70px; height: 90px; flex: none; }
.diary-timelapse { position: relative; min-height: 220px; margin-top: 12px; padding: 14px; background: #eaf3df; border-radius: 16px; overflow: hidden; }
.diary-timelapse > .avatar { display: block; width: 130px; height: 130px; margin: auto; background-color: #f6f3ec; box-shadow: 0 0 0 2px #fff; animation: diary-breathe 2s ease-in-out infinite; }
.diary-sprouts { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.diary-sprouts span { display: inline-block; font-size: 25px; transform-origin: bottom; animation: diary-sprout .8s ease-out both; }
.diary-sprouts img { width: 32px; height: 32px; }
@keyframes diary-sprout { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes diary-breathe { 50% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .diary-timelapse > .avatar, .diary-sprouts span { animation: none; } }
.sharecard.diary-sharecard { display: grid; justify-items: center; gap: 8px; padding: 22px 16px; border-radius: 22px; background: linear-gradient(170deg, #f4fbef 0%, #fffaf0 60%, #fff 100%); box-shadow: inset 0 0 0 1px #e6ecd9; text-align: center; }
.sharecard.diary-sharecard p { margin: 0; }
.diary-paper > .btn { width: 100%; }
.diary-tabs ~ .stack .card .row { align-items: center; }
.diary-tabs ~ .stack > .card.flat { font-size: 16px; line-height: 1.6; }
.diary-tabs ~ .stack .link { border: 0; background: transparent; cursor: pointer; padding: 0; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); min-height: 44px; }
dialog.sheet [data-goal-form] select.input { width: 100%; }

/* APP-P3: 정원 꾸미기·도감·소식·단골 짝·플러스 제안. 목업 jjakgong public/demo/demo.css 규칙을 그대로 옮긴다(2026-10-23 기준 줄 번호). */
/* 꾸미기 상점: demo.css 213-217, 230 */
.shopitem { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.shopitem:first-child { border-top: 0; }
.shopitem .em { font-size: 24px; width: 34px; text-align: center; flex: none; }
.shopitem .grow { display: grid; gap: 1px; }
.shopitem button.chip { border: 0; cursor: pointer; flex: none; min-height: 32px; font: inherit; font-size: 12.5px; font-weight: 600; }
.shopitem button.chip:disabled { opacity: .55; }
.collection-art { display: flex; flex: 0 0 52px; width: 52px; align-items: center; justify-content: center; }
.collection-art img, .shopitem .em img { display: block; width: 100%; height: auto; }
.collection-art.locked { opacity: .3; filter: grayscale(1); }
/* 정원 카드·이정표·도감·계절 꾸러미: demo.css 240-253 */
.garden-legend { font-size: 11px; text-align: center; }
.village-milestones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.village-milestones span, .day-unlocks span, .season-grid span { min-width: 0; padding: 6px 7px; border-radius: 9px; background: #f3f4ef; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.village-milestones [data-unlocked="true"], .day-unlocks [data-unlocked="true"], .season-grid [data-filled="true"] { background: #e7f3e2; color: #2f6b3a; font-weight: 700; }
.day-unlocks { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.day-unlocks span { padding: 6px 2px; text-align: center; font-size: 10px; }
.collection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.collection-item { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 12px 10px; }
.collection-item > div { min-width: 0; overflow-wrap: anywhere; }
.collection-item .label { margin-top: 3px; font-size: max(13px, .8125rem); }
.collection-item.found { background: linear-gradient(145deg, #f2f9e9, #fff); }
.season-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.banner.seedok { background: #eef7ea; color: #2f6b3a; justify-content: center; margin-top: 8px; }
/* 플러스 제안·단골 짝: demo.css 256-258, 407 */
.plus-offer { display: grid; justify-items: start; gap: 7px; width: 100%; text-align: left; cursor: pointer; color: inherit; text-decoration: none; }
.plus-offer > b { font-size: 16px; }
.plus-offer .label { line-height: 1.45; }
.plus-offer .link { min-height: 0; }
.regular-buddy { border: 1px solid #d9ecea; background: #f3f8f7; }
.regular-buddy .avatar.sm { background-color: #f6f3ec; box-shadow: 0 0 0 2px #fff; }
/* 주간 신문·월간 합계: demo.css 269-273 */
.weekly-newspaper { display: grid; gap: 10px; background: linear-gradient(150deg, #fff9e8, #f0f8ef); }
.news-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.news-stats > span { display: grid; gap: 3px; min-width: 0; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.8); font-size: 12px; color: var(--ink-2); }
.news-stats strong { font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }
.monthly-summary { display: grid; gap: 9px; }
.sharecard.garden-sharecard { display: grid; justify-items: center; gap: 8px; padding: 22px 16px; border-radius: 22px; background: linear-gradient(170deg, #f4fbef 0%, #fffaf0 60%, #fff 100%); box-shadow: inset 0 0 0 1px #e6ecd9; text-align: center; }
/* 내 자리 소품: demo.css 323 */
.seat { position: relative; }
.seat .prop { position: absolute; z-index: 2; right: 8px; top: 6px; font-size: 20px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.15)); }

/* APP-P3 공개방 찾기: 목업 demo.css의 .search·.tagm과 같은 값 */
[data-find] .tagm, [data-find-preview] .tagm { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #e7f3f2; color: var(--teal); font-weight: 700; }
[data-find] .tagm.chat, [data-find-preview] .tagm.chat { background: #e7f3f2; color: var(--teal); }
[data-find] .tagm.chat-off, [data-find-preview] .tagm.chat-off { background: var(--gray-bg); color: var(--gray, #6b787d); }
[data-find] .tagm.chat, [data-find-preview] .tagm.chat, [data-find] .tagm.chat-off, [data-find-preview] .tagm.chat-off { font-size: 10px; line-height: 1.35; white-space: normal; }
[data-find] .search { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1.5px solid #e2ded5; border-radius: 14px; padding: 0 12px; height: 46px; }
[data-find] .search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 15px; color: var(--ink); min-width: 0; font: inherit; }
[data-find] .search:focus-within { border-color: var(--teal); }
[data-find] .find-card { color: inherit; text-decoration: none; }
[data-find] .find-card .find-name { margin: 0; font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
[data-find] .chip { border: 0; cursor: pointer; min-height: 32px; font: inherit; font-size: 12.5px; font-weight: 600; }
[data-find-preview] .info { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--muted); line-height: 1.6; margin: 0; }
[data-find-preview] .info svg { flex: none; margin-top: 3px; }
[data-find] .toggle { border: 0; cursor: pointer; padding: 0; position: relative; width: 50px; height: 30px; border-radius: 99px; background: #dfe3e3; flex: none; transition: background .2s; }
[data-find] .toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.18); transition: transform .2s; }
[data-find] .toggle[aria-checked="true"] { background: var(--teal); }
[data-find] .toggle[aria-checked="true"]::after { transform: translateX(20px); }

[data-find] .find-card .avs .avatar { width: 34px; height: 34px; background-color: #f6f3ec; box-shadow: 0 0 0 2px #fff; }
[data-find] .search input[type="search"]::-webkit-search-cancel-button { display: none; }
