.shop-page { padding-top: 24px; }
.shop-page > h1 { font: 600 1.7rem var(--font-display,serif); color: var(--green); line-height: 1.5; }
.shop-card { margin: 16px 0; font-size: 1rem; line-height: 1.8; }
.shop-card h2, .shop-daily h2 { margin-top: 10px; font-size: 1.25rem; }
.shop-card h3 { margin: 20px 0 5px; color: var(--green); font-size: 1rem; }
.shop-card p { font-size: 1rem; line-height: 1.8; overflow-wrap: anywhere; }
.shop-card strong { font-size: 1.2rem; }
.shop-card small, .shop-daily small { color: #526653; overflow-wrap: anywhere; font-size: .875rem; }
.shop-card label { display: block; margin-top: 16px; font-size: .875rem; line-height: 1.75; }
.shop-card textarea { display: block; width: 100%; min-height: 112px; margin-top: 7px; padding: 12px; border: 1px solid #acbba9; border-radius: 10px; resize: vertical; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; }
.shop-card .shop-consent { display: flex; align-items: flex-start; gap: 10px; padding: 14px 0; }
.shop-consent input { width: 20px; height: 20px; flex: none; margin: 4px 0 0; min-height: 0; accent-color: var(--green); }
.shop-action { width:100%; margin: 9px 0 2px; height:auto; min-height:48px; padding: 11px 12px; font-size: .9375rem; line-height: 1.55; white-space: normal; }
.shop-action:disabled { opacity: .55; cursor: not-allowed; }
.shop-daily { background: #edf2e9; font-size: 1rem; }
.shop-daily p { font-size: 1rem; }
.shop-links { display: flex; gap: 8px; margin: 0 0 24px; }
.shop-links > button { flex: 1; }
.shop-footer { margin: 24px 0 12px; padding: 16px 2px; border-top: 1px solid var(--line); font-size: .875rem; color:#59675c; overflow-wrap: anywhere; }
.shop-footer p { margin: 3px 0; }
.shop-footer .shop-action { border: 0; background: transparent; text-decoration: underline; color: var(--green); }
.shop-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; padding: 0; margin: 20px 0 6px; }
.shop-flow li { border-left: 2px solid #89a081; padding-left: 10px; }
.shop-flow strong, .shop-flow span { display: block; font-size: .875rem; }
.shop-flow span { color: #586952; }
.shop-product { margin: 28px 0 20px; padding-top: 22px; border-top: 1px solid var(--line); }
.shop-card > .shop-product:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.shop-card .shop-price { display: block; font-size: 1.5rem; color: var(--green); }
.shop-card .shop-test-note { padding: 10px 12px; border-radius: 8px; background: #e7efdf; color: #34513d; font-size: .875rem; font-weight: 650; }
.shop-contents { padding-left: 22px; margin: 16px 0; }
.shop-contents li { margin: 6px 0; }
.shop-example { padding: 14px 0; border-block: 1px solid var(--line); }
.shop-example summary { cursor: pointer; font-weight: 650; color: var(--green); }
.shop-card .shop-example p { font-size: .875rem; }
.shop-policy { margin: 22px 0; font-size: .875rem; }
.shop-policy dt { font-weight: 700; color: var(--green); margin-top: 16px; }
.shop-policy dd { margin: 4px 0 0; }
.shop-card .shop-note, .shop-daily .shop-note { font-size: .875rem; color: #586952; }
.shop-support { padding-top: 4px; }
.shop-support a { color: var(--green); text-underline-offset: 3px; }
.shop-card .shop-support p { font-size: .875rem; }
.shop-status { color: #34513d; }
.shop-status:empty { display: none; }
.shop-order { padding: 18px 0; border-bottom: 1px solid var(--line); }
.shop-card .shop-order p { margin: 4px 0; font-size: .875rem; }
.app[data-ongyeol-shop] .chat-privacy, .app[data-ongyeol-shop] .story-disclaimer { font-size: .875rem; }

/* Full-screen immersive webtoon story stage */
body.wt-stage-open { overflow: hidden; }
.wt-stage-backdrop { position: fixed; inset: 0; z-index: 1200; background: #0c120e; display: flex; justify-content: center; }
.wt-stage { position: relative; width: 100%; max-width: 460px; height: 100dvh; min-height: 100vh; overflow: hidden; background: #101813; color: #f7f4ec; display: flex; flex-direction: column; justify-content: space-between; touch-action: pan-y; user-select: none; box-shadow: 0 0 60px rgba(0, 0, 0, .65); }
.wt-stage-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: opacity .32s ease, transform .55s cubic-bezier(.22, 1, .36, 1), filter .35s ease; }
.wt-stage.is-locked .wt-stage-bg { filter: blur(13px) brightness(.72); -webkit-filter: blur(13px) brightness(.72); transform: scale(1.06); }
.wt-stage-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10, 16, 12, .62) 0%, rgba(10, 16, 12, .05) 26%, rgba(10, 16, 12, .12) 48%, rgba(10, 16, 12, .82) 76%, rgba(10, 16, 12, .96) 100%); }
.wt-stage-top { position: relative; z-index: 4; padding: max(14px, env(safe-area-inset-top)) 14px 8px; display: flex; flex-direction: column; gap: 10px; }
.wt-stage-bars { display: flex; gap: 5px; }
.wt-stage-bar { flex: 1; height: 3px; border-radius: 999px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.wt-stage-bar > i { display: block; height: 100%; width: 0; background: #f2e5c6; transition: width .25s ease; }
.wt-stage-bar.is-done > i, .wt-stage-bar.is-active > i { width: 100%; }
.wt-stage-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wt-stage-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(15, 24, 18, .68); border: 1px solid rgba(255, 255, 255, .18); font-size: .78rem; font-weight: 600; color: #f3ede0; backdrop-filter: blur(8px); }
.wt-stage-close { width: 38px; height: 38px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(15, 24, 18, .66); color: #f6f2e8; font-size: 1.05rem; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(8px); }
.wt-stage-tap-prev, .wt-stage-tap-next { position: absolute; top: 72px; bottom: 180px; z-index: 2; border: 0; background: transparent; cursor: pointer; padding: 0; }
.wt-stage-tap-prev { left: 0; width: 32%; }
.wt-stage-tap-next { right: 0; width: 68%; }
.wt-stage-bottom { position: relative; z-index: 4; padding: 0 16px max(18px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; }
.wt-stage-dialogue { background: rgba(16, 25, 19, .78); border: 1px solid rgba(242, 229, 198, .22); border-radius: 16px; padding: 16px 18px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); animation: wtCutIn .28s ease-out both; }
.wt-stage-speaker { display: inline-block; font-size: .8rem; font-weight: 700; color: #e8d5a8; letter-spacing: .04em; margin-bottom: 6px; }
.wt-stage-headline { margin: 0 0 6px; font-size: 1.05rem; font-weight: 700; line-height: 1.45; color: #fffdf8; }
.wt-stage-line { margin: 0; font-size: .96rem; line-height: 1.68; color: #ece7db; }
.wt-stage-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wt-stage-btn { min-height: 44px; padding: 8px 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .1); color: #f8f4ea; font-size: .88rem; font-weight: 600; cursor: pointer; }
.wt-stage-btn.is-primary { flex: 1; background: #e8d5a8; color: #19291e; border-color: #e8d5a8; font-weight: 700; }
.wt-stage-btn:disabled { opacity: .35; cursor: not-allowed; }
.wt-stage-lock-wrap { position: relative; z-index: 4; margin: auto 16px; padding: 24px 20px; border-radius: 18px; background: rgba(16, 25, 19, .86); border: 1px solid rgba(232, 213, 168, .35); text-align: center; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 18px 44px rgba(0, 0, 0, .45); animation: wtCutIn .3s ease-out both; }
.wt-stage-lock-wrap small { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(232, 213, 168, .18); color: #f0dfb6; font-size: .78rem; font-weight: 700; }
.wt-stage-lock-wrap h3 { margin: 12px 0 8px; font-size: 1.2rem; line-height: 1.4; color: #fffdf8; }
.wt-stage-lock-wrap p { margin: 0 0 16px; font-size: .9rem; line-height: 1.65; color: #dad5c8; }
.wt-stage-lock-teaser { margin: 0 0 16px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); font-size: .88rem; line-height: 1.6; color: #f0ece2; filter: blur(5px); -webkit-filter: blur(5px); user-select: none; pointer-events: none; }
.wt-stage-lock-actions { display: flex; flex-direction: column; gap: 8px; }
.wt-stage-lock-link { border: 0; background: transparent; color: #cfc9ba; font-size: .85rem; text-decoration: underline; padding: 8px; cursor: pointer; }
.wt-stage-summary-wrap { position: relative; z-index: 4; flex: 1; overflow-y: auto; padding: 8px 16px max(22px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; }
.wt-stage-summary-card { background: rgba(251, 249, 244, .97); color: #1b2a20; border-radius: 16px; padding: 20px 18px; }
.wt-stage-summary-card small { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #e5eee0; color: #2b4735; font-size: .78rem; font-weight: 700; }
.wt-stage-summary-card h2 { margin: 10px 0 6px; font-size: 1.15rem; line-height: 1.45; color: #172b1e; }
.wt-stage-summary-card > p { margin: 0 0 12px; font-size: .93rem; line-height: 1.7; color: #2d3e33; }
.shop-summary-grid { display: grid; gap: 10px; margin: 14px 0; }
.shop-summary-box { padding: 12px; border-radius: 10px; background: #f1f5ec; border: 1px solid #dce4d5; }
.shop-summary-box b { display: block; font-size: .82rem; color: var(--green); margin-bottom: 4px; }
.shop-summary-box p { margin: 0; font-size: .92rem; line-height: 1.65; color: #223027; }
@keyframes wtCutIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wt-stage-bg, .wt-stage-dialogue, .wt-stage-lock-wrap { animation: none !important; transition: none !important; } }
@media (max-width: 360px) { .shop-card { padding: 18px 14px; } .shop-links { flex-direction: column; gap: 0; } }
.shop-full-text { margin: 12px 0; padding: 10px 12px; border-radius: 12px; background: #f6f4ec; border: 1px solid #dedad0; }
.shop-full-text summary { cursor: pointer; font-weight: 700; font-size: 13.5px; color: #243b2c; }
.shop-full-section { margin-top: 10px; padding-top: 10px; border-top: 1px solid #e4e1d6; }
.shop-full-section b { display: block; font-size: 13px; color: #243b2c; margin-bottom: 4px; }
.shop-full-section p { margin: 0; font-size: 13.5px; line-height: 1.72; color: #36453a; word-break: keep-all; }
.wt-stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1; transition: opacity .4s ease; }
.wt-stage[data-scene="greeting"]::after { background: radial-gradient(circle at 80% 18%, rgba(255, 224, 178, .22), transparent 52%); }
.wt-stage[data-scene="listening"]::after { background: radial-gradient(circle at 22% 28%, rgba(246, 206, 152, .18), transparent 48%); }
.wt-stage[data-scene="divining"]::after { background: radial-gradient(circle at 50% 14%, rgba(167, 212, 245, .26), transparent 55%), radial-gradient(circle at 82% 36%, rgba(240, 219, 156, .18), transparent 36%); }
.wt-stage[data-scene="reading"]::after { background: radial-gradient(circle at 74% 24%, rgba(226, 198, 134, .2), transparent 50%); }
.wt-stage[data-scene="comfort"]::after { background: radial-gradient(circle at 50% 24%, rgba(255, 196, 168, .22), transparent 54%); }
.wt-stage[data-scene="closing"]::after { background: radial-gradient(circle at 50% 20%, rgba(226, 204, 146, .24), transparent 58%); }


