.top-page {
    background: linear-gradient(#231b16d9, #231b16ee), url('/assets/pmg-desktop-wide-v5-photo-master-v6.webp') center top / cover fixed;
    background-color: #231b16;
    color: #262d37;
}

.top-main {
    width: min(100% - 32px, 780px);
    margin-inline: auto;
    padding-block: clamp(24px, 5vw, 64px);
}

.top-header {
    color: #fff9ef;
    margin-bottom: 24px;
}

.top-back {
    color: #ffe0a8;
    display: inline-block;
    margin-bottom: 18px;
}

.top-header h1 {
    font-size: clamp(2rem, 5.5vw, 3.3rem);
    line-height: 1.05;
    margin-bottom: 10px;
}

.top-header p {
    color: #e7dbd1;
}

.top-panel {
    padding: clamp(10px, 2vw, 20px);
    background: #f8f9fa;
    border-radius: 15px;
}

.top-list {
    list-style: none;
}

.top-row {
    display: grid;
    grid-template-columns: 3.2rem minmax(0, 1fr) auto;
    gap: clamp(8px, 2vw, 16px);
    align-items: center;
    padding: 12px clamp(8px, 2vw, 16px);
    border-bottom: 1px solid #e0e4e9;
}

.top-row:nth-child(-n+3) {
    border-radius: 10px;
    border-bottom: 0;
    margin-bottom: 8px;
    background: #e9edf2;
}

.top-row:nth-child(3) {
    background: #f1e1d4;
}

.top-row:first-child {
    background: #ffdf8d;
    padding-block: 20px;
    font-size: clamp(1.125rem, 3vw, 1.5rem);
}

.top-row-linked {
    outline: 2px solid #865400;
    outline-offset: -2px;
}

.top-rank,
.top-volume {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.top-rank { color: #674300; }
.top-name { overflow-wrap: anywhere; font-weight: 600; }
.top-country { color: #485461; font-size: 0.875rem; font-weight: 400; }

.top-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 24px;
    margin-top: 14px;
}

.top-action {
    border: 0;
    padding: 6px 0;
    background: transparent;
    color: #654000;
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.top-share-status:empty {
    display: none;
}

.top-share-status {
    flex-basis: 100%;
    text-align: center;
}

.top-share-url {
    width: min(100%, 24rem);
    padding: 6px 8px;
    font: inherit;
}
