.stats-summary {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.stat-box {
    background: var(--bg-white);
    padding: 25px 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--border-light);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.stat-box:hover {
    border-color: var(--nrds-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.stat-box h3 {
    font-size: var(--fs-xs);
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.stat-box p {
    font-size: var(--fs-h3);
    font-weight: bold;
    color: var(--nrds-primary);
    margin: 0 0 5px 0;
}
.stat-box small {
    display: block;
    font-size: var(--fs-2xs);
    color: var(--text-light);
    font-weight: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chart-section {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}
.chart-container {
    position: relative;
    height: 450px;
}

.analysis-section {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}
.analysis-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-light);
}
.analysis-controls .section-title {
    text-align: left;
    margin-bottom: 0;
}

.analysis-controls .toggle-btn {
    padding: 10px 20px;
    background: var(--t-100);
    color: var(--t-800);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.analysis-controls .toggle-btn:hover {
    background: var(--t-200);
    transform: translateY(-1px);
}

.analysis-block {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid var(--border-light);
}
.analysis-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.analysis-block h3 {
    font-size: var(--fs-lg);
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 600;
}

.stats-grid-tld {
    display: grid;
    gap: 15px;
}
.stat-item {
    background: var(--bg-gray);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}
.stat-label {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-weight: 500;
}
.stat-bar {
    height: 12px;
    background: var(--border-light);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}
.stat-fill {
    height: 100%;
    background: var(--t-400);
    transition: width 0.5s ease;
}
.stat-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.stat-count {
    font-size: var(--fs-md);
    font-weight: 600;
    color: var(--text-primary);
}
.stat-percent {
    font-size: var(--fs-sm);
    color: var(--nrds-primary);
    font-weight: 600;
}

.stats-grid-horizontal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}
.stat-box-simple {
    background: var(--bg-white);
    padding: 24px 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}
.stat-box-simple:hover {
    border-color: var(--t-300);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.stat-box-simple .stat-value {
    font-size: var(--fs-h3);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.stat-box-simple .stat-label {
    font-size: var(--fs-xs);
    color: var(--text-light);
    margin-bottom: 5px;
}

ol.registrar-list {
    display: grid;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}
li.registrar-item {
    display: flex;
    align-items: center;
    background: var(--bg-white);
    padding: 16px 18px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.registrar-item:hover {
    border-color: var(--t-300);
    box-shadow: var(--shadow-sm);
}
.registrar-rank {
    width: 34px;
    height: 34px;
    background: var(--t-100);
    color: var(--t-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-base);
    font-weight: 700;
    margin-right: 18px;
    flex-shrink: 0;
}
.registrar-info { flex: 1; min-width: 0; }
.registrar-name {
    font-size: var(--fs-md);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}
.registrar-count {
    font-size: var(--fs-sm);
    color: var(--text-light);
}

/* Rank 1: champion treatment */
.registrar-item:nth-child(1) {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--t-50) 100%);
    border-color: var(--t-200);
    padding: 20px 22px;
}
.registrar-item:nth-child(1) .registrar-rank {
    width: 40px;
    height: 40px;
    font-size: var(--fs-md);
    background: var(--t-700);
    color: #fff;
}
.registrar-item:nth-child(1) .registrar-name {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--t-900);
    letter-spacing: -0.01em;
}

/* Rank 2: silver */
.registrar-item:nth-child(2) .registrar-rank {
    background: var(--t-200);
    color: var(--t-800);
}
.registrar-item:nth-child(2) .registrar-name {
    font-size: var(--fs-md);
}

.date-indicator {
    display: inline-block;
    padding: 6px 12px;
    background: var(--nrds-primary-lighter);
    color: var(--nrds-primary-dark);
    border-radius: 6px;
    font-size: var(--fs-sm);
    font-weight: 600;
    margin-left: 10px;
}

.page-nav-links {
    margin-top: 20px;
}

@media (max-width: 1200px) {
    .stats-summary { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .stats-summary { grid-template-columns: repeat(2, 1fr); }
    .chart-container { height: 300px; }
    .analysis-controls { flex-direction: column; gap: 20px; }
    .stats-grid-horizontal { grid-template-columns: 1fr; }
}
