/* Only CMFA content/asset adaptations. Shared visual values are in the
   unchanged local snapshots template-global.css and template-platforms.css. */
@layer components {
  .device-showcase{display:flex;flex-direction:column;align-items:center;gap:24px}
  .phone{order:-1;width:248px;height:464px;border:8px solid #303034;border-radius:40px;position:relative;background:#fff;flex-shrink:0}
  .phone::before{content:"";width:60px;height:7px;border-radius:5px;background:#303034;position:absolute;top:12px;left:50%;transform:translateX(-50%)}
  .placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;height:100%;padding:25px;text-align:center;color:var(--muted)}
  .placeholder>span{font-size:34px;color:var(--control)}.placeholder p{font-size:15px}.placeholder small{font-size:12px}
  .device-fact{color:var(--muted);font-size:16px;max-width:744px;text-align:center}
  .device-fact strong{color:var(--ink);margin-right:12px}
  .cmfa-one-platform{grid-template-columns:1fr}
  .specs{display:flex;flex-wrap:wrap;gap:20px 45px;margin-top:21px;color:var(--muted);font-size:14px}
  .specs dt{font-weight:600}.specs dd{margin-top:5px}
  .cmfa-footer-notice{font-size:12px;color:var(--muted);margin-top:10px}
  .cmfa-download-title{font-size:43px;text-align:center;margin-bottom:32px}
  .cmfa-download-wrap{max-width:916px;margin-top:24px}
  .package-list li{flex-wrap:wrap}.package-description{flex:1;min-width:180px}
  .package-meta{flex-basis:100%;order:2}
  .package-meta .file{font-size:13px;overflow-wrap:anywhere}
  .package-digest{flex-basis:100%;order:3;font-size:13px}
  .package-digest summary{display:inline-flex;min-height:44px;align-items:center;text-decoration:underline;text-underline-offset:3px}
  .package-digest p{font-size:14px;color:var(--muted)}
  .package-digest code{display:block;overflow-wrap:anywhere;white-space:normal;padding-block:8px}
  .package-list .button{font-size:14px;min-width:122px;padding-inline:14px}
  .notice{background:var(--surface);border-radius:16px;padding:16px 20px;font-size:16px;color:var(--muted)}
  .cmfa-prose section{margin-top:32px}.cmfa-prose section h2{font-size:31px;line-height:1.5;margin-bottom:15px}
  .cmfa-prose section p{font-size:18px;line-height:1.85;margin-bottom:21px}
  .cmfa-prose li,.guide-article li{margin-block:9px}
  .cmfa-prose a:not(.button),.guide-article a:not(.button){color:var(--blue);text-decoration:underline;text-underline-offset:3px}
  .source-links{font-size:15px}
  .faq-list>.faq{border-bottom:1px solid var(--line);padding-block:22px}
  .faq-list .faq summary{min-height:44px}
  .guide-article>h2{font-size:31px;line-height:1.5;margin-top:32px;margin-bottom:15px}
  .guide-article>.source-links{margin-top:16px}
  /* Preserve the header navigation and visible-name relationship.
     CMFA abbreviation prevents the verified long product name overlapping nav. */
  .brand img{flex-shrink:0}
}
@layer responsive {
  @media(max-width:850px){.specs{gap:18px 30px}}
  @media(max-width:600px){
    .phone{width:218px;height:410px}
    .device-fact{font-size:14px}.device-fact strong{display:block;margin-right:0;margin-bottom:6px}
    .cmfa-download-title{font-size:30px;line-height:1.5;margin-bottom:25px}
    .cmfa-prose section h2,.guide-article>h2{font-size:25px;line-height:1.6}
    .cmfa-prose section p{font-size:16px;line-height:1.85}
    .package-description{min-width:0;flex-basis:100%}
    .package-meta{order:0}.package-list .button{width:100%;order:2}.package-digest{order:3}
    .notice{font-size:14px}.specs{flex-direction:column}
    .cmfa-footer-notice{margin-top:16px}
  }
}
