:root {
    --bg: #0d0d0e;
    --panel: #161617;
    --panel-hover: #1c1c1e;
    --panel-elevated: #1a1a1c;
    --border: #25252a;
    --border-bright: #35353c;
    --text: #f0f0f0;
    --text-dim: #9a9a9e;
    --text-muted: #65656a;
    --orange: #ff8a3d;
    --orange-soft: #ffaa6b;
    --orange-deep: #f97316;
    --orange-glow: rgba(255, 138, 61, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 138, 61, 0.08), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.topbar {
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    position: relative;
    z-index: 5;
}

.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}

.brand-img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--border);
}

.brand-text h1 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.brand-text span {
    font-size: 12px;
    color: var(--text-muted);
}

.topbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.topbar-nav a {
    padding: 8px 14px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 7px;
    transition: background 0.15s, color 0.15s;
}

.topbar-nav a:hover {
    background: var(--panel-hover);
    color: var(--text);
}

.topbar-nav a.active {
    background: var(--panel);
    color: var(--text);
    border: 1px solid var(--border);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 32px 64px;
    position: relative;
    z-index: 1;
    animation: fadeUp 0.4s ease-out;
}

.hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 56px;
    align-items: center;
    margin-bottom: 56px;
}

.hero-text {
    min-width: 0;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 16px;
}

.hero-title .dot {
    color: var(--orange);
}

