/* C128 beginner guide, consistent with mountain palette. */
.pm128-guide{padding:14px 12px 20px;color:#1e4935}
.pm128-guide h2{font-size:22px;margin:0 0 8px}
.pm128-guide>p{line-height:1.45;margin:0 0 12px}
.pm128-guide-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:10px}
.pm128-guide-card{background:#f7faf5;border:1px solid #d8e5d9;border-radius:16px;padding:13px}
.pm128-guide-card h3{font-size:16px;margin:0 0 7px;word-break:keep-all;hyphens:none}
.pm128-guide-card p{font-size:14px;line-height:1.4;margin:0 0 10px}
.pm128-guide-link{min-height:42px;border:0;border-radius:11px;background:#23583e;color:#fff;font-weight:700;padding:8px 14px;white-space:nowrap}

/* Single compact menu: cards open explanations inside the guide. */
.pm128-guide [hidden]{display:none!important}
.pm128-guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pm128-guide-topic{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;min-height:94px;border:1px solid #d8e5d9;border-radius:15px;background:#f7faf5;color:#1e4935;padding:10px 6px;text-align:center}
.pm128-guide-topic span:first-child{font-size:25px}
.pm128-guide-topic strong{font-size:clamp(11px,3.1vw,15px);line-height:1.25;word-break:keep-all;hyphens:none}
.pm128-guide-topic span:last-child{display:none}
.pm128-guide-detail{max-width:640px}
.pm128-guide-detail p{font-size:15px;line-height:1.5}
.pm128-guide-back{background:#23583e;color:#fff;border:0;border-radius:10px;padding:11px 14px;min-height:44px;margin-bottom:14px;white-space:nowrap}
