/* Публичная статистика добычи (WebGive) — общие блоки + главная */

.gather-server-toolbar {
    background: rgba(20, 20, 24, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
}
.gather-server-toolbar label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
    display: block;
}
.gather-server-toolbar select.form-select {
    background-color: #0a0a0c;
    border: 1px solid rgba(0, 123, 255, 0.35);
    color: #fff;
    border-radius: 10px;
}
.gather-server-toolbar select.form-select:focus {
    border-color: #3395ff;
    box-shadow: 0 0 0 2px rgba(51, 149, 255, 0.2);
}

.gather-search-card {
    background: rgba(20, 20, 24, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.gather-search-card label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
    display: block;
}
.gather-search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: stretch;
}
.gather-search-row input {
    flex: 1 1 220px;
    min-width: 0;
    background: #0a0a0c;
    border: 1px solid rgba(0, 123, 255, 0.35);
    color: #fff;
    border-radius: 10px;
    padding: 0.65rem 1rem;
}
.gather-search-row input:focus {
    outline: none;
    border-color: #3395ff;
    box-shadow: 0 0 0 2px rgba(51, 149, 255, 0.25);
}
.gather-search-row .btn-gather-search {
    flex: 0 0 auto;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    border-radius: 10px;
    transition: transform 0.15s, box-shadow 0.15s;
}
.gather-search-row .btn-gather-search:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.35);
    color: #fff;
}

.gather-result-card {
    background: rgba(16, 18, 22, 0.95);
    border: 1px solid rgba(0, 200, 120, 0.2);
    border-radius: 14px;
    padding: 1.5rem;
    display: none;
}
.gather-result-card.is-visible {
    display: block;
}
.gather-result-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #6effc0;
}
.gather-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}
.gather-stat-pill {
    background: rgba(0, 0, 0, 0.35);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.gather-stat-pill .lbl {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}
.gather-stat-pill .val {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.gather-gather-label,
.gather-court-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.65rem;
}
.gather-court-label {
    margin-top: 1rem;
    color: rgba(130, 200, 255, 0.75);
}
.gather-stat-pill.gather-stat-court {
    border-color: rgba(100, 160, 220, 0.25);
    background: rgba(0, 80, 140, 0.12);
}

.gather-index-section {
    margin-bottom: 2.5rem;
}
/* Компактный блок топа на главной (ниже по странице) */
.gather-index-section.gather-index-muted {
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.gather-index-section.gather-index-muted .gather-index-head {
    margin-bottom: 1rem;
}
.gather-index-section.gather-index-muted .section-title-wrap h2 {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.92;
}
.gather-index-section.gather-index-muted .section-title-wrap p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.42);
}
.gather-index-section.gather-index-muted .gather-top-grid {
    gap: 0.75rem;
}
.gather-index-section.gather-index-muted .gather-top-card .gt-head {
    padding: 0.55rem 0.85rem;
    font-size: 0.82rem;
}
.gather-index-section.gather-index-muted .gather-top-card li {
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
}
.btn-gather-page-subtle {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    padding: 0.45rem 0.9rem;
    font-weight: 500;
}
.btn-gather-page-subtle:hover {
    background: rgba(0, 123, 255, 0.12);
    border-color: rgba(0, 123, 255, 0.35);
    color: #b8d9ff;
}
.gather-index-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.gather-index-head .section-title-wrap h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.gather-index-head .section-title-wrap p {
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
}
.btn-gather-page {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 123, 255, 0.15);
    border: 1px solid rgba(0, 123, 255, 0.45);
    color: #8ec8ff;
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.btn-gather-page:hover {
    background: rgba(0, 123, 255, 0.28);
    color: #fff;
}

.gather-top-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
@media (max-width: 1199px) {
    .gather-top-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    .gather-top-grid {
        grid-template-columns: 1fr;
    }
}

