.sets-shell{max-width:1000px;margin:auto;padding:0 24px;font-family:"Segoe UI","Microsoft YaHei",sans-serif}.sets-shell main{min-height:65vh}.sets-shell h1{font-size:30px;margin:12px 0}.sets-shell h2{font-size:19px}.sets-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.sets-heading p,.sets-subtitle{color:var(--muted);line-height:1.7;font-size:13px}.quiet-button{border:1px solid var(--line);background:transparent;border-radius:10px;min-height:44px;padding:8px 16px;white-space:nowrap}.sets-notice{padding:18px;background:#fff0e2;border-left:4px solid var(--orange);line-height:1.7;margin:18px 0}.sets-notice a:not(.primary){color:#a64400;text-decoration:underline}.owned-package{background:white;border:1px solid var(--line);border-radius:16px;padding:22px;margin:18px 0}.owned-package-header{display:flex;align-items:baseline;justify-content:space-between;gap:16px}.owned-package-header h2{margin:0}.package-slots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}.package-slot{background:var(--cream);border:1px solid var(--line);border-radius:10px;padding:12px}.package-slot p{font-size:12px;color:var(--muted);margin:0 0 8px}.package-slot button{width:100%;min-height:44px;border:0;background:var(--orange);color:white;font-weight:700;border-radius:9px;padding:8px 4px}.sets-shell button:disabled{opacity:.45;cursor:not-allowed}.sets-history{margin:32px 0}.set-history-item{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding:15px 0}.set-history-item p{margin:4px 0;font-size:13px;color:var(--muted)}.set-edit-columns{display:grid;grid-template-columns:1fr 1fr;gap:30px}.set-label{display:block;font-size:14px;font-weight:700;margin:18px 0 9px}.set-label span{font-weight:400;color:var(--muted);font-size:12px}.set-label select{display:block;margin-top:8px}.sets-shell input,.sets-shell select,.sets-shell textarea{font:inherit}.sets-shell select{width:100%;border:1px solid var(--line);background:white;padding:12px;border-radius:10px;min-height:46px}.set-select-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.set-upload-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.set-upload-thumb{position:relative;border-radius:10px;overflow:hidden;aspect-ratio:1;background:white;border:1px solid var(--line)}.set-upload-thumb img{width:100%;height:100%;object-fit:contain}.set-upload-thumb button{position:absolute;right:4px;top:4px;border:0;background:var(--ink);color:white;width:32px;height:32px;border-radius:50%;font-size:22px}.set-count-control{display:flex;align-items:center;gap:10px}.set-count-control button{width:46px;height:46px;border:1px solid var(--line);background:white;border-radius:10px}.set-count-control input{width:85px;min-width:0;height:46px;text-align:center;border:1px solid var(--line);background:white;border-radius:10px}.sets-shell progress{accent-color:var(--orange);height:12px;width:100%;margin:10px 0}.set-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}.set-result-card{margin:0;overflow:hidden;background:white;border:1px solid var(--line);border-radius:12px}.set-result-card img{width:100%;aspect-ratio:1;object-fit:contain;display:block}.set-result-card figcaption{padding:12px;font-size:13px}.set-result-download{display:block;margin-top:8px;color:#a64400;text-decoration:underline;min-height:32px;padding:5px 0}.set-reference{color:var(--muted);font-size:11px;overflow-wrap:anywhere}.sets-shell .field-error{min-height:0}.sets-shell #set-progress-message:empty{display:none}@media(max-width:600px){.sets-shell{padding:0 16px}.sets-shell .brand{font-size:23px}.sets-shell h1{font-size:24px}.sets-shell .nav{padding:16px 0}.sets-shell .nav-link{font-size:13px}.sets-heading{gap:8px}.set-edit-columns{grid-template-columns:1fr;gap:0}.package-slots{grid-template-columns:repeat(2,minmax(0,1fr))}.owned-package{padding:16px}.owned-package-header{align-items:flex-start;flex-direction:column;gap:4px}.owned-package-header h2{font-size:19px}.set-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.set-results figcaption{padding:10px}.set-history-item{align-items:flex-start}.sets-shell .upload-box{padding:20px}.sets-shell .camera{font-size:35px}.sets-heading p{font-size:12px}}
.sets-shell .my-packages-title{text-align:left;font-size:30px;margin:0}
.account-balances{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-block:1px solid var(--line);padding:18px 0;gap:12px}.account-balance{display:flex;flex-direction:column;gap:6px;min-width:0}.account-balance+.account-balance{border-left:1px solid var(--line);padding-left:12px}.account-balance-label{font-size:12px;line-height:1.6;color:var(--muted)}.account-balance strong{font-size:28px;line-height:1.2;font-variant-numeric:tabular-nums}.account-balance small{margin:0}.production-record{display:flex;gap:16px;align-items:flex-start;border-bottom:1px solid var(--line);padding:16px 0}.production-preview{flex:0 0 88px;width:88px;height:88px;padding:0;border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden;color:var(--muted);font-size:12px}.production-thumbnail{display:block;width:100%;height:100%;object-fit:cover}.production-record-info{min-width:0;flex:1}.production-record-info p{margin:6px 0;font-size:12px}.production-record-info .set-reference{font-size:10px}.production-viewer{width:min(760px,calc(100% - 24px));padding:20px;max-height:94dvh}.production-viewer>img{display:block;width:100%;max-height:65dvh;object-fit:contain;margin-top:12px}.production-viewer>p{text-align:center}.production-viewer-controls{display:flex;justify-content:space-between;gap:12px}.production-viewer .set-result-download{text-align:center;min-height:44px}.production-viewer .quiet-button{min-height:44px}@media(max-width:400px){.account-balances{gap:8px}.account-balance+.account-balance{padding-left:8px}.account-balance strong{font-size:25px}.production-preview{flex-basis:76px;width:76px;height:76px}.production-record{gap:12px}}
.sets-shell:lang(km){font-family:"Noto Sans Khmer","Segoe UI",sans-serif;line-height:1.8}.sets-shell:lang(km) .my-packages-title{font-size:25px}.sets-shell:lang(km) .set-package-action{font-size:21px}.sets-shell:lang(km) .nav{gap:12px}.sets-shell:lang(km) .nav-link{white-space:normal;text-align:right}.sets-shell:lang(km) .set-history-item{flex-wrap:wrap}.sets-shell:lang(km) select{min-width:0}.sets-shell:lang(km) .set-select-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.owned-package-group{margin:0 0 28px}.owned-package-group .owned-package{margin:0 0 20px;padding:28px;border-radius:18px;background:#f5ebde;border-color:#eee1cf;box-shadow:0 8px 20px #5e3e1710}
.owned-package-group .owned-package-header{display:block}.owned-package-group .owned-package-header h2{font-size:28px;line-height:1.3;margin:0 0 10px}.owned-package-group .owned-package-header span{display:block;font-size:20px;line-height:1.5}.owned-package-group .sets-subtitle{margin:14px 0 0;font-size:15px}
.sets-shell .set-package-action{width:100%;min-height:64px;border-radius:16px;font-size:23px;font-weight:700;box-shadow:0 5px 14px #e8721c18}
#my-packages .sets-history{margin:34px 0}#my-packages .sets-history>h2{font-size:24px;margin:0 0 20px}#my-packages #sets-history-list>.sets-subtitle{text-align:center;font-size:17px;margin:26px 0;color:#80776c}
/* Approved account mockup: real data in one compact mobile-first overview. */
.sets-shell{max-width:390px;padding:0 16px 28px;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif}
.sets-shell main{min-height:0}.sets-shell .nav{padding:18px 0 6px}.sets-shell .brand{font-size:22px;letter-spacing:.5px}.sets-shell .brand span{color:#f26522}.sets-shell .nav-link{font-size:13px;font-weight:400;padding:0}
.account-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 4px}.sets-shell .my-packages-title{font-size:30px;font-weight:800;line-height:1.4;margin:0}
#reload-my-packages{font-size:13px;padding:7px 14px;border-radius:9px;border:1px solid var(--line);background:#fff;color:var(--ink);min-height:36px;flex-shrink:0}
.account-summary>h2,#my-packages .sets-history>h2{font-size:21px;font-weight:800;margin:22px 0 12px;line-height:1.4}
.account-balances{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px 6px;gap:0}.account-balance{gap:0;text-align:center;padding:0 4px}.account-balance+.account-balance{padding-left:4px}.account-balance-label{font-size:12px;margin-bottom:8px;line-height:1.5}.account-balance strong{font-size:30px;line-height:1.1;overflow-wrap:anywhere}.account-balance small{font-size:12px;margin-top:6px}
.account-create-link{display:block;width:100%;text-align:center;font-size:16px;font-weight:700;padding:13px 8px;margin-top:16px;border:1.5px solid #f26522;border-radius:14px;color:#c54b12;background:transparent;text-decoration:none}.account-create-link:active{background:#f26522;color:#fff}
#my-packages .sets-history{margin:0}.production-record{gap:13px;align-items:center;padding:15px 0}.production-preview{flex:0 0 72px;width:72px;height:72px;border-radius:16px}.production-thumbnail{width:72px;height:72px}.production-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.production-title-row strong{font-size:17px;font-weight:800;line-height:1.4;min-width:0}
.production-status{font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px;white-space:nowrap;line-height:1.5}.production-status.is-complete{color:#1a7f37;background:rgba(26,127,55,.1);border:1px solid rgba(26,127,55,.25)}.production-status.is-pending{color:#9b4b09;background:#fff0e2;border:1px solid #e9caae}
.production-record-info .set-reference{font-size:11px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;margin:7px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}.production-record-info>.quiet-button{font-size:12px;min-height:36px;padding:5px 10px;margin-top:8px}
#account-package-details{margin-top:24px;font-size:13px;color:var(--muted)}#account-package-details summary{cursor:pointer;min-height:44px;padding:12px 0}#account-package-details .owned-package{padding:18px;margin:0 0 14px;background:#fff;box-shadow:none}#account-package-details .owned-package-header h2{font-size:21px}#account-package-details .owned-package-header span{font-size:15px}#account-package-details .sets-subtitle{font-size:13px;margin-top:10px}
.sets-shell footer{border:0;margin-top:26px;padding:0;color:var(--muted);font-size:12px}.set-edit-columns{grid-template-columns:1fr;gap:0}
.sets-shell:lang(km) .my-packages-title{font-size:25px}.sets-shell:lang(km) .production-title-row{flex-wrap:wrap}.sets-shell:lang(km) .production-title-row strong{font-size:16px}
.result-save-mobile{display:block;width:100%;margin-top:12px;border-color:#f26522;color:#b3430c;font-weight:700;white-space:normal}.result-save-note{font-size:12px;line-height:1.65;color:var(--muted);text-align:center;overflow-wrap:anywhere}.set-result-image{cursor:zoom-in}
.result-save-note:empty{display:none}.result-save-mobile{position:relative;overflow:hidden;isolation:isolate;background:#fff8f1}.set-composite-card .result-save-mobile{background:#000;border-color:#000;color:#fff}.set-composite-card .result-save-mobile::after{content:"";position:absolute;inset:-50% auto -50% -65%;width:45%;pointer-events:none;background:linear-gradient(100deg,transparent,rgba(255,255,255,.18),rgba(255,255,255,.85),transparent);transform:skewX(-18deg);animation:result-save-shine 3s ease-in-out infinite}.result-save-mobile:disabled::after{animation:none;opacity:0}.result-save-preview img{touch-action:auto;-webkit-user-select:auto;user-select:auto;-webkit-touch-callout:default}@keyframes result-save-shine{0%,35%{left:-65%}75%,100%{left:130%}}@media(prefers-reduced-motion:reduce){.result-save-mobile::after{animation:none;display:none}}
