/* Streamdzy account window and header button (shared by the Web Studio and the pay page). Uses the theme's variables. */
.sdacct-btn { margin-left: auto; min-height: 36px; padding: 6px 14px; border-radius: 999px; font-size: 13.5px; white-space: nowrap; }
dialog.sdacct { width: min(460px, calc(100vw - 32px)); border: 1px solid var(--line-strong, #3a3a42); border-radius: 22px; padding: 24px; color: var(--silver-100, #ececf1);
  background: #17171b; box-shadow: 0 30px 80px rgba(0,0,0,.6); position: relative; }
dialog.sdacct::backdrop { background: rgba(5,5,7,.78); backdrop-filter: blur(4px); }
dialog.sdacct h2 { margin: 0 0 8px; font-size: 22px; }
dialog.sdacct label { display: flex; flex-direction: column; gap: 6px; margin: 12px 0; font-size: 14px; color: var(--silver-500, #a9a9b3); }
dialog.sdacct input { font: inherit; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line-strong, #3a3a42); background: rgba(0,0,0,.35); color: inherit; }
dialog.sdacct .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.sdacct-x { position: absolute; top: 10px; right: 12px; font-size: 22px; min-height: 36px; }
.sdacct-msg { min-height: 20px; color: #9fb0ff; margin: 8px 0; }
.sdacct-big { font-size: 20px; font-weight: 650; margin: 6px 0; }
.sdacct-key { font: 600 18px/1.4 ui-monospace, Consolas, monospace; letter-spacing: 1px; padding: 14px; border-radius: 12px; background: rgba(255,255,255,.06); word-break: break-all; }
.sdacct-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0; }
.sdacct-plan { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 14px; border: 1px solid var(--line-strong, #3a3a42); color: inherit; text-decoration: none; text-align: center; }
.sdacct-plan b { font-size: 18px; } .sdacct-plan span { font-size: 12.5px; color: var(--silver-500, #a9a9b3); }
.sdacct-plan.primary { background: linear-gradient(180deg, #f6f6f9, #c9c9d0); color: #0b0b0c; border-color: transparent; } .sdacct-plan.primary span { color: #333; }
.sdacct-plan:hover { filter: brightness(1.1); }
@media (max-width: 480px) { .sdacct-plans { grid-template-columns: 1fr; } }
