.wish-card{display:block;width:100%;max-width:360px;margin:0 auto;position:relative;isolation:isolate}
.wish-card--compact{max-width:320px}
.wish-card__surface{display:block;width:100%;height:auto;overflow:visible;border-radius:6px}
.wish-card__body{font-size:24px;font-weight:400;letter-spacing:0;font-kerning:none;font-variant-ligatures:none}
.wish-card__glyph{white-space:pre}
.wish-card__ui{font-family:system-ui,-apple-system,'PingFang SC','Microsoft YaHei',sans-serif;font-weight:400}
.wish-card__imprint .wish-card__body{text-shadow:0 .6px .65px #fff}
.wish-card__light{opacity:0;pointer-events:none}
.wish-card__flower{transform-box:fill-box;transform-origin:50% 100%}
.wish-card__petals{transform-box:fill-box;transform-origin:center}
.wish-card__accessible{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:pre-wrap!important;border:0!important}
@media(prefers-reduced-motion:reduce){.wish-card__light{display:none}}
/* SVG transform attributes use the same origin as the Canvas export in v2. */
.wish-card[data-style-version="2"] .wish-card__flower{transform-box:view-box;transform-origin:0 0}

/* Reading mode for public lists; full preview and PNG geometry stay unchanged. */
.wish-comment{position:relative;width:100%;box-sizing:border-box;border:1px solid;border-radius:7px;padding:13px 16px 14px;margin:0}
.wish-comment__meta{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;min-height:24px;margin-bottom:7px;color:#767873;font:400 11px/1.5 system-ui,-apple-system,'PingFang SC',sans-serif}
.wish-comment__date{margin-left:auto}
.wish-comment__text{position:relative;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;font-weight:400;line-height:1.8;letter-spacing:0}
.wish-comment--plain .wish-comment__text{border-left:2px solid #ddc7b9;padding-left:10px}
.wish-comment--imprint{box-shadow:inset 0 1px 3px rgb(67 77 74 / .06)}
.wish-comment--imprint .wish-comment__text{text-shadow:0 1px 0 #fff}
.wish-comment__flower{width:22px;height:27px;flex:none;display:block}
@media(max-width:480px){.wish-comment{padding:11px 13px 12px}.wish-comment__text{font-size:15px;line-height:1.85}}
/* Decorative motion belongs to the reading surface, never to payment state. */
.wish-comment{isolation:isolate;overflow:hidden}
.wish-comment__meta,.wish-comment__text{position:relative;z-index:1}
.wish-comment__effects{position:absolute;inset:0;pointer-events:none;z-index:0;overflow:hidden;border-radius:inherit}
.wish-comment__glow{position:absolute;top:-70%;bottom:-70%;left:0;width:58%;opacity:0;transform:translate3d(-130%,0,0) skewX(-16deg);background:linear-gradient(90deg,transparent 0%,rgb(231 155 88 / .04) 12%,rgb(244 181 105 / .18) 28%,rgb(255 218 151 / .48) 45%,rgb(255 231 177 / .6) 52%,rgb(237 164 112 / .24) 68%,rgb(230 144 109 / .06) 85%,transparent 100%);filter:blur(9px);pointer-events:none}
.wish-comment__glow:after{content:'';position:absolute;inset:0 34%;background:linear-gradient(90deg,transparent,rgb(255 227 159 / .25),transparent);filter:blur(5px)}
.wish-comment__effects .wish-comment__flower{position:absolute;right:8px;bottom:0;width:65px;height:79px;opacity:.65;transform:rotate(-12deg);overflow:visible}
.wish-comment__effects .wish-card__flower{transform-box:view-box;transform-origin:11px 61px}
.wish-comment__flower .wish-card__petals>path{transform-box:view-box;transform-origin:36px 20px}
.wish-comment--bloom .wish-comment__text{padding-right:28px}
.wish-comment__drop{position:absolute;top:18px;right:12px;width:9px;height:14px;border-radius:60% 45% 55% 50%;opacity:0;background:radial-gradient(ellipse at 28% 24%,#fff 0 9%,#eef3f3a8 19%,#bacac04d 53%,#ffffffbd 74%);box-shadow:inset 1px 1px 2px #fff,inset -1px -2px 2px #a5b5b77a,1px 2px 3px #869a9233}
.wish-comment__drop--1{right:30px;top:5px;width:6px;height:9px}
.wish-comment__trail{position:absolute;right:14px;top:24px;width:5px;height:74px;transform-origin:top;opacity:.16;background:linear-gradient(90deg,transparent,#91a9aa66,#fff,transparent);border-radius:50%}
.wish-comment__trail--1{right:32px;top:15px;width:3px;height:65px}
.wish-comment__replay{display:inline-flex;align-items:center;justify-content:center;flex:none;width:30px;height:30px;margin:-3px -5px -3px 0;padding:6px;border:0;border-radius:50%;background:transparent;color:#777f73;cursor:pointer}
.wish-comment__replay:hover{background:#ffffffa6;color:#444d42}
.wish-comment__replay:focus-visible{outline:2px solid #9e7463;outline-offset:2px}
.wish-comment[data-animating="true"] .wish-comment__replay{color:#8c633f;background:#ffffffa6}
@media(prefers-reduced-motion:reduce){.wish-comment__replay{display:none}.wish-comment__glow,.wish-comment__drop{display:none}}
/* Stationery details stay behind readable text and clear of replay controls. */
.wish-comment--book{background-image:linear-gradient(90deg,#c5ad802e,transparent 24px),repeating-linear-gradient(0deg,transparent 0 16px,#9d845508 16px 17px)}
.wish-comment--book .wish-comment__text{border-left:1px solid #cbb99a;padding-left:10px}
.wish-comment--note{box-shadow:0 3px 6px -4px #8e794d40;transform-origin:50% 8px}
.wish-comment--note:before{content:'';position:absolute;top:-5px;left:calc(50% - 24px);width:48px;height:15px;background:#cfc39c66;transform:rotate(-3deg);pointer-events:none}
.wish-comment--note .wish-comment__text{background:repeating-linear-gradient(0deg,transparent 0 calc(1.8em - 1px),#c3b58a30 calc(1.8em - 1px) 1.8em)}
.wish-comment--postcard .wish-comment__text{padding-right:66px}
.wish-comment__postcard{position:absolute;right:9px;bottom:5px;width:68px;height:46px;overflow:visible}
.wish-comment__postcard .wish-card__postmark{transform-box:fill-box;transform-origin:center}
