
/* Sleeve visual and sticker cropper — staging v2.2.26 */
.vg-builder-v3 .vg-sleeve-options .vg-choice-card{display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:13px;min-width:0}
.vg-builder-v3 .vg-sleeve-options .vg-choice-art{width:100%;height:auto;aspect-ratio:1.2;max-height:210px;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible;position:relative}
.vg-builder-v3 .vg-sleeve-options .vg-choice-art:after{display:none!important}
.vg-sleeve-disc{position:absolute;width:69%;aspect-ratio:1;top:2%;right:1%;border-radius:50%;overflow:hidden;background:repeating-radial-gradient(circle,#171717 0 3px,#292929 4px 5px);box-shadow:2px 4px 10px #0004}
.vg-sleeve-disc-image{position:absolute;width:100%;height:100%;object-fit:contain;inset:0}
.vg-sleeve-centre-art{position:absolute;width:31%;height:31%;border-radius:50%;object-fit:cover;top:34.5%;left:34.5%;background:#f7f5ed}
.vg-sleeve-cover{position:absolute;bottom:0;left:0;width:73%;height:80%;background:linear-gradient(130deg,#fff,#e6e3dd);border:1px solid #cbc7c0;box-shadow:3px 5px 11px #0003;overflow:hidden}
.vg-choice-art--black .vg-sleeve-cover{background:linear-gradient(135deg,#333,#090909);border-color:#111}
.vg-sleeve-sticker{position:absolute;left:5%;top:13%;width:90%;height:auto;aspect-ratio:297/70;object-fit:cover;display:none;box-shadow:0 1px 3px #0003}
.vg-sleeve-sticker[src]{display:block}
.vg-sleeve-art-help{font-size:12px;color:#777;margin:7px 0}
.vg-sleeve-crop-dialog[hidden]{display:none!important}
.vg-sleeve-crop-dialog{position:fixed;inset:0;z-index:999999;background:#000b;display:grid;place-items:center;padding:15px}
.vg-sleeve-crop-box{width:min(680px,100%);background:white;padding:24px;border-radius:14px;box-shadow:0 20px 70px #0005}
.vg-sleeve-crop-box h3{font-size:23px;margin:0 0 7px}.vg-sleeve-crop-box p{font-size:13px;color:#555}
.vg-sleeve-crop-viewport{position:relative;width:100%;aspect-ratio:297/70;overflow:hidden;background:#eee;touch-action:none;cursor:grab;border:2px solid #c00}
.vg-sleeve-crop-viewport img{position:absolute;max-width:none!important;max-height:none!important;user-select:none;pointer-events:none;transform-origin:top left}
.vg-sleeve-crop-box input[type=range]{width:100%}.vg-sleeve-crop-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}
.vg-sleeve-crop-actions button{padding:10px 18px;border-radius:8px;border:1px solid #bbb;background:#eee;color:#111;cursor:pointer}
#vg-sleeve-apply{background:#111;color:white}
@media(max-width:600px){.vg-builder-v3 .vg-sleeve-options{grid-template-columns:1fr 1fr!important}.vg-builder-v3 .vg-sleeve-options .vg-choice-card{padding:8px}.vg-builder-v3 .vg-sleeve-options .vg-choice-art{max-height:170px}.vg-sleeve-crop-box{padding:15px}}

/* Staging sleeve refinement */
.vg-sleeve-disc{top:10%;right:3%;width:72%}
.vg-sleeve-disc::after{content:"";position:absolute;left:calc(50% - 3px);top:calc(50% - 3px);width:6px;height:6px;border-radius:50%;background:#151515;border:1px solid #888;z-index:5}
.vg-sleeve-centre-art{top:34.5%;left:34.5%}
.vg-sleeve-text-tools{margin:12px 0;display:grid;gap:8px}.vg-sleeve-text-tools input[type=text]{width:100%;padding:9px;border:1px solid #ccc;border-radius:5px}.vg-sleeve-text-row{display:flex;gap:9px;align-items:end;flex-wrap:wrap}.vg-sleeve-text-row label{flex:1;min-width:80px;font-size:12px}.vg-sleeve-text-row select,.vg-sleeve-text-tools select{max-width:100%}.vg-sleeve-remove{margin:10px 0;padding:8px 12px;border:1px solid #b33;background:#fff;color:#a00;border-radius:6px;cursor:pointer}

/* Staging: single, prominent selected sleeve with explicit change action */
.vg-builder-v3 .vg-sleeve-options.vg-sleeve-single{display:block!important;max-width:440px;margin:0 auto 8px}
.vg-builder-v3 .vg-sleeve-options.vg-sleeve-single .vg-choice-card{display:none!important;max-width:100%;width:100%;box-sizing:border-box}
.vg-builder-v3 .vg-sleeve-options.vg-sleeve-single .vg-choice-card.vg-sleeve-current{display:flex!important}
.vg-builder-v3 .vg-sleeve-options.vg-sleeve-single.vg-sleeve-choosing{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px;max-width:none}
.vg-builder-v3 .vg-sleeve-options.vg-sleeve-single.vg-sleeve-choosing .vg-choice-card{display:flex!important}
.vg-builder-v3 .vg-sleeve-options.vg-sleeve-single:not(.vg-sleeve-choosing) .vg-choice-art{height:auto!important;aspect-ratio:1.25!important;max-height:340px!important}
.vg-builder-v3 .vg-sleeve-options.vg-sleeve-single .vg-sleeve-disc{top:12%;right:1%;width:73%}
.vg-builder-v3 .vg-sleeve-options.vg-sleeve-single .vg-sleeve-cover{left:1%;bottom:0;width:76%;height:80%}
.vg-builder-v3 .vg-change-sleeve{display:block;margin:6px auto 18px;padding:8px 14px;border:1px solid #d6d0c6;border-radius:7px;background:white;color:#222;font-size:13px;cursor:pointer}
.vg-builder-v3 .vg-change-sleeve:hover{border-color:#222}
@media(max-width:600px){.vg-builder-v3 .vg-sleeve-options.vg-sleeve-single:not(.vg-sleeve-choosing) .vg-choice-art{max-height:300px!important}}

/* v2.2.28: default single selected card, even before JS initialises */
.vg-builder-v3 .vg-sleeve-options:not(.vg-sleeve-choosing){display:block!important;max-width:440px!important;margin:0 auto 8px!important}
.vg-builder-v3 .vg-sleeve-options:not(.vg-sleeve-choosing) .vg-choice-card{display:none!important}
.vg-builder-v3 .vg-sleeve-options:not(.vg-sleeve-choosing) .vg-choice-card:has(input:checked){display:flex!important}
.vg-builder-v3 .vg-sleeve-options:not(.vg-sleeve-choosing) .vg-choice-card .vg-choice-art{max-height:360px!important;aspect-ratio:1.25!important}
.vg-builder-v3 .vg-sleeve-options:not(.vg-sleeve-choosing) .vg-sleeve-disc{top:11%!important;right:2%!important;width:74%!important}
.vg-builder-v3 .vg-sleeve-options:not(.vg-sleeve-choosing) .vg-sleeve-cover{bottom:0!important;left:2%!important;width:77%!important;height:81%!important}
.vg-builder-v3 .vg-sleeve-options.vg-sleeve-choosing{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:none!important}
.vg-builder-v3 .vg-sleeve-options.vg-sleeve-choosing .vg-choice-card{display:flex!important}
.vg-builder-v3 .vg-sleeve-label-option #vg-sleeve-label-fields:not([hidden]){display:block!important}

/* v2.2.29 — true square sleeve with central die-cut window. */
.vg-builder-v3 .vg-sleeve-options.vg-sleeve-single:not(.vg-sleeve-choosing) .vg-choice-art,
.vg-builder-v3 .vg-sleeve-options:not(.vg-sleeve-choosing) .vg-choice-card .vg-choice-art {aspect-ratio:1/1!important;width:100%!important;height:auto!important;max-height:none!important;}
.vg-builder-v3 .vg-sleeve-options .vg-choice-art {aspect-ratio:1/1!important;max-height:none!important;}
.vg-builder-v3 .vg-sleeve-options .vg-sleeve-disc,
.vg-builder-v3 .vg-sleeve-options.vg-sleeve-single .vg-sleeve-disc,
.vg-builder-v3 .vg-sleeve-options:not(.vg-sleeve-choosing) .vg-sleeve-disc {top:4%!important;left:4%!important;right:auto!important;width:92%!important;height:92%!important;}
.vg-builder-v3 .vg-sleeve-options .vg-sleeve-cover,
.vg-builder-v3 .vg-sleeve-options.vg-sleeve-single .vg-sleeve-cover,
.vg-builder-v3 .vg-sleeve-options:not(.vg-sleeve-choosing) .vg-sleeve-cover {top:0!important;left:0!important;bottom:auto!important;width:100%!important;height:100%!important;box-sizing:border-box!important;aspect-ratio:1/1!important;clip-path:none!important;mask-image:radial-gradient(circle at 50% 50%,transparent 0 17%,black 17.4%);-webkit-mask-image:radial-gradient(circle at 50% 50%,transparent 0 17%,black 17.4%);}
.vg-builder-v3 .vg-sleeve-options .vg-sleeve-centre-art {top:32%!important;left:32%!important;width:36%!important;height:36%!important;}
.vg-builder-v3 .vg-sleeve-options .vg-sleeve-sticker{top:9%!important;left:5%!important;width:90%!important;}
.vg-sleeve-crop-viewport .vg-sleeve-live-text{position:absolute;left:5%;right:5%;top:50%;transform:translateY(-50%);text-align:center;font-size:22px;font-weight:bold;color:#111;pointer-events:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;z-index:3;}
.vg-sleeve-crop-box .vg-sleeve-text-tools{margin:15px 0 0;}
.vg-sleeve-crop-box .vg-sleeve-text-row label{min-width:110px;}

/* v2.2.30: 15% smaller centred sleeve; accurate bounded sticker text. */
.vg-builder-v3 .vg-sleeve-options.vg-sleeve-single:not(.vg-sleeve-choosing),
.vg-builder-v3 .vg-sleeve-options:not(.vg-sleeve-choosing){max-width:374px!important;margin-left:auto!important;margin-right:auto!important;}
.vg-sleeve-crop-viewport .vg-sleeve-live-text{overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important;line-height:1.12!important;}

/* v2.2.31: multiline sticker text and 10% larger sleeve die-cut opening. */
.vg-sleeve-crop-box .vg-sleeve-text-tools textarea#vg-sleeve-text{width:100%;min-height:64px;padding:9px;border:1px solid #ccc;border-radius:5px;resize:vertical;box-sizing:border-box;font:inherit;}
.vg-sleeve-crop-viewport .vg-sleeve-live-text{white-space:pre!important;overflow:visible!important;line-height:1.12!important;}
.vg-builder-v3 .vg-sleeve-options .vg-sleeve-cover,.vg-builder-v3 .vg-sleeve-options.vg-sleeve-single .vg-sleeve-cover,.vg-builder-v3 .vg-sleeve-options:not(.vg-sleeve-choosing) .vg-sleeve-cover{mask-image:radial-gradient(circle at 50% 50%,transparent 0 18.7%,black 19.1%)!important;-webkit-mask-image:radial-gradient(circle at 50% 50%,transparent 0 18.7%,black 19.1%)!important;}
.vg-builder-v3 .vg-sleeve-options .vg-sleeve-centre-art{top:30.2%!important;left:30.2%!important;width:39.6%!important;height:39.6%!important;}

/* v2.2.32: physical sleeve proportions and blank sticker text entry. */
.vg-builder-v3 .vg-sleeve-options .vg-sleeve-cover,
.vg-builder-v3 .vg-sleeve-options.vg-sleeve-single .vg-sleeve-cover,
.vg-builder-v3 .vg-sleeve-options:not(.vg-sleeve-choosing) .vg-sleeve-cover{
 mask-image:radial-gradient(circle at 50% 50%,transparent 0 21.4%,black 21.8%)!important;
 -webkit-mask-image:radial-gradient(circle at 50% 50%,transparent 0 21.4%,black 21.8%)!important;
}
.vg-builder-v3 .vg-sleeve-options .vg-sleeve-centre-art{top:27.6%!important;left:27.6%!important;width:44.8%!important;height:44.8%!important;}
.vg-builder-v3 .vg-sleeve-options .vg-sleeve-sticker{top:5%!important;left:1%!important;width:98%!important;}

/* v2.2.33: align Side A artwork to the disc centre and cover the entire die-cut.
   Disc is 92% of the square sleeve, so the art needs to exceed 42.8/92%
   of the disc to avoid a pale crescent around the sleeve opening. */
.vg-builder-v3 .vg-sleeve-options .vg-sleeve-disc .vg-sleeve-centre-art{
  position:absolute!important;top:50%!important;left:50%!important;
  width:49%!important;height:49%!important;
  transform:translate(-50%,-50%)!important;
  object-fit:cover!important;border-radius:50%!important;
  border:0!important;outline:0!important;box-shadow:none!important;
}

/* v2.2.34: equalise top and side margins of the full-width sleeve sticker. */
.vg-builder-v3 .vg-sleeve-options .vg-sleeve-sticker {
  top:1.5%!important;left:1.5%!important;width:97%!important;
}
