.s2b-share-wizard{--s2b-share-bg:#06243d;--s2b-share-panel:#0a344e;--s2b-share-gold:#e4b945;--s2b-share-teal:#35d4d1;position:fixed;inset:auto;border:1px solid var(--s2b-share-gold);border-radius:20px;padding:0;width:min(760px,calc(100vw - 24px));max-width:760px;max-height:min(94dvh,980px);overflow:auto;background:var(--s2b-share-bg);color:#f7f9fc;box-shadow:0 24px 80px #00111dcc;font:500 16px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif;box-sizing:border-box}
.s2b-share-wizard[data-platform="ship2buy"]{--s2b-share-bg:#06243d;--s2b-share-panel:#0b3550;--s2b-share-gold:#e4b945;--s2b-share-teal:#35d4d1}
.s2b-share-wizard[data-platform="ship2base"],.s2b-share-wizard[data-platform="ship2photo"]{--s2b-share-bg:#00373d;--s2b-share-panel:#064b50;--s2b-share-gold:#e4b945;--s2b-share-teal:#31d4d0}
.s2b-share-wizard[data-platform="ship2work"]{--s2b-share-bg:#531c29;--s2b-share-panel:#722735;--s2b-share-gold:#e4b945;--s2b-share-teal:#f1d178}
.s2b-share-wizard::backdrop{background:#00131fc9;backdrop-filter:blur(3px)}
.s2b-share-wizard[open]{animation:s2b-share-in .16s ease-out}
@keyframes s2b-share-in{from{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:none}}
.s2b-share-wizard__header{position:sticky;z-index:3;top:0;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;background:linear-gradient(120deg,var(--s2b-share-bg),var(--s2b-share-panel));border-bottom:1px solid var(--s2b-share-gold)}
.s2b-share-wizard__brand{display:flex;align-items:center;gap:12px;min-width:0}.s2b-share-wizard__brand img{display:block;width:auto;height:32px;max-width:140px;object-fit:contain}.s2b-share-wizard__brand h2{margin:0;color:#ffe08b;font-size:1.12rem;line-height:1.2}.s2b-share-wizard__close{flex:0 0 42px;width:42px;height:42px;border:1px solid var(--s2b-share-gold);border-radius:50%;background:transparent;color:#ffe08b;font:400 27px/1 system-ui;cursor:pointer}
.s2b-share-wizard__progress{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:15px 18px 10px;padding:0;list-style:none}.s2b-share-wizard__progress li{padding:7px 4px;border-bottom:2px solid #ffffff3a;color:#c6d1d9;text-align:center;font-size:11px;line-height:1.2}.s2b-share-wizard__progress li.is-current{border-color:var(--s2b-share-gold);color:#ffe08b;font-weight:700}.s2b-share-wizard__progress li.is-complete{border-color:var(--s2b-share-teal);color:#d9f4f1}
.s2b-share-wizard__title{margin:10px 20px 4px;color:#ffe08b;font-size:1.35rem;font-weight:750}.s2b-share-wizard__body{padding:8px 20px 18px}.s2b-share-wizard__lead,.s2b-share-wizard__instruction{margin:0 0 14px;color:#e3edf2}.s2b-share-wizard__choices,.s2b-share-wizard__method-grid,.s2b-share-wizard__design-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.s2b-share-wizard__choice{display:flex;align-items:center;justify-content:flex-start;gap:12px;min-height:64px;padding:12px 14px;border:1px solid #ffffff35;border-radius:12px;background:var(--s2b-share-panel);color:#f7f9fc;text-align:left;font:inherit;cursor:pointer}.s2b-share-wizard__choice img{width:auto;height:30px;max-width:112px;object-fit:contain}.s2b-share-wizard__choice.is-selected{border-color:var(--s2b-share-gold);box-shadow:0 0 0 2px #e4b94533,inset 0 0 20px #35d4d11c}.s2b-share-wizard__choice:focus-visible,.s2b-share-wizard button:focus-visible,.s2b-share-wizard a:focus-visible,.s2b-share-wizard textarea:focus-visible{outline:3px solid var(--s2b-share-teal);outline-offset:2px}.s2b-share-wizard__method{min-height:58px}.s2b-share-wizard__method-icon{display:inline-grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:#ffffff12;color:#ffe08b;font-size:12px;font-weight:800}.s2b-share-wizard__design{align-items:flex-start;flex-direction:column;justify-content:center;min-height:76px}.s2b-share-wizard__design small{color:#d4e0e7}
.s2b-share-wizard__preview{display:grid;place-items:center;min-height:200px;margin:0 auto 14px;padding:8px;border:1px solid var(--s2b-share-gold);border-radius:12px;background:#001923;box-sizing:border-box}.s2b-share-wizard__image{display:block;max-width:100%;width:auto;height:auto;max-height:52dvh;object-fit:contain}.s2b-share-wizard__notice{margin:10px;padding:12px;border:1px solid var(--s2b-share-gold);border-radius:10px;background:var(--s2b-share-panel);color:#ffe08b;text-align:center}.s2b-share-wizard__caption-label{display:block;margin:10px 0 0;color:#e4edf1;font-weight:700}.s2b-share-wizard__caption{display:block;width:100%;min-height:110px;margin-top:6px;padding:10px;border:1px solid #ffffff55;border-radius:8px;background:#fff;color:#102938;font:500 15px/1.45 system-ui;box-sizing:border-box;resize:vertical}
.s2b-share-wizard__nav,.s2b-share-wizard__actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:16px}.s2b-share-wizard__actions{flex-wrap:wrap;justify-content:flex-start}.s2b-share-wizard__primary,.s2b-share-wizard__secondary,.s2b-share-wizard__text-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid var(--s2b-share-gold);border-radius:11px;background:var(--s2b-share-panel);color:#f7f9fc;text-align:center;text-decoration:none;font:700 15px/1.25 system-ui;cursor:pointer}.s2b-share-wizard__primary{background:linear-gradient(135deg,#ffe392,#d9aa3c);color:#082c3f}.s2b-share-wizard__primary:disabled{opacity:.52;cursor:not-allowed}.s2b-share-wizard__text-action{min-height:38px;background:transparent;font-size:13px}.s2b-share-wizard__summary{display:flex;flex-wrap:wrap;gap:8px 14px;padding:10px 12px;border:1px solid #ffffff25;border-radius:10px;background:var(--s2b-share-panel)}.s2b-share-wizard__summary span{color:#dbe8ed}.s2b-share-wizard__status{min-height:1.4em;margin:0;padding:0 20px 16px;color:#dcebed;font-size:13px}.s2b-share-wizard__copy-fallback{position:fixed;z-index:2147483647;inset:auto 10px 10px;width:min(90vw,540px);min-height:72px;background:#fff;color:#111}
@media(max-width:600px){.s2b-share-wizard{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);border-radius:14px}.s2b-share-wizard__header{padding:11px 12px}.s2b-share-wizard__brand img{height:28px;max-width:96px}.s2b-share-wizard__brand h2{font-size:1rem}.s2b-share-wizard__close{flex-basis:40px;width:40px;height:40px}.s2b-share-wizard__progress{gap:2px;margin:12px 10px 8px}.s2b-share-wizard__progress li{padding:6px 1px;font-size:9px;overflow-wrap:anywhere}.s2b-share-wizard__title{margin:8px 12px 2px;font-size:1.2rem}.s2b-share-wizard__body{padding:8px 12px 13px}.s2b-share-wizard__choices,.s2b-share-wizard__method-grid,.s2b-share-wizard__design-grid{gap:8px}.s2b-share-wizard__choice{min-height:58px;padding:9px}.s2b-share-wizard__method{gap:7px;font-size:14px}.s2b-share-wizard__method-icon{flex-basis:27px;width:27px;height:27px;font-size:10px}.s2b-share-wizard__image{max-height:48dvh}.s2b-share-wizard__preview{min-height:130px;margin-bottom:10px}.s2b-share-wizard__nav,.s2b-share-wizard__actions{gap:8px}.s2b-share-wizard__primary,.s2b-share-wizard__secondary{flex:1 1 42%;min-width:0;padding-inline:10px;font-size:14px}.s2b-share-wizard__status{padding:0 12px 12px}}

.s2b-share-wizard__destination{display:block;margin:10px 0 0;padding:10px 12px;border:1px solid #ffffff35;border-radius:9px;background:var(--s2b-share-panel);color:#ffe08b;overflow-wrap:anywhere;text-decoration:underline}
.s2b-share-wizard__photo-options{display:grid;gap:10px;margin:12px 0}.s2b-share-wizard__photo-options h3,.s2b-share-wizard__photo-options h4{margin:4px 0;color:#ffe08b}.s2b-share-wizard__photo-preview-wrap{display:grid;place-items:center;min-height:150px;padding:8px;border:1px solid var(--s2b-share-gold);border-radius:12px;background:#001923}.s2b-share-wizard__photo-preview{display:block;width:auto;height:auto;max-width:100%;max-height:min(45dvh,520px);object-fit:contain}.s2b-share-wizard__photo-status{margin:4px;color:#ffe08b;text-align:center}.s2b-share-wizard__photo-options select{width:100%;min-height:44px;padding:8px;border-radius:8px}.s2b-share-wizard__photo-position{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px}.s2b-share-wizard__photo-position input[type=range]{display:block;width:100%;accent-color:var(--s2b-share-gold)}

/* SHARE-05J: compact, recognizable method icons and non-overlapping labels. */
.s2b-share-wizard__method-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
.s2b-share-wizard__method{box-sizing:border-box;width:100%;min-width:0;display:flex;align-items:center;justify-content:flex-start;gap:10px;overflow:hidden;padding:10px 12px;text-align:left;white-space:normal}
.s2b-share-wizard__method-label{flex:1 1 0;min-width:0;line-height:1.18;overflow-wrap:anywhere;font-weight:700}
.s2b-share-wizard__method-icon{box-sizing:border-box;display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:9px;background:#fff;color:#ffe08b;font-size:0}
.s2b-share-wizard__method-icon img{display:block;width:24px!important;height:24px!important;max-width:24px;object-fit:contain}
.s2b-share-wizard__method-icon svg{display:block;width:22px;height:22px}
.s2b-share-wizard__method-icon--x{background:#000}
.s2b-share-wizard__method-icon--link,.s2b-share-wizard__method-icon--other{background:#ffffff12;color:#ffe08b}
.s2b-share-wizard__method.is-selected .s2b-share-wizard__method-icon{box-shadow:0 0 0 2px #e4b94566}
@media(max-width:600px){.s2b-share-wizard__method{min-height:62px;padding:8px;gap:7px}.s2b-share-wizard__method-icon{flex-basis:30px;width:30px;height:30px}.s2b-share-wizard__method-icon img{width:22px!important;height:22px!important;max-width:22px}}

/* SHARE-05L: explain platform output without changing approved card designs. */
.s2b-share-wizard__choices .s2b-share-wizard__choice{min-width:0}
.s2b-share-wizard__choice-copy{display:grid;gap:3px;min-width:0}
.s2b-share-wizard__choice-copy strong{overflow-wrap:normal;word-break:normal;hyphens:none}
.s2b-share-wizard__choice-copy small{color:#d4e0e7;font-size:12px;line-height:1.25;overflow-wrap:normal;word-break:normal;hyphens:none}
@media(max-width:600px){.s2b-share-wizard__choice-copy small{font-size:11px}}

/* SHARE-05N: full-width platform choices on mobile; keep brand and copy side by side. */
@media(max-width:600px){
  .s2b-share-wizard__choices{grid-template-columns:minmax(0,1fr);gap:8px}
  .s2b-share-wizard__choices .s2b-share-wizard__choice{box-sizing:border-box;width:100%;min-width:0;min-height:64px;padding:9px 12px;gap:12px}
  .s2b-share-wizard__choices .s2b-share-wizard__choice img{flex:0 0 auto;max-width:108px;height:30px}
  .s2b-share-wizard__choice-copy{flex:1 1 auto;min-width:0}
  .s2b-share-wizard__choice-copy strong,.s2b-share-wizard__choice-copy small{overflow-wrap:normal;word-break:normal;hyphens:none}
  .s2b-share-wizard__choices .s2b-share-wizard__choice-copy small{font-size:12px;line-height:1.2}
  .s2b-share-wizard__choices .s2b-share-wizard__choice.is-selected{border:2px solid var(--s2b-share-gold)}
}
