* {
    box-sizing: border-box;
}

body {
	font-size:15px;
    display:flex;
	margin: 0;
    background: white;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: black;
	flex-direction: column;
     min-height: 100dvh; /* Takes full height of the viewport */
	background-image: url(/assets/img/background.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed; 
}
body a {color:#004278;}
@media (max-width: 768px) {
    .hide-mobile-widgets .mobile-widgets {
        display: none;
    }
}

.subhead {
  font-weight: 700;
  font-size: 16px;
  background-color: rgb(34, 34, 34);
  display: flex;
  -moz-box-align: center;
  align-items: center;
  color: rgb(250, 251, 250);
  padding: 12px 16px;
  margin-bottom: 10px;
  gap:10px
  
}
/* Main max-width shell */
/* HEADER */
.clash-header {
    background: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 2px 4px;
    position: relative;
    padding: 4px 6px;
    width: 100%;
    overflow: visible;     /* 🔥 REQUIRED */
    z-index: 1000;         /* 🔥 REQUIRED */
}
.clash-header-container {
    max-width: 1280px;
	width:100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.clash-header-user {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: black;
}
.clash-logo {
    height: 60px;          /* adjust this to fine-tune */
    width: auto;
    display: block;
}
.header-logo img {
    height: 80px;
    width: auto;
    display: block;
}
.clash-logo-link {
    display: flex;
    align-items: center;
}
.clash-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #e5e7eb;
}

.clash-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.headuserlog {
  margin-left: 16px;
  min-width: 0px;
}

.header-auth-link {
    margin-left: 15px;
    font-weight: 600;
}
.header-logout {
  text-decoration: none;
  color: #333;
}
.header-auth-link {
    font-weight: bold;
    color: #333;
}

.header-auth-link:hover,
.header-logout:hover {
    border-color: #facc15;
}

.header-user  {
  display: flex;
  height: 100%;
  align-items: center;
  border-color: rgb(51, 52, 51);
    border-left-color: rgb(51, 52, 51);
  border-left: 1px solid #e3a721;
  padding-left: 20px;
}
.header-username {
  margin-bottom: 4px;
  display: block;
  max-width: 120px;
}
.header-user-link {
  white-space: nowrap;
  text-decoration: underline transparent;
  color: #c02d25;
  font-weight: 700;
  transition: text-decoration 200ms;
  display: block;
  font-size: 16px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  background: #ddd;
  border: 3px solid #f2a900;
}

.header-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-avatar-letter {
    font-weight: bold;
    font-size: 16px;
}


/* ========== NAVIGATION BAR ========== */
.clash-nav-wrapper {
    background: #004287;
    border-bottom: 2px solid #000;
	display: flex;
}
.clash-nav {
    width: 100%;
    background: #004287;
}

.clash-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 5px 0;
	padding-left: 15px;
	display: flex;
    align-items: center;
    justify-content: space-between;
}
.clash-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
}
.clash-nav-list {
    list-style: none;
    display: flex;
    gap: 45px;
    padding: 14px 0;
    margin: 0;
}
.clash-nav-list a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding-bottom: 6px;
    transition: color 0.2s ease-in-out;
}
.clash-nav-list a:hover {
    color: #ffdd55;             /* soft gold */
}
.clash-nav-list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0%;
    background-color: #ffdd55;
    transition: width 0.25s ease-in-out;
}
.clash-nav-list a:hover::after {
    width: 100%;
}
/* ACTIVE PAGE (OPTIONAL) */
.clash-nav-list a.active,
.clash-nav-list a.active:hover {
    color: #ffdd55;
}

.clash-nav-list a.active::after {
    width: 100%;
}
.dropdown-menu {
    display: none;
	color: #cc3333;
    position: absolute;
    background: #000000f0;
    list-style: none;
    padding: 10px;
	padding-bottom: 6px;
    border: 1px solid #ccc;
	z-index: 999;
}

