
        :root {
            --ink: #07020d;
            --line: rgba(255, 255, 255, .12);
            --muted: #f0e7ff;
            --dim: #c7b8dd;
            --neon: #a855f7;
            --magenta: #d9468f;
            --hot: #ff4fad;
            --gold: #f8d778;
        }

        * { box-sizing: border-box; }
        html { text-rendering: optimizeLegibility; }
        html { background: #000; color: #fff; font-family: var(--font-body); scroll-behavior: smooth; }
        body {
            margin: 0;
            min-height: 100vh;
            background:
                linear-gradient(115deg, rgba(255, 79, 173, .1), transparent 30%),
                linear-gradient(245deg, rgba(168, 85, 247, .1), transparent 34%),
                linear-gradient(180deg, #000 0%, #07020d 48%, #000 100%);
        }
        a { color: inherit; text-decoration: none; }
        img { display: block; max-width: 100%; }

        .site-header {
            position: sticky;
            top: 0;
            z-index: 20;
            border-bottom: 1px solid var(--line);
            background: rgba(0, 0, 0, .88);
            backdrop-filter: blur(18px);
        }

        .nav {
            width: min(1180px, calc(100% - 32px));
            min-height: 72px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .brand { display: inline-flex; align-items: center; }
        .header-logo { display: inline-grid; justify-items: center; min-width: 168px; line-height: .9; }
        .header-logo .crown { width: 34px; height: 21px; color: var(--hot); filter: drop-shadow(0 0 9px rgba(255, 79, 173, .85)); }
        .brand-top,
        .brand-bottom { font-family: Orbitron, Montserrat, Inter, sans-serif; font-weight: 800; text-transform: uppercase; }
        .brand-top { font-size: clamp(1.25rem, 2vw, 1.75rem); text-shadow: 0 0 10px rgba(255, 255, 255, .5); }
        .brand-bottom { font-size: clamp(1.15rem, 1.9vw, 1.65rem); color: var(--hot); text-shadow: 0 0 16px rgba(255, 79, 173, .82); }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 22px;
            color: var(--muted);
            font-size: .92rem;
            font-weight: 800;
        }

        .nav-links a:hover,
        .nav-links a.is-active { color: #fff; text-shadow: 0 0 16px rgba(255, 79, 173, .72); }

        .cta {
            min-height: 42px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 9px;
            border-radius: 8px;
            padding: 0 18px;
            color: #fff;
            font-weight: 900;
            background: linear-gradient(135deg, var(--neon), var(--magenta));
            box-shadow: 0 12px 30px rgba(217, 70, 143, .28);
        }

        .nav-cta { margin-left: auto; }

        main {
            width: min(720px, calc(100% - 28px));
            margin: 0 auto;
            padding: 34px 0 70px;
        }

        .feed-head {
            margin-bottom: 22px;
            display: flex;
            align-items: end;
            justify-content: space-between;
            gap: 18px;
        }

        .feed-head h1 {
            margin: 0;
            display: flex;
            align-items: center;
            gap: 12px;
            font-family: var(--font-heading);
            font-size: clamp(2.1rem, 5vw, 3.6rem);
            line-height: 1.08;
            color: transparent;
            background: linear-gradient(100deg, #fff6bf, #d99b25 32%, #fff0a6 52%, #ffe89b);
            -webkit-background-clip: text;
            background-clip: text;
        }

        .feed-head svg { color: var(--gold); filter: drop-shadow(0 0 14px rgba(248, 215, 120, .55)); }
        .feed-head p { margin: 8px 0 0; color: var(--muted); font-weight: 700; line-height: 1.55; }

        .feed-back-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 14px;
            color: var(--muted);
            font-size: .86rem;
            font-weight: 800;
        }

        .feed-back-link:hover,
        .feed-back-link:focus {
            color: #fff;
            outline: none;
        }

        .feed-back-link svg {
            width: 16px;
            height: 16px;
        }

        .feed-empty {
            border: 1px dashed rgba(255, 255, 255, .14);
            border-radius: 8px;
            padding: 28px 18px;
            text-align: center;
            color: var(--muted);
            background: rgba(255, 255, 255, .03);
            font-weight: 750;
            line-height: 1.6;
        }

        .feed-empty strong {
            display: block;
            margin-bottom: 8px;
            color: #fff4bd;
            font-size: 1rem;
        }

        .feed-status {
            margin-bottom: 14px;
            border: 1px solid rgba(159, 255, 194, .28);
            border-radius: 8px;
            padding: 12px 14px;
            color: #d8ffe8;
            background: rgba(34, 120, 74, .22);
            font-weight: 800;
        }

        .post {
            margin-bottom: 14px;
            overflow: hidden;
            border: 1px solid rgba(255, 79, 173, .18);
            border-radius: 8px;
            background: rgba(7, 2, 13, .96);
            box-shadow: 0 18px 42px rgba(0, 0, 0, .72), 0 0 28px rgba(255, 79, 173, .14);
        }

        a.profile-hit,
        a.profile-name-link {
            color: inherit;
            text-decoration: none;
        }

        a.profile-name-link:hover,
        a.profile-name-link:focus {
            color: var(--hot);
            outline: none;
        }

        a.profile-hit img.avatar {
            cursor: pointer;
        }

        .media a.profile-hit {
            display: block;
        }

        .post-top {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px;
        }

        .avatar {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid rgba(255, 79, 173, .52);
        }

        .author { font-weight: 950; }
        .meta { color: var(--dim); font-size: .78rem; font-weight: 800; }
        .more { margin-left: auto; color: var(--muted); }

        .media {
            position: relative;
            background: #000;
            overflow: hidden;
        }

        .media img,
        .media video {
            width: 100%;
            max-height: 760px;
            object-fit: cover;
            display: block;
        }

        .caption .animated-emoji {
            display: inline-block;
            filter: drop-shadow(0 0 8px rgba(255, 79, 173, .6));
            animation: emojiDance 1.2s ease-in-out infinite;
        }

        .caption {
            display: grid;
            gap: 0;
            padding: 12px 12px 0;
        }

        .caption-author {
            color: #fff;
            font-size: .92rem;
            font-weight: 950;
            line-height: 1.35;
        }

        .caption-text {
            margin-top: 8px;
            padding-top: 8px;
            border-top: 1px solid rgba(255, 255, 255, .1);
            color: #f3e8ff;
            font-weight: 750;
            line-height: 1.55;
            word-break: break-word;
        }

        .counts { padding: 8px 12px 0; color: var(--muted); font-size: .82rem; font-weight: 800; }

        .video-badge {
            position: absolute;
            left: 12px;
            bottom: 12px;
            z-index: 3;
            display: inline-flex;
            align-items: center;
            gap: 7px;
            border-radius: 8px;
            padding: 8px 10px;
            color: #fff;
            background: rgba(0, 0, 0, .7);
            font-size: .78rem;
            font-weight: 900;
            backdrop-filter: blur(8px);
        }

        .post-comments {
            display: grid;
            gap: 8px;
            padding: 10px 12px 0;
        }

        .comment-item {
            display: flex;
            align-items: flex-start;
            gap: 8px;
            border-left: 2px solid rgba(255, 79, 173, .32);
            padding: 8px 10px;
            color: var(--muted);
            background: rgba(255, 255, 255, .035);
            border-radius: 8px;
            font-size: .86rem;
            font-weight: 750;
        }

        .comment-item strong { color: #fff; }

        .comment-body {
            display: grid;
            gap: 4px;
            min-width: 0;
        }

        .comment-author {
            display: block;
            color: #fff;
            font-size: .84rem;
            font-weight: 950;
            line-height: 1.3;
        }

        .comment-text {
            display: block;
            color: #eadcff;
            font-weight: 750;
            line-height: 1.45;
        }

        .animated-emoji {
            display: inline-block;
            filter: drop-shadow(0 0 8px rgba(255, 79, 173, .6));
            animation: emojiDance 1.2s ease-in-out infinite;
        }

        @keyframes emojiDance {
            0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
            35% { transform: translateY(-3px) scale(1.12) rotate(-8deg); }
            70% { transform: translateY(1px) scale(1.05) rotate(8deg); }
        }

        .actions {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 1px;
            padding: 12px;
        }

        .actions button {
            min-height: 40px;
            border: 1px solid rgba(255, 79, 173, .14);
            border-radius: 8px;
            color: var(--muted);
            background: rgba(255, 255, 255, .04);
            font: inherit;
            font-size: .82rem;
            font-weight: 900;
            cursor: pointer;
        }

        .actions button:hover,
        .actions button.is-on {
            color: #fff;
            background: rgba(255, 79, 173, .14);
            box-shadow: 0 0 18px rgba(255, 79, 173, .18);
        }

        .heart-burst {
            position: absolute;
            inset: 0;
            z-index: 4;
            overflow: hidden;
            pointer-events: none;
        }

        .heart-float {
            position: absolute;
            left: var(--x);
            bottom: 20px;
            font-size: var(--size);
            opacity: 0;
            animation: heartFloat 1.35s ease-out forwards;
        }

        @keyframes heartFloat {
            0% { opacity: 0; transform: translateY(0) scale(.7); }
            15% { opacity: 1; }
            100% { opacity: 0; transform: translateY(-86px) translateX(var(--drift)) scale(1.25); }
        }

        .share-backdrop {
            position: fixed;
            inset: 0;
            z-index: 80;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
            background: rgba(0, 0, 0, .72);
            backdrop-filter: blur(12px);
        }

        .share-backdrop.is-open { display: flex; }

        .share-modal {
            width: min(440px, 100%);
            border: 1px solid rgba(255, 79, 173, .26);
            border-radius: 8px;
            padding: 18px;
            background: #09030f;
            box-shadow: 0 30px 80px rgba(0, 0, 0, .86), 0 0 50px rgba(255, 79, 173, .2);
        }

        .share-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
        .share-title strong { font-size: 1.05rem; }
        .close-share { border: 0; color: #fff; background: transparent; cursor: pointer; }
        .share-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
        .share-grid a,
        .copy-link {
            min-height: 42px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            border: 1px solid rgba(255, 79, 173, .18);
            border-radius: 8px;
            color: #fff;
            background: rgba(255, 255, 255, .05);
            font-weight: 900;
        }
        .copy-link { grid-column: 1 / -1; cursor: pointer; }

        .comment-backdrop {
            position: fixed;
            inset: 0;
            z-index: 82;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
            background: rgba(0, 0, 0, .72);
            backdrop-filter: blur(12px);
        }

        .comment-backdrop.is-open { display: flex; }

        .comment-modal {
            width: min(520px, 100%);
            border: 1px solid rgba(255, 79, 173, .26);
            border-radius: 8px;
            padding: 18px;
            background: #09030f;
            box-shadow: 0 30px 80px rgba(0, 0, 0, .86), 0 0 50px rgba(255, 79, 173, .2);
        }

        .comment-title {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
            margin-bottom: 14px;
        }

        .comment-title strong { font-size: 1.05rem; }
        .close-comment { border: 0; color: #fff; background: transparent; cursor: pointer; }
        .comment-form { display: grid; gap: 12px; }
        .comment-form label { color: var(--muted); font-size: .82rem; font-weight: 900; }
        .comment-form input,
        .comment-form select {
            width: 100%;
            min-height: 44px;
            border: 1px solid rgba(255, 79, 173, .22);
            border-radius: 8px;
            padding: 0 12px;
            color: #fff;
            background: #050207;
            font: inherit;
            font-weight: 800;
            outline: none;
        }

        .comment-form select { height: 44px; }
        .comment-form input:focus,
        .comment-form select:focus {
            border-color: rgba(255, 79, 173, .58);
            box-shadow: 0 0 22px rgba(255, 79, 173, .18);
        }

        .comment-actions {
            display: flex;
            justify-content: space-between;
            gap: 10px;
            flex-wrap: wrap;
        }

        .suggest-comment,
        .publish-comment {
            min-height: 42px;
            border-radius: 8px;
            padding: 0 14px;
            font: inherit;
            font-weight: 900;
            cursor: pointer;
        }

        .suggest-comment {
            border: 1px solid rgba(255, 79, 173, .22);
            color: var(--muted);
            background: rgba(255, 255, 255, .04);
        }

        .publish-comment {
            border: 0;
            color: #fff;
            background: linear-gradient(135deg, var(--neon), var(--magenta));
        }

        @media (max-width: 760px) {
            .nav { flex-wrap: wrap; width: min(100% - 20px, 1180px); padding: 8px 0 10px; }
            .header-logo { min-width: 132px; }
            .brand-top { font-size: 1.08rem; }
            .brand-bottom { font-size: 1rem; }
            .nav-links { order: 3; width: 100%; gap: 12px; overflow-x: auto; padding-bottom: 4px; }
            .nav-cta { margin-left: auto; padding: 0 12px; }
            main { width: min(100% - 18px, 720px); padding-top: 24px; }
            .feed-head { display: block; }
            .actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
            .actions button { min-height: 44px; padding: 8px; overflow-wrap: anywhere; }
            .post-top > div { min-width: 0; overflow-wrap: anywhere; }
            .comment-form input, .comment-form select { min-width: 0; max-width: 100%; font-size: 16px; }
        }
/* Pagination remains readable on narrow viewports. */
.feed-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; padding: 24px 0; }
.feed-pagination a { color: #f8d778; }
