:root {
            --teal-500: #3b82f6;
            --teal-600: #2563eb;
            --teal-700: #1d4ed8;
            --teal-800: #1e3a8a;
            --bg: #e2e8f0;
            --bg2: #cbd5e1;
            --card: #f8fafc;
            --card2: #f1f5f9;
            --border: rgba(15, 23, 42, 0.08);
            --border2: rgba(37, 99, 235, 0.4);
            --text: #0f172a;
            --text2: #334155;
            --text3: #64748b;
            --accent: #2563eb;
            --r: 16px
        }

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

        body {
            font-family: 'Sora', sans-serif;
            background: var(--bg);
            color: var(--text);
            min-height: 100vh;
            line-height: 1.6
        }

        ::-webkit-scrollbar {
            width: 6px
        }

        ::-webkit-scrollbar-track {
            background: var(--bg)
        }

        ::-webkit-scrollbar-thumb {
            background: var(--teal-500);
            border-radius: 3px
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--teal-600)
        }

        header {
            background: rgba(248, 250, 252, 0.92);
            backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: 0;
            z-index: 100
        }

        .hi {
            max-width: 1280px;
            margin: 0 auto;
            padding: 14px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px
        }

        .logo-icon {
            width: 40px;
            height: 40px;
            border-radius: 12px;
            background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            box-shadow: 0 0 20px rgba(37, 99, 235, 0.4)
        }

        .logo-t {
            font-size: 18px;
            font-weight: 800;
            color: var(--text)
        }

        .logo-t span {
            color: var(--accent)
        }

        .logo-d {
            font-size: 11px;
            color: var(--text3);
            font-family: 'JetBrains Mono', monospace;
            margin-top: -2px
        }

        .badge {
            background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
            color: white;
            font-size: 10px;
            font-weight: 700;
            padding: 3px 10px;
            border-radius: 20px;
            letter-spacing: .08em;
            text-transform: uppercase
        }

        .hero {
            padding: 52px 24px 36px;
            text-align: center;
            position: relative;
            overflow: hidden
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -40%;
            left: 50%;
            transform: translateX(-50%);
            width: 600px;
            height: 380px;
            background: radial-gradient(ellipse, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
            pointer-events: none
        }

        .hero h1 {
            font-size: clamp(1.9rem, 4.5vw, 3rem);
            font-weight: 800;
            line-height: 1.15;
            margin-bottom: 14px
        }

        .hl {
            background: linear-gradient(90deg, #60a5fa, #2563eb);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text
        }

        .hero p {
            font-size: 1rem;
            color: var(--text2);
            max-width: 580px;
            margin: 0 auto 22px
        }

        .hf {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 8px
        }

        .hft {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 30px;
            padding: 5px 14px;
            font-size: 12px;
            color: var(--text2);
            display: flex;
            align-items: center;
            gap: 5px
        }

        .hft span {
            color: var(--accent)
        }

        main {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px 80px;
            display: grid;
            grid-template-columns: 1fr 400px;
            gap: 20px
        }

        @media(max-width:900px) {
            main {
                grid-template-columns: 1fr
            }
        }

        @media(max-width:600px) {
            main {
                padding: 0 16px 80px
            }
            .card {
                padding: 16px
            }
            .hi {
                padding: 12px 16px;
                justify-content: center;
                text-align: center;
            }
            .hero {
                padding: 24px 16px 20px
            }
            .hero h1 {
                font-size: 1.7rem
            }
            .hero p {
                font-size: 14px
            }
            .fg {
                grid-template-columns: 1fr;
                gap: 14px
            }
            .seo-content {
                padding: 0 16px !important
            }
            .seo-content h2 {
                font-size: 20px !important
            }
            .seo-content h3 {
                font-size: 16px !important
            }
            .seo-content p, .seo-content li {
                font-size: 14px !important
            }
            .news-ticker-label {
                font-size: 10px;
                padding: 4px 10px;
            }
        }

        .card {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: var(--r);
            padding: 22px;
            margin-bottom: 18px;
            box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04)
        }

        .ct {
            font-size: 13px;
            font-weight: 700;
            color: var(--text);
            text-transform: uppercase;
            letter-spacing: .08em;
            margin-bottom: 14px;
            display: flex;
            align-items: center;
            gap: 8px
        }

        .ct::before {
            content: '';
            width: 3px;
            height: 14px;
            background: var(--accent);
            border-radius: 2px
        }

        .drop-zone {
            border: 2px dashed var(--border2);
            border-radius: var(--r);
            padding: 38px 20px;
            text-align: center;
            cursor: pointer;
            transition: all .25s
        }

        .drop-zone:hover,
        .drop-zone.drag-over {
            border-color: var(--accent);
            background: rgba(37, 99, 235, 0.06)
        }

        .btn-p {
            background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
            color: white;
            font-weight: 700;
            font-family: 'Sora', sans-serif;
            font-size: 14px;
            padding: 10px 24px;
            border-radius: 30px;
            border: none;
            cursor: pointer;
            transition: all .2s;
            box-shadow: 0 0 20px rgba(37, 99, 235, 0.35);
            display: inline-flex;
            align-items: center;
            gap: 8px
        }

        .btn-p:hover:not(:disabled) {
            box-shadow: 0 0 30px rgba(37, 99, 235, 0.6);
            transform: translateY(-1px)
        }

        .btn-p:disabled {
            opacity: .4;
            cursor: not-allowed
        }

        .btn-o {
            background: transparent;
            color: var(--accent);
            border: 1px solid var(--border2);
            font-weight: 600;
            font-family: 'Sora', sans-serif;
            font-size: 14px;
            padding: 10px 20px;
            border-radius: 30px;
            cursor: pointer;
            transition: all .2s;
            width: 100%;
            margin-bottom: 10px
        }

        .btn-o:hover:not(:disabled) {
            background: rgba(0, 188, 168, 0.08);
            border-color: var(--accent)
        }

        .btn-o:disabled {
            opacity: .4;
            cursor: not-allowed
        }

        .btn-full {
            width: 100%;
            justify-content: center
        }

        .tabs {
            display: flex;
            gap: 6px;
            margin-bottom: 16px
        }

        .tab-btn {
            flex: 1;
            padding: 9px;
            border-radius: 10px;
            border: 1px solid var(--border);
            background: var(--card2);
            color: var(--text3);
            font-family: 'Sora', sans-serif;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all .2s
        }

        .tab-btn.active {
            background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
            color: white;
            border-color: transparent
        }

        label.lbl {
            display: block;
            font-size: 11px;
            font-weight: 600;
            color: var(--text3);
            text-transform: uppercase;
            letter-spacing: .06em;
            margin-bottom: 6px
        }

        input[type=text],
        input[type=number],
        select {
            width: 100%;
            background: var(--bg2);
            border: 1px solid var(--border);
            color: var(--text);
            border-radius: 10px;
            padding: 9px 13px;
            font-family: 'Sora', sans-serif;
            font-size: 13px;
            outline: none;
            transition: border-color .2s
        }

        input[type=text]:focus,
        input[type=number]:focus,
        select:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(0, 188, 168, 0.12)
        }

        input[type=color] {
            width: 40px;
            height: 36px;
            border-radius: 8px;
            border: 1px solid var(--border);
            background: var(--bg2);
            padding: 2px;
            cursor: pointer
        }

        input[type=checkbox] {
            accent-color: var(--accent)
        }

        .rw {
            display: flex;
            align-items: center;
            gap: 10px
        }

        .ri {
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            flex: 1;
            width: 100%;
            height: 4px;
            border-radius: 2px;
            background: var(--border2);
            outline: none
        }

        .ri::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: var(--accent);
            cursor: pointer;
            box-shadow: 0 0 8px rgba(37, 99, 235, 0.4)
        }

        .ri::-moz-range-thumb {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: var(--accent);
            cursor: pointer;
            border: none;
            box-shadow: 0 0 8px rgba(37, 99, 235, 0.4)
        }

        .rv {
            font-size: 11px;
            color: var(--accent);
            font-family: 'JetBrains Mono', monospace;
            width: 44px;
            text-align: right
        }

        .fr {
            margin-bottom: 13px
        }

        .fg {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px
        }

        .rl {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px
        }

        .rl .lbl {
            margin-bottom: 0
        }

        .rl .rv {
            width: auto
        }

        input[type=range].ri {
            width: 100%;
            display: block;
            margin: 6px 0 10px
        }

        .pos-grid {
            display: grid;
            grid-template-columns: repeat(3, 36px);
            gap: 6px;
            margin: 0 auto;
            width: fit-content
        }

        .pos-btn {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            background: var(--bg2);
            border: 1px solid var(--border);
            color: var(--text3);
            cursor: pointer;
            transition: all .15s;
            font-size: 13px
        }

        .pos-btn:hover,
        .pos-btn.selected {
            background: var(--teal-600);
            border-color: var(--teal-500);
            color: white
        }

        .fi {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 14px;
            border-radius: 10px;
            background: var(--bg2);
            margin-bottom: 6px
        }

        .fth {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            background: var(--teal-800);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            flex-shrink: 0
        }

        .pc {
            position: relative;
            border-radius: 10px;
            overflow: hidden;
            background: #0a1d1b;
            min-height: 180px;
            display: flex;
            align-items: center;
            justify-content: center
        }

        #previewCanvas {
            max-width: 100%;
            display: block;
            cursor: crosshair;
            border-radius: 10px
        }

        #previewCanvas.dragging {
            cursor: grabbing
        }

        .dh {
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.65);
            color: var(--accent);
            font-size: 11px;
            padding: 4px 12px;
            border-radius: 20px;
            pointer-events: none;
            white-space: nowrap;
            font-family: 'JetBrains Mono', monospace
        }

        .pt {
            height: 6px;
            background: var(--bg2);
            border-radius: 3px;
            overflow: hidden;
            margin-top: 10px
        }

        .pb {
            height: 100%;
            background: linear-gradient(90deg, var(--teal-600), var(--accent));
            border-radius: 3px;
            transition: width .3s;
            width: 0%
        }

        .ri-ok {
            background: rgba(0, 188, 168, 0.08);
            border: 1px solid rgba(0, 188, 168, 0.2);
            padding: 12px 14px;
            border-radius: 10px;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            justify-content: space-between
        }

        .ri-er {
            background: rgba(248, 113, 113, 0.08);
            border: 1px solid rgba(248, 113, 113, 0.2);
            padding: 12px 14px;
            border-radius: 10px;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            justify-content: space-between
        }

        .sp {
            width: 20px;
            height: 20px;
            border: 2px solid rgba(0, 188, 168, 0.2);
            border-top-color: var(--accent);
            border-radius: 50%;
            animation: spin .8s linear infinite
        }

        @keyframes spin {
            to {
                transform: rotate(360deg)
            }
        }

        .notif {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 9999;
            padding: 13px 22px;
            border-radius: 12px;
            font-size: 13px;
            font-weight: 600;
            animation: sIn .3s ease;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
            max-width: 320px
        }

        @keyframes sIn {
            from {
                opacity: 0;
                transform: translateX(20px)
            }

            to {
                opacity: 1;
                transform: translateX(0)
            }
        }

        .ns {
            background: linear-gradient(135deg, #059669, #10b981);
            color: white
        }

        .ne {
            background: linear-gradient(135deg, #dc2626, #ef4444);
            color: white
        }

        .ni {
            background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
            color: white
        }

        footer {
            border-top: 1px solid var(--border);
            background: var(--bg2);
            padding: 28px 24px;
            text-align: center
        }

        .fa {
            animation: fi .4s ease forwards
        }

        @keyframes fi {
            from {
                opacity: 0;
                transform: translateY(8px)
            }

            to {
                opacity: 1;
                transform: translateY(0)
            }
        }

        .hidden {
            display: none !important
        }

        select option {
            background: var(--bg2);
            color: var(--text)
        }

        .news-ticker {
            background: var(--card2);
            border-top: 1px solid var(--border);
            padding: 8px 0;
            overflow: hidden;
            position: relative;
            display: flex;
            align-items: center;
        }

        .news-ticker-label {
            background: var(--accent);
            color: #ffffff;
            font-weight: 800;
            padding: 6px 16px;
            font-size: 11px;
            text-transform: uppercase;
            position: absolute;
            left: 0;
            z-index: 2;
            height: 100%;
            display: flex;
            align-items: center;
            box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
            letter-spacing: .08em;
        }

        .news-ticker-content {
            white-space: nowrap;
            animation: ticker 300s linear infinite;
            padding-left: 100%;
            display: flex;
            align-items: center;
        }

        .news-ticker-content:hover {
            animation-play-state: paused;
        }

        .news-ticker-content a {
            color: var(--text2);
            text-decoration: none;
            font-size: 12px;
            margin-right: 40px;
            transition: color 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .news-ticker-content a:hover {
            color: var(--accent);
        }

        @keyframes ticker {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(-100%);
            }
        }
