.royal-scroll-scope{--bg-stage:#12100e;--parchment-light:#efe0c1;--parchment-mid:#dec495;--parchment-dark:#b8945c;--parchment-edge:#6e4e26;--ink-color:#2b180a;--seal-red:#8c1919;--seal-highlight:#b82929;--seal-shadow:#4a0808;--gold-accent:#d4af37;--unroll-duration:1.45s;--unroll-easing:cubic-bezier(.22, 1, .36, 1);-webkit-user-select:none;user-select:none;background:radial-gradient(circle at 50% 48%,#221d18 0%,#0d0b09 100%);flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:100dvh;padding:1.5rem;font-family:Inter,sans-serif;display:flex;overflow-x:hidden}.royal-scroll-scope *,.royal-scroll-scope :before,.royal-scroll-scope :after{box-sizing:border-box}.royal-scroll-scope .scroll-widget{flex-direction:column;justify-content:center;align-items:center;width:100%;max-width:920px;display:flex;position:relative}.royal-scroll-scope .scroll-stage{perspective:1200px;cursor:pointer;outline:none;justify-content:center;align-items:center;width:100%;min-height:400px;display:flex;position:relative}.royal-scroll-scope .scroll-stage.is-open{cursor:default}.royal-scroll-scope .parchment-assembly{filter:drop-shadow(0 28px 36px #000000b8);justify-content:center;align-items:center;width:100%;transition:transform .4s;display:flex;position:relative}.royal-scroll-scope .scroll-stage:not(.is-open):hover .parchment-assembly{transform:scale(1.018)}.royal-scroll-scope .parchment-sheet{width:0;height:360px;transition:width var(--unroll-duration) var(--unroll-easing);background-color:var(--parchment-mid);background-image:linear-gradient(90deg, #2b1909a6 0%, #2b19091f 6%, #fff8e72e 25%, #fff8e740 50%, #fff8e72e 75%, #2b19091f 94%, #2b1909a6 100%), linear-gradient(180deg, #4a30148c 0%, #b8945c0d 8%, #b8945c0d 92%, #4a30148c 100%), radial-gradient(ellipse at 20% 25%, #8b623038 0%, transparent 50%), radial-gradient(ellipse at 82% 75%, #78522640 0%, transparent 55%), radial-gradient(ellipse at 50% 50%, var(--parchment-light) 0%, var(--parchment-mid) 68%, var(--parchment-dark) 100%);z-index:2;border-top:2px solid #7d592d;border-bottom:2px solid #7d592d;position:relative;overflow:hidden;box-shadow:inset 0 2px 6px #3a230c80,inset 0 -2px 6px #3a230c80}.royal-scroll-scope .parchment-sheet:before{content:"";opacity:.32;pointer-events:none;mix-blend-mode:multiply;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='paperNoise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23paperNoise)' opacity='0.65'/%3E%3C/svg%3E");position:absolute;inset:0}.royal-scroll-scope .parchment-sheet:after{content:"";pointer-events:none;background:repeating-linear-gradient(#0000 0 88px,#5c3e1a14 89px,#fff5e026 90px);position:absolute;inset:0}.royal-scroll-scope .scroll-stage.is-open .parchment-sheet{width:min(760px,82vw)}.royal-scroll-scope .poem-container{text-align:center;opacity:0;z-index:3;width:min(720px,78vw);margin:0;padding:1.75rem 2.25rem;transition:opacity .65s .55s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.royal-scroll-scope .scroll-stage.is-open .poem-container{opacity:1}.royal-scroll-scope .scroll-stage:not(.is-open) .poem-container{transition:opacity .25s}.royal-scroll-scope .poem-ornament{color:#6e471e;letter-spacing:.35em;opacity:.75;margin-bottom:.65rem;font-family:Cinzel,serif;font-size:1.1rem}.royal-scroll-scope .poem-text{color:var(--ink-color);text-shadow:0 1px #fff8e873;letter-spacing:.01em;margin:0;font-family:Pinyon Script,Great Vibes,cursive;font-size:clamp(1.42rem,2.35vw,1.92rem);font-weight:400;line-height:1.52}.royal-scroll-scope .poem-line{margin-bottom:.18rem;display:block}.royal-scroll-scope .poem-ornament-bottom{margin-top:.75rem;margin-bottom:0}.royal-scroll-scope .scroll-roll{z-index:5;width:44px;height:382px;transition:transform var(--unroll-duration) var(--unroll-easing), width var(--unroll-duration) var(--unroll-easing);background:linear-gradient(90deg,#5c3e1b 0%,#a8824c 14%,#e8d4ad 34%,#f5e8cc 46%,#cfb07c 68%,#856030 88%,#3d270e 100%);border-radius:8px;flex-shrink:0;position:relative;box-shadow:0 10px 25px #000000a6,inset 0 2px 4px #fff8e173,inset 0 -3px 6px #261607bf}.royal-scroll-scope .scroll-roll:before{content:"";border-radius:inherit;opacity:.28;mix-blend-mode:multiply;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='rollGrain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23rollGrain)'/%3E%3C/svg%3E");position:absolute;inset:0}.royal-scroll-scope .roll-cap-top,.royal-scroll-scope .roll-cap-bottom{z-index:4;background:radial-gradient(circle,#3b240c 15%,#b8935a 32%,#4a2e11 48%,#d6b885 65%,#5c3b18 85%);border-radius:50%;width:38px;height:14px;position:absolute;left:50%;transform:translate(-50%);box-shadow:inset 0 1px 3px #000c}.royal-scroll-scope .roll-cap-top{top:-5px}.royal-scroll-scope .roll-cap-bottom{bottom:-5px}.royal-scroll-scope .wooden-finial-top,.royal-scroll-scope .wooden-finial-bottom{z-index:3;background:linear-gradient(90deg,#1f1107 0%,#5c3519 35%,#824e28 50%,#381e0c 85%,#140a04 100%);width:18px;height:24px;position:absolute;left:50%;transform:translate(-50%);box-shadow:0 4px 8px #0009}.royal-scroll-scope .wooden-finial-top{border-bottom:3px solid #b58d3d;border-radius:6px 6px 2px 2px;top:-24px}.royal-scroll-scope .wooden-finial-bottom{border-top:3px solid #b58d3d;border-radius:2px 2px 6px 6px;bottom:-24px}.royal-scroll-scope .scroll-stage.is-open .scroll-roll{width:34px}.royal-scroll-scope .scroll-roll-left{margin-right:-4px}.royal-scroll-scope .scroll-roll-right{margin-left:-4px}.royal-scroll-scope .wax-seal-wrapper{z-index:10;pointer-events:none;justify-content:center;align-items:center;width:88px;height:88px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.royal-scroll-scope .royal-ribbon{z-index:6;background:linear-gradient(#5e0d0d 0%,#991b1b 45%,#4a0707 100%);border-radius:3px;width:92px;height:16px;transition:opacity .35s,transform .45s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 4px 10px #000000a6}.royal-scroll-scope .scroll-stage.is-open .royal-ribbon{opacity:0;transform:translate(-50%,-50%)scaleX(1.35)}.royal-scroll-scope .wax-seal-half{filter:drop-shadow(0 8px 14px #000000bf);transition:transform .65s cubic-bezier(.34,1.56,.64,1),opacity .5s .15s;position:absolute;inset:0}.royal-scroll-scope .wax-seal-left{clip-path:polygon(0% 0%,52% 0%,47% 22%,54% 41%,46% 62%,53% 81%,48% 100%,0% 100%)}.royal-scroll-scope .wax-seal-right{clip-path:polygon(52% 0%,100% 0%,100% 100%,48% 100%,53% 81%,46% 62%,54% 41%,47% 22%)}.royal-scroll-scope .scroll-stage.is-open .wax-seal-left{opacity:0;transform:translate(-36px,12px)rotate(-22deg)scale(.85)}.royal-scroll-scope .scroll-stage.is-open .wax-seal-right{opacity:0;transform:translate(36px,14px)rotate(24deg)scale(.85)}.royal-scroll-scope .controls-area{z-index:20;flex-wrap:wrap;justify-content:center;align-items:center;gap:.9rem;min-height:52px;margin-top:2.4rem;display:flex;position:relative}.royal-scroll-scope .btn-royal{letter-spacing:.18em;text-transform:uppercase;color:#f7e7c4;cursor:pointer;background:linear-gradient(#8c1d1d 0%,#5c0f0f 100%);border:1px solid #d4af378c;border-radius:999px;align-items:center;gap:.6rem;padding:.85rem 2.4rem;font-family:Cinzel,serif;font-size:.95rem;font-weight:700;transition:all .3s cubic-bezier(.22,1,.36,1);display:inline-flex;box-shadow:0 10px 24px #0000008c,inset 0 1px 1px #ffe1b459}.royal-scroll-scope .btn-royal:hover{background:linear-gradient(#a62424 0%,#6e1212 100%);border-color:#d4af37e6;transform:translateY(-2px);box-shadow:0 14px 28px #000000a6,0 0 18px #b8292966,inset 0 1px 1px #ffebc880}.royal-scroll-scope .btn-royal:active{transform:translateY(0)scale(.98)}.royal-scroll-scope .btn-rollup{letter-spacing:.16em;text-transform:uppercase;color:#efe0c1bf;cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#ffffff0a;border:1px solid #d4af3747;border-radius:999px;align-items:center;gap:.5rem;padding:.65rem 1.65rem;font-family:Cinzel,serif;font-size:.8rem;font-weight:600;transition:all .3s;display:inline-flex}.royal-scroll-scope .btn-rollup:hover{color:#fff6e3;background:#d4af3724;border-color:#d4af37a6;transform:translateY(-1px)}.royal-scroll-scope .btn-continue-scroll{letter-spacing:.18em;text-transform:uppercase;color:#efe0c1a6;cursor:pointer;background:0 0;border:1px solid #efe0c138;border-radius:999px;align-items:center;gap:.45rem;padding:.62rem 1.5rem;font-family:Cinzel,serif;font-size:.78rem;font-weight:600;transition:all .3s;display:inline-flex}.royal-scroll-scope .btn-continue-scroll:hover{color:#fff6e3;background:#d4af371a;border-color:#d4af37b3}.royal-scroll-scope .royal-hidden{display:none!important}@media (max-width:768px){.royal-scroll-scope .parchment-sheet{height:390px}.royal-scroll-scope .scroll-roll{width:34px;height:410px}.royal-scroll-scope .scroll-stage.is-open .scroll-roll{width:24px}.royal-scroll-scope .roll-cap-top,.royal-scroll-scope .roll-cap-bottom{width:28px}.royal-scroll-scope .poem-container{width:82vw;padding:1.25rem 1.15rem}.royal-scroll-scope .poem-text{font-size:clamp(1.28rem,4.4vw,1.6rem);line-height:1.48}}@media (max-width:480px){.royal-scroll-scope{padding:.75rem}.royal-scroll-scope .parchment-sheet{height:420px}.royal-scroll-scope .scroll-roll{width:28px;height:438px}.royal-scroll-scope .scroll-stage.is-open .scroll-roll{width:18px}.royal-scroll-scope .scroll-stage.is-open .parchment-sheet{width:86vw}.royal-scroll-scope .poem-container{width:85vw;padding:1rem .85rem}.royal-scroll-scope .poem-text{font-size:1.24rem;line-height:1.44}}
