.credits-shop { --credit-accent:#a7f3d0; color:var(--text-main,#e8edf7); }
.credits-shop * { box-sizing:border-box; }
.credits-shop .credit-heading { display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:24px; }
.credits-shop h2,.credits-shop h3 { margin:0 0 8px; color:inherit; }
.credits-shop p { color:#a8b5ca;line-height:1.7;margin:8px 0; }
.credits-shop .credit-wallet { padding:18px 24px;border:1px solid #305347;background:linear-gradient(120deg,#122f27,#132334);border-radius:16px;min-width:210px; }
.credit-wallet strong { display:block;font-size:32px;color:#a7f3d0;margin-top:6px; }
.credits-shop .credit-note { border-inline-start:3px solid #a7f3d0;background:#172632;padding:12px 16px;border-radius:8px;margin:16px 0; }
.credits-shop .credit-toolbar { display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:20px 0; }
.credits-shop .credit-grid { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:18px; }
.credits-shop .credit-product { overflow:hidden;background:#131e2d;border:1px solid #29364c;border-radius:16px; }
.credit-product img { display:block;width:100%;height:auto;aspect-ratio:950/280;object-fit:contain;background:#0a0c14; }
.credit-product[data-type="welcome"] img { aspect-ratio:1024/480; }
.credit-editor-preview img { display:block;max-width:100%;width:650px;height:auto;border-radius:12px; }
.credit-product .credit-product-body { padding:18px; }
.credit-product .credit-product-foot { display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:18px;flex-wrap:wrap; }
.credits-shop button { border:1px solid #3a4b64;border-radius:9px;background:#22324b;color:#f1f5fb;padding:10px 16px;cursor:pointer;font:inherit;font-weight:600; }
.credits-shop button.primary { background:#a7f3d0;color:#10271f;border-color:#a7f3d0; }
.credits-shop button:disabled { opacity:.5;cursor:default; }
.credits-shop button:focus-visible,.credits-shop input:focus-visible,.credits-shop select:focus-visible { outline:2px solid #a7f3d0;outline-offset:3px; }
.credits-shop .credit-badge { display:inline-block;padding:4px 9px;border:1px solid #345949;border-radius:6px;color:#a7f3d0;font-size:12px; }
.credits-shop .credit-section { margin-top:30px; }
.credits-shop .credit-table-scroll { overflow-x:auto;border:1px solid #29364c;border-radius:12px; }
.credits-shop table { width:100%;border-collapse:collapse;min-width:650px;font-size:13px; }
.credits-shop th,.credits-shop td { padding:13px;text-align:start;border-bottom:1px solid #29364c;white-space:normal;overflow-wrap:anywhere; }
.credits-shop th { color:#a8b5ca;background:#172333; }
.credits-shop td.positive { color:#a7f3d0; }
.credits-shop td.negative { color:#fda4af; }
.credits-shop .credit-form { background:#131e2d;border:1px solid #29364c;border-radius:14px;padding:20px;margin:18px 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:16px;align-items:end; }
.credits-shop label { display:grid;gap:8px;font-size:13px;color:#bbc7da; }
.credits-shop input,.credits-shop select,.credits-shop textarea { width:100%;background:#0d1725;border:1px solid #34435d;border-radius:8px;color:#f1f5fb;font:inherit;padding:11px; }
.credits-shop .credit-wide { grid-column:1/-1; }
.credits-shop .credit-status { margin:12px 0;line-height:1.6;color:#a7f3d0; }
.credits-shop .credit-status.error { color:#fda4af; }
dialog.credit-dialog { max-width:min(560px,calc(100vw - 32px));width:560px;background:#131e2d;border:1px solid #3a4b64;border-radius:18px;padding:24px;color:#f1f5fb; }
dialog.credit-dialog::backdrop { background:rgba(4,9,17,.8); }
.credit-dialog img { display:block;width:100%;height:auto;border-radius:10px;margin:12px 0; }
.credit-dialog .credit-toolbar { justify-content:flex-end; }
@media(max-width:650px) { .credits-shop .credit-wallet { width:100%; } .credits-shop .credit-form { padding:14px; } }

.welcome-layer-editor {border:1px solid #3a4b64;border-radius:12px;padding:16px;background:#101a29;}
.welcome-layer-fields {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr));gap:12px;}
.welcome-layer-fields input[type=checkbox] {width:20px;height:20px;display:block;}
.welcome-layer-fields label[hidden],.welcome-layer-editor[hidden] {display:none!important;}
