/* Chumi — accounts (G1.2b). The existing look: tokens and type from index.html. */

#account-slot { padding: 0 20px; display: flex; flex-direction: column; gap: 10px; }
#account-slot:not(:empty) { margin-bottom: 10px; }

.acct-card {
  box-sizing: border-box; width: 100%;
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 14px;
  padding: 15px 17px; color: var(--ink); text-align: left;
}
.acct-keep { background: var(--surface-alt); border-color: rgba(212,165,74,0.6); }
.acct-account { border-color: rgba(212,165,74,0.45); }
.acct-lab {
  font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: rgba(240,235,227,0.5);
}
.acct-gold { color: var(--gold); }
.acct-val { font-family: 'Cormorant Garamond', serif; font-size: 19px; font-weight: 500; color: var(--ink); margin-top: 2px; display: block; }
.acct-val0 { margin-top: 0; font-size: 18px; }
.acct-email { font-size: 18px; word-break: break-all; }
.acct-tx { display: block; font-size: 13px; color: rgba(240,235,227,0.68); line-height: 1.6; margin-top: 6px; }
.acct-tx0 { margin-top: 0; }
.acct-tx-tight { margin-top: 4px; }
.acct-ink { color: var(--ink); }
.acct-fine { font-size: 11px; color: rgba(240,235,227,0.5); margin-top: 10px; text-align: center; }

