/* My Arcade (/me): one column of cards on a phone, two on a wide screen. Shares games.css's look. */
.me { max-width: 980px; margin: 0 auto; padding: 0 16px 40px; display: grid; gap: 16px; }
.me .card { padding: 16px; min-width: 0; }
.me h2 { font-size: 22px; margin: 0 0 10px; }
.me-profile { display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-items: center; }
.me-face { width: 92px; height: 92px; min-height: 92px; padding: 0; border-radius: 50%; background: #0d0826; border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); display: grid; place-items: center; }
.me-face svg { width: 84px; height: 84px; }
.me-who { display: grid; gap: 6px; min-width: 0; }
.me-who label { font-weight: 700; }
.me-who input, .add-row input { width: 100%; box-sizing: border-box; min-height: 48px; font-size: 18px; padding: 8px 12px; border-radius: 14px; border: 3px solid var(--ink); background: #fff8ec; color: var(--ink); }
.me-acct { margin: 0; font-size: 14px; }
.me-pick { grid-column: 1 / -1; justify-self: start; }
.me-streak { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.me-streak h2 { margin-bottom: 4px; }
.me-streak p { margin: 0; }
.streak-num { width: 92px; height: 92px; border-radius: 24px; background: #ff7a3d; border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); display: grid; place-items: center; align-content: center; line-height: 1; }
.streak-num .flame { font-size: 28px; }
.streak-num b { font-size: 40px; color: #fff; text-shadow: 0 2px 0 var(--ink); }
.streak-num.cold { background: #3b2d6e; }
.daily-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.daily-row a { display: inline-flex; align-items: center; min-height: 40px; padding: 4px 12px; border-radius: 999px; border: 2px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rows li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #0d082666; border: 2px solid var(--line); min-width: 0; }
.rows .g { font-weight: 700; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rows .v { font-weight: 700; color: var(--accent); white-space: nowrap; }
.rows .u { color: var(--soft); font-size: 14px; }
.rows .when { color: var(--soft); font-size: 14px; white-space: nowrap; }
.rows .none { color: var(--soft); }
.rows a.g { color: var(--text); text-decoration: none; }
.empty { margin: 0; color: var(--soft); }
.code-box { display: grid; gap: 4px; justify-items: start; margin-bottom: 12px; }
.code-big { font-size: 34px; font-weight: 700; letter-spacing: .14em; color: var(--accent); }
.add-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 10px 0 4px; }
.add-row input { text-transform: uppercase; letter-spacing: .1em; }
.add-msg { min-height: 1.3em; margin: 4px 0 8px; font-weight: 600; }
.add-msg.bad { color: #ff9db5; }
.friend { display: grid; gap: 8px; padding: 12px; border-radius: 16px; background: #0d082666; border: 2px solid var(--line); }
.friend-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.friend-top .nm { font-weight: 700; font-size: 19px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.friend-top .st { white-space: nowrap; font-weight: 700; }
.vs { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 15px; }
.vs li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; }
.vs .them, .vs .you { min-width: 4.5em; text-align: right; font-weight: 700; }
.vs .win { color: var(--accent); }
.vs .head { color: var(--soft); font-size: 13px; }
.friend .rm { justify-self: end; }
.friend-list { display: grid; gap: 10px; margin-top: 12px; }
.faces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.faces button { min-height: 72px; padding: 4px; background: #0d0826; border: 3px solid var(--line); box-shadow: none; border-radius: 16px; display: grid; place-items: center; }
.faces button[aria-pressed="true"] { border-color: var(--accent); background: #3b2d6e; }
.faces svg { width: 60px; height: 60px; }
.me-note { font-size: 14px; margin: 0; }
@media (min-width: 820px) {
  .me { grid-template-columns: 1fr 1fr; align-items: start; }
  .me-profile, .me-streak, #friends, .me-note { grid-column: span 1; }
  #friends, .me-note { grid-column: 1 / -1; }
}
@media (max-width: 360px) { .me-face, .streak-num { width: 76px; height: 76px; min-height: 76px; } .me-face svg { width: 68px; height: 68px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Play with a friend and invite alerts (Doug, 6 Oct: invite a friend to a game, they get a notification). */
.play-with[hidden] { display: none; }
.play-open { width: 100%; min-height: 44px; }
.play-with { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.play-with .muted { flex: 1 0 100%; font-size: 14px; }
.play-with button { flex: 1 1 calc(50% - 6px); min-width: 0; min-height: 44px; margin: 0; }
.play-note { margin: 0; min-height: 1.2em; font-size: 14px; }
.play-note:empty { display: none; }
.alerts-box { display: grid; gap: 6px; margin: 4px 0 10px; }
.alerts-box .alerts-note { margin: 0; font-size: 14px; line-height: 1.35; }
