/* M29: extend the approved magazine B identity; never change game board coordinates. */
@font-face{font-family:'Pretendard Variable';src:url('assets/fonts/PretendardVariable.woff2') format('woff2');font-weight:100 900;font-display:swap}
body.theme-m29{--paper:#fff;--bg:#fff;--ink:#101a36;--read-ink:#101a36;--read-copy:#202a3b;--muted:#515d71;--green:#104cda;--read-action:#104cda;--orange:#a33b14;--line:#d9e2f2;--read-line:#d9e2f2;--brand-cream:#f3f7ff;--brand-sage:#eef7fa;--brand-peach:#fff1e2;--page-tone:#104cda;--page-tint:#eef4ff;background:#fff;color:#202a3b}
body.theme-m29:is(.page-hobbies,.page-knitting,.page-plants,.page-pets){--page-tone:#006b70;--page-tint:#e9f8f5}
body.theme-m29:is(.page-games,.page-fortune,.page-webtoon){--page-tone:#a2246b;--page-tint:#fff0f7}
body.theme-m29:is(.page-discounts,.page-market,.page-housing,.page-neighborhood-watch){--page-tone:#a33b14;--page-tint:#fff2e4}
.theme-m29 :is(h1,h2,h3,h4){font-family:'Pretendard Variable','Apple SD Gothic Neo','Malgun Gothic',sans-serif;font-weight:850;letter-spacing:-.035em;color:#101a36}
.theme-m29 .eyebrow,.theme-m29 .kicker{color:var(--page-tone);letter-spacing:.015em;font-weight:800}
.theme-m29 main .block{padding-block:48px}.theme-m29 main h1{font-size:clamp(1.8rem,4vw,2.6rem);line-height:1.25}
.theme-m29 .site-header nav a[aria-current=page]{color:#104cda;background:#edf3ff}
.theme-m29 .utility-note{display:none}.theme-m29 .site-header .site-utilities{background:white}
.theme-m29 main :is(.outline,.board-guide){color:#104cda;border-color:#104cda;background:white}
.theme-m29 main :is(.primary,.feedback-invitation a){background:#104cda;color:#fff;border-color:#104cda}
.theme-m29 main a:focus-visible,.theme-m29 main button:focus-visible,.theme-m29 :is(input,textarea,select,summary):focus-visible{outline:4px solid #bd4a14;outline-offset:4px}
/* Separate information levels with white space and an unmistakable category edge. */
.theme-m29 :is(.episode-card,.resource-card,.phone-help-card,.district-tile,.report-notice,.request-layout,.hunter-form-wrap,.hobby-three>div,.hp-card){border:1px solid #d6e0ef;border-top:5px solid var(--page-tone);border-radius:16px;background:#fff;box-shadow:0 6px 22px #101a3607}
.theme-m29 :is(.request-layout,.hunter-form-wrap,.report-notice){padding:32px}
.theme-m29 main :is(.community-hero,.hobby-hero,.resource-hero,.ride-hero,.setup-hero,.install-intro,.housing-intro,.voting-intro,.field-intro,.hunter-intro,.life-intro){border-bottom:2px solid #dce5f5;background:#fff}
.theme-m29 .board-intro{background:#f0f5ff;border-radius:20px;padding:36px;grid-template-columns:minmax(0,1fr) 230px;gap:32px;margin-bottom:32px}
.theme-m29 .board-intro img{height:auto;max-height:330px;width:100%;object-fit:contain}.theme-m29 .board-intro h1{color:#104cda}
.theme-m29 .board-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.theme-m29 .tone-blue{--tone:#104cda;--tint:#eef4ff}.theme-m29 .tone-teal{--tone:#006b70;--tint:#e9f8f5}.theme-m29 .tone-orange{--tone:#a33b14;--tint:#fff2e4}.theme-m29 .tone-pink{--tone:#a2246b;--tint:#fff0f7}
.theme-m29 .board-card{border:1px solid #dae2f1;border-top:5px solid var(--tone);border-radius:16px;background:#fff;padding:28px;min-width:0;display:block}
.theme-m29 .board-topic-picture{border-radius:12px;background:var(--tint);margin-bottom:24px;padding:14px;display:flex;align-items:center;justify-content:center}
.theme-m29 .board-topic-picture img{display:block;width:100%;height:190px!important;object-fit:contain!important;max-height:none}
.theme-m29 .board-card .board-meta{color:var(--tone);font-weight:800}.theme-m29 .board-card h3{font-size:1.35rem!important;line-height:1.4}.theme-m29 .board-card .remember{background:var(--tint);border:0;border-left:4px solid var(--tone);border-radius:0 10px 10px 0;margin-block:24px;padding:20px}
.theme-m29 .board-filters{gap:12px;display:flex;flex-wrap:wrap;padding:24px 0;border-block:1px solid #dae2f1;margin-bottom:26px}.theme-m29 .board-filters button{font:inherit;min-height:58px;padding:12px 20px;border:1px solid #8496b5;border-radius:12px;background:#fff;color:#233956;white-space:normal;max-width:100%}.theme-m29 .board-filters button[aria-pressed=true]{background:#104cda;border-color:#104cda;color:white}
.theme-m29 .hobby-cards>a{border-top:5px solid #006b70;background:#fff;border-color:#c6e3de;border-top-color:#006b70;box-shadow:0 6px 22px #101a3607}.theme-m29 .hobby-cards>a:first-child{border-top-color:#a2246b}.theme-m29 .hobby-cards strong{color:#101a36}
.theme-m29 :is(.craft-controls,.plant-controls,.hp-topic-nav,.hobby-switch,.plant-lesson-choices) :is(button,a)[aria-pressed=true]{background:#006b70;color:#fff;border-color:#006b70}
.theme-m29 .hobby-step,.theme-m29 .plant-step{border-color:#c8e2dd}.theme-m29 :is(.craft-now,.plant-now){background:#eef8f6;border-color:#006b70}
.theme-m29.page-games .welcome{background:#fff0f7;border:0;border-radius:20px;padding:36px;gap:30px}.theme-m29.page-games .welcome h1{color:#a2246b}.theme-m29.page-games :is(.table-game-choices,.new-game-choices){border-top:3px solid #a2246b;padding-top:36px;margin-top:40px}
.theme-m29.page-games main>.more{background:#f0f5ff;border-color:#d4e0f7;padding:32px;margin-block:28px}.theme-m29.page-games main>.more+section.more{background:#fff0f7;border-color:#edcade}
.theme-m29.page-games .game-heading{border-color:#104cda}.theme-m29.page-games #exit-game,.theme-m29.page-games #game-help-button{border-color:#104cda;color:#104cda;background:#fff}
.theme-m29 :is(.page-context,.after-info,.after-story){background:#f3f7ff;border-color:#d5e1f8}
.theme-m29 .comic-home-link{background:#104cda!important;border-color:#104cda!important;color:#fff!important}
.theme-m29 .comic-home-bar{border-color:#c8d8fa;background:#f0f5ff}
.theme-m29 :is(.site-footer,.footer-access){background:#f4f7ff;border-color:#d7e2fa}.theme-m29 .site-footer :is(a,h2){color:#164593}
/* Picture-first meal invitations on home, news, updates and hobbies. */
.theme-m29 .meal-entry-m29{display:grid;grid-template-columns:200px minmax(0,1fr) auto;gap:28px;align-items:center;background:#fff6eb;border-left-color:#a33b14}
.theme-m29 .meal-entry-picture{display:block;width:100%;height:auto!important;object-fit:contain!important;border-radius:12px}
/* Independent comic readers inherit the same brand without changing panel art or lettering. */
body.theme-reader-m29{margin:0;background:#fff;color:#202a3b;font:24px/1.75 'Pretendard Variable',system-ui,sans-serif;overflow-wrap:anywhere}
.theme-reader-m29 *{box-sizing:border-box}.theme-reader-m29 :is(h1,h2,h3){color:#101a36;font-weight:850;line-height:1.35;letter-spacing:-.025em}.theme-reader-m29 main{max-width:900px;margin:auto;padding:28px}.theme-reader-m29 header{border-color:#c9d9fa}.theme-reader-m29 article{background:#fff!important;border:1px solid #d6e0f0;border-top:4px solid #104cda;border-radius:16px;box-shadow:none}.theme-reader-m29 :is(button,select){background:#fff;color:#164593;border:2px solid #8298bd;min-height:56px;white-space:normal;max-width:100%;font:inherit}.theme-reader-m29 a{color:#104cda}.theme-reader-m29 :is(a,button,summary,select):focus-visible{outline:4px solid #b74b18;outline-offset:4px}.theme-reader-m29 article .count,.theme-reader-m29 article .who{color:#515d71}.theme-reader-m29 .comic-home-link{background:#104cda!important;color:white!important;border-color:#104cda!important}.theme-reader-m29 :is(header,footer,nav){min-width:0}
.theme-reader-m29.contrast{color:#111;background:#fff}.theme-reader-m29.contrast :is(a,h1,h2,h3,button,select){color:#111}.theme-reader-m29.contrast article{border-color:#111}.theme-404 main{padding-block:60px}.theme-404 section{border-top:2px solid #dce5f5;margin-top:44px;padding-top:24px}.theme-404 .error-home{display:inline-flex;padding:16px 24px;min-height:64px;border-radius:12px;background:#104cda;color:white;text-decoration:none;font-weight:800}
@media(max-width:1120px){.theme-m29 .meal-entry-m29{grid-template-columns:180px minmax(0,1fr)}.theme-m29 .meal-entry-m29>a{grid-column:1/-1}}
@media(max-width:760px){.theme-m29 main .block{padding-block:32px}.theme-m29 main h1{font-size:1.8rem}.theme-m29 .board-intro{display:flex;flex-direction:column;align-items:flex-start;padding:24px;gap:20px}.theme-m29 .board-intro img{display:block;width:140px;max-height:190px;align-self:flex-end}.theme-m29 .board-grid{grid-template-columns:1fr;gap:28px}.theme-m29 .board-card{padding:22px}.theme-m29 .board-topic-picture img{height:170px!important}.theme-m29 .board-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.theme-m29 .board-filters button{padding:12px 8px;overflow-wrap:anywhere}.theme-m29 :is(.request-layout,.hunter-form-wrap,.report-notice){padding:22px}.theme-m29.page-games .welcome{padding:26px 22px}.theme-m29 .meal-entry-m29{grid-template-columns:1fr;padding:22px!important;gap:20px}.theme-m29 .meal-entry-picture{max-height:240px;max-width:100%;justify-self:center}.theme-reader-m29 main{padding:18px}.theme-reader-m29 nav{gap:12px}.theme-reader-m29 header nav label{width:100%}}
.theme-m29.reading-largest .board-grid{grid-template-columns:1fr}.theme-m29.reading-largest .meal-entry-m29{grid-template-columns:1fr}.theme-m29.reading-largest .meal-entry-picture{max-width:400px}.theme-m29.reading-largest .board-filters{grid-template-columns:1fr}
/* Explicit contrast mode; text on selected dark controls stays white. */
body.theme-m29.high-contrast{--page-tone:#111;--page-tint:#fff;--tone:#111;--tint:#fff;--ink:#111;--read-ink:#111;--read-copy:#111;--green:#111;background:#fff!important;color:#111!important}
.theme-m29.high-contrast :is(h1,h2,h3,h4,p,summary,label,small,strong){color:#111!important}.theme-m29.high-contrast :is(.board-intro,.board-card,.board-topic-picture,.remember,.welcome,.meal-entry-m29,.site-footer,.report-notice,.request-layout){background:#fff!important;border-color:#111!important}
.theme-m29.high-contrast main :is(a.solid,button.solid,.primary,button[aria-pressed=true],.error-home){background:#111!important;border-color:#111!important;color:#fff!important}.theme-m29.high-contrast main :is(a.solid,button.solid,.primary,button[aria-pressed=true]) :is(span,strong,small){color:#fff!important}.theme-m29.high-contrast .comic-home-link :is(span,svg){color:#fff!important}
@media(max-width:760px){body.theme-m29.reading-largest main h1{font-size:1.45rem!important;line-height:1.32!important}.theme-m29.reading-largest .board-intro{padding:20px}.theme-m29.reading-largest .board-intro>div{width:100%}.theme-m29 .site-header .site-menu-toggle{white-space:normal;line-height:1.4}.theme-m29 .site-header .site-menu-toggle{max-width:none}}
.theme-m29 .board-topic-fold{border:2px solid #a9bce0;border-radius:14px;margin:28px 0;background:#fff;padding:8px 22px}.theme-m29 .board-topic-fold>summary{font:inherit;font-weight:800;color:#104cda;cursor:pointer;min-height:64px;padding:16px 0;line-height:1.5}.theme-m29 .board-topic-fold .board-filters{border-bottom:0;margin:0}.theme-m29 dialog{background:#fff;color:#202a3b;border:2px solid #7594cf;border-radius:18px}.theme-m29 dialog::backdrop{background:#101a3680}.theme-m29.high-contrast .board-topic-fold,.theme-m29.high-contrast dialog{border-color:#111}.theme-m29.high-contrast .board-topic-fold>summary{color:#111}
/* Every opening follows the selected main-page reference: navy + cobalt, live copy, full artwork. */
.theme-m29 .m29-page-opening{display:grid!important;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr)!important;gap:38px!important;align-items:center!important;background:#fff!important;border-top:1px solid #e4eaf5;border-bottom:3px solid #104cda!important;border-radius:0!important;padding-block:44px!important;position:relative;min-width:0}
.theme-m29 .m29-opening-copy{min-width:0;padding:0!important}.theme-m29 .m29-opening-copy>.eyebrow,.theme-m29 .m29-opening-copy>.kicker{display:flex;align-items:center;gap:18px;color:#104cda;font-size:1rem!important;font-weight:850;margin-bottom:24px}.theme-m29 .m29-opening-copy>.eyebrow:after,.theme-m29 .m29-opening-copy>.kicker:after{content:'';height:2px;background:#104cda;flex:1;max-width:120px;min-width:20px}
.theme-m29 main .m29-page-title{font-size:clamp(1.9rem,4.8vw,3rem)!important;font-weight:850;line-height:1.2!important;letter-spacing:-.04em;color:#101a36!important;margin:0 0 28px}.theme-m29 .m29-title-accent,.theme-m29 main .m29-title-single{color:#104cda!important}.theme-m29 .m29-opening-visual{display:block!important;margin:0!important;width:100%!important;max-width:100%!important;height:auto!important;grid-column:2;grid-row:1;align-self:center;min-width:0;padding:0!important;background:white!important}.theme-m29 .m29-opening-visual img,.theme-m29 img.m29-opening-visual{display:block!important;width:100%!important;height:auto!important;max-height:470px!important;object-fit:contain!important;object-position:center!important;border-radius:18px}.theme-m29 .m29-opening-visual figcaption{font-size:.84rem;color:#515d71;line-height:1.6;margin-top:12px}.theme-m29 .m29-opening-after{grid-column:1/-1;min-width:0}.theme-m29 .m29-standalone-opening{width:100%;margin-bottom:36px}.theme-m29 .m29-page-opening.board-intro{margin-bottom:36px}.theme-m29.page-games .welcome.m29-page-opening{padding-inline:0}.theme-m29 .m29-opening-copy p{max-width:36em}.theme-m29 .m29-opening-copy br{display:initial}
.theme-reader-m29 .m29-reader-opening{position:relative;padding-bottom:28px!important;border-bottom:3px solid #104cda!important}.theme-reader-m29 .m29-reader-art{display:block;width:180px;height:220px;object-fit:contain;margin:20px 0 0 auto}.theme-reader-m29 .m29-page-title{color:#101a36;font-size:clamp(36px,5vw,60px);font-weight:850;letter-spacing:-.04em}.theme-reader-m29 .m29-title-accent,.theme-reader-m29 .m29-title-single{color:#104cda}
@media(max-width:1000px){.theme-m29 .m29-page-opening{grid-template-columns:1fr!important;gap:26px!important}.theme-m29 .m29-opening-visual{grid-column:1;grid-row:auto}.theme-m29 .m29-opening-after{grid-column:1}.theme-m29 main .m29-page-title{font-size:clamp(1.8rem,5.5vw,2.3rem)!important}.theme-m29 .m29-opening-visual img,.theme-m29 img.m29-opening-visual{max-height:400px!important}}
@media(max-width:760px){.theme-m29 .m29-page-opening{padding:28px 0!important;gap:24px!important}.theme-m29 main .m29-page-title{font-size:1.8rem!important;line-height:1.27!important}.theme-m29 .m29-opening-copy>.eyebrow:after,.theme-m29 .m29-opening-copy>.kicker:after{max-width:70px}.theme-m29 .m29-opening-visual img,.theme-m29 img.m29-opening-visual{max-height:310px!important}.theme-m29.reading-largest main .m29-page-title{font-size:1.45rem!important;line-height:1.32!important}.theme-m29 .m29-opening-visual .studio-scene{padding:0;margin:0}.theme-reader-m29 .m29-reader-art{width:140px;height:180px}}
.theme-m29.high-contrast .m29-page-title,.theme-m29.high-contrast .m29-title-accent,.theme-m29.high-contrast main .m29-title-single{color:#111!important}.theme-m29.high-contrast .m29-page-opening{border-color:#111!important}.theme-reader-m29.contrast .m29-page-title,.theme-reader-m29.contrast .m29-title-accent,.theme-reader-m29.contrast .m29-title-single{color:#111}
.theme-m29 #mu-picture-dialog #mu-dialog-title{font-size:1rem;line-height:1.4;margin:.2rem 0 .65rem}.theme-m29 #mu-picture-dialog .mu-dialog-controls{gap:12px}.theme-m29 #mu-picture-dialog .mu-dialog-controls button{padding:.5em .15em}
.theme-m29 .mc-course-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-block:24px 36px}.theme-m29 .mc-course-nav a{min-width:0;display:flex;align-items:center;justify-content:center;min-height:68px;padding:16px;border:2px solid #a5b9df;border-radius:12px;text-decoration:none;color:#104cda;background:#fff;font-weight:800;line-height:1.5}.theme-m29 .mc-course-nav a[aria-current=page]{background:#104cda;border-color:#104cda;color:#fff}.theme-m29.high-contrast .mc-course-nav a[aria-current=page]{background:#111;color:#fff;border-color:#111}@media(max-width:760px){.theme-m29 .mc-course-nav{grid-template-columns:1fr}}
