:root{--ink:#17212e;--muted:#647183;--line:#e4e9ef;--blue:#0070f3;--paper:#f3f5f7}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#fff;font-family:Inter,"Microsoft YaHei",-apple-system,BlinkMacSystemFont,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit}img{display:block;max-width:100%}.back-link{display:flex;align-items:center;gap:10px;max-width:1180px;margin:auto;padding:28px 32px;color:var(--muted);font-size:14px}.back-link::before{content:'←'}.back-link:hover{color:var(--blue)}.container{max-width:1180px;padding:12px 32px 72px;margin:auto}.case-overview{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(0,1fr);gap:52px;align-items:start;padding-bottom:56px;border-bottom:1px solid var(--line)}.case-header{padding:28px 0}.case-category{font-size:12px;letter-spacing:.12em;font-weight:600;color:var(--blue);margin-bottom:18px}.case-title{margin:0 0 20px;font-size:clamp(28px,3vw,38px);line-height:1.3;letter-spacing:-.035em;font-weight:700}.case-subtitle{font-size:16px;line-height:1.9;color:var(--muted);margin:0}.case-meta{display:grid;gap:16px;margin-top:28px;padding-top:24px;border-top:1px solid var(--line);font-size:13px;line-height:1.7;color:var(--muted)}.meta-item strong{font-weight:500;color:var(--ink)}.case-gallery{min-width:0}.product-stage{display:block;width:100%;padding:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--paper);cursor:zoom-in;aspect-ratio:4/3}.product-stage img{width:100%;height:100%;object-fit:contain}.gallery-caption{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:14px 0;color:var(--muted);font-size:12px;line-height:1.6}.gallery-caption span:first-child{font-weight:500;color:var(--ink)}.product-thumbnails{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.product-thumbnail{border:2px solid transparent;padding:3px;border-radius:8px;background:var(--paper);cursor:pointer;aspect-ratio:4/3;overflow:hidden}.product-thumbnail img{width:100%;height:100%;object-fit:contain;border-radius:4px}.product-thumbnail[aria-pressed=true]{border-color:var(--blue);background:white}.product-thumbnail:hover{border-color:#9bbff3}button:focus-visible,a:focus-visible{outline:3px solid #75b2fa;outline-offset:4px}.case-description{padding-top:48px;max-width:none}.case-description h2{font-size:20px;font-weight:600;letter-spacing:-.02em;margin:36px 0 16px}.case-description h2:first-child{margin-top:0}.case-description>p,.case-description>ul{max-width:900px;font-size:15px;line-height:1.95;color:var(--muted);margin:0 0 20px}.case-description ul{list-style:none;padding:0}.case-description li{padding:5px 0 5px 22px;position:relative}.case-description li::before{content:'•';color:var(--blue);position:absolute;left:2px}.case-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;border-top:1px solid var(--line);margin-top:36px;padding-top:32px}.feature-item{border:1px solid var(--line);background:#fafbfc;border-radius:10px;padding:24px}.feature-item h4{font-size:15px;margin:0 0 10px}.feature-item p{color:var(--muted);font-size:13px;line-height:1.8;margin:0}.nav-bottom{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding-top:28px;margin-top:48px}.nav-bottom a{font-size:13px;line-height:1.6;border:1px solid var(--line);padding:12px 18px;border-radius:6px;color:var(--muted)}.nav-bottom a:hover{border-color:var(--blue);color:var(--blue)}.image-viewer{width:min(1100px,94vw);max-height:94vh;padding:48px 20px 20px;border:0;border-radius:12px;background:var(--paper)}.image-viewer::backdrop{background:#0d1727cc}.image-viewer img{width:100%;max-height:78vh;object-fit:contain}.viewer-close{position:absolute;top:10px;right:14px;border:1px solid #cad3df;border-radius:5px;background:white;padding:6px 12px;cursor:pointer;color:var(--ink)}
@media(max-width:900px){.case-overview{gap:28px;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}.case-header{padding:12px 0}.case-title{font-size:28px}.case-features{gap:12px}.feature-item{padding:18px}}
@media(max-width:680px){.back-link{padding:22px 20px}.container{padding:4px 20px 44px}.case-overview{display:flex;flex-direction:column;gap:24px;padding-bottom:32px}.case-gallery{width:100%;order:1}.case-header{order:0;padding:0}.case-category{margin-bottom:12px}.case-title{font-size:29px;margin-bottom:14px}.case-subtitle{font-size:14px}.case-meta{gap:10px;margin-top:20px;padding-top:16px}.product-thumbnails{gap:8px}.case-description{padding-top:32px}.case-features{grid-template-columns:1fr}.nav-bottom{flex-direction:column}.nav-bottom a{text-align:center}.gallery-caption{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Product model comparison follows the shared detail-page grid. */
.product-specs-wrap{max-width:100%;overflow-x:auto;margin:0 0 28px;border:1px solid var(--line);border-radius:8px}
.product-specs{width:100%;border-collapse:collapse;font-size:14px;text-align:left;line-height:1.7;white-space:nowrap}
.product-specs caption{text-align:left;padding:16px 20px;color:var(--muted);font-size:13px;background:#fafbfc;border-bottom:1px solid var(--line)}
.product-specs th,.product-specs td{padding:15px 20px;border-bottom:1px solid var(--line)}
.product-specs thead th{background:#f3f5f7;font-weight:600}
.product-specs tbody th{font-weight:600}.product-specs tbody td{color:var(--muted)}
.product-specs tbody tr:last-child>*{border-bottom:0}
@media(max-width:680px){.product-specs th,.product-specs td{padding:12px;font-size:12px}}

@media(max-width:680px){
 .product-specs{table-layout:fixed;white-space:normal}
 .product-specs th,.product-specs td{padding:10px 5px;font-size:11px}
 .product-specs thead th:nth-child(1),.product-specs thead th:nth-child(2),.product-specs thead th:nth-child(4){width:22%}
 .product-specs thead th:nth-child(3),.product-specs thead th:nth-child(5){width:17%}
 .product-specs tbody th,.product-specs td:not(:nth-child(2)){white-space:nowrap}
}