.gather-top-card {
    background: rgba(18, 20, 26, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    overflow: hidden;
}
.gather-top-card .gt-head {
    padding: 0.75rem 1rem;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.gather-top-card .gt-head i {
    opacity: 0.85;
}
.gather-top-card.wood .gt-head { background: rgba(139, 90, 43, 0.25); color: #e8c49a; }
.gather-top-card.stones .gt-head { background: rgba(120, 120, 130, 0.35); color: #d0d4de; }
.gather-top-card.metal .gt-head { background: rgba(180, 150, 90, 0.25); color: #f0d49a; }
.gather-top-card.sulfur .gt-head { background: rgba(220, 200, 80, 0.18); color: #fff3a0; }

.gather-top-card ol {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    counter-reset: gt;
}
.gather-top-card li {
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.gather-top-card li:last-child {
    border-bottom: none;
}
.gather-top-card li .rank {
    color: rgba(255, 255, 255, 0.35);
    font-weight: 700;
    width: 1.5rem;
    flex-shrink: 0;
}
.gather-top-card li .who {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.88);
}
.gather-top-card li .amt {
    font-variant-numeric: tabular-nums;
    color: #7dffb3;
    font-weight: 600;
    flex-shrink: 0;
}

.gather-top-placeholder,
.gather-top-error {
    padding: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
}

/* ========== Страница /gather-stats (полный редизайн) ========== */
.gather-stats-page {
    position: relative;
    min-height: calc(100vh - 8rem);
}
.gather-stats-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 123, 255, 0.22), transparent 55%),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(0, 180, 120, 0.08), transparent 50%),
        radial-gradient(ellipse 50% 35% at 0% 80%, rgba(80, 60, 200, 0.06), transparent 45%);
    opacity: 1;
}
.gather-stats-inner {
    position: relative;
    z-index: 1;
    max-width: 920px;
}

.gather-stats-hero {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 1.25rem 2.25rem;
    background: linear-gradient(165deg, rgba(18, 22, 32, 0.92) 0%, rgba(8, 10, 14, 0.98) 100%);
    border: 1px solid rgba(0, 123, 255, 0.28);
    border-radius: 24px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 24px 48px rgba(0, 0, 0, 0.45),
        0 0 80px rgba(0, 100, 200, 0.12);
}
.gather-stats-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(130, 200, 255, 0.95);
    background: rgba(0, 123, 255, 0.12);
    border: 1px solid rgba(0, 123, 255, 0.35);
    margin-bottom: 1rem;
}
.gather-stats-title {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.75rem;
    background: linear-gradient(100deg, #fff 0%, #a8d4ff 45%, #5eb3ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.gather-stats-lead {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.95rem;
    max-width: 32rem;
    margin: 0 auto 1.25rem;
    line-height: 1.55;
}
.gather-stats-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}
.gather-stats-meta-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    border-radius: 12px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.gather-stats-warn {
    font-size: 0.85rem;
    color: #ffc107;
}

.gather-stats-panel {
    background: rgba(16, 18, 24, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 1.35rem 1.5rem;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.gather-stats-panel-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 1rem;
}
.gather-stats-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.5rem;
}
.gather-stats-select {
    width: 100%;
    background: rgba(8, 10, 14, 0.95) !important;
    border: 1px solid rgba(0, 123, 255, 0.4) !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding: 0.65rem 1rem !important;
    font-weight: 500;
}
.gather-stats-select:focus {
    border-color: #3395ff !important;
    box-shadow: 0 0 0 3px rgba(51, 149, 255, 0.2) !important;
}

.gather-stats-search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: stretch;
}
.gather-stats-input-wrap {
    position: relative;
    flex: 1 1 240px;
    min-width: 0;
}
.gather-stats-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0, 123, 255, 0.55);
    font-size: 1rem;
    pointer-events: none;
}
.gather-stats-input {
    width: 100%;
    background: rgba(6, 8, 12, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 14px;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.gather-stats-input:focus {
    outline: none;
    border-color: rgba(0, 123, 255, 0.65);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}
.gather-stats-btn-primary {
    flex: 0 0 auto;
    align-self: stretch;
    padding: 0.75rem 1.5rem;
    border-radius: 14px;
    font-weight: 700;
    border: none;
    color: #fff;
    background: linear-gradient(135deg, #0d8bff 0%, #0056b3 100%);
    box-shadow: 0 8px 24px rgba(0, 100, 200, 0.35);
    transition: transform 0.15s, box-shadow 0.15s;
}
.gather-stats-btn-primary:hover:not(:disabled) {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 120, 220, 0.45);
}
.gather-stats-btn-primary:disabled {
    opacity: 0.55;
}
.gather-stats-hint {
    margin: 0.85rem 0 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

.gather-stats-result {
    display: none;
    margin-top: 0.5rem;
    animation: gatherFadeIn 0.45s ease-out;
}
.gather-stats-result.is-visible {
    display: block;
}
@keyframes gatherFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.gather-stats-result-inner {
    background: linear-gradient(155deg, rgba(14, 18, 26, 0.98) 0%, rgba(8, 10, 14, 0.99) 100%);
    border: 1px solid rgba(0, 200, 140, 0.22);
    border-radius: 22px;
    padding: 1.75rem 1.5rem 2rem;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 20px 50px rgba(0, 0, 0, 0.4);
}

.gather-stats-player {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.gather-stats-avatar {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    flex-shrink: 0;
    border: 1px solid rgba(110, 255, 200, 0.25);
    box-shadow: 0 8px 24px rgba(0, 80, 60, 0.2);
    background: linear-gradient(145deg, rgba(0, 180, 120, 0.2), rgba(0, 80, 60, 0.35));
}
.gather-stats-avatar-img {
    display: block;
    object-fit: cover;
}
.gather-stats-player-name {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 0.25rem;
    color: #e8fff4;
    letter-spacing: -0.02em;
}
.gather-stats-player-steam {
    margin: 0;
    font-size: 0.85rem;
    font-family: ui-monospace, monospace;
    color: rgba(255, 255, 255, 0.45);
}

.gather-section-label {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: rgba(255, 255, 255, 0.42);
    margin-bottom: 1rem;
}
.gather-section-label--court {
    margin-top: 0.5rem;
    color: rgba(130, 200, 255, 0.75);
}
.gather-court-note {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.38);
    margin: -0.5rem 0 1rem;
}

.gather-resources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 640px) {
    .gather-resources-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gather-resource-tile {
    position: relative;
    border-radius: 16px;
    padding: 1rem 0.75rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.28);
    transition: transform 0.2s, box-shadow 0.2s;
}
.gather-resource-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
.gather-res--wood {
    box-shadow: 0 0 32px rgba(180, 120, 60, 0.12);
    border-color: rgba(200, 140, 80, 0.25);
}
.gather-res--stone {
    box-shadow: 0 0 32px rgba(140, 140, 150, 0.1);
    border-color: rgba(160, 160, 175, 0.22);
}
.gather-res--metal {
    box-shadow: 0 0 32px rgba(220, 180, 100, 0.12);
    border-color: rgba(220, 180, 100, 0.28);
}
.gather-res--sulfur {
    box-shadow: 0 0 32px rgba(230, 220, 80, 0.1);
    border-color: rgba(230, 210, 90, 0.28);
}

.gather-resource-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.65rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
}
.gather-resource-icon {
    width: 72px;
    height: 72px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
}
.gather-resource-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.gather-resource-lbl {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.48);
}
.gather-resource-val {
    font-size: 1.2rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #fff;
    letter-spacing: -0.02em;
}

