.STING-WEB-Team {
    max-width: var(--Max-Size, 1180px);
    margin: 20px auto;
    width: 93%;
    animation: fadeIn 0.4s ease-out;
}

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

/* Header */
.STING-WEB-Team-Header {
    background: var(--B-Color, #151b26);
    border: 1px solid var(--Border-Color, rgba(255, 255, 255, 0.07));
    border-radius: var(--Card-Radius, 14px);
    padding: 24px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.Header-Content {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 25px;
}

.Header-Content img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    background: #1a2232;
    padding: 12px;
    border-radius: var(--Card-Radius, 14px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.Header-Info h1 {
    font-size: 26px;
    color: var(--Primary-B-Color);
    margin-bottom: 6px;
    font-weight: 800;
}

.Competition-Name {
    color: var(--Primary-A-Color, #00dfa2);
    font-size: 14px;
    font-weight: 600;
}

.Header-Tabs {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 10px;
}

.Header-Tabs button {
    background: transparent;
    border: 1px solid transparent;
    color: var(--Primary-E-Color, #c8d3e6);
    padding: 8px 18px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 999px;
    position: relative;
    transition: all 0.25s ease;
    font-weight: 600;
}

.Header-Tabs button:hover {
    color: var(--Primary-A-Color, #00dfa2);
    background: rgba(0, 223, 162, 0.06);
}

.Header-Tabs button.active {
    color: #0c1017;
    background: var(--Primary-A-Color, #00dfa2);
    border-color: var(--Primary-A-Color, #00dfa2);
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(0, 223, 162, 0.3);
}

/* Tabs Content */
.Team-Tab-Content {
    display: none;
    margin-top: 20px;
}

.Team-Tab-Content.active {
    display: block;
}

/* Dashboard Cards */
.Overview-Grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.Team-Card {
    background: var(--B-Color, #151b26);
    border: 1px solid var(--Border-Color, rgba(255, 255, 255, 0.07));
    border-radius: var(--Card-Radius, 14px);
    padding: 20px;
    margin-bottom: 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.Card-Header {
    font-size: 15px;
    font-weight: 700;
    color: var(--Primary-A-Color, #00dfa2);
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 10px;
}

/* Form Guide */
.Form-Guide {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 10px;
}

.form-dot {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
}

.form-dot.win { background: #00dfa2; color: #0c1017; }
.form-dot.loss { background: #f87171; }
.form-dot.draw { background: #fbbf24; color: #0c1017; }

/* Mini Matches */
.Mini-Match {
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.Mini-Match:last-child {
    border-bottom: 0;
}

.Match-Comp {
    font-size: 11px;
    color: var(--Primary-C-Color, #8e9ab2);
    display: block;
    margin-bottom: 5px;
}

.Match-Result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
}

.Score {
    font-weight: 700;
    color: var(--Primary-A-Color, #00dfa2);
    background: rgba(0, 223, 162, 0.1);
    padding: 2px 10px;
    border-radius: 999px;
}

/* Matches List */
.Full-Match {
    background: #1a2232;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.25s ease;
}

.Full-Match:hover {
    border-color: rgba(0, 223, 162, 0.3);
    background: #1e2638;
}

.Match-Meta {
    font-size: 12px;
    color: var(--Primary-C-Color, #8e9ab2);
    margin-bottom: 10px;
    text-align: center;
}

.Match-Main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.Team-Side {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 40%;
}

.Team-Side:last-child {
    justify-content: flex-end;
}

.Team-Side img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.Team-Side span {
    font-size: 14px;
    color: var(--Primary-B-Color);
    font-weight: 600;
}

.Final-Score {
    font-size: 20px;
    font-weight: 800;
    color: var(--Primary-A-Color, #00dfa2);
}

.Match-Time {
    font-size: 16px;
    font-weight: 700;
    color: var(--Primary-E-Color, #c8d3e6);
}

/* Squad List */
.Squad-List {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}

.Squad-Item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1a2232;
    padding: 10px 14px;
    border-radius: 12px;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.04);
    text-decoration: none;
}

.Squad-Item:hover {
    border-color: rgba(0, 223, 162, 0.3);
    background: #1e2638;
    transform: translateY(-2px);
}

.Squad-Item img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0c1017;
    object-fit: cover;
}

.Player-Box {
    display: grid;
}

.Player-Name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--Primary-B-Color);
}

.Player-No {
    font-size: 11.5px;
    color: var(--Primary-C-Color, #8e9ab2);
}

@media (max-width: 720px) {
    .STING-WEB-Team { width: 95% !important; margin: 10px auto !important; }
    .STING-WEB-Team-Header { padding: 16px !important; border-radius: 14px !important; margin-bottom: 15px !important; }
    .Header-Tabs { gap: 8px !important; overflow-x: auto !important; flex-wrap: nowrap !important; -webkit-overflow-scrolling: touch !important; }
    .Header-Tabs button { white-space: nowrap !important; font-size: 13px !important; padding: 7px 14px !important; }
    .Overview-Grid { grid-template-columns: 1fr; }
    .Header-Content { flex-direction: column; text-align: center; gap: 14px !important; margin-bottom: 16px !important; }
    .Header-Content img { width: 70px; height: 70px; padding: 8px; border-radius: 12px; }
    .Header-Info h1 { font-size: 20px; }
    .Team-Side span { font-size: 12px; }
    .Team-Side img { width: 28px; height: 28px; }
    .Squad-List { grid-template-columns: 1fr 1fr; }
}

/* H2H Style for Recent Results */
.Recent-Matches {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.STING-WEB-Last-Vs-Matches {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    background: #1a2232;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 10px 14px;
    transition: background 0.25s;
    width: 100%;
    box-sizing: border-box;
}

.STING-WEB-Last-Vs-Matches:hover {
    background: #1e2638;
}

.STING-WEB-Last-Vs-Matches-Right {
    display: flex !important;
    flex: 2;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    min-width: 0;
}

.STING-WEB-Last-Vs-Matches-Right .Team-Info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.STING-WEB-Last-Vs-Matches-Right .Team-Info.right { justify-content: flex-start; }
.STING-WEB-Last-Vs-Matches-Right .Team-Info.left { justify-content: flex-end; text-align: right; }
.STING-WEB-Last-Vs-Matches-Right .Team-Info span {
    font-size: 13px;
    color: var(--Primary-B-Color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.STING-WEB-Last-Vs-Matches-Right img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.STING-WEB-Last-Vs-Matches-Right .Score-Box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: rgba(0, 223, 162, 0.1);
    padding: 4px 12px;
    border-radius: 999px;
    min-width: 50px;
    margin: 0 8px;
    flex-shrink: 0;
}

.STING-WEB-Last-Vs-Matches-Right .Score-Box span {
    font-weight: 800;
    color: var(--Primary-A-Color, #00dfa2);
    font-size: 14px;
}

.STING-WEB-Last-Vs-Matches-Left {
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
    flex: 1;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding-right: 12px;
    margin-right: 12px;
    min-width: 0;
    text-align: left;
}

.STING-WEB-Last-Vs-Matches-Left .Match-Comp {
    font-size: 11px;
    color: #38bdf8;
    font-weight: 700;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.STING-WEB-Last-Vs-Matches-Left .Match-Date {
    font-size: 10px;
    color: var(--Primary-C-Color, #8e9ab2);
    opacity: 0.8;
}

@media (max-width: 720px) {
    .STING-WEB-Last-Vs-Matches-Left { display: none !important; }
}

/* Scorers Tab Styles */
.Scorers-Grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.Stat-Players-List {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 0;
}

.Stat-Player-Item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1a2232;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.Stat-Player-Item:hover {
    background: #1e2638;
    border-color: rgba(0, 223, 162, 0.25);
    transform: translateX(-4px);
}

.Player-Main-Info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.Player-Main-Info img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #0c1017;
    object-fit: cover;
}

.Player-Name-Stat {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--Primary-B-Color);
}

.Stat-Value {
    background: var(--Primary-A-Color, #00dfa2);
    color: #0c1017;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    min-width: 32px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 223, 162, 0.25);
}

.No-Data {
    text-align: center;
    padding: 40px;
    color: var(--Primary-C-Color, #8e9ab2);
    opacity: 0.7;
    font-size: 14px;
}

@media (max-width: 900px) {
    .Scorers-Grid { grid-template-columns: 1fr; }
}
