/* 월별 액티비티 팩 페이지 */
.mb-page { max-width: 1040px; margin: 2rem auto 3rem; padding: 0 1.25rem; color: #333; }
.mb-page h1 { text-align: center; font-size: 2.2rem; margin: 0 0 .5rem; }
.mb-pro { display: inline-block; vertical-align: middle; margin-left: .4rem; padding: .15rem .65rem; border-radius: 999px; background: #FFD700; color: #333; font-size: .9rem; font-weight: 800; letter-spacing: .04em; }
.mb-lead { text-align: center; color: #666; margin: 0 0 2rem; line-height: 1.6; }
.mb-step { background: #fff; border: 1px solid #eee; border-radius: 18px; box-shadow: 0 4px 18px rgba(0,0,0,.05); padding: 1.3rem 1.4rem; margin-bottom: 1.2rem; }
.mb-step h2 { font-size: 1.15rem; margin: 0 0 1rem; display: flex; align-items: center; gap: .6rem; }
.mb-step .no { display: inline-flex; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: #FFD700; color: #333; font-weight: 800; align-items: center; justify-content: center; font-size: .95rem; }
.mb-year { margin-bottom: .9rem; }
.mb-year select { margin-left: .4rem; padding: .35rem .7rem; border: 2px solid #eee; border-radius: 10px; font: inherit; }
.mb-months { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .7rem; }
.mb-month { display: flex; flex-direction: column; gap: .15rem; align-items: center; padding: .8rem .5rem; border: 2px solid #eee; border-radius: 14px; background: #fff; cursor: pointer; font: inherit; color: #333; transition: border-color .15s, background .15s; }
.mb-month b { font-size: 1.1rem; }
.mb-month small { color: #8a6d00; font-size: .82rem; }
.mb-month:hover { border-color: #FFD700; }
.mb-month.on { border-color: #FFD700; background: #FFF9E6; box-shadow: 0 0 0 3px rgba(255,215,0,.25); }
.mb-opts { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.mb-opts label { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; }
.mb-make-wrap { text-align: center; margin: 1.6rem 0 2rem; }
.mb-make { background: #FFD700; color: #333; border: 0; border-radius: 999px; padding: .95rem 2.6rem; font: inherit; font-size: 1.15rem; font-weight: 800; cursor: pointer; box-shadow: 0 6px 16px rgba(255,215,0,.45); }
.mb-make:hover { filter: brightness(.97); }
.mb-rhead h2 { font-size: 1.4rem; margin: 0 0 1rem; }
.mb-rhead h2 span { font-weight: 500; font-size: 1rem; color: #777; }
.mb-actions { display: flex; justify-content: center; margin: 1rem 0; }
.mb-actions .cr-btn { min-width: 260px; padding: .85rem 1.2rem; font-size: 1.05rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.mb-pronote { text-align: center; color: #8a6d00; background: #FFF9E6; border-radius: 12px; padding: .6rem 1rem; margin: 0 auto 1rem; max-width: 560px; font-size: .92rem; }
.mb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.mb-card { border: 1px solid #e8e8e8; border-radius: 12px; background: #fff; padding: .5rem; cursor: pointer; font: inherit; color: #555; display: flex; flex-direction: column; gap: .35rem; align-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.mb-card:hover { border-color: #FFD700; box-shadow: 0 4px 14px rgba(255,215,0,.35); }
.mb-thumb { width: 100%; pointer-events: none; }
.mb-thumb > svg, .mb-modal-body > svg { display: block; width: 100%; height: auto; }
.mb-thumb.mb-html { overflow: hidden; position: relative; aspect-ratio: 210 / 297; }
.mb-thumb.mb-html .bd-sheet { position: absolute; left: 0; top: 0; }
.mb-cvsheet { padding: 0 !important; }
.mb-cvsheet > svg { display: block; width: 100%; height: 100%; }
.mb-mathonly[hidden] { display: none; }
.mb-math .mb-month small { display: none; }
.bd-sheet .mb-hsticker { position: absolute; left: 20mm; right: 20mm; bottom: 20mm; display: flex; justify-content: space-between; align-items: center; font-size: 9pt; color: #777; }
.bd-sheet .mb-hsticker i { font-style: normal; display: inline-flex; width: 18mm; height: 18mm; border: 1.5px dashed #e0b400; border-radius: 50%; align-items: center; justify-content: center; color: #c79a00; font-weight: 700; font-size: 8pt; }
.mb-card span { font-size: .85rem; font-weight: 600; }
.mb-how, .mb-faq { margin-top: 2.4rem; }
.mb-how h2, .mb-faq h2 { font-size: 1.3rem; border-bottom: 2px solid #FFD700; padding-bottom: .4rem; margin: 0 0 1rem; }
.mb-how ol { padding-left: 1.3rem; line-height: 1.9; }
.mb-faq details { border-bottom: 1px solid #eee; padding: .7rem 0; }
.mb-faq summary { cursor: pointer; font-weight: 700; }
.mb-faq p { margin: .5rem 0 0; color: #555; line-height: 1.7; }
.mb-modal { position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,.72); display: flex; align-items: center; justify-content: center; padding: 1rem 4rem; }
.mb-modal[hidden] { display: none; }
.mb-modal-body { background: #fff; max-height: 100%; width: min(560px, 100%); overflow: auto; border-radius: 6px; box-shadow: 0 14px 44px rgba(0,0,0,.4); }
.mb-modal-cap { margin: 0; padding: .5rem; text-align: center; font-weight: 700; background: #FFF9E6; }
.mb-x { position: absolute; top: .8rem; right: 1.2rem; background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; }
.mb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.9); border: 0; border-radius: 50%; width: 2.8rem; height: 2.8rem; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.mb-nav-l { left: .8rem; } .mb-nav-r { right: .8rem; }
@media (max-width: 600px) { .mb-page h1 { font-size: 1.7rem; } .mb-modal { padding: 1rem .5rem; } .mb-nav { display: none; } }
@media print { .mb-page { display: none !important; } }

.mb-tabs { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; margin: 0 0 1.4rem; }
.mb-tab { border: 2px solid #eee; background: #fff; color: #444; border-radius: 999px; padding: .6rem 1.4rem; font: inherit; font-weight: 700; cursor: pointer; }
.mb-tab.on { background: #FFD700; border-color: #FFD700; color: #333; }
.mb-tab:disabled { color: #aaa; background: #fafafa; cursor: not-allowed; }
.mb-tab small { font-weight: 600; font-size: .72rem; color: #b08a00; background: #FFF9E6; border-radius: 999px; padding: .08rem .45rem; margin-left: .25rem; }
#puzzle-preview.bd-root { display: block !important; width: 100%; }
#puzzle-preview .mb-grid { width: 100%; }
.bd-sheet .mb-hsticker { bottom: auto; top: 49mm; }
.bd-sheet .mb-hsticker i { width: 13mm; height: 13mm; font-size: 6.5pt; }
