.profile-gradient { background: linear-gradient(135deg, #FF5722 0%, #FF9800 100%); }
        .profile-page {
            --profile-section-title-size: 22px;
            --profile-section-title-size-mobile: 20px;
            width: min(calc(100vw - 32px), 1280px);
            max-width: 1280px !important;
            margin-left: auto;
            margin-right: auto;
            box-sizing: border-box;
        }
        @media (min-width: 768px) {
            .profile-content-layout {
                gap: 20px !important;
            }
            .profile-content-layout > aside {
                width: 360px !important;
                flex: 0 0 360px;
            }
        }
        .profile-page .profile-route-experience__title,
        .profile-page .profile-travel-map__title,
        .profile-page .profile-events-card__header h2,
        .profile-page #profile-photos > div:first-child h3,
        .profile-page #profile-posts > div:first-child h3,
        .profile-page #profile-awards > div:first-child h3,
        .profile-page #profile-communities > div:first-child h3,
        .profile-page aside > div > h3,
        .profile-page aside > div > .flex h3 {
            color: #0f172a;
            font-size: var(--profile-section-title-size) !important;
            line-height: 1.1 !important;
            font-weight: 950 !important;
            letter-spacing: 0 !important;
        }
        .profile-header-mobile-level-card {
            display: none !important;
        }
        .profile-header-level-card {
            display: flex !important;
            width: 90px !important;
            max-width: 90px !important;
            margin-top: 8px;
            padding: 7px 7px !important;
            border-radius: 14px !important;
            border-color: #fed7aa !important;
            background: #fff7ed !important;
            box-shadow: 0 10px 20px rgba(249, 115, 22, .10) !important;
            transform: none !important;
        }
        .profile-header-level-card > div:nth-child(1) {
            max-width: 100%;
            color: #ea580c !important;
            font-size: 9px !important;
            line-height: 1.1 !important;
            letter-spacing: 0 !important;
            text-transform: none !important;
        }
        .profile-header-level-card > div:nth-child(2) {
            max-width: 100%;
            margin-top: 3px !important;
            color: #0f172a !important;
            font-size: 9px !important;
            line-height: 1.1 !important;
            letter-spacing: 0 !important;
            text-transform: none !important;
        }
        .profile-header-level-card > div:nth-child(3),
        .profile-header-level-card > div:nth-child(4) {
            display: block !important;
            max-width: 100%;
            margin-top: 5px !important;
            color: #64748b !important;
            font-size: 8px !important;
            line-height: 1.15 !important;
            letter-spacing: 0 !important;
            text-transform: none !important;
            white-space: nowrap;
        }
        .profile-header-level-card > div:nth-child(4) {
            color: #94a3b8 !important;
        }
        .profile-header-level-card > div:nth-child(5) {
            width: 100% !important;
            height: 4px !important;
            margin-top: 6px !important;
            background: #ffedd5 !important;
        }
        .profile-header-avatar > .absolute {
            background: transparent !important;
            padding: 0 !important;
        }
        @media (min-width: 768px) {
            .profile-header-cover {
                height: 260px !important;
            }
            .profile-header-info {
                padding: 0 34px 28px !important;
            }
            .profile-header-grid {
                display: grid !important;
                grid-template-columns: 154px minmax(0, 1fr);
                align-items: start;
                column-gap: 30px !important;
                margin-bottom: 0 !important;
            }
            .profile-header-avatar-col {
                width: 154px !important;
                margin-top: -74px !important;
            }
            .profile-header-avatar {
                width: 146px !important;
                height: 146px !important;
                margin-bottom: 0 !important;
                box-shadow: 0 20px 42px rgba(15, 23, 42, .14) !important;
            }
            .profile-header-avatar > .absolute {
                background: transparent !important;
                padding: 0 !important;
            }
            .profile-header-level-card {
                display: flex !important;
                width: 154px !important;
                max-width: 154px !important;
                margin-top: 14px;
                padding: 11px 10px !important;
                border-radius: 16px !important;
                border-color: #fed7aa !important;
                background: #fff7ed !important;
                box-shadow: 0 12px 26px rgba(249, 115, 22, .10) !important;
                transform: none !important;
            }
            .profile-header-level-card > div:nth-child(1) {
                max-width: 100%;
                color: #ea580c !important;
                font-size: 11px !important;
                line-height: 1.1 !important;
                letter-spacing: 0 !important;
                text-transform: none !important;
            }
            .profile-header-level-card > div:nth-child(2) {
                max-width: 100%;
                margin-top: 5px !important;
                color: #0f172a !important;
                font-size: 11px !important;
                line-height: 1.1 !important;
                letter-spacing: 0 !important;
                text-transform: none !important;
            }
            .profile-header-level-card > div:nth-child(3) {
                display: block !important;
                margin-top: 8px !important;
                color: #64748b !important;
                font-size: 10px !important;
                line-height: 1.15 !important;
                letter-spacing: 0 !important;
                text-transform: none !important;
            }
            .profile-header-level-card > div:nth-child(4) {
                display: block !important;
                margin-top: 4px !important;
                color: #94a3b8 !important;
                font-size: 9px !important;
                line-height: 1.15 !important;
                letter-spacing: 0 !important;
                text-transform: none !important;
            }
            .profile-header-level-card > div:nth-child(5) {
                width: 100% !important;
                height: 5px !important;
                margin-top: 8px !important;
                background: #ffedd5 !important;
            }
            .profile-header-main {
                padding-top: 28px !important;
            }
            .profile-header-main-row {
                display: grid !important;
                grid-template-columns: minmax(0, 1fr) auto;
                align-items: start !important;
                column-gap: 28px !important;
            }
            .profile-header-actions {
                padding-top: 0;
            }
            .profile-header-action-row {
                gap: 8px !important;
                flex-wrap: wrap;
                justify-content: flex-end;
                max-width: 560px;
            }
            .profile-header-action-row > a,
            .profile-header-action-row > button,
            .profile-header-action-row > .relative > button {
                min-height: 48px !important;
                padding: 0 20px !important;
                border-radius: 16px !important;
                font-size: 11px !important;
                letter-spacing: 0 !important;
                text-transform: none !important;
            }
            .profile-header-action-row summary {
                width: 48px !important;
                height: 48px !important;
                border-radius: 16px !important;
            }
        }
        .profile-header-name {
            display: flex !important;
            align-items: center;
            gap: 10px;
            max-width: 100%;
            color: #0f172a;
            font-size: 28px !important;
            line-height: 1.05 !important;
            font-weight: 900 !important;
            letter-spacing: 0 !important;
        }
        .profile-header-name-text {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .profile-verified-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 auto;
            width: 23px;
            height: 23px;
            background-color: #ff5a1f;
            filter: drop-shadow(0 8px 14px rgba(255, 90, 31, .22));
        }
        .profile-header-identity {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 3px;
            margin-top: 2px;
        }
        .profile-header-meta {
            color: #f97316;
            font-size: 13px;
            line-height: 1.25;
            font-weight: 900;
            letter-spacing: 0;
        }
        .profile-header-city {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            margin: 2px 0 3px;
            color: #64748b;
            font-size: 12px;
            line-height: 1.25;
            font-weight: 800;
            letter-spacing: 0;
        }
        .profile-header-city svg {
            flex: 0 0 auto;
            width: 12px;
            height: 12px;
            color: #94a3b8;
        }
        .profile-header-city span {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .profile-header-bio {
            max-width: 620px;
            margin: 0;
            color: #475569;
            font-size: 14px;
            line-height: 1.45;
            font-weight: 700;
            letter-spacing: 0;
            white-space: normal;
        }
        .profile-header-stats {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 16px;
        }
        .profile-header-stat {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 7px;
            min-height: 42px;
            padding: 9px 14px;
            border: 1px solid #e5e7eb;
            border-radius: 15px;
            background: #ffffff;
            color: #64748b;
            box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
            font-family: inherit;
            white-space: nowrap;
        }
        .profile-header-stat strong {
            color: #0f172a;
            font-size: 17px;
            line-height: 1;
            font-weight: 950;
            letter-spacing: 0;
        }
        .profile-header-stat span {
            color: #64748b;
            font-size: 11px;
            line-height: 1;
            font-weight: 900;
            letter-spacing: 0;
        }
        .profile-header-stat-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 auto;
            width: 24px;
            height: 24px;
            color: #0f172a;
        }
        .profile-header-stat-icon svg {
            display: block;
            width: 100%;
            height: 100%;
        }
        @media (min-width: 768px) {
            .profile-header-stats {
                width: fit-content;
                max-width: min(100%, 700px);
                display: flex;
                flex-wrap: nowrap;
                gap: 0;
                overflow: hidden;
                border: 1px solid #e5e7eb;
                border-radius: 16px;
                background: #ffffff;
                box-shadow: 0 12px 30px rgba(15, 23, 42, .05);
            }
            .profile-header-stat {
                flex: 0 1 168px;
                display: grid;
                grid-template-columns: 22px minmax(0, 1fr);
                grid-template-rows: auto auto;
                min-width: 142px;
                min-height: 58px;
                column-gap: 9px;
                row-gap: 2px;
                align-content: center;
                justify-content: stretch;
                padding: 10px 14px;
                border: 0;
                border-right: 1px solid #e5e7eb;
                border-radius: 0;
                background: transparent;
                box-shadow: none;
            }
            .profile-header-stat:last-child {
                border-right: 0;
            }
            .profile-header-stat strong {
                min-width: 0;
                font-size: 19px;
                line-height: 1;
            }
            .profile-header-stat span:not(.profile-header-stat-icon) {
                min-width: 0;
                max-width: 100%;
                overflow: hidden;
                text-overflow: ellipsis;
                font-size: 10px;
                line-height: 1.1;
                text-transform: none;
                white-space: nowrap;
            }
            .profile-header-stat-icon {
                grid-row: 1 / span 2;
                width: 22px;
                height: 22px;
            }
        }
        .profile-header-stat--button {
            cursor: pointer;
            transition: border-color .2s ease, color .2s ease, transform .2s ease;
        }
        .profile-header-stat--button:hover {
            border-color: #fdba74;
            color: #f97316;
            transform: translateY(-1px);
        }
        .profile-header-stat--button:hover strong,
        .profile-header-stat--button:hover span {
            color: #f97316;
        }
        .profile-header-badges {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 8px;
            margin-top: 14px;
        }
        .profile-header-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 7px;
            min-height: 32px;
            padding: 8px 13px;
            border: 1px solid transparent;
            border-radius: 999px;
            font-size: 11px;
            line-height: 1;
            font-weight: 800;
            letter-spacing: 0;
            text-transform: none;
            font-family: inherit;
            white-space: nowrap;
        }
        button.profile-header-badge {
            cursor: pointer;
        }
        .profile-header-badge--level {
            border-color: #111827;
            background: #111827;
            color: #ffffff;
        }
        .profile-header-badge--level span + span {
            color: #fed7aa;
        }
        .profile-header-badge--orange {
            background: #fff7ed;
            color: #ea580c;
        }
        .profile-header-badge--green {
            background: #ecfdf5;
            color: #059669;
        }
        .profile-header-badge--blue {
            background: #eff6ff;
            color: #2563eb;
        }
        .profile-header-badge--gray {
            background: #f1f5f9;
            color: #475569;
        }
        .tab-btn { @apply pb-4 text-sm font-black uppercase tracking-widest border-b-2 transition-all duration-200; }
        .tab-btn-active { @apply border-orange-500 text-gray-900; }
        .tab-btn-inactive { @apply border-transparent text-gray-400 hover:text-gray-600; }
        .route-item { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
        .route-item:hover { transform: translateY(-2px); }
        .route-item h3 { letter-spacing: -0.02em; }
        .minimap-container { width: 100% !important; height: 100% !important; display: block !important; }
        .minimap-container canvas { width: 100% !important; height: 100% !important; display: block !important; outline: none; }
        .profile-route-cover-line svg { width: 100%; height: 100%; display: block; }
        .profile-route-cover-line path {
            fill: none;
            stroke-linecap: round;
            stroke-linejoin: round;
            vector-effect: non-scaling-stroke;
        }
        .profile-route-experience__header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 16px;
            margin-bottom: 18px;
        }
        .profile-route-experience__title {
            margin: 0;
            color: #0f172a;
            font-size: 22px;
            line-height: 1.1;
            font-weight: 900;
            letter-spacing: 0;
        }
        .profile-route-experience__summary {
            margin-top: 7px;
            color: #64748b;
            font-size: 12px;
            line-height: 1.45;
            font-weight: 800;
        }
        .profile-route-experience__all {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            flex: 0 0 auto;
            min-height: 34px;
            padding: 8px 12px;
            border-radius: 14px;
            background: #fff7ed;
            color: #f97316;
            border: 1px solid #fed7aa;
            font-size: 10px;
            line-height: 1;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 0.07em;
            transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
        }
        .profile-route-experience__all:hover {
            background: #ffedd5;
            border-color: #fdba74;
            color: #ea580c;
            transform: translateX(2px);
        }
        .profile-route-experience__all-icon {
            width: 14px;
            height: 14px;
            transition: transform 180ms ease;
        }
        .profile-route-experience__all:hover .profile-route-experience__all-icon {
            transform: translateX(2px);
        }
        .profile-route-experience__tabs {
            display: flex;
            gap: 8px;
            margin-bottom: 16px;
            overflow-x: auto;
            padding-bottom: 2px;
            scrollbar-width: none;
        }
        .profile-route-experience__tabs::-webkit-scrollbar {
            display: none;
        }
        .profile-route-experience__tab {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 7px;
            flex: 0 0 auto;
            min-height: 34px;
            padding: 9px 12px;
            border: 0;
            border-radius: 13px;
            background: #f8fafc;
            color: #475569;
            font-size: 10px;
            line-height: 1;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 0.07em;
            cursor: pointer;
            transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
        }
        .profile-route-experience__tab:hover {
            background: #eef2f7;
            color: #0f172a;
        }
        .profile-route-experience__tab.is-active {
            background: #0f172a;
            color: #ffffff;
        }
        .profile-route-experience__tab-count {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 18px;
            height: 18px;
            padding: 0 6px;
            border-radius: 999px;
            background: rgba(15, 23, 42, 0.08);
            font-size: 9px;
            letter-spacing: 0;
        }
        .profile-route-experience__tab.is-active .profile-route-experience__tab-count {
            background: rgba(255, 255, 255, 0.16);
        }
        .profile-route-grid {
            display: flex;
            gap: 16px;
            overflow-x: auto;
            overflow-y: hidden;
            margin: -2px -2px 0;
            padding: 2px 2px 10px;
            scroll-padding-left: 2px;
            scroll-snap-type: x mandatory;
            scrollbar-width: none;
            -webkit-overflow-scrolling: touch;
        }
        .profile-route-grid::-webkit-scrollbar {
            display: none;
        }
        .profile-route-card {
            display: flex;
            flex: 0 0 clamp(260px, calc((100% - 32px) / 3), 320px);
            min-width: 0;
            min-height: 100%;
            flex-direction: column;
            overflow: hidden;
            scroll-snap-align: start;
            border: 1px solid #e5e7eb;
            border-radius: 24px;
            background: #f8fafc;
            color: inherit;
            box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
            transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
        }
        .profile-route-card:hover {
            transform: translateY(-3px);
            border-color: #fed7aa;
            background: #ffffff;
            box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
        }
        .profile-route-card__media {
            position: relative;
            aspect-ratio: 16 / 9;
            overflow: hidden;
            background: #111827;
        }
        .profile-route-card__image,
        .profile-route-card__fallback {
            width: 100%;
            height: 100%;
            display: block;
        }
        .profile-route-card__image {
            object-fit: cover;
            transition: transform 500ms ease;
        }
        .profile-route-card:hover .profile-route-card__image {
            transform: scale(1.03);
        }
        .profile-route-card__fallback {
            background:
                radial-gradient(circle at 72% 88%, rgba(249, 115, 22, 0.52), transparent 36%),
                linear-gradient(145deg, #111827 0%, #1f2937 58%, #7c2d12 100%);
        }
        .profile-route-card__shade {
            position: absolute;
            inset: 0;
            z-index: 1;
            pointer-events: none;
            background: linear-gradient(to top, rgba(15, 23, 42, 0.62), rgba(15, 23, 42, 0.18) 45%, rgba(15, 23, 42, 0.04));
        }
        .profile-route-card__line {
            position: absolute;
            inset: 0;
            z-index: 2;
            pointer-events: none;
        }
        .profile-route-card__badges {
            position: absolute;
            left: 12px;
            right: 12px;
            bottom: 12px;
            z-index: 3;
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            align-items: center;
        }
        .profile-route-card__badge {
            max-width: min(170px, 100%);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            border-radius: 9px;
            padding: 5px 8px;
            font-size: 8px;
            line-height: 1;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
        }
        .profile-route-card__badge--light {
            background: rgba(255, 255, 255, 0.94);
            color: #0f172a;
        }
        .profile-route-card__badge--orange {
            background: #f97316;
            color: #ffffff;
        }
        .profile-route-card__featured {
            position: absolute;
            top: 12px;
            right: 12px;
            z-index: 3;
            max-width: 130px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            border: 1px solid rgba(255, 255, 255, 0.72);
            border-radius: 999px;
            background: rgba(15, 23, 42, 0.72);
            color: #ffffff;
            padding: 6px 9px;
            font-size: 8px;
            line-height: 1;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            backdrop-filter: blur(10px);
            box-shadow: 0 8px 22px rgba(15, 23, 42, 0.16);
        }
        .profile-route-card__body {
            display: flex;
            min-width: 0;
            flex: 1;
            flex-direction: column;
            padding: 15px 16px 16px;
        }
        .profile-route-card__title {
            margin: 0;
            overflow: hidden;
            color: #0f172a;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: 14px;
            line-height: 1.25;
            font-weight: 900;
            letter-spacing: 0;
            transition: color 180ms ease;
        }
        .profile-route-card:hover .profile-route-card__title {
            color: #f97316;
        }
        .profile-route-card__location {
            display: flex;
            align-items: center;
            gap: 5px;
            min-width: 0;
            margin: 7px 0 0;
            color: #64748b;
            font-size: 12px;
            line-height: 1.25;
            font-weight: 700;
        }
        .profile-route-card__location span {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .profile-route-card__location-icon {
            width: 13px;
            height: 13px;
            flex: 0 0 auto;
            color: #94a3b8;
        }
        .profile-route-card__metrics {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 5px;
            margin-top: 12px;
            color: #475569;
            font-size: 11px;
            line-height: 1.2;
            font-weight: 800;
        }
        .profile-route-card__elevation {
            color: #f97316;
        }
        .profile-route-card__dot {
            color: #cbd5e1;
            font-weight: 900;
        }
        .profile-route-empty {
            border: 1px dashed #e5e7eb;
            border-radius: 22px;
            background: #f8fafc;
            padding: 24px 20px;
        }
        .profile-route-empty__title {
            margin: 0;
            color: #0f172a;
            font-size: 14px;
            line-height: 1.3;
            font-weight: 900;
        }
        .profile-route-empty__text {
            margin: 6px 0 0;
            color: #94a3b8;
            font-size: 12px;
            line-height: 1.45;
            font-weight: 700;
        }
        .profile-route-empty__action {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-top: 16px;
            border-radius: 14px;
            background: #0f172a;
            color: #ffffff;
            padding: 11px 14px;
            font-size: 10px;
            line-height: 1;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 0.07em;
            transition: background-color 180ms ease, transform 180ms ease;
        }
        .profile-route-empty__action:hover {
            background: #f97316;
            transform: translateY(-1px);
        }
        .profile-travel-map {
            overflow: hidden;
        }
        .profile-travel-map__header > div:first-child {
            flex: 1 1 340px;
            min-width: 0;
        }
        .profile-travel-map__header {
            display: flex;
            flex-wrap: wrap;
            align-items: flex-start;
            justify-content: space-between;
            gap: 16px;
            margin-bottom: 14px;
        }
        .profile-travel-map__eyebrow {
            margin: 0 0 8px;
            color: #f97316;
            font-size: 11px;
            line-height: 1;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 0.1em;
        }
        .profile-travel-map__title {
            margin: 0;
            max-width: 100%;
            overflow: visible;
            text-overflow: clip;
            white-space: normal;
            color: #0f172a;
            font-size: clamp(23px, 2.7vw, 30px);
            line-height: 1.08;
            font-weight: 950;
            letter-spacing: 0;
        }
        .profile-travel-map__summary {
            display: block;
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            margin: 12px 0 0;
            color: #64748b;
            font-size: 14px;
            line-height: 1.25;
            font-weight: 800;
        }
        .profile-travel-map__summary span {
            display: inline-block;
            margin: 0 8px;
            color: #cbd5e1;
            font-weight: 900;
        }
        .profile-travel-map__all {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            min-height: 48px;
            flex: 0 0 auto;
            padding: 0 18px;
            border: 1px solid #e5e7eb;
            border-radius: 16px;
            background: #ffffff;
            color: #1f2937;
            box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
            font-size: 13px;
            line-height: 1;
            font-weight: 900;
            white-space: nowrap;
            cursor: pointer;
            transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
        }
        .profile-travel-map__all:hover {
            color: #f97316;
            border-color: #fed7aa;
            transform: translateY(-1px);
            box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
        }
        .profile-travel-map__all-icon {
            width: 18px;
            height: 18px;
            transition: transform 180ms ease;
        }
        .profile-travel-map__all:hover .profile-travel-map__all-icon {
            transform: translateX(2px);
        }
        .profile-travel-map__map-shell {
            position: relative;
            width: 100%;
            height: clamp(220px, 28vw, 260px);
            min-height: 220px;
            overflow: hidden;
            border: 1px solid #e5e7eb;
            border-radius: 24px;
            background: #eef2f7;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 14px 34px rgba(15, 23, 42, 0.07);
        }
        .profile-travel-map__canvas {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
        }
        .profile-travel-map__canvas .maplibregl-canvas {
            pointer-events: none;
        }
        .profile-travel-map__map-badge {
            position: absolute;
            left: 14px;
            bottom: 14px;
            z-index: 3;
            display: inline-flex;
            align-items: center;
            min-height: 32px;
            max-width: calc(100% - 28px);
            padding: 0 12px;
            border: 1px solid rgba(255, 255, 255, 0.72);
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.9);
            color: #334155;
            box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
            backdrop-filter: blur(12px);
            font-size: 11px;
            line-height: 1;
            font-weight: 900;
            white-space: nowrap;
        }
        .profile-travel-map__filters {
            position: absolute;
            left: 18px;
            bottom: 18px;
            z-index: 3;
            display: flex;
            flex-wrap: nowrap;
            gap: 8px;
            max-width: calc(100% - 36px);
            overflow-x: auto;
            padding: 2px;
            scrollbar-width: none;
        }
        .profile-travel-map__filters::-webkit-scrollbar {
            display: none;
        }
        .profile-travel-map__filter {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            min-height: 42px;
            flex: 0 0 auto;
            padding: 0 15px;
            border: 1px solid rgba(226, 232, 240, 0.92);
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.92);
            color: #334155;
            box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
            backdrop-filter: blur(14px);
            font-size: 12px;
            line-height: 1;
            font-weight: 900;
            white-space: nowrap;
            cursor: pointer;
            transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
        }
        .profile-travel-map__filter svg {
            width: 18px;
            height: 18px;
            flex: 0 0 auto;
        }
        .profile-travel-map__filter:hover {
            transform: translateY(-1px);
            border-color: #fed7aa;
            color: #f97316;
        }
        .profile-travel-map__filter.is-active {
            background: #0f172a;
            border-color: #0f172a;
            color: #ffffff;
        }
        .profile-travel-map__modal-header {
            flex-wrap: wrap;
        }
        .profile-travel-map__modal-header > div:first-child {
            flex: 1 1 220px;
            min-width: 0;
        }
        .profile-travel-map__modal-filters {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            flex: 0 1 auto;
            min-width: 0;
            overflow-x: auto;
            padding: 2px;
            scrollbar-width: none;
        }
        .profile-travel-map__modal-filters::-webkit-scrollbar {
            display: none;
        }
        .profile-travel-map__filter--modal {
            min-height: 36px;
            padding: 0 13px;
            border-radius: 999px;
            box-shadow: none;
            backdrop-filter: none;
            font-size: 11px;
        }
        .profile-travel-map__places {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-top: 14px;
            min-width: 0;
        }
        .profile-travel-map__places-title {
            flex: 0 0 auto;
            margin: 0;
            color: #0f172a;
            font-size: 14px;
            line-height: 1;
            font-weight: 900;
            white-space: nowrap;
        }
        .profile-travel-map__place-list {
            display: flex;
            flex: 1 1 auto;
            gap: 10px;
            min-width: 0;
            overflow-x: auto;
            padding: 2px 2px 4px;
            scrollbar-width: none;
        }
        .profile-travel-map__place-list::-webkit-scrollbar {
            display: none;
        }
        .profile-travel-map__place {
            display: inline-flex;
            align-items: center;
            gap: 9px;
            flex: 0 0 auto;
            min-height: 38px;
            max-width: 205px;
            border: 1px solid #e5e7eb;
            border-radius: 999px;
            background: #ffffff;
            color: #334155;
            padding: 0 13px 0 10px;
            font-size: 12px;
            line-height: 1;
            font-weight: 850;
            white-space: nowrap;
            box-shadow: 0 6px 18px rgba(15, 23, 42, 0.045);
            transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
        }
        .profile-travel-map__place:hover {
            color: #f97316;
            border-color: #fed7aa;
            transform: translateY(-1px);
            box-shadow: 0 14px 28px rgba(15, 23, 42, 0.09);
        }
        .profile-travel-map__place-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 22px;
            height: 22px;
            flex: 0 0 auto;
            border-radius: 999px;
            background: #fff7ed;
            color: #f97316;
        }
        .profile-travel-map__place-icon svg {
            width: 14px;
            height: 14px;
        }
        .profile-travel-map__place-name {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .profile-travel-map__place-count {
            flex: 0 0 auto;
            color: #f97316;
            font-weight: 950;
        }
        .profile-travel-map__place--more {
            border-style: dashed;
            color: #475569;
            cursor: pointer;
        }
        .profile-travel-map__place--more svg {
            width: 16px;
            height: 16px;
        }
        .profile-travel-map__stats {
            display: flex;
            flex-wrap: nowrap;
            gap: 8px;
            width: 100%;
            max-width: 100%;
            margin: -4px 0 14px;
            overflow-x: auto;
            padding: 1px 2px 4px;
            scrollbar-width: none;
        }
        .profile-travel-map__stats::-webkit-scrollbar {
            display: none;
        }
        .profile-travel-stat {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            flex: 0 0 auto;
            min-width: 0;
            min-height: 46px;
            padding: 0 12px 0 10px;
            border: 1px solid #e5e7eb;
            border-radius: 16px;
            background: #ffffff;
            box-shadow: 0 8px 20px rgba(15, 23, 42, 0.045);
        }
        .profile-travel-stat__icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            flex: 0 0 28px;
            border-radius: 999px;
            color: var(--travel-stat-color, #f97316);
            background: var(--travel-stat-bg, #fff7ed);
        }
        .profile-travel-stat__icon svg {
            width: 16px;
            height: 16px;
        }
        .profile-travel-stat__value {
            max-width: 92px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            color: #0f172a;
            font-size: 17px;
            line-height: 1;
            font-weight: 950;
            letter-spacing: 0;
        }
        .profile-travel-stat__label {
            max-width: 112px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            color: #64748b;
            font-size: 12px;
            line-height: 1;
            font-weight: 800;
        }
        .profile-travel-stat--green {
            --travel-stat-color: #16a34a;
            --travel-stat-bg: #dcfce7;
        }
        .profile-travel-stat--blue {
            --travel-stat-color: #2563eb;
            --travel-stat-bg: #dbeafe;
        }
        .profile-travel-stat--purple {
            --travel-stat-color: #7c3aed;
            --travel-stat-bg: #f3e8ff;
        }
        .profile-travel-map__empty {
            border: 1px solid #e5e7eb;
            border-radius: 24px;
            background: #f8fafc;
            padding: 24px;
        }
        .profile-travel-map__empty-title {
            margin: 0;
            color: #0f172a;
            font-size: 15px;
            line-height: 1.3;
            font-weight: 900;
        }
        .profile-travel-map__empty-text {
            margin: 7px 0 0;
            color: #64748b;
            font-size: 13px;
            line-height: 1.45;
            font-weight: 700;
        }
        .profile-travel-map__empty-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 18px;
        }
        .profile-travel-map__empty-action {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 40px;
            border: 1px solid #e5e7eb;
            border-radius: 14px;
            background: #ffffff;
            color: #334155;
            padding: 0 14px;
            font-size: 10px;
            line-height: 1;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 0.07em;
            transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
        }
        .profile-travel-map__empty-action:hover {
            border-color: #fed7aa;
            color: #f97316;
        }
        .profile-travel-map__empty-action--dark {
            border-color: #0f172a;
            background: #0f172a;
            color: #ffffff;
        }
        .profile-travel-popup {
            min-width: 220px;
            padding: 6px 5px 4px;
            color: #0f172a;
        }
        .profile-travel-popup__title {
            margin: 0 0 7px;
            font-size: 15px;
            line-height: 1.2;
            font-weight: 950;
            letter-spacing: 0;
        }
        .profile-travel-popup__line {
            margin: 0 0 9px;
            color: #64748b;
            font-size: 12px;
            line-height: 1.35;
            font-weight: 800;
        }
        .profile-travel-popup__latest {
            margin: 0 0 8px;
            font-size: 13px;
            line-height: 1.35;
            font-weight: 850;
        }
        .profile-travel-popup__metrics {
            display: flex;
            flex-wrap: wrap;
            gap: 7px;
            margin-bottom: 12px;
            color: #64748b;
            font-size: 12px;
            line-height: 1;
            font-weight: 850;
        }
        .profile-travel-popup__metrics span + span {
            color: #f97316;
        }
        .profile-travel-popup__link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: #f97316;
            font-size: 12px;
            line-height: 1;
            font-weight: 950;
        }
        .maplibregl-popup-content:has(.profile-travel-popup) {
            border-radius: 18px;
            padding: 12px 14px;
            box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
        }
        .profile-events-card {
            overflow: hidden;
            border: 1px solid #e5e7eb;
            border-radius: 34px;
            background: #ffffff;
            padding: 24px;
            box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
        }
        .profile-events-card__header {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 16px;
            margin-bottom: 18px;
        }
        .profile-events-card__header p {
            margin: 0 0 7px;
            color: #f97316;
            font-size: 10px;
            line-height: 1;
            font-weight: 950;
            text-transform: uppercase;
            letter-spacing: 0.14em;
        }
        .profile-events-card__header h2 {
            margin: 0;
            color: #0f172a;
            font-size: 24px;
            line-height: 1.1;
            font-weight: 950;
            letter-spacing: 0;
        }
        .profile-events-card__header > span {
            min-width: 42px;
            height: 42px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 15px;
            background: #fff7ed;
            color: #f97316;
            padding: 0 12px;
            font-size: 18px;
            line-height: 1;
            font-weight: 950;
        }
        .profile-current-event {
            position: relative;
            overflow: hidden;
            border-radius: 28px;
            background:
                radial-gradient(circle at 88% 20%, rgba(249, 115, 22, 0.22), transparent 28%),
                linear-gradient(145deg, #071225 0%, #0b1830 100%);
            color: #ffffff;
            padding: 28px;
            margin-bottom: 16px;
        }
        .profile-current-event__status {
            display: inline-flex;
            align-items: center;
            gap: 9px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.1);
            color: #ffffff;
            padding: 8px 12px;
            font-size: 10px;
            line-height: 1;
            font-weight: 950;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }
        .profile-current-event__status span {
            width: 9px;
            height: 9px;
            border-radius: 999px;
            background: #22c55e;
            box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.16);
        }
        .profile-current-event h3 {
            max-width: 760px;
            margin: 18px 0 0;
            color: #ffffff;
            font-size: clamp(28px, 4vw, 42px);
            line-height: 1.04;
            font-weight: 950;
            letter-spacing: 0;
        }
        .profile-current-event p {
            max-width: 720px;
            margin: 10px 0 0;
            color: rgba(255, 255, 255, 0.72);
            font-size: 15px;
            line-height: 1.45;
            font-weight: 750;
        }
        .profile-current-event__meta {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 18px;
        }
        .profile-current-event__meta span {
            display: inline-flex;
            min-height: 34px;
            align-items: center;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.1);
            color: #ffffff;
            padding: 0 12px;
            font-size: 12px;
            line-height: 1;
            font-weight: 850;
        }
        .profile-current-event a {
            display: inline-flex;
            min-height: 42px;
            align-items: center;
            justify-content: center;
            gap: 8px;
            border-radius: 15px;
            background: #ffffff;
            color: #071225;
            padding: 0 15px;
            margin-top: 22px;
            font-size: 11px;
            line-height: 1;
            font-weight: 950;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }
        .profile-current-event a svg {
            width: 16px;
            height: 16px;
        }
        .profile-event-list {
            display: grid;
            gap: 10px;
        }
        .profile-event-row {
            display: grid;
            grid-template-columns: 62px minmax(0, 1fr);
            align-items: center;
            gap: 14px;
            border: 1px solid #e5e7eb;
            border-radius: 22px;
            background: #f8fafc;
            color: inherit;
            padding: 12px;
            transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
        }
        .profile-event-row:hover {
            transform: translateY(-2px);
            border-color: #fed7aa;
            background: #ffffff;
        }
        .profile-event-row__date {
            min-height: 62px;
            display: grid;
            place-items: center;
            align-content: center;
            border-radius: 18px;
            background: #fff7ed;
            color: #f97316;
        }
        .profile-event-row__date strong {
            font-size: 23px;
            line-height: 1;
            font-weight: 950;
        }
        .profile-event-row__date span {
            margin-top: 3px;
            font-size: 10px;
            line-height: 1;
            font-weight: 950;
            text-transform: uppercase;
        }
        .profile-event-row__body {
            min-width: 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }
        .profile-event-row__body > div {
            min-width: 0;
        }
        .profile-event-row__body h3 {
            margin: 0;
            overflow: hidden;
            color: #0f172a;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: 16px;
            line-height: 1.2;
            font-weight: 950;
        }
        .profile-event-row__body p {
            margin: 6px 0 0;
            overflow: hidden;
            color: #64748b;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: 12px;
            line-height: 1.2;
            font-weight: 750;
        }
        .profile-event-row__badges {
            flex: 0 0 auto;
            display: inline-flex;
            align-items: center;
            gap: 7px;
        }
        .profile-event-row__badges span {
            display: inline-flex;
            min-height: 30px;
            align-items: center;
            border-radius: 999px;
            background: #ffffff;
            color: #64748b;
            padding: 0 10px;
            font-size: 10px;
            line-height: 1;
            font-weight: 950;
            text-transform: uppercase;
            letter-spacing: 0.06em;
        }
        .profile-event-row__badges .is-starred {
            width: 30px;
            justify-content: center;
            background: #fff7ed;
            color: #f97316;
            padding: 0;
            font-size: 16px;
            letter-spacing: 0;
        }
        .custom-scrollbar::-webkit-scrollbar { width: 6px; }
        .custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
        .custom-scrollbar::-webkit-scrollbar-thumb { background-color: #e5e7eb; border-radius: 20px; }
        #drafts-drawer, #achievements-modal-content, #followers-modal-content, #following-modal-content, #edit-modal-content, #create-album-modal-content { scroll-behavior: smooth; }
        input[type="range"]::-webkit-slider-thumb { border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }

        @media (max-width: 767px) {
            .profile-header-cover {
                height: 180px !important;
            }
            .profile-header-name {
                font-size: 22px !important;
                line-height: 1.05 !important;
                gap: 7px;
            }
            .profile-verified-badge {
                width: 20px;
                height: 20px;
            }
            .profile-header-meta {
                font-size: 11px;
            }
            .profile-header-city {
                font-size: 10px;
                gap: 4px;
                margin: 1px 0 2px;
            }
            .profile-header-city svg {
                width: 10px;
                height: 10px;
            }
            .profile-page .follow-btn-ui,
            .profile-page a[href*="start_chat"] {
                min-height: 42px;
                border-radius: 14px;
            }
            .profile-route-experience__header {
                flex-direction: column;
                gap: 12px;
                margin-bottom: 16px;
            }

            .profile-route-experience__title {
                font-size: 20px;
            }

            .profile-route-experience__summary {
                font-size: 11px;
            }

            .profile-route-experience__all {
                width: fit-content;
            }

            .profile-events-card {
                border-right: 0;
                border-left: 0;
                border-radius: 0;
                padding: 18px 14px;
            }

            .profile-events-card__header {
                margin-bottom: 14px;
            }

            .profile-events-card__header h2 {
                font-size: 21px;
            }

            .profile-current-event {
                border-radius: 24px;
                padding: 22px;
            }

            .profile-current-event h3 {
                font-size: 28px;
            }

            .profile-event-row {
                grid-template-columns: 54px minmax(0, 1fr);
                gap: 10px;
                border-radius: 18px;
                padding: 10px;
            }

            .profile-event-row__date {
                min-height: 54px;
                border-radius: 16px;
            }

            .profile-event-row__body {
                align-items: flex-start;
                flex-direction: column;
                gap: 8px;
            }

            .profile-event-row__badges {
                flex-wrap: wrap;
            }

            .profile-route-grid {
                gap: 14px;
                margin-right: -14px;
                padding-right: 14px;
            }

            .profile-route-card {
                flex-basis: min(82vw, 300px);
                border-radius: 22px;
            }

            .profile-route-card__body {
                padding: 14px;
            }

            .profile-travel-map__header {
                flex-direction: column;
                gap: 12px;
                margin-bottom: 12px;
            }

            .profile-travel-map__title {
                font-size: 22px;
            }

            .profile-travel-map__summary {
                font-size: 12px;
            }

            .profile-travel-map__summary span {
                margin: 0 6px;
            }

            .profile-travel-map__all {
                width: 100%;
                min-height: 40px;
                padding: 0 14px;
                font-size: 12px;
            }

            .profile-travel-map__map-shell {
                height: 210px;
                min-height: 210px;
                border-radius: 20px;
            }

            .profile-travel-map__map-badge {
                left: 10px;
                bottom: 10px;
                min-height: 30px;
                padding: 0 10px;
                font-size: 10px;
            }

            .profile-travel-map__filter {
                min-height: 38px;
                padding: 0 12px;
                font-size: 11px;
            }

            .profile-travel-map__filter svg {
                width: 16px;
                height: 16px;
            }

            .profile-travel-map__modal-filters {
                order: 3;
                width: 100%;
                justify-content: flex-start;
            }

            .profile-travel-map__places {
                align-items: flex-start;
                flex-direction: column;
                gap: 9px;
                margin-top: 12px;
            }

            .profile-travel-map__place-list {
                width: 100%;
            }

            .profile-travel-map__stats {
                flex-wrap: wrap;
                gap: 8px;
                overflow: visible;
                padding-bottom: 0;
            }

            .profile-travel-stat {
                min-height: 40px;
                padding: 0 10px 0 8px;
                border-radius: 14px;
            }

            .profile-travel-stat__icon {
                width: 26px;
                height: 26px;
                flex-basis: 26px;
            }

            .profile-travel-stat__icon svg {
                width: 15px;
                height: 15px;
            }

            .profile-travel-stat__value {
                font-size: 15px;
            }

            .profile-travel-stat__label {
                font-size: 10px;
            }

            .profile-page {
                padding-bottom: 108px !important;
            }

            .profile-tabs-bar {
                margin-bottom: 8px !important;
                padding-left: 14px !important;
                padding-right: 14px !important;
            }

            .profile-tabs-scroll {
                width: 100%;
                gap: 14px !important;
                padding-right: 0 !important;
                overflow-x: auto;
                scrollbar-width: none;
                -ms-overflow-style: none;
            }

            .profile-tabs-scroll::-webkit-scrollbar {
                display: none;
            }

            .profile-tab-btn {
                flex: 0 0 auto;
                padding-bottom: 12px !important;
                font-size: 10px !important;
                line-height: 1.1 !important;
                letter-spacing: 0.06em !important;
            }

            .profile-page .quick-post-card {
                padding: 12px 14px !important;
                margin-bottom: 8px !important;
            }

            .profile-page .quick-post-card .quick-post-input-row {
                gap: 10px !important;
                margin-bottom: 4px !important;
            }

            .profile-page .quick-post-card .quick-post-input-row > .w-10 {
                width: 34px !important;
                height: 34px !important;
            }

            .profile-page #quick-text-input {
                font-size: 12px !important;
                line-height: 1.35 !important;
                padding-top: 5px !important;
                padding-bottom: 14px !important;
                min-height: 34px !important;
            }

            .profile-page #char-counter {
                font-size: 8px !important;
            }

            .profile-page .quick-post-card .quick-post-action-row {
                padding-top: 8px !important;
                align-items: center !important;
                gap: 8px !important;
            }

            .profile-page .quick-post-card #quick-media-btn,
            .profile-page .quick-post-card #quick-article-link span:first-child {
                width: 28px !important;
                height: 28px !important;
            }

            .profile-page .quick-post-card #quick-location-btn,
            .profile-page .quick-post-card .custom-dropdown-trigger {
                min-height: 28px !important;
                padding: 5px 8px !important;
                font-size: 8px !important;
                border-radius: 10px !important;
            }

            .profile-page .quick-post-card #quick-location-btn {
                width: 28px !important;
                height: 28px !important;
                min-height: 28px !important;
                padding: 0 !important;
                border-radius: 999px !important;
            }

            .profile-page #quick-publish-btn {
                min-height: 34px !important;
                padding: 8px 14px !important;
                font-size: 8px !important;
                border-radius: 11px !important;
            }
        }

