.onxon-jersey-options{margin:0 0 1.25em;display:grid;gap:1em}
.onxon-jersey-options fieldset{border:1px solid rgba(0,0,0,.15);border-radius:6px;padding:.75em 1em;margin:0}
.onxon-jersey-options legend{font-weight:600;padding:0 .35em}
.onxon-jersey-options label{display:block;margin:.3em 0;cursor:pointer}
.onxon-jersey-options .onxon-jersey-name{display:block;width:100%;max-width:280px;margin:.2em 0 .5em 1.6em;text-transform:uppercase}
.onxon-jersey-options .onxon-jersey-name[hidden]{display:none}
.onxon-jersey-extra{opacity:.75;font-size:.9em}
.onxon-jersey-size select{width:100%;max-width:280px}
.onxon-jersey-chart summary{cursor:pointer;font-weight:600}
.onxon-jersey-table{overflow-x:auto;margin:.5em 0}
.onxon-jersey-table table{border-collapse:collapse;width:100%;font-size:.9em}
.onxon-jersey-table caption{text-align:left;font-weight:600;padding:.25em 0}
.onxon-jersey-table th,.onxon-jersey-table td{border:1px solid rgba(0,0,0,.12);padding:.3em .5em;text-align:center;white-space:nowrap}
.onxon-jersey-note{font-size:.85em;opacity:.8}
.onxon-jersey-height{font-size:.85em;opacity:.75;white-space:nowrap}


/* Live preview: all coordinates are relative to the full supplied template. */
.onxon-live-preview{margin:0 0 24px!important;width:100%;max-width:100%;box-sizing:border-box}
.onxon-live-preview[hidden],.onxon-live-preview [hidden]{display:none!important}
.onxon-live-preview__stage{position:relative;isolation:isolate;overflow:hidden;border:1px solid #364055;border-radius:12px;background:#f0f2f6}
.onxon-live-preview__base{display:block;width:100%!important;height:auto!important;margin:0!important}
.onxon-live-preview__name,.onxon-live-preview__club{position:absolute;left:29.5%;width:26%;transform:translateX(-50%);text-align:center;font-family:Arial,Helvetica,sans-serif;font-weight:900;line-height:1.1;white-space:nowrap;overflow:hidden;color:var(--onxon-print-colour,#fff)!important;pointer-events:none;text-shadow:0 1px 1px #0008}
.onxon-live-preview__name{top:22%}
.onxon-live-preview__club{top:26.5%}
.onxon-live-preview__logo{position:absolute;left:29.5%;top:31%;width:17%;height:5%;object-fit:contain;transform:translateX(-50%);pointer-events:none}
.onxon-live-preview--black-gold .onxon-live-preview__name{top:19%}
.onxon-live-preview--black-gold .onxon-live-preview__club{top:24%}
.onxon-live-preview--black-gold .onxon-live-preview__logo{top:30%}
.onxon-live-preview__caption,.onxon-live-preview__status{font-size:13px!important;line-height:1.6!important;padding:10px 12px!important;margin:0!important;color:#172130!important;background:#f0f2f6!important;border-radius:0 0 8px 8px;overflow-wrap:anywhere}
.onxon-live-preview__status{font-weight:700!important;border-top:1px solid #b8c2d2}

/* 1.4.2: reference layout, white upper-back lettering, lower sponsor logo. */
.onxon-live-preview__name,.onxon-live-preview__club{left:29.5%;width:32%;overflow:visible;transform-origin:center top}
.onxon-live-preview__name{top:18%}
.onxon-live-preview__club{top:27%}
.onxon-live-preview__logo{top:40%;max-width:28%;max-height:12%}
.onxon-live-preview--black-gold .onxon-live-preview__name{top:10.5%}
.onxon-live-preview--black-gold .onxon-live-preview__club{top:21.5%}
.onxon-live-preview--black-gold .onxon-live-preview__logo{top:40%}

/* 1.4.3: garment and lettering share the same size-chart scale. */
.onxon-live-preview__viewport{width:100%;overflow:hidden;background:#f0f2f6;border-radius:12px}
.onxon-live-preview__stage{margin:0 auto;max-width:100%;box-sizing:border-box}
.onxon-live-preview__base{height:var(--onxon-preview-height,auto)!important;object-fit:fill}

/* 1.4.4: exact supplied Black Gold front/back image. */
.onxon-live-preview--black-gold .onxon-live-preview__name,.onxon-live-preview--black-gold .onxon-live-preview__club,.onxon-live-preview--black-gold .onxon-live-preview__logo{left:32%}

/* 1.4.6: fixed logo dimensions when Adult/Kids or jersey colour changes. */
.onxon-live-preview .onxon-live-preview__logo{max-width:none!important;max-height:none!important}