.acct-btn {
  display: block; padding: 13px 34px; background: transparent;
  border: 1.5px solid rgba(212,165,74,.55); color: #D4A54A;
  font-family: 'Palatino Linotype', 'Palatino', 'Book Antiqua', 'Georgia', serif;
  font-size: 14px; letter-spacing: 2px; cursor: pointer; text-align: center;
  transition: all .4s ease; min-height: 44px;
}
.acct-btn:hover { background: rgba(212,165,74,.12); border-color: #F2C87E; color: #F2C87E; box-shadow: 0 0 20px rgba(212,165,74,.15); }
.acct-btn:disabled { opacity: .5; cursor: default; }
.acct-btn-card { width: 100%; margin-top: 14px; padding: 11px 0; }

.acct-list { padding: 2px 17px; }
.acct-row {
  display: block; width: 100%; text-align: left; background: none; border: none;
  border-bottom: 1px solid rgba(240,235,227,0.08);
  color: var(--ink); font-family: 'Inter', sans-serif; font-size: 14px;
  padding: 12px 0; cursor: pointer; min-height: 44px;
}
.acct-row:last-child { border-bottom: none; }

.acct-lk {
  background: none; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 13px; color: rgba(240,235,227,.75);
  text-decoration: underline; text-underline-offset: 3px; padding: 12px 4px; min-height: 44px;
}
.acct-delete-lk { align-self: center; margin-top: 18px; color: rgba(240,235,227,.6); }
.acct-msg { font-size: 12px; color: var(--gold-bright); text-align: center; line-height: 1.5; min-height: 0; }
.acct-msg:empty { display: none; }

/* The flow: a full-screen layer over the app */
.acct-flow {
  position: fixed; inset: 0; z-index: 9000; background: var(--bg);
  overflow-y: auto; display: flex; justify-content: center;
}
.acct-screen {
  box-sizing: border-box; width: 100%; max-width: 390px; min-height: 100%;
  padding: 48px 32px 32px; display: flex; flex-direction: column; align-items: center;
  color: var(--ink); font-family: 'Inter', sans-serif;
}
.acct-push { flex: 1; min-height: 24px; }

.acct-sun {
  flex-shrink: 0; width: 44px; height: 44px; margin-top: 24px; border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, #F2C87E 0%, #D4A54A 40%, #A07830 80%, rgba(160,120,48,.3) 100%);
  box-shadow: 0 0 36px rgba(212,165,74,.2), 0 0 70px rgba(212,165,74,.08);
  animation: acctSunPulse 4s ease-in-out infinite;
}
.acct-sun-md { width: 52px; height: 52px; margin-top: 6px; }
.acct-sun-dim { opacity: .6; animation: none; }
@keyframes acctSunPulse { 0%,100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .acct-sun { animation: none; } }

.acct-q {
  margin-top: 36px; font-family: 'Palatino Linotype', 'Palatino', 'Book Antiqua', 'Georgia', serif;
  font-size: 21px; font-style: italic; line-height: 1.4; text-align: center; color: var(--ink);
}
.acct-q-top { margin-top: 20px; }
.acct-title { font-size: 25px; margin-top: 14px; text-align: center; }
.acct-nb {
  margin-top: 16px; font-size: 12px; font-style: italic; color: rgba(240,235,227,.62);
  text-align: center; line-height: 1.6;
}
.acct-upright { font-style: normal; margin-top: 10px; }
.acct-addr { color: var(--ink); font-size: 13px; word-break: break-all; }

.acct-in {
  width: 100%; box-sizing: border-box; margin-top: 40px; margin-bottom: 6px;
  background: transparent; border: none; border-bottom: 1.5px solid rgba(212,165,74,.4); border-radius: 0;
  color: var(--ink); font-size: 21px; text-align: center; outline: none; caret-color: #D4A54A; padding: 8px 0;
  font-family: 'Palatino Linotype', 'Palatino', 'Book Antiqua', 'Georgia', serif;
  transition: border-color .4s ease;
}
.acct-in::placeholder { color: rgba(240,235,227,.25); font-style: italic; }
.acct-in:focus { border-bottom-color: rgba(212,165,74,.7); }
.acct-code { margin-top: 30px; font-size: 26px; letter-spacing: 12px; padding-left: 12px; }
.acct-code-wrong, .acct-code-wrong:focus { border-bottom-color: rgba(240,235,227,.35); }
.acct-in::selection { background: rgba(212,165,74,.3); color: var(--ink); }

.acct-links { display: flex; justify-content: space-between; width: 100%; margin-top: 6px; }
.acct-wrong { margin-top: 18px; padding: 12px 15px; background: var(--surface-alt); }
#acct-wrong { width: 100%; }
.acct-tries { font-size: 12px; color: var(--gold-bright); margin-top: 4px; }
.acct-center { margin-top: 26px; text-align: center; }
.acct-gap { margin-top: 24px; }
.acct-travels { margin-top: 18px; border-color: rgba(212,165,74,0.6); }
.acct-stays { margin-top: 10px; background: transparent; border-style: dashed; border-color: rgba(240,235,227,.25); }

.acct-check { margin-top: 10px; display: flex; gap: 12px; cursor: pointer; position: relative; }
.acct-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.acct-box {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; box-sizing: border-box;
  border: 1.5px solid rgba(212,165,74,.55); border-radius: 5px;
}
.acct-check input:checked + .acct-box { background: var(--gold); box-shadow: inset 0 0 0 3px var(--surface); }
.acct-check input:focus-visible + .acct-box { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.acct-screen .acct-lk:focus-visible, .acct-btn:focus-visible, .acct-row:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }

/* B3a: the door on the welcome screen, and screen 8 */
#account-door { margin-top: auto; padding-top: 18px; display: flex; justify-content: center; flex-shrink: 0; }
#account-door:empty { display: none; }
#account-door .acct-lk { font-family: 'Inter', sans-serif; padding: 8px 4px; }   /* #onboarding sets a serif on every button */
#account-door .acct-lk:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.acct-here { margin-top: 20px; border-color: rgba(212,165,74,0.6); }
.acct-btn-wide { width: 100%; padding: 13px 0; }

/* B3b: the answers file (handoff.js), screens 9a to 9f */
.acct-row-sub { display: block; font-size: 12px; color: rgba(240,235,227,.55); margin-top: 2px; }
.acct-lk-under { margin-top: -8px; }                 /* two links stacked on screen 8 */
.ho-flow { z-index: 9001; }
.ho-q { margin-top: 18px; }
.ho-gap10 { margin-top: 10px; }
.ho-gap14 { margin-top: 14px; }
.ho-gap16 { margin-top: 16px; }
.ho-gap20 { margin-top: 20px; }
.ho-tx2 { margin-top: 2px; }
.ho-code {
  margin-top: 18px; font-size: 28px; font-weight: 500; letter-spacing: 4px; color: #D4A54A; text-align: center;
  -webkit-user-select: text; user-select: text;
}
.ho-pick {
  display: block; margin-top: 22px; text-align: center; cursor: pointer; min-height: 44px;
  border-style: dashed; border-color: rgba(212,165,74,.45); font-family: 'Inter', sans-serif;
}
.ho-pick .acct-val, .ho-pick .acct-tx { text-align: center; }
.ho-picked { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; }
.ho-pick[hidden], .ho-picked[hidden] { display: none; }
.ho-change { font-size: 12px; color: rgba(240,235,227,.6); padding: 10px 0 10px 12px; }
.ho-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ho-codein { margin-top: 26px; letter-spacing: 4px; text-transform: uppercase; }
.ho-codein::placeholder { letter-spacing: normal; text-transform: none; }
.ho-pick:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
