/* Account cabinet (site/account). Reuses ../styles.css. Static background (CSS gradients, no canvas, no
   backdrop-filter, no running animations) so the page costs nothing while it sits open. */
body.acc { background: #000; min-height: 100vh; display: flex; flex-direction: column; position: relative; }
/* Backdrop: a soft light from the top and a fine grid that fades out towards the edges. */
body.acc::before, body.acc::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; }
body.acc::before {
  background:
    radial-gradient(700px 420px at 50% -80px, rgba(255, 255, 255, .11), transparent 70%),
    radial-gradient(520px 520px at 88% 30%, rgba(255, 255, 255, .035), transparent 70%),
    radial-gradient(480px 480px at 8% 75%, rgba(255, 255, 255, .03), transparent 70%);
}
body.acc::after {
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center -1px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 20%, transparent 75%);
}
.acc-main { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 118px 0 64px; flex: 1; }
.acc-load { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--mute); padding-top: 120px; animation: acc-in .2s .35s both; } /* only if the wait is noticeable */
#signedIn, #signedOut { animation: acc-in .28s cubic-bezier(.2, .7, .3, 1) both; }
@keyframes acc-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { #signedIn, #signedOut, .acc-load { animation: none; } }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line2); border-top-color: #fff; animation: acc-spin .8s linear infinite; }
@keyframes acc-spin { to { transform: rotate(360deg); } }
.acc .note { color: var(--mute); font-size: .86rem; line-height: 1.55; margin: 0; }
.acc-h1 { margin: 0; font: 800 clamp(1.7rem, 4.6vw, 2.5rem)/1.08 var(--display); letter-spacing: -.03em; overflow-wrap: anywhere; }
.acc-h1.big { font-size: clamp(2.1rem, 5.6vw, 3.4rem); }
.acc [hidden] { display: none !important; }

/* Icons: one stroke style everywhere; .hic is the framed chip they sit in. */
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff;
  border: 1px solid var(--line2); background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02)); }
.hic.big { width: 52px; height: 52px; border-radius: 15px; box-shadow: 0 0 30px rgba(255, 255, 255, .12); }
.hic.big .i { width: 24px; height: 24px; }

/* Cards here: a thin light edge on top. */
.acc .card { position: relative; overflow: hidden; }
.acc .card::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); }

