/* Game activity: member line, profile card block, Active Now, leaderboard, Settings › Activity. */
:root { --ga-game: var(--accent); --ga-app: #a78bfa; --ga-music: #2dd4bf; --ga-cinema: #f59e0b; --ga-voice: var(--ok); --ga-stream: #ec4899; }

.ga-gi { --s: 14px; position: relative; display: inline-grid; place-items: center; flex: none; width: var(--s); height: var(--s); overflow: hidden; border-radius: 24%; background: linear-gradient(140deg, var(--c), color-mix(in srgb, var(--c) 45%, #000)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: #fff; font-size: calc(var(--s) * .38); font-weight: 700; line-height: 1; letter-spacing: -.02em; text-transform: none; }
.ga-gi.has-img { background: var(--panel-3); }
.ga-gi img { width: 100%; height: 100%; object-fit: cover; }
.ga-dot { display: inline-block; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); }
.ga-muted { color: var(--ink-4); font-size: 12.5px; }
.ga-pad { padding: 10px 2px 12px; }
.ga-link { padding: 0; border: 0; background: none; color: var(--accent); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.ga-link:hover { text-decoration: underline; }
.ga-private { padding: 12px; border: 1px dashed var(--line-3); border-radius: var(--r); color: var(--ink-3); font-size: 12.5px; text-align: center; }
.ga-x { width: 32px; height: 32px; display: grid; place-items: center; flex: none; border: 0; border-radius: 8px; background: none; color: var(--ink-3); cursor: pointer; }
.ga-x:hover { background: var(--panel-3); color: var(--ink); }

/* member list */
.ga-line { display: flex; align-items: center; gap: 5px; min-width: 0; }
.ga-line__t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ga-line__t b { color: var(--ink-2); font-weight: 600; }
.ga-memopts { display: flex; padding: 10px 8px 0; }
.ga-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--panel); color: var(--ink-3); font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.ga-chip svg { width: 15px; height: 15px; }
.ga-chip:hover { color: var(--ink); border-color: var(--line-3); }
.ga-chip.is-on { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.ga-chip:focus-visible, .ga-seg button:focus-visible, .ga-switch:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ga-inline { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; vertical-align: bottom; }
.ga-inline b { color: var(--ink-2); font-weight: 600; overflow: hidden; text-overflow: ellipsis; }

/* profile card */
.pop.pop--card { max-height: calc(100dvh - 16px); overflow-y: auto; }
.ga-pc { display: grid; gap: 8px; margin-top: 12px; }
.ga-pc:empty { display: none; }
.ga-pc > .ga-more { justify-self: end; }
.ga-live { display: flex; align-items: center; gap: 9px; padding: 7px; border-radius: var(--r-md); background: var(--panel-2); }
.ga-live__th { position: relative; flex: none; display: grid; place-items: center; width: 72px; height: 40px; border-radius: 6px; background: color-mix(in srgb, var(--tc) 22%, var(--panel-3)); color: var(--tc); }
.ga-live__th svg { width: 18px; height: 18px; }
.ga-live__th b { position: absolute; left: 4px; top: 4px; padding: 1px 4px; border-radius: 3px; background: var(--bad); color: #fff; font-size: 8px; font-weight: 700; letter-spacing: .3px; }
.ga-live__t { flex: 1; display: grid; min-width: 0; }
.ga-live__t b { font-size: 12px; font-weight: 600; }
.ga-live__t small { overflow: hidden; color: var(--ink-3); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.ga-aline { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 7px 9px; }
.ga-aline + .ga-aline { border-top: 1px solid var(--line-2); }
.ga-aline > :first-child { flex: none; }
.ga-aline > b { flex: 1; min-width: 0; overflow: hidden; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.ga-aline__tm { flex: none; color: var(--ink-3); font-size: 11px; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-variant-numeric: tabular-nums; }
.ga-aline.is-paused .ga-aline__tm { color: var(--idle); }
.ga-aline .ga-pos { display: inline; margin: 0; }
.ga-pc .ga-pc__lb { margin: 0; }
.ga-panel { overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--panel-2); }
.ga-arow { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; }
.ga-arow + .ga-arow { border-top: 1px solid var(--line-2); }
.ga-arow__t { display: grid; gap: 1px; min-width: 0; }
.ga-arow__t b { overflow: hidden; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.ga-arow__me { display: flex; align-items: center; gap: 5px; min-width: 0; overflow: hidden; color: var(--ink-3); font-size: 11.5px; white-space: nowrap; }
.ga-arow__me .ga-el, .ga-pos { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-variant-numeric: tabular-nums; }
.ga-arow__place { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ga-arow .ga-pos { display: inline; margin: 0; }
.ga-pos .ga-prog__t { color: inherit; font-size: inherit; }
.ga-verb { flex: none; color: var(--tc); font-weight: 600; }
.ga-paused { color: var(--idle); }
.ga-arow__act { display: flex; align-items: center; gap: 8px; }
.ga-arow .ga-arow__prog { position: absolute; left: 12px; right: 12px; bottom: 0; margin: 0; }
.ga-arow__prog .ga-prog__bar { height: 2px; border-radius: 0; }
.ga-mbtn { flex: none; height: 26px; padding: 0 10px; border: 0; border-radius: 7px; background: var(--tc, var(--accent)); color: #fff; font-size: 11.5px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.ga-mbtn:hover { filter: brightness(1.1); }
.ga-mbtn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ga-faces .av { width: 18px; height: 18px; margin-left: -5px; font-size: 8px; box-shadow: 0 0 0 2px var(--panel-2); }
.ga-more { display: inline-flex; align-items: center; gap: 2px; margin-left: auto; padding: 0; border: 0; background: none; color: var(--ink-3); font-size: 12px; font-weight: 600; cursor: pointer; }
.ga-more svg { width: 13px; height: 13px; }
.ga-more:hover { color: var(--ink); }
.ga-sect { display: grid; gap: 8px; }
.ga-with { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--ink-3); font-size: 12.5px; }
.ga-with b { color: var(--ink-2); }
.ga-stack { display: inline-flex; flex: none; }
.ga-stack .av { width: 22px; height: 22px; font-size: 10px; margin-left: -6px; box-shadow: 0 0 0 2px var(--panel-2); }
.ga-stack .av:first-child { margin-left: 0; }
.ga-an-card > .btn { justify-self: start; }

/* activity modal: current and recent activity cards */
.pm-modal.ga-gm { width: min(720px, calc(100vw - 32px)); }
.ga-acts { display: grid; gap: 18px; padding: 4px 0 6px; }
.ga-acts .pc__lb { margin: 0 0 2px; }
.ga-rc { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px; overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--panel-2); isolation: isolate; }
.ga-rc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 140% at 0% 50%, color-mix(in srgb, var(--glow, var(--tc)) 30%, transparent), transparent 60%); pointer-events: none; }
.ga-rc__meta { display: grid; gap: 3px; min-width: 0; }
.ga-rc__kind { display: flex; align-items: center; gap: 6px; color: var(--tc); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ga-rc__kind svg { width: 12px; height: 12px; flex: none; }
.ga-rc__ti { overflow: hidden; font-size: 17px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.ga-rc__sub { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; color: var(--ink-3); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.ga-rc .ga-prog { margin-top: 4px; }
.ga-rc .ga-with { margin-top: 4px; }
.ga-rc__side { display: grid; justify-items: end; align-content: space-between; align-self: stretch; gap: 8px; }
.ga-rc__side .btn { height: 30px; }
.ga-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border: 1px solid var(--line-2); border-radius: 999px; background: color-mix(in srgb, var(--bg) 55%, transparent); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ga-pill.is-paused .ga-dot { background: var(--idle); box-shadow: 0 0 0 3px color-mix(in srgb, var(--idle) 25%, transparent); }
.ga-here { color: var(--ok); font-size: 12px; font-weight: 600; white-space: nowrap; }
@media (max-width: 560px) {
  .ga-rc { grid-template-columns: auto minmax(0, 1fr); }
  .ga-rc__side { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; justify-items: start; align-items: center; }
}
.ga-store { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: var(--r-sm); background: var(--panel-3); color: var(--ink); font-size: 12.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.ga-store:hover { background: color-mix(in srgb, var(--panel-3) 80%, var(--ink)); }
.ga-store svg { width: 14px; height: 14px; color: var(--ink-2); }
.ga-store-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px; }
.ga-store__more summary { display: grid; place-items: center; width: 30px; height: 30px; border-radius: var(--r-sm); color: var(--ink-3); cursor: pointer; list-style: none; }
.ga-store__more summary::-webkit-details-marker { display: none; }
.ga-store__more summary:hover, .ga-store__more[open] summary { background: var(--panel-3); color: var(--ink); }
.ga-store__more summary svg { width: 16px; height: 16px; }
.ga-store__list { display: grid; gap: 4px; margin-top: 4px; }

/* friends: Active Now */
.dm-split { flex: 1; min-height: 0; display: flex; }
.dm-split > .dm-body { min-width: 0; }
.ga-an { width: 340px; flex: none; display: grid; gap: 10px; align-content: start; overflow-y: auto; padding: 18px 16px; border-left: 1px solid var(--line); }
.ga-an__lb { color: var(--ink); font-size: 15px; font-weight: 700; }
.ga-an__empty { padding: 18px 12px; border-radius: var(--r-md); text-align: center; }
.ga-an__empty b { display: block; font-size: 14px; }
.ga-an__empty p { margin-top: 4px; color: var(--ink-3); font-size: 12.5px; }
.ga-an-card { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--bg-2); }
.ga-an-card.is-click { cursor: pointer; }
.ga-an-card.is-click:hover { border-color: var(--line-3); }
.ga-an-card__hd { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ga-an-card__hd .ga-stack .av { width: 30px; height: 30px; font-size: 12px; box-shadow: 0 0 0 2px var(--bg-2); }
.ga-an-card__t { display: grid; min-width: 0; }
.ga-an-card__t b { overflow: hidden; font-size: 13.5px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.ga-an-card__t small { color: var(--ink-4); font-size: 12px; }
.ga-an-game { display: flex; align-items: center; gap: 10px; padding: 9px; border-radius: 9px; background: var(--panel-2); }
.ga-an-game__t { display: grid; flex: 1; min-width: 0; }
.ga-an-game__t b { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.ga-an-game__t small { color: var(--ink-4); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.ga-an-game.is-paused small { color: var(--idle); }
@media (max-width: 1100px) {
  .dm-split { flex-direction: column; }
  .ga-an { order: -1; width: auto; max-height: 45%; padding: 12px 14px; border-left: 0; border-bottom: 1px solid var(--line); grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .ga-an__lb { grid-column: 1 / -1; }
  .ga-an.is-empty { display: none; }
}

/* friend started playing */
.ga-notify { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 85; display: flex; align-items: center; gap: 10px; width: min(380px, calc(100vw - 32px)); padding: 12px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--panel); box-shadow: var(--shadow); animation: pop .16s cubic-bezier(.3, 1.3, .5, 1); }
.ga-notify__t { flex: 1; min-width: 0; font-size: 13px; }
.ga-notify__t small { display: block; color: var(--ink-4); font-size: 12px; }
.ga-notify .btn { height: 32px; padding: 0 12px; }
.ga-notify__x { width: 26px; height: 26px; display: grid; place-items: center; flex: none; padding: 0; border: 0; border-radius: 7px; background: none; color: var(--ink-4); cursor: pointer; }
.ga-notify__x:hover { background: var(--panel-3); color: var(--ink); }
.ga-notify__x svg { width: 16px; height: 16px; }
@media (max-width: 820px) { .ga-notify { right: 16px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); } }

/* controls */
.ga-seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--bg-2); }
.ga-seg button { height: 28px; padding: 0 11px; border: 0; border-radius: 7px; background: none; color: var(--ink-3); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.ga-seg button:hover { color: var(--ink); }
.ga-seg button.is-on { background: var(--accent); color: var(--accent-ink); }
.ga-switch { position: relative; width: 38px; height: 22px; flex: none; padding: 0; border: 0; border-radius: 11px; background: var(--line-3); cursor: pointer; transition: background .2s; }
.ga-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.ga-switch.is-on { background: var(--accent); }
.ga-switch.is-on::after { transform: translateX(16px); }
.ga-switch:disabled { opacity: .55; cursor: default; }

/* leaderboard */
.pm-modal.ga-lbm { width: min(760px, calc(100vw - 32px)); }
.pm-modal.ga-lbm .pm-modal__bd { padding: 18px 20px 20px; }
.ga-lbx { display: grid; gap: 14px; }
.ga-lbx__head { display: flex; align-items: center; gap: 12px; }
.ga-lbx__icon { width: 38px; height: 38px; display: grid; place-items: center; flex: none; border-radius: 11px; background: color-mix(in srgb, #e7b53d 18%, transparent); color: #e7b53d; }
.ga-lbx__title { flex: 1; min-width: 0; }
.pm-modal .ga-lbx__title h2 { margin: 0; font-size: 17px; }
.ga-lbx__title small { color: var(--ink-4); font-size: 12.5px; }
.ga-lbx__opts { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.ga-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ga-board { display: grid; gap: 4px; transition: opacity .15s; }
.ga-board.is-busy { opacity: .55; }
.ga-board__row { display: grid; grid-template-columns: 28px 32px minmax(90px, 170px) minmax(0, 1fr) 64px; gap: 12px; align-items: center; padding: 8px 10px; border-radius: var(--r); }
.ga-board__row:nth-child(odd) { background: var(--panel-2); }
.ga-board__row .av { width: 32px; height: 32px; font-size: 13px; }
.ga-board__rk { color: var(--ink-4); font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.ga-board__row.is-top1 .ga-board__rk { color: #e7b53d; }
.ga-board__row.is-top2 .ga-board__rk { color: #b9c0cc; }
.ga-board__row.is-top3 .ga-board__rk { color: #c98a54; }
.ga-board__nm { min-width: 0; }
.ga-board__nm b { display: block; overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.ga-board__nm small { display: block; overflow: hidden; color: var(--ink-4); font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
.ga-stackbar { display: flex; min-width: 4px; height: 10px; overflow: hidden; border-radius: 5px; background: var(--panel-3); }
.ga-stackbar i { display: block; height: 100%; background: var(--c); }
.ga-board__h { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.ga-legend { display: flex; flex-wrap: wrap; gap: 12px; color: var(--ink-3); font-size: 12px; }
.ga-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ga-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.pm-modal .ga-foot { margin: 0; color: var(--ink-4); font-size: 12px; }
@media (max-width: 560px) {
  .ga-board__row { grid-template-columns: 22px 28px minmax(0, 1fr) 56px; }
  .ga-board__row .av { width: 28px; height: 28px; }
  .ga-stackbar { grid-column: 2 / -1; grid-row: 2; }
}

/* settings */
.ga-set { display: grid; gap: 16px; max-width: 760px; }
.ga-preview { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel-2); color: var(--ink-3); font-size: 12.5px; }
.ga-preview b { color: var(--ink); }
.ga-preview > svg { width: 18px; height: 18px; color: var(--ink-4); }
.ga-card { padding: 2px 14px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--bg-2); }
.ga-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ga-row:last-child { border-bottom: 0; }
.ga-row--card { padding: 10px 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel-2); }
.ga-row__t { flex: 1 1 240px; min-width: 0; }
.ga-row__t b { display: block; font-size: 13.5px; font-weight: 600; }
.ga-row__t span { color: var(--ink-4); font-size: 12px; }
.ga-pick { flex: 1 1 100%; display: grid; gap: 8px; }
.ga-pick > small { color: var(--ink-4); font-size: 12px; }
.ga-pick__q { height: 34px; }
.ga-pick__list { display: grid; gap: 2px; max-height: 260px; overflow-y: auto; padding: 4px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel); }
.ga-pick__row { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border: 0; border-radius: 8px; background: none; text-align: left; cursor: pointer; }
.ga-pick__row:hover { background: var(--panel-2); }
.ga-pick__nm { flex: 1; min-width: 0; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.ga-check { width: 18px; height: 18px; display: grid; place-items: center; flex: none; border: 2px solid var(--line-3); border-radius: 5px; }
.ga-check svg { width: 13px; height: 13px; stroke-width: 3; }
.ga-pick__row.is-on .ga-check { border-color: var(--accent); background: var(--accent); color: #fff; }
.ga-pick__list .ga-muted { padding: 8px; }
.ga-games { display: grid; }
.ga-games__row { display: grid; grid-template-columns: 34px minmax(0, 1fr) 70px 38px; gap: 12px; align-items: center; padding: 8px 2px; border-top: 1px solid var(--line); }
.ga-games__t { min-width: 0; }
.ga-games__t b { display: flex; align-items: center; gap: 8px; overflow: hidden; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.ga-games__t span { display: block; overflow: hidden; color: var(--ink-4); font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
.ga-games__h { color: var(--ink-3); font-size: 12.5px; font-variant-numeric: tabular-nums; text-align: right; }
.ga-games__row.is-hidden .ga-gi, .ga-games__row.is-hidden .ga-games__t b { opacity: .45; }
.ga-games__row { grid-template-columns: 34px minmax(0, 1fr) 70px 38px 28px; }
.ga-games__t b .ga-games__nm { display: inline; overflow: hidden; color: inherit; font-size: inherit; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ga-tag { flex: none; padding: 1px 6px; border-radius: 4px; background: var(--accent-soft); color: var(--accent); font-size: 10px; font-style: normal; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.ga-games__more { width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 6px; background: none; color: var(--ink-3); cursor: pointer; }
.ga-games__more:hover, .ga-games__more.is-open { background: var(--panel-2); color: var(--ink); }
.ga-games__more svg { width: 16px; height: 16px; }
.ga-removed { display: grid; border-top: 1px solid var(--line); }
.ga-removed__toggle { display: flex; align-items: center; gap: 6px; padding: 10px 2px; border: 0; background: none; color: var(--ink-3); font-size: 12.5px; font-weight: 600; cursor: pointer; text-align: left; }
.ga-removed__toggle:hover { color: var(--ink); }
.ga-removed__toggle svg { width: 14px; height: 14px; transition: transform .15s; }
.ga-removed__toggle.is-open svg { transform: rotate(90deg); }
.ga-games__row.ga-removed__row { grid-template-columns: 34px minmax(0, 1fr) 70px auto; }
.ga-removed__row .ga-gi, .ga-removed__row .ga-games__t b { opacity: .55; }
.ga-btn-bad { background: var(--bad); }
.ga-btn-bad:hover { background: var(--bad); filter: brightness(1.1); box-shadow: none; }

/* cinema, voice and screen share activities */
.ga-gi.ga-gi--glyph { background: color-mix(in srgb, var(--c) 16%, transparent); box-shadow: none; color: var(--c); }
.ga-gi--glyph svg { width: 48%; height: 48%; }
.ga-lg { display: inline-grid; place-items: center; flex: none; width: 14px; height: 14px; color: var(--ink-3); }
.ga-lg svg { width: 14px; height: 14px; }
.ga-poster { --w: 40px; position: relative; display: inline-grid; place-items: center; flex: none; width: var(--w); aspect-ratio: 2 / 3; overflow: hidden; border-radius: 6px; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 55%, var(--panel-3)), var(--panel-3)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: #fff; }
.ga-poster img { width: 100%; height: 100%; object-fit: cover; }
.ga-poster svg { width: 50%; height: 50%; opacity: .85; }
.ga-prog { display: flex; align-items: center; gap: 8px; min-width: 0; margin-top: 3px; }
.ga-prog__bar { position: relative; flex: 1; min-width: 40px; height: 4px; overflow: hidden; border-radius: 2px; background: var(--line-3); }
.ga-prog__bar i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--ga-cinema); transition: width 1s linear; }
.ga-prog.is-paused .ga-prog__bar i { background: var(--idle); }
.ga-prog__t { flex: none; color: var(--ink-3); font-size: 11px; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-variant-numeric: tabular-nums; }
.ga-an-acts { display: grid; gap: 6px; }
.ga-an-game .ga-an-join { flex: none; height: 28px; padding: 0 10px; }
.ga-an-game .ga-an-join svg { width: 14px; height: 14px; }
.ga-an-game .ga-prog { margin-top: 4px; }
.ga-lbx__types { margin-top: -2px; }
.ga-row--type { flex-wrap: nowrap; }
.ga-row--type .ga-row__t { flex-basis: auto; }
.ga-card.is-off .ga-row--type { opacity: .55; }

/* activity view: current activity */
.ga-pc__hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ga-cover { --s: 36px; display: inline-grid; place-items: center; flex: none; width: var(--s); height: var(--s); overflow: hidden; border-radius: 16%; background: linear-gradient(140deg, color-mix(in srgb, var(--ga-music) 55%, var(--panel-3)), var(--panel-3)); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); color: rgba(255, 255, 255, .85); }
.ga-cover img { width: 100%; height: 100%; object-fit: cover; }
.ga-cover svg { width: 46%; height: 46%; }
.ga-only { display: inline-flex; flex: none; align-items: center; gap: 4px; padding: 1px 6px; border-radius: 5px; background: var(--panel-3); color: var(--ink-3); font-size: 10.5px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.ga-only svg { width: 11px; height: 11px; }
.ga-rc__ti { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ga-rc__ti > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ga-rc--play .ga-poster { box-shadow: 0 8px 22px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.ga-rc--play .ga-rc__kind { color: var(--ga-game); }
.ga-rc--play.is-app .ga-rc__kind { color: var(--ga-app); }
.ga-rc--play .ga-gi { border-radius: 18px; }
.ga-dart { position: relative; display: inline-grid; flex: none; }
.ga-dbadge { position: absolute; right: -6px; bottom: -6px; width: 28px; height: 28px; object-fit: cover; border: 3px solid var(--panel-2); border-radius: 7px; background: var(--panel-3); box-sizing: border-box; }
.ga-dicon { width: 14px; height: 14px; margin-right: 4px; object-fit: cover; border-radius: 4px; vertical-align: -3px; }
.ga-nodet { color: var(--ink-4); font-size: 11.5px; }
.ga-score { display: inline-flex; align-items: center; gap: 8px; justify-self: start; margin-top: 6px; padding: 4px 10px; border: 1px solid var(--line-3); border-radius: 9px; background: color-mix(in srgb, var(--bg) 55%, transparent); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 13px; font-variant-numeric: tabular-nums; }
.ga-score b { font-size: 16px; }
.ga-score i { font-style: normal; color: var(--ink-4); }
.ga-score__l, .ga-score__r { font-family: var(--font); font-size: 11px; font-weight: 700; }
.ga-score__l { color: #6fb0ff; }
.ga-score__r { color: #f0b232; }
.ga-score__rd { padding-left: 8px; border-left: 1px solid var(--line-3); color: var(--ink-4); font-size: 11px; white-space: nowrap; }
.ga-score__rd:first-child { padding-left: 0; border-left: 0; }
.ga-gst { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ga-gst span { padding: 2px 7px; border: 1px solid var(--line-2); border-radius: 6px; background: color-mix(in srgb, var(--bg) 40%, transparent); color: var(--ink-3); font-size: 11px; white-space: nowrap; }
.ga-gst b { margin-left: 4px; color: var(--ink); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-weight: 600; }
.ga-rc--music .ga-rc__kind { gap: 8px; }
.ga-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; }
.ga-eq b { width: 2px; height: 3px; border-radius: 1px; background: var(--ga-music); animation: ga-eq 1s ease-in-out infinite; }
.ga-eq b:nth-child(2) { animation-delay: -.3s; }
.ga-eq b:nth-child(3) { animation-delay: -.6s; }
@keyframes ga-eq { 0%, 100% { height: 3px; } 50% { height: 10px; } }
.ga-rc--music .ga-paused { font-size: 10.5px; letter-spacing: .04em; }
.ga-prog--split { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; margin-top: 4px; color: var(--ink-4); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 11px; font-variant-numeric: tabular-nums; }
.ga-prog--music .ga-prog__bar i { background: var(--ga-music); }
.ga-spb { display: inline-flex; flex: none; align-items: center; gap: 7px; padding: 7px 13px 7px 9px; border-radius: 999px; background: #1db954; color: #04120a; font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.ga-spb:hover { background: #22d363; }
.ga-spb svg { width: 16px; height: 16px; }
.ga-spb.is-ghost { background: rgba(29, 185, 84, .14); color: #5fe08f; }
.ga-spb.is-ghost:hover { background: rgba(29, 185, 84, .24); }
.ga-spb:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ga-hide { position: absolute; width: 0; height: 0; border: 0; visibility: hidden; }
@media (max-width: 560px) {
  .ga-rc--music .ga-spb { grid-column: 1 / -1; justify-self: start; }
}

/* activity view: history */
.ga-hist { gap: 12px; }
.ga-hchips { display: flex; flex-wrap: wrap; gap: 6px; }
.ga-hchip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border: 1px solid var(--line-3); border-radius: 999px; background: none; color: var(--ink-3); font-size: 12px; white-space: nowrap; cursor: pointer; }
.ga-hchip i { width: 7px; height: 7px; border-radius: 50%; background: var(--tc); }
.ga-hchip em { color: var(--ink-4); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 11px; font-style: normal; }
.ga-hchip:hover { color: var(--ink); }
.ga-hchip[aria-pressed="true"] { border-color: color-mix(in srgb, var(--tc) 70%, transparent); background: color-mix(in srgb, var(--tc) 16%, transparent); color: var(--ink); }
.ga-hchip[aria-pressed="true"] em { color: var(--ink-2); }
.ga-hbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ga-search { display: flex; flex: 1 1 160px; align-items: center; gap: 8px; min-width: 0; height: 32px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--panel-2); }
.ga-search:focus-within { border-color: var(--accent); }
.ga-search svg { width: 14px; height: 14px; flex: none; color: var(--ink-4); }
.ga-search input { flex: 1; min-width: 0; border: 0; outline: none; background: none; color: var(--ink); font: inherit; font-size: 13px; }
.ga-search input::placeholder { color: var(--ink-4); }
.ga-dd { position: relative; }
.ga-ddb { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--panel-2); color: var(--ink-2); font-size: 12.5px; white-space: nowrap; cursor: pointer; }
.ga-ddb em { color: var(--ink-4); font-style: normal; }
.ga-ddb svg { width: 12px; height: 12px; color: var(--ink-4); }
.ga-ddm { position: absolute; top: calc(100% + 6px); right: 0; z-index: 5; display: grid; min-width: 210px; padding: 5px; border: 1px solid var(--line-3); border-radius: 11px; background: var(--panel-3); box-shadow: var(--shadow); }
.ga-ddm button { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 2px 8px; align-items: center; padding: 7px 9px; border: 0; border-radius: 7px; background: none; color: var(--ink); font-size: 13px; text-align: left; cursor: pointer; }
.ga-ddm button:hover { background: var(--panel-2); }
.ga-ddm small { grid-column: 2; color: var(--ink-4); font-size: 11.5px; }
.ga-ddm__ck { display: grid; place-items: center; color: var(--accent); }
.ga-ddm__ck svg { width: 13px; height: 13px; stroke-width: 3; }
.ga-vs { display: inline-flex; height: 32px; padding: 2px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--panel-2); }
.ga-vs button { display: grid; place-items: center; width: 30px; border: 0; border-radius: 7px; background: none; color: var(--ink-4); cursor: pointer; }
.ga-vs button svg { width: 14px; height: 14px; }
.ga-vs button[aria-pressed="true"] { background: var(--line-3); color: var(--ink); }
.ga-hchip:focus-visible, .ga-ddb:focus-visible, .ga-ddm button:focus-visible, .ga-vs button:focus-visible, .ga-hi__btn:focus-visible, .ga-eye:focus-visible, .ga-sb:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ga-hsum { color: var(--ink-4); font-size: 12px; }
.ga-hsum b { color: var(--ink-2); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-weight: 600; }
.ga-hlist { display: grid; gap: 6px; transition: opacity .15s; }
.ga-hlist.is-busy { opacity: .55; }
.ga-hempty { padding: 26px; color: var(--ink-4); text-align: center; }
.ga-hi { border: 1px solid transparent; border-radius: var(--r-md); background: var(--panel-2); }
.ga-hi:hover, .ga-hi.is-open { border-color: var(--line-2); }
.ga-hi__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.ga-hi__btn { display: flex; align-items: center; gap: 14px; width: 100%; min-width: 0; padding: 10px 14px 10px 12px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.ga-hi__rk { flex: none; width: 16px; margin-right: -6px; color: var(--ink-4); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 12px; text-align: center; }
.ga-hi__rk.is-top { color: var(--ink); font-weight: 600; }
.ga-hi__art { display: grid; place-items: center; flex: none; width: 58px; }
.ga-hi.is-hid .ga-hi__art { filter: saturate(.25) brightness(.7); }
.ga-hi__t { display: grid; flex: 1; gap: 3px; min-width: 0; }
.ga-hi__ti { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 14px; font-weight: 600; }
.ga-hi__ti > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ga-hi__ti.is-lock, .ga-gt b.is-lock { color: var(--ink-4); }
.ga-hi__su { overflow: hidden; color: var(--ink-4); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.ga-ty { color: var(--tc); }
.ga-hi__rt { display: grid; flex: none; justify-items: end; gap: 3px; }
.ga-hi__rt b { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 13px; font-weight: 600; }
.ga-hi__rt small { color: var(--ink-4); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 11px; }
.ga-eye { display: grid; place-items: center; width: 30px; height: 30px; margin-right: 10px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--ink-4); opacity: 0; cursor: pointer; transition: opacity .12s, background .12s, color .12s; }
.ga-eye svg { width: 16px; height: 16px; }
.ga-hi:hover .ga-eye, .ga-gt:hover .ga-eye, .ga-eye:focus-visible, .ga-eye.is-on { opacity: 1; }
.ga-eye:hover, .ga-eye.is-on { background: var(--panel-3); color: var(--ink); }
.ga-eye.is-off { cursor: not-allowed; }
.ga-hi:hover .ga-eye.is-off, .ga-gt:hover .ga-eye.is-off { opacity: .4; }
.ga-eye.is-off:hover { background: none; color: var(--ink-4); }
@media (hover: none) { .ga-eye { opacity: 1; } .ga-eye.is-off { opacity: .4; } }
.ga-hd { display: grid; gap: 10px; padding: 0 14px 14px; }
.ga-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ga-facts div { display: grid; min-width: 0; padding: 7px 10px; border-radius: 9px; background: var(--panel-3); }
.ga-facts span { color: var(--ink-4); font-size: 10.5px; }
.ga-facts b { overflow: hidden; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.ga-mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-variant-numeric: tabular-nums; }
.ga-30 { padding: 8px 10px 6px; border-radius: 9px; background: var(--panel-3); }
.ga-30__hd { display: flex; justify-content: space-between; margin-bottom: 6px; color: var(--ink-4); font-size: 11px; }
.ga-30__bars { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 2px; align-items: end; height: 42px; }
.ga-30__bars i { display: block; min-height: 2px; border-radius: 2px 2px 0 0; background: var(--tc); }
.ga-30__bars i.is-zero { background: var(--line-3); }
.ga-hd__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.ga-hgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 14px 12px; }
.ga-gt { position: relative; display: grid; align-content: start; gap: 6px; min-width: 0; }
.ga-gt__pic { position: relative; display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: linear-gradient(150deg, color-mix(in srgb, var(--tc) 45%, var(--panel-3)), var(--panel-3)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .85); }
.ga-gt__pic.is-tall { aspect-ratio: 2 / 3; }
.ga-gt:hover .ga-gt__pic { box-shadow: inset 0 0 0 2px var(--tc); }
.ga-gt__pic > img { width: 100%; height: 100%; object-fit: cover; }
.ga-gt.is-hid .ga-gt__pic > img, .ga-gt.is-hid .ga-gt__ph { filter: saturate(.25) brightness(.65); }
.ga-gt__ph { display: grid; place-items: center; }
.ga-gt__ph > svg { width: 30px; height: 30px; }
.ga-gt__rk { position: absolute; top: 6px; left: 6px; padding: 1px 6px; border-radius: 6px; background: rgba(0, 0, 0, .6); color: #fff; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 10.5px; font-weight: 600; }
.ga-gt__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--tc); }
.ga-gt b { overflow: hidden; font-size: 12.5px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.ga-gt small { overflow: hidden; color: var(--ink-4); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.ga-eye.ga-eye--tile { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; margin: 0; background: rgba(0, 0, 0, .62); color: #fff; }
.ga-eye--tile svg { width: 14px; height: 14px; }
.ga-eye--tile.is-on { background: rgba(0, 0, 0, .8); }
.ga-gt:hover .ga-eye--tile.is-off, .ga-eye--tile.is-off { opacity: .55; }
.ga-hmore { display: grid; justify-items: center; gap: 6px; padding-top: 6px; color: var(--ink-4); font-size: 11.5px; }
.ga-hmore:empty { display: none; }
.ga-sb { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border: 0; border-radius: 8px; background: var(--panel-3); color: var(--ink); font-size: 12px; font-weight: 600; cursor: pointer; }
.ga-sb:hover { background: var(--line-3); }
.ga-sb:disabled { opacity: .6; cursor: default; }
.ga-priv { display: grid; justify-items: center; gap: 6px; padding: 34px 20px; border: 1px dashed var(--line-3); border-radius: var(--r-md); color: var(--ink-4); text-align: center; }
.ga-priv svg { width: 28px; height: 28px; }
.ga-priv b { color: var(--ink-2); font-size: 15px; }
.ga-undo { position: fixed; left: 50%; bottom: 24px; z-index: 95; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px); padding: 8px 8px 8px 14px; border: 1px solid var(--line-3); border-radius: 10px; background: var(--panel-3); box-shadow: var(--shadow); font-size: 13px; transform: translateX(-50%); }
.ga-undo > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ga-undo svg { width: 15px; height: 15px; flex: none; color: var(--ink-3); }
.ga-undo button { flex: none; padding: 4px 10px; border: 0; border-radius: 7px; background: var(--line-3); color: var(--ink); font-size: 12px; font-weight: 600; cursor: pointer; }
.ga-hidden__row { grid-template-columns: 34px minmax(0, 1fr) auto; }
.ga-hist [hidden], .ga-cur[hidden] { display: none; }
@media (max-width: 560px) {
  .ga-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ga-hi__btn { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .ga-switch, .ga-switch::after, .ga-board, .ga-notify, .ga-prog__bar i, .ga-hlist, .ga-eye { transition: none; animation: none; }
  .ga-eq b { height: 6px; animation: none; }
}
