.decks-page {
    padding-top: 10px;
}

.decks-intro h1 {
    margin: 0 0 8px;
}

.decks-intro p {
    max-width: 75ch;
    opacity: 0.9;
    margin: 0 0 18px;
}

/* Format blocks */
.format-block {
    margin: 26px 0 34px;
}

.format-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 14px;
}

.format-sub {
    font-size: 0.85em;
    opacity: 0.85;
    font-weight: 600;
}

.format-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
}

.format-logo {
    height: 2.2rem;
    width: auto;
    object-fit: contain;
    display: block;
}

.format-title {
    margin: 0;
    margin-left: auto;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.decks-panel {
    border-radius: 16px;
    padding: 18px;
}

/* Titles centered */
.group-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 14px 0 12px;
    text-align: center;
}

/* Deck grid */
.deck-grid {
    display: grid;
    grid-template-columns: repeat(3, 280px);
    justify-content: center;
    gap: 18px;
    margin: 0 auto 10px;
}

/* Deck card */
.deck-card {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid #ffffff14;
    background: #0a0c16ea;
}

.deck-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

/* Deck name centered */
.deck-name {
    display: block;
    padding: 10px 12px;
    font-weight: 700;
    opacity: 0.95;
    text-align: center;
}

/* Meta link INSIDE the panel */
.meta-link {
    display: inline-block;
    margin-top: 8px;
    text-decoration: underline;
    font-weight: 700;
    color: #e87100;
}

/* Center link */
.decks-panel .meta-link {
    display: block;
    text-align: center;
}