/* game-guide.css — styling for the "how to play" section on the arcade games.
 *
 * The guides use the same class names as the tools site (.smo-guide, .smo-faq) so the
 * two read as one product, but the tools stylesheet cannot simply be reused: it is
 * written for a light page and resolves everything through --smo-* custom properties
 * that do not exist here. These rules are the same structure, re-grounded on the dark
 * arcade palette (#0a0a0f body, Outfit headings) that the ninety-nine self-contained
 * games already share.
 *
 * Ninety-nine of the hundred games carry every style inline and load no external
 * stylesheet at all, which is why this arrives as its own file and a single <link>
 * rather than as an addition to something they already pull in.
 */

.smo-guide {
    max-width: 760px;
    margin: 40px auto 56px;
    padding: 28px 22px 24px;
    line-height: 1.7;
    font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 15px;
    color: #b8c2d0;

    /* A card, so the guide reads as reference material sitting below the game rather
       than as more of the game. */
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
}

.smo-guide h2 {
    margin: 30px 0 10px;
    font-size: 1.15rem;
    font-weight: 650;
    color: #e8eef5;
    letter-spacing: -0.01em;
}

.smo-guide h2:first-child {
    margin-top: 0;
}

.smo-guide h3 {
    margin: 20px 0 6px;
    font-size: 1rem;
    font-weight: 600;
    color: #dbe4ee;
}

.smo-guide p {
    margin: 0 0 12px;
}

.smo-guide ul,
.smo-guide ol {
    margin: 0 0 14px;
    padding-left: 20px;
}

.smo-guide li {
    margin: 0 0 7px;
}

/* The control names, which are the thing a player scans for. */
.smo-guide strong {
    color: #e8eef5;
    font-weight: 600;
}

.smo-guide code,
.smo-guide kbd {
    font-family: ui-monospace, 'SF Mono', Consolas, monospace;
    font-size: 0.9em;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 5px;
    padding: 1px 6px;
    color: #e8eef5;
}

.smo-guide .smo-note {
    margin: 14px 0;
    padding: 12px 14px;
    background: rgba(96, 165, 250, 0.07);
    border-left: 3px solid rgba(96, 165, 250, 0.55);
    border-radius: 0 8px 8px 0;
}

/* The FAQ is a list of questions, so the questions carry the weight and the answers
   sit quieter underneath. */
.smo-faq h3 {
    margin-top: 20px;
    color: #e8eef5;
}

.smo-faq h3:first-child {
    margin-top: 4px;
}

.smo-faq p {
    margin: 0 0 4px;
    color: #a9b4c2;
}

.smo-guide a {
    color: #60a5fa;
}

@media (max-width: 560px) {
    .smo-guide {
        margin: 28px 12px 40px;
        padding: 22px 18px 20px;
        font-size: 14.5px;
        border-radius: 12px;
    }

    .smo-guide h2 {
        font-size: 1.08rem;
    }
}

/* 82-cookie-clicker sets `display:flex` on <body> with the default row direction, so
   the guide became a flex sibling of the game panels and was squeezed to 120px wide
   and 2986px tall. Every other game uses column. Claiming the full row drops it below
   the game wherever a page does this, and changes nothing on the other ninety-nine. */
.smo-guide {
    flex: 1 0 100%;
    align-self: stretch;
}

/* Legal strip under the guide. The hundred arcade pages never load layout.js, so
   the shared footer never appears on them; this is the Privacy / Terms disclosure
   in its place. Same palette as the guide card, quieter. */
.smo-legal {
    max-width: 760px;
    margin: -24px auto 40px;
    padding: 0 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    justify-content: center;
    font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 13px;
    color: #6b7686;
}

.smo-legal a {
    color: #8b97a8;
    text-decoration: none;
}

.smo-legal a:hover,
.smo-legal a:focus-visible {
    color: #e8eef5;
    text-decoration: underline;
}
