:root {
      color-scheme: dark;
      --bg: #0b0f14;
      --bubble: #161b22;
      --bubble-border: #2a3340;
      --text: #e7e9ea;
      --muted: #8b98a5;
      --accent: #1d9bf0;
      --radius-lg: 16px;
      --avatar-size: 128px;
      --banner-h: clamp(140px, 28vw, 220px);
      --row-est: 260px;
    }
    * { box-sizing: border-box; }
    body {
      margin: 0;
      min-height: 100vh;
      font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
      background: var(--bg);
      color: var(--text);
    }
    body.lightbox-open { overflow: hidden; }
    .banner {
      width: 100%;
      height: var(--banner-h);
      object-fit: cover;
      display: block;
      background: #1a222d;
      cursor: zoom-in;
    }
    .profile-wrap {
      width: 100%;
      border-bottom: 2px solid #3d4b5c;
      padding-bottom: 1rem;
    }
    .profile-row {
      max-width: 640px;
      margin: 0 auto;
      padding: 0 1rem;
      display: flex;
      align-items: flex-end;
      gap: 0.95rem;
      margin-top: calc(var(--avatar-size) / -2);
      position: relative;
      z-index: 1;
    }
    .profile-avatar {
      width: var(--avatar-size);
      height: var(--avatar-size);
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid #000;
      background: #111;
      flex-shrink: 0;
      cursor: zoom-in;
    }
    .profile-text {
      flex: 1;
      min-width: 0;
      padding-bottom: 0.35rem;
    }
    .profile-top {
      display: flex;
      align-items: center;
      gap: 2.5rem;
      flex-wrap: wrap;
    }
    .profile-id { flex-shrink: 0; }
    .profile-name {
      margin: 0;
      font-size: 1.45rem;
      font-weight: 800;
      line-height: 1.1;
    }
    .profile-name a { color: inherit; text-decoration: none; }
    .profile-name a:hover {
      color: inherit;
      text-shadow:
        0 0 8px rgba(255, 255, 255, 0.55),
        0 0 18px rgba(29, 155, 240, 0.45),
        0 0 32px rgba(29, 155, 240, 0.25);
    }
    .profile-handle {
      margin-top: 0.45rem;
      color: var(--muted);
      font-size: 0.95rem;
    }
    .profile-bio {
      margin: 0;
      flex: 1;
      min-width: 160px;
      color: #f5f8fa;
      font-size: 1.2rem;
      font-weight: 700;
      line-height: 1.4;
      text-shadow:
        0 0 6px rgba(29, 155, 240, 0.55),
        0 0 14px rgba(29, 155, 240, 0.35),
        0 0 28px rgba(231, 233, 234, 0.2);
    }
    #status {
      text-align: center;
      color: var(--muted);
      font-size: 0.9rem;
      margin: 0.75rem 0 0;
      min-height: 1.2em;
    }
    .hero {
      min-height: calc(100vh - var(--banner-h) - (var(--avatar-size) * 0.55) - 2.5rem);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 1rem 1rem 2.5rem;
      max-width: 820px;
      margin: 0 auto;
      width: 100%;
    }
    .older {
      max-width: 720px;
      margin: 0 auto;
      padding: 0 1rem 3.5rem;
      width: 100%;
      position: relative;
    }
    #virt-window {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
    }
    .bubble {
      width: 100%;
      max-width: 560px;
      background: var(--bubble);
      border: 1px solid var(--bubble-border);
      border-radius: var(--radius-lg);
      padding: 1.25rem 1.35rem;
      text-decoration: none;
      color: inherit;
      display: block;
      transition: border-color 0.15s ease;
    }
    .bubble:hover { border-color: #3d4b5c; }
    .bubble .name { font-size: 1.1rem; }
    .bubble .text {
      font-size: 1.35rem;
      line-height: 1.4;
      margin-top: 0.65rem;
    }
    .bubble .avatar {
      width: 48px;
      height: 48px;
      cursor: zoom-in;
    }
    .bubble.featured {
      max-width: 720px;
      width: 100%;
      border-radius: 20px;
      padding: 1.85rem 2rem;
      margin: 0;
    }
    .bubble.featured .name { font-size: 1.35rem; }
    .bubble.featured .handle,
    .bubble.featured .time { font-size: 1rem; }
    .bubble.featured .text {
      font-size: 2.05rem;
      line-height: 1.35;
      margin-top: 0.9rem;
      font-weight: 600;
    }
    .bubble.featured .avatar { width: 64px; height: 64px; }
    .meta {
      display: flex;
      align-items: center;
      gap: 0.65rem;
    }
    .avatar {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      object-fit: cover;
      background: #222;
      flex-shrink: 0;
    }
    .who { min-width: 0; }
    .name {
      font-weight: 700;
      font-size: 0.95rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .handle, .time {
      color: var(--muted);
      font-size: 0.82rem;
    }
    .text {
      margin: 0.5rem 0 0;
      font-size: 0.92rem;
      line-height: 1.35;
      white-space: pre-wrap;
      word-wrap: break-word;
    }
    .media {
      margin-top: 0.65rem;
      display: grid;
      gap: 0.4rem;
      border-radius: 10px;
      overflow: hidden;
    }
    .media img {
      width: 100%;
      height: auto;
      display: block;
      cursor: zoom-in;
    }
    .lightbox {
      position: fixed;
      inset: 0;
      z-index: 9999;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 1.25rem;
      background: rgba(0, 0, 0, 0.88);
      cursor: zoom-out;
    }
    .lightbox.open { display: flex; }
    .lightbox img {
      max-width: min(96vw, 1400px);
      max-height: 92vh;
      width: auto;
      height: auto;
      object-fit: contain;
      border-radius: 8px;
      cursor: default;
      box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    }