/* ---------- signed out ---------- */
.auth { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: clamp(28px, 6vw, 80px); align-items: center; min-height: calc(100vh - 300px); }
.pitch .kicker { margin-bottom: 14px; }
.pitch .pitch-lead { margin: 16px 0 30px; color: #a9a9a9; font-size: 1.05rem; line-height: 1.6; max-width: 440px; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 460px; }
.perks li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(10, 10, 10, .6); transition: border-color .2s, background .2s; }
.perks li:hover { border-color: var(--line2); background: rgba(16, 16, 16, .8); }
.perks li > span:last-child { display: grid; gap: 2px; }
.perks b { font-size: .95rem; }
.perks small { color: var(--mute); font-size: .82rem; }
.auth-card { padding: 28px; display: grid; gap: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .04), 0 0 60px rgba(255, 255, 255, .05); }
.auth-card > div { display: grid; gap: 16px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.tabs button { padding: 10px; font-weight: 700; font-size: .86rem; }
.card-h { margin: 0; font: 700 1.25rem var(--display); letter-spacing: -.02em; }
.wide-btn { width: 100%; justify-content: center; }
.or { display: flex; align-items: center; gap: 12px; margin: 0 0 4px; color: var(--dim); font: .7rem var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.oauth { display: grid; gap: 10px; }
.forgot summary { cursor: pointer; color: var(--mute); font-size: .86rem; list-style: none; width: fit-content; text-decoration: underline; text-underline-offset: 3px; }
.forgot summary::-webkit-details-marker { display: none; }
.forgot summary:hover { color: var(--fg); }
.forgot p { margin: 10px 0 0; color: #a9a9a9; font-size: .86rem; line-height: 1.55; }
.forgot a, .msg a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; }
.fld { display: grid; gap: 7px; font-size: .82rem; font-weight: 700; color: #d2d2d2; }
.fld small { font-weight: 500; color: var(--dim); font-size: .76rem; }
.fld input {
  width: 100%; min-width: 0; padding: 12px 14px; border-radius: 11px; border: 1px solid var(--line2);
  background: rgba(0, 0, 0, .6); color: var(--fg); font: 500 .95rem var(--body); outline: none; transition: border-color .15s, box-shadow .15s, background .15s;
}
.fld input:hover { border-color: rgba(255, 255, 255, .28); }
.fld input.mono, .code-in { font-family: var(--mono) !important; letter-spacing: .08em; }
.code-in { font-size: 1.2rem !important; letter-spacing: .5em !important; text-align: center; }
.fld input::placeholder { color: #4a4a4a; }
.fld input:focus { border-color: rgba(255, 255, 255, .75); background: rgba(0, 0, 0, .8); box-shadow: 0 0 0 3px rgba(255, 255, 255, .08), 0 0 16px rgba(255, 255, 255, .12); }
.form .btn { justify-self: start; }
.form .wide-btn { justify-self: stretch; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn[disabled], .abtn[disabled] { opacity: .5; pointer-events: none; }

/* messages: white for success, outlined with "!" for errors (the site stays black and white) */
.msg { margin: 0; font-size: .86rem; line-height: 1.45; }
.msg:empty { display: none; }
.msg.ok { color: #fff; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .05); }
.msg.ok::before { content: "✓  "; text-shadow: var(--glow); }
.msg.err { color: #fff; padding: 9px 12px 9px 36px; position: relative; border: 1px solid rgba(255, 255, 255, .45); border-radius: 10px; background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .05) 0 6px, transparent 6px 12px); }
.msg.err::before { content: "!"; position: absolute; left: 12px; top: 9px; width: 16px; height: 16px; border-radius: 50%; background: #fff; color: #000; font: 800 .7rem/16px var(--mono); text-align: center; }
.msg.info { color: var(--mute); }

/* ---------- signed in: header ---------- */
.me-hero { position: relative; display: flex; align-items: center; gap: 24px; padding: 28px; border-radius: 22px; border: 1px solid var(--line2); overflow: hidden;
  background:
    radial-gradient(420px 220px at 0% 0%, rgba(255, 255, 255, .12), transparent 70%),
    linear-gradient(115deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .01) 55%), rgba(8, 8, 8, .85);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.me-hero::after { content: ""; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, rgba(255, 255, 255, .07) 0 1px, transparent 1px 22px);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%); mask-image: radial-gradient(circle, #000 30%, transparent 70%); }
.me-hero > * { position: relative; z-index: 1; }
.me-id { flex: 1; min-width: 0; }
.me-id .kicker { margin-bottom: 8px; }
#meSub { margin-top: 8px; font-family: var(--mono); font-size: .8rem; overflow-wrap: anywhere; }
#mTop { margin-top: 14px; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.stat { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: 12px; row-gap: 3px; align-items: center;
  padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(9, 9, 9, .8); min-width: 0; }
.stat .hic { grid-row: 1 / span 3; align-self: start; }
.stat .caps { color: var(--dim); }
.stat b { font: 700 1.05rem var(--display); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat small { color: var(--mute); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat.on { border-color: rgba(255, 255, 255, .5); background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02) 70%), rgba(9, 9, 9, .85); box-shadow: 0 0 34px rgba(255, 255, 255, .08); }
.stat.on .hic { background: #fff; color: #000; border-color: #fff; box-shadow: 0 0 18px rgba(255, 255, 255, .45); }

/* ---------- signed in: sections ---------- */
.acc-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 22px; margin-top: 22px; align-items: start; }
.side { position: sticky; top: 104px; display: grid; gap: 4px; padding: 8px; border-radius: 16px; border: 1px solid var(--line); background: rgba(9, 9, 9, .8); }
.side a { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; color: var(--mute); font-weight: 600; font-size: .9rem; transition: color .15s, background .15s; }
.side a:hover { color: var(--fg); background: rgba(255, 255, 255, .04); }
.side a.on { color: #000; background: #fff; box-shadow: 0 0 22px rgba(255, 255, 255, .2); }
.acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.acc-grid .card { display: grid; gap: 16px; min-width: 0; scroll-margin-top: 104px; }
.acc-grid .card .sx-h { margin: 0; gap: 12px; padding-bottom: 14px; }
.acc-grid .card .sx-h .hic { width: 30px; height: 30px; border-radius: 9px; }
.acc-grid .card .sx-h .hic .i { width: 16px; height: 16px; }
.acc-grid .wide { grid-column: 1 / -1; }
.pill { margin-left: auto; font: 600 .6rem var(--mono); letter-spacing: .16em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; border: 1px solid var(--line2); color: var(--mute); }
.pill.on { background: #fff; border-color: #fff; color: #000; box-shadow: 0 0 14px rgba(255, 255, 255, .35); }

.avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line2); background: radial-gradient(circle at 30% 25%, #2a2a2a, #0b0b0b 70%); display: grid; place-items: center; font: 800 1.5rem var(--display); color: #fff; overflow: hidden; }
.avatar.big { width: 96px; height: 96px; font-size: 2.3rem; box-shadow: 0 0 0 4px #050505, 0 0 0 5px rgba(255, 255, 255, .55), 0 0 40px rgba(255, 255, 255, .22); }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.av-row { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: 14px; border: 1px dashed var(--line2); background: rgba(0, 0, 0, .35); }
.av-btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.av-btns label.abtn { cursor: pointer; }
.av-btns small { flex-basis: 100%; }

.rows { display: grid; gap: 10px; }
.row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 13px; border: 1px solid var(--line); background: rgba(0, 0, 0, .35); }
.row .ic { flex: none; width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line2); display: grid; place-items: center; background: rgba(255, 255, 255, .04); }
.row .tx { flex: 1; min-width: 0; display: grid; }
.row .tx b { font-size: .92rem; }
.row .tx span { color: var(--mute); font-size: .8rem; overflow-wrap: anywhere; }
.row .abtn { flex: none; }
.k-none { color: var(--mute); font-size: .88rem; margin: 0; }

.qr-row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.qr { flex: none; width: 168px; height: 168px; padding: 10px; border-radius: 14px; background: #fff; box-shadow: 0 0 34px rgba(255, 255, 255, .18); }
.qr svg { display: block; width: 100%; height: 100%; }
.secret { display: grid; gap: 6px; min-width: 0; flex: 1 1 180px; }
.secret code { font: 600 .86rem/1.6 var(--mono); letter-spacing: .06em; word-break: break-all; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--line2); background: rgba(0, 0, 0, .5); }
.sel { -webkit-user-select: all; user-select: all; }

/* Keys: one framed row per key, the active ones lit. */
.keys { display: grid; gap: 8px; }
.keys:empty { display: none; }
.key { display: grid; grid-template-columns: 38px minmax(0, 1.3fr) minmax(0, .55fr) minmax(max-content, 1.5fr) minmax(0, .9fr) auto; gap: 14px; align-items: center;
  padding: 12px 14px; border-radius: 13px; border: 1px solid var(--line); background: rgba(0, 0, 0, .4); font-size: .88rem; transition: border-color .15s; }
.key:hover { border-color: var(--line2); }
.key.lit { border-color: rgba(255, 255, 255, .35); background: linear-gradient(90deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .01) 60%), rgba(0, 0, 0, .4); }
.key .ki { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; border: 1px solid var(--line2); color: var(--mute); }
.key.lit .ki { background: #fff; color: #000; border-color: #fff; box-shadow: 0 0 16px rgba(255, 255, 255, .35); }
.key.th { font: .62rem var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); padding: 0 14px; border: 0; background: none; }
.key .k { font: 600 .88rem var(--mono); letter-spacing: .05em; -webkit-user-select: all; user-select: all; overflow-wrap: anywhere; }
.key .st { overflow: hidden; text-overflow: ellipsis; display: inline-flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%; white-space: nowrap; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line2); font-size: .8rem; }
.key .st.dimc { color: var(--mute); border-color: var(--line); }
.key .bd { color: var(--mute); }
.key .abtn.arm { background: #fff; color: #000; border-color: #fff; }
.key .kacts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.key .abtn.on { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .1); }
.kx .plan.arm { background: #fff; color: #000; border-color: #fff; }
/* Extend: the plan picker opens under its key. */
.kx { display: grid; gap: 10px; padding: 14px; margin: -2px 0 4px 52px; border-radius: 13px; border: 1px dashed var(--line2); background: rgba(0, 0, 0, .35); animation: w-in .25s cubic-bezier(.2, .7, .2, 1); }
.kx-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; font-size: .88rem; }
.kx-h .mono { color: var(--mute); font-size: .8rem; }
.kx-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.kx .plan { display: grid; gap: 2px; justify-items: start; text-align: left; padding: 10px 12px; border-radius: 11px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); color: var(--fg); transition: .15s; }
.kx .plan:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .07); }
.kx .plan b { font-size: .88rem; } .kx .plan span { font-size: .8rem; color: var(--mute); }
.kx .plan.arm span { color: #000; }
.kx .plan small { font-size: .72rem; color: var(--dim); }
.kx .plan[disabled] { opacity: .45; }
.kx .note { margin: 0; font-size: .8rem; }

/* a3ths coin */
.coin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 22px; }
.coin-l { display: grid; gap: 12px; align-content: start; }
.coin-l .note { margin: 0; }
.coin-bal { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.coin-bal b { font: 800 2.6rem/1 var(--display); letter-spacing: -.03em; text-shadow: 0 0 30px rgba(255, 255, 255, .25); }
.coin-bal span { font: 600 .9rem var(--mono); color: var(--mute); }
.coin-bal small { color: var(--dim); font-size: .85rem; margin-left: 4px; }
.coin-reset { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 13px; border: 1px solid var(--line); background: rgba(0, 0, 0, .35); }
.coin-reset .ic { flex: none; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line2); display: grid; place-items: center; }
.coin-reset .tx { display: grid; min-width: 0; } .coin-reset .tx b { font-size: .88rem; } .coin-reset .tx span { color: var(--mute); font-size: .8rem; }
.coin-r { display: grid; gap: 8px; align-content: start; min-width: 0; }
.achist { display: grid; max-height: 260px; overflow-y: auto; padding-right: 6px; border-top: 1px solid var(--line); }
.acrow { display: flex; align-items: center; gap: 12px; padding: 9px 2px; border-bottom: 1px solid var(--line); }
.acrow .tx { flex: 1; min-width: 0; display: grid; } .acrow .tx b { font-size: .86rem; }
.acrow .tx span { color: var(--mute); font: .74rem var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acrow > b { flex: none; font-size: .86rem; } .acrow .minus, .acrow .zero { color: var(--mute); }
.achist .k-none { padding-top: 10px; }

/* avatar crop dialog */
.noscroll { overflow: hidden; }
.crop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .7); }
.crop[hidden] { display: none; }
.crop-box { width: min(380px, 100%); display: grid; gap: 14px; animation: w-in .25s cubic-bezier(.2, .7, .2, 1); }
.crop-stage { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; border: 1px solid var(--line2); touch-action: none; }
.crop-stage canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.crop-stage canvas:active { cursor: grabbing; }
.crop-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle closest-side, transparent 99%, rgba(0, 0, 0, .6) 100%); }
.crop-zoom { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; font-size: .82rem; color: var(--mute); }
.crop-zoom input { accent-color: #fff; }
.crop-box .note { margin: 0; font-size: .8rem; }

.key-add { grid-template-columns: minmax(0, 340px) auto; align-items: end; padding-top: 16px; border-top: 1px solid var(--line); }
.ss-row { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.ss-row .note { flex: 1 1 320px; }
.acc-foot { width: min(1120px, calc(100% - 32px)); }

/* Email hushed until clicked (header, Google row) or focused (profile field): the text is blurred, the box stays sharp. */
.hush-t { font: inherit; color: transparent; text-shadow: 0 0 7px rgba(255, 255, 255, .75); padding: 0 2px; margin: 0 -2px; border-radius: 4px; cursor: pointer;
  transition: color .25s, text-shadow .25s, background .2s; }
.hush-t:hover { background: rgba(255, 255, 255, .06); }
.hush-t.shown { color: inherit; text-shadow: none; cursor: text; }
.fld input.hush:not(:focus):not(:placeholder-shown) { color: transparent; text-shadow: 0 0 7px rgba(255, 255, 255, .75); cursor: pointer; }
.fld input.hush { transition: border-color .15s, box-shadow .15s, background .15s, color .25s, text-shadow .25s; }

/* The email waiting for its code */
.verify { display: grid; gap: 12px; padding: 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .3);
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .01) 70%), rgba(0, 0, 0, .5); animation: w-in .3s cubic-bezier(.2, .7, .2, 1); }
.v-t { margin: 0; font-size: .86rem; color: var(--mute); overflow-wrap: anywhere; }
.v-t b { color: #fff; font-weight: 700; }
.v-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.v-row .code-in { width: 100%; min-width: 0; padding: 10px 12px; border-radius: 11px; border: 1px solid var(--line2); background: rgba(0, 0, 0, .7); color: #fff; outline: none;
  transition: border-color .15s, box-shadow .15s; }
.v-row .code-in::placeholder { color: #3a3a3a; }
.v-row .code-in:focus { border-color: rgba(255, 255, 255, .75); box-shadow: 0 0 0 3px rgba(255, 255, 255, .08); }
.v-acts { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.lnk { padding: 0; font-size: .8rem; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .25); transition: color .15s; }
.lnk:hover:not([disabled]) { color: #fff; }
.lnk[disabled] { text-decoration: none; cursor: default; font-variant-numeric: tabular-nums; }

/* Motion: messages and cards arrive, rows answer the pointer */
.msg:not(:empty) { animation: w-in .28s cubic-bezier(.2, .7, .2, 1); }
#signedIn:not([hidden]) .me-hero, #signedIn:not([hidden]) .stat, #signedIn:not([hidden]) .side, #signedIn:not([hidden]) .acc-grid > .card,
#signedOut:not([hidden]) .pitch > *, #signedOut:not([hidden]) .auth-card { animation: acc-up .55s cubic-bezier(.2, .7, .2, 1) both; }
#signedIn .stat:nth-child(2) { animation-delay: .04s; } #signedIn .stat:nth-child(3) { animation-delay: .08s; } #signedIn .stat:nth-child(4) { animation-delay: .12s; }
#signedIn .side { animation-delay: .1s; }
#signedIn .acc-grid > .card:nth-child(2) { animation-delay: .14s; } #signedIn .acc-grid > .card:nth-child(3) { animation-delay: .18s; }
#signedIn .acc-grid > .card:nth-child(n+4) { animation-delay: .22s; }
#signedOut .pitch > :nth-child(2) { animation-delay: .05s; } #signedOut .pitch > :nth-child(3) { animation-delay: .1s; } #signedOut .pitch > :nth-child(4) { animation-delay: .15s; }
#signedOut .auth-card { animation-delay: .08s; }
@keyframes acc-up { from { opacity: 0; translate: 0 14px; } }
.key, .row, .perks li { transition: border-color .15s, background .15s, translate .2s cubic-bezier(.3, 1.3, .5, 1); }
.key:hover, .row:hover { translate: 2px 0; }
.side a { transition: color .15s, background .25s, box-shadow .25s; }
#fTfaOn:not([hidden]), #fTfaOff:not([hidden]), #f2fa:not([hidden]), #fIn:not([hidden]), #fUp:not([hidden]) { animation: w-in .28s cubic-bezier(.2, .7, .2, 1); }
.qr { animation: qr-in .45s cubic-bezier(.3, 1.3, .5, 1) both; }
@keyframes qr-in { from { opacity: 0; scale: .92; } }

@media (max-width: 980px) {
  .acc-layout { grid-template-columns: 1fr; }
  .side { position: static; grid-auto-flow: column; grid-auto-columns: 1fr; overflow-x: auto; }
  .side a { justify-content: center; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .auth { grid-template-columns: 1fr; min-height: 0; }
  .pitch { text-align: center; }
  .pitch .pitch-lead { margin-inline: auto; }
  .perks { display: none; }
  .auth-card { width: min(460px, 100%); justify-self: center; }
}
@media (max-width: 860px) {
  .acc-grid { grid-template-columns: 1fr; }
  .key { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 4px 12px; }
  .key.th { display: none; }
  .key .ki { grid-row: 1 / span 4; align-self: start; }
  .key .k { grid-column: 2; }
  .key .abtn { grid-column: 3; grid-row: 1 / span 4; align-self: center; }
  .key > span:not(.k):not(.ki) { grid-column: 2; font-size: .82rem; }
  .key .kacts { justify-content: flex-start; padding-top: 4px; }
  .kx { margin-left: 0; }
  .coin { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .acc-main { padding-top: 100px; }
  .me-hero { flex-wrap: wrap; gap: 16px; padding: 22px; }
  .avatar.big { width: 60px; height: 60px; font-size: 1.45rem; }
  .me-hero .acc-h1 { font-size: 1.35rem; }
  .me-hero > .btn-sm { display: none; } /* the Sessions card has "Sign out" too */
  .side a span { display: none; }
  .me-hero::after { display: none; }
  .tiles { gap: 10px; }
  .stat { padding: 14px; grid-template-columns: 1fr; }
  .stat .hic { display: none; }
  .stat b, .stat small { white-space: normal; }
  .key .k { font-size: .8rem; letter-spacing: .02em; }
  .auth-card { padding: 22px; }
  .key-add { grid-template-columns: 1fr; }
  .qr { width: 152px; height: 152px; }
}
