.wows-my-ships .wows-tracker-panel {
    margin-bottom: 24px;
}

.wows-my-ships-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.wows-my-ships-hero div,
.wows-my-ships-sync {
    display: grid;
    gap: 4px;
}

.wows-my-ships-hero span,
.wows-my-ships-sync span {
    color: var(--wows-color-cyan, #00d2ff);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wows-my-ships-hero strong {
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}

.wows-my-ships-hero small,
.wows-my-ships-sync strong {
    color: var(--wows-color-muted, #9fb6cc);
    font-size: 13px;
    font-weight: 800;
}

.wows-my-ships-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.wows-my-ships-notice {
    margin: 14px 0 0;
    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;
    font-style: italic;
    line-height: 1.55;
}

.wows-my-ships-premium-lock {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid rgba(250, 204, 21, 0.38);
    border-left: 3px solid rgba(250, 204, 21, 0.78);
    background:
        linear-gradient(135deg, rgba(250, 204, 21, 0.12), rgba(2, 6, 23, 0.78)),
        rgba(2, 6, 23, 0.72);
    color: #fde68a;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 0 18px rgba(250, 204, 21, 0.1);
}

.wows-my-ships-summary {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0;
}

.wows-my-ships-summary article {
    padding: 14px 12px;
    border: 1px solid rgba(0, 210, 255, 0.28);
    border-left: 3px solid var(--wows-color-cyan, #00d2ff);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.68));
}

.wows-my-ships-summary span {
    display: block;
    color: var(--wows-color-muted, #9fb6cc);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wows-my-ships-summary strong {
    display: block;
    margin-top: 6px;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
}

.wows-my-ships-filters {
    display: grid;
    grid-template-columns: minmax(180px, 1.4fr) repeat(5, minmax(104px, 1fr)) minmax(176px, auto);
    gap: 12px;
    align-items: end;
    margin: 0 0 24px;
    padding: 16px;
    border: 1px solid rgba(0, 210, 255, 0.28);
    border-radius: 10px;
    background: rgba(2, 6, 23, 0.48);
}

.wows-my-ships-filter-field {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.wows-my-ships-filter-field label {
    color: var(--wows-color-cyan, #00d2ff);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wows-my-ships-filter-field input,
.wows-my-ships-filter-field select {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid rgba(0, 210, 255, 0.55);
    border-radius: 4px;
    background: rgba(2, 6, 23, 0.82);
    color: #fff;
    font-weight: 800;
}

.wows-my-ships-filter-field option {
    background: #08111f;
    color: #fff;
}

.wows-my-ships-filter-field.is-checkbox {
    grid-column: 1 / span 3;
    align-self: end;
}

.wows-my-ships-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid rgba(0, 210, 255, 0.55);
    border-radius: 4px;
    background: rgba(2, 6, 23, 0.82);
    color: #fff !important;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    cursor: help;
    width: 100%;
    max-width: 430px;
}

.wows-my-ships-checkbox input {
    width: 16px;
    height: 16px;
    accent-color: var(--wows-color-cyan, #00d2ff);
}

.wows-my-ships-checkbox span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.wows-my-ships-filter-actions {
    display: flex;
    gap: 8px;
    min-width: 0;
    justify-content: flex-end;
    align-self: end;
    grid-column: 4 / -1;
}

.wows-my-ships-filter-actions .wows-tactical-button {
    min-height: 42px;
    padding-inline: 14px;
    white-space: nowrap;
}

.wows-tactical-button.is-secondary {
    background: rgba(15, 23, 42, 0.85);
}

.wows-my-ships-viewport {
    overflow: hidden;
    margin-top: 16px;
}

.wows-my-ships-viewport.is-sliding-next .wows-my-ships-grid {
    animation: wows-port-slide-next 0.28s ease both;
}

.wows-my-ships-viewport.is-sliding-prev .wows-my-ships-grid {
    animation: wows-port-slide-prev 0.28s ease both;
}

@keyframes wows-port-slide-next {
    from {
        opacity: 0;
        transform: translateX(18px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes wows-port-slide-prev {
    from {
        opacity: 0;
        transform: translateX(-18px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.wows-my-ships-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 16px 0;
}

.wows-my-ships-page-arrow {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(0, 210, 255, 0.62);
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(0, 210, 255, 0.14), rgba(2, 6, 23, 0.86));
    color: #fff !important;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 0 18px rgba(0, 210, 255, 0.12);
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.wows-my-ships-page-arrow:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 204, 51, 0.75);
    box-shadow: 0 0 20px rgba(255, 204, 51, 0.16);
}

.wows-my-ships-page-arrow.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.wows-my-ships-page-status,
.wows-my-ships-page-meta {
    color: var(--wows-color-muted, #9fb6cc);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
}

.wows-my-ships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.wows-my-ship-card[hidden] {
    display: none !important;
}

.wows-my-ship-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 116px 1fr;
    gap: 14px;
    align-items: center;
    min-height: 160px;
    padding: 12px;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.86), rgba(2, 6, 23, 0.72));
    border: 1px solid rgba(51, 65, 85, 0.82);
    border-left: 3px solid rgba(51, 65, 85, 0.95);
    border-radius: var(--wows-radius, 4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.wows-my-ship-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0, 210, 255, 0.08), transparent 36%);
    opacity: 0.45;
    pointer-events: none;
}

.wows-my-ship-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 210, 255, 0.76);
    border-left-color: var(--wows-color-cyan, #00d2ff);
    box-shadow: 0 0 18px rgba(0, 210, 255, 0.16), 0 14px 28px rgba(0, 0, 0, 0.3);
}

.wows-my-ship-image,
.wows-my-ship-image-placeholder,
.wows-my-ship-info {
    position: relative;
    z-index: 1;
}

.wows-my-ship-image,
.wows-my-ship-image-placeholder {
    width: 107px;
    height: 63px;
}

.wows-my-ship-image {
    object-fit: contain;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.45));
}

.wows-my-ship-image-placeholder {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    border: 1px dashed rgba(0, 210, 255, 0.32);
    border-radius: 4px;
    background:
        linear-gradient(135deg, rgba(0, 210, 255, 0.12), rgba(255, 204, 51, 0.05)),
        rgba(2, 6, 23, 0.56);
    color: rgba(219, 234, 254, 0.84);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wows-my-ship-image-placeholder small {
    max-width: 92px;
    color: var(--wows-color-cyan, #00d2ff);
    font-size: 9px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wows-my-ship-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px;
    min-width: 0;
    line-height: 1.25;
}

.wows-my-ship-info strong {
    display: block;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.16);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wows-my-ship-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.wows-my-ship-meta span,
.wows-my-ship-badges span {
    display: inline-flex;
    width: fit-content;
    padding: 4px 7px;
    border: 1px solid rgba(0, 210, 255, 0.24);
    border-radius: 4px;
    background: rgba(2, 6, 23, 0.55);
    color: var(--wows-color-muted, #9fb6cc) !important;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.wows-my-ship-meta span:first-child {
    color: var(--wows-color-cyan-soft, #7dd3fc) !important;
}

.wows-my-ship-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 22px;
}

.wows-my-ship-badges span.is-premium {
    border-color: rgba(255, 204, 51, 0.62);
    color: #ffcc33 !important;
}

.wows-my-ship-badges span.is-special {
    border-color: rgba(102, 217, 255, 0.62);
    color: #66d9ff !important;
}

.wows-my-ship-badges span.is-sold {
    border-color: rgba(248, 113, 113, 0.68);
    color: #fca5a5 !important;
}

.wows-my-ship-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.wows-my-ship-stats span {
    display: grid;
    gap: 2px;
    padding: 7px 8px;
    border-radius: 4px;
    background: rgba(15, 23, 42, 0.72);
    color: var(--wows-color-muted, #9fb6cc) !important;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.wows-my-ship-stats b {
    color: #fff;
    font-size: 13px;
}

.wows-my-ships-empty {
    border-style: dashed;
    text-align: center;
}

.wows-my-ships-empty span {
    color: var(--wows-color-muted, #9fb6cc);
}

.wows-my-ship-card.is-sold {
    border-left-color: #f87171;
    opacity: 0.82;
}

.wows-my-ship-card.is-sold::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        rgba(248, 113, 113, 0.08) 0,
        rgba(248, 113, 113, 0.08) 8px,
        transparent 8px,
        transparent 18px
    );
    pointer-events: none;
}

.wows-my-ship-sold-ribbon {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    padding: 5px 9px;
    border: 1px solid rgba(248, 113, 113, 0.82);
    border-radius: 4px;
    background: rgba(127, 29, 29, 0.88);
    color: #fff !important;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 0 14px rgba(248, 113, 113, 0.16);
}

.wows-my-ship-sold-form {
    position: relative;
    z-index: 3;
    margin: 0;
}

.wows-my-ship-sold-button {
    appearance: none;
    width: fit-content;
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid rgba(248, 113, 113, 0.62);
    border-radius: 4px;
    background: rgba(127, 29, 29, 0.38);
    color: #fecaca !important;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}

.wows-my-ship-sold-button:hover {
    border-color: rgba(248, 113, 113, 0.92);
    background: rgba(127, 29, 29, 0.62);
}

.wows-my-ship-sold-button.is-restore {
    border-color: rgba(34, 197, 94, 0.62);
    background: rgba(20, 83, 45, 0.36);
    color: #bbf7d0 !important;
}

.wows-my-ship-sold-button.is-restore:hover {
    border-color: rgba(34, 197, 94, 0.92);
    background: rgba(20, 83, 45, 0.62);
}

@media (max-width: 1100px) {
    .wows-my-ships-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .wows-my-ships-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wows-my-ships-filter-field.is-search,
    .wows-my-ships-filter-field.is-checkbox,
    .wows-my-ships-filter-actions {
        grid-column: 1 / -1;
    }

    .wows-my-ships-checkbox {
        max-width: none;
    }
}

@media (max-width: 700px) {
    .wows-my-ships-hero,
    .wows-my-ships-filter-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .wows-my-ships-summary,
    .wows-my-ships-filters {
        grid-template-columns: 1fr;
    }

    .wows-my-ships-grid {
        grid-template-columns: 1fr;
    }

    .wows-my-ship-card {
        grid-template-columns: 96px 1fr;
    }

    .wows-my-ship-image {
        width: 92px;
        height: 54px;
    }
}

.wows-my-ship-card.is-premium .wows-my-ship-info strong {
    color: #ffcc33 !important;
    text-shadow:
        0 0 8px rgba(255, 204, 51, 0.35),
        0 0 18px rgba(255, 204, 51, 0.15);
}

.wows-my-ship-card.is-premium {
    border-left-color: #ffcc33;
}

.wows-my-ship-card.is-premium:hover {
    border-color: rgba(255, 204, 51, 0.8);
    box-shadow:
        0 0 18px rgba(255, 204, 51, 0.18),
        0 14px 28px rgba(0, 0, 0, 0.3);
}

.wows-my-ship-card.is-special {
    border-left-color: #38bdf8;
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.24),
        inset 7px 0 18px rgba(56, 189, 248, 0.12);
}

.wows-my-ship-card.is-special .wows-my-ship-info strong {
    color: #66d9ff !important;
    text-shadow:
        0 0 8px rgba(56, 189, 248, 0.35),
        0 0 18px rgba(56, 189, 248, 0.15);
}

.wows-my-ship-card.is-special:hover {
    border-color: rgba(56, 189, 248, 0.82);
    border-left-color: #38bdf8;
    box-shadow:
        0 0 18px rgba(56, 189, 248, 0.2),
        0 14px 28px rgba(0, 0, 0, 0.3),
        inset 7px 0 18px rgba(56, 189, 248, 0.16);
}

.is-premium .wows-my-ship-info strong {
    color: #ffcc33;
}

.is-special .wows-my-ship-info strong {
    color: #66d9ff;
}

