/* sudoku game page: carried over from template-sudoku.php's inline <style> (2026-11-09, block pages). Loaded in the head on a page with this game's block. */
.single-game-page {
    padding: 2rem 0 4rem;
}

.game-breadcrumb {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.game-breadcrumb a {
    color: var(--theme-primary-color);
    text-decoration: none;
}

.game-breadcrumb a:hover {
    text-decoration: underline;
}

.game-breadcrumb .separator {
    margin: 0 0.5rem;
    color: #999;
}

.game-breadcrumb .current {
    color: var(--text-color);
}

.single-game-page .wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: start;
}

.game-breadcrumb {
    grid-column: 1 / -1;
}

.game-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.game-info-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .game-info-card {
    background: #1e1e1e;
}

.game-info-card h3 {
    font-size: 1.1rem;
    margin: 0 0 1rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.game-info-card ul {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
    color: #666;
}

[data-theme="dark"] .game-info-card ul {
    color: #999;
}

.game-info-card li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.game-info-card li:last-child {
    margin-bottom: 0;
}

.game-tip {
    margin: 0;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 6px;
    font-size: 0.9rem;
    color: #666;
}

[data-theme="dark"] .game-tip {
    background: rgba(255, 255, 255, 0.05);
    color: #999;
}

.difficulty-info {
    margin: 0;
}

.difficulty-info dt {
    font-weight: 600;
    color: var(--theme-primary-color);
    margin-top: 0.75rem;
}

.difficulty-info dt:first-child {
    margin-top: 0;
}

.difficulty-info dd {
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
    color: #666;
}

[data-theme="dark"] .difficulty-info dd {
    color: #999;
}

@media (max-width: 992px) {
    .single-game-page .wrapper {
        grid-template-columns: 1fr;
    }

    .game-sidebar {
        order: 1;
    }

    .game-page-content {
        order: 0;
    }
}
