/* The account page (/me) inside the Apple frame (20 Oct 2026). Its rules come from site.css; its colours are
   Apple's: a #f5f5f7 ground, white cards, #1d1d1f ink. Light only, like the rest of the site. */
.a-body .acct { --accent: #0071e3; --ink-2: #6e6e73; --bar-h: 44px; }
.me-elo { width: 104px; height: 116px; flex: none; }
.me-elo-name { margin: 2px 0 0; color: var(--ink-2); }
.me-elo { width: 116px; height: 128px; flex: none; }
.me-elo-name { margin: 4px 0 0; color: var(--me-sub); font-size: 15px; }
  .me-elo { width: 90px; height: 98px; }
/* Your ELO, changed on the website (7 Oct 2026). */
.me-elo-change { margin-top: 10px; border: 1px solid var(--me-line); border-radius: 999px; padding: 6px 13px; background: var(--me-tile); color: var(--me-bone); font: 600 12.5px/1.2 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; cursor: pointer; }
.me-elo-change:hover { background: #262626; }
.me-elo-change:focus-visible, .me-elo-opt:focus-visible, .me-elo-panel button:focus-visible, .me-elo-panel input:focus-visible { outline: 2px solid var(--me-bone); outline-offset: 2px; }
.me-elo-sheet { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.me-elo-sheet[hidden] { display: none; }
.me-elo-panel { width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; border-radius: 26px; background: var(--me-card); border: 1px solid var(--me-line); padding: 22px 20px 18px; color: var(--me-bone); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.me-elo-panel h2 { margin: 0; font: 700 22px -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif; letter-spacing: -0.01em; }
.me-elo-note { margin: 6px 0 0; font-size: 14px; color: var(--me-sub); }
.me-elo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.me-elo-opt { aspect-ratio: 1; border-radius: 18px; background: var(--me-tile); border: 1px solid var(--me-line); padding: 6px; cursor: pointer; }
.me-elo-opt img { width: 100%; height: 100%; object-fit: contain; display: block; }
.me-elo-opt.on { border-color: var(--me-bone); box-shadow: 0 0 0 2px var(--me-bone) inset; }
.me-elo-label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--me-sub); }
.me-elo-label input { border: 1px solid var(--me-line); border-radius: 14px; background: var(--me-tile); color: var(--me-bone); padding: 11px 13px; font: 16px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; }
.me-elo-msg { min-height: 1.3em; margin: 10px 0 0; font-size: 13px; color: var(--me-sub); }
.me-elo-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.me-elo-actions button { border-radius: 999px; padding: 9px 18px; font: 600 14px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; cursor: pointer; }
.me-elo-cancel { border: 1px solid var(--me-line); background: var(--me-tile); color: var(--me-bone); }
.me-elo-save { border: 1px solid var(--me-bone); background: var(--me-bone); color: #000; }
  .me-hero .me-elo { width: 86px !important; height: 86px !important; float: right; margin: -4px 0 6px 10px; }
/* ---- Your account (rebuilt 10 Oct 2026) ----------------------------------------------------------------------
   A clean page in San Francisco on the site's own light and dark tokens: no photograph, no tilting glass. */
.acct { --acct-card: #ffffff; --acct-ground: #f4f5f7; --acct-ink: #0d0e10; --acct-sub: #5b616b; --acct-line: rgba(13, 14, 16, 0.09); --acct-fill: rgba(13, 14, 16, 0.045);
  --me-card: var(--acct-card); --me-line: var(--acct-line); --me-bone: var(--acct-ink); --me-sub: var(--acct-sub); --me-faint: var(--acct-sub);
  background: var(--acct-ground); color: var(--acct-ink); min-height: 100vh; padding: calc(var(--bar-h, 72px) + 32px) 16px 80px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.acct-wrap { max-width: 1040px; margin: 0 auto; }
.acct-hero { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; margin-bottom: 28px; }
.acct-elo { width: 96px; height: 96px; object-fit: contain; }
.acct-when { margin: 0; color: var(--acct-sub); font-size: 15px; }
.acct-name { margin: 2px 0 4px; font: 700 clamp(30px, 4.6vw, 44px)/1.1 -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif; letter-spacing: -0.025em; text-wrap: balance; }
.acct-sub { margin: 0; color: var(--acct-sub); }
.acct-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.acct-chip { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--acct-fill); color: var(--acct-sub); }
.acct-chip.pro { background: var(--acct-ink); color: var(--acct-card); font-weight: 600; }
.acct-actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.acct-btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; padding: 11px 18px; font: 600 15px inherit; font-family: inherit;
  background: var(--acct-ink); color: var(--acct-card); text-decoration: none; cursor: pointer; white-space: nowrap; }
.acct-btn.quiet { background: transparent; color: var(--acct-ink); box-shadow: inset 0 0 0 1px var(--acct-line); }
.acct-btn.sm { padding: 8px 14px; font-size: 14px; }
.acct-btn:focus-visible, .acct a:focus-visible { outline: 2px solid var(--accent, #3f5ff0); outline-offset: 3px; }
.acct-h { margin: 32px 0 12px; font: 650 19px -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif; letter-spacing: -0.01em; display: flex; align-items: baseline; gap: 10px; }
.acct-h span { font: 400 13px inherit; font-family: inherit; color: var(--acct-sub); }
.acct-card { background: var(--acct-card); border: 1px solid var(--acct-line); border-radius: 20px; padding: 18px; }
.acct-apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.acct-app { display: grid; grid-template-columns: 48px 1fr; gap: 12px 14px; align-items: start; }
.acct-app img { width: 48px; height: 48px; border-radius: 12px; }
.acct-app b { display: block; font-size: 17px; }
.acct-app small { display: block; color: var(--acct-sub); font-size: 14px; line-height: 1.4; margin-top: 2px; }
.acct-state { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--acct-ink); }
.acct-app .acct-btn { grid-column: 1 / -1; justify-self: start; }
.acct-rings { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.acct-ring { position: relative; display: grid; justify-items: center; text-align: center; gap: 4px; padding: 6px; }
.acct-ring > svg { width: 108px; height: 108px; transform: rotate(-90deg); }
.acct-ic svg { width: 18px; height: 18px; display: block; }
.acct-ring circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.acct-ring .track { stroke: var(--acct-fill); }
.acct-ring .fill { stroke: var(--c); transition: stroke-dashoffset 0.9s ease; }
.acct-ring .acct-ic { position: absolute; top: 51px; left: 50%; transform: translateX(-50%); color: var(--c); }
.acct-ring b { font-size: 18px; font-variant-numeric: tabular-nums; }
.acct-ring small { color: var(--acct-sub); font-size: 13px; }
.acct-ring.skeleton { height: 150px; border-radius: 16px; background: var(--acct-fill); }
.acct-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 12px; }
.acct-pill { display: flex; gap: 12px; align-items: center; padding: 14px 16px; }
.acct-pill .acct-ic { color: var(--c); }
.acct-pill small { display: block; color: var(--acct-sub); font-size: 13px; }
.acct-pill b { font-size: 15px; }
.acct-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 16px; }
.acct-person { display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit; }
.acct-face { width: 48px; height: 48px; border-radius: 50%; background: var(--acct-fill); display: grid; place-items: center; overflow: hidden; font-weight: 700; }
.acct-face img { width: 100%; height: 100%; object-fit: cover; }
.acct-person small { display: block; color: var(--acct-sub); }
.acct-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 0; text-align: center; }
.acct-stats b { display: block; font-size: 18px; font-variant-numeric: tabular-nums; }
.acct-stats small { color: var(--acct-sub); font-size: 12px; }
.acct-groups { border-top: 1px solid var(--acct-line); padding-top: 12px; margin-bottom: 16px; }
.acct-groups > small { color: var(--acct-sub); font-size: 13px; }
.acct-group-list { display: grid; gap: 2px; margin-top: 6px; }
.acct-group-list a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; color: var(--acct-ink); text-decoration: none; font-weight: 550; }
.acct-group-list a small { color: var(--acct-sub); font-weight: 400; }
.acct-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--acct-line); }
.acct-row:first-child { border-top: 0; padding-top: 0; }
.acct-row span { color: var(--acct-sub); }
.acct-row b { font-weight: 550; text-align: right; }
.acct-talks { display: grid; gap: 0; }
.acct-pair { padding: 14px 0; border-top: 1px solid var(--acct-line); }
.acct-pair:first-child { border-top: 0; padding-top: 0; }
.acct-said { margin: 0 0 4px; font-weight: 600; }
.acct-answer { margin: 0 0 4px; color: var(--acct-sub); }
.acct-pair small { color: var(--acct-sub); font-size: 12px; }
.acct-empty { margin: 0 0 12px; color: var(--acct-sub); }
.acct-foot { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; margin-top: 40px; font-size: 14px; }
.acct-foot a { color: var(--acct-sub); }
  .acct-hero { grid-template-columns: auto 1fr; }
  .acct-elo { width: 72px; height: 72px; }
  .acct-actions { grid-column: 1 / -1; flex-direction: row; }
  .acct-actions .acct-btn { flex: 1; }
