/* POPOMO Workspace Theme — Airy Kiosk-VI Hairlines.
   Covers #choose DIY Editor, #ai AI Studio A1/A2/A3, #review Design Review, Phone Model/Finish Dialogs, Account & My Designs.
   Existing editing controls keep their exact behavior and print-coordinate system. */
body[data-v35-route] :is(.v35-editor,.account-flow,.studio-flow,.v35-my-designs,.v35-design-review){
 --ink:var(--popomo-ink,#18071A);
 --body:#3A2A42;
 --muted:var(--popomo-ink-muted,#5E4D6B);
 --line:var(--popomo-border,#E6DDF0);
 --mint:var(--popomo-teal-soft,#F3EDF9);
 --paper:var(--popomo-bg,#F8F7FD);
 --teal:var(--popomo-teal,#602B87);
 --teal-deep:var(--popomo-teal-deep,#522059);
 --pink:var(--popomo-pink,#5C2662);
 --pink-hover:#4A1C50;
 --studio-ink:var(--popomo-ink,#18071A);
 --studio-muted:var(--popomo-ink-muted,#5E4D6B);
 --studio-line:var(--popomo-border,#E6DDF0);
 color:var(--popomo-ink,#18071A);
}
:is(.v35-editor,.account-flow,.studio-flow,.v35-my-designs,.v35-design-review) *{box-sizing:border-box}
:is(.v35-editor,.account-flow,.studio-flow,.v35-my-designs,.v35-design-review) :focus-visible{outline:3px solid var(--popomo-teal,#602B87);outline-offset:3px}
:is(.v35-editor,.account-flow,.studio-flow,.v35-my-designs,.v35-design-review) :is(button,input,select){font-family:inherit}

/* Airy Pop Pink Primary CTA & Hairline Secondary CTA */
:is(.v35-editor,.account-flow,.studio-flow,.v35-my-designs,.v35-design-review) .button.primary{
 background:var(--popomo-pink,#5C2662);
 border:0;
 border-radius:999px;
 color:#FFFFFF;
 font-weight:700;
 box-shadow:var(--popomo-shadow-pink,0 6px 18px rgba(92,38,98,.28));
 transition:background .15s ease,transform .12s ease,box-shadow .12s ease;
}
:is(.v35-editor,.account-flow,.studio-flow,.v35-my-designs,.v35-design-review) .button.primary:hover:not(:disabled){
 background:#4A1C50;
 transform:translateY(-1px);
 box-shadow:0 8px 22px rgba(92,38,98,.34);
}
:is(.v35-editor,.account-flow,.studio-flow,.v35-my-designs,.v35-design-review) .button.primary:active:not(:disabled){
 transform:translateY(0);
}
:is(.v35-editor,.account-flow,.studio-flow,.v35-my-designs,.v35-design-review) .button.secondary{
 background:var(--popomo-surface,#FFFFFF);
 border:1px solid var(--popomo-border-strong,#DDD2EA);
 border-radius:999px;
 color:var(--popomo-ink,#18071A);
 font-weight:700;
 box-shadow:var(--popomo-shadow-sm,0 4px 14px rgba(24,7,26,.05));
 transition:background .15s ease,border-color .15s ease,color .15s ease,transform .12s ease;
}
:is(.v35-editor,.account-flow,.studio-flow,.v35-my-designs,.v35-design-review) .button.secondary:hover:not(:disabled){
 background:var(--popomo-teal-soft,#F3EDF9);
 border-color:var(--popomo-teal,#602B87);
 color:var(--popomo-teal-deep,#522059);
 transform:translateY(-1px);
}
:is(.v35-editor,.account-flow,.studio-flow,.v35-my-designs,.v35-design-review) .button.secondary:active:not(:disabled){
 transform:translateY(0);
}
:is(.v35-editor,.account-flow,.studio-flow,.v35-my-designs,.v35-design-review) .text-button{color:var(--popomo-teal-deep,#522059);font-weight:600;min-height:44px}
:is(.v35-editor,.account-flow,.studio-flow,.v35-my-designs,.v35-design-review) .text-button:hover{color:var(--popomo-ink,#18071A)}

/* Account Layout Base */
.v35-account-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:60px;max-width:1120px;width:calc(100% - 96px);margin:40px auto 76px;padding:0;align-items:start}
.v35-account-story{padding:32px 0;min-width:0}
.v35-account-story h2{font-size:clamp(38px,4.6vw,64px);line-height:1.12;letter-spacing:-1.8px;margin:18px 0;color:var(--popomo-ink,#18071A)}
.v35-account-story em{color:var(--popomo-pink,#5C2662);font-style:normal}
.v35-account-story p{font-size:16px;line-height:1.75;color:#3A2A42;max-width:430px}
.v35-account-art{font-size:140px;line-height:1.2;color:var(--popomo-teal,#602B87);text-align:center;border-radius:22px;background:radial-gradient(ellipse,rgba(96,43,135,.18),transparent 70%);margin:30px 0;user-select:none}
.v35-account-form{min-width:0}
.v35-account-layout .account-card{background:var(--popomo-surface,#FFFFFF);border:1px solid var(--popomo-border,#E6DDF0);border-radius:22px;box-shadow:var(--popomo-shadow-md,0 10px 28px rgba(24,7,26,.08));padding:32px}
.v35-account-layout .account-card h1{font-family:inherit;font-size:32px;font-weight:800;color:var(--popomo-ink,#18071A);line-height:1.2}
.v35-account-layout .account-card :is(p,small){color:var(--popomo-ink-muted,#5E4D6B)}
.v35-account-layout :is(.account-gift,.account-balance,.account-symbol,.account-verified){color:var(--popomo-teal-deep,#522059);background:var(--popomo-teal-soft,#F3EDF9)}
.v35-account-layout .account-card input{border:1px solid var(--popomo-border-strong,#DDD2EA);background:var(--popomo-surface-soft,#FAF8FD);min-width:0;border-radius:12px}
.v35-account-layout .account-balances{gap:12px}
.v35-account-layout .account-balance{padding:18px 14px;border:1px solid rgba(96,43,135,.22);border-radius:14px}
.v35-account-layout .account-balance strong{font-size:38px;color:var(--popomo-ink,#18071A)}
.v35-account-layout .account-secondary{flex-wrap:wrap}
.v35-account-layout :is(.credit-entries li,.account-ledger){border-color:var(--popomo-border,#E6DDF0)}
.v35-account-layout .account-shortcuts{flex-wrap:wrap}
.v35-account-layout .account-error{color:#C93B4B!important}

/* Generic Editor Workspace Overrides */
.v35-editor{max-width:1320px;width:calc(100% - 96px);padding-top:8px}
.v35-editor-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:0 0 18px}
.v35-editor-heading h1{font-size:28px;line-height:1.25;letter-spacing:-.6px;font-weight:800;margin:0;color:var(--popomo-ink,#18071A)}
.v35-editor-heading .v35-kicker{font-size:11px;font-weight:700;margin:0 0 6px;color:var(--popomo-teal-deep,#522059)}
.v35-editor .choose-layout{grid-template-columns:minmax(0,1fr) 360px;gap:16px 24px}
.v35-editor .large-preview{
 height:600px;
 min-height:0;
 max-height:70svh;
 background:radial-gradient(rgba(96,43,135,.055) 1px,transparent 1px) 0 0/16px 16px,var(--popomo-surface-soft,#FAF8FD);
 border:1px solid var(--popomo-border,#E6DDF0);
 border-radius:20px;
 box-shadow:none;
 top:12px;
}
.v35-editor .canvas-editor .large-preview{max-height:none}
.v35-editor .large-case.artwork-canvas{width:225px}
.v35-editor :is(.model-first,.editor-panel,.ai-picker-launch){background:var(--popomo-surface,#FFFFFF);border-color:var(--popomo-border,#E6DDF0)}
.v35-editor .model-first>summary{background:var(--popomo-surface-soft,#FAF8FD)}
.v35-editor :is(.model-summary-action,.model-summary-chevron,.editor-chevron,.model-options button>span:last-child,.model-first summary,.editor-panel>summary){color:var(--popomo-teal-deep,#522059)}
.v35-editor :is(.model-brands button[aria-pressed=true],.source-switch button[aria-pressed=true]){background:var(--popomo-teal,#602B87);color:#FFFFFF;border-color:var(--popomo-teal,#602B87);font-weight:700}
.v35-editor .model-options button[aria-pressed=true]{background:var(--popomo-teal-soft,#F3EDF9);color:var(--popomo-teal-deep,#522059);border:1.5px solid var(--popomo-teal,#602B87);font-weight:700}
.v35-editor .model-options button{border-color:var(--popomo-border,#E6DDF0);border-radius:10px}
.v35-editor :is(.model-first-body,.editor-panel[open]>.editor-panel-body){border-color:var(--popomo-border,#E6DDF0)}
.v35-editor .editor-tool-icon{background:var(--popomo-teal-soft,#F3EDF9);color:var(--popomo-teal-deep,#522059)}
.v35-editor :is(.source-switch,.canvas-open-hit span){border:1px solid var(--popomo-border,#E6DDF0);background:var(--popomo-surface,#FFFFFF);color:var(--popomo-teal-deep,#522059)}
.v35-editor .editor-next .v35-page-note{font-size:12px;line-height:1.7;color:var(--popomo-ink-muted,#5E4D6B);text-align:center}
.v35-editor :is(.model-first p,.model-first #model-first-note,.editor-panel>summary>small){color:var(--popomo-ink-muted,#5E4D6B)}
.v35-editor .graphic-chip{border:1px solid var(--popomo-border,#E6DDF0);border-radius:12px;background:var(--popomo-surface-soft,#FAF8FD)}
.v35-editor .graphic-chip:hover{border-color:var(--popomo-teal,#602B87);background:var(--popomo-teal-soft,#F3EDF9)}
.v35-editor .photo-placeholder h2{font-family:inherit;font-size:24px;font-weight:800;color:var(--popomo-ink,#18071A)}

/* Canvas, Look Browser & Station Scanner Airy Overrides */
body[data-v35-route=choose] :is(.canvas-editor,.look-browser){--ink:var(--popomo-ink,#18071A);--paper:var(--popomo-surface-soft,#FAF8FD);--muted:var(--popomo-ink-muted,#5E4D6B);--line:var(--popomo-border,#E6DDF0);background:var(--popomo-surface,#FFFFFF);color:var(--popomo-ink,#18071A);border:1px solid var(--popomo-border,#E6DDF0)}
body[data-v35-route=choose] :is(.canvas-editor,.look-browser) :focus-visible{outline-color:var(--popomo-teal,#602B87)}
body[data-v35-route=choose] :is(.canvas-stage,.canvas-tools,.look-info,.look-subjects){background-color:transparent;border-color:var(--popomo-border,#E6DDF0)}
body[data-v35-route=choose] :is(.canvas-editor,.look-browser) .primary{background:var(--popomo-pink,#5C2662);color:#FFFFFF;border:0;border-radius:999px;box-shadow:var(--popomo-shadow-pink,0 6px 18px rgba(92,38,98,.28))}
.station-scanner{border:1px solid var(--popomo-border,#E6DDF0);border-radius:22px;background:var(--popomo-surface,#FFFFFF);color:var(--popomo-ink,#18071A);box-shadow:0 24px 64px rgba(24,7,26,.18)}
.station-scanner::backdrop{background:rgba(24,7,26,.52);backdrop-filter:blur(6px)}
.station-scanner video{border:1px solid var(--popomo-border,#E6DDF0);border-radius:14px}

/* Saved Designs Grid (legacy card fallback) */
.v35-saved-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.v35-saved-card{min-width:0;border:1px solid var(--popomo-border,#E6DDF0);border-radius:22px;background:var(--popomo-surface,#FFFFFF);overflow:hidden;box-shadow:var(--popomo-shadow-sm,0 4px 14px rgba(24,7,26,.06))}
.v35-saved-preview{height:310px;display:grid;place-items:center;padding:24px;background:radial-gradient(rgba(96,43,135,.055) 1px,transparent 1px) 0 0/16px 16px,var(--popomo-surface-soft,#FAF8FD)}
.v35-saved-preview>.phone-case{width:145px;flex:none}
.v35-saved-card>div:last-child{padding:20px;border-top:1px solid var(--popomo-border,#E6DDF0)}
.v35-saved-card h2{font-size:20px;font-weight:800;letter-spacing:-.4px;margin:0;color:var(--popomo-ink,#18071A)}
.v35-saved-card p{font-size:13px;color:var(--popomo-ink-muted,#5E4D6B)}
.v35-saved-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.v35-saved-actions button{font-size:14px;min-height:44px}
.v35-my-designs>.v35-notice{margin-top:36px}

/* AI Route Overrides (Airy — Warm Porcelain Dot-Matrix Canvas) */
body[data-v35-route=ai]{
 background-color:var(--popomo-canvas,#F8F7FD);
 background-image:radial-gradient(rgba(24,7,26,.055) 1px,transparent 1px);
 background-size:16px 16px;
}
body[data-v35-route=ai] .studio-flow{max-width:1320px}
body[data-v35-route=ai] :is(.studio-preview,.studio-order-card,.studio-generation-meter,.studio-receipt){border:1px solid var(--popomo-border,#E6DDF0);box-shadow:var(--popomo-shadow-md,0 10px 28px rgba(24,7,26,.08))}
body[data-v35-route=ai] .studio-receipt{background:var(--popomo-surface,#FFFFFF)}
body[data-v35-route=ai] :is(.studio-preview-toolbar,.studio-preview-footer){border-color:var(--popomo-border,#E6DDF0)}
body[data-v35-route=ai] .studio-photo-frame{background-color:var(--popomo-surface-soft,#FAF8FD);border-color:var(--popomo-border,#E6DDF0)}
body[data-v35-route=ai] .studio-meter-track{background-color:#FFFFFF;border:1px solid var(--popomo-border,#E6DDF0)}
body[data-v35-route=ai] .studio-journey .is-current>span:first-child{background:var(--popomo-teal,#602B87);border:1px solid var(--popomo-teal,#602B87);color:#FFFFFF;box-shadow:0 2px 8px rgba(96,43,135,.28)}
body[data-v35-route=ai] .studio-meter-track>span{background:linear-gradient(90deg,#602B87 0%,#7D4AA3 52%,#5C2662 100%)}
body[data-v35-route=ai] :is(.studio-ready-badge,.studio-journey .is-done,.studio-journey .is-current){color:var(--popomo-teal-deep,#522059)}
body[data-v35-route=ai] .studio-view-switch button[aria-pressed=true]{background:var(--popomo-teal,#602B87);color:#FFFFFF}
body[data-v35-route=ai] .studio-primary{background:var(--popomo-pink,#5C2662);color:#FFFFFF;border:0;border-radius:999px;box-shadow:var(--popomo-shadow-pink,0 6px 18px rgba(92,38,98,.28))}
body[data-v35-route=ai] .studio-primary:hover:not(:disabled){background:#4A1C50}
body[data-v35-route=ai] .studio-secondary{background:var(--popomo-surface,#FFFFFF);color:var(--popomo-ink,#18071A);border:1px solid var(--popomo-border-strong,#DDD2EA);border-radius:999px;box-shadow:var(--popomo-shadow-sm,0 4px 14px rgba(24,7,26,.05))}
body[data-v35-route=ai] .studio-secondary:hover:not(:disabled){background:var(--popomo-teal-soft,#F3EDF9);border-color:var(--popomo-teal,#602B87);color:var(--popomo-teal-deep,#522059)}
body[data-v35-route=ai] :is(.studio-credit,.studio-callout,.studio-recovery){background:var(--popomo-teal-soft,#F3EDF9);color:var(--popomo-teal-deep,#522059);border-color:rgba(96,43,135,.22)}
body[data-v35-route=ai] .studio-recovery.is-failure{background:#FFF7E6;color:#7C4E1F;border-color:#E8C98F}
body[data-v35-route=ai] :is(.studio-consent input,.studio-compare-control input){accent-color:var(--popomo-teal,#602B87)}
body[data-v35-route=ai] .empty{max-width:760px;padding:64px 24px}
body[data-v35-route=ai] .empty h1{font-family:inherit;font-weight:800;font-size:clamp(34px,5vw,58px);color:var(--popomo-ink,#18071A)}

/* Design Journey Stepper & Review Page (#review — Airy) */
.v35-design-steps{max-width:1320px;margin:0 auto;border-bottom:1px solid var(--popomo-border,#E6DDF0);background:var(--popomo-surface,#FFFFFF)}
.v35-design-steps ol{list-style:none;display:flex;align-items:center;justify-content:center;margin:0;padding:14px 20px;gap:28px}
.v35-design-steps li{position:relative;flex:1;max-width:250px;font-size:14px;font-weight:600;line-height:1.4;color:var(--popomo-ink-muted,#5E4D6B)}
.v35-design-steps li+li:before{content:'';position:absolute;left:-20px;top:50%;width:12px;height:1.5px;background:var(--popomo-border-strong,#DDD2EA);border-radius:2px}
.v35-design-steps li>a,.v35-design-steps li>span{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none}
.v35-design-steps b{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:var(--popomo-surface-soft,#FAF8FD);border:1px solid var(--popomo-border,#E6DDF0);color:var(--popomo-teal-deep,#522059);font-size:13px;font-weight:700}
.v35-design-steps [aria-current=step]{color:var(--popomo-ink,#18071A);font-weight:800}
.v35-design-steps [aria-current=step] b{background:var(--popomo-teal,#602B87);border:1px solid var(--popomo-teal,#602B87);color:#FFFFFF;box-shadow:0 2px 8px rgba(96,43,135,.28)}
.v35-design-steps .complete{color:var(--popomo-teal-deep,#522059)}
.v35-design-steps .complete b{background:var(--popomo-teal-soft,#F3EDF9);border-color:rgba(96,43,135,.22);color:var(--popomo-teal-deep,#522059)}
.v35-design-steps a:focus-visible{outline:3px solid var(--popomo-teal,#602B87);outline-offset:3px}
body[data-v35-route=review]{
 background-color:var(--popomo-canvas,#F8F7FD);
 background-image:radial-gradient(rgba(24,7,26,.055) 1px,transparent 1px);
 background-size:16px 16px;
}
body[data-v35-route=review] .v35-header,body[data-v35-route=choose] .v35-header{margin-bottom:0}
body[data-v35-route=review] .v35-footer{display:none}
.v35-design-review{padding:0;width:min(1200px,calc(100% - 96px));max-width:1200px;margin:20px auto 36px;color:var(--popomo-ink,#18071A);background:var(--popomo-surface,#FFFFFF);border:1px solid var(--popomo-border,#E6DDF0);border-radius:22px;box-shadow:var(--popomo-shadow-md,0 10px 28px rgba(24,7,26,.08));overflow:hidden}
.v35-review-heading{padding:26px 36px 22px;background:var(--popomo-surface,#FFFFFF)}
.v35-review-heading .v35-kicker{display:inline-block;margin:0 0 10px;padding:4px 12px;border-radius:999px;background:var(--popomo-teal-soft,#F3EDF9);border:1px solid rgba(96,43,135,.22);color:var(--popomo-teal-deep,#522059);font-size:11px;font-weight:700;letter-spacing:1.4px}
.v35-review-heading h1{font-size:clamp(24px,3vw,36px);font-weight:800;line-height:1.25;letter-spacing:-.8px;margin:0 0 10px;color:var(--popomo-ink,#18071A)}
.v35-review-heading>p:last-child{font-size:15px;line-height:1.6;margin:0;color:var(--popomo-ink-muted,#5E4D6B)}
.v35-review-layout{gap:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;border-top:1px solid var(--popomo-border,#E6DDF0)}
.v35-review-case{height:460px;display:flex;align-items:center;justify-content:center;padding:28px;background:radial-gradient(rgba(96,43,135,.14) 1.2px,transparent 1.2px) 0 0/16px 16px,var(--popomo-surface-soft,#FAF8FD);overflow:hidden;border-right:1px solid var(--popomo-border,#E6DDF0)}
.v35-review-case>.phone-case{width:auto;height:100%;max-width:100%;flex:none;filter:drop-shadow(0 14px 24px rgba(24,7,26,.16))}
.v35-review-summary{padding:30px 36px;min-width:0;background:var(--popomo-surface,#FFFFFF)}
.v35-review-summary h2{font-size:21px;font-weight:800;line-height:1.35;margin:0 0 18px;letter-spacing:-.4px;color:var(--popomo-ink,#18071A)}
.v35-review-summary dl{margin:0}
.v35-review-summary dl>div{display:flex;justify-content:space-between;gap:20px;padding:13px 0;font-size:15px;line-height:1.5;border-bottom:1px solid var(--popomo-border,#E6DDF0)}
.v35-review-summary dl>div:last-child{border-bottom:0}
.v35-review-summary dt{min-width:0;color:var(--popomo-ink-muted,#5E4D6B)}
.v35-review-summary dd{text-align:right;font-weight:700;color:var(--popomo-ink,#18071A);margin:0;overflow-wrap:anywhere;max-width:58%}
.v35-review-actions{display:grid;grid-template-columns:1fr auto 1.2fr;gap:12px;padding:16px 28px calc(16px + env(safe-area-inset-bottom));border-top:1px solid var(--popomo-border,#E6DDF0);background:var(--popomo-surface-soft,#FAF8FD);position:sticky;bottom:0;z-index:10}
.v35-review-actions .button{width:100%;font-size:15px;min-height:46px;padding:11px 18px;cursor:pointer}
.v35-review-actions .v35-review-edit{background:var(--popomo-surface,#FFFFFF);border:1px solid var(--popomo-border-strong,#DDD2EA);border-radius:999px;color:var(--popomo-ink,#18071A);font-weight:700;box-shadow:var(--popomo-shadow-sm,0 4px 14px rgba(24,7,26,.05))}
.v35-review-actions .v35-review-edit:hover:not(:disabled){background:var(--popomo-teal-soft,#F3EDF9);border-color:var(--popomo-teal,#602B87);color:var(--popomo-teal-deep,#522059)}

/* AI Progress / Result Sheet Dialog (A2 → A3 — Airy, legacy modal only) */
body:has(.studio-render-dialog[open]:not([data-layout="horizontal"])){overflow:hidden}
.studio-render-flow{min-height:0;padding:0}
.studio-render-dialog,.studio-render-dialog *{box-sizing:border-box}
.studio-render-dialog:not([data-layout="horizontal"]){
 width:min(780px,calc(100% - 40px));
 height:min(920px,92dvh);
 max-width:none;
 max-height:none;
 margin:auto;
 padding:0;
 overflow:hidden;
 border:1px solid var(--popomo-border,#E6DDF0);
 border-radius:22px;
 background:var(--popomo-surface,#FFFFFF);
 color:var(--popomo-ink,#18071A);
 box-shadow:0 24px 64px rgba(24,7,26,.18);
}
.studio-render-dialog:not([data-layout="horizontal"])[open]{display:flex;flex-direction:column}
.studio-render-dialog:not([data-layout="horizontal"])::backdrop{background:rgba(24,7,26,.52);backdrop-filter:blur(6px)}
.studio-render-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;padding:16px 22px;border-bottom:1px solid var(--popomo-border,#E6DDF0);background:var(--popomo-surface,#FFFFFF)}
.studio-render-header h2{margin:0;font-size:20px;line-height:1.35;font-weight:800;color:var(--popomo-ink,#18071A)}
.studio-render-header h2:focus{outline:none}
.studio-render-close{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--popomo-border-strong,#DDD2EA);border-radius:50%;background:var(--popomo-surface-soft,#FAF8FD);color:var(--popomo-ink,#18071A);text-decoration:none}
.studio-render-close:hover{background:var(--popomo-teal-soft,#F3EDF9);border-color:var(--popomo-teal,#602B87);color:var(--popomo-teal-deep,#522059)}
.studio-render-dialog:not([data-layout="horizontal"]) .studio-render-body{
 flex:1;
 min-height:0;
 overflow-y:auto;
 overscroll-behavior:contain;
 padding:22px;
 background:radial-gradient(rgba(96,43,135,.13) 1px,transparent 1px) 0 0/16px 16px,var(--popomo-surface-soft,#FAF8FD);
}
.studio-render-dialog:not([data-layout="horizontal"]) .studio-render-body>h1{font-family:inherit;font-size:26px;font-weight:800;line-height:1.25;letter-spacing:-.5px;margin:0 0 10px;color:var(--popomo-ink,#18071A)}
.studio-render-style{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;line-height:1.4;margin:0 0 18px;padding:5px 12px;border-radius:999px;background:var(--popomo-teal-soft,#F3EDF9);border:1px solid rgba(96,43,135,.22);color:var(--popomo-teal-deep,#522059)}
.studio-render-dialog:not([data-layout="horizontal"]) .studio-render-image{
 display:block;
 width:100%;
 height:min(50dvh,500px);
 margin:0;
 padding:0;
 overflow:hidden;
 border:1px solid var(--popomo-border,#E6DDF0);
 border-radius:16px;
 background:#FFFFFF;
 cursor:zoom-in;
 box-shadow:var(--popomo-shadow-sm,0 4px 14px rgba(24,7,26,.06));
}
.studio-render-flow:is([data-render-status=queued],[data-render-status=generating]) .studio-render-dialog:not([data-layout="horizontal"]) .studio-render-image{
 border-color:var(--popomo-teal,#602B87);
 box-shadow:0 0 0 4px rgba(96,43,135,.18),0 10px 28px rgba(96,43,135,.18);
 animation:popomo-ai-breathe 3.2s ease-in-out infinite;
}
.studio-render-image img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.studio-render-dialog:not([data-layout="horizontal"]) .studio-render-actions{display:grid;grid-template-columns:1fr 1.25fr;gap:12px;border-top:1px solid var(--popomo-border,#E6DDF0);margin-top:22px;padding-top:16px}
.studio-render-dialog:not([data-layout="horizontal"]) .button{min-width:0;min-height:46px;gap:8px;padding:11px 16px;font-size:14.5px;font-weight:700;border:1px solid var(--popomo-border-strong,#DDD2EA);border-radius:999px;line-height:1.35;cursor:pointer}
.studio-render-dialog:not([data-layout="horizontal"]) .studio-render-again{background:#FFFFFF;color:var(--popomo-ink,#18071A);box-shadow:none}
.studio-render-dialog:not([data-layout="horizontal"]) .studio-render-again:hover:not(:disabled){background:var(--popomo-teal-soft,#F3EDF9);border-color:var(--popomo-teal,#602B87);color:var(--popomo-teal-deep,#522059)}
.studio-render-dialog:not([data-layout="horizontal"]) .studio-render-apply{background:var(--popomo-pink,#5C2662);color:#FFFFFF;border-color:transparent;box-shadow:var(--popomo-shadow-pink,0 6px 18px rgba(92,38,98,.28))}
.studio-render-dialog:not([data-layout="horizontal"]) .studio-render-apply:hover:not(:disabled){background:#4A1C50}
.studio-render-dialog button:disabled{opacity:.5;cursor:wait}
.studio-render-dialog :is(button,a):focus-visible{outline:3px solid var(--popomo-teal,#602B87);outline-offset:2px}
body[data-v35-route=ai] .studio-render-dialog .studio-generation-meter{box-shadow:none;padding:16px 18px;margin:20px 0 0;border:1px solid var(--popomo-border,#E6DDF0);border-radius:16px;background:#FFFFFF;color:var(--popomo-ink,#18071A)}
.studio-render-dialog .studio-meter-heading{margin:0 0 12px;gap:10px}
.studio-render-dialog .studio-meter-heading h2{font-size:16px;font-weight:700;margin:0;color:var(--popomo-ink,#18071A)}
.studio-render-dialog .studio-meter-number{font-size:20px;font-weight:800;letter-spacing:0;color:var(--popomo-teal-deep,#522059)}
.studio-render-dialog .studio-meter-track{height:10px;background:var(--popomo-surface-soft,#FAF8FD);border:1px solid var(--popomo-border,#E6DDF0)}
.studio-render-dialog .studio-meter-track>span{background:linear-gradient(90deg,#602B87 0%,#7D4AA3 52%,#5C2662 100%)}
.studio-render-dialog .studio-meter-steps,.studio-render-dialog .studio-meter-label{display:none}
.studio-render-dialog .studio-meter-message{font-size:13px;font-weight:600;line-height:1.5;min-height:0;margin:12px 0 5px;color:#3A2A42}
.studio-render-dialog .studio-meter-note{font-size:11px;line-height:1.5;color:var(--popomo-ink-muted,#5E4D6B)}
.studio-render-cancel{margin-top:12px;color:var(--popomo-teal-deep,#522059);font-weight:700}
.studio-render-expired{padding:22px;border:1px solid var(--popomo-border,#E6DDF0);border-radius:16px;background:#FFFFFF;line-height:1.6;margin-bottom:20px}
.studio-render-flow .studio-photo-dialog{color:var(--popomo-ink,#18071A);border:1px solid var(--popomo-border,#E6DDF0);background:#FFFFFF}
.studio-render-flow .studio-dialog-tabs{background:var(--popomo-surface-soft,#FAF8FD);border:1px solid var(--popomo-border,#E6DDF0)}
.studio-render-flow .studio-dialog-tabs button{color:#3A2A42}
.studio-render-flow .studio-dialog-tabs button[aria-pressed=true]{background:var(--popomo-teal,#602B87);color:#FFFFFF}
.studio-render-flow .studio-photo-dialog figure{background:var(--popomo-surface-soft,#FAF8FD)}

/* Phone Model / Case Finish Dialogs (.v35-home-phone, .v35-model-dialog, .case-style-picker, .v35-phone-colors — Airy) */
.v35-home-phone,.v35-model-dialog{
 padding:0;
 width:min(640px,calc(100% - 28px));
 max-width:calc(100% - 28px);
 max-height:90dvh;
 margin:auto;
 color:var(--popomo-ink,#18071A);
 background:var(--popomo-surface,#FFFFFF);
 border:1px solid var(--popomo-border,#E6DDF0);
 border-radius:22px;
 box-shadow:0 20px 56px rgba(24,7,26,.18);
 overflow:hidden;
}
.v35-home-phone[open],.v35-model-dialog[open]{display:flex;flex-direction:column}
.v35-home-phone::backdrop,.v35-model-dialog::backdrop{background:rgba(24,7,26,.52);backdrop-filter:blur(6px)}
.v35-home-phone header,.v35-model-dialog header{
 display:flex;
 justify-content:space-between;
 align-items:center;
 gap:12px;
 background:var(--popomo-surface-soft,#FAF8FD);
 padding:16px 24px;
 border-bottom:1px solid var(--popomo-border,#E6DDF0);
 flex:none;
}
.v35-home-phone h2,.v35-model-dialog h2{margin:0;font-size:20px;font-weight:800;line-height:1.3;letter-spacing:-.4px;color:var(--popomo-ink,#18071A)}
.v35-home-phone header button,.v35-model-dialog header button{
 display:grid;
 place-items:center;
 width:36px;
 height:36px;
 min-width:36px;
 min-height:36px;
 border:1px solid var(--popomo-border-strong,#DDD2EA);
 border-radius:50%;
 background:#FFFFFF;
 color:var(--popomo-ink,#18071A);
 font-size:20px;
 line-height:1;
 cursor:pointer;
 transition:border-color .15s,background .15s,color .15s;
}
.v35-home-phone header button:hover,.v35-model-dialog header button:hover{background:var(--popomo-teal-soft,#F3EDF9);border-color:var(--popomo-teal,#602B87);color:var(--popomo-teal-deep,#522059)}
.v35-home-phone{width:min(780px,calc(100% - 28px))}
.v35-home-phone-split{
 display:grid;
 grid-template-columns:250px minmax(0,1fr);
 gap:22px;
 align-items:start;
}
.v35-home-phone-preview{
 position:sticky;
 top:0;
 display:flex;
 flex-direction:column;
 align-items:center;
 gap:12px;
 padding:18px 14px;
 border-radius:18px;
 background-color:var(--popomo-surface-soft,#FAF8FD);
 background-image:radial-gradient(rgba(96,43,135,.055) 1px,transparent 1px);
 background-size:14px 14px;
 border:1px solid var(--popomo-border,#E6DDF0);
}
.v35-home-phone-stage{
 width:156px;
 display:grid;
 place-items:center;
}
.v35-home-phone-stage .phone-case{
 width:100%;
 max-width:156px;
 margin:0 auto;
}
.v35-home-phone-spec{
 margin:0;
 font-size:12px;
 font-weight:700;
 color:var(--popomo-ink,#18071A);
 text-align:center;
 line-height:1.4;
 background:#FFFFFF;
 border:1px solid var(--popomo-border,#E6DDF0);
 border-radius:999px;
 padding:5px 12px;
 box-shadow:0 2px 8px rgba(24,7,26,.05);
}
.v35-home-phone-form{display:flex;flex-direction:column;gap:16px;min-width:0}
.v35-home-step{display:flex;flex-direction:column;gap:10px}
.v35-home-step-label{margin:0;font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--popomo-teal-deep,#522059)}
.v35-home-step .case-style-picker{margin:0}
.v35-home-step .case-style-picker legend{display:none}
.v35-home-inline-brands{display:flex;flex-wrap:wrap;gap:6px}
.v35-home-inline-brands button{
 padding:6px 14px;
 border-radius:999px;
 border:1px solid var(--popomo-border,#E6DDF0);
 background:var(--popomo-surface-soft,#FAF8FD);
 color:#3A2A42;
 font-size:12.5px;
 font-weight:700;
 cursor:pointer;
 transition:border-color .15s,background .15s,color .15s;
}
.v35-home-inline-brands button:hover:not(.is-active){
 border-color:var(--popomo-teal,#602B87);
 background:var(--popomo-teal-soft,#F3EDF9);
 color:var(--popomo-teal-deep,#522059);
}
.v35-home-inline-brands button.is-active{
 background:var(--popomo-teal,#602B87);
 border-color:var(--popomo-teal,#602B87);
 color:#FFFFFF;
 box-shadow:0 2px 8px rgba(96,43,135,.25);
}
.v35-home-inline-models{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:8px;
 max-height:176px;
 overflow:auto;
 padding-right:2px;
}
.v35-home-inline-models button{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:6px;
 padding:8px 12px;
 border-radius:12px;
 border:1px solid var(--popomo-border,#E6DDF0);
 background:#FFFFFF;
 color:var(--popomo-ink,#18071A);
 font-size:13px;
 font-weight:600;
 text-align:left;
 cursor:pointer;
 transition:border-color .15s,background .15s;
}
.v35-home-inline-models button:hover:not(.is-active){border-color:var(--popomo-teal,#602B87);background:#FAF8FD}
.v35-home-inline-models button.is-active{
 border:2px solid var(--popomo-teal,#602B87);
 background:var(--popomo-teal-soft,#F3EDF9);
 color:var(--popomo-teal-deep,#522059);
 font-weight:800;
 box-shadow:none;
}
.v35-home-inline-models button b{color:var(--popomo-teal-deep,#522059)}
@media(max-width:767px){
 .v35-home-phone-split{grid-template-columns:1fr;gap:14px}
 .v35-home-phone-preview{position:static;flex-direction:row;padding:12px 14px;gap:14px}
 .v35-home-phone-stage{width:64px;flex:none}
 .v35-home-phone-spec{text-align:left}
 .v35-home-inline-models{max-height:132px}
}
.v35-home-phone-body,.v35-model-body{padding:22px 24px;overflow:auto;min-height:0;overscroll-behavior:contain;background:#FFFFFF}
.v35-phone-selects{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:12px;
 width:100%;
 padding:14px 18px;
 background:var(--popomo-surface-soft,#FAF8FD);
 border:1px solid var(--popomo-border,#E6DDF0);
 border-radius:999px;
 color:var(--popomo-ink,#18071A);
 font-weight:700;
 cursor:pointer;
 transition:background .15s,border-color .15s;
}
.v35-phone-selects:hover{background:var(--popomo-teal-soft,#F3EDF9);border-color:var(--popomo-teal,#602B87)}
.v35-phone-selects>span:first-child{font-size:12px;font-weight:700;color:var(--popomo-teal-deep,#522059);background:#FFFFFF;border:1px solid rgba(96,43,135,.22);border-radius:999px;padding:3px 10px}
.v35-phone-selects>span:last-child{font-size:15px;font-weight:700;color:var(--popomo-ink,#18071A);display:inline-flex;align-items:center;gap:6px}
.v35-model-brands{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.v35-model-brands button{
 flex:1;
 min-width:96px;
 min-height:40px;
 padding:7px 16px;
 border:1px solid var(--popomo-border,#E6DDF0);
 border-radius:999px;
 background:var(--popomo-surface-soft,#FAF8FD);
 color:#3A2A42;
 font-size:14px;
 font-weight:700;
 cursor:pointer;
 transition:background .15s,color .15s,border-color .15s;
}
.v35-model-brands button:hover:not([aria-pressed=true]){border-color:var(--popomo-teal,#602B87);background:var(--popomo-teal-soft,#F3EDF9);color:var(--popomo-teal-deep,#522059)}
.v35-model-brands button[aria-pressed=true]{background:var(--popomo-teal,#602B87);border-color:var(--popomo-teal,#602B87);color:#FFFFFF;box-shadow:0 2px 8px rgba(96,43,135,.25)}
.v35-model-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.v35-model-list button{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:8px;
 min-height:46px;
 padding:10px 14px;
 border:1px solid var(--popomo-border,#E6DDF0);
 border-radius:14px;
 background:#FFFFFF;
 color:var(--popomo-ink,#18071A);
 font-size:14px;
 font-weight:600;
 text-align:left;
 cursor:pointer;
 transition:border-color .15s,background .15s,box-shadow .15s;
}
.v35-model-list button:hover:not([aria-pressed=true]){border-color:var(--popomo-teal,#602B87);background:#FAF8FD}
.v35-model-list button[aria-pressed=true]{border:2px solid var(--popomo-teal,#602B87);background:var(--popomo-teal-soft,#F3EDF9);color:var(--popomo-teal-deep,#522059);font-weight:800;box-shadow:0 0 0 3px rgba(96,43,135,.14)}
.v35-model-list button b{color:var(--popomo-teal-deep,#522059);font-size:15px}
.v35-model-empty{padding:24px 16px;text-align:center;color:var(--popomo-ink-muted,#5E4D6B)}
.v35-model-empty button{margin-top:12px;min-height:42px;padding:9px 20px;border:0;border-radius:999px;background:var(--popomo-teal,#602B87);color:#FFFFFF;font-weight:700;cursor:pointer;box-shadow:0 4px 12px rgba(96,43,135,.26)}

/* Case Finish / Material Chips & Body Colors */
.case-style-picker{border:0;padding:0;margin:18px 0 0}
.case-style-picker legend{font-size:13px;font-weight:800;color:var(--popomo-ink,#18071A);margin-bottom:10px}
.case-style-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.case-style-options button{
 display:flex;
 flex-direction:column;
 align-items:center;
 justify-content:center;
 gap:3px;
 min-height:46px;
 padding:10px 14px;
 border:1px solid var(--popomo-border,#E6DDF0);
 border-radius:14px;
 background:var(--popomo-surface-soft,#FAF8FD);
 color:var(--popomo-ink,#18071A);
 font-size:14px;
 font-weight:700;
 cursor:pointer;
 transition:border-color .15s,background .15s,box-shadow .15s;
}
.case-style-options button:hover:not(:disabled):not([aria-pressed=true]){border-color:var(--popomo-teal,#602B87);background:#FFFFFF}
.case-style-options button[aria-pressed=true],
.v35-home-phone .case-style-options button[aria-pressed=true]{
 background:var(--popomo-teal,#602B87);
 border:1.5px solid var(--popomo-teal,#602B87);
 color:#FFFFFF;
 box-shadow:0 3px 10px rgba(96,43,135,.24);
}
.case-style-options button small{font-size:11px;font-weight:500;opacity:.88}
.v35-phone-colors legend,.v35-home-colors legend{font-size:13px;font-weight:800;color:var(--popomo-ink,#18071A);margin-bottom:12px}
.v35-phone-colors button{border:1px solid var(--popomo-border,#E6DDF0);background:#FFFFFF;color:var(--popomo-ink,#18071A);font-weight:600}
.v35-phone-colors button[aria-pressed=true]{border:1.5px solid var(--popomo-teal,#602B87);background:var(--popomo-teal-soft,#F3EDF9);color:var(--popomo-teal-deep,#522059);box-shadow:0 0 0 2px rgba(96,43,135,.16)}
.v35-phone-colors button:focus-visible{outline:3px solid var(--popomo-teal,#602B87);outline-offset:2px}
.v35-home-colors button{border:2px solid rgba(24,7,26,.22);box-shadow:inset 0 0 0 1px rgba(255,255,255,.45)}
.v35-home-colors button[aria-pressed=true]{outline:3px solid var(--popomo-teal,#602B87);outline-offset:2px}
.v35-home-colors p{font-size:12px;color:var(--popomo-ink-muted,#5E4D6B);margin:10px 0 0}
.v35-home-phone footer{padding:14px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--popomo-surface-soft,#FAF8FD);border-top:1px solid var(--popomo-border,#E6DDF0);flex:none}
.v35-home-phone footer>span{font-size:14px;font-weight:700;color:var(--popomo-ink,#18071A)}
.v35-home-phone footer .v35-primary{background:var(--popomo-pink,#5C2662);color:#FFFFFF;border:0;border-radius:999px;min-height:46px;padding:10px 24px;font-weight:800;box-shadow:var(--popomo-shadow-pink,0 6px 18px rgba(92,38,98,.28));cursor:pointer}
.v35-home-phone footer .v35-primary:hover:not(:disabled){background:#4A1C50}

/* Compact Phone Settings Pill Inside Editor */
.phone-settings{margin-bottom:16px;border:1px solid var(--popomo-border,#E6DDF0);border-radius:16px;overflow:hidden;background:#FFFFFF}
.phone-settings>summary{list-style:none;background:var(--popomo-surface-soft,#FAF8FD);cursor:pointer}
.phone-settings>summary::-webkit-details-marker{display:none}
.phone-settings-value{display:flex;flex:1;min-width:0;flex-direction:column;gap:2px}
.phone-settings-value small{font-size:12px;font-weight:500;line-height:1.45;color:var(--popomo-ink-muted,#5E4D6B);overflow-wrap:anywhere}
.phone-settings .model-summary-label{flex-shrink:0;color:var(--popomo-ink-muted,#5E4D6B)}
.phone-settings .model-summary-action{flex-shrink:0;margin-left:auto;color:var(--popomo-teal-deep,#522059);font-weight:700}
.phone-settings-body{padding:0 16px 16px;border-top:1px solid var(--popomo-border,#E6DDF0);background:#FFFFFF}
.phone-settings-body>.text-button{min-height:44px;margin:4px 0 8px}
.phone-settings .model-summary-chevron{display:inline-flex;align-items:center;justify-content:center;line-height:1;transform:translateY(-2px);transition:transform .15s ease}
.phone-settings[open] .model-summary-chevron{transform:rotate(180deg) translateY(1px)}
.phone-settings .model-summary-value{font-size:14px;font-weight:700;line-height:1.4;color:var(--popomo-ink,#18071A)}

/* Empty Photo Start State */
.v35-editor .large-preview:has(.photo-start){
 position:relative;
 isolation:isolate;
 background:radial-gradient(rgba(96,43,135,.14) 1.2px,transparent 1.2px) 0 0/16px 16px,var(--popomo-surface-soft,#FAF8FD);
}
.v35-editor .empty-photo-case{position:absolute;inset:20px;display:flex;align-items:center;justify-content:center;pointer-events:none;opacity:.22}
.v35-editor .empty-photo-case>.phone-case{height:100%;width:auto;max-width:100%;aspect-ratio:300/590;flex:none;margin:0}
.v35-editor .photo-start{position:relative;z-index:1;max-width:100%;padding:18px;text-align:center}
.v35-editor .photo-start p{font-size:16px;font-weight:600;line-height:1.5;margin:0 0 16px;color:#3A2A42}
.v35-editor .photo-start .button{min-height:48px;border:0;border-radius:999px;background:var(--popomo-pink,#5C2662);color:#FFFFFF;font-weight:700;gap:10px;padding:12px 26px;box-shadow:var(--popomo-shadow-pink,0 6px 18px rgba(92,38,98,.28))}
.v35-editor .photo-start .button:hover:not(:disabled){background:#4A1C50}
.v35-editor .photo-start .button:focus-visible{outline:3px solid var(--popomo-teal,#602B87);outline-offset:3px}

/* ============================================================================
   DIY EDITOR WORKSPACE (#choose / .v35-editor.v35-design-editor — Airy Hairlines)
   ============================================================================ */
body[data-v35-route=choose]:not(.v35-home-page){
 background-color:var(--pf-canvas);
 background-image:
  radial-gradient(color-mix(in srgb,var(--popomo-ink) 3.5%,transparent) 1px,transparent 1px),
  var(--pf-page-aura);
 background-size:16px 16px,100% 480px,100% 480px,100% 480px;
 background-repeat:repeat,no-repeat,no-repeat,no-repeat;
 background-position:0 0;
}
#app:has(.v35-design-editor)>main{
 background:transparent;
}
.is-editor>.v35-footer{display:none}
.v35-editor.v35-design-editor{
 width:min(100%,960px);
 max-width:960px;
 margin:12px auto 28px;
 padding:0;
 min-height:0;
 background:var(--popomo-surface,#FFFFFF);
 border:1px solid var(--popomo-border,#E6DDF0);
 border-radius:22px;
 box-shadow:var(--popomo-shadow-md,0 14px 40px rgba(24,7,26,.07));
 overflow:hidden;
}
.v35-design-top{
 position:relative;
 z-index:5;
 display:grid;
 grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
 align-items:center;
 gap:14px;
 padding:12px 20px;
 background:var(--popomo-surface,#FFFFFF);
 border-bottom:1px solid var(--popomo-border,#E6DDF0);
}
.v35-design-top h1{font-size:19px;line-height:1.35;font-weight:800;margin:0;letter-spacing:-.4px;color:var(--popomo-ink,#18071A)}
.v35-mode-switch{
 justify-self:center;
 display:inline-flex;
 align-items:center;
 gap:4px;
 padding:3px;
 border-radius:999px;
 background:#F3EDF9;
 border:1px solid var(--popomo-border,#E6DDF0);
 box-shadow:none;
}
.v35-mode-tab{
 appearance:none;
 border:0;
 background:transparent;
 color:var(--popomo-ink-muted,#5E4D6B);
 font:inherit;
 font-size:13px;
 font-weight:700;
 padding:7px 18px;
 border-radius:999px;
 cursor:pointer;
 display:inline-flex;
 align-items:center;
 gap:6px;
 white-space:nowrap;
 transition:background .15s,color .15s,box-shadow .15s;
}
.v35-mode-tab:hover{color:var(--popomo-ink,#18071A);background:rgba(96,43,135,.12)}
.v35-mode-tab[aria-selected="true"]{
 background:var(--popomo-teal,#602B87);
 color:#FFFFFF;
 box-shadow:0 2px 8px rgba(96,43,135,.28);
}
.v35-mode-tab[data-workspace-mode="ai"][aria-selected="true"],
.v35-mode-switch-compact .v35-mode-tab[aria-selected="true"]{
 background:var(--popomo-pink,#5C2662);
 color:#FFFFFF;
 box-shadow:0 2px 8px rgba(92,38,98,.28);
}
.look-header-main{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
@media(max-width:767px){
 .v35-design-top{flex-wrap:wrap;gap:8px}
 .v35-design-top h1{display:none}
 .v35-mode-switch{flex:1 1 auto;justify-content:center;padding:3px}
 .v35-mode-tab{flex:1 1 0;justify-content:center;font-size:12px;padding:6px 10px}
 .look-header-main h2{display:none}
}
.v35-design-top .phone-settings{position:static;max-width:100%;margin:0;overflow:visible;border:0;background:none}
.v35-design-top .phone-settings-summary{
 display:inline-flex;
 align-items:center;
 width:auto;
 margin:0;
 padding:6px 14px;
 min-height:36px;
 border:1px solid var(--popomo-border-strong,#DDD2EA);
 border-radius:999px;
 background:var(--popomo-surface-soft,#FAF8FD);
 font:inherit;
 text-align:left;
 cursor:pointer;
 gap:8px;
 box-shadow:none;
 transition:background .15s,border-color .15s;
}
.v35-design-top .phone-settings-summary:hover{background:var(--popomo-teal-soft,#F3EDF9);border-color:var(--popomo-teal,#602B87)}
.v35-design-top .phone-settings-summary::before{content:'';width:8px;height:8px;border-radius:50%;background:var(--popomo-teal,#602B87);border:1px solid rgba(24,7,26,.18);flex:none}
.v35-design-top .phone-settings-value{min-width:0}
.v35-design-top .model-summary-value{font-size:13px;font-weight:700;color:var(--popomo-ink,#18071A);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v35-design-top :is(.model-summary-label,.model-summary-action){display:none}
.v35-design-top .phone-settings:not([open]) .phone-settings-value small{display:none}
.v35-design-top .phone-settings-value small{font-size:11px}
.v35-design-top .phone-settings-body{
 position:absolute;
 top:calc(100% + 6px);
 right:16px;
 left:auto;
 width:min(420px,calc(100% - 32px));
 max-height:60svh;
 overflow:auto;
 padding:16px 18px;
 background:#FFFFFF;
 border:1px solid var(--popomo-border,#E6DDF0);
 border-radius:18px;
 box-shadow:0 14px 40px rgba(24,7,26,.12);
}
.v35-design-editor .choose-layout{display:block}
.v35-design-editor .large-preview{
 position:relative;
 top:0;
 width:100%;
 height:clamp(300px,calc(100svh - 340px),580px);
 max-height:none;
 min-height:0;
 margin:0;
 padding:54px 20px 20px;
 border:0;
 border-radius:0;
 background:radial-gradient(rgba(96,43,135,.14) 1.2px,transparent 1.2px) 0 0/16px 16px,var(--popomo-surface-soft,#FAF8FD);
 isolation:isolate;
}
.v35-canvas-top{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 16px;z-index:4}
.v35-canvas-top>p{font-size:12px;font-weight:600;color:var(--popomo-ink-muted,#5E4D6B);line-height:1.4;background:rgba(255,255,255,.9);border:1px solid var(--popomo-border,#E6DDF0);border-radius:999px;padding:4px 12px;backdrop-filter:blur(6px)}
.v35-canvas-buttons{display:flex;gap:6px}
.v35-canvas-buttons button{
 display:grid;
 place-items:center;
 width:34px;
 height:34px;
 border:1px solid var(--popomo-border-strong,#DDD2EA);
 border-radius:10px;
 background:#FFFFFF;
 color:var(--popomo-ink,#18071A);
 font-size:17px;
 line-height:1;
 box-shadow:none;
 cursor:pointer;
 transition:background .15s,border-color .15s,color .15s;
}
.v35-canvas-buttons button:hover:not(:disabled){background:var(--popomo-teal-soft,#F3EDF9);border-color:var(--popomo-teal,#602B87);color:var(--popomo-teal-deep,#522059)}
.v35-canvas-buttons button:disabled{opacity:.44;cursor:not-allowed}
.v35-design-editor .empty-photo-case{inset:58px 20px 20px}
.v35-design-editor .photo-start{position:absolute;top:56%;left:50%;transform:translate(-50%,-50%);width:max-content;max-width:92%;padding:10px}
.v35-design-editor .photo-start p{font-size:15px}
.v35-design-editor .photo-start .button{min-height:48px;font-size:15px}
.v35-design-editor .choose-details{width:100%;max-width:none;padding:0;margin:0;background:var(--popomo-surface,#FFFFFF)}
.v35-design-editor [hidden]{display:none!important}
.v35-tool-content{border-top:1px solid var(--popomo-border,#E6DDF0)}

/* Mode & Source Switcher Cards (legacy fallback) */
.v35-source-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:14px 16px}
.v35-source-tools>button,.v35-source-tools .ai-picker-launch{
 display:flex;
 flex-direction:column;
 justify-content:center;
 align-items:center;
 gap:7px;
 width:100%;
 height:76px;
 min-height:0;
 margin:0;
 padding:8px 6px;
 border:1px solid var(--popomo-border,#E6DDF0);
 border-radius:14px;
 background:var(--popomo-surface-soft,#FAF8FD);
 color:var(--popomo-ink,#18071A);
 font-size:13px;
 font-weight:700;
 line-height:1.3;
 box-shadow:none;
 transition:background .15s,color .15s,border-color .15s;
}
.v35-source-tools>button:hover:not([aria-pressed=true]),
.v35-source-tools .ai-picker-launch:hover{background:var(--popomo-teal-soft,#F3EDF9);border-color:var(--popomo-teal,#602B87);color:var(--popomo-teal-deep,#522059)}
.v35-source-tools>button[aria-pressed=true]{
 background:var(--popomo-teal,#602B87);
 color:#FFFFFF;
 border-color:var(--popomo-teal,#602B87);
 box-shadow:0 3px 10px rgba(96,43,135,.25);
}
.v35-source-tools .ai-look-entry{min-width:0;margin:0}
.v35-source-tools .ai-picker-launch small,.v35-source-tools .ai-picker-launch>span:last-child{display:none}
.v35-source-tools .ai-picker-launch .editor-tool-icon{background:none;border:0;width:22px;height:22px;color:var(--popomo-pink,#5C2662)}
.v35-source-tools .ai-studio-card{font-size:11px;margin:0;padding:6px;min-width:0}
.v35-source-tools .ai-studio-body{padding:0}
.v35-source-tools .ai-studio-card h2{font-size:13px}
.v35-base-tools>.editor-panel{margin:0 16px 14px;border:1px solid var(--popomo-border,#E6DDF0)}

/* Tool Tabs */
.v35-tool-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 38px;gap:6px;padding:8px 14px;border-block:1px solid var(--popomo-border,#E6DDF0);background:var(--popomo-surface,#FFFFFF)}
.v35-tool-tabs button{
 display:flex;
 align-items:center;
 justify-content:center;
 flex-direction:column;
 gap:3px;
 border:1.5px solid transparent;
 border-radius:10px;
 background:transparent;
 color:var(--popomo-ink-muted,#5E4D6B);
 min-height:44px;
 font-size:12px;
 font-weight:700;
 line-height:1.3;
 padding:5px 4px;
 transition:background .15s,color .15s,border-color .15s;
}
.v35-tool-tabs button:hover:not([aria-pressed=true]){background:var(--popomo-surface-soft,#FAF8FD);color:var(--popomo-ink,#18071A);border-color:var(--popomo-border,#E6DDF0)}
.v35-tool-tabs button[aria-pressed=true]{color:var(--popomo-teal-deep,#522059);background:var(--popomo-teal-soft,#F3EDF9);border:1.5px solid var(--popomo-teal,#602B87)}
.v35-tool-tabs button[data-action]{font-size:22px;color:var(--popomo-ink,#18071A)}
.v35-text-symbol{font-size:22px;font-weight:800;line-height:22px}

/* Stickers Tab (.v35-tabbed-library) — Styled to Match Airy Panel Cards */
.v35-tabbed-library{border:0;background:none;margin:0;border-radius:0}
.v35-tabbed-library>summary{display:none}
.v35-tabbed-library[open]>.editor-panel-body{border:0;padding:16px;max-height:none;overflow:visible}
[data-editor-tool-panel=stickers] .text-editor,[data-editor-tool-panel=text] .graphic-library{display:none}
.v35-tabbed-library .text-editor{padding:0;margin:0;border:0}
.v35-tabbed-library .text-add{background:var(--popomo-teal,#602B87);color:#FFFFFF;border:0;border-radius:999px;font-weight:700;box-shadow:0 4px 12px rgba(96,43,135,.28)}
.v35-tabbed-library .text-add:hover{background:#522059}
.v35-tabbed-library .library-title{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0 0 6px}
.v35-tabbed-library .library-title h2{margin:0;font-size:15px;font-weight:800;color:var(--popomo-ink,#18071A)}
.v35-tabbed-library .library-title span{font-size:12px;font-weight:600;color:var(--popomo-ink-muted,#5E4D6B)}
.v35-tabbed-library .graphic-library>p{margin:0 0 12px;font-size:12px;color:var(--popomo-ink-muted,#5E4D6B)}
.v35-tabbed-library .graphic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.v35-tabbed-library .graphic-grid button{
 display:flex;
 flex-direction:column;
 align-items:center;
 justify-content:center;
 gap:6px;
 padding:10px 6px;
 border:1.5px solid var(--popomo-border,#E6DDF0);
 border-radius:14px;
 background:var(--popomo-surface,#FFFFFF);
 color:var(--popomo-ink,#18071A);
 font-size:11.5px;
 font-weight:700;
 line-height:1.25;
 cursor:pointer;
 transition:border-color .15s,background .15s,transform .12s,box-shadow .15s;
}
.v35-tabbed-library .graphic-grid button:hover:not(:disabled){
 border-color:var(--popomo-teal,#602B87);
 background:var(--popomo-teal-soft,#F3EDF9);
 color:var(--popomo-teal-deep,#522059);
 transform:translateY(-1px);
 box-shadow:var(--popomo-shadow-sm,0 4px 12px rgba(24,7,26,.06));
}
.v35-tabbed-library .graphic-grid button img{width:40px;height:40px;object-fit:contain;display:block}
.v35-tabbed-library .graphic-grid button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.v35-tabbed-library .library-more{
 width:100%;
 margin-top:12px;
 min-height:38px;
 padding:8px 14px;
 border:1px solid var(--popomo-border-strong,#DDD2EA);
 border-radius:999px;
 background:var(--popomo-surface-soft,#FAF8FD);
 color:var(--popomo-teal-deep,#522059);
 font-size:12.5px;
 font-weight:700;
 cursor:pointer;
 transition:border-color .15s,background .15s;
}
.v35-tabbed-library .library-more:hover{border-color:var(--popomo-teal,#602B87);background:var(--popomo-teal-soft,#F3EDF9)}
.v35-tabbed-library .library-credit{margin:10px 0 0;font-size:11px;color:var(--popomo-ink-muted,#5E4D6B);text-align:center}

/* Bottom Action Bar */
.v35-design-editor .editor-next.v35-design-bottom{
 position:relative;
 inset:auto;
 z-index:6;
 display:block;
 width:100%;
 max-width:none;
 margin:auto 0 0;
 padding:12px 16px calc(12px + env(safe-area-inset-bottom));
 border-top:1px solid var(--popomo-border,#E6DDF0);
 background:var(--popomo-surface,#FFFFFF);
 box-shadow:none;
 transform:none;
}
.v35-design-bottom form{margin:0}
.v35-design-bottom .button{
 min-height:46px;
 padding:10px 18px;
 border:1px solid var(--popomo-border-strong,#DDD2EA);
 border-radius:999px;
 justify-content:center;
 color:var(--popomo-ink,#18071A);
 background:#FFFFFF;
 font-size:14.5px;
 font-weight:700;
 box-shadow:none;
}
.v35-design-bottom .button:hover:not(:disabled){background:var(--popomo-teal-soft,#F3EDF9);border-color:var(--popomo-teal,#602B87)}
.v35-design-bottom .button.primary{background:var(--popomo-pink,#5C2662);color:#FFFFFF;border:0;gap:10px;box-shadow:var(--popomo-shadow-pink,0 6px 18px rgba(92,38,98,.28))}
.v35-design-bottom .button.primary:hover:not(:disabled){background:#4A1C50}
.v35-design-editor :is(button,a,summary):focus-visible{outline:3px solid var(--popomo-teal,#602B87);outline-offset:2px}

/* Photo Editing Controls */
.v35-canvas-top .v35-crop-launch{display:flex;align-items:center;gap:7px;min-height:34px;padding:5px 12px;border:1px solid var(--popomo-border,#E6DDF0);border-radius:999px;background:rgba(255,255,255,.94);color:var(--popomo-teal-deep,#522059);font-size:12.5px;font-weight:700;box-shadow:var(--popomo-shadow-sm,0 4px 12px rgba(24,7,26,.06))}
.v35-canvas-top .v35-crop-launch:hover{background:var(--popomo-teal-soft,#F3EDF9);border-color:var(--popomo-teal,#602B87)}
.v35-crop-launch>span{font-size:18px;line-height:1}
.v35-photo-controls{border-top:1px solid var(--popomo-border,#E6DDF0);background:var(--popomo-surface-soft,#FAF8FD);padding:10px 14px 12px}
.v35-photo-transform{display:flex;align-items:center;gap:8px;padding:0 0 8px;min-width:0}
.v35-photo-transform button{width:34px;height:34px;flex:none;border:1px solid var(--popomo-border-strong,#DDD2EA);border-radius:10px;background:#FFFFFF;color:var(--popomo-ink,#18071A);font-size:18px;box-shadow:none;cursor:pointer}
.v35-photo-transform button:hover{background:var(--popomo-teal-soft,#F3EDF9);border-color:var(--popomo-teal,#602B87);color:var(--popomo-teal-deep,#522059)}
.v35-photo-transform label{font-size:12px;font-weight:700;color:var(--popomo-ink,#18071A);margin-left:4px}
.v35-photo-transform input{min-width:0;flex:1;width:100%;accent-color:var(--popomo-teal,#602B87)}
.v35-photo-transform output{width:40px;text-align:right;font-size:12px;font-weight:700;color:var(--popomo-teal-deep,#522059)}
.v35-photo-fit{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.v35-photo-fit button{min-height:34px;font-size:12px;font-weight:600;padding:5px 6px;border:1px solid var(--popomo-border-strong,#DDD2EA);border-radius:999px;background:#FFFFFF;color:var(--popomo-ink,#18071A);cursor:pointer}
.v35-photo-fit button:hover:not([aria-pressed=true]){background:var(--popomo-teal-soft,#F3EDF9);border-color:var(--popomo-teal,#602B87);color:var(--popomo-teal-deep,#522059)}
.v35-photo-fit button[aria-pressed=true],.v35-photo-fit button[aria-expanded=true]{background:var(--popomo-teal,#602B87);color:#FFFFFF;border-color:var(--popomo-teal,#602B87);font-weight:700;box-shadow:none}
.v35-crop-controls{padding:10px 4px 2px}
.v35-crop-controls p{font-size:11px;line-height:1.5;color:var(--popomo-ink-muted,#5E4D6B);margin-bottom:8px}
.v35-crop-controls label{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:600;color:var(--popomo-ink,#18071A);margin:6px 0}
.v35-crop-controls input{flex:1;min-width:0;accent-color:var(--popomo-teal,#602B87)}
.v35-crop-controls output{width:40px;text-align:right;font-weight:700;color:var(--popomo-teal-deep,#522059)}

/* PC Split Workspace (>=1024px): Full-viewport studio height with zero dead bottom whitespace */
@media(min-width:1024px){
 .v35-editor.v35-design-editor{width:min(1320px,calc(100% - 72px));max-width:1320px;margin:12px auto 18px}
 .v35-design-top{padding:11px 22px}
 .v35-design-editor .choose-layout{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(380px,440px);
  align-items:stretch;
  gap:0;
 }
 .v35-design-editor .large-preview{
  height:clamp(500px,calc(100dvh - 220px),860px);
  border-right:1px solid var(--popomo-border,#E6DDF0);
  padding:52px 28px 22px;
 }
 .v35-design-editor .large-case.artwork-canvas{
  width:clamp(205px,calc((100dvh - 360px) * 0.39),268px);
 }
 .v35-design-editor .choose-details{
  display:flex;
  flex-direction:column;
  height:clamp(500px,calc(100dvh - 220px),860px);
  min-height:0;
  overflow:hidden;
  background:var(--popomo-surface,#FFFFFF);
 }
 .v35-design-editor .v35-tool-tabs button[data-action="toggle-editor-tools"]{display:none}
 .v35-design-editor .v35-photo-controls{order:-1;border-top:0;border-bottom:1px solid var(--popomo-border,#E6DDF0)}
 .v35-design-editor .v35-tool-content{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;border-top:0}
 .v35-design-editor .v35-source-tools{padding:16px 18px}
 .v35-design-editor .v35-source-tools>button,.v35-design-editor .v35-source-tools .ai-picker-launch{height:82px;font-size:13px}
 .v35-design-editor .v35-tabbed-library[open]>.editor-panel-body{max-height:none;padding:16px}
}

/* Account Page Base (Airy Hairline — Warm Porcelain Canvas) */
body[data-v35-route="account"]{
 min-height:100dvh;
 background-color:var(--popomo-canvas,#F8F7FD);
 background-image:radial-gradient(rgba(24,7,26,.055) 1px,transparent 1px);
 background-size:16px 16px;
}
body[data-v35-route="account"] .v35-footer{justify-content:center;padding:0 0 24px}
body[data-v35-route="account"] .v35-footer>:not(.v35-legal-links){display:none}
body[data-v35-route="account"] #main{padding:26px 24px 36px;min-height:calc(100dvh - 220px)}
.v35-account-login{display:grid;align-items:stretch;grid-template-columns:.95fr 1.05fr;gap:0;width:100%;max-width:1040px;min-height:510px;margin:0 auto;border:1px solid var(--popomo-border,#E6DDF0);border-radius:22px;overflow:hidden;background:var(--popomo-surface,#FFFFFF);box-shadow:var(--popomo-shadow-md,0 10px 28px rgba(24,7,26,.08))}
.v35-account-login.v35-account-status{display:grid;grid-template-columns:1fr;place-items:center;min-height:min(510px,68dvh);text-align:center;padding:24px}
.v35-account-status h1{font-size:clamp(18px,4vw,24px);font-weight:700;margin:0}
.v35-account-status .button{margin-top:18px}
.v35-account-login .v35-account-story{position:relative;display:flex;flex-direction:column;padding:34px;border-right:1px solid var(--popomo-border,#E6DDF0);background:linear-gradient(155deg,#602B87 0%,#522059 100%);color:#FFFFFF}
.v35-account-login .v35-kicker{font-size:12px;letter-spacing:1.6px;color:#FFFFFF;margin:0;line-height:1.6;font-weight:700;opacity:.92}
.v35-account-story-copy{margin:28px 0}
.v35-account-login .v35-account-story h2{font-size:36px;line-height:1.18;letter-spacing:-1.2px;font-weight:800;margin:18px 0 16px;color:#FFFFFF}
.v35-account-login .v35-account-story-copy>p{font-size:15px;line-height:1.7;color:rgba(255,255,255,.92);margin:0;max-width:300px}
.v35-account-spark{color:var(--popomo-bg,#F8F7FD)}
.v35-account-login .account-gift{display:flex;gap:13px;padding:18px;border:1px solid rgba(255,255,255,.3);border-radius:16px;background:var(--popomo-surface,#FFFFFF);margin:auto 0 0;color:var(--popomo-ink,#18071A);box-shadow:var(--popomo-shadow-sm,0 4px 14px rgba(24,7,26,.08))}
.v35-account-login .v35-gift-icon{flex:none;color:var(--popomo-pink,#5C2662);padding-top:2px}
.v35-account-login .account-gift strong{display:block;font-size:23px;letter-spacing:-.5px;font-weight:800;margin:6px 0;color:var(--popomo-ink,#18071A)}
.v35-account-login .account-gift strong span{font:inherit;color:inherit}
.v35-account-login .account-gift small,.v35-account-login .account-gift>div>span{font-size:13px;color:var(--popomo-ink-muted,#5E4D6B);line-height:1.55}
.v35-account-login .v35-account-story-bottom{color:rgba(255,255,255,.9);font-size:12px;font-weight:600;letter-spacing:1.2px;margin:18px 0 0}
.v35-account-login .v35-account-form{min-width:0;padding:32px 34px;background:#FFFFFF;margin:0;border:0;border-radius:0;box-shadow:none}
.v35-account-login .back-link{display:inline-block;margin:0 0 22px;min-height:24px;line-height:24px;font-size:14px;font-weight:600;color:var(--popomo-teal-deep,#522059)}
.v35-account-login .account-card h1{font-size:30px;font-weight:800;line-height:1.2;letter-spacing:-.9px;margin:8px 0 10px;color:var(--popomo-ink,#18071A)}
.v35-account-login .v35-account-intro{font-size:15px;line-height:1.6;margin:0 0 24px;color:var(--popomo-ink-muted,#5E4D6B)}
.v35-account-login .account-card form{gap:0}
.v35-account-login .account-card label{font-size:14px;font-weight:700;display:block;margin:0 0 8px;color:var(--popomo-ink,#18071A)}
.v35-account-login .account-card input,.v35-profile-layout .account-card input{min-height:46px;border:1px solid var(--popomo-border-strong,#DDD2EA);border-radius:12px;background:var(--popomo-surface-soft,#FAF8FD);font-size:15px;color:var(--popomo-ink,#18071A);caret-color:var(--popomo-teal-deep,#522059)}
.v35-account-login .account-card .button{min-height:46px;margin-top:12px;border-radius:999px;font-size:15px;font-weight:700;gap:12px}
.v35-account-login .account-note{text-align:center;font-size:13px;color:var(--popomo-ink-muted,#5E4D6B);margin:20px 0 0;line-height:1.6}
.v35-account-login .account-sent{font-size:14px;line-height:1.6;margin:16px 0}
.v35-account-login #customer-code+small{margin:10px 0 0}
.v35-account-login .account-secondary .text-button{font-size:13px;min-height:44px}

/* Profile Dashboard */
.v35-profile-layout{width:100%;max-width:1040px;margin:0 auto;padding:0}
.v35-profile-heading{margin:0 0 26px}
.v35-profile-heading .v35-kicker{font-size:12px;letter-spacing:1.5px;color:var(--popomo-teal-deep,#522059);font-weight:700;margin:0 0 12px}
.v35-profile-heading h1{font-size:36px;letter-spacing:-1px;line-height:1.25;margin:0 0 14px;font-weight:800;color:var(--popomo-ink,#18071A)}
.v35-profile-heading>p:last-child{font-size:16px;color:#3A2A42;line-height:1.7;margin:0}
.v35-profile-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}
.v35-profile-layout .account-card{margin:0;padding:28px;background:var(--popomo-surface,#FFFFFF);border:1px solid var(--popomo-border,#E6DDF0);border-radius:22px;box-shadow:var(--popomo-shadow-sm,0 4px 14px rgba(24,7,26,.06));min-width:0}
.v35-profile-layout .account-card h2{font-size:22px;line-height:1.35;letter-spacing:-.4px;font-weight:800;margin:0 0 22px;color:var(--popomo-ink,#18071A);overflow-wrap:anywhere}
.v35-profile-identity{text-align:center;position:sticky;top:24px}
.v35-profile-avatar{display:block;margin:0 auto 16px;width:82px;height:82px;border-radius:50%;overflow:hidden;background:var(--popomo-teal-soft,#F3EDF9);border:1px solid rgba(96,43,135,.22)}
.v35-profile-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.v35-profile-layout .v35-profile-identity h2{font-size:26px;margin:0 0 8px;line-height:1.25}
.v35-profile-layout .v35-profile-identity p{font-size:15px;line-height:1.65;margin:0;color:var(--popomo-ink-muted,#5E4D6B);overflow-wrap:anywhere}
.v35-profile-layout .account-verified{display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:700;background:var(--popomo-teal-soft,#F3EDF9);border:1px solid rgba(96,43,135,.22);color:var(--popomo-teal-deep,#522059);border-radius:999px;padding:7px 14px;margin:14px 0 18px}
.v35-profile-identity nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border-top:1px solid var(--popomo-border,#E6DDF0);padding-top:18px}
.v35-profile-identity nav a{min-width:0;display:flex;justify-content:center;align-items:center;text-decoration:none;padding:11px 8px;font-size:15px;font-weight:700;min-height:46px;white-space:nowrap}
.v35-profile-layout .v35-signout{min-height:40px;font-size:14px;font-weight:700;border:1px solid var(--popomo-border-strong,#DDD2EA);border-radius:999px;background:var(--popomo-surface-soft,#FAF8FD);color:var(--popomo-ink,#18071A);margin:16px auto 0;padding:8px 18px;box-shadow:none}
.v35-profile-layout .v35-signout:hover{background:var(--popomo-teal-soft,#F3EDF9);border-color:var(--popomo-teal,#602B87);color:var(--popomo-teal-deep,#522059)}
.v35-profile-content{display:grid;gap:20px;min-width:0}
.v35-profile-layout .account-balances{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0 0 18px;gap:12px}
.v35-profile-layout .account-balance{padding:18px 16px;background:var(--popomo-teal-soft,#F3EDF9);border:1px solid rgba(96,43,135,.22);border-radius:16px;min-width:0}
.v35-profile-layout .account-balance strong{font-size:40px;font-weight:800;line-height:1.15;color:var(--popomo-ink,#18071A);display:block;margin-bottom:10px}
.v35-profile-layout .account-balance span{font-size:14px;font-weight:600;line-height:1.6;color:var(--popomo-teal-deep,#522059);display:block;max-width:150px}
.v35-profile-layout .account-credit-note{font-size:14px;line-height:1.75;color:var(--popomo-ink-muted,#5E4D6B);margin:0 0 18px}
.v35-profile-layout .account-ledger{border-color:var(--popomo-border,#E6DDF0);border-radius:12px}
.v35-profile-layout .account-ledger-toggle{font-size:15px;min-height:52px;color:var(--popomo-ink,#18071A);font-weight:700}
.v35-profile-layout .account-ledger-note{font-size:12px;color:var(--popomo-ink-muted,#5E4D6B)}
.v35-profile-layout .account-profile{border:0;padding:0;margin:0;gap:10px}
.v35-profile-layout .account-profile .button{justify-self:start;min-width:150px;min-height:46px;font-size:15px;margin-top:8px}
.v35-profile-layout .account-profile small{font-size:12px;color:var(--popomo-ink-muted,#5E4D6B)}
.v35-profile-layout .account-joined{font-size:13px;line-height:1.75;color:var(--popomo-ink-muted,#5E4D6B);margin:0}
.v35-account-avatar{width:28px;height:28px;border-radius:50%;display:block;border:1px solid var(--popomo-border-strong,#DDD2EA)}

/* My Designs Private Collection Base */
body[data-v35-route="my-designs"]{
 min-height:100dvh;
 background:var(--popomo-bg,#F8F7FD);
}
.v35-my-designs{min-height:calc(100dvh - 150px);padding:28px 0 64px}
.v35-private-heading{margin-bottom:24px}
.v35-private-heading .v35-kicker{font-size:12px;font-weight:700;letter-spacing:1.4px;margin:0 0 12px;color:var(--popomo-teal-deep,#522059)}
.v35-private-heading>div{display:flex;align-items:center;justify-content:space-between;gap:12px}
.v35-private-heading h1{font-size:36px;font-weight:800;letter-spacing:-1px;margin:0;color:var(--popomo-ink,#18071A)}
.v35-private-heading .button{padding:11px 20px;white-space:nowrap;font-size:15px;font-weight:700}
.v35-private-heading .v35-private-count{font-size:15px;margin:14px 0 0;color:var(--popomo-ink-muted,#5E4D6B)}
.v35-private-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.v35-private-card{min-width:0;border:1px solid var(--popomo-border,#E6DDF0);border-radius:22px;overflow:hidden;background:var(--popomo-surface,#FFFFFF);box-shadow:var(--popomo-shadow-sm,0 4px 14px rgba(24,7,26,.06))}
.v35-private-preview{position:relative;height:300px;padding:24px 20px 30px;background:radial-gradient(rgba(96,43,135,.13) 1px,transparent 1px) 0 0/16px 16px,var(--popomo-surface-soft,#FAF8FD);display:flex;align-items:center;justify-content:center;border-bottom:1px solid var(--popomo-border,#E6DDF0)}
.v35-private-preview>.phone-case{height:100%;width:auto;max-width:100%;flex:none;margin:0;transform:none;filter:drop-shadow(0 8px 16px rgba(24,7,26,.14))}
.v35-private-preview>.field-note{display:none}
.v35-private-badge{position:absolute;bottom:10px;left:10px;background:var(--popomo-ink,#18071A);color:#FFFFFF;border:0;border-radius:999px;padding:4px 10px;line-height:1.3;font-size:12px;font-weight:700}
.v35-private-body{padding:16px 14px 14px}
.v35-private-body h2{font-size:19px;font-weight:800;letter-spacing:-.3px;margin:0 0 20px;line-height:1.35;min-height:26px;color:var(--popomo-ink,#18071A)}
.v35-private-body .v35-private-author{font-size:15px;font-weight:700;color:var(--popomo-ink,#18071A);margin:0;line-height:1.5}
.v35-private-body .v35-private-model{font-size:14px;line-height:1.5;margin:4px 0 16px;min-height:22px;color:var(--popomo-ink-muted,#5E4D6B)}
.v35-private-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.v35-private-actions .button{min-width:0;min-height:44px;font-size:14px;padding:8px 6px;font-weight:700}
.v35-private-options{position:absolute;right:10px;top:10px}
.v35-private-options summary{list-style:none;cursor:pointer;display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--popomo-border,#E6DDF0);border-radius:50%;background:rgba(255,255,255,.94);color:var(--popomo-ink,#18071A);font-size:18px;line-height:1}
.v35-private-options summary::-webkit-details-marker{display:none}
.v35-private-options[open]{z-index:2;background:#FFFFFF;border:1px solid var(--popomo-border,#E6DDF0);border-radius:14px;box-shadow:var(--popomo-shadow-md,0 10px 28px rgba(24,7,26,.1))}
.v35-private-options .text-button{padding:8px 14px}
.v35-private-storage{margin-top:32px;color:var(--popomo-ink-muted,#5E4D6B);font-size:13px}
.v35-private-storage summary{cursor:pointer;min-height:44px;padding:12px 0;font-weight:600;color:var(--popomo-teal-deep,#522059)}
.v35-private-storage p{font-size:13px}

/* Tablet Adjustments (<=1023px) */
@media(max-width:1023px){
 .v35-account-layout{gap:32px}
 .v35-editor .choose-layout{grid-template-columns:minmax(0,1fr) 310px}
 .v35-editor .large-preview{height:500px}
 .v35-saved-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .v35-design-editor .choose-layout{display:block}
 .v35-design-editor .large-preview{height:min(54svh,520px)}
}

/* ============================================================================
   MOBILE H5 ERGONOMIC LAYOUT (<=767px)
   Comfortable phone-case preview height (>=290px), never crushed to 176px.
   ============================================================================ */
@media(max-width:767px){
 #app.is-editor{display:flex;flex-direction:column;min-height:100dvh;height:auto;background:var(--popomo-bg,#F8F7FD)}
 .is-editor>.v35-topbar{flex:none}
 .is-editor>.v35-header{flex:none;min-height:48px;margin:6px auto 0;padding-inline:14px;backdrop-filter:none}
 .is-editor>.ai-resume{flex:none;margin-block:4px;font-size:11px}
 .is-editor>#main{display:flex;flex-direction:column;flex:1;min-height:0}
 .is-editor>#main>.catalog-warning{flex:none}
 .v35-editor.v35-design-editor{
  display:flex;
  flex-direction:column;
  flex:1;
  min-height:0;
  width:100%;
  max-width:none;
  margin:0;
  border:0;
  border-radius:0;
  box-shadow:none;
 }
 .v35-design-editor>.v35-design-top{flex:none;background-image:var(--pf-page-aura);padding:8px 12px;border-bottom:1px solid var(--popomo-border,#E6DDF0)}
 .v35-design-top h1{font-size:16px}
 .v35-design-editor .phone-settings-summary{min-height:34px;padding:5px 11px}
 .v35-design-top .phone-settings-body{left:12px;right:12px;width:auto}
 .v35-design-editor>.choose-layout{display:flex;flex-direction:column;flex:1;min-height:0;gap:0;overflow:visible}
 .v35-design-editor .choose-layout>.large-preview{
  flex:0 0 auto;
  min-height:290px;
  height:clamp(290px,42svh,380px);
  max-height:none;
  padding:44px 16px 14px;
 }
 .v35-design-editor .empty-photo-case{inset:44px 16px 14px}
 .v35-design-editor .choose-details{flex:1 1 auto;max-height:none;display:flex;flex-direction:column;border-top:1px solid var(--popomo-border,#E6DDF0);background:var(--popomo-surface,#FFFFFF)}
 .v35-design-editor .v35-tool-content{overflow-y:visible;max-height:none;border-top:0}
 .v35-design-editor .v35-canvas-top{padding:6px 12px}
 .v35-design-editor .v35-canvas-top>p{font-size:11px;padding:3px 9px}
 .v35-canvas-buttons button{width:32px;height:32px;font-size:16px}
 .v35-design-editor .v35-photo-controls{padding:8px 12px}
 .v35-design-editor .v35-photo-transform{padding-bottom:6px}
 .v35-design-editor .v35-photo-fit{gap:5px}
 .v35-design-editor .v35-source-tools{gap:7px;padding:8px 12px}
 .v35-design-editor .v35-source-tools>button,.v35-design-editor .ai-picker-launch{height:58px;gap:4px;padding:5px 4px;font-size:12px;border-radius:12px}
 .v35-design-editor .v35-tool-tabs{flex:none;padding:6px 10px;gap:4px;border-top:0;border-bottom:1px solid var(--popomo-border,#E6DDF0)}
 .v35-design-editor .v35-tool-tabs button{min-height:38px;padding:4px 2px;gap:2px;font-size:11.5px}
 .v35-design-editor .editor-next.v35-design-bottom{flex:none;position:sticky;bottom:0;z-index:10;gap:12px;padding:10px 14px calc(10px + env(safe-area-inset-bottom))}
 .v35-design-bottom .button{min-height:44px;font-size:14px;padding:9px 14px}
 .v35-design-editor .v35-crop-controls{padding-top:4px}
 .v35-design-editor .v35-crop-controls p{font-size:10px;line-height:1.35;margin-bottom:4px}
 .v35-design-editor .v35-crop-controls label{margin:4px 0}
 .v35-design-editor .v35-tabbed-library[open]>.editor-panel-body{max-height:none;padding:12px}
 .v35-design-editor .v35-base-tools>.editor-panel{max-height:150px;overflow:auto;margin:0 12px 8px}

 /* Mobile Design Review */
 .v35-design-steps ol{padding:8px 12px;gap:14px}
 .v35-design-steps li{font-size:12px}
 .v35-design-steps li+li:before{left:-10px;width:7px}
 .v35-design-steps li>a,.v35-design-steps li>span{gap:7px}
 .v35-design-steps b{width:24px;height:24px;font-size:12px}
 .v35-design-review{width:100%;margin:0;border:0;border-radius:0;box-shadow:none}
 .v35-review-heading{padding:22px 18px 18px}
 .v35-review-heading h1{font-size:24px;line-height:1.3;margin-bottom:10px}
 .v35-review-heading>p:last-child{font-size:14px;line-height:1.6}
 .v35-review-layout{grid-template-columns:1fr}
 .v35-review-case{height:300px;padding:18px;border-right:0;border-bottom:1px solid var(--popomo-border,#E6DDF0)}
 .v35-review-summary{padding:20px 18px 16px}
 .v35-review-summary h2{font-size:18px;margin-bottom:14px}
 .v35-review-summary dl>div{font-size:14px;padding:10px 0;gap:12px}
 .v35-review-actions{grid-template-columns:1fr 1fr;gap:8px;padding:12px 14px calc(12px + env(safe-area-inset-bottom))}
 .v35-review-actions .button{font-size:14px;min-height:44px;padding:10px 10px}
 .v35-review-actions .button.primary{grid-column:1 / -1}

 /* Mobile AI Render Sheet (legacy modal only) */
 .studio-render-dialog:not([data-layout="horizontal"]){width:100%;height:94dvh;inset:0;margin:auto 0 0;border-radius:22px 22px 0 0;border-width:1px 0 0;box-shadow:0 -12px 36px rgba(24,7,26,.18)}
 .studio-render-dialog:not([data-layout="horizontal"]) .studio-render-header{padding:12px 18px}
 .studio-render-dialog:not([data-layout="horizontal"]) .studio-render-header h2{font-size:18px}
 .studio-render-dialog:not([data-layout="horizontal"]) .studio-render-body{padding:16px 18px calc(20px + env(safe-area-inset-bottom))}
 .studio-render-dialog:not([data-layout="horizontal"]) .studio-render-body>h1{font-size:21px;margin-bottom:10px}
 .studio-render-dialog:not([data-layout="horizontal"]) .studio-render-style{font-size:12px;margin-bottom:14px}
 .studio-render-dialog:not([data-layout="horizontal"]) .studio-render-image{position:relative;height:auto;aspect-ratio:.86}
 .studio-render-dialog:not([data-layout="horizontal"]) .studio-render-image img{height:100%;position:absolute;inset:0}
 .studio-render-dialog:not([data-layout="horizontal"]) .button{font-size:14px;padding:10px 12px;min-height:46px}

 /* Mobile Phone Model & Finish Dialogs (Bottom Sheet) */
 .v35-home-phone,.v35-model-dialog{width:100%;max-width:100%;margin:auto 0 0;border-radius:22px 22px 0 0;border-width:1px 0 0;box-shadow:0 -12px 36px rgba(24,7,26,.18)}
 .v35-home-phone header,.v35-model-dialog header{padding:14px 18px}
 .v35-home-phone h2,.v35-model-dialog h2{font-size:18px}
 .v35-home-phone-body,.v35-model-body{padding:16px 18px}
 .v35-home-phone footer{padding:12px 18px calc(12px + env(safe-area-inset-bottom))}

 /* Mobile Account & My Designs */
 .v35-account-layout{width:calc(100% - 32px);grid-template-columns:1fr;gap:20px;margin:18px auto 44px}
 .v35-account-story{padding:0}
 .v35-account-story h2{font-size:36px;letter-spacing:-1px}
 .v35-account-art{display:none}
 .v35-account-layout .account-card{padding:22px 18px}
 body[data-v35-route="account"] .v35-header{margin-bottom:0}
 body[data-v35-route="account"] #main{padding:16px 16px 24px;min-height:0}
 .v35-account-login{display:flex;flex-direction:column;max-width:484px;min-height:0;border-radius:22px}
 .v35-account-login .v35-account-story{padding:14px 18px;border-right:0;border-bottom:1px solid var(--popomo-border,#E6DDF0)}
 .v35-account-login .v35-account-story-copy,.v35-account-login .v35-account-story>.v35-kicker,.v35-account-login .v35-account-story-bottom{display:none}
 .v35-account-login:not(.has-welcome-gift) .v35-account-story{display:none}
 .v35-account-login .account-gift{padding:10px 12px;margin:0;align-items:center;gap:10px;box-shadow:var(--popomo-shadow-sm,0 4px 14px rgba(24,7,26,.06))}
 .v35-account-login .account-gift>div{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;min-width:0}
 .v35-account-login .account-gift>div>span{font-size:13px;line-height:1.3;max-width:120px}
 .v35-account-login .account-gift strong{font-size:17px;letter-spacing:-.3px;white-space:nowrap;margin:0}
 .v35-account-login .account-gift strong span{font-size:inherit}
 .v35-account-login .account-gift small{display:none}
 .v35-account-login .v35-account-form{padding:22px 18px}
 .v35-account-login .back-link{display:none}
 .v35-account-login .account-card h1{font-size:26px;letter-spacing:-.7px;margin:6px 0 8px}
 .v35-account-login .v35-account-intro{font-size:14px;line-height:1.5;margin-bottom:20px}
 .v35-profile-layout{max-width:600px;padding-top:8px}
 .v35-profile-heading{margin-bottom:20px}
 .v35-profile-heading h1{font-size:28px;margin-bottom:12px}
 .v35-profile-heading>p:last-child{font-size:14px}
 .v35-profile-grid{grid-template-columns:1fr;gap:16px}
 .v35-profile-layout .account-card{padding:22px 18px;border-radius:18px}
 .v35-profile-identity{position:static}
 .v35-profile-layout .account-balances{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .v35-profile-layout .account-balance strong{font-size:34px}
 .v35-my-designs{width:calc(100% - 32px);padding-top:20px}
 .v35-private-heading h1{font-size:26px}
 .v35-private-heading .button{font-size:14px;padding:10px 14px;min-height:44px}
 .v35-private-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .v35-private-preview{height:210px;padding:18px 14px 28px}
 .v35-private-body{padding:12px 10px 10px}
 .v35-private-body h2{font-size:16px;min-height:40px;margin-bottom:12px}
 .v35-private-body .v35-private-author{font-size:15px}
 .v35-private-body .v35-private-model{font-size:13px;min-height:36px;margin:2px 0 10px}
 .v35-private-actions .button{font-size:13px}
 .v35-private-badge{font-size:11px}
 .v35-private-options summary{width:28px;height:28px}
 .v35-saved-grid{gap:14px}
 .v35-saved-preview{height:250px;padding:14px}
 .v35-saved-preview>.phone-case{width:115px}
 .v35-saved-card>div:last-child{padding:14px}
 .v35-saved-actions button{width:100%;font-size:13px}
}

/* Narrow Mobile (<=360px) */
@media(max-width:360px){
 .v35-editor,.v35-account-layout{width:calc(100% - 20px)}
 .v35-design-top{padding-inline:10px}
 .v35-canvas-top>p{font-size:10px}
 .v35-design-editor .photo-start p{font-size:13px}
 .v35-source-tools{padding:8px;gap:6px}
 .v35-source-tools>button,.v35-source-tools .ai-picker-launch{font-size:11px;height:54px}
 .v35-design-editor .editor-next.v35-design-bottom{gap:10px;padding-inline:10px}
 .v35-photo-controls{padding-inline:10px}
 .v35-photo-transform{gap:5px}
 .v35-photo-transform button{width:32px;height:34px}
 .v35-photo-transform label{font-size:11px}
 .v35-design-steps li{font-size:11px}
 .v35-review-actions{padding-inline:10px;gap:6px}
 .v35-review-actions .button{font-size:12px;padding-inline:6px}
 .studio-render-dialog:not([data-layout="horizontal"]) .studio-render-body,.studio-render-dialog:not([data-layout="horizontal"]) .studio-render-header{padding-inline:14px}
 .studio-render-dialog:not([data-layout="horizontal"]) .studio-render-body>h1{font-size:19px}
 .studio-render-dialog:not([data-layout="horizontal"]) .button{font-size:12px}
 .v35-model-list{grid-template-columns:1fr}
 .phone-settings .model-summary-label{display:none}
 .phone-settings-body{padding-inline:12px}
 .v35-saved-grid{grid-template-columns:1fr}
 .v35-private-heading h1{font-size:23px}
 .v35-private-heading .button{font-size:12px}
 .v35-private-preview{height:185px;padding:16px 10px 26px}
 .v35-private-body{padding:10px 8px}
 .v35-private-actions{gap:4px}
 .v35-private-actions .button{font-size:12px}
 .v35-profile-identity nav a{font-size:13px;padding:10px 5px}
}
@media(prefers-reduced-motion:reduce){
 .v35-account-art,.studio-render-flow:is([data-render-status=queued],[data-render-status=generating]) .studio-render-image{animation:none}
}

/* ============================================================================
   FREEHAND BRUSH & DECORATIVE FRAME STUDIO (.v35-doodle-dialog — Airy)
   ============================================================================ */
body:has(.v35-doodle-dialog[open]){overflow:hidden}
.v35-doodle-dialog,.v35-doodle-dialog *{box-sizing:border-box}
.v35-doodle-dialog{
 max-width:920px;
 width:calc(100vw - 24px);
 max-height:92dvh;
 margin:auto;
 padding:0;
 overflow:auto;
 border:1px solid var(--popomo-border,#E6DDF0);
 border-radius:22px;
 background:var(--popomo-surface,#FFFFFF);
 color:var(--popomo-ink,#18071A);
 box-shadow:0 24px 64px rgba(24,7,26,.18);
}
.v35-doodle-dialog::backdrop{background:rgba(24,7,26,.52);backdrop-filter:blur(6px)}
.v35-doodle-dialog :focus-visible{outline:3px solid var(--popomo-teal,#602B87);outline-offset:2px}
.v35-doodle-shell{display:flex;flex-direction:column;min-height:0}
.v35-doodle-header{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:14px;
 padding:16px 24px;
 background:var(--popomo-surface-soft,#FAF8FD);
 border-bottom:1px solid var(--popomo-border,#E6DDF0);
 position:sticky;
 top:0;
 z-index:5;
}
.v35-doodle-header .v35-kicker{font-size:11px;font-weight:800;letter-spacing:1.4px;color:var(--popomo-teal-deep,#522059);margin:0 0 4px}
.v35-doodle-header h2{margin:0;font-size:20px;font-weight:800;letter-spacing:-.4px;line-height:1.25;color:var(--popomo-ink,#18071A)}
.v35-doodle-close{
 flex:none;
 display:grid;
 place-items:center;
 width:36px;
 height:36px;
 border:1px solid var(--popomo-border-strong,#DDD2EA);
 border-radius:50%;
 background:#FFFFFF;
 color:var(--popomo-ink,#18071A);
 font-size:16px;
 font-weight:700;
 line-height:1;
 cursor:pointer;
 box-shadow:none;
 transition:background .15s,border-color .15s,color .15s;
}
.v35-doodle-close:hover{background:var(--popomo-teal-soft,#F3EDF9);border-color:var(--popomo-teal,#602B87);color:var(--popomo-teal-deep,#522059)}
.v35-doodle-body{
 display:grid;
 grid-template-columns:minmax(240px,340px) 1fr;
 gap:22px;
 padding:22px 24px 24px;
 align-items:start;
 background:radial-gradient(rgba(96,43,135,.13) 1.2px,transparent 1.2px) 0 0/16px 16px,var(--popomo-surface-soft,#FAF8FD);
}
.v35-doodle-stage{display:flex;align-items:center;justify-content:center;min-width:0}
.v35-doodle-phone-frame{
 position:relative;
 width:100%;
 max-width:300px;
 aspect-ratio:720 / 1480;
 max-height:68dvh;
 margin:0 auto;
 border-radius:36px;
 border:2px solid rgba(24,7,26,.18);
 overflow:hidden;
 box-shadow:0 18px 36px rgba(24,7,26,.16);
 background:#FFFFFF;
}
.v35-doodle-canvas{display:block;width:100%;height:100%;touch-action:none;cursor:crosshair}
.v35-doodle-camera-guide{
 position:absolute;
 top:14px;
 left:14px;
 width:32%;
 aspect-ratio:1;
 border-radius:18px;
 border:1.5px dashed rgba(24,7,26,.35);
 background:rgba(255,255,255,.6);
 pointer-events:none;
 display:grid;
 place-items:center;
 padding:4px;
 font-size:10px;
 font-weight:700;
 color:var(--popomo-ink-muted,#5E4D6B);
 text-align:center;
}
.v35-doodle-controls{display:grid;gap:14px;min-width:0}
.v35-doodle-group{
 background:#FFFFFF;
 border:1px solid var(--popomo-border,#E6DDF0);
 border-radius:16px;
 padding:14px;
 box-shadow:var(--popomo-shadow-sm,0 4px 14px rgba(24,7,26,.05));
}
.v35-doodle-group h3{margin:0 0 10px;font-size:14px;font-weight:800;letter-spacing:-.2px;color:var(--popomo-ink,#18071A)}
.v35-doodle-modes,.v35-doodle-frames{display:flex;flex-wrap:wrap;gap:8px}
.v35-doodle-modes button,.v35-doodle-frames button{
 flex:1 1 auto;
 min-height:36px;
 padding:6px 14px;
 border:1px solid var(--popomo-border-strong,#DDD2EA);
 border-radius:999px;
 background:var(--popomo-surface-soft,#FAF8FD);
 color:var(--popomo-ink,#18071A);
 font-family:inherit;
 font-size:13px;
 font-weight:700;
 cursor:pointer;
 transition:background .15s,color .15s,border-color .15s,box-shadow .15s;
}
.v35-doodle-modes button:hover:not([aria-pressed="true"]),
.v35-doodle-frames button:hover:not([aria-pressed="true"]){background:var(--popomo-teal-soft,#F3EDF9);border-color:var(--popomo-teal,#602B87);color:var(--popomo-teal-deep,#522059)}
.v35-doodle-modes button[aria-pressed="true"],
.v35-doodle-frames button[aria-pressed="true"]{
 background:var(--popomo-teal,#602B87);
 border:1px solid var(--popomo-teal,#602B87);
 color:#FFFFFF;
 box-shadow:0 2px 8px rgba(96,43,135,.25);
}
.v35-doodle-size{
 display:flex;
 align-items:center;
 gap:10px;
 margin:12px 0;
 font-size:13px;
 font-weight:700;
 color:var(--popomo-ink,#18071A);
}
.v35-doodle-size input[type="range"]{flex:1;min-width:0;accent-color:var(--popomo-teal,#602B87);cursor:pointer}
.v35-doodle-size output{min-width:38px;text-align:right;font-size:12px;font-weight:800;color:var(--popomo-teal-deep,#522059);font-variant-numeric:tabular-nums}
.v35-doodle-swatches{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.v35-swatch{
 width:30px;
 height:30px;
 flex:none;
 padding:0;
 border-radius:50%;
 border:2px solid rgba(24,7,26,.2);
 background:var(--swatch);
 cursor:pointer;
 box-shadow:inset 0 0 0 1px rgba(255,255,255,.4);
 transition:transform .12s,box-shadow .12s;
}
.v35-swatch:hover{transform:scale(1.08)}
.v35-swatch[aria-pressed="true"]{outline:3px solid var(--popomo-teal,#602B87);outline-offset:2px;border-color:#FFFFFF;transform:scale(1.06)}
.v35-swatch-custom{
 position:relative;
 display:grid;
 place-items:center;
 width:30px;
 height:30px;
 flex:none;
 border-radius:50%;
 border:2px solid #FFFFFF;
 background:conic-gradient(#5C2662,#FFD166,#602B87,#522059,#5C2662);
 box-shadow:0 0 0 1.5px rgba(24,7,26,.2);
 color:#FFFFFF;
 font-size:14px;
 font-weight:800;
 line-height:1;
 cursor:pointer;
 overflow:hidden;
}
.v35-swatch-custom input[type="color"]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0;padding:0;border:0}
.v35-doodle-util-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.v35-doodle-util-row .button.secondary{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 gap:6px;
 min-height:42px;
 padding:8px 14px;
 border:1px solid var(--popomo-border-strong,#DDD2EA);
 border-radius:999px;
 background:#FFFFFF;
 color:var(--popomo-ink,#18071A);
 font-family:inherit;
 font-size:13px;
 font-weight:700;
 cursor:pointer;
 box-shadow:none;
 transition:background .15s,border-color .15s,color .15s;
}
.v35-doodle-util-row .button.secondary:hover:not(:disabled){background:var(--popomo-teal-soft,#F3EDF9);border-color:var(--popomo-teal,#602B87);color:var(--popomo-teal-deep,#522059)}
.v35-doodle-util-row .button.secondary:disabled{opacity:.45;cursor:not-allowed}
.v35-doodle-submit-row .button.primary{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 gap:8px;
 width:100%;
 min-height:48px;
 padding:11px 20px;
 border:0;
 border-radius:999px;
 background:var(--popomo-pink,#5C2662);
 color:#FFFFFF;
 font-family:inherit;
 font-size:15px;
 font-weight:800;
 cursor:pointer;
 box-shadow:var(--popomo-shadow-pink,0 6px 18px rgba(92,38,98,.28));
 transition:background .15s,transform .12s,box-shadow .12s;
}
.v35-doodle-submit-row .button.primary:hover:not(:disabled){background:#4A1C50;transform:translateY(-1px);box-shadow:0 8px 22px rgba(92,38,98,.34)}
.v35-doodle-submit-row .button.primary:active:not(:disabled){transform:translateY(0)}

@media(max-width:767px){
 .v35-doodle-dialog{
  width:100vw;
  max-width:100vw;
  max-height:94dvh;
  margin:auto 0 0;
  border-radius:22px 22px 0 0;
  border-width:1px 0 0;
  box-shadow:0 -12px 36px rgba(24,7,26,.18);
 }
 .v35-doodle-header{padding:12px 16px}
 .v35-doodle-header h2{font-size:18px}
 .v35-doodle-close{width:36px;height:36px;font-size:15px}
 .v35-doodle-body{grid-template-columns:1fr;gap:14px;padding:14px 16px calc(18px + env(safe-area-inset-bottom))}
 .v35-doodle-phone-frame{max-width:210px;max-height:46dvh;border-radius:28px}
 .v35-doodle-group{padding:12px;border-radius:16px}
 .v35-doodle-modes button,.v35-doodle-frames button{min-height:36px;padding:6px 11px;font-size:12px}
 .v35-doodle-submit-row .button.primary{min-height:46px;font-size:14px}
}

/* ==========================================================================
   Refined Desktop & H5 Studio Layout (Airy Kiosk-VI Hairlines & Dual-Mode)
   ========================================================================== */
.v35-top-left{
 justify-self:start;
 display:flex;
 align-items:center;
 gap:10px;
 min-width:0;
 min-height:36px;
}
.v35-top-back{
 display:inline-flex;
 align-items:center;
 gap:5px;
 min-height:36px;
 padding:6px 14px;
 border:1px solid var(--popomo-border-strong,#DDD2EA);
 border-radius:999px;
 background:var(--popomo-surface-soft,#FAF8FD);
 color:var(--popomo-ink,#18071A);
 font-size:13px;
 font-weight:700;
 text-decoration:none;
 white-space:nowrap;
 transition:border-color .15s,background .15s,color .15s;
}
.v35-top-back:hover{
 border-color:var(--popomo-teal,#602B87);
 background:var(--popomo-teal-soft,#F3EDF9);
 color:var(--popomo-teal-deep,#522059);
}
.v35-design-editor .v35-canvas-buttons{
 display:inline-flex;
 align-items:center;
 gap:6px;
}
.v35-top-right{justify-self:end;display:flex;justify-content:flex-end;align-items:center;min-width:0;min-height:36px}
.v35-design-top .phone-settings{max-width:none;flex:0 0 auto}

/* Single Clean 5-Tab Right Custom Function Bar */
.v35-mobile-sheet-head{display:none}
.v35-design-editor .v35-tool-tabs.v35-right-tool-bar{
 order:0;
 flex:none;
 display:grid;
 grid-template-columns:repeat(5,minmax(0,1fr));
 gap:4px;
 padding:7px 10px;
 border-top:0;
 border-bottom:1px solid var(--popomo-border,#E6DDF0);
 background:var(--popomo-surface,#FFFFFF);
}
.v35-design-editor .v35-right-tool-bar button{
 display:flex;
 align-items:center;
 justify-content:center;
 flex-direction:column;
 gap:3px;
 min-width:0;
 min-height:50px;
 padding:6px 2px;
 border:1.5px solid transparent;
 border-radius:10px;
 background:transparent;
 color:var(--popomo-ink-muted,#5E4D6B);
 font-size:11.5px;
 font-weight:700;
 line-height:1.15;
 white-space:nowrap;
 overflow:hidden;
 text-overflow:ellipsis;
 box-shadow:none;
 cursor:pointer;
 touch-action:manipulation;
 transition:background .15s,color .15s,border-color .15s;
}
.v35-tool-icon{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 line-height:1;
 flex:none;
}
.v35-tool-icon svg{width:18px;height:18px;display:block}
.v35-design-editor .v35-right-tool-bar button:hover:not([aria-pressed="true"]){
 background:var(--popomo-surface-soft,#FAF8FD);
 color:var(--popomo-ink,#18071A);
 border-color:var(--popomo-border,#E6DDF0);
}
.v35-design-editor .v35-right-tool-bar button[aria-pressed="true"],
.v35-design-editor .v35-right-tool-bar button[aria-selected="true"]{
 border-color:var(--popomo-teal,#602B87);
 background:var(--popomo-teal-soft,#F3EDF9);
 color:var(--popomo-teal-deep,#522059);
 font-weight:800;
}

/* Right Panel Sections (Templates / Photo / Frames / Stickers / Text) */
.v35-panel-header{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:10px;
 margin:0 0 12px;
}
.v35-panel-header h3{
 margin:0;
 font-size:15px;
 font-weight:800;
 letter-spacing:-.01em;
 color:var(--popomo-ink,#18071A);
}
.v35-panel-header span{
 font-size:12px;
 font-weight:600;
 color:var(--popomo-ink-muted,#5E4D6B);
 white-space:nowrap;
 overflow:hidden;
 text-overflow:ellipsis;
}
.v35-templates-panel,
.v35-photo-panel,
.v35-frame-panel{
 padding:16px;
}
.v35-templates-panel .visual-design-choices{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:12px;
 margin:0;
 padding:0;
}
.v35-templates-panel .design-thumbnail{
 display:flex;
 flex-direction:column;
 align-items:center;
 justify-content:space-between;
 gap:8px;
 height:156px;
 padding:12px 10px 10px;
 border:1.5px solid var(--popomo-border,#E6DDF0);
 border-radius:16px;
 box-shadow:var(--popomo-shadow-sm,0 4px 14px rgba(24,7,26,.05));
 transition:border-color .15s,box-shadow .15s,transform .12s;
}
.v35-templates-panel .design-thumbnail-name{
 font-size:11.5px;
 font-weight:700;
 line-height:1.25;
 color:var(--popomo-ink,#18071A);
 background:rgba(255,255,255,.92);
 padding:3px 9px;
 border-radius:999px;
 max-width:100%;
 overflow:hidden;
 text-overflow:ellipsis;
 white-space:nowrap;
}
.v35-templates-panel .design-thumbnail:hover{
 border-color:var(--popomo-teal,#602B87);
 transform:translateY(-1px);
}
.v35-templates-panel .design-thumbnail.selected{
 border:2px solid var(--popomo-teal,#602B87);
 box-shadow:0 0 0 3px rgba(96,43,135,.18);
}
.v35-photo-panel .v35-photo-controls{
 order:0;
 margin-top:12px;
 padding:12px;
 border:1px solid #E6DDF0;
 border-radius:14px;
 background:#F8F7FD;
}
.v35-photo-panel .v35-photo-transform button,
.v35-photo-panel .v35-photo-fit button{
 border:1px solid #DDD2EA;
 box-shadow:none;
}
.v35-photo-panel .v35-photo-fit button[aria-pressed="true"],
.v35-photo-panel .v35-photo-fit button[aria-expanded="true"]{
 border-color:#602B87;
 background:#602B87;
 color:#FFFFFF;
 box-shadow:none;
}
.v35-frame-doodle-bar{
 margin-top:14px;
}
.v35-frame-doodle-bar .button.secondary.full{
 width:100%;
 min-height:44px;
 border:1px solid #DDD2EA;
 border-radius:999px;
 background:#FAF8FD;
 color:#18071A;
 font-size:13.5px;
 font-weight:700;
 box-shadow:none;
}
.v35-frame-doodle-bar .button.secondary.full:hover:not(:disabled){
 border-color:#602B87;
 background:#F3EDF9;
 color:#522059;
 transform:none;
 box-shadow:none;
}
.v35-artwork-tools .v35-tabbed-library .text-add{
 border:0;
 box-shadow:0 4px 12px rgba(96,43,135,.28);
}
.v35-artwork-tools .graphic-chip{
 border:1px solid #E6DDF0;
 background:#F8F7FD;
}
.v35-sticker-panel,
.v35-sticker-panel.graphic-library{
 border:0;
 border-radius:0;
 background:none;
 box-shadow:none;
 margin:0;
 padding:14px 16px 16px;
}
.v35-sticker-panel .v35-panel-header{
 margin-bottom:6px;
}
.v35-underline-tabs{
 display:flex;
 align-items:center;
 gap:18px;
 border-bottom:1px solid var(--popomo-border,#E6DDF0);
 margin:0 -16px 14px;
 padding:0 16px;
 overflow-x:auto;
 scrollbar-width:none;
}
.v35-underline-tabs::-webkit-scrollbar{display:none}
.v35-underline-tab{
 position:relative;
 flex:none;
 padding:8px 2px 10px;
 border:0;
 border-radius:0;
 background:none;
 color:var(--popomo-ink-muted,#5E4D6B);
 font-size:13.5px;
 font-weight:600;
 line-height:1.25;
 cursor:pointer;
 transition:color .15s;
}
.v35-underline-tab:hover{color:var(--popomo-ink,#18071A)}
.v35-underline-tab.is-active,
.v35-underline-tab[aria-selected="true"]{
 color:var(--popomo-ink,#18071A);
 font-weight:800;
}
.v35-underline-tab.is-active::after,
.v35-underline-tab[aria-selected="true"]::after{
 content:"";
 position:absolute;
 left:0;
 right:0;
 bottom:0;
 height:2.5px;
 border-radius:999px;
 background:var(--popomo-ink,#18071A);
}
.v35-sticker-grid-4,
.v35-sticker-grid-4.graphic-grid{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:10px;
}
.v35-sticker-grid-4 .v35-sticker-tile,
.v35-sticker-grid-4.graphic-grid button.v35-sticker-tile{
 display:flex;
 flex-direction:column;
 align-items:center;
 justify-content:center;
 gap:6px;
 aspect-ratio:1/1;
 min-width:0;
 padding:8px 4px;
 border:1.5px solid transparent;
 border-radius:14px;
 background:var(--popomo-surface-soft,#F6F4FA);
 color:var(--popomo-ink,#18071A);
 font-size:11.5px;
 font-weight:700;
 line-height:1.2;
 cursor:pointer;
 transition:border-color .15s,background .15s,transform .12s,box-shadow .15s;
}
.v35-sticker-grid-4 .v35-sticker-tile:hover:not(:disabled),
.v35-sticker-grid-4.graphic-grid button.v35-sticker-tile:hover:not(:disabled){
 border-color:var(--popomo-teal,#602B87);
 background:var(--popomo-teal-soft,#F3EDF9);
 color:var(--popomo-teal-deep,#522059);
 transform:translateY(-1px);
 box-shadow:var(--popomo-shadow-sm,0 4px 12px rgba(24,7,26,.06));
}
.v35-sticker-grid-4 .v35-sticker-tile.is-picked:not(:disabled),
.v35-sticker-grid-4.graphic-grid button.v35-sticker-tile.is-picked:not(:disabled){
 background:var(--popomo-teal-soft,#F3EDF9);
 border-color:var(--popomo-pink,#5C2662);
 color:var(--popomo-pink,#5C2662);
 box-shadow:0 3px 10px rgba(92,38,98,.14);
}
.v35-sticker-tile:disabled{opacity:.48;cursor:not-allowed}
.v35-sticker-grid-4.graphic-grid button.v35-sticker-tile img{
 width:34px;
 height:34px;
 object-fit:contain;
 display:block;
 pointer-events:none;
}
.v35-sticker-grid-4.graphic-grid button.v35-sticker-tile span{
 display:block;
 max-width:100%;
 font-size:11.5px;
 font-weight:700;
 color:inherit;
 overflow:hidden;
 text-overflow:ellipsis;
 white-space:nowrap;
}

/* Frame Picker Grid & 8 Mini Phone-Case Swatches */
.v35-frame-grid{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:10px;
}
.v35-frame-card{
 position:relative;
 display:flex;
 flex-direction:column;
 align-items:center;
 gap:8px;
 padding:10px 8px;
 border:1.5px solid #E6DDF0;
 border-radius:14px;
 background:#FFFFFF;
 color:#3A2A42;
 font-size:12px;
 font-weight:700;
 line-height:1.25;
 cursor:pointer;
 transition:border-color .15s,background .15s,transform .12s,box-shadow .15s;
}
.v35-frame-card:hover:not([aria-pressed="true"]){
 border-color:#602B87;
 background:#FAF8FD;
 transform:translateY(-1px);
}
.v35-frame-card[aria-pressed="true"]{
 border:2px solid #602B87;
 background:#F3EDF9;
 color:#522059;
 box-shadow:0 0 0 3px rgba(96,43,135,.16);
}
.v35-frame-card[aria-pressed="true"]::after{
 content:'✓';
 position:absolute;
 top:6px;
 right:6px;
 width:18px;
 height:18px;
 border-radius:50%;
 background:#602B87;
 color:#FFFFFF;
 font-size:10px;
 font-weight:800;
 display:grid;
 place-items:center;
}
.v35-frame-swatch{
 position:relative;
 width:46px;
 height:82px;
 border-radius:11px;
 background:linear-gradient(155deg,#F3EDF9 0%,#F3EDF9 100%);
 border:1.5px solid #DDD2EA;
 overflow:hidden;
 display:grid;
 place-items:center;
 flex:none;
}
.v35-frame-swatch[data-frame="none"]{
 border-style:dashed;
 background:#F8F7FD;
}
.v35-frame-swatch[data-frame="none"] i{
 font-style:normal;
 font-size:9px;
 font-weight:800;
 letter-spacing:.06em;
 color:#5E4D6B;
 background:rgba(255,255,255,.9);
 padding:2px 5px;
 border-radius:4px;
 border:1px solid #E6DDF0;
}
.v35-frame-swatch[data-frame="polaroid"]{
 background:linear-gradient(150deg,#D8C2EB 0%,#F2D3DA 100%);
 border:4px solid #FFFFFF;
 border-bottom-width:15px;
 box-shadow:inset 0 0 0 1px #E6DDF0,0 2px 6px rgba(24,7,26,.14);
}
.v35-frame-swatch[data-frame="stamp"]{
 background:radial-gradient(circle at 30% 30%,#F9E5E7,#E8DAF1);
 border:3px dashed #FFFFFF;
 outline:1px solid #DDD2EA;
 box-shadow:inset 0 0 0 2px #F8F7FD;
}
.v35-frame-swatch[data-frame="film"]{
 background:linear-gradient(180deg,#2E1B36 0%,#18071A 100%);
 border:2px solid #18071A;
}
.v35-frame-swatch[data-frame="film"]::before,
.v35-frame-swatch[data-frame="film"]::after{
 content:'';
 position:absolute;
 top:5px;
 bottom:5px;
 width:4px;
 background:repeating-linear-gradient(180deg,#F8F7FD 0 4px,transparent 4px 8px);
 opacity:.9;
}
.v35-frame-swatch[data-frame="film"]::before{left:3px}
.v35-frame-swatch[data-frame="film"]::after{right:3px}
.v35-frame-swatch[data-frame="pop"]{
 background:#F9E5E7;
 border:4px solid #5C2662;
 box-shadow:inset 0 0 0 1.5px #FFFFFF;
}
.v35-frame-swatch[data-frame="starlight"]{
 border:2px solid #602B87;
 background:radial-gradient(circle at 22% 20%,#FFFFFF 1.5px,transparent 2px),radial-gradient(circle at 78% 76%,#5C2662 1.5px,transparent 2px),linear-gradient(155deg,#F3EDF9 0%,#F8F7FD 100%);
}
.v35-frame-swatch[data-frame="starlight"]::after{
 content:'✦';
 font-size:15px;
 color:#602B87;
}
.v35-frame-swatch[data-frame="checker"]{
 border:1.5px solid #18071A;
 background:repeating-conic-gradient(#18071A 0% 25%,#F8F7FD 0% 50%) 0 0 / 8px 8px;
}
.v35-frame-swatch[data-frame="checker"]::after{
 content:'';
 position:absolute;
 inset:6px;
 border-radius:6px;
 background:linear-gradient(150deg,#F3EDF9,#F8F7FD);
 border:1px solid rgba(24,7,26,.15);
}
.v35-frame-swatch[data-frame="gold"]{
 border:2px solid #D4A94E;
 background:linear-gradient(150deg,#FFFDF8 0%,#F7EFE0 100%);
 box-shadow:inset 0 0 0 3px #FFFFFF,inset 0 0 0 4.5px #D4A94E;
}

/* Live Pointer-Events-None Frame Overlays Directly Inside .phone-case (persists across #choose, #review, #my-designs, #checkout, #payment) */
.v35-live-frame{
 position:absolute;
 inset:0;
 z-index:4;
 pointer-events:none;
 border-radius:inherit;
 box-sizing:border-box;
 overflow:hidden;
}
.v35-private-preview .v35-live-frame,
.checkout-case .v35-live-frame,
.order-card-case .v35-live-frame{
 transform:scale(1);
}
.v35-private-preview .v35-live-frame[data-frame="polaroid"],
.checkout-case .v35-live-frame[data-frame="polaroid"]{border-width:8px;border-bottom-width:24px}
.v35-private-preview .v35-live-frame[data-frame="polaroid"]::after,
.checkout-case .v35-live-frame[data-frame="polaroid"]::after{bottom:-18px;font-size:7px}
.v35-private-preview .v35-live-frame[data-frame="film"],
.checkout-case .v35-live-frame[data-frame="film"]{border-inline-width:9px;border-block-width:7px}
.v35-private-preview .v35-live-frame[data-frame="pop"],
.checkout-case .v35-live-frame[data-frame="pop"],
.v35-private-preview .v35-live-frame[data-frame="stamp"],
.checkout-case .v35-live-frame[data-frame="stamp"]{border-width:7px}
.v35-live-frame[data-frame="polaroid"]{
 border:14px solid #FFFFFF;
 border-bottom-width:44px;
 box-shadow:inset 0 0 0 1px rgba(24,7,26,.12),0 4px 14px rgba(24,7,26,.14);
}
.v35-live-frame[data-frame="polaroid"]::after{
 content:'POPOMO';
 position:absolute;
 left:0;
 right:0;
 bottom:-31px;
 text-align:center;
 font-size:10px;
 font-weight:800;
 letter-spacing:.22em;
 color:#7D6A8C;
}
.v35-live-frame[data-frame="stamp"]{
 border:11px dashed #FFFFFF;
 box-shadow:inset 0 0 0 3px #F8F7FD,inset 0 0 0 4.5px rgba(24,7,26,.18);
}
.v35-live-frame[data-frame="film"]{
 border-inline:16px solid rgba(24,7,26,.92);
 border-block:12px solid rgba(24,7,26,.92);
 box-shadow:inset 0 0 0 1px rgba(252,248,241,.28);
}
.v35-live-frame[data-frame="film"]::before,
.v35-live-frame[data-frame="film"]::after{
 content:'';
 position:absolute;
 top:8px;
 bottom:8px;
 width:7px;
 background:repeating-linear-gradient(180deg,#F8F7FD 0 9px,transparent 9px 18px);
 border-radius:2px;
 opacity:.9;
}
.v35-live-frame[data-frame="film"]::before{left:-12px}
.v35-live-frame[data-frame="film"]::after{right:-12px}
.v35-live-frame[data-frame="pop"]{
 border:12px solid #5C2662;
 box-shadow:inset 0 0 0 3px #FFFFFF,inset 0 0 0 5px #18071A;
}
.v35-live-frame[data-frame="starlight"]{
 border:7px solid rgba(96,43,135,.88);
 box-shadow:inset 0 0 0 3px rgba(255,255,255,.88),inset 0 0 22px rgba(96,43,135,.22);
}
.v35-live-frame[data-frame="starlight"]::before{
 content:'✦  ✧';
 position:absolute;
 top:12px;
 right:14px;
 font-size:15px;
 letter-spacing:2px;
 color:#FFFFFF;
 text-shadow:0 1px 6px rgba(82,32,89,.75);
}
.v35-live-frame[data-frame="starlight"]::after{
 content:'✧  ✦';
 position:absolute;
 bottom:14px;
 left:14px;
 font-size:15px;
 letter-spacing:2px;
 color:#5C2662;
 text-shadow:0 1px 6px rgba(255,255,255,.9);
}
.v35-live-frame[data-frame="checker"]{
 padding:12px;
 background:repeating-conic-gradient(#18071A 0% 25%,#F8F7FD 0% 50%) 0 0 / 16px 16px;
 -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
 -webkit-mask-composite:xor;
 mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
 mask-composite:exclude;
}
.v35-live-frame[data-frame="gold"]{
 border:4px solid #D4A94E;
 box-shadow:inset 0 0 0 5px rgba(255,255,255,.78),inset 0 0 0 7px #D4A94E;
}

/* Right-Edge Docked Layer Drawer on Main Canvas */
.v35-floating-layers{
 position:absolute;
 right:0;
 top:50%;
 transform:translateY(-50%);
 left:auto;
 bottom:auto;
 z-index:9;
 display:flex;
 flex-direction:column;
 align-items:flex-end;
}
.v35-floating-layers:not(.is-open) .v35-layers-toggle{
 display:inline-flex;
 align-items:center;
 gap:6px;
 min-height:40px;
 padding:10px 10px 10px 12px;
 border:1px solid #E6DDF0;
 border-right:0;
 border-radius:14px 0 0 14px;
 background:rgba(255,255,255,.96);
 backdrop-filter:blur(10px);
 color:#18071A;
 font-size:12.5px;
 font-weight:700;
 white-space:nowrap;
 box-shadow:-4px 4px 16px rgba(24,7,26,.1);
 cursor:pointer;
 transition:border-color .15s,background .15s,color .15s;
}
.v35-floating-layers:not(.is-open) .v35-layers-toggle:hover{
 border-color:#602B87;
 background:#FFFFFF;
 color:#522059;
}
.v35-floating-layers.is-open{
 width:210px;
 max-height:70%;
 align-items:stretch;
 background:#FFFFFF;
 border:1px solid #E6DDF0;
 border-right:0;
 border-radius:16px 0 0 16px;
 box-shadow:-8px 8px 28px rgba(24,7,26,.12);
 overflow:hidden;
}
.v35-layers-head{
 flex:none;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:8px;
 padding:12px 14px;
 border-bottom:1px solid #EFE8F7;
 font-size:13.5px;
 font-weight:800;
 color:#18071A;
}
.v35-layers-collapse{
 border:0;
 padding:4px 6px;
 border-radius:8px;
 background:transparent;
 color:#5E4D6B;
 font-size:12px;
 font-weight:700;
 cursor:pointer;
 transition:background .15s,color .15s;
}
.v35-layers-collapse:hover{
 background:#FAF8FD;
 color:#18071A;
}
.v35-layers-subbar{
 flex:none;
 display:flex;
 align-items:center;
 justify-content:flex-end;
 padding:6px 14px 4px;
}
.v35-layers-clear{
 border:0;
 padding:2px 6px;
 border-radius:6px;
 background:transparent;
 color:#5E4D6B;
 font-size:12px;
 font-weight:600;
 cursor:pointer;
 transition:color .15s,background .15s;
}
.v35-layers-clear:hover:not(:disabled){
 color:#DC2626;
 background:#FEE2E2;
}
.v35-layers-clear:disabled{
 opacity:.38;
 cursor:not-allowed;
}
.v35-layers-list{
 flex:1 1 auto;
 min-height:0;
 list-style:none;
 margin:0;
 padding:4px 0 8px;
 overflow-y:auto;
 overscroll-behavior:contain;
 display:flex;
 flex-direction:column;
}
.v35-layers-list li{
 display:flex;
 flex-direction:column;
 gap:4px;
 padding:9px 12px;
 border-left:3px solid transparent;
 border-bottom:1px solid #F3EDF9;
 transition:background .15s,border-color .15s,opacity .15s;
}
.v35-layers-list li:last-child{border-bottom:0}
.v35-layers-list li:hover:not(.v35-layer-empty){
 background:#FAF8FD;
}
.v35-layers-list li.is-selected{
 background:#F3EDF9;
 border-left-color:#602B87;
}
.v35-layers-list li.is-hidden{
 opacity:.52;
}
.v35-layer-pick{
 width:100%;
 min-width:0;
 display:flex;
 align-items:center;
 gap:8px;
 padding:0;
 border:0;
 background:transparent;
 color:#18071A;
 font-size:12.5px;
 font-weight:600;
 text-align:left;
 cursor:pointer;
}
.v35-layer-pick em{
 font-style:normal;
 overflow:hidden;
 text-overflow:ellipsis;
 white-space:nowrap;
}
.v35-layer-tag{
 flex:none;
 width:22px;
 height:22px;
 border-radius:6px;
 background:#F8F7FD;
 border:1px solid #E6DDF0;
 color:#522059;
 font-size:11px;
 font-weight:800;
 display:grid;
 place-items:center;
}
.v35-layers-list li.is-selected .v35-layer-tag{
 background:#602B87;
 border-color:#602B87;
 color:#FFFFFF;
}
.v35-layer-ops{
 display:flex;
 align-items:center;
 justify-content:flex-end;
 gap:4px;
}
.v35-layer-ops button{
 flex:none;
 width:24px;
 height:24px;
 padding:0;
 border:0;
 border-radius:6px;
 background:transparent;
 color:#5E4D6B;
 font-size:12.5px;
 font-weight:700;
 line-height:1;
 display:grid;
 place-items:center;
 cursor:pointer;
 transition:background .15s,color .15s;
}
.v35-layer-ops button:hover:not(:disabled){
 background:rgba(24,7,26,.06);
 color:#18071A;
}
.v35-layer-ops button[data-layer-hide][aria-pressed="true"]{
 color:#5C2662;
}
.v35-layer-ops button[data-layer-remove]:hover:not(:disabled),
.v35-layer-ops button[data-live-frame="none"]:hover:not(:disabled){
 background:#FEE2E2;
 color:#DC2626;
}
.v35-layer-ops button:disabled{
 opacity:.32;
 cursor:not-allowed;
}
.v35-layer-empty{
 padding:14px 12px;
 font-size:12px;
 color:#5E4D6B;
 text-align:center;
}

/* Pinned Bottom Dock inside .choose-details */
.v35-design-editor .choose-details .editor-next.v35-design-bottom{
 display:block;
 flex:none;
 margin-top:auto;
 border-top:1px solid var(--popomo-border,#E6DDF0);
 background:var(--popomo-surface,#FFFFFF);
 padding:12px 16px calc(12px + env(safe-area-inset-bottom));
}
.v35-design-editor .v35-design-bottom .v35-design-price{
 color:#E44592;
}
.v35-design-checkout-group{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:8px;
 width:100%;
}
.v35-save-draft-btn{
 flex:none;
 display:inline-flex;
 align-items:center;
 justify-content:center;
 gap:5px;
 min-height:44px;
 padding:0 12px;
 border:1.5px solid var(--popomo-border-strong,#DDD2EA);
 border-radius:999px;
 background:var(--popomo-surface,#FFFFFF);
 color:var(--popomo-ink,#18071A);
 font-size:12.5px;
 font-weight:700;
 white-space:nowrap;
 cursor:pointer;
 transition:background .15s,border-color .15s,color .15s,transform .08s;
}
.v35-save-draft-btn:hover:not(:disabled){
 background:var(--popomo-surface-soft,#FAF8FD);
 border-color:var(--popomo-pink,#5C2662);
 color:var(--popomo-pink,#5C2662);
}
.v35-save-draft-btn.is-saved{
 background:var(--popomo-teal-soft,#F3EDF9);
 border-color:var(--popomo-pink,#5C2662);
 color:var(--popomo-pink,#5C2662);
}
.v35-save-draft-btn:disabled{opacity:.48;cursor:not-allowed}
.v35-launch-price{
 display:inline-flex;
 flex-direction:column;
 align-items:flex-start;
 justify-content:center;
 gap:2px;
 flex:none;
}
.v35-launch-price.is-compact{
 gap:1px;
}
.v35-launch-badge{
 display:inline-flex;
 align-items:center;
 padding:2px 8px;
 border-radius:999px;
 background:#FDE8F2;
 border:1px solid rgba(228,69,146,.22);
 color:#C82D78;
 font-size:9.5px;
 font-weight:700;
 line-height:1.25;
 letter-spacing:.02em;
 white-space:nowrap;
}
.v35-launch-price-row{
 display:inline-flex;
 align-items:baseline;
 gap:6px;
 white-space:nowrap;
}
.v35-design-price,
.v35-a3-checkout-bar .v35-design-price{
 flex:none;
 font-size:20px;
 font-weight:900;
 color:#E44592;
 line-height:1.05;
 letter-spacing:-.02em;
 font-variant-numeric:tabular-nums;
}
.v35-launch-price.is-compact .v35-design-price{
 font-size:17.5px;
}
.v35-launch-orig{
 font-size:11.5px;
 font-weight:700;
 color:var(--popomo-ink-muted,#5E4D6B);
 text-decoration:line-through;
 font-variant-numeric:tabular-nums;
}
.v35-design-checkout-group form{
 flex:1;
 min-width:0;
 margin:0;
 grid-column:auto;
}
.v35-design-editor .editor-next.v35-design-bottom .button.primary{
 width:100%;
 min-width:0;
 min-height:46px;
 padding:10px 14px;
 border:1px solid transparent;
 border-radius:999px;
 background:linear-gradient(180deg,var(--popomo-teal,#7D4AA3) 0%,var(--popomo-teal-dark,#522059) 100%);
 color:#FFFFFF;
 font-size:14px;
 font-weight:700;
 white-space:nowrap;
 box-shadow:0 8px 18px rgba(92,38,98,.26);
 transition:transform .16s cubic-bezier(.22,1,.36,1),box-shadow .16s ease,background-color .16s ease;
}
.v35-design-editor .editor-next.v35-design-bottom .button.primary:hover:not(:disabled){
 background:linear-gradient(180deg,var(--popomo-teal-deep,#602B87) 0%,var(--popomo-pink-hover,#4A1C50) 100%);
 transform:translateY(-1px);
 box-shadow:0 10px 22px rgba(92,38,98,.32);
}
.v35-design-editor .editor-next.v35-design-bottom .button.primary:active:not(:disabled){
 transform:translateY(1px);
 box-shadow:0 4px 10px rgba(92,38,98,.22);
}
.v35-design-editor .editor-next.v35-design-bottom .button.primary:disabled{
 opacity:.48;
 border-color:transparent;
 box-shadow:none;
 transform:none;
}
.v35-design-editor .photo-placeholder .button.primary{
 border:0;
 background:var(--popomo-pink,#5C2662);
 box-shadow:var(--popomo-shadow-pink,0 6px 18px rgba(92,38,98,.28));
}

/* Shared Upload Dropzone (Used in Photo Tab & AI Studio A1) */
.v35-ai-upload-drop{
 width:100%;
 display:flex;
 align-items:center;
 gap:12px;
 padding:12px 14px;
 border:1.5px dashed #602B87;
 border-radius:16px;
 background:#FAF8FD;
 color:#18071A;
 text-align:left;
 cursor:pointer;
 transition:border-color .15s,background .15s;
}
.v35-ai-upload-drop:hover:not(:disabled){
 background:#F3EDF9;
 border-style:solid;
}
.v35-ai-upload-drop.has-photo{
 border-style:solid;
 border-color:rgba(96,43,135,.22);
 background:#FFFFFF;
}
.v35-ai-upload-drop>img{
 width:48px;
 height:58px;
 object-fit:cover;
 border-radius:10px;
 border:1px solid #E6DDF0;
 flex:none;
 background:#F3EDF9;
}
.v35-ai-upload-plus{
 width:42px;
 height:42px;
 border-radius:12px;
 background:#F3EDF9;
 color:#522059;
 font-size:22px;
 font-weight:700;
 display:grid;
 place-items:center;
 flex:none;
}
.v35-ai-upload-drop>div{
 min-width:0;
 display:flex;
 flex-direction:column;
 gap:2px;
}
.v35-ai-upload-drop strong{
 font-size:13.5px;
 font-weight:800;
 color:#18071A;
}
.v35-ai-upload-drop span{
 font-size:12px;
 color:#5E4D6B;
 line-height:1.4;
}

/* Tablet & Mobile Responsive Refinements */
@media(max-width:1023px){
 .v35-design-editor .v35-design-top{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center;
  padding:8px 14px;
  gap:8px;
 }
 .v35-top-left{justify-self:start;min-height:34px}
 .v35-top-right{justify-self:end;min-height:34px}
 .v35-design-top .v35-mode-switch{grid-column:1 / -1;justify-self:center;order:3;width:100%;max-width:420px}
 .v35-design-top .v35-mode-tab{flex:1 1 0;justify-content:center}
 .v35-design-editor .large-preview{border-right:0}
 .v35-frame-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
 .v35-templates-panel .visual-design-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .v35-design-price{font-size:17px}
}
@media(max-width:767px){
 .v35-design-editor.is-ai-mode{
  overflow-y:visible;
 }
 .v35-design-editor>.v35-design-top{
  border-bottom:1px solid var(--popomo-border,#E6DDF0);
  padding:8px 12px;
  gap:8px;
 }
 .v35-top-left{gap:6px}
 .v35-top-right{max-width:100%}
 .v35-design-top .phone-settings{max-width:100%}
 .v35-top-back{min-height:32px;padding:4px 10px;font-size:12px}
 .v35-design-editor .v35-canvas-buttons button{width:30px;height:30px;font-size:15px}
 .v35-design-top .v35-mode-switch{grid-column:1 / -1;justify-self:center;order:3;width:100%}
 .v35-design-top .v35-mode-tab{padding:6px 10px;font-size:12.5px}
 .v35-design-editor .v35-tool-tabs.v35-right-tool-bar{
  padding:6px 8px;
  gap:3px;
 }
 .v35-design-editor .v35-right-tool-bar button{
  min-height:34px;
  font-size:12px;
  padding:4px 2px;
 }
 .v35-templates-panel,
 .v35-photo-panel,
 .v35-frame-panel{
  padding:10px 12px;
 }
 .v35-templates-panel .design-thumbnail{height:106px;padding:6px 4px}
 .v35-frame-card{padding:7px 4px;gap:5px;font-size:10.5px}
 .v35-frame-swatch{width:34px;height:60px;border-radius:8px}
 .v35-frame-card[aria-pressed="true"]::after{width:15px;height:15px;font-size:9px;top:4px;right:4px}
 .v35-floating-layers.is-open{width:188px;max-height:78%}
 .v35-floating-layers:not(.is-open) .v35-layers-toggle{min-height:34px;padding:7px 8px 7px 10px;font-size:11.5px}
 .v35-layers-head{padding:9px 11px;font-size:12.5px}
 .v35-layers-list li{padding:7px 10px}
 .v35-design-editor .choose-details .editor-next.v35-design-bottom{
  position:sticky;
  bottom:0;
  z-index:6;
  padding:9px 12px calc(9px + env(safe-area-inset-bottom));
 }
 .v35-design-editor .editor-next.v35-design-bottom .button.primary{
  min-height:42px;
  font-size:13.5px;
 }
 .v35-live-frame[data-frame="polaroid"]{border-width:10px;border-bottom-width:30px}
 .v35-live-frame[data-frame="polaroid"]::after{bottom:-22px;font-size:8px}
 .v35-live-frame[data-frame="film"]{border-inline-width:11px;border-block-width:9px}
 .v35-live-frame[data-frame="film"]::before{left:-8px;width:5px}
 .v35-live-frame[data-frame="film"]::after{right:-8px;width:5px}
 .v35-live-frame[data-frame="pop"]{border-width:8px}
 .v35-live-frame[data-frame="stamp"]{border-width:8px}
}

/* Home Phone Color Swatches Row */
.v35-home-step .v35-home-colors{border:0;padding:0;margin:0}
.v35-home-step .v35-home-colors legend{display:none}
.v35-home-colors>div{
 display:flex;
 flex-wrap:wrap;
 align-items:center;
 gap:10px;
 padding:4px 2px;
}
.v35-home-colors>div button{
 width:32px;
 height:32px;
 min-width:32px;
 min-height:32px;
 padding:0;
 border-radius:50%;
 background:var(--body-color);
 border:2px solid rgba(24,7,26,.22);
 box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);
 cursor:pointer;
 transition:transform .12s,border-color .15s,outline-color .15s;
}
.v35-home-colors>div button:hover{transform:scale(1.08)}
.v35-home-colors>div button[aria-pressed="true"]{
 outline:3px solid var(--popomo-teal,#602B87);
 outline-offset:2px;
 border-color:#FFFFFF;
 box-shadow:0 2px 8px rgba(24,7,26,.14);
}

/* ==========================================================================
   6-Tab Zero-Popup Studio: Native Right-Panel Text Editor & In-Place Draw
   ========================================================================== */
.v35-design-editor .large-case .text-quick-tools{display:none!important}
.v35-text-panel{
 padding:16px;
 display:flex;
 flex-direction:column;
 gap:14px;
}
.v35-text-input-box{
 display:flex;
 flex-direction:column;
 gap:10px;
 padding:12px;
 border:1.5px solid #E6DDF0;
 border-radius:16px;
 background:#FAF8FD;
 transition:border-color .15s,background .15s,box-shadow .15s;
}
.v35-text-input-box:focus-within{
 border-color:#602B87;
 background:#FFFFFF;
 box-shadow:0 0 0 3px rgba(96,43,135,.14);
}
.v35-text-input-box input[data-panel-text-input]{
 width:100%;
 min-width:0;
 border:0;
 padding:2px 0;
 background:transparent;
 color:#18071A;
 font-size:15px;
 font-weight:700;
 line-height:1.4;
 outline:none;
}
.v35-text-input-box input[data-panel-text-input]::placeholder{
 color:#7D6A8C;
 font-weight:500;
}
.v35-text-presets{
 display:flex;
 flex-wrap:wrap;
 align-items:center;
 gap:6px;
}
.v35-text-presets button,
.v35-text-panel button[data-text-preset]{
 padding:4px 10px;
 border:1px solid #DDD2EA;
 border-radius:999px;
 background:#FFFFFF;
 color:#3A2A42;
 font-size:11.5px;
 font-weight:700;
 line-height:1.3;
 cursor:pointer;
 transition:border-color .15s,background .15s,color .15s;
}
.v35-text-presets button:hover,
.v35-text-panel button[data-text-preset]:hover{
 border-color:#602B87;
 background:#F3EDF9;
 color:#522059;
}
.v35-text-add-chip{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 gap:4px;
 min-height:28px;
 padding:4px 11px;
 border:1px solid rgba(96,43,135,.38);
 border-radius:999px;
 background:var(--popomo-teal-soft,#F3EDF9);
 color:var(--popomo-teal-deep,#522059);
 font-size:12px;
 font-weight:800;
 line-height:1.2;
 white-space:nowrap;
 cursor:pointer;
 transition:background .15s,border-color .15s,color .15s;
}
.v35-text-add-chip:hover:not(:disabled){
 background:var(--popomo-teal,#602B87);
 border-color:var(--popomo-teal,#602B87);
 color:#FFFFFF;
}
.v35-text-add-chip:disabled{
 opacity:.45;
 cursor:not-allowed;
}
.v35-text-subtabs{
 display:flex;
 align-items:center;
 gap:18px;
 border-bottom:1px solid #E6DDF0;
 padding:0 2px;
}
.v35-text-subtabs button{
 position:relative;
 padding:8px 2px 10px;
 margin-bottom:-1px;
 border:0;
 border-bottom:2px solid transparent;
 background:transparent;
 color:#5E4D6B;
 font-size:13px;
 font-weight:700;
 cursor:pointer;
 transition:color .15s,border-color .15s;
}
.v35-text-subtabs button:hover{color:#18071A}
.v35-text-subtabs button[aria-selected="true"],
.v35-text-subtabs button[aria-pressed="true"]{
 color:#18071A;
 font-weight:800;
 border-bottom-color:#602B87;
}
.v35-text-font-grid{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:8px;
}
.v35-text-font-grid button{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 gap:7px;
 min-height:42px;
 padding:8px 12px;
 border:1.5px solid var(--popomo-border,#E6DDF0);
 border-radius:999px;
 background:var(--popomo-surface,#FFFFFF);
 color:var(--popomo-ink,#18071A);
 font-family:inherit;
 font-size:13px;
 font-weight:700;
 cursor:pointer;
 transition:border-color .15s,background .15s,color .15s,box-shadow .15s;
}
.v35-text-font-grid button .v35-font-sample{
 font-size:15px;
 font-weight:800;
 line-height:1;
 color:var(--popomo-teal-deep,#522059);
}
.v35-text-font-grid button em{
 font-style:normal;
 font-family:inherit;
 font-size:13px;
 font-weight:700;
 line-height:1.2;
}
.v35-text-font-grid button:hover:not([aria-pressed="true"]){
 border-color:var(--popomo-teal,#602B87);
 background:#FAF8FD;
}
.v35-text-font-grid button[aria-pressed="true"]{
 border-color:var(--popomo-teal,#602B87);
 background:var(--popomo-teal-soft,#F3EDF9);
 color:var(--popomo-teal-deep,#522059);
 box-shadow:0 0 0 2px rgba(96,43,135,.16);
}
.v35-text-color-row{
 display:flex;
 flex-wrap:wrap;
 align-items:center;
 gap:10px;
 padding:4px 2px;
}
.v35-text-color-row button[data-panel-color]{
 box-sizing:border-box;
 width:30px;
 height:30px;
 min-width:30px;
 min-height:30px;
 margin:0;
 padding:0;
 flex:none;
 border-radius:50%;
 background:var(--swatch,#18071A);
 border:2px solid rgba(24,7,26,.22);
 box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);
 cursor:pointer;
 transition:transform .12s,border-color .15s,outline-color .15s;
}
.v35-text-color-row button[data-panel-color]:hover{transform:scale(1.08)}
.v35-text-color-row button[data-panel-color][aria-pressed="true"]{
 outline:3px solid #602B87;
 outline-offset:2px;
 border-color:#FFFFFF;
 box-shadow:0 2px 8px rgba(24,7,26,.14);
}
.v35-text-color-row .v35-swatch-custom,
.v35-text-color-row label:has([data-panel-color-custom]){
 position:relative;
 box-sizing:border-box;
 display:grid;
 place-items:center;
 width:30px;
 height:30px;
 min-width:30px;
 min-height:30px;
 margin:0;
 padding:0;
 flex:none;
 vertical-align:middle;
 border-radius:50%;
 border:2px solid #FFFFFF;
 background:conic-gradient(#5C2662,#FFD166,#602B87,#522059,#5C2662);
 box-shadow:0 0 0 1.5px rgba(24,7,26,.2);
 color:#FFFFFF;
 font-size:14px;
 font-weight:800;
 line-height:1;
 cursor:pointer;
 overflow:hidden;
}
.v35-text-color-row .v35-swatch-custom span,
.v35-text-color-row label:has([data-panel-color-custom]) span{
 display:grid;
 place-items:center;
 width:100%;
 height:100%;
 line-height:1;
 pointer-events:none;
}
.v35-text-color-row input[data-panel-color-custom]{
 position:absolute;
 inset:0;
 width:100%;
 height:100%;
 opacity:0;
 margin:0;
 padding:0;
 border:0;
 cursor:pointer;
}
.v35-text-size-row{
 display:flex;
 align-items:center;
 gap:12px;
 padding:8px 12px;
 border-radius:12px;
 background:#FAF8FD;
 border:1px solid #E6DDF0;
 font-size:12.5px;
 font-weight:700;
 color:#18071A;
}
.v35-text-size-row input[type="range"]{
 flex:1;
 min-width:0;
 accent-color:#602B87;
 cursor:pointer;
}
.v35-text-size-row output{
 min-width:42px;
 text-align:right;
 font-size:12.5px;
 font-weight:800;
 color:#522059;
 font-variant-numeric:tabular-nums;
}

/* In-Place Draw Canvas Overlay on .large-case & Right Draw Panel */
.v35-inline-draw-canvas{
 position:absolute;
 inset:0;
 width:100%;
 height:100%;
 z-index:6;
 touch-action:none;
 cursor:crosshair;
 border-radius:17% / 9%;
}
.v35-draw-panel{
 padding:16px;
 display:flex;
 flex-direction:column;
 gap:12px;
}
.v35-draw-panel .v35-doodle-group{
 background:#FAF8FD;
 border:1px solid #E6DDF0;
 border-radius:14px;
 padding:12px;
 box-shadow:none;
}
.v35-draw-panel .v35-doodle-modes{
 display:flex;
 flex-wrap:wrap;
 gap:6px;
}
.v35-draw-panel .v35-doodle-modes button{
 flex:1 1 auto;
 min-height:36px;
 padding:6px 10px;
 border:1.5px solid #DDD2EA;
 border-radius:999px;
 background:#FFFFFF;
 color:#3A2A42;
 font-size:12.5px;
 font-weight:700;
 box-shadow:none;
 cursor:pointer;
}
.v35-draw-panel .v35-doodle-modes button:hover:not([aria-pressed="true"]){
 border-color:#602B87;
 background:#F3EDF9;
 color:#522059;
}
.v35-draw-panel .v35-doodle-modes button[aria-pressed="true"]{
 background:#602B87;
 border:1.5px solid #602B87;
 color:#FFFFFF;
 box-shadow:0 2px 8px rgba(96,43,135,.25);
}
.v35-draw-panel .v35-doodle-size{
 margin:0;
 padding:8px 12px;
 border-radius:12px;
 background:#FAF8FD;
 border:1px solid #E6DDF0;
 font-size:12.5px;
}
.v35-draw-panel .v35-doodle-swatches{
 display:flex;
 flex-wrap:wrap;
 align-items:center;
 gap:9px;
 padding:2px;
}
.v35-draw-panel .v35-swatch{
 width:30px;
 height:30px;
 border:2px solid rgba(24,7,26,.22);
 box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);
}
.v35-draw-panel .v35-swatch[aria-pressed="true"]{
 outline:3px solid #602B87;
 outline-offset:2px;
 border-color:#FFFFFF;
 box-shadow:0 2px 8px rgba(24,7,26,.14);
 transform:scale(1.06);
}
.v35-draw-panel .v35-swatch-custom{
 width:30px;
 height:30px;
 border:2px solid #FFFFFF;
 background:conic-gradient(#5C2662,#FFD166,#602B87,#522059,#5C2662);
 box-shadow:0 0 0 1.5px rgba(24,7,26,.2);
 color:#FFFFFF;
 font-size:14px;
}
.v35-draw-actions{
 display:flex;
 flex-direction:column;
 gap:8px;
}
.v35-draw-actions .v35-doodle-util-row,
.v35-draw-panel .v35-doodle-util-row{
 display:grid;
 grid-template-columns:1fr 1fr;
 gap:8px;
}
.v35-draw-panel .button.secondary{
 min-height:40px;
 padding:8px 12px;
 border:1.5px solid #DDD2EA;
 border-radius:999px;
 background:#FFFFFF;
 color:#18071A;
 font-size:12.5px;
 font-weight:700;
 box-shadow:none;
}
.v35-draw-panel .button.secondary:hover:not(:disabled){
 border-color:#602B87;
 background:#F3EDF9;
 color:#522059;
 transform:none;
 box-shadow:none;
}
.v35-draw-panel .button.primary{
 width:100%;
 min-height:44px;
 padding:10px 16px;
 border:0;
 border-radius:999px;
 background:#5C2662;
 color:#FFFFFF;
 font-size:13.5px;
 font-weight:800;
 box-shadow:0 6px 18px rgba(92,38,98,.26);
}
.v35-draw-panel .button.primary:hover:not(:disabled){
 background:#4A1C50;
 transform:translateY(-1px);
 box-shadow:0 8px 20px rgba(92,38,98,.32);
}
@media(max-width:767px){
 .v35-text-panel,
 .v35-draw-panel{
  padding:10px 12px;
  gap:10px;
 }
 .v35-text-input-box{padding:10px;gap:8px}
 .v35-text-font-grid button{min-height:36px;padding:6px 10px;font-size:12px}
}

/* ==========================================================================
   iPhone / iOS Safari Touch, Momentum Scroll & Input Auto-Zoom Protection
   ========================================================================== */
.v35-editor :is(button,a,summary),
.v35-home-phone :is(button,a){
 touch-action:manipulation;
}
.v35-design-editor .v35-tool-content,
.v35-layers-list,
.v35-home-phone-body,
.v35-model-body,
.v35-home-inline-models{
 -webkit-overflow-scrolling:touch;
 overscroll-behavior:contain;
}
@media(max-width:767px){
 #app.is-editor{
  height:100svh;
  height:100dvh;
  overflow:hidden;
 }
 .v35-design-editor>.choose-layout{
  display:flex;
  flex-direction:column;
  flex:1;
  min-height:0;
  overflow:hidden;
 }
 .v35-design-editor.is-mobile-sheet-closed .choose-layout>.large-preview{
  flex:1 1 auto;
  min-height:260px;
  height:auto;
  padding:38px 16px 12px;
 }
 .v35-design-editor.is-mobile-sheet-open .choose-layout>.large-preview{
  flex:1 1 auto;
  min-height:200px;
  height:auto;
  padding:34px 12px 10px;
 }
 .v35-design-editor .choose-details{
  flex:0 0 auto;
  max-height:none;
  display:flex;
  flex-direction:column;
  border-top:1px solid var(--popomo-border,#E6DDF0);
  background:var(--popomo-surface,#FFFFFF);
 }
 .v35-design-editor.is-mobile-sheet-closed .v35-tool-content,
 .v35-design-editor.is-mobile-sheet-closed .v35-mobile-sheet-head{
  display:none;
 }
 .v35-design-editor .choose-details.is-mobile-open{
  height:min(52dvh,430px);
  max-height:calc(100dvh - 270px);
  min-height:270px;
  border-top:0;
  border-radius:20px 20px 0 0;
  box-shadow:0 -10px 28px rgba(24,7,26,.14);
  overflow:hidden;
  z-index:8;
 }
 .v35-design-editor .choose-details.is-mobile-open .v35-mobile-sheet-head{
  order:0;
  flex:none;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-bottom:1px solid var(--popomo-border,#E6DDF0);
  background:var(--popomo-surface,#FFFFFF);
 }
 .v35-mobile-sheet-grip-btn{
  grid-column:1;
  justify-self:start;
  display:inline-flex;
  align-items:center;
  padding:6px 4px;
  border:0;
  background:none;
  cursor:pointer;
 }
 .v35-mobile-sheet-grip{
  width:34px;
  height:4px;
  border-radius:999px;
  background:var(--popomo-border-strong,#DDD2EA);
  display:block;
 }
 .v35-mobile-sheet-head strong{
  grid-column:2;
  justify-self:center;
  font-size:13.5px;
  font-weight:800;
  color:var(--popomo-ink,#18071A);
  white-space:nowrap;
 }
 .v35-mobile-sheet-done{
  grid-column:3;
  justify-self:end;
  min-height:30px;
  padding:4px 12px;
  border:1px solid var(--popomo-border-strong,#DDD2EA);
  border-radius:999px;
  background:var(--popomo-surface-soft,#FAF8FD);
  color:var(--popomo-ink,#18071A);
  font-size:12px;
  font-weight:800;
  cursor:pointer;
 }
 .v35-design-editor .choose-details.is-mobile-open .v35-tool-content{
  order:1;
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
 }
 .v35-design-editor .choose-details.is-mobile-open .v35-sticker-panel .v35-panel-header{
  display:none;
 }
 .v35-design-editor .choose-details.is-mobile-open .v35-panel-header h3{
  display:none;
 }
 .v35-design-editor .choose-details.is-mobile-open .v35-tool-tabs.v35-right-tool-bar{
  order:2;
  border-top:1px solid var(--popomo-border,#E6DDF0);
  border-bottom:0;
 }
 .v35-design-editor .choose-details.is-mobile-open .editor-next.v35-design-bottom{
  order:3;
 }
 .v35-design-editor .v35-tool-tabs.v35-right-tool-bar{
  padding:5px 8px;
  gap:3px;
 }
 .v35-design-editor .v35-right-tool-bar button{
  min-height:46px;
  font-size:11px;
  padding:4px 2px;
  gap:2px;
 }
 .v35-sticker-panel,
 .v35-sticker-panel.graphic-library{padding:6px 12px 12px}
 .v35-underline-tabs{gap:14px;margin:0 -12px 10px;padding:0 12px}
 .v35-sticker-grid-4,
 .v35-sticker-grid-4.graphic-grid{gap:8px}
 .v35-sticker-grid-4 .v35-sticker-tile,
 .v35-sticker-grid-4.graphic-grid button.v35-sticker-tile{border-radius:12px;padding:6px 3px;gap:4px;font-size:11px}
 .v35-sticker-grid-4.graphic-grid button.v35-sticker-tile img{width:28px;height:28px}
 .v35-save-draft-btn{min-height:40px;padding:0 11px;font-size:12px}
 .v35-design-checkout-group{gap:6px}
 .v35-design-checkout-group form{min-width:102px}
 .v35-editor input[type="text"],
 .v35-editor input[type="email"],
 .v35-editor textarea,
 .v35-text-input-box input[data-panel-text-input]{
  font-size:16px;
 }
 .v35-home-phone footer{
  padding-bottom:calc(12px + env(safe-area-inset-bottom));
 }
}







/* Public kiosk checkout keeps the verified station and next action in view. */
.kiosk-flow { padding-block: 12px; }
.kiosk-flow p {
 margin: 0;
 color: #3A2A42;
 font-weight: 700;
}
.kiosk-flow ol {
 margin: 10px 0 0;
 padding: 0;
 display: grid;
 grid-template-columns: repeat(5, minmax(0, 1fr));
 gap: 8px;
 list-style: none;
}
.kiosk-flow li {
 padding: 8px;
 border-radius: 9px;
 background: #F3EDF9;
 color: #3A2A42;
 font-weight: 700;
 text-align: center;
}
.kiosk-flow li[aria-current="step"] { background: #5C2662; color: white; }
.v35-kiosk-checkout [data-action="open-station-picker"],
.v35-kiosk-checkout [data-action="scan-station"] { display: none; }
@media (max-width: 600px) {
 .kiosk-flow ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   Design Review Studio Card (.v35-design-review.v35-review-studio)
   1:1 alignment with Full-Width 2-Column A3 Studio Preview Card
   ========================================================================== */
.v35-design-review.v35-review-studio{
 width:min(1240px,calc(100% - 32px));
 max-width:none;
 margin:18px auto 32px;
 padding:0;
 border:1px solid #E6DDF0;
 border-radius:22px;
 background:#FFFFFF;
 box-shadow:0 14px 40px rgba(24,7,26,.07);
 overflow:hidden;
}
.v35-review-steps-hidden{
 position:absolute;
 width:1px;
 height:1px;
 padding:0;
 margin:-1px;
 overflow:hidden;
 clip-path:inset(50%);
 white-space:nowrap;
 border:0;
}
.v35-review-studio-header{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:16px;
 padding:14px 24px;
 border-bottom:1px solid #E6DDF0;
 background:#FFFFFF;
}
.v35-review-studio-header h2{
 margin:0;
 font-size:18px;
 font-weight:800;
 color:#18071A;
 white-space:nowrap;
}
.v35-review-close{
 flex:none;
 display:grid;
 place-items:center;
 width:36px;
 height:36px;
 border:1px solid #DDD2EA;
 border-radius:50%;
 background:#FAF8FD;
 color:#18071A;
 font-size:20px;
 line-height:1;
 cursor:pointer;
 touch-action:manipulation;
 transition:border-color .15s,background .15s,color .15s;
}
.v35-review-close:hover:not(:disabled){
 border-color:#602B87;
 background:#F3EDF9;
 color:#522059;
}
.v35-review-studio .v35-review-layout{
 display:grid;
 grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
 min-height:clamp(580px,calc(100dvh - 200px),840px);
 gap:0;
 margin:0;
 border-top:0;
}
.v35-review-studio .v35-review-case{
 height:auto;
 min-height:clamp(560px,calc(100dvh - 210px),820px);
 padding:28px 24px;
 border:0;
 border-right:1px solid #E6DDF0;
 border-radius:0;
 background:radial-gradient(rgba(96,43,135,.055) 1px,transparent 1px) 0 0 / 16px 16px,#F8F7FD;
 display:flex;
 flex-direction:column;
 align-items:center;
 justify-content:center;
 gap:18px;
 box-shadow:none;
}
.v35-review-studio .v35-a3-view-tabs{
 display:inline-flex;
 flex-wrap:wrap;
 justify-content:center;
 gap:4px;
 padding:4px;
 border-radius:999px;
 background:#FFFFFF;
 border:1px solid #E6DDF0;
 box-shadow:0 4px 12px rgba(24,7,26,.06);
}
.v35-review-studio .v35-a3-view-tabs button{
 flex:0 0 auto;
 min-height:34px;
 padding:6px 14px;
 border:0;
 border-radius:999px;
 background:transparent;
 color:#5E4D6B;
 font-size:12.5px;
 font-weight:700;
 white-space:nowrap;
 cursor:pointer;
 touch-action:manipulation;
 transition:background .15s,color .15s,box-shadow .15s;
}
.v35-review-studio .v35-a3-view-tabs button:hover:not([aria-pressed="true"]){
 background:#FAF8FD;
 color:#18071A;
}
.v35-review-studio .v35-a3-view-tabs button[aria-pressed="true"]{
 background:#18071A;
 color:#FFFFFF;
 box-shadow:0 2px 8px rgba(24,7,26,.22);
}
.v35-review-phone-stage{
 position:relative;
 display:grid;
 place-items:center;
 width:214px;
 max-width:100%;
}
.v35-review-phone-stage>.phone-case,
.v35-review-studio .v35-review-case>.phone-case{
 width:100%;
 max-width:214px;
 height:auto;
 flex:none;
 filter:drop-shadow(0 14px 24px rgba(24,7,26,.16));
}
.v35-cutout-guide{
 display:none;
}
.v35-review-case[data-review-mode="cutout"] .v35-cutout-guide{
 display:grid;
 place-items:center;
 position:absolute;
 top:5.5%;
 left:9%;
 width:41%;
 aspect-ratio:1;
 border-radius:20px;
 border:2.5px dashed #5C2662;
 background:rgba(92,38,98,.14);
 pointer-events:none;
 z-index:5;
 padding:4px;
 text-align:center;
}
.v35-cutout-guide span{
 display:inline-block;
 padding:2px 6px;
 border-radius:999px;
 background:rgba(255,255,255,.94);
 border:1px solid #5C2662;
 color:#522059;
 font-size:9.5px;
 font-weight:800;
 line-height:1.2;
}
.v35-review-model-caption{
 margin:0;
 padding:5px 14px;
 border-radius:999px;
 background:rgba(255,255,255,.92);
 border:1px solid #E6DDF0;
 font-size:13px;
 font-weight:700;
 color:#18071A;
 text-align:center;
}
.v35-review-studio .v35-review-summary{
 padding:28px 28px 22px;
 display:flex;
 flex-direction:column;
 gap:14px;
 border:0;
 border-radius:0;
 box-shadow:none;
 background:#FFFFFF;
 min-width:0;
}
.v35-review-subtitle{
 margin:0;
 font-size:13.5px;
 line-height:1.55;
 color:#5E4D6B;
}
.v35-review-compact-card{
 display:flex;
 align-items:center;
 gap:14px;
 padding:12px 14px;
 border:1px solid #E6DDF0;
 border-radius:16px;
 background:#FAF8FD;
}
.v35-review-mini-thumb{
 width:44px;
 flex:none;
 pointer-events:none;
}
.v35-review-mini-thumb>.phone-case{
 width:100%;
 height:auto;
 border-width:1px;
 box-shadow:0 4px 10px rgba(24,7,26,.12);
}
.v35-review-compact-dl{
 flex:1;
 min-width:0;
 display:flex;
 flex-wrap:wrap;
 gap:8px 16px;
 margin:0;
}
.v35-review-compact-dl>div{
 display:flex;
 flex-direction:column;
 gap:1px;
 padding:0!important;
 border:0!important;
 min-width:0;
}
.v35-review-compact-dl dt{
 font-size:11px;
 font-weight:600;
 line-height:1.3;
 color:#5E4D6B;
}
.v35-review-compact-dl dd{
 font-size:12.5px;
 font-weight:700;
 line-height:1.35;
 color:#18071A;
 margin:0;
 text-align:left!important;
 max-width:none!important;
}
.v35-review-studio .v35-review-edit,
.v35-review-studio [data-action="close-design-review"]:not(.v35-review-close){
 width:100%;
 min-height:46px;
 padding:10px 18px;
 border:1.5px solid #602B87;
 border-radius:999px;
 background:#F3EDF9;
 color:#522059;
 font-size:14px;
 font-weight:800;
 box-shadow:none;
 cursor:pointer;
 transition:background .15s,border-color .15s;
}
.v35-review-studio .v35-review-edit:hover:not(:disabled),
.v35-review-studio [data-action="close-design-review"]:not(.v35-review-close):hover:not(:disabled){
 background:#E8DAF1;
 border-color:#522059;
 transform:none;
 box-shadow:none;
}
.v35-review-summary .v35-a3-secondary-row{
 display:grid;
 grid-template-columns:1fr 1fr;
 gap:10px;
}
.v35-review-summary .v35-a3-secondary-row :is(button,a){
 display:inline-flex;
 align-items:center;
 justify-content:center;
 text-decoration:none;
 min-height:44px;
 padding:9px 14px;
 border:1px solid #DDD2EA;
 border-radius:999px;
 background:#FFFFFF;
 color:#18071A;
 font-size:13.5px;
 font-weight:700;
 box-shadow:none;
 cursor:pointer;
 transition:border-color .15s,background .15s,color .15s;
}
.v35-review-summary .v35-a3-secondary-row :is(button,a):hover:not(:disabled){
 border-color:#602B87;
 background:#F3EDF9;
 color:#522059;
 transform:none;
 box-shadow:none;
}
.v35-review-studio .v35-a3-checkout-bar{
 margin-top:auto;
 padding-top:16px;
 border-top:1px solid #E6DDF0;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:16px;
}
.v35-review-studio .v35-a3-price{
 flex:none;
 font-size:22px;
 font-weight:900;
 color:#18071A;
 letter-spacing:-.02em;
 font-variant-numeric:tabular-nums;
}
.v35-review-studio .v35-a3-checkout-bar .button.primary{
 flex:1;
 min-width:0;
 min-height:50px;
 padding:12px 22px;
 border:0;
 border-radius:999px;
 background:#5C2662;
 color:#FFFFFF;
 font-size:15px;
 font-weight:800;
 box-shadow:0 6px 18px rgba(92,38,98,.28);
 cursor:pointer;
}
.v35-review-studio .v35-a3-checkout-bar .button.primary:hover:not(:disabled){
 background:#4A1C50;
 transform:translateY(-1px);
 box-shadow:0 8px 20px rgba(92,38,98,.34);
}
@media(max-width:767px){
 .v35-design-review.v35-review-studio{
  width:100%;
  margin:0;
  border:0;
  border-radius:0;
  box-shadow:none;
 }
 .v35-review-studio-header{
  padding:12px 14px;
 }
 .v35-review-studio-header h2{font-size:16px}
 .v35-review-studio .v35-review-layout{
  grid-template-columns:1fr;
  min-height:0;
 }
 .v35-review-studio .v35-review-case{
  min-height:280px;
  padding:18px 14px;
  gap:12px;
  border-right:0;
  border-bottom:1px solid #E6DDF0;
 }
 .v35-review-phone-stage{width:154px}
 .v35-review-studio .v35-review-summary{
  padding:16px 16px calc(18px + env(safe-area-inset-bottom));
  gap:12px;
 }
 .v35-review-studio .v35-a3-checkout-bar{
  position:sticky;
  bottom:0;
  z-index:6;
  background:#FFFFFF;
  padding:12px 0 calc(6px + env(safe-area-inset-bottom));
 }
 .v35-review-studio .v35-a3-price{font-size:19px}
 .v35-review-studio .v35-a3-checkout-bar .button.primary{min-height:46px;font-size:14px}
}




.kiosk-photo-dialog {
 width: min(520px, calc(100% - 32px));
 padding: 26px 24px;
 border: 1px solid var(--popomo-border, #E6DDF0);
 border-radius: 22px;
 background: var(--popomo-surface, #FFFFFF);
 color: var(--popomo-ink, #18071A);
 box-shadow: var(--popomo-shadow-lg, 0 24px 64px rgba(15, 38, 40, .18));
 text-align: center;
}
.kiosk-photo-dialog::backdrop {
 background: rgba(15, 38, 40, .52);
 backdrop-filter: blur(6px);
}
.kiosk-photo-dialog h2 {
 margin: 0 0 10px;
 font-size: 20px;
 font-weight: 800;
 color: var(--popomo-ink, #18071A);
}
.kiosk-photo-code svg {
 display: block;
 width: min(100%, 270px);
 margin: 14px auto;
 padding: 10px;
 border: 1px solid var(--popomo-border, #E6DDF0);
 border-radius: 14px;
 background: #FFFFFF;
 shape-rendering: crispEdges;
}

/* ==========================================================================
   Prototype 4-Corner Selection Gizmo (.v35-design-editor & .canvas-editor)
   Overrides simple.css:757-766 cleanly (no protruding stem, crisp 4 corners)
   ========================================================================== */
:is(.v35-design-editor,.canvas-editor) .artwork-gizmo{
 border:1.5px solid var(--popomo-pink,#5C2662);
 box-shadow:0 0 0 1px rgba(255,255,255,.88);
 border-radius:2px;
}
:is(.v35-design-editor,.canvas-editor) .artwork-gizmo .artwork-handle{
 width:24px;
 height:24px;
 min-width:24px;
 min-height:24px;
 padding:0;
 border:1px solid rgba(24,7,26,.2);
 border-radius:50%;
 background:#FFFFFF;
 color:var(--popomo-ink,#18071A);
 box-shadow:0 2px 7px rgba(0,0,0,.18);
 font-size:12px;
 font-weight:800;
 line-height:1;
 display:grid;
 place-items:center;
 transition:transform .12s ease,background .15s ease,border-color .15s ease,box-shadow .15s ease;
}
:is(.v35-design-editor,.canvas-editor) .artwork-gizmo .handle-del,
:is(.v35-design-editor,.canvas-editor) .artwork-gizmo .handle-reset{
 top:0;
 left:0;
 right:auto;
 bottom:auto;
 transform:translate(-50%,-50%);
 cursor:pointer;
}
:is(.v35-design-editor,.canvas-editor) .artwork-gizmo .handle-del{
 color:#DC2626;
}
:is(.v35-design-editor,.canvas-editor) .artwork-gizmo .handle-del:hover{
 background:#FEF2F2;
 border-color:#DC2626;
 transform:translate(-50%,-50%) scale(1.1);
}
:is(.v35-design-editor,.canvas-editor) .artwork-gizmo .handle-reset:hover{
 background:var(--popomo-teal-soft,#F3EDF9);
 border-color:var(--popomo-teal,#602B87);
 color:var(--popomo-teal-deep,#522059);
 transform:translate(-50%,-50%) scale(1.1);
}
:is(.v35-design-editor,.canvas-editor) .artwork-gizmo .handle-rot.rotate-handle{
 top:0;
 right:0;
 left:auto;
 bottom:auto;
 width:24px;
 height:24px;
 transform:translate(50%,-50%);
 color:var(--popomo-ink,#18071A);
 cursor:grab;
}
:is(.v35-design-editor,.canvas-editor) .artwork-gizmo .handle-rot.rotate-handle:hover{
 background:var(--popomo-teal-soft,#F3EDF9);
 border-color:var(--popomo-teal,#602B87);
 color:var(--popomo-teal-deep,#522059);
 transform:translate(50%,-50%) scale(1.1);
}
:is(.v35-design-editor,.canvas-editor) .artwork-gizmo .handle-dup{
 bottom:0;
 left:0;
 top:auto;
 right:auto;
 transform:translate(-50%,50%);
 color:var(--popomo-ink,#18071A);
 cursor:pointer;
}
:is(.v35-design-editor,.canvas-editor) .artwork-gizmo .handle-dup:hover{
 background:var(--popomo-teal-soft,#F3EDF9);
 border-color:var(--popomo-teal,#602B87);
 color:var(--popomo-teal-deep,#522059);
 transform:translate(-50%,50%) scale(1.1);
}
:is(.v35-design-editor,.canvas-editor) .artwork-gizmo .handle-scale.resize-se{
 bottom:0;
 right:0;
 top:auto;
 left:auto;
 transform:translate(50%,50%);
 color:var(--popomo-pink,#5C2662);
 cursor:nwse-resize;
}
:is(.v35-design-editor,.canvas-editor) .artwork-gizmo .handle-scale.resize-se:hover{
 background:#F9E5E7;
 border-color:var(--popomo-pink,#5C2662);
 transform:translate(50%,50%) scale(1.1);
}
@media(max-width:700px){
 :is(.v35-design-editor,.canvas-editor) .artwork-gizmo .artwork-handle,
 :is(.v35-design-editor,.canvas-editor) .artwork-gizmo .handle-rot.rotate-handle{
  width:26px;
  height:26px;
  min-width:26px;
  min-height:26px;
 }
}

/* Compact & Viewport-Locked Mobile DIY Sheet (<=767px & <=720px height iPhone SE) */
.v35-design-top .phone-settings-body > :is(#case-style-panel,#phone-color-picker):empty,
.v35-design-top .phone-settings-body > .field-note[hidden]{
 display:none;
 margin:0;
}
.v35-design-top .phone-settings-body:has(> #case-style-panel:empty):has(> #phone-color-picker:empty){
 padding:10px 14px;
}
.v35-design-top .phone-settings-body > .text-button{
 margin:0;
 min-height:38px;
}
@media(max-width:767px){
 .v35-design-editor.is-mobile-sheet-open > .choose-layout{
  flex:1 1 0;
  min-height:0;
  overflow:hidden;
 }
 .v35-design-editor.is-mobile-sheet-open .choose-layout > .large-preview{
  flex:0 0 auto;
  min-height:0;
  height:clamp(148px,24dvh,235px);
  padding:36px 12px 10px;
 }
 .v35-design-editor.is-mobile-sheet-open .choose-details.is-mobile-open{
  flex:1 1 0;
  min-height:0;
  max-height:none;
  overflow:hidden;
  display:flex;
  flex-direction:column;
 }
 .v35-design-editor.is-mobile-sheet-open .choose-details.is-mobile-open .v35-tool-content{
  flex:1 1 0;
  min-height:0;
  max-height:none;
  overflow-y:auto;
  overscroll-behavior:contain;
 }
 .v35-design-editor.is-mobile-sheet-open .choose-details.is-mobile-open :is(.v35-mobile-sheet-head,.v35-tool-tabs.v35-right-tool-bar,.editor-next.v35-design-bottom){
  flex:0 0 auto;
 }
}
@media(max-width:767px) and (max-height:720px){
 .v35-design-editor.is-mobile-sheet-open .choose-layout > .large-preview{
  height:clamp(128px,21dvh,175px);
  padding:30px 10px 8px;
 }
 .v35-design-editor .v35-design-top{
  padding:6px 10px;
  gap:6px;
 }
 .v35-design-editor.is-mobile-sheet-open .editor-next.v35-design-bottom{
  padding:8px 12px calc(8px + env(safe-area-inset-bottom));
 }
}


