/* Building Material Wala product mini-games — 2026-12-02 */
.bmwg{max-width:760px;margin:10px auto 30px;padding:18px;border:1px solid #e6e9ee;border-radius:14px;background:#fff;box-shadow:0 2px 10px rgba(11,42,74,.06);outline:none}
.bmwg-head{text-align:center;margin-bottom:12px}
.bmwg-kicker{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#0b2a4a;background:#fdf0d5;border-radius:20px;padding:3px 12px}
.bmwg-head h3{margin:8px 0 4px;font-size:22px;color:#0b2a4a}
.bmwg-head p{margin:0 auto;max-width:600px;color:#5b6773;font-size:14px;line-height:1.5}
.bmwg-stage{position:relative;width:100%;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:#f3f6f9;touch-action:none;user-select:none;-webkit-user-select:none}
.bmwg-stage canvas{display:block;width:100%;height:100%}
.bmwg-hud{width:fit-content;max-width:100%;min-height:26px;margin:0 auto 8px;background:#0b2a4a;color:#fff;font-size:13px;font-weight:700;padding:4px 12px;border-radius:14px;white-space:pre-wrap;text-align:center}
.bmwg-hud:empty{visibility:hidden}
.bmwg-ov{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(11,42,74,.55);padding:12px}
.bmwg-card{background:#fff;border-radius:12px;padding:16px 18px;max-width:440px;width:100%;text-align:center;max-height:100%;overflow:auto}
.bmwg-big{font-size:38px;line-height:1}
.bmwg-how{color:#33414e;font-size:14px;line-height:1.5;margin:8px 0 12px}
.bmwg-best{color:#5b6773;font-size:13px;margin:-4px 0 10px}
.bmwg-btn{display:inline-block;border:0;border-radius:24px;padding:10px 20px;margin:4px;background:#f4a51c;color:#0b2a4a !important;font-weight:700;font-size:15px;cursor:pointer;text-decoration:none !important;line-height:1.2}
.bmwg-btn:hover{filter:brightness(.95)}
.bmwg-ghost{background:#eef2f6}
.bmwg-wa{background:#25d366;color:#fff !important}
.bmwg-row{display:flex;flex-wrap:wrap;justify-content:center}
.bmwg-stars{font-size:30px;color:#f4a51c;letter-spacing:4px}.bmwg-stars span{color:#d6dce2}
.bmwg-score{font-size:18px;font-weight:700;color:#0b2a4a;margin:6px 0}
.bmwg-fact{font-size:14px;color:#33414e;line-height:1.5;margin:6px 0 10px;text-align:left;background:#f6f8fa;border-radius:8px;padding:8px 10px}
.bmwg-quiz{text-align:left}
.bmwg-qn{font-size:12px;color:#5b6773;margin:0;text-transform:uppercase;letter-spacing:.06em}
.bmwg-q{font-weight:700;color:#0b2a4a;font-size:15px;margin:6px 0 10px;line-height:1.4}
.bmwg-opt{display:block;width:100%;text-align:left;border:2px solid #e1e6eb;background:#fff;border-radius:8px;padding:8px 12px;margin:6px 0;font-size:14px;color:#0b2a4a;cursor:pointer}
.bmwg-opt:hover:not(:disabled){border-color:#f4a51c}
.bmwg-opt.ok{border-color:#27ae60;background:#e8f7ee}.bmwg-opt.no{border-color:#c0392b;background:#fbeaea}
@media (max-width:520px){.bmwg{padding:10px}.bmwg-head h3{font-size:18px}.bmwg-card{padding:10px 12px}.bmwg-how,.bmwg-fact{font-size:13px}.bmwg-btn{padding:8px 14px;font-size:14px}.bmwg-ov{padding:6px}}
/* product description */
.bmw-desc h3{font-size:19px;margin:22px 0 8px;color:#0b2a4a}
.bmw-desc .bmw-spec{border-collapse:collapse;width:100%;max-width:640px;margin:8px 0 14px}
.bmw-desc .bmw-spec th,.bmw-desc .bmw-spec td{border:1px solid #e6e9ee;padding:7px 10px;text-align:left;vertical-align:top;font-size:14px}
.bmw-desc .bmw-spec th{background:#f6f8fa;width:34%;color:#0b2a4a}
.bmw-desc details{border:1px solid #e6e9ee;border-radius:8px;padding:8px 12px;margin:6px 0}
.bmw-desc summary{font-weight:700;cursor:pointer;color:#0b2a4a}
.bmw-desc .bmw-note{font-size:13px;color:#5b6773}

/* beat theme button styles */
.bmwg .bmwg-btn{background:#f4a51c !important;color:#0b2a4a !important;text-transform:none !important;border-radius:24px !important;min-height:0;box-shadow:none}
.bmwg .bmwg-ghost{background:#eef2f6 !important}
.bmwg .bmwg-wa{background:#25d366 !important;color:#fff !important}
.bmwg .bmwg-opt{background:#fff !important;color:#0b2a4a !important;text-transform:none !important;font-weight:400;border-radius:8px !important;min-height:0;height:auto;line-height:1.4;white-space:normal;box-shadow:none}
.bmwg .bmwg-opt.ok{background:#e8f7ee !important}.bmwg .bmwg-opt.no{background:#fbeaea !important}
/* phones: overlay flows under the canvas instead of covering a tiny stage */
@media (max-width:600px){
.bmwg-stage{aspect-ratio:auto;overflow:visible;background:none}
.bmwg-stage canvas{height:auto;aspect-ratio:16/9;border-radius:10px;background:#f3f6f9}
.bmwg-ov{position:static;background:none;padding:10px 0 0}
.bmwg-card{border:1px solid #e6e9ee;max-width:none}
}
