.legacy-collection{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:32px;background:linear-gradient(120deg,#f4c5a2,#f9ddc5);border:1px solid #d6a27d65;margin-bottom:24px;overflow:hidden}.legacy-collection .eyebrow{font-size:10px;margin:0 0 15px}.legacy-collection h2{font-size:clamp(23px,2.2vw,32px);line-height:1.5;letter-spacing:-.6px;margin:0 0 12px}.legacy-collection p{font-size:12px;line-height:2;color:#936044;max-width:620px;margin:0}.legacy-collection-stats{display:flex;gap:25px;flex-wrap:wrap;margin-top:22px;font-size:10px;color:#9d704e}.legacy-collection-stats b{font:500 19px Consolas,monospace;color:#784329;margin-right:5px}.legacy-archive-symbol{position:relative;width:115px;min-width:115px;height:105px;margin-right:20px;color:#ac643c}.legacy-archive-symbol>span{position:absolute;inset:7px 0 0;border:1px solid #b47b5470;background:#f8dfc862;transform:translate(14px,-12px)}.legacy-archive-symbol>span:nth-child(2){transform:translate(7px,-6px)}.legacy-archive-symbol>span:nth-child(3){transform:none;background:#f4c7a580}.legacy-archive-symbol i{position:absolute;inset:35px 15px auto;font-size:13px;font-style:normal;letter-spacing:3px;border-top:1px solid #c1916d;border-bottom:1px solid #c1916d;padding:12px 0}.legacy-theme-filter{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 28px}.legacy-theme-filter a{padding:10px 13px;border:1px solid #d3a48260;background:#fff9f2;font-size:11px;color:#916242;transition:background .2s,color .2s}.legacy-theme-filter a:hover{border-color:#b76f43}.legacy-theme-filter .selected{background:#b2663c;color:#fff7e9;border-color:#b2663c}.legacy-theme-filter small{opacity:.65;margin-left:10px;font:10px Consolas,monospace}.legacy-card .resource-art{height:145px;display:block;position:relative}.legacy-card .resource-art img{height:100%;width:100%;object-fit:cover;opacity:.85}.legacy-cover-label{position:absolute;left:21px;bottom:18px;padding:6px 10px;background:#fff6eae8;color:#9e6440;font-size:10px}.legacy-card .resource-body{padding:25px}.legacy-card .resource-body h3{font-size:19px;line-height:1.6;margin-top:17px}.legacy-card .resource-body>p{min-height:48px;font-size:12px;line-height:2;margin:14px 0 19px}.legacy-card .card-tags{font-size:10px;gap:10px}.legacy-card .card-tags>span:first-child{max-width:80%;line-height:1.6}.legacy-card-assets{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:22px;font-size:10px;color:#b79b86}.legacy-card-assets>span{border:1px solid #d9c1ac60;padding:6px 8px}.legacy-card-assets .available{color:#9a6744;background:#f9ecdf}.legacy-card .card-bottom{padding-top:19px;font-size:10px}.legacy-card .card-open{font-size:11px}.legacy-detail-main{min-width:0}.legacy-download-panel h2{font-size:19px;line-height:1.65}.legacy-download-panel .resource-file-mark{margin-bottom:18px}.legacy-download-panel .resource-file-mark>span{background:none;padding:0}.legacy-download-panel .resource-file-mark>span:first-child{font-size:19px;border-right:1px solid #c79a75;padding-right:16px;margin-right:2px}.legacy-attachments>div{border-top:1px solid #d2ab8b70;padding:21px 0}.legacy-attachment-type{font-size:14px;font-weight:600}.legacy-attachments p{font-size:10px;color:#9f785b;line-height:1.9;margin:10px 0}.legacy-attachments small{display:block;font:10px Consolas,"Microsoft YaHei",sans-serif;color:#a78162;margin:12px 0 18px}.legacy-attachments .btn{font-size:11px;width:100%;min-height:43px;gap:10px}.legacy-screenshot-note{font-size:10px;color:#9a6b48;line-height:2;border-top:1px solid #d2ab8b70;padding-top:19px;margin:0 0 21px}.legacy-gallery{margin:30px 0;background:#fffaf5;border:1px solid #d9b79a70;padding:28px}.legacy-section-title{display:flex;justify-content:space-between;align-items:end;gap:20px}.legacy-section-title .eyebrow{font-size:10px;margin:0 0 12px}.legacy-section-title h2{font-size:22px;line-height:1.5;margin:0}.legacy-section-title h2 small{font-size:11px;font-weight:400;color:#ac8365;margin-left:10px}.legacy-section-title>span{font-size:10px;color:#b68f72;line-height:1.7}.legacy-image-filters{display:flex;flex-wrap:wrap;gap:7px;margin:22px 0}.legacy-image-filters>button{padding:8px 11px;border:1px solid #dec0a67a;background:none;color:#a07b60;font-size:10px}.legacy-image-filters>button[aria-pressed=true]{color:#fff5e8;background:#b57049;border-color:#b57049}.legacy-image-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 20px}.legacy-image-grid figure{margin:0;min-width:0}.legacy-image-grid figure[hidden]{display:none}.legacy-figure-button{display:block;position:relative;width:100%;height:190px;padding:12px;border:1px solid #e1cfbd;background:white;cursor:zoom-in;overflow:hidden}.legacy-figure-button>img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .35s}.legacy-figure-button:hover>img{transform:scale(1.035)}.legacy-figure-button>span{position:absolute;right:0;bottom:0;font-size:9px;color:#9b6844;background:#fff5e9f0;padding:7px 10px;opacity:0;transition:opacity .2s}.legacy-figure-button:hover>span,.legacy-figure-button:focus-visible>span{opacity:1}.legacy-image-grid figcaption{font-size:11px;line-height:1.85;color:#8b684d;padding:12px 0;overflow-wrap:anywhere}.legacy-image-grid figcaption>span{font:10px Consolas,monospace;color:#b18c6d;margin-right:10px}.legacy-related,.legacy-no-images{border:1px solid #d9b79a70;background:#fffaf5;padding:28px;margin-top:28px}.legacy-related h2,.legacy-no-images h2{font-size:19px;margin:0 0 12px}.legacy-related p,.legacy-no-images p{font-size:11px;color:#a57f60;line-height:2;margin:0 0 18px}.legacy-related>a{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #dbc0a77a;padding:17px 0;color:#8d5837;font-size:12px}.legacy-related small{display:block;color:#ad8b6e;font-size:10px;margin-top:8px}.legacy-related svg{width:18px;height:18px;flex-shrink:0}
#legacy-viewer{max-width:96vw;width:1400px;height:94dvh;max-height:96dvh;padding:0;border:1px solid #c69870;background:#fffaf3;color:#68472f;box-shadow:0 30px 100px #4a2d2070;overflow:hidden}#legacy-viewer::backdrop{background:#39261bd4;backdrop-filter:blur(8px)}.legacy-viewer-bar{height:80px;padding:18px 25px;display:flex;align-items:center;gap:20px;border-bottom:1px solid #d7b89c70}.legacy-viewer-bar>div{flex:1;min-width:0}.legacy-viewer-bar b{display:block;font-size:14px;line-height:1.5;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.legacy-viewer-bar small{display:block;font-size:10px;color:#ac8665;margin-top:6px}.legacy-viewer-bar>span{font:11px Consolas,monospace}.legacy-viewer-bar button,.legacy-viewer-nav button{padding:9px 13px;background:none;border:1px solid #ceaa8b90;font-size:11px;color:#97613a}.legacy-viewer-stage{height:calc(100% - 140px);padding:24px;overflow:auto;background:#fff;display:flex;align-items:center;justify-content:center}.legacy-viewer-stage>img{display:block;max-width:100%;max-height:100%;object-fit:contain}.zoomed .legacy-viewer-stage{display:block}.zoomed .legacy-viewer-stage>img{max-width:none;max-height:none;margin:auto}.legacy-viewer-nav{height:60px;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:10px 25px;border-top:1px solid #d7b89c70}.legacy-viewer-nav>span{font-size:10px;color:#ac8665}
@media(max-width:1000px){.legacy-collection{padding:26px}.legacy-archive-symbol{display:none}.legacy-card .resource-body{padding:20px}.legacy-card .resource-body h3{font-size:18px}.legacy-image-grid{gap:16px}.legacy-figure-button{height:160px}.legacy-gallery{padding:22px}.legacy-section-title>span{display:none}}
@media(max-width:760px){.legacy-collection{padding:24px}.legacy-collection h2{font-size:24px}.legacy-collection p{font-size:11px}.legacy-collection-stats{gap:16px}.legacy-collection-stats b{font-size:17px}.legacy-theme-filter{gap:7px}.legacy-theme-filter a{font-size:10px;padding:10px}.legacy-theme-filter small{margin-left:7px}.legacy-card .resource-art{height:150px}.legacy-card .resource-body h3{font-size:21px}.legacy-card .resource-body>p{min-height:0}.legacy-card .resource-body{padding:24px}.legacy-gallery{padding:20px;margin-top:22px}.legacy-image-grid{grid-template-columns:1fr;gap:14px}.legacy-figure-button{height:210px}.legacy-related,.legacy-no-images{padding:23px}.legacy-detail .resource-reading-layout{display:flex;flex-direction:column}.legacy-detail-main{width:100%}.legacy-download-panel{width:100%}.legacy-attachments{display:grid;grid-template-columns:1fr 1fr;gap:18px}.legacy-download-panel .resource-file-mark{display:none}.legacy-attachments .btn{min-width:0;padding:0 10px;gap:6px}.legacy-attachments .btn svg{width:15px}.legacy-download-panel dl{margin-bottom:0}.legacy-viewer-bar{padding:14px;gap:12px;height:90px;flex-wrap:wrap}.legacy-viewer-bar>div{min-width:65%}.legacy-viewer-bar b{font-size:12px}.legacy-viewer-bar small{font-size:9px}.legacy-viewer-bar button{font-size:10px;padding:7px 10px}.legacy-viewer-stage{height:calc(100% - 145px);padding:12px}.legacy-viewer-nav{height:55px;padding:10px 14px;gap:10px}.legacy-viewer-nav>span{display:none}.legacy-image-filters>button{padding:8px 10px}}
.legacy-card .resource-art{width:100%;aspect-ratio:auto}

/* Project media stays above reading content; downloads close the page at every width. */
.legacy-card .legacy-project-cover{height:auto;aspect-ratio:16/10;background:linear-gradient(135deg,#f1dfce,#fbf5ed);border-bottom:1px solid #dbb89c60;overflow:hidden}
.legacy-card .legacy-project-cover img{inset:0;width:100%;height:100%;padding:18px 18px 38px;object-fit:contain;opacity:1;mix-blend-mode:normal;filter:none;transform:none;transition:transform .35s}
.legacy-card:hover .legacy-project-cover img{transform:scale(1.025)}
.legacy-card .legacy-cover-label{left:13px;bottom:10px;padding:5px 8px;background:#fff8eff2;font-size:9px}
.legacy-card .format{top:10px;right:12px;font-size:9px;background:#fff8efe8;color:#935e3c;border-color:#c79b7860}
.legacy-card-status,.legacy-availability{display:flex;flex-wrap:wrap;gap:7px}
.legacy-card-status{margin-top:13px}
.legacy-availability{margin:0 0 19px}
.legacy-availability-tag{display:inline-flex;align-items:center;font-size:11px;line-height:1.7;padding:6px 10px;color:#8e5d3c;background:#f8e7d6;border:1px solid #c79a7650}
.legacy-availability-tag.simulation{color:#954b29;background:#f3d3b7;border-color:#bb77475c}
.legacy-availability-tag.hardware{background:#f0e7d4;color:#78613b;border-color:#b6a17a60}
.legacy-availability-tag.pending{color:#927c68;background:#f1ebe3}
.legacy-card-status .legacy-availability-tag{font-size:9px;padding:4px 7px}
.legacy-content{margin:0 6.5%;min-width:0}
.legacy-detail .legacy-showcase{margin:0 0 30px;padding:28px;background:#fffaf5}
.legacy-section-title>a{color:#a2653e;font-size:11px;white-space:nowrap;padding:8px 0}
.legacy-stage{background:#fff;border:1px solid #ddc4af;min-width:0}
.legacy-stage-open{position:relative;display:flex;width:100%;align-items:center;justify-content:center;aspect-ratio:16/8.5;max-height:570px;min-height:260px;padding:20px;border:0;background:linear-gradient(140deg,#fff,#fcfaf6);cursor:zoom-in;overflow:hidden}
.legacy-stage-open>img{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}
.legacy-stage-open>img{position:absolute;inset:20px;width:calc(100% - 40px);height:calc(100% - 40px)}
.legacy-stage-open>span{position:absolute;right:15px;bottom:13px;display:flex;align-items:center;gap:8px;padding:9px 12px;background:#fff8eff0;color:#965e39;border:1px solid #d5b39470;font-size:10px}
.legacy-stage-open svg{width:15px;height:15px}
.legacy-stage-caption{padding:18px 21px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #e1cfbd80;background:#fbf4eb}
.legacy-stage-caption b{font-size:12px;font-weight:500;line-height:1.8;display:block;color:#805635;overflow-wrap:anywhere}
.legacy-stage-caption small{font-size:10px;display:block;color:#a4876c;line-height:1.8;margin-top:3px}
.legacy-stage-caption>span{font:12px Consolas,monospace;color:#ba8b65}
.legacy-thumbnails{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;padding:16px 1px 10px;scrollbar-width:thin;scrollbar-color:#d1a27f #f5e9dc}
.legacy-thumbnail{display:block;flex:0 0 128px;min-width:0;padding:6px;border:1px solid #dac4af;background:#fff;color:#9b795c;cursor:pointer;text-align:left;transition:border-color .2s,background .2s}
.legacy-thumbnail[hidden]{display:none}
.legacy-thumbnail[aria-pressed=true]{border-color:#ae6339;background:#f5e3d1;box-shadow:inset 0 0 0 1px #ae6339}
.legacy-thumbnail>img{display:block;width:100%;height:78px;object-fit:contain;background:#fff}
.legacy-thumbnail>span{display:block;font-size:9px;line-height:1.5;padding:8px 3px 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.legacy-gallery-hint{font-size:10px;color:#af8e70;line-height:1.8;margin:7px 0 0}
.legacy-detail .resource-reading{margin:0;max-width:none}
.legacy-detail .resource-reading-body{max-width:1000px}
.legacy-detail .legacy-download-panel{position:static;order:initial;width:100%;margin-top:30px;padding:30px;scroll-margin-top:110px}
.legacy-download-heading{display:flex;align-items:start;justify-content:space-between;gap:20px;margin-bottom:8px}
.legacy-download-heading .eyebrow{font-size:10px;margin:0 0 15px}
.legacy-download-heading h2{font-size:25px;line-height:1.5;margin:0 0 12px}
.legacy-download-heading>span{font:13px Consolas,monospace;color:#b08360;padding:8px 10px;border:1px solid #d5b59880}
.legacy-download-heading .resource-file-name{margin:0 0 15px}
.legacy-detail .legacy-attachments{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:28px}
.legacy-detail .legacy-attachments>div{display:flex;flex-direction:column;min-width:0}
.legacy-detail .legacy-attachments small{margin-top:auto;padding-top:13px}
.legacy-detail .legacy-attachments .btn{font-size:12px;min-height:49px}
.legacy-detail .legacy-attachments .btn svg{width:18px;height:18px}
.legacy-detail .legacy-screenshot-note{margin-top:10px;margin-bottom:16px;font-size:11px}
.legacy-detail .legacy-download-panel dl{display:flex;flex-wrap:wrap;justify-content:space-between;gap:15px;margin-bottom:0}
.legacy-detail .legacy-download-panel dl>div{gap:24px;font-size:10px}
.legacy-detail .resource-file-actions{margin-top:20px;max-width:320px}
@media(max-width:1050px){.legacy-content{margin:0 5%}.legacy-detail .legacy-showcase{padding:23px}.legacy-stage-open{aspect-ratio:16/10;max-height:510px}.legacy-detail .legacy-attachments{gap:20px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}}
@media(max-width:760px){.legacy-content{margin:0 6%}.legacy-detail .legacy-showcase{padding:16px;margin-bottom:22px}.legacy-stage-open{aspect-ratio:4/3;min-height:210px;max-height:440px;padding:12px}.legacy-stage-open>span{font-size:9px;right:8px;bottom:8px;padding:6px 8px}.legacy-stage-caption{padding:13px 14px;gap:12px}.legacy-stage-caption b{font-size:11px}.legacy-stage-caption small{font-size:9px}.legacy-section-title h2{font-size:21px}.legacy-section-title>a{font-size:10px}.legacy-thumbnail{flex-basis:105px}.legacy-thumbnail>img{height:66px}.legacy-availability-tag{font-size:10px;padding:5px 8px}.legacy-detail .legacy-download-panel{margin-top:22px;padding:22px;scroll-margin-top:105px}.legacy-download-heading h2{font-size:23px}.legacy-detail .legacy-attachments{grid-template-columns:1fr;gap:0}.legacy-detail .legacy-attachments>div{padding:22px 0}.legacy-detail .legacy-attachments p{font-size:11px}.legacy-detail .legacy-screenshot-note{font-size:10px}.legacy-gallery-hint{font-size:9px}}
@media(prefers-reduced-motion:reduce){.legacy-project-cover img,.legacy-thumbnail{transition:none}}
@media(max-width:760px){.legacy-stage-open>img{inset:12px;width:calc(100% - 24px);height:calc(100% - 24px)}}

/* Covers fill their frames without changing the photo proportions; detail viewers retain the whole image. */
.legacy-card .legacy-project-cover img{padding:0;object-fit:cover;object-position:center;inset:0}
.legacy-card .legacy-cover-label{bottom:12px;left:14px;background:#fff7eef2;box-shadow:0 2px 12px #39281b12}
.legacy-cover-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;gap:12px;padding:28px;background:linear-gradient(135deg,#e4b691,#f9e5cf);color:#8b5736}
.legacy-cover-placeholder b{font-size:20px;font-weight:500}.legacy-cover-placeholder small{font-size:11px;color:#aa7b58}
.legacy-folder-nav{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 0 24px}
.legacy-folder-nav>a{display:flex;align-items:center;gap:18px;border:1px solid #d3ad8d80;background:#fffaf4;padding:24px 22px;color:#946541;transition:background .2s,border-color .2s}
.legacy-folder-nav>a.selected{background:#f2d5b9;border-color:#bc8055}.legacy-folder-nav svg{width:46px;height:40px;flex-shrink:0}
.legacy-folder-nav b,.legacy-folder-entry b{display:block;font-weight:550;font-size:16px;line-height:1.6;color:#79492b}
.legacy-folder-nav small,.legacy-folder-entry small{display:block;font-size:10px;color:#ac8466;line-height:1.9;margin-top:5px}
.legacy-folder-nav strong{margin-left:auto;font:22px Consolas,monospace;font-weight:400}
.legacy-folder-entry{grid-column:1/-1;display:flex;align-items:center;gap:22px;background:linear-gradient(110deg,#f3d9c0,#fbecdc);border:1px solid #d4ad8a;padding:25px 28px;color:#a46e43}
.legacy-folder-entry>svg:first-child{width:48px;height:42px;flex-shrink:0}.legacy-folder-entry>svg:last-child{width:20px;height:20px}.legacy-folder-entry>strong{margin-left:auto;font-size:11px;font-weight:400;white-space:nowrap}
.legacy-download-access{font-size:11px;color:#986544;line-height:1.9;margin:0 0 13px}
.legacy-credit{display:inline-block;margin-left:10px;color:#ad633a;text-decoration:underline;text-underline-offset:3px}
.legacy-pending-cover{display:inline-block;font-size:9px;color:#a48162;border-bottom:1px dashed #c19b7870;padding-bottom:3px;margin:11px 0 0}
.legacy-pending-reference{font-size:11px;line-height:1.9;color:#aa7d5a;margin:0 0 18px}.legacy-pending-reference a{color:#98603d;text-decoration:underline;text-underline-offset:3px;margin-left:8px}
.legacy-availability-tag.materials{background:#f2dfcc;color:#925a35;border-color:#bb8c6560}
.legacy-material-list{border-top:1px solid #ccaa8a60;margin:5px 0 22px;padding:17px 0 0;color:#9f7350;font-size:11px;line-height:1.9}
.legacy-material-list>summary{cursor:pointer;color:#925d38;list-style-position:inside}
.legacy-material-list>p{font-size:11px;line-height:2;color:#a58161;max-width:850px;margin:15px 0}
.legacy-material-list ul{max-height:310px;overflow-y:auto;scrollbar-width:thin;padding-left:20px;margin:16px 0 5px}
.legacy-material-list li{font-size:10px;overflow-wrap:anywhere;padding:4px 0;color:#947252}
@media(max-width:760px){.legacy-folder-nav{gap:10px}.legacy-folder-nav>a{padding:17px 12px;gap:10px}.legacy-folder-nav svg{width:30px;height:30px}.legacy-folder-nav b{font-size:13px}.legacy-folder-nav small{font-size:9px}.legacy-folder-nav strong{font-size:17px}.legacy-folder-entry{padding:20px 17px;gap:13px}.legacy-folder-entry b{font-size:15px}.legacy-folder-entry small{font-size:9px}.legacy-folder-entry>svg:first-child{width:32px;height:32px}.legacy-folder-entry>strong{font-size:10px}.legacy-folder-entry>svg:last-child{display:none}}