.dropdown-menu a{
display:flex;
padding:6px 12px;
gap: 5px;
}
.dropdown:hover .dropdown-menu {
    display: block;
}
.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}
.dropdown-btn {
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    font-weight: 800;
}
.dropdown-menuhead {
    display: none;
    position: absolute;
    background: #181818;
    border-radius: 10px;
	list-style:none;
    min-width: 170px;
    box-shadow: 0 8px 20px rgba(0,0,0,.4);
    z-index: 1000;
}
.dropdown:hover .dropdown-menuhead {
    display: block;
}
.dropdown-menuhead a {
    display: block;
    padding: 12px 14px;
    color: white;
    text-decoration: none;
	border-radius: 10px;
}
.drop {
	width:30px;
	height:auto;
}
.dropdown-menuhead a:hover {
    background: #242424;
}
.nav-link {
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.nav-link:hover {
    color: #facc15;
}

.nav-disabled {
    opacity: 0.4;
    cursor: default;
}
.nav-disabled {
    color: #64748b;            /* slate gray */
    cursor: not-allowed;
    opacity: 0.6;
    text-decoration: none;
}
.nav-pill {
    background: #f97316;
    color: #111827;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}
/* ===============================
   MOBILE SLIDE-IN NAV
   =============================== */

.clash-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

/* Overlay */
.clash-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 999;
}

.clash-nav-overlay.show {
    opacity: 1;
    pointer-events: all;
}
.navtit    {	
   display:none;
}
@media (max-width: 768px) {
.navtit    {	
   left: 51px;
  position: absolute;
  top: 95px;
  color: #ccc;
  font-weight: 700;
  display: flex;
 
}

    .clash-nav-toggle {
        display: block;
        margin-right: auto;
    }

    /* SLIDE-IN PANEL */
    .clash-nav {
        position: fixed;
        top: 0;
        left: -260px;
        width: 240px;
        height: 100vh;
        background: #0f172aed;
        box-shadow: 4px 0 12px rgba(0,0,0,0.4);
        transition: left 0.3s ease;
        z-index: 1000;
    }

    .clash-nav.open {
        left: 0;
    }

    .clash-nav-inner {
        padding: 16px;
    }

    /* NAV LIST */
    .clash-nav-list {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 8px; /* ✅ FIXED (semicolon added) */
        margin-top: 12px;
        list-style: none;
        padding: 0;
    }
    .clash-nav-list li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .clash-nav-list li a {
        padding: 12px 8px;
        display: flex;
        color: #fff;
        text-decoration: none;
    }

    /* Disable hover dropdowns on mobile */
    .dropdown:hover .dropdown-menu {
        display: none;
    }

    /* Mobile dropdown trigger */
    .dropdown > a {
        pointer-events: auto;
        font-weight: 600;
    }

    /* Dropdown menu */
    .dropdown-menu {
        display: none;
        position: static;
        background: #020617;
        padding-left: 12px;
        margin-bottom: 6px;
		border: 0px solid #ccc;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
		display:flex;
        padding: 10px 8px;
    }
	.dropdown-league-link {
    display: flex;
    gap: 8px;
}
}


/* PAGE CONTENT */
.page-content {
    max-width: 1200px;
    margin: 24px auto 40px;
    padding: 20px;
    background: #111827;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

/* HEADINGS */
h1, h2, h3 {
    margin-top: 0;
}

/* FORMS */
form {
    max-width: 400px;
    margin-top: 2px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
form.lea {
    max-width: 400px;
    margin-top: 5px;
    gap: 5px;
	display:block;
}
input[type="text"],
input[type="email"],
input[type="password"] {
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #4b5563;
    background: #e1e1e1;
    color: #000;
}
btn-primary {
	width:80px;
	}
/* =========================
   Base Button
   ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid transparent;

  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  transition: all 0.15s ease;
}
.btn-danger {
    background: #be2c24;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.btn-danger:hover {
    background: #9e231c;
}

/* =========================
   Primary Button
   ========================= */
.btn.primary {
  background: #2563eb;          /* blue-600 */
  color: #ffffff;
  border-color: #2563eb;
}
.btn-primary2 {
  width: 100px;
}

.btn.primary:hover {
  background: #1d4ed8;          /* blue-700 */
  border-color: #1d4ed8;
}

/* =========================
   Outline Button
   ========================= */
.btn.outline {
  background: #ffffff;
  color: #2563eb;
  border-color: #2563eb;
}

.btn.outline:hover {
  background: #eff6ff;          /* blue-50 */
}

/* =========================
   Danger Button
   ========================= */
.btn.danger {
  background: #dc2626;          /* red-600 */
  color: #ffffff;
  border-color: #dc2626;
}

.btn.danger:hover {
  background: #b91c1c;          /* red-700 */
}

/* =========================
   Small Button
   ========================= */
.btn.small {
  padding: 6px 10px;
  font-size: 12px;
}

/* =========================
   Disabled State
   ========================= */
.btn:disabled,
.btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

button {
    padding: 8px 10px;
    border-radius: 6px;
    border: none;
    background: #22c55e;
    color: #022c22;
    font-weight: 700;
    cursor: pointer;
}

button:hover {
    background: #16a34a;
}

/* FOOTER */
.clash-footer {
  background: #020617;
  box-shadow: rgba(0, 0, 0, 0.5) -2px 2px 4px;
  padding-top: 16px;
  padding-bottom: 16px;
  border-top: 1px solid rgb(51, 52, 51);
  margin-top: -16px;
}

.clash-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 13px;
    color: #9ca3af;
	padding: 0px 5px;
}
.clash-container {
    width: 100%;
    max-width: 1280px;
	flex: 1;
	padding: 5px 0px;
    overflow-x: hidden;
}
/* MOBILE */
@media (max-width: 768px) {
    .clash-header-inner {
        flex-direction: row;
        justify-content: space-between;
    }
.clash-header-container {
	padding-right:5px;
}
    .clash-logo {
        height: 48px;
    }

    .header-user {  
		padding-right:5px;
		padding-left: 10px;
    }
	.drop{
		width:30px;
		height:auto;
		}
.header-avatar {width:45px;height:45px}
.header-user-link{font-size:12px}
}

.standings-table th {font-style: italic; }
.standings-table td {

    text-align: center;
}

.playoff-row {
    font-weight: bold;
}
.league-rules {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 16px;
    border-radius: 6px;
    white-space: pre-wrap;
    line-height: 1.6;
}
.badge-icon {
    width: 30px;
    object-fit: contain;
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .badge-icon img{
        width: 30px;
    }
}
.duel-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.duel-card {
    background: linear-gradient(135deg, #1e1e2f, #2a2a3d);
    border-radius: 10px;
    padding: 12px;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,.3);
}

.duel-header {
    font-weight: bold;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-size: 13px;
    color: #f5c542;
}

.duel-players {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.duel-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
}

.duel-player.winner {
    color: #00ff99;
    font-weight: bold;
}

.vs {
    font-weight: bold;
    opacity: 0.7;
}

.crowns {
    font-size: 18px;
}

.duel-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-top: 8px;
    opacity: 0.85;
	color: #b14cf3;
}
.card {
    position: relative;
}
.evo-badge {
    position: absolute;
    bottom: 0px;
    right: 0px;
}
.evo-badge2 {
    position: absolute;
    bottom: 4px;
    right: 0px;
}
.deck-meta {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
	color: #b14cf3;
}
.score2 {
  display: flex;
  justify-content: center;
  font-weight: 700;
}
.duel-battle {
    border-left: 4px solid #9b5cff;
}
.avg-elixir {
    font-size: 12px;
    margin-left: 6px;
    opacity: 0.85;
}
.crown-icon {
	width: 50px;
}
.match-summary-card {
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 20px;
}

.match-summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.player-summary {
    text-align: center;
    width: 40%;
}

.player-summary .avatar {
    width: 150px;
    height:150px;
    border-radius: 50%;
    border: 2px solid #444;
}

.player-summary .name {
    font-weight: bold;
    margin-top: 6px;
}

.crowns-total {
  color: #d5804e;
  font-size: 22px;
}

.match-summary-header .vs {
    font-size: 18px;
    font-weight: bold;
}

.match-meta {
    margin-top: 10px;
    display: flex;
    justify-content: space-around;
    font-size: 13px;
    opacity: 0.9;
}
.player-profile-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.player-profile-link:hover .name {
    text-decoration: underline;
}
.player-summary.winner .avatar {
  box-shadow: 0 0 15px rgb(76, 175, 80), 0 0 25px rgb(76, 175, 80);
  border: 2px solid #000;
}

.player-summary.winner .name {
    font-weight: 700;

}
.match-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.league {
    display: flex;
    align-items: center;
    gap: 6px;
}

.league-badge {
    width: 45px;
    height: 45px;
    object-fit: contain;
}
.leaguedash {
	display:flex;
	align-items: center;
	padding-top: 5px;
}
.title{
  font-size: 20px;
  padding: 10px;
  font-weight: 700;
}
.standings-player {
    text-align: left;
}

.player-link {
    text-decoration: none;
	font-weight: 600;
}

.standings-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.2);
}

