/* SpinZ CZ app, 12 Nov 2026 redesign: the credits, top-up and sign-in sheets, the same on every app page (the shell and every tool).
   Looks only. No price, pack, payment method or button behaviour is touched; the sheet's own script stays as it is.
   Needs studio-ui.css before it (the --ui-* tokens). */
/* every pop-up of the app shell sits on the same plain surface (an older rule tinted them all purple). Tool pages style their own pop-ups. */
html[data-spinz-workspace] body :is(dialog,.credits-dialog.credits-dialog--master,.credits-dialog--chopper,.pg-modal,.member-modal,.bg-confirm):not(#\9){background:var(--ui-s1)!important;box-shadow:0 30px 80px #000000cc}
:is(html[data-spinz-workspace],html.workspace-embedded) body dialog.credits-dialog.credits-dialog{background:var(--ui-s1)!important;background-image:none!important;border:1px solid var(--ui-line2);border-radius:var(--ui-r-l);box-shadow:0 30px 80px #000000cc;color:var(--ui-ink);font-family:var(--ui-font);backdrop-filter:none;-webkit-backdrop-filter:none}
:is(html[data-spinz-workspace],html.workspace-embedded) body dialog.credits-dialog.credits-dialog::backdrop{background:#000000b3;backdrop-filter:none;-webkit-backdrop-filter:none}
:is(html[data-spinz-workspace],html.workspace-embedded) body dialog.credits-dialog.credits-dialog .credits-close{width:44px;height:44px;border:0;border-radius:50%;background:var(--ui-s2);color:var(--ui-ink);display:grid;place-items:center;box-shadow:none}
:is(html[data-spinz-workspace],html.workspace-embedded) body dialog.credits-dialog.credits-dialog .credits-close:hover{background:var(--ui-s3)}
:is(html[data-spinz-workspace],html.workspace-embedded) body dialog.credits-dialog.credits-dialog :is(h2,#credits-title){font-family:var(--ui-font);font-weight:700;letter-spacing:-.025em;color:var(--ui-ink)}
:is(html[data-spinz-workspace],html.workspace-embedded) body dialog.credits-dialog.credits-dialog :is(.credits-words,.credits-fine,.chopper-pack-benefit,.chopper-pack-terms,.master-reload-payment-terms,.master-reload-payment-selection,.master-reload-selected-label,.master-reload-swipe,.workspace-checkout-hint,.workspace-current-balance){color:var(--ui-ink2)}
:is(html[data-spinz-workspace],html.workspace-embedded) body dialog.credits-dialog.credits-dialog .credits-eyebrow{display:none}
:is(html[data-spinz-workspace],html.workspace-embedded) body dialog.credits-dialog.credits-dialog :is(.chopper-pack-price,.master-reload-price){color:var(--ui-ink);font-weight:700;letter-spacing:-.02em}

/* packs you can pick: quiet cards, the chosen one has a white edge */
:is(html[data-spinz-workspace],html.workspace-embedded) body dialog.credits-dialog.credits-dialog :is(.credits-pack,.master-reload-card,.ws-chips button,.ws-plans button,.ws-plans a,.ws-plans div){border:1px solid transparent;border-radius:var(--ui-r-m);background:var(--ui-s2);color:var(--ui-ink);box-shadow:none}
:is(html[data-spinz-workspace],html.workspace-embedded) body dialog.credits-dialog.credits-dialog :is(.credits-pack,.master-reload-card,.ws-chips button,.ws-plans button):hover{background:var(--ui-s3)}
:is(html[data-spinz-workspace],html.workspace-embedded) body dialog.credits-dialog.credits-dialog :is(.credits-pack,.master-reload-card,.ws-chips button,.ws-plans button,.ws-row)[aria-pressed=true],:is(html[data-spinz-workspace],html.workspace-embedded) body dialog.credits-dialog.credits-dialog :is(.credits-pack,.master-reload-card).is-selected{border-color:var(--ui-ink);background:var(--ui-s3);box-shadow:none}
:is(html[data-spinz-workspace],html.workspace-embedded) body dialog.credits-dialog.credits-dialog :is(.ws-chips button small,.ws-chips--big button span,.ws-row span,.ws-who small,.ws-ring .ws-num small){color:var(--ui-ink2)}
:is(html[data-spinz-workspace],html.workspace-embedded) body dialog.credits-dialog.credits-dialog .ws-chips--big button em{color:var(--ui-lilac)}
:is(html[data-spinz-workspace],html.workspace-embedded) body dialog.credits-dialog.credits-dialog :is(.ws-head,.ws-sec,.ws-kicker){font-size:13px;font-weight:600;letter-spacing:0;text-transform:none;color:var(--ui-ink2)}
:is(html[data-spinz-workspace],html.workspace-embedded) body dialog.credits-dialog.credits-dialog .ws-ring .ws-num b{font-weight:700}
:is(html[data-spinz-workspace],html.workspace-embedded) body dialog.credits-dialog.credits-dialog .ws-who{font-weight:600;color:var(--ui-ink)}
:is(html[data-spinz-workspace],html.workspace-embedded) body dialog.credits-dialog.credits-dialog :is(.ws-row,details.ws-other>summary){border:0;border-radius:var(--ui-r-m);background:var(--ui-s2);color:var(--ui-ink)}
:is(html[data-spinz-workspace],html.workspace-embedded) body dialog.credits-dialog.credits-dialog :is(.ws-row,details.ws-other>summary):hover{background:var(--ui-s3)}
:is(html[data-spinz-workspace],html.workspace-embedded) body dialog.credits-dialog.credits-dialog .ws-card{border:0;border-radius:var(--ui-r-m);background:var(--ui-s2)}
:is(html[data-spinz-workspace],html.workspace-embedded) body dialog.credits-dialog.credits-dialog .ws-card::before{display:none}
:is(html[data-spinz-workspace],html.workspace-embedded) body dialog.credits-dialog.credits-dialog .ws-card h3{font-weight:700;color:var(--ui-ink)}
:is(html[data-spinz-workspace],html.workspace-embedded) body dialog.credits-dialog.credits-dialog .ws-card p{color:var(--ui-ink2)}

/* the one main button keeps the gradient; everything else is a quiet pill */
:is(html[data-spinz-workspace],html.workspace-embedded) body dialog.credits-dialog.credits-dialog :is(.ws-go,.ws-link){box-shadow:none;font-weight:700;color:var(--ui-on)}
:is(html[data-spinz-workspace],html.workspace-embedded) body dialog.credits-dialog.credits-dialog :is(.chopper-payment-retry,.workspace-payment-back){min-height:44px;padding:0 20px;border:0;border-radius:999px;background:var(--ui-s2);color:var(--ui-ink);font:600 15px/1 var(--ui-font);box-shadow:none;cursor:pointer}
:is(html[data-spinz-workspace],html.workspace-embedded) body dialog.credits-dialog.credits-dialog :is(.chopper-payment-retry,.workspace-payment-back):hover{background:var(--ui-s3)}
:is(html[data-spinz-workspace],html.workspace-embedded) body dialog.credits-dialog.credits-dialog details.chopper-more-packs>summary{color:var(--ui-ink2);min-height:44px;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}
:is(html[data-spinz-workspace],html.workspace-embedded) body dialog.credits-dialog.credits-dialog .master-reload-facts{color:var(--ui-ink2)}
:is(html[data-spinz-workspace],html.workspace-embedded) body dialog.credits-dialog.credits-dialog :is(.master-reload-payment,.workspace-purchase-payment){border-color:var(--ui-line)}
:is(html[data-spinz-workspace],html.workspace-embedded) body dialog.credits-dialog.credits-dialog :focus-visible{outline:2px solid var(--ui-lilac);outline-offset:3px}
