   * {
       margin: 0;
       padding: 0;
       box-sizing: border-box
   }

   body {
       font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
       overflow-x: hidden
   }

   ::-webkit-scrollbar {
       width: 5px;
       height: 5px
   }

   ::-webkit-scrollbar-track {
       background: transparent
   }

   ::-webkit-scrollbar-thumb {
       background: #cbd5e1;
       border-radius: 10px
   }

   .dark ::-webkit-scrollbar-thumb {
       background: #334155
   }

   @keyframes fadeInUp {
       from {
           opacity: 0;
           transform: translateY(24px)
       }

       to {
           opacity: 1;
           transform: translateY(0)
       }
   }

   @keyframes fadeIn {
       from {
           opacity: 0
       }

       to {
           opacity: 1
       }
   }

   @keyframes scaleIn {
       from {
           opacity: 0;
           transform: scale(0.92)
       }

       to {
           opacity: 1;
           transform: scale(1)
       }
   }

   @keyframes pulse-live {

       0%,
       100% {
           opacity: 1;
           transform: scale(1)
       }

       50% {
           opacity: .4;
           transform: scale(1.6)
       }
   }

   @keyframes slideDown {
       from {
           opacity: 0;
           transform: translateY(-12px)
       }

       to {
           opacity: 1;
           transform: translateY(0)
       }
   }

   @keyframes glow {

       0%,
       100% {
           box-shadow: 0 0 5px rgba(13, 110, 253, 0.3)
       }

       50% {
           box-shadow: 0 0 20px rgba(13, 110, 253, 0.6)
       }
   }

   .animate-fadeInUp {
       animation: fadeInUp .5s cubic-bezier(.22, 1, .36, 1) forwards
   }

   .animate-fadeIn {
       animation: fadeIn .4s ease forwards
   }

   .animate-scaleIn {
       animation: scaleIn .3s ease forwards
   }

   .animate-slideDown {
       animation: slideDown .3s ease forwards
   }

   .animate-glow {
       animation: glow 2s ease-in-out infinite
   }

   .stagger-1 {
       animation-delay: .05s
   }

   .stagger-2 {
       animation-delay: .1s
   }

   .stagger-3 {
       animation-delay: .15s
   }

   .stagger-4 {
       animation-delay: .2s
   }

   .stagger-5 {
       animation-delay: .25s
   }

   .live-pulse {
       animation: pulse-live 2s infinite
   }

   .gradient-brand {
       background: linear-gradient(135deg, #0d6efd 0%, #8b5cf6 50%, #06b6d4 100%)
   }

   .gradient-success {
       background: linear-gradient(135deg, #10b981 0%, #059669 100%)
   }

   .gradient-text {
       background: linear-gradient(135deg, #0d6efd, #8b5cf6);
       -webkit-background-clip: text;
       -webkit-text-fill-color: transparent;
       background-clip: text
   }

   .sidebar-link {
       transition: all .25s cubic-bezier(.22, 1, .36, 1);
       position: relative
   }

   .sidebar-link::before {
       content: '';
       position: absolute;
       left: 0;
       top: 50%;
       transform: translateY(-50%);
       width: 3px;
       height: 0;
       background: linear-gradient(180deg, #0d6efd, #8b5cf6);
       border-radius: 0 6px 6px 0;
       transition: height .25s ease
   }

   .sidebar-link:hover::before,
   .sidebar-link.active::before {
       height: 65%
   }

   .sidebar-link.active {
       background: linear-gradient(90deg, rgba(13, 110, 253, .08), transparent)
   }

   .dark .sidebar-link.active {
       background: linear-gradient(90deg, rgba(13, 110, 253, .15), transparent)
   }

   .notification-dot {
       position: absolute;
       top: -3px;
       right: -3px;
       width: 18px;
       height: 18px;
       background: linear-gradient(135deg, #ef4444, #f97316);
       border-radius: 50%;
       font-size: 9px;
       font-weight: 800;
       display: flex;
       align-items: center;
       justify-content: center;
       color: white;
       border: 2px solid white
   }

   .dark .notification-dot {
       border-color: #151a2b
   }

   .overlay {
       position: fixed;
       inset: 0;
       background: rgba(0, 0, 0, .7);
       backdrop-filter: blur(8px);
       z-index: 40;
       opacity: 0;
       pointer-events: none;
       transition: opacity .3s ease
   }

   .overlay.active {
       opacity: 1;
       pointer-events: auto
   }

   .sidebar-nav::-webkit-scrollbar {
       width: 3px
   }

   .team-logo {
       width: 100%;
       height: 100%;
       object-fit: contain
   }

   .score-display {
       font-variant-numeric: tabular-nums;
       letter-spacing: -.02em
   }

   @media(max-width:640px) {

       .notification-panel,
       .messenger-panel,
       .profile-panel {
           position: fixed !important;
           left: 12px !important;
           right: 12px !important;
           max-width: calc(100vw - 24px) !important;
           width: auto !important
       }

       .notification-panel {
           top: 64px !important
       }

       .messenger-panel {
           top: 64px !important
       }

       .profile-panel {
           top: 56px !important;
           right: 12px !important;
           left: auto !important
       }
   }

   .search-overlay {
       position: fixed;
       inset: 0;
       background: rgba(0, 0, 0, .65);
       backdrop-filter: blur(12px);
       z-index: 200;
       display: none;
       align-items: flex-start;
       justify-content: center;
       padding-top: 8vh
   }

   .search-overlay.active {
       display: flex
   }

   .tooltip-custom {
       position: relative
   }

   .tooltip-custom::after {
       content: attr(data-tooltip);
       position: absolute;
       bottom: calc(100% + 8px);
       left: 50%;
       transform: translateX(-50%) scale(0.8);
       opacity: 0;
       pointer-events: none;
       background: #0f172a;
       color: white;
       padding: 4px 10px;
       border-radius: 6px;
       font-size: 11px;
       white-space: nowrap;
       transition: all .2s ease;
       z-index: 100
   }

   .dark .tooltip-custom::after {
       background: #fff;
       color: #0f172a
   }

   .tooltip-custom:hover::after {
       opacity: 1;
       transform: translateX(-50%) scale(1)
   }

   /* Result Item Base (List View) */
   .result-item {
       transition: all 0.25s ease;
       border: 1px solid transparent;
   }

   .result-item:hover {
       border-color: rgba(13, 110, 253, 0.3);
       background: rgba(13, 110, 253, 0.02);
   }

   .dark .result-item:hover {
       border-color: rgba(13, 110, 253, 0.5);
       background: rgba(13, 110, 253, 0.05);
   }

   .winner-score {
       color: #10b981;
   }

   .loser-score {
       color: #94a3b8;
   }

   .draw-score {
       color: #f59e0b;
   }

   /* Grid View Layout Transformation */
   .grid-view-active .date-group-content {
       display: grid !important;
       grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
       gap: 16px !important;
       padding: 16px !important;
   }

   @media (min-width: 768px) {
       .grid-view-active .date-group-content {
           grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
       }
   }

   @media (min-width: 1280px) {
       .grid-view-active .date-group-content {
           grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
       }
   }

   @media (min-width: 1600px) {
       .grid-view-active .date-group-content {
           grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
       }
   }

   .grid-view-active .result-item {
       flex-direction: column !important;
       border-radius: 16px !important;
       border: 1px solid rgba(226, 232, 240, 0.8) !important;
       padding: 20px !important;
       background: rgba(248, 250, 252, 0.6) !important;
       box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
   }

   .dark .grid-view-active .result-item {
       border-color: rgba(42, 48, 66, 0.8) !important;
       background: rgba(23, 28, 42, 0.6) !important;
   }

   .grid-view-active .result-meta {
       width: 100%;
       flex-direction: row;
       justify-content: space-between;
       border-right: none;
       border-bottom: 1px solid rgba(226, 232, 240, 0.8);
       margin-right: 0;
       padding-right: 0;
       padding-bottom: 12px;
       margin-bottom: 16px;
   }

   .dark .grid-view-active .result-meta {
       border-bottom-color: rgba(42, 48, 66, 0.8);
   }

   .grid-view-active .result-teams {
       flex-direction: row !important;
       justify-content: space-between;
       width: 100%;
       margin-bottom: 16px;
   }

   .grid-view-active .result-team {
       flex-direction: column !important;
       gap: 8px !important;
       width: 35%;
       text-align: center;
   }

   .grid-view-active .result-team-logo {
       width: 48px !important;
       height: 48px !important;
       margin: 0 auto;
   }

   .grid-view-active .result-score-box {
       width: 30%;
       justify-content: center;
   }

   .grid-view-active .result-scorers {
       display: none !important;
   }

   /* Hide detailed scorers in grid to save space */
   .grid-view-active .result-actions {
       width: 100%;
       justify-content: center;
       border-left: none;
       border-top: 1px solid rgba(226, 232, 240, 0.8);
       padding-left: 0;
       padding-top: 16px;
       margin-left: 0;
       margin-top: auto;
   }

   .dark .grid-view-active .result-actions {
       border-top-color: rgba(42, 48, 66, 0.8);
   }

   .toggle-btn.active {
       background: #0d6efd !important;
       color: white !important;
   }

   .play-button-overlay {
       position: absolute;
       inset: 0;
       background: rgba(0, 0, 0, 0.4);
       display: flex;
       align-items: center;
       justify-content: center;
       opacity: 0;
       transition: opacity 0.3s;
   }

   .video-thumbnail:hover .play-button-overlay {
       opacity: 1;
   }

   .play-icon {
       width: 48px;
       height: 48px;
       background: rgba(239, 68, 68, 0.9);
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       color: white;
       box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
       transform: scale(0.9);
       transition: transform 0.3s;
   }

   .video-thumbnail:hover .play-icon {
       transform: scale(1);
   }