.gather-court-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
@media (min-width: 576px) {
    .gather-court-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.gather-court-tile {
    border-radius: 14px;
    padding: 0.85rem 0.65rem;
    text-align: center;
    background: rgba(0, 60, 100, 0.2);
    border: 1px solid rgba(100, 170, 220, 0.2);
}
.gather-court-ico {
    display: block;
    font-size: 1rem;
    color: rgba(130, 200, 255, 0.85);
    margin-bottom: 0.35rem;
}
.gather-court-lbl {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.25rem;
}
.gather-court-val {
    font-size: 1.05rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #bfe6ff;
}

.gather-stats-back {
    border-radius: 12px;
    padding: 0.55rem 1.25rem;
    border: 1px solid rgba(0, 123, 255, 0.35);
    color: rgba(180, 220, 255, 0.95) !important;
    background: rgba(0, 123, 255, 0.08);
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}
.gather-stats-back:hover {
    background: rgba(0, 123, 255, 0.2);
    color: #fff !important;
}

.gather-no-gather {
    font-size: 0.9rem;
}

/* ——— Главная: превью последнего devlog ——— */
.home-devlog-section {
    padding: 2.75rem 0 2.5rem;
    margin-top: 0.5rem;
    position: relative;
}
.home-devlog-section::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: min(100%, 720px);
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 123, 255, 0.35) 30%,
        rgba(0, 180, 255, 0.25) 70%,
        transparent
    );
    pointer-events: none;
}
.home-devlog-section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 1.25rem;
    margin-bottom: 1.35rem;
}
.home-devlog-section__eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(0, 200, 255, 0.75);
    margin: 0 0 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}
