:root { color-scheme: light; --purple:#7052df; --purple-dark:#5439b9; --ink:#29233f; --muted:#716b82; --page:#f6f3ff; --border:#e7e0f7; }
* { box-sizing:border-box; }
body { margin:0; background:var(--page); color:var(--ink); font-family:Arial,sans-serif; }
header { padding:28px 18px 34px; color:white; background:linear-gradient(120deg,#7052df,#a58af5); border-radius:0 0 26px 26px; }
.header-inner,main { width:min(100% - 32px,680px); margin:0 auto; }
.brand { font-size:26px; font-weight:700; }
.tagline { margin:8px 0 0; color:white; }
main { padding:24px 0 40px; }
.intro { margin:0 0 6px; font-size:24px; }
.lead,.card p { color:var(--muted); font-size:14px; line-height:1.5; }
.lead { margin:0 0 18px; }
.grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.card { padding:18px; background:white; border:1px solid #f0ecf8; border-radius:18px; box-shadow:0 4px 18px rgb(50 32 91 / 7%); }
.emoji { font-size:30px; }
h2 { margin:8px 0; font-size:17px; }
.card p { min-height:42px; margin:0 0 14px; }
button { padding:11px 14px; color:white; background:var(--purple); border:0; border-radius:11px; font:inherit; font-weight:700; cursor:pointer; }
button:hover { background:var(--purple-dark); }
button:disabled { opacity:.6; cursor:wait; }
button:focus-visible,input:focus-visible { outline:3px solid #c5b7ff; outline-offset:3px; }
.friends-card { margin-top:14px; }
.friends-card p { min-height:0; }
form { display:flex; gap:8px; align-items:center; }
input { min-width:0; flex:1; padding:12px; border:1px solid #ddd5f4; border-radius:10px; font:inherit; }
#friends { margin:14px 0 0; padding-left:22px; color:var(--ink); overflow-wrap:anywhere; }
#friends:empty { display:none; }
.card #friends-state { margin:14px 0 0; }
#message { min-height:28px; margin:14px 0; color:var(--purple-dark); font-weight:700; }
.note { padding:14px; color:#625d70; background:white; border:1px solid var(--border); border-radius:14px; font-size:12px; line-height:1.5; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media(max-width:460px) { .grid { grid-template-columns:1fr; } .card p { min-height:0; } form { align-items:stretch; flex-direction:column; } form button { width:100%; } }
.install-card { margin-top: 14px; }
.install-card h2 { margin-top: 0; }
