/* sign-in connections and verification */
.sx-row{display:flex;align-items:center;gap:10px;min-height:48px;padding:6px 0;border-bottom:1px solid var(--line)}
.sx-row:last-child{border-bottom:0}
.sx-k{flex:none;width:64px;color:var(--muted);font-size:13px}
.sx-v{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
a.sx-h{color:var(--fg);font-weight:600;text-decoration:none}a.sx-h:hover{text-decoration:underline;text-underline-offset:3px}
.sx-ok{flex:none;width:16px;height:16px;margin-left:-4px;color:#1d9bf0}
.sx-quiet{margin-left:auto;display:inline-flex;align-items:center;min-height:40px;padding:0 10px;border:0;border-radius:10px;background:none;color:var(--muted)!important;font:inherit;font-size:13px!important;text-decoration:none;cursor:pointer}
.sx-quiet:hover{color:var(--fg)!important}.sx-quiet:disabled{opacity:.5;cursor:default}

/* connect a sign-in (Google, X): its mark and name, beside the row's label, the site's control height */
.sx-c{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--fg)!important;font-size:13.5px;font-weight:700;text-decoration:none;white-space:nowrap;transition:border-color .14s,background-color .14s}
.sx-c:hover{border-color:color-mix(in srgb,var(--fg) 30%,var(--line))}
.sx-c:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.sx-c svg{width:16px;height:16px;flex:none}
/* wallet rows in Settings: Copy and Remove as quiet words, not boxed tags; a second Remove sits right beside the first */
.wl.wlr .sx-quiet{flex:none;margin-left:0}.wl.wlr .sx-quiet:first-of-type{margin-left:auto}
.sx-quiet[data-sure]{color:var(--bad)!important}
.set-row .sx-quiet{margin-left:-10px}
/* delete account: the typed check, in the page */
.sx-del{display:grid;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}
.sx-del[hidden]{display:none}.sx-del b{color:var(--fg)}
.sx-del .field{width:240px;max-width:100%;text-align:left;font:inherit;color:inherit}
.sx-del .btn{margin:0}

/* creator line and the website preview */
.sx-creator{margin:-4px 0 12px;font-size:13.5px;font-weight:600;color:var(--fg)}
.sx-site{display:flex;align-items:center;gap:7px;margin-top:6px;font-size:13px;color:var(--muted);min-width:0}
.sx-site[hidden],.sx-site img[hidden]{display:none}
.sx-site img{flex:none;width:16px;height:16px;border-radius:3px;object-fit:contain}
.sx-site span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* view: Auto / Compact / Comfortable */
.sx-view{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.sx-seg{display:inline-flex;gap:2px;padding:3px;border:1px solid var(--line);border-radius:12px}
.sx-seg button{min-height:36px;padding:0 12px;border:0;border-radius:9px;background:none;color:var(--muted)!important;font:inherit;font-size:13.5px!important;font-weight:600;cursor:pointer;transition:background-color .14s,color .14s}
.sx-seg button[aria-pressed=true]{background:color-mix(in srgb,var(--fg) 10%,transparent);color:var(--fg)!important}
.sx-seg button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}

@media (max-width:560px){
  .sx-del .field{flex:1 1 100%;width:auto}
  .sx-seg{flex:1}.sx-seg button{flex:1;padding:0 6px}
  .sx-k{width:56px}
}

html[data-dense="1"] .sx-row{min-height:40px;padding:3px 0;gap:8px}
html[data-dense="1"] .sx-quiet{min-height:34px;padding:0 8px}
html[data-dense="1"] .sx-c{height:34px;padding:0 12px;font-size:13px}
html[data-dense="1"] .sx-creator{margin-bottom:8px}
html[data-dense="1"] .sx-view{margin-bottom:10px}
html[data-dense="1"] .sx-seg button{min-height:34px;padding:0 10px;font-size:13px!important}
html[data-dense="1"] .sx-site{margin-top:4px}

/* the currency chooser in Appearance */
.sx-sel{min-height:40px;max-width:280px;padding:0 12px;font:inherit;font-size:13.5px}
html[data-dense="1"] .sx-sel{min-height:34px}
@media(prefers-reduced-motion:reduce){.sx-c,.sx-seg button{transition:none}}
