/* GlassSky website app pages (account, messages, leaderboard). Uses web/app.css (the launcher's styles) underneath. */
html, body { height: auto; min-height: 100%; overflow: auto; }
body.web { user-select: text; font-size: 14.5px; }
body.web a { color: inherit; text-decoration: none; }
.wn { position: sticky; top: 12px; z-index: 30; display: flex; align-items: center; gap: 18px; max-width: 1240px; width: calc(100% - 24px);
  margin: 12px auto 0; padding: 8px 10px 8px 16px; border-radius: 999px; }
.wn-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; letter-spacing: .01em; }
.wn-links { display: flex; gap: 4px; margin-left: auto; }
.wn .nb { margin-right: 0; }
.wn .nb-btn { width: 40px; height: 38px; border-radius: 999px; }
.wn .nb-pop { top: calc(100% + 14px); right: -8px; }
@media (max-width: 560px) { .wn .nb-pop { position: fixed; top: 70px; left: 12px; right: 12px; width: auto; } }
.wn-link { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; color: var(--dim); font-weight: 600; transition: background .15s, color .15s; }
.wn-link:hover { color: var(--ink); background: rgba(255,255,255,.07); }
.wn-link.on { color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--a1) 34%, transparent), color-mix(in srgb, var(--a2) 26%, transparent)); }
.wn-link span { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-main { position: relative; z-index: 1; max-width: 560px; margin: 48px auto 60px; padding: 0 16px; }
.w-main.wide { max-width: 1240px; margin-top: 28px; }
.w-pagehead { margin: 0 4px 18px; }
.w-pagehead h1 { font-size: 30px; font-weight: 750; letter-spacing: -.01em; }
.w-pagehead p { color: var(--dim); max-width: 760px; margin-top: 4px; }
.w-card { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.w-card h2 { font-size: 24px; font-weight: 720; }
.w-card .field { display: flex; flex-direction: column; gap: 6px; }
.w-card .field > span { font-size: 12.5px; color: var(--dim); font-weight: 560; }
.w-muted { color: var(--dim); line-height: 1.5; }
.w-tabs { align-self: stretch; }
.w-err { color: #ffb3bf; min-height: 1.2em; font-size: 13px; }
.w-submit { height: 44px; }
.w-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.w-top small, .w-linked small { color: var(--faint); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; font-weight: 600; display: block; }
.w-linked { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); }
.w-linked > div { flex: 1; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.w-linked b { font-size: 18px; }
.w-head { width: 56px; height: 56px; border-radius: 14px; image-rendering: pixelated; }
.w-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.w-actions .btn svg, .w-top .btn svg { width: 16px; height: 16px; }
.w-h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.w-h3 svg { color: var(--a1); }
.w-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--dim); line-height: 1.5; }
.w-steps b { color: var(--ink); }
.w-code { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 6px 0; }
.w-codeval { font: 700 30px/1 ui-monospace, Consolas, monospace; letter-spacing: .28em; padding: 14px 18px 14px 24px; border-radius: 14px;
  background: rgba(5,3,14,.5); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--a1) 40%, transparent); color: #fff; user-select: all; }
.w-msg { position: relative; z-index: 1; height: calc(100vh - 76px); max-width: 1240px; margin: 12px auto 0; padding: 0 12px 12px; display: flex; }
.w-msg .m-host { flex: 1; overflow: hidden; border-radius: var(--r); }
body.web .call-full { inset: 0; z-index: 80; }
body.web .call-ring { top: 76px; }
@media (max-width: 640px) {
  .wn-link span { display: none; }
  .w-card { padding: 20px; }
  .lb-head, .lb-line { grid-template-columns: 36px minmax(0, 1fr) 54px 70px 18px !important; }
  .lb-tier .rk { display: none; }
  .lb-parts { grid-template-columns: 1fr; }
  .lb-row > .lb-parts { padding: 4px 12px 14px; }
  .lb-me { grid-template-columns: 1fr; justify-items: start; }
  .lb-tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
