@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Fraunces:opsz,wght,SOFT,WONK@9..144,600,20,1&display=swap');
:root{--raspberry:#9c285d;--plum:#4d213c;--blush:#fff0f5;--cream:#fffaf6;--rose:#f06b9c;--muted:#87717e;--line:#f2dce5;--pink:#ffd7e7;--shadow:0 14px 40px rgba(101,37,67,.09)}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--plum);font-family:'DM Sans',system-ui,sans-serif;-webkit-font-smoothing:antialiased}button,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--rose);outline-offset:3px}a{color:inherit;text-decoration:none}.site-header{height:84px;max-width:1440px;padding:0 5%;margin:auto;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:12px;align-items:center}.brand-mark{display:grid;place-items:center;position:relative;border-radius:14px;background:var(--raspberry);color:#fff;font-family:Georgia,serif;font-size:30px;width:44px;height:44px}.brand-mark span{color:var(--rose);position:absolute;top:2px;right:4px;font:12px Arial}.brand strong{display:block;letter-spacing:.17em;font-size:13px;font-weight:800}.brand small{display:block;font-size:9px;letter-spacing:.25em;margin-top:4px;color:#a17d90}.site-header nav{display:flex;gap:28px;align-items:center;font-size:13px;font-weight:700}.nav-cta{background:var(--raspberry);color:#fff;padding:13px 19px;border-radius:12px}.nav-cta span{color:var(--rose);margin-left:9px}.studio{max-width:1350px;padding:35px 4% 0;margin:auto}.intro{text-align:center;padding:20px 0 38px}.eyebrow{font-size:10px;font-weight:800;color:#aa7690;letter-spacing:.22em}.live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#f06b9c;margin-right:6px}.intro h1,.gallery-main h1,.show-main h1{font-family:'Fraunces',Georgia,serif;letter-spacing:-.055em;font-size:clamp(37px,4.2vw,64px);font-weight:600;line-height:1.08;margin:17px 0}.intro h1 em,.gallery-main h1 em{font-weight:600;color:#d74483}.intro p,.gallery-main>p,.show-main>p{color:#98788a;font-size:14px;margin:0}.workspace{display:grid;grid-template-columns:minmax(0,1.03fr) minmax(375px,.97fr);gap:27px;align-items:start}.preview-column{position:sticky;top:12px}.stage{overflow:hidden;border-radius:23px;background:linear-gradient(160deg,#ffe6ee,#fff2df 65%,#fce5e9);height:min(650px,58vw);min-height:520px;display:flex;flex-direction:column;position:relative}.stage-top,.stage-bottom{z-index:2;padding:25px;display:flex;align-items:center;justify-content:space-between}.stage-label{font-size:10px;font-weight:800;letter-spacing:.19em;color:#98647d}.stage-spark{color:var(--rose);margin-left:4px}.icon-button{border:1px solid #f0d2df;background:rgba(255,255,255,.65);border-radius:10px;padding:11px 13px;color:var(--raspberry);font-size:13px;font-weight:700}.stage-main{position:relative;flex:1;display:grid;place-items:center;min-height:0}.stage-glow{width:76%;aspect-ratio:1;position:absolute;border-radius:50%;background:rgba(255,255,255,.62);filter:blur(4px)}.stage-main img{position:relative;width:min(94%,580px);max-height:100%;object-fit:contain;filter:drop-shadow(0 22px 14px rgba(84,31,55,.14));z-index:1}.stage-decor{position:absolute;color:rgba(218,91,139,.42);font-size:42px}.stage-decor-one{top:6%;left:9%}.stage-decor-two{right:10%;bottom:5%;font-size:26px}.stage-watermark{position:absolute;bottom:11px;left:50%;transform:translateX(-50%);font-size:9px;letter-spacing:.45em;color:rgba(114,38,72,.23);font-weight:800}.view-switch{background:#fff;border:1px solid #efd8e1;display:flex;gap:3px;border-radius:12px;padding:4px;box-shadow:0 3px 12px #9c285d10}.view-switch button{border:0;background:transparent;border-radius:9px;padding:10px 21px;font-size:12px;font-weight:700;color:#829084}.view-switch button.active{background:var(--raspberry);color:white}.design-code{color:#ae8397;font-size:10px;font-family:ui-monospace,monospace;word-break:break-all}.quick-actions{display:flex;gap:9px;margin-top:15px}.primary-action,.secondary-action,.outline-action{display:inline-flex;align-items:center;justify-content:center;gap:12px;border-radius:12px;border:1px solid var(--line);padding:16px 18px;font-size:12px;font-weight:800;white-space:nowrap}.primary-action{background:var(--raspberry);border-color:var(--raspberry);color:white;flex:1;justify-content:space-between}.primary-action span{color:var(--rose)}.secondary-action{background:#fff;color:var(--raspberry)}.note{color:#89968b;font-size:11px;text-align:center}.controls{background:#fff;border:1px solid #f4dce6;border-radius:22px;padding:31px;box-shadow:var(--shadow)}.controls-heading{display:flex;justify-content:space-between;align-items:center}.controls-heading h2{font-family:Georgia,serif;font-size:30px;letter-spacing:-.04em;margin:8px 0 0}.text-button{color:#a78294;background:transparent;border:0;font-size:12px;font-weight:700}.control-block{border-top:1px solid var(--line);padding:23px 0 24px}.controls-heading+.control-block{margin-top:24px}.control-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px}.control-heading h3{font-size:14px;letter-spacing:-.02em;margin:0}.control-heading h3 span{font-size:10px;margin-right:10px;color:var(--rose);font-weight:800}.subheading{font-size:11px;color:#af879a}.style-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.style-option{background:#fff9fa;border:1.5px solid #f4dfe7;border-radius:11px;padding:6px 3px 8px;min-width:0}.style-option.selected,.pattern-option.selected{background:#fff0f5;border-color:#d43c7f;box-shadow:0 0 0 1px #d43c7f inset}.style-option img{height:60px;display:block;margin:auto;width:100%;object-fit:contain}.style-option span{font-size:9px;color:#70475c;display:block;margin-top:3px;line-height:1.2}.colors-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.color-option{min-width:0}.color-pick-wrap{height:64px;position:relative;border:1px solid #eceee9;border-radius:12px;display:block;overflow:hidden;padding:5px}.color-pick-wrap input{width:100%;height:100%;border:0;padding:0;display:block;cursor:pointer;background:none}.color-pick-wrap input::-webkit-color-swatch-wrapper{padding:0}.color-pick-wrap input::-webkit-color-swatch{border:0;border-radius:8px}.color-pick-wrap span{pointer-events:none;position:absolute;right:8px;bottom:7px;background:#fff;border-radius:6px;padding:2px 4px;color:var(--raspberry);font-size:10px}.color-option strong{display:block;font-size:11px;margin-top:8px}.color-option small{font-size:9px;color:#b696a6}.subtle-button{background:transparent;border:0;color:#b33172;font-size:11px;font-weight:700;padding:14px 0 0}.pattern-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.pattern-option{display:flex;gap:9px;align-items:center;min-width:0;background:#fcfcfa;border:1px solid var(--line);border-radius:9px;padding:6px;text-align:left;font-size:10px;color:#765265;font-weight:700}.pattern-swatch{width:34px;height:32px;flex:none;border-radius:5px;background-color:#ffdae6;border:1px solid #eee}.dots-small{background-image:radial-gradient(#ae346d 2px,transparent 2.5px);background-size:9px 9px}.dots-large{background-image:radial-gradient(#ae346d 4px,transparent 4.5px);background-size:15px 15px}.check-small{background-image:conic-gradient(#ae346d 25%,transparent 0 50%,#ae346d 0 75%,transparent 0);background-size:10px 10px}.check-large{background-image:conic-gradient(#ae346d 25%,transparent 0 50%,#ae346d 0 75%,transparent 0);background-size:18px 18px}.horizontal-thin{background-image:repeating-linear-gradient(0deg,transparent 0 6px,#ae346d 6px 8px)}.vertical-thin{background-image:repeating-linear-gradient(90deg,transparent 0 6px,#ae346d 6px 8px)}.horizontal-wide{background-image:repeating-linear-gradient(0deg,transparent 0 10px,#ae346d 10px 17px)}.vertical-wide{background-image:repeating-linear-gradient(90deg,transparent 0 10px,#ae346d 10px 17px)}input[type=range]{width:100%;accent-color:var(--raspberry);cursor:pointer}.range-labels{display:flex;justify-content:space-between;color:#a1aea3;font-size:10px}.tip{display:flex;align-items:flex-start;gap:13px;background:#fff0f5;border-radius:11px;color:#99687f;padding:16px;font-size:11px;line-height:1.6}.tip>span:first-child{color:#d74483;font-size:20px;line-height:1}.more{text-align:center;padding:85px 10px 95px}.more h2{font-family:Georgia,serif;font-size:35px;letter-spacing:-.04em;margin:11px 0}.more p{font-size:13px;color:#a0788d}.outline-action{margin-top:14px;border-color:#d49bb2;background:transparent;color:var(--raspberry)}footer{padding:25px 5%;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#a37e91;letter-spacing:.04em}.toast{position:fixed;z-index:15;bottom:20px;left:50%;transform:translate(-50%,80px);background:var(--raspberry);color:white;border-radius:12px;padding:13px 23px;box-shadow:0 12px 35px #6c284850;opacity:0;transition:.25s;pointer-events:none;font-size:13px}.toast.visible{opacity:1;transform:translate(-50%,0)}.share-dialog{border:1px solid #f1d3df;border-radius:22px;max-width:450px;width:calc(100% - 32px);padding:32px;box-shadow:0 20px 65px #4d213c66}.share-dialog::backdrop{background:#4d213c8c;backdrop-filter:blur(6px)}.share-dialog h2{font-family:Georgia,serif;font-size:33px;margin:11px 0}.share-dialog p,.share-dialog small{font-size:12px;color:#9f7489;line-height:1.6}.close-dialog{position:absolute;right:15px;top:10px;background:transparent;border:0;color:#996e84;font-size:27px}.copy-row{display:flex;margin:24px 0 15px;border:1px solid #f4d6e2;border-radius:10px;overflow:hidden}.copy-row input{min-width:0;flex:1;border:0;padding:12px;color:#754a61;font-size:12px}.copy-row button{border:0;background:#ffe1ed;color:var(--raspberry);font-size:12px;font-weight:800;padding:12px}.primary-action.full{width:100%}.share-dialog small{display:block;margin-top:12px}.show-main,.gallery-main{max-width:1130px;margin:auto;padding:75px 4% 105px;text-align:center}.show-stage{margin:30px auto 16px;border-radius:23px;background:linear-gradient(145deg,#ffdeea,#fff2e9);max-width:640px;min-height:500px;position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;overflow:hidden}.show-stage>img{z-index:1;width:95%;max-height:510px;object-fit:contain;filter:drop-shadow(0 14px 18px #68244222)}.show-stage .view-switch{position:absolute;bottom:15px;z-index:3}.show-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:20px auto}.show-actions .primary-action{flex:none}.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:42px}.gallery-card{background:linear-gradient(150deg,#ffe9f0,#fff2e8);border:1px solid #f1d8e2;border-radius:17px;overflow:hidden;display:flex;flex-direction:column;transition:transform .2s}.gallery-card:hover{transform:translateY(-4px)}.gallery-card img{aspect-ratio:1;object-fit:contain;width:100%}.gallery-card span{background:#fff;padding:15px;text-align:left;font-size:10px;letter-spacing:.09em;font-weight:800}.empty-gallery{max-width:600px;margin:50px auto;padding:70px 20px;background:#fff0f5;border-radius:25px}.empty-gallery>span{color:var(--rose);font-size:50px}.empty-gallery h2{font-family:Georgia,serif;font-size:30px}.empty-gallery p{font-size:13px;color:#a47a8e;margin-bottom:25px}.pagination{display:flex;justify-content:center;gap:30px;padding:40px;font-size:12px;color:#a06a84}.pagination a{font-weight:800;color:var(--raspberry)}@media(max-width:1000px){.workspace{grid-template-columns:minmax(0,1fr) minmax(345px,1fr);gap:15px}.controls{padding:24px}.style-grid{grid-template-columns:repeat(5,1fr)}.style-option span{font-size:8px}.stage{min-height:440px;height:55vw}.quick-actions{flex-wrap:wrap}.quick-actions .primary-action{width:100%;flex:auto}.quick-actions .secondary-action{flex:1}}@media(max-width:760px){.site-header{height:72px;padding:0 5%}.site-header nav{gap:13px}.site-header nav>a:first-child{display:none}.studio{padding:12px 14px}.intro{padding:20px 4px 24px}.intro h1{font-size:40px}.workspace{display:block}.preview-column{position:static}.stage{height:420px;min-height:0;border-radius:19px}.stage-top,.stage-bottom{padding:15px}.stage-main img{max-height:95%}.stage-decor{display:none}.quick-actions{margin-bottom:22px}.controls{padding:21px;border-radius:18px}.style-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.style-option img{height:55px}.colors-grid{gap:8px}.pattern-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.more{padding:65px 0}.gallery-grid{grid-template-columns:repeat(2,1fr);gap:10px}.show-stage{min-height:420px}.show-main,.gallery-main{padding-top:45px}.show-actions>*{flex:1}}@media(max-width:390px){.brand strong{font-size:11px}.nav-cta{font-size:11px;padding:12px}.stage{height:350px}.stage-bottom .design-code{max-width:145px}.style-option span{font-size:7px}.style-option img{height:46px}.colors-grid{grid-template-columns:repeat(2,1fr)}.pattern-grid{grid-template-columns:repeat(2,1fr)}footer span:last-child{display:none}}

/* Panty Lane brand correction: raspberry / rose / blush / warm cream, never Freaky Money green + gold. */

/* Heart swatches correspond to the two SVG heart tile sizes. */
.hearts-small{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9'%3E%3Cpath fill='%23ae346d' d='M4.5 7.4C3.9 6.9 1.2 4.9 1.2 3.2 1.2 1.4 3.4 1.2 4.5 2.7 5.6 1.2 7.8 1.4 7.8 3.2 7.8 4.9 5.1 6.9 4.5 7.4Z'/%3E%3C/svg%3E");background-size:9px 9px}
.hearts-large{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17'%3E%3Cpath fill='%23ae346d' d='M8.5 14C7.2 12.9 2 9.1 2 5.7 2 2.2 6.2 1.7 8.5 4.7 10.8 1.7 15 2.2 15 5.7 15 9.1 9.8 12.9 8.5 14Z'/%3E%3C/svg%3E");background-size:17px 17px}

/* Pattern thumbnails: render hearts as inline SVG, independent of CSS data-URI support. */
.pattern-swatch.hearts-small,.pattern-swatch.hearts-large{background-image:none!important;display:grid;place-items:center;overflow:hidden}
.pattern-swatch .heart-icon{width:30px;height:30px;display:block;flex:none}

/* Figure backdrop. Both assets and panty art share the original 69.21 SVG coordinate system. */
.stage-main .figure-outline,.show-stage .figure-outline{position:absolute;z-index:0;width:min(94%,580px);max-height:100%;height:auto;object-fit:contain;pointer-events:none;filter:none;opacity:1}
.stage-main #preview{z-index:1;filter:drop-shadow(0 5px 5px rgba(84,31,55,.08))}
.show-stage .figure-outline{width:95%;max-height:510px}
.show-stage #preview{z-index:1}
@media(max-width:760px){.stage-main .figure-outline{max-height:95%}}

/* v1.7: original front/back figure photos, sized to the exact same square as the vector panty overlay. */
.stage-main .figure-outline,.show-stage .figure-outline{aspect-ratio:1/1;object-fit:fill;object-position:center;filter:none;opacity:1}
.stage-main #preview,.show-stage #preview{aspect-ratio:1/1;object-fit:contain}

/* UPIC customization controls */
.upic-block { margin-top:1rem; }
.upic-layout {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:15px 0}
.upic-layout label {display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:650;color:#78344f}
.upic-layout select,.upic-layout input {width:100%;min-width:0;padding:10px;border:1px solid #e9bfcc;border-radius:10px;color:#542437;background:#fff;min-height:42px;font:inherit}
.upic-layout input[type=color] {padding:3px;height:42px}
.upic-actions {display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.upic-actions button {border:1px solid #db9cba;background:#fff7fa;border-radius:9px;padding:9px 13px;color:#8f2855;font-weight:650;cursor:pointer}
.upic-actions button:hover {background:#f7dfeb}
.upic-summary {font-size:12px;color:#8f6171;margin:6px 0 18px}
@media(max-width:410px){.upic-layout{grid-template-columns:1fr}}