@media (max-width: 767px) {
    .profile-page {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .profile-page button,
    .profile-page a[role="button"],
    .profile-page .profile-tab-btn,
    .profile-page .profile-route-experience__tab,
    .profile-page .profile-route-empty__action,
    .profile-page .profile-travel-map__empty-action,
    .profile-page .profile-route-experience__all,
    .profile-page .profile-travel-map__all {
        min-height: 44px;
    }

    .profile-page .quick-post-card #quick-media-btn,
    .profile-page .quick-post-card #quick-location-btn,
    .profile-page .quick-post-card #quick-article-link span:first-child {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
    }

    .profile-page .quick-post-card .custom-dropdown-trigger {
        min-height: 44px !important;
    }

    .profile-route-experience__tabs,
    .profile-tabs-scroll,
    .profile-travel-map__filters {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
    }

    .profile-route-experience__tab,
    .profile-tab-btn,
    .profile-travel-map__filter {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .profile-travel-map__map-shell {
        min-height: 200px;
    }

    .profile-event-row,
    .profile-current-event,
    .profile-route-card,
    .profile-events-card,
    .profile-travel-map {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .profile-page .profile-route-experience__title,
    .profile-page .profile-travel-map__title,
    .profile-page .profile-events-card__header h2,
    .profile-page #profile-photos > div:first-child h3,
    .profile-page #profile-posts > div:first-child h3,
    .profile-page #profile-awards > div:first-child h3,
    .profile-page #profile-communities > div:first-child h3,
    .profile-page aside > div > h3,
    .profile-page aside > div > .flex h3 {
        font-size: var(--profile-section-title-size-mobile) !important;
        line-height: 1.12 !important;
    }
}

/* Keep the profile composer visually aligned with the main feed composer. */
.profile-page .quick-post-card {
    margin-top: 16px !important;
    background: rgba(255, 255, 255, .9) !important;
    border-color: rgba(255, 255, 255, .8) !important;
    box-shadow: 0 18px 44px rgba(55, 47, 39, .08) !important;
    backdrop-filter: blur(18px);
}

.profile-page #quick-publish-btn {
    min-width: 146px;
    height: 42px;
    border-radius: 16px !important;
    background-image: linear-gradient(135deg, #f97316, #d84b20) !important;
    box-shadow: 0 14px 30px rgba(249, 115, 22, .25) !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: .02em !important;
}

.profile-page .quick-post-card .quick-post-action-row > .flex:first-child {
    align-items: center;
}

.profile-page .quick-post-card .quick-action-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    height: 38px !important;
    gap: 8px !important;
    padding: 0 14px !important;
    border: 1px solid #e6eaf0 !important;
    border-radius: 15px !important;
    background: rgba(248, 250, 252, .86) !important;
    color: #344054 !important;
    box-shadow: inset 0 1px rgba(255, 255, 255, .88), 0 6px 16px rgba(15, 23, 42, .04) !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .02em !important;
    text-transform: uppercase !important;
    white-space: nowrap;
    transition: color .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.profile-page .quick-post-card .quick-action-btn:hover {
    border-color: rgba(249, 115, 22, .24) !important;
    background: #fff7ed !important;
    color: #f97316 !important;
    transform: translateY(-1px);
}

.profile-page .quick-post-card .quick-icon-btn {
    width: 38px !important;
    min-width: 38px !important;
    padding: 0 !important;
}

.profile-page .quick-post-card .quick-icon-btn .quick-action-label {
    display: none !important;
}

.profile-page .quick-post-card .quick-action-icon,
.profile-page .quick-post-card .quick-action-content svg,
.profile-page .quick-post-card .quick-action-content [aria-hidden="true"] {
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 22px !important;
    opacity: 1 !important;
    stroke-width: 2.1;
}

.profile-page .quick-post-card .quick-action-btn .quick-action-icon,
.profile-page .quick-post-card .quick-action-btn .quick-action-content svg,
.profile-page .quick-post-card .quick-action-btn .quick-action-content [aria-hidden="true"] {
    width: 17px !important;
    height: 17px !important;
    flex-basis: 17px !important;
}

.profile-page .quick-post-card .quick-action-content {
    max-width: 180px !important;
    min-width: 0;
}

.profile-page .quick-post-card .quick-action-content > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-page .quick-post-card .quick-action-caret {
    display: block !important;
    width: 13px !important;
    height: 13px !important;
}

.profile-page .quick-post-card .quick-article-btn .quick-action-icon-wrap {
    width: 17px !important;
    height: 17px !important;
    border-radius: 0 !important;
}

.profile-page .quick-post-card .quick-article-btn .quick-action-label {
    display: inline !important;
}

@media (max-width: 767px) {
    .profile-page .quick-post-card {
        position: sticky !important;
        top: 62px !important;
        z-index: 60 !important;
        margin: 4px 12px 10px !important;
        padding: 10px 14px !important;
        border-width: 1px !important;
        border-style: solid !important;
        border-color: rgba(255, 255, 255, .9) !important;
        border-radius: 24px !important;
        background: rgba(255, 255, 255, .92) !important;
        box-shadow: 0 10px 24px rgba(43, 34, 27, .06) !important;
        backdrop-filter: blur(14px);
        transition: border-radius .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s ease, background .28s ease;
    }

    body.mobile-topbar-hidden .profile-page .quick-post-card {
        top: 8px !important;
    }

    .profile-page .quick-post-card .quick-post-input-row {
        min-height: 0 !important;
        gap: 9px !important;
        margin-bottom: 0 !important;
        padding-right: 48px !important;
        align-items: center !important;
    }

    .profile-page .quick-post-card .quick-post-input-row > .w-10 {
        width: 36px !important;
        height: 36px !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .profile-page #quick-text-input {
        min-height: 34px !important;
        max-height: 34px !important;
        padding: 7px 0 !important;
        font-size: 13px !important;
        line-height: 1.2 !important;
        overflow: hidden !important;
    }

    .profile-page #char-counter {
        display: none !important;
    }

    .profile-page .quick-post-card .quick-post-action-row {
        position: absolute !important;
        top: 50% !important;
        right: 14px !important;
        transform: translateY(-50%) !important;
        display: flex !important;
        align-items: center !important;
        margin-top: 0 !important;
        padding: 0 !important;
        border-top: 0 !important;
        gap: 0 !important;
    }

    .profile-page .quick-post-card .quick-post-action-row > .flex:first-child {
        display: none !important;
    }

    .profile-page #quick-publish-btn {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        margin-left: 0 !important;
        padding: 0 !important;
        border-radius: 999px !important;
        font-size: 0 !important;
        letter-spacing: 0 !important;
        box-shadow: 0 10px 22px rgba(249, 115, 22, .28) !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
    }

    .profile-page #quick-publish-btn::before {
        content: "";
        width: 17px !important;
        height: 17px !important;
        display: block;
        background: currentColor;
        -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 3L10 14' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M21 3L14 21L10 14L3 10L21 3Z' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
        mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 3L10 14' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M21 3L14 21L10 14L3 10L21 3Z' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    }

    .profile-page .quick-post-card:focus-within {
        padding: 14px !important;
        border-radius: 26px !important;
        background: rgba(255, 255, 255, .96) !important;
        box-shadow: 0 14px 30px rgba(43, 34, 27, .08) !important;
    }

    .profile-page .quick-post-card:focus-within .quick-post-input-row {
        min-height: 118px !important;
        padding-right: 0 !important;
        align-items: flex-start !important;
    }

    .profile-page .quick-post-card:focus-within .quick-post-input-row > .w-10 {
        width: 52px !important;
        height: 52px !important;
        border: 1px solid rgba(229, 231, 235, .95) !important;
    }

    .profile-page .quick-post-card:focus-within #quick-text-input {
        min-height: 106px !important;
        max-height: 150px !important;
        padding: 9px 0 26px !important;
        font-size: 18px !important;
        line-height: 1.22 !important;
        overflow-y: auto !important;
    }

    .profile-page .quick-post-card:focus-within #quick-text-input::placeholder {
        font-size: 18px !important;
    }

    .profile-page .quick-post-card:focus-within #char-counter {
        display: block !important;
        bottom: 9px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
    }

    .profile-page .quick-post-card:focus-within .quick-post-action-row {
        position: static !important;
        top: auto !important;
        right: auto !important;
        transform: none !important;
        margin-top: 10px !important;
        padding-top: 10px !important;
        border-top: 1px solid rgba(120, 113, 108, .14) !important;
        gap: 8px !important;
        justify-content: space-between !important;
    }

    .profile-page .quick-post-card:focus-within .quick-post-action-row > .flex:first-child {
        display: flex !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        gap: 6px !important;
        padding: 0 !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scrollbar-width: none;
    }

    .profile-page .quick-post-card:focus-within .quick-post-action-row > .flex:first-child::-webkit-scrollbar {
        display: none;
    }

    .profile-page .quick-post-card:focus-within .quick-action-btn,
    .profile-page .quick-post-card:focus-within #quick-location-btn,
    .profile-page .quick-post-card:focus-within .custom-dropdown-trigger,
    .profile-page .quick-post-card:focus-within #quick-article-link {
        width: 50px !important;
        min-width: 50px !important;
        height: 50px !important;
        min-height: 50px !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 16px !important;
        background: #f8fafc !important;
        color: #334155 !important;
        box-shadow: inset 0 1px rgba(255, 255, 255, .92), 0 8px 22px rgba(15, 23, 42, .045) !important;
        display: inline-flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        font-size: 10px !important;
        line-height: 1 !important;
        font-weight: 500 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
        overflow: hidden;
    }

    .profile-page .quick-post-card:focus-within .quick-action-icon,
    .profile-page .quick-post-card:focus-within .quick-action-icon-wrap,
    .profile-page .quick-post-card:focus-within .quick-action-content svg,
    .profile-page .quick-post-card:focus-within .quick-action-content [aria-hidden="true"] {
        width: 20px !important;
        height: 20px !important;
        flex-basis: 20px !important;
        opacity: 1 !important;
    }

    .profile-page .quick-post-card:focus-within .quick-action-icon-wrap {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 0 !important;
    }

    .profile-page .quick-post-card:focus-within .quick-action-label,
    .profile-page .quick-post-card:focus-within .quick-icon-btn .quick-action-label,
    .profile-page .quick-post-card:focus-within .quick-action-content > span,
    .profile-page .quick-post-card:focus-within #selected-category-text .hidden {
        display: block !important;
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        font-size: 10px !important;
        line-height: 1 !important;
        font-weight: 500 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
    }

    .profile-page .quick-post-card:focus-within .quick-action-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .profile-page .quick-post-card:focus-within .quick-action-caret {
        display: none !important;
    }

    .profile-page .quick-post-card:focus-within #quick-publish-btn {
        width: 62px !important;
        height: 62px !important;
        min-width: 62px !important;
        min-height: 62px !important;
        padding: 0 !important;
        border-radius: 999px !important;
        font-size: 0 !important;
        box-shadow: 0 14px 26px rgba(249, 115, 22, .28) !important;
    }

    .profile-page .quick-post-card:focus-within #quick-publish-btn::before {
        width: 25px !important;
        height: 25px !important;
    }
}

