/* 오늘의 왁뿌볼 (2026-11-26, 시안 mocks/wax_1126 그대로). 글꼴·낙관색은 홈 값(--serif·--sans·--seal)을 그대로 쓴다. 번호·날짜만 Jost. */
.wx { touch-action: pan-y; position: relative; margin: 2px 0 4px; padding: 27px 20px 22px; border-radius: 28px; text-align: center; overflow: hidden; background: #fffaf1; box-shadow: 0 12px 34px rgba(110, 70, 50, .1); }
/* 과자 상자 뚜껑 같은 두 줄 테두리 — 좌우 대칭 */
.wx-frame { position: absolute; inset: 9px; border: 1px solid rgba(155, 65, 44, .5); border-radius: 20px; pointer-events: none; }
.wx-frame::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(155, 65, 44, .2); border-radius: 15px; }
.wx-date { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0; font: 500 12.5px/1 "Jost", var(--sans); letter-spacing: .14em; color: var(--seal); }
.wx-date::before, .wx-date::after { content: ""; width: 34px; height: 1px; background: rgba(155, 65, 44, .45); }
/* 제목 굵기는 홈 첫 칸 제목과 같게(홈 글꼴 규칙이 500으로 맞춘다) */
.wx .wx-title { margin: 10px 0 0; font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.2; letter-spacing: -.035em; color: #2b2019; white-space: normal; }
.wx-sub { margin: 5px 0 0; font-size: 14px; line-height: 1.5; letter-spacing: -.01em; color: #6a5a50; }
.wx .wx-snd { position: absolute; z-index: 2; top: 15px; right: 20px; min-height: 30px; padding: 0 4px; border: 0; background: none; color: rgba(155, 65, 44, .8); font: 500 11.5px var(--sans); letter-spacing: .02em; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(155, 65, 44, .35); }
.wx .wx-snd[aria-pressed="false"] { color: #a79b92; }

/* 2026-11-26 사장님 "왁뿌볼 밑에 상품 두 개는 뜨게": 공을 줄이고 그림 위아래 빈 곳을 겹쳐 칸 키를 낮춘다 */
.wx-stage { position: relative; margin: -36px auto -12px; width: min(100%, 300px); }
#wxCv { display: block; width: 100%; height: auto; aspect-ratio: 1; touch-action: pan-y; cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; outline: none; }
#wxCv:focus-visible { outline: 2px solid var(--seal); outline-offset: -6px; border-radius: 50%; }
/* 진열장 이름표 */
.wx-tag { position: relative; display: inline-block; margin: 0 auto; padding: 8px 20px 9px; border: 1px solid rgba(155, 65, 44, .5); border-radius: 3px; background: #fffdf8; }
.wx-tag::before { content: ""; position: absolute; inset: 3px; border: 1px solid rgba(155, 65, 44, .18); border-radius: 1px; pointer-events: none; }
.wx-no { margin: 0; font: 500 11.5px/1 "Jost", var(--sans); letter-spacing: .16em; color: var(--seal); white-space: pre; }
.wx-name { margin: 7px 0 0; font-family: var(--serif); font-weight: 700; font-size: 18px; line-height: 1.2; letter-spacing: -.02em; color: #2b2019; }
.wx-hint { margin: 14px 0 0; min-height: 22px; font: 500 14px var(--sans); color: #8a7468; }
.wx.is-open .wx-hint { display: none; }

.wx-card { position: relative; margin: 18px 0 0; padding: 20px 18px 14px; border-radius: 18px; background: #fff; text-align: left; box-shadow: 0 0 0 1px rgba(155, 65, 44, .16), 0 8px 24px rgba(110, 70, 50, .08);
  opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .45s ease, transform .6s cubic-bezier(.2, 1.3, .3, 1); }
.wx-card[hidden] { display: none; }
.wx-card.on { opacity: 1; transform: none; }
.wx-k { margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--seal); }
.wx-word { margin: 9px 0 0; font-family: var(--serif); font-weight: 700; font-size: 21px; line-height: 1.5; letter-spacing: -.025em; word-break: keep-all; color: #2b2019; }
.wx-dok { margin: 14px 0 0; font-size: 13px; color: var(--sub); }
.wx-do { display: flex; flex-wrap: wrap; gap: 6px; margin: 7px 0 0; padding: 0; list-style: none; }
.wx-do[hidden], .wx-dok[hidden] { display: none; }
.wx-do li { padding: 7px 13px; border: 1px solid rgba(155, 65, 44, .28); border-radius: 999px; font-size: 14px; color: #4d3d34; }
.wx-eg { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: #8f897e; }
.wx .wx-btn { display: block; width: 100%; margin: 18px 0 0; padding: 15px; border: 0; border-radius: 14px; background: #2b2019; color: #fff; font: 600 16px var(--sans); text-align: center; }
.wx .wx-ghost { display: block; width: 100%; margin: 8px 0 0; padding: 13px; border: 1px solid rgba(43, 32, 25, .22); border-radius: 14px; background: none; color: #2b2019; font: 600 15px var(--sans); text-align: center; }
.wx-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 0; }
.wx .wx-row .wx-ghost { margin: 0; padding: 13px 4px; font-size: 14.5px; letter-spacing: -.02em; white-space: nowrap; }
.wx-msg { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: #6a5a50; text-align: center; word-break: keep-all; }
.wx-msg:empty { display: none; }
.wx .wx-again { display: block; margin: 6px auto 0; min-height: 40px; padding: 0 10px; border: 0; background: none; color: #8a7468; font: 500 13px var(--sans); text-align: center; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(138, 116, 104, .4); }

.wx-book { touch-action: pan-y; position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; background: rgba(30, 24, 18, .38); }
.wx-book[hidden] { display: none; }
.wx-book-in { position: relative; width: 100%; max-width: 480px; max-height: 88vh; margin: 0 auto; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); overflow: auto; border-radius: 26px 26px 0 0; background: #fbf7ee; animation: wxUp .35s cubic-bezier(.2, 1, .3, 1); }
@keyframes wxUp { from { transform: translateY(40px); opacity: 0; } }
.wx-book h3 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 22px; letter-spacing: -.03em; color: #2b2019; }
.wx-book-n { margin: 6px 0 0; font-size: 15px; font-weight: 600; color: var(--seal); }
.wx-book-p { margin: 6px 0 14px; font-size: 14px; line-height: 1.55; color: #5b554c; word-break: keep-all; }
.wx-book .wx-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; font-size: 26px; line-height: 1; color: #5b554c; text-align: center; }
.wx-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px 8px; }
.wx-cell { display: grid; justify-items: center; gap: 3px; font-size: 11px; color: #9a958a; }
.wx-cell i { display: grid; place-items: center; width: 100%; max-width: 46px; aspect-ratio: 1; border-radius: 50%; border: 0; opacity: .26; filter: saturate(.55); font: 500 13px var(--serif); font-style: normal; color: rgba(60, 40, 40, .7); }
.wx-cell.got i { opacity: 1; filter: none; box-shadow: inset -3px -5px 8px rgba(110, 60, 110, .16), 0 3px 7px rgba(110, 70, 50, .18); }
.wx-cell.got { color: #4a453d; }
.wx-cell.now i { outline: 2px solid var(--seal); outline-offset: 2px; }
/* 보관함 안 도감(2026-11-26): 천간 열 줄 × 여섯 줄 진열장. 세로 한 줄이 같은 색 */
.wx-shelf .wx-book-n { margin: 4px 0 16px; font-family: var(--serif); font-weight: 500; font-size: 20px; letter-spacing: -.03em; color: #2b2019; }
.wx-shelf .wx-grid { grid-template-columns: repeat(10, 1fr); gap: 12px 3px; }
.wx-shelf .wx-cell { gap: 4px; font-size: 10px; letter-spacing: -.05em; white-space: nowrap; }
.wx-shelf .wx-cell i { max-width: 28px; font-size: 10px; }
.wx-shelf .wx-cell.got i { box-shadow: inset -2px -3px 5px rgba(110, 60, 110, .16), 0 2px 4px rgba(110, 70, 50, .18); }
.wx-shelf .wx-cell.now i { outline-width: 1.5px; }
.wx-shelf .wx-book-p { margin: 16px 0 0; font-size: 13px; }
/* 보내기 미리보기 창 */
.wx-send-in { text-align: center; }
.wx-send-in h3 { text-align: left; }
.wx-send-in .wx-book-p { text-align: left; margin-bottom: 12px; }
.wx-send-ph { width: min(64vw, 270px, 38vh); aspect-ratio: 3 / 4; margin: 0 auto; border-radius: 14px; overflow: hidden; background: #f3ecdf; box-shadow: 0 10px 26px rgba(110, 70, 50, .18), 0 0 0 1px rgba(155, 65, 44, .14); }
.wx-send-ph img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-touch-callout: default; }
.wx-send-ph img[hidden] { display: none; }
.wx-send-in .wx-msg { min-height: 20px; margin: 12px 0 0; }
.wx-send-in .wx-msg:empty { display: block; }
.wx-send-in .wx-row { margin: 10px 0 0; }
.wx-send-in .wx-row .wx-ghost, .wx-send-in .wx-row .wx-btn { display: block; width: 100%; margin: 0; padding: 15px 4px; border-radius: 14px; font: 600 16px var(--sans); text-align: center; }
.wx-send-in .wx-row .wx-ghost { border: 1px solid rgba(43, 32, 25, .22); background: none; color: #2b2019; }
.wx-send-in .wx-row .wx-btn { border: 0; background: #2b2019; color: #fff; }
.wx-hap { position: fixed; left: -99px; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .wx-card { transition: opacity .2s; transform: none; } .wx-book-in { animation: none; } }
/* 2026-11-27 도감 60칸: 이름이 모두 달라서 다섯 칸씩, 이름은 두 줄까지 */
.wx-shelf .wx-grid { grid-template-columns: repeat(5, 1fr); gap: 14px 6px; }
.wx-shelf .wx-cell { gap: 5px; font-size: 10.5px; line-height: 1.25; letter-spacing: -.04em; white-space: normal; word-break: keep-all; text-align: center; align-content: start; }
.wx-shelf .wx-cell i { max-width: 40px; font-size: 12px; }
.wx-shelf .wx-cell span { display: block; max-width: 64px; }
.wx-shelf .wx-cell:not(.got) i { opacity: .55; filter: saturate(.85); color: #fff; text-shadow: 0 1px 2px rgba(90,60,40,.35); }
/* 2026-11-28 등급: 레어는 금빛 테, 전설은 무지개 테(도감) · 레어·전설이 온 날은 제목이 낙관색 */
.wx-cell.t2 i { box-shadow: 0 0 0 2px #e8c25a !important; }
.wx-cell.t3 i { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #ff9fc6, 0 0 12px 2px rgba(150, 200, 255, .75) !important; }
.wx-cell.t3 span { color: var(--seal); font-weight: 600; }
.wx[data-tier="2"] .wx-title, .wx[data-tier="3"] .wx-title { color: var(--seal); }
/* 2026-11-28 도감 보상(7·15·30개): 카드 안 다음 보상 한 줄 + 보관함 도감 위 세 단계 */
.wx-rw { margin: 16px 0 0; padding: 14px 14px 12px; border-radius: 14px; background: #fbf4ea; box-shadow: inset 0 0 0 1px rgba(155, 65, 44, .14); }
.wx-rw[hidden] { display: none; }
.wx-rw-k { margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--seal); word-break: keep-all; }
.wx-rw-t { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: #4d3d34; word-break: keep-all; }
.wx-rw-t:empty { display: none; }
.wx-rw-bar { position: relative; height: 8px; margin: 9px 0 0; border-radius: 99px; background: rgba(155, 65, 44, .12); overflow: hidden; }
.wx-rw-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: linear-gradient(90deg, #ff9ec4, #ffc98f); }
.wx .wx-rw .wx-btn { margin: 12px 0 0; padding: 13px; }
.wx .wx-rw .wx-row { margin: 10px 0 0; }
.wx .wx-rw .wx-row .wx-ghost { background: #fff; font-size: 13.5px; }
.wx-rw-done { background: #fff6e6; box-shadow: inset 0 0 0 1.5px rgba(155, 65, 44, .3); }
.wx-lad { margin: 0 0 18px; padding: 14px 14px 6px; border-radius: 16px; background: #fbf4ea; box-shadow: inset 0 0 0 1px rgba(155, 65, 44, .14); }
.wx-lad-k { margin: 0 0 4px; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--seal); }
.wx-lad-i { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(155, 65, 44, .1); }
.wx-lad-k + .wx-lad-i { border-top: 0; }
.wx-lad-n { font-family: var(--serif); font-weight: 700; font-size: 18px; letter-spacing: -.03em; color: #2b2019; }
.wx-lad-l strong { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -.02em; color: #2b2019; word-break: keep-all; }
.wx-lad-l small { display: block; margin: 2px 0 0; font-size: 12px; color: #8f897e; word-break: keep-all; }
.wx-lad-i em { font-style: normal; font-size: 12.5px; color: #8f897e; white-space: nowrap; }
.wx-lad-i.got em { color: var(--seal); font-weight: 600; }
.wx-lad-i.got .wx-lad-l strong { color: #8f897e; text-decoration: line-through; text-decoration-color: rgba(143, 137, 126, .5); }
.wx-lad-go { min-height: 36px; padding: 0 16px; border: 0; border-radius: 99px; background: #2b2019; color: #fff; font: 600 13.5px var(--sans); }
.wx-lad-go:disabled { opacity: .6; }
.wx-lad .wx-rw { margin: 0 0 10px; }
.wx-lad .wx-rw .wx-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0 0; }
.wx-lad .wx-rw .wx-ghost { display: block; width: 100%; padding: 12px 4px; border: 1px solid rgba(43, 32, 25, .22); border-radius: 14px; background: #fff; color: #2b2019; font: 600 13.5px var(--sans); white-space: nowrap; }
.wx .wx-rw-done .wx-row, .wx-lad .wx-rw-done .wx-row { grid-template-columns: 1fr; }

/* 2026-11-28 결과 카드: 뿌시면 공+이름표 자리가 공 색 수집 카드 한 장으로 바뀐다(칸이 길게 늘어나지 않게). 카드 = 친구에게 가는 그림 */
.wx-tc { position: relative; width: min(280px, 78vw); margin: 16px auto 0; border-radius: 20px; }
.wx-tc[hidden] { display: none; }
.wx-tc img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: 0 1px 0 rgba(155, 65, 44, .14), 0 14px 32px rgba(110, 70, 50, .2); }
.wx-tc.pop { animation: wxPop .62s cubic-bezier(.2, 1.4, .35, 1) both; }
@keyframes wxPop { 0% { opacity: 0; transform: translateY(26px) scale(.62) rotate(-7deg); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
/* 레어 이상: 나온 순간 빛이 한 번 카드 위를 지나간다 */
.wx-tc[data-tier="2"]::after, .wx-tc[data-tier="3"]::after, .wx-tc[data-tier="4"]::after { content: ""; position: absolute; inset: 0; border-radius: 20px; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .7) 45%, transparent 60%) no-repeat; background-size: 250% 100%; background-position: 130% 0; opacity: 0; }
.wx-tc.pop[data-tier="2"]::after, .wx-tc.pop[data-tier="3"]::after, .wx-tc.pop[data-tier="4"]::after { animation: wxShine 1.1s .55s ease-out both; }
@keyframes wxShine { 0% { opacity: 1; background-position: 130% 0; } 100% { opacity: 0; background-position: -40% 0; } }
@media (prefers-reduced-motion: reduce) { .wx-tc.pop, .wx-tc.pop::after { animation: none !important; } }
.wx.is-card .wx-stage, .wx.is-card .wx-tag, .wx.is-card .wx-title, .wx.is-card .wx-sub, .wx.is-card .wx-hint { display: none; }
.wx.is-card .wx-card { margin: 14px 0 0; padding: 0; background: none; box-shadow: none; text-align: center; }
.wx.is-card .wx-k, .wx.is-card .wx-word { display: none; }
.wx .wx-mine .wx-btn#wxMore { margin-top: 14px; }
.wx[data-known="1"] #wxMore { display: none; }
.wx-act { margin: 0; }
.wx .wx-act .wx-send-b { background: #2b2019; border-color: #2b2019; color: #fff; }
.wx:not([data-known="1"]) .wx-act .wx-send-b { background: none; border-color: rgba(43, 32, 25, .22); color: #2b2019; }
.wx.is-card .wx-rw { margin-top: 10px; padding: 11px 13px 10px; text-align: left; }
.wx-fold { margin: 10px 0 0; text-align: left; border-radius: 14px; background: #fbf4ea; box-shadow: inset 0 0 0 1px rgba(155, 65, 44, .12); }
.wx-fold[hidden] { display: none; }
.wx-fold summary { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 0 14px; font: 600 14px var(--sans); color: #4d3d34; cursor: pointer; list-style: none; }
.wx-fold summary::-webkit-details-marker { display: none; }
.wx-fold summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid #8a7468; border-bottom: 1.5px solid #8a7468; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.wx-fold[open] summary::after { transform: rotate(-135deg); }
.wx-fold > :not(summary) { margin-left: 14px; margin-right: 14px; }
.wx-fold .wx-dok { display: none; }
.wx-fold .wx-do { margin-top: 0; }
.wx .wx-fold .wx-ghost { width: auto; margin: 12px 14px 14px; background: #fff; }
.wx.is-card .wx-rw-t { font-size: 13.5px; line-height: 1.5; }

/* 2026-11-29 접힌 칸 '오늘의 돈 · 연애 · 일' 세 줄 */
.wx-do.wx-do3 { display: block; margin: 0 14px; }
.wx-do.wx-do3 li { display: flex; gap: 10px; align-items: baseline; padding: 11px 0; border: 0; border-radius: 0; border-top: 1px solid rgba(155, 65, 44, .12); font-size: 14.5px; line-height: 1.55; color: #3b2f28; }
.wx-do.wx-do3 li:first-child { border-top: 0; padding-top: 2px; }
.wx-do.wx-do3 li b { flex: 0 0 44px; box-sizing: border-box; padding: 2px 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(155, 65, 44, .22); font: 600 12px/1.5 var(--sans); color: #9b412c; text-align: center; }
.wx-do.wx-do3 li.on b { background: #9b412c; box-shadow: none; color: #fff; }
.wx-do.wx-do3 li span { flex: 1 1 auto; word-break: keep-all; }
/* 2026-11-29 사장님 "깨지면 빛 나오면서 시절지기가 확 날면서 돌면서", "공 색깔 무드로 배경도", "보내면 한 번 더" —
   ①공 뒤 빛줄기(그 공 위·아래 색) ②하얀 번쩍 ③시절지기가 작게 튀어나와 두 바퀴 돌며 날아올랐다 내려앉음 ④터진 뒤 칸 바탕이 공 색 ⑤등급 선물 칸 */
.wx { isolation: isolate; }
.wx::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 1.1s ease;
  background: radial-gradient(90% 50% at 50% 28%, var(--wi2, #fff) 0, rgba(255, 255, 255, 0) 72%), linear-gradient(168deg, var(--wa2, #fffaf1) 0%, #fffaf1 50%, var(--wb2, #fffaf1) 100%); }
.wx.is-open::before { opacity: 1; }
.wx.is-open .wx-frame { border-color: rgba(255, 255, 255, .95); }
.wx.is-open .wx-frame::after { border-color: rgba(255, 255, 255, .65); }
#wxCv { position: relative; z-index: 1; }
.wx-glow, .wx-fx { position: absolute; inset: 0; pointer-events: none; }
.wx-glow { z-index: 0; }
.wx-fx { z-index: 2; }
.wx-rays { position: absolute; left: 50%; top: 54%; width: 240%; aspect-ratio: 1; border-radius: 50%; opacity: 0; transform: translate(-50%, -50%) scale(.2);
  background: repeating-conic-gradient(from 0deg, var(--wa, #ffd1e0) 0 8deg, rgba(255, 255, 255, 0) 8deg 20deg);
  -webkit-mask: radial-gradient(circle, #000 6%, rgba(0, 0, 0, .55) 30%, transparent 62%); mask: radial-gradient(circle, #000 6%, rgba(0, 0, 0, .55) 30%, transparent 62%); }
.wx-rays2 { background: repeating-conic-gradient(from 10deg, var(--wb, #d6ecff) 0 5deg, rgba(255, 255, 255, 0) 5deg 20deg); }
.wx[data-tier="3"] .wx-rays, .wx[data-tier="4"] .wx-rays { background: repeating-conic-gradient(from 0deg, #ffe27a 0 7deg, rgba(255, 255, 255, 0) 7deg 13deg, var(--wa, #ffb1d0) 13deg 19deg, rgba(255, 255, 255, 0) 19deg 26deg); }
.wx-glow.go .wx-rays { animation: wxRays 2.6s cubic-bezier(.15, .9, .3, 1) both; }
.wx-glow.go .wx-rays2 { animation: wxRays2 2.6s cubic-bezier(.15, .9, .3, 1) both; }
.wx[data-tier="3"] .wx-glow.go .wx-rays, .wx[data-tier="4"] .wx-glow.go .wx-rays, .wx[data-tier="3"] .wx-glow.go .wx-rays2, .wx[data-tier="4"] .wx-glow.go .wx-rays2 { animation-duration: 3.4s; }
@keyframes wxRays { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.2) rotate(0deg); } 12% { opacity: 1; } 55% { opacity: .9; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.15) rotate(70deg); } }
@keyframes wxRays2 { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.3) rotate(0deg); } 15% { opacity: .85; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.05) rotate(-55deg); } }
.wx-flash { position: absolute; left: 50%; top: 54%; width: 70%; aspect-ratio: 1; border-radius: 50%; opacity: 0; transform: translate(-50%, -50%) scale(.3);
  background: radial-gradient(circle, #fff 0, rgba(255, 255, 255, .95) 30%, var(--wi, #fff) 55%, rgba(255, 255, 255, 0) 72%); }
.wx-fx.go .wx-flash { animation: wxFlash .6s ease-out both; }
@keyframes wxFlash { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.3); } 18% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(2.4); } }
.wx-fly { position: absolute; left: 50%; top: 54.7%; height: 68.8%; width: auto; max-width: none; opacity: 0; transform: translate(-50%, -50%); filter: drop-shadow(0 10px 14px rgba(80, 50, 30, .25)); will-change: transform, opacity; }
.wx-fx.go .wx-fly { animation: wxFly 1.65s cubic-bezier(.3, .8, .35, 1) both; }
@keyframes wxFly {
  0% { opacity: 0; transform: translate(-50%, -50%) translateY(6%) scale(.12) rotate(0deg); }
  8% { opacity: 1; }
  42% { transform: translate(-50%, -50%) translateY(-58%) scale(1.18) rotate(540deg); }
  66% { transform: translate(-50%, -50%) translateY(4%) scale(.94) rotate(720deg); }
  78% { transform: translate(-50%, -50%) translateY(-7%) scale(1.04) rotate(720deg); }
  90% { opacity: 1; transform: translate(-50%, -50%) translateY(0) scale(1) rotate(720deg); }
  100% { opacity: 0; transform: translate(-50%, -50%) translateY(0) scale(1) rotate(720deg); }
}
/* 공 속 선물 칸 */
.wx-prize { position: relative; margin: 16px 0 0; padding: 16px 16px 14px; border-radius: 22px; text-align: left; background: #fff; box-shadow: 0 0 0 2px var(--wa2, #f3e6d2), 0 10px 22px -12px rgba(110, 70, 50, .35); }
.wx-prize[hidden] { display: none; }
.wx-prize[data-tier="3"] { background: linear-gradient(180deg, #fff8e1, #fff 62%); box-shadow: 0 0 0 2px #f5c15a, 0 0 26px rgba(255, 196, 90, .5); }
.wx-prize[data-tier="4"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #ffb1d0, 0 0 24px rgba(160, 200, 255, .65); }
.wx-pz-k { display: inline-block; margin: 0; padding: 5px 11px; border-radius: 999px; background: var(--wa2, #fbe9e2); font: 800 12px/1.2 var(--sans); letter-spacing: .02em; color: #4a3328; }
.wx-prize[data-tier="3"] .wx-pz-k { background: #ffe3a1; color: #7a4a00; }
.wx-prize.got .wx-pz-k { background: #e3f6ec; color: #2e8b67; }
.wx-pz-t { margin: 9px 0 0; font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1.4; letter-spacing: -.025em; color: #2b2019; word-break: keep-all; }
.wx-pz-d { margin: 5px 0 0; font-size: 13px; line-height: 1.5; color: #6a5a50; word-break: keep-all; }
.wx .wx-pz-go { display: block; width: 100%; margin: 13px 0 0; padding: 15px 10px; border: 0; border-radius: 999px; font: 800 16px var(--sans); letter-spacing: -.01em; color: #fff; text-align: center; background: #ff8fb1; box-shadow: 0 4px 0 #e06a91; }
.wx .wx-pz-go:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0, 0, 0, .15); }
.wx .wx-prize[data-tier="2"] .wx-pz-go { background: #6fb6f2; box-shadow: 0 4px 0 #4c93d2; }
.wx .wx-prize[data-tier="3"] .wx-pz-go { background: linear-gradient(180deg, #ffb547, #f28c28); box-shadow: 0 4px 0 #c96f12; }
.wx .wx-prize[data-tier="4"] .wx-pz-go { background: linear-gradient(90deg, #ff8fb8, #ffb48a, #9cd9a4, #8dc6ff, #b9a0ff); box-shadow: 0 4px 0 #a48ae0; }
.wx .wx-pz-go:disabled { opacity: .6; }
.wx-pz-s { margin: 9px 0 0; font-size: 11.5px; line-height: 1.4; color: #9a8f84; text-align: center; }
/* 보내면 한 번 더 */
.wx .wx-row .wx-ghost.wx-hot { border: 0; background: var(--wa2, #ffe1ea); color: #2b2019; font-weight: 800; box-shadow: 0 3px 0 rgba(0, 0, 0, .1); }
.wx .wx-again { display: block; width: 100%; margin: 10px 0 0; min-height: 56px; padding: 0 12px; border: 0; border-radius: 999px; background: linear-gradient(90deg, var(--wa2, #ffe1ea), var(--wb2, #e3f0ff)); color: #2b2019; font: 800 16px var(--sans); text-decoration: none; box-shadow: 0 4px 0 rgba(0, 0, 0, .12), 0 0 0 2px #fff inset; }
.wx .wx-again[hidden] { display: none; }
.wx .wx-again.pop { animation: wxPop .62s cubic-bezier(.2, 1.4, .35, 1) both; }
.wx-more-t { margin: 9px 0 0; font-size: 12.5px; line-height: 1.5; color: #6a5a50; text-align: center; word-break: keep-all; }
.wx-more-t:empty { display: none; }
@media (prefers-reduced-motion: reduce) { .wx-glow, .wx-fx { display: none; } .wx::before { transition: none; } }

/* 2026-11-29 사장님 "여기에 왜 오늘의 한마디가 없어", "간격 왤케 더블": 생일 모르는 손님도 깬 뒤 '오늘 한마디' 칸이 보이고(잠긴 두 줄), 칸 사이는 12px 하나로 */
.wx-lock { display: none; }
.wx.is-card[data-known="1"] .wx-mine { display: none; }
.wx.is-card:not([data-known="1"]) .wx-mine { margin: 0; padding: 16px 16px 16px; border-radius: 22px; background: #fff; text-align: left; box-shadow: 0 0 0 1px rgba(155, 65, 44, .14), 0 10px 22px -14px rgba(110, 70, 50, .35); }
.wx.is-card:not([data-known="1"]) .wx-k { display: block; }
.wx.is-card:not([data-known="1"]) .wx-word { display: block; margin: 10px 0 0; font-family: var(--sans); font-weight: 500; font-size: 14px; line-height: 1.55; color: #6d5a4f; }
.wx.is-card[data-known="0"] .wx-lock { display: block; margin: 10px 0 0; }
.wx-lock i { display: block; height: 15px; margin: 0 0 9px; border-radius: 8px; background: linear-gradient(90deg, var(--wa2, #f6e7d6), var(--wb2, #efe4f6)); filter: blur(1.5px); opacity: .9; }
.wx-lock i + i { width: 64%; margin: 0; }
.wx.is-card:not([data-known="1"]) .wx-mine .wx-btn#wxMore { margin: 14px 0 0; }
.wx.is-card .wx-prize { margin: 12px 0 0; }
.wx.is-card .wx-act { margin: 12px 0 0; }
.wx .wx-act .wx-send-b.wx-hot { grid-column: 1 / -1; padding: 15px 4px; font-size: 16px; }
.wx .wx-act .wx-send-b.wx-hot ~ #wxBookBtn { grid-column: 1 / -1; }
/* 모두의 한마디(g): 한마디는 카드 그림에, 아래 로그인 칸은 없다(로그인은 선물 칸에서만) */
.wx[data-known="g"] #wxMore { display: none; }
.wx.is-card[data-known="g"] .wx-mine { display: none; }
/* 2026-11-29 사장님 "폰트가 가독성이 없어, 색도 그렇고, 글귀를 더 눈에 들어오게": 깨기 전 글귀 = 공 색 테두리 흰 칸, 윗줄 작게 '꾹 눌러서 뿌시면', 아랫줄 크고 굵게 '오늘 선물과 한마디가 나와요'('선물'엔 공 색 형광). 확률은 그 아래 작은 줄 */
.wx .wx-sub.is-lead { display: table; margin: 12px auto 0; font-size: 16px; font-weight: 700; padding: 10px 22px 12px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 2px var(--wa2, #ffd9e4), 0 8px 18px -10px rgba(110, 70, 50, .45); line-height: 1.35; color: #2b2019; word-break: keep-all; }
.wx .wx-sub.is-lead small { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; color: #7a655a; }
.wx-odds { margin: 8px 0 0; font-size: 13px; font-weight: 600; color: var(--seal); }
.wx-odds[hidden], .wx.is-open .wx-odds { display: none; }
/* 2026-11-29 사장님 "폰트가 너무 못생기고, 글자색을 다르게, 밑줄 쳐 놓은 거 너무 짜쳐": 큰 줄은 홈 제목과 같은 굵은 명조, 색은 도장색(밤 빨강), 형광 밑줄 없앰 */
.wx .wx-sub.is-lead strong { display: block; margin-top: 3px; font-family: var(--serif); font-size: 19px; font-weight: 700; letter-spacing: -.035em; color: var(--seal, #9b412c); }
.wx .wx-sub.is-lead .wx-gift { font-weight: 900; color: inherit; background: none; }

/* 2026-11-30 저녁: 깬 뒤 보내기 버튼 둘째 줄 '다음 공은 전설 나올 확률 3배' */
.wx .wx-act .wx-send-b.wx-hot small { display: block; margin-top: 4px; font-size: 13px; font-weight: 700; color: #9b412c; letter-spacing: 0; }
