/* ===== Player guides (/guides) ===== */
.guide-meta {
    margin-top: 0.8rem;
    color: var(--p-muted);
    font-size: 0.9rem;
}

.guide-body {
    color: var(--p-text);
    font-size: 1.02rem;
    line-height: 1.75;
}

.guide-body > * + * {
    margin-top: 1rem;
}

.guide-body h2 {
    margin-top: 2.4rem;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.2rem, 2.6vw, 1.5rem);
    line-height: 1.3;
    text-wrap: balance;
}

.guide-body h3 {
    margin-top: 1.6rem;
    color: #fff;
    font: 600 1.08rem 'Rubik', sans-serif;
}

.guide-body p,
.guide-body li {
    color: #c3cbe6;
}

.guide-body ol,
.guide-body ul {
    display: grid;
    gap: 0.5rem;
    padding-left: 1.3rem;
}

.guide-body b,
.guide-body strong {
    color: #fff;
}

.guide-body a {
    color: #9cc8ff;
}

.guide-body code {
    padding: 0.1rem 0.4rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    font: 600 0.92em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* Short answer at the top of a guide */
.guide-tldr {
    padding: 1.1rem 1.3rem;
    border-radius: 14px;
    border: 1px solid rgba(124, 184, 255, 0.3);
    background: rgba(47, 111, 214, 0.1);
}

.guide-tldr strong {
    display: block;
    margin-bottom: 0.3rem;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
}

.guide-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.guide-table th,
.guide-table td {
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--p-line);
    text-align: left;
    vertical-align: top;
}

.guide-table th {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.guide-table td:first-child {
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
}

.guide-next {
    margin-top: 2.6rem !important;
    padding-top: 1.4rem;
    border-top: 1px solid var(--p-line);
}

/* Guide index cards (also used on the support page) */
.guide-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.guide-card-link {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1.3rem;
    border-radius: 16px;
    border: 1px solid var(--p-line);
    background: var(--p-card);
    color: var(--p-text);
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease;
}

.guide-card-link:hover {
    transform: translateY(-3px);
    border-color: rgba(124, 184, 255, 0.5);
}

.guide-card-link img {
    width: 32px;
    height: 32px;
    image-rendering: pixelated;
}

.guide-card-link h3 {
    color: #fff;
    font: 600 1.05rem 'Rubik', sans-serif;
}

.guide-card-link p {
    color: var(--p-muted);
    font-size: 0.93rem;
    line-height: 1.5;
}

.guide-card-link span {
    margin-top: auto;
    color: #9cc8ff;
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 860px) {
    .guide-cards {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .guide-table {
        display: block;
        overflow-x: auto;
    }
}
