/* Shared by the MBOS overview, item guide and shaping tips. */
.mbos-page {
  --max: 1120px;
  --ink: #34291f;
  --muted: #61584c;
  --cream: #fff9eb;
  --paper: #fffdf8;
  --line: #e8dfce;
  --green: #26715c;
  --gold: #f5bd37;
  color: var(--ink);
  background: var(--paper);
}
.mbos-page *, .mbos-page *::before, .mbos-page *::after { box-sizing: border-box; }
.mbos-page img { max-width: 100%; height: auto; }
.mbos-page [hidden] { display: none !important; }
.mbos-page :focus-visible, .studio-home :focus-visible {
  outline: 3px solid #26715c;
  outline-offset: 5px;
}
.mbos-page :target { scroll-margin-top: 88px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 16px;
  z-index: 100;
  padding: 10px 18px;
  background: #fff;
  border: 2px solid #26715c;
  border-radius: 10px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.mbos-page .site-header { background: rgba(255, 253, 248, .95); }
.mbos-page .brand { font-size: 16px; }
.mbos-page .brand-badge { background: #fff; box-shadow: none; }
.mbos-page .lang { box-shadow: none; background: transparent; }
.mbos-page .lang a.active { background: #e3efe5; color: #205940; }
.game-navigation { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 15px; padding-bottom: 15px; }
.game-home { font-size: 12px; font-weight: 800; text-decoration: none; color: var(--muted); }
.game-navigation nav { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.game-navigation nav a { padding: 8px 12px; border-radius: 9px; text-decoration: none; font-size: 13px; font-weight: 750; }
.game-navigation nav a:hover { background: #eee8db; }
.game-navigation nav a[aria-current] { background: var(--ink); color: #fffdf8; }
.mbos-page main { padding-top: 8px; }
.eyebrow { margin: 0 0 12px; color: var(--green); font-size: 11px; font-weight: 850; letter-spacing: .13em; line-height: 1.7; }
.mbos-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; padding: 36px; background: var(--cream); border: 1px solid var(--line); border-radius: 26px; }
.mbos-hero h1 { margin: -8px 0 4px; }
.game-logo { display: block; width: 360px; max-width: 100%; }
.hero-tagline { font-size: clamp(27px, 3.3vw, 40px); line-height: 1.45; font-weight: 900; margin: 0 0 16px; letter-spacing: -.035em; }
.hero-description { font-size: 16px; color: var(--muted); margin: 0 0 22px; }
.hero-meta { font-size: 12px; font-weight: 750; letter-spacing: .05em; margin: 20px 0 0; color: var(--muted); }
.hero-meta span { padding: 0 5px; }
.hero-art { position: relative; }
.hero-art > img { display: block; width: 100%; border-radius: 18px; box-shadow: 0 18px 36px #49351f20; transform: rotate(2deg); }
.art-sticker { position: absolute; right: -15px; bottom: -16px; width: 100px; height: 100px; display: grid; align-content: center; text-align: center; border-radius: 50%; background: var(--gold); border: 5px solid var(--cream); transform: rotate(-10deg); font-size: 12px; font-weight: 900; line-height: 1.5; }
.mbos-page .btn { white-space: normal; text-align: center; border-color: var(--line); border-radius: 11px; box-shadow: none; padding: 12px 16px; min-height: 48px; }
.mbos-page .btn.primary { background: var(--green); color: #fff; border-color: var(--green); box-shadow: 0 7px 16px #26715c18; }
.mbos-page .btn.primary:hover { background: #1d5847; }
.mbos-page .btn:hover { box-shadow: 0 5px 15px #34291f12; }
.section-nav, .category-nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.section-nav a, .category-nav a { text-decoration: none; padding: 8px 14px; font-size: 13px; font-weight: 750; border-radius: 8px; }
.section-nav a:hover, .category-nav a:hover { background: #f1e8d4; }
.category-nav a { border: 1px solid var(--line); background: #fff; }
.category-nav a span { color: var(--green); font-size: 11px; margin-left: 6px; }
.section-space { margin-top: 48px; }
.section-heading { margin-bottom: 28px; }
.section-heading h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); font-weight: 850; line-height: 1.5; letter-spacing: -.035em; text-wrap: pretty; }
.section-heading > p:last-child:not(.eyebrow) { margin: 12px 0 0; font-size: 16px; color: var(--muted); }
.prose { font-size: 16px; line-height: 1.65; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p { margin: 0 0 12px; }
.prose li { padding-left: 4px; margin-bottom: 8px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose strong { font-weight: 800; }
.story-section { display: grid; grid-template-columns: 250px 1fr; gap: 48px; align-items: center; padding: 0 24px; }
.story-portraits { display: flex; align-items: center; }
.story-portraits img { width: 145px; }
.story-portraits img:first-child { transform: rotate(-8deg); z-index: 1; }
.story-portraits img:last-child { width: 128px; margin-left: -26px; transform: rotate(8deg); }
.story-section .section-heading { margin-bottom: 14px; }
.story-section .prose p:first-child { font-weight: 850; font-size: 20px; }
.feature-grid, .shape-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-card { border: 1px solid var(--line); padding: 22px; border-radius: 18px; background: #fff; }
.feature-card img { display: block; width: 65px; height: 65px; object-fit: contain; margin-bottom: 20px; }
.feature-card h3 { font-size: 17px; line-height: 1.6; margin: 0 0 12px; }
.feature-card p { font-size: 16px; color: var(--muted); margin: 0; }
.how-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 36px; align-items: start; }
.shift-steps ol { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.shift-steps li { counter-increment: step; position: relative; padding-left: 40px; margin-bottom: 12px; font-size: 16px; }
.shift-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 2px; color: var(--green); font-size: 12px; font-weight: 850; }
.game-screen { margin: 0; min-width: 0; }
.game-screen a { display: block; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #e8dfce; }
.game-screen img { display: block; width: 100%; }
.game-screen figcaption { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.screenshot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px; }
.shape-section { background: var(--cream); border: 1px solid var(--line); padding: 32px; border-radius: 22px; }
.shape-card { text-align: center; padding: 24px 18px; border-radius: 16px; background: #fffdf8; }
.shape-card img { display: block; height: 140px; width: 140px; object-fit: contain; margin: 0 auto 14px; }
.shape-card h3 { font-size: 19px; margin: 0 0 8px; }
.shape-card p { color: var(--muted); font-size: 15px; margin: 0; }
.secret-art { display: grid; place-items: center; width: 140px; height: 140px; font-size: 76px; color: #8d7959; border: 2px dashed #d2c09e; background: #f5eedf; border-radius: 28px; margin: 0 auto 14px; }
.small-note { font-size: 15px; color: var(--muted); line-height: 1.6; }
.shape-section > .small-note { margin: 18px 0 0; }
.control-panel { border: 1px solid var(--line); border-radius: 18px; padding: 24px; background: #fff; }
.table-scroll { width: 100%; overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: 12px; }
.table-scroll table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.6; text-align: left; min-width: 540px; }
.table-scroll th { background: #f1ebde; font-weight: 800; }
.table-scroll th, .table-scroll td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-scroll tbody tr:last-child td { border-bottom: 0; }
.table-scroll tbody tr:nth-child(even) { background: #fffcf5; }
.control-panel .table-scroll { margin-top: 0; }
.control-panel > p { font-size: 16px; color: var(--muted); }
.progression-grid, .share-grid, .info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.growth-note { padding: 22px; border-left: 4px solid var(--green); background: #eaf1e8; border-radius: 0 16px 16px 0; }
.growth-note h3 { font-size: 21px; line-height: 1.6; margin: 0 0 16px; }
.growth-note p:not(.eyebrow) { font-size: 16px; }
.rule-details { border-top: 1px solid #d2d8c4; margin-top: 18px; padding-top: 16px; }
.rule-details > summary { cursor: pointer; color: var(--green); font-weight: 800; font-size: 16px; }
.rule-details > .prose { padding-top: 12px; font-size: 16px; }
.mobile-controls-section { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.mobile-controls-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 28px; align-items: start; }
.mobile-controls-copy { min-width: 0; }
.mobile-controls-copy > .small-note { margin: 14px 0 0; }
.mobile-controls-preview { min-width: 0; padding: 14px; background: var(--cream); border: 1px solid var(--line); border-radius: 18px; }
.mobile-controls-preview > .eyebrow { margin-bottom: 10px; font-size: 11px; }
.mobile-controls-preview .game-screen a { box-shadow: 0 6px 16px #34291f12; }
.mobile-controls-preview figcaption { font-size: 13px; line-height: 1.6; }
.saving-note { margin-top: 18px; padding: 18px; border-left: 4px solid #b18a35; border-radius: 0 12px 12px 0; background: #fff6df; }
.saving-note h3 { margin: 0 0 12px; font-size: 18px; }
.saving-note .prose { font-size: 16px; }
.screenshot-note { margin: 10px 0 0; padding: 12px 14px; border-radius: 9px; background: #fff2d8; color: #6b532c; font-size: 14px; line-height: 1.6; }
.screenshot-note a { text-underline-offset: 3px; }
.tips-article #supporting-growth { margin-top: 40px; }
.text-link { color: var(--green); font-weight: 800; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.share-grid .prose { font-size: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.related-card { display: block; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: #fff; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.related-card:hover { border-color: var(--green); transform: translateY(-2px); }
.related-card h3 { display: flex; justify-content: space-between; gap: 12px; font-size: 20px; line-height: 1.6; margin: 8px 0 12px; }
.related-card p { font-size: 16px; color: var(--muted); margin: 0; }
.game-facts { margin: 0; font-size: 16px; }
.game-facts > div { display: grid; grid-template-columns: 95px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.game-facts dt { font-weight: 750; color: var(--muted); }
.game-facts dd { margin: 0; }
.credits-panel { background: #f4efe4; padding: 22px; border-radius: 18px; font-size: 15px; }
.credits-panel h3 { margin: 0 0 20px; font-size: 22px; }
.credits-panel ul { padding-left: 20px; }
.credits-panel li { margin: 10px 0; }
.credits-panel a { text-underline-offset: 3px; }
.play-banner { display: flex; align-items: center; justify-content: space-between; gap: 26px; margin-top: 72px; padding: 34px; border-radius: 22px; background: #f4c749; }
.play-banner .eyebrow { color: #66501c; margin-bottom: 8px; }
.play-banner h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.5; margin: 0; }
.play-banner .btn { flex-shrink: 0; }
.mbos-page footer { margin-top: 64px; }
.mbos-page footer .right { gap: 12px 20px; }
/* Guide */
.page-intro { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 42px 20px 32px; }
.page-intro h1 { font-size: clamp(32px, 4.5vw, 48px); line-height: 1.45; font-weight: 900; letter-spacing: -.035em; margin-bottom: 20px; }
.page-intro p:not(.eyebrow) { font-size: 16px; color: var(--muted); max-width: 620px; margin: 0; }
.version-tag { display: inline-block; margin-left: 10px; padding: 2px 8px; border: 1px solid #d7d5be; border-radius: 5px; color: var(--muted); letter-spacing: 0; font-size: 10px; }
.intro-icons { display: flex; align-items: center; flex-shrink: 0; }
.intro-icons img { width: 95px; height: 110px; object-fit: contain; filter: drop-shadow(0 8px 8px #34291f10); }
.intro-icons img:nth-child(1) { transform: rotate(-15deg); }
.intro-icons img:nth-child(2) { transform: translateY(-22px) rotate(10deg); }
.intro-icons img:nth-child(3) { transform: rotate(15deg); }
.guide-note { padding: 20px 24px; border-left: 4px solid var(--green); background: #eaf1e8; border-radius: 0 12px 12px 0; font-size: 16px; }
.guide-note p { margin: 5px 0 0; font-size: 16px; }
.guide-search { margin-top: 24px; padding: 20px 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.guide-search label { display: block; font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.search-row { display: flex; gap: 10px; }
.search-row input { min-width: 0; width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #c7bdac; border-radius: 10px; background: #fffdf8; color: var(--ink); }
.search-row .btn { flex-shrink: 0; }
[data-search-status] { color: var(--muted); font-size: 12px; margin: 8px 0 0; }
.catalogue-group { margin-top: 36px; }
.catalogue-group .section-heading { margin-bottom: 22px; }
.item-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.item-card { padding: 18px; border: 1px solid var(--line); background: #fff; border-radius: 16px; min-width: 0; }
.item-card:target { border-color: var(--green); box-shadow: 0 0 0 3px #26715c20; }
.item-card-head { display: flex; align-items: center; gap: 12px; min-height: 66px; }
.item-card-head img { width: 65px; height: 65px; object-fit: contain; flex-shrink: 0; }
.item-kind { font-size: 12px; color: var(--green); font-weight: 800; margin: 0 0 6px; }
.item-card h3 { font-size: 17px; margin: 0; line-height: 1.5; overflow-wrap: anywhere; }
.item-card p:not(.item-kind) { font-size: 16px; }
.item-short { min-height: 0; color: var(--muted); line-height: 1.6; margin: 12px 0; }
.item-details { border-top: 1px solid var(--line); }
.item-details summary { cursor: pointer; font-weight: 800; color: var(--green); font-size: 15px; padding: 10px 0 0; }
.item-details > div { padding-top: 8px; overflow-wrap: anywhere; }
.item-details p { margin: 8px 0 10px; line-height: 1.65; }
.item-details .acquisition { background: #f7f4eb; padding: 12px; border-radius: 8px; }
.secret-card { background: #f6f0e3; border-style: dashed; }
.secret-icon { display: grid; place-items: center; width: 65px; height: 65px; font-size: 42px; color: #8d7959; background: #eee2c9; border-radius: 15px; flex-shrink: 0; }
.advanced-items { margin-top: 20px; padding: 20px; border: 1px dashed #c9bb9e; border-radius: 14px; }
.advanced-items > summary { font-weight: 750; font-size: 14px; cursor: pointer; }
.advanced-items .item-grid { margin-top: 20px; }
.empty-search { padding: 32px; text-align: center; background: var(--cream); border-radius: 12px; }
.effect-notes { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #f5f1e7; }
.effect-notes .prose { font-size: 16px; }
/* Tips */
.intro-shapes { display: flex; align-items: center; flex-shrink: 0; gap: 8px; }
.intro-shapes img { width: 120px; height: 140px; object-fit: contain; }
.intro-shapes img:first-child { transform: rotate(-8deg); }
.intro-shapes img:last-child { transform: rotate(8deg); }
.intro-shapes span { font-size: 26px; color: var(--green); }
.tips-lead { max-width: 780px; padding: 0 20px; margin-bottom: 38px; }
.first-ideas { background: #f0f4e9; padding: 24px; border-radius: 20px; }
.first-ideas .section-heading { margin-bottom: 20px; }
.first-ideas ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: idea; margin: 0; }
.first-ideas li { padding: 0; margin: 0; font-size: 16px; counter-increment: idea; }
.first-ideas li::before { content: '0' counter(idea); display: block; font-weight: 900; font-size: 24px; color: var(--green); margin-bottom: 8px; }
.first-ideas li strong { display: block; font-size: 17px; line-height: 1.5; margin-bottom: 8px; }
.shaping-example { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 36px; margin-top: 28px; padding: 24px; border: 1px solid #e8d09c; background: #fff4d7; border-radius: 20px; }
.shaping-example h2 { font-size: 28px; line-height: 1.55; margin: 0 0 18px; }
.shaping-example p:not(.eyebrow) { font-size: 16px; }
.shaping-example .small-note { font-size: 15px; margin-bottom: 0; }
.food-combo { display: flex; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.food-combo a { flex: 1; text-decoration: none; min-width: 0; }
.food-combo img { display: block; margin: 0 auto 14px; width: 120px; height: 120px; object-fit: contain; }
.food-combo strong { display: block; font-size: 15px; }
.food-combo a span { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }
.combo-arrow { color: var(--green); font-size: 28px; }
.reading-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 44px; }
.tips-article { min-width: 0; }
.reading-toc { position: sticky; top: 88px; border-top: 2px solid var(--green); padding-top: 18px; }
.reading-toc a { display: flex; gap: 12px; padding: 8px 0; text-decoration: none; font-size: 14px; line-height: 1.55; color: var(--muted); border-bottom: 1px solid var(--line); }
.reading-toc a:hover { color: var(--green); }
.reading-toc a span { color: var(--green); font-size: 11px; font-weight: 850; padding-top: 1px; flex-shrink: 0; }
.article-section { padding: 0 0 26px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.article-section h2 { font-size: 24px; line-height: 1.45; margin: 0 0 16px; letter-spacing: -.02em; }
.article-section .prose p:last-child { background: #f2eee3; border-radius: 10px; padding: 14px 16px; font-size: 16px; }
.article-section .table-scroll { margin: 18px 0; }
.article-section .table-scroll table { min-width: 560px; }
.item-link { text-decoration: underline; text-decoration-color: #a4b6a2; text-underline-offset: 4px; color: inherit; }
.item-link:hover { color: var(--green); text-decoration-color: var(--green); }
.tips-article .article-section:last-child { margin-bottom: 0; }
@media (max-width: 950px) {
  .game-navigation { flex-direction: column; align-items: flex-start; gap: 8px; }
  .mbos-hero { gap: 24px; padding: 28px; }
  .hero-description br { display: none; }
  .hero-art .art-sticker { right: -8px; width: 82px; height: 82px; font-size: 10px; }
  .feature-card { padding: 22px; }
  .story-section { padding: 0; gap: 24px; grid-template-columns: 200px 1fr; }
  .story-portraits img { width: 120px; }
  .story-portraits img:last-child { width: 110px; }
  .how-grid { grid-template-columns: 1fr; }
  .item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reading-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 28px; }
  .intro-icons img { width: 72px; }
  .intro-shapes img { width: 96px; }
}
@media (max-width: 700px) {
  .mobile-controls-section { padding: 20px; }
  .mobile-controls-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .mobile-controls-preview { padding: 10px; }
  .mbos-page .wrap { padding-left: 18px; padding-right: 18px; }
  .mbos-page .nav { height: 64px; gap: 10px; }
  .mbos-page .brand { font-size: 14px; gap: 8px; }
  .mbos-page .brand-badge { width: 30px; height: 30px; border-radius: 8px; }
  .mbos-page .lang { gap: 2px; padding: 4px; }
  .mbos-page .lang a { padding: 8px; }
  .game-navigation nav { width: 100%; gap: 4px; }
  .game-navigation nav a { padding: 8px 10px; font-size: 12px; }
  .game-home { font-size: 11px; }
  .mbos-hero { grid-template-columns: 1fr; padding: 24px; gap: 30px; border-radius: 20px; }
  .game-logo { width: 310px; }
  .hero-tagline { font-size: 32px; }
  .hero-art { max-width: 460px; margin: 0 auto 12px; width: 100%; }
  .hero-art > img { transform: rotate(1deg); }
  .hero-art .art-sticker { right: -8px; bottom: -16px; }
  .hero-meta { line-height: 2; }
  .section-nav { gap: 2px; padding: 14px 0; }
  .section-nav a { padding: 8px 10px; font-size: 12px; }
  .section-space { margin-top: 32px; }
  .section-heading { margin-bottom: 22px; }
  .story-section { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
  .story-portraits { align-self: center; }
  .feature-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { display: grid; grid-template-columns: 58px 1fr; column-gap: 18px; padding: 22px; }
  .feature-card img { grid-row: span 2; width: 58px; height: 58px; margin: 0; }
  .feature-card h3 { margin-bottom: 8px; font-size: 16px; }
  .feature-card p { font-size: 16px; }
  .how-grid { gap: 18px; }
  .screenshot-pair { grid-template-columns: 1fr; gap: 24px; }
  .shape-section { padding: 22px 18px; }
  .shape-grid { gap: 8px; }
  .shape-card { padding: 18px 8px; }
  .shape-card img, .secret-art { width: 80px; height: 80px; margin-bottom: 12px; }
  .shape-card h3 { font-size: 15px; }
  .shape-card p { font-size: 14px; }
  .secret-art { font-size: 44px; border-radius: 18px; }
  .control-panel { padding: 18px; }
  .progression-grid, .share-grid, .info-grid { grid-template-columns: 1fr; gap: 26px; }
  .share-grid .game-screen { order: 2; }
  .related-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 42px; }
  .related-card { padding: 24px; }
  .play-banner { flex-direction: column; align-items: flex-start; padding: 26px; gap: 20px; margin-top: 48px; }
  .page-intro { padding: 24px 0; gap: 16px; align-items: flex-start; }
  .page-intro h1 { font-size: 32px; }
  .page-intro p:not(.eyebrow) { font-size: 16px; }
  .page-intro .eyebrow { font-size: 10px; }
  .intro-icons { flex-direction: column; padding-top: 8px; gap: 6px; }
  .intro-icons img { width: 56px; height: 56px; }
  .intro-icons img:nth-child(2) { transform: rotate(10deg); }
  .intro-icons img:nth-child(3) { display: none; }
  .guide-note { padding: 18px; }
  .category-nav { gap: 6px; }
  .category-nav a { padding: 7px 10px; font-size: 12px; }
  .guide-search { padding: 18px; }
  .item-grid { gap: 12px; }
  .item-card { padding: 18px; }
  .item-card-head { gap: 10px; }
  .item-card-head img, .secret-icon { width: 50px; height: 50px; }
  .item-card h3 { font-size: 15px; }
  .item-short { min-height: 0; }
  .effect-notes { padding: 24px; }
  .tips-intro { flex-direction: column; }
  .intro-shapes { align-self: center; }
  .intro-shapes img { width: 98px; height: 98px; }
  .tips-lead { padding: 0; font-size: 16px; }
  .first-ideas { padding: 24px; }
  .first-ideas ul { grid-template-columns: 1fr; gap: 20px; }
  .first-ideas li { padding-left: 40px; position: relative; }
  .first-ideas li::before { position: absolute; top: -5px; left: 0; font-size: 20px; }
  .shaping-example { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .shaping-example h2 { font-size: 25px; }
  .food-combo img { width: 92px; height: 92px; }
  .reading-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; margin-top: 42px; }
  .reading-toc { position: static; padding: 20px; border: 1px solid var(--line); border-radius: 12px; }
  .reading-toc a { font-size: 14px; }
  .article-section h2 { font-size: 23px; }
  .article-section .prose { font-size: 16px; }
}
@media (max-width: 450px) {
  .item-grid { grid-template-columns: 1fr; }
  .advanced-items { padding: 16px; }
  .item-card-head img, .secret-icon { width: 62px; height: 62px; }
  .item-card h3 { font-size: 18px; }
  .item-kind { font-size: 12px; }
  .mbos-hero { padding: 20px; }
  .hero-tagline { font-size: 29px; }
  .mbos-hero .btn { width: 100%; }
  .shape-card img, .secret-art { width: 64px; height: 70px; }
  .game-facts > div { grid-template-columns: 80px 1fr; }
  .version-tag { margin-left: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .mbos-page *, .studio-home * { scroll-behavior: auto !important; transition: none !important; }
}
@media print {
  .mbos-page { background: #fff; }
  .mbos-page .site-header, .game-navigation, .section-nav, .category-nav, .guide-search, .reading-toc, .play-banner, .related-grid, .mbos-page footer { display: none; }
  .mbos-page .wrap { max-width: none; padding: 0; }
  .reading-layout { display: block; }
  .item-grid { grid-template-columns: 1fr 1fr; }
  .item-card, .article-section { break-inside: avoid; }
}
