    body {
      background-color: #05060b;
      color: #f1f5f9;
      overflow-x: hidden;
      -webkit-user-select: none;
      user-select: none;
      -webkit-tap-highlight-color: transparent;
      min-height: 100vh;
      position: relative;
    }
    input, textarea {
      -webkit-user-select: text !important;
      user-select: text !important;
    }
    html, body { max-width: 100vw; overflow-x: hidden; }

    @keyframes spinBorder { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
    @keyframes shiftTextColors { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

    .animated-logo-text {
      background: linear-gradient(90deg, #00f0ff, #ec4899, #facc15, #00ff88, #a855f7, #00f0ff);
      background-size: 400% 400%;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      animation: shiftTextColors 4s linear infinite;
    }

    .logo-badge-neon {
      position: relative; display: inline-flex; align-items: center; justify-content: center;
      border-radius: 9999px; padding: 2px; overflow: hidden; z-index: 1;
      box-shadow: 0 0 15px rgba(0, 240, 255, 0.35); transition: all 0.35s ease; flex-shrink: 0;
    }
    .logo-badge-neon::before {
      content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
      background: conic-gradient(transparent, #00f0ff 15%, #a855f7 40%, #ec4899 65%, #00ff88 85%, transparent 95%);
      animation: spinBorder 4s linear infinite; z-index: 0;
    }
    .logo-badge-inner {
      position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
      background: radial-gradient(circle at center, #0f1122 0%, #060710 100%);
      border-radius: 9999px; padding: 0.32rem 0.75rem; border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .slogan-capsule-neon {
      position: relative; display: inline-flex; align-items: center; justify-content: center;
      border-radius: 9999px; padding: 2px; overflow: hidden; z-index: 1;
      box-shadow: 0 0 16px rgba(0, 240, 255, 0.3), 0 0 20px rgba(236, 72, 153, 0.2);
      flex-shrink: 0; max-width: calc(100vw - 180px);
    }
    .slogan-capsule-neon::before {
      content: ''; position: absolute; top: -150%; left: -150%; width: 400%; height: 400%;
      background: conic-gradient(#00f0ff 0deg, #a855f7 50deg, #ec4899 100deg, #facc15 150deg, #00ff88 200deg, #00f0ff 250deg, #a855f7 290deg, #ec4899 330deg, #00f0ff 360deg);
      animation: spinBorder 4s linear infinite; z-index: 0;
    }
    .slogan-capsule-inner {
      position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
      background: radial-gradient(circle at center, #0e101f 0%, #060711 100%);
      border-radius: 9999px; padding: 0.35rem 0.75rem; border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .nav-pill-neon {
      position: relative; display: inline-flex; align-items: center; justify-content: center;
      border-radius: 9999px; padding: 1.8px; overflow: hidden; transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
      background: rgba(255, 255, 255, 0.03); flex-shrink: 0;
    }
    .nav-pill-neon::before {
      content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
      background: conic-gradient(transparent, var(--pill-color, #00f0ff), transparent 65%);
      animation: spinBorder 3.5s linear infinite; z-index: 0; opacity: 0.85;
    }
    .nav-pill-neon:hover {
      box-shadow: 0 0 16px var(--pill-glow, rgba(0, 240, 255, 0.5)); transform: translateY(-1.5px);
    }
    .nav-pill-inner {
      position: relative; z-index: 1; display: flex; align-items: center; gap: 0.45rem;
      border-radius: 9999px; background: #090b14; padding: 0.45rem 0.95rem; font-size: 0.82rem;
      font-weight: 700; color: #f1f5f9; border: 1px solid rgba(255, 255, 255, 0.1); white-space: nowrap;
    }

    .mobile-tab-btn {
      position: relative; display: flex; flex-direction: column; align-items: center;
      justify-content: center; gap: 3px; padding: 6px 2px; border-radius: 14px;
      transition: all 0.25s ease; background: transparent; flex: 1; min-width: 0;
    }
    .mobile-tab-icon-wrap {
      position: relative; display: flex; align-items: center; justify-content: center;
      width: 38px; height: 38px; border-radius: 12px; overflow: hidden; padding: 1.5px;
    }
    .mobile-tab-icon-wrap::before {
      content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
      background: conic-gradient(transparent, var(--tab-neon, #00f0ff), transparent 65%);
      animation: spinBorder 3.5s linear infinite; z-index: 0;
    }
    .mobile-tab-icon-inner {
      position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
      width: 100%; height: 100%; border-radius: calc(12px - 1.5px); background: #090b17;
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .neon-btn-green-animated {
      position: relative; display: inline-flex; align-items: center; justify-content: center;
      border-radius: 9999px; padding: 2px; overflow: hidden; z-index: 1; cursor: pointer;
      box-shadow: 0 0 16px rgba(0, 255, 136, 0.35); transition: all 0.35s ease; flex-shrink: 0;
    }
    .neon-btn-green-animated::before {
      content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
      background: conic-gradient(transparent, #00ff88, #10b981, #00ff88, #34d399, transparent 65%);
      animation: spinBorder 3s linear infinite; z-index: 0;
    }
    .neon-btn-green-inner {
      position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
      gap: 0.5rem; width: 100%; height: 100%; border-radius: 9999px;
      background: radial-gradient(circle at center, #091711 0%, #040c08 100%);
      padding: 0.75rem 1.5rem; color: #00ff88; font-weight: 800; border: 1px solid rgba(0, 255, 136, 0.5);
      text-shadow: 0 0 8px rgba(0, 255, 136, 0.7); white-space: nowrap;
    }

    .neon-btn-cyber-animated {
      position: relative; display: inline-flex; align-items: center; justify-content: center;
      border-radius: 9999px; padding: 2px; overflow: hidden; z-index: 1; cursor: pointer;
      box-shadow: 0 0 18px rgba(0, 240, 255, 0.35); transition: all 0.35s ease; flex-shrink: 0;
    }
    .neon-btn-cyber-animated::before {
      content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
      background: conic-gradient(transparent, #ec4899 15%, #a855f7 40%, #00f0ff 70%, transparent 85%);
      animation: spinBorder 3.5s linear infinite; z-index: 0;
    }
    .neon-btn-cyber-inner {
      position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
      gap: 0.5rem; width: 100%; height: 100%; border-radius: 9999px;
      background: radial-gradient(circle at center, #150f27 0%, #080712 100%);
      padding: 0.75rem 1.5rem; color: #ffffff; font-weight: 800; border: 1px solid rgba(255, 255, 255, 0.18);
      white-space: nowrap;
    }

    .hero-title-clean {
      color: #ffffff; font-weight: 900; letter-spacing: -0.01em;
      text-shadow: 0 0 14px rgba(255, 255, 255, 0.4), 0 0 25px rgba(0, 240, 255, 0.35);
      word-break: keep-all;
    }
    .hero-sub-line1 { color: #38bdf8; font-weight: 800; }
    .hero-sub-line2 {
      background: linear-gradient(135deg, #ec4899 0%, #c084fc 60%, #00f0ff 100%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 800;
    }
    .hero-sub-line3 {
      background: linear-gradient(135deg, #00ff88 0%, #00f0ff 50%, #facc15 100%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 900;
    }

    .neon-border-animated {
      position: relative; background: #0d0f1b; border-radius: 1.25rem; overflow: hidden; z-index: 1; padding: 2px;
    }
    .neon-border-animated::before {
      content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
      background: conic-gradient(transparent, #00f0ff, #a855f7, #ec4899, #00f0ff, transparent 70%);
      animation: spinBorder 6s linear infinite; z-index: 0;
    }
    .neon-border-inner {
      position: relative; background: #0a0b16; border-radius: calc(1.25rem - 2px); z-index: 1; height: 100%; overflow: hidden;
    }

    .tgs-glass-card {
      position: relative; border-radius: 1.35rem; padding: 2px; overflow: hidden;
      background: rgba(13, 15, 27, 0.7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
      transition: transform 0.35s ease, box-shadow 0.35s ease; box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.7);
    }
    .tgs-glass-card::before {
      content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
      background: conic-gradient(transparent, #a855f7 20%, #ec4899 45%, #00f0ff 70%, transparent 85%);
      animation: spinBorder 5s linear infinite; z-index: 0;
    }
    .tgs-glass-inner {
      position: relative; z-index: 1; height: 100%; border-radius: calc(1.35rem - 2px);
      background: radial-gradient(circle at 50% 10%, rgba(22, 24, 43, 0.85) 0%, rgba(8, 9, 17, 0.95) 100%);
      backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid rgba(255, 255, 255, 0.08);
      display: flex; flex-direction: column; justify-content: space-between;
    }

    .tgs-box {
      width: 100%; max-width: 160px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; margin: 0 auto;
    }
    .tgs-box canvas, .tgs-box svg { width: 100% !important; height: 100% !important; object-fit: contain !important; }

    .adaptive-media-container {
      display: flex; align-items: center; justify-content: center; width: 100%;
      background: radial-gradient(circle, rgba(16, 18, 33, 0.85) 0%, rgba(6, 7, 13, 0.95) 100%);
      overflow: hidden; position: relative;
    }
    .adaptive-media-img {
      max-width: 100%; height: auto; max-height: 480px; object-fit: contain; display: block; margin: 0 auto;
    }

    .app-view { display: none; }
    .app-view.active { display: block; animation: fadeIn 0.3s ease-out forwards; }
    @keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

    body.theme-cyber {
      background: radial-gradient(circle at 15% 20%, rgba(0, 240, 255, 0.08) 0%, transparent 45%),
                  radial-gradient(circle at 85% 75%, rgba(236, 72, 153, 0.09) 0%, transparent 50%),
                  #05060c;
    }
    body.theme-emerald {
      background: radial-gradient(circle at 20% 25%, rgba(0, 255, 136, 0.1) 0%, transparent 45%),
                  #030906;
    }
    body.theme-violet {
      background: radial-gradient(circle at 10% 20%, rgba(168, 85, 247, 0.12) 0%, transparent 50%),
                  #06040d;
    }
    body.theme-carbon { background: #040406; }
    body.theme-crimson { background: #0b0404; }

    /* استایل چت مشابه تلگرام */
    #userChatMessagesBox, #adminChatMessagesBox { overflow-x: hidden; }
    .msg-bubble { position: relative; touch-action: pan-y; }
    .swipe-ico {
      position: absolute; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 9999px;
      background: rgba(255,255,255,.18); color: #00f0ff; display: flex; align-items: center; justify-content: center; pointer-events: none; opacity: 0;
    }
    .msg-flash { animation: msgFlash 1.2s ease-out; }
    @keyframes msgFlash { 0%,35% { box-shadow: 0 0 0 3px rgba(0,240,255,.75); } 100% { box-shadow: 0 0 0 0 rgba(0,240,255,0); } }
    .tg-chat-bg {
      background-color: #090d16;
      background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 240, 255, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.08) 0%, transparent 45%),
        radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
      background-size: 100% 100%, 100% 100%, 22px 22px;
    }
    .tg-bubble-me {
      background: linear-gradient(135deg, #1d4ed8 0%, #4f46e5 100%);
      border-radius: 18px 18px 4px 18px;
      box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
    }
    .tg-bubble-other {
      background: #14192b;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 18px 18px 18px 4px;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    }

    @media (max-width: 1023px) { body { padding-bottom: 92px; } }
    /* ===== کارت‌های کوچک‌تر: نمونه‌های بیشتر در هر ردیف ===== */
    .grid-cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    @media (min-width: 640px) { .grid-cmp { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
    @media (min-width: 1024px) { .grid-cmp { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
    .adaptive-media-container.cmp { padding: 6px !important; min-height: 110px !important; }
    .cmp .adaptive-media-img { max-height: 240px; }
    .cmp video { max-height: 160px !important; }
    .cmp-tgs { width: 100%; max-width: 120px; aspect-ratio: 1 / 1; }
    .cmp-title { padding: 6px 8px; }
    .cmp-title span { font-size: 11px; line-height: 1.4; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    @media (min-width: 640px) { .cmp-title span { font-size: 12px; } }

    .site-mode-btn.on { background: rgba(0, 255, 136, 0.15) !important; border-color: #00ff88 !important; color: #00ff88 !important; }
