﻿        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        img { max-width: 100%; height: auto; display: block; }
        :root {
            --bg: #ffffff;
            --bg-alt: #f8f9fb;
            --bg-card: #ffffff;
            --text: #1a1a2e;
            --text-muted: #6b7280;
            --text-light: #9ca3af;
            --border: #e5e7eb;
            --primary: #ff6b35;
            --primary-hover: #e55a2b;
            --primary-light: #fff3ed;
            --accent: #7c3aed;
            --gradient-1: #ff6b35;
            --gradient-2: #7c3aed;
            --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
            --shadow-lg: 0 10px 25px rgba(0,0,0,0.08);
            --radius: 12px;
            --radius-sm: 8px;
            --font: system-ui, -apple-system, 'Segoe UI', sans-serif;
        }
        html { scroll-behavior: smooth; }
        body {
            font-family: var(--font);
            background: var(--bg);
            color: var(--text);
            line-height: 1.6;
            min-height: 100vh;
        }
        .container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

        /* Layout: main + sidebar */
        .page-layout {
            display: grid; grid-template-columns: 70% 30%; gap: 24px;
            align-items: start;
        }
        .page-main { min-width: 0; }
        .page-sidebar { position: sticky; top: 88px; }

        /* Sidebar */
        .sidebar-card {
            border: 1px solid var(--border); border-radius: var(--radius);
            background: var(--bg-card); padding: 16px; margin-bottom: 16px;
        }
        .sidebar-card h3 {
            font-size: 0.95rem; font-weight: 700; margin-bottom: 12px;
            padding-bottom: 8px; border-bottom: 1px solid var(--border);
        }
        .sidebar-post-list {
            list-style: none; display: flex; flex-direction: column; gap: 6px;
            max-height: 400px; overflow-y: auto; margin-bottom: 12px;
        }
        .sidebar-post-item {
            display: flex; align-items: center; justify-content: space-between;
            padding: 8px 10px; border: 1px solid var(--border);
            border-radius: var(--radius-sm); font-size: 0.85rem;
            transition: all 0.2s;
        }
        .sidebar-post-item:hover { border-color: var(--primary); }
        .sidebar-post-item .post-text { flex: 1; word-break: break-all; cursor: pointer; }
        .sidebar-post-item .post-text:hover { color: var(--primary); }
        .sidebar-post-item .del-post {
            background: none; border: none; cursor: pointer; color: var(--text-light);
            padding: 2px 6px; font-size: 1rem; flex-shrink: 0;
        }
        .sidebar-post-item .del-post:hover { color: #ef4444; }
        .sidebar-add-form {
            display: flex; gap: 6px;
        }
        .sidebar-add-form input {
            flex: 1; padding: 8px 10px; border: 1px solid var(--border);
            border-radius: var(--radius-sm); font-size: 0.82rem; outline: none;
        }
        .sidebar-add-form input:focus { border-color: var(--primary); }
        .sidebar-add-form button {
            padding: 8px 12px; background: var(--primary); color: #fff;
            border: none; border-radius: var(--radius-sm); cursor: pointer;
            font-size: 0.82rem; font-weight: 600; white-space: nowrap;
        }
        .sidebar-add-form button:hover { background: var(--primary-hover); }
        .sidebar-empty {
            text-align: center; color: var(--text-light); font-size: 0.82rem;
            padding: 16px 0;
        }
        .sidebar-save-btn {
            width: 100%; margin-top: 8px; justify-content: center;
        }
        .sidebar-quick-link {
            display: block; padding: 8px 10px; border: 1px solid var(--border);
            border-radius: var(--radius-sm); margin-bottom: 6px;
            text-decoration: none; color: var(--text); font-size: 0.85rem;
            transition: all 0.2s;
        }
        .sidebar-quick-link:hover { border-color: var(--primary); color: var(--primary); }

        @media (max-width: 900px) {
            .page-layout { grid-template-columns: 1fr; }
            .page-sidebar { position: static; }
        }

        /* Navbar */
        .navbar {
            background: var(--bg);
            border-bottom: 1px solid var(--border);
            position: sticky; top: 0; z-index: 100;
            padding: 0 20px;
        }
        .nav-container {
            display: flex; align-items: center; justify-content: space-between;
            max-width: 1100px; margin: 0 auto; height: 64px; gap: 20px;
        }
        .logo {
            display: flex; align-items: center; gap: 8px;
            text-decoration: none; font-weight: 800; font-size: 1.25rem;
            color: var(--text); flex-shrink: 0;
        }
        .logo-icon { font-size: 1.5rem; }
        .logo-accent { color: var(--primary); }
        .nav-links { display: flex; list-style: none; gap: 4px; }
        .nav-links a {
            text-decoration: none; color: var(--text-muted); font-size: 0.875rem;
            font-weight: 500; padding: 8px 12px; border-radius: var(--radius-sm);
            transition: all 0.2s;
        }
        .nav-links a:hover { background: var(--bg-alt); color: var(--text); }
        .mobile-menu-btn {
            display: none; flex-direction: column; gap: 5px; background: none;
            border: none; cursor: pointer; padding: 4px;
        }
        .mobile-menu-btn span {
            display: block; width: 24px; height: 2px; background: var(--text);
            border-radius: 2px; transition: 0.3s;
        }
        .nav-lang-select select {
            padding: 6px 10px; border: 1px solid var(--border); border-radius: var(--radius-sm);
            background: var(--bg); color: var(--text); font-size: 0.8rem;
        }
        .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

        /* Hero */
        .hero {
            padding: 60px 0 40px;
            background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
            text-align: center;
        }
        .hero-badge {
            display: inline-flex; align-items: center; gap: 6px;
            background: var(--primary-light); color: var(--primary);
            padding: 6px 16px; border-radius: 50px; font-size: 0.85rem;
            font-weight: 600; margin-bottom: 16px;
        }
        .hero h1 {
            font-size: 2.5rem; font-weight: 800; line-height: 1.2;
            max-width: 700px; margin: 0 auto 16px;
        }
        .gradient-text {
            background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .hero-subtitle {
            color: var(--text-muted); max-width: 600px; margin: 0 auto;
            font-size: 1.05rem;
        }

        /* Generator Layout */
        .generator-layout {
            display: flex; 
            flex-direction: column; 
            gap: 20px;
            margin-top: 302px; text-align: left;
        }
        .panel-header {
            display: flex; align-items: center; gap: 8px;
            padding: 12px 0; border-bottom: 1px solid var(--border); margin-bottom: 16px;
        }
        .panel-icon { font-size: 1.2rem; }
        .panel-title { font-size: 1rem; font-weight: 700; }
        .panel-tabs { display: flex; gap: 4px; }
        .panel-tab-btn {
            display: flex; align-items: center; gap: 6px;
            padding: 8px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm);
            background: var(--bg); color: var(--text-muted); font-size: 0.85rem;
            font-weight: 600; cursor: pointer; transition: all 0.2s;
        }
        .panel-tab-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
        .panel-tab-btn .tab-icon { font-size: 1rem; }
        .preview-badge {
            background: var(--bg-alt); color: var(--text-muted); font-size: 0.75rem;
            padding: 2px 8px; border-radius: 50px; margin-left: 4px;
        }
        .panel-tab-btn.active .preview-badge { background: rgba(255,255,255,0.2); color: #fff; }

        .generator-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 20px;
        }
        .input-group { display: flex; flex-direction: column; gap: 12px; }
        .input-wrapper { position: relative; }
        .name-input {
            width: 100%; 
            padding: 12px 16px; 
            text-align: center;
            font-size: 1.5rem;
            border: 4px solid blue; border-radius: var(--radius-sm);
            background: var(--bg); color: var(--text); outline: none;
            transition: border-color 0.2s;
        }
        .name-input:focus { border-color: var(--primary); }
        .char-counter {
            position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
            font-size: 0.75rem; color: var(--text-light);
        }
        .script-selector {
            display: flex; gap: 4px; flex-wrap: wrap; align-items: center;
        }
        .script-selector-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; margin-right: 8px; }
        .script-option-btn {
            padding: 4px 12px; border: 1px solid var(--border); border-radius: 50px;
            background: var(--bg); color: var(--text-muted); font-size: 0.78rem;
            cursor: pointer; transition: all 0.2s;
        }
        .script-option-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
        .input-actions { display: flex; gap: 8px; }
        .btn {
            display: flex; align-items: center; gap: 6px;
            padding: 10px 20px; border: none; border-radius: var(--radius-sm);
            font-size: 0.9rem; font-weight: 600; cursor: pointer;
            transition: all 0.2s;
        }
        .btn-primary { background: var(--primary); color: #fff; }
        .btn-primary:hover { background: var(--primary-hover); }
        .btn-secondary { background: var(--bg-alt); color: var(--text); border: 1px solid var(--border); }
        .btn-secondary:hover { background: var(--border); }

        /* Results - Stylish */
        .results-grid {
            display: flex; flex-direction: column; gap: 14px;
            padding: 4px 2px;
        }
        .result-card {
            display: flex; align-items: center; justify-content: space-between;
            padding: 16px 20px;
            background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
            text-align: center;
            border: 2px solid #3c3cf3;
            border-radius: 10px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 2px 8px rgba(99, 102, 241, 0.06);
            position: relative;
            overflow: hidden;
            gap: 12px;
        }
        .result-card::before {
            content: '';
            position: absolute;
            left: 0; top: 0; bottom: 0;
            width: 4px;
            background: linear-gradient(180deg, var(--primary), var(--accent));
            border-radius: 0 2px 2px 0;
            opacity: 0;
            transition: opacity 0.3s;
        }
        .result-card:hover {
            border-color: var(--primary);
            box-shadow: 0 4px 16px rgba(99, 102, 241, 0.12);
            transform: translateY(-1px);
        }
        .result-card:hover::before { opacity: 1; }
        .result-card > div:first-child { text-align: center; }
        .result-name {
            font-size: 1.05rem; font-weight: 600; word-break: break-all;
            color: var(--text); letter-spacing: 0.3px;
        }
        .result-style-label {
            font-size: 0.72rem; color: var(--text-light);
            margin-top: 3px; font-weight: 600;
            text-transform: uppercase; letter-spacing: 0.5px;
        }
        .result-actions { display: flex; gap: 6px; flex-shrink: 0; }
        .result-actions .copy-btn {
            background: linear-gradient(135deg, var(--primary), #ff8a50);
            border: none; cursor: pointer; padding: 8px 18px;
            border-radius: 8px; color: #fff; font-weight: 600;
            transition: all 0.3s; display: flex; align-items: center; gap: 6px;
            font-size: 0.82rem; box-shadow: 0 2px 8px rgba(255, 107, 53, 0.25);
        }
        .result-actions .copy-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 14px rgba(255, 107, 53, 0.35);
        }
        .result-actions .copy-btn:active { transform: translateY(0); }
        .copy-btn-text { font-size: 0.78rem; }
        .result-actions .copy-btn svg { width: 15px; height: 15px; }

        .preview-panel {
            min-width: 0;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 20px;
            box-shadow: var(--shadow);
        }
        .panel-content-area { min-height: 200px; }
        .panel-content-area .panel-view { padding-top: 4px; }
        .panel-view { display: none; }
        .panel-view.active { display: block; }

        /* Gallery */
        .section {
            padding: 60px 0;
        }
        .section-header {
            text-align: center; margin-bottom: 32px;
        }
        .section-header h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 8px; }
        .section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }
        .filter-bar {
            display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
            margin-bottom: 24px;
        }
        .filter-btn {
            padding: 8px 16px; border: 1px solid var(--border);
            border-radius: 50px; background: var(--bg); color: var(--text-muted);
            font-size: 0.85rem; cursor: pointer; transition: all 0.2s;
        }
        .filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
        .filter-btn:hover { border-color: var(--primary); }
        .names-grid {
            display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 10px;
        }
        .name-card {
            display: flex; align-items: center; justify-content: space-between;
            padding: 12px 16px; background: var(--bg-card);
            border: 1px solid var(--border); border-radius: var(--radius-sm);
            transition: all 0.2s;
        }
        .name-card:hover { border-color: var(--primary); }
        .name-card-text { font-size: 1rem; font-weight: 500; word-break: break-all; }
        .name-card-category { font-size: 0.75rem; color: var(--text-light); margin-top: 2px; }
        .name-card-actions { display: flex; gap: 4px; flex-shrink: 0; }
        .name-card-actions button {
            background: none; border: none; cursor: pointer; padding: 6px;
            border-radius: var(--radius-sm); color: var(--text-muted);
            transition: all 0.2s;
        }
        .name-card-actions button:hover { background: var(--border); color: var(--text); }

        /* Steps */
        .steps-grid {
            display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px;
        }
        .step-card {
            background: var(--bg-card); border: 1px solid var(--border);
            border-radius: var(--radius); padding: 24px; text-align: center;
        }
        .step-number {
            width: 48px; height: 48px; border-radius: 50%;
            background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
            color: #fff; display: flex; align-items: center; justify-content: center;
            font-size: 1.2rem; font-weight: 800; margin: 0 auto 16px;
        }
        .step-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
        .step-card p { color: var(--text-muted); font-size: 0.9rem; }

        /* Name Change Card Tip */
        .name-change-card-tip-inner {
            background: linear-gradient(135deg, var(--primary-light), #fff);
            border: 1px solid var(--border);
            border-radius: var(--radius); padding: 24px 32px; text-align: center;
        }
        .name-change-card-tip-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
        .name-change-card-tip-body { color: var(--text-muted); font-size: 0.9rem; }

        /* Symbol Guide */
        .symbol-guide-table-wrap { overflow-x: auto; }
        .symbol-guide-table {
            width: 100%; border-collapse: collapse; font-size: 0.9rem;
        }
        .symbol-guide-table th {
            text-align: left; padding: 12px 16px; border-bottom: 2px solid var(--border);
            font-weight: 700; color: var(--text-muted);
        }
        .symbol-guide-table td {
            padding: 10px 16px; border-bottom: 1px solid var(--border);
        }
        .symbol-guide-cell-symbol { font-size: 1.3rem; }
        .symbol-guide-copy-btn {
            padding: 4px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
            background: var(--bg); color: var(--text-muted); cursor: pointer;
            font-size: 0.8rem; transition: all 0.2s;
        }
        .symbol-guide-copy-btn:hover { border-color: var(--primary); color: var(--primary); }
        .symbol-guide-kicker {
            text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem;
            color: var(--primary); font-weight: 700; margin-bottom: 8px;
        }

        /* FAQ */
        .faq-list { max-width: 700px; margin: 0 auto; }
        .faq-item {
            border: 1px solid var(--border); border-radius: var(--radius-sm);
            margin-bottom: 8px; overflow: hidden;
        }
        .faq-item summary {
            padding: 16px 20px; cursor: pointer; font-weight: 600;
            display: flex; align-items: center; justify-content: space-between;
            list-style: none;
        }
        .faq-item summary::-webkit-details-marker { display: none; }
        .faq-answer { padding: 0 20px 16px; color: var(--text-muted); font-size: 0.9rem; }
        .faq-chevron { transition: transform 0.3s; flex-shrink: 0; }
        .faq-item[open] .faq-chevron { transform: rotate(180deg); }
        .faq-footer-cta { text-align: center; margin-top: 24px; }
        .faq-footer-cta a { color: var(--primary); text-decoration: none; font-weight: 600; }

        /* Related Tools */
        .related-grid {
            display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
        }
        .related-card {
            padding: 24px; border: 1px solid var(--border); border-radius: var(--radius);
            text-decoration: none; color: var(--text); transition: all 0.2s;
            display: flex; flex-direction: column;
        }
        .related-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); }
        .related-icon { font-size: 2rem; margin-bottom: 12px; }
        .related-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
        .related-card p { color: var(--text-muted); font-size: 0.85rem; flex: 1; }
        .related-arrow { margin-top: 12px; color: var(--primary); }

        /* In-Game Preview */
        .game-screens-wrapper { margin-top: 12px; }
        .ff-profile-card {
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: var(--radius); padding: 24px; text-align: center; color: #fff;
        }
        .ff-profile-banner { height: 60px; display: flex; justify-content: flex-end; }
        .ff-profile-level { background: rgba(255,255,255,0.2); padding: 4px 12px; border-radius: 50px; font-size: 0.85rem; }
        .ff-profile-avatar { margin: -30px 0 16px; }
        .ff-avatar-ring { width: 64px; height: 64px; border-radius: 50%; border: 3px solid #fff; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.2); font-size: 1.5rem; }
        .ff-profile-name { font-size: 1.2rem; font-weight: 700; }
        .ff-profile-uid { font-size: 0.8rem; opacity: 0.8; }
        .ff-profile-badges { display: flex; gap: 8px; justify-content: center; margin-top: 8px; }
        .ff-badge { padding: 4px 12px; border-radius: 50px; font-size: 0.78rem; background: rgba(255,255,255,0.15); }
        .screen-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
        .screen-tab {
            padding: 8px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm);
            background: var(--bg); cursor: pointer; transition: all 0.2s;
        }
        .screen-tab.active { background: var(--accent); color: #fff; border-color: var(--accent); }
        .game-screen { display: none; }
        .game-screen.active { display: block; }
        .ff-killfeed-container { background: var(--bg-alt); border-radius: var(--radius); padding: 16px; }
        .ff-killfeed-item { padding: 8px 0; border-bottom: 1px solid var(--border); display: flex; gap: 12px; }
        .ff-booyah-badge { margin-top: 12px; padding: 8px; background: linear-gradient(135deg, #f59e0b, #d97706); border-radius: var(--radius-sm); color: #fff; text-align: center; font-weight: 600; }
        .ff-squad-member { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
        .ff-squad-name { font-weight: 600; }
        .ff-squad-rank { font-size: 0.8rem; color: var(--text-muted); }
        .ff-scoreboard-table { width: 100%; }
        .ff-sb-row { display: flex; padding: 8px 0; border-bottom: 1px solid var(--border); }
        .ff-sb-you { background: var(--primary-light); font-weight: 600; }
        .ff-sb-col-rank { width: 40px; }
        .ff-sb-col-name { flex: 1; }
        .ff-sb-col-kills { width: 40px; text-align: right; }
        .btn-download-card {
            width: 100%; margin-top: 12px; justify-content: center;
            background: var(--accent); color: #fff;
        }

        /* Footer */
        .footer {
            background: var(--bg-alt); border-top: 1px solid var(--border); padding: 40px 0 20px;
            margin-top: 60px;
        }
        .footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
        .footer-brand .logo-text { font-weight: 800; font-size: 1.2rem; }
        .footer-desc { color: var(--text-muted); font-size: 0.85rem; margin-top: 8px; }
        .footer-links h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 12px; }
        .footer-links ul { list-style: none; }
        .footer-links li { margin-bottom: 6px; }
        .footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; }
        .footer-links a:hover { color: var(--primary); }
        .footer-bottom {
            margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border);
            display: flex; justify-content: space-between; align-items: center;
            font-size: 0.8rem; color: var(--text-light);
        }
        .footer-legal-links { display: flex; gap: 8px; }
        .footer-legal-links a { color: var(--text-muted); text-decoration: none; }
        .footer-legal-links a:hover { color: var(--primary); }

        /* Responsive */
        @media (max-width: 768px) {
            .generator-layout { grid-template-columns: 1fr; }
            .hero h1 { font-size: 1.8rem; }
            .nav-links { display: none; flex-direction: column; width: 100%; background: var(--bg); position: absolute; top: 64px; left: 0; padding: 10px 20px; border-bottom: 1px solid var(--border); }
            .nav-links.active { display: flex; }
            .mobile-menu-btn { display: flex; }
            .footer-content { grid-template-columns: 1fr; }
            .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
            .nav-links .nav-dropdown-menu { display: block; position: static; box-shadow: none; padding: 0 0 0 16px; min-width: auto; background: transparent; border: none; }
            .nav-links .nav-dropdown-menu .nav-dropdown-col { width: 100%; padding: 0; }
            .nav-links .nav-dropdown-menu a { white-space: normal; padding: 6px 0; }
            .nav-links .nav-dropdown-menu .nav-dropdown-label { padding: 8px 0 4px; }
        }

        /* Toast */
        .toast {
            position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
            background: var(--text); color: #fff; padding: 12px 24px;
            border-radius: var(--radius-sm); font-size: 0.9rem;
            box-shadow: var(--shadow-lg); z-index: 1000;
            opacity: 0; transition: opacity 0.3s; pointer-events: none;
        }
        .toast.show { opacity: 1; }

        /* Decoration selector in advanced */
        .generator-advanced { margin-top: 16px; }
        .generator-advanced-toggle {
            width: 100%; display: flex; align-items: center; justify-content: space-between;
            padding: 12px 16px; background: var(--bg-alt); border: 1px solid var(--border);
            border-radius: var(--radius-sm); cursor: pointer; font-weight: 600;
        }
        .generator-advanced-inner { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
        .generator-advanced-inner.is-open { display: flex; }
        .decoration-options { display: flex; flex-wrap: wrap; gap: 6px; }
        .deco-btn {
            padding: 4px 12px; border: 1px solid var(--border); border-radius: 50px;
            background: var(--bg); color: var(--text-muted); font-size: 0.8rem;
            cursor: pointer; transition: all 0.2s;
        }
        .deco-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
        .decoration-label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
        .generator-u3164-tool { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
        .btn-sm { padding: 6px 12px; font-size: 0.8rem; }
        .generator-u3164-link, .generator-tool-link-with-symbol { color: var(--primary); text-decoration: none; font-size: 0.85rem; }
        .preview-card--stacked { padding: 0; }
        .copy-history { margin-top: 12px; }
        .history-toggle {
            background: none; border: none; cursor: pointer; font-size: 0.85rem;
            color: var(--text-muted); display: flex; align-items: center; gap: 8px;
        }
        .history-toggle:hover { color: var(--text); }
        .generator-card-compact { padding: 16px; }
        .generator-input-sticky { position: relative; }

        .preview-card-scroll { max-height: 500px; overflow-y: auto; }
        .results-infinite-sentinel { height: 1px; }
        .fav-count-badge {
            background: var(--primary); color: #fff; font-size: 0.7rem;
            padding: 1px 6px; border-radius: 50px; margin-left: 4px;
        }

        .symbol-picker { margin: 4px 0; }
        .symbol-picker-toggle {
            background: none; border: none; cursor: pointer; font-size: 0.85rem;
            color: var(--text-muted); display: flex; align-items: center; gap: 8px;
        }
        .symbol-picker-panel { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; max-height: 120px; overflow-y: auto; }
        .decoration-options-scroll { max-height: 150px; overflow-y: auto; }
        .generator-advanced-chevron, .symbol-toggle-chevron { transition: transform 0.3s; }

        /* Provided script: style cards - Stylish */
        .style-card {
            display: flex; align-items: left; justify-content: center;
            padding: 16px 20px;
            background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
            border: 2px solid #1b1bdb;
            border-radius: 10px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(99, 102, 241, 0.06);
            position: relative;
            overflow: hidden;
            gap: 12px;
        }
        .style-card::before {
            content: '';
            position: absolute;
            left: 0; top: 0; bottom: 0;
            width: 4px;
            background: linear-gradient(180deg, var(--primary), var(--accent));
            border-radius: 0 2px 2px 0;
            opacity: 0;
            transition: opacity 0.3s;
        }
        .style-card:hover {
            border-color: var(--primary);
            box-shadow: 0 4px 16px rgba(99, 102, 241, 0.12);
            transform: translateY(-1px);
        }
        .style-card:hover::before { opacity: 1; }
        .style-card .rock {
            font-size: 0.00rem; font-weight: 100; color: var(--text-muted);
            flex-shrink: 0; min-width: 0px; text-align: left;
        }
        .style-card span:nth-child(2) {
            flex: 1; font-size: 1.05rem; font-weight: 600; word-break: break-all;
            text-align: left; color: var(--text); letter-spacing: 0.3px;
        }
        .style-card .copy-btn {
            flex-shrink: 0; padding: 8px 18px;
            background: linear-gradient(135deg, var(--primary), #ff8a50);
            border: none; border-radius: 8px; color: #fff; font-weight: 600;
            cursor: pointer; font-size: 0.82rem; transition: all 0.3s;
            box-shadow: 0 2px 8px rgba(255, 107, 53, 0.25);
        }
        .style-card .copy-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 14px rgba(255, 107, 53, 0.35);
        }

        .category-h3 {
            font-size: 1.15rem; font-weight: 800; margin: 28px 0 14px;
            padding: 12px 18px; border-radius: 8px;
            background: linear-gradient(135deg, #f0f0ff 0%, #fff5f0 100%);
            border-left: 4px solid var(--primary);
            color: var(--text);
        }
        .name-styles-grid {
            display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
            gap: 14px; margin-bottom: 8px;
        }

        .extra-styles-section {
            margin-top: 20px; padding-top: 20px;
            border-top: 2px solid #e8e8f0;
        }
        .extra-styles-section h4 {
            font-size: 1rem; font-weight: 800; margin-bottom: 14px;
            padding: 8px 14px; border-radius: 8px;
            background: linear-gradient(135deg, #f0f0ff 0%, #fff5f0 100%);
            border-left: 4px solid var(--accent);
            color: var(--text);
            display: inline-block;
        }

        /* Categories section */
        .categories-section {
            padding: 40px 0;
        }
        .categories-section .section-header {
            text-align: center; margin-bottom: 24px;
        }
        .categories-section .section-header h2 {
            font-size: 1.5rem; font-weight: 800;
        }

        /* === Post Template Styles for Gallery === */
        #gallery .leftcolumn {
            padding: 15px;
            min-height: 400px;
            margin-top: 15px;
            border-radius: 15px;
            background-color: #fff;
            box-shadow: 2px 2px 12px 1px #d8d8d8;
        }
        #gallery .leftcolumn h3, #gallery .leftcolumn h4 {
            border-bottom: 3px solid #04da39;
            margin-top: 5px;
            margin-bottom: 5px;
        }
        #gallery .leftcolumn p {
            margin-top: 5px;
            margin-bottom: 5px;
            padding: 5px;
        }
        #gallery .leftcolumn a { color: #000; }
        #gallery .thish1 {
            font-size: 25px;
            margin: -15px -15px 20px;
            color: #fff;
            border-radius: 15px 15px 0 0;
            padding: 8px;
            background: -moz-linear-gradient(-45deg, #48db04 0%, #13d9c9 52%, #cf0ad6 100%);
            background: -webkit-linear-gradient(-45deg, #fe127b 0%, #d913cb 52%, #6875dd 100%);
            background: linear-gradient(135deg, #fe127b 0%, #d913cb 52%, #6875dd 100%);
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fe127b',endColorstr='#6875dd',GradientType=1);
            background-size: 350% 350%;
            animation: waveColors 8s ease infinite;
            text-align: center;
        }
        @-webkit-keyframes waveColors {
            0% { background-position: 0% 7%; }
            50% { background-position: 100% 94%; }
            100% { background-position: 0% 7%; }
        }
        @keyframes waveColors {
            0% { background-position: 0% 7%; }
            50% { background-position: 100% 94%; }
            100% { background-position: 0% 7%; }
        }
        #myInput {
            background-image: url(searchicon.png);
            background-position: 12px 14px;
            background-repeat: no-repeat;
            width: 70%;
            height: 50px;
            font-size: 16px;
            padding: 12px 20px 12px 40px;
            border: 1px solid #ddd;
            margin-bottom: 12px;
            border-radius: 5px;
            box-shadow: -2px 2px #ececec;
            font-family: Inter;
        }
        #myInput:focus { box-shadow: -5px 5px 12px #dedbdb inset; }
        #myUL {
            list-style-type: none;
            margin: 0 0 10px;
            display: inline;
            box-sizing: border-box;
            font-family: arial;
        }
        #myUL li { display: inline; }
        .emz {
            margin-left: 4px;
            margin-bottom: 5px;
            border-radius: 8px;
            border-style: outset;
            border: 1px solid #d3d3d3;
            border-color: #d3d3d3;
            background-color: #fff;
            display: inline-block;
            width: 51px;
            height: 51px;
            font-size: 30px;
            line-height: 51px;
            text-align: center;
            vertical-align: middle;
            overflow: hidden;
            cursor: pointer;
            box-shadow: 2px 2px 4px 2px #bfbfbf33;
            transition: 0.2s;
        }
        .emz:hover {
            background-color: #ececec;
            font-size: 33px;
            cursor: pointer;
            margin-top: -5px;
            box-shadow: 4px 4px 4px 1px #9d9a9a33;
        }
        .nickfinder-ff {
            margin-left: 4px;
            margin-bottom: 5px;
            border-radius: 8px;
            border-style: outset;
            border: 2px solid #d3d3d3;
            border-color: #2204a7;
            background-color: #ffffff;
            display: inline-block;
            min-width: 45%;
            width: auto;
            padding: 0 5px;
            font-size: 20px;
            line-height: 51px;
            text-align: center;
            vertical-align: middle;
            overflow: hidden;
            cursor: pointer;
            box-shadow: 8px 4px 6px 4px #0323db33;
            transition: 0.5s;
        }
        .nickfinder-ff:hover {
            background-color: #b3e6e7;
            cursor: pointer;
        }
        .allemocl {
            margin-left: 4px;
            margin-bottom: 5px;
            border-radius: 8px;
            border-style: outset;
            border: 6px solid #d3d3d3;
            border-color: #d3d3d3;
            background-color: #fff;
            display: inline-block;
            min-width: 41px;
            width: auto;
            height: 41px;
            font-size: 26px;
            line-height: 41px;
            text-align: center;
            vertical-align: middle;
            overflow: hidden;
            cursor: pointer;
            box-shadow: 2px 0 3px 1px #bfbfbf33;
            transition: 0.5s;
        }
        .allemocl:hover {
            background-color: #f2f2f2;
            cursor: pointer;
            margin-top: -5px;
            box-shadow: 4px 4px 4px 1px #9d9a9a33;
        }
        .threedot { text-align: center; margin: 15px auto auto; }
        #allemoid { transform: none !important; -webkit-transform: none !important; }
        #emojizexp {
            margin-left: 4px;
            margin-bottom: 5px;
            border-radius: 8px;
            border-style: outset;
            border: 1px solid #d3d3d3;
            border-color: #d3d3d3;
            background-color: #fff;
            display: inline-block;
            min-width: 70px;
            width: auto;
            padding-left: 3px;
            padding-right: 3px;
            height: 51px;
            font-size: 20px;
            line-height: 51px;
            text-align: center;
            vertical-align: middle;
            overflow: hidden;
            cursor: pointer;
            box-shadow: 2px 2px 4px 2px #bfbfbf33;
            transition: 0.5s;
        }
        #emojizexp:hover { background-color: #ececec; cursor: pointer; }
        @keyframes move {
            0% { transform: scale(1) rotate(0deg); }
            100% { transform: scale(2) rotate(180deg); }
        }
        .dropbtn {
            color: #fff; padding: 15px; font-size: 16px; border: none;
            text-align: center; width: 100%;
            background-size: 300% 100%; border-radius: 5px;
            transition: all 0.4s ease-in-out;
            background-image: linear-gradient(to right, #667eea, #764ba2, #6b8dd6, #8e37d7);
            box-shadow: 0 4px 15px 0 rgba(116, 79, 168, 0.75);
            font-family: Inter;
        }
        .dropbtn:hover { background-position: 100% 0; }
        .dropbtn:focus { outline: none; }
        .dropbtn.color-3 {
            background-image: linear-gradient(to right, #667eea, #764ba2, #6b8dd6, #8e37d7);
            box-shadow: 0 4px 15px 0 rgba(116, 79, 168, 0.75);
        }
        .dropdown { position: relative; display: inline-block; width: 100%; }
        .dropdown-content {
            display: none; position: absolute; background-color: #f1f1f1;
            width: 100%; box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
            z-index: 1; border-radius: 10px; height: 500px;
            overflow: hidden; overflow-y: scroll;
        }
        .dropdown-content a {
            color: #000; padding: 12px 16px; text-decoration: none;
            display: block; font-weight: 600; font-size: 15px;
        }
        .dropdown-content a:hover {
            background-color: #ddd; color: #fff;
            background-image: linear-gradient(to right, #fc6076, #ff9a44, #ef9d43, #e75516);
            box-shadow: 0 4px 15px 0 rgba(252, 104, 110, 0.75);
            border-radius: 10px;
        }
        .dropdown:hover .dropdown-content { display: block; }
        .dropdown:hover .dropbtn { background-color: #3e8e41; }
        .select { float: right; width: 29.45%; height: 50px; }
        .symbolspalace { position: relative; display: inline-block; float: left; text-align: center; }
        .emz::selection { color: #000; background-color: transparent; }
        .allemocl::selection { color: #000; background-color: transparent; }
        .nickfinder-ff::selection { color: #000; background-color: transparent; }
        ::selection { color: #fff; background: #000; }
        ::-moz-selection { color: #fff; background: #000; }
        .thish2 {
            margin-top: 10px; margin-bottom: 10px; color: #383838; font-size: 18px;
        }
        .thish2content {
            margin-top: 20px; margin-bottom: 10px;
            background-color: #fe127b;
            background-image: linear-gradient(315deg, #fc5296 0%, #f67062 74%);
            color: #fff; padding: 5px; border-radius: 5px;
        }
        #sunadiv {
            padding: 5px 50px 5px 5px; height: 35px; font-size: 18px;
            border-radius: 5px; border: 1px solid #ddd; width: 100%;
        }
        #sunadiv:focus { outline: none; }
        .mknginlmagic { display: inline; position: fixed; bottom: 5px; text-align: center; }
        .copyidbtn {
            padding: 5px; outline: none; border: none;
            background-color: #fe127b;
            background-image: linear-gradient(315deg, #fc5296 0%, #f67062 74%);
            color: #fff; border-radius: 5px; width: 100%; height: 35px;
        }
        .cutidbtn {
            border: none; color: #f95e81; border-radius: 5px; font-size: 18px;
            margin-left: -5%; outline: none; cursor: pointer; background-color: transparent;
        }
        @keyframes fadeInUp {
            from { opacity: 0; -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); }
            to { opacity: 1; -webkit-transform: none; transform: none; }
        }
        #target {
            z-index: 99999; background: #2f2e2e; margin-left: 15%; margin-right: 15%;
            width: 70%; height: auto; position: fixed; bottom: 0;
            display: none; border-radius: 10px 10px 0 0; padding: 5px;
            animation: fadeInUp 0.5s ease-in-out 0s forwards;
        }
        #Show {
            font-family: Inter; z-index: 99999; position: fixed; font-weight: 500;
            bottom: 0; right: 5px; padding: 15px 4px 4px;
            border-radius: 15px 15px 4px 4px; outline: none; border: none;
            background-color: #2f2e2e; color: #fbfbfb;
            box-shadow: -1px -1px 6px #797979;
            animation: fadeInUp 0.5s ease-in-out 0s forwards;
        }
        #Hide {
            display: none; border-radius: 5px; padding: 3px; outline: none;
            border: none; background-color: transparent; color: #fff; font-size: 18px;
        }
        #samosa {
            display: none; max-width: 150px; font-size: 18px; font-weight: 600;
            padding: 15px; position: fixed; bottom: 20%; text-align: center;
            background: #ff8a00;
            background: linear-gradient(to top left, hsl(190, 100%, 30%), hsl(280, 100%, 45%));
            color: #fff; border-radius: 5px;
            animation: fadeOut ease 0.8s;
            -webkit-animation: fadeOut ease 0.8s;
            box-shadow: -2px 8px 10px 3px #dab7ec;
        }
        .button {
            border: 1px solid #e6e4e4; border-radius: 5px; padding: 0 5px;
            background-color: #f7f7f7; box-shadow: 2px 2px 2px #aeacac; transition: 0.5s;
        }
        .button:hover { box-shadow: 1px 2px 1px #aeacac inset; }
        #catmaj { text-align: left; }
        #cti {
            padding: 5px 10px; border: 1px solid #e7e7e7; width: 70px; height: 65px;
            margin-bottom: 5px; border-radius: 6px; border-style: outset;
            border: 1px solid #d3d3d3; background-color: #fff; display: inline-block;
            text-align: center; vertical-align: middle; overflow: hidden; cursor: pointer;
            box-shadow: 2px 2px 4px 2px #bfbfbf33; transition: 0.2s;
        }
        #cti:hover { box-shadow: 3px 8px 16px 0 #b6b3b3; border: 1px solid #e7e7e7; }
        #cti a { text-decoration: none; }
        #stmd { font-size: 25px; margin-bottom: 3px; height: 33px; }
        #mn {
            display: block; font-size: 15px; background-color: #fff;
            margin-left: -10px; margin-right: -10px; margin-bottom: -5px;
            border-top: 1px solid #f2f2f2; border-radius: 0 0 5px 5px; letter-spacing: -0.5px;
        }
        #snz { margin: 0 auto 15px; border: 1px solid #dedede; padding: 5px; border-radius: 0 5px 5px 5px; }
        #snznm { margin-top: 15px; }
        #snznm span {
            width: auto; padding: 5px 5px 0; color: #fff;
            background-color: #fa1281;
            background-image: linear-gradient(326deg, #e813ac 0%, #fa1281 74%);
            border-radius: 10px 10px 0 0; font-weight: 600;
        }
        #toastposttbl {
            display: none; max-width: 150px; font-size: 20px; font-weight: 600;
            padding: 15px; position: fixed; bottom: 120px; left: 46%;
            text-align: center; color: #eee; border-radius: 5px;
            background: #ff8a00;
            background: linear-gradient(to top left, hsl(190, 100%, 30%), hsl(280, 100%, 45%));
            box-shadow: -2px 8px 10px 3px #dab7ec;
            animation: fadeOut ease 0.8s;
            -webkit-animation: fadeOut ease 0.8s;
        }
        .alctr { text-align: center; margin-left: 40%; margin-right: 40%; }
        #boldmin { font-weight: 400; }
        .contentpara { text-align: justify; }
        @keyframes fadeOut {
            0% { opacity: 1; }
            100% { opacity: 0; }
        }
        @-moz-keyframes fadeOut {
            0% { opacity: 1; }
            100% { opacity: 0; }
        }
        @-webkit-keyframes fadeOut {
            0% { opacity: 1; }
            100% { opacity: 0; }
        }
        @-o-keyframes fadeOut {
            0% { opacity: 1; }
            100% { opacity: 0; }
        }
        @-ms-keyframes fadeOut {
            0% { opacity: 1; }
            100% { opacity: 0; }
        }
        div.scrollmenu {
            background: #3600f7;
            background: -webkit-linear-gradient(to right, #a905db, #44f562);
            background: linear-gradient(to right, #1b05dd, #05a7ac);
            overflow: auto; white-space: nowrap; text-align: center;
        }
        div.scrollmenu a {
            display: inline-block; color: #fff; text-align: center;
            padding: 12px; text-decoration: none;
        }
        div.scrollmenu a:hover {
            background-color: #045de9;
            background-image: linear-gradient(315deg, #045de9 0%, #09c6f9 74%);
        }
        ::-webkit-scrollbar { height: 5px; color: #555; width: 2px; }
        ::-webkit-scrollbar-track { background: linear-gradient(90deg, #201c29, #201c29 1px, #100e17 0, #100e17); }
        ::-webkit-scrollbar-thumb { background: linear-gradient(90deg, #00c9ff 10%, #92fe9d 90%); border-radius: 5px; }
        .tablepost {
            margin: 10px 0 15px; border-collapse: collapse; width: 100%;
            background-color: #fff; color: #000;
            box-shadow: 2px 2px 7px 3px #f2f2f2;
        }
        .tablepost td, .tablepost th {
            text-align: left; padding: 8px; border: none; border: 1px solid #ececec;
        }
        .tablepost tr:nth-child(even) { background-color: #fefefe; }
        .tablepost tr:hover { background-color: #f2f2f2; }
        .trpost { background-color: #f2f2f2; }
        .tablepost td:nth-child(1) { text-align: center; font-size: 18px; cursor: pointer; }
        .tablepost td:nth-child(3), .tablepost td:nth-child(4), .tablepost td:nth-child(5) { cursor: pointer; }
        #mmsgahh { display: none; margin: 100px auto; }
        .table {
            margin: 10px 0 15px; border-collapse: collapse; width: 100%;
            background-color: #fff; color: #000;
            box-shadow: 2px 2px 7px 3px #f2f2f2;
        }
        .table td, .table th { text-align: left; padding: 8px; border: none; border: 1px solid #ececec; }
        .table tr:nth-child(even) { background-color: #fefefe; }
        .table td:hover { background-color: #f2f2f2; }
        .table tr > th { text-align: center; }
        td a { text-decoration: none; color: #000; }
        #target table { width: 100%; margin-bottom: 10px; }
        .flrit { float: right; }
        #TxtAre {
            width: 100%; min-height: 80px; font-size: 18px; outline: none;
            padding: 5px; border: 2px solid #dbdbdb; border-radius: 5px;
            transition: background-color 0.2s ease 0s;
        }
        #MyDvgS {
            width: 100%; min-height: 80px; font-size: 18px; outline: none;
            padding: 5px; border: 2px solid #dbdbdb; border-radius: 5px;
            transition: background-color 0.2s ease 0s; cursor: default;
        }
        #sdcx { margin-top: 15px; width: 48%; display: inline-block; }
        #sdcxs { margin-top: 15px; width: 48%; display: inline-block; }
        #strong {
            padding: 2px; border-radius: 5px 5px 0 0;
            border-top: 2px solid #dbdbdb; border-right: 2px solid #dbdbdb;
            border-left: 2px solid #dbdbdb; margin-bottom: 6px; font-weight: 600;
        }
        .gkf { margin: 10px 0px; color: #555; font-weight: 600; font-size: 20px; }
        @media screen and (max-width: 718px) { .tablepost { overflow-x: scroll; } }
        @media screen and (min-width: 800px) { ::-webkit-scrollbar { width: 5px; } }
        @media screen and (max-width: 800px) {
            #gallery .leftcolumn { margin-left: 0px; margin-right: 0px; }
            .nickfinder-ff { min-width: 48%; font-size: 13px; }
            #gallery .thish1 { margin: -15px -15px 20px; }
            #sdcx { width: 100%; }
            #sdcxs { width: 100%; }
            .cutidbtn { margin-left: -8%; }
            .copyidbtn { padding: 5px 15px; }
            #sunadiv { padding: 5px 30px 5px 5px; }
            .emz { width: 45px; height: 45px; font-size: 30px; line-height: 41px; }
            #target { width: 100%; margin-left: 0%; margin-right: 0%; }
            .dropdown-content { width: 150%; margin-left: -50%; }
            .inlinedata { display: none; }
            #catmaj { text-align: center; }
            #cti { width: 70px; }
        }
        @media screen and (max-width: 390px) {
            .thish1 { font-size: 20px; }
            #gallery .thish1 { margin: -15px -8px 20px; }
            #gallery .leftcolumn { padding: 15px 8px; }
        }
        @media screen and (max-width: 285px) {
            .cutidbtn { margin-left: -12%; }
        }
        .nickfinderff, .nickfinder-ff, .emolenfac {
            text-align: center;
            display: inline-block;
            margin: 4px;
            font-size: 18px;
            cursor: pointer;
            background: #fff;
            color: #000;
            border: 2px solid #a1a1a6;
            padding: 10px 15px;
            border-radius: 10px;
            transition: all 0.2s;
        }
        .nickfinderff:hover, .nickfinder-ff:hover, .emolenfac:hover {
            border-color: #04214e;
            background: #f2f2f2;
        }
        a.nickfinderff, a.category-link {
            text-decoration: none;
            color: #000;
            display: inline-block;
        }
        a.nickfinderff:hover, a.category-link:hover {
            color: #000;
        }
        .categories-section {
            padding: 40px 0;
        }
        .categories-section .container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .nav-dropdown { position: relative; display: inline-block; }
        .nav-dropdown-a { cursor: pointer; }
        .nav-dropdown-menu {
            display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
            background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.12);
            border-radius: 10px; padding: 12px 0; z-index: 200;
            border: 1px solid #e5e7eb;
            flex-direction: row; gap: 0;
        }
        .nav-dropdown:hover .nav-dropdown-menu { display: flex; }
        .nav-dropdown-col {
            flex: 1; padding: 0 8px; min-width: 180px;
        }
        .nav-dropdown-col a {
            display: block; padding: 6px 14px; color: #444; font-size: 0.82rem;
            border-radius: 6px; text-decoration: none; transition: all 0.15s;
        }
        .nav-dropdown-col a:hover { background: #f0f0f0; color: #000; }
        .nav-dropdown-label {
            padding: 6px 14px 4px; font-size: 0.7rem; font-weight: 700;
            color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px;
            pointer-events: none;
        }
        .nav-dropdown-col:first-child { border-right: 1px solid #eee; }
