/* ============================================================================
   makers-wall.css  —  🛠️ The Maker's Wall engine styling (.mw-*)
   A warm workshop pegboard of hobby tools; a spotlight sweeps and lands on one,
   which lifts off its hook and glows, then plays its own end effect. Self-contained.
   ============================================================================ */
.mw-stage { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 22px 55px -20px rgba(60, 40, 20, .5); line-height: 0; }
.mw-scene { display: block; width: 100%; height: auto; }

.mw-tool { transition: opacity .18s ease; }
.mw-emoji { user-select: none; }
.mw-lift { transition: transform .3s cubic-bezier(.2, .8, .3, 1.2); }
/* the chosen tool keeps celebrating — a gentle continuous bob + a breathing glow —
   so it stays obviously "the one" after the effect burst, not just spotlit. */
.mw-tool.mw-chosen .mw-lift { animation: mwBob 1.2s ease-in-out infinite; }
@keyframes mwBob { 0%, 100% { transform: translateY(-8px) scale(1.08); } 50% { transform: translateY(-18px) scale(1.17); } }
.mw-glow { opacity: 0; transition: opacity .3s ease; }
.mw-tool.mw-chosen .mw-glow { opacity: 1; animation: mwGlowPulse 1.2s ease-in-out infinite; }
@keyframes mwGlowPulse { 0%, 100% { opacity: .68; transform: scale(1); } 50% { opacity: 1; transform: scale(1.18); } }
.mw-spot { transition: opacity .28s ease; }

/* cue chip */
.mw-cue { position: absolute; top: 4.5%; left: 50%; transform: translateX(-50%); z-index: 4; font-size: 12px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; color: #4a3116; background: rgba(255, 244, 216, .82); padding: 5px 16px; border-radius: 20px; line-height: 1.2; transition: opacity .3s ease; }
.mw-cue.mw-done { background: rgba(255, 244, 216, .95); color: #7a4a12; }
.mw-stage.mw-done .mw-cue { opacity: 0; }

/* pick button + knob + effects */
.mw-pickbtn-wrap { text-align: center; }
.mw-pickbtn-main {
    display: inline-flex; align-items: center; gap: 8px; margin: 16px auto 0; font-size: 15px; font-weight: 800; color: #3a2410;
    padding: 12px 32px; border-radius: 24px; border: 0; cursor: pointer; letter-spacing: .4px;
    background: linear-gradient(135deg, var(--mw-grad-a, #f0c069), var(--mw-grad-b, #d98a2b)); box-shadow: 0 8px 22px -6px rgba(180, 130, 50, .6);
}
.mw-effects { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: 13px; color: var(--theme-text, #1a1a2e); }
.mw-effects label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.mw-items-ta { width: 100%; min-height: 240px; font-family: monospace; font-size: .9rem; line-height: 1.5; border-radius: 10px; border: 1px solid var(--theme-border, #d7dbe0); background: var(--theme-bg, #fff); color: var(--theme-text, #1a1a2e); padding: 10px 12px; resize: vertical; }
.mw-items-ta:focus { outline: 2px solid var(--mw-accent, #d98a2b); outline-offset: 1px; border-color: transparent; }

.page-mw-scope {
    --wsp-result-accent: #b5771e;
    --wsp-result-grad: linear-gradient(135deg, #f0c069, #d98a2b);
    --wsp-result-plate: rgba(181, 119, 30, .12);
}

/* ── SEO content (.mw-content) — type scale from .content-guide; colour only ── */
.mw-content { color: var(--theme-text, #1a1a2e); background: var(--theme-bg, #fff); padding: 3.25rem 0 3.5rem; margin-top: 1rem; border-top: 1px solid var(--theme-border, #e9ecef); }
.mw-inner { max-width: 860px; margin: 0 auto; padding: 0 1rem; }
.mw-content h2, .mw-content h3 { color: var(--theme-text, #1a1a2e); }
.mw-content p, .mw-content li { color: var(--theme-muted, #5b6470); }
.mw-content strong { color: var(--theme-text, #1a1a2e); }
.mw-content a { color: #b5771e; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.mw-kicker-chip { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #3a2410; background: linear-gradient(135deg, #f0c069, #d98a2b); border-radius: 999px; padding: .3rem .85rem; margin-bottom: .95rem; }
.mw-content .mw-lead { font-size: 1.2rem; line-height: 1.7; color: var(--theme-text, #1a1a2e); margin-bottom: 1.25rem; }
.mw-section { margin-top: 2.9rem; }
.mw-content .table { font-size: 1rem; }
.mw-content .table thead th { text-transform: uppercase; letter-spacing: .05em; font-size: .74rem; font-weight: 800; color: #fff; background: #b5771e; padding: .7rem 1rem; }
.mw-content .table tbody td { padding: .6rem 1rem; border-bottom: 1px solid var(--theme-border, #e9ecef); vertical-align: top; }
.mw-content .table tbody td:first-child { font-weight: 700; color: var(--theme-text, #1a1a2e); white-space: nowrap; }
.mw-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.mw-pair-card { background: var(--theme-surface, #f8f9fa); border: 1px solid var(--theme-border, #e9ecef); border-radius: 12px; padding: 1rem 1.1rem; border-top: 3px solid #d98a2b; }
.mw-pair-card h3 { margin-top: 0 !important; font-size: 1.02rem !important; } .mw-pair-card p:last-child { margin-bottom: 0; font-size: .92rem; }
.mw-faq { margin-top: 1.4rem; }
.mw-faq .accordion-item { background: transparent; border: 0; border-bottom: 1px solid var(--theme-border, #e9ecef); }
.mw-faq .accordion-button { background: transparent; color: var(--theme-text, #1a1a2e); font-weight: 600; padding-left: 0; padding-right: 2.5rem; box-shadow: none; }
.mw-faq .accordion-button:not(.collapsed) { color: #b5771e; background: transparent; }
.mw-faq .accordion-button:focus { box-shadow: none; }
.mw-faq .accordion-body { padding-left: 0; color: var(--theme-muted, #5b6470); }
@media (max-width: 767.98px) { .mw-pair { grid-template-columns: 1fr; } }
body[data-theme="high-contrast"] .mw-content p, body[data-theme="high-contrast"] .mw-content li, body[data-theme="high-contrast"] .mw-content .mw-lead { color: rgba(255,255,255,.84); }
body[data-theme="high-contrast"] .mw-content h2, body[data-theme="high-contrast"] .mw-content h3 { color: #fff; }
