.wows-weekly-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
}

.wows-weekly-hub {
    display: grid;
    gap: 24px;
}

/* The hub already provides its own heading; avoid Astra's unstyled duplicate page title. */
body:has(.wows-weekly-hub) .entry-title {
    display: none !important;
}

.wows-weekly-hub-header,
.wows-weekly-hub-section {
    padding: clamp(20px, 3vw, 30px);
    border: 1px solid rgba(0, 210, 255, 0.25);
    border-radius: 10px;
    background:
        radial-gradient(circle at top right, rgba(0, 210, 255, 0.1), transparent 34%),
        linear-gradient(145deg, rgba(13, 27, 48, 0.96), rgba(3, 10, 24, 0.9));
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

/* The weekly hub shares the site-wide Codes-style page heading. */
.wows-weekly-hub-header {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    text-align: center;
}

.wows-weekly-hub h2,
.wows-weekly-hub h3 {
    margin: 0 0 8px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: none;
}

.wows-weekly-hub-header h2 {
    display: inline-block;
    margin-bottom: 12px;
    background: linear-gradient(105deg, #eafcff 0%, #67e8f9 45%, #00b8e6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    line-height: 1.08;
    text-shadow: 0 0 22px rgba(0, 210, 255, 0.12);
}

.wows-weekly-hub-header h2::after {
    display: block;
    width: 72px;
    height: 3px;
    margin-top: 13px;
    border-radius: 999px;
    background: linear-gradient(90deg, #22d3ee, #facc15);
    box-shadow: 0 0 13px rgba(34, 211, 238, 0.34);
    content: '';
}

.wows-weekly-hub-header h2 {
    display: block;
    width: 100%;
    margin-bottom: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #dff7ff 48%, #8edcff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-size: 2rem;
    letter-spacing: 0;
    text-transform: uppercase;
    text-shadow: 0 0 22px rgba(0, 210, 255, 0.18), 0 10px 24px rgba(0, 0, 0, 0.42);
}

.wows-weekly-hub-header h2::after {
    width: 260px;
    max-width: 44vw;
    margin: 16px auto 0;
    border-radius: 0;
    background: linear-gradient(90deg, #00d2ff 0%, rgba(241, 196, 15, 0.86) 58%, transparent 100%);
    box-shadow: 0 0 18px rgba(0, 210, 255, 0.34), 0 0 28px rgba(241, 196, 15, 0.14);
}

.wows-weekly-hub-section > h3,
.wows-weekly-hub-rankings-title {
    display: grid;
    gap: 4px;
    color: #f8fbff;
    line-height: 1.2;
}

.wows-weekly-hub-section-heading::before {
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 0;
    width: 4px;
    border-radius: 99px;
    background: linear-gradient(#22d3ee, #60a5fa);
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.45);
    content: '';
}

.wows-weekly-hub-section-heading {
    position: relative;
    padding-left: 17px;
}

.wows-weekly-section-kicker {
    color: #67e8f9;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.2;
    text-transform: uppercase;
}

.wows-weekly-section-title {
    color: #d7e6f0;
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: 650;
    letter-spacing: -0.015em;
    line-height: 1.18;
}

.wows-weekly-hub-header p,
.wows-weekly-hub-section > p,
.wows-weekly-hub-intro {
    margin: 0;
    color: #b8cede;
    font-size: 0.95rem;
    font-style: normal;
    line-height: 1.55;
}

.wows-weekly-hub-competition + .wows-weekly-hub-competition {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid rgba(125, 211, 252, 0.16);
}

.wows-weekly-hub-header p {
    max-width: 860px;
    margin: 0 auto 30px;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.34);
}

.wows-weekly-hub-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.wows-weekly-hub-choice {
    position: relative;
    display: flex;
    min-height: 240px;
    flex-direction: column;
    padding: 20px;
    overflow: hidden;
    border: 1px solid rgba(34, 211, 238, 0.4);
    border-radius: 9px;
    background:
        linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(3, 10, 24, 0.88) 58%),
        rgba(3, 10, 24, 0.72);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.045);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.wows-weekly-hub-choice::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: linear-gradient(#22d3ee, #facc15);
    content: '';
}

.wows-weekly-hub-choice:hover {
    border-color: rgba(103, 232, 249, 0.8);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25), 0 0 22px rgba(0, 210, 255, 0.08);
    transform: translateY(-3px);
}

.wows-weekly-hub-choice h4 {
    display: grid;
    gap: 9px;
    max-width: 100%;
    margin: 0 0 12px;
    line-height: 1.25;
}

.wows-weekly-choice-mode {
    width: fit-content;
    padding: 5px 9px;
    border: 1px solid rgba(34, 211, 238, 0.5);
    border-radius: 999px;
    background: rgba(6, 182, 212, 0.1);
    color: #a5f3fc;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.wows-weekly-choice-specs {
    color: #e5f2fb;
    font-size: 15px;
    font-weight: 750;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.wows-weekly-hub-choice-meta {
    min-height: 40px;
    margin: 0;
    color: var(--wows-color-muted, #9fb6cc);
    font-size: 12px;
    font-style: normal;
    line-height: 1.5;
}

.wows-weekly-hub-choice .wows-weekly-entry {
    margin-top: 14px;
    padding: 0;
    border: 0;
    background: transparent;
    align-items: flex-end;
    margin-top: auto;
}

.wows-weekly-hub-choice .wows-weekly-entry strong {
    color: #a5f3fc;
    font-size: 11px;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.wows-weekly-hub-choice .wows-weekly-entry p {
    max-width: 260px;
    color: #d8e7f3;
    font-size: 13px;
    font-style: normal;
    line-height: 1.45;
}

.wows-weekly-hub-choice .wows-weekly-entry form {
    flex: 0 0 auto;
}

.wows-weekly-hub-choice .wows-btn-primary {
    min-width: 142px;
    box-shadow: 0 0 18px rgba(0, 210, 255, 0.16);
}

.wows-weekly-hub-rankings-title {
    margin-top: 34px !important;
    padding-top: 26px;
    border-top: 1px solid rgba(125, 211, 252, 0.24);
}

.wows-weekly-hub-competition .wows-weekly-ranking {
    margin-top: 20px;
}

.wows-weekly-home-summary {
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px solid rgba(0, 210, 255, 0.35);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.11), rgba(7, 16, 33, 0.92));
}

.wows-weekly-home-summary strong {
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
}

.wows-weekly-home-summary p {
    margin: 0;
    color: var(--wows-color-muted, #c7d9e8);
}

.wows-weekly-home-summary .wows-btn-primary {
    width: fit-content;
}

.wows-weekly-notices {
    display: grid;
    gap: 10px;
    margin: 16px 0;
}

.wows-weekly-notice {
    padding: 13px 15px;
    border: 1px solid rgba(0, 210, 255, 0.42);
    border-left: 3px solid #00d2ff;
    border-radius: 7px;
    background: rgba(0, 210, 255, 0.08);
    color: #c8dced;
    font-size: 13px;
    line-height: 1.55;
}

.wows-weekly-notice strong {
    color: #ffffff;
}

.wows-weekly-countdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
    padding: 13px 15px;
    border: 1px solid rgba(250, 204, 21, 0.48);
    border-left: 3px solid #facc15;
    border-radius: 7px;
    background: linear-gradient(100deg, rgba(250, 204, 21, 0.12), rgba(2, 6, 23, 0.72));
}

.wows-weekly-countdown span {
    color: #fde68a;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.wows-weekly-countdown strong {
    color: #ffffff;
    font-size: 21px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.08em;
}

@media (max-width: 520px) {
    .wows-weekly-countdown {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}

.wows-weekly-home-copy {
    display: grid;
    gap: 10px;
}

.wows-weekly-home-competitions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.wows-weekly-home-competition {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid rgba(125, 211, 252, 0.28);
    border-radius: 6px;
    background: rgba(2, 12, 27, 0.56);
}

.wows-weekly-home-competition strong {
    color: var(--wows-color-cyan, #00d2ff);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.wows-weekly-home-competition span,
.wows-weekly-home-competition small {
    color: var(--wows-color-muted, #c7d9e8);
    font-size: 12px;
    line-height: 1.35;
}

.wows-weekly-entry strong {
    display: block;
    margin-bottom: 6px;
    color: var(--wows-color-cyan, #00d2ff);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.wows-weekly-entry p {
    margin: 0;
}

.wows-weekly-filter-summary {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 8px;
    padding: 7px 12px;
    border: 1px solid rgba(0, 217, 255, 0.34);
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.11), rgba(255, 209, 0, 0.07));
    color: #dff8ff;
    font-size: 0.88rem;
    font-style: italic;
}

.wows-weekly-first-day {
    display: grid;
    gap: 10px;
    margin: 16px 0;
}

.wows-weekly-first-day strong {
    color: #ffffff;
    font-size: 14px;
}

.wows-weekly-first-day p {
    color: var(--wows-color-muted, #9fb6cc);
    font-size: 13px;
}

.wows-weekly-first-day-meta {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 10px;
    border: 1px solid rgba(0, 210, 255, 0.35);
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.6);
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 800;
}

.wows-weekly-participants-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wows-weekly-participants-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(51, 65, 85, 0.85);
    border-radius: 6px;
    background: rgba(8, 15, 31, 0.72);
}

.wows-weekly-participants-list strong {
    color: #ffffff;
    font-size: 13px;
    text-transform: none;
}

.wows-weekly-participants-list span {
    color: var(--wows-color-muted, #9fb6cc);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wows-weekly-current-signups {
    margin-top: 22px;
}

.wows-weekly-empty-signups {
    margin: 0;
    padding: 12px 14px;
    border: 1px dashed rgba(0, 210, 255, 0.28);
    border-radius: 6px;
    color: var(--wows-color-muted, #9fb6cc);
}

.wows-tabla-datos tr.is-current-user td {
    background: linear-gradient(90deg, rgba(0, 210, 255, 0.18), rgba(255, 209, 0, 0.08));
    box-shadow: inset 3px 0 0 rgba(0, 210, 255, 0.95);
}

.wows-tabla-datos tr.is-current-user .wows-ranking-player-name::after {
    content: 'Tú';
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    padding: 2px 7px;
    border: 1px solid rgba(0, 210, 255, 0.45);
    border-radius: 999px;
    background: rgba(0, 210, 255, 0.12);
    color: #b9f4ff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.wows-player-profile .wows-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.wows-player-profile .wows-profile-account-settings {
    grid-column: 1 / -1;
    padding: 18px;
    border: 1px solid rgba(0, 210, 255, 0.35);
    border-radius: 8px;
    background: rgba(3, 14, 31, 0.72);
}

.wows-player-profile .wows-profile-account-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 14px;
    align-items: end;
}

.wows-player-profile .wows-profile-account-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--wows-color-muted, #9fb6cc);
    font-size: 12px;
    font-weight: 700;
}

.wows-player-profile .wows-profile-account-form input[type="text"],
.wows-player-profile .wows-profile-account-form input[type="file"],
.wows-player-profile .wows-profile-account-form textarea,
.wows-player-profile .wows-profile-account-form select {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 10px;
    border: 1px solid rgba(120, 172, 211, 0.35);
    border-radius: 4px;
    background: rgba(1, 9, 22, 0.8);
    color: #e7f6ff;
}

.wows-player-profile .wows-profile-account-avatar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wows-player-profile .wows-profile-account-avatar img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--wows-color-cyan, #00d2ff);
}

.wows-player-profile .wows-profile-account-form textarea {
    min-height: 68px;
    resize: vertical;
}

.wows-player-profile h3 {
    margin: 0 0 12px;
    color: var(--wows-color-cyan, #00d2ff);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}

.wows-player-profile .wows-profile-note {
    color: var(--wows-color-muted, #9fb6cc);
    font-size: 13px;
}

.wows-player-profile .wows-profile-summary-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.wows-player-profile .wows-profile-summary-meta {
    display: grid;
    gap: 4px;
    min-width: 140px;
    padding: 10px 12px;
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 5px;
    background: linear-gradient(135deg, rgba(8, 31, 51, 0.82), rgba(2, 8, 23, 0.72));
    box-shadow: inset 3px 0 0 rgba(34, 211, 238, 0.75);
    text-align: right;
}

.wows-player-profile .wows-profile-summary-meta strong {
    color: #ffffff;
    font-size: 16px;
}

.wows-player-profile .wows-profile-summary-meta span {
    color: var(--wows-color-muted, #9fb6cc);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wows-player-profile .wows-profile-snapshot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.wows-player-profile .wows-profile-snapshot-card,
.wows-player-profile .wows-profile-future-blocks article {
    --profile-card-accent: #22d3ee;
    position: relative;
    overflow: hidden;
    padding: 18px;
    border: 1px solid rgba(71, 96, 122, 0.72);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(13, 27, 48, 0.96), rgba(3, 10, 24, 0.84));
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.035);
    transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.wows-player-profile .wows-profile-snapshot-card::before,
.wows-player-profile .wows-profile-future-blocks article::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--profile-card-accent);
}

.wows-player-profile .wows-profile-snapshot-card:hover,
.wows-player-profile .wows-profile-future-blocks article:hover {
    border-color: var(--profile-card-accent);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.wows-player-profile .wows-profile-snapshot-card.mode-pve {
    --profile-card-accent: #4ade80;
}

.wows-player-profile .wows-profile-snapshot-card.mode-rank_solo {
    --profile-card-accent: #facc15;
}

.wows-player-profile .wows-profile-snapshot-card.mode-oper_solo {
    --profile-card-accent: #c084fc;
}

.wows-player-profile .wows-profile-snapshot-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(125, 211, 252, 0.2);
}

.wows-player-profile .wows-profile-snapshot-top strong {
    color: var(--profile-card-accent, var(--wows-color-cyan, #00d2ff));
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}

.wows-player-profile .wows-profile-snapshot-top span {
    padding: 4px 7px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 4px;
    background: rgba(2, 8, 23, 0.58);
    color: #b8cada;
    font-size: 12px;
}

.wows-player-profile .wows-profile-snapshot-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.wows-player-profile .wows-profile-snapshot-stats div {
    padding: 10px 12px;
    border: 1px solid rgba(71, 85, 105, 0.48);
    border-radius: 5px;
    background: rgba(3, 11, 25, 0.68);
}

.wows-player-profile .wows-profile-snapshot-stats span,
.wows-player-profile .wows-profile-future-blocks strong {
    display: block;
    color: var(--wows-color-muted, #9fb6cc);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wows-player-profile .wows-profile-snapshot-stats strong {
    margin-top: 4px;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.2;
}

.wows-player-profile .wows-profile-future-blocks {
    margin-top: 16px;
}

.wows-player-profile .wows-profile-future-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.wows-player-profile .wows-profile-collection-card.is-ships {
    --profile-card-accent: #38bdf8;
}

.wows-player-profile .wows-profile-collection-card.is-achievements {
    --profile-card-accent: #facc15;
}

.wows-player-profile .wows-profile-collection-card > strong {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(125, 211, 252, 0.2);
    color: var(--profile-card-accent) !important;
    font-size: 13px !important;
}

.wows-player-profile .wows-profile-mini-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.wows-player-profile .wows-profile-mini-stats span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 10px;
    border: 1px solid rgba(71, 96, 122, 0.58);
    border-radius: 4px;
    background: rgba(2, 8, 23, 0.62);
    color: var(--wows-color-muted, #9fb6cc);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.wows-player-profile .wows-profile-mini-stats b {
    color: var(--profile-card-accent, #ffffff);
    font-size: 16px;
}

.wows-player-profile .wows-profile-future-grid p {
    margin: 8px 0 0;
    color: #cbd5e1;
    font-size: 13px;
}

.wows-player-profile .wows-profile-sync-status strong {
    color: #ffffff;
}

.wows-player-profile .wows-profile-sync-status span {
    color: var(--wows-color-muted, #9fb6cc);
    font-size: 13px;
}

.wows-player-profile .wows-profile-sync-status.status-private,
.wows-player-profile .wows-profile-sync-status.status-error {
    border-left-color: #ef4444;
}

.wows-player-profile .wows-profile-sync-status.status-private::before,
.wows-player-profile .wows-profile-sync-status.status-error::before {
    background: #f87171;
    box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.13);
}

.wows-player-profile .wows-profile-sync-status.status-pending,
.wows-player-profile .wows-profile-sync-status.status-empty {
    border-left-color: #facc15;
}

.wows-player-profile .wows-profile-sync-status.status-pending::before,
.wows-player-profile .wows-profile-sync-status.status-empty::before {
    background: #fde047;
    box-shadow: 0 0 0 4px rgba(253, 224, 71, 0.13);
}

.wows-player-profile .wows-profile-status {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid rgba(0, 210, 255, 0.35);
    border-radius: 4px;
    color: var(--wows-color-muted, #9fb6cc);
    background: rgba(2, 6, 23, 0.55);
    font-weight: 800;
}

.wows-player-profile .wows-profile-status.is-active {
    border-color: rgba(34, 197, 94, 0.6);
    color: #bbf7d0;
}

.wows-weekly-podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: 16px;
    margin: 28px 0 24px;
}

.wows-weekly-podium-card {
    position: relative;
    overflow: hidden;
    min-height: 178px;
    padding: 22px 16px;
    text-align: center;
    background:
        radial-gradient(circle at 72% 24%, rgba(0, 210, 255, 0.18), transparent 30%),
        linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.84));
    border: 1px solid rgba(51, 65, 85, 0.9);
    border-radius: 6px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
}

.wows-weekly-podium-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(0, 210, 255, 0.1), transparent 40%),
        repeating-linear-gradient(135deg, transparent 0 18px, rgba(255, 255, 255, 0.035) 18px 19px);
    pointer-events: none;
}

.wows-weekly-podium-card::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 96px;
    height: 42px;
    opacity: 0.16;
    background:
        linear-gradient(160deg, transparent 10%, currentColor 11% 30%, transparent 31%),
        linear-gradient(0deg, currentColor 0 4px, transparent 4px);
    clip-path: polygon(0 60%, 60% 60%, 82% 32%, 100% 60%, 86% 78%, 14% 78%);
}

.wows-weekly-podium-card > * {
    position: relative;
    z-index: 1;
}

.wows-weekly-podium-card.podium-1 {
    border-color: rgba(255, 204, 51, 0.8);
    color: #facc15;
    min-height: 206px;
    transform: translateY(-10px);
    background:
        radial-gradient(circle at 50% 18%, rgba(250, 204, 21, 0.25), transparent 34%),
        linear-gradient(145deg, rgba(54, 40, 8, 0.88), rgba(2, 6, 23, 0.86));
}

.wows-weekly-podium-card.podium-2 {
    border-color: rgba(192, 192, 192, 0.75);
    color: #cbd5e1;
    background:
        radial-gradient(circle at 46% 18%, rgba(203, 213, 225, 0.18), transparent 34%),
        linear-gradient(145deg, rgba(35, 43, 55, 0.9), rgba(2, 6, 23, 0.86));
}

.wows-weekly-podium-card.podium-3 {
    border-color: rgba(205, 127, 50, 0.75);
    color: #d97706;
    background:
        radial-gradient(circle at 46% 18%, rgba(217, 119, 6, 0.2), transparent 34%),
        linear-gradient(145deg, rgba(56, 34, 14, 0.9), rgba(2, 6, 23, 0.86));
}

.wows-weekly-podium-medal {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.72), transparent 22%), currentColor;
    color: #020617;
    font-size: 19px;
    font-weight: 1000;
    line-height: 1;
    box-shadow: 0 0 22px rgba(0, 0, 0, 0.38);
}

.wows-weekly-podium-position {
    color: var(--wows-color-cyan, #00d2ff);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.wows-weekly-podium-card h3 {
    margin-top: 10px;
    margin: 8px 0 4px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
}

.wows-weekly-podium-region {
    margin: 0 0 12px;
    color: var(--wows-color-muted, #9fb6cc);
    font-size: 12px;
}

.wows-weekly-podium-score {
    margin: 0;
    color: var(--wows-color-cyan, #00d2ff);
    font-size: 18px;
    font-weight: 900;
}

.wows-weekly-podium-card span {
    color: var(--wows-color-muted, #9fb6cc);
    font-size: 11px;
    text-transform: uppercase;
}

.wows-weekly-ranking-table {
    overflow: hidden;
    border: 1px solid rgba(0, 210, 255, 0.28);
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(2, 6, 23, 0.72);
}

.wows-weekly-ranking-table thead th {
    position: relative;
    padding: 14px 12px;
    border-bottom: 1px solid rgba(0, 210, 255, 0.38);
    background:
        linear-gradient(180deg, rgba(15, 35, 58, 0.98), rgba(8, 15, 31, 0.98));
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.wows-weekly-ranking-table thead th::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 210, 255, 0.85), rgba(250, 204, 21, 0.55), transparent);
}

.wows-weekly-ranking-table tbody td {
    padding: 12px;
    border-bottom: 1px solid rgba(51, 65, 85, 0.62);
    background: rgba(8, 15, 31, 0.68);
    color: #c8d7e8;
    font-weight: 600;
    vertical-align: middle;
}

/* Las métricas deben leerse rápido sin competir visualmente con el jugador. */
.wows-weekly-ranking-table tbody td:not(:nth-child(2)) {
    color: #b8cee3;
    font-family: "Roboto Mono", "Courier New", monospace;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    letter-spacing: 0.015em;
}

.wows-weekly-ranking-table tbody td:first-child {
    color: var(--wows-color-cyan, #00d2ff);
    font-size: 13px;
    font-weight: 800;
}

.wows-weekly-ranking-table tbody td:last-child {
    color: #d9eaff;
    font-weight: 700;
}

.wows-weekly-ranking-table tbody tr:nth-child(even) td {
    background: rgba(15, 23, 42, 0.72);
}

.wows-weekly-ranking-table tbody tr.is-not-eligible td {
    background: linear-gradient(90deg, rgba(127, 29, 29, 0.42), rgba(8, 15, 31, 0.72));
    color: rgba(226, 232, 240, 0.86);
}

.wows-weekly-ranking-table tbody tr.is-not-eligible:hover td,
.wows-weekly-ranking-table tbody tr.is-eligible:hover td {
    background: rgba(0, 210, 255, 0.12);
}

.wows-weekly-ranking-table td strong {
    display: block;
    color: #f4f9ff;
    font-size: 13px;
    font-weight: 750;
}

.wows-weekly-ranking-table td span {
    display: inline-flex;
    margin-top: 4px;
    color: var(--wows-color-muted, #9fb6cc);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wows-weekly-rank-muted {
    color: #fecaca !important;
}

.wows-weekly-minimum-flag {
    display: inline-flex;
    width: fit-content;
    margin-top: 6px;
    padding: 4px 8px;
    border: 1px solid rgba(0, 210, 255, 0.38);
    border-radius: 999px;
    background: rgba(8, 47, 73, 0.42);
    color: #bae6fd;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.wows-weekly-ranking-table tr.is-not-eligible .wows-weekly-minimum-flag {
    border-color: rgba(248, 113, 113, 0.45);
    background: rgba(127, 29, 29, 0.45);
    color: #fecaca;
}

.wows-profile-history {
    margin-top: 18px;
}

.wows-profile-history-table {
    min-width: 920px;
}

.wows-profile-history-table tbody tr.medal-gold td {
    background: linear-gradient(90deg, rgba(202, 138, 4, 0.18), rgba(8, 15, 31, 0.74));
}

.wows-profile-history-table tbody tr.medal-silver td {
    background: linear-gradient(90deg, rgba(148, 163, 184, 0.18), rgba(8, 15, 31, 0.74));
}

.wows-profile-history-table tbody tr.medal-bronze td {
    background: linear-gradient(90deg, rgba(180, 83, 9, 0.2), rgba(8, 15, 31, 0.74));
}

.wows-profile-history-table tbody tr.medal-gold:hover td,
.wows-profile-history-table tbody tr.medal-silver:hover td,
.wows-profile-history-table tbody tr.medal-bronze:hover td {
    background: rgba(0, 210, 255, 0.12);
}

.wows-profile-history-medal-cell {
    min-width: 112px;
}

.wows-profile-history-medal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    padding: 5px 10px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    color: #dbeafe;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wows-profile-history-medal.medal-gold {
    border-color: rgba(250, 204, 21, 0.82);
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.28), rgba(113, 63, 18, 0.5));
    color: #fef3c7;
}

.wows-profile-history-medal.medal-silver {
    border-color: rgba(226, 232, 240, 0.76);
    background: linear-gradient(135deg, rgba(226, 232, 240, 0.22), rgba(51, 65, 85, 0.54));
    color: #f8fafc;
}

.wows-profile-history-medal.medal-bronze {
    border-color: rgba(251, 146, 60, 0.76);
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.24), rgba(67, 20, 7, 0.54));
    color: #ffedd5;
}

.wows-profile-history-medal.empty {
    border-style: dashed;
    color: rgba(203, 213, 225, 0.72);
}

@media (max-width: 800px) {
    .wows-weekly-podium {
        grid-template-columns: 1fr;
    }

    .wows-weekly-entry {
        align-items: flex-start;
        flex-direction: column;
    }

    .wows-player-profile .wows-profile-grid {
        grid-template-columns: 1fr;
    }

    .wows-player-profile .wows-profile-account-form {
        grid-template-columns: 1fr;
    }

    .wows-player-profile .wows-profile-summary-header {
        flex-direction: column;
    }

    .wows-player-profile .wows-profile-summary-meta {
        text-align: left;
    }

    .wows-player-profile .wows-profile-snapshot-grid,
    .wows-player-profile .wows-profile-future-grid {
        grid-template-columns: 1fr;
    }

    .wows-weekly-podium-card.podium-1 {
        transform: none;
    }
}

@media (max-width: 520px) {
    .wows-player-profile .wows-profile-snapshot-stats,
    .wows-player-profile .wows-profile-mini-stats {
        grid-template-columns: 1fr;
    }

    .wows-player-profile .wows-profile-snapshot-top {
        align-items: flex-start;
        flex-direction: column;
    }
}
.wows-ranking-player-profile {
    position: relative;
    display: inline-block;
}

.wows-ranking-player-identity-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    min-width: 155px;
}

