/* Grown-up screens: quiet surfaces, readable type and one clear primary action. */
html body #v2-dialog.parent-premium.parent-premium{--pp-ink:#433b50;--pp-soft:#78707f;box-sizing:border-box;display:flex!important;flex-direction:column;width:min(760px,calc(100vw - 28px))!important;max-height:calc(100dvh - max(28px,env(safe-area-inset-top)) - max(28px,env(safe-area-inset-bottom)))!important;padding:0!important;overflow:hidden!important;border:1px solid #ffffffdd!important;border-radius:26px!important;background:#fcfaf5!important;color:var(--pp-ink)!important;box-shadow:0 20px 70px #30263d40!important;font:400 15px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important}
html body #v2-dialog.parent-premium.parent-premium:not([open]){display:none!important}
html body #v2-dialog.parent-premium.parent-premium *{box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;text-shadow:none!important;letter-spacing:normal}
html body #v2-dialog.parent-premium.parent-premium>header{position:relative!important;top:0!important;flex:none;align-items:center!important;margin:0!important;padding:20px 24px!important;background:#fcfaf5!important;border-bottom:1px solid #e8e2e9;z-index:2}
html body #v2-dialog.parent-premium.parent-premium h2{font-size:24px!important;line-height:1.2!important;color:#514260!important;margin:0!important;font-weight:650!important}
html body #v2-dialog.parent-premium.parent-premium h3{font-size:17px!important;line-height:1.3!important;margin:0 0 12px!important;font-weight:650!important;color:#514260!important}
html body #v2-dialog.parent-premium.parent-premium>header>button{width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;flex:none;border:0!important;border-radius:50%!important;background:#eee9f0!important;color:#756780!important;box-shadow:none!important;font-size:25px!important}
html body #v2-dialog.parent-premium.parent-premium>.v2-content{flex:1;min-height:0;overflow:auto!important;overscroll-behavior:contain;padding:22px 24px!important;margin:0!important;scrollbar-width:thin}
html body #v2-dialog.parent-premium.parent-premium p{font-size:14px!important;line-height:1.5!important;margin:8px 0 16px!important;color:var(--pp-soft)!important}
html body #v2-dialog.parent-premium.parent-premium button,html body #v2-dialog.parent-premium.parent-premium .v2-filebtn{font:600 14px/1.3 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;min-height:44px;padding:12px 18px!important;margin:8px 0;border:1px solid #dcd3e3!important;border-radius:12px!important;color:#584469!important;background:#f0eaf4!important;box-shadow:none!important;transform:none!important;cursor:pointer}
html body #v2-dialog.parent-premium.parent-premium :is([data-v2=savefile],[data-v2=webrestore],[data-v2=restore],[data-confirm],.ro-buy,.v2-full [data-buy],#v2-parent-gate button[type=submit]){background:#456e62!important;border-color:#456e62!important;color:white!important}
html body #v2-dialog.parent-premium.parent-premium :is(input:not([type=checkbox]),textarea){width:100%!important;max-width:100%;min-height:44px;border:1px solid #dcd3e3!important;border-radius:10px!important;padding:12px!important;background:white!important;font:400 15px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;color:#433b50!important;box-shadow:none!important}
html body #v2-dialog.parent-premium.parent-premium :is(button,input,textarea,summary,a):focus-visible{outline:3px solid #ae90c4!important;outline-offset:3px}
html body #v2-dialog.parent-premium.parent-premium>footer{flex:none;padding:12px 24px!important;margin:0!important;border-top:1px solid #e8e2e9!important;font-size:12px!important;color:#78707f!important;text-align:center}
html body #v2-dialog.parent-premium.parent-premium>footer[hidden]{display:none!important}
html body #v2-dialog.parent-premium.parent-premium>.v2-message{flex:none;padding:10px 24px!important;margin:0!important;background:#eaf3ef!important;color:#345b50!important}
html body #v2-dialog.parent-premium.parent-premium .v2-ptabs{position:sticky;top:-22px;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;background:#eee9f0!important;padding:4px!important;margin:0 0 22px!important;border-radius:13px!important}
html body #v2-dialog.parent-premium.parent-premium .v2-ptabs button{font-size:13px!important;min-height:42px!important;padding:8px 3px!important;margin:0!important;border:0!important;border-radius:9px!important;background:transparent!important;box-shadow:none!important;color:#776b80!important}
html body #v2-dialog.parent-premium.parent-premium .v2-ptabs button[aria-current=page]{background:#fff!important;color:#514260!important;box-shadow:0 1px 4px #47314c12!important}
.v2-parent[data-ptab=purchases] [data-tab=purchases]{display:block}
html body #v2-dialog.parent-premium.parent-premium .pp-card{background:#fff;border:1px solid #e8e2e9;border-radius:16px;padding:18px;margin-bottom:16px}
html body #v2-dialog.parent-premium.parent-premium .pp-muted{font-size:13px!important;color:#78707f!important}
html body #v2-dialog.parent-premium.parent-premium .v2-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:24px}
html body #v2-dialog.parent-premium.parent-premium .v2-stats>div{align-content:start;justify-items:start;background:#f0ecf3;border:0;padding:16px;border-radius:14px;text-align:left;gap:6px}
html body #v2-dialog.parent-premium.parent-premium .v2-stats small{font-size:12px;color:#78707f}
html body #v2-dialog.parent-premium.parent-premium .v2-stats b{font-size:25px;line-height:1.2;font-weight:650;color:#514260}
html body #v2-dialog.parent-premium.parent-premium .pw-strip{margin:16px 0 24px}
html body #v2-dialog.parent-premium.parent-premium .pw-cards>div{background:#fff;border:1px solid #e8e2e9;border-radius:14px;padding:12px 6px;box-shadow:none}
html body #v2-dialog.parent-premium.parent-premium .pw-cards b{font-size:24px;font-weight:650;line-height:1.4}
html body #v2-dialog.parent-premium.parent-premium .pw-cards small{font-size:12px;line-height:1.4}
html body #v2-dialog.parent-premium.parent-premium .pw-fav{box-shadow:none;padding:12px;border-radius:14px}
html body #v2-dialog.parent-premium.parent-premium .v2-toggle{align-items:center;justify-content:space-between;gap:18px;padding:16px 0;margin:0;border:0;border-radius:0;background:transparent!important}
html body #v2-dialog.parent-premium.parent-premium .v2-toggle+.v2-toggle{border-top:1px solid #eee8ef}
html body #v2-dialog.parent-premium.parent-premium .v2-toggle b{font-size:15px;font-weight:600}
html body #v2-dialog.parent-premium.parent-premium .v2-toggle small{font-size:13px;line-height:1.4;color:#78707f}
html body #v2-dialog.parent-premium.parent-premium input[type=checkbox]{appearance:none;width:44px;height:26px;min-width:44px;margin:0;border-radius:99px;background:#d9d3dd;border:0;cursor:pointer;position:relative;transition:background .15s}
html body #v2-dialog.parent-premium.parent-premium input[type=checkbox]::after{content:'';position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:white;box-shadow:0 1px 3px #0002;transition:translate .15s}
html body #v2-dialog.parent-premium.parent-premium input[type=checkbox]:checked{background:#628b7d}
html body #v2-dialog.parent-premium.parent-premium input[type=checkbox]:checked::after{translate:18px 0}
html body #v2-dialog.parent-premium.parent-premium details{border:1px solid #e8e2e9;border-radius:14px;padding:14px 16px;margin:12px 0;background:#fff}
html body #v2-dialog.parent-premium.parent-premium summary{font-size:14px;font-weight:600;cursor:pointer;min-height:24px;color:#584469}
html body #v2-dialog.parent-premium.parent-premium summary small{float:right;font-size:12px;font-weight:400;color:#8b8092}
html body #v2-dialog.parent-premium.parent-premium .gm-age{background:none;border:0;padding:16px 0 0;margin:0;box-shadow:none}
html body #v2-dialog.parent-premium.parent-premium .gm-age>b{display:none}
html body #v2-dialog.parent-premium.parent-premium .gm-age small{font-size:12px;color:#78707f}
html body #v2-dialog.parent-premium.parent-premium .v2-links{display:flex;flex-wrap:wrap;gap:12px 20px;text-align:left;margin:24px 0 0}
html body #v2-dialog.parent-premium.parent-premium .v2-links a{font-size:13px;font-weight:500;color:#776181}
html body #v2-dialog.parent-premium.parent-premium .v2-ledger li{background:#f7f4f8;padding:12px;gap:12px}
html body #v2-dialog.parent-premium.parent-premium .v2-ledger small{font-size:12px;color:#78707f}
html body #v2-dialog.parent-premium.parent-premium .pp-field{display:grid;gap:6px;font-size:12px;font-weight:600;margin:16px 0 8px}
html body #v2-dialog.parent-premium.parent-premium .pp-status{display:flex;gap:12px;align-items:flex-start}
html body #v2-dialog.parent-premium.parent-premium .pp-status>span{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:#e0eee7;color:#456e62}
html body #v2-dialog.parent-premium.parent-premium .pp-status h3{font-size:15px!important;margin:0!important}
html body #v2-dialog.parent-premium.parent-premium .pp-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
html body #v2-dialog.parent-premium.parent-premium .pp-actions>*{width:100%;text-align:center;margin:8px 0!important}
html body #v2-dialog.parent-premium.parent-premium .ro-hero{height:clamp(220px,36dvh,360px)!important;border:0!important;border-radius:16px!important;margin:0 0 24px!important;box-shadow:none!important}
html body #v2-dialog.parent-premium.parent-premium .ro-ask{top:auto!important;bottom:12px!important;left:12px!important;transform:none!important;padding:7px 12px!important;background:#fffc!important;border-radius:10px!important;box-shadow:none!important;font-size:14px!important;max-width:80%;margin:0!important}
html body #v2-dialog.parent-premium.parent-premium .ro-ask span{font-size:14px!important}
html body #v2-dialog.parent-premium.parent-premium .ro-tag{font-size:11px!important;padding:4px 10px!important;bottom:12px!important}
html body #v2-dialog.parent-premium.parent-premium .ro-tag-now{display:none}
html body #v2-dialog.parent-premium.parent-premium .ro-tiles{gap:14px 12px!important;margin:18px 0 24px!important}
html body #v2-dialog.parent-premium.parent-premium .ro-tile small{font-size:12px!important;line-height:1.4!important}
html body #v2-dialog.parent-premium.parent-premium .ro-h{font-size:17px!important;text-align:left}
html body #v2-dialog.parent-premium.parent-premium .ro-trust{font-size:12px!important;gap:18px!important;color:#78707f!important;margin:8px 0 16px!important}
html body #v2-dialog.parent-premium.parent-premium .ro-fine{display:block;font-size:12px;color:#78707f}
html body #v2-dialog.parent-premium.parent-premium .ro-later{background:transparent!important;border:0!important;font-size:13px!important;color:#78707f!important}
@media(max-width:420px){html body #v2-dialog.parent-premium.parent-premium>header{padding:16px!important}html body #v2-dialog.parent-premium.parent-premium>.v2-content{padding:18px 16px!important}html body #v2-dialog.parent-premium.parent-premium h2{font-size:22px!important}.pp-card{padding:14px!important}html body #v2-dialog.parent-premium.parent-premium .v2-ptabs button{font-size:12px!important}}
@media(prefers-reduced-motion:reduce){html body #v2-dialog.parent-premium.parent-premium *{transition:none!important}}

html body #v2-dialog.parent-premium.parent-premium[data-page=parent]{height:min(680px,calc(100dvh - max(28px,env(safe-area-inset-top)) - max(28px,env(safe-area-inset-bottom))))!important}
html body #v2-dialog.parent-premium.parent-premium .v2-ptabs:has(button:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
html body #v2-dialog.parent-premium.parent-premium :is(.v2-full,.v2-product){border:1px solid #e8e2e9!important;border-radius:16px!important;box-shadow:none!important;background:#fff!important;padding:18px!important}
html body #v2-dialog.parent-premium.parent-premium .v2-full-copy :is(li,small){font-size:13px!important;line-height:1.5!important;color:#78707f!important}
html body #v2-dialog.parent-premium.parent-premium .pp-shop{display:flex;align-items:center;gap:16px;padding:14px;margin:20px 0 0;border:1px solid #e8e2e9;border-radius:16px;background:linear-gradient(120deg,#f3edf7,#eaf3ec);text-decoration:none;color:#514260}
.pp-shop>img{width:100px;height:94px;object-fit:contain;flex:none}
.pp-shop>span:nth-child(2){display:grid;gap:4px;flex:1;min-width:0}
.pp-shop b{font-size:15px;font-weight:650;line-height:1.3}
.pp-shop small{font-size:12px;color:#78707f}
.pp-shop>span:last-child{font-size:22px}
@media(max-width:420px){.pp-shop>img{width:84px;height:82px}}
html body #v2-dialog.parent-premium.parent-premium .ro-ask{translate:none!important;right:auto!important;width:auto!important;max-width:calc(100% - 24px)!important}

/* Parent space refinement: one accent, softer hierarchy and compact stable frame. */
html body #v2-dialog.parent-premium.parent-premium[data-page=parent]{height:min(620px,calc(100dvh - max(28px,env(safe-area-inset-top)) - max(28px,env(safe-area-inset-bottom))))!important}
html body #v2-dialog.parent-premium.parent-premium>header>div{flex:1;min-width:0}
.pp-mascot{width:36px;height:36px;object-fit:contain;flex:none;margin-right:10px}
html body #v2-dialog.parent-premium.parent-premium h2{font-weight:650!important;font-size:23px!important}
html body #v2-dialog.parent-premium.parent-premium .v2-ptabs button[aria-current=page]{color:#345f53!important;box-shadow:0 1px 5px #354c3e18!important}
html body #v2-dialog.parent-premium.parent-premium .pp-shop{padding:18px;gap:20px;min-height:170px;background:linear-gradient(135deg,#f4f0f7,#e9f2ed)}
.pp-shop>img{width:150px;height:142px}
.pp-shop b{font-size:17px}
.pp-shop small{font-size:13px}
html body #v2-dialog.parent-premium.parent-premium .pw-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html body #v2-dialog.parent-premium.parent-premium .pw-day i{width:20px;background:#eeeaf0;box-shadow:none}
html body #v2-dialog.parent-premium.parent-premium .pw-day.on i{background:#719f8c;box-shadow:inset 0 0 0 5px #e0eee7}
html body #v2-dialog.parent-premium.parent-premium .pw-day small{font-size:10px;font-weight:500;color:#85798b}
html body #v2-dialog.parent-premium.parent-premium .pw-strip{margin:16px 0 22px}
.pp-section-head{display:flex;justify-content:space-between;align-items:start;gap:12px}
html body #v2-dialog.parent-premium.parent-premium .pp-info{position:relative;padding:0;margin:0;border:0;background:none}
html body #v2-dialog.parent-premium.parent-premium .pp-info>summary{font-size:20px;list-style:none;line-height:1;min-width:30px;min-height:30px;text-align:center;color:#82718e}
html body #v2-dialog.parent-premium.parent-premium .pp-info>summary::-webkit-details-marker{display:none}
html body #v2-dialog.parent-premium.parent-premium .pp-info p{position:absolute;right:0;top:26px;width:min(260px,65vw);z-index:4;background:white;padding:14px;border:1px solid #e5deea;border-radius:12px;box-shadow:0 6px 20px #38243d19;font-size:12px!important}
.pp-empty{display:flex;gap:16px;align-items:center;padding:18px;border:1px solid #e8e3eb;border-radius:16px;background:#fff}
.pp-empty>img{width:64px;height:64px;object-fit:contain;flex:none}
.pp-empty b{font-size:15px;line-height:1.4;font-weight:600;color:#584867}
html body #v2-dialog.parent-premium.parent-premium .pp-empty p{font-size:12px!important;margin:6px 0 0!important}
html body #v2-dialog.parent-premium.parent-premium .pp-feedback{padding:10px 12px;border:1px solid #d9e8df;background:#edf5f0;color:#345f53!important;border-radius:10px;font-size:13px!important;margin:12px 0!important}
html body #v2-dialog.parent-premium.parent-premium .pp-feedback.pp-error{background:#fcf0ec;border-color:#eddbd1;color:#895642!important}
html body #v2-dialog.parent-premium.parent-premium .v2-ledger li{align-items:center;background:white;border-bottom:1px solid #eee8f0;border-radius:0;padding:14px 0}
.pp-product-art{display:grid;place-items:center;width:54px;height:54px;border-radius:12px;background:#f4eff6;flex:none;font-size:28px}
.pp-product-art>img,.pp-product-art>.toy{width:48px!important;height:48px!important;object-fit:contain;margin:0!important}
.pp-owned-copy{display:grid;gap:4px;flex:1;min-width:0}.pp-owned-copy>b{font-size:14px;font-weight:600}
html body #v2-dialog.parent-premium.parent-premium .pp-owned-copy>small{color:#527f6d!important;font-size:12px}
html body #v2-dialog.parent-premium.parent-premium .pp-owned-copy details{padding:0;border:0;margin:0;font-size:12px}
html body #v2-dialog.parent-premium.parent-premium .pp-owned-copy summary{font-size:11px;font-weight:400;color:#8a7c91;min-height:24px}
html body #v2-dialog.parent-premium.parent-premium .pp-help{min-height:44px;padding:0!important;margin:-14px 0!important;background:none!important;border:0!important;font-size:13px!important;font-weight:500!important;color:#776181!important;text-decoration:underline}
html body #v2-dialog.parent-premium.parent-premium .pp-help-panel:not([open]){display:none}
html body #v2-dialog.parent-premium.parent-premium .ro-tiles{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px!important}
html body #v2-dialog.parent-premium.parent-premium .ro-buy{width:100%;font-size:16px!important;min-height:50px}
@media(max-width:420px){.pp-shop>img{width:125px;height:126px}.pp-shop b{font-size:16px}.pp-shop small{font-size:12px}html body #v2-dialog.parent-premium.parent-premium .pp-shop{padding:14px;gap:14px}.pp-empty{padding:14px;gap:12px}}
/* Main parent tabs fit the viewport. Advanced controls replace their tab, not extend it. */
html body #v2-dialog.parent-premium.parent-premium[data-page=parent]{height:min(720px,calc(100dvh - max(20px,env(safe-area-inset-top)) - max(20px,env(safe-area-inset-bottom))))!important}
html body #v2-dialog.parent-premium.parent-premium[data-page=parent]>.v2-content{overflow:hidden!important;padding:18px 22px!important}
html body #v2-dialog.parent-premium.parent-premium .v2-parent{height:100%;min-height:0;display:flex;flex-direction:column}
html body #v2-dialog.parent-premium.parent-premium .v2-ptabs{position:relative;top:0;flex:none;margin-bottom:16px!important}
html body #v2-dialog.parent-premium.parent-premium .v2-ptab{min-height:0;flex:1}
html body #v2-dialog.parent-premium.parent-premium .pp-focused-panel>*:not(.pp-panel-active){display:none!important}
html body #v2-dialog.parent-premium.parent-premium .pp-panel-active{display:block!important;margin:0;border:0;background:transparent;padding:0}
html body #v2-dialog.parent-premium.parent-premium .pp-panel-active>summary{list-style:none;font-size:17px;pointer-events:none;margin:10px 0 16px}
html body #v2-dialog.parent-premium.parent-premium .pp-panel-active>summary::-webkit-details-marker{display:none}
html body #v2-dialog.parent-premium.parent-premium .pp-panel-back{background:transparent!important;border:0!important;padding:8px 0!important;margin:0!important;color:#628575!important;font-size:13px!important}
html body #v2-dialog.parent-premium.parent-premium .pp-more:not([open])>.pp-panel-back,html body #v2-dialog.parent-premium.parent-premium .pp-age:not([open])>.pp-panel-back{display:none}
html body #v2-dialog.parent-premium.parent-premium .v2-ledger li[hidden]{display:none!important}
.pp-ledger-nav{display:flex;align-items:center;justify-content:center;gap:18px}.pp-ledger-nav span{font-size:12px;color:#82718c}
html body #v2-dialog.parent-premium.parent-premium .pp-ledger-nav button{width:44px;padding:8px!important}
@media(max-height:800px){html body #v2-dialog.parent-premium.parent-premium>header{padding:14px 20px!important}html body #v2-dialog.parent-premium.parent-premium[data-page=parent]>.v2-content{padding:14px 18px!important}html body #v2-dialog.parent-premium.parent-premium .v2-stats{margin-bottom:16px}html body #v2-dialog.parent-premium.parent-premium .pp-shop{min-height:116px;padding:12px;margin-top:12px}.pp-shop>img{width:106px;height:100px}html body #v2-dialog.parent-premium.parent-premium .pp-card{padding:12px;margin-bottom:10px}html body #v2-dialog.parent-premium.parent-premium .v2-toggle{padding:12px 0}html body #v2-dialog.parent-premium.parent-premium .v2-links{margin-top:16px}}
@media(max-height:680px){html body #v2-dialog.parent-premium.parent-premium h2{font-size:20px!important}html body #v2-dialog.parent-premium.parent-premium .v2-ptabs{margin-bottom:10px!important}html body #v2-dialog.parent-premium.parent-premium .v2-toggle{padding:9px 0}html body #v2-dialog.parent-premium.parent-premium .pp-shop{min-height:92px;margin-top:10px;padding:8px 12px}.pp-shop>img{width:88px;height:78px}html body #v2-dialog.parent-premium.parent-premium .pp-age{padding:10px 12px;margin:8px 0}html body #v2-dialog.parent-premium.parent-premium .v2-links{margin-top:12px}html body #v2-dialog.parent-premium.parent-premium .v2-stats>div{padding:12px}html body #v2-dialog.parent-premium.parent-premium .pw-strip{margin:10px 0 14px}.pp-empty{padding:12px}.pp-empty>img{width:44px;height:44px}}
@media(max-height:500px) and (min-aspect-ratio:1/1){html body #v2-dialog.parent-premium.parent-premium[data-page=parent]{width:min(920px,calc(100vw - 20px))!important}html body #v2-dialog.parent-premium.parent-premium .v2-parent[data-ptab=settings] [data-tab=settings]:not(.pp-focused-panel){display:grid;grid-template-columns:1fr 1fr;gap:10px;align-content:start}html body #v2-dialog.parent-premium.parent-premium .v2-parent[data-ptab=settings] .pp-card{grid-row:1/3}html body #v2-dialog.parent-premium.parent-premium .v2-links{grid-column:1/-1}html body #v2-dialog.parent-premium.parent-premium .pp-focused-panel{display:block!important}}
@media(max-width:350px){html body #v2-dialog.parent-premium.parent-premium .v2-ptabs button{font-size:11px!important;padding:6px 2px!important}}
@media(max-height:600px){html body #v2-dialog.parent-premium.parent-premium>header{padding:10px 16px!important}html body #v2-dialog.parent-premium.parent-premium[data-page=parent]>.v2-content{padding:10px 14px!important}html body #v2-dialog.parent-premium.parent-premium .v2-ptabs{margin-bottom:8px!important}html body #v2-dialog.parent-premium.parent-premium .pp-card{padding:10px;margin-bottom:8px}html body #v2-dialog.parent-premium.parent-premium .v2-toggle{padding:7px 0}html body #v2-dialog.parent-premium.parent-premium .v2-toggle small{font-size:12px}html body #v2-dialog.parent-premium.parent-premium .pp-shop{min-height:84px;padding:6px 10px;margin-top:8px}.pp-shop>img{width:78px;height:70px}.pp-shop b{font-size:14px}html body #v2-dialog.parent-premium.parent-premium .v2-links{margin-top:8px}html body #v2-dialog.parent-premium.parent-premium .pp-age{margin:6px 0;padding:8px 10px}}
html body #v2-dialog.parent-premium.parent-premium .pp-panel-active{position:relative;padding:42px 0 0!important}
html body #v2-dialog.parent-premium.parent-premium .pp-panel-active>.pp-panel-back{position:absolute;top:0;left:0;display:block!important;width:auto!important}
html body #v2-dialog.parent-premium.parent-premium .pp-panel-active>summary{margin:0 0 16px!important}
html body #v2-dialog.parent-premium.parent-premium .pp-panel-active>button:not(.pp-panel-back){display:block;width:100%}

html body #v2-dialog.parent-premium.parent-premium .pp-restore-focus{padding:0!important;border:0;background:none}
html body #v2-dialog.parent-premium.parent-premium .pp-restore-focus>*:not(.pp-restore){display:none!important}
html body #v2-dialog.parent-premium.parent-premium .pp-restore.pp-panel-active{margin:0;border:0;background:none}

/* Focused subviews must never reveal an inactive tab, including in landscape. */
html body #v2-dialog.parent-premium.parent-premium .v2-parent[data-ptab=week]>.v2-ptab:not([data-tab=week]),
html body #v2-dialog.parent-premium.parent-premium .v2-parent[data-ptab=settings]>.v2-ptab:not([data-tab=settings]),
html body #v2-dialog.parent-premium.parent-premium .v2-parent[data-ptab=purchases]>.v2-ptab:not([data-tab=purchases]),
html body #v2-dialog.parent-premium.parent-premium .v2-parent[data-ptab=save]>.v2-ptab:not([data-tab=save]){display:none!important}
@media(max-height:500px) and (min-aspect-ratio:1/1){html body #v2-dialog.parent-premium.parent-premium .v2-links{grid-column:2;margin:0!important}html body #v2-dialog.parent-premium.parent-premium .v2-parent[data-ptab=week] [data-tab=week]{display:grid;grid-template-columns:1fr 1fr;gap:8px 20px}html body #v2-dialog.parent-premium.parent-premium .v2-parent[data-ptab=week] .pp-section-heading{grid-column:1}html body #v2-dialog.parent-premium.parent-premium .v2-parent[data-ptab=week] .v2-stats{grid-column:1;margin:0}html body #v2-dialog.parent-premium.parent-premium .v2-parent[data-ptab=week] .pw{grid-column:2;grid-row:1/4}html body #v2-dialog.parent-premium.parent-premium .pp-panel-active>summary{margin-bottom:8px!important}html body #v2-dialog.parent-premium.parent-premium .pp-panel-active textarea{min-height:50px;height:50px}html body #v2-dialog.parent-premium.parent-premium .pp-panel-active{padding-top:30px!important}}

@media(max-height:500px) and (min-aspect-ratio:1/1){html body #v2-dialog.parent-premium.parent-premium>header{padding:6px 16px!important}html body #v2-dialog.parent-premium.parent-premium .v2-parent[data-ptab=settings] [data-tab=settings]:not(.pp-focused-panel){gap:4px 10px}html body #v2-dialog.parent-premium.parent-premium .pp-shop{margin-top:0!important;min-height:70px}html body #v2-dialog.parent-premium.parent-premium .pp-age{margin:0!important}}

@media(max-height:500px) and (min-aspect-ratio:1/1){
html body #v2-dialog.parent-premium.parent-premium .v2-parent[data-ptab=save] [data-tab=save]:not(.pp-focused-panel){display:grid;grid-template-columns:1fr 1fr;gap:8px 20px;align-content:start}
html body #v2-dialog.parent-premium.parent-premium [data-tab=save]>.pp-card{grid-row:1/3}
html body #v2-dialog.parent-premium.parent-premium [data-tab=purchases]>.pp-card:not(.pp-restore-focus){display:grid;grid-template-columns:1fr 1fr;gap:4px 20px}
html body #v2-dialog.parent-premium.parent-premium [data-tab=purchases] .pp-card>.pp-restore{grid-column:2;grid-row:1/4;margin:0;align-self:start}
html body #v2-dialog.parent-premium.parent-premium [data-tab=purchases] .pp-card>.v2-ledger,html body #v2-dialog.parent-premium.parent-premium [data-tab=purchases] .pp-card>.pp-ledger-nav{grid-column:1;margin:0}
html body #v2-dialog.parent-premium.parent-premium .pp-restore.pp-panel-active{display:grid!important;grid-template-columns:1fr 1fr;gap:4px 20px}
html body #v2-dialog.parent-premium.parent-premium .pp-restore.pp-panel-active>summary{grid-column:1/-1}
html body #v2-dialog.parent-premium.parent-premium .pp-restore.pp-panel-active>button:not(.pp-panel-back){grid-column:2;grid-row:2;align-self:end}
}

@media(max-height:500px) and (min-aspect-ratio:1/1){html body #v2-dialog.parent-premium.parent-premium [data-tab=purchases]>.pp-card:not(.pp-restore-focus){align-content:start;grid-template-rows:auto auto auto}html body #v2-dialog.parent-premium.parent-premium [data-tab=purchases] .pp-card>h3{margin:0!important}html body #v2-dialog.parent-premium.parent-premium [data-tab=purchases] .v2-ledger li{padding:6px 0!important}html body #v2-dialog.parent-premium.parent-premium [data-tab=purchases] .pp-ledger-nav button{min-height:36px!important}}

@media(max-height:680px){
html body #v2-dialog.parent-premium.parent-premium .pw-cards>div{display:grid;grid-template-columns:32px 1fr;padding:8px;gap:2px 6px;text-align:left;align-items:center}
html body #v2-dialog.parent-premium.parent-premium .pw-cards img{width:32px;height:32px;grid-row:1/3;margin:0}
html body #v2-dialog.parent-premium.parent-premium .pw-cards b{font-size:20px;line-height:1.1}
html body #v2-dialog.parent-premium.parent-premium .pw-cards small{font-size:11px}
html body #v2-dialog.parent-premium.parent-premium .pw-fav{padding:8px;margin-top:10px}
html body #v2-dialog.parent-premium.parent-premium .pw-fav img{width:28px;height:28px}
html body #v2-dialog.parent-premium.parent-premium .v2-stats{margin-bottom:10px}
}

@media(max-height:500px) and (min-aspect-ratio:1/1){html body #v2-dialog.parent-premium.parent-premium .pw h3{margin:0!important}html body #v2-dialog.parent-premium.parent-premium .pw-strip{margin:2px 0!important}html body #v2-dialog.parent-premium.parent-premium .pw-fav{margin-top:6px;padding:4px 8px}html body #v2-dialog.parent-premium.parent-premium .pw-fav small{font-size:10px}html body #v2-dialog.parent-premium.parent-premium .pw-fav b{font-size:13px}}

/* A single parent destination, with a quiet breadcrumb for app extras. */
html body #v2-dialog.parent-premium.parent-premium .pp-return{padding:0 22px}
html body #v2-dialog.parent-premium.parent-premium .pp-return button{min-height:40px;padding:4px 0!important;background:none!important;border:0!important;color:#628575!important;font-size:13px!important}
.pp-purchases-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
html body #v2-dialog.parent-premium.parent-premium .pp-purchases-head h3{margin:0!important}
html body #v2-dialog.parent-premium.parent-premium .pp-extras{display:flex;align-items:center;justify-content:space-between;gap:12px;white-space:nowrap;font-size:12px!important;min-height:36px;padding:6px 10px!important;background:#e7f0eb!important;color:#42675a!important;border:0!important;margin:0!important}
@media(max-height:500px) and (min-aspect-ratio:1/1){html body #v2-dialog.parent-premium.parent-premium [data-tab=purchases] .pp-purchases-head{grid-column:1;margin:0}}

/* Coordinated parent illustrations: visual support without extra panels or scrolling. */
html body #v2-dialog.parent-premium.parent-premium .v2-ptabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:4px 2px!important;min-height:46px!important;line-height:1.2!important}
html body #v2-dialog.parent-premium.parent-premium .v2-ptabs button img{display:block;width:20px;height:20px;object-fit:contain}
html body #v2-dialog.parent-premium.parent-premium .pp-extras>img{width:44px;height:40px;object-fit:contain;flex:none}
html body #v2-dialog.parent-premium.parent-premium .pp-extras{gap:8px;padding:4px 8px!important}
html body #v2-dialog.parent-premium.parent-premium .pp-shop>img{object-fit:contain;width:160px;height:118px}
html body #v2-dialog.parent-premium.parent-premium .pp-empty>img{width:72px;height:72px;object-fit:contain;flex:none}
html body #v2-dialog.parent-premium.parent-premium .pp-backup-success{display:flex;align-items:center;gap:10px}
html body #v2-dialog.parent-premium.parent-premium .pp-backup-success img{width:44px;height:44px;object-fit:contain;flex:none;animation:pp-backup-settle .45s ease-out both}
@keyframes pp-backup-settle{from{opacity:0;transform:translateY(-5px) scale(.94)}to{opacity:1;transform:none}}
@media(max-height:680px){html body #v2-dialog.parent-premium.parent-premium .v2-ptabs button{gap:0;padding:3px 2px!important;min-height:42px!important;font-size:11px!important}html body #v2-dialog.parent-premium.parent-premium .v2-ptabs button img{width:18px;height:18px}html body #v2-dialog.parent-premium.parent-premium .pp-empty>img{width:44px;height:44px}html body #v2-dialog.parent-premium.parent-premium .pp-shop>img{width:100px;height:70px}html body #v2-dialog.parent-premium.parent-premium .pp-extras>img{width:30px;height:28px}html body #v2-dialog.parent-premium.parent-premium .pp-extras{gap:5px;font-size:11px!important}}
@media(prefers-reduced-motion:reduce){html body #v2-dialog.parent-premium.parent-premium .pp-backup-success img{animation:none!important}}

html body #v2-dialog.parent-premium.parent-premium .pp-backup-success{margin:8px 0 0!important;padding:8px!important}
@media(max-height:500px){html body #v2-dialog.parent-premium.parent-premium .pp-backup-success{margin-top:4px!important;padding:4px 8px!important}html body #v2-dialog.parent-premium.parent-premium .pp-backup-success img{width:28px;height:28px}}

/* One-screen physical shop, contained in the existing grown-up dialog. */
html body #v2-dialog.parent-premium.parent-premium .pp-shop{width:100%;text-align:left;background:linear-gradient(120deg,#f3edf7,#eaf3ec)!important;font-weight:400!important}
html body #v2-dialog.parent-premium.parent-premium .pp-shop>span:last-child{margin-left:auto}
html body #v2-dialog.parent-premium.parent-premium[data-page=gifts]{height:min(720px,calc(100dvh - max(20px,env(safe-area-inset-top)) - max(20px,env(safe-area-inset-bottom))))!important}
html body #v2-dialog.parent-premium.parent-premium[data-page=gifts]>.v2-content{overflow:hidden!important;padding:12px 22px 18px!important}
.pp-gifts{height:100%;min-height:0;display:grid;grid-template-rows:minmax(100px,1fr) auto auto;gap:12px;text-align:center}
.pp-gift-art{min-height:0;position:relative;display:flex;align-items:center;justify-content:center;border-radius:18px;background:linear-gradient(135deg,#f0f4ec,#f3edf6);padding:16px}
.pp-gift-art>img{width:100%;height:100%;min-height:0;object-fit:contain}
html body #v2-dialog.parent-premium.parent-premium .pp-gift-preview{position:absolute;bottom:8px;right:8px;min-height:36px;font-size:12px!important;margin:0;background:#fffffff0!important;padding:6px 10px!important}
.pp-gift-kind{font-size:12px;color:#82748b}
html body #v2-dialog.parent-premium.parent-premium .pp-gift-copy h3{margin:4px 0 12px!important;font-size:20px!important}
.pp-gift-buy{display:flex;align-items:center;justify-content:center;gap:12px;min-height:46px;padding:10px 18px;background:#456e62;color:#fff!important;text-decoration:none;border-radius:12px;font-size:14px;font-weight:600}
.pp-gift-note{display:block;font-size:11px;color:#82748b;margin-top:6px}
.pp-gift-pages{display:flex;align-items:center;justify-content:center;gap:24px}
.pp-gift-pages>span{font-size:12px;color:#82748b}
html body #v2-dialog.parent-premium.parent-premium .pp-gift-pages button{width:44px;min-height:44px;margin:0;padding:8px!important}
@media(max-height:680px){.pp-gifts{gap:8px}.pp-gift-art{padding:10px}html body #v2-dialog.parent-premium.parent-premium .pp-gift-copy h3{font-size:17px!important;margin:2px 0 8px!important}html body #v2-dialog.parent-premium.parent-premium .pp-return{padding:0 14px}html body #v2-dialog.parent-premium.parent-premium .pp-return button{min-height:32px;margin:0}.pp-gift-buy{min-height:42px}.pp-gift-kind{font-size:11px}}
@media(max-height:500px) and (min-aspect-ratio:1/1){.pp-gifts{grid-template-columns:minmax(160px,1fr) 1fr;grid-template-rows:1fr auto;gap:8px 20px;align-items:center}.pp-gift-art{grid-row:1/3;height:100%}.pp-gift-copy{align-self:end}.pp-gift-pages{grid-column:2;align-self:start}html body #v2-dialog.parent-premium.parent-premium .pp-gift-copy h3{margin-bottom:6px!important}}

/* Boutique collection: four products visible together, with quiet focused details. */
.pp-gift-collection{display:grid;grid-template-columns:1fr;grid-template-rows:repeat(2,minmax(0,1fr));gap:18px;text-align:left}
.pp-gift-category{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:8px}
html body #v2-dialog.parent-premium.parent-premium .pp-gift-category>h3{font-size:12px!important;color:#82748b!important;font-weight:500!important;margin:0!important;letter-spacing:.04em!important}
.pp-gift-category>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;min-height:0}
html body #v2-dialog.parent-premium.parent-premium .pp-gift-tile{min-height:0;margin:0;padding:8px!important;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:8px;border:1px solid transparent!important;background:transparent!important;border-radius:14px!important;font-size:13px!important;font-weight:500!important;text-align:center}
html body #v2-dialog.parent-premium.parent-premium .pp-gift-tile:hover{background:#f5f1eb!important;border-color:#e8e2e9!important}
.pp-gift-tile>img{display:block;width:100%;height:100%;min-height:0;object-fit:contain}
.pp-gift-tile>span{line-height:1.3;max-width:180px;justify-self:center}
.pp-gift-detail{grid-template-columns:1fr;grid-template-rows:auto minmax(100px,1fr) auto;gap:10px;text-align:center;align-items:stretch}
html body #v2-dialog.parent-premium.parent-premium .pp-collection-back{justify-self:start;padding:0!important;min-height:36px;margin:0;background:transparent!important;border:0!important;color:#628575!important;font-size:13px!important}
.pp-gift-detail .pp-gift-art{grid-row:auto;height:auto;border-radius:0;background:none;padding:0 12px}
.pp-gift-detail .pp-gift-copy{align-self:auto}
html body #v2-dialog.parent-premium.parent-premium .pp-gift-detail .pp-gift-copy h3{margin:0 0 4px!important}
.pp-gift-detail .pp-gift-kind{display:block;margin-bottom:14px}
@media(max-height:680px){.pp-gift-collection{gap:12px}.pp-gift-category{gap:4px}.pp-gift-category>div{gap:10px}html body #v2-dialog.parent-premium.parent-premium .pp-gift-tile{padding:4px!important;gap:5px;font-size:12px!important}.pp-gift-detail{gap:6px}.pp-gift-detail .pp-gift-kind{margin-bottom:8px}html body #v2-dialog.parent-premium.parent-premium .pp-collection-back{min-height:28px}}
@media(max-height:500px) and (min-aspect-ratio:1/1){.pp-gift-collection{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:1fr;gap:24px}.pp-gift-detail{grid-template-columns:1fr 1fr;grid-template-rows:auto minmax(0,1fr);gap:4px 20px}.pp-gift-detail .pp-collection-back{grid-column:1/-1}.pp-gift-detail .pp-gift-art{grid-row:2;grid-column:1;height:100%}.pp-gift-detail .pp-gift-copy{grid-row:2;grid-column:2;align-self:center}}
.pp-gift-collection{align-items:stretch}
.pp-gift-category{height:100%}