@media (max-width: 560px) {
  .me-hero { flex-wrap: wrap; padding: 14px 16px; }
  .me-elo { width: 90px; height: 98px; }
  .me-today { grid-template-columns: repeat(2, 1fr); }
  .me-stats b { font-size: 16px; }
}
@media (max-width: 480px) { .me-elo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .me-hero { display: block !important; padding: 18px !important; }
  .me-hero .me-elo { width: 86px !important; height: 86px !important; float: right; margin: -4px 0 6px 10px; }
  .me-hero .me-out { position: static !important; margin-top: 14px; }
  .me-hello { width: 100%; }
  .me-ask { max-width: none; }
  .me-quick { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -18px; padding-right: 18px; }
  .me-quick button { flex: none; white-space: nowrap; }
}
@media (max-width: 640px) {
  .acct-hero { grid-template-columns: auto 1fr; }
  .acct-elo { width: 72px; height: 72px; }
  .acct-actions { grid-column: 1 / -1; flex-direction: row; }
  .acct-actions .acct-btn { flex: 1; }
}
.a-body .acct { --acct-card: #fff; --acct-ground: #f5f5f7; --acct-ink: #1d1d1f; --acct-sub: #6e6e73;
  --acct-line: rgba(0, 0, 0, 0.08); --acct-fill: rgba(0, 0, 0, 0.04); font-family: inherit; }
.a-body .acct-name { letter-spacing: -0.02em; }
.a-body .acct-card { border-radius: 18px; box-shadow: none; }
