/* MeowChat spacing 1.1.0 — shared reading rhythm; no data or interaction changes. */
:root {
  --mcs-gutter: clamp(16px, 3vw, 36px);
  --mcs-panel: clamp(20px, 2.5vw, 28px);
  --mcs-gap: clamp(20px, 2vw, 28px);
  --mcs-section: clamp(28px, 3vw, 40px);
  --mcs-nav-height: calc(74px + env(safe-area-inset-bottom, 0px));
}

/* The same page edges for the app and its independently rendered modules. */
.mcf-page :is(.na-content, .nu-main, .nt-wrap), .mcf-page #nrh-content {
  box-sizing: border-box;
  width: min(1160px, 100%);
  max-width: 1160px;
  margin-inline: auto;
  padding: var(--mcs-section) var(--mcs-gutter) 56px;
}
.mcf-page .na-reader-content { max-width: 960px; }
.mcf-page .mcf-back {
  margin: 24px var(--mcs-gutter) 0;
  max-width: calc(100% - 2 * var(--mcs-gutter));
}
.mcf-page .mcf-back + :is(.na-content, #nrh-content) { padding-top: 24px; }
.mcf-page :is(.na-content, .nu-main, .nt-wrap) > :first-child { margin-top: 0; }
.mcf-page :is(.na-feed-heading, .ncv-heading, .nt-heading) {
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: var(--mcs-section);
}
.mcf-page :is(.na-feed-heading, .ncv-heading, .nt-heading) > div { min-width: 0; }
.mcf-page .na-feed-heading :is(h1, h2) { margin: 12px 0 16px; line-height: 1.4; }
.mcf-page :is(.na-feed-heading, .ncv-heading, .nt-heading) p { line-height: 1.85; }
.mcf-page :is(.nc-section-title, .na-section-heading, .nf-section-bar, .nrh-section-title) {
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.mcf-page :is(.nc-section-title, .na-section-heading) { margin: var(--mcs-section) 0 20px; }
.mcf-page :is(.nc-section-title, .na-section-heading) :is(h2, p) { margin-block: 8px; }
.mcf-page :is(.na-filters, .nuix-filter, .nuix-me-tabs, .ncv-filters, .nr-tabs, .nl-tabs, .nf-tabs) {
  gap: 12px;
}
.mcf-page :is(.na-filters, .nuix-filter) { margin: 20px 0 28px; }

/* Leave room for comic borders and shadows between independent cards. */
.mcf-page :is(.na-cards, .na-games, .ncv-queue, .nkk-library, .ns-grid, .nl-people, .nr-grid, .nf-grid, .nu-shop-grid, .nu-task-grid, .nu-career-grid, .nrh-benefits) {
  gap: var(--mcs-gap);
}
.mcf-page .na-games { margin: 28px 0 var(--mcs-section); }
.mcf-page :is(.na-card-copy, .ns-card-copy, .nr-card-copy, .nu-shop-copy) { padding: var(--mcs-panel); }
.mcf-page :is(.na-card-copy, .ns-card-copy, .nr-card-copy, .nu-shop-copy) > :is(h2, h3) {
  margin-block: 12px;
  line-height: 1.6;
}
.mcf-page :is(.na-card-copy, .ns-card-copy, .nr-card-copy, .nu-shop-copy) > p {
  margin-block: 12px;
  font-size: 15px;
  line-height: 1.85;
}
.mcf-page .na-card-copy > small { display: block; margin-top: 16px; line-height: 1.65; }
.mcf-page .na-card-actions { gap: 8px; padding: 10px 14px; }
.mcf-page :is(.na-profile, .na-login, .na-empty, .nkk-library-card, .nl-task, .nl-person, .nuix-preferences, .nrh-provider, .nrh-benefit, .nrh-mission, .mcc-paper) {
  padding: var(--mcs-panel);
}
.mcf-page :is(.na-profile, .na-login, .na-empty, .nl-task, .nuix-preferences) { margin-bottom: var(--mcs-section); }
.mcf-page :is(.na-profile-links, .nkk-actions, .ns-actions, .nr-actions, .nl-task-actions, .nf-actions, .nu-hero-actions, .nu-welcome-actions, .ncv-actions, .ncv-player-tools, .mcc-save-actions, .ni-toolbar) {
  gap: 12px;
  flex-wrap: wrap;
}
.mcf-page :is(.ncv-actions, .ncv-player-tools, .nf-actions, .nl-task-actions) > button {
  white-space: normal;
  line-height: 1.6;
  min-width: 0;
}

/* Repair the mobile grid inherited by the game cards: reserve art, not a text column. */
.mcf-page .na-games .na-game {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: var(--mcs-panel);
  min-height: 252px;
}
.mcf-page .na-games .na-game > .na-chip {
  align-self: flex-start;
  max-width: calc(100% - 104px);
  line-height: 1.65;
}
.mcf-page .na-games .na-game > h2 {
  margin: 18px 104px 16px 0;
  font-size: 24px;
  line-height: 1.5;
}
.mcf-page .na-games .na-game > p { max-width: 100%; margin: 0 0 22px; font-size: 15px; line-height: 1.85; }
.mcf-page .na-games .na-game > strong { margin-top: auto; padding-top: 18px; line-height: 1.65; }
.mcf-page .na-games .na-game > .nk-sprite { right: 20px; top: 24px; margin: 0; }

/* Wallet and benefit groups follow the same rhythm without tiny columns. */
.mcf-page .nrh-hub { gap: 28px; }
.mcf-page .nrh-wallet { gap: 16px; }
.mcf-page .nrh-wallet > div { padding: 20px; gap: 10px; }
.mcf-page .nrh-wallet span { line-height: 1.7; font-size: 12px; }
.mcf-page .nrh-providers { gap: 24px; }
.mcf-page :is(.nrh-provider, .nrh-benefit) { gap: 16px; }
.mcf-page .nrh-provider p, .mcf-page .nrh-benefit p { font-size: 15px; line-height: 1.85; }
.mcf-page #nrh-home-summary .nrh-summary { gap: 24px; padding: 24px; margin-bottom: var(--mcs-section); }
.mcf-page #nrh-home-summary .nrh-wallet { gap: 12px; }
.mcf-page #nrh-home-summary .nrh-wallet > div { padding: 6px 14px; gap: 8px; }
.mcf-page #nrh-home-summary .nrh-wallet small { font-size: 12px; line-height: 1.6; }
.mcf-page #nrh-home-summary .nrh-wallet span { font-size: 11px; }
.mcf-page .nrh-details[open] > :not(summary) { margin-top: 16px; }
.mcf-page .nrh-hub > .ncr-panel { margin-block: 0; }

/* Forms and dialogs need room for a label, its help and the next decision. */
.mcf-page .nuix-create-grid { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; margin-top: 24px; }
.mcf-page .nuix-create-grid button { min-height: 88px; padding: 20px; line-height: 1.7; }
.mcf-page #nk-dialog { padding: 28px; scroll-padding-block: 24px; }
.mcf-page #nk-dialog h2 { margin: 12px 54px 20px 0; line-height: 1.5; }
.mcf-page #nk-dialog-body > p { font-size: 15px; line-height: 1.85; margin-block: 16px; }
.mcf-page :is(.ni-form, .ncv-submit, .ns-profile-form) { gap: 22px; }
.mcf-page .ni-field { gap: 10px; }
.mcf-page .ni-destinations { gap: 12px; }
.mcf-page .ni-destination { padding: 16px 12px; gap: 10px; }
.mcf-page .ni-destination:has(input:checked) { padding: 15px 11px; }
.mcf-page .ni-destination small { font-size: 13px; line-height: 1.7; }
.mcf-page .mcc-form .mcc-kinds { gap: 18px; }
.mcf-page .mcc-kind { gap: 10px; }
.mcf-page .mcc-form :is(input[type=text], input[type=url], textarea, select) { margin-top: 10px; margin-bottom: 22px; }
.mcf-page .mcc-media-head { gap: 12px; }
.mcf-page .mcc-paper + .mcc-paper { margin-top: 28px; }
.mcf-page .nuix-disclosure > :is(div, section) { padding: 20px; }

/* Independent modules: keep the illustrated scene coordinates untouched. */
.mcf-page .ncv-feature { padding: var(--mcs-panel); margin-bottom: var(--mcs-section); }
.mcf-page .ncv-tile > span { padding: 18px; }
.mcf-page .ncv-tile strong { font-size: 16px; line-height: 1.75; }
.mcf-page .ncv-heading { margin-top: 0; }
.mcf-page .ncv-queue-title { margin: 32px 0 20px; }
.mcf-page .nkk-copy { padding: var(--mcs-panel); }
.mcf-page :is(.nkk-hero, .ns-hero, .nl-hero) { margin-bottom: var(--mcs-section); }
.mcf-page .nkk-library-card p { font-size: 15px; line-height: 1.85; }
.mcf-page .ns-hero-copy { padding: var(--mcs-panel); }
.mcf-page .ns-cast { gap: 14px; margin-block: 28px; }
.mcf-page .ns-actor { padding: 14px 10px; gap: 8px; }
.mcf-page .ns-actor small { font-size: 11px; }
.mcf-page .nc-comic { gap: 16px; margin-block: 28px; }
.mcf-page .nc-comic-panel { padding: 18px 14px; }
.mcf-page .nc-comic-panel p { font-size: 14px; line-height: 1.8; }
.mcf-page .nr-card-copy > p:not(.nr-note) { font-size: 14px; line-height: 1.8; }
.mcf-page .nr-card .na-small { font-size: 13px; }
.mcf-page .nt-heading { gap: 24px; }
.mcf-page .nt-control { padding: 28px; }
.mcf-page .nt-choice > div { gap: 12px; }
.mcf-page .nt-description { font-size: 15px; line-height: 1.85; }
.mcf-page .nt-toolbar { gap: 12px; margin-bottom: 24px; }
.mcf-page #nu-root .nu-tabs { gap: 12px; margin-bottom: 28px; }
.mcf-page .nu-shop-copy p { min-height: 0; }
.mcf-page .nu-shop-copy .nu-button { white-space: normal; line-height: 1.6; font-size: 14px !important; padding: 12px; }
.mcf-page :is(.nu-hero-copy, .nu-welcome-copy) > p { font-size: 15px; line-height: 1.85; }

/* Read according to the article's available width, not the whole monitor. */
.mcf-page .nma-article { container: mcs-reading / inline-size; }
.mcf-page .nma-article .nma-story { gap: 24px; margin-block: 28px; }
.mcf-page .nma-article .nma-panel { padding: 24px; }
.mcf-page .nma-article .nma-dialogue { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 20px; }
.mcf-page .nma-article .nma-role { width: 64px; }
.mcf-page .nma-article .nma-dialogue .nma-bubble { padding: 18px; }
.mcf-page .nma-article .nma-disclosure + .nma-disclosure { margin-top: 0 !important; }
.mcf-page .nma-article .nma-tools { gap: 12px; padding: 16px; margin-block: 20px 28px; }
.mcf-page .nma-article :is(.na-reader-poll, .na-quiz, .nma-video) { margin-block: 32px; }
.mcf-page .nd-article .nma-dialogue { grid-column: 1 / -1; }
@container mcs-reading (max-width: 780px) {
  .mcf-page .nma-article .nma-dialogue { grid-column: 1 / -1; }
}

/* Public reading, library, rules, legal pages and sign-in. */
.mcf-page.nd-page .nd-main { width: min(1160px, 100%); box-sizing: border-box; padding-inline: var(--mcs-gutter); }
.mcf-page.nd-page .nd-main > .nd-library-head { margin-block: var(--mcs-section) 28px; padding: var(--mcs-panel); }
.mcf-page.nd-page .nd-grid { gap: var(--mcs-gap); margin-top: 24px; }
.mcf-page.nd-page .nd-related { box-sizing: border-box; max-width: 820px; margin: 36px auto 48px; padding: 24px; line-height: 1.85; }
.mcf-page.nd-page .nd-related h2 { line-height: 1.5; margin: 0 0 20px; }
.mcf-page.nd-page .nd-related li + li { margin-top: 12px; }
.mcf-page.nd-page .nd-tabs { gap: 12px; flex-wrap: wrap; }
.mcf-page .nuix-legal { padding: clamp(24px, 4vw, 40px); }
.mcf-page .nuix-legal :is(h1, h2, h3) { line-height: 1.5; }
.mcf-page .nuix-header { gap: 20px; }
.mcf-page .nuix-header nav { gap: 10px; }
.mcf-page .nsa-card { padding: var(--mcs-panel); }
.mcf-page .ncourt-workbench { gap: 24px; }
.mcf-page.login :is(#loginform, #registerform, #lostpasswordform) { padding: 24px; }
.mcf-page.login .nsa-login { margin-block: 20px; }

@media (min-width: 721px) {
  .mcf-page .mcf-back { margin-inline-start: max(var(--mcs-gutter), calc((100% - 1160px) / 2 + var(--mcs-gutter))); }
}
@media (min-width: 721px) and (max-width: 1100px) {
  .mcf-page :is(.na-cards, .ns-grid, .nr-grid, .nu-shop-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mcf-page .na-games .na-game > h2 { margin-right: 88px; font-size: 22px; }
  .mcf-page .na-games .na-game > .nk-sprite { width: 80px; height: 80px; right: 16px; }
}
@media (max-width: 1000px) {
  .mcf-page .nma-article .nma-dialogue { grid-column: 1 / -1; }
  .mcf-page .nrh-hub { gap: 24px; }
}
@media (max-width: 720px) {
  :root { --mcs-gutter: 20px; --mcs-panel: 20px; --mcs-gap: 24px; --mcs-section: 32px; }
  .mcf-page :is(.na-content, .nu-main, .nt-wrap), .mcf-page #nrh-content { padding-top: 28px; padding-bottom: 40px; }
  .mcf-page .na-workspace { padding-bottom: var(--mcs-nav-height); }
  .mcf-page .nk-sidebar { bottom: var(--mcs-nav-height); }
  .mcf-page .nk-compact .nk-sidebar, .mcf-page .na-compact-nav .nk-sidebar { bottom: 0; }
  .mcf-page .na-nav { height: var(--mcs-nav-height); box-sizing: border-box; padding: 7px 8px calc(7px + env(safe-area-inset-bottom, 0px)); gap: 6px; }
  .mcf-page .na-nav > a { min-height: 54px; min-width: 0; flex: 1 1 0; width: auto; }
  .mcf-page .nk-compact .na-workspace, .mcf-page .na-compact-nav .na-workspace { padding-bottom: 0; }
  .mcf-page .mcf-back { margin-top: 20px; }
  .mcf-page .mcf-back + :is(.na-content, #nrh-content) { padding-top: 24px; }
  .mcf-page .na-games .na-game { min-height: 248px; padding: 22px; }
  .mcf-page .na-games .na-game > .nk-sprite { width: 76px; height: 76px; top: 22px; right: 18px; }
  .mcf-page .na-games .na-game > .na-chip { max-width: calc(100% - 88px); font-size: 12px; }
  .mcf-page .na-games .na-game > h2 { margin: 18px 82px 18px 0; font-size: 23px; }
  .mcf-page .na-games .na-game > p { font-size: 15px; }
  .mcf-page .nuix-filter { gap: 12px; }
  .mcf-page .nuix-filter button { flex: 1 1 120px; }
  .mcf-page #nrh-home-summary .nrh-summary { padding: 20px; gap: 20px; }
  .mcf-page #nrh-home-summary .nrh-wallet { gap: 10px; }
  .mcf-page #nrh-home-summary .nrh-wallet > div { padding: 4px 8px; }
  .mcf-page .ncv-actions button { flex: 1 1 130px; }
  .mcf-page :is(.ncv-player-tools, .nk-compose-tools > div) { gap: 10px; }
  .mcf-page .ncv-player-tools button { flex: 1 1 140px; }
  .mcf-page .ncv-feature { padding: 20px; }
  .mcf-page .ncv-stage, .mcf-page .ncv-stage iframe { min-width: 0; }
  .mcf-page .nr-card { display: block; }
  .mcf-page .nr-card-visual { width: 100%; height: 180px; min-height: 0; border-right: 0; border-bottom: 1.5px solid var(--nr-ink); }
  .mcf-page .nr-card-visual > .nr-cat { margin: 16px auto; width: 130px; height: 130px; }
  .mcf-page .nr-card .nr-actions { gap: 12px; }
  .mcf-page .nr-card .nr-note, .mcf-page .nr-card-origin { font-size: 12px; line-height: 1.7; }
  .mcf-page .nt-control { padding: 24px 20px; }
  .mcf-page #nk-dialog { padding: 22px; width: calc(100% - 32px); }
  .mcf-page .nuix-me-tabs { gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 12px; }
  .mcf-page .nk-message { margin-bottom: 20px; gap: 9px; }
  .mcf-page .nk-bubble { padding: 12px 14px; }
  .mcf-page .nk-compose-tools { align-items: flex-start; gap: 10px; }
  .mcf-page .nk-compact .nk-message { margin-bottom: 14px; }
  .mcf-page .nuix-header nav { gap: 8px; }
}
@media (max-width: 600px) {
  .mcf-page .nk-room-head, .mcf-page .nk-compact .nk-room-head {
    display: grid;
    grid-template-columns: 44px 38px minmax(0, 1fr);
    height: auto;
    min-height: 0;
    padding: 12px 13px;
    gap: 10px;
  }
  .mcf-page .nk-room-head .nk-mobile-menu { width: 44px; height: 44px; }
  .mcf-page .nk-room-name .nk-eyebrow { font-size: 8px; line-height: 1.55; overflow-wrap: anywhere; }
  .mcf-page .nk-room-name h2 { font-size: 17px; line-height: 1.45; white-space: normal; overflow-wrap: anywhere; }
  .mcf-page .nk-room-name p { white-space: normal; line-height: 1.6; }
  .mcf-page .nk-room-actions { grid-column: 1 / -1; justify-content: flex-end; gap: 8px; }
  .mcf-page .nk-compact .nk-top { height: 54px; }
  .mcf-page .nk-compact .nk-room-head { padding-block: 6px; row-gap: 6px; }
  .mcf-page .nk-compact .nk-feed { min-height: 0; }
  .mcf-page .na-card > a { display: block; }
  .mcf-page .na-card > a > img, .mcf-page .na-card-art { height: 180px; min-height: 0; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 2px solid var(--ink); }
  .mcf-page .na-card-art .nk-sprite { width: 128px; height: 128px; }
  .mcf-page .na-card-copy { padding: 20px; }
  .mcf-page .na-card :is(h2, h3) { font-size: 20px; margin-block: 14px 12px; line-height: 1.6; }
  .mcf-page .na-card p { font-size: 15px; line-height: 1.85; margin-block: 12px; }
  .mcf-page .na-card small, .mcf-page .na-card .na-chip { font-size: 12px; }
  .mcf-page :is(.nuix-create-grid, .ni-destinations, .ncv-queue, .nu-shop-grid, .nrh-benefits) { grid-template-columns: minmax(0, 1fr); }
  .mcf-page .mcc-form .mcc-kinds { grid-template-columns: minmax(0, 1fr); }
  .mcf-page .mcc-kind { min-height: 0; padding: 20px; }
  .mcf-page .mcc-kind strong { font-size: 18px; }
  .mcf-page .mcc-kind small { font-size: 14px; }
  .mcf-page .ni-destination input { width: 18px; height: 18px; flex: none; }
  .mcf-page .ni-destination strong { font-size: 15px; }
  .mcf-page .nrh-wallet { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .mcf-page .nrh-wallet > div:last-child { grid-column: 1 / -1; }
  .mcf-page #nrh-home-summary .nrh-summary { grid-template-columns: minmax(0, 1fr); }
  .mcf-page #nrh-home-summary .nrh-summary > div:first-child small { max-width: none; font-size: 12px; }
  .mcf-page #nrh-home-summary .nrh-summary > .nrh-wallet { grid-column: 1; grid-row: 2; }
  .mcf-page #nrh-home-summary .nrh-wallet > div { padding: 8px 12px; }
  .mcf-page #nrh-home-summary .nrh-wallet > div:last-child { grid-template-columns: auto 1fr; align-items: center; }
  .mcf-page #nrh-home-summary .nrh-wallet > div:last-child span { grid-column: 1 / -1; }
  .mcf-page #nrh-home-summary .nrh-summary > button { grid-column: 1; grid-row: 3; width: 100%; font-size: 14px; }
  .mcf-page .nu-shop-copy > h3 { font-size: 20px; }
  .mcf-page .nma-article.nma-article { padding: 22px 18px !important; }
  .mcf-page .nma-article .nma-story { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .mcf-page .nma-article .nma-story > * { margin-bottom: 0 !important; }
  .mcf-page .nma-article .nma-panel { padding: 18px; }
  .mcf-page .nma-article .nma-panel p { font-size: 16px !important; line-height: 1.9 !important; }
  .mcf-page .nma-article .nma-dialogue { grid-template-columns: 48px minmax(0, 1fr); padding: 16px; gap: 12px; }
  .mcf-page .nma-article .nma-role { width: 48px; }
  .mcf-page .nma-article .nma-dialogue .nma-bubble { padding: 16px; }
  .mcf-page .nma-article .nma-tools { padding: 14px; gap: 12px; }
  .mcf-page .nma-tools button { flex: 1 1 130px; font-size: 13px; }
  .mcf-page .nma-article :is(.na-reader-poll, .na-quiz, .nma-video) { padding: 20px 16px; }
  .mcf-page .nuix-legal { width: calc(100% - 32px); padding: 24px 20px; margin-block: 28px 48px; }
  .mcf-page.page-id-219 .entry-content > .mc-legal-content { width: calc(100% - 32px); padding: 24px 20px; margin: 28px auto 48px !important; }
  .mcf-page.nd-page .nd-related { padding: 20px 4px; }
}
@media (max-width: 420px) {
  :root { --mcs-gutter: 16px; }
  .mcf-page .na-games .na-game > h2 { margin-right: 72px; font-size: 22px; }
  .mcf-page .na-games .na-game > .nk-sprite { width: 64px; height: 64px; right: 16px; }
  .mcf-page .na-games .na-game > .na-chip { max-width: calc(100% - 72px); }
  .mcf-page .nma-article .nma-dialogue { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .mcf-page .nma-article .nma-role { width: 48px; }
  .mcf-page .nma-article .nma-stage { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 20px; }
  .mcf-page .nma-stage-copy > strong { max-width: none; }
  .mcf-page .nma-stage .nma-cast { width: 130px; justify-self: end; height: 112px; }
  .mcf-page .nma-tools button { flex-basis: 100%; }
  .mcf-page .nuix-header nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mcf-page .ncv-source { gap: 12px; }
}
@media (max-width: 370px) {
  .mcf-page .ns-cast { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mcf-page .mcf-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px 20px; }
  .mcf-page .mcf-hero-art { height: 132px; width: 136px; justify-self: center; transform: none; }
  .mcf-page .mcf-hero .na-primary { white-space: normal; font-size: 13px; }
  .mcf-page .mcf-hero .nk-eyebrow { font-size: 9px; }
  .mcf-page .mcf-hero p { font-size: 14px; }
  .mcf-page .na-games .na-game > h2 { margin-right: 0; }
  .mcf-page .na-games .na-game > .na-chip { min-height: 64px; border: 0; padding: 0; background: transparent; display: flex; align-items: center; }
  .mcf-page .na-games .na-game > p { font-size: 15px; }
}
@media (max-width: 600px) and (max-height: 360px) {
  .mcf-page .nk-compact .nk-top { display: none; }
}

/* 1.1.0: expanded panels, long dialogue and editor tools. */
.mcf-page .mcc-form > .nuix-disclosure > .mcc-kindset { margin: 20px; }
.mcf-page .nuix-editor-options > .mcc-local-field { margin: 0 20px 20px; }
.mcf-page .mcc-row-top { flex-wrap: wrap; gap: 12px; }
.mcf-page .mcc-row-top > strong { min-width: 0; line-height: 1.6; }
.mcf-page .mcc-row-tools { flex-wrap: wrap; gap: 8px; margin-inline-start: auto; }
.mcf-page .nuix-me-body .nuix-disclosure > div > :is(.na-small, .na-primary) {
  margin: 6px 12px 6px 0;
  max-width: 100%;
  white-space: normal;
}
@media (max-width: 640px) {
  .mcf-page .ni-saved-item { display: block; }
  .mcf-page .ni-saved-actions { margin-top: 16px; flex-wrap: wrap; gap: 12px; }
}
@media (max-width: 480px) {
  .mcf-page .nk-toolbox-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .mcf-page .nk-toolbox-grid button { padding: 18px; gap: 10px; min-height: 88px; }
  .mcf-page .nk-toolbox-grid button small { font-size: 14px; line-height: 1.75; }
  .mcf-page :is(.nm-comic, .nm-poll) { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .mcf-page .nm-comic-panel { padding: 18px; gap: 12px; }
  .mcf-page #nk-dialog .nm-bubble { font-size: 15px; line-height: 1.8; padding: 14px; margin: 0; }
  .mcf-page .nm-character { font-size: 12px; line-height: 1.65; }
  .mcf-page .nm-comic-panel .nk-sprite { width: 104px; height: 104px; }
  .mcf-page .nm-choice { min-width: 0; padding: 16px; gap: 10px; }
  .mcf-page .nm-case-card { display: flex; padding: 18px; }
  .mcf-page .nm-card-art { flex-direction: row; align-items: center; gap: 12px; margin-bottom: 12px; }
  .mcf-page .nm-case-card h3 { font-size: 18px; line-height: 1.65; }
  .mcf-page #nk-dialog .nm-case-card p { font-size: 14px; line-height: 1.8; margin-block: 12px; }
}
@media (max-width: 420px) {
  .mcf-page .nu-passport-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
    min-width: 0;
  }
  .mcf-page .nu-day { min-width: 0; }
  .mcf-page .nu-day > span { max-width: 100%; }
  .mcf-page .nu-day svg { max-width: 100%; }
  .mcf-page .nkk-comic {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(80px, 24vw, 100px);
    min-height: 0;
    padding: 50px 16px 18px;
    gap: 12px;
    align-items: center;
  }
  .mcf-page .nkk-bubble {
    position: relative;
    inset: auto;
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    margin: 0;
    padding: 14px 12px;
    transform: rotate(2deg);
  }
  .mcf-page .nkk-comic .nk-sprite {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    min-width: 0;
    margin: 0;
  }
  .mcf-page .nkk-character { grid-column: 1 / -1; justify-self: end; margin: 0; font-size: 10px; line-height: 1.6; }
}

@media print {
  .mcf-page .nma-article .nma-story { display: block; }
  .mcf-page .nma-article .nma-panel { margin-bottom: 18px !important; }
}
