@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');
:root{font-family:"DM Sans",Arial,sans-serif;color:#202936;background:#f7f8fa;font-synthesis:none}
*{box-sizing:border-box}
body{margin:0;min-height:100vh}
a{color:inherit;text-decoration:none}
.topbar{height:72px;padding:0 clamp(20px,5vw,76px);display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #e8ebef}
.brand{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:700;letter-spacing:.13em}
.brand-mark{width:34px;height:34px;border-radius:9px;background:#202936;color:#fff;display:grid;place-items:center;font:800 12px Manrope}
.topbar-note,.back-link{font-size:13px;color:#77818e}
.page{max-width:1320px;margin:0 auto;padding:68px 34px 90px}
.intro{display:flex;align-items:end;justify-content:space-between;margin-bottom:38px;gap:20px}
.eyebrow,.panel-label{font-size:10px;font-weight:700;letter-spacing:.17em;color:#8792a0;margin:0 0 12px}
h1,h2,p{margin-top:0}
h1{font:800 clamp(30px,4vw,46px) Manrope;letter-spacing:-.045em;margin-bottom:12px;color:#1c2633}
.intro-copy{color:#77818e;max-width:590px;line-height:1.7;margin:0;font-size:14px}
.intro-count{display:flex;flex-direction:column;text-align:right;color:#8a94a0;font-size:11px;gap:3px;white-space:nowrap}
.intro-count strong{font:700 26px Manrope;color:#293545}
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:22px}
.model-card{background:#fff;border:1px solid #e8ebef;border-radius:13px;overflow:hidden;transition:transform .2s,border-color .2s,box-shadow .2s}
.model-card:hover{transform:translateY(-4px);border-color:#cbd3dc;box-shadow:0 14px 34px #26344712}
.card-thumb{height:205px;background:#edf0f3;position:relative;overflow:hidden}
.card-thumb img{width:100%;height:100%;object-fit:cover}
.thumb-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#aab3bd;background:linear-gradient(145deg,#f1f3f6,#e7ebef)}
.thumb-placeholder span{font-size:60px;font-weight:300;line-height:1}
.thumb-placeholder small{font-size:10px;letter-spacing:.18em;margin-top:12px}
.card-format,.format-tag{font-size:10px;font-weight:700;letter-spacing:.08em;padding:6px 9px;border-radius:5px;background:#fff;color:#5d6876}
.card-format{position:absolute;right:13px;top:13px}
.card-copy{padding:19px 20px 20px}
.card-copy h2{font:700 17px Manrope;margin:0 0 7px}
.card-copy p{font-size:12px;color:#89929d;line-height:1.5;margin:0 0 18px;min-height:18px}
.card-open{font-size:11px;font-weight:700;color:#354252;display:flex;justify-content:space-between}
.card-open b{font-size:16px;font-weight:400}
.empty-state{padding:75px 20px;text-align:center;border:1px dashed #d4dbe3;border-radius:14px;background:#fff}
.empty-state[hidden]{display:none}
.empty-icon{font-size:38px;color:#9da8b5;margin-bottom:12px}
.empty-state h2{font:700 19px Manrope;margin-bottom:9px}
.empty-state p{font-size:13px;color:#7e8996;line-height:1.7}
code{background:#f0f2f5;padding:2px 5px;border-radius:4px}
.footer{border-top:1px solid #e8ebef;padding:25px;text-align:center;color:#9aa3ad;font-size:11px}
.viewer-page{background:#f6f7f9}
.viewer-layout{max-width:1500px;margin:0 auto;padding:38px clamp(18px,4vw,58px) 70px;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px}
.viewer-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.viewer-heading h1{font-size:28px;margin:0}
.viewer-heading .eyebrow{margin-bottom:7px}
.format-tag{background:#e8edf2}
.viewer-shell{background:#edf0f3;border:1px solid #e0e5ea;border-radius:12px;overflow:hidden;position:relative}
.viewer-canvas{height:min(66vh,690px);min-height:400px;position:relative}
.viewer-canvas canvas{display:block;width:100%;height:100%}
.loading{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#788493;font-size:13px;background:#edf0f3}
.spinner{width:27px;height:27px;border:2px solid #d5dce4;border-top-color:#586879;border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.error-mark{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#f4e7e5;color:#a64b40;font-weight:700}
.loading a{color:#33475d;text-decoration:underline;margin-top:5px}
.view-tools{display:flex;flex-wrap:wrap;gap:7px;padding:12px 14px;background:#fff;border-top:1px solid #e1e6eb}
.view-tools button{border:1px solid #e1e6eb;background:#fff;color:#586575;border-radius:6px;padding:8px 11px;font:600 11px "DM Sans";cursor:pointer}
.view-tools button.active{background:#eaf0f5;border-color:#cbd5df;color:#253649}
.view-tools button:hover{border-color:#aab6c3}
.viewer-hint{padding:0 15px 13px;background:#fff;color:#9aa3ad;font-size:10px}
.details-panel{align-self:start;background:#fff;border:1px solid #e5e9ee;border-radius:11px;padding:23px 21px}
.panel-section{padding-bottom:22px;margin-bottom:21px;border-bottom:1px solid #edf0f3}
.panel-label{margin-bottom:13px}
.description{font-size:13px;color:#667382;line-height:1.7;margin:0}
.info-row{display:flex;flex-direction:column;gap:4px;margin:14px 0}
.info-row span{font-size:10px;color:#929ca7}
.info-row strong{font-size:12px;font-weight:600;color:#354252;overflow-wrap:anywhere}
.download-button{display:block;text-align:center;background:#202d3b;color:white;padding:13px 15px;border-radius:7px;font-size:12px;font-weight:700;transition:background .2s}
.download-button:hover{background:#3a4b5e}
.download-button[hidden]{display:none}
.download-note{font-size:10px;line-height:1.6;color:#9aa3ad;text-align:center;margin:10px 0 0}
@media(max-width:900px){.viewer-layout{grid-template-columns:1fr}.details-panel{display:grid;grid-template-columns:1fr 1fr;gap:16px}.panel-section{margin:0}.download-button{align-self:center}.download-note{align-self:center}}
@media(max-width:600px){.topbar{height:62px;padding:0 17px}.topbar-note{display:none}.page{padding:42px 18px 60px}.intro{align-items:start}.intro-count{padding-top:7px}.viewer-layout{padding:25px 14px 50px}.viewer-heading h1{font-size:22px}.viewer-canvas{min-height:340px;height:55vh}.details-panel{display:block}.panel-section{margin-bottom:18px}.view-tools button{padding:8px}.view-tools button span{display:none}.viewer-hint{line-height:1.6}}