.home-devlog-section__title {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0;
    color: #fff;
}
.home-devlog-section__link-all {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(130, 200, 255, 0.95);
    text-decoration: none;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 123, 255, 0.35);
    background: rgba(0, 123, 255, 0.06);
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.home-devlog-section__link-all:hover {
    color: #fff;
    background: rgba(0, 123, 255, 0.18);
    border-color: rgba(0, 180, 255, 0.5);
    transform: translateY(-1px);
}
.home-devlog-feature {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(145deg, rgba(18, 22, 32, 0.98) 0%, rgba(8, 10, 16, 0.99) 100%);
    box-shadow:
        0 28px 56px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.home-devlog-feature:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 150, 255, 0.45);
    box-shadow:
        0 36px 64px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(0, 123, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.home-devlog-feature:focus-visible {
    outline: 2px solid rgba(0, 200, 255, 0.85);
    outline-offset: 3px;
}
.home-devlog-feature__glow {
    position: absolute;
    inset: -40% -20% auto auto;
    width: 55%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(0, 140, 255, 0.22) 0%, transparent 65%);
    pointer-events: none;
    opacity: 0.85;
}
.home-devlog-feature__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 1rem 1.5rem;
    padding: 1.5rem 1.5rem 1.45rem 1.65rem;
}
@media (min-width: 768px) {
    .home-devlog-feature__inner {
        padding: 1.75rem 2rem 1.65rem 1.85rem;
    }
}
.home-devlog-feature__body {
    flex: 1 1 240px;
    min-width: 0;
}
.home-devlog-feature__title {
    font-size: clamp(1.2rem, 2.4vw, 1.5rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.28;
    margin: 0 0 0.75rem;
    color: #fff;
    transition: color 0.2s;
}
.home-devlog-feature:hover .home-devlog-feature__title {
    color: #b8e0ff;
}
.home-devlog-feature__excerpt {
    font-size: 0.94rem;
    line-height: 1.62;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-devlog-feature__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}
.home-devlog-feature__tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.25rem 0.55rem;
    border-radius: 8px;
    color: rgba(160, 210, 255, 0.95);
    background: rgba(0, 100, 200, 0.2);
    border: 1px solid rgba(0, 150, 255, 0.25);
}
.home-devlog-feature__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.42);
}
.home-devlog-feature__author {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
}
.home-devlog-feature__author-img {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(0, 123, 255, 0.4);
}
.home-devlog-feature__time {
    font-variant-numeric: tabular-nums;
}
.home-devlog-feature__cta {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    align-self: center;
}
.home-devlog-feature__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.35rem;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #0d8fff 0%, #0070e0 50%, #0056b3 100%);
    box-shadow: 0 8px 24px rgba(0, 120, 220, 0.35);
    border: 1px solid rgba(120, 200, 255, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}
.home-devlog-feature:hover .home-devlog-feature__cta-btn {
    transform: translateX(2px);
    box-shadow: 0 10px 28px rgba(0, 140, 255, 0.45);
}
@media (max-width: 767px) {
    .home-devlog-feature__inner {
        flex-direction: column;
    }
    .home-devlog-feature__cta {
        width: 100%;
    }
    .home-devlog-feature__cta-btn {
        width: 100%;
    }
}
@media (prefers-reduced-motion: reduce) {
    .home-devlog-feature,
    .home-devlog-feature:hover,
    .home-devlog-section__link-all:hover {
        transition: none;
        transform: none;
    }
    .home-devlog-feature:hover .home-devlog-feature__cta-btn {
        transform: none;
    }
}

/* Страница /gather-stats: топ добычи по выбранному серверу */
.gather-stats-panel--tops-single {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 123, 255, 0.22);
    background: linear-gradient(155deg, rgba(18, 22, 32, 0.96) 0%, rgba(10, 12, 18, 0.98) 100%);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.gather-stats-panel--tops-single::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 280px at 10% -20%, rgba(0, 123, 255, 0.14), transparent 55%),
        radial-gradient(700px 240px at 100% 0%, rgba(125, 211, 252, 0.06), transparent 50%);
    pointer-events: none;
}
.gather-stats-panel--tops-single > * {
    position: relative;
    z-index: 1;
}

.gather-tops-panel-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.1rem;
}
.gather-tops-panel-head-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.35rem;
    color: #ffc14d;
    background: linear-gradient(145deg, rgba(255, 193, 77, 0.18), rgba(0, 86, 179, 0.12));
    border: 1px solid rgba(255, 193, 77, 0.28);
    box-shadow: 0 10px 28px rgba(0, 80, 160, 0.22);
}
.gather-tops-panel-title {
    margin: 0 0 0.25rem;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(120deg, #fff 0%, #7dd3fc 55%, #3395ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.gather-tops-panel-sub {
    margin: 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.48);
    line-height: 1.45;
    max-width: 52rem;
}