/* Keep the profile mobile composer visually identical to the home feed. */
@media (max-width: 767px) {
    .profile-page .quick-post-card {
        top: 62px !important;
        margin: 4px 12px 10px !important;
        padding: 9px 12px !important;
        border-radius: 22px !important;
        background: rgba(255, 255, 255, .94) !important;
        box-shadow: 0 10px 24px rgba(43, 34, 27, .06) !important;
    }

    body.mobile-topbar-hidden .profile-page .quick-post-card {
        top: 8px !important;
    }

    .profile-page .quick-post-card .quick-post-input-row {
        min-height: 0 !important;
        gap: 9px !important;
        margin-bottom: 0 !important;
        padding-right: 46px !important;
        align-items: center !important;
    }

    .profile-page .quick-post-card .quick-post-input-row > .w-10 {
        width: 34px !important;
        height: 34px !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .profile-page .quick-post-card #quick-text-input {
        min-height: 32px !important;
        max-height: 32px !important;
        padding: 7px 0 !important;
        color: #334155 !important;
        font-size: 13px !important;
        line-height: 1.22 !important;
        font-weight: 500 !important;
        overflow: hidden !important;
    }

    .profile-page .quick-post-card #quick-text-input::placeholder {
        color: #9aa3af !important;
        font-size: 13px !important;
        font-weight: 600 !important;
    }

    .profile-page .quick-post-card #char-counter {
        display: none !important;
    }

    .profile-page .quick-post-card .quick-post-action-row {
        position: absolute !important;
        top: 50% !important;
        right: 12px !important;
        transform: translateY(-50%) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 0 !important;
        margin-top: 0 !important;
        padding: 0 !important;
        border-top: 0 !important;
    }

    .profile-page .quick-post-card .quick-post-action-row > .flex:first-child {
        display: none !important;
    }

    .profile-page #quick-publish-btn {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        margin-left: 0 !important;
        padding: 0 !important;
        border-radius: 999px !important;
        font-size: 0 !important;
        letter-spacing: 0 !important;
        box-shadow: 0 10px 22px rgba(249, 115, 22, .26) !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
    }

    .profile-page #quick-publish-btn::before {
        content: none !important;
        display: none !important;
    }

    .profile-page #quick-publish-btn .quick-publish-icon {
        display: block !important;
        width: 17px !important;
        height: 17px !important;
        flex: 0 0 17px !important;
    }

    .profile-page #quick-publish-btn .quick-publish-label {
        display: none !important;
    }

    .profile-page .quick-post-card:focus-within {
        padding: 12px !important;
        border-radius: 24px !important;
        background: rgba(255, 255, 255, .97) !important;
        box-shadow: 0 14px 30px rgba(43, 34, 27, .075) !important;
    }

    .profile-page .quick-post-card:focus-within .quick-post-input-row {
        min-height: 82px !important;
        gap: 10px !important;
        padding-right: 0 !important;
        align-items: flex-start !important;
    }

    .profile-page .quick-post-card:focus-within .quick-post-input-row > .w-10 {
        width: 40px !important;
        height: 40px !important;
        border: 1px solid rgba(229, 231, 235, .95) !important;
        box-shadow: inset 0 1px rgba(255, 255, 255, .85) !important;
    }

    .profile-page .quick-post-card:focus-within #quick-text-input {
        min-height: 78px !important;
        max-height: 120px !important;
        padding: 7px 0 20px !important;
        font-size: 15px !important;
        line-height: 1.35 !important;
        font-weight: 500 !important;
        overflow-y: auto !important;
    }

    .profile-page .quick-post-card:focus-within #quick-text-input::placeholder {
        font-size: 15px !important;
        font-weight: 500 !important;
    }

    .profile-page .quick-post-card:focus-within #char-counter {
        display: block !important;
        right: 0 !important;
        bottom: 6px !important;
        color: #9aa3af !important;
        font-size: 10px !important;
        line-height: 1 !important;
        font-weight: 700 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
    }

    .profile-page .quick-post-card:focus-within .quick-post-action-row {
        position: static !important;
        top: auto !important;
        right: auto !important;
        transform: none !important;
        justify-content: space-between !important;
        gap: 8px !important;
        margin-top: 9px !important;
        padding-top: 9px !important;
        border-top: 1px solid rgba(120, 113, 108, .12) !important;
    }

    .profile-page .quick-post-card:focus-within .quick-post-action-row > .flex:first-child {
        display: flex !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        gap: 6px !important;
        padding: 0 !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scrollbar-width: none;
    }

    .profile-page .quick-post-card:focus-within .quick-post-action-row > .flex:first-child::-webkit-scrollbar {
        display: none;
    }

    .profile-page .quick-post-card:focus-within .quick-action-btn,
    .profile-page .quick-post-card:focus-within #quick-location-btn,
    .profile-page .quick-post-card:focus-within .custom-dropdown-trigger,
    .profile-page .quick-post-card:focus-within #quick-article-link {
        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 14px !important;
        background: #f8fafc !important;
        color: #475569 !important;
        box-shadow: inset 0 1px rgba(255, 255, 255, .92), 0 7px 18px rgba(15, 23, 42, .04) !important;
        display: inline-flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        font-size: 8px !important;
        line-height: 1 !important;
        font-weight: 700 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
        overflow: hidden !important;
    }

    .profile-page .quick-post-card:focus-within .quick-action-icon,
    .profile-page .quick-post-card:focus-within .quick-action-icon-wrap,
    .profile-page .quick-post-card:focus-within .quick-action-content svg,
    .profile-page .quick-post-card:focus-within .quick-action-content [aria-hidden="true"] {
        width: 17px !important;
        height: 17px !important;
        flex: 0 0 17px !important;
        opacity: 1 !important;
    }

    .profile-page .quick-post-card:focus-within .quick-action-icon-wrap {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 0 !important;
    }

    .profile-page .quick-post-card:focus-within .quick-action-label,
    .profile-page .quick-post-card:focus-within .quick-icon-btn .quick-action-label,
    .profile-page .quick-post-card:focus-within .quick-action-content > span,
    .profile-page .quick-post-card:focus-within #selected-category-text .hidden {
        display: block !important;
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        font-size: 8px !important;
        line-height: 1 !important;
        font-weight: 700 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
    }

    .profile-page .quick-post-card:focus-within .quick-action-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .profile-page .quick-post-card:focus-within .quick-action-caret {
        display: none !important;
    }

    .profile-page .quick-post-card:focus-within #quick-publish-btn {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        min-height: 46px !important;
        padding: 0 !important;
        border-radius: 999px !important;
        box-shadow: 0 12px 24px rgba(249, 115, 22, .28) !important;
    }

    .profile-page .quick-post-card:focus-within #quick-publish-btn .quick-publish-icon {
        width: 20px !important;
        height: 20px !important;
        flex-basis: 20px !important;
    }
}

