/* MEMBER ACCOUNTS (accounts.php): the members' pages (/signin, /me, /bench, /community, /u/<handle>, /settings)
   and the member's tile in the header of every page. Every class and token here begins with acct- / --ac-:
   this sheet is loaded on the site's own pages too, where a bare name would be everybody's. The dark bench,
   the LED screens and the keys are the Workbench's own (style.css, "Workbench"); the pages follow the
   reader's light or dark setting, the bench stays dark in both, as it does on the Workbench. */

:root {
  --ac-bg: #f6f8fa;
  --ac-card: #ffffff;
  --ac-fg: #1f2328;
  --ac-muted: #59636e;
  --ac-line: #d8dee4;
  --ac-soft: #eef2f5;
  --ac-link: #11727a;
  --ac-bad: #cf222e;
  --ac-ok: #1a7f37;
  --ac-amber: #ffc14d;
  --ac-amber-deep: #d99a1e;
  --ac-teal: #35adb0;
  --ac-bench: radial-gradient(ellipse at 18% 12%, rgba(53, 173, 176, .22), transparent 55%), radial-gradient(ellipse at 88% 95%, rgba(194, 84, 158, .18), transparent 50%), linear-gradient(160deg, #1d2833, #0f151b);
  --ac-dots: radial-gradient(rgba(255, 255, 255, .075) 1px, transparent 1.6px);
  --ac-shadow: 0 1px 0 rgba(31, 35, 40, .04), 0 12px 30px -16px rgba(31, 35, 40, .28);
  --ac-ease: cubic-bezier(.2, .8, .2, 1);
  --ac-spring: cubic-bezier(.3, 1.5, .5, 1);
  --ac-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]).acct-page {
    --ac-bg: #0d1318;
    --ac-card: #141d26;
    --ac-fg: #dbe4ec;
    --ac-muted: #8d9aa7;
    --ac-line: #26333f;
    --ac-soft: #1a2530;
    --ac-link: #7fd6d8;
    --ac-bad: #ff8a80;
    --ac-ok: #7ee2a8;
    --ac-shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 18px 40px -20px rgba(0, 0, 0, .85);
    --bg: #0d1318; --bg-subtle: #111921; --border: #26333f; --fg: #dbe4ec; --fg-muted: #8d9aa7; --link: #7fd6d8;   /* style.css's own, for the header */
    color-scheme: dark;
  }
}
:root[data-theme="dark"].acct-page {
  --ac-bg: #0d1318; --ac-card: #141d26; --ac-fg: #dbe4ec; --ac-muted: #8d9aa7; --ac-line: #26333f; --ac-soft: #1a2530;
  --ac-link: #7fd6d8; --ac-bad: #ff8a80; --ac-ok: #7ee2a8; color-scheme: dark;
  --bg: #0d1318; --bg-subtle: #111921; --border: #26333f; --fg: #dbe4ec; --fg-muted: #8d9aa7; --link: #7fd6d8;
}
.acct-sr, .acct-skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.acct-skip:focus { position: fixed; left: 16px; top: 8px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: #0f151b; color: #ffc14d; }
[hidden].acct-menu, [hidden].acct-drawer, .acct-card[hidden], .acct-bb-key[hidden] { display: none !important; }

/* ---- The members' pages ---- */
.acct-body { background: var(--ac-bg); color: var(--ac-fg); min-height: 100svh; }
.acct-body :where(a) { color: var(--ac-link); }   /* no weight of its own: a key or a menu item that is a link keeps its colour */
.acct-page .acct-header { background: color-mix(in srgb, var(--ac-bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom-color: var(--ac-line); }
.acct-page .crumbs, .acct-page .crumbs strong { color: var(--ac-fg); }
.acct-page .acct-home:hover { text-decoration: none; }
.acct-slot { display: flex; align-items: center; margin-left: auto; }
.acct-main { display: block; outline: none; }
.acct-main > * { animation: acct-rise .6s var(--ac-ease) both; }
.acct-main > :nth-child(2) { animation-delay: .08s; }
@keyframes acct-rise { from { opacity: 0; transform: translateY(14px); } }
.acct-title { margin: 0; font: 700 clamp(24px, 4.2vw, 36px)/1.12 var(--sans, system-ui); letter-spacing: -.015em; overflow-wrap: anywhere; }
.acct-h2 { margin: 0; font: 400 clamp(22px, 3vw, 27px)/1.1 "AKIKI Pixel", var(--ac-mono); text-transform: lowercase; color: var(--ac-fg); }
.acct-lead { margin: 0; color: var(--ac-muted); font-size: 14.5px; line-height: 1.55; max-width: 62ch; }
.acct-kicker { margin: 0; color: var(--pc, var(--ac-muted)); font: 700 10.5px/1.4 var(--ac-mono); letter-spacing: .16em; text-transform: uppercase; }
.acct-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.acct-row > form { margin: 0; }
.acct-dot { color: var(--ac-line); }
.acct-ico { width: 14px; height: 14px; flex: none; fill: currentColor; shape-rendering: crispEdges; }

/* ---- A member's tile ---- */
.acct-av {
  --sz: 44px;
  position: relative;
  display: inline-block;
  flex: none;
  width: var(--sz);
  height: var(--sz);
  border-radius: calc(var(--sz) * .2);
  overflow: hidden;
  background: var(--tc, #35adb0);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 6px 14px -8px color-mix(in srgb, var(--tc, #35adb0) 90%, #000);
  vertical-align: middle;
}
.acct-av-xs { --sz: 22px; border-radius: 5px; }
.acct-av-s { --sz: 34px; }
.acct-av-m { --sz: 44px; }
.acct-av-l { --sz: 52px; }
.acct-av-xl { --sz: clamp(84px, 14vw, 116px); }
.acct-av > svg, .acct-av > img { display: block; width: 100%; height: 100%; }
.acct-av.is-pic { padding: calc(var(--sz) * .07); }
.acct-av.is-pic > img { border-radius: calc(var(--sz) * .14); object-fit: cover; background: #0f151b; }
.acct-av-pip { position: absolute; right: 6%; bottom: 6%; width: 17%; height: 17%; border-radius: 26%; background: #f2b632; box-shadow: 0 0 0 calc(var(--sz) * .03) #fff; }
.acct-av-mark { display: grid; place-items: center; background: #fff; color: #1f2328; }
.acct-av-mark > svg { width: 58%; height: 58%; }
.acct-px { transform-box: fill-box; transform-origin: center; }
.acct-av-xl .acct-px { animation: acct-px-in .55s var(--ac-spring) both; animation-delay: calc(.15s + var(--i) * 26ms); }
.acct-av:hover .acct-px, .acct-chip-btn:hover .acct-px { animation: acct-px-wave .7s ease-in-out both; animation-delay: calc((var(--x) + var(--y)) * 45ms); }
.is-heart { filter: drop-shadow(0 0 1.2px rgba(255, 210, 90, .9)); }
@keyframes acct-px-in { from { transform: scale(0); opacity: 0; } }
@keyframes acct-px-wave { 40% { transform: scale(.55); opacity: .75; } }
.is-flip-out > * { animation: acct-flip-out .18s ease-in forwards; }
.is-flip-in > * { animation: acct-flip-in .34s var(--ac-ease); }
@keyframes acct-flip-out { to { transform: perspective(500px) rotateY(90deg) scale(.92); } }
@keyframes acct-flip-in { from { transform: perspective(500px) rotateY(-90deg) scale(.92); } }
.acct-av.is-crumble { overflow: visible; background: transparent; box-shadow: none; }
.acct-av.is-crumble .acct-tbg { animation: acct-fade .5s forwards; }
.acct-av.is-crumble .acct-px { animation: acct-fall .8s cubic-bezier(.5, 0, .9, .5) forwards; animation-delay: calc(var(--i) * 22ms); }
@keyframes acct-fade { to { opacity: 0; } }
@keyframes acct-fall { to { transform: translate(calc((var(--x) - 2) * 7px), 70px) rotate(calc((var(--x) - 2) * 40deg)); opacity: 0; } }
.acct-is-gone .acct-main { transition: opacity .8s .3s, filter .8s .3s; opacity: .2; filter: grayscale(1); }

/* ---- The member's tile in the header, and its menu (on every page of the site) ---- */
.appheader-top > .acct-chip, .appheader-top > .acct-signin { margin-left: auto; }
.acct-chip { position: relative; z-index: 40; }
.acct-chip-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.acct-chip-btn .acct-av { transition: transform .4s var(--ac-spring), box-shadow .3s, width .3s var(--ac-ease), height .3s var(--ac-ease); }
.acct-chip-btn:hover .acct-av, .acct-chip.is-open .acct-av { transform: translateY(-1px) rotate(-5deg) scale(1.07); box-shadow: 0 0 0 2px #fff, 0 0 0 4px color-mix(in srgb, var(--tc) 55%, transparent), 0 8px 18px -6px var(--tc); }
.acct-chip.is-open .acct-av { animation: acct-chip-flip .55s var(--ac-ease); }
@keyframes acct-chip-flip { 45% { transform: perspective(300px) rotateY(180deg) scale(1.1); } }
.acct-chip-btn:focus-visible { outline: 2px solid #7fd6d8; outline-offset: 2px; }
.appheader.is-compact .acct-chip-btn .acct-av { width: 26px; height: 26px; }
.acct-chip-led { position: absolute; right: 2px; bottom: 3px; width: 10px; height: 10px; border-radius: 50%; background: #3fcf7f; box-shadow: 0 0 0 2px var(--ac-bg), 0 0 6px rgba(63, 207, 127, .8); }
.acct-chip-led[data-status="pending"] { background: #ffc14d; box-shadow: 0 0 0 2px var(--ac-bg), 0 0 6px rgba(255, 193, 77, .9); animation: acct-blink 1.4s steps(1) infinite; }
@keyframes acct-blink { 50% { opacity: .35; } }
.acct-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 290px;
  max-width: calc(100vw - 32px);
  padding: 8px;
  border-radius: 18px;
  background: var(--ac-dots), linear-gradient(170deg, #1f2b36, #101820);
  background-size: 16px 16px, auto;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), inset 0 1px 0 rgba(255, 255, 255, .08), 0 28px 50px -18px rgba(5, 9, 13, .7);
  color: #c9d4de;
  transform-origin: calc(100% - 22px) -6px;
  opacity: 0;
  transform: translateY(-8px) scale(.92);
  clip-path: inset(0 0 100% 0 round 18px);
  transition: opacity .2s, transform .28s var(--ac-ease), clip-path .3s var(--ac-ease);
}
.acct-menu.is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 18px); }
.acct-menu::before { content: ""; position: absolute; right: 18px; top: -5px; width: 12px; height: 12px; transform: rotate(45deg); background: #1f2b36; border-radius: 2px; box-shadow: -1px -1px 0 rgba(255, 255, 255, .08); }
.acct-menu-head { display: flex; align-items: center; gap: 12px; padding: 10px 10px 14px; margin-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.acct-menu-who { display: grid; gap: 1px; min-width: 0; }
.acct-menu-who b { color: #fff; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-menu-handle { color: rgba(255, 255, 255, .5); font: 12px var(--ac-mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-menu-status { justify-self: start; margin-top: 4px; padding: 1px 8px 1px 18px; border-radius: 999px; background: rgba(63, 207, 127, .12); color: #7ee2a8; font: 700 10px/16px var(--ac-mono); letter-spacing: .12em; text-transform: uppercase; position: relative; }
.acct-menu-status::before { content: ""; position: absolute; left: 7px; top: 5px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 5px currentColor; }
.acct-menu-status[data-status="pending"] { background: rgba(255, 193, 77, .12); color: #ffc14d; }
.acct-menu-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 11px;
  background: none;
  color: #c9d4de;
  font: 14px/1.2 var(--sans, system-ui);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.acct-menu-item .acct-ico { color: rgba(255, 193, 77, .55); transition: color .15s, filter .15s, transform .25s var(--ac-spring); }
.acct-menu-item::before { content: ""; position: absolute; left: 3px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: #ffc14d; box-shadow: 0 0 8px rgba(255, 170, 40, .8); transform: scaleY(0); transition: transform .2s var(--ac-ease); }
.acct-menu-item:hover, .acct-menu-item:focus-visible { background: rgba(255, 255, 255, .07); color: #fff; text-decoration: none; outline: none; }
.acct-menu-item:hover .acct-ico, .acct-menu-item:focus-visible .acct-ico { color: #ffc14d; filter: drop-shadow(0 0 3px rgba(255, 170, 40, .9)); transform: scale(1.18); }
.acct-menu-item:hover::before, .acct-menu-item:focus-visible::before { transform: none; }
.acct-menu-item[aria-current="page"] { color: #ffc14d; }
.acct-menu-item.is-out:hover, .acct-menu-item.is-out:focus-visible { color: #ff9f97; }
.acct-menu-item.is-out:hover .acct-ico, .acct-menu-item.is-out:focus-visible .acct-ico { color: #ff8a80; filter: none; }
.acct-menu.is-in .acct-menu-item { animation: acct-item-in .34s var(--ac-ease) both; animation-delay: calc(50ms + var(--i) * 32ms); }
@keyframes acct-item-in { from { opacity: 0; transform: translateX(12px); } }
.acct-menu-sep { height: 1px; margin: 6px 8px; background: rgba(255, 255, 255, .07); }
.acct-menu-form { margin: 0; }
.acct-signin {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 0 14px 0 11px;
  border-radius: 999px;
  background: linear-gradient(#2a3846, #17212a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 6px 14px -8px rgba(15, 21, 27, .8);
  color: #ffc14d !important;
  font: 700 12px/1 var(--ac-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none !important;
  text-shadow: 0 0 8px rgba(255, 170, 40, .55);
  position: relative;
  transition: transform .25s var(--ac-spring), box-shadow .25s;
}
.acct-signin::after { content: ""; position: absolute; inset: -5px -2px; }
.acct-signin { white-space: nowrap; flex: none; }
.acct-signin:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 0 3px rgba(255, 193, 77, .2), 0 8px 18px -8px rgba(15, 21, 27, .8); }
.acct-signin-dots { display: inline-grid; grid-auto-flow: column; gap: 3px; }
.acct-signin-dots i { width: 6px; height: 6px; border-radius: 2px; background: #8b98a5; }
.acct-signin-dots i[data-p="google"] { background: #4285f4; }
.acct-signin-dots i[data-p="github"] { background: #e6edf3; }
.acct-signin-dots i[data-p="huggingface"] { background: #ffd21e; }
.acct-signin:hover .acct-signin-dots i { animation: acct-px-wave .6s both; }
.acct-signin:hover .acct-signin-dots i:nth-child(2) { animation-delay: .08s; }
.acct-signin:hover .acct-signin-dots i:nth-child(3) { animation-delay: .16s; }
@media (max-width: 480px) {   /* a phone's header is narrow: the key gets small, the page's own crumb keeps its room */
  .acct-signin { gap: 6px; min-height: 32px; padding: 0 10px; font-size: 10.5px; letter-spacing: .04em; }
  .acct-signin-dots { display: none; }
}
.acct-signin > .acct-ico { display: none; }
@media (max-width: 480px) {   /* on phones, the key is its icon (its words stay for a screen reader) */
  .acct-signin { width: 36px; min-height: 36px; padding: 0; justify-content: center; }
  .acct-signin > .acct-ico { display: block; width: 14px; height: 14px; filter: drop-shadow(0 0 3px rgba(255, 170, 40, .8)); }
  .acct-signin-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .appheader-top:has(> .acct-signin, > .acct-chip) > .label { display: none; }   /* the page's "Coming soon" gives up its room, not its name */
}

/* ---- Keys: the Workbench's own (a face over a darker side; it goes down when pressed) ---- */
.acct-key {
  position: relative;
  display: inline-flex;
  flex: none;
  min-height: 50px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 13px;
  background: #05080b;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 12px 22px -12px rgba(0, 0, 0, .8);
  color: #ffc14d;
  text-decoration: none !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.acct-key-face {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 44px;
  margin-bottom: 6px;
  padding: 0 18px;
  border-radius: inherit;
  background: linear-gradient(#2f3e4c, #1b252f);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .17), inset 0 0 0 1px rgba(255, 255, 255, .06);
  font: 700 12.5px/1 var(--ac-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(255, 170, 40, .55);
  white-space: nowrap;
  transition: transform .09s, filter .2s;
}
.acct-key .acct-ico { filter: drop-shadow(0 0 2px rgba(255, 170, 40, .8)); }
.acct-key:hover .acct-key-face { filter: brightness(1.16); }
.acct-key:active .acct-key-face, .acct-key.is-busy .acct-key-face { transform: translateY(5px); }
.acct-key:focus-visible { outline: 2px solid #7fd6d8; outline-offset: 3px; }
.acct-key.is-amber { background: #7a4d06; }
.acct-key.is-amber .acct-key-face { background: linear-gradient(#ffd27a, #f0a630); color: #3a2400; text-shadow: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 0 0 1px rgba(122, 77, 6, .3); }
.acct-key.is-amber .acct-ico { filter: none; }
.acct-key.is-quiet { background: color-mix(in srgb, var(--ac-line) 80%, #000 20%); box-shadow: 0 8px 16px -12px rgba(0, 0, 0, .5); color: var(--ac-fg); }
.acct-key.is-quiet .acct-key-face { background: linear-gradient(var(--ac-card), var(--ac-soft)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 0 0 1px var(--ac-line); text-shadow: none; }
.acct-key.is-quiet .acct-ico { filter: none; }
.acct-key.is-danger { background: #6e1414; color: #fff; }
.acct-key.is-danger .acct-key-face { background: linear-gradient(#e5534b, #b62324); text-shadow: none; }
.acct-key.is-danger .acct-ico { filter: none; }
.acct-key.is-small { min-height: 46px; }
.acct-key.is-small .acct-key-face { height: 40px; padding: 0 14px; font-size: 11.5px; }
.acct-key.is-done .acct-key-face { background: linear-gradient(#5fd0d2, #2b9ea1); color: #04282a; text-shadow: none; }
.acct-key.is-armed .acct-key-face { background: linear-gradient(#e5534b, #b62324); color: #fff; text-shadow: none; }
.acct-key:disabled, .acct-key[aria-disabled="true"] { cursor: not-allowed; opacity: .5; }
.acct-key:disabled:active .acct-key-face { transform: none; }
.acct-key.is-busy .acct-key-face { background-image: linear-gradient(100deg, transparent 30%, rgba(255, 193, 77, .35) 50%, transparent 70%), linear-gradient(#2f3e4c, #1b252f); background-size: 220% 100%, auto; animation: acct-sweep .9s linear infinite; }
@keyframes acct-sweep { from { background-position: 120% 0, 0 0; } to { background-position: -120% 0, 0 0; } }

/* ---- The dark band at the top of a page: the member's tile, LED screens, keys ---- */
.acct-band {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 40px) 0 clamp(22px, 3.5vw, 34px);
  background: var(--ac-bench);
  color: #c9d4de;
  isolation: isolate;
}
.acct-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ac-dots); background-size: 18px 18px; }
.acct-band::after {   /* a slow light passing over the bench */
  content: "";
  position: absolute;
  inset: -40% -10%;
  z-index: -1;
  background: linear-gradient(100deg, transparent 40%, rgba(127, 214, 216, .07) 50%, transparent 60%);
  animation: acct-pass 9s ease-in-out infinite;
}
@keyframes acct-pass { from { transform: translateX(-60%); } to { transform: translateX(60%); } }
.acct-hero-in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.acct-hero-text { flex: 1 1 260px; min-width: 0; }
.acct-band .acct-title { color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .4); }
.acct-hero-handle { margin: 6px 0 0; color: rgba(255, 255, 255, .58); font: 13px/1.45 var(--ac-mono); letter-spacing: .03em; }
.acct-since { color: rgba(255, 255, 255, .4); }
.acct-hero-meters { display: flex; gap: 10px; }
.acct-hero-keys { display: flex; flex-wrap: wrap; gap: 10px; flex-basis: 100%; }
.acct-hero-keys:empty, .acct-hero-meters:empty { display: none; }
.acct-band .acct-av-xl { box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 0 0 6px color-mix(in srgb, var(--tc) 40%, transparent), 0 22px 40px -14px color-mix(in srgb, var(--tc) 85%, #000); animation: acct-drop .7s var(--ac-spring) both; }
@keyframes acct-drop { from { transform: translateY(-26px) rotate(-8deg) scale(.8); opacity: 0; } }
.acct-hero-crowd { display: flex; align-items: center; }
.acct-hero-crowd .acct-av { margin-left: -10px; box-shadow: 0 0 0 3px #17212a; animation: acct-drop .6s var(--ac-spring) both; animation-delay: calc(var(--i, 0) * 70ms); }
.acct-hero-crowd .acct-av:first-child { margin-left: 0; }
.acct-meter { display: grid; gap: 6px; padding: 9px 11px 10px; border-radius: 12px; background: linear-gradient(#26323d, #121a21); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 0 1px rgba(255, 255, 255, .05), 0 12px 22px -14px #000; }
.acct-meter-label { color: rgba(255, 255, 255, .48); font: 700 9.5px/1 var(--ac-mono); letter-spacing: .16em; text-transform: uppercase; }
.acct-led { display: block; height: 32px; padding: 6px 9px; border-radius: 7px; background: radial-gradient(ellipse at 50% 0%, #1c2630, #0a0f14 75%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 3px 10px rgba(0, 0, 0, .7); }
.acct-led svg { display: block; height: 100%; width: auto; margin-left: auto; overflow: visible; }
.acct-led circle { fill: rgba(255, 193, 77, .08); }
.acct-led circle.on { fill: #ffc14d; filter: drop-shadow(0 0 1.2px rgba(255, 170, 40, .95)); }

/* ---- The library, the community: cards ---- */
.acct-lib { padding-bottom: 64px; }
.acct-lib-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 18px; margin: 30px 0 18px; }
.acct-lib-head:not(:has(h2)) { justify-content: flex-start; }
.acct-lib-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.acct-lib-tools:empty { display: none; }
.acct-searchbox { display: flex; align-items: center; gap: 9px; height: 44px; padding: 0 12px; border-radius: 13px; border: 1px solid var(--ac-line); background: var(--ac-card); color: var(--ac-muted); width: min(340px, 100%); transition: border-color .2s, box-shadow .2s; }
.acct-searchbox:focus-within { border-color: var(--ac-amber-deep); box-shadow: 0 0 0 3px rgba(255, 193, 77, .25); }
.acct-search { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: var(--ac-fg); font: 15px var(--sans, system-ui); outline: none; }
.acct-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.acct-chip-sort { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ac-line); background: var(--ac-card); color: var(--ac-muted); font: 700 12px/1 var(--ac-mono); letter-spacing: .06em; cursor: pointer; transition: background-color .2s, color .2s, transform .25s var(--ac-spring); }
.acct-chip-sort:hover { color: var(--ac-fg); transform: translateY(-1px); }
.acct-chip-sort[aria-pressed="true"] { background: #1d2833; border-color: rgba(255, 193, 77, .4); color: #ffc14d; text-shadow: 0 0 8px rgba(255, 170, 40, .5); }
.acct-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.acct-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--ac-line);
  border-radius: 18px;
  background: var(--ac-card);
  box-shadow: var(--ac-shadow);
  overflow: hidden;
  transition: transform .4s var(--ac-spring), box-shadow .35s, border-color .3s;
}
.acct-card:hover, .acct-card:focus-within { transform: translateY(-4px); border-color: color-mix(in srgb, var(--ac-amber-deep) 45%, var(--ac-line)); box-shadow: 0 1px 0 rgba(0, 0, 0, .03), 0 22px 40px -18px rgba(31, 35, 40, .4), 0 0 0 3px rgba(255, 193, 77, .12); }
.acct-cards.is-ready .acct-card { animation: acct-card-in .6s var(--ac-ease) both; animation-delay: calc(var(--i) * 60ms); }
@keyframes acct-card-in { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.acct-card.is-new { animation: acct-new 1.8s ease-out; }
@keyframes acct-new { 0%, 40% { box-shadow: 0 0 0 3px #ffc14d, 0 0 30px rgba(255, 170, 40, .5); } }
.acct-card.is-leaving { transition: opacity .35s .2s, transform .45s; opacity: 0; transform: scale(.94); pointer-events: none; }
.acct-card.is-leaving .acct-cell.has-tile { animation: acct-drop-away .45s cubic-bezier(.5, 0, .9, .4) forwards; animation-delay: calc(var(--k) * 30ms); }
@keyframes acct-drop-away { to { transform: translateY(40px) rotate(14deg) scale(.6); opacity: 0; } }
.acct-card.is-hidden .acct-card-view { filter: grayscale(.8) brightness(.7); }
.acct-card-view {
  position: relative;
  display: grid;
  place-items: center;
  height: 172px;
  container-type: size;
  background: var(--ac-bench);
  text-decoration: none !important;
  isolation: isolate;
}
.acct-card-view::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ac-dots); background-size: 16px 16px; }
.acct-card-view:focus-visible { outline: 3px solid #7fd6d8; outline-offset: -3px; }
.acct-card-go { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 999px; background: rgba(5, 8, 11, .72); box-shadow: inset 0 0 0 1px rgba(255, 193, 77, .35); color: #ffc14d; font: 700 10.5px/1 var(--ac-mono); letter-spacing: .14em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .3s var(--ac-ease); }
.acct-card:hover .acct-card-go, .acct-card-view:focus-visible .acct-card-go { opacity: 1; transform: none; }
.acct-card-flag { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px 0 8px; border-radius: 999px; background: rgba(5, 8, 11, .7); color: #7ee2a8; font: 700 9.5px/1 var(--ac-mono); letter-spacing: .14em; text-transform: uppercase; opacity: 0; transform: scale(.7); transition: opacity .25s, transform .4s var(--ac-spring); }
.acct-card-flag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3fcf7f; box-shadow: 0 0 6px #3fcf7f; }
.acct-card-flag.is-on { opacity: 1; transform: none; }
.acct-card-hid { position: absolute; inset: 0 0 auto; padding: 5px 10px; background: repeating-linear-gradient(-45deg, #ffc14d 0 8px, #1d2833 8px 16px); color: #fff; font: 700 10px/1.2 var(--ac-mono); letter-spacing: .1em; text-transform: uppercase; text-shadow: 0 1px 2px #000; text-align: center; }
.acct-card-body { display: grid; gap: 6px; padding: 14px 14px 12px 16px; }
.acct-card-title { margin: 0; font: 650 16px/1.3 var(--sans, system-ui); overflow-wrap: anywhere; transition: color .3s, text-shadow .3s; }
.acct-card-title.is-saving { color: var(--ac-amber-deep); text-shadow: 0 0 10px rgba(255, 170, 40, .4); }
.acct-card-title.is-saved { animation: acct-saved-text .9s; }
@keyframes acct-saved-text { 30% { color: var(--ac-ok); transform: translateX(3px); } }
.acct-rename { width: 100%; height: 40px; padding: 0 10px; border: 0; border-radius: 10px; background: radial-gradient(ellipse at 50% 0%, #1c2630, #0a0f14 75%); box-shadow: inset 0 0 0 1px rgba(255, 193, 77, .5), 0 0 0 3px rgba(255, 193, 77, .15); color: #ffc14d; caret-color: #ffc14d; font: 15px var(--ac-mono); text-shadow: 0 0 8px rgba(255, 170, 40, .55); outline: none; }
.acct-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0; color: var(--ac-muted); font-size: 13px; }
.acct-card-when { flex-basis: 100%; font-size: 12.5px; }
.acct-byline { display: inline-flex; align-items: center; gap: 7px; min-width: 0; min-height: 30px; color: var(--ac-fg) !important; text-decoration: none !important; }
.acct-byline:hover .acct-byline-name { text-decoration: underline; }
.acct-byline-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-byline-handle { color: var(--ac-muted); font: 12px var(--ac-mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-byline.is-big { margin-top: 10px; font-size: 15px; }
.acct-card-acts { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.acct-tools { display: flex; gap: 2px; margin-left: auto; }
.acct-tool { display: grid; place-items: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 12px; background: none; color: var(--ac-muted); cursor: pointer; transition: background-color .15s, color .15s, transform .25s var(--ac-spring); }
.acct-tool .acct-ico { width: 15px; height: 15px; }
.acct-tool:hover { background: var(--ac-soft); color: var(--ac-fg); transform: translateY(-2px); }
.acct-tool:active { transform: translateY(1px) scale(.94); }
.acct-tool:focus-visible { outline: 2px solid #7fd6d8; outline-offset: 1px; }
.acct-tool.is-danger:hover { color: var(--ac-bad); background: color-mix(in srgb, var(--ac-bad) 10%, transparent); }
.acct-tool.is-admin { color: #b37b00; }
.acct-tool:disabled { opacity: .4; cursor: progress; }
.acct-switch { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; padding: 0 14px 0 10px; border: 1px solid var(--ac-line); border-radius: 999px; background: var(--ac-soft); color: var(--ac-muted); font: 700 12px/1 var(--ac-mono); letter-spacing: .06em; cursor: pointer; transition: border-color .25s, color .25s, background-color .25s; }
.acct-switch-led { position: relative; width: 32px; height: 18px; border-radius: 999px; background: #b9c3cc; box-shadow: inset 0 1px 3px rgba(0, 0, 0, .25); transition: background-color .3s; }
.acct-switch-led::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); transition: transform .35s var(--ac-spring); }
.acct-switch.is-on { border-color: color-mix(in srgb, #2da44e 50%, var(--ac-line)); color: var(--ac-fg); background: color-mix(in srgb, #2da44e 9%, var(--ac-card)); }
.acct-switch.is-on .acct-switch-led { background: #2da44e; box-shadow: inset 0 1px 3px rgba(0, 0, 0, .25), 0 0 10px rgba(45, 164, 78, .55); }
.acct-switch.is-on .acct-switch-led::after { transform: translateX(14px); }
.acct-switch.is-busy .acct-switch-led::after { animation: acct-blink .5s steps(1) infinite; }
.acct-switch:focus-visible { outline: 2px solid #7fd6d8; outline-offset: 2px; }
.acct-burst { position: fixed; z-index: 90; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 1.5px; background: var(--tc); pointer-events: none; animation: acct-burst .65s cubic-bezier(.2, .8, .3, 1) forwards; }
@keyframes acct-burst { to { transform: translate(var(--dx), var(--dy)) rotate(90deg) scale(.4); opacity: 0; } }

/* ---- A chain, drawn as a small field ---- */
.acct-chain {
  --cell: min(46px, calc((100cqw - 30px) / (var(--cols) * 1.16)), calc((100cqh - 30px) / (var(--rows) * 1.16)));
  display: grid;
  grid-template-columns: repeat(var(--cols), var(--cell));
  grid-auto-rows: var(--cell);
  gap: calc(var(--cell) * .16);
}
.acct-chain.is-big { --cell: min(64px, calc((100cqw - 40px) / (var(--cols) * 1.16)), calc((100cqh - 40px) / (var(--rows) * 1.16))); }
.acct-chain.is-empty::before { content: "empty"; color: rgba(255, 255, 255, .3); font: 12px var(--ac-mono); }
.acct-cell { position: relative; border-radius: 17%; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.acct-cell.has-tile { background: none; box-shadow: 0 4px 10px -5px rgba(0, 0, 0, .8); }
.acct-cell.joins::after { content: ""; position: absolute; left: 100%; top: 50%; width: calc(var(--cell) * .16); height: 22%; transform: translateY(-50%); border-radius: 2px; background: linear-gradient(#e2e8ee, #7d8a96); box-shadow: 0 0 4px rgba(255, 255, 255, .25); }
.acct-cell .acct-ti { width: 100%; height: 100%; }
.acct-ti { display: block; overflow: hidden; border-radius: 17%; }
.acct-ti > svg { display: block; width: 100%; height: 100%; }
.acct-ti[data-kind="code"] { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--tc) 70%, transparent); border-radius: 10%; }
.acct-ti.is-locked { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.acct-ti[data-members] { box-shadow: 0 0 0 1.5px #f2b632; }
.acct-att { position: absolute; left: 50%; bottom: calc(var(--cell) * -.12); display: flex; gap: 2px; transform: translateX(-50%); }
.acct-att i { width: calc(var(--cell) * .16); height: calc(var(--cell) * .16); min-width: 4px; min-height: 4px; border-radius: 1.5px; background: var(--tc); box-shadow: 0 0 0 1px rgba(255, 255, 255, .75); }
.acct-card:hover .acct-cell.has-tile, .acct-dr-item:hover .acct-cell.has-tile, .acct-dr-item:focus-visible .acct-cell.has-tile { animation: acct-flow 1.2s ease-in-out both; animation-delay: calc(var(--k) * 85ms); }
@keyframes acct-flow { 30% { transform: translateY(-3px) scale(1.09); filter: brightness(1.18) drop-shadow(0 0 6px rgba(255, 193, 77, .75)); } }

/* ---- Empty and waiting ---- */
.acct-empty, .acct-nomatch { grid-column: 1 / -1; }
.acct-empty { display: grid; justify-items: center; gap: 12px; padding: 44px 18px 40px; border: 1.5px dashed var(--ac-line); border-radius: 22px; text-align: center; }
.acct-empty .acct-lead { margin: 0 auto; }
.acct-empty-h { margin: 0; font: 400 24px/1.1 "AKIKI Pixel", var(--ac-mono); text-transform: lowercase; }
.acct-empty-bench { display: grid; grid-template-columns: repeat(5, 30px); gap: 6px; padding: 14px; border-radius: 16px; background: var(--ac-bench); box-shadow: var(--ac-shadow); }
.acct-empty-bench i { height: 30px; border-radius: 6px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); animation: acct-ghost 3.6s ease-in-out infinite; animation-delay: calc(var(--i) * 160ms); }
@keyframes acct-ghost { 0%, 70%, 100% { background: rgba(255, 255, 255, .04); } 12% { background: rgba(255, 193, 77, .55); box-shadow: 0 0 12px rgba(255, 170, 40, .6); } }
.acct-pending { display: grid; gap: 18px; justify-items: start; padding: 30px 0; }
.acct-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.acct-steps li { display: flex; align-items: center; gap: 12px; color: var(--ac-muted); font: 13px var(--ac-mono); }
.acct-steps i { width: 12px; height: 12px; border-radius: 50%; background: color-mix(in srgb, var(--ac-muted) 30%, transparent); }
.acct-steps .is-done { color: var(--ac-fg); }
.acct-steps .is-done i { background: #3fcf7f; box-shadow: 0 0 8px rgba(63, 207, 127, .8); }
.acct-steps .is-now { color: var(--ac-fg); font-weight: 700; }
.acct-steps .is-now i { background: #ffc14d; box-shadow: 0 0 10px rgba(255, 170, 40, .9); animation: acct-blink 1.2s steps(1) infinite; }

/* ---- A community item, opened ---- */
.acct-sheet {
  width: min(780px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100svh - 48px);
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: var(--ac-card);
  color: var(--ac-fg);
  box-shadow: 0 0 0 1px var(--ac-line), 0 50px 90px -30px rgba(0, 0, 0, .65);
  opacity: 0;
  transform: translateY(26px) scale(.97);
  transition: opacity .24s, transform .34s var(--ac-ease);
  overscroll-behavior: contain;
}
.acct-sheet.is-in { opacity: 1; transform: none; }
.acct-sheet::backdrop { background: rgba(8, 12, 16, .5); backdrop-filter: blur(5px); opacity: 0; transition: opacity .25s; }
.acct-sheet.is-in::backdrop { opacity: 1; }
.acct-sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 22px 20px 16px 24px; }
.acct-sheet-title { margin: 4px 0 0; font: 700 clamp(20px, 3vw, 27px)/1.2 var(--sans, system-ui); overflow-wrap: anywhere; }
.acct-sheet-x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin: -4px -4px 0 0; padding: 0; border: 0; border-radius: 50%; background: var(--ac-soft); color: var(--ac-muted); font-size: 24px; line-height: 1; cursor: pointer; transition: transform .3s var(--ac-spring), color .2s; }
.acct-sheet-x:hover { color: var(--ac-fg); transform: rotate(90deg); }
.acct-sheet-bench { display: grid; place-items: center; height: min(44svh, 340px); margin: 0 20px; border-radius: 18px; background: var(--ac-bench); container-type: size; position: relative; isolation: isolate; }
.acct-sheet-bench::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--ac-dots); background-size: 18px 18px; }
.acct-sheet.is-in .acct-cell.has-tile { animation: acct-px-in .5s var(--ac-spring) both; animation-delay: calc(.12s + var(--k) * 55ms); }
.acct-sheet-acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 18px 24px 8px; }
.acct-sheet .acct-kicker { padding: 0; }
.acct-sheet-in > .acct-kicker { padding: 16px 24px 8px; }
.acct-tlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 8px; margin: 0; padding: 0 20px 24px; list-style: none; }
.acct-tl { display: flex; align-items: center; gap: 11px; padding: 8px 10px 8px 8px; border-radius: 13px; background: var(--ac-soft); }
.acct-tl .acct-ti { flex: none; width: 40px; height: 40px; }
.acct-tl-text { display: grid; min-width: 0; font-size: 12.5px; color: var(--ac-muted); line-height: 1.35; }
.acct-tl-text b { color: var(--ac-fg); font-size: 14px; }

/* ---- Notes at the foot of the page ---- */
.acct-toasts { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 80; display: grid; gap: 8px; width: min(560px, calc(100vw - 32px)); transform: translateX(-50%); pointer-events: none; }
.acct-toast { position: relative; display: flex; align-items: center; gap: 8px; min-height: 54px; padding: 6px 6px 6px 16px; overflow: hidden; border-radius: 15px; background: #121a21; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 20px 40px -18px rgba(0, 0, 0, .8); color: #e6edf3; font-size: 14px; pointer-events: auto; animation: acct-toast-in .42s var(--ac-spring) both; }
.acct-toast.is-bad { box-shadow: inset 4px 0 0 #ff8a80, 0 0 0 1px rgba(255, 138, 128, .25), 0 20px 40px -18px rgba(0, 0, 0, .8); }
.acct-toast.is-out { animation: acct-toast-out .26s ease-in forwards; }
@keyframes acct-toast-in { from { opacity: 0; transform: translateY(18px) scale(.95); } }
@keyframes acct-toast-out { to { opacity: 0; transform: translateY(10px) scale(.97); } }
.acct-toast-text { flex: 1; min-width: 0; overflow-wrap: anywhere; line-height: 1.4; }
.acct-toast-act { flex: none; min-height: 44px; padding: 0 14px; border: 0; border-radius: 11px; background: rgba(255, 193, 77, .14); color: #ffc14d; font: 700 11.5px/1 var(--ac-mono); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background-color .2s; }
.acct-toast-act:hover { background: rgba(255, 193, 77, .26); }
.acct-toast-x { flex: none; width: 44px; height: 44px; border: 0; border-radius: 11px; background: none; color: rgba(255, 255, 255, .45); font-size: 20px; cursor: pointer; }
.acct-toast-x:hover { color: #fff; }
.acct-toast-bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: #ffc14d; box-shadow: 0 0 6px rgba(255, 170, 40, .8); transform-origin: left; animation: acct-bar var(--ms) linear forwards; }
.acct-toast.is-bad .acct-toast-bar { background: #ff8a80; box-shadow: none; }
@keyframes acct-bar { to { transform: scaleX(0); } }

/* ---- Settings ---- */
.acct-set { padding: 28px var(--gutter, 16px) 64px; }
.acct-set-say:empty { display: none; }
.acct-set-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr)); gap: 18px; margin-top: 22px; align-items: start; }
.acct-panel { position: relative; display: grid; gap: 8px; padding: 20px 20px 22px; border: 1px solid var(--ac-line); border-radius: 20px; background: var(--ac-card); box-shadow: var(--ac-shadow); overflow: hidden; animation: acct-card-in .6s var(--ac-ease) both; animation-delay: calc(var(--i, 0) * 80ms); }
.acct-panel::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--pc); }
.acct-panel:nth-child(1) { --pc: #1f6fd1; }
.acct-panel:nth-child(2) { --pc: #b35f00; }
.acct-panel:nth-child(3) { --pc: #0d7f86; }
.acct-panel.is-danger { --pc: #cf222e; border-color: color-mix(in srgb, #cf222e 35%, var(--ac-line)); }
.acct-panel .acct-h2 { margin-bottom: 6px; }
.acct-tilepick { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; }
.acct-set-tile { display: grid; place-items: center; padding: 16px; border-radius: 18px; background: var(--ac-bench); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.acct-set-tile .acct-av { box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 18px 30px -12px color-mix(in srgb, var(--tc) 85%, #000); }
.acct-choices { display: grid; gap: 8px; }
.acct-choice { display: flex; align-items: center; gap: 12px; min-height: 60px; margin: 0; padding: 8px 12px 8px 8px; border: 1.5px solid var(--ac-line); border-radius: 15px; background: var(--ac-bg); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .25s, transform .25s var(--ac-spring); }
.acct-choice:hover { transform: translateX(2px); border-color: color-mix(in srgb, var(--ac-amber-deep) 50%, var(--ac-line)); }
.acct-choice[aria-checked="true"] { border-color: var(--ac-amber-deep); background: var(--ac-card); box-shadow: 0 0 0 3px rgba(255, 193, 77, .22); }
.acct-choice:focus-visible { outline: 2px solid #7fd6d8; outline-offset: 2px; }
.acct-choice.is-busy { cursor: progress; opacity: .7; }
.acct-choice-text { display: grid; gap: 2px; font-size: 13px; color: var(--ac-muted); }
.acct-choice-text b { color: var(--ac-fg); font-size: 14px; }
.acct-form { display: grid; gap: 6px; }
.acct-label { margin-top: 10px; color: var(--ac-fg); font-weight: 600; font-size: 13.5px; }
.acct-label:first-child { margin-top: 0; }
.acct-input { width: 100%; height: 48px; padding: 0 13px; border: 1px solid var(--ac-line); border-radius: 13px; background: var(--ac-bg); color: var(--ac-fg); font: 16px var(--sans, system-ui); transition: border-color .2s, box-shadow .2s; }
.acct-input:focus { outline: none; border-color: var(--ac-amber-deep); box-shadow: 0 0 0 3px rgba(255, 193, 77, .25); }
.acct-input[aria-invalid="true"] { border-color: var(--ac-bad); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ac-bad) 18%, transparent); }
.acct-at { position: relative; display: block; }
.acct-at > span { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ac-muted); font: 16px var(--ac-mono); pointer-events: none; }
.acct-at > .acct-input { padding-left: 30px; font-family: var(--ac-mono); }
.acct-help { margin: 2px 0 0; color: var(--ac-muted); font-size: 12.5px; overflow-wrap: anywhere; }
.acct-help.is-bad { color: var(--ac-bad); }
.acct-ways { display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.acct-way { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border: 1px solid var(--ac-line); border-radius: 15px; transition: opacity .25s, transform .3s; }
.acct-way.is-linked { background: var(--ac-bg); }
.acct-way.is-leaving { opacity: 0; transform: translateX(14px); }
.acct-way > form { margin: 0; }
.acct-way-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: #fff; color: #1f2328; box-shadow: inset 0 0 0 1px #d8dee4; }
.acct-way-mark .acct-pmark { width: 24px; height: 24px; }
.acct-way-text { display: grid; gap: 1px; min-width: 0; color: var(--ac-muted); font-size: 12.5px; }
.acct-way-text b { color: var(--ac-fg); font-size: 14.5px; }
.acct-way-mail { overflow-wrap: anywhere; font-size: 12px; }

/* ---- Sign in: the door ---- */
.acct-p-signin .acct-main > * { animation: none; }
.acct-door { position: relative; display: grid; place-items: center; min-height: calc(100svh - 57px); padding: 32px 16px 48px; overflow: hidden; background: var(--ac-bench); isolation: isolate; }
.acct-door-field { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.acct-door-field::before { content: ""; position: absolute; inset: 0; background: var(--ac-dots); background-size: 18px 18px; }
.acct-float { position: absolute; left: var(--x); top: var(--y); width: calc(58px * var(--s)); aspect-ratio: 1; translate: -50% -50%; opacity: 0; filter: grayscale(.55) brightness(.5); animation: acct-float-in 1s var(--ac-ease) calc(var(--i) * 45ms) both, acct-float var(--d) ease-in-out var(--p) infinite alternate; transition: left .65s cubic-bezier(.6, 0, .3, 1), top .65s cubic-bezier(.6, 0, .3, 1), scale .65s, opacity .5s, filter .4s; }
.acct-float > * { width: 100% !important; height: 100% !important; --sz: 100%; }
@keyframes acct-float-in { from { opacity: 0; scale: .4; } to { opacity: .55; scale: 1; } }
@keyframes acct-float { from { rotate: -3deg; } to { rotate: 4deg; translate: -50% calc(-50% - 16px); } }
.acct-door.is-going .acct-float { left: 50%; top: 46%; scale: .25; opacity: 0; filter: none; }
.acct-door-panel { position: relative; display: grid; gap: 16px; width: min(430px, 100%); padding: 30px 24px 22px; border-radius: 24px; background: linear-gradient(rgba(33, 45, 57, .95), rgba(13, 19, 25, .97)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px -28px rgba(0, 0, 0, .9); color: #c9d4de; text-align: center; animation: acct-panel-in .7s var(--ac-ease) both; transition: transform .6s var(--ac-ease); }
@keyframes acct-panel-in { from { opacity: 0; transform: translateY(20px) scale(.96); } }
.acct-door.is-going .acct-door-panel { transform: scale(.985); }
.acct-door-head { display: grid; justify-items: center; gap: 8px; }
.acct-door-logo { font-size: 48px !important; line-height: 1; }
.acct-door-sub { margin: 0; color: rgba(255, 255, 255, .45); font: 700 11px/1 var(--ac-mono); letter-spacing: .24em; text-transform: uppercase; }
.acct-door-say { min-height: 1.4em; margin: 0; color: #7fd6d8; font: 13px/1.45 var(--ac-mono); }
.acct-door-say:empty { min-height: 0; }
.acct-door-say.is-bad { color: #ff8a80; }
.acct-door-keys { display: grid; gap: 12px; }
.acct-pform { margin: 0; animation: acct-key-in .55s var(--ac-ease) both; animation-delay: calc(.25s + var(--i, 0) * 90ms); }
@keyframes acct-key-in { from { opacity: 0; transform: translateY(12px); } }
.acct-pkey { --pc: #ffc14d; position: relative; display: block; width: 100%; height: 64px; margin: 0; padding: 0; border: 0; border-radius: 15px; background: #05080b; box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 16px 28px -14px rgba(0, 0, 0, .95); color: #c9d4de; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.acct-pkey[data-provider="google"] { --pc: #4285f4; }
.acct-pkey[data-provider="github"] { --pc: #e6edf3; }
.acct-pkey[data-provider="huggingface"] { --pc: #ffd21e; }
.acct-pkey-face { position: absolute; inset: 0 0 7px; display: flex; align-items: center; gap: 14px; padding: 0 16px 0 12px; border-radius: inherit; background: linear-gradient(#2f3e4c, #1b252f); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .17), inset 0 0 0 1px rgba(255, 255, 255, .06); font: 15px/1.2 var(--sans, system-ui); text-align: left; transition: transform .09s, filter .2s, box-shadow .3s; overflow: hidden; }
.acct-pkey-face::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 35%, color-mix(in srgb, var(--pc) 30%, transparent) 50%, transparent 65%); transform: translateX(-100%); }
.acct-pkey:hover .acct-pkey-face { filter: brightness(1.12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .17), inset 0 0 0 1px color-mix(in srgb, var(--pc) 45%, transparent), 0 0 22px -6px color-mix(in srgb, var(--pc) 70%, transparent); }
.acct-pkey:hover .acct-pkey-face::after { transition: transform .7s var(--ac-ease); transform: translateX(100%); }
.acct-pkey:active .acct-pkey-face, .is-chosen .acct-pkey-face { transform: translateY(6px); }
.is-chosen .acct-pkey-face::after { animation: acct-chosen .8s linear infinite; }
@keyframes acct-chosen { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.acct-door.is-going .acct-pform:not(.is-chosen) { opacity: .25; transition: opacity .3s; }
.acct-pkey:focus-visible { outline: 2px solid #7fd6d8; outline-offset: 3px; }
.acct-pkey-mark { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px; background: #fff; color: #1f2328; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); transition: transform .35s var(--ac-spring); }
.acct-pkey:hover .acct-pkey-mark { transform: rotate(-6deg) scale(1.06); }
.acct-pkey-mark .acct-pmark { width: 24px; height: 24px; }
.acct-pkey-text b { color: #fff; font-weight: 700; }
.acct-door-note { margin: 0; color: rgba(255, 255, 255, .5); font-size: 12.5px; line-height: 1.5; }
.acct-door-note:empty { display: none; }
.acct-door-all { color: #ffc14d !important; }
.acct-door-back { display: inline-flex; align-items: center; justify-self: center; gap: 8px; min-height: 44px; padding: 0 10px; color: rgba(255, 255, 255, .5) !important; font: 12.5px var(--ac-mono); }
.acct-door-back:hover { color: #fff !important; text-decoration: none !important; }
.acct-door-pending { display: grid; justify-items: center; gap: 14px; }
.acct-door-pending .acct-av { box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 20px 34px -12px color-mix(in srgb, var(--tc) 85%, #000); }
.acct-door-who { display: grid; gap: 2px; margin: 0; }
.acct-door-who b { color: #fff; font-size: 18px; }
.acct-door-who span { color: rgba(255, 255, 255, .5); font: 13px var(--ac-mono); }
.acct-door-pending .acct-steps li { color: rgba(255, 255, 255, .45); }
.acct-door-pending .acct-steps .is-done, .acct-door-pending .acct-steps .is-now { color: #e6edf3; }
.acct-door-text { margin: 0; color: rgba(255, 255, 255, .6); font-size: 13.5px; line-height: 1.55; }
.acct-door .acct-row { justify-content: center; }

/* ---- Sign in: the e-mail and password segment, above the providers' keys (the door's own dark bench in both
   the light and the dark page). Its two forms are real forms; [hidden] is restated beside every display rule
   here, since a display of their own would beat the browser's. ---- */
.acct-pw { position: relative; display: grid; gap: 16px; text-align: left; animation: acct-key-in .55s var(--ac-ease) .15s both; }
.acct-pw-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: #05080b; box-shadow: inset 0 1px 3px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06); isolation: isolate; }
.acct-pw-tab { position: relative; z-index: 1; display: grid; place-items: center; min-height: 42px; padding: 0 8px; border-radius: 10px; color: rgba(255, 255, 255, .5) !important; font: 700 11.5px/1 var(--ac-mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none !important; transition: color .25s; -webkit-tap-highlight-color: transparent; }
.acct-pw-tab:hover { color: #fff !important; }
.acct-pw-tab[aria-selected="true"] { color: #ffc14d !important; text-shadow: 0 0 8px rgba(255, 170, 40, .55); }
.acct-pw-tab:focus-visible { outline: 2px solid #7fd6d8; outline-offset: 2px; }
.acct-pw-tabline { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 10px; background: linear-gradient(#2f3e4c, #1b252f); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .17), inset 0 0 0 1px rgba(255, 193, 77, .25), 0 0 16px -6px rgba(255, 170, 40, .6); transition: transform .38s var(--ac-spring); }
.acct-pw[data-tab="new"] .acct-pw-tabline { transform: translateX(100%); }
.acct-pw-form { display: grid; gap: 12px; margin: 0; }
.acct-pw-form[hidden], .acct-pw-step[hidden] { display: none; }
.acct-pw-form.is-in { animation: acct-pw-swap .32s var(--ac-ease) both; }
@keyframes acct-pw-swap { from { opacity: 0; transform: translateX(var(--from, 12px)); } }
.acct-pw-form.is-wrong { animation: acct-pw-shake .36s cubic-bezier(.36, .07, .19, .97) both; }
@keyframes acct-pw-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.acct-pw-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 6px 10px; }
.acct-pw-label { color: rgba(255, 255, 255, .62); font: 700 10.5px/1.2 var(--ac-mono); letter-spacing: .14em; text-transform: uppercase; }
.acct-pw-forgot, .acct-pw-link { color: #7fd6d8 !important; font: 12.5px/1.2 var(--ac-mono); text-decoration: none !important; }
.acct-pw-forgot:hover, .acct-pw-link:hover { color: #fff !important; text-decoration: underline !important; }
.acct-pw-link { justify-self: center; display: inline-flex; align-items: center; min-height: 40px; }
.acct-pw-input { grid-column: 1 / -1; width: 100%; height: 48px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; background: #070b0f; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .55); color: #e6edf3; font: 16px var(--sans, system-ui); caret-color: #ffc14d; transition: border-color .2s, box-shadow .2s; }
.acct-pw-input::placeholder { color: rgba(255, 255, 255, .3); }
.acct-pw-input:focus { outline: none; border-color: #d99a1e; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .55), 0 0 0 3px rgba(255, 193, 77, .22); }
.acct-pw-input[aria-invalid="true"] { border-color: #ff8a80; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .55), 0 0 0 3px rgba(255, 138, 128, .2); }
.acct-pw-input:-webkit-autofill { -webkit-text-fill-color: #e6edf3; box-shadow: inset 0 0 0 60px #0d151c; }
.acct-pw-user { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.acct-pw-go { width: 100%; margin-top: 4px; }
.acct-pw-go.is-busy { cursor: progress; }
.acct-pw-small { margin: 0; color: rgba(255, 255, 255, .5); font-size: 12.5px; line-height: 1.5; }
.acct-pw-closed { padding: 14px; border-radius: 12px; background: rgba(5, 8, 11, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
/* the rules, each lit as it is met; the meter: four bars, coloured by how hard the password would be to guess */
.acct-pw-rules { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: -2px 0 0; padding: 0; list-style: none; color: rgba(255, 255, 255, .5); font: 11.5px/1.5 var(--ac-mono); }
.acct-pw-rules li { display: inline-flex; align-items: center; gap: 6px; transition: color .25s; }
.acct-pw-rules li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px; background: rgba(255, 255, 255, .18); transition: background-color .25s, box-shadow .25s; }
.acct-pw-rules li.is-ok { color: #7ee2a8; }
.acct-pw-rules li.is-ok::before { background: #3fb950; box-shadow: 0 0 6px rgba(63, 185, 80, .8); }
.acct-pw-rules li.is-no { color: #ff8a80; }
.acct-pw-rules li.is-no::before { background: #ff8a80; }
.acct-pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.acct-pw-meter i { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .1); transition: background-color .3s, box-shadow .3s; }
.acct-pw-meter[data-score="1"] i:nth-child(-n+1) { background: #e5534b; }
.acct-pw-meter[data-score="2"] i:nth-child(-n+2) { background: #ec8e4a; }
.acct-pw-meter[data-score="3"] i:nth-child(-n+3) { background: #ffc14d; box-shadow: 0 0 6px rgba(255, 193, 77, .5); }
.acct-pw-meter[data-score="4"] i { background: #3fb950; box-shadow: 0 0 6px rgba(63, 185, 80, .55); }
.acct-pw-strength { min-height: 1.3em; margin: -6px 0 0; color: rgba(255, 255, 255, .55); font: 11.5px/1.3 var(--ac-mono); }
/* the divider between the segment and the providers' keys */
.acct-door-or { display: flex; align-items: center; gap: 12px; margin: 2px 0 0; color: rgba(255, 255, 255, .4); font: 700 10.5px/1 var(--ac-mono); letter-spacing: .16em; text-transform: uppercase; }
.acct-door-or::before, .acct-door-or::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent); }
.acct-door[data-state="in"] .acct-door-keys .acct-pkey { height: 56px; }
/* a link went out: an envelope that drops in */
.acct-pw-step { display: grid; gap: 14px; justify-items: stretch; text-align: left; }
.acct-pw-step .acct-door-text { text-align: left; }
.acct-pw-step .acct-door-text b { color: #fff; overflow-wrap: anywhere; }
.acct-pw-sent { justify-items: center; }
.acct-pw-sent .acct-door-text { text-align: center; }
.acct-pw-env { position: relative; width: 64px; height: 44px; border-radius: 7px; background: linear-gradient(#ffd27a, #f0a630); box-shadow: 0 12px 24px -10px rgba(255, 170, 40, .7); animation: acct-pw-env .8s var(--ac-spring) .2s both; }
.acct-pw-env::before { content: ""; position: absolute; inset: 0 0 auto; height: 26px; background: #d99a1e; clip-path: polygon(0 0, 100% 0, 50% 100%); border-radius: 7px 7px 0 0; }
.acct-pw-env i { position: absolute; right: -6px; top: -6px; width: 14px; height: 14px; border-radius: 4px; background: #7fd6d8; box-shadow: 0 0 10px rgba(127, 214, 216, .9); animation: acct-pw-blink 1.6s ease-in-out 1s infinite; }
@keyframes acct-pw-env { from { opacity: 0; transform: translateY(-26px) rotate(-8deg) scale(.8); } }
@keyframes acct-pw-blink { 50% { opacity: .25; } }
@media (max-width: 380px) {
  .acct-door-panel { padding: 24px 16px 18px; }
  .acct-pw-tab { font-size: 10.5px; letter-spacing: .06em; }
}

/* ---- Settings: the Password panel (the page's own light or dark) ---- */
.acct-panel.is-pw { --pc: #6f42c1; }
.acct-panel .acct-pw-rules { color: var(--ac-muted); margin-top: 4px; }
.acct-panel .acct-pw-rules li::before { background: var(--ac-line); }
.acct-panel .acct-pw-rules li.is-ok { color: var(--ac-ok); }
.acct-panel .acct-pw-rules li.is-ok::before { background: #3fb950; }
.acct-panel .acct-pw-rules li.is-no { color: var(--ac-bad); }
.acct-panel .acct-pw-meter { margin-top: 6px; }
.acct-panel .acct-pw-meter i { background: var(--ac-soft); }
.acct-panel .acct-pw-strength { margin-top: 2px; color: var(--ac-muted); }
.acct-pw-have { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--ac-soft); }
.acct-pw-have .acct-way-mark { flex: none; }
.acct-pw-sub { margin: 14px 0 0; color: var(--ac-fg); font-size: 14.5px; }
.acct-pw-wait { margin: 0; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--ac-amber) 18%, var(--ac-card)); color: var(--ac-fg); font-size: 13px; }
.acct-pw-wait[hidden], .acct-pw-part[hidden] { display: none; }
.acct-way-mark .acct-ico { width: 20px; height: 20px; color: #6f42c1; }
.acct-none { color: rgba(255, 255, 255, .6); }

/* ---- A member's own workbench: the bar in the row of the tabs, and the drawer ---- */
.acct-benchbar { display: flex; align-items: center; gap: 8px; margin-left: auto; align-self: center; min-width: 0; }
.acct-bb-tag { display: inline-flex; align-items: center; gap: 7px; color: rgba(255, 193, 77, .7); font: 700 10.5px/1 var(--ac-mono); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.acct-bb-tag .acct-ico { color: #f2b632; filter: drop-shadow(0 0 3px rgba(242, 182, 50, .8)); }
.acct-bb-name { width: clamp(130px, 18vw, 250px); height: 30px; padding: 0 10px; border: 0; border-radius: 8px; background: radial-gradient(ellipse at 50% 0%, #1c2630, #0a0f14 75%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 3px 10px rgba(0, 0, 0, .7); color: #ffc14d; caret-color: #ffc14d; font: 13px var(--ac-mono); letter-spacing: .04em; text-shadow: 0 0 8px rgba(255, 170, 40, .6); }
.acct-bb-name::placeholder { color: rgba(255, 193, 77, .35); text-shadow: none; }
.acct-bb-name:focus { outline: none; box-shadow: inset 0 0 0 1px rgba(255, 193, 77, .6), 0 0 0 3px rgba(255, 193, 77, .14); }
.acct-bb-state { min-width: 0; color: rgba(255, 255, 255, .45); font: 11px var(--ac-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-bb-state[data-kind="ok"] { color: #7ee2a8; }
.acct-bb-state[data-kind="ok"]::before, .acct-bb-state[data-kind="warn"]::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 6px currentColor; vertical-align: 1px; }
.acct-bb-state[data-kind="warn"] { color: #ffc14d; }
.acct-bb-state[data-kind="warn"]::before { animation: acct-blink 1.2s steps(1) infinite; }
.acct-bb-key { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border: 0; border-radius: 8px; background: linear-gradient(#2f3e4c, #1b252f); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 2px 0 #05080b; color: #ffc14d; font: 700 11px/1 var(--ac-mono); letter-spacing: .1em; text-transform: uppercase; text-shadow: 0 0 8px rgba(255, 170, 40, .5); white-space: nowrap; cursor: pointer; transition: transform .08s, filter .2s, box-shadow .08s; }
.acct-bb-key:hover { filter: brightness(1.18); }
.acct-bb-key:active, .acct-bb-key.is-busy { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 0 0 #05080b; }
.acct-bb-key.is-amber { background: linear-gradient(#ffd27a, #f0a630); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 2px 0 #7a4d06; color: #3a2400; text-shadow: none; }
.acct-bb-key.is-busy { animation: acct-blink .5s steps(1) infinite; }
.acct-bb-key:focus-visible { outline: 2px solid #7fd6d8; outline-offset: 2px; }
.acct-bb-key[aria-expanded="true"] { background: #ffc14d; color: #2a1b00; text-shadow: none; }
.acct-bb-lib { position: relative; }
.acct-drawer { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; width: min(400px, calc(100vw - 24px)); max-height: min(70svh, 560px); overflow: auto; padding: 10px; border-radius: 18px; background: var(--ac-dots), linear-gradient(170deg, #1f2b36, #101820); background-size: 16px 16px, auto; box-shadow: 0 0 0 1px rgba(255, 255, 255, .09), 0 30px 60px -20px rgba(0, 0, 0, .85); color: #c9d4de; opacity: 0; transform: translateY(-8px) scale(.96); transform-origin: top right; transition: opacity .2s, transform .28s var(--ac-ease); }
.acct-drawer.is-in { opacity: 1; transform: none; }
.acct-dr-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 2px 6px 10px; font: 700 11px/1 var(--ac-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.acct-dr-head a { color: #7fd6d8; letter-spacing: .04em; text-transform: none; font-weight: 400; }
.acct-dr-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.acct-dr-item { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 12px; width: 100%; min-height: 72px; margin: 0; padding: 6px; border: 0; border-radius: 13px; background: rgba(255, 255, 255, .03); color: inherit; font: inherit; text-align: left; cursor: pointer; animation: acct-item-in .35s var(--ac-ease) both; animation-delay: calc(var(--i) * 35ms); transition: background-color .15s, box-shadow .2s; }
.acct-dr-item:hover, .acct-dr-item:focus-visible { background: rgba(255, 255, 255, .08); outline: none; box-shadow: inset 0 0 0 1px rgba(255, 193, 77, .35); }
.acct-dr-item.is-current { box-shadow: inset 0 0 0 1px rgba(127, 214, 216, .45); }
.acct-dr-item.is-armed { box-shadow: inset 0 0 0 2px #ff8a80; }
.acct-dr-view { display: grid; place-items: center; height: 60px; border-radius: 10px; background: rgba(0, 0, 0, .3); container-type: size; }
.acct-dr-text { display: grid; gap: 3px; min-width: 0; }
.acct-dr-text b { color: #fff; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-dr-hint { color: rgba(255, 255, 255, .5); font: 11.5px/1.35 var(--ac-mono); }
.acct-dr-item.is-armed .acct-dr-hint { color: #ff8a80; }
.acct-dr-none { margin: 10px 8px; color: rgba(255, 255, 255, .6); font-size: 13px; }
.acct-dr-none.is-bad { color: #ff8a80; }
.tray-slot:not(.is-empty):has(.wtile[data-members]) .sq { position: relative; }
.tray-slot:not(.is-empty):has(.wtile[data-members]) .sq::after { content: ""; position: absolute; left: -4px; top: -4px; z-index: 2; width: 13px; height: 13px; border-radius: 4px; background: #f2b632 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 5'%3E%3Cpath fill='%23fff' d='M2 0h1v1h1v1h1v1H4v1h1v1H3V4H2v1H0V4h1V3H0V2h1V1h1z'/%3E%3C/svg%3E") center / 7px no-repeat; box-shadow: 0 0 0 2px #fff, 0 0 8px rgba(242, 182, 50, .8); pointer-events: none; }
.wtile.acct-saved-glow { animation: acct-saved .9s ease-out both; animation-delay: calc(var(--acct-k, 0) * 60ms); }
@keyframes acct-saved { 30% { filter: brightness(1.3) drop-shadow(0 0 10px #ffc14d); } }

/* ---- The admin page's Members part (/admin): the control room's own pieces (style.css, wadm-*), with its tokens ---- */
.acct-adm .acct-adm-body { display: grid; gap: 14px; margin-top: 6px; }
.acct-adm-summary { position: static; margin: 0; }
.acct-adm .wadm-sec { margin: 0; }
.acct-adm-pad { padding: 12px 14px; }
.acct-adm-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-top: 10px; }
.acct-adm-people { display: grid; gap: 14px; }
.acct-adm .wadm-row.acct-adm-user, .acct-adm .wadm-row.acct-adm-tile { grid-template-columns: minmax(0, 1fr) auto; animation: acct-item-in .35s var(--ac-ease) both; animation-delay: calc(var(--i, 0) * 30ms); }
.acct-adm .wadm-row .wadm-pick { cursor: default; }
.acct-adm .wadm-pick > .acct-av, .acct-adm .wadm-pick > .acct-ti { width: 40px; height: 40px; flex: none; border-radius: 9px; }
.acct-adm-user[data-status="pending"] { box-shadow: inset 4px 0 0 #ffc14d; }
.acct-adm-user[data-status="suspended"] .wadm-pick { opacity: .65; }
.acct-adm-acts { grid-column: 2; grid-row: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.acct-adm-acts .wadm-note { flex-basis: 100%; text-align: right; }
.acct-adm-acts .wadm-note:empty { display: none; }
.acct-adm-way { gap: 5px; }
.acct-adm-way .acct-pmark { width: 13px; height: 13px; flex: none; }
.acct-adm-pw .acct-ico { width: 12px; height: 12px; flex: none; }
.acct-adm .wadm-words a { color: var(--wa-accent); }
.acct-adm-tile[data-state="off"] .wadm-pick { opacity: .55; }
.acct-adm-tile[data-state="off"] .acct-ti { filter: grayscale(1); }
.acct-adm .wadm-led[data-led="acct-wait"] b { color: #ffc14d; }
.acct-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; max-width: 760px; padding: 4px; border-radius: 12px; background: var(--wa-sunk, var(--ac-soft)); box-shadow: inset 0 0 0 1px var(--wa-line, var(--ac-line)); }
.acct-seg-opt { display: grid; gap: 2px; min-height: 44px; margin: 0; padding: 8px 12px; border: 0; border-radius: 9px; background: none; color: var(--wa-muted, var(--ac-muted)); font: inherit; text-align: left; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .25s; }
.acct-seg-opt b { color: var(--wa-ink, var(--ac-fg)); font-size: 13.5px; }
.acct-seg-opt span { font-size: 12px; line-height: 1.3; }
.acct-seg-opt:hover { color: var(--wa-ink, var(--ac-fg)); }
.acct-seg-opt[aria-checked="true"] { background: var(--wa-card, var(--ac-card)); box-shadow: 0 1px 3px rgba(0, 0, 0, .14), inset 0 0 0 1.5px var(--wa-accent, var(--ac-amber-deep)); color: var(--wa-ink, var(--ac-fg)); }
.acct-seg-opt:disabled { opacity: .4; cursor: not-allowed; }
.acct-seg-opt:focus-visible { outline: 2px solid #7fd6d8; outline-offset: 1px; }
.acct-seg.is-small { display: inline-grid; grid-auto-columns: auto; padding: 3px; }
.acct-seg.is-small .acct-seg-opt { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 12px; font-size: 12.5px; white-space: nowrap; }
.acct-seg.is-small .acct-seg-opt[data-v="members"][aria-checked="true"] { box-shadow: 0 1px 3px rgba(0, 0, 0, .14), inset 0 0 0 1.5px #d99a1e; color: #8a5a00; }
.acct-seg.is-small .acct-seg-opt[data-v="off"][aria-checked="true"] { box-shadow: 0 1px 3px rgba(0, 0, 0, .14), inset 0 0 0 1.5px var(--wa-bad, #cf222e); color: var(--wa-bad, #cf222e); }

/* ---- Phones ---- */
@media (max-width: 700px) {
  .acct-hero-in { justify-content: center; text-align: center; }
  .acct-hero-text { flex-basis: 100%; }
  .acct-hero-meters, .acct-hero-keys { justify-content: center; }
  .acct-hero-crowd { justify-content: center; }
  .acct-lib-head { margin-top: 22px; }
  .acct-lib-tools { width: 100%; }
  .acct-searchbox { width: 100%; }
  .acct-tilepick { grid-template-columns: 1fr; justify-items: center; }
  .acct-tilepick > div { width: 100%; }
  .acct-way { grid-template-columns: 46px minmax(0, 1fr); }
  .acct-way > :last-child:not(.acct-way-text) { grid-column: 1 / -1; justify-self: stretch; }
  .acct-way > form .acct-key, .acct-way > .acct-key { width: 100%; }
  .acct-sheet { width: 100vw; max-height: 92svh; margin: auto 0 0; border-radius: 22px 22px 0 0; transform: translateY(60px); }
  .acct-card-go { opacity: 1; transform: none; }
  .acct-bench .bench-tabs { height: auto; flex-wrap: wrap; padding-bottom: 8px; row-gap: 8px; }
  .acct-benchbar { flex: 1 1 100%; flex-wrap: wrap; margin-left: 0; }
  .acct-bb-name { flex: 1 1 140px; height: 44px; }
  .acct-bb-key { height: 44px; padding: 0 14px; }
  .acct-bb-state { flex-basis: 100%; order: 9; }
  .acct-drawer { position: fixed; left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; transform-origin: bottom center; }
  .acct-adm .wadm-row.acct-adm-user, .acct-adm .wadm-row.acct-adm-tile { grid-template-columns: minmax(0, 1fr); }
  .acct-adm-acts { grid-column: 1; grid-row: 2; justify-content: flex-start; }
  .acct-adm-acts .wadm-note { text-align: left; }
  .acct-seg:not(.is-small) { grid-auto-flow: row; }
}
@media (max-width: 420px) {
  .acct-hero-meters .acct-meter { padding: 8px; }
  .acct-key-face { padding: 0 14px; }
}

/* ---- Reduced motion: things change at once ---- */
@media (prefers-reduced-motion: reduce) {
  .acct-page *, .acct-page *::before, .acct-page *::after, .acct-chip *, .acct-menu, .acct-menu *, .acct-toast, .acct-drawer, .acct-drawer *, .acct-benchbar *, .acct-signin, .acct-signin * {
    animation-duration: 1ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    transition-delay: 0s !important;
  }
  .acct-band::after { display: none; }
  .acct-float { opacity: .45; animation: none !important; }
}

/* ---- A chain's ID card figures (both styles): latency, RAM, parameters, as the Workbench's meters total them ---- */
.acct-figs { display: flex; flex-wrap: wrap; align-items: stretch; gap: 6px; margin: 2px 0 0; }
.acct-fig { display: grid; gap: 1px; min-width: 72px; padding: 6px 9px 5px; border-radius: 9px; background: radial-gradient(ellipse at 50% 0%, #1c2630, #0a0f14 80%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.acct-fig-v { color: #ffc14d; font: 700 14px/1.1 var(--ac-mono); letter-spacing: .02em; text-shadow: 0 0 8px rgba(255, 170, 40, .45); white-space: nowrap; }
.acct-fig-ram .acct-fig-v { color: #7fd6d8; text-shadow: 0 0 8px rgba(53, 173, 176, .5); }
.acct-fig-par .acct-fig-v { color: #e8a6d6; text-shadow: 0 0 8px rgba(194, 84, 158, .5); }
.acct-fig-w { color: #8d9aa7; font: 700 9px/1.2 var(--ac-mono); letter-spacing: .14em; text-transform: uppercase; }
.acct-figs-note { align-self: center; color: var(--ac-muted); font: 11px var(--ac-mono); cursor: help; }
.acct-figs.is-big { margin: 14px 20px 0; }
.acct-figs.is-big .acct-fig { min-width: 110px; padding: 9px 13px 8px; }
.acct-figs.is-big .acct-fig-v { font-size: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .acct-cards.is-ready .acct-fig, .hub-pin .acct-fig { animation: acct-fig-in .5s var(--ac-ease) both; animation-delay: calc(.25s + var(--i, 0) * 60ms); }
}
@keyframes acct-fig-in { from { opacity: 0; transform: translateY(6px) scale(.94); } }

/* ---- akiki x hub (data-look="hub"): two columns and tabs, as a code host lays out a profile; rows for lists. The
   akiki part: the header, the tiles, the pixel icons, the LED digits, the amber keys, the dark bench thumbnails ---- */
.hub-switch { display: inline-flex; padding: 3px; margin-top: 10px; border: 1px solid var(--ac-line); border-radius: 10px; background: var(--ac-card); }
.acct-band .hub-switch { border-color: rgba(255, 255, 255, .14); background: rgba(5, 8, 11, .45); }
.hub-switch-b { min-height: 34px; padding: 0 12px; border: 0; border-radius: 7px; background: transparent; color: var(--ac-muted); font: 700 11.5px/1 var(--ac-mono); letter-spacing: .04em; cursor: pointer; transition: background-color .2s, color .2s; }
.acct-band .hub-switch-b { color: #a9b6c2; }
.hub-switch-b:hover { color: var(--ac-fg); }
.acct-band .hub-switch-b:hover { color: #fff; }
.hub-switch-b[aria-checked="true"] { background: #1d2833; color: #ffc14d; text-shadow: 0 0 8px rgba(255, 170, 40, .5); }
.hub-switch-b.is-busy { opacity: .6; }
.hub-looks { display: grid; gap: 10px; }
.hub-look-pic { flex: none; display: grid; width: 78px; height: 54px; padding: 5px; gap: 3px; border-radius: 9px; border: 1px solid var(--ac-line); background: var(--ac-card); }
.hub-look-pic i { display: block; border-radius: 2px; background: var(--ac-soft); }
.hub-look-pic.is-akiki { grid-template: 16px 1fr / 1fr 1fr; }
.hub-look-pic.is-akiki i:nth-child(1) { grid-column: 1 / -1; background: linear-gradient(160deg, #1d2833, #0f151b); }
.hub-look-pic.is-akiki i:nth-child(2), .hub-look-pic.is-akiki i:nth-child(3) { background: linear-gradient(#1d2833 55%, var(--ac-soft) 55%); }
.hub-look-pic.is-akiki i:nth-child(n+4) { display: none; }
.hub-look-pic.is-hub { grid-template: 6px 1fr 1fr / 20px 1fr 1fr; }
.hub-look-pic.is-hub i:nth-child(1) { grid-row: 1 / -1; background: linear-gradient(var(--ac-teal) 0 18px, var(--ac-soft) 18px); border-radius: 3px; }
.hub-look-pic.is-hub i:nth-child(2) { grid-column: 2 / -1; background: linear-gradient(90deg, #ec8e4a 30%, var(--ac-line) 30%); height: 2px; align-self: end; }
.hub-look-pic.is-hub i:nth-child(n+3) { border: 1px solid var(--ac-line); background: transparent; }

:root[data-look="hub"] .acct-main { padding-bottom: 48px; }
:root[data-look="hub"]:is([data-page="me"], [data-page="profile"], [data-page="community"]) .acct-header .container { max-width: 1280px; }   /* the bar lines up with the wider page */
:root[data-look="hub"] .hub-rows .acct-byline { display: none; }   /* the member is already named in the row's title */
.hub-owner-av { vertical-align: -6px; margin-right: 8px; }
.hub.container { max-width: 1280px; }
.hub { display: grid; grid-template-columns: minmax(0, 296px) minmax(0, 1fr); gap: 24px 32px; padding-top: 28px; }
.hub-community { display: block; }
.hub-box { border: 1px solid var(--ac-line); border-radius: 12px; background: var(--ac-card); }
.hub-h { margin: 0 0 10px; font: 400 16px/1.3 var(--sans, system-ui); color: var(--ac-fg); }
.hub-h-s { font-weight: 600; font-size: 14px; }

/* the side column: the member */
.hub-side { display: grid; align-content: start; gap: 16px; }
.hub-who { display: grid; gap: 14px; }
.hub-who > .acct-av { --sz: min(296px, 100%); width: 100%; height: auto; aspect-ratio: 1; border-radius: 22%; box-shadow: 0 0 0 1px var(--ac-line), 0 24px 44px -26px color-mix(in srgb, var(--tc) 80%, #000); animation: acct-drop .7s var(--ac-spring) both; }
.hub-name { margin: 0; font: 600 24px/1.25 var(--sans, system-ui); overflow-wrap: anywhere; }
.hub-handle { margin: 0; color: var(--ac-muted); font: 300 20px/1.3 var(--sans, system-ui); overflow-wrap: anywhere; }
.hub-side-keys { display: grid; gap: 8px; }
.hub-side-keys .acct-key { width: 100%; }
.hub-side-keys .acct-key-face { justify-content: center; }
.hub-facts { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--ac-muted); font-size: 14px; }
.hub-fact { display: flex; align-items: center; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
.hub-fact b { color: var(--ac-fg); }
.hub-fact .acct-ico { width: 15px; height: 15px; color: var(--ac-muted); }
.hub-side-block { padding-top: 16px; border-top: 1px solid var(--ac-line); }
.hub-tiles { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.hub-tiles li { width: 40px; height: 40px; animation: acct-pop .45s var(--ac-spring) both; animation-delay: calc(.3s + var(--i) * 40ms); }
.hub-tiles .acct-ti { width: 100%; height: 100%; transition: transform .3s var(--ac-spring); }
.hub-tiles li:hover .acct-ti { transform: translateY(-3px) scale(1.08); }
@keyframes acct-pop { from { opacity: 0; transform: scale(.5); } }

/* the tabs, with akiki's orange tab line sliding between them */
.hub-body { min-width: 0; }
.hub-tabs { position: sticky; top: 56px; z-index: 5; display: flex; gap: 4px; margin-bottom: 20px; border-bottom: 1px solid var(--ac-line); background: var(--ac-bg); overflow-x: auto; scrollbar-width: none; }
.hub-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; border: 0; background: none; color: var(--ac-fg); font: 400 14px/1 var(--sans, system-ui); white-space: nowrap; cursor: pointer; border-radius: 8px 8px 0 0; }
.hub-tab:hover { background: var(--ac-soft); }
.hub-tab[aria-selected="true"] { font-weight: 600; }
.hub-tab .acct-ico { color: var(--ac-muted); }
.hub-count { min-width: 20px; padding: 2px 6px; border-radius: 999px; background: var(--ac-soft); color: var(--ac-fg); font: 600 12px/1.3 var(--sans, system-ui); text-align: center; }
.hub-tab-line { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; border-radius: 2px; background: var(--tab-line, #ec8e4a); transition: transform .35s var(--ac-ease), width .35s var(--ac-ease); }
.hub-panel[hidden] { display: none; }
.hub-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }

/* pinned chains */
.hub-pins { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.hub-pin { display: grid; align-content: start; gap: 10px; padding: 16px; border: 1px solid var(--ac-line); border-radius: 12px; background: var(--ac-card); animation: acct-card-in .55s var(--ac-ease) both; animation-delay: calc(var(--i) * 60ms); transition: border-color .25s, box-shadow .3s, transform .35s var(--ac-spring); }
.hub-pin:hover { border-color: color-mix(in srgb, var(--ac-amber-deep) 45%, var(--ac-line)); box-shadow: 0 0 0 3px rgba(255, 193, 77, .12); transform: translateY(-2px); }
.hub-pin-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hub-pin-top > .acct-ico { color: var(--ac-muted); }
.hub-pin-link { min-width: 0; font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hub-pill { flex: none; display: inline-block; margin-left: 6px; padding: 0 7px; border: 1px solid var(--ac-line); border-radius: 999px; color: var(--ac-muted); font: 500 12px/18px var(--sans, system-ui); vertical-align: 2px; }
.hub-pin-top .hub-pill { margin-left: auto; }
.hub-strip { display: flex; gap: 3px; padding: 8px; border-radius: 10px; background: var(--ac-bench); overflow: hidden; }
.hub-strip .acct-ti { width: 26px; height: 26px; flex: none; }
.hub-lang { display: inline-flex; align-items: center; gap: 5px; margin-right: 10px; }
.hub-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--tc); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.hub-copies { display: inline-flex; align-items: center; gap: 4px; margin-right: 10px; }
.hub-none { padding: 24px; }

/* a year of activity */
.hub-activity { padding: 16px 16px 12px; }
.hub-graph-scroll { overflow-x: auto; padding-bottom: 4px; }
.hub-graph { display: block; width: 100%; min-width: 700px; height: auto; }
.hub-gm { fill: var(--ac-muted); font: 9px var(--sans, system-ui); }
.hub-gc, .hub-legend i { fill: var(--ac-soft); background: var(--ac-soft); stroke: color-mix(in srgb, var(--ac-fg) 6%, transparent); stroke-width: 1; }
.hub-gc[data-l="1"], .hub-legend i[data-l="1"] { fill: #b6e4e5; background: #b6e4e5; }
.hub-gc[data-l="2"], .hub-legend i[data-l="2"] { fill: #6cc8ca; background: #6cc8ca; }
.hub-gc[data-l="3"], .hub-legend i[data-l="3"] { fill: #35adb0; background: #35adb0; }
.hub-gc[data-l="4"], .hub-legend i[data-l="4"] { fill: #ffc14d; background: #ffc14d; }   /* the busiest day lights up amber, as the bench's LEDs do */
@media (prefers-reduced-motion: no-preference) {
  .hub-gc { animation: hub-gc-in .4s var(--ac-ease) both; animation-delay: calc(var(--w) * 12ms); transform-box: fill-box; transform-origin: center; }
}
@keyframes hub-gc-in { from { opacity: 0; transform: scale(.3); } }
.hub-legend { display: flex; align-items: center; justify-content: flex-end; gap: 3px; margin-top: 6px; color: var(--ac-muted); font-size: 12px; }
.hub-legend i { width: 10px; height: 10px; border-radius: 2.5px; }
.hub-legend span { margin: 0 4px; }

/* lists as rows: the chain's dark bench as a thumbnail on the right */
.hub-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 12px; }
.hub-toolbar .acct-lib-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; width: 100%; }
.hub-toolbar .acct-searchbox { flex: 1 1 260px; }
:root[data-look="hub"] .hub-rows { display: block; border-top: 1px solid var(--ac-line); }
:root[data-look="hub"] .hub-rows .acct-card { display: grid; grid-template-columns: minmax(0, 1fr) 200px; align-items: center; gap: 16px; padding: 22px 0; border: 0; border-bottom: 1px solid var(--ac-line); border-radius: 0; background: none; box-shadow: none; overflow: visible; }
:root[data-look="hub"] .hub-rows .acct-card:hover, :root[data-look="hub"] .hub-rows .acct-card:focus-within { transform: none; box-shadow: none; border-color: var(--ac-line); }
:root[data-look="hub"] .hub-rows .acct-card-body { order: 1; padding: 0; gap: 8px; }
:root[data-look="hub"] .hub-rows .acct-card-view { order: 2; height: 108px; border-radius: 12px; overflow: hidden; transition: transform .35s var(--ac-spring), box-shadow .3s; }
:root[data-look="hub"] .hub-rows .acct-card:hover .acct-card-view { transform: scale(1.03); box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .6); }
:root[data-look="hub"] .hub-rows .acct-card-title { font-size: 20px; font-weight: 600; color: var(--ac-link); }
:root[data-look="hub"] :is(.hub-community, .hub-profile) .hub-rows .acct-card-title > span:not(.hub-pill):not(.hub-slash) { cursor: pointer; }
:root[data-look="hub"] :is(.hub-community, .hub-profile) .hub-rows .acct-card-title > span:not(.hub-pill):not(.hub-slash):hover { text-decoration: underline; }
.hub-owner { font-weight: 400; }
.hub-slash { color: var(--ac-muted); font-weight: 400; }
:root[data-look="hub"] .hub-rows .acct-card-when { flex-basis: auto; }
:root[data-look="hub"] .hub-rows .acct-card-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
:root[data-look="hub"] .hub-rows .acct-empty, :root[data-look="hub"] .hub-rows .acct-nomatch { padding: 32px 0; border-bottom: 1px solid var(--ac-line); }

/* community */
.hub-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; padding: 8px 0 24px; margin-bottom: 24px; border-bottom: 1px solid var(--ac-line); }
.hub-head .acct-lead { margin-top: 6px; }
.hub-cols { display: grid; grid-template-columns: minmax(0, 1fr) 296px; gap: 24px; align-items: start; }
.hub-listbox { padding: 0 16px; overflow: hidden; }
.hub-listbox .hub-toolbar { margin: 0 -16px; padding: 12px 16px; background: var(--ac-soft); border-bottom: 1px solid var(--ac-line); border-radius: 12px 12px 0 0; }
.hub-listbox .hub-rows { border-top: 0; }
.hub-listbox .hub-rows .acct-card:last-child { border-bottom: 0; }
.hub-aside { display: grid; gap: 16px; }
.hub-aside .hub-side-block { padding: 16px; border-top: 1px solid var(--ac-line); }
.hub-leds { display: flex; flex-wrap: wrap; gap: 8px; }
.hub-people { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.hub-people li { animation: acct-card-in .5s var(--ac-ease) both; animation-delay: calc(.2s + var(--i) * 50ms); }
.hub-people a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 6px; margin: 0 -6px; border-radius: 8px; color: var(--ac-fg) !important; text-decoration: none !important; }
.hub-people a:hover { background: var(--ac-soft); }
.hub-people-t { display: grid; min-width: 0; font-size: 13px; }
.hub-people-t b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hub-people-t span { color: var(--ac-muted); font: 12px var(--ac-mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* settings in the hub style: flat boxes with a header strip */
:root[data-look="hub"] .acct-panel { border-radius: 12px; box-shadow: none; }

/* narrow screens: the member above, a row of them */
@media (max-width: 860px) {
  .hub { grid-template-columns: minmax(0, 1fr); padding-top: 18px; }
  .hub-who { grid-template-columns: 88px minmax(0, 1fr); align-items: center; }
  .hub-who > .acct-av { --sz: 88px; width: 88px; }
  .hub-name { font-size: 20px; }
  .hub-handle { font-size: 16px; }
  .hub-side-keys { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .hub-cols { grid-template-columns: minmax(0, 1fr); }
  .hub-aside { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}
@media (max-width: 560px) {
  .hub-side-keys { grid-template-columns: minmax(0, 1fr); }
  .hub-pin { padding: 14px 12px; }
  :root[data-look="hub"] .hub-rows .acct-card { grid-template-columns: minmax(0, 1fr); }
  :root[data-look="hub"] .hub-rows .acct-card-view { order: 0; height: 120px; }
  .hub-listbox { padding: 0 12px; }
  .hub-listbox .hub-toolbar { margin: 0 -12px; padding: 12px; }
}

/* ---- The admin page's Tiles part in two tabs: the Public Workbench (no sign-in) and the Members' Workbench ---- */
.acct-tabs { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 4px 0 16px; padding: 5px; border-radius: 14px; background: var(--wa-sunk, var(--ac-soft)); box-shadow: inset 0 0 0 1px var(--wa-line, var(--ac-line)); }
.acct-tab { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 10px; min-height: 56px; margin: 0; padding: 9px 14px; border: 0; border-radius: 10px; background: none; color: var(--wa-muted, var(--ac-muted)); font: inherit; text-align: left; cursor: pointer; transition: color .2s, background-color .2s; }
.acct-tab:hover { color: var(--wa-ink, var(--ac-fg)); background: color-mix(in srgb, var(--wa-card, var(--ac-card)) 50%, transparent); }
.acct-tab b { grid-column: 1; color: var(--wa-ink, var(--ac-fg)); font-size: 14.5px; }
.acct-tab-sub { grid-column: 1; font-size: 12px; line-height: 1.3; }
.acct-tab-n { grid-column: 2; grid-row: 1 / span 2; min-width: 58px; padding: 6px 9px; border-radius: 8px; background: radial-gradient(ellipse at 50% 0%, #1c2630, #0a0f14 80%); color: #ffc14d; font: 700 13px/1 var(--ac-mono); text-align: center; text-shadow: 0 0 8px rgba(255, 170, 40, .5); }
.acct-tab[aria-selected="true"] { color: var(--wa-ink, var(--ac-fg)); }
.acct-tab:focus-visible { outline: 2px solid var(--wa-accent, var(--ac-amber-deep)); outline-offset: 2px; }
.acct-tab-line { position: absolute; z-index: 0; left: 5px; top: 5px; bottom: 5px; width: calc((100% - 16px) / 2); transform: translateX(calc(var(--at, 0) * (100% + 6px))); border-radius: 10px; background: var(--wa-card, var(--ac-card)); box-shadow: 0 1px 3px rgba(0, 0, 0, .14), inset 0 0 0 1.5px var(--wa-accent, var(--ac-amber-deep)); transition: transform .35s var(--ac-ease), width .35s var(--ac-ease); }
.acct-tp[hidden] { display: none; }
.acct-tp { animation: acct-tp-in .3s var(--ac-ease) both; }
@keyframes acct-tp-in { from { opacity: 0; transform: translateY(6px); } }
.acct-tp-lead { margin: 0 0 12px; }
.acct-pub-tools { margin-bottom: 12px; }
.acct-pub-row { animation: acct-item-in .35s var(--ac-ease) both; animation-delay: calc(var(--i, 0) * 15ms); }
.acct-pub-row[data-state="off"] .wadm-pick { opacity: .5; }
.acct-pub-row[data-state="off"] .acct-ti { filter: grayscale(1); }
.acct-pub-row .wadm-switch:disabled { opacity: .35; cursor: not-allowed; }
.acct-pub-state { transition: color .2s, border-color .2s; }
.acct-pub-row[data-state="public"] .acct-pub-state { color: var(--wa-ok, var(--ac-ok)); border-color: currentColor; }
.acct-pub-row[data-state="members"] .acct-pub-state { color: #7048c8; border-color: currentColor; }
.acct-pub-row .acct-ti { width: 40px; height: 40px; flex: none; border-radius: 9px; }
@media (max-width: 560px) {
  .acct-tabs { grid-template-columns: minmax(0, 1fr); }
  .acct-tab-line { display: none; }
  .acct-tab[aria-selected="true"] { background: var(--wa-card, var(--ac-card)); box-shadow: inset 0 0 0 1.5px var(--wa-accent, var(--ac-amber-deep)); }
}
@media (prefers-reduced-motion: reduce) { .acct-tab-line, .acct-tp, .acct-pub-row { transition: none; animation: none; } }
