/* ============ multiplayer screens ============ */
/* welcome */
#welcome { justify-content: center; overflow-y: auto; touch-action: pan-y; }
.welcome { width: min(100%, 400px); margin: auto; padding: 16px 0; }
.brand.small { text-align: center; margin-bottom: 26px; }
.brand.small .wordmark span { font-size: clamp(44px, 13vw, 64px); }
.brand.small .subbrand { font-size: 13px; margin-top: 10px; }
.brand.small .brand-orbs .orb { width: 22px; height: 22px; }
.join { padding: 22px 18px 14px; display: grid; gap: 12px; text-align: center; background: rgba(30,18,64,.55); border-color: var(--stroke-2); }
.join h2 { font-family: var(--display); font-weight: 800; font-size: 22px; }
.join > p { margin: -4px 0 4px; font-size: 14px; font-weight: 600; }
.field { display: grid; gap: 6px; text-align: left; }
.field span { font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--text-3); padding-left: 4px; }
.field input, .inline-form input { height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--stroke-2); background: rgba(0,0,0,.25);
  font-size: 17px; font-weight: 700; outline: none; transition: border-color .2s, box-shadow .2s; -webkit-user-select: text; user-select: text; }
.field input:focus, .inline-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(255,194,61,.15); }
.form-error { margin: 0; color: var(--miss); font-size: 13.5px; font-weight: 700; }
.join .btn { margin-top: 4px; }

.home-player { margin: 4px 0 0; font-size: 13px; font-weight: 700; color: var(--text-2); }
.home-player b { color: var(--gold); }

