/* Art, editable text and animation are independent layers. */
.wt-sequence{width:100%;max-width:640px;margin:auto;container-type:inline-size;font-family:"Malgun Gothic","Apple SD Gothic Neo",sans-serif;color:#3d3040;line-height:1.8;word-break:keep-all}
.wt-panel{position:relative;isolation:isolate;overflow:hidden;margin:0 0 18px;border-radius:16px;background:#f5eee4;border:1px solid #e0d4ca}
.wt-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1;pointer-events:none}
.wt-panel-inner{position:relative;padding:30px 24px 0}.wt-panel header{position:relative;margin-bottom:24px}.wt-chapter-no{display:block;font-size:10px;font-weight:700;letter-spacing:.13em;color:#6f5369;margin-bottom:11px}.wt-panel h2{font:600 26px/1.5 "Batang",serif;margin:0;word-break:keep-all;overflow-wrap:anywhere;max-width:95%}
.wt-composition{display:grid;grid-template-columns:46% minmax(0,54%);align-items:start;min-height:340px;gap:0}.wt-character-zone{align-self:end;margin-left:-24px;position:relative;overflow:hidden;min-width:0}.wt-character{display:block;width:100%;height:auto;max-height:430px;object-fit:contain;object-position:bottom;transform-origin:bottom center}.wt-copy-zone{padding:0 0 24px;min-width:0;position:relative;z-index:1}.wt-bubble{position:relative;background:#fffdf8;border:1px solid #dfcec7;border-radius:18px 18px 18px 3px;padding:18px;margin:0;font-size:15px;white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:0 6px 18px #49334708}.wt-prop{display:block;width:110px;height:90px;object-fit:contain;margin:14px auto 0}.wt-analogy{font-size:13px;padding:16px 6px;color:#5d6351;overflow-wrap:anywhere}.wt-limit{font-size:11px;margin:0 -24px;padding:15px 24px;background:#fffcf5e8;overflow-wrap:anywhere}.wt-intro{border-color:#6c5266}.wt-intro .wt-chapter-no,.wt-intro h2{color:#fff5df}.wt-intro .wt-composition{min-height:380px}.wt-intro .wt-bubble{font-size:16px}.wt-intro .wt-prop{width:130px;height:100px}
.wt-phone{position:relative;width:min(200px,100%);aspect-ratio:260/440;margin:22px auto 0}.wt-phone>img{position:absolute;width:100%;height:100%;inset:0}.wt-phone-content{position:absolute;inset:11% 12% 10%;display:flex;flex-direction:column;gap:10px;font-size:11px;overflow-wrap:anywhere}.wt-phone-content>span{text-align:center;font-size:9px;color:#7d7078}.wt-message{background:#e6cbd8;border-radius:11px 11px 2px 11px;padding:12px;font-size:13px;line-height:1.7}.wt-dots{font-size:25px;background:#fff;border-radius:8px;width:40px;text-align:center;color:#8a7887}.wt-phone-content>small{font-size:8px;color:#857780;margin-top:auto;text-align:center}.wt-chat .wt-character{max-height:480px}.wt-chat .wt-composition{grid-template-columns:38% minmax(0,62%)}
.wt-perspectives{display:grid;gap:12px;margin-top:16px}.wt-perspectives>div{background:#fffaf2d9;border:1px solid #dcd4c3;border-radius:10px;padding:14px}.wt-perspectives>div:last-child{background:#eee5ef}.wt-perspectives span{font-size:10px;font-weight:700;color:#816077}.wt-perspectives p{font-size:14px;line-height:1.7;margin:6px 0 0;overflow-wrap:anywhere}.wt-action .wt-bubble{border:2px solid #9e7a8f;font-size:17px}.wt-action .wt-character{max-height:350px}.wt-action .wt-composition{min-height:330px}
.wt-motion-enter{animation:wt-enter .42s ease-out both}.wt-motion-breathe{animation:wt-breathe 4.2s ease-in-out infinite}@keyframes wt-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes wt-breathe{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@container(max-width:430px){.wt-panel-inner{padding:24px 16px 0}.wt-panel h2{font-size:22px}.wt-panel header{margin-bottom:18px}.wt-chapter-no{font-size:9px}.wt-composition{grid-template-columns:40% minmax(0,60%);min-height:300px}.wt-character-zone{margin-left:-16px}.wt-character{max-height:350px}.wt-bubble{font-size:14px;padding:14px}.wt-intro .wt-bubble{font-size:15px}.wt-intro .wt-composition{min-height:300px}.wt-chat .wt-composition{grid-template-columns:32% minmax(0,68%)}.wt-chat .wt-character{max-height:390px}.wt-perspectives>div{padding:11px}.wt-perspectives p{font-size:13px}.wt-analogy{font-size:12px}.wt-action .wt-bubble{font-size:15px}.wt-limit{margin:0 -16px;padding:14px 16px}.wt-phone{max-width:190px}}
@media(prefers-reduced-motion:reduce){.wt-motion-enter,.wt-motion-breathe{animation:none!important;transform:none!important}}
@media print{.wt-panel{break-inside:avoid}.wt-motion-enter,.wt-motion-breathe{animation:none!important}}
.wt-intro header{background:#49334de8;border-radius:10px;padding:14px}.wt-phone{aspect-ratio:auto;min-height:285px;padding:34px 22px 26px}.wt-phone-content{position:relative;inset:auto;min-height:225px}.wt-phone>img{object-fit:fill}
.wt-bubble{border-radius:10px;box-shadow:none}.wt-panel header h2{max-width:100%}.wt-character{filter:drop-shadow(0 3px 4px #3b213510)}
