/* My account (6.0.0): Cream ground, Ink type, one Flash accent. Builds on app.css tokens. Mobile-first. */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
body.acct, body.hostp { min-height: 100%; height: auto; overflow-x: hidden; background: radial-gradient(110% 50% at 50% -10%, var(--blush), transparent 60%), var(--cream); }
body.acct :focus-visible, body.hostp :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.ac-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1080px; margin: 0 auto; padding: calc(12px + env(safe-area-inset-top)) 16px 4px; }
.ac-lock { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 25px; letter-spacing: -.02em; }
.ac-lock img { border-radius: 22%; }
.ac-lock b { font-weight: 700; } .ac-lock i { font-weight: 300; }
.ac-signout { min-height: 44px; padding: 0 14px; border: 0; background: none; color: var(--muted); font-weight: 600; font-size: 14px; cursor: pointer; border-radius: 999px; }
.ac-signout:hover { background: var(--blush); color: var(--ink); }

.ac { width: 100%; max-width: 1080px; margin: 0 auto; padding: 10px 16px calc(48px + env(safe-area-inset-bottom)); }
.ac-hero { max-width: 560px; padding: 8vh 0 4vh; animation: acIn .5s var(--ease) both; }
@keyframes acIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ac h1 { margin: 8px 0 12px; font-family: var(--display); font-weight: 700; font-size: clamp(42px, 11vw, 72px); line-height: .96; letter-spacing: -.025em; }
.ac h1 em { font-weight: 300; font-style: italic; }
.ac-hero > p { color: var(--muted); font-size: 17px; }
.ac-form { display: grid; gap: 14px; margin-top: 18px; }
.ac-field { display: grid; gap: 7px; font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--muted); }
.ac-field small { font-weight: 400; }
.ac-field input, .ac-field select, .ac-field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 16px; border: 1.5px solid var(--border); background: #fff; color: var(--ink); font-size: 16px; transition: border-color .2s; }
.ac-field input:focus, .ac-field select:focus, .ac-field textarea:focus { outline: none; border-color: var(--ink); }
.ac-form .btn { width: 100%; }
.ac-inline { grid-template-columns: 1fr; align-items: end; }
.ac-sent { margin-top: 22px; padding: 20px 22px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-soft); animation: acIn .45s var(--ease) both; }
.ac-sent h2 { margin: 0 0 6px; font-family: var(--display); font-size: 30px; }
.ac-sent p { margin: 0; color: var(--muted); }
.ac-msg { margin: 14px 0 0; padding: 12px 16px; border-radius: 14px; background: rgba(14, 124, 123, .1); color: var(--ink); font-size: 15px; }
.ac-msg.bad { background: rgba(180, 35, 24, .08); color: var(--bad); }
.ac-fine { margin-top: 26px; font-size: 14px; color: var(--muted); }
.ac-fine a, .ac-sub a { color: var(--ink); text-decoration-color: var(--flash); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* hello + badges */
.ac-hello { padding: 22px 0 6px; animation: acIn .5s var(--ease) both; }
.ac-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ac-badge { display: inline-flex; align-items: center; min-height: 30px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.ac-badge.supp { background: var(--flash); color: var(--ink); }
.ac-since { font-size: 13px; color: var(--muted); }

/* quick actions */
.ac-actions { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 22px 0 8px; }
.ac-action { display: grid; gap: 4px; min-height: 120px; align-content: end; padding: 20px 22px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--border); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-soft); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.ac-action:hover { transform: translateY(-2px); }
.ac-action b { font-family: var(--display); font-size: 30px; line-height: 1.05; }
.ac-action > span:last-child { color: var(--muted); font-size: 14.5px; }
.ac-action.primary { background: radial-gradient(120% 120% at 100% 0%, rgba(242, 73, 43, .55), transparent 55%), var(--ink); color: var(--cream); border-color: var(--ink); }
.ac-action.primary .eyebrow { color: var(--flash); }
.ac-action.primary > span:last-child { color: rgba(255, 246, 236, .75); }

/* sections + cards */
.ac-sec { margin-top: 38px; animation: acIn .5s var(--ease) both; }
.ac-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ac-sec h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 34px; letter-spacing: -.01em; }
.ac-sub { margin: 6px 0 16px; color: var(--muted); font-size: 15px; max-width: 46em; }
.ac-count { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ac-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.ac-card { position: relative; display: grid; gap: 10px; align-content: start; min-width: 0; color: var(--ink); text-decoration: none; }
.ac-cover { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-card-sm); overflow: hidden; background: var(--blush); border: 1px solid var(--border); box-shadow: var(--shadow-soft); }
.ac-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
a.ac-card:hover .ac-cover img { transform: scale(1.03); }
.ac-cover-ph { display: grid; place-items: center; height: 100%; font-family: var(--display); font-size: 64px; font-weight: 700; color: var(--muted); }
.ac-pill { position: absolute; left: 10px; top: 10px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 246, 236, .94); color: var(--ink); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ac-pill.submitted { background: var(--teal); color: var(--cream); }
.ac-pill.declined { background: var(--flash); color: var(--ink); }
.ac-pill.promoted, .ac-pill.early { background: var(--ink); color: var(--cream); }
.ac-card-body { display: grid; gap: 3px; padding: 0 2px; }
.ac-card-body b { font-family: var(--display); font-size: 21px; line-height: 1.1; }
.ac-card-body small { color: var(--muted); font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ac-note { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--blush); font-size: 13.5px; }
.ac-vote-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ac-votes { font-size: 13px; color: var(--muted); }
.ac-empty { grid-column: 1 / -1; margin: 0; padding: 22px; border-radius: var(--r-card-sm); border: 1.5px dashed var(--border); color: var(--muted); text-align: center; }
.ac-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ac-photo { display: grid; gap: 4px; color: var(--muted); text-decoration: none; font-size: 11.5px; min-width: 0; }
.ac-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; background: var(--blush); }

/* profile */
.ac-supp { display: grid; gap: 10px; margin-top: 4px; }
.ac-check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--border); cursor: pointer; }
.ac-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.ac-check span { display: grid; gap: 2px; }
.ac-check small { color: var(--muted); font-size: 13.5px; }
.ac-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ac-row .btn { width: auto; }
.ac-msg-inline { font-size: 14px; color: var(--teal); }
.ac-danger { margin-top: 34px; padding: 20px 22px; border-radius: var(--r-card); border: 1px solid rgba(180, 35, 24, .25); background: rgba(180, 35, 24, .03); }
.ac-danger h3 { margin: 0 0 6px; font-family: var(--display); font-size: 24px; }
.ac-danger p { margin: 0 0 14px; color: var(--muted); font-size: 14.5px; }
.sheet .ac-field input { margin-top: 6px; }

@media (min-width: 640px) {
  .ac-actions { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .ac-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .ac-photos { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .ac-form .btn { width: auto; justify-self: start; }
  .ac-inline { grid-template-columns: 1fr auto; }
}
@media (prefers-reduced-motion: reduce) {
  .ac-hero, .ac-hello, .ac-sec, .ac-sent { animation: none; }
  .ac-action, .ac-cover img { transition: none; }
}
