/* Shared model detail pages: hardware metrics and model-specific resources. */
.dm-page { --dm-edge: color-mix(in srgb, var(--accent) 15%, var(--line)); }
.dm-page .tp-model-hero { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; padding-block: 40px 72px; }
.dm-page .tp-hero-copy { container-type: inline-size; }
.dm-title-line { display: flex; align-items: center; gap: clamp(7px,2cqi,13px); min-width: 0; margin-bottom: 22px; }
.dm-heading-mark { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: clamp(20px,6.2cqi,36px); height: clamp(24px,7.4cqi,43px); color: var(--text); }
.dm-heading-mark svg { display: block; width: 100%; height: 100%; }
.dm-page h1 { min-width: 0; max-width: none; margin: 0; font-size: clamp(21px,calc(var(--dm-title-scale,9) * 1cqi),48px); line-height: 1.18; white-space: nowrap; text-wrap: nowrap; overflow-wrap: normal; }
.dm-page .tp-lead { max-width: 520px; font-size: 17px; line-height: 1.75; text-wrap: pretty; }
.dm-highlights { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.6fr) minmax(0,1fr); gap: 22px 18px; margin: 26px 0 0; }
.dm-highlights > div { min-width: 0; }
.dm-highlights dt { margin-bottom: 7px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.dm-highlights dd { margin: 0; color: var(--text); font-size: clamp(20px, 2.1vw, 25px); font-weight: 650; line-height: 1.2; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.dm-copy-value > span { color: var(--muted); font-weight: 450; }
.dm-highlights small { margin-left: 5px; color: var(--muted); font-size: 12px; font-weight: 450; letter-spacing: 0; }
.dm-highlights .dm-device-fact dd { font-size: 19px; font-weight: 550; letter-spacing: -.02em; }
.topic-page .dm-copy { display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; border-radius: 5px; background: transparent; color: var(--text); font: inherit; letter-spacing: inherit; cursor: pointer; }
.dm-copy-value { white-space: nowrap; }
.dm-copy-symbol { position: relative; display: block; flex: 0 0 14px; width: 14px; height: 16px; color: var(--muted); transition: color 180ms ease; }
.dm-copy-symbol svg { position: absolute; inset: 0; width: 14px; height: 16px; transition: opacity 180ms ease, transform 220ms ease; }
.dm-copy-check { opacity: 0; transform: scale(.6); }
.dm-copy:hover .dm-copy-symbol { color: var(--accent); }
.dm-copy[data-copied="true"] .dm-copy-symbol { color: var(--accent); }
.dm-copy[data-copied="true"] .dm-copy-icon { opacity: 0; transform: scale(.6); }
.dm-copy[data-copied="true"] .dm-copy-check { opacity: 1; transform: scale(1); }
.dm-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.dm-jump-links { display: flex; flex-wrap: wrap; gap: 10px 19px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.dm-jump-links a { color: var(--accent); font-size: 13px; font-weight: 600; text-underline-offset: 5px; }
.dm-jump-links a:hover { text-decoration: underline; }
.dm-page .tp-device-picture { max-width: 440px; }
.dm-page .tp-model-visual { position: relative; width: 100%; height: 400px; }
.tp-model-front { position: absolute; inset: 0 28px; display: block; width: calc(100% - 56px); height: 100%; object-fit: contain; filter: drop-shadow(0 14px 18px #18122b16); }
/* Single native frames open along a softly illuminated horizontal seam. */
.dm-page [data-model-split-host] { --tp-split-play:paused; --tp-split-duration:13s; }
.dm-page [data-model-split-host]:has([data-model-split][data-motion="running"]) { --tp-split-play:running; }
.dm-page [data-model-split-host] > .tp-model-front { animation:tp-split-whole var(--tp-split-duration) steps(1,end) infinite both; animation-play-state:var(--tp-split-play); }
.tp-model-split { --tp-split-ink:var(--ir-series-light); position:absolute; inset:0; isolation:isolate; pointer-events:none; }
.tp-split-device { position:absolute; top:0; left:50%; height:100%; aspect-ratio:var(--tp-split-ratio); transform:translateX(-50%); filter:drop-shadow(0 14px 18px #18122b16); }
.tp-split-half,.tp-split-crop { position:absolute; inset:0; }
.tp-split-crop img { display:block; width:100%; height:100%; object-fit:contain; }
.tp-split-upper .tp-split-crop { clip-path:inset(0 0 50% 0); }
.tp-split-lower .tp-split-crop { clip-path:inset(50% 0 0 0); }
.tp-split-upper { z-index:2; animation:tp-split-open-upper var(--tp-split-duration) cubic-bezier(.22,.75,.18,1) infinite both; }
.tp-split-lower { z-index:1; animation:tp-split-open-lower var(--tp-split-duration) cubic-bezier(.22,.75,.18,1) infinite both; }
.tp-split-crop { animation:tp-split-parts var(--tp-split-duration) steps(1,end) infinite both; }
/* The thin seam outlives the image handoff, so the joined frame can settle before its light fades. */
.tp-split-edge { position:absolute; top:calc(50% - 1px); left:1%; width:98%; height:2px; border-radius:1px; opacity:0; pointer-events:none; background:linear-gradient(90deg,transparent,var(--tp-split-ink) 10%,color-mix(in srgb,var(--tp-split-ink) 35%,#fff) 50%,var(--tp-split-ink) 90%,transparent); box-shadow:0 0 4px color-mix(in srgb,var(--tp-split-ink) 90%,transparent),0 0 12px color-mix(in srgb,var(--tp-split-ink) 65%,transparent),0 0 26px color-mix(in srgb,var(--tp-split-ink) 30%,transparent); animation:tp-split-seam var(--tp-split-duration) cubic-bezier(.4,0,.2,1) infinite both; }
.tp-split-label { position:absolute; z-index:3; display:block; opacity:0; white-space:nowrap; color:var(--text); text-shadow:0 0 22px color-mix(in srgb,var(--tp-split-ink) 22%,transparent); }
.tp-split-brand { top:14%; left:calc(100% + 10px); writing-mode:vertical-rl; text-orientation:mixed; font-size:clamp(18px,2.2vw,26px); font-weight:600; letter-spacing:-.055em; line-height:1.2; animation:tp-split-reveal-brand var(--tp-split-duration) ease-in-out infinite both; }
.tp-split-model { right:calc(100% + 10px); bottom:14%; display:flex; flex-direction:row; align-items:baseline; gap:7px; writing-mode:vertical-rl; text-orientation:mixed; animation:tp-split-reveal-model var(--tp-split-duration) ease-in-out infinite both; }
.tp-split-model strong { color:var(--tp-split-ink); font-size:clamp(34px,3.8vw,49px); line-height:1; letter-spacing:-.065em; font-weight:600; }
.tp-split-model small { color:var(--muted); font-size:16px; line-height:1.4; font-weight:400; font-style:normal; letter-spacing:0; }
.tp-split-upper,.tp-split-lower,.tp-split-crop,.tp-split-label,.tp-split-edge { animation-play-state:var(--tp-split-play); }
:root[data-theme="dark"] .tp-model-split { --tp-split-ink:var(--ir-series); }
:root[data-theme="dark"] :is(.tp-model-front, .tp-split-device) { filter:drop-shadow(0 14px 22px #00000038); }
@media(prefers-color-scheme:dark) {
  :root:not([data-theme="light"]) .tp-model-split { --tp-split-ink:var(--ir-series); }
  :root:not([data-theme="light"]) :is(.tp-model-front, .tp-split-device) { filter:drop-shadow(0 14px 22px #00000038); }
}
@keyframes tp-split-open-upper {
  0%,18%,100% { transform:translate3d(0,0,0); }
  35%,73% { transform:translate3d(-16%,-9px,0); }
  90% { transform:translate3d(0,0,0); }
}
@keyframes tp-split-open-lower {
  0%,18%,100% { transform:translate3d(0,0,0); }
  35%,73% { transform:translate3d(16%,9px,0); }
  90% { transform:translate3d(0,0,0); }
}
@keyframes tp-split-whole { 0%,100% { opacity:1; } 18% { opacity:0; } 90% { opacity:1; } }
@keyframes tp-split-parts { 0%,100% { opacity:0; } 18% { opacity:1; } 90% { opacity:0; } }
@keyframes tp-split-seam { 0%,18%,97%,100% { opacity:0; } 23%,76% { opacity:.85; } 90% { opacity:.32; } }
@keyframes tp-split-reveal-brand { 0%,29%,100% { opacity:0; transform:translate3d(0,-8px,0); } 44%,73% { opacity:1; transform:translate3d(0,0,0); } 89% { opacity:0; transform:translate3d(0,5px,0); } }
@keyframes tp-split-reveal-model { 0%,32%,100% { opacity:0; transform:translate3d(0,8px,0); } 46%,73% { opacity:1; transform:translate3d(0,0,0); } 89% { opacity:0; transform:translate3d(0,-5px,0); } }
@media(prefers-reduced-motion:reduce) {
  .tp-model-split { display:none; }
  .dm-page [data-model-split-host] > .tp-model-front { animation:none; opacity:1; }
  .tp-split-upper,.tp-split-lower,.tp-split-crop,.tp-split-label,.tp-split-edge { animation:none; }
}
.dm-picture-fallback { display: grid; place-content: center; gap: 16px; min-height: 320px; padding: 24px; border: 1px solid var(--dm-edge); border-radius: 24px; color: var(--muted); text-align: center; }
.dm-picture-fallback strong { color: var(--text); font-size: 24px; }
.dm-section { margin-bottom: 64px; scroll-margin-top: 120px; }
.dm-section h2 { margin: 0; font-size: clamp(27px, 3vw, 35px); line-height: 1.2; letter-spacing: -.035em; font-weight: 700; text-wrap: balance; }
.dm-kicker { margin: 0 0 12px; color: var(--accent); font-size: 11px; font-weight: 650; letter-spacing: .09em; line-height: 1.6; text-transform: uppercase; }
.dm-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.dm-section-heading > p { margin: 0 0 2px; color: var(--muted); font-size: 14px; line-height: 1.7; text-align: right; }
.dm-spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--dm-edge); border-radius: 23px; overflow: hidden; background: var(--card); }
.dm-spec { --dm-spec-ink: var(--accent); display: flex; flex-direction: column; min-width: 0; padding: 25px 25px 22px; background: linear-gradient(160deg, color-mix(in srgb, var(--dm-spec-ink) 5%, transparent), transparent 60%); scroll-margin-top: 120px; }
.dm-spec + .dm-spec { border-left: 1px solid var(--line); }
.dm-spec#screen { --dm-spec-ink: #6889b1; }
.dm-spec#resolution { --dm-spec-ink: #8e7bbd; }
.dm-spec-heading { display: flex; align-items: center; gap: 11px; }
.dm-spec-heading > span { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 32px; color: var(--dm-spec-ink); }
.dm-spec-heading svg { display: block; width: 28px; height: 28px; }
.dm-spec h3 { margin: 0; font-size: 18px; font-weight: 650; letter-spacing: -.025em; line-height: 1.35; }
.dm-spec > p { min-height: 42px; margin: 13px 0 10px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.dm-spec dl { display: grid; gap: 0; margin: 0 0 20px; }
.dm-spec dl > div { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 7px 10px; min-height: 44px; padding-block: 11px; border-bottom: 1px solid var(--line); }
.dm-spec dt { color: var(--muted); font-size: 12px; line-height: 1.5; }
.dm-spec dd { margin: 0; color: var(--text); font-size: 16px; font-weight: 600; line-height: 1.45; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.dm-spec dd > span { color: var(--muted); font-size: 12px; font-weight: 450; }
.dm-spec > a { margin-top: auto; }
.dm-text-link { display: inline-flex; align-items: center; gap: 6px; width: fit-content; max-width: 100%; color: var(--accent); font-size: 13px; font-weight: 600; line-height: 1.5; text-decoration: none; }
.dm-text-link svg { width: 17px; height: 17px; flex: 0 0 17px; transition: transform 200ms ease; }
.dm-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.dm-text-link:hover svg { transform: translateX(3px); }
.dm-resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dm-resource { display: grid; grid-template-columns: minmax(0, 1fr) 130px; align-items: center; gap: 12px; min-width: 0; padding: 27px 0 27px 27px; border: 1px solid var(--dm-edge); border-radius: 23px; background: radial-gradient(ellipse at 100% 0,color-mix(in srgb,var(--accent) 6%,transparent),transparent 75%),var(--card); overflow: hidden; box-shadow: inset 0 1px 0 #ffffff10; transition: border-color 250ms ease,box-shadow 250ms ease; }
.dm-resource:hover { border-color: color-mix(in srgb,var(--accent) 40%,var(--line)); box-shadow: 0 8px 25px #33255e0a; }
.dm-resource h3 { margin: 0; font-size: 22px; font-weight: 650; line-height: 1.3; letter-spacing: -.035em; }
.dm-resource-copy > p:not(.dm-kicker) { margin: 13px 0 20px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.dm-resource .dm-kicker { font-size: 10px; letter-spacing: .07em; }
.dm-resource-art { display: grid; place-items: center; width: 100%; min-height: 220px; padding: 12px; background: radial-gradient(ellipse, color-mix(in srgb, var(--accent) 11%, transparent), transparent 70%); }
.dm-resource-art img { display: block; width: 100%; height: 210px; object-fit: contain; filter: drop-shadow(0 10px 10px #00000018); }
.dm-png-art { background: repeating-conic-gradient(color-mix(in srgb, var(--muted) 7%, transparent) 0% 25%, transparent 0% 50%) 0 / 14px 14px; border-radius: 16px 0 0 16px; }
.dm-resource-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; }
.dm-resource-actions .tp-button { flex: initial; min-height: 40px; padding: 9px 13px; font-size: 12px; }
.dm-resource-actions > .dm-text-link { font-size: 12px; }
.device-model-page .tp-related .tp-link-card { padding: 24px; }
.device-model-page .tp-related .tp-link-card h3 { font-size: 20px; }
.device-model-page .tp-related .tp-link-card p { font-size: 14px; line-height: 1.7; }
@media (max-width: 920px) {
  .dm-page .tp-model-hero { gap: 28px; }
  .dm-highlights { gap: 20px; }
  .dm-highlights dd { font-size: 21px; }
  .dm-page .tp-model-visual { height: 360px; }
  .dm-spec { padding-inline: 19px; }
  .dm-spec dl > div { display: grid; gap: 4px; }
  .dm-spec h3 { font-size: 16px; }
  .dm-resource { grid-template-columns: minmax(0, 1fr) 98px; padding: 23px 0 23px 23px; }
  .dm-resource h3 { font-size: 20px; }
}
@media (max-width: 680px) {
  .dm-page .tp-model-hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 35px 48px; }
  .dm-page .tp-model-visual { height: 350px; }
  .dm-highlights { gap: 19px 18px; }
  .dm-highlights dd { font-size: 23px; }
  .dm-jump-links { margin-top: 24px; }
  .dm-section { margin-bottom: 46px; }
  .dm-section-heading { display: grid; gap: 13px; margin-bottom: 22px; }
  .dm-section-heading > p { text-align: left; }
  .dm-section-heading > p br { display: none; }
  .dm-spec-grid { grid-template-columns: minmax(0, 1fr); }
  .dm-spec { padding: 24px; }
  .dm-spec + .dm-spec { border-left: 0; border-top: 1px solid var(--line); }
  .dm-spec h3 { font-size: 19px; }
  .dm-spec > p { min-height: 0; margin-bottom: 10px; font-size: 14px; }
  .dm-spec dl > div { display: flex; }
  .dm-spec dt { font-size: 14px; }
  .dm-spec dd { font-size: 17px; }
  .dm-resource-grid { grid-template-columns: minmax(0, 1fr); }
  .dm-resource { grid-template-columns: minmax(0, 1fr) 110px; padding: 24px 0 24px 24px; }
}
@media (max-width: 420px) {
  .dm-resource { grid-template-columns: minmax(0, 1fr) 80px; gap: 10px; padding-left: 20px; }
  .dm-resource-art { min-height: 190px; padding: 6px; }
  .dm-resource-art img { height: 190px; }
}
@container (min-width: 481px) {
  .dm-device-fact { padding-top: 15px; border-top: 1px solid var(--line); }
}
@container (max-width: 480px) {
  .dm-highlights { grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: 20px 16px; }
  .dm-highlights dd { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .dm-text-link svg,.dm-copy-symbol,.dm-copy-symbol svg,.dm-resource,.dm-page .tp-model-arrow { transition: none; } }
