
/* These four shells never carried the cosmic layers the marketing pages do, so they read as a
   different product. A single mesh pass on the body ties them to the same sky without new DOM. */
body { margin: 0; min-height: 100vh; background: var(--ink-950); background-image: var(--aurora-mesh); background-repeat: no-repeat; color: var(--ivory); font-family: var(--font-body); }
.lb-shell { max-width: 920px; margin: 0 auto; padding: 2rem 1.2rem 4rem; }
.lb-topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.lb-brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; }
.lb-brand img { width: 36px; height: 36px; border-radius: 50%; }
.lb-brand span { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; font-variation-settings: "opsz" 19, "wght" 600, "WONK" 1; }
.lb-back { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 99px; border: 1px solid var(--hairline, rgba(167,139,250,.2)); color: var(--ivory-2, #d4d0e8); text-decoration: none; font-size: .85rem; transition: color .2s, border-color .2s; }
.lb-back:hover { color: var(--aurora, var(--aurora)); border-color: var(--aurora, var(--aurora)); }


.lb-sync { font-family: var(--font-mono, 'Space Mono', monospace); font-size: .68rem; letter-spacing: .04em; color: var(--ivory-4, var(--ivory-4)); margin: .7rem 0 0; }

.lb-gate { text-align: center; padding: 4rem 1.5rem; }
.lb-gate i { font-size: 3rem; color: var(--aurora, var(--aurora)); margin-bottom: 1rem; display: block; opacity: .7; }
.lb-gate h2 { font-family: var(--font-display); font-weight: 560; font-size: 1.6rem; font-variation-settings: "opsz" var(--opsz-h2), "wght" 560, "WONK" 1; margin: 0 0 .5rem; }
.lb-gate p { color: var(--ivory-3, #a8a3c4); margin: 0 0 1.5rem; }
.lb-gate a { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.4rem; border-radius: 99px; background: var(--aurora, var(--aurora)); color: var(--ink-950); text-decoration: none; font-weight: 600; }

.lb-card { border: var(--surface-line); border-radius: var(--r-lg); background: var(--surface-fill); box-shadow: var(--lit-top), var(--cast-down); padding: 1.3rem 1.4rem; margin-bottom: 1.4rem; }
.lb-card h2 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; font-variation-settings: "opsz" var(--opsz-h3), "wght" 600, "WONK" 1; margin: 0 0 .2rem; letter-spacing: -.011em; }
.lb-hint { color: var(--ivory-4, var(--ivory-4)); font-size: .78rem; margin: 0 0 1.1rem; }
.lb-hint a { color: var(--aurora, var(--aurora)); }


.lb-you { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.lb-you img { width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--hairline, rgba(167,139,250,.28)); }
.lb-you-level { font-family: var(--font-display); font-weight: 580; font-size: clamp(2.05rem, 1.4rem + 2.6vw, 2.6rem); line-height: 1; letter-spacing: -.02em; font-variation-settings: "opsz" var(--opsz-h1), "wght" 580, "WONK" 1; }
.lb-you-level small { font-family: var(--font-body, sans-serif); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-4, var(--ivory-4)); display: block; margin-bottom: .3rem; font-weight: 500; }
.lb-you-meta { display: flex; gap: 1.4rem; margin-left: auto; font-size: .8rem; color: var(--ivory-3, #a8a3c4); }
.lb-you-meta b { display: block; font-family: var(--font-mono, 'Space Mono', monospace); font-size: 1.05rem; color: var(--ivory, #f5f3ff); font-weight: 600; }
.lb-track { height: 6px; border-radius: 99px; background: rgba(167,139,250,.14); overflow: hidden; margin: 1.1rem 0 .4rem; }
.lb-track span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--aurora-deep), var(--aurora) 60%, var(--lagoon)); transition: width .4s ease; }
.lb-xp { font-family: var(--font-mono, 'Space Mono', monospace); font-size: .72rem; color: var(--ivory-4, var(--ivory-4)); }

.lb-pointer { font-size: .78rem; color: var(--ivory-4, var(--ivory-4)); margin: 1.1rem 0 0; padding-top: 1.1rem; border-top: 1px dashed var(--hairline, rgba(167,139,250,.16)); }
.lb-pointer i { margin-right: .35rem; color: var(--aurora, var(--aurora)); }
.lb-pointer a { color: var(--aurora, var(--aurora)); }
.lb-btn { display: inline-flex; align-items: center; gap: .55rem; border: 1px solid rgba(167,139,250,.5); border-radius: var(--r-pill); padding: .7rem 1.3rem; background: var(--grad-signal); color: var(--ink-950); font-weight: 600; font-size: .85rem; font-family: inherit; cursor: pointer; transition: transform .2s var(--ease-out), box-shadow .2s, border-color .2s; box-shadow: var(--lit-top), 0 8px 22px -12px rgba(4,2,10,.8); }
.lb-btn:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--aurora-soft); box-shadow: var(--lit-top), 0 14px 30px -14px rgba(4,2,10,.9); }
.lb-btn:disabled { opacity: .45; cursor: not-allowed; }
.lb-btn.ghost { background: transparent; border: 1px solid var(--hairline, rgba(167,139,250,.3)); color: var(--ivory-2, #d4d0e8); }
.lb-btn.ghost:hover:not(:disabled) { color: var(--aurora, var(--aurora)); border-color: var(--aurora, var(--aurora)); }
.lb-msg { font-size: .8rem; color: var(--ivory-2, #d4d0e8); }
.lb-msg.ok { color: var(--mint-300); }
.lb-msg.bad { color: var(--rose-300); }

.lb-row { display: grid; grid-template-columns: 2.4rem 2.4rem 1fr auto; align-items: center; gap: .8rem; padding: .6rem .5rem; border-radius: var(--r-md); }
.lb-row + .lb-row { border-top: 1px solid rgba(167,139,250,.08); }
.lb-row.me { background: rgba(167,139,250,.1); }
.lb-rank { font-family: var(--font-mono, 'Space Mono', monospace); font-size: .8rem; color: var(--ivory-4, var(--ivory-4)); text-align: right; }
.lb-row.top .lb-rank { color: var(--amber-300); }
.lb-row img { width: 32px; height: 32px; border-radius: 50%; }
.lb-name { font-size: .88rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-sub { font-size: .7rem; color: var(--ivory-4, var(--ivory-4)); font-family: var(--font-mono, 'Space Mono', monospace); }
.lb-lvl { font-family: var(--font-mono, 'Space Mono', monospace); font-size: .95rem; }
.lb-empty, .lb-loading { text-align: center; color: var(--ivory-4, var(--ivory-4)); font-size: .82rem; padding: 1.6rem .5rem; }
.lb-empty p { margin: 0; }
.lb-empty i { color: var(--rose-300); margin-right: .35rem; }
.lb-empty > div { margin-top: .9rem; }
.lb-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .9rem; flex-wrap: wrap; }

.lb-bd-row { display: grid; grid-template-columns: 2.4rem 1fr auto; align-items: center; gap: .8rem; padding: .55rem .5rem; }
.lb-bd-row img { width: 32px; height: 32px; border-radius: 50%; }
.lb-bd-date { font-family: var(--font-mono, 'Space Mono', monospace); font-size: .78rem; color: var(--aurora, var(--aurora)); }
.lb-bd-row.today .lb-bd-date { color: var(--mint-300); }
.lb-editor { display: flex; gap: .5rem; align-items: flex-end; flex-wrap: wrap; margin-top: 1rem; }
.lb-field label { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ivory-4, var(--ivory-4)); margin-bottom: .3rem; }
.lb-field select { appearance: none; -webkit-appearance: none; background-color: rgba(11,6,20,.7); color: var(--ivory, #f5f3ff); border: 1px solid var(--hairline, rgba(167,139,250,.3)); border-radius: var(--r-md); padding: .5rem 2.1rem .5rem .7rem; font-family: inherit; font-size: .82rem; min-width: 8rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a78bfa' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .7rem center; }
.lb-field select option { background: var(--ink-850); color: var(--ivory); }
.lb-note { font-size: .72rem; color: var(--ivory-4, var(--ivory-4)); margin: .9rem 0 0; }
.lb-sep { font-size: .78rem; color: var(--ivory-4, var(--ivory-4)); margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--hairline, rgba(167,139,250,.16)); }

/* The rank + avatar pair used to eat 77px of a phone row, leaving the name to ellipsis after four
   characters. Narrowing the columns and lifting the meta block onto its own line keeps the row a row
   instead of collapsing it into a stack. */
@media (max-width: 600px) {
  .lb-shell { padding: 1.4rem .9rem 3rem; }
  .lb-card { padding: 1.1rem 1.05rem; }
  .lb-row { grid-template-columns: 1.9rem 2.2rem minmax(0,1fr) auto; gap: .6rem; padding: .6rem .35rem; }
  .lb-row img { width: 30px; height: 30px; }
  .lb-you { gap: .9rem; }
  .lb-you img { width: 50px; height: 50px; }
  .lb-you-meta { margin-left: 0; flex-basis: 100%; gap: 1.2rem; }
  .lb-bd-row { grid-template-columns: 1.9rem minmax(0,1fr) auto; gap: .6rem; }
  .lb-field select { min-width: 0; flex: 1; }
  .lb-field { flex: 1; min-width: 0; }
}

@media (max-width: 380px) {
  .lb-topbar { gap: .6rem; }
  .lb-rank { font-size: .72rem; }
  .lb-lvl { font-size: .88rem; }
  .lb-foot { gap: .6rem; }
}
