/* shared: landing, account pages, in-client app */
:root {
  --bg: #0e0e12; --panel: #17171d; --line: #2a2a33; --fg: #f2f2f5; --muted: #9a9aa6;
  --yellow: #ffd60a; --red: #ff5d5d; --green: #4ade80; --radius: 16px;
  --display: 'Bricolage Grotesque', system-ui, sans-serif; --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.5 var(--display); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 .5em; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.tiny { font-size: .8rem; }
.ok { color: var(--green); }
.pill { font: 700 .7rem/1 var(--mono); letter-spacing: .1em; padding: .35em .6em; border-radius: 999px; background: var(--yellow); color: #111; }

.btn { display: inline-block; padding: .8em 1.4em; border-radius: 999px; background: var(--yellow); color: #111; font-weight: 700; text-decoration: none; border: 2px solid var(--yellow); cursor: pointer; font-family: inherit; font-size: 1rem; transition: transform .1s; }
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn.small { padding: .5em 1em; font-size: .85rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* account pages */
.page { display: flex; flex-direction: column; min-height: 100vh; padding: 0 16px; }
.bar { display: flex; justify-content: space-between; align-items: center; max-width: 720px; width: 100%; margin: 0 auto; padding: 20px 0; }
.bar nav a { color: var(--muted); text-decoration: none; }
.logo { font-weight: 800; text-decoration: none; font-size: 1.1rem; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; max-width: 720px; width: 100%; margin: 24px auto; }
.card h1 { font-size: 2rem; }
.kv { display: grid; grid-template-columns: 8em 1fr; gap: .5em 1em; margin: 1.5em 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 1.5em 0 1em; }
.foot { text-align: center; color: var(--muted); padding: 32px 0; margin-top: auto; }

/* in-client app (Zoom sidebar is ~360px wide) */
.inapp { padding: 12px; font-size: 14px; }
.apphead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.notice { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 12px; }
.stats div { background: var(--panel); border-radius: 10px; padding: 8px 6px; text-align: center; }
.stats small { display: block; color: var(--muted); font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; }
.stats b { font: 700 1rem var(--mono); }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: 1fr 60px 3.2em; grid-template-areas: "name time pct" "bar bar bar"; align-items: center; gap: 2px 8px; padding: 8px 10px; border-radius: 10px; margin-bottom: 4px; background: var(--panel); border: 1px solid transparent; }
.rows li.live { border-color: var(--yellow); }
.rows .name { grid-area: name; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rows li.live .name::before { content: '● '; color: var(--yellow); }
.rows .time { grid-area: time; font: 700 .95rem var(--mono); text-align: right; }
.rows .pct { grid-area: pct; color: var(--muted); font: .8rem var(--mono); text-align: right; }
.rows .bar { grid-area: bar; height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.rows .bar i { display: block; height: 100%; background: var(--yellow); }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 8px; }
