.story-els{container-type:inline-size;inset:0;overflow:hidden;pointer-events:none;position:absolute;z-index:5}.story-els--edit{pointer-events:auto}.story-el{left:calc(var(--x, 50)*1%);position:absolute;top:calc(var(--y, 50)*1%);transform:translate(-50%,-50%) rotate(calc(var(--rot, 0)*1deg));-moz-user-select:none;user-select:none;-webkit-user-select:none}.story-els--edit .story-el{cursor:grab;pointer-events:auto;touch-action:none}.story-els--edit .story-el:active{cursor:grabbing}.story-els:not(.story-els--edit) .story-el{animation:storyElFadeIn .32s var(--ease-out) both}@keyframes storyElFadeIn{0%{opacity:0}}.story-el--selected{border-radius:2px;outline:1.5px dashed color-mix(in srgb,var(--gold) 75%,transparent);outline-offset:6px}.story-el-handle{align-items:center;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:color-mix(in srgb,var(--ink) 55%,transparent);border:1px solid color-mix(in srgb,var(--bg-primary) 35%,transparent);border-radius:50%;box-shadow:0 2px 8px color-mix(in srgb,var(--ink) 35%,transparent);color:var(--bg-primary);display:flex;height:30px;justify-content:center;position:absolute;touch-action:none;transition:background .2s var(--ease);width:30px;z-index:2}.story-el-handle svg{height:14px;pointer-events:none;width:14px}.story-el-handle:before{border-radius:50%;content:"";inset:-7px;position:absolute}@media(hover:hover){.story-el-handle:hover{background:color-mix(in srgb,var(--ink) 75%,transparent)}}.story-el-handle--delete{left:0;top:0;transform:translate(-55%,-55%);z-index:3}.story-el-handle--resize{cursor:nesw-resize;right:0;top:0;transform:translate(55%,-55%)}.story-el-handle--rotate{bottom:0;cursor:grab;right:0;transform:translate(55%,55%)}.story-el-handle--rotate:active{cursor:grabbing}.story-el--text{line-height:1.25;max-width:86cqw;text-align:center;white-space:pre-wrap;width:-moz-max-content;width:max-content;word-break:break-word}.story-el--align-left{text-align:left}.story-el--align-right{text-align:right}.story-el--f-cursive{font-family:var(--font-cursive,"Caveat",cursive);font-weight:600}.story-el--f-serif{font-family:var(--font-serif,"Cormorant Garamond",serif);font-weight:500}.story-el--f-sans{font-family:var(--font-sans,system-ui,sans-serif);font-weight:500}.story-el--f-cursive.story-el--s{font-size:calc(6cqw*var(--scale, 1))}.story-el--f-cursive.story-el--m{font-size:calc(8.2cqw*var(--scale, 1))}.story-el--f-cursive.story-el--l{font-size:calc(11cqw*var(--scale, 1))}.story-el--f-serif.story-el--s{font-size:calc(5cqw*var(--scale, 1))}.story-el--f-serif.story-el--m{font-size:calc(6.8cqw*var(--scale, 1))}.story-el--f-serif.story-el--l{font-size:calc(9cqw*var(--scale, 1))}.story-el--f-sans.story-el--s{font-size:calc(4.2cqw*var(--scale, 1))}.story-el--f-sans.story-el--m{font-size:calc(5.6cqw*var(--scale, 1))}.story-el--f-sans.story-el--l{font-size:calc(7.4cqw*var(--scale, 1))}.story-el--c-paper{color:var(--bg-primary);text-shadow:0 1px 14px color-mix(in srgb,var(--ink) 60%,transparent),0 1px 3px color-mix(in srgb,var(--ink) 35%,transparent)}.story-el--c-ink{color:var(--ink);text-shadow:0 1px 12px color-mix(in srgb,var(--bg-primary) 70%,transparent)}.story-el--c-accent{color:var(--accent-soft)}.story-el--c-accent,.story-el--c-gold{text-shadow:0 1px 12px color-mix(in srgb,var(--ink) 50%,transparent)}.story-el--c-gold{color:var(--gold-light)}.story-el--bg-scrim{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:color-mix(in srgb,var(--ink) 55%,transparent);border-radius:10px;padding:.35em .7em;text-shadow:none}.story-el--bg-paper{background:var(--bg-card);border-radius:6px;box-shadow:0 2px 10px color-mix(in srgb,var(--ink) 30%,transparent);padding:.35em .75em;text-shadow:none}.story-el--bg-paper.story-el--c-paper{color:var(--ink);text-shadow:none}.story-filter--silver .story-media{filter:grayscale(.22) contrast(1.06) brightness(1.03) saturate(.9)}.story-filter--sepia .story-media{filter:sepia(.42) contrast(.97) brightness(1.05)}.story-filter--noir .story-media{filter:grayscale(1) contrast(1.1) brightness(1.02)}.story-filter--silver:after,.story-filter--vignette:after{content:"";inset:0;pointer-events:none;position:absolute;z-index:2}.story-filter--vignette:after{background:radial-gradient(ellipse at center,transparent 52%,color-mix(in srgb,var(--ink) 52%,transparent) 128%)}.story-filter--silver:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='a'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2' stitchTiles='stitch' type='fractalNoise'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");mix-blend-mode:overlay;opacity:.13}.studio{background:radial-gradient(120% 70% at 50% 0,color-mix(in srgb,var(--accent-deep) 12%,transparent),transparent 65%),color-mix(in srgb,var(--ink) 96%,var(--accent-deep));display:flex;flex-direction:column;inset:0;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);position:fixed}.studio__top{justify-content:space-between;padding:.75rem 1rem}.studio__nav,.studio__top{align-items:center;display:flex}.studio__nav{gap:.35rem}.studio__nav-btn{align-items:center;background:color-mix(in srgb,var(--bg-primary) 8%,transparent);border-radius:50%;color:color-mix(in srgb,var(--bg-primary) 85%,transparent);display:flex;height:38px;justify-content:center;position:relative;transition:background .2s var(--ease),transform .2s var(--ease);width:38px}.studio__nav-btn svg{height:18px;width:18px}.studio__nav-btn:before{border-radius:50%;content:"";inset:-3px;position:absolute}.studio__nav-btn:disabled{opacity:.3;pointer-events:none}@media(hover:hover){.studio__nav-btn:hover{background:color-mix(in srgb,var(--bg-primary) 16%,transparent)}}.studio__nav-btn:active{transform:scale(.94)}.studio__counter{color:color-mix(in srgb,var(--bg-primary) 70%,transparent);font-family:var(--font-cursive);font-size:1.05rem;min-width:3.2rem;text-align:center}.studio__done{background:var(--bg-primary);border-radius:999px;box-shadow:0 2px 10px color-mix(in srgb,var(--ink) 40%,transparent);color:var(--ink);font-size:.9rem;padding:.45rem 1.1rem;position:relative;transition:transform .2s var(--ease),box-shadow .2s var(--ease)}@media(hover:hover){.studio__done:hover{box-shadow:0 4px 14px color-mix(in srgb,var(--ink) 50%,transparent);transform:translateY(-1px)}}.studio__done:active{transform:scale(.96)}.studio__done:before{content:"";height:44px;left:0;position:absolute;right:0;top:50%;transform:translateY(-50%)}.studio__canvas-wrap{display:grid;flex:1;min-height:0;padding:.25rem 1rem;place-items:center}.studio__canvas{aspect-ratio:9/16;background:color-mix(in srgb,var(--ink) 92%,var(--accent-deep));border-radius:var(--radius-card);box-shadow:0 12px 40px color-mix(in srgb,var(--ink) 55%,transparent);height:min(100%,calc(177.77778vw - 3.55556rem));overflow:hidden;position:relative}.studio__media{display:block;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.studio__cap{align-self:center;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:color-mix(in srgb,var(--ink) 55%,transparent);border-radius:999px;color:var(--bg-primary);font-size:.85rem;margin:.5rem 0 .25rem;padding:.4rem 1rem}.studio__tools{gap:1.75rem;padding:.6rem 1rem .9rem}.studio__tool,.studio__tools{display:flex;justify-content:center}.studio__tool{align-items:center;color:color-mix(in srgb,var(--bg-primary) 80%,transparent);flex-direction:column;font-size:.72rem;gap:.3rem;letter-spacing:.02em;min-height:44px;min-width:44px;transition:color .2s var(--ease),transform .2s var(--ease)}.studio__tool svg{height:22px;width:22px}@media(hover:hover){.studio__tool:hover{color:var(--bg-primary);transform:translateY(-1px)}}.studio__tool:active{transform:scale(.95)}.studio-sheet{z-index:10}.studio-sheet,.studio-sheet__backdrop{inset:0;position:absolute}.studio-sheet__panel{background:var(--bg-primary);border-radius:18px 18px 0 0;bottom:0;box-shadow:0 -8px 32px color-mix(in srgb,var(--ink) 45%,transparent);left:0;max-height:62%;overflow-y:auto;padding:.9rem calc(1.25rem + env(safe-area-inset-right)) calc(1.1rem + env(safe-area-inset-bottom)) calc(1.25rem + env(safe-area-inset-left));position:absolute;right:0}.studio-sheet__head{align-items:center;display:flex;justify-content:space-between;margin-bottom:.75rem}.studio-sheet__title{color:var(--ink);font-family:var(--font-serif);font-size:1.05rem}.studio-sheet__close{align-items:center;border-radius:50%;color:var(--ink-soft);display:flex;height:32px;justify-content:center;position:relative;transition:background .2s var(--ease),color .2s var(--ease);width:32px}.studio-sheet__close svg{height:14px;width:14px}.studio-sheet__close:before{border-radius:50%;content:"";inset:-6px;position:absolute}@media(hover:hover){.studio-sheet__close:hover{background:var(--bg-secondary);color:var(--ink)}}.studio-sheet-enter-active{transition:opacity .24s var(--ease-out)}.studio-sheet-enter-active .studio-sheet__panel{transition:transform .28s var(--ease-out)}.studio-sheet-leave-active{transition:opacity .18s var(--ease)}.studio-sheet-leave-active .studio-sheet__panel{transition:transform .2s var(--ease)}.studio-sheet-enter-from,.studio-sheet-leave-to{opacity:0}.studio-sheet-enter-from .studio-sheet__panel,.studio-sheet-leave-to .studio-sheet__panel{transform:translateY(100%)}.studio-filter-row{display:flex;gap:.6rem;overflow-x:auto;padding:.25rem .1rem}.studio-filter-chip{align-items:center;display:flex;flex-direction:column;flex-shrink:0;gap:.3rem}.studio-filter-chip__preview{aspect-ratio:9/16;border:2px solid var(--border-subtle);border-radius:8px;display:block;overflow:hidden;position:relative;transition:border-color .2s var(--ease);width:54px}.studio-filter-chip--active .studio-filter-chip__preview{border-color:var(--accent)}.studio-filter-chip__label{color:var(--ink-soft);font-size:.72rem}.studio-filter-chip--active .studio-filter-chip__label{color:var(--accent-deep)}.studio-duration{align-items:center;display:flex;gap:.5rem}.studio-duration__slider{flex:1}.studio-duration__value{color:var(--ink);font-variant-numeric:tabular-nums;text-align:center;width:3rem}.studio-text-field{min-height:3.4rem;resize:none}.studio-seg{display:flex;gap:.5rem}.studio-seg__btn{align-items:center;background:var(--bg-secondary);border:1px solid var(--border-subtle);border-radius:.6rem;color:var(--ink-soft);cursor:pointer;display:flex;flex:1;flex-direction:column;font-size:.78rem;gap:.15rem;padding:.5rem .4rem;transition:border-color .2s var(--ease),color .2s var(--ease),background .2s var(--ease)}.studio-seg__btn--compact{font-size:.85rem;padding:.55rem .4rem}.studio-seg__glyph{color:var(--ink);font-size:1.25rem;line-height:1}@media(hover:hover){.studio-seg__btn:hover{border-color:color-mix(in srgb,var(--accent) 35%,var(--border-subtle));color:var(--ink)}}.studio-seg__btn--active{background:color-mix(in srgb,var(--accent) 8%,var(--bg-secondary));border-color:var(--accent);color:var(--accent-deep)}.studio-swatches{display:flex;gap:14px}.studio-swatch{border:1px solid var(--border-subtle);border-radius:50%;cursor:pointer;height:30px;position:relative;transition:transform .2s var(--ease),box-shadow .2s var(--ease);width:30px}.studio-swatch:active{transform:scale(.92)}.studio-swatch:before{border-radius:50%;content:"";inset:-7px;position:absolute}.studio-swatch--paper{background:var(--bg-primary)}.studio-swatch--ink{background:var(--ink)}.studio-swatch--accent{background:var(--accent)}.studio-swatch--gold{background:var(--gold)}.studio-swatch--active{box-shadow:0 0 0 2px var(--bg-primary),0 0 0 4px var(--accent)}.story-el--sticker{filter:drop-shadow(0 2px 5px color-mix(in srgb,var(--ink) 35%,transparent))}.story-el--sticker.story-el--s{width:calc(15cqw*var(--scale, 1))}.story-el--sticker.story-el--m{width:calc(24cqw*var(--scale, 1))}.story-el--sticker.story-el--l{width:calc(34cqw*var(--scale, 1))}.story-el__img{display:block;height:auto;pointer-events:none;width:100%}.studio-sticker-cats{display:flex;gap:.45rem;overflow-x:auto;padding:7px 0 .6rem}.studio-sticker-cat{background:var(--bg-secondary);border:1px solid var(--border-subtle);border-radius:999px;color:var(--ink-soft);flex-shrink:0;font-size:.8rem;padding:.35rem .85rem;position:relative;transition:background .2s var(--ease),color .2s var(--ease),border-color .2s var(--ease)}@media(hover:hover){.studio-sticker-cat:hover{border-color:color-mix(in srgb,var(--accent) 35%,var(--border-subtle));color:var(--ink)}}.studio-sticker-cat:before{content:"";height:44px;left:0;position:absolute;right:0;top:50%;transform:translateY(-50%)}.studio-sticker-cat--active{background:var(--accent);border-color:var(--accent);color:var(--bg-card)}.studio-sticker-grid{display:grid;gap:.6rem;grid-template-columns:repeat(4,1fr)}.studio-sticker-btn{align-items:center;aspect-ratio:1;background:var(--bg-secondary);border:1px solid var(--border-subtle);border-radius:.7rem;display:flex;justify-content:center;padding:.6rem;transition:border-color .2s var(--ease),transform .2s var(--ease)}.studio-sticker-btn img{height:100%;-o-object-fit:contain;object-fit:contain;pointer-events:none;width:100%}@media(hover:hover){.studio-sticker-btn:hover{border-color:color-mix(in srgb,var(--accent) 45%,var(--border-subtle));transform:translateY(-1px)}}.studio-sticker-btn:active{transform:scale(.94)}