.gather-tops-toolbar {
    margin-bottom: 1.15rem;
}
.gather-tops-toolbar-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem 1rem;
}
.gather-tops-field {
    flex: 1 1 240px;
    min-width: 0;
}
.gather-tops-field-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.45rem;
}
.gather-tops-server-select {
    border-radius: 14px !important;
    font-weight: 600 !important;
}
.gather-tops-refresh-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.1rem;
    border-radius: 14px;
    font-weight: 700;
    border: 1px solid rgba(0, 123, 255, 0.45);
    color: #e8f4ff;
    background: rgba(0, 90, 180, 0.18);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.gather-tops-refresh-btn:hover {
    color: #fff;
    border-color: rgba(125, 211, 252, 0.55);
    box-shadow: 0 10px 26px rgba(0, 120, 220, 0.28);
    transform: translateY(-1px);
}
.gather-tops-refresh-label {
    font-size: 0.88rem;
}

.gather-all-tops-root {
    min-height: 3.5rem;
}
.gather-tops-single-mount {
    border-radius: 16px;
}

.gather-tops-loading--nice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 2rem 1rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.92rem;
}
.gather-tops-loading-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3395ff;
    animation: gatherTopsDot 1s ease-in-out infinite;
}
.gather-tops-loading-dot:nth-child(2) {
    animation-delay: 0.15s;
    background: #7dd3fc;
}
.gather-tops-loading-dot:nth-child(3) {
    animation-delay: 0.3s;
    background: #ffc14d;
}
@keyframes gatherTopsDot {
    0%,
    100% {
        transform: translateY(0);
        opacity: 0.45;
    }
    50% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

.gather-tops-single-card {
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.35), rgba(125, 211, 252, 0.12), rgba(255, 255, 255, 0.06));
}
.gather-tops-single-card--err {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.45), rgba(255, 140, 100, 0.12));
}
.gather-tops-single-card-inner {
    background: rgba(6, 8, 12, 0.92);
    border-radius: 17px;
    padding: 1.1rem 1.15rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.gather-tops-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
    margin-bottom: 1rem;
}
.gather-tops-single-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #eaf6ff;
    background: rgba(0, 123, 255, 0.16);
    border: 1px solid rgba(0, 123, 255, 0.28);
}
.gather-tops-single-pill--muted {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}
.gather-tops-err {
    color: #ffb4b4;
    font-size: 0.92rem;
}

.gather-tops-metrics-grid,
.gather-tops-metrics-grid--fancy {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem 0.85rem;
}
@media (max-width: 991px) {
    .gather-tops-metrics-grid,
    .gather-tops-metrics-grid--fancy {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 575px) {
    .gather-tops-metrics-grid,
    .gather-tops-metrics-grid--fancy {
        grid-template-columns: 1fr;
    }
}

.gather-tops-metric {
    background: rgba(0, 0, 0, 0.32);
    border-radius: 14px;
    padding: 0.7rem 0.8rem 0.55rem;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.18s ease, border-color 0.18s ease;
}
.gather-tops-metric:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 123, 255, 0.28);
}
.gather-tops-metric--m0 {
    border-color: rgba(139, 195, 74, 0.22);
    background: linear-gradient(165deg, rgba(139, 195, 74, 0.1), rgba(0, 0, 0, 0.28));
}
.gather-tops-metric--m1 {
    border-color: rgba(158, 158, 158, 0.22);
    background: linear-gradient(165deg, rgba(200, 200, 200, 0.08), rgba(0, 0, 0, 0.28));
}
.gather-tops-metric--m2 {
    border-color: rgba(100, 181, 246, 0.25);
    background: linear-gradient(165deg, rgba(100, 181, 246, 0.12), rgba(0, 0, 0, 0.28));
}
.gather-tops-metric--m3 {
    border-color: rgba(255, 213, 79, 0.22);
    background: linear-gradient(165deg, rgba(255, 213, 79, 0.1), rgba(0, 0, 0, 0.28));
}
.gather-tops-metric-head {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(200, 230, 255, 0.88);
    margin-bottom: 0.45rem;
}
.gather-tops-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.82rem;
}
.gather-tops-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.32rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.gather-tops-list li:last-child {
    border-bottom: none;
}
.gather-tops-rank {
    flex: 0 0 auto;
    width: 1.35rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
    font-variant-numeric: tabular-nums;
}
.gather-tops-player {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.gather-tops-name {
    color: rgba(255, 255, 255, 0.94);
    font-weight: 600;
    line-height: 1.25;
    word-break: break-word;
}
.gather-tops-sid {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.38);
    font-variant-numeric: tabular-nums;
}
.gather-tops-val {
    flex: 0 0 auto;
    font-weight: 800;
    color: #9bdcff;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.gather-tops-empty {
    margin: 0.25rem 0 0 !important;
}
.gather-tops-empty-msg {
    padding: 1.25rem 0.5rem;
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .gather-tops-loading-dot {
        animation: none;
    }
    .gather-tops-metric:hover {
        transform: none;
    }
}
