        /* -- DESIGN TOKENS ------------------------------------ */
        :root {
            --c-bg:          #0a0a0f;
            --c-surface:     #111118;
            --c-surface2:    #18181f;
            --c-border:      rgba(255,255,255,0.07);
            --c-border2:     rgba(255,255,255,0.12);
            --c-text:        #f0eff6;
            --c-muted:       rgba(240,239,246,0.45);
            --c-accent:      #ff6b35;
            --c-accent2:     #7c5cfc;
            --c-live:        #ff3b5c;
            --c-verified:    #22d3a3;
            --radius-sm:     8px;
            --radius-md:     14px;
            --radius-lg:     20px;
            --radius-xl:     28px;
            --shadow-card:   0 2px 24px rgba(0,0,0,0.55);
            --shadow-glow:   0 0 32px rgba(124,92,252,0.18);
            --font-display:  'Inter', system-ui, sans-serif;
            --transition:    0.22s cubic-bezier(.4,0,.2,1);
        }
        [data-theme="light"] {
            --c-bg:       #f5f4f9;
            --c-surface:  #ffffff;
            --c-surface2: #f0eff6;
            --c-border:   rgba(0,0,0,0.08);
            --c-border2:  rgba(0,0,0,0.14);
            --c-text:     #0f0e17;
            --c-muted:    rgba(15,14,23,0.48);
            --shadow-card: 0 2px 20px rgba(0,0,0,0.1);
            --shadow-glow: 0 0 32px rgba(124,92,252,0.10);
        }
 
        /* -- BASE RESET --------------------------------------- */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        /* Window is the single scroller on every width (same model the SPA
           router and mobile layout assume). Override the desktop shell's
           html,body{height:100%; overflow-x:hidden} which turns the body into
           an inner scroll container and breaks window.scrollTo / scrollY. */
        html, body {
            height: auto;
            min-height: 100%;
            overflow-x: clip;
        }
        body {
            font-family: var(--font-display);
            background: var(--c-bg);
            color: var(--c-text);
            min-height: 100vh;
        }
        /* Inside the SPA shell the fixed .app-header already provides the top
           bar — the page's own topbar would just sit hidden beneath it. */
        body.spa-active .pp-topbar { display: none; }
 
        /* -- TOPBAR ------------------------------------------- */
        .pp-topbar {
            position: sticky;
            top: 0;
            z-index: 80;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.75rem 1rem;
            background: rgba(10,10,15,0.82);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border-bottom: 1px solid var(--c-border);
        }
        [data-theme="light"] .pp-topbar { background: rgba(245,244,249,0.85); }
 
        .topbar-left, .topbar-right { display: flex; align-items: center; gap: 0.5rem; }
        .topbar-brand {
            font-size: 0.8rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            color: var(--c-accent);
            text-transform: uppercase;
        }
        .icon-btn {
            width: 38px; height: 38px;
            border-radius: 50%;
            border: none;
            background: var(--c-surface2);
            color: var(--c-text);
            display: flex; align-items: center; justify-content: center;
            cursor: pointer;
            font-size: 0.9rem;
            transition: background var(--transition), color var(--transition);
            position: relative;
        }
        .icon-btn:hover { background: var(--c-border2); }
        .icon-btn .notif-dot {
            position: absolute;
            top: 6px; right: 6px;
            width: 8px; height: 8px;
            border-radius: 50%;
            background: var(--c-accent);
            border: 2px solid var(--c-bg);
            display: none;
        }
        .icon-btn .notif-dot.active { display: block; }
 
        /* -- HERO SECTION ------------------------------------- */
        .pp-hero {
            position: relative;
            overflow: hidden;
        }
        .hero-cover {
            width: 100%;
            height: 180px;
            background: linear-gradient(135deg, #1a0a2e 0%, #16213e 40%, #0f3460 100%);
            position: relative;
            overflow: hidden;
        }
        .hero-cover::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, transparent 40%, var(--c-bg) 100%);
        }
        .hero-cover-img {
            width: 100%; height: 100%;
            object-fit: cover;
            opacity: 0.55;
        }
        /* Destination-stamp pattern � abstract world dots */
        .hero-cover-canvas {
            position: absolute;
            inset: 0;
            opacity: 0.25;
            background-image:
                radial-gradient(circle, var(--c-accent2) 1px, transparent 1px),
                radial-gradient(circle, var(--c-accent) 1px, transparent 1px);
            background-size: 32px 32px, 64px 64px;
            background-position: 0 0, 16px 16px;
        }
 
        .hero-body {
            position: relative;
            z-index: 2;
            padding: 0 1rem 1rem;
            margin-top: -56px;
        }
        .hero-avatar-row {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            margin-bottom: 0.9rem;
        }
        .hero-avatar-wrap {
            position: relative;
            flex-shrink: 0;
        }
        .hero-avatar {
            width: 88px; height: 88px;
            border-radius: 50%;
            background: var(--c-surface2);
            border: 3px solid var(--c-bg);
            display: flex; align-items: center; justify-content: center;
            font-size: 2.2rem;
            font-weight: 700;
            color: #fff;
            overflow: hidden;
            position: relative;
            box-shadow: 0 4px 24px rgba(0,0,0,0.6);
        }
        .hero-avatar img {
            width: 100%; height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }
        /* LIVE ring */
        .avatar-live-ring {
            position: absolute;
            inset: -4px;
            border-radius: 50%;
            border: 2.5px solid var(--c-live);
            animation: liveRingPulse 2s ease-in-out infinite;
            display: none;
        }
        .avatar-live-ring.active { display: block; }
        @keyframes liveRingPulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50%       { opacity: 0.5; transform: scale(1.06); }
        }
        .live-pill {
            position: absolute;
            bottom: 4px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--c-live);
            color: #fff;
            font-size: 0.5rem;
            font-weight: 800;
            letter-spacing: 0.08em;
            padding: 1px 5px;
            border-radius: 3px;
            display: none;
        }
        .live-pill.active { display: block; }
 
        /* online dot */
        .avatar-online-dot {
            position: absolute;
            bottom: 4px; right: 4px;
            width: 14px; height: 14px;
            border-radius: 50%;
            background: var(--c-verified);
            border: 2px solid var(--c-bg);
            display: none;
        }
        .avatar-online-dot.active { display: block; }
 
        /* Hero action buttons */
        .hero-action-row {
            display: flex;
            gap: 0.5rem;
        }
        .btn-follow {
            padding: 0.45rem 1.1rem;
            border-radius: 999px;
            border: none;
            background: var(--c-accent2);
            color: #fff;
            font-size: 0.82rem;
            font-weight: 700;
            cursor: pointer;
            display: flex; align-items: center; gap: 0.35rem;
            transition: filter var(--transition), transform var(--transition);
            white-space: nowrap;
        }
        .btn-follow:hover { filter: brightness(1.12); transform: translateY(-1px); }
        .btn-follow.following {
            background: var(--c-surface2);
            border: 1px solid var(--c-border2);
            color: var(--c-text);
        }
        .btn-msg {
            padding: 0.45rem 0.9rem;
            border-radius: 999px;
            border: 1px solid var(--c-border2);
            background: var(--c-surface2);
            color: var(--c-text);
            font-size: 0.82rem;
            font-weight: 600;
            cursor: pointer;
            display: flex; align-items: center; gap: 0.35rem;
            transition: background var(--transition), transform var(--transition);
            white-space: nowrap;
        }
        .btn-msg:hover { background: var(--c-border2); transform: translateY(-1px); }
        .btn-icon-only {
            width: 36px; height: 36px;
            border-radius: 50%;
            border: 1px solid var(--c-border2);
            background: var(--c-surface2);
            color: var(--c-text);
            display: flex; align-items: center; justify-content: center;
            cursor: pointer;
            font-size: 0.85rem;
            transition: background var(--transition);
        }
        .btn-icon-only:hover { background: var(--c-border2); }
 
        /* Identity block */
        .hero-identity { margin-bottom: 0.75rem; }
        .hero-name {
            font-size: 1.45rem;
            font-weight: 800;
            letter-spacing: -0.02em;
            line-height: 1.15;
            display: flex; align-items: center; gap: 0.4rem;
            flex-wrap: wrap;
        }
        .verified-check {
            width: 20px; height: 20px;
            border-radius: 50%;
            background: var(--c-accent2);
            color: #fff;
            display: inline-flex; align-items: center; justify-content: center;
            font-size: 0.6rem;
            flex-shrink: 0;
        }
        .hero-tagline {
            font-size: 0.88rem;
            color: var(--c-muted);
            margin-top: 0.2rem;
            line-height: 1.5;
        }
        .hero-location {
            font-size: 0.8rem;
            color: var(--c-muted);
            display: flex; align-items: center; gap: 0.3rem;
            margin-top: 0.3rem;
        }
        .hero-location i { color: var(--c-accent); }
 
        /* -- STATS BAR ---------------------------------------- */
        .stats-bar {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0;
            background: var(--c-surface);
            border: 1px solid var(--c-border);
            border-radius: var(--radius-md);
            overflow: hidden;
            margin: 0 1rem 1rem;
        }
        .stat-cell {
            padding: 0.85rem 0.5rem;
            text-align: center;
            position: relative;
        }
        .stat-cell + .stat-cell::before {
            content: '';
            position: absolute;
            left: 0; top: 20%; height: 60%;
            width: 1px;
            background: var(--c-border);
        }
        .stat-num {
            font-size: 1.25rem;
            font-weight: 800;
            color: var(--c-text);
            line-height: 1;
            letter-spacing: -0.02em;
        }
        .stat-lbl {
            font-size: 0.68rem;
            color: var(--c-muted);
            text-transform: uppercase;
            letter-spacing: 0.06em;
            margin-top: 0.25rem;
            font-weight: 600;
        }
 
        /* -- TRUST STRIP -------------------------------------- */
        .trust-strip {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.6rem 1rem;
            flex-wrap: wrap;
        }
        .trust-badge {
            display: flex; align-items: center; gap: 0.3rem;
            font-size: 0.72rem;
            font-weight: 600;
            padding: 0.3rem 0.65rem;
            border-radius: 999px;
            border: 1px solid var(--c-border2);
            color: var(--c-muted);
            transition: all var(--transition);
        }
        .trust-badge.verified {
            border-color: rgba(34,211,163,0.4);
            color: var(--c-verified);
            background: rgba(34,211,163,0.08);
        }
        .trust-badge i { font-size: 0.65rem; }
 
        /* -- MAIN LAYOUT -------------------------------------- */
        .pp-body {
            padding: 0 1rem;
        }
        @media (min-width: 768px) {
            .pp-layout {
                display: grid;
                grid-template-columns: 280px 1fr;
                gap: 1.25rem;
                align-items: start;
            }
        }
 
        /* -- CARD --------------------------------------------- */
        .pp-card {
            background: var(--c-surface);
            border: 1px solid var(--c-border);
            border-radius: var(--radius-md);
            overflow: hidden;
            margin-bottom: 0.9rem;
        }
        .pp-card-header {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            padding: 0.9rem 1rem 0.6rem;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.07em;
            color: var(--c-muted);
            border-bottom: 1px solid var(--c-border);
        }
        .pp-card-header i { color: var(--c-accent); font-size: 0.8rem; }
        .pp-card-body { padding: 0.85rem 1rem; }
 
        /* -- TRAVEL PROFILE ROWS ------------------------------ */
        .travel-row {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 0.5rem;
            padding: 0.55rem 0;
            border-bottom: 1px solid var(--c-border);
            font-size: 0.84rem;
        }
        .travel-row:last-child { border-bottom: none; }
        .travel-key {
            color: var(--c-muted);
            font-size: 0.78rem;
            white-space: nowrap;
            flex-shrink: 0;
        }
        .travel-val {
            font-weight: 600;
            text-align: right;
            color: var(--c-text);
        }
 
        /* interest tags */
        .tags-wrap { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.3rem; }
        .interest-tag {
            font-size: 0.72rem;
            font-weight: 600;
            padding: 0.28rem 0.65rem;
            border-radius: 999px;
            background: var(--c-surface2);
            border: 1px solid var(--c-border2);
            color: var(--c-text);
        }
 
        /* -- ACTIVITY METER ----------------------------------- */
        .activity-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.45rem 0;
            font-size: 0.82rem;
            border-bottom: 1px solid var(--c-border);
        }
        .activity-row:last-child { border-bottom: none; }
        .activity-key { color: var(--c-muted); font-size: 0.78rem; }
        .activity-val { font-weight: 600; }
        .engagement-bar {
            height: 5px;
            border-radius: 999px;
            background: var(--c-surface2);
            flex: 1;
            margin-left: 0.75rem;
            overflow: hidden;
        }
        .engagement-fill {
            height: 100%;
            border-radius: 999px;
            background: linear-gradient(90deg, var(--c-accent), var(--c-accent2));
            width: 0%;
            transition: width 1s cubic-bezier(.4,0,.2,1);
        }
 
        /* -- MUTUAL BUDDIES ----------------------------------- */
        .mutual-buddies-row {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            padding: 0.5rem 0;
            border-bottom: 1px solid var(--c-border);
            font-size: 0.82rem;
            cursor: pointer;
            transition: background var(--transition);
            margin: 0 -1rem;
            padding-left: 1rem;
            padding-right: 1rem;
        }
        .mutual-buddies-row:last-child { border-bottom: none; }
        .mutual-buddies-row:hover { background: var(--c-surface2); }
        .mini-avatar {
            width: 32px; height: 32px;
            border-radius: 50%;
            background: var(--c-surface2);
            display: flex; align-items: center; justify-content: center;
            font-size: 0.72rem;
            font-weight: 700;
            overflow: hidden;
            flex-shrink: 0;
        }
        .mini-avatar img { width: 100%; height: 100%; object-fit: cover; }
        .mutual-name { font-weight: 600; flex: 1; }
        .mutual-meta { font-size: 0.7rem; color: var(--c-muted); }
 
        /* -- TOP DESTINATIONS --------------------------------- */
        .dest-row {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            padding: 0.5rem 0;
            border-bottom: 1px solid var(--c-border);
            font-size: 0.84rem;
        }
        .dest-row:last-child { border-bottom: none; }
        .dest-rank {
            width: 20px;
            text-align: center;
            font-size: 0.7rem;
            font-weight: 700;
            color: var(--c-muted);
        }
        .dest-flag { font-size: 1.1rem; }
        .dest-name { flex: 1; font-weight: 600; }
        .dest-count { font-size: 0.7rem; color: var(--c-muted); }
 
        /* -- FEATURED MEMORY ---------------------------------- */
        .featured-memory-wrap {
            border-radius: var(--radius-sm);
            overflow: hidden;
            position: relative;
            background: var(--c-surface2);
            min-height: 180px;
            cursor: pointer;
        }
        .featured-memory-wrap img {
            width: 100%; height: 100%;
            object-fit: cover;
            display: block;
        }
        .featured-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 0.75rem;
        }
        .featured-label {
            font-size: 0.65rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--c-accent);
            margin-bottom: 0.2rem;
        }
        .featured-caption {
            font-size: 0.85rem;
            font-weight: 600;
            color: #fff;
            line-height: 1.4;
        }
        .featured-loc {
            font-size: 0.7rem;
            color: rgba(255,255,255,0.65);
            margin-top: 0.15rem;
        }
 
        /* -- BADGES STRIP ------------------------------------- */
        .badges-section {
            padding: 0 1rem 0.75rem;
        }
        .badges-label {
            font-size: 0.68rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.07em;
            color: var(--c-muted);
            margin-bottom: 0.6rem;
        }
        .badges-rail {
            display: flex;
            gap: 0.65rem;
            overflow-x: auto;
            scrollbar-width: none;
            padding-bottom: 0.25rem;
        }
        .badges-rail::-webkit-scrollbar { display: none; }
        .badge-chip {
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.35rem;
            cursor: pointer;
            transition: transform var(--transition);
        }
        .badge-chip:hover { transform: translateY(-3px); }
        .badge-icon-wrap {
            width: 48px; height: 48px;
            border-radius: var(--radius-sm);
            background: linear-gradient(135deg, var(--c-accent2), var(--c-accent));
            display: flex; align-items: center; justify-content: center;
            font-size: 1.2rem;
            color: #fff;
        }
        .badge-icon-wrap.tier-gold {
            background: linear-gradient(135deg, #b8860b, #ffd700);
        }
        .badge-icon-wrap.tier-silver {
            background: linear-gradient(135deg, #708090, #c0c0c0);
        }
        .badge-name-chip {
            font-size: 0.62rem;
            font-weight: 600;
            color: var(--c-muted);
            text-align: center;
            max-width: 56px;
            line-height: 1.3;
        }
 
        /* -- TABS --------------------------------------------- */
        .pp-tabs {
            display: flex;
            gap: 0;
            border-bottom: 1px solid var(--c-border);
            margin: 0 1rem;
        }
        .pp-tab {
            flex: 1;
            padding: 0.75rem;
            border: none;
            background: none;
            color: var(--c-muted);
            font-size: 0.82rem;
            font-weight: 600;
            cursor: pointer;
            border-bottom: 2px solid transparent;
            transition: color var(--transition), border-color var(--transition);
            display: flex; align-items: center; justify-content: center; gap: 0.35rem;
            margin-bottom: -1px;
        }
        .pp-tab.active {
            color: var(--c-text);
            border-bottom-color: var(--c-accent);
        }
        .tab-count {
            background: var(--c-surface2);
            border-radius: 999px;
            padding: 0.1rem 0.4rem;
            font-size: 0.65rem;
        }
 
        /* -- MEMORIES GRID ------------------------------------ */
        .tab-panel { display: none; }
        .tab-panel.active { display: block; }
 
        .memories-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2px;
            margin-top: 2px;
        }
        .memory-cell {
            aspect-ratio: 1;
            background: var(--c-surface2);
            overflow: hidden;
            position: relative;
            cursor: pointer;
        }
        .memory-cell:hover .memory-overlay { opacity: 1; }
        .memory-cell img {
            width: 100%; height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.35s ease;
        }
        .memory-cell:hover img { transform: scale(1.05); }
        .memory-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0,0,0,0.45);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity var(--transition);
        }
        .memory-overlay i { color: #fff; font-size: 1.2rem; }
        .memory-type-pill {
            position: absolute;
            top: 5px; left: 5px;
            font-size: 0.55rem;
            font-weight: 700;
            letter-spacing: 0.06em;
            padding: 1px 5px;
            border-radius: 3px;
            text-transform: uppercase;
        }
        .memory-type-pill.fading {
            background: rgba(255,107,53,0.85);
            color: #fff;
        }
 
        /* -- TRIPS GRID --------------------------------------- */
        .trips-grid {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            padding: 0.75rem 0;
        }
        .trip-card-item {
            background: var(--c-surface);
            border: 1px solid var(--c-border);
            border-radius: var(--radius-md);
            padding: 0.85rem 1rem;
            display: flex;
            align-items: center;
            gap: 0.9rem;
            cursor: pointer;
            transition: border-color var(--transition), box-shadow var(--transition);
        }
        .trip-card-item:hover {
            border-color: var(--c-border2);
            box-shadow: var(--shadow-card);
        }
        .trip-icon {
            width: 44px; height: 44px;
            border-radius: var(--radius-sm);
            background: linear-gradient(135deg, var(--c-accent2), var(--c-accent));
            display: flex; align-items: center; justify-content: center;
            font-size: 1.1rem;
            color: #fff;
            flex-shrink: 0;
        }
        .trip-info { flex: 1; min-width: 0; }
        .trip-name {
            font-weight: 700;
            font-size: 0.9rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .trip-meta {
            font-size: 0.72rem;
            color: var(--c-muted);
            margin-top: 0.15rem;
            display: flex;
            gap: 0.5rem;
            align-items: center;
        }
        .trip-status {
            font-size: 0.65rem;
            font-weight: 700;
            padding: 0.2rem 0.5rem;
            border-radius: 999px;
        }
        .trip-status.active {
            background: rgba(34,211,163,0.15);
            color: var(--c-verified);
        }
        .trip-status.planned {
            background: rgba(124,92,252,0.15);
            color: var(--c-accent2);
        }
        .trip-status.past {
            background: var(--c-surface2);
            color: var(--c-muted);
        }
 
        /* -- EMPTY STATES ------------------------------------- */
        .empty-state {
            text-align: center;
            padding: 2.5rem 1rem;
            color: var(--c-muted);
        }
        .empty-state i {
            font-size: 2rem;
            margin-bottom: 0.75rem;
            display: block;
            opacity: 0.5;
        }
        .empty-state p { font-size: 0.84rem; line-height: 1.6; }
 
        /* -- REPORT BTN --------------------------------------- */
        .report-btn {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            width: 100%;
            padding: 0.7rem 1rem;
            border: none;
            background: none;
            color: var(--c-muted);
            font-size: 0.8rem;
            cursor: pointer;
            text-align: left;
            transition: color var(--transition);
        }
        .report-btn:hover { color: #ef4444; }
 
        /* -- BOTTOM PADDING ----------------------------------- */
        .pp-bottom-space {
            height: calc(var(--bottom-nav-height, 76px) + 24px + env(safe-area-inset-bottom, 0px));
        }
 
        /* -- BACK BUTTON -------------------------------------- */
        .back-btn {
            display: flex; align-items: center; gap: 0.35rem;
            border: none; background: none;
            color: var(--c-text);
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            padding: 0.35rem 0.5rem;
            border-radius: var(--radius-sm);
            transition: background var(--transition);
        }
        .back-btn:hover { background: var(--c-surface2); }
 
        /* -- MODAL OVERLAY ------------------------------------ */
        .modal-overlay {
            position: fixed; inset: 0; z-index: 200;
            background: rgba(0,0,0,0.65);
            display: none; align-items: flex-end; justify-content: center;
        }
        .modal-overlay.active { display: flex; }
        .modal-sheet {
            background: var(--c-surface);
            border-radius: var(--radius-lg) var(--radius-lg) 0 0;
            padding: 1.25rem;
            width: 100%;
            max-width: 500px;
            max-height: 85vh;
            overflow-y: auto;
        }
        .modal-handle {
            width: 36px; height: 4px;
            border-radius: 999px;
            background: var(--c-border2);
            margin: 0 auto 1.1rem;
        }
        .modal-title { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
        .modal-footer { display: flex; gap: 0.5rem; margin-top: 1rem; }
        .modal-footer button { flex: 1; padding: 0.7rem; border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 600; cursor: pointer; border: none; }
        .btn-cancel { background: var(--c-surface2); color: var(--c-text); }
        .btn-submit { background: var(--c-accent); color: #fff; }
 
        /* -- SKELETON LOADERS --------------------------------- */
        .skeleton {
            background: linear-gradient(90deg, var(--c-surface2) 25%, var(--c-border2) 50%, var(--c-surface2) 75%);
            background-size: 200% 100%;
            animation: shimmer 1.6s infinite;
            border-radius: 4px;
        }
        @keyframes shimmer {
            0%   { background-position: 200% center; }
            100% { background-position: -200% center; }
        }
 
        /* -- SCROLLBAR ---------------------------------------- */
        ::-webkit-scrollbar { width: 4px; }
        ::-webkit-scrollbar-track { background: transparent; }
        ::-webkit-scrollbar-thumb { background: var(--c-border2); border-radius: 999px; }
 
        /* -- RESPONSIVE --------------------------------------- */
        @media (min-width: 768px) {
            .hero-cover { height: 230px; }
            .hero-avatar { width: 108px; height: 108px; font-size: 2.6rem; }
            .hero-name { font-size: 1.8rem; }
            /* Centered content column — the cover stays full-bleed */
            .hero-body,
            .badges-section,
            .pp-body {
                max-width: 1080px;
                margin-left: auto;
                margin-right: auto;
                padding-left: 1.5rem;
                padding-right: 1.5rem;
            }
            .stats-bar {
                max-width: calc(1080px - 3rem);
                margin: 0 auto 1.25rem;
            }
            .trust-strip { padding-left: 0; padding-right: 0; }
            .pp-tabs { margin: 0; }
            .memories-grid { grid-template-columns: repeat(3, 1fr); }
        }
        @media (min-width: 1024px) {
            .memories-grid { grid-template-columns: repeat(4, 1fr); gap: 4px; }
        }
 
        /* inherited bottom nav & drawer from base - keep original styles */
        .bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; }
        .ai-fab {
            position: fixed;
            bottom: 80px; right: 1.25rem;
            z-index: 110;
            width: 48px; height: 48px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--c-accent2), var(--c-accent));
            color: #fff;
            display: flex; align-items: center; justify-content: center;
            font-size: 1.1rem;
            text-decoration: none;
            box-shadow: 0 4px 20px rgba(124,92,252,0.4);
        }
        .ai-fab-pulse {
            position: absolute; inset: -4px;
            border-radius: 50%;
            border: 2px solid var(--c-accent2);
            animation: liveRingPulse 2.5s ease-in-out infinite;
        }