.wows-ranking-player-name {
    min-width: 0;
    overflow-wrap: anywhere;
}

.wows-ranking-player-label {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
}

.wows-ranking-player-region {
    flex: 0 0 auto;
    color: var(--wows-color-muted, #9fb6cc);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.wows-ranking-player-avatar {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(34, 211, 238, 0.62);
    border-radius: 50%;
    background: #071426;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.08);
    object-fit: cover;
}

.wows-ranking-player-profile > a {
    color: #fff !important;
    text-decoration: none !important;
    border-bottom: 1px dotted rgba(34, 211, 238, 0.75);
    font-weight: 900;
}

.wows-ranking-player-profile > a:hover,
.wows-ranking-player-profile > a:focus {
    color: #f1c40f !important;
}

.wows-ranking-profile-tooltip {
    position: absolute;
    z-index: 80;
    left: 0;
    bottom: calc(100% + 10px);
    display: grid;
    gap: 6px;
    width: 340px;
    max-width: min(340px, 78vw);
    padding: 13px 14px;
    border: 1px solid rgba(34, 211, 238, 0.55);
    border-left: 3px solid #22d3ee;
    background: #06101e;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.48);
    color: #dbeafe !important;
    text-align: left;
    font-size: 11px;
    line-height: 1.4;
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: opacity 140ms ease, transform 140ms ease;
    pointer-events: none;
}

.wows-ranking-profile-tooltip strong {
    margin-top: 4px;
    color: #7dd3fc !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 10px;
}

.wows-ranking-profile-tooltip span {
    color: #dbeafe !important;
    font-weight: 500;
}

.wows-ranking-player-profile:hover .wows-ranking-profile-tooltip,
.wows-ranking-player-profile:focus-within .wows-ranking-profile-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.wows-ranking-tooltip-js .wows-ranking-player-profile > .wows-ranking-profile-tooltip {
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
}

.wows-ranking-profile-tooltip.is-portal {
    position: fixed;
    z-index: 99999;
    right: auto;
    bottom: auto;
    opacity: 0;
    visibility: hidden;
    transform: none;
}

.wows-ranking-profile-tooltip.is-portal.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.wows-weekly-podium .wows-ranking-player-profile.is-compact {
    display: block;
}

.wows-weekly-podium .wows-ranking-profile-tooltip {
    left: 50%;
    transform: translate(-50%, 5px);
}

.wows-weekly-podium .wows-ranking-player-profile:hover .wows-ranking-profile-tooltip,
.wows-weekly-podium .wows-ranking-player-profile:focus-within .wows-ranking-profile-tooltip {
    transform: translate(-50%, 0);
}

.wows-profile-ranking-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.wows-profile-ranking-card {
    display: grid;
    min-width: 0;
    gap: 8px;
    padding: 14px;
    border: 1px solid rgba(34, 211, 238, 0.38);
    border-left: 3px solid #22d3ee;
    background:
        linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(2, 6, 23, 0.68)),
        rgba(8, 15, 28, 0.86);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.wows-profile-ranking-card strong {
    color: #ffffff;
    font-size: 0.95rem;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.wows-profile-ranking-card span,
.wows-profile-ranking-card small {
    color: #bfdbfe;
    font-size: 0.78rem;
    line-height: 1.45;
}

.wows-profile-ranking-card form {
    margin-top: 4px;
}

.wows-profile-status.is-warning {
    border-left: 3px solid #facc15;
    background: rgba(250, 204, 21, 0.1);
    color: #fde68a;
}

.wows-profile-recheck-form {
    display: flex;
    justify-content: flex-start;
    margin: 10px 0 16px;
}

.wows-profile-recheck-form .wows-btn-secondary {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 40px;
    max-width: 100%;
    padding: 10px 18px !important;
    border: 1px solid rgba(250, 204, 21, 0.72) !important;
    border-radius: 5px;
    background:
        linear-gradient(180deg, rgba(250, 204, 21, 0.16), rgba(14, 116, 144, 0.14)),
        rgba(2, 8, 23, 0.94) !important;
    color: #fef3c7 !important;
    box-shadow: 0 0 18px rgba(250, 204, 21, 0.12);
    white-space: normal;
    text-align: center;
}

.wows-profile-recheck-form .wows-btn-secondary:hover,
.wows-profile-recheck-form .wows-btn-secondary:focus {
    border-color: #fde047 !important;
    background:
        linear-gradient(180deg, rgba(250, 204, 21, 0.24), rgba(34, 211, 238, 0.16)),
        rgba(3, 12, 27, 0.98) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

@media (max-width: 560px) {
    .wows-weekly-hub-choice {
        min-height: 0;
        padding: 18px;
    }

    .wows-weekly-hub-choice .wows-weekly-entry {
        align-items: stretch;
        flex-direction: column;
    }

    .wows-weekly-hub-choice .wows-btn-primary,
    .wows-weekly-hub-choice .wows-weekly-entry form {
        width: 100%;
    }

    .wows-profile-recheck-form .wows-btn-secondary {
        width: 100%;
    }
}
