.theme-detail-scroll-lock{position:fixed;width:100%;overflow:hidden}
.theme-premium-dialog{width:min(1380px,calc(100vw - 24px));max-width:none;height:min(940px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);margin:auto;padding:0;overflow:hidden;color:#35271f;background:#fffaf3;border:1px solid rgba(86,58,39,.18);border-radius:26px;box-shadow:0 32px 100px rgba(24,13,8,.42)}
.theme-premium-dialog::backdrop{background:rgba(24,16,18,.74);backdrop-filter:blur(7px)}
.theme-premium-close{position:absolute;z-index:30;top:14px;right:14px;display:grid;width:46px;height:46px;place-items:center;padding:0;color:#3b2921;background:rgba(255,250,243,.94);border:1px solid rgba(82,54,35,.16);border-radius:50%;box-shadow:0 10px 24px rgba(55,32,19,.13);font:400 1.5rem/1 inherit;cursor:pointer}
.theme-premium-stage{height:100%;min-width:0;min-height:0;overflow:hidden}
.theme-premium-dialog .theme-detail-layout{display:grid;grid-template-columns:clamp(400px,34vw,460px) minmax(0,1fr);height:100%;min-height:0;background:#f3eadf}
.theme-premium-dialog .theme-detail-phone-column{display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;gap:8px;padding:10px 18px 12px;overflow:hidden;background:radial-gradient(circle at 50% 18%,rgba(194,149,81,.24),transparent 18rem),linear-gradient(160deg,#f3eadc,#e7d9c6);border-right:1px solid rgba(83,57,39,.13)}
.theme-premium-dialog .theme-detail-phone-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 9px}
.theme-premium-dialog .theme-detail-phone-label{display:grid;gap:2px;color:#442f22}
.theme-premium-dialog .theme-detail-phone-label span{font-family:Georgia,"Times New Roman",serif;font-size:1rem}
.theme-premium-dialog .theme-detail-phone-label small{max-width:190px;color:#6d5749;font-size:.65rem;line-height:1.35}
.theme-premium-dialog .theme-detail-orientation{display:flex;flex:0 0 auto;gap:4px;padding:4px;background:rgba(255,250,243,.7);border:1px solid rgba(92,64,44,.12);border-radius:999px}
.theme-premium-dialog .theme-detail-orientation button{min-height:44px;padding:8px 13px;color:#735947;background:transparent;border:0;border-radius:999px;font:750 .68rem/1 inherit;cursor:pointer}
.theme-premium-dialog .theme-detail-orientation button[aria-pressed="true"]{color:#fff;background:#65402e}
.theme-premium-dialog .theme-detail-phone{width:auto;height:100%;max-width:100%;max-height:820px;min-height:0;margin-inline:auto;border-color:rgba(255,255,255,.42);box-shadow:0 30px 68px rgba(45,27,19,.38),0 0 0 1px rgba(52,31,22,.12)}
.theme-premium-dialog .theme-detail-phone-tools{display:flex;grid-column:1/-1;justify-content:flex-end;gap:5px}
.theme-premium-dialog .theme-effect-replay,.theme-premium-dialog .theme-effect-fullscreen{flex:0 0 auto;min-height:44px;padding:9px 13px;color:#523827;background:rgba(255,250,243,.84);border:1px solid rgba(91,65,45,.24);border-radius:999px;font:750 .66rem/1 inherit;cursor:pointer}
.theme-premium-dialog .theme-effect-fullscreen{color:#fff;background:#65402e}
.theme-premium-dialog .theme-detail-phone:fullscreen{width:auto;height:100dvh;max-width:100vw;max-height:100dvh;margin:auto;border-radius:0;box-shadow:none}
.theme-premium-dialog .theme-detail-panel{min-width:0;min-height:0;padding:clamp(34px,4vw,62px);padding-top:clamp(46px,5vw,72px);overflow-y:auto;overscroll-behavior:contain;color:#35271f;background:#fffaf3;scrollbar-color:#bd965e transparent;scrollbar-width:thin}
.theme-premium-dialog .theme-detail-heading{padding:0 58px 28px 0;border-bottom:1px solid rgba(90,63,43,.14)}
.theme-premium-dialog .theme-detail-badges{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:22px}
.theme-premium-dialog .theme-detail-badges span{padding:6px 10px;color:#704c2c;background:#f2e5d3;border:1px solid rgba(144,96,48,.2);border-radius:999px;font-size:.62rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.theme-premium-dialog .theme-detail-kicker{margin:0 0 9px;color:#a66c25;font-size:.62rem;font-weight:850;letter-spacing:.22em;text-transform:uppercase}
.theme-premium-dialog .theme-detail-heading h2,.theme-premium-dialog .theme-detail-mobile-heading h2{margin:0;color:#2f2018;font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.55rem,4.1vw,4.75rem);font-weight:400;line-height:.98;letter-spacing:-.025em}
.theme-premium-dialog .theme-detail-lead,.theme-premium-dialog .theme-detail-mobile-heading>p:last-child{max-width:680px;margin:18px 0 0;color:#5f4b3d;font-size:.96rem;line-height:1.75}
.theme-premium-dialog .theme-detail-cta-row{position:sticky;z-index:6;top:-1px;display:flex;justify-content:flex-end;gap:9px;margin:0 -10px 0;padding:15px 10px;background:linear-gradient(180deg,#fffaf3 78%,rgba(255,250,243,0));}
.theme-premium-dialog .theme-detail-cta-row a,.theme-premium-dialog .theme-detail-cta-row>span{display:inline-flex;min-height:46px;align-items:center;justify-content:center;padding:10px 18px;border:1px solid #68402e;border-radius:999px;font-size:.78rem;font-weight:800;text-align:center;text-decoration:none}
.theme-premium-dialog .theme-detail-secondary{color:#68402e;background:#fffaf3}
.theme-premium-dialog .theme-detail-primary{color:#fff;background:#68402e}
.theme-premium-dialog .theme-detail-cta-row .is-disabled{color:#786b62;background:#eee8e2;border-color:#d7cdc5;cursor:not-allowed}
.theme-premium-dialog .theme-story-card{position:relative;margin:16px 0 30px;padding:25px 28px 25px 47px;color:#503c2d;background:#f4eadc;border:1px solid rgba(139,96,54,.11);border-radius:20px;box-shadow:0 17px 42px rgba(80,53,33,.06)}
.theme-premium-dialog .theme-story-card>span{position:absolute;top:24px;left:22px;color:#b77b31}
.theme-premium-dialog .theme-story-card p{margin:0 0 11px;color:#604d3e;font-size:.88rem;line-height:1.72}
.theme-premium-dialog .theme-story-card p:last-child{margin-bottom:0}
.theme-premium-dialog .theme-story-card .story-emphasis{color:#4b301a;font-weight:800}
.theme-premium-dialog .theme-detail-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin-bottom:34px;padding:1px;overflow:hidden;background:rgba(90,63,43,.13);border-radius:18px}
.theme-premium-dialog .theme-detail-facts>div{display:grid;min-width:0;min-height:108px;align-content:start;gap:5px;padding:17px;background:#fffaf3}
.theme-premium-dialog .theme-detail-facts small{color:#846a57;font-size:.58rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.theme-premium-dialog .theme-detail-facts strong{overflow-wrap:anywhere;color:#38251b;font-family:Georgia,"Times New Roman",serif;font-size:.96rem;font-weight:500}
.theme-premium-dialog .theme-detail-facts span{color:#69574a;font-size:.67rem;line-height:1.48}
.theme-premium-dialog .theme-palette,.theme-premium-dialog .theme-features,.theme-premium-dialog .theme-compatible,.theme-premium-dialog .theme-related{padding:32px 0;border-top:1px solid rgba(90,63,43,.13)}
.theme-premium-dialog .theme-palette h3,.theme-premium-dialog .theme-features h3,.theme-premium-dialog .theme-related h3{margin:0;color:#342219;font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.65rem,2.5vw,2.35rem);font-weight:400;line-height:1.14}
.theme-premium-dialog .theme-palette{display:grid;grid-template-columns:minmax(160px,.65fr) minmax(0,1.35fr);gap:24px;align-items:end}
.theme-premium-dialog .theme-palette-swatches{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}
.theme-premium-dialog .theme-palette-swatches>span{display:grid;min-width:0;gap:4px}
.theme-premium-dialog .theme-palette-swatches i{height:60px;background:var(--swatch);border:1px solid rgba(45,30,20,.16);border-radius:13px}
.theme-premium-dialog .theme-palette-swatches small{color:#5f4b3d;font-size:.62rem;font-weight:800}
.theme-premium-dialog .theme-palette-swatches code{overflow:hidden;color:#776557;font:600 .56rem/1.2 ui-monospace,monospace;text-overflow:ellipsis}
.theme-premium-dialog .theme-features>h3{max-width:540px;margin-bottom:22px}
.theme-premium-dialog .theme-feature-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:30px}
.theme-premium-dialog .theme-feature-list article{display:grid;grid-template-columns:36px 1fr;gap:13px;min-height:112px;padding:20px 0;border-top:1px solid rgba(90,63,43,.13);transition:transform .2s ease,color .2s ease}
.theme-premium-dialog .theme-feature-list article:hover{transform:translateY(-2px)}
.theme-premium-dialog .theme-feature-list article>span{display:grid;width:32px;height:32px;place-items:center;color:#6f4c31;font-size:1.25rem}
.theme-premium-dialog .theme-feature-list h4{margin:0 0 7px;color:#422c20;font-family:Georgia,"Times New Roman",serif;font-size:1.03rem;font-weight:500}
.theme-premium-dialog .theme-feature-list p{margin:0;color:#6c594b;font-size:.73rem;line-height:1.58}
.theme-premium-dialog .theme-compatible>div{display:flex;flex-wrap:wrap;gap:7px}
.theme-premium-dialog .theme-compatible span{padding:7px 10px;color:#614127;background:#f2e6d6;border-radius:999px;font-size:.66rem;font-weight:750}
.theme-premium-dialog .theme-related>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}
.theme-premium-dialog .theme-related button{min-width:0;padding:0;overflow:hidden;color:#412d23;background:#fff;border:1px solid rgba(90,63,43,.16);border-radius:15px;text-align:left;cursor:pointer}
.theme-premium-dialog .theme-related img{width:100%;aspect-ratio:16/9;object-fit:cover}
.theme-premium-dialog .theme-related button>span{display:grid;gap:3px;padding:11px}
.theme-premium-dialog .theme-related small{overflow:hidden;color:#8d6137;font-size:.56rem;font-weight:850;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}
.theme-premium-dialog .theme-related strong{overflow:hidden;font-family:Georgia,"Times New Roman",serif;font-size:.82rem;font-weight:500;text-overflow:ellipsis;white-space:nowrap}
.theme-premium-dialog .theme-related-empty{margin:16px 0 0;color:#69574a;font-size:.8rem;line-height:1.6}
.theme-premium-dialog .theme-detail-mobile-heading{display:none}
.theme-premium-dialog :focus-visible{outline:3px solid #d29b45;outline-offset:3px}
.theme-premium-stage.is-landscape .theme-detail-phone{width:100%;height:auto;max-height:100%;aspect-ratio:16/9;border-radius:28px}
.theme-premium-stage.is-landscape .theme-detail-phone-column{grid-template-rows:auto auto;align-content:center}
.theme-premium-stage.is-landscape .invitation-preview-screen{border-radius:20px}
.theme-premium-stage.is-landscape .invitation-preview-speaker{top:50%;left:7px;width:17px;height:28%;transform:translateY(-50%)}
.theme-premium-stage.is-landscape .invitation-preview-copy{inset:auto 8% 9%;text-align:left}
.theme-premium-stage.is-landscape .invitation-preview-section{min-height:210px}
@media(max-width:1080px){.theme-premium-dialog .theme-detail-layout{grid-template-columns:minmax(330px,390px) minmax(0,1fr)}.theme-premium-dialog .theme-detail-phone-column{padding-inline:14px}.theme-premium-dialog .theme-detail-phone-label span{font-size:.9rem}.theme-premium-dialog .theme-detail-phone-label small{max-width:150px}.theme-premium-dialog .theme-detail-panel{padding-inline:28px}.theme-premium-dialog .theme-detail-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.theme-premium-dialog .theme-palette{grid-template-columns:1fr}.theme-premium-dialog .theme-feature-list{grid-template-columns:1fr}}
@media(max-width:820px){.theme-premium-dialog{width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0}.theme-premium-stage{overflow-y:auto;overscroll-behavior:auto;scrollbar-width:none}.theme-premium-stage::-webkit-scrollbar{display:none}.theme-premium-dialog .theme-detail-layout{display:flex;height:auto;min-height:100%;flex-direction:column}.theme-premium-dialog .theme-detail-phone-column{display:grid;grid-template-rows:auto auto minmax(0,auto);gap:14px;padding:24px 18px 28px;overflow:visible;border-right:0;border-bottom:1px solid rgba(83,57,39,.13)}.theme-premium-dialog .theme-detail-mobile-heading{display:block;padding:4px 46px 12px 2px}.theme-premium-dialog .theme-detail-mobile-heading .theme-detail-badges{margin-bottom:17px}.theme-premium-dialog .theme-detail-mobile-heading h2{font-size:2.55rem}.theme-premium-dialog .theme-detail-phone-toolbar{width:min(100%,390px);margin-inline:auto;padding-right:0;align-items:flex-end}.theme-premium-dialog .theme-detail-phone-label small{max-width:150px}.theme-premium-dialog .theme-detail-phone{width:min(100%,350px);height:auto;max-height:none}.theme-premium-dialog .theme-detail-phone.is-opened .invitation-preview-screen{overscroll-behavior:auto}.theme-premium-dialog .theme-detail-panel{padding:0 20px 46px;overflow:visible}.theme-premium-dialog .theme-detail-panel>.theme-detail-heading{display:none}.theme-premium-dialog .theme-detail-cta-row{position:static;justify-content:stretch;margin:0 -4px 6px;padding:22px 4px 18px;background:#fffaf3}.theme-premium-dialog .theme-detail-cta-row a,.theme-premium-dialog .theme-detail-cta-row>span{flex:1 1 0;padding-inline:10px}.theme-premium-dialog .theme-story-card{margin-top:0}.theme-premium-dialog .theme-detail-facts{grid-template-columns:1fr}.theme-premium-dialog .theme-detail-facts>div{min-height:0}.theme-premium-dialog .theme-palette-swatches{grid-template-columns:repeat(2,1fr)}.theme-premium-dialog .theme-feature-list{grid-template-columns:1fr}.theme-premium-dialog .theme-related>div{grid-template-columns:1fr 1fr}.theme-premium-stage.is-landscape .theme-detail-phone-column{grid-template-rows:auto auto auto}.theme-premium-stage.is-landscape .theme-detail-phone{width:min(100%,600px)}}
@media(max-width:420px){.theme-premium-dialog .theme-detail-phone-column{padding-inline:14px}.theme-premium-dialog .theme-detail-panel{padding-inline:16px}.theme-premium-dialog .theme-detail-phone-toolbar{align-items:stretch;flex-direction:column}.theme-premium-dialog .theme-detail-phone-label{display:flex;align-items:end;justify-content:space-between}.theme-premium-dialog .theme-detail-orientation{align-self:flex-start}.theme-premium-dialog .theme-detail-phone-tools{width:100%}.theme-premium-dialog .theme-detail-phone-tools button{flex:1 1 0}.theme-premium-dialog .theme-story-card{padding:23px 20px 23px 42px}.theme-premium-dialog .theme-related>div{grid-template-columns:1fr}.theme-premium-dialog .theme-palette-swatches i{height:50px}}
@media(prefers-reduced-motion:reduce){.theme-premium-dialog *{scroll-behavior:auto}.theme-premium-dialog .theme-feature-list article{transition:none}}
@media(max-width:820px){.theme-premium-dialog .theme-premium-close{top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right))}.theme-premium-dialog .theme-detail-phone-column{padding:calc(24px + env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) 28px max(18px,env(safe-area-inset-left))}.theme-premium-dialog .theme-detail-panel{padding-bottom:calc(46px + env(safe-area-inset-bottom))}}
@media(max-width:420px){.theme-premium-dialog .theme-detail-phone-column{padding-right:max(14px,env(safe-area-inset-right));padding-left:max(14px,env(safe-area-inset-left))}.theme-premium-dialog .theme-detail-panel{padding-right:max(16px,env(safe-area-inset-right));padding-left:max(16px,env(safe-area-inset-left))}.theme-premium-dialog .theme-detail-phone-toolbar{display:flex}}

/* Natural phone scrolling in premium detail */
.theme-premium-dialog .theme-detail-phone-column{
    overscroll-behavior:contain;
}
.theme-premium-dialog .theme-detail-phone{
    min-height:0;
}
.theme-premium-dialog .theme-detail-phone.is-opened .invitation-preview-screen{
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain;
    touch-action:pan-y;
    scroll-snap-type:none!important;
    -webkit-overflow-scrolling:touch;
}
.theme-premium-dialog .theme-detail-phone:not(.is-opened) .invitation-preview-screen{
    overflow:hidden!important;
    touch-action:none;
}
@media(min-width:821px){
    .theme-premium-dialog .theme-detail-phone{
        height:min(84dvh,820px,100%);
    }
}