@media (min-width: 768px) {
    .profile-mobile-cover-actions,
    .profile-mobile-summary,
    .profile-mobile-rank {
        display: none !important;
    }
}

@media (max-width: 767px) {
    body.page-mobile-no-topbar .site-main-offset {
        padding-top: 0 !important;
    }

    .profile-page {
        width: 100%;
        max-width: 100% !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        background: linear-gradient(180deg, #f8fafc 0%, #ffffff 34%, #f8fafc 100%);
        -webkit-font-smoothing: antialiased;
        text-rendering: geometricPrecision;
    }

    .profile-page > section:first-child {
        margin-top: 0 !important;
        margin-bottom: 14px !important;
        border-bottom: 0 !important;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 74%, #ffffff 100%);
        box-shadow: 0 18px 46px rgba(15, 23, 42, .07);
    }

    .profile-content-layout {
        padding: 0 12px !important;
        gap: 14px !important;
    }

    .profile-page :where(.profile-travel-map, .profile-route-experience, #profile-photos, #profile-posts) {
        border: 1px solid rgba(226, 232, 240, .95) !important;
        border-radius: 24px !important;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
        box-shadow: 0 14px 34px rgba(15, 23, 42, .06), inset 0 1px rgba(255, 255, 255, .92) !important;
    }

    .profile-tabs-bar {
        margin: 0 12px 12px !important;
        padding: 0 2px !important;
        border-bottom: 0 !important;
        border-radius: 18px;
        background: rgba(255, 255, 255, .92);
        box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
    }

    .profile-header-level-card {
        display: none !important;
    }

    .profile-header-cover {
        height: 156px !important;
        box-shadow: inset 0 -1px rgba(255, 255, 255, .42);
    }

    .profile-mobile-cover-actions {
        position: absolute;
        top: 14px;
        right: 14px;
        z-index: 20;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .profile-mobile-cover-action {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border: 1px solid rgba(255, 255, 255, .72);
        border-radius: 999px;
        background: rgba(255, 255, 255, .92);
        color: #0f172a;
        box-shadow: 0 12px 28px rgba(15, 23, 42, .18);
        backdrop-filter: blur(14px);
    }

    .profile-mobile-cover-action svg {
        width: 20px;
        height: 20px;
    }

    .profile-header-info {
        padding: 0 16px 16px !important;
    }

    .profile-header-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0 !important;
        margin-bottom: 0 !important;
    }

    .profile-header-avatar-col {
        width: 100% !important;
        margin-top: -48px !important;
        align-items: center !important;
    }

    .profile-header-avatar {
        width: 96px !important;
        height: 96px !important;
        margin-bottom: 0 !important;
        box-shadow: 0 18px 36px rgba(15, 23, 42, .16) !important;
    }

    .profile-header-main {
        width: 100% !important;
        padding-top: 12px !important;
        text-align: center;
    }

    .profile-header-main-row {
        width: 100% !important;
        align-items: center !important;
        gap: 0 !important;
    }

    .profile-header-name {
        justify-content: center !important;
        margin-bottom: 3px !important;
        font-size: 22px !important;
        line-height: 1.05 !important;
        gap: 7px !important;
        text-align: center;
    }

    .profile-header-name-text {
        max-width: 100%;
    }

    .profile-verified-badge {
        width: 18px;
        height: 18px;
    }

    .profile-header-identity {
        align-items: center !important;
        width: 100%;
        text-align: center;
    }

    .profile-header-meta {
        font-size: 13px;
        line-height: 1.2;
        max-width: 100%;
        text-align: center;
    }

    .profile-header-city {
        justify-content: center;
        margin: 3px 0 0;
        font-size: 13px;
        line-height: 1.2;
        gap: 5px;
        max-width: 100%;
    }

    .profile-header-city svg {
        width: 13px;
        height: 13px;
    }

    .profile-mobile-rank {
        display: block;
        width: 100%;
        max-width: none;
        margin-top: 14px;
        padding: 12px 14px;
        border: 1px solid rgba(226, 232, 240, .95);
        border-radius: 20px;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
        color: #0f172a;
        text-align: left;
        font-family: inherit;
        box-shadow: 0 14px 34px rgba(15, 23, 42, .07), inset 0 1px rgba(255, 255, 255, .92);
    }

    .profile-mobile-rank__title,
    .profile-mobile-rank__meta {
        display: flex;
        align-items: center;
        gap: 6px;
        min-width: 0;
    }

    .profile-mobile-rank__title {
        color: #0f172a;
        font-size: 13px;
        line-height: 1.2;
        font-weight: 900;
    }

    .profile-mobile-rank__title span:last-child {
        color: #ea580c;
    }

    .profile-mobile-rank__progress {
        display: block;
        width: 100%;
        height: 6px;
        margin: 9px 0 7px;
        overflow: hidden;
        border-radius: 999px;
        background: #eef2f7;
    }

    .profile-mobile-rank__progress span {
        display: block;
        height: 100%;
        border-radius: inherit;
        background: #f97316;
    }

    .profile-mobile-rank__meta {
        justify-content: space-between;
        color: #64748b;
        font-size: 10px;
        line-height: 1.2;
        font-weight: 800;
    }

    .profile-mobile-rank__meta span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .profile-mobile-summary {
        display: block;
        margin-top: 14px;
    }

    .profile-mobile-stats {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
        min-height: 60px;
        overflow: hidden;
        border: 1px solid rgba(226, 232, 240, .95);
        border-radius: 20px;
        background: rgba(255, 255, 255, .94);
        box-shadow: 0 14px 34px rgba(15, 23, 42, .07), inset 0 1px rgba(255, 255, 255, .86);
    }

    .profile-mobile-stats .profile-header-stat {
        display: grid !important;
        grid-template-columns: auto auto;
        grid-template-rows: auto auto;
        align-content: center;
        justify-content: center;
        column-gap: 8px;
        row-gap: 3px;
        min-width: 0;
        min-height: 58px !important;
        padding: 8px 6px !important;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .profile-mobile-stats .profile-header-stat:not(:last-child) {
        border-right: 1px solid #e5e7eb;
    }

    .profile-mobile-stats .profile-header-stat-icon {
        grid-row: 1 / span 2;
        width: 20px;
        height: 20px;
        color: #64748b;
    }

    .profile-mobile-stats .profile-header-stat strong {
        font-size: 20px;
        line-height: 1;
    }

    .profile-mobile-stats .profile-header-stat span:not(.profile-header-stat-icon) {
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        color: #64748b;
        font-size: 11px;
        line-height: 1.1;
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .profile-mobile-visitor-actions {
        display: flex;
        align-items: stretch;
        gap: 8px;
        margin: 12px 0 14px;
    }

    .profile-mobile-public-pill,
    .profile-mobile-login-link {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        width: 100%;
        border-radius: 14px;
        font-size: 9px;
        line-height: 1;
        font-weight: 900;
        text-transform: uppercase;
    }

    .profile-mobile-public-pill {
        border: 1px solid #e5e7eb;
        background: #f8fafc;
        color: #64748b;
    }

    .profile-mobile-login-link {
        background: #f97316;
        color: #ffffff;
        box-shadow: 0 12px 24px rgba(249, 115, 22, .2);
    }

    .profile-mobile-hub {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        margin-top: 14px;
    }

    .profile-mobile-hub-card {
        display: flex;
        min-width: 0;
        min-height: 96px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        padding: 13px 11px;
        border: 1px solid rgba(226, 232, 240, .95);
        border-radius: 20px;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
        color: #0f172a;
        font-family: inherit;
        text-align: left;
        box-shadow: 0 14px 34px rgba(15, 23, 42, .07), inset 0 1px rgba(255, 255, 255, .92);
    }

    .profile-mobile-hub-card svg {
        width: 28px;
        height: 28px;
        margin-bottom: 10px;
    }

    .profile-mobile-hub-card strong {
        display: -webkit-box;
        width: 100%;
        overflow: hidden;
        color: #0f172a;
        font-size: 13px;
        line-height: 1.1;
        font-weight: 950;
        text-overflow: ellipsis;
        white-space: normal;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .profile-mobile-hub-card span {
        display: block;
        width: 100%;
        margin-top: 5px;
        overflow: hidden;
        color: #64748b;
        font-size: 11px;
        line-height: 1.15;
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .profile-mobile-hub-card--routes svg {
        color: #ea580c;
    }

    .profile-mobile-hub-card--awards svg {
        color: #4f46e5;
    }

    .profile-mobile-hub-card--clubs svg {
        color: #059669;
    }

    .profile-mobile-health-card {
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 66px;
        margin-top: 12px;
        padding: 12px 14px;
        border: 1px solid rgba(226, 232, 240, .95);
        border-radius: 20px;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
        color: #0f172a;
        box-shadow: 0 14px 34px rgba(15, 23, 42, .07), inset 0 1px rgba(255, 255, 255, .92);
    }

    .profile-mobile-health-card__icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 999px;
        background: #d1fae5;
        color: #059669;
        flex: 0 0 auto;
    }

    .profile-mobile-health-card__icon svg {
        width: 23px;
        height: 23px;
    }

    .profile-mobile-health-card__text {
        display: flex;
        min-width: 0;
        flex: 1;
        flex-direction: column;
        gap: 3px;
    }

    .profile-mobile-health-card__text strong {
        color: #0f172a;
        font-size: 15px;
        line-height: 1.1;
        font-weight: 950;
    }

    .profile-mobile-health-card__text span {
        overflow: hidden;
        color: #64748b;
        font-size: 12px;
        line-height: 1.15;
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .profile-mobile-health-card__arrow {
        width: 20px;
        height: 20px;
        color: #64748b;
        flex: 0 0 auto;
    }
}
