:root{--bg:#17191F;--nav:#20283A;--edge:#35435F;--fg:#F4F1EB;--muted:#A3A29D;--gold:#D9BD91;--plus:#B9A58A;--ink:#18243A}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--fg);font:15px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}.shell{max-width:1080px;margin:auto;min-height:100vh;padding:0 30px 135px}header{height:112px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff15}.brand{cursor:pointer;display:flex;flex-direction:column;line-height:1.3}.brand strong{font-size:30px;letter-spacing:5px;font-weight:600}.dot{color:var(--gold)}.brand small{font-size:9px;letter-spacing:3.5px;color:var(--gold);margin-top:9px}.demo{font-size:11px;color:var(--muted);border:1px solid var(--edge);border-radius:50px;padding:6px 12px}main{padding-top:48px}.eyebrow{font-size:11px;letter-spacing:3px;color:var(--gold);text-transform:uppercase}.hero{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:42px}h1{font-size:clamp(29px,5vw,48px);font-weight:500;letter-spacing:2px;margin:9px 0 8px}h2{font-size:23px;font-weight:500;margin:0}h3{font-size:17px;font-weight:500;margin:0}.muted{color:var(--muted)}.sub{font-size:13px;color:var(--muted)}.btn{border:1px solid var(--edge);color:var(--fg);background:transparent;padding:10px 19px;border-radius:12px}.btn.primary{background:var(--gold);color:var(--ink);border-color:var(--gold);font-weight:600}.btn.danger{color:#f0a9a9;border-color:#835354}.btn.small{padding:6px 12px;font-size:12px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:45px}.stat,.panel{background:#1e222b;border:1px solid #ffffff0d;border-radius:17px;padding:23px}.stat b{font-size:36px;font-weight:400;display:block;color:var(--gold)}.stat span{font-size:12px;color:var(--muted)}.section-head{display:flex;align-items:center;justify-content:space-between;margin:30px 0 18px}.section-head button{color:var(--gold);background:none;border:0}.film-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:20px}.film{cursor:pointer;min-width:0}.poster{aspect-ratio:2/3;border-radius:12px;overflow:hidden;background:linear-gradient(145deg,#31384b,#191c26);display:flex;align-items:center;justify-content:center;border:1px solid #ffffff12;position:relative}.poster img{width:100%;height:100%;object-fit:cover}.poster .placeholder{font-family:Georgia,serif;font-size:28px;color:#d9bd9188;letter-spacing:3px}.film h3{margin:12px 0 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.film p{margin:0;font-size:12px;color:var(--muted)}.tag{color:var(--gold);font-size:11px;border:1px solid #d9bd9155;padding:3px 9px;border-radius:20px;white-space:nowrap}.filters{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0 26px}.filter{background:#222733;color:var(--muted);border:1px solid #ffffff12;border-radius:30px;padding:7px 17px}.filter.active{border-color:var(--gold);color:var(--gold)}.search{width:100%;border:1px solid var(--edge);border-radius:12px;background:#20232d;padding:13px 16px;color:var(--fg);outline:none}.search:focus,input:focus,textarea:focus,select:focus{border-color:var(--gold)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:18px}.field label{color:var(--muted);font-size:12px}.field input,.field select,.field textarea{background:#222733;color:var(--fg);border:1px solid var(--edge);border-radius:10px;padding:12px;outline:none;width:100%}.field textarea{min-height:125px;resize:vertical}.full{grid-column:1/-1}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:15px}.detail-layout{display:grid;grid-template-columns:250px 1fr;gap:40px;margin-bottom:38px}.detail-layout .poster{max-width:250px}.meta{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0 25px}.meta span{font-size:13px;color:var(--muted)}.review{white-space:pre-wrap;line-height:1.9}.entry{padding:18px 0;border-bottom:1px solid #ffffff17}.entry:last-child{border:0}.entry-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:9px}.entry-head strong{font-size:13px;font-weight:500}.entry-head time{font-size:11px;color:var(--muted)}.entry p{white-space:pre-wrap;margin:8px 0}.reply{border-left:2px solid var(--edge);padding:7px 0 7px 15px;margin:12px 0 0 12px}.crown{color:var(--gold);font-size:16px;margin-left:7px}.avatar{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#303747;color:var(--gold);font-size:10px;margin-right:9px}.empty{text-align:center;padding:55px 15px;color:var(--muted);border:1px dashed var(--edge);border-radius:15px}.letter-tabs{display:flex;gap:12px;margin-bottom:20px}nav{position:fixed;z-index:20;bottom:22px;left:50%;transform:translateX(-50%);width:min(690px,calc(100% - 30px));height:80px;border-radius:22px;border:1px solid var(--edge);background:var(--nav);display:grid;grid-template-columns:repeat(5,1fr);align-items:center;box-shadow:0 14px 35px #0006}nav button{border:0;background:none;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:11px;height:100%;position:relative}nav button.active{color:var(--gold)}nav button.active:after{content:"";position:absolute;bottom:7px;width:23px;height:2px;background:var(--gold);box-shadow:0 0 9px var(--gold);border-radius:4px}nav svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.5;transition:transform .2s}nav button:hover svg,nav button.active svg{transform:translateY(-2px)}nav .plus-icon{width:46px;height:46px;background:var(--plus);color:var(--ink);border-radius:50%;display:grid;place-items:center;font-size:28px;font-weight:300;line-height:1}.toast{position:fixed;top:24px;left:50%;transform:translateX(-50%);background:#303747;border:1px solid var(--gold);padding:10px 23px;border-radius:10px;z-index:50;color:var(--fg)}.split{display:grid;grid-template-columns:1fr 1fr;gap:18px}.footnote{font-size:12px;color:var(--muted);margin-top:22px}@media(max-width:650px){.shell{padding:0 17px 130px}header{height:92px}.brand strong{font-size:25px}.demo{font-size:9px;padding:5px 8px}main{padding-top:30px}.hero{align-items:start;flex-direction:column;margin-bottom:27px}.stats{gap:8px;margin-bottom:30px}.stat{padding:15px 12px}.stat b{font-size:28px}.film-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.detail-layout{grid-template-columns:125px 1fr;gap:17px}.detail-layout h1{font-size:25px}.detail-layout .poster{max-width:125px}.form-grid,.split{grid-template-columns:1fr}.full{grid-column:auto}nav{bottom:12px;height:75px;border-radius:19px}nav button{font-size:10px}nav .plus-icon{width:42px;height:42px}}

/* 第二版：评分与图片 */
.rating-row{display:flex;align-items:center;gap:16px}.rating-row input[type=range]{flex:1;min-width:0;accent-color:#D9BD91;padding:0;min-height:44px;cursor:pointer}output{color:#D9BD91;font-size:24px;font-variant-numeric:tabular-nums}input[type=file]{max-width:100%;padding:12px}input[type=file]::file-selector-button{background:#20283A;color:#D9BD91;border:1px solid #35435F;border-radius:8px;padding:10px;margin-right:12px;cursor:pointer}.media-grid,.screenshot-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px;margin-top:16px}.media-preview{margin:12px 0;max-width:280px}.media-preview img{display:block;width:100%;height:150px;object-fit:contain;background:#17191F;border:1px solid #35435F;border-radius:12px;margin-bottom:8px}.poster-preview{max-width:180px}.poster-preview img{height:250px}.screenshot-gallery figure{margin:0}.screenshot-gallery img{width:100%;height:auto;display:block;border-radius:10px}.review{white-space:pre-wrap;overflow-wrap:anywhere}.field .sub{line-height:1.7}.media-grid:empty{margin:0}@media(max-width:560px){.screenshot-gallery{grid-template-columns:1fr}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


.visitor-nav{grid-template-columns:repeat(4,1fr)}.poster{background:#20283A}.brand-button{background:transparent;border:0;color:var(--fg);padding:0;text-align:left}.film-button{border:0;padding:0;background:transparent;color:var(--fg);text-align:left;display:block;width:100%}.text-link{border:0;background:none;color:var(--gold);padding:0;text-align:left}.detail-spacing{margin-top:26px}.connection{font-size:11px;color:var(--muted);margin:12px 0 -20px}.logout{color:var(--gold);font-size:12px;margin-left:10px}nav{bottom:max(12px,env(safe-area-inset-bottom))}button,a,input,select{touch-action:manipulation}textarea,input,select{font-size:16px!important}img{max-width:100%}.panel+.panel{margin-top:22px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}button:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:4px}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.archive-actions,.filter-summary,.filter-options{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.archive-actions{margin-bottom:14px}
#filter-panel{margin:14px 0 0}
.filter-summary{margin:18px 0;color:var(--muted);font-size:13px}
.filter-group{margin:0 0 18px;padding:0;border:0;min-width:0}
.filter-group legend{margin-bottom:8px;font-size:13px;color:var(--muted)}
.filter-choice{display:inline-flex;align-items:center;gap:5px;min-height:38px;padding:4px 9px;border:1px solid var(--edge);border-radius:20px;cursor:pointer}
.filter-choice input{accent-color:var(--gold);margin:0}
.recommendation-comments{margin-top:16px}
.recommendation-comments summary{cursor:pointer;color:var(--gold);padding:8px 0}
.recommendation-comments form{margin-top:12px}
.letter-tabs{flex-wrap:wrap}
@media(max-width:560px){.shell{padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))}.filter-choice{min-height:42px}.archive-actions .btn{min-height:44px}}

/* Typography shared by visitor and management pages. */
body{line-height:1.65}
.brand strong{letter-spacing:.10em}
.brand small{font-size:10px;letter-spacing:.13em;margin-top:6px}
h1,.detail-layout h1{font-size:clamp(24px,4.1vw,36px);font-weight:550;letter-spacing:.02em;line-height:1.25}
h2{font-size:20px;font-weight:550;line-height:1.4}
h3,.film h3{font-size:16px;line-height:1.4}
.eyebrow{font-size:12px;letter-spacing:.05em;text-transform:none}
.hero h1{margin:0 0 7px}
.hero .sub{margin:0;line-height:1.6}
.review,.entry p{line-height:1.7;overflow-wrap:anywhere}
.entry-head time,.footnote,.filter-summary{line-height:1.5}
.stat b{line-height:1.25}
@media(max-width:650px){.stat span{font-size:11px}.brand small{font-size:9px}.detail-layout h1{font-size:24px}}
.lookup-panel{margin-bottom:16px}
.lookup-panel summary{cursor:pointer;color:var(--gold);font-weight:550}
.lookup-panel form{margin-top:14px}
#work-results:not(:empty){margin-top:12px}
.poster-credit{margin-top:10px;font-size:11px;overflow-wrap:anywhere}
.poster-credit img{display:block}
.poster-credit p{margin:4px 0 0}