/* beatmap being prepared on the server */
.prep-tag { font-size: 10px; font-weight: 800; letter-spacing: .6px; color: #d9ccff; background: rgba(169,139,255,.18); border: 1px solid rgba(169,139,255,.35); border-radius: 6px; padding: 0 6px; animation: prep 1.4s ease-in-out infinite alternate; }
.prep-tag.failed { color: #ffb3c0; background: rgba(255,77,106,.15); border-color: rgba(255,77,106,.4); animation: none; }
@keyframes prep { to { opacity: .55; } }
.cta:disabled { filter: grayscale(.7) brightness(.8); box-shadow: none; }
.cta:disabled::after { display: none; }

/* swipe to delete */
.song-item { position: relative; margin: 0 -10px 4px; border-radius: var(--r-md); overflow: hidden; animation: rise .4s var(--ease) both; --reveal: 0; }
.song-item > .song { margin: 0; position: relative; z-index: 1; touch-action: pan-y; animation: none; transition: transform .28s var(--spring), background .2s; }
.song-item.swiping > .song { transition: none; }
.song-item.swiping > .song, .song-item.open > .song { background: #150c34; }
.song-del { position: absolute; top: 0; right: 0; bottom: 0; width: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: linear-gradient(135deg, #ff5a7a, #d81b48); color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .3px;
  opacity: var(--reveal); pointer-events: none; }
.song-item.open .song-del { pointer-events: auto; }
.song-del svg { width: 22px; height: 22px; transform: scale(calc(.7 + var(--reveal) * .3)); }

/* confirm dialog */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3,2,12,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fadein .2s; }
.modal-card { position: relative; width: min(100%, 340px); padding: 24px 20px 18px; text-align: center; background: rgba(34,20,70,.96); border-color: var(--stroke-2); animation: pop .3s var(--spring); }
.modal-icon { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #ff5a7a, #d81b48); box-shadow: 0 8px 24px -8px rgba(255,60,100,.7); }
.modal-icon svg { width: 26px; height: 26px; }
.modal-card h3 { font-family: var(--display); font-weight: 800; font-size: 18px; line-height: 1.3; overflow-wrap: anywhere; }
.modal-card p { margin: 8px 0 20px; font-size: 14px; font-weight: 600; line-height: 1.45; }
.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.modal-actions .btn { margin: 0; min-height: 48px; }
.danger-btn { background: linear-gradient(135deg, #ff5a7a, #d81b48); border: 0; color: #fff; }

/* admin action sheet */
.sheet-modal { align-items: end; padding: 0; grid-template-columns: minmax(0, 1fr); }
.action-sheet { position: relative; min-width: 0; width: 100%; max-width: 520px; margin: 0 auto; padding: 18px 16px calc(var(--sab) + 16px); border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: linear-gradient(rgba(38,24,78,.98), rgba(17,10,40,.99)); border-top: 1px solid var(--stroke-2); animation: sheetup .35s var(--spring); }
.action-sheet .eyebrow { text-align: center; }
.action-song { margin: 4px 0 14px; text-align: center; font-family: var(--display); font-weight: 800; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.action { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 14px; border-radius: var(--r-md); text-align: left; transition: background .15s; }
.action:active, .action:hover { background: var(--surface-2); }
.action svg { width: 22px; height: 22px; color: var(--text-2); flex: none; }
.action b { display: block; font-size: 15.5px; font-weight: 800; }
.action small { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-3); margin-top: 1px; }
.action.danger b, .action.danger svg { color: var(--miss); }
.action-cancel { margin-top: 10px !important; }
.modal-icon.neutral { background: linear-gradient(135deg, #8a7dff, #5b2bff); box-shadow: 0 8px 24px -8px rgba(120,80,255,.7); }
@media (min-width: 700px) { .sheet-modal { align-items: center; padding: 20px; } .action-sheet { border-radius: var(--r-xl); border: 1px solid var(--stroke-2); } }

/* rename form */
.modal { grid-template-columns: minmax(0, 1fr); }
.modal-card { min-width: 0; }
.rename-card { display: grid; gap: 12px; text-align: left; }
.rename-card h3 { text-align: center; margin-bottom: 2px; }
.rename-card .modal-actions { margin-top: 6px; }

.near { margin: 8px 4px 0; line-height: 1.45; text-align: left; }

/* refresh */
.topbar-actions { display: flex; gap: 10px; }
#refresh-songs.spinning svg { animation: spin .8s linear infinite; }

/* segmented control */
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--stroke); margin-bottom: 12px; flex: none; }
.seg button { flex: 1; height: 36px; border-radius: 10px; font-weight: 800; font-size: 13.5px; color: var(--text-2); transition: background .2s, color .2s; }
.seg button.on { background: var(--surface-2); color: var(--text); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 2px 8px rgba(0,0,0,.25); }

/* song list extras */
.song-by { font-size: 12px; font-weight: 700; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.new-dot { font-size: 10px; font-weight: 800; letter-spacing: .8px; color: #1a0f00; background: var(--gold); border-radius: 6px; padding: 1px 6px; }
.crown { color: var(--gold); width: 16px; height: 16px; filter: drop-shadow(0 0 6px rgba(255,194,61,.6)); }

/* song page */
#song { padding-bottom: 0; overflow: hidden; }
.song-backdrop { position: absolute; inset: -40px -40px auto; height: 70%; background-size: cover; background-position: center; filter: blur(40px) saturate(1.4); opacity: .55;
  -webkit-mask-image: linear-gradient(#000 20%, transparent); mask-image: linear-gradient(#000 20%, transparent); pointer-events: none; }
#song .topbar { position: relative; z-index: 2; }
.song-scroll { position: relative; flex: 1; overflow-y: auto; margin: 0 -20px; padding: 0 20px 130px; touch-action: pan-y; }
.song-hero { text-align: center; padding: 4px 0 20px; }
.cover.hero { width: 156px; height: 156px; border-radius: 28px; margin: 0 auto 18px; font-size: 56px; box-shadow: 0 24px 50px -16px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.1); }
.song-hero h2 { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.2; letter-spacing: -.3px; }
.song-hero p { margin: 6px 0 0; font-weight: 600; }
.seg.diffs button { display: flex; align-items: center; justify-content: center; gap: 6px; height: 42px; font-size: 13px; }
.seg.diffs button i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.seg.diffs button.on { background: color-mix(in srgb, var(--c) 22%, transparent); color: #fff; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent); }
.mine { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 22px; }
.mine .rank-badge { width: 44px; height: 44px; font-size: 19px; }
.mine b { display: block; font-family: var(--display); font-size: 20px; font-variant-numeric: tabular-nums; }
.mine span { font-size: 13px; font-weight: 700; color: var(--text-3); }
.mine .mine-pos { margin-left: auto; text-align: right; }
.mine .mine-pos b { font-size: 18px; color: var(--gold); }
.board-head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 2px 10px; }
.board-head h3 { font-family: var(--display); font-weight: 800; font-size: 18px; }
.board { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }   /* long titles cut off with "…" instead of widening the list */
.entry { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--surface); border: 1px solid transparent; animation: rise .35s var(--ease) both; }
.entry.me { border-color: rgba(255,194,61,.45); background: rgba(255,194,61,.08); }
.pos { width: 28px; text-align: center; font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--text-3); flex: none; }
.entry:nth-child(1) .pos { color: #ffd84d; } .entry:nth-child(2) .pos { color: #d7dcea; } .entry:nth-child(3) .pos { color: #e3a06b; }
.avatar { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 15px; color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35); text-shadow: 0 1px 3px rgba(0,0,0,.3); }
.entry-name { flex: 1; min-width: 0; font-weight: 800; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.entry-name small { display: block; font-size: 12px; font-weight: 700; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; }
.you { font-size: 10px; font-weight: 800; letter-spacing: .6px; padding: 1px 6px; border-radius: 6px; background: var(--gold); color: #1a0f00; margin-left: 6px; vertical-align: 2px; }
.entry-score { font-family: var(--display); font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.entry .rank-badge { width: 28px; height: 28px; font-size: 12px; }
.board-empty { text-align: center; padding: 26px 16px; border-radius: 16px; border: 1px dashed var(--stroke-2); color: var(--text-2); font-weight: 600; }
.board-empty svg { width: 30px; height: 30px; color: var(--gold); display: block; margin: 0 auto 8px; }
.song-play { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 20px calc(var(--sab) + 18px); display: flex; justify-content: center;
  background: linear-gradient(transparent, rgba(7,5,26,.92) 40%); z-index: 3; }
.song-play .cta { height: 64px; font-size: 22px; }

/* results placement */
.place { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-top: 18px; text-align: left; border-color: rgba(255,194,61,.35);
  background: linear-gradient(90deg, rgba(255,194,61,.14), rgba(255,255,255,.03)); animation: pop .5s var(--spring) .5s both; }
.place-pos { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 22px;
  background: var(--flame); color: #fff; box-shadow: 0 8px 24px -6px rgba(255,120,30,.7); }
.place-pos svg { width: 28px; height: 28px; }
.place-text b { display: block; font-family: var(--display); font-size: 16px; font-weight: 800; }
.place-text span { font-size: 13.5px; font-weight: 600; }

/* settings profile */
.inline-form { display: flex; gap: 8px; margin-top: 8px; }
.inline-form input { flex: 1; min-width: 0; height: 46px; font-size: 16px; }
.inline-form .btn { margin: 0; height: 46px; }
.player-code { display: block; margin: 8px 0 6px; padding: 10px 12px; border-radius: 12px; font-size: 13px; letter-spacing: .5px; word-break: break-all; -webkit-user-select: all; user-select: all; }
.text-btn svg { width: 15px; height: 15px; vertical-align: -3px; }
@media (min-width: 700px) {
  #song > .topbar, #song > .song-scroll { width: 100%; max-width: 680px; margin-left: auto; margin-right: auto; }
}

/* ============ social: alerts, activity, player pages, awards ============ */
/* home: brand on top, alerts + activity in the middle, Play at the bottom */
.home-mid { position: relative; flex: 1; min-height: 0; overflow-y: auto; touch-action: pan-y; display: flex; flex-direction: column; gap: 10px;
  width: 100%; max-width: 520px; margin: 0 auto; padding: 14px 16px 2px;
  -webkit-mask-image: linear-gradient(transparent, #000 14px); mask-image: linear-gradient(transparent, #000 14px); }
.home-mid::before { content: ""; flex: 1 1 auto; }        /* keeps the cards just above Play */
#home.social .home-top { padding-top: calc(var(--sat) + 3.5vh); }
#home.social .wordmark span { font-size: clamp(40px, 12.5vw, 70px); }
#home.social .brand-orbs { margin-bottom: 12px; }
#home.social .subbrand { margin-top: 10px; }
.home-player { display: inline-flex; align-items: center; gap: 2px; padding: 6px 8px; }
.home-player svg { width: 14px; height: 14px; color: var(--text-3); }

.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px 2px; }
.card-head b { font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .2px; }
.card-head .text-btn { padding: 4px 2px; font-size: 13px; }
.alerts, .feed { flex: none; background: rgba(20,12,46,.74); border-color: var(--stroke-2); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); animation: rise .4s var(--ease) both; }
.alerts { border-color: rgba(255,77,106,.45); background: linear-gradient(135deg, rgba(255,61,110,.22), rgba(20,12,46,.82) 65%); }
.alerts .card-head b { color: #ffb3c0; }
.alert-list, .feed-list { list-style: none; margin: 0; padding: 4px 6px 8px; }
.alert { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; }
.alert-text, .feed-text { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; line-height: 1.35; color: var(--text-2); overflow-wrap: anywhere; }
.alert-text b, .feed-text b { color: var(--text); font-weight: 800; }
.alert-text small, .feed-text small { display: block; font-size: 12px; font-weight: 700; color: var(--text-3); margin-top: 1px; }
.alert .btn.small { flex: none; min-height: 34px; padding: 0 12px; font-size: 12.5px; }
.alert .btn.small svg { width: 14px; height: 14px; }
.more-line { margin: 0; padding: 0 14px 10px; font-size: 12px; font-weight: 700; color: var(--text-3); }
.feed-item { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 12px; cursor: pointer; transition: background .15s; }
.feed-item:active { background: var(--surface-2); }
@media (hover: hover) { .feed-item:hover { background: var(--surface); } }
.feed-item .avatar { width: 32px; height: 32px; font-size: 13px; }
.feed-item .rank-badge { width: 26px; height: 26px; font-size: 11px; }
.feed-badges { display: flex; flex: none; }
.feed-badges .award-badge { width: 26px; height: 26px; margin: 0 0 0 -6px; font-size: 9px; border: 2px solid #1a1038; }
.feed-badges .award-badge svg { width: 13px; height: 13px; }
.dtag { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .4px; padding: 0 5px; border-radius: 5px; color: #0b0620; background: var(--c); vertical-align: 1px; }
.crown-tag { color: var(--gold); }
.activity-list { flex: 1; overflow-y: auto; margin: 0 -20px; padding: 0 12px 24px; touch-action: pan-y; }
.activity-list .feed-item { padding: 10px 8px; }
.activity-list .feed-text { font-size: 14px; }

/* clickable names */
.entry { cursor: pointer; }
.entry:active { background: var(--surface-2); }

/* player page */
.player-scroll { position: relative; flex: 1; overflow-y: auto; margin: 0 -20px; padding: 0 20px 30px; touch-action: pan-y; }
.player-hero { text-align: center; padding: 0 0 18px; }
.player-hero .avatar { width: 88px; height: 88px; font-size: 38px; margin: 0 auto 12px; box-shadow: 0 16px 36px -12px rgba(0,0,0,.7), inset 0 2px 0 rgba(255,255,255,.35); }
.player-hero h2 { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -.3px; overflow-wrap: anywhere; }
.player-hero p { margin: 4px 0 0; font-weight: 600; }
.pstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 22px; }
.pstats .card { padding: 12px 4px; text-align: center; }
.pstats b { display: block; font-family: var(--display); font-weight: 700; font-size: 20px; font-variant-numeric: tabular-nums; }
.pstats span { font-size: 11.5px; font-weight: 700; color: var(--text-3); }
.awards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 22px; }
.award { padding: 12px 6px 10px; text-align: center; border-radius: 16px; background: var(--surface); border: 1px solid var(--stroke); }
.award.on { border-color: rgba(255,194,61,.3); background: linear-gradient(rgba(255,194,61,.08), rgba(255,255,255,.03)); }
.award b { display: block; font-size: 12.5px; font-weight: 800; margin-top: 8px; line-height: 1.2; }
.award small { display: block; font-size: 10.5px; font-weight: 700; color: var(--text-3); margin-top: 3px; line-height: 1.3; }
.award:not(.on) .award-badge { filter: grayscale(1) brightness(.6); opacity: .5; }
.award:not(.on) b { color: var(--text-2); }
/* badge metals: bronze, silver, gold */
.award-badge { width: 48px; height: 48px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; color: #3a1c06;
  font-family: var(--display); font-weight: 900; font-size: 14px; letter-spacing: -.5px;
  background: radial-gradient(circle at 35% 30%, #ffe0bf, #d98c52 55%, #7a3d12); box-shadow: 0 6px 16px -6px rgba(0,0,0,.6), inset 0 1.5px 0 rgba(255,255,255,.5); }
.award-badge svg { width: 22px; height: 22px; }
.award-badge.t2 { color: #1c2233; background: radial-gradient(circle at 35% 30%, #fff, #c9d2e6 55%, #66708c); }
.award-badge.t3 { color: #3a2200; background: radial-gradient(circle at 35% 30%, #fff6c2, var(--gold) 50%, #ff6a2b); box-shadow: 0 0 18px rgba(255,194,61,.4), inset 0 1.5px 0 rgba(255,255,255,.5); }
.pbest .cover { width: 42px; height: 42px; border-radius: 11px; font-size: 16px; }
.pbest .cover .dots { display: none; }
.pbest .entry-score { text-align: right; }
.pbest .entry-score small { display: block; font-family: var(--ui); font-size: 11.5px; font-weight: 700; color: var(--text-3); }
.pbest .pos-crown { color: var(--gold); }

/* results: awards earned by this run */
.res-awards { margin-top: 10px; padding: 12px 14px; text-align: left; border-color: rgba(255,194,61,.4); background: linear-gradient(90deg, rgba(255,194,61,.12), rgba(255,255,255,.03));
  animation: pop .5s var(--spring) .8s both; }
.res-awards .eyebrow { margin-bottom: 6px; color: var(--gold); }
.res-award { display: flex; align-items: center; gap: 12px; padding: 4px 0; }
.res-award .award-badge { width: 40px; height: 40px; margin: 0; font-size: 12px; flex: none; }
.res-award .award-badge svg { width: 19px; height: 19px; }
.res-award b { display: block; font-weight: 800; font-size: 15px; }
.res-award span { font-size: 12.5px; font-weight: 600; color: var(--text-3); }
@media (min-width: 700px) {
  #player > .topbar, #player > .player-scroll, #activity > * { width: 100%; max-width: 640px; margin-left: auto; margin-right: auto; }
}

/* ============ friends only: invites + admin PIN ============ */
#closed, #install { justify-content: center; overflow-y: auto; touch-action: pan-y; }
.invite-note { margin: -6px auto 0 !important; padding: 4px 12px; border-radius: 999px; font-size: 12.5px !important; font-weight: 800 !important;
  color: #0b0620; background: var(--gold); width: fit-content; }
.code-big { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: 3px; color: var(--gold); -webkit-user-select: all; user-select: all; }
.code-small { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 700; font-size: 13px; letter-spacing: 1px; color: var(--text); }
#code-input { text-transform: uppercase; letter-spacing: 2px; text-align: center; }

.admin-card { display: grid; gap: 10px; padding: 14px; margin: 0 0 16px; text-align: left; border-color: rgba(255,194,61,.35); }
.admin-card p { margin: 0; line-height: 1.4; }
.admin-card > .btn.small { justify-self: start; }
.admin-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.admin-head b { font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--gold); }
.invite-box { display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: rgba(0,0,0,.25); border: 1px solid var(--stroke-2); text-align: center; }
.invite-box p { margin: 0; }
.invite-box .btn.small { justify-self: center; }
.invite-link { width: 100%; height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--stroke-2); background: rgba(0,0,0,.25);
  font-size: 13px; font-weight: 600; color: var(--text-2); -webkit-user-select: all; user-select: all; }
.invite-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.invite-list li { display: flex; align-items: center; gap: 10px; }
.invite-list li > .t2 { min-width: 0; overflow-wrap: anywhere; }
.admin-row { display: flex; justify-content: space-between; gap: 10px; }
.pin-card { display: grid; gap: 12px; text-align: left; }
.pin-card h3 { text-align: center; margin-bottom: 2px; }
.pin-card > p { margin: 0; line-height: 1.4; }
.pin-card input { letter-spacing: 6px; text-align: center; }
.pin-card .modal-actions { margin-top: 6px; }

/* install first (phones in a browser tab) */
.install-card h2 { font-size: 20px; }
.install-steps { margin: 2px 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 10px; text-align: left; }
.install-steps li { counter-increment: step; display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; font-weight: 600; line-height: 1.4; color: var(--text-2); }
.install-steps li::before { content: counter(step); flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12.5px; font-weight: 800; color: #0b0620; background: var(--gold); }
.install-steps b { color: var(--text); }
.install-card #install-copy-link { justify-self: center; }
.install-note { margin: 0; line-height: 1.4; }
.install-extra { display: grid; gap: 8px; padding: 16px; margin-top: 12px; text-align: center; }
.install-extra p { margin: 0; line-height: 1.4; }
.install-extra .btn.small { justify-self: center; }
#install-invite { border-color: rgba(255,194,61,.45); background: rgba(255,194,61,.08); }