.hero-tagline {
    font-size: 17px;
    color: var(--text-dim);
    margin-bottom: 28px;
    max-width: 460px;
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-logo {
    width: 220px;
    height: 220px;
    border-radius: 24px;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, var(--orange-glow), transparent 65%);
    z-index: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, transform 0.1s;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
    color: #1a0f08;
    box-shadow: 0 4px 14px rgba(255, 138, 61, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 6px 18px rgba(255, 138, 61, 0.35);
    transform: translateY(-1px);
}

.btn-ghost {
    background: var(--panel);
    color: var(--text);
    border-color: var(--border);
}

.btn-ghost:hover {
    background: var(--panel-hover);
    border-color: var(--border-bright);
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 56px;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat-item {
    padding: 0 28px;
    border-right: 1px solid var(--border);
}

.stat-item:last-child {
    border-right: none;
}

.stat-value {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 500;
}

.section {
    margin-bottom: 56px;
}

.section-header {
    margin-bottom: 22px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.section-header h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.section-link {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.15s;
}

.section-link:hover {
    color: var(--orange);
}

.tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.tile {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 180px;
    position: relative;
    overflow: hidden;
}

.tile::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    opacity: 0;
    transition: opacity 0.2s;
}

.tile:hover {
    background: var(--panel-hover);
    border-color: var(--border-bright);
    transform: translateY(-3px);
}

.tile:hover::after {
    opacity: 0.7;
}

.tile-icon {
    width: 48px;
    height: 48px;
    background: var(--panel-elevated);
    border: 1px solid var(--border);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--text-dim);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.tile:hover .tile-icon {
    color: var(--orange);
    border-color: rgba(255, 138, 61, 0.3);
    background: rgba(255, 138, 61, 0.08);
}

.tile-body {
    flex: 1;
}

.tile h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.tile p {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.55;
}

.tile-arrow {
    color: var(--text-muted);
    font-size: 18px;
    align-self: flex-start;
    transition: color 0.2s, transform 0.2s;
}

.tile:hover .tile-arrow {
    color: var(--orange);
    transform: translateX(4px);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.featured-rune {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.featured-rune:hover {
    background: var(--panel-hover);
    border-color: var(--border-bright);
    transform: translateY(-2px);
}

.featured-icon {
    width: 46px;
    height: 46px;
    background: var(--panel-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    color: var(--text-dim);
    flex-shrink: 0;
}

.featured-info {
    flex: 1;
    min-width: 0;
}

.featured-rarity {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.rarity-common { background: rgba(154, 154, 158, 0.12); color: var(--text-dim); }
.rarity-rare { background: rgba(125, 211, 252, 0.1); color: #7dd3fc; }
.rarity-epic { background: rgba(196, 181, 253, 0.1); color: #c4b5fd; }
.rarity-legendary { background: var(--orange-glow); color: var(--orange); }

.featured-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.featured-info p {
    font-size: 12px;
    color: var(--text-dim);
}

.search-bar {
    margin-bottom: 24px;
}

.search-bar input {
    width: 100%;
    max-width: 400px;
    padding: 11px 16px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
}

.search-bar input:focus {
    border-color: var(--orange);
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.rune-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.rune-tile {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 22px 16px;
    cursor: pointer;
    color: var(--text);
    font-family: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: background 0.15s, border-color 0.15s;
}

.rune-tile:hover {
    background: var(--panel-hover);
    border-color: var(--border-bright);
}

.rune-tile:hover .rune-icon {
    color: var(--orange);
}

.rune-icon {
    font-size: 30px;
    color: var(--text-dim);
    transition: color 0.15s;
}

.rune-name {
    font-size: 13px;
    font-weight: 500;
}

.info-section {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 22px;
    margin-bottom: 12px;
}

.info-section h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.info-section p {
    color: var(--text-dim);
    font-size: 14px;
}

.social-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 640px;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s, border-color 0.15s;
}

.social-card:hover {
    background: var(--panel-hover);
    border-color: var(--border-bright);
}

.social-card:hover .social-icon {
    color: var(--orange);
}

.social-card:hover .social-arrow {
    color: var(--orange);
}

.social-icon {
    width: 44px;
    height: 44px;
    background: var(--panel-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: var(--text-dim);
    flex-shrink: 0;
    transition: color 0.15s;
}

.social-info {
    flex: 1;
}

.social-info h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.social-info p {
    color: var(--text-dim);
    font-size: 13px;
}

.social-arrow {
    color: var(--text-muted);
    font-size: 18px;
    transition: color 0.15s;
}

.page-header {
    margin-bottom: 36px;
}

.page-header h2 {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.subtitle {
    color: var(--text-dim);
    font-size: 15px;
}

.footer {
    border-top: 1px solid var(--border);
    background: var(--panel);
    margin-top: 64px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 32px 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 40px;
    margin-bottom: 28px;
}

.footer-brand {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-brand img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.footer-brand strong {
    font-size: 14px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.footer-brand p {
    color: var(--text-dim);
    font-size: 13px;
    max-width: 280px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.footer-col h5 {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.footer-col a {
    display: block;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 13px;
    padding: 4px 0;
    transition: color 0.15s;
}

.footer-col a:hover {
    color: var(--orange);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 12px;
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 7px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}

@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        order: -1;
        display: flex;
        justify-content: center;
    }

    .hero-logo {
        width: 160px;
        height: 160px;
    }

    .hero-actions {
        justify-content: center;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 640px) {
    .topbar-inner {
        flex-direction: column;
        gap: 16px;
        padding: 16px 20px;
    }

    .container {
        padding: 32px 20px 50px;
    }

    .hero-title {
        font-size: 36px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
.filter-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.filter-chip {
    padding: 7px 14px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-dim);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.filter-chip:hover {
    color: var(--text);
    border-color: var(--border-bright);
}

.filter-chip.active {
    background: var(--orange-glow);
    border-color: rgba(255, 138, 61, 0.4);
    color: var(--orange);
}

.guides-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.guide-row {
    display: grid;
    grid-template-columns: 240px 1fr auto;
    gap: 24px;
    padding: 16px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    align-items: center;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.guide-row:hover {
    background: var(--panel-hover);
    border-color: var(--border-bright);
    transform: translateY(-2px);
}

.guide-row:hover .guide-arrow {
    color: var(--orange);
    transform: translateX(4px);
}

.guide-image {
    width: 100%;
    height: 140px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--panel-elevated);
    border: 1px solid var(--border);
}

.guide-body {
    min-width: 0;
}

.guide-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.guide-category {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cat-beginner { background: rgba(74, 222, 128, 0.1); color: #4ade80; }
.cat-advanced { background: rgba(125, 211, 252, 0.1); color: #7dd3fc; }
.cat-tips { background: var(--orange-glow); color: var(--orange); }
.cat-strategy { background: rgba(196, 181, 253, 0.1); color: #c4b5fd; }

.guide-date {
    font-size: 12px;
    color: var(--text-muted);
}

.guide-body h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.guide-body p {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.55;
}

.guide-arrow {
    color: var(--text-muted);
    font-size: 22px;
    padding-right: 8px;
    transition: color 0.2s, transform 0.2s;
}

.guide-page {
    max-width: 760px;
    margin: 0 auto;
}

.guide-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 28px;
    transition: color 0.15s;
}

.guide-back:hover {
    color: var(--orange);
}

.guide-header {
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.guide-header .guide-meta {
    margin-bottom: 16px;
}

.guide-header h1 {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 12px;
}

.guide-header p {
    color: var(--text-dim);
    font-size: 16px;
}

.guide-cover {
    width: 100%;
    height: 280px;
    border-radius: 14px;
    object-fit: cover;
    margin-bottom: 32px;
    background: var(--panel);
    border: 1px solid var(--border);
}

.guide-content {
    color: var(--text);
    font-size: 16px;
    line-height: 1.7;
}

.guide-content h2 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 32px 0 14px;
}

.guide-content h3 {
    font-size: 19px;
    font-weight: 700;
    margin: 24px 0 10px;
}

.guide-content p {
    color: var(--text-dim);
    margin-bottom: 16px;
}

.guide-content ul, .guide-content ol {
    color: var(--text-dim);
    margin-bottom: 16px;
    padding-left: 22px;
}

.guide-content li {
    margin-bottom: 6px;
}

.guide-content strong {
    color: var(--text);
    font-weight: 600;
}

.guide-content blockquote {
    border-left: 3px solid var(--orange);
    padding: 4px 0 4px 18px;
    margin: 20px 0;
    color: var(--text-dim);
    font-style: italic;
}

@media (max-width: 768px) {
    .guide-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .guide-image {
        height: 180px;
    }

    .guide-arrow {
        display: none;
    }

    .guide-header h1 {
        font-size: 28px;
    }

    .guide-cover {
        height: 200px;
    }
}
.rune-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

.rune-tile {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    cursor: pointer;
    color: var(--text);
    font-family: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
    position: relative;
}

.rune-tile:hover {
    background: var(--panel-hover);
    border-color: var(--border-bright);
    transform: translateY(-3px);
}

.rune-tile-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--panel-elevated);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rune-tile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rune-tile .rune-name {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin-top: 4px;
}

.rune-tile .rune-tag {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 2px 8px;
    background: var(--panel-elevated);
    border: 1px solid var(--border);
    border-radius: 999px;
}

.rune-tile:hover .rune-tag {
    color: var(--orange);
    border-color: rgba(255, 138, 61, 0.3);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background: var(--panel);
    border: 1px solid var(--border-bright);
    border-radius: 16px;
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.2s;
}

.modal-overlay.open .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--panel-elevated);
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 22px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-close:hover {
    background: var(--panel-hover);
    color: var(--orange);
    border-color: rgba(255, 138, 61, 0.3);
}

.modal-header {
    margin-bottom: 24px;
    padding-right: 50px;
}

.modal-header h2 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.sub-rune-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.sub-rune-card {
    background: var(--panel-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: border-color 0.15s, transform 0.15s;
}

.sub-rune-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-2px);
}

.sub-rune-image {
    width: 110px;
    height: 110px;
    border-radius: 14px;
    object-fit: cover;
    background: var(--panel);
    border: 1px solid var(--border);
}


.sub-rune-card h3 {
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.sub-rune-rate {
    font-size: 12px;
    color: var(--orange);
    background: var(--orange-glow);
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 600;
}

.sub-rune-bonuses {
    list-style: none;
    padding: 0;
    width: 100%;
    margin-top: 6px;
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.sub-rune-bonuses li {
    font-size: 12.5px;
    color: var(--text-dim);
    padding: 3px 0;
    text-align: center;
    font-family: 'Consolas', 'Monaco', monospace;
}

.stats-groups {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stats-group {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    transition: border-color 0.15s;
}

.stats-group:hover {
    border-color: var(--border-bright);
}

.stats-group-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stats-row {
    padding: 12px 14px;
    background: var(--panel-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.55;
    transition: background 0.15s, border-color 0.15s;
}

.stats-row:hover {
    background: var(--panel-hover);
    border-color: var(--border-bright);
    color: var(--text);
}

.empty-state {
    padding: 48px 20px;
    text-align: center;
    color: var(--text-muted);
}

.empty-icon {
    font-size: 36px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.empty-state p {
    font-size: 14px;
}

@media (max-width: 768px) {
    .modal {
        padding: 24px 20px;
    }

    .modal-header h2 {
        font-size: 22px;
    }
}