@font-face{font-family:Space Grotesk;src:url(./assets/space-grotesk.woff2) format("woff2");font-weight:400 700;font-display:swap}
:root{color-scheme:light;--paper:#f8f6ef;--white:#fffdf7;--ink:#191914;--muted:#656258;--rule:#ded9c9;--accent:#ffd343;--dark:#20201b;--mono:"Cascadia Mono",Consolas,monospace;--sans:"Space Grotesk","PingFang SC","Microsoft YaHei","Noto Sans SC",sans-serif}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:15px;line-height:1.55}
button,input,select{font:inherit;color:inherit}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
h1,h2,h3,p,figure{margin:0}
[hidden]{display:none!important}
:focus-visible{outline:3px solid #916d00;outline-offset:4px}
svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.icon-sheet{position:absolute;width:0;height:0;overflow:hidden}
.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus{position:absolute;top:6px;left:6px;background:var(--accent);padding:8px 14px;z-index:5}
.wrap{width:min(1260px,calc(100% - 96px));margin-inline:auto}
.site-header{border-bottom:1px solid var(--rule)}
.masthead{height:79px;display:flex;justify-content:space-between;align-items:center;position:relative;gap:24px}
.brand{display:inline-flex;align-items:center;gap:11px;flex-shrink:0}
.brand-mark{height:42px;width:42px;border:1px solid #e7b72b;border-radius:9px;background:var(--accent);display:grid;place-items:center}
.brand-mark svg{width:25px;height:25px;stroke-width:1.65}
.brand-name{display:flex;align-items:baseline;gap:9px}
.brand-name strong{font-size:23px;letter-spacing:-.05em;font-weight:900}
.brand-name>span{font-weight:700;font-size:13px;letter-spacing:.12em}
.header-nav{display:flex;align-items:center;gap:39px;color:#4e4b41;font-weight:650;position:absolute;left:50%;transform:translateX(-50%);white-space:nowrap}
.header-nav a:hover,.text-link:hover{color:#745700;text-decoration:underline;text-underline-offset:4px}
.header-saved{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--rule);background:transparent;border-radius:7px;padding:8px 12px;white-space:nowrap;font-size:13px;font-weight:700}
.header-saved[aria-pressed="true"]{border-color:#c39113;background:#fff0b7}
.header-saved svg{width:17px;height:17px}
.header-saved:hover,.outline:hover{background:#f4efdf}
#saved-count{background:var(--accent);border-radius:5px;padding:0 5px;font-size:11px}
.hero{display:grid;grid-template-columns:1.08fr 1fr;gap:56px;align-items:center;padding:54px 0 50px}
.eyebrow,.section-kicker,.film-meta,.film figcaption,.catalog-date{font-family:var(--mono);letter-spacing:.105em;font-weight:700;font-size:11px}
.eyebrow{display:inline-flex;align-items:center;gap:9px;color:#4c4327;background:#f4ecd0;border:1px solid #ebe1bd;border-radius:4px;padding:6px 9px;margin-bottom:18px}
.eyebrow span{width:7px;height:7px;background:#d39c00;border-radius:50%}
h1{font-size:clamp(48px,5.4vw,78px);line-height:1.13;font-weight:800;letter-spacing:-.065em}
h1 span{position:relative;display:inline-block;isolation:isolate}
h1 span::before{content:"";position:absolute;height:25%;bottom:3%;left:-3px;right:-8px;background:var(--accent);z-index:-1;transform:skewX(-8deg)}
.hero-copy>p{margin-top:22px;color:#575347;font-size:16px;line-height:1.85;max-width:470px}
.hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.button{min-height:43px;display:inline-flex;justify-content:center;align-items:center;gap:10px;border-radius:6px;padding:9px 15px;font-weight:750;font-size:14px;border:1px solid transparent;white-space:nowrap;transition:background .18s,border-color .18s}
.button svg{width:17px;height:17px}
.primary{background:var(--accent);border-color:#e8b927;color:#1c1a10}
.primary:hover{background:#ffe179;border-color:#d6a51f}
.outline{background:transparent;border-color:#cfc8b4}
.hero-meta{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:20px;color:#686252;font-size:12px}
.hero-meta span+span::before{content:"/";margin-right:16px;color:#a89b77;font-family:var(--mono)}
.hero-meta strong{color:var(--ink);font-size:14px}
.film{position:relative;background:#1c1b17;padding:10px 13px 9px;border:1px solid #353025;border-radius:9px;box-shadow:7px 8px 0 #e9e1ca;min-width:0}
.film-meta,.film figcaption{display:flex;justify-content:space-between;align-items:center;line-height:2.1;color:#d5c699;font-size:10px}
.film-meta i{display:inline-block;width:6px;height:6px;margin-right:4px;border-radius:50%;background:#ffd34e;vertical-align:1px}
.film figcaption{color:#c8b986}
.film figcaption b{color:#ffc641}
.perforations{height:9px;margin:4px 0;background:repeating-linear-gradient(90deg,#f8ecb44c 0 13px,transparent 13px 24px);mask-image:linear-gradient(transparent 15%,black 16% 85%,transparent 86%);border-radius:3px}
.film-frame{position:relative;aspect-ratio:1.83;border:1px solid #6a5532;overflow:hidden;background:#544227}
.film-frame img{width:100%;height:100%;display:block;object-fit:cover;object-position:center 53%}
.frame-overlay{position:absolute;inset:12px;border:1px solid #fff1b94a;pointer-events:none}
.frame-overlay span{position:absolute;width:15px;height:15px;border-style:solid;border-color:#fff3cbab}
.frame-overlay span:nth-child(1){top:-1px;left:-1px;border-width:2px 0 0 2px}
.frame-overlay span:nth-child(2){top:-1px;right:-1px;border-width:2px 2px 0 0}
.frame-overlay span:nth-child(3){bottom:-1px;left:-1px;border-width:0 0 2px 2px}
.frame-overlay span:nth-child(4){bottom:-1px;right:-1px;border-width:0 2px 2px 0}
.search-band{background:var(--dark);color:var(--white);padding:22px 25px 18px;border:1px solid #191912;border-radius:9px}
#search-form{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px}
#search-form label{display:flex;gap:9px;align-items:center;font-size:17px;font-weight:750;white-space:nowrap;margin-right:11px}
#search-form label svg{color:var(--accent);width:23px;height:23px}
.search-input{display:flex;align-items:center;background:#302f27;border:1px solid #525044;border-radius:6px;padding-right:10px}
.search-input:focus-within{border-color:var(--accent);outline:2px solid #ffd34342}
.search-input input{position:relative;width:100%;background:transparent;border:0;padding:10px 12px;min-height:42px;outline:none;font-size:14px}
.search-input input::placeholder{color:#c7c1ad;opacity:1}
.search-input kbd{width:21px;text-align:center;border:1px solid #696353;border-radius:4px;color:#dfd5b4;font-family:var(--mono);flex:none}
#search-form button{min-height:44px;padding-inline:16px}
.quick-search{display:flex;flex-wrap:wrap;gap:5px 8px;align-items:center;margin:12px 0 0 175px;font-size:12px;color:#c9c1ab}
.quick-search>span{margin-right:3px}
.quick-search button{background:#292820;border:1px solid #494638;border-radius:4px;padding:3px 8px;color:#eee5cc}
.quick-search button:hover{background:#484026;border-color:#8b742e}
.workflow{padding:39px 0 37px}
.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:17px}
.section-kicker{color:#76602a;margin-bottom:4px;font-size:10px}
.section-heading h2,.guide h2{font-size:31px;line-height:1.28;letter-spacing:-.05em;font-weight:800}
.text-link{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;border:0;background:transparent;padding:0;white-space:nowrap}
.text-link svg{width:16px;height:16px}
.stages{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.stage{position:relative;display:grid;justify-items:start;gap:5px;text-align:left;background:var(--white);border:1px solid var(--rule);border-radius:7px;padding:13px 12px 11px;min-width:0;transition:background .18s,border-color .18s,transform .18s}
.stage:hover,.stage[aria-pressed="true"]{background:#fff3c1;border-color:#ddab24;transform:translateY(-2px)}
.stage-icon,.card-icon{display:grid;place-items:center;width:33px;height:33px;border-radius:6px;background:#f3ecd6;color:#57451a}
.stage-icon svg,.card-icon svg{height:19px;width:19px}
.stage>svg{position:absolute;top:13px;right:10px;width:15px;height:15px;color:#948760}
.stage strong{font-size:14px;margin-top:3px;white-space:nowrap}
.stage small{color:#696352;font-size:11px;white-space:nowrap}
.library{padding-top:29px;border-top:1px solid var(--rule);scroll-margin-top:25px}
.catalog-date{color:#696352;font-size:10px;white-space:nowrap;margin-bottom:2px;letter-spacing:.045em}
.catalog-controls{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.filters,.selects{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.selects{justify-content:flex-end}
.filter,.selects select{min-height:33px;border:1px solid var(--rule);border-radius:5px;background:var(--white);padding:3px 9px;font-size:12px;color:#4e493b;white-space:nowrap}
.filter:hover,.selects select:hover{border-color:#b49a54}
.filter[aria-pressed="true"]{background:var(--dark);border-color:var(--dark);color:#fff7dd}
.results-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:13px 0 10px;min-height:23px;font-size:12px;color:#635d4c}
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.card{min-width:0;border:1px solid var(--rule);border-radius:8px;background:var(--white);padding:16px;display:flex;flex-direction:column;transition:border-color .18s,box-shadow .18s}
.card:hover{border-color:#c0aa67;box-shadow:0 3px 12px #4032110a}
.card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.card-label{display:inline-flex;align-items:center;gap:8px;color:#65542c;font-size:11px;font-weight:700}
.card-icon{width:34px;height:34px}
.bookmark{border:1px solid var(--rule);border-radius:6px;display:grid;place-items:center;width:32px;height:32px;background:transparent;color:#63583b}
.bookmark:hover,.bookmark[aria-pressed="true"]{background:#ffedab;border-color:#dfb742;color:#332704}
.bookmark[aria-pressed="true"] svg{fill:#e9b523}
.bookmark svg{width:16px;height:16px}
.card h3{font-size:19px;line-height:1.34;letter-spacing:-.022em}
.card h3 button{font:inherit;text-align:left;background:none;border:0;padding:0;overflow-wrap:anywhere}
.card h3 button:hover{text-decoration:underline;text-underline-offset:3px}
.repo{color:#726b56;font-size:11px;font-family:var(--mono);margin-top:4px;overflow-wrap:anywhere}
.description{font-size:13px;line-height:1.7;color:#5d5749;margin:9px 0 12px}
.tags{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:13px}
.tag{font-size:11px;border:1px solid #e9e2d0;background:#f8f4e8;color:#5d5136;border-radius:4px;padding:1px 6px}
.card-footer{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:6px;border-top:1px solid #eae4d5;padding-top:10px}
.card-footer .text-link{font-size:12px}
.mode{color:#6c6249;font-size:11px;white-space:nowrap}
.more-row{text-align:center;margin:19px 0 32px}
.more-row:empty{display:none}
.empty{grid-column:1/-1;padding:40px 20px;text-align:center;border:1px dashed #c9bda0;border-radius:8px;background:var(--white)}
.empty h3{font-size:19px}
.empty p{color:var(--muted);margin-top:5px}
.guide{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center;background:#f0ead7;border:1px solid #e4dac2;border-radius:9px;padding:27px 32px;margin:6px 0 40px;scroll-margin-top:25px}
.guide-copy>p:not(.section-kicker){max-width:420px;color:#595343;margin:10px 0 15px}
.guide-steps{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.guide-steps li{display:flex;gap:11px;background:var(--white);border:1px solid #e5dbc2;border-radius:6px;padding:8px 11px;align-items:center}
.guide-steps li>span{color:#795d16;font-family:var(--mono);font-size:12px;font-weight:700}
.guide-steps strong{font-size:13px}
.guide-steps p{color:var(--muted);font-size:12px}
.site-footer{border-top:1px solid var(--rule)}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-block:17px}
.footer-inner p{color:var(--muted);font-size:12px}
.footer-inner .brand-mark{width:32px;height:32px}
.footer-inner .brand-mark svg{width:21px;height:21px}
.footer-inner .brand-name strong{font-size:18px}
.footer-inner .brand-name>span{font-size:10px}
dialog{width:min(670px,calc(100% - 24px));max-height:calc(100dvh - 36px);padding:0;border:1px solid #d2c59f;border-radius:11px;background:var(--white);color:var(--ink);box-shadow:0 14px 85px #0006}
dialog::backdrop{background:#181711a6;backdrop-filter:blur(3px)}
.dialog-content{padding:25px;position:relative}
.dialog-content h2{font-size:clamp(23px,4vw,33px);line-height:1.25;overflow-wrap:anywhere;padding-right:35px}
.dialog-content .repo{margin-top:6px}
.dialog-content .description{font-size:14px;margin:12px 0}
.dialog-content .tag{font-size:12px}
.dialog-close{display:grid;place-items:center;position:absolute;top:16px;right:16px;width:36px;height:36px;background:#f5efdf;border:1px solid var(--rule);border-radius:6px}
.dialog-close:hover{background:#fff0b1}
.dialog-close svg{width:18px;height:18px}
.dialog-section{border-top:1px solid var(--rule);padding-top:15px;margin-top:15px}
.dialog-section h3{font-size:16px;margin-bottom:6px}
.dialog-section p,.dialog-section li{font-size:13px;color:#555040}
.dialog-section a:not(.button){text-decoration:underline;text-underline-offset:3px}
.agent-tabs{display:flex;flex-wrap:wrap;gap:5px;margin:9px 0 6px}
.code-block{position:relative;background:var(--dark);color:#fff4cd;border:1px solid #343020;border-radius:6px;margin:7px 0;min-width:0}
.code-block pre{font:12px/1.6 var(--mono);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:13px 74px 13px 12px}
.code-block button{position:absolute;right:7px;top:7px;display:flex;align-items:center;gap:4px;background:#3c3728;border:1px solid #655632;border-radius:5px;color:#fff4cd;padding:4px 6px;font-size:11px}
.code-block button:hover{background:#5e4d27}
.code-block svg{width:13px;height:13px}
.dialog-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px}
.toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:var(--dark);border:1px solid #60552c;color:#fff3c8;padding:8px 13px;border-radius:6px;z-index:3;white-space:nowrap}
dialog .toast{position:sticky;bottom:4px;width:max-content;margin:8px auto 0;left:auto;transform:none}
@media(max-width:1040px){.wrap{width:calc(100% - 58px)}.hero{gap:34px}.stages{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){.wrap{width:calc(100% - 36px)}.masthead{height:67px}.header-nav{position:static;transform:none;gap:17px;font-size:13px}.brand-name>span{display:none}.hero{gap:24px;padding:32px 0}.hero-copy>p{font-size:14px}.hero h1{font-size:clamp(34px,6.4vw,47px)}.search-band{padding:16px}.catalog-controls{flex-direction:column}.selects{justify-content:flex-start}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.guide{padding:20px;gap:16px}}
@media(max-width:580px){.wrap{width:calc(100% - 28px)}.masthead{height:60px;gap:9px}.brand{gap:6px}.brand-mark{width:32px;height:32px}.brand-mark svg{width:19px;height:19px}.brand-name strong{font-size:18px}.header-nav{gap:9px;font-size:11px}.header-saved{padding:6px;gap:3px;font-size:0}.header-saved svg{width:16px;height:16px}.hero{grid-template-columns:1fr;padding:24px 0 27px;gap:22px}.hero h1{font-size:clamp(39px,10.5vw,58px)}.eyebrow{margin-bottom:10px;font-size:10px}.hero-copy>p{margin-top:13px}.hero-actions{margin-top:15px}.hero-meta{margin-top:12px;gap:4px 8px}.hero-meta span+span::before{margin-right:8px}.film{box-shadow:4px 5px 0 #e9e1ca}.film-frame{aspect-ratio:1.95}.search-band{padding:12px}.search-input input{font-size:12px}#search-form{grid-template-columns:minmax(0,1fr) auto;gap:7px}#search-form label{grid-column:1/-1;font-size:15px}#search-form label svg{width:18px;height:18px}#search-form button{padding-inline:8px;gap:3px}.quick-search{margin:8px 0 0;gap:4px}.quick-search button{padding:2px 5px}.workflow{padding:25px 0}.section-heading h2,.guide h2{font-size:24px}.section-heading{margin-bottom:11px}.section-heading>.text-link{font-size:11px}.stage{padding-inline:7px}.stage strong{font-size:12px}.stage small{font-size:10px}.stage>svg{right:5px}.stages{gap:5px}.library{padding-top:21px}.cards{grid-template-columns:1fr;gap:8px}.card{padding:12px}.guide{grid-template-columns:1fr;padding:13px;margin-bottom:22px}.footer-inner{flex-wrap:wrap}.footer-inner p{flex-basis:100%;order:1}.dialog-content{padding:16px}.catalog-date{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
