/* House of Turns account button and dialog. Uses the colour tokens and .modal/.field/button styles each page defines. */
.hot-account-button { display: inline-flex; align-items: center; gap: 8px; max-width: 170px; min-height: 40px; margin-left: 4px; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-weight: 700; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: transform .12s; }
.hot-account-button:hover { transform: translateY(-1px); }
.hot-account-button.signed-in { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.hot-account-button.signed-in::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 25%, transparent); }

.hot-account { width: min(440px, calc(100% - 28px)); }
.hot-account h2 { margin-bottom: 4px; overflow-wrap: anywhere; }
.hot-form { display: grid; gap: 14px; margin-top: 18px; }
.hot-form .primary-button, .hot-form .danger-button { width: 100%; }
.hot-message { margin: 0; padding: 12px 16px; border-radius: 14px; background: #fde7e4; color: #8f201c; font-weight: 500; }
.hot-note { margin: 0; color: var(--muted); font-size: .88rem; }
.hot-note.strong { padding: 12px 14px; border-radius: 14px; background: var(--paper); color: var(--ink-soft); font-weight: 500; }
.hot-switch { margin: 0; text-align: center; color: var(--muted); font-size: .92rem; }
.hot-switch .text-button { padding: 4px 6px; color: var(--blue-light); }
.hot-since { margin: 0 0 18px; color: var(--muted); }
.hot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 18px; }
.hot-section { border-top: 1px solid var(--line); padding: 14px 0 4px; }
.hot-section summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.hot-section summary::-webkit-details-marker { display: none; }
.hot-section summary::after { content: "+"; font-size: 1.3rem; color: var(--muted); }
.hot-section[open] summary::after { content: "−"; }
.hot-section.danger summary { color: var(--red-deep); }
.hot-section .hot-form { margin: 12px 0 10px; }
:root[data-theme="dark"] .hot-section.danger summary { color: var(--red); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hot-section.danger summary { color: var(--red); } }
@media (max-width: 640px) {
  .hot-account-button { max-width: 120px; padding: 8px 12px; font-size: .84rem; }
  .hot-account { padding: 26px 20px; }
}
