    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Arial, sans-serif;
            background: #0a0a0f;
            color: #e4e4ec;
            min-height: 100vh;
        }

        .live-feed {
            margin: 0 0 40px;
            background: linear-gradient(180deg, #14141d 0%, #101017 100%);
            border: 1px solid #2a2a3a;
            border-radius: 18px;
            padding: 18px;
        }

        .live-feed-title {
            font-size: 20px;
            font-weight: 800;
            margin-bottom: 14px;
            color: #fff;
        }

        .live-feed-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 0;
            border-bottom: 1px solid #252535;
        }

        .live-feed-item:last-child {
            border-bottom: none;
        }

        .live-feed-avatar {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: #2a2a3a;
            object-fit: cover;
            flex-shrink: 0;
        }

        .live-feed-main {
            flex: 1;
            min-width: 0;
        }

        .live-feed-text {
            color: #e4e4ec;
            font-size: 14px;
            line-height: 1.4;
        }

        .live-feed-time {
            color: #777;
            font-size: 11px;
            margin-top: 3px;
        }

        .header {
            background: #12121a;
            border-bottom: 1px solid #2a2a3a;
            padding: 16px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .logo {
            font-size: 24px;
            font-weight: 800;
            color: #ff4d4d;
            text-decoration: none;
        }

        .how-it-works {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 14px;
            margin: 28px 0 40px;
        }

        .how-card {
            position: relative;
            background: linear-gradient(180deg, #14141d 0%, #101017 100%);
            border: 1px solid #2a2a3a;
            border-radius: 18px;
            padding: 24px;
            overflow: hidden;
            transition: 0.25s ease;
            cursor: pointer;
        }

        .how-card:hover {
            border-color: #ff4d4d;
            transform: translateY(-3px);
            box-shadow: 0 0 24px rgba(255, 77, 77, 0.16);
        }

        .how-step {
            font-size: 42px;
            font-weight: 900;
            color: rgba(255, 77, 77, 0.14);
            line-height: 1;
            margin-bottom: 18px;
            letter-spacing: -2px;
        }

        .how-card h3 {
            font-size: 20px;
            margin-bottom: 10px;
            color: #fff;
        }

        .how-card p {
            color: #8b8b98;
            line-height: 1.6;
            font-size: 14px;
        }
        
        .seo-text {
            margin: 0 0 40px;
            background: linear-gradient(180deg, #14141d 0%, #101017 100%);
            border: 1px solid #2a2a3a;
            border-radius: 18px;
            padding: 24px;
        }

        .seo-text h2 {
            color: #fff;
            font-size: 24px;
            margin-bottom: 14px;
        }

        .seo-text p {
            color: #a8a8b5;
            font-size: 15px;
            line-height: 1.7;
            margin-bottom: 12px;
        }

        .seo-links {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-top: 16px;
        }

        .seo-links a {
            color: #ff4d4d;
            text-decoration: none;
            font-weight: 700;
            font-size: 14px;
        }

        .seo-links a:hover {
            color: #fff;
        }

        @media (max-width: 768px) {
            .how-it-works {
                grid-template-columns: 1fr;
            }

            .how-card {
                padding: 20px;
            }

            .how-step {
                font-size: 36px;
            }
        }

        @media (max-width: 768px) {
            .how-it-works {
                grid-template-columns: 1fr;
            }

            .how-card {
                padding: 16px;
            }

            .how-card h3 {
                font-size: 17px;
            }

            .how-card p {
                font-size: 13px;
            }
        }

        .logo span {
            color: #e4e4ec;
        }
        #video-modal .modal-box {
            max-width: 900px !important;
            width: 95% !important;
            box-sizing: border-box;
        }

        #video-modal-player {
            max-width: 100% !important;
            width: 100% !important;
            height: auto !important;
            max-height: 80vh;
            display: block;
            margin: 0 auto;
        }

        #section-messages {
            position: fixed;
            top: 57px;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 10;
            background: #0a0a0f;
            padding: 0 !important;
            margin: 0 !important;
            display: none;
            flex-direction: column;
        }

        #section-messages .section-title {
            padding: 12px 20px;
            margin: 0;
            flex-shrink: 0;
            background: #0a0a0f;
        }

        .rule-highlight {
            color: #ff4d4d;
            font-weight: 800;
            background: #3a1212;
            padding: 2px 6px;
            border-radius: 6px;
            display: inline-block;
            letter-spacing: 0.3px;
        }

        #section-messages > div {
            flex: 1;
            min-height: 0;
            border: none;
            border-radius: 0;
            overflow: hidden;
            display: flex;
        }

        @media (max-width: 768px) {
            #video-modal .modal-box {
                width: 98% !important;
                padding: 16px !important;
            }
        }

        .nav-links {
            display: flex;
            gap: 20px;
            align-items: center;
        }

        .nav-links a {
            color: #888;
            text-decoration: none;
            font-weight: 500;
            font-size: 14px;
        }

        .nav-links a:hover {
            color: #fff;
        }

        .container {
            max-width: 900px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .hero {
            text-align: center;
            padding: 60px 20px 40px;
        }

        .hero h1 {
            font-size: 42px;
            font-weight: 800;
            margin-bottom: 12px;
        }

        .hero h1 .red {
            color: #ff4d4d;
        }

        .hero p {
            color: #888;
            font-size: 16px;
            margin-bottom: 30px;
        }

        .btn {
            display: inline-block;
            padding: 12px 28px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 15px;
            cursor: pointer;
            border: none;
            text-decoration: none;
            font-family: inherit;
        }

        .btn-red {
            background: #ff4d4d;
            color: white;
        }

        .btn-red:hover {
            background: #ff3333;
        }

        .btn-outline {
            background: transparent;
            color: #e4e4ec;
            border: 2px solid #2a2a3a;
        }

        .btn-outline:hover {
            border-color: #ff4d4d;
        }

        .stats {
            display: flex;
            justify-content: center;
            gap: 40px;
            margin-top: 40px;
            flex-wrap: wrap;
        }

        .stat {
            text-align: center;
        }

        .stat-value {
            display: block;
            font-size: 32px;
            font-weight: 800;
            color: #ff4d4d;
        }

        .stat-label {
            font-size: 13px;
            color: #888;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .section {
            padding: 30px 0;
        }

        .section-title {
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 16px;
        }

        .card {
            background: #12121a;
            border: 1px solid #2a2a3a;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .card:hover {
            border-color: #ff4d4d;
        }

        .rank {
            font-size: 24px;
            font-weight: 800;
            min-width: 40px;
            text-align: center;
        }

        .rank-1 { color: #ffd700; }
        .rank-2 { color: #c0c0c0; }
        .rank-3 { color: #cd7f32; }

        .avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: #2a2a3a;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            font-weight: 700;
            color: #ff4d4d;
        }

        .info {
            flex: 1;
        }

        .name {
            font-weight: 700;
            font-size: 16px;
        }

        .city {
            font-size: 13px;
            color: #888;
        }

        .points {
            text-align: right;
        }

        .points-value {
            font-weight: 700;
            color: #ff4d4d;
            font-size: 18px;
        }

        .points-label {
            font-size: 12px;
            color: #888;
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.8);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .modal.active {
            display: flex;
        }

        .modal-box {
            background: #12121a;
            border: 1px solid #2a2a3a;
            border-radius: 16px;
            padding: 30px;
            width: 90%;
            max-width: 400px;
        }

        .modal-box h2 {
            margin-bottom: 20px;
            text-align: center;
        }

        .modal-box input {
            width: 100%;
            padding: 12px;
            margin-bottom: 10px;
            border-radius: 8px;
            border: 1px solid #2a2a3a;
            background: #0a0a0f;
            color: #e4e4ec;
            font-size: 14px;
            font-family: inherit;
        }

        .modal-box .btn {
            width: 100%;
            margin-top: 6px;
        }

        #profile-view-modal .btn-outline {
            width: auto;
            margin-top: 0;
        }

        #comments-modal .btn-red {
            width: auto;
            margin-top: 0px;
        }

        #comments-modal .modal-box > div:last-child {
            display: flex;
            align-items: center;
            gap: 8px;

        }

        #comments-modal-input {
            margin-bottom: 0px;          
        }

        .tabs {
            display: flex;
            margin-bottom: 20px;
        }

        .tab {
            flex: 1;
            text-align: center;
            padding: 10px;
            cursor: pointer;
            border-bottom: 2px solid #2a2a3a;
            color: #888;
            font-weight: 600;
        }

        .tab.active {
            color: #ff4d4d;
            border-bottom-color: #ff4d4d;
        }

        .close {
            float: right;
            font-size: 28px;
            cursor: pointer;
            color: #888;
            line-height: 1;
        }

        .close:hover {
            color: #fff;
        }

        .loading {
            text-align: center;
            padding: 40px;
            color: #888;
        }

        .spinner {
            width: 40px;
            height: 40px;
            border: 3px solid #2a2a3a;
            border-top-color: #ff4d4d;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 16px;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        @media (max-width: 600px) {
            .how-it-works {
                grid-template-columns: 1fr !important;
            }
            #section-tournaments {
                padding: 70px 10px 80px !important;
            }

            #section-tournaments .section-title {
                font-size: 20px !important;
                line-height: 1.25 !important;
                margin-bottom: 12px !important;
            }

            #tournaments-list {
                width: 100% !important;
            }

            #tournaments-list > .card {
                display: flex !important;
                flex-direction: column !important;
                align-items: stretch !important;
                grid-template-columns: none !important;
                grid-template-areas: none !important;
                width: 100% !important;
                padding: 12px !important;
                margin: 0 0 12px 0 !important;
                gap: 10px !important;
            }

            #tournaments-list > .card > div:first-child {
                display: flex !important;
                flex-direction: column !important;
                align-items: stretch !important;
                gap: 8px !important;
            }

            #tournaments-list h3 {
                font-size: 16px !important;
                line-height: 1.3 !important;
                word-break: break-word !important;
            }

            #tournaments-list span {
                align-self: flex-start !important;
            }

            #tournaments-list .btn,
            #section-tournaments .btn {
                width: 100% !important;
                padding: 12px !important;
                font-size: 14px !important;
            }
            #section-admin {
                padding-top: 70px !important;
            }

            #section-admin > .card {
                display: flex !important;
                flex-direction: column !important;
                align-items: stretch !important;
                grid-template-columns: none !important;
                padding: 12px !important;
                gap: 12px !important;
            }

            #section-admin > .card > div:first-child {
                display: flex !important;
                flex-direction: column !important;
                align-items: stretch !important;
                gap: 10px !important;
            }

            #section-admin > .card > div:first-child .btn {
                width: 100% !important;
                padding: 12px !important;
                font-size: 14px !important;
            }

            #admin-pending-list {
                padding: 0 !important;
            }

            #admin-pending-list > .card {
                display: flex !important;
                flex-direction: column !important;
                align-items: stretch !important;
                grid-template-columns: none !important;
                width: 100% !important;
                padding: 12px !important;
                gap: 10px !important;
            }

            #admin-pending-list > .card > div:first-child {
                display: flex !important;
                flex-direction: column !important;
                align-items: stretch !important;
                gap: 6px !important;
            }

            #admin-pending-list > .card > div:first-child div {
                overflow-wrap: anywhere !important;
                word-break: break-word !important;
            }

            #admin-pending-list video {
                width: 100% !important;
                max-width: 100% !important;
                height: auto !important;
                max-height: 55vh !important;
                object-fit: contain !important;
            }

            #admin-pending-list > .card > div:last-child {
                display: flex !important;
                flex-direction: column !important;
                gap: 8px !important;
            }

            #admin-pending-list > .card > div:last-child .btn {
                width: 100% !important;
                padding: 12px !important;
                font-size: 14px !important;
            }
            #section-messages,
            #section-profile,
            #section-upload,
            #section-admin {
                padding-top: 60px;
            }

            #section-profile .card {
                display: flex !important;
                flex-direction: column !important;
            }

            #section-messages.active-chat .section-title {
                display: none;
            }

            #section-profile .card > div:first-child {
                display: flex;
                flex-direction: column;
                align-items: center;
                text-align: center;
                width: 100%;
            }

            #section-leaderboard > div:first-child {
                margin-top: 60px;
            }

            #section-tournaments {
                padding-top: 60px;
            }

            #section-profile .tabs {
                flex-wrap: wrap;
            }

            #section-profile .tab {
                font-size: 13px;
                padding: 8px 6px;
            }
            #section-upload .card {
                display: flex !important;
                flex-direction: column !important;
                padding: 12px !important;
            }
            #section-upload label {
                font-size: 13px !important;
            }
            #section-upload input[type="file"],
            #section-upload input[type="number"],
            #section-upload select {
                font-size: 14px !important;
                padding: 8px !important;
            }

            #profile-tab-content input {
                font-size: 14px !important;
                padding: 8px !important;
            }

            #chat-window {
                display: none;
            }
            #chat-window.active {
                display: flex;
            }
            #chat-back-btn {
                display: none;
            }
            
            .header {
                position: fixed !important;
                top: 0 !important;
                left: 0 !important;
                right: 0 !important;
                z-index: 100 !important;
                background: #12121a;
                padding: 10px 12px;
                flex-wrap: wrap;
                gap: 8px;
            }
            
            .logo {
                font-size: 18px;
            }
            
            .burger {
                display: flex !important;
                flex-direction: column;
                gap: 4px;
                cursor: pointer;
                z-index: 101;
                padding: 4px;
            }
            
            .burger span {
                display: block;
                width: 22px;
                height: 2px;
                background: #fff;
                border-radius: 2px;
                transition: 0.3s;
            }
            
            .nav-links {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: #12121a;
                flex-direction: column;
                padding: 12px;
                gap: 10px;
                border-bottom: 1px solid #2a2a3a;
                z-index: 99;
            }
            
            .nav-links.active {
                display: flex;
            }
            
            .nav-links a {
                font-size: 14px;
                padding: 8px 0;
            }
            
            #user-area {
                display: flex;
                gap: 6px;
                align-items: center;
            }
            
            .hero h1 {
                font-size: 24px;
            }
            
            .stats {
                gap: 16px;
            }
            
            .stat-value {
                font-size: 24px;
            }
            
            .btn {
                padding: 8px 14px;
                font-size: 12px;
            }
            
            .btn-outline {
                padding: 6px 12px;
                font-size: 11px;
            }
            
            .card {
                padding: 10px;
                gap: 8px;
                flex-wrap: nowrap;
                display: grid;
                grid-template-columns: 28px 36px 1fr auto;
                grid-template-areas: "rank avatar info points";
                align-items: center;
            }

            .card .rank {
                grid-area: rank;
                font-size: 18px;
                min-width: auto;
            }

            .card .avatar {
                grid-area: avatar;
                width: 36px;
                height: 36px;
                font-size: 16px;
            }

            .card .info {
                grid-area: info;
                min-width: 0;
            }

            .card .name {
                font-size: 14px;
            }

            .card .city {
                font-size: 11px;
            }

            .card .points {
                grid-area: points;
                display: flex !important;
                flex-direction: column !important;
                align-items: flex-end !important;
                gap: 2px;
                width: auto;
                text-align: right;
                white-space: nowrap;
            }

            .card .points-value {
                font-size: 15px;
            }

            .card .points-label {
                font-size: 10px;
                white-space: nowrap;
            }

            .card .points button {
                padding: 3px 5px !important;
                font-size: 10px !important;
                white-space: nowrap;
                margin-top: 2px;
            }

            /* Сообщения на мобильных — на весь экран */
            #section-messages {
                padding: 0 !important;
            }
            #section-messages .section-title {
                font-size: 18px;
                padding: 10px 12px;
                margin: 0;
            }
            #section-messages > div {
                flex-direction: column !important;
                min-height: calc(100vh - 100px) !important;
                border: none !important;
                border-radius: 0 !important;
            }
            #section-messages > div > div:first-child {
                width: 100% !important;
                min-width: auto !important;
                height: 100%;
                flex: 1;
            }
            #dialogs-list {
                max-height: none;
                border-right: none !important;
                border-bottom: 1px solid #2a2a3a !important;
            }
            #chat-window {
                display: none !important;
                position: fixed;
                top: 56px;
                left: 0;
                right: 0;
                bottom: 0;
                z-index: 50;
                background: #0a0a0f;
            }
            #chat-window.active {
                display: flex !important;
            }
            #chat-header {
                font-size: 14px;
                padding: 12px !important;
            }
            #chat-messages {
                padding: 10px !important;
            }
            #chat-input-area {
                padding: 8px !important;
                gap: 6px !important;
            }
            #chat-input {
                padding: 8px !important;
                font-size: 13px !important;
            }
            #chat-input-area .btn {
                padding: 8px 12px !important;
                font-size: 13px !important;
            }
            #user-search {
                font-size: 12px !important;
                padding: 6px !important;
            }

            #section-upload .card {
                display: flex !important;
                flex-direction: column !important;
                padding: 12px !important;
            }

            #section-upload label {
                font-size: 13px !important;
            }

            #section-upload input[type="file"],
            #section-upload input[type="number"] {
                font-size: 14px !important;
                padding: 8px !important;
            }

            #section-upload .btn-red {
                padding: 12px !important;
                font-size: 14px !important;
            }

            /* Поддержка — мобильный режим */
            /* Поддержка как сообщения */
            #section-support {
                padding: 0 !important;
            }

            #section-support > div {
                flex-direction: column !important;
                min-height: calc(100vh - 100px) !important;
                border: none !important;
                border-radius: 0 !important;
            }

            #tickets-sidebar {
                width: 100% !important;
                min-width: auto !important;
                height: 100%;
                flex: 1;
            }

            #ticket-view {
                display: none !important;
                position: fixed;
                top: 56px;
                left: 0;
                right: 0;
                bottom: 0;
                z-index: 50;
                background: #0a0a0f;
            }

            #ticket-view.active {
                display: flex !important;
                flex-direction: column;
            }

            #ticket-mobile-header {
                display: flex !important;
            }

            #ticket-view-content {
                flex: 1;
                overflow-y: auto;
                padding: 10px !important;
                padding-bottom: 80px !important;
            }

            #section-upload h3 {
                font-size: 16px !important;
            }

            #section-upload ol li {
                font-size: 13px !important;
            }

            #section-upload p {
                font-size: 11px !important;
            }
            
            #section-upload div[style*="background:#1a1a2e"] {
                padding: 12px !important;
            }

            #section-messages #chat-window:not(.active) {
                display: none !important;
            }
            
            #section-wall {
                padding: 10px !important;
            }
            #section-wall textarea {
                font-size: 13px !important;
                padding: 10px !important;
            }
            #section-wall-user {
                padding-top: 70px !important;
            }
            /* Поддержка на мобильных */
            #section-support {
                padding: 10px 0 60px !important;
            }
            #section-support .section-title {
                font-size: 18px;
                padding: 0 10px;
            }
            #section-support .card {
                display: flex !important;
                flex-direction: column !important;
                padding: 14px !important;
                margin: 0 10px 16px !important;
                gap: 10px !important;
            }
            #section-support input[type="text"],
            #section-support textarea {
                font-size: 14px !important;
                padding: 10px !important;
            }
            #section-support .btn-red {
                padding: 12px !important;
                font-size: 14px !important;
            }
            #section-support h4 {
                font-size: 16px !important;
            }
            #section-admin-tickets {
                padding: 10px 0 60px !important;
            }
            #section-admin-tickets .section-title {
                font-size: 18px;
                padding: 0 10px;
            }
            #section-admin-tickets .btn-outline {
                margin-left: 10px;
                font-size: 12px;
                padding: 8px 14px;
            }
            #tickets-list .card,
            #admin-tickets-list .card {
                display: flex !important;
                flex-direction: column !important;
                padding: 12px !important;
                margin: 0 10px 10px !important;
                gap: 8px !important;
                grid-template-columns: none !important;
            }
            #tickets-list .card div,
            #admin-tickets-list .card div {
                font-size: 13px !important;
            }
            #tickets-list input[type="text"],
            #admin-tickets-list input[type="text"] {
                font-size: 13px !important;
                padding: 8px !important;
            }
            #tickets-list .btn-red,
            #admin-tickets-list .btn-red {
                padding: 8px 14px !important;
                font-size: 13px !important;
            }
        }

        /* Бургер скрыт на десктопе */
        .burger {
            display: none;
        }
    }

    /* Бургер-меню скрыто на десктопе */
    .burger {
        display: none;
    }
    </style>