body { min-height: 100dvh; background: var(--bg); color: var(--cream); }
.wishes { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 26px 20px 48px; }
h1 { font-size: 30px; font-weight: 300; letter-spacing: -0.025em; margin: 0; }
h1 .en { display: block; font-size: 11px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream-2); margin-top: 8px; }
h2 { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream-2); font-weight: 500; margin: 26px 0 10px; }
.mine-edit { letter-spacing: 0.05em; text-transform: none; font-size: 13px; color: var(--cream); }
.count { color: var(--cream-2); font-size: 13px; margin: 14px 0 16px; }
.search input {
  width: 100%; font: inherit; font-size: 16px; color: var(--cream); padding: 12px 14px; border-radius: 8px;
  background: rgba(234, 220, 194, 0.06); border: 1px solid var(--line); outline: none;
}
.search input:focus { border-color: var(--cream-2); }
.search input::placeholder { color: var(--cream-3); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.grid { list-style: none; padding: 0; margin: 14px 0 0; columns: 1; column-gap: 10px; }
@media (min-width: 640px) { .grid { columns: 2; } }
@media (min-width: 960px) { .grid { columns: 3; } }
.grid li { break-inside: avoid; margin-bottom: 8px; }
/* 소원이 주인공: 글을 크게, 사람 정보는 아래 한 줄로 작게 */
.wcard { padding: 14px 16px 12px; border-radius: 8px; background: rgba(38, 31, 26, 0.55); border: 1px solid var(--line); }
.wtext { margin: 0; font-size: 18px; font-weight: 350; line-height: 1.38; letter-spacing: -0.015em; color: var(--cream); word-break: keep-all; overflow-wrap: anywhere; }
.wby { display: flex; align-items: center; gap: 7px; margin-top: 9px; font-size: 12.5px; color: var(--cream-2); min-width: 0; }
.wby .av { width: 20px; height: 20px; flex: none; }
.wby .av-name span { font-size: 34cqw; }
.wby span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wby b { font-weight: 500; color: var(--cream); }
#mine .wcard { border-color: var(--cream-2); }
li.new .wcard { animation: glow 2.4s ease-out; }
@keyframes glow { from { box-shadow: 0 0 0 1px var(--cream), 0 0 26px rgba(224, 64, 46, 0.45); } to { box-shadow: 0 0 0 0 transparent; } }
.empty { color: var(--cream-2); text-align: center; margin-top: 40px; }
@media (prefers-reduced-motion: reduce) { li.new .wcard { animation: none; } }
