/* System base: reading comfort, focus, press feedback, cross-page transition. */
@layer base {
body { font-size: var(--fs-body); line-height: 1.6; }
/* Phone baseline (mobile-native): no grey tap flash (every control has its own :active), no landscape font inflation,
   taps fire without the double-tap wait, inputs at 16px or more so iOS never zooms into a field, control labels not
   selectable on long-press. Body text stays selectable. */
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
:where(a, button, summary, label, [role="button"], input[type="checkbox"], input[type="radio"]) { touch-action: manipulation; }
:where(button, .mp-btn, [role="button"], summary) { -webkit-user-select: none; user-select: none; }
:where(input:not([type="checkbox"], [type="radio"]), select, textarea) { font-size: max(1rem, 16px); }
/* Breadcrumb links at 44px (final audit, 22 Nov 2026; the legacy sheet gave 41px). */
.mp-breadcrumbs a { display: inline-flex; align-items: center; min-block-size: var(--h-touch); padding-block: 0; }
h1, h2, h3 { text-wrap: balance; font-optical-sizing: auto; }
p, li, dd, figcaption { text-wrap: pretty; }
:where(a, button, summary, input, select, textarea):focus-visible { outline: 2px solid var(--c-signal-text); outline-offset: 3px; }
:where(.mp-section--deep, .mp-footer, .mp-band, .mp-cinema, [data-surface="deep"]) :where(a, button, summary):focus-visible { outline-color: var(--c-glow); }

/* Press answers on pointer-down: instant, small, transform only. */
:where(.mp-btn) { transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-micro) var(--ease), color var(--dur-micro) var(--ease), border-color var(--dur-micro) var(--ease); }
:where(.mp-btn):active { transform: scale(0.97); }

/* Smooth page-to-page navigation where the browser supports it; nothing happens elsewhere. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; animation-timing-function: var(--ease-out); }
/* A photograph shared by a hub card and the page it opens moves into its new frame. */
::view-transition-group(*) { animation-duration: 320ms; animation-timing-function: var(--ease-out); }
::view-transition-old(*), ::view-transition-new(*) { height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) {
    ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none; }
    :where(.mp-btn):active { transform: none; }
}
}
