/* Account extras (account-extras.js). */
#sign-in-modal .modal { max-height: calc(100vh - 32px); overflow-y: auto; }
.nx-forgot { align-self: flex-end; margin-top: 6px; font-size: 0.9rem; }
.nx-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, 0.6); display: grid; place-items: center; padding: 16px; }
.nx-card { width: min(420px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--panel-solid); border: 1px solid var(--border-strong); border-radius: 18px; box-shadow: var(--shadow); color: var(--text); }
.nx-card.nx-wide { width: min(760px, 100%); }
.nx-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.nx-head h2 { margin: 0; font-size: 1.1rem; }
.nx-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.nx-form { display: flex; flex-direction: column; gap: 10px; }
.nx-form input { width: 100%; box-sizing: border-box; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--bg-elevated); color: var(--text); font: inherit; }
.nx-msg { margin: 0; font-size: 0.95rem; color: var(--muted); }
.nx-msg.nx-ok { color: #9fe0b0; }
.nx-msg.nx-err { color: var(--danger); }
.nx-section { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--border); }
.nx-section:first-child { border-top: 0; padding-top: 0; }
.nx-section h3 { margin: 0; font-size: 1rem; }
.nx-section .hint { margin: 0; }
.nx-switch { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.nx-switch input { width: 20px; height: 20px; accent-color: #fff; }
.nx-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.nx-facts li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--accent-soft); font-size: 0.95rem; }
.nx-facts li span { overflow-wrap: anywhere; }
.nx-x { flex: none; background: none; border: 1px solid var(--border); border-radius: 8px; color: var(--muted); min-width: 32px; min-height: 32px; cursor: pointer; }
.nx-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.nx-tile { padding: 12px; border-radius: 12px; background: var(--accent-soft); display: flex; flex-direction: column; gap: 2px; }
.nx-tile b { font-size: 1.35rem; }
.nx-tile span { color: var(--muted); font-size: 0.85rem; }
.nx-chart { display: flex; flex-direction: column; gap: 6px; }
.nx-chart-head { display: flex; justify-content: space-between; font-size: 0.95rem; }
.nx-bars { display: flex; align-items: flex-end; gap: 2px; height: 64px; padding: 4px; border-radius: 10px; background: var(--bg-elevated); }
.nx-bar { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.nx-bar span { display: block; width: 100%; border-radius: 3px 3px 0 0; background: var(--accent); opacity: 0.85; }
.nx-axis { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.75rem; }
.nx-row { display: flex; gap: 8px; flex-wrap: wrap; }
.nx-notes { margin: 0; padding-left: 18px; color: var(--muted); font-size: 0.8rem; display: flex; flex-direction: column; gap: 4px; }
