    :root {
      --bg: #0a0c10;
      --card: #12151c;
      --text: #e7e9ea;
      --text-secondary: #536471;
      --border: #1e2430;
      --accent: #1d9bf0;
      --accent-hover: #1a8cd8;
      --blue-ring: #1d9bf0;
      --green: #00ba7c;
      --radius: 16px;
      --shadow: 0 1px 3px rgba(0,0,0,0.08);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
    }

    .page {
      max-width: 600px;
      margin: 0 auto;
      background: var(--card);
      min-height: 100vh;
      box-shadow: 0 0 40px rgba(0,0,0,0.06);
    }

    /* Banner */
    .banner {
      position: relative;
      width: 100%;
      height: 200px;
      overflow: hidden;
      background: #87CEEB;
    }

    .banner img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    /* Profile header */
    .profile-header {
      position: relative;
      padding: 0 16px 16px;
    }

    .avatar-wrap {
      position: relative;
      margin-top: -68px;
      margin-bottom: 12px;
      width: 134px;
      height: 134px;
    }

    .avatar {
      width: 134px;
      height: 134px;
      border-radius: 50%;
      border: 4px solid var(--card);
      object-fit: cover;
      background: var(--card);
      box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
    }

    .profile-actions {
      position: absolute;
      top: 12px;
      right: 16px;
      display: flex;
      gap: 8px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 8px 16px;
      border-radius: 9999px;
      font-weight: 700;
      font-size: 15px;
      cursor: pointer;
      border: none;
      transition: background 0.15s, transform 0.1s;
    }

    .btn:active {
      transform: scale(0.97);
    }

    .btn-outline {
      background: transparent;
      border: 1px solid #cfd9de;
      color: var(--text);
    }

    .btn-outline:hover {
      background: rgba(15,20,25,0.05);
    }

    .btn-primary {
      background: var(--text);
      color: #fff;
    }

    .btn-primary:hover {
      background: #272c30;
    }

    .name {
      font-size: 20px;
      font-weight: 800;
      letter-spacing: -0.3px;
      line-height: 1.2;
    }

    .handle {
      color: var(--text-secondary);
      font-size: 15px;
      margin-bottom: 12px;
    }

    .bio {
      font-size: 15px;
      margin-bottom: 12px;
      white-space: pre-wrap;
    }

    .bio a {
      color: var(--accent);
      text-decoration: none;
    }

    .bio a:hover {
      text-decoration: underline;
    }

    .meta {
      display: flex;
      flex-wrap: wrap;
      gap: 12px 16px;
      color: var(--text-secondary);
      font-size: 15px;
      margin-bottom: 12px;
    }

    .meta-item {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .meta-item svg {
      width: 18px;
      height: 18px;
      fill: currentColor;
      flex-shrink: 0;
    }

    .stats {
      display: flex;
      gap: 20px;
      font-size: 15px;
    }

    .stats strong {
      color: var(--text);
      font-weight: 700;
    }

    .stats span {
      color: var(--text-secondary);
    }

    /* Tabs */
    .tabs {
      display: flex;
      border-bottom: 1px solid var(--border);
      position: sticky;
      top: 0;
      background: var(--card);
      z-index: 10;
    }

    .tab {
      flex: 1;
      text-align: center;
      padding: 16px 0;
      font-weight: 700;
      font-size: 15px;
      color: var(--text-secondary);
      cursor: pointer;
      position: relative;
      background: none;
      border: none;
      transition: color 0.15s, background 0.15s;
    }

    .tab:hover {
      background: rgba(15,20,25,0.03);
    }

    .tab.active {
      color: var(--text);
    }

    .tab.active::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 56px;
      height: 4px;
      background: var(--accent);
      border-radius: 9999px;
    }

    /* Sections */
    .section {
      display: none;
    }

    .section.active {
      display: block;
    }

    /* Posts */
    .post {
      padding: 16px;
      border-bottom: 1px solid var(--border);
      transition: background 0.15s;
    }

    .post:hover {
      background: rgba(0,0,0,0.015);
    }

    .post-header {
      display: flex;
      gap: 12px;
      margin-bottom: 4px;
    }

    .post-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      object-fit: cover;
      flex-shrink: 0;
    }

    .post-meta {
      flex: 1;
      min-width: 0;
    }

    .post-name {
      font-weight: 700;
      font-size: 15px;
    }

    .post-handle, .post-time {
      color: var(--text-secondary);
      font-size: 15px;
    }

    .post-time::before {
      content: '·';
      margin: 0 4px;
    }

    .post-content {
      font-size: 15px;
      margin: 4px 0 12px 52px;
      white-space: pre-wrap;
      word-wrap: break-word;
    }

    .post-content a {
      color: var(--accent);
      text-decoration: none;
    }

    .post-actions {
      display: flex;
      justify-content: space-between;
      max-width: 425px;
      margin-left: 52px;
      color: var(--text-secondary);
    }

    .action {
      display: flex;
      align-items: center;
      gap: 4px;
      font-size: 13px;
      cursor: pointer;
      padding: 8px;
      border-radius: 9999px;
      transition: color 0.15s, background 0.15s;
    }

    .action:hover {
      color: var(--accent);
      background: rgba(29,155,240,0.1);
    }

    .action svg {
      width: 18px;
      height: 18px;
      fill: currentColor;
    }

    /* Photos grid */
    .photos-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2px;
      padding: 2px;
    }

    .photo-item {
      position: relative;
      aspect-ratio: 1;
      overflow: hidden;
      background: #e1e8ed;
      cursor: pointer;
    }

    .photo-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .photo-item:hover img {
      transform: scale(1.04);
    }

    .photo-item.wide {
      grid-column: span 2;
      aspect-ratio: 16/9;
    }

    /* Footer note */
    .footer {
      padding: 24px 16px;
      text-align: center;
      color: var(--text-secondary);
      font-size: 13px;
      border-top: 1px solid var(--border);
    }

    /* Responsive */
    @media (max-width: 640px) {
      .page {
        max-width: 100%;
        box-shadow: none;
      }
      .banner {
        height: 160px;
      }
      .avatar-wrap {
        margin-top: -56px;
        width: 112px;
        height: 112px;
      }
      .avatar {
        width: 112px;
        height: 112px;
      }
    }