.player-name {
    font-weight: 500;
}
.player-name2 {
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}
/* Mobile tweak */
@media (max-width: 600px) {
    .player-name {
        font-size: 14px;
    }
.player-name2 {
max-width: 105px;
}
    .standings-avatar {
        width: 20px;
        height: 20px;
    }
	.player-cell .avatar { width:16px; height:16px;}
	.pltable{
		width: 15%;}
	.move-col { width:40px; }
}

.standings-table { width:100%;}
.standings-table th, .standings-table td { padding: 4px 4px 4px;; border-bottom:1px solid rgba(255,255,255,.08); }
.player-cell { display:flex; align-items:center; gap:10px; }
.player-cell .avatar { width:25px; height:25px; border-radius:50%; object-fit:cover;border: 1px solid;}
.player-cell .player-link { text-decoration:none; font-weight:600; }
.pltable{width: 15%;}
.move-col { width:35px; }
.rank-move { text-align:center; font-weight:700; }
.arrow { font-size:13px; }
.arrow.up { color:#3ddc84; }
.arrow.down { color:#ff5c5c; }
.arrow.same { color:#999; }
.arrow.new { color:#4da3ff; font-size:11px; }
/* Zebra striping */
.standings-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.standings-table tbody tr:nth-child(even) {
    background-color: #e1e1e1;;
}

/* Playoff row indicator */
.standings-table tr.playoff-row {
    border-left: 4px solid gold;
}

/* Current user highlight */
.standings-table tr.row-me {
  outline: 2px solid #4da3ff;
  background-color: #91bdf78a !important;
  font-weight: bold;
}
/* =========================
   HORIZONTAL SCROLL STANDINGS
   ========================= */

.standings-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

/* Keep table wide */
.standings-table {
    min-width: 450px;
    border-collapse: collapse;
}

/* Subtle scroll hint */
.standings-scroll::after {
    content: "⇠ swipe ⇢";
    display: block;
    text-align: center;
    font-size: 12px;
    opacity: 0.4;
    margin-top: 6px;
}

/* Hide hint on desktop */
@media (min-width: 900px) {
    .standings-scroll::after {
        display: none;
    }
}

/* Optional scrollbar polish */
.standings-scroll::-webkit-scrollbar {
    height: 6px;
}

.standings-scroll::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.25);
    border-radius: 10px;
}
.join {
	padding:5px 2px;
	min-width:200px;
}
/* Rules Page */
.rules-card {
    margin: 20px auto;
    border-radius: 10px;
    padding: 12px;
}

.rules-content {
    font-size: 15px;
    line-height: 1.6;
}

/* Paragraph spacing */
.rules-content p {
    margin-bottom: 14px;
}

/* Headings inside rules */
.rules-content h2,
.rules-content h3 {
    margin-top: 24px;
    margin-bottom: 10px;
    color: #ffd166;
    border-bottom: 1px solid #2f2f2f;
    padding-bottom: 6px;
}
.rules-content h3 {
  background: #444;
  padding: 5px 10px;
}
/* Lists */
.rules-content ul,
.rules-content ol {
    margin: 10px 0 15px 2px;
}

.rules-content li {
    margin-bottom: 6px;
}

/* Emphasis */
.rules-content strong {

}

.rules-content em {
    color: #b0b0b0;
}
.schedule-status {
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.schedule-status.proposed {
    background: #2b2b2b;
    color: #f1c40f;
}

.schedule-status.confirmed {
    background: #1f7a3f;
    color: #eaffea;
}

input[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}
.deck-card.unused {
    filter: grayscale(100%);
    opacity: 0.45;
}
.pnav {
	padding: 10px;
}
.pnav a {
	font-weight:700;
	color: #004278
}

.table tr{
	display:block;
}
.mode-icon {
    width: 22px;
    height: auto;
}
@media (max-width: 600px) {
.table {
	width:100%;
    border-collapse: collapse;
	border-spacing: 5px; /* 5px horizontal, 10px vertical */
}
.table tr{
	display:block;
	
}
body {
    font-size:12px;
    color: black;
}
.header-logo img {
    height: auto;
    width: 80px;
    display: block;
}
.crown-icon {
	width: 24px;
}
.title {font-size:20px;}
.game-mode-icon {
    width: 22px;
    height: 22px;
}
.mode-icon {
    width: 22px;
    height: auto;

}
}

.game-mode-icon {
    width: 22px;
    height: 22px;
	vertical-align: middle;
}
.bracket {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 15px;
}

.match.played {
    border-color: #27ae60;
}

.player {
    padding: 5px;
}

.player.winner {
    font-weight: bold;
    color: #0a7a0a;
}

.vs {
    text-align: center;
    color: #aaa;
    font-size: 12px;
}

.result {
    margin-top: 6px;
    font-size: 13px;
}

.result.pending {
    color: #f1c40f;
}
.playoff-grid {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* Each round column */
.round {
    position: relative;
    min-width: 180px;
}

/* Match wrapper allows connectors */
.match-wrapper {
    position: relative;
    margin-bottom: 24px;
}

/* Match box */
.match {
    position: relative;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 6px;
    background: #fafafa;
    z-index: 2;
}

/* Player rows */
.player {
    padding: 4px 0;
}

.winner {
    font-weight: bold;
    color: #0a7a0a;
}

/* Connector line to next round */
.match-wrapper::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -30px;
    width: 30px;
    height: 2px;
    background: #bbb;
}

/* Vertical connector spine */
.round::after {

    position: absolute;
    top: 40px;
    right: -30px;
    width: 2px;
    height: calc(100% - 80px);
    background: #bbb;
}

/* Remove connector from last round */
.round:last-child::after,
.round:last-child .match-wrapper::after {
    display: none;
}
.seed {
    display: inline-block;
    width: 28px;
    font-size: 12px;
    font-weight: bold;
    color: #555;
}
.sos-tooltip {
    position: relative;
    cursor: help;
    font-size: 12px;
    margin-left: 4px;
}

.sos-tooltip-text {
    visibility: hidden;
    width: 240px;
    background-color: #222;
    color: #fff;
    text-align: left;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.4;
    position: absolute;
    z-index: 100;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.sos-tooltip:hover .sos-tooltip-text {
    visibility: visible;
    opacity: 1;
}
.seasondate {
  margin-left: 20px;
}
.league-mode {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}
.recent-results{width:100%;border-collapse: collapse;}
.recent-results th {
    text-align: left;
    font-weight: 600;
	overflow: hidden;
}

.recent-results td {
    vertical-align: middle;
	padding: 3px 2px;
}

.recent-results a {
    font-weight: 600;
	text-decoration: none;
}
.recent-results tbody tr:nth-child(odd) {
    background-color: #ffffff;
	padding: 2px 2px;
}

.recent-results tbody tr:nth-child(even) {
    background-color: #e1e1e1;;
	padding: 2px 2px;
}
.match-winner a {
    color: #0a7a0a;
    font-weight: 600;
}
.upmatch {
    padding: 10px;
	display:flex;
}
.upmatch .mode-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.upmatch .match-info {
    line-height: 1.4;
	margin-left: 10px;
	display:flex;
	align-items: center;
}
.match-info a{
    text-decoration:none;
}

.upmatch:nth-child(odd) {
    background-color: #e1e1e1; /* Light gray for odd rows */
}

.upmatch:nth-child(even) {
    background-color: #ffffff; /* White for even rows */
}
.match-players {
  text-align: center;
  line-height: 1.1;
}
.match-time {
  margin-left: 10px;
  line-height: 1.1;
  min-width: 110px;
}
.week-block {
    margin-bottom: 30px;
}
.schedule-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-bottom: 1px solid #e0e0e0;
}

.schedule-row.played {
    background: #f9f9f9;
}
.teams  {
  flex: 1;
}
.meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 90px;
}

.score {
    font-weight: bold;
    font-size: 16px;
    line-height: 1.2;
}

.date {
    font-size: 12px;
    color: #777;
}
.link {
    width: 60px;
    text-align: right;
}
.back-link {
    display: inline-block;
    margin-bottom: 12px;
    font-weight: 600;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}
.badge-danger {
  color: red;
  font-weight: 700;
}
.champion-card {
    background: linear-gradient(135deg, #1e272e, #485460);
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.champion-card h2 {
    margin-bottom: 15px;
	background-color: #0152b7;
}

.podium {

    justify-content: center;
    gap: 25px;
    font-size: 18px;
	align-items: center;
}

.podium .first {
    font-size: 22px;
    color: gold;
}
.podium .first img{
    width:50px;
	height:auto;
}

.podium .second {
    color: silver;
}
.podium .second img{
    width:50px;
	height:auto;
}

.podium .third {
    color: #cd7f32; /* bronze */
}
.podium .third img{
    width:50px;
	height:auto;

}
.my-match-row {
    display: grid;
    grid-template-columns:
        36px    /* icon */
        70px    /* week */
        1fr     /* opponent */
        130px   /* date */
        60px    /* score */
        80px    /* result */
        70px;   /* action */
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid #bdbdbd;
}
.mm-col {
    white-space: nowrap;
}

.mm-col.opponent {
    overflow: hidden;
    text-overflow: ellipsis;
}

.mm-col.week,
.mm-col.score2 {
    text-align: center;
    font-weight: 600;
}

.mm-col.date {
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
}

.mm-col.result {
    text-align: center;
    font-weight: bold;
}

.mm-col.result.win {
    color: #22c55e;
}

.mm-col.result.loss {
    color: #ef4444;
}

.mm-col.action a {
    color: #38bdf8;
    text-decoration: none;
}

.mm-col.action a:hover {
    text-decoration: underline;
}
.desktop-only {
    display: block;
}
.spac {
	padding: 5px 0px;
}
.rrdth {
  width: 60px;
}
/* Mobile behavior */
@media (max-width: 768px) {

    .desktop-only {
        display: none;
    }

    .mobile-only a {
        color: #38bdf8;
        font-weight: 600;
        text-decoration: none;
    }
.link {
    width: 30px;
    text-align: right;
}
.link a{font-weight: 600;
  text-decoration: none;
}
@media (max-width: 768px) {

    .my-match-row {
        display: flex;
        align-items: center;
        gap: 8px;
        overflow: hidden;
        white-space: nowrap;
		border-bottom: 0px solid #bdbdbd;
}
    }

    .mm-col {
        flex-shrink: 0;
    }

    .mm-col.opponent {
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
/* Desktop / Mobile visibility */
.desktop-only { display: flex; }
.mobile-only { display: none; }

@media (max-width: 768px) {

    .desktop-only {
        display: none !important;
    }
    .mm-mobile-footer {
        justify-content: space-between;
        align-items: center;
        font-size: 12px;
        margin: 4px 0 10px 10px; /* aligns under text, not icon */
        opacity: 0.85;
		border-bottom: 1px solid #cbcbcb;
        padding-bottom: 8px;
		display: flex;
    }

    .mm-mobile-date {
        color: #94a3b8;
    }

    .mm-mobile-action a {
        color: #38bdf8;
        font-weight: 600;
        text-decoration: none;
    }
}

.news-card h3 {
    margin: 0 0 6px;
}

.news-date {
  padding-top: 0px;
  padding-bottom: 0px;
  font-size: 13px;
  display: flex;
}
.news-datet{
  display: flex;
  -moz-box-align: center;
  align-items: center;
  -moz-box-pack: start;
  justify-content: flex-start;
}
.news-preview {
    margin: 10px 0;
	line-height: 1.2;
}

.news-card.pinned {
    border-color: #facc15;
    box-shadow: 0 0 12px rgba(250,204,21,0.15);
}

.news-pin {
    font-size: 12px;
    color: #facc15;
    margin-bottom: 6px;
}

.read-more {
    color: #60a5fa;
    font-weight: bold;
	text-decoration: none;
}
.news-card{
  display: flex;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 16px;
  padding-bottom: 8pxpx;
  padding-top: 8px;
}
.newsblock{
  margin-left: 16px;
  -moz-box-flex: 1;
  flex-grow: 1;
}
.news-thumb{
  width:130px;
  height:130px; 
}

.news-thumb img {
    width: 120px;
    object-fit: cover;
    border-radius: 10px;
}
.news-body h3{ margin:0; }
.news-read {
  display: flex;
  -moz-box-pack: end;
  justify-content: flex-end;
  margin-top: 16px;
  padding-bottom: 5px;
}
.news-meta{
  font-weight: 500;
  margin-bottom: 16px;
  margin-top: 4px;
  font-size: 12px;
}
.news-body {
	line-height: 1.25;
	overflow-wrap: break-word;

}
.news-title{
  overflow-wrap: break-word;
  min-width: 0px;
 font-size: 20px;
  font-weight: 700;
  color: #e91513;
  padding: 10px 5px;
}
@media (max-width:768px){
  .news-card{}
  .news-thumb{

  }
  .news-thumb img {
  width: 80px;

  object-fit: cover;
  border-radius: 10px;
}
.newsblock{
	margin-left: 5px;}

}
.comment {
    background: #020617;
    border-left: 3px solid #2563eb;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 6px;
}

.comment strong {
    color: #e5e7eb;
}

.comment small {
    color: #94a3b8;
    margin-left: 6px;
}

.comment-form textarea {
    width: 100%;
    border: 1px solid #1e293b;
    border-radius: 6px;
    padding: 8px;
}
.news-image{
  display: block;
  height: auto;
  max-width: 100%;
  width: auto;
}
/**NOTIFICATIONS */
.nav-notifications {
    position: relative;
}
#notifDropdown {
    position: absolute;
    right: 0;
    top: 30px;
    min-width: 280px;
    background: #181818;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    z-index: 9999;
    display: none;
	min-height:48px;
	border: 1px solid #000;
}
#notifDropdown.show {
    display: block;
}

.notif {
    display: block;
    padding: 10px;
    color: #eee;
    text-decoration: none;
    border-bottom: 1px solid #222;
}

.notif.unread {
    font-weight: bold;
}

.notif:hover {
    background: #222;
	border:1px solid #000;
	border-radius: 10px;
}

.notif-empty {
    padding: 14px;
    text-align: center;
    color: #a6a6a6;
    font-size: 14px;
}
#notifCount {
    color: #fff;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 11px;
    margin-left: 1px;
	background: red;
    font-weight: 600;
}

@media (max-width: 768px) {
  #notifDropdown {
    min-width: 213px;
    max-width: 95vw;
    background: #000;
	right: auto;
    left:-40px;
    max-height: 80vh;      /* better than fixed 700px */
    overflow-y: auto;      /* ✅ enables vertical scroll */
    -webkit-overflow-scrolling: touch; /* smooth iOS scrolling */
  }
}

.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    margin-top: 10px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 25px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.footer-col h3,
.footer-col h4 {
    color: #fff;
    margin-bottom: 10px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-col ul li a:hover {
    color: #38bdf8;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    text-align: center;
    padding: 15px;
    font-size: 13px;
    color: #94a3b8;
	padding-bottom: 5px;
}
.footer-mobile{
display:none;
}
.footer-disclaimer {
    margin-top: 10px;
    font-size: 11px;
    opacity: 0.55;
    text-align: center;
    line-height: 1.4;
	padding-bottom: 10px;
}

/* ====
=====================
   ONE-LINE MOBILE FOOTER
   ========================= */
@media (max-width: 600px) {

    .footer-container,
    .footer-bottom {
        display: none;
    }

    footer {
        padding: 8px 0;
        border-top: 1px solid rgba(255,255,255,0.08);
    }

    .footer-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        font-size: 11.5px;
        color: rgba(255,255,255,0.7);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
		padding-bottom: 2px;
    }

    .footer-mobile .brand {
        font-weight: 600;
        color: rgba(255,255,255,0.9);
    }

    .footer-mobile .desc {
        opacity: 0.6;
    }

    .footer-mobile a {
        color: rgba(255,255,255,0.85);
        text-decoration: none;
		font-weight: 600;
    }

    .footer-mobile .dot {
        opacity: 0.35;
    }
	.footer-disclaimer {
		display:none;
}
}
.sicon{
  width: 30px;
  border: 1px solid #0158c1;
  border-radius: 50%;
  position: relative;
  display: inline-block;
}
.social {
  width: 100%;
  display: flex;
  padding: 5px 10px;
  gap: 10px;
}
.socialn {
  display: none;
}
.socialicon{
  width: 30px;
  opacity:.8;
  display:flex;
}
.socialicon:hover {
  opacity: 1; 
}

/* ===== LAYOUT ===== */
.site-layout {
  display: flex;
  width: 100%;
  max-width: 1280px;
  margin: 5px auto;
  padding: 0 10px;
  gap: 16px;
  flex-grow:1;
  background:white;
}

/* ===== SIDEBAR ===== */
.sidebar {
  width: 260px;
  flex-shrink: 0;
  padding: 5px 0px;
}

/* ===== MOBILE WIDGETS ===== */
.mobile-widgets {
  display: none;
  margin-top: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .site-layout {
    flex-direction: column;
  }
.socialn {
  display: flex;
  padding:12px 5px;
  gap:10px;
}
  .sidebar {
    display: none;
  }

  .mobile-widgets {
    display: block;
  }

}
.announcement-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 16px;
    font-size: 0.95rem;
    color: #fff;
	font-weight: 600;
	margin-bottom: 10px;
}

.announcement-bar.info    { background: #222; }
.announcement-bar.success { background: #14532d; }
.announcement-bar.alert   { background: #7f1d1d; }

.announcement-link {
    color: #c9ae5d;
    font-weight: 600;
    text-decoration: none;
}
/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
.announcement-bar {
    font-size: 12px;
	font-weight: 600;
}
}

.pwa-nav {
  position: fixed;
  bottom: calc(env(safe-area-inset-bottom) + 40px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  padding: 6px 10px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  z-index: 9999;
  opacity: 0.35;
  transition: opacity .25s ease;
}
.pwa-nav button {
  background: none;
  border: none;
  color: rgba(255,255,255,.85);
  font-size: 16px;
  line-height: 1;
  padding: 6px;
}

.pwa-nav:hover,
.pwa-nav:active {
  opacity: 0.85;
}
#pwaNav[hidden] {
  display: none !important;
}

/* NEVER show PWA controls outside iOS */
@media not all and (-webkit-touch-callout: none) {
  #pwaNav {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}
.modal-overlay {
  display: none;            /* IMPORTANT */
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
.modal-box {
  background: white;
  padding: 5px;
  border: 1px solid black;
  border-radius: 10px;
}
.week-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 12px 0;
}
.week-indicator {
    font-weight: 600;
    opacity: 0.8;
}
.proposal-log {
    border-left: 3px solid #ddd;
    padding-left: 10px;
}
.proposal-entry {
    margin-bottom: 10px;
}
.proposal-action.proposed { color: #e6a700; }
.proposal-action.countered { color: #ff9800; }
.proposal-action.confirmed { color: #4caf50; }
.proposal-action.expired { color: #999; }
.battle-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.replay-icon {
    color: #C9AE5D;
    font-size: 13px;
    cursor: default;
}

.replay-icon:hover {
    color: #ffd86b;
}
/* Hide mobile dashboard by default */
.mobile-dashboard {
    display: none;
}

/* Show only on mobile */
@media (max-width: 768px) {
    .mobile-dashboard {
        display: block;
    }
}
/* =========================
   HERO BLOCK
========================= */

.hero-block {
    position: relative;
    background: linear-gradient(135deg, #0b1f3a, #102a4d);
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 50px 20px;
    text-align: center;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.hero-block::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,215,0,0.15), transparent 60%);
    pointer-events: none;
}

.hero-overlay {
    position: relative;
    z-index: 2;
}

.hero-block h1 {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.hero-block p {
    color: #cfd8e3;
    font-size: 16px;
    margin-bottom: 25px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary2,
.btn-secondary2 {
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary2 {
    background: #1e73ff;
    color: #fff;
}

.btn-primary2:hover {
    background: #155bcc;
    box-shadow: 0 0 12px rgba(30,115,255,0.6);
}

.btn-secondary2 {
    background: #f5c542;
    color: #000;
}

.btn-secondary2:hover {
    background: #e6b631;
    box-shadow: 0 0 12px rgba(245,197,66,0.6);
}

/* Stats bar */

.hero-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
      background: #004287;
    padding: 15px 10px;
    margin-bottom: 25px;
    font-size: 14px;
    color: #e5eaf1;
}

.hero-stats strong {
    color: #f5c542;
}
/* =========================
   STANDINGS PREVIEW
========================= */

.standings-preview {
    background: #0d1b2f;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(245,197,66,0.2);
}

.standings-header {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.view-full {
    font-size: 13px;
    text-decoration: none;
    color: #f5c542;
}

.view-full:hover {
    text-decoration: underline;
}

.standings-row {
    display: grid;
    grid-template-columns: 50px 1fr 80px 60px;
    align-items: center;
    padding: 10px 8px;
    border-radius: 6px;
    transition: background 0.2s ease;
    color: #e5eaf1;
}

.standings-row:hover {
    background: rgba(255,255,255,0.04);
}

.rank {
    font-weight: bold;
    text-align: center;
    font-size: 16px;
}

.rank-1 {
    background: linear-gradient(90deg, rgba(245,197,66,0.15), transparent);
}

.player {
    font-weight: 600;
}

.record {
    text-align: center;
}

.winpct {
    text-align: center;
    color: #f5c542;
    font-weight: 600;
}
/* Player Info Container */
.player-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Avatar */
.avatar-wrapper {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(245,197,66,0.4);
    flex-shrink: 0;
}

.avatar2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Player Name */
.player-name {
    font-weight: 600;
}
.rank-1 .avatar-wrapper {
    border: 2px solid #f5c542;
    box-shadow: 0 0 12px rgba(245,197,66,0.5);
}
.standings-link {
    text-decoration: none;
    display: block;
}

.standings-link:hover .standings-row {
    background: rgba(255,255,255,0.06);
    transform: translateX(4px);
    transition: all 0.2s ease;
}
.standings-row {
    transition: all 0.2s ease;
    cursor: pointer;
}
/* =========================
   REGISTER CTA
========================= */

.cta-register {
    position: relative;
    background: linear-gradient(135deg, #0b1f3a, #142c4f);
    border-radius: 12px;
    padding: 50px 20px;
    margin-bottom: 30px;
    text-align: center;
    overflow: hidden;
    border: 1px solid rgba(245,197,66,0.25);
}

.cta-register::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(245,197,66,0.15), transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-register h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 5px;
}

.cta-register h3 {
    font-size: 20px;
    color: #f5c542;
    margin-bottom: 15px;
}

.cta-register p {
    color: #d7e0ea;
    margin-bottom: 25px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-primary,
.cta-secondary {
    padding: 12px 26px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cta-primary {
    background: #1e73ff;
    color: #fff;
}

.cta-primary:hover {
    background: #155bcc;
    box-shadow: 0 0 14px rgba(30,115,255,0.6);
}

.cta-secondary {
    background: #f5c542;
    color: #000;
}

.cta-secondary:hover {
    background: #e6b631;
    box-shadow: 0 0 14px rgba(245,197,66,0.6);
}
.hero-rotator {
    position: relative;
    height: 330px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 30px;
    background: url('/images/hero-bg.png') center/cover no-repeat;
    animation: bgZoom 20s infinite alternate ease-in-out;
}
/* Subtle zoom motion */
@keyframes bgZoom {
    0% { background-size: 100%; }
    100% { background-size: 110%; }
}
.hero-rotator::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(5,15,30,0.7),
        rgba(5,15,30,0.95)
    );
}
.hero-rotator::before {
    pointer-events: none;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: opacity 0.6s ease;
}

.hero-slide.active {
    opacity: 1;
}
.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 20px;
    animation: slideFade 0.8s ease;
}

@keyframes slideFade {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.hero-inner h1 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 12px;
	color: #D3D3D3;
}

.hero-inner p {
    color: #d7e0ea;
    margin-bottom: 25px;
    font-size: 14px;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero-content h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.hero-content p {
    color: #d7e0ea;
    margin-bottom: 20px;
}

.hero-btn {
    padding: 12px 24px;
    background: #1e73ff;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.hero-btn:hover {
    background: #155bcc;
    box-shadow: 0 0 20px rgba(30,115,255,0.6);
}
/* Dots */
.hero-controls {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-dot {
    height: 8px;
    width: 8px;
    margin: 0 5px;
    background: #aaa;
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-dot.active {
    background: #f5c542;
}

/* Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    color: #fff;
    cursor: pointer;
    padding: 8px 12px;
    user-select: none;
    transition: all 0.2s ease;
	z-index:10;
}

.hero-arrow:hover {
    color: #f5c542;
}

.hero-arrow.left { left: 15px; }
.hero-arrow.right { right: 15px; }
.hero-subtext {
    color: #d7e0ea;
    margin-bottom: 18px;
    font-size: 16px;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 25px;
    font-size: 12px;
    color: #f5c542;
}

.hero-features span {
    background: rgba(255,255,255,0.05);
    padding: 6px 10px;
    border-radius: 6px;
}
.coming-soon-badge {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 16px;
    background: rgba(245,197,66,0.15);
    color: #f5c542;
    border: 1px solid #f5c542;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.coming-soon-badge {
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(245,197,66,0.5); }
    70% { box-shadow: 0 0 0 10px rgba(245,197,66,0); }
    100% { box-shadow: 0 0 0 0 rgba(245,197,66,0); }
}
.inactive-badge {
    background:#7f8c8d;
    color:#fff;
    padding:2px 6px;
    border-radius:4px;
    font-size:12px;
    margin-left:6px;
}
.inactive-row {
    opacity: 0.55;
}
.sres {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}
.trophy {
    width:50px
}