.jersey-page{--kit-line:#54705d;--kit-gold:#e7ca83;max-width:1400px;margin:auto}.jersey-page button,.jersey-page select{font:inherit}.jersey-top{display:flex;justify-content:space-between;gap:20px;align-items:center}.jersey-top small{letter-spacing:.18em;color:var(--kit-gold)}.jersey-top h1{margin:8px 0}.jersey-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0}.jersey-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,1fr);gap:24px}.jersey-stage{position:relative;background:radial-gradient(ellipse at 50% 40%,#304a40,#111d19 75%);border:1px solid #42564b;border-radius:24px;overflow:hidden;min-width:0}.jersey-stage:before{content:'';position:absolute;bottom:90px;left:25%;width:50%;height:35px;border-radius:50%;background:#0006;filter:blur(15px);pointer-events:none}.jersey-canvas{width:100%;height:540px;display:block;touch-action:none;cursor:grab}.jersey-canvas:active{cursor:grabbing}.jersey-camera{position:relative;display:flex;gap:8px;justify-content:center}.jersey-camera button{background:#22372c;border:1px solid #526855;color:#e5eddf;border-radius:20px;padding:8px 14px;cursor:pointer}.jersey-hint{text-align:center;color:#b5c7b9;font-size:13px}.jersey-info{padding:24px;border:1px solid #42564b;border-radius:24px;background:#1a2b22;color:#ecf0e2}.jersey-info h2{font-size:30px;margin:12px 0}.jersey-info p{line-height:1.7}.jersey-label{color:var(--kit-gold);letter-spacing:.1em}.jersey-card-reference{display:flex;align-items:center;gap:20px;border-top:1px solid #42564b;padding-top:20px;margin-top:24px}.jersey-card-reference img{width:88px;height:130px;object-fit:contain}.jersey-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.jersey-actions .btn{flex:1;min-width:130px}.jersey-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px;margin-top:24px}.jersey-product{background:#1c3025;border:1px solid #465e4c;border-radius:16px;color:#eff3e9;padding:18px;text-align:left;cursor:pointer}.jersey-product[aria-pressed=true]{border-color:#e7ca83;box-shadow:0 0 0 1px #e7ca83}.jersey-product img{width:55px;height:80px;object-fit:contain;float:right}.jersey-product strong,.jersey-product small{display:block;margin:6px 0}.jersey-status{padding:10px 14px;background:#253e30;border-radius:10px;line-height:1.6}.jersey-signature-editor{margin-top:20px}.jersey-signature-editor canvas{display:block;width:100%;max-width:600px;background:#101e18;touch-action:none;border-radius:12px}.jersey-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:12px 0}.jersey-tools label{display:flex;align-items:center;gap:5px}.jersey-tools input[type=color]{width:45px;height:35px;padding:2px}.jersey-warning{color:#e7ca83}.jersey-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px}.jersey-gallery article{border:1px solid #45604d;border-radius:18px;padding:20px}.jersey-flat{width:100%;height:auto;background:radial-gradient(#304a40,#111d19);border-radius:12px}.jersey-empty{padding:50px 20px;text-align:center}.jersey-error{color:#ffbc9b}.jersey-page .btn:disabled{opacity:.5;cursor:not-allowed}@media(max-width:760px){.jersey-layout{grid-template-columns:1fr}.jersey-canvas{height:410px}.jersey-top{align-items:flex-start;flex-direction:column}.jersey-info{padding:20px}.jersey-products{grid-template-columns:repeat(2,minmax(0,1fr))}.jersey-product{padding:12px}.jersey-product img{width:40px;height:60px}}

.jersey-stage .jersey-canvas{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;touch-action:pan-y}.jersey-camera button[aria-pressed=true]{background:#41694a;border-color:#e7ca83}.jersey-stage{align-self:start}
.jersey-top.jersey-owned-top{display:flex;flex-direction:column;align-items:stretch;gap:12px;height:auto;min-width:0}.jersey-owned-top h2{margin:0 0 12px}.jersey-owned-top p{margin:0;line-height:1.6}.jersey-owned-top .jersey-actions{margin:0;width:100%;display:flex;flex-wrap:wrap;gap:12px}.jersey-owned-top .jersey-actions .btn{flex:1 1 220px;min-width:0;box-sizing:border-box;white-space:normal}

.jersey-request-list{display:grid;gap:10px;margin:20px 0}.jersey-request-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px;text-align:left;padding:18px;border:1px solid #526855;border-radius:12px;background:#1c3025;color:#eff3e9;cursor:pointer}.jersey-request-row span{flex:1;min-width:180px}.jersey-request-row[aria-pressed=true]{border-color:#e7ca83}
dialog.jersey-inspect-dialog{box-sizing:border-box;width:min(700px,94vw);max-width:94vw;max-height:92dvh;padding:16px;overflow-y:auto}
.jersey-inspect-dialog>.jersey-stage{width:100%;max-width:100%;margin-top:12px;box-sizing:border-box}
.jersey-inspect-dialog .jersey-canvas{max-width:100%;min-width:0}
.jersey-inspect-dialog .jersey-hint{white-space:normal;overflow-wrap:anywhere;padding:0 12px}
