@font-face {
  font-family: MC Museo;
  src: url("../../demo/curva/assets/MuseoModerno.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: MC Museo;
  src: url("../../public/fonts/museomoderno/MuseoModerno-G-ss01.woff2") format("woff2");
  font-weight: 100 900;
  unicode-range: U+0047;
  font-display: swap;
}
@font-face {
  font-family: MC Comfortaa;
  src: url("../../demo/curva/assets/Comfortaa.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --mc-ink: #202123;
  --mc-paper: #f8f7f2;
  --mc-white: #fdfcf8;
  --mc-lilac: #d9ccee;
  --mc-purple: #60429a;
  --mc-muted: #56575b;
  --mc-rule: #d9d7d2;
  --mc-display: "MC Museo", "Arial Rounded MT Bold", system-ui, sans-serif;
  --mc-body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mc-round: "MC Comfortaa", var(--mc-body);
}
html:lang(zh-Hant) {
  --mc-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --mc-display: "MC Museo", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
}
/* Design D7: these pages also load the site's shared stylesheets (Tailwind preflight in /dist/output.css,
   lese-theme.css, lese-reskin.css) for the shared header and footer. Inside <main>, fall back to the browser
   defaults this design was drawn on; zero specificity and placed before every MIDI Canvas rule, so those still win. */
:where(.mc-page main, .mc-page main *) { all: revert; }
:where(.mc-page main *)::before, :where(.mc-page main *)::after { all: revert; }
* { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
.mc-page { margin: 0; background: var(--mc-paper); }
/* D7: text colour and font on the page body (not <body>), so the shared header and footer keep the site's own. */
.mc-page > main, .mc-skip { color: var(--mc-ink); font: 400 1rem/1.55 var(--mc-body); -webkit-font-smoothing: antialiased; }
.mc-page [hidden] { display: none !important; }
.mc-page :where(main) img { display: block; max-width: 100%; }
.mc-page :where(main) a { color: inherit; text-underline-offset: .21em; }
.mc-page :where(main) a:hover { text-decoration-thickness: 2px; }
.mc-page :where(main) button { color: inherit; font: inherit; cursor: pointer; }
.mc-page :where(main) :focus-visible { outline: 3px solid #7041b1; outline-offset: 4px; }
.mc-page :where(main) ::selection { background: #cfc0ed; color: #202123; }
.mc-wrap { width: min(100% - clamp(32px, 8vw, 112px), 1216px); margin: 0 auto; }
.mc-skip { position: absolute; z-index: 20; top: .4rem; left: .6rem; transform: translateY(-180%); padding: .6rem 1rem; border-radius: .5rem; background: white; }
.mc-skip:focus { transform: none; }
.mc-top { border-bottom: 1px solid var(--mc-rule); position: relative; z-index: 2; background: var(--mc-paper); }
.mc-nav, .mc-brand, .mc-nav nav, .mc-foot nav { display: flex; align-items: center; }
.mc-nav { min-height: 64px; justify-content: space-between; gap: 15px; }
.mc-nav .mc-brand, .mc-nav nav { flex-shrink: 0; }
.mc-brand { gap: .43rem; font: 720 1.13rem/1 var(--mc-display); white-space: nowrap; }
.mc-brand img { width: 32px; height: 32px; object-fit: contain; }
.mc-brand, .mc-nav nav a { text-decoration: none; }
.mc-nav nav { gap: clamp(12px, 2.7vw, 34px); }
.mc-nav nav a { padding: .45rem 0; font-size: .92rem; font-weight: 550; white-space: nowrap; }
.mc-nav nav a:hover, .mc-foot nav a:hover { color: var(--mc-purple); text-decoration: underline; }
.mc-nav nav a[aria-current="page"] { color: var(--mc-purple); }
.mc-page :where(main) h1, .mc-page :where(main) h2, .mc-page :where(main) h3, .mc-page :where(main) h4 { text-wrap: balance; margin: 0; }
.mc-page :where(main) figure, .mc-page :where(main) p { margin: 0; }
.mc-page :where(main) h1, .mc-page :where(main) h2, .mc-page :where(main) h3 { font-family: var(--mc-display); }
.mc-page :where(main) h2 { font-weight: 710; font-size: clamp(2.25rem, 5vw, 4.3rem); line-height: 1.035; letter-spacing: -.053em; }
.mc-page :where(main) h3 { font-weight: 670; font-size: clamp(1.5rem, 2.5vw, 2.3rem); line-height: 1.14; letter-spacing: -.035em; }
.mc-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 47px; padding: .7rem 1.35rem; border-radius: 100px; background: var(--mc-ink); color: #fff !important; border: 1px solid var(--mc-ink); text-decoration: none; font-weight: 650; font-size: 1rem; }
.mc-btn:hover { background: #403052; }
.mc-link { font-size: 1rem; font-weight: 600; }
.mc-small { color: var(--mc-muted); font-size: .93rem; }
.mc-icon { width: 1.05em; height: 1.05em; display: inline-block; flex: none; vertical-align: -.16em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mc-hero { background: #e8dff3; border-bottom: 1px solid #c7b8d9; }
.mc-hero-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(22px, 4.5vw, 72px); padding-block: clamp(52px, 6.5vw, 108px); }
.mc-hero-copy { min-width: 0; }
.mc-format { display: inline-flex; align-items: center; gap: .65rem; font: 650 .86rem/1.25 var(--mc-round); color: #493a56; margin-bottom: 1.35rem; }
.mc-format::before { content: ""; width: 1.65rem; border-top: 2px solid currentColor; }
.mc-hero h1 { font-size: clamp(4.1rem, 7.6vw, 8rem); font-weight: 795; line-height: .9; letter-spacing: -.072em; }
.mc-hero h1 span { display: block; }
.mc-hero-copy > p { margin-top: clamp(19px, 2.4vw, 31px); max-width: 35ch; font-size: clamp(1.08rem, 1.53vw, 1.38rem); line-height: 1.43; letter-spacing: -.018em; color: #3a3540; }
.mc-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 1.55rem; }
.mc-hero .mc-link { color: #30283b; }
.mc-compare { min-width: 0; }
.mc-compare-frame { background: #f7f6fa; border: 1px solid #a59ab2; border-radius: 11px; box-shadow: 0 1px 2px #31253c12, 0 15px 40px -22px #4434548c; overflow: hidden; }
.mc-compare-frame img { width: 100%; height: auto; aspect-ratio: 1000/680; object-fit: contain; }
.mc-compare figcaption { margin: .95rem 0 0; min-height: 39px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mc-compare figcaption > span { font: 650 .92rem/1.35 var(--mc-round); color: #45384e; }
.mc-switch { display: inline-flex; align-items: center; padding: 3px; gap: 2px; border: 1px solid #b3a5c2; border-radius: 100px; }
.mc-switch button { background: transparent; border: 0; padding: .4rem .9rem; border-radius: 100px; font-size: .88rem; font-weight: 650; line-height: 1.35; }
.mc-switch button[aria-pressed="true"] { color: white; background: var(--mc-ink); }
.mc-photo-intro { display:grid; grid-template-columns:minmax(0,1fr) minmax(285px,.68fr); align-items:center; gap:clamp(25px,5.5vw,90px); padding-block:clamp(28px,4vw,60px); }
.mc-photo-intro .mc-format { margin-bottom:.7rem; }
.mc-hero .mc-photo-intro h1 { font-size:clamp(3.7rem,6.8vw,6.6rem); line-height:.98; }
.mc-photo-pitch p { max-width:39ch; color:#38303f; font-size:clamp(1.08rem,1.52vw,1.36rem); line-height:1.4; letter-spacing:-.02em; }
.mc-photo-pitch .mc-actions { margin-top:1rem; gap:12px 22px; }
.mc-photo-pitch .mc-btn { min-height:42px; padding:.55rem 1.15rem; }
.mc-pets { padding-bottom:clamp(30px,4vw,60px); scroll-margin-top:18px; }
.mc-pets-bar { display:flex; align-items:center; justify-content:space-between; gap:12px 24px; flex-wrap:wrap; border-top:1px solid #bfb1cd; padding-block:17px; }
.mc-pets-bar h2 { font-size:clamp(1.35rem,2.1vw,1.9rem); letter-spacing:-.04em; }
.mc-pets-title p { margin-top:.25rem; color:#4f4657; font-size:.95rem; }
.mc-pet-picker { display:flex; flex-wrap:wrap; align-items:center; gap:5px 9px; }
.mc-pet-picker button { display:inline-flex; align-items:center; gap:7px; padding:3px 9px 3px 3px; min-height:36px; background:transparent; border:1px solid transparent; border-radius:40px; font-size:.93rem; font-weight:620; line-height:1.1; }
.mc-pet-picker button img { width:30px; height:30px; object-fit:cover; border-radius:50%; background:#c4b8ce; }
.mc-pet-picker button:hover { background:#e0d3ec; }
.mc-pet-picker button[aria-selected="true"] { border-color:#786191; background:#f8f4fc; }
/* D12 / D13: four sample groups, each with its own row of sample tabs; each tab shows a 96 px thumbnail at 48 px (the full
   photos load only for the selected sample). */
.mc-group-picker { display:flex; flex-wrap:wrap; gap:4px; padding:4px; border:1px solid #c9bdd4; border-radius:100px; background:#f3edf8; }
.mc-group-picker button { display:inline-flex; align-items:center; gap:8px; min-height:36px; padding:8px 16px; border:0; border-radius:100px; background:transparent; color:#493a56; font-size:.93rem; font-weight:650; line-height:1.25; }
.mc-group-picker button:hover { background:#e0d3ec; }
.mc-group-picker button[aria-selected="true"] { background:#493855; color:#fff; }
.mc-group-count { font-size:.78rem; font-weight:600; opacity:.8; }
.mc-group-panel { padding-bottom:16px; }
.mc-group-panel .mc-pet-picker button { gap:8px; padding:4px 16px 4px 4px; }
.mc-group-panel .mc-pet-picker button img { width:48px; height:48px; }
.mc-static-group { font-weight:700; }
.mc-pet-note { margin-top:8px; color:#5d5265; font-size:.84rem; }
.mc-static-picker { display:flex; flex-wrap:wrap; gap:7px 15px; font-size:.93rem; }
.mc-pet-mobile { display:none; align-items:center; gap:7px; }
.mc-pet-mobile label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.mc-pet-mobile span { position:relative; }
.mc-pet-mobile span::after { content:""; position:absolute; right:12px; top:calc(50% - 4px); width:6px; height:6px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); pointer-events:none; }
.mc-pet-mobile select { appearance:none; color:var(--mc-ink); background:#f8f4fc; border:1px solid #8c799e; border-radius:7px; font:600 .91rem/1.3 var(--mc-body); padding:7px 29px 7px 9px; }
.mc-pet-panel { min-width:0; scroll-margin-top:65px; }
.mc-pet-panel + .mc-pet-panel { margin-top:32px; }
.js .mc-pet-panel + .mc-pet-panel { margin-top:0; }
.mc-pet-visuals { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(10px,1.6vw,22px); }
.mc-pet-figure { min-width:0; border:1px solid #b8adbf; border-radius:12px; overflow:hidden; background:#f8f5fb; }
.mc-pet-figure figcaption { display:flex; gap:6px 10px; justify-content:space-between; align-items:center; padding:7px 12px; min-height:41px; font-size:.88rem; line-height:1.25; }
.mc-pet-figure figcaption > strong { font-weight:650; }
.mc-pet-figure figcaption small { font-size:.86rem; color:#5d5265; }
.mc-pet-frame { aspect-ratio:8 / 5; background:#e2ddd5; border-top:1px solid #d3cad9; }
.mc-pet-frame img { width:100%; height:100%; object-fit:contain; }
.mc-pet-output .mc-pet-frame { background:#222028; }
.mc-pet-summary { padding-top:15px; }
.mc-pet-byline { display:flex; align-items:baseline; flex-wrap:wrap; gap:2px 15px; }
.mc-pet-summary h3 { font-size:clamp(1.4rem,2.4vw,2.05rem); letter-spacing:-.04em; }
.mc-pet-summary .mc-pet-tip { margin-top:5px; max-width:76ch; color:#443b4c; }
.mc-credit { color:#594d61; font-size:.84rem; }
.mc-credit a { text-decoration-thickness:1px; }
.mc-photo-guide { padding-block:clamp(42px,5vw,75px); border-bottom:1px solid var(--mc-rule); }
.mc-photo-guide-layout { display:grid; grid-template-columns:minmax(0,.87fr) minmax(0,1fr); gap:clamp(24px,6vw,82px); align-items:center; }
.mc-photo-guide-layout h2 { font-size:clamp(2.1rem,4vw,3.8rem); }
.mc-photo-guide ol { padding-left:1.45rem; margin:1rem 0; max-width:57ch; color:#4c4a50; }
.mc-photo-guide li { padding-left:.2rem; }
.mc-photo-guide li + li { margin-top:.65rem; }
.mc-photo-guide li::marker { color:var(--mc-purple); font-weight:700; }
.mc-photo-guide strong { color:var(--mc-ink); }
.mc-photo-guide a { color:var(--mc-purple); font-weight:640; }
.mc-photo-pitch .mc-scale-jump { text-decoration-color:#78638d; text-decoration-thickness:1px; }
.mc-scale { background:#233034; color:#f4f3ee; padding-block:clamp(42px,5.2vw,78px); }
.mc-scale-layout { display:grid; grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr); grid-template-areas:"intro player" "guide player"; gap:22px clamp(34px,6.5vw,96px); }
.mc-scale-intro { grid-area:intro; align-self:end; }
.mc-scale-intro h2 { font-size:clamp(2.5rem,4.7vw,4.45rem); }
.mc-scale-intro > p { margin-top:1rem; max-width:41ch; font-size:clamp(1.07rem,1.5vw,1.27rem); line-height:1.5; color:#e4e9e6; }
.mc-scale-source { display:inline-flex; align-items:center; gap:11px; margin-top:18px; text-decoration:none; }
.mc-scale-source img { width:50px; height:50px; border-radius:8px; object-fit:cover; }
.mc-scale-source strong,.mc-scale-source small { display:block; }
.mc-scale-source strong { text-decoration:underline; font-size:1rem; }
.mc-scale-source small { color:#c7d4d0; font-size:.87rem; }
.mc-scale-guide { grid-area:guide; align-self:start; }
.mc-scale-guide p { max-width:49ch; color:#d8e0dc; }
.mc-scale-guide p + p { margin-top:.65rem; }
.mc-scale-guide strong { color:#f4f3ee; }
.mc-scale-links,.mc-feature-related,.mc-scale-fallback { display:flex; flex-wrap:wrap; gap:6px 19px; }
.mc-scale-links { margin-top:1rem; }
.mc-scale-links a,.mc-scale-fallback a { color:#c5e6d6; font-weight:600; }
.mc-feature-related a { color:var(--mc-purple); font-weight:650; }
.mc-scale-player { grid-area:player; align-self:center; min-width:0; }
.mc-scale-picker { display:flex; flex-wrap:wrap; gap:4px; padding:3px; width:fit-content; max-width:100%; border:1px solid #71847f; border-radius:11px; margin-bottom:11px; }
.mc-scale-picker button { border:0; border-radius:7px; background:transparent; padding:7px 12px; font-size:.94rem; font-weight:610; line-height:1.25; }
.mc-scale-picker button[aria-selected="true"] { background:#cae6d8; color:#243432; }
.mc-scale-picker button:hover:not([aria-selected="true"]) { background:#3c4d4e; }
.mc-scale :focus-visible { outline-color:#d8c5f6; }
.mc-scale-fallback { margin-bottom:12px; }
.mc-scale-panel { scroll-margin-top:50px; }
.mc-scale-panel + .mc-scale-panel { margin-top:28px; }
.js .mc-scale-panel + .mc-scale-panel { margin-top:0; }
.mc-scale-panel > img { width:100%; height:auto; aspect-ratio:8/5; object-fit:contain; border:1px solid #6b7c7a; border-radius:9px; background:#172326; }
.mc-scale-result { margin-top:11px; display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 12px; }
.mc-scale-result h3 { font-size:clamp(1.35rem,2.1vw,1.75rem); }
.mc-scale-result span,.mc-scale-pitches { color:#c8d6d1; font-size:.94rem; }
.mc-scale-listen { display:flex; align-items:center; flex-wrap:wrap; gap:8px 16px; margin-top:9px; }
.mc-scale-listen audio { width:100%; max-width:290px; height:35px; color-scheme:light; }
.mc-scale-listen a { color:#cee9dd; font-size:.94rem; font-weight:650; }
.mc-scale-player .mc-scale-timing { margin-top:9px; max-width:68ch; color:#c1cdca; font-size:.88rem; line-height:1.45; }
.mc-orbit-example { margin:.8rem 0 0; max-width:600px; border-top:1px solid #c4cabb; }
.mc-orbit-example > summary { cursor:pointer; padding:9px 0; font-weight:640; width:fit-content; }
.mc-orbit-example .mc-compare { margin-top:5px; border:0; background:transparent; }
.mc-export .mc-orbit-example .mc-compare-frame { border-color:#a5aaa1; }
.mc-orbit-example .mc-compare figcaption { margin-top:7px; }
.mc-atelier { padding-block: clamp(52px, 6vw, 84px); }
.mc-section-head { margin-bottom: clamp(26px, 4vw, 45px); display: flex; align-items: end; justify-content: space-between; gap: 33px; }
.mc-section-head > p { max-width: 38ch; font-size: 1.04rem; color: var(--mc-muted); }
.mc-feature-picker { display: grid; gap: 14px; grid-template-columns: repeat(4,minmax(0,1fr)); margin-bottom: 22px; }
.mc-feature-picker button { border: none; border-top: 2px solid #c7c4c4; padding: .8rem 0; text-align: left; font-size: 1.03rem; font-weight: 620; background: transparent; color: #66616a; }
.mc-feature-picker button[aria-selected="true"] { border-color: var(--mc-purple); color: var(--mc-purple); }
.mc-feature-picker button:hover { color: var(--mc-purple); }
.mc-feature-panel { display: grid; grid-template-columns: minmax(0,1.28fr) minmax(0,.72fr); align-items: center; gap: clamp(28px, 5vw, 85px); }
.mc-feature-panel + .mc-feature-panel { margin-top: 36px; }
.js .mc-feature-panel + .mc-feature-panel { margin-top: 0; }
.mc-feature-copy { max-width: 40ch; }
.mc-feature-copy > p { margin-block: .9rem; color: #4d4d51; font-size: 1.07rem; }
.mc-feature-copy > a, .mc-export-copy > a { display: inline-block; color: var(--mc-purple); font-weight: 650; margin-top: .22rem; }
.mc-demo { position: relative; background: #efedf2; overflow: hidden; border: 1px solid var(--mc-rule); border-radius: 12px; min-width: 0; }
.mc-demo > img { width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: contain; }
.mc-motion-bar { display: flex; align-items: center; justify-content: space-between; background: #eeecf0; border-top: 1px solid #dcd8e0; padding: 7px 10px 7px 14px; gap: 8px; min-height: 43px; color: #514b57; font-size: .85rem; }
.mc-motion-bar button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; min-height: 32px; border: 1px solid #bdb7c2; border-radius: 100px; background: #fbfafd; color: var(--mc-ink); font-size: .83rem; font-weight: 650; }
.mc-motion-bar button:hover { background: #e4d9f3; }
.mc-motion-letter { display: block; width: .65rem; height: .65rem; background: currentColor; clip-path: polygon(10% 0,100% 50%,10% 100%); }
.mc-motion-bar button[aria-pressed="true"] .mc-motion-letter { clip-path: inset(8%); }
.mc-export { padding-block: clamp(48px, 6vw, 84px); background: #e8e9e2; border-block: 1px solid #d1d3ca; }
.mc-export-grid { display: grid; align-items: center; gap: clamp(26px,6vw,100px); grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); }
.mc-export-copy h2 { max-width: 12ch; }
.mc-export-copy > p { color:#454943; font-size:1.08rem; margin:1.05rem 0; max-width:42ch; }
.mc-export-copy .mc-example-meta { color:#555c54; font-size:.88rem; margin:3px 0 .65rem; }
.mc-export figure { overflow:hidden; border:1px solid #c0c6ba; border-radius:10px; background:#f6f6f3; }
.mc-export figure > img { width:100%; height:auto; aspect-ratio:3/2; object-fit:contain; }
.mc-purchase { background:#202426; color:#f8f7f2; padding-block:clamp(48px,7vw,90px); }
.mc-purchase-grid { display:grid; gap:clamp(28px,7vw,108px); grid-template-columns:minmax(0,.72fr) minmax(0,1fr); }
.mc-purchase h2 { font-size:clamp(2rem,3.6vw,3.4rem); }
.mc-price { display:block; margin-top:.8rem; color:#d9ccee; font:760 clamp(4.2rem,8vw,7rem)/1 var(--mc-display); letter-spacing:-.075em; }
.mc-price small { font:600 .92rem/1.3 var(--mc-body); letter-spacing:0; color:#efedf4; display:inline-block; vertical-align:middle; margin-left:.45rem; }
.mc-purchase-grid > div:first-child > p { margin-top:1.05rem; color:#d2d4d3; max-width:42ch; }
.mc-specs { display:grid; grid-template-columns:max-content 1fr; align-self:start; gap:0 25px; margin:0; font-size:.98rem; }
.mc-specs dt,.mc-specs dd { margin:0; padding:.62rem 0; border-bottom:1px solid #45494a; }
.mc-specs dt { color:#c5c5c9; }
.mc-specs dd { color:#fff; }
.mc-purchase-links { display:flex; gap:22px; flex-wrap:wrap; margin-top:1.25rem; }
.mc-purchase a { color:#e7def5; font-weight:600; }
.mc-purchase .mc-btn-soon, .mc-purchase .mc-btn-soon:hover { margin-top:1.5rem; background:transparent; border-color:#74777b; color:#d2d4d3 !important; cursor:not-allowed; }
.mc-foot { border-top:1px solid var(--mc-rule); }
.mc-foot .mc-wrap { display:flex; justify-content:space-between; align-items:center; gap:16px; min-height:88px; padding-block:20px; }
.mc-foot nav { gap:clamp(15px,2.8vw,35px); flex-wrap:wrap; }
.mc-foot nav a { font-size:.91rem; font-weight:550; }

.mc-doc-hero { padding:clamp(40px,5.6vw,74px) 0; background:#e8dff3; border-bottom:1px solid #c9bed5; }
.mc-doc-hero h1 { font:740 clamp(2.8rem,6.7vw,6.6rem)/1.02 var(--mc-display); letter-spacing:-.063em; }
.mc-doc-hero p { margin-top:.85rem; max-width:54ch; font-size:1.12rem; color:#493f52; }
.mc-doc-grid { display:grid; grid-template-columns:minmax(165px,.31fr) minmax(0,1fr); align-items:start; gap:clamp(28px,5vw,88px); padding-block:clamp(32px,5vw,64px); }
.mc-doc-index { position:sticky; top:24px; max-width:255px; }
.mc-doc-index p { font:650 1.03rem/1.3 var(--mc-display); margin-bottom:.68rem; }
.mc-doc-index nav { display:grid; }
.mc-doc-index nav a { border-left:2px solid #d5d0d8; padding:.35rem .8rem; color:#514e55; font-size:.92rem; text-decoration:none; line-height:1.45; }
.mc-doc-index nav a:hover,.mc-doc-index nav a[aria-current="location"] { border-left-color:var(--mc-purple); color:var(--mc-purple); background:#eeeaf0; }
.mc-doc-body { max-width:850px; min-width:0; }
.mc-doc-body > section { padding-bottom:clamp(32px,4.3vw,62px); margin-bottom:clamp(32px,4.3vw,62px); border-bottom:1px solid var(--mc-rule); }
.mc-doc-body h2 { font-size:clamp(2rem,3.5vw,3.05rem); line-height:1.1; }
.mc-doc-body h3 { font-size:clamp(1.18rem,2vw,1.55rem); margin:1.7rem 0 .5rem; letter-spacing:-.025em; }
.mc-doc-body p, .mc-doc-body ol, .mc-doc-body ul { max-width:72ch; margin-top:.8rem; }
.mc-doc-body li + li { margin-top:.42rem; }
.mc-doc-body ol,.mc-doc-body ul { padding-left:1.35rem; }
.mc-doc-body strong { font-weight:650; }
.mc-doc-body a { color:var(--mc-purple); }
.mc-doc-body figure { max-width:700px; margin-top:1.25rem; }
.mc-doc-body .mc-caption { color:#5c5860; font-size:.9rem; margin-top:.5rem; }
.mc-doc-shot { border-radius:10px; border:1px solid #d1cdd5; width:100%; height:auto; }
.mc-doc-shot.mc-doc-dialog { max-width:438px; border-radius:16px; }
.mc-doc-body dl { margin:1rem 0 0; }
.mc-doc-body dl > div { display:grid; grid-template-columns:minmax(105px,.38fr) minmax(0,1fr); gap:clamp(16px,3vw,36px); padding:.69rem 0; border-top:1px solid var(--mc-rule); }
.mc-doc-body dt { font-weight:650; }
.mc-doc-body dd { margin:0; }
.mc-doc-body details { border-bottom:1px solid var(--mc-rule); }
.mc-doc-body details summary { cursor:pointer; padding:.85rem 0; font-weight:640; }
.mc-doc-body details > p { margin:0 0 1rem; }
.mc-doc-body kbd { display:inline-block; padding:0 .33em; background:#f1f0ed; border:1px solid #d6d3d7; border-radius:4px; font:500 .85em/1.4 var(--mc-body); }
.mc-doc-body code { font-size:.92em; overflow-wrap:anywhere; }
.mc-doc-body .mc-doc-pager { display:flex; flex-wrap:wrap; gap:1rem 1.5rem; margin-top:-12px; }
html:lang(zh-Hant) .mc-page > main { line-height:1.65; }
html:lang(zh-Hant) .mc-page :is(h2, h3), html:lang(zh-Hant) .mc-doc-hero h1 { line-height:1.2; letter-spacing:-.02em; }
html:lang(zh-Hant) .mc-photo-pitch p { line-height:1.55; letter-spacing:0; }
html:lang(zh-Hant) .mc-motion-bar button { flex-shrink:0; }
@media (min-width:561px) and (max-width:800px) {
  .mc-nav nav { flex-shrink:1; flex-wrap:wrap; justify-content:flex-end; row-gap:0; }
}
@media(max-width:800px) {
  .mc-scale-layout { column-gap:24px; }
  .mc-scale-picker button { padding:7px 9px; font-size:.89rem; }
  .mc-photo-intro { grid-template-columns:minmax(0,.9fr) minmax(0,1fr); gap:22px; }
  .mc-pets-bar { align-items:flex-start; }
  .mc-pet-picker { gap:4px; }
  .mc-pet-picker button { font-size:.85rem; }
  .mc-photo-guide-layout { gap:24px; }
  .mc-hero-layout { grid-template-columns:minmax(0,.72fr) minmax(0,1fr); gap:25px; }
  .mc-hero h1 { font-size:clamp(3.65rem,8.8vw,5rem); }
  .mc-hero-copy > p { font-size:1.06rem; }
  .mc-feature-panel,.mc-export-grid { gap:24px; }
  .mc-section-head { align-items:start; }
  .mc-doc-grid { grid-template-columns:160px minmax(0,1fr); gap:24px; }
}
@media(max-width:660px) {
  .mc-scale-layout { grid-template-columns:minmax(0,1fr); grid-template-areas:"intro" "player" "guide"; row-gap:18px; }
  .mc-scale-source { margin-top:12px; }
  .mc-photo-intro { grid-template-columns:1fr; gap:13px; padding-block:27px 19px; }
  .mc-hero .mc-photo-intro h1 { font-size:clamp(2.85rem,12.2vw,4.5rem); }
  .mc-photo-pitch .mc-actions { margin-top:11px; gap:10px 16px; }
  .mc-pets-bar { gap:9px; padding:11px 0; }
  .mc-pets-bar { align-items:center; }
  .mc-pets-bar h2 { font-size:1.38rem; }
  .mc-pet-picker { display:none; }
  .mc-group-picker { display:none; }
  .mc-group-panel { padding-bottom:0; }
  .mc-pet-mobile { display:flex; }
  .mc-pet-figure { border-radius:8px; }
  .mc-pet-figure figcaption { flex-wrap:wrap; justify-content:flex-start; min-height:42px; padding:5px 8px; }
  .mc-pet-output figcaption { justify-content:space-between; }
  .mc-photo-guide-layout { grid-template-columns:1fr; gap:15px; }
  .mc-pet-summary { padding-top:13px; }
  .mc-nav { min-height:55px; }
  .mc-brand { font-size:1rem; gap:.28rem; }
  .mc-brand img { width:27px;height:27px; }
  .mc-nav nav { gap:14px; }
  .mc-nav nav a { font-size:.84rem; }
  .mc-hero-layout,.mc-feature-panel,.mc-export-grid,.mc-purchase-grid,.mc-doc-grid { grid-template-columns:minmax(0,1fr); }
  .mc-hero-layout { padding-block:36px; gap:27px; }
  .mc-hero h1 { font-size:clamp(3.55rem,12vw,4.65rem); }
  .mc-hero h1 span { display:inline; }
  .mc-hero h1 span + span::before { content:" "; }
  .mc-format { margin-bottom:.65rem; }
  .mc-hero-copy > p { max-width:44ch; margin-top:16px; }
  .mc-actions { margin-top:18px; gap:17px; }
  .mc-compare figcaption { margin-top:9px; }
  .mc-section-head { display:block; margin-bottom:22px; }
  .mc-section-head > p { margin-top:12px; max-width:48ch; }
  .mc-feature-picker { gap:8px; margin-bottom:13px; }
  .mc-feature-picker button { font-size:.91rem; text-align:center; }
  .mc-feature-panel { gap:20px; }
  .mc-feature-copy,.mc-export-copy { max-width:49ch; }
  .mc-export-copy h2 { max-width:15ch; }
  .mc-foot .mc-wrap { flex-wrap:wrap; }
  .mc-foot nav { gap:14px; }
  .mc-doc-index { position:static; max-width:none; padding-bottom:22px; border-bottom:1px solid var(--mc-rule); }
  .mc-doc-index nav { grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:2px; }
  .mc-doc-index nav a { padding:.27rem .6rem; font-size:.88rem; }
  .mc-doc-body dl > div { grid-template-columns:minmax(85px,.35fr) minmax(0,1fr); }
}
@media(max-width:560px) {
  .mc-pet-visuals { grid-template-columns:minmax(0,1fr); gap:10px; }
  .mc-pet-figure figcaption { justify-content:space-between; min-height:36px; }
  .mc-nav { flex-direction:column; align-items:flex-start; justify-content:center; gap:12px; padding-block:12px 6px; }
  .mc-nav nav { width:100%; flex-wrap:wrap; column-gap:clamp(12px,3.6vw,20px); row-gap:4px; }
  .mc-nav nav a { padding:.25rem 0; line-height:1.4; }
}
@media(max-width:380px) {
  .mc-scale-picker { gap:1px; }
  .mc-scale-picker button { padding:7px 5px; font-size:.81rem; }
  .mc-pets-bar h2 { font-size:1.15rem; }
  .mc-price-more { display:none; }
  .mc-nav nav { column-gap:9px; }
  .mc-nav nav a { font-size:.8rem; }
  .mc-compare figcaption { flex-wrap:wrap; }
}

/* Design D7: lese-reskin.css (shared) styles <body>, headings and links of every page with !important or
   high-specificity rules. The shared header and footer take its body colour and font; the MIDI Canvas page body
   keeps its own. The shared header is fixed, 56 px tall (h-14) plus its 1 px bottom border, so the page starts below
   it; <body> is a flow root so that margin does not collapse through it and move the header down too. */
body.mc-page { background: var(--mc-paper) !important; display: flow-root; }
.mc-page > main { margin-top: calc(3.5rem + 1px); color: var(--mc-ink); font-family: var(--mc-body); }
.mc-page main ::selection { background: #cfc0ed !important; color: #202123 !important; }

/* ---- D7 guard: begin ---- */
/* Design D7: lese-reskin.css (shared) sets heading fonts and h1/h2 letter-spacing with !important and colours
   every `main a[href]` blue. These are !important copies of this file's own color / font-family / letter-spacing
   declarations, same selectors and order, so the MIDI Canvas body keeps its design. Regenerate after editing the
   rules above; tests/browser/midi-canvas-pages.browser.mjs compares computed styles with and without the shared CSS. */
.mc-skip { color: var(--mc-ink) !important; font-family: var(--mc-body) !important; }
.mc-page :where(main) a { color: inherit !important; }
.mc-page :where(main) button { color: inherit !important; font-family: inherit !important; }
.mc-page :where(main) ::selection { color: #202123 !important; }
.mc-brand { font-family: var(--mc-display) !important; }
.mc-nav nav a:hover, .mc-foot nav a:hover { color: var(--mc-purple) !important; }
.mc-nav nav a[aria-current="page"] { color: var(--mc-purple) !important; }
.mc-page :where(main) h1, .mc-page :where(main) h2, .mc-page :where(main) h3 { font-family: var(--mc-display) !important; }
.mc-page :where(main) h2 { letter-spacing: -.053em !important; }
.mc-page :where(main) h3 { letter-spacing: -.035em !important; }
.mc-small { color: var(--mc-muted) !important; }
.mc-format { font-family: var(--mc-round) !important; color: #493a56 !important; }
.mc-hero h1 { letter-spacing: -.072em !important; }
.mc-hero-copy > p { letter-spacing: -.018em !important; color: #3a3540 !important; }
.mc-hero .mc-link { color: #30283b !important; }
.mc-compare figcaption > span { font-family: var(--mc-round) !important; color: #45384e !important; }
.mc-switch button[aria-pressed="true"] { color: white !important; }
.mc-photo-pitch p { color: #38303f !important; letter-spacing: -.02em !important; }
.mc-pets-bar h2 { letter-spacing: -.04em !important; }
.mc-pets-title p { color: #4f4657 !important; }
.mc-group-picker button { color: #493a56 !important; }
.mc-group-picker button[aria-selected="true"] { color: #fff !important; }
.mc-pet-note { color: #5d5265 !important; }
.mc-pet-mobile select { color: var(--mc-ink) !important; font-family: var(--mc-body) !important; }
.mc-pet-figure figcaption small { color: #5d5265 !important; }
.mc-pet-summary h3 { letter-spacing: -.04em !important; }
.mc-pet-summary .mc-pet-tip { color: #443b4c !important; }
.mc-credit { color: #594d61 !important; }
.mc-photo-guide ol { color: #4c4a50 !important; }
.mc-photo-guide li::marker { color: var(--mc-purple) !important; }
.mc-photo-guide strong { color: var(--mc-ink) !important; }
.mc-photo-guide a { color: var(--mc-purple) !important; }
.mc-scale { color: #f4f3ee !important; }
.mc-scale-intro > p { color: #e4e9e6 !important; }
.mc-scale-source small { color: #c7d4d0 !important; }
.mc-scale-guide p { color: #d8e0dc !important; }
.mc-scale-guide strong { color: #f4f3ee !important; }
.mc-scale-links a, .mc-scale-fallback a { color: #c5e6d6 !important; }
.mc-feature-related a { color: var(--mc-purple) !important; }
.mc-scale-picker button[aria-selected="true"] { color: #243432 !important; }
.mc-scale-result span, .mc-scale-pitches { color: #c8d6d1 !important; }
.mc-scale-listen a { color: #cee9dd !important; }
.mc-scale-player .mc-scale-timing { color: #c1cdca !important; }
.mc-section-head > p { color: var(--mc-muted) !important; }
.mc-feature-picker button { color: #66616a !important; }
.mc-feature-picker button[aria-selected="true"] { color: var(--mc-purple) !important; }
.mc-feature-picker button:hover { color: var(--mc-purple) !important; }
.mc-feature-copy > p { color: #4d4d51 !important; }
.mc-feature-copy > a, .mc-export-copy > a { color: var(--mc-purple) !important; }
.mc-motion-bar { color: #514b57 !important; }
.mc-motion-bar button { color: var(--mc-ink) !important; }
.mc-export-copy > p { color: #454943 !important; }
.mc-export-copy .mc-example-meta { color: #555c54 !important; }
.mc-purchase { color: #f8f7f2 !important; }
.mc-price { color: #d9ccee !important; font-family: var(--mc-display) !important; letter-spacing: -.075em !important; }
.mc-price small { font-family: var(--mc-body) !important; letter-spacing: 0 !important; color: #efedf4 !important; }
.mc-purchase-grid > div:first-child > p { color: #d2d4d3 !important; }
.mc-specs dt { color: #c5c5c9 !important; }
.mc-specs dd { color: #fff !important; }
.mc-purchase a { color: #e7def5 !important; }
.mc-doc-hero h1 { font-family: var(--mc-display) !important; letter-spacing: -.063em !important; }
.mc-doc-hero p { color: #493f52 !important; }
.mc-doc-index p { font-family: var(--mc-display) !important; }
.mc-doc-index nav a { color: #514e55 !important; }
.mc-doc-index nav a:hover, .mc-doc-index nav a[aria-current="location"] { color: var(--mc-purple) !important; }
.mc-doc-body h3 { letter-spacing: -.025em !important; }
.mc-doc-body a { color: var(--mc-purple) !important; }
.mc-doc-body .mc-caption { color: #5c5860 !important; }
.mc-doc-body kbd { font-family: var(--mc-body) !important; }
html:lang(zh-Hant) .mc-page :is(h2, h3), html:lang(zh-Hant) .mc-doc-hero h1 { letter-spacing: -.02em !important; }
html:lang(zh-Hant) .mc-photo-pitch p { letter-spacing: 0 !important; }
.mc-btn:not(#mc-d7-guard) { color: #fff !important; }
.mc-purchase .mc-btn-soon:not(#mc-d7-guard), .mc-purchase .mc-btn-soon:hover:not(#mc-d7-guard) { color: #d2d4d3 !important; }
/* ---- D7 guard: end ---- */
