:root { --bg:#171717; --panel:#202020; --panel2:#292929; --line:rgba(255,255,255,.09); --text:#f5f5f5; --muted:rgba(255,255,255,.52); --violet:#9682ff; --violet-dark:#6c59e8; }
* { box-sizing:border-box; } body { margin:0; min-width:980px; background:var(--bg); color:var(--text); font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; } button,input { font:inherit; } button { border:0; cursor:pointer; } .route { display:none; min-height:100vh; } .route.active { display:block; }
[data-superadmin-only][hidden] { display:none !important; }
.brand { display:inline-flex; align-items:center; gap:9px; color:var(--text); font-size:17px; font-style:italic; font-weight:760; letter-spacing:-.03em; text-decoration:none; }.brand-mark { display:grid; width:27px; height:27px; place-items:center; border-radius:8px; background:linear-gradient(145deg,#baa7ff,#6e5cec); color:#fff; font-size:15px; font-style:normal; font-weight:850; box-shadow:0 5px 12px rgba(117,95,255,.3); }
.project-page { padding-bottom:72px; background:#171717; }.topbar { display:flex; height:78px; align-items:center; justify-content:space-between; padding:0 34px; border-bottom:1px solid rgba(255,255,255,.035); }.utility-nav { display:flex; align-items:center; gap:8px; }.utility-pill,.utility-icon { height:38px; border-radius:12px; background:#252525; color:rgba(255,255,255,.76); padding:0 13px; font-size:12px; font-weight:650; }.utility-pill:hover,.utility-icon:hover { background:#323232; color:#fff; }.utility-nav .feature { background:#3d301c; color:#e7bd61; }.utility-icon { width:38px; padding:0; font-size:15px; }.signout { display:inline-flex; align-items:center; text-decoration:none; }
.hero-strip { display:grid; grid-template-columns:minmax(220px,.86fr) minmax(470px,1.25fr) minmax(220px,.86fr); align-items:center; gap:0; max-width:1540px; height:340px; margin:6px auto 24px; overflow:hidden; }.hero-card { position:relative; overflow:hidden; border-radius:14px; }.side-card { height:255px; display:flex; flex-direction:column; justify-content:flex-end; padding:24px 23px; background:linear-gradient(135deg,rgba(61,46,87,.38),rgba(21,27,43,.84)),radial-gradient(circle at 65% 25%,#ce8b83 0 4%,transparent 4.5%),linear-gradient(145deg,#3f305a,#142238); transform:translateX(22px) scale(.96); }.side-card.cool { background:linear-gradient(135deg,rgba(34,98,120,.25),rgba(20,34,48,.88)),radial-gradient(circle at 67% 24%,#d6d0a1 0 5%,transparent 5.5%),linear-gradient(145deg,#254f5b,#182236); transform:translateX(-22px) scale(.96); }.side-card span { color:#b7d8ff; font-size:11px; font-weight:750; letter-spacing:.1em; }.side-card strong { margin-top:9px; font-size:20px; }.side-card small { margin-top:7px; color:rgba(255,255,255,.59); font-size:12px; }.feature-card { z-index:2; height:300px; background:linear-gradient(130deg,#393058 0%,#35386b 47%,#d5827a 108%); box-shadow:0 22px 44px rgba(0,0,0,.28); }.feature-card:before { position:absolute; inset:0; background:linear-gradient(120deg,transparent 40%,rgba(255,255,255,.1) 40.3%,transparent 41%,transparent 65%,rgba(255,255,255,.08) 65.4%,transparent 66%); content:""; }.feature-content { position:relative; z-index:2; max-width:340px; padding:54px 48px; }.feature-content span,.eyebrow { color:#cbc2ff; font-size:11px; font-weight:800; letter-spacing:.14em; }.feature-content h1 { margin:11px 0 11px; font-size:37px; letter-spacing:-.055em; }.feature-content p { margin:0; color:rgba(255,255,255,.73); font-size:13px; line-height:1.7; }.feature-content button { display:inline-flex; align-items:center; gap:28px; margin-top:24px; border-radius:9px; padding:10px 13px; background:#fff; color:#353143; font-size:12px; font-weight:760; }.feature-content button:hover { transform:translateY(-1px); }.feature-content b,.primary-button b { font-size:16px; line-height:.5; }.feature-orb { position:absolute; right:-60px; bottom:-85px; width:270px; height:270px; border-radius:50%; background:radial-gradient(circle at 35% 30%,#ffe6af,#f2aa77 38%,rgba(220,119,124,.25) 65%,transparent 66%); opacity:.84; }.frame-stack i { position:absolute; right:74px; top:62px; width:138px; height:92px; border:1px solid rgba(255,255,255,.62); border-radius:8px; background:rgba(24,27,60,.12); transform:rotate(-10deg); }.frame-stack i:after { position:absolute; top:13px; left:13px; width:42px; height:2px; background:rgba(255,255,255,.67); box-shadow:0 12px rgba(255,255,255,.43),0 24px rgba(255,255,255,.23); content:""; }.frame-stack i:nth-child(2) { right:31px; top:105px; opacity:.68; transform:rotate(9deg) scale(.82); }.frame-stack i:nth-child(3) { right:111px; top:124px; opacity:.42; transform:rotate(17deg) scale(.68); }
.project-shelf { max-width:1540px; margin:0 auto; padding:28px 0 30px; }.shelf-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; }.shelf-head h2 { margin:0; font-size:19px; font-weight:650; }.text-button,.link-button { border:0; background:transparent; color:rgba(255,255,255,.58); font-size:13px; }.text-button:hover,.link-button:hover { color:#fff; }.project-grid { display:flex; gap:17px; }.project-card { position:relative; width:243px; min-width:243px; text-align:left; }.cover { position:relative; height:136px; overflow:hidden; border-radius:12px; background:#282828; box-shadow:inset 0 0 0 1px rgba(255,255,255,.055); }.cover > img { width:100%; height:100%; object-fit:cover; display:block; }.cover.video { background:linear-gradient(130deg,#574787,#304c7c 44%,#db8579); }.cover.video:before { position:absolute; inset:0; background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.15) 30.5%,transparent 31%,transparent 57%,rgba(255,255,255,.1) 57.5%,transparent 58%); content:""; }.cover.video:after { position:absolute; right:-15px; bottom:-39px; width:145px; height:145px; border-radius:50%; background:rgba(250,184,121,.61); box-shadow:0 0 55px rgba(255,188,111,.42); content:""; }.cover-label { position:absolute; z-index:1; left:17px; bottom:16px; color:#fff; font-size:14px; font-weight:830; letter-spacing:.08em; line-height:1.05; }.cover-grid { position:absolute; top:22px; right:34px; width:70px; height:47px; border:1px solid rgba(255,255,255,.66); border-radius:5px; transform:rotate(-10deg); }.cover-grid:before { position:absolute; top:7px; left:7px; width:21px; height:1px; background:rgba(255,255,255,.7); box-shadow:0 8px rgba(255,255,255,.44),0 16px rgba(255,255,255,.25); content:""; }.cover.photo { background:linear-gradient(140deg,#82624c,#e8bf81 46%,#436e67); }.cover.story { background:linear-gradient(140deg,#b9d9f0,#d5a2d9 48%,#6e629d); }.cover .cover-letter { display:grid; height:100%; place-items:center; color:rgba(255,255,255,.46); font-size:34px; font-weight:800; }.project-card h3 { margin:11px 45px 0 8px; color:rgba(255,255,255,.91); font-size:14px; font-weight:650; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.project-name-input { width:calc(100% - 53px); height:25px; margin:8px 45px 0 8px; border:1px solid rgba(159,143,255,.8); border-radius:6px; outline:0; background:#29282e; color:#fff; padding:0 7px; font-size:14px; font-weight:650; }.project-card p { margin:5px 8px 0; color:rgba(255,255,255,.42); font-size:12px; }.card-more { position:absolute; top:145px; right:8px; display:grid; width:31px; height:31px; place-items:center; border:1px solid rgba(255,255,255,.09); border-radius:10px; background:#303030; color:#fff; font-size:17px; letter-spacing:-2px; opacity:0; pointer-events:none; transition:opacity .14s ease,background .14s ease; }.project-card:hover .card-more,.project-card:focus-within .card-more { opacity:1; pointer-events:auto; }.card-more:hover { background:#404040; }.new-card button { display:flex; width:100%; height:136px; align-items:center; justify-content:center; gap:10px; border:1px solid rgba(255,255,255,.12); border-radius:12px; background:#2a2a2a; color:rgba(255,255,255,.89); font-size:14px; font-weight:650; }.new-card button:hover { background:#353535; }.new-card i { color:rgba(255,255,255,.54); font-size:30px; font-style:normal; font-weight:300; }.new-card p { height:46px; display:grid; place-items:center; margin:12px 0 0; border-radius:11px; background:#292929; color:rgba(255,255,255,.72); }.project-menu { position:fixed; z-index:20; display:none; width:208px; padding:8px; border:1px solid rgba(255,255,255,.16); border-radius:15px; background:#383838; box-shadow:0 16px 38px rgba(0,0,0,.38),inset 0 1px rgba(255,255,255,.06); }.project-menu.show { display:grid; }.project-menu button { display:flex; min-height:38px; align-items:center; justify-content:space-between; border:0; border-radius:8px; background:transparent; color:#f6f6f6; padding:0 10px; text-align:left; font-size:14px; font-weight:560; letter-spacing:0; }.project-menu button:hover { background:rgba(255,255,255,.11); }.project-menu button span { font-size:22px; font-weight:300; line-height:1; }.project-menu hr { width:calc(100% - 10px); height:1px; margin:4px auto; border:0; background:rgba(255,255,255,.14); }.project-menu .danger { color:#ff9e9e; }
.login-page { display:none; grid-template-columns:1.08fr .92fr; background:#141416; }.login-page.active { display:grid; }.login-showcase { position:relative; display:flex; min-height:100vh; overflow:hidden; flex-direction:column; padding:34px clamp(52px,8vw,150px); background:radial-gradient(circle at 72% 63%,rgba(120,99,231,.48),transparent 25%),linear-gradient(135deg,#25213b,#282d57 46%,#8c607d 120%); }.login-showcase:after { position:absolute; inset:0; background:linear-gradient(118deg,transparent 53%,rgba(255,255,255,.1) 53.2%,transparent 53.5%,transparent 67%,rgba(255,255,255,.07) 67.2%,transparent 67.5%); content:""; }.showcase-copy { position:relative; z-index:2; margin-top:auto; margin-bottom:13vh; }.showcase-copy h1 { margin:14px 0; font-size:clamp(36px,4vw,58px); letter-spacing:-.065em; line-height:1.12; }.showcase-copy p { max-width:330px; margin:0; color:rgba(255,255,255,.7); font-size:14px; line-height:1.75; }.login-showcase > small { position:relative; z-index:2; color:rgba(255,255,255,.41); font-size:11px; }.showcase-art { position:absolute; right:-44px; bottom:82px; width:450px; height:390px; }.sun { position:absolute; right:66px; top:24px; width:210px; height:210px; border-radius:50%; background:radial-gradient(circle at 35% 28%,#ffe7af,#eea678 44%,rgba(243,145,123,.25) 68%,transparent 69%); }.film { position:absolute; width:210px; height:140px; border:1px solid rgba(255,255,255,.64); border-radius:12px; background:rgba(31,31,72,.13); box-shadow:0 24px 50px rgba(19,13,44,.25); }.film:after { position:absolute; top:18px; left:18px; width:60px; height:2px; background:rgba(255,255,255,.68); box-shadow:0 14px rgba(255,255,255,.42),0 28px rgba(255,255,255,.22); content:""; }.film.a { top:62px; left:85px; transform:rotate(-14deg); }.film.b { top:143px; left:193px; opacity:.72; transform:rotate(9deg) scale(.8); }.film.c { top:220px; left:45px; opacity:.47; transform:rotate(17deg) scale(.63); }
.login-panel { display:flex; min-height:100vh; flex-direction:column; justify-content:center; padding:80px clamp(44px,8vw,130px); background:#1a1a1d; }.login-panel-head h2 { margin:11px 0 8px; font-size:31px; letter-spacing:-.045em; }.login-panel-head p { margin:0 0 34px; color:var(--muted); font-size:14px; }.mobile-brand { display:none; }.login-panel form { width:min(390px,100%); }.login-panel label { display:block; margin-bottom:17px; color:rgba(255,255,255,.78); font-size:12px; font-weight:650; }.login-panel input { width:100%; height:48px; margin-top:8px; border:1px solid rgba(255,255,255,.12); border-radius:10px; outline:0; background:#262629; color:#fff; padding:0 14px; font-size:14px; }.login-panel input:focus { border-color:#9785ff; box-shadow:0 0 0 3px rgba(143,123,255,.13); }.password-field { position:relative; }.password-field input { padding-right:45px; }.password-field button { position:absolute; right:7px; bottom:7px; width:34px; height:34px; border-radius:8px; background:transparent; color:rgba(255,255,255,.5); }.password-field button:hover { background:#343438; color:#fff; }.form-row { display:flex; align-items:center; justify-content:space-between; margin:-2px 0 22px; }.form-row .check { display:flex; align-items:center; gap:7px; margin:0; color:var(--muted); font-size:12px; font-weight:500; }.check input { width:14px; height:14px; margin:0; accent-color:#8d79ff; }.form-error { min-height:18px; margin:-10px 0 8px; color:#ff9b9b; font-size:12px; }.primary-button { display:flex; width:100%; height:50px; align-items:center; justify-content:space-between; border-radius:10px; background:linear-gradient(100deg,#8d7aff,#6b58e9); color:#fff; padding:0 17px; font-size:14px; font-weight:750; box-shadow:0 10px 22px rgba(108,87,232,.22); }.primary-button:hover { filter:brightness(1.07); }.signup { margin:24px 0 0; color:var(--muted); font-size:13px; }.signup .link-button { color:#b5a9ff; }.login-note { max-width:390px; margin:42px 0 0; color:rgba(255,255,255,.3); font-size:11px; line-height:1.7; }.toast { position:fixed; z-index:10; bottom:28px; left:50%; transform:translate(-50%,18px); opacity:0; pointer-events:none; border:1px solid rgba(255,255,255,.12); border-radius:10px; background:#303035; color:#fff; padding:12px 15px; font-size:13px; box-shadow:0 16px 36px rgba(0,0,0,.3); transition:.22s ease; }.toast.show { transform:translate(-50%,0); opacity:1; }
@media (max-width:1050px) { body { min-width:720px; }.project-shelf { margin:0 24px; padding-inline:30px; }.hero-strip { margin-inline:26px; grid-template-columns:.65fr minmax(410px,1.2fr) .65fr; }.feature-content { padding-left:37px; }.login-showcase { padding-inline:55px; }.login-panel { padding-inline:60px; } }
.project-card h3 { margin-top:16px; }
.project-name-input { margin-top:13px; }
.card-more { top:150px; }
.project-grid { gap:16px; overflow:hidden; }
.all-projects-view { display:none; max-width:none; padding:34px 42px 60px; }
body.all-projects .hero-strip,body.all-projects .project-shelf { display:none; }
body.all-projects .all-projects-view { display:block; }
.all-projects-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:26px; }
.all-projects-head > div { display:flex; align-items:center; gap:15px; }
.all-projects-head h2 { margin:0; font-size:22px; }
.all-projects-head span { width:1px; height:26px; background:rgba(255,255,255,.24); }
.back-button,.new-folder-button { border:0; border-radius:10px; background:transparent; color:rgba(255,255,255,.78); font-size:15px; font-weight:650; }
.back-button:hover { color:#fff; }.new-folder-button { min-height:44px; background:#303030; padding:0 16px; }.new-folder-button:hover { background:#3d3d3d; color:#fff; }
.folder-filters { display:flex; gap:9px; min-height:36px; margin:-6px 0 22px; }
.folder-filter { border:1px solid rgba(255,255,255,.09); border-radius:8px; background:#272727; color:rgba(255,255,255,.62); padding:0 12px; font-size:13px; }
.folder-filter.active,.folder-filter:hover { border-color:rgba(156,138,255,.6); background:rgba(117,96,234,.2); color:#eeeaff; }
.all-project-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:26px 20px; }
.all-project-grid .project-card { width:auto; min-width:0; }
.all-project-grid .cover,.all-project-grid .new-card button,.folder-card-art { height:auto; aspect-ratio:1.77; }
.all-project-grid .project-card h3 { margin-top:15px; font-size:17px; }
.all-project-grid .project-card p { font-size:14px; }
.all-project-grid .project-name-input { width:calc(100% - 58px); height:31px; margin-top:10px; font-size:16px; }
.all-project-grid .card-more { top:calc(56.5% + 12px); }
.folder-card { cursor:pointer; }
.project-card.sortable { cursor:grab; }
.project-card.sortable .cover,.project-card.sortable .folder-card-art { touch-action:none; transition:transform .18s cubic-bezier(.2,.82,.2,1),box-shadow .18s ease; }
.project-card.sortable.is-dragging { z-index:15; opacity:.38; cursor:grabbing; pointer-events:none; }
.project-card.sortable.is-dragging .cover,.project-card.sortable.is-dragging .folder-card-art { transform:scale(.95) rotate(-.6deg); box-shadow:0 18px 45px rgba(0,0,0,.5),0 0 0 2px rgba(116,178,255,.28); }
.folder-card.is-drop-target .folder-card-art { box-shadow:0 0 0 2px rgba(255,255,255,.95),0 0 20px rgba(255,255,255,.24); }
.folder-card-art { position:relative; overflow:hidden; border:1px solid rgba(255,255,255,.1); border-radius:13px; background:linear-gradient(145deg,#383838,#202020); }
.folder-card.is-empty .folder-card-art:before { position:absolute; top:19%; left:10%; width:47%; height:20%; border-radius:12px 12px 0 0; background:rgba(255,255,255,.09); content:""; }
.folder-card.is-empty .folder-card-art:after { position:absolute; top:27%; left:8%; right:8%; bottom:11%; border:1px solid rgba(255,255,255,.09); border-radius:10px; background:linear-gradient(145deg,rgba(255,255,255,.11),rgba(255,255,255,.025)); content:""; }
.folder-card.has-projects .folder-card-art { padding:9px; background:linear-gradient(145deg,#454545,#242424); }
.folder-thumbnails { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); grid-template-rows:repeat(4,minmax(0,1fr)); width:100%; height:100%; gap:3px; overflow:hidden; border-radius:8px; }
.folder-thumb { position:relative; display:grid; min-width:0; overflow:hidden; place-items:center; background:#353535; color:rgba(255,255,255,.65); }
.folder-thumb.has-image img { width:100%; height:100%; object-fit:cover; display:block; }.folder-thumb.video { background:linear-gradient(135deg,#554584,#36517e 48%,#d68278); }.folder-thumb.photo { background:linear-gradient(135deg,#7f5c42,#e4bc7e 53%,#3f6b65); }.folder-thumb.story { background:linear-gradient(135deg,#b6d7ef,#d4a0d7 50%,#705f9a); }.folder-thumb i { font-size:8px; font-style:normal; font-weight:800; letter-spacing:.02em; }
.folder-card h3 { margin-right:8px; }
@media (max-width:1500px) { .all-project-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
.all-projects-view { max-width:1540px; margin:0 auto; padding:34px 0 60px; }
.all-project-grid { grid-template-columns:repeat(6,minmax(0,1fr)); gap:26px 16px; }
.all-project-grid .cover,.all-project-grid .new-card button,.all-project-grid .folder-card-art { height:136px; aspect-ratio:auto; }
.all-project-grid .project-card h3 { margin-top:16px; font-size:14px; }
.all-project-grid .project-card p { font-size:12px; }
.all-project-grid .project-name-input { width:calc(100% - 53px); height:25px; margin-top:13px; font-size:14px; }
.all-project-grid .card-more { top:150px; }
.folder-submenu { position:fixed; z-index:21; display:none; width:210px; padding:8px; border:1px solid rgba(255,255,255,.17); border-radius:15px; background:#3a3a3a; box-shadow:0 16px 38px rgba(0,0,0,.38),inset 0 1px rgba(255,255,255,.07); }
.folder-submenu.show { display:grid; }.folder-submenu button { display:flex; min-height:39px; align-items:center; width:100%; border:0; border-radius:8px; background:transparent; color:#f5f5f5; padding:0 11px; text-align:left; font-size:14px; font-weight:560; }.folder-submenu button:hover { background:rgba(255,255,255,.12); }.folder-submenu p { margin:8px 10px; color:rgba(255,255,255,.52); font-size:12px; }
.folder-submenu .submenu-project-page { margin-bottom:4px; border-bottom:1px solid rgba(255,255,255,.12); border-radius:8px 8px 0 0; color:#fff; font-weight:700; }
.text-button,.back-button { text-decoration:none; }
.icon-label { display:inline-flex; align-items:center; gap:7px; }.icon-label svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.7; }
.folder-filters { display:inline-flex; min-height:48px; align-items:center; gap:4px; margin:0 0 22px; padding:5px; border:1px solid rgba(255,255,255,.1); border-radius:15px; background:linear-gradient(150deg,rgba(13,13,16,.98),rgba(1,1,4,.98)); box-shadow:inset 0 1px rgba(255,255,255,.08),0 12px 28px rgba(0,0,0,.22); }
.folder-filter { display:inline-flex; min-height:36px; align-items:center; justify-content:center; gap:7px; border:1px solid transparent; border-radius:11px; background:transparent; color:rgba(235,238,245,.5); padding:0 14px; font-size:13px; font-weight:620; transition:.18s ease; }.folder-filter svg { width:15px; height:15px; flex:0 0 auto; fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.55; }.folder-filter svg rect { fill:currentColor; stroke:none; }.folder-filter:hover { background:rgba(255,255,255,.055); color:rgba(255,255,255,.84); }.folder-filter.active { border-color:rgba(62,121,255,.9); background:radial-gradient(circle at 50% 130%,rgba(31,106,208,.6),transparent 53%),linear-gradient(180deg,#131a31,#090b13); color:#f7fbff; box-shadow:0 0 0 1px rgba(44,110,255,.27),0 0 16px rgba(28,104,255,.58),inset 0 1px rgba(167,205,255,.25); }.folder-filter.active svg { color:#55a1ff; filter:drop-shadow(0 0 5px rgba(57,143,255,.85)); }
.new-folder-button { border:1px solid rgba(255,255,255,.1); background:linear-gradient(145deg,#363638,#282829); box-shadow:inset 0 1px rgba(255,255,255,.08),0 7px 18px rgba(0,0,0,.16); }.new-folder-button svg { color:#86bdff; }.back-button:hover { color:#9ac8ff; }
.folder-more { position:absolute; top:150px; right:8px; display:grid; width:31px; height:31px; place-items:center; border:1px solid rgba(255,255,255,.09); border-radius:10px; background:#303030; color:#fff; font-size:17px; letter-spacing:-2px; opacity:0; pointer-events:none; transition:opacity .14s ease,background .14s ease; }.folder-card:hover .folder-more,.folder-card:focus-within .folder-more { opacity:1; pointer-events:auto; }.folder-more:hover { background:#404040; }.folder-name-input { width:calc(100% - 53px); height:25px; margin:13px 45px 0 8px; border:1px solid rgba(76,137,255,.92); border-radius:6px; outline:0; background:#171b28; color:#fff; padding:0 7px; font-size:14px; font-weight:650; box-shadow:0 0 0 3px rgba(38,105,255,.12); }
.brand-yanjiang { display:inline-flex; align-items:center; height:32px; }.brand-yanjiang img { display:block; width:auto; height:28px; filter:brightness(0) invert(1); opacity:.97; }.login-showcase .brand-yanjiang { position:absolute; z-index:3; top:32px; left:28px; }.login-showcase { background:radial-gradient(circle at 72% 63%,rgba(91,82,189,.32),transparent 25%),linear-gradient(135deg,#17172b,#202448 46%,#4b3c51 120%); }.login-panel { padding-left:clamp(120px,14vw,280px); padding-right:clamp(44px,5vw,100px); }
.login-page { grid-template-columns:1.68fr 1fr; }.login-showcase { background:#0b1218 url("./assets/login-background.webp") center center / cover no-repeat; }.login-showcase:after { z-index:1; background:linear-gradient(90deg,rgba(2,7,12,.3),rgba(4,8,13,.12)); }.showcase-art { display:none; }.showcase-copy { text-shadow:0 4px 20px rgba(0,0,0,.68); }.login-panel { padding-left:clamp(80px,5vw,108px); padding-right:clamp(44px,4vw,86px); }
.login-showcase:before { position:absolute; z-index:2; top:5.6%; left:50%; width:20%; height:10%; transform:translateX(-50%); border-radius:50%; background:radial-gradient(ellipse at center,rgba(14,24,32,.99) 0%,rgba(13,23,31,.96) 48%,rgba(12,21,29,0) 100%); filter:blur(4px); content:""; pointer-events:none; }
.login-panel .eyebrow { color:#fff; }.login-panel .primary-button { border:1px solid rgba(255,255,255,.72); background:#000; color:#fff; box-shadow:0 10px 22px rgba(0,0,0,.42); }.login-panel .primary-button:hover { background:#101010; filter:none; }
.login-panel .signup .link-button { color:#fff; }.login-panel .signup .link-button:hover { color:rgba(255,255,255,.7); }.login-panel input:focus { border-color:#fff; box-shadow:0 0 0 3px rgba(255,255,255,.1); }
.login-panel .check input { appearance:none; -webkit-appearance:none; box-sizing:border-box; display:block; flex:0 0 18px; width:18px !important; min-width:18px; height:18px !important; min-height:18px; margin:0 !important; padding:0 !important; border:1px solid rgba(255,255,255,.8); border-radius:0; background:#000; }
.login-panel .check input:checked { border-color:#fff; background-color:#000; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2 6 2.3 2.3L10 2.8' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-position:center; background-repeat:no-repeat; background-size:11px; }
.shelf-actions { display:flex; align-items:center; gap:12px; }.import-button,.all-projects-head .new-folder-button { display:inline-flex; min-height:30px; align-items:center; gap:6px; border:1px solid rgba(255,255,255,.1); border-radius:8px; background:#242424; color:rgba(255,255,255,.7); padding:0 10px; font-size:12px; font-weight:620; box-shadow:inset 0 1px rgba(255,255,255,.03); }.import-button svg,.all-projects-head .new-folder-button svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.65; color:currentColor; }.import-button:hover,.all-projects-head .new-folder-button:hover { border-color:rgba(255,255,255,.24); background:#303030; color:#fff; }.new-project-dialog { position:fixed; z-index:40; inset:0; display:none; place-items:center; background:rgba(0,0,0,.58); backdrop-filter:blur(6px); }.new-project-dialog.show { display:grid; }.new-project-card { position:relative; display:grid; width:370px; gap:13px; border:1px solid rgba(255,255,255,.13); border-radius:20px; background:#303030; padding:22px; box-shadow:0 26px 70px rgba(0,0,0,.5); }.new-project-card > p { margin:0 0 -6px; color:#9ecbff; font-size:9px; font-weight:760; letter-spacing:.1em; }.new-project-card h2 { margin:0 0 2px; font-size:19px; font-weight:720; letter-spacing:-.02em; }.new-project-card label { color:rgba(255,255,255,.8); font-size:10.5px; font-weight:620; }.new-project-card input,.new-project-card select { width:100%; height:40px; margin-top:7px; border:1px solid rgba(255,255,255,.13); border-radius:10px; outline:0; background:#232323; color:#fff; padding:0 11px; font-size:12.5px; }.new-project-card input:focus,.new-project-card select:focus { border-color:#8dbdff; box-shadow:0 0 0 3px rgba(88,157,255,.14); }.new-project-card small { display:block; margin-top:7px; color:rgba(255,255,255,.4); font-size:9.5px; font-weight:400; line-height:1.5; }.dialog-close { position:absolute; top:13px; right:13px; display:grid; width:28px; height:28px; place-items:center; border:0; border-radius:9px; background:#404040; color:#eee; font-size:17px; }.dialog-close:hover { background:#505050; color:#fff; }.dialog-submit { display:flex; height:42px; align-items:center; justify-content:space-between; border-radius:10px; background:#fff; color:#1f1f1f; padding:0 13px; font-size:12.5px; font-weight:720; }.dialog-submit b { font-size:16px; }

/* 首页轮播海报：以中性深色和低饱和蓝紫为主，避免破坏项目页整体调性。 */
.poster-stage { position:relative; max-width:1540px; height:340px; margin:6px auto 24px; overflow:visible; }.poster-carousel { position:relative; height:100%; overflow:hidden; }.poster-slide { position:absolute; top:20px; left:50%; width:min(760px,50%); height:300px; overflow:hidden; border:1px solid rgba(255,255,255,.09); border-radius:14px; background:#242424; box-shadow:0 18px 42px rgba(0,0,0,.24); opacity:0; pointer-events:none; transform:translateX(-50%) scale(.84); transition:transform .48s cubic-bezier(.2,.75,.2,1),opacity .38s ease,filter .38s ease; }.poster-slide.active { z-index:3; opacity:1; pointer-events:auto; transform:translateX(-50%) scale(1); }.poster-slide.before,.poster-slide.after { z-index:1; width:min(620px,42%); opacity:.56; filter:saturate(.7) brightness(.7); }.poster-slide.before { transform:translateX(-113%) scale(.9); }.poster-slide.after { transform:translateX(13%) scale(.9); }.poster-slide img,.poster-slide video { display:block; width:100%; height:100%; object-fit:cover; }.poster-slide.active img,.poster-slide.active video { animation:poster-focus 5.2s linear both; }.poster-slide:has(img)::after,.poster-slide:has(video)::after { position:absolute; inset:0; background:linear-gradient(90deg,rgba(0,0,0,.22),transparent 45%,rgba(0,0,0,.08)); content:""; pointer-events:none; }.poster-template { position:relative; width:100%; height:100%; overflow:hidden; background:linear-gradient(132deg,#242438,#293152 51%,#765c6e); }.poster-template.ink { background:linear-gradient(132deg,#25292d,#17262d 52%,#5b6770); }.poster-template.ocean { background:linear-gradient(132deg,#182b39,#17455a 52%,#617273); }.poster-template:before { position:absolute; inset:0; background:linear-gradient(120deg,transparent 40%,rgba(255,255,255,.1) 40.35%,transparent 41%,transparent 66%,rgba(255,255,255,.07) 66.35%,transparent 67%); content:""; }.poster-orb { position:absolute; right:-65px; bottom:-94px; width:280px; height:280px; border-radius:50%; background:radial-gradient(circle at 35% 30%,#e8d2a3,#d78c71 44%,rgba(174,92,110,.18) 69%,transparent 70%); opacity:.82; }.poster-frames i { position:absolute; right:83px; top:58px; width:142px; height:95px; border:1px solid rgba(255,255,255,.52); border-radius:8px; transform:rotate(-10deg); }.poster-frames i:nth-child(2) { right:37px; top:111px; opacity:.65; transform:rotate(9deg) scale(.82); }.poster-copy { position:relative; z-index:1; display:grid; max-width:360px; gap:11px; padding:55px 48px; }.poster-copy span { color:rgba(233,230,255,.8); font-size:10px; font-weight:800; letter-spacing:.16em; }.poster-copy strong { font-size:36px; letter-spacing:-.055em; }.poster-copy small { color:rgba(255,255,255,.7); font-size:13px; line-height:1.7; }.poster-arrow { position:absolute; z-index:5; top:145px; display:grid; width:28px; height:38px; place-items:center; border:1px solid rgba(255,255,255,.13); border-radius:8px; background:rgba(25,25,25,.74); color:rgba(255,255,255,.72); font-size:25px; line-height:1; opacity:0; transition:.18s ease; }.poster-stage:hover .poster-arrow { opacity:1; }.poster-arrow:hover { border-color:rgba(255,255,255,.3); background:#303030; color:#fff; }.poster-arrow.previous { left:10px; }.poster-arrow.next { right:10px; }.poster-dots { position:absolute; z-index:6; right:50%; bottom:4px; display:flex; align-items:center; gap:5px; transform:translateX(50%); }.poster-dots button { width:5px; height:5px; border:0; border-radius:999px; background:rgba(255,255,255,.31); padding:0; transition:.2s ease; }.poster-dots button.active { width:16px; background:rgba(255,255,255,.88); }.poster-empty { display:grid; height:300px; place-items:center; border:1px dashed rgba(255,255,255,.15); border-radius:14px; color:rgba(255,255,255,.48); font-size:13px; }.poster-admin { position:absolute; z-index:9; top:24px; right:calc(50% - min(380px,25%)); }.poster-manage-button,.poster-upload-button { min-height:28px; border:1px solid rgba(255,255,255,.15); border-radius:7px; background:rgba(22,22,24,.78); color:rgba(255,255,255,.78); padding:0 9px; font-size:11px; font-weight:650; box-shadow:0 4px 15px rgba(0,0,0,.18); backdrop-filter:blur(8px); }.poster-manage-button:hover,.poster-upload-button:hover { border-color:rgba(255,255,255,.34); background:#303030; color:#fff; }.poster-manager { position:absolute; top:36px; right:0; width:286px; border:1px solid rgba(255,255,255,.15); border-radius:12px; background:rgba(35,35,36,.97); padding:12px; box-shadow:0 18px 42px rgba(0,0,0,.42); }.poster-manager header { display:flex; align-items:center; justify-content:space-between; color:#fff; font-size:12px; font-weight:720; }.poster-manager header button { display:grid; width:22px; height:22px; place-items:center; border:0; border-radius:6px; background:transparent; color:rgba(255,255,255,.6); font-size:17px; }.poster-manager header button:hover { background:rgba(255,255,255,.1); color:#fff; }.poster-manager > p { margin:9px 0; color:rgba(255,255,255,.48); font-size:10px; line-height:1.45; }.poster-manager-list { display:grid; max-height:166px; gap:3px; overflow:auto; padding-right:2px; }.poster-manager-item { display:grid; grid-template-columns:16px minmax(0,1fr) 22px 22px 22px; min-height:30px; align-items:center; gap:3px; border-radius:7px; color:rgba(255,255,255,.68); padding:0 4px; }.poster-manager-item:hover { background:rgba(255,255,255,.065); }.poster-manager-item span { color:rgba(255,255,255,.36); font-size:10px; text-align:center; }.poster-manager-item strong { overflow:hidden; color:rgba(255,255,255,.8); font-size:11px; font-weight:560; text-overflow:ellipsis; white-space:nowrap; }.poster-manager-item button { display:grid; width:21px; height:21px; place-items:center; border:0; border-radius:5px; background:transparent; color:rgba(255,255,255,.48); font-size:13px; }.poster-manager-item button:hover { background:rgba(255,255,255,.11); color:#fff; }.poster-manager-item button[data-poster-action="delete"]:hover { background:rgba(195,91,91,.18); color:#ffb0b0; }.poster-upload-button { width:100%; margin-top:9px; background:#2c2c2d; text-align:center; }.all-projects .poster-stage { display:none; }@keyframes poster-focus { from { transform:scale(1.025); } to { transform:scale(1); } }@media (max-width:1050px) { .poster-stage { margin-inline:26px; }.poster-slide { width:min(680px,64%); }.poster-slide.before,.poster-slide.after { width:38%; }.poster-admin { right:18%; } }
/* 单张海报替换按钮：保持管理面板紧凑。 */
.poster-manager-item { grid-template-columns:16px minmax(0,1fr) 32px 22px 22px 22px; }.poster-manager-item .poster-replace { width:32px; color:rgba(255,255,255,.68); font-size:10px; }
.poster-new-name { display:grid; gap:5px; margin-top:10px; color:rgba(255,255,255,.52); font-size:10px; font-weight:600; }.poster-new-name input,.poster-name-input { width:100%; height:27px; border:1px solid rgba(255,255,255,.12); border-radius:6px; outline:0; background:#252526; color:#fff; padding:0 8px; font-size:11px; }.poster-new-name input:focus,.poster-name-input:focus { border-color:rgba(190,210,255,.7); box-shadow:0 0 0 2px rgba(126,171,255,.12); }.poster-name { cursor:text; }.poster-name:hover { color:#fff; text-decoration:underline dotted rgba(255,255,255,.36); text-underline-offset:3px; }.poster-manager-item .poster-name-input { min-width:0; height:23px; padding-inline:6px; }
.poster-duration-control { display:grid; grid-template-columns:1fr auto; align-items:center; gap:5px 8px; margin:10px 0 8px; color:rgba(255,255,255,.7); font-size:11px; font-weight:650; }.poster-duration-control output { color:#fff; font-size:11px; font-variant-numeric:tabular-nums; }.poster-duration-control input { grid-column:1 / -1; width:100%; height:14px; margin:0; accent-color:#d3d9e3; cursor:pointer; }.poster-duration-control small { grid-column:1 / -1; color:rgba(255,255,255,.38); font-size:9px; font-weight:500; }
/* 海报保留原有圆角和层级阴影，只移除细边框。 */
.poster-slide { border:0; border-radius:14px; box-shadow:0 18px 42px rgba(0,0,0,.24); }
/* 参考图轮播结构：1540px 轨道；中间主图 534×300，两侧同尺寸轻微缩小后置。 */
.poster-stage { max-width:1540px; height:320px; margin:6px auto 24px; }.poster-slide { top:0; width:34.65%; height:300px; aspect-ratio:auto; }.poster-slide.active { top:0; transform:translateX(-50%) scale(1); }.poster-slide.before,.poster-slide.after { top:4px; width:34.65%; height:300px; aspect-ratio:auto; }.poster-slide.before { left:0; transform:scale(.96); }.poster-slide.after { right:0; left:auto; transform:scale(.96); }@media (max-width:1050px) { .poster-stage { margin:6px 26px 24px; }.poster-slide,.poster-slide.before,.poster-slide.after { width:35%; } }
/* 首页海报的唯一几何规则：轨道 1625px；主卡固定 16:9；侧卡同尺寸并被主卡压住，以反向斜线裁成上下渐收形。 */
.poster-stage {
  --poster-width:min(563px,34.65%);
  max-width:1625px;
  width:min(1625px,calc(100% - 96px));
  height:clamp(250px,calc(19.49vw + 24px),341px);
  margin:6px auto 24px;
  perspective:none;
}
.poster-carousel { height:100%; overflow:hidden; }
.poster-slide {
  top:0;
  left:50%;
  width:var(--poster-width);
  height:auto;
  aspect-ratio:16 / 9;
  border:0;
  border-radius:18px;
}
.poster-slide.active {
  z-index:3;
  transform:translateX(-50%);
}
.poster-slide.active img,
.poster-slide.active video { animation:none; }
.poster-slide.before,
.poster-slide.after {
  z-index:1;
  top:0;
  width:var(--poster-width);
  height:auto;
  opacity:.68;
  filter:saturate(.78) brightness(.72);
  transform:none;
  border-radius:14px;
}
.poster-slide.before {
  left:0;
  clip-path:polygon(0 3.5%,100% 8%,100% 92%,0 96.5%);
}
.poster-slide.after {
  left:calc(100% - var(--poster-width));
  right:auto;
  clip-path:polygon(0 8%,100% 3.5%,100% 96.5%,0 92%);
}
.poster-slide.hidden {
  opacity:0;
  pointer-events:none;
  transform:translateX(-50%) scale(.84);
}
@media (max-width:1050px) {
  .poster-stage {
    --poster-width:min(520px,58%);
    width:calc(100% - 52px);
    height:clamp(260px,calc(32.625vw + 24px),316px);
  }
  .poster-slide.before,
  .poster-slide.after { transform:none; }
}

/* 项目页与登录页共用的七张 3:4 海报构图。 */
.project-poster-stage { position:relative; width:min(1440px,calc(100% - 160px)); height:470px; margin:20px auto 6px; }
.project-poster-stack { position:relative; height:438px; isolation:isolate; }
.project-poster-card { position:absolute; top:72px; width:clamp(176px,14.2vw,270px); aspect-ratio:3 / 4; overflow:hidden; border-radius:25px; box-shadow:0 24px 46px rgba(0,0,0,.42); transform-origin:center; }
.project-poster-card::after { position:absolute; inset:0; background:linear-gradient(180deg,transparent 38%,rgba(3,5,12,.68) 100%); content:""; }
.project-poster-card.has-custom-poster::before,
.project-poster-card.has-custom-poster::after { display:none; }
.project-poster-card > .shared-poster-video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; background:#303030; }
.project-poster-card:not(.has-custom-poster) { background:#303030 !important; }
.project-poster-card:not(.has-custom-poster)::before,.project-poster-card:not(.has-custom-poster)::after { display:none; }
.project-poster-1 { z-index:1; left:2%; top:76px; transform:scale(.8); background:radial-gradient(circle at 60% 34%,#a18afb 0 6%,transparent 7%),radial-gradient(circle at 54% 51%,#5c46c2 0 24%,transparent 25%),radial-gradient(circle at 22% 68%,#302471 0 11%,transparent 12%),linear-gradient(155deg,#393263,#252045 48%,#090d25); }
.project-poster-2 { z-index:2; left:14.5%; top:60px; transform:scale(.89); background:radial-gradient(circle at 47% 51%,#ffbb3b 0 3%,transparent 4%),radial-gradient(ellipse at 48% 51%,#d64910 0 10%,transparent 35%),radial-gradient(circle at 64% 27%,rgba(255,125,26,.48),transparent 26%),linear-gradient(155deg,#151217,#4b1b0e 55%,#0c0d14); }
.project-poster-3 { z-index:3; left:27.5%; top:45px; transform:scale(.97); background:radial-gradient(circle at 50% 39%,transparent 0 21%,rgba(255,77,52,.9) 22% 23%,transparent 24%),radial-gradient(circle at 50% 39%,rgba(238,17,21,.26),transparent 42%),linear-gradient(160deg,#2b080b,#801217 51%,#16070d); }
.project-poster-focus { z-index:7; top:10px; left:50%; width:clamp(220px,15.5vw,300px); transform:translateX(-50%); background:radial-gradient(ellipse at 51% 43%,#f6ab35 0 6%,transparent 7%),radial-gradient(ellipse at 51% 48%,transparent 0 13%,rgba(255,181,45,.92) 14% 15%,transparent 16%),radial-gradient(circle at 58% 29%,rgba(255,121,28,.45),transparent 32%),linear-gradient(160deg,#20140e,#5d2d0c 43%,#10141a 68%,#02060b); box-shadow:0 28px 54px rgba(0,0,0,.58); }
.project-poster-focus::before { display:none; }
.project-poster-5 { z-index:3; right:27.5%; top:45px; transform:scale(.97); background:radial-gradient(circle at 50% 36%,rgba(81,225,255,.44),transparent 24%),linear-gradient(160deg,#082132,#117093 52%,#061319); }
.project-poster-5::before { position:absolute; top:26%; left:37%; width:26%; height:33%; background:linear-gradient(90deg,#64e6f6,#abfcff,#64e6f6); box-shadow:0 0 18px rgba(91,234,255,.72); content:""; opacity:.8; clip-path:polygon(0 0,100% 0,100% 6%,7% 6%,7% 94%,100% 94%,100% 100%,0 100%); }
.project-poster-6 { z-index:2; right:14.5%; top:60px; transform:scale(.89); background:radial-gradient(circle at 39% 23%,#f2c368 0 2%,transparent 3%),radial-gradient(circle at 66% 55%,#df5edb 0 2%,transparent 4%),radial-gradient(ellipse at 55% 82%,#8e306b 0 12%,transparent 33%),linear-gradient(155deg,#160a2e,#38215d 52%,#0d0c22); }
.project-poster-7 { z-index:1; right:2%; top:76px; transform:scale(.8); background:radial-gradient(ellipse at 59% 43%,#99a6ff 0 4%,transparent 5%),radial-gradient(ellipse at 72% 62%,#7066d8 0 5%,transparent 6%),radial-gradient(ellipse at 45% 70%,#3f3d9e 0 5%,transparent 6%),linear-gradient(155deg,#06113c,#142c6a 52%,#050819); }
.project-poster-copy { position:absolute; z-index:3; right:0; bottom:23px; left:0; padding:0 25px; text-align:left; }
.project-poster-copy p { margin:0 0 8px; color:rgba(255,255,255,.72); font-size:12px; font-weight:650; }
.project-poster-copy strong { display:block; color:#fff; font-size:clamp(23px,1.7vw,30px); line-height:1.2; letter-spacing:-.06em; }
.project-poster-copy button { position:relative; z-index:3; width:100%; height:44px; margin-top:16px; border-radius:28px; background:linear-gradient(180deg,#2b8393,#14505c); color:#fff; font-size:15px; font-weight:700; }
.project-poster-edit { position:absolute; top:-80px; right:4%; bottom:auto; z-index:8; display:inline-flex; height:38px; align-items:center; border-radius:11px; background:rgba(255,255,255,.1); color:rgba(255,255,255,.82); padding:0 15px; text-decoration:none; font-size:13px; font-weight:650; backdrop-filter:blur(10px); }
.project-poster-edit:hover { background:rgba(255,255,255,.17); color:#fff; }
.project-poster-edit[hidden] { display:none; }
@media (max-width:1180px) { .project-poster-stage { height:420px; margin-top:20px; } .project-poster-stack { height:390px; } .project-poster-card { border-radius:19px; } .project-poster-copy { bottom:18px; padding:0 20px; } .project-poster-copy button { height:40px; margin-top:12px; } }

/* 项目页的顶部海报与下方项目栏共用同一条内容边界。 */
.project-page .project-shelf { max-width:1440px; }
.project-page .project-grid { display:grid; grid-template-columns:repeat(10,minmax(0,1fr)); gap:14px; overflow:visible; }
.project-page .project-card { width:auto; min-width:0; }
.project-page .cover,
.project-page .new-card button { height:auto; aspect-ratio:3 / 4; }
.project-page .new-card button { padding:12px; text-align:center; }
@media (max-width:1500px) {
  .project-page .project-grid { grid-template-columns:repeat(8,minmax(0,1fr)); }
}
@media (max-width:1180px) {
  .project-page .project-grid { grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; }
}

/* 全部项目中的文件夹也以海报比例呈现；封面固定为 4 × 4 项目缩略图。 */
.all-project-grid .folder-card-art {
  height:auto;
  aspect-ratio:3 / 4;
}
.folder-card.has-projects .folder-card-art { padding:9px; }
.folder-thumbnails {
  grid-template-columns:repeat(4,minmax(0,1fr));
  grid-template-rows:repeat(4,minmax(0,1fr));
  height:100%;
  gap:4px;
}
.folder-thumb { aspect-ratio:3 / 4; }
.cover.default-cover,
.folder-thumb.default-cover { background:linear-gradient(145deg,#383838,#202020); }

/* 项目页海报与登录页共用同一套平滑角色切换。 */
.project-poster-card {
  --stack-x:0px;
  --stack-y:0px;
  will-change:top,left,right,transform;
  transition:top .72s cubic-bezier(.22,.76,.2,1),left .72s cubic-bezier(.22,.76,.2,1),right .72s cubic-bezier(.22,.76,.2,1),transform .72s cubic-bezier(.22,.76,.2,1),box-shadow .72s ease;
}
.project-poster-card.project-poster-1 { transform:translate(var(--stack-x),0) scale(.8); }
.project-poster-card.project-poster-2 { transform:translate(var(--stack-x),0) scale(.89); }
.project-poster-card.project-poster-3 { transform:translate(var(--stack-x),0) scale(.97); }
.project-poster-card.project-poster-focus { transform:translateX(-50%) translate(var(--stack-x),0); }
.project-poster-card.project-poster-5 { transform:translate(var(--stack-x),0) scale(.97); }
.project-poster-card.project-poster-6 { transform:translate(var(--stack-x),0) scale(.89); }
.project-poster-card.project-poster-7 { transform:translate(var(--stack-x),0) scale(.8); }
.card-more,.folder-more { letter-spacing:0; }
.card-more svg,.folder-more svg { width:16px; height:16px; fill:currentColor; }

/* 操作按钮与项目名称、创建日期同列，避免遮挡 3:4 封面。 */
.project-page .card-more,
.all-project-grid .card-more,
.all-project-grid .folder-more {
  top:auto;
  right:0;
  bottom:0;
}
.all-project-grid .project-card .created-date {
  color:rgba(255,255,255,.38);
  font-size:10px;
  font-weight:400;
  letter-spacing:.01em;
}
.all-project-grid .project-card > .created-date { margin-right:44px; }
.folder-meta {
  display:flex;
  align-items:center;
  gap:10px;
  margin:5px 44px 0 8px;
  min-width:0;
}
.folder-meta p,
.folder-meta .created-date {
  margin:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* 全部项目页顶部的辅助文字按视觉层级缩小约 35%。 */
.all-projects-head h2 { font-size:14px; }
.all-projects-head .back-button { font-size:10px; }
.all-projects-head .back-button svg { width:11px; height:11px; }
.all-projects-head .back-button { font-size:14px; }
.all-projects-head .back-button svg { width:15px; height:15px; }

/* 全部项目页压缩顶部留白，所有内容相应上移。 */
.all-projects-view { padding-top:18px; }
.all-projects-head { margin-bottom:16px; }
.folder-filters { margin-bottom:16px; }

/* 筛选选中态改为白色光感。 */
.folder-filter.active {
  border-width:.7px;
  border-color:rgba(255,255,255,.88);
  background:linear-gradient(180deg,#262626,#111);
  color:#fff;
  box-shadow:0 0 8px rgba(255,255,255,.16);
}
.folder-filter.active svg { color:#fff; filter:none; }
.folder-filter:hover:not(.active) {
  border-color:rgba(255,255,255,.78);
  background:linear-gradient(180deg,#262626,#141414);
  color:#fff;
  box-shadow:0 0 0 1px rgba(255,255,255,.16),0 0 12px rgba(255,255,255,.3),inset 0 1px rgba(255,255,255,.24);
}
.folder-filter:hover:not(.active) svg { color:#fff; filter:drop-shadow(0 0 4px rgba(255,255,255,.65)); }

/* 最近项目整体上移，使整排卡片落在海报下方的紧凑区域。 */
.project-page .project-shelf { margin:-60px auto 0; }

/* 项目页顶栏收紧：保留清晰的操作区，同时让项目内容整体上移。 */
.project-page > .topbar {
  height:70px;
  padding-inline:30px;
  justify-content:space-between;
}
.project-page > .topbar .workbench-brand {
  display:inline-flex;
  height:34px;
  align-items:center;
  gap:9px;
  color:rgba(255,255,255,.92);
  font-size:14px;
  font-weight:650;
  letter-spacing:.01em;
  text-decoration:none;
  white-space:nowrap;
}
.project-page > .topbar .workbench-brand img {
  display:block;
  width:32px;
  height:24px;
  object-fit:contain;
  transform:translateY(2px);
}
.project-page > .topbar .brand-yanjiang { height:29px; }
.project-page > .topbar .brand-yanjiang img { height:25px; }
.project-page > .topbar .utility-nav { gap:7px; }
.project-page > .topbar .utility-pill,
.project-page > .topbar .utility-icon {
  height:32px;
  border-radius:10px;
  font-size:10px;
  padding-inline:11px;
}
.project-page > .topbar .material-library-link {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  text-decoration:none;
}
.project-page > .topbar .material-library-icon {
  width:15px;
  height:15px;
  flex:0 0 auto;
  stroke-width:1.7;
}
.project-page > .topbar .utility-icon {
  width:32px;
  padding:0;
  font-size:13px;
}
.project-page > .topbar .project-poster-edit {
  position:static;
  display:inline-flex;
  height:32px;
  align-items:center;
  border:0;
  border-radius:10px;
  background:rgba(255,255,255,.1);
  color:rgba(255,255,255,.82);
  padding:0 11px;
  font-size:10px;
  font-weight:650;
  line-height:1;
}
.project-page > .topbar .project-poster-edit:hover { background:rgba(255,255,255,.17); color:#fff; }

/* 全部项目页跟随顶栏上移，并按顶部控件缩小后的视觉节奏收紧间距。 */
body.all-projects .all-projects-view { padding-top:10px; }
body.all-projects .all-projects-head { margin-bottom:12px; }
body.all-projects .folder-filters { margin-bottom:12px; }

/* “开始创作”保持卡片中心位置，文字、图标与留白收小约 23%。 */
.new-card button {
  gap:8px;
  font-size:11px;
  font-weight:620;
  letter-spacing:.01em;
}
.new-card i { font-size:23px; }

/* 项目页内的共享海报设置：只写入本子项目自己的本地配置。 */
.project-poster-edit { border:0; cursor:pointer; font:inherit; }
.project-page .project-poster-edit { font-size:12px; }
.project-page > .topbar .project-poster-edit { font:650 10px/1 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; }
.project-page .shelf-head h2 { font-size:16.1px; font-weight:650; }
.project-page .project-shelf { position:relative; z-index:12; }
.project-page .shelf-actions { position:relative; z-index:13; pointer-events:auto; }

/* 海报舞台与项目卡片共用 1440px 内容边界；仅将最外两张向边界展开，保持高度与中心构图不变。 */
.project-poster-1 { left:-2%; }
.project-poster-2 { left:12%; }
.project-poster-3 { left:25%; }
.project-poster-5 { right:25%; }
.project-poster-6 { right:11%; }
.project-poster-7 { right:-2%; }
.cover.default-cover .cover-letter {
  color:rgba(255,255,255,.5);
  font-size:11px;
  font-weight:620;
  letter-spacing:.06em;
}
.folder-thumb.default-cover i { font-size:7px; font-weight:620; letter-spacing:.03em; }
.shared-poster-layer {
  position:fixed;
  z-index:90;
  inset:0;
  display:grid;
  place-items:center;
  padding:24px;
  background:rgba(3,4,8,.74);
  backdrop-filter:blur(12px);
}
.shared-poster-layer[hidden] { display:none; }
.toast { z-index:100; }
.shared-poster-dialog {
  position:relative;
  width:min(900px,100%);
  max-height:min(760px,calc(100vh - 48px));
  overflow:auto;
  padding:28px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:22px;
  background:linear-gradient(145deg,#292929,#1a1a1a);
  box-shadow:0 28px 90px rgba(0,0,0,.52),inset 0 1px rgba(255,255,255,.08);
}
.shared-poster-close {
  position:absolute;
  top:16px;
  right:18px;
  border:0;
  color:#d7d7d7;
  background:transparent;
  font-size:30px;
  line-height:1;
  cursor:pointer;
}
.shared-poster-eyebrow { margin:0 0 6px; color:#8c8c8c; font-size:12px; }
.shared-poster-dialog h2 { margin:0; color:#f6f6f6; font-size:24px; }
.shared-poster-note { margin:9px 0 21px; color:#a8a8a8; font-size:13px; line-height:1.55; }
.shared-poster-duration { display:flex; align-items:center; justify-content:space-between; color:#e8e8e8; font-size:14px; font-weight:600; }
.shared-poster-duration strong { font-size:18px; }
.shared-poster-dialog input[type="range"] { width:100%; margin:11px 0 3px; accent-color:#f0f0f0; }
.shared-poster-hint { margin:0 0 16px; color:#777; font-size:11px; }
.shared-poster-list { display:grid; gap:4px; }
.shared-poster-row {
  display:grid;
  grid-template-columns:22px minmax(100px,1fr) auto minmax(100px,130px) minmax(140px,190px) auto 26px 26px;
  align-items:center;
  gap:8px;
  min-height:44px;
  color:#dedede;
  font-size:13px;
}
.shared-poster-index { color:#777; text-align:center; }
.shared-poster-title { display:flex; min-width:0; align-items:center; gap:7px; overflow:hidden; white-space:nowrap; }
.shared-poster-title > span { overflow:hidden; text-overflow:ellipsis; }
.shared-poster-thumbnail { flex:0 0 auto; width:24px; height:30px; border:1px solid rgba(255,255,255,.1); border-radius:5px; object-fit:cover; background:#303030; pointer-events:none; user-select:none; }
.shared-poster-thumbnail.is-empty { background:#303030; }
.shared-poster-tag { padding:4px 7px; border-radius:7px; color:#bde9ed; background:rgba(67,167,177,.18); font-size:10px; white-space:nowrap; }
.shared-poster-row button { border:0; border-radius:7px; padding:5px 7px; color:#c9c9c9; background:transparent; font:inherit; cursor:pointer; }
.shared-poster-row button:hover:not(:disabled) { color:#fff; background:rgba(255,255,255,.1); }
.shared-poster-row button:disabled { opacity:.25; cursor:default; }
.shared-poster-category,.shared-poster-material { min-width:0; width:100%; border:1px solid rgba(255,255,255,.13); border-radius:7px; background:#252525; color:#ddd; padding:5px 7px; font:inherit; font-size:11px; }
.shared-poster-category:disabled,.shared-poster-material:disabled { opacity:.52; }
.project-poster-card { cursor:pointer; }
.poster-material-preview-open { overflow:hidden; }
.poster-material-preview-layer { position:fixed; z-index:420; inset:0; display:grid; place-items:center; padding:0; background:rgba(0,0,0,.76); backdrop-filter:blur(16px); }
.poster-material-preview-shell { position:relative; width:100vw; height:100vh; overflow:hidden; border:0; border-radius:0; background:#0b0c0f; }
.poster-material-preview-shell iframe { display:block; visibility:hidden; width:100%; height:100%; border:0; background:#0b0c0f; opacity:0; pointer-events:none; transition:opacity .18s ease; }
.poster-material-preview-shell.is-loaded iframe { visibility:visible; opacity:1; pointer-events:auto; }
.poster-material-preview-loading { position:absolute; z-index:2; inset:0; display:grid; place-content:center; justify-items:center; gap:13px; background:rgba(9,10,12,.68); color:rgba(255,255,255,.8); transition:opacity .16s ease,visibility .16s ease; }
.poster-material-preview-loading i { width:30px; height:30px; border:2px solid rgba(255,255,255,.18); border-top-color:rgba(255,255,255,.86); border-radius:50%; animation:poster-material-preview-spin .72s linear infinite; }
.poster-material-preview-loading strong { font-size:13px; font-weight:650; letter-spacing:.03em; }
.poster-material-preview-cover { display:block; width:450px; max-width:65vw; max-height:65vh; object-fit:contain; border-radius:12px; }
.poster-material-preview-shell.is-loaded .poster-material-preview-loading { visibility:hidden; opacity:0; pointer-events:none; }
@keyframes poster-material-preview-spin { to { transform:rotate(360deg); } }
.poster-material-preview-close { position:absolute; z-index:3; top:12px; right:12px; display:grid; width:34px; height:34px; place-items:center; border:1px solid rgba(255,255,255,.13); border-radius:11px; background:rgba(14,15,18,.78); color:#fff; font-size:25px; line-height:1; cursor:pointer; backdrop-filter:blur(10px); }
.poster-material-preview-shell.is-loaded .poster-material-preview-close { display:none; }
.poster-material-preview-close:hover { background:#25272b; }
.project-detail-page { min-height:100vh; background:#171717; }
.project-detail { width:min(1120px,calc(100% - 96px)); margin:0 auto; padding:42px 0 80px; }
.detail-back { color:rgba(255,255,255,.58); font-size:13px; text-decoration:none; }
.detail-hero { margin:38px 0 24px; padding:34px; border:1px solid rgba(255,255,255,.1); border-radius:22px; background:linear-gradient(135deg,#2a2a2a,#171717 74%); }
.detail-hero p { margin:0 0 9px; color:#78cad3; font-size:11px; font-weight:750; letter-spacing:.12em; }
.detail-hero h1 { margin:0; font-size:32px; }
.detail-hero span { display:block; margin-top:10px; color:rgba(255,255,255,.48); font-size:13px; }
.detail-grid { display:grid; grid-template-columns:1.2fr .8fr; gap:18px; }
.detail-panel { padding:24px; border:1px solid rgba(255,255,255,.1); border-radius:18px; background:#222; }
.detail-panel h2 { margin:0 0 16px; font-size:16px; }
.detail-panel textarea { width:100%; min-height:190px; resize:vertical; border:1px solid rgba(255,255,255,.12); border-radius:11px; outline:0; background:#181818; color:#eee; padding:13px; font:inherit; font-size:13px; line-height:1.65; }
.detail-panel button { margin-top:12px; border-radius:9px; background:#f1f1f1; color:#191919; padding:9px 13px; font-size:12px; font-weight:680; }
.detail-assets { display:grid; gap:8px; }.detail-assets span { border-radius:9px; background:#2e2e2e; color:rgba(255,255,255,.64); padding:12px; font-size:12px; }
.detail-panel p { color:rgba(255,255,255,.44); font-size:12px; line-height:1.6; }

/* 文件夹菜单、拖拽排序与 7 天回收站。 */
body.all-projects .all-projects-view { position:relative; }
.folder-menu { position:fixed; z-index:24; display:none; width:168px; padding:7px; border:1px solid rgba(255,255,255,.16); border-radius:13px; background:#383838; box-shadow:0 16px 38px rgba(0,0,0,.42),inset 0 1px rgba(255,255,255,.06); }
.folder-menu.show { display:grid; }
.folder-menu button { display:flex; min-height:38px; align-items:center; border:0; border-radius:8px; background:transparent; color:#f6f6f6; padding:0 10px; text-align:left; font-size:13px; font-weight:580; }
.folder-menu button:hover { background:rgba(255,255,255,.11); }
.folder-menu hr { width:calc(100% - 10px); height:1px; margin:4px auto; border:0; background:rgba(255,255,255,.14); }
.folder-menu .danger { color:#ff9e9e; }
.trash-button { position:absolute; z-index:8; top:66px; right:0; display:grid; width:31px; height:31px; place-items:center; border:1px solid rgba(255,255,255,.09); border-radius:9px; background:rgba(39,39,39,.72); color:rgba(255,255,255,.5); transition:.16s ease; }
.trash-button:hover,.trash-button.has-items { border-color:rgba(255,255,255,.2); background:#303030; color:#fff; }
.trash-button svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.65; }
.trash-count { position:absolute; top:-6px; right:-6px; display:grid; min-width:16px; height:16px; place-items:center; border:2px solid #171717; border-radius:999px; background:#df5d5d; color:#fff; padding:0 3px; font-size:8px; font-weight:800; }
.folder-filter.is-drop-target { border-color:#fff; color:#fff; box-shadow:0 0 0 2px rgba(255,255,255,.24),0 0 18px rgba(255,255,255,.35); }
.all-project-grid .project-card.is-reorder-target .cover,.all-project-grid .project-card.is-reorder-target .folder-card-art { box-shadow:0 0 0 2px rgba(126,177,255,.95),0 0 20px rgba(66,137,255,.32); }
.all-project-grid .project-card { transition:opacity .14s ease,transform .18s ease; }
.trash-layer { position:fixed; z-index:70; inset:0; display:grid; place-items:center; background:rgba(0,0,0,.62); backdrop-filter:blur(7px); }
.trash-layer[hidden] { display:none; }
.trash-dialog { width:min(520px,calc(100vw - 48px)); max-height:min(680px,calc(100vh - 64px)); overflow:hidden; border:1px solid rgba(255,255,255,.15); border-radius:18px; background:#292929; padding:22px; box-shadow:0 28px 80px rgba(0,0,0,.55); }
.trash-dialog > header { display:flex; align-items:flex-start; justify-content:space-between; }
.trash-dialog > header p { margin:0 0 5px; color:#8fc3ff; font-size:10px; font-weight:800; letter-spacing:.12em; }
.trash-dialog h2 { margin:0; font-size:22px; }
.trash-dialog > header button { display:grid; width:30px; height:30px; place-items:center; border-radius:8px; background:#3a3a3a; color:#eee; font-size:19px; }
.trash-dialog > header button:hover { background:#484848; color:#fff; }
.trash-note-row { display:flex; align-items:center; justify-content:space-between; gap:14px; margin:13px 0 17px; }
.trash-note { margin:0; color:rgba(255,255,255,.44); font-size:11px; line-height:1.6; }
.trash-note-row > button { flex:0 0 auto; border:1px solid rgba(255,118,118,.24); border-radius:8px; background:rgba(112,35,35,.25); color:#ff9b9b; padding:7px 10px; font-size:10px; font-weight:750; }
.trash-note-row > button:hover { background:rgba(135,42,42,.42); color:#ffc0c0; }
.trash-note-row > button:disabled { opacity:.3; cursor:not-allowed; }
.trash-list { display:grid; max-height:480px; gap:8px; overflow:auto; }
.trash-item { display:grid; grid-template-columns:38px minmax(0,1fr) auto; min-height:62px; align-items:center; gap:11px; border:1px solid rgba(255,255,255,.08); border-radius:12px; background:#222; padding:9px 10px; }
.trash-item-icon { display:grid; width:36px; height:36px; place-items:center; border-radius:9px; background:#303030; color:rgba(255,255,255,.72); }
.trash-item-icon svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.55; }
.trash-item strong,.trash-item small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.trash-item strong { color:#f4f4f4; font-size:13px; }
.trash-item small { margin-top:5px; color:rgba(255,255,255,.42); font-size:10px; }
.trash-item-actions { display:flex; gap:6px; }
.trash-item-actions > button { min-width:58px; height:31px; border-radius:8px; background:#f1f1f1; color:#202020; font-size:11px; font-weight:750; }
.trash-item-actions > button:hover { background:#fff; }
.trash-item-actions > button.danger { border:1px solid rgba(255,118,118,.22); background:rgba(112,35,35,.28); color:#ff9b9b; }
.trash-item-actions > button.danger:hover { background:rgba(135,42,42,.48); color:#ffc0c0; }
.new-project-engine-label { cursor:default; }
.new-project-engine-label[title] { cursor:text; }
.new-project-engine-input { width:calc(100% - 26px); border:0; border-bottom:1px solid rgba(255,255,255,.54); outline:0; background:transparent; color:inherit; font:inherit; text-align:center; }
.confirm-layer { position:fixed; z-index:130; inset:0; display:grid; place-items:center; padding:24px; background:rgba(0,0,0,.72); backdrop-filter:blur(10px); }
.confirm-layer[hidden] { display:none; }
.confirm-dialog { width:min(370px,calc(100vw - 48px)); border:1px solid rgba(255,255,255,.14); border-radius:16px; background:#292929; padding:21px; box-shadow:0 28px 90px rgba(0,0,0,.68); }
.confirm-dialog h2 { margin:0; font-size:17px; }
.confirm-dialog p { margin:10px 0 20px; color:rgba(255,255,255,.56); font-size:11px; line-height:1.65; }
.confirm-dialog > div { display:flex; justify-content:flex-end; gap:8px; }
.confirm-dialog button { min-width:72px; height:35px; border-radius:9px; background:#3b3b3b; color:#fff; font-size:10px; }
.confirm-dialog button.danger { background:#a74747; }
.confirm-dialog button.danger:hover { background:#c05050; }
.trash-empty { margin:28px 0; color:rgba(255,255,255,.42); font-size:12px; text-align:center; }

.project-page { position:relative; }
/* 2K / 4K 屏幕不再沿用 1440px 的固定工作区，海报和项目卡片随可视宽度放大。 */
@media (min-width:1800px) {
  .project-poster-stage { width:min(1840px,calc(100% - 180px)); height:570px; margin-top:28px; }
  .project-poster-stack { height:534px; }
  .project-poster-card { width:clamp(230px,14.2vw,350px); border-radius:29px; }
  .project-poster-focus { width:clamp(285px,15.5vw,390px); }
  .project-page .project-shelf { max-width:1840px; margin-top:-150px; }
  .project-page .project-grid { gap:18px; }
  .project-page .project-card .project-name { font-size:15px; }
  .project-page .project-card .created-date { font-size:12px; }
  .project-page .shelf-head h2 { font-size:16.1px; }
}

@media (min-width:2000px) and (min-height:1000px) {
  .project-page .shelf-head { margin-bottom:0; }
  .project-page .project-grid { margin-top:64px; }
}
/* 普通桌面短窗口也把最近项目收回主视区；上移量按高度递进，避免和海报主体相撞。 */
@media (min-width:1181px) and (max-width:1799px) and (max-height:1050px) {
  .project-page .project-shelf { margin-top:-92px; }
}
@media (min-width:1181px) and (max-width:1799px) and (max-height:820px) {
  .project-page .project-shelf { margin-top:-112px; }
}
@media (max-width:1180px) and (max-height:900px) {
  .project-page .project-shelf { margin-top:-82px; }
}
@media (max-width:560px) {
  .shared-poster-dialog { padding:24px 17px; }
  .shared-poster-row { grid-template-columns:19px minmax(0,1fr) auto 25px 25px; gap:4px; }
  .shared-poster-tag { display:none; }
  .shared-poster-category,.shared-poster-material { display:none; }
}

/* 海报、个人最近项目与首页资源库共用同一条左右版心边界。 */
.project-page .project-shelf,
.resource-library-shelf {
  width:min(1440px,calc(100% - 160px));
  max-width:none;
}

/* 首页资源库：模板库与风格库共用一套分段切换与卡片语言。 */
.resource-library-shelf { position:relative; z-index:12; margin:var(--yj-home-section-gap,40px) auto 0; padding:0 0 70px; }
.resource-library-head { display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; row-gap:12px; column-gap:24px; margin-bottom:14px; }
.resource-library-copy { display:grid; min-width:0; min-height:30px; align-content:center; gap:5px; }
.resource-library-copy h2 { margin:0; font-size:16.1px; font-weight:650; }
.resource-library-copy p { margin:0; color:rgba(255,255,255,.4); font-size:11px; }
.resource-library-controls { display:flex; width:100%; align-items:center; justify-content:space-between; gap:14px; }
.library-sort { display:flex; align-items:center; gap:8px; margin-left:auto; white-space:nowrap; }
.library-sort button { border:0; padding:5px 2px; background:transparent; color:#888; font-weight:500; line-height:1.4; font-family:inherit; font-size:12px; cursor:pointer; }
.library-sort button.is-active,.library-sort button:hover { color:#f0f0f0; }
.library-sort button:focus-visible { outline:1px solid #aaa; outline-offset:3px; border-radius:3px; }
.library-sort i { font-size:10px; color:#555; font-style:normal; }
.resource-library-switch { display:flex; align-items:center; gap:3px; min-height:48px; border:1px solid rgba(255,255,255,.15); border-radius:17px; background:rgba(8,8,9,.78); padding:4px; box-shadow:0 11px 28px rgba(0,0,0,.3); }
.resource-library-switch button { display:inline-flex; min-width:96px; height:38px; align-items:center; justify-content:center; gap:6px; border:0; border-radius:12px; background:transparent; color:rgba(255,255,255,.5); padding:0 13px; font-size:12px; font-weight:650; transition:background .18s ease,color .18s ease,box-shadow .18s ease; }
.resource-library-switch button svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.7; }
.resource-library-switch button:hover { color:rgba(255,255,255,.84); }
.resource-library-switch button.is-active { background:#3a3a3b; color:#f7f7f7; box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 2px 7px rgba(0,0,0,.28); }
.resource-library-panel[hidden] { display:none; }
/* BEGIN embedded specular-button.css — keep byte-identical to the canonical file.
   Native desktop allowlists already include this page stylesheet. Do not replace
   this block with @import: the custom-scheme embed must work without extra files. */
.specular-button {
  --sb-radius: 18px;
  --sb-tint: #ffffff;
  --sb-tint-opacity: 0;
  --sb-blur: 0px;
  --sb-text-color: #f5f5f5;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  margin: 0;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1;
  color: var(--sb-text-color);
  background: #0b0b0c;
  isolation: isolate;
  -webkit-appearance: none;
  appearance: none;
  border-radius: var(--sb-radius);
  backdrop-filter: blur(var(--sb-blur));
  -webkit-backdrop-filter: blur(var(--sb-blur));
  box-shadow: inset 0 0 0 1px rgba(130,130,130,.65), inset 0 1px 0 rgba(255,255,255,.04), 0 8px 24px rgba(0,0,0,.25);
  cursor: pointer;
  outline: none;
  transition: transform .15s ease;
}
.specular-button:active { transform: scale(.97); }
.specular-button:focus-visible { outline: 2px solid color-mix(in srgb, var(--sb-text-color) 60%, transparent); outline-offset: 3px; }
.specular-button:disabled { opacity: .55; cursor: default; }
.specular-button:disabled:active { transform: none; }
.specular-button__fx {
  position: absolute;
  inset: -20px;
  pointer-events: none;
  z-index: 1;
}
.specular-button__fx canvas { display: block; width: 100%; height: 100%; }
.specular-button[data-specular-ready="fallback"] { box-shadow: inset 0 0 0 1px rgba(82,82,82,.9), inset 0 1px 0 rgba(255,255,255,.04), 0 8px 24px rgba(0,0,0,.25); }
.specular-button__label { position: relative; z-index: 2; white-space: nowrap; flex-shrink: 0; }
/* END embedded specular-button.css */


.resource-library-footer { display:flex; justify-content:center; align-items:center; margin-top:24px; }
.resource-library-footer .specular-button { min-width:144px; min-height:44px; padding:10px 24px; text-decoration:none; font-size:13px; }
.resource-library-footer .specular-button__label { display:inline-flex; align-items:center; gap:8px; }
.template-library-grid,
.style-library-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:14px; }
.template-library-card { display:block; min-width:0; overflow:hidden; border:0; border-radius:16px; background:transparent; color:#fff; text-decoration:none; box-shadow:0 16px 34px rgba(0,0,0,.2); transition:transform .18s ease; content-visibility:auto; contain-intrinsic-size:auto 310px; }
.template-library-card:hover { transform:translateY(-3px); }
.template-library-preview { position:relative; aspect-ratio:3 / 4; overflow:hidden; border:0; border-radius:16px 16px 0 0; background:#2b2b2b; }
.template-library-preview::after { position:absolute; inset:0; content:""; background:linear-gradient(180deg,transparent 52%,rgba(9,9,9,.4)); pointer-events:none; }
.template-library-preview img { width:100%; height:100%; display:block; object-fit:cover; transition:transform .28s ease; }
.template-library-card:hover .template-library-preview img { transform:scale(1.025); }
.template-library-kind { position:absolute; z-index:1; top:9px; left:9px; border-radius:999px; background:rgba(15,15,15,.76); color:rgba(255,255,255,.73); padding:5px 8px; font-size:9px; line-height:1; backdrop-filter:blur(8px); }
.template-library-info { display:grid; gap:4px; min-height:52px; border:1px solid rgba(255,255,255,.08); border-radius:0 0 16px 16px; background:#202020; padding:8px 13px 10px; transition:border-color .18s ease,background .18s ease; }
.template-library-card:hover .template-library-info { border-color:rgba(255,255,255,.2); background:#272727; }
.template-library-info strong { overflow:hidden; color:rgba(255,255,255,.9); font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
.template-library-info span { color:rgba(255,255,255,.4); font-size:10px; }
.style-library-card { position:relative; min-width:0; overflow:hidden; border:0; border-radius:16px; background:transparent; color:#fff; text-decoration:none; box-shadow:0 16px 34px rgba(0,0,0,.2); transition:transform .18s ease; content-visibility:auto; contain-intrinsic-size:auto 310px; }
.style-library-card > a { display:block; color:inherit; text-decoration:none; }
.style-library-card:hover { transform:translateY(-3px); }
.style-library-preview { position:relative; aspect-ratio:3 / 4; overflow:hidden; border:0; border-radius:16px 16px 0 0; background:#2b2b2b; }
.style-library-preview img { width:100%; height:100%; display:block; object-fit:cover; transition:transform .28s ease; }
.style-library-card:hover .style-library-preview img { transform:scale(1.025); }
.style-library-like { position:absolute; z-index:2; right:9px; bottom:10px; display:flex; height:29px; align-items:center; gap:5px; border:0; border-radius:999px; background:rgba(18,18,18,.7); color:rgba(255,255,255,.72); padding:0 9px; backdrop-filter:blur(9px); }
.style-library-like svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:1.8; }
.style-library-like span { font-size:11.5px; font-weight:500; line-height:1; }
.style-library-like.is-liked { color:#ff7892; }
.style-library-like.is-liked svg { fill:currentColor; }
.style-library-info { display:grid; gap:4px; min-height:52px; border:1px solid rgba(255,255,255,.08); border-radius:0 0 16px 16px; background:#202020; padding:8px 68px 10px 13px; transition:border-color .18s ease,background .18s ease; }
.style-library-card:hover .style-library-info { border-color:rgba(255,255,255,.2); background:#272727; }
.style-library-info strong { overflow:hidden; color:rgba(255,255,255,.9); font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
.style-library-info span { color:rgba(255,255,255,.4); font-size:10px; }
.style-library-admin-trigger { position:absolute; z-index:3; right:16px; bottom:44px; width:27px; height:24px; border:0; border-radius:0; background:transparent; color:rgba(255,255,255,.52); padding:0; opacity:0; pointer-events:none; transition:opacity .16s ease,color .16s ease,transform .16s ease; }
.style-library-admin-trigger svg { width:18px; height:6px; fill:currentColor; }
.style-library-card:has(.style-library-info:hover) .style-library-admin-trigger,.style-library-admin-trigger:hover,.style-library-admin-trigger:focus-visible,.style-library-admin-trigger[aria-expanded="true"] { opacity:1; pointer-events:auto; }
.style-library-admin-trigger:hover { color:rgba(255,255,255,.9); transform:translateY(-1px); }
.style-library-card.is-pinned::after { position:absolute; top:10px; right:10px; z-index:2; content:"置顶"; border-radius:999px; background:rgba(14,14,14,.76); color:rgba(255,255,255,.78); padding:5px 8px; font-size:9px; backdrop-filter:blur(8px); }
.style-library-admin-menu { position:fixed; z-index:280; display:grid; width:178px; border:1px solid rgba(255,255,255,.1); border-radius:15px; background:rgba(28,28,29,.97); padding:7px; box-shadow:0 18px 52px rgba(0,0,0,.5); backdrop-filter:blur(18px); }
.style-library-admin-menu[hidden] { display:none; }
.style-library-admin-menu button { display:grid; grid-template-columns:24px 1fr; min-height:38px; align-items:center; border:0; border-radius:9px; background:transparent; color:rgba(255,255,255,.8); padding:0 10px; text-align:left; font-size:12px; }
.style-library-admin-menu button:hover { background:rgba(255,255,255,.08); color:#fff; }
.style-library-admin-menu button span { color:rgba(255,255,255,.5); font-size:14px; text-align:center; }
.style-library-admin-menu button b { font:inherit; }
.style-library-admin-menu button.danger { color:#ff8585; }
.style-library-admin-menu hr { width:calc(100% - 14px); height:1px; border:0; background:rgba(255,255,255,.08); margin:5px 7px; }
.style-library-editor-layer { position:fixed; inset:0; z-index:300; display:grid; place-items:center; padding:24px; background:rgba(0,0,0,.7); backdrop-filter:blur(14px); }
.style-library-editor-layer[hidden] { display:none; }
.style-library-editor { position:relative; display:grid; width:min(480px,calc(100vw - 34px)); gap:15px; border:1px solid rgba(255,255,255,.12); border-radius:23px; background:#222325; padding:27px; box-shadow:0 30px 90px rgba(0,0,0,.58); }
.style-library-editor > p { margin:0 0 -8px; color:#78b8ff; font-size:10px; font-weight:750; letter-spacing:.13em; }
.style-library-editor h2 { margin:0 0 3px; color:#fff; font-size:23px; }
.style-library-editor label { display:grid; gap:8px; color:rgba(255,255,255,.64); font-size:11px; }
.style-library-editor input { height:45px; border:1px solid rgba(255,255,255,.11); border-radius:12px; outline:none; background:#2d2f32; color:#fff; padding:0 13px; font:inherit; font-size:13px; }
.style-library-editor input:focus { border-color:rgba(116,183,255,.62); box-shadow:0 0 0 3px rgba(88,157,231,.12); }
.style-library-category-fields { display:grid; gap:14px; }
.style-library-category-fields[hidden] { display:none; }
.style-library-category-fields small { color:rgba(255,255,255,.38); font-size:10px; line-height:1.55; }
.style-library-editor-submit { height:44px; border:0; border-radius:12px; background:#3377bf; color:#fff; font-size:12px; font-weight:700; }
.style-library-editor-submit:hover { background:#3f87d4; }
.style-library-editor-close { position:absolute; top:17px; right:17px; width:32px; height:32px; border:0; border-radius:9px; background:rgba(255,255,255,.07); color:rgba(255,255,255,.7); font-size:19px; }
@media (min-width:1800px) {
  .project-page .project-shelf,
  .resource-library-shelf { width:min(1840px,calc(100% - 180px)); max-width:none; }
}
@media (max-width:1300px) { .template-library-grid,.style-library-grid { grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; } }
@media (max-width:900px) {
  .resource-library-shelf { margin-inline:24px; }
  .resource-library-head { align-items:flex-start; flex-direction:column; }
  .resource-library-controls { width:100%; justify-content:space-between; }
  .template-library-grid,.style-library-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}

/* 首页三组内容采用同一条实际版心轨道，避免窗口宽度变化时海报、项目和风格库产生细小偏移。 */
.project-page { --home-content-track:min(1540px,calc(100% - 96px)); }
.project-page .project-poster-stage,
.project-page .project-shelf,
.project-page .resource-library-shelf {
  width:var(--home-content-track);
  max-width:none;
  margin-left:auto;
  margin-right:auto;
}

/* 两侧缩放海报补偿缩放产生的内缩，让可见边缘与下方共同轨道精确重合。 */
.project-page .project-poster-1 { left:calc(-1 * clamp(18px,1.15vw,27px)); }
.project-page .project-poster-7 { right:calc(-1 * clamp(18px,1.15vw,27px)); }

/* 仅移除已有个人项目封面上的细白内描边；“开始创作”入口维持原有的可辨识边界。 */
.project-page .project-card:not(.new-card) .cover { box-shadow:none; }

@media (min-width:1800px) {
  .project-page { --home-content-track:min(1540px,calc(100% - 96px)); }
}

@media (max-width:900px) {
  .project-page .resource-library-shelf { margin-left:auto; margin-right:auto; }
}

.project-transfer-layer { position:fixed; inset:0; z-index:260; display:grid; place-items:center; padding:24px; background:rgba(0,0,0,.72); backdrop-filter:blur(14px); }
.project-transfer-layer[hidden] { display:none; }
.project-transfer-dialog { position:relative; width:min(620px,calc(100vw - 32px)); border:1px solid rgba(255,255,255,.16); border-radius:24px; background:#202124; padding:30px; box-shadow:0 28px 90px rgba(0,0,0,.62); }
.project-transfer-dialog > p { margin:0 0 6px; color:#78b8ff; font-size:11px; font-weight:700; letter-spacing:.12em; }
.project-transfer-dialog h2 { margin:0 0 22px; color:#fff; font-size:27px; }
.project-transfer-close { position:absolute; top:18px; right:18px; width:34px; height:34px; border-radius:10px; background:rgba(255,255,255,.08); color:#fff; font-size:21px; }
.project-transfer-options { display:grid; grid-template-columns:1fr 1fr; gap:11px; }
.project-transfer-options button { min-height:98px; border:1px solid rgba(255,255,255,.11); border-radius:15px; background:#292a2d; color:#f7f7f7; padding:17px; text-align:left; transition:transform .15s ease,border-color .15s ease,background .15s ease; }
.project-transfer-options button:hover { transform:translateY(-2px); border-color:rgba(126,185,255,.5); background:#303237; }
.project-transfer-options strong,.project-transfer-options span { display:block; }
.project-transfer-options strong { margin-bottom:7px; font-size:14px; }
.project-transfer-options span { color:rgba(255,255,255,.56); font-size:10px; line-height:1.6; }
@media (max-width:620px) { .project-transfer-options { grid-template-columns:1fr; } }

/* 20260910-home-library-width-six1: match materials .library-shell; preserve six equal slots for sparse catalogs. */
body { min-width:320px; }
.project-page { overflow-x:clip; }
.project-page { --home-content-track:min(1540px,calc(100% - 96px)); }
.resource-library-shelf { --home-card-min-width:200px; --home-card-gap:14px; --home-card-five-gaps:70px; }
.resource-library-shelf .template-library-grid,
.resource-library-shelf .style-library-grid {
  grid-template-columns:repeat(auto-fill,minmax(min(100%,max(var(--home-card-min-width),calc((100% - var(--home-card-five-gaps)) / 6))),1fr));
  gap:var(--home-card-gap);
  align-items:start;
}
.template-library-card { position:relative; }
.template-library-card > a { display:block; color:inherit; text-decoration:none; }
.template-library-info { padding-right:68px; }
.template-library-like,
.style-library-like {
  position:absolute;
  z-index:2;
  right:9px;
  bottom:10px;
  display:flex;
  height:29px;
  align-items:center;
  gap:5px;
  border:0;
  border-radius:999px;
  background:rgba(18,18,18,.7);
  color:rgba(255,255,255,.72);
  padding:0 9px;
  backdrop-filter:blur(9px);
}
.template-library-like svg,
.style-library-like svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:1.8; }
.template-library-like span,
.style-library-like span { font-size:11.5px; font-weight:500; line-height:1; }
.template-library-like.is-liked,
.style-library-like.is-liked { color:#ff7892; }
.template-library-like.is-liked svg,
.style-library-like.is-liked svg { fill:currentColor; }
.template-library-like:hover,
.style-library-like:hover { background:rgba(33,33,33,.92); color:#fff; }
.template-library-like.is-liked:hover,
.style-library-like.is-liked:hover { color:#ff7892; }

/*
 * 卡片信息区始终只保留两行：标题一行、描述一行。
 * 云端素材名称与描述长度不可控，若允许描述换行，单张卡会被撑高并
 * 破坏整行对齐；这里统一固定信息区高度，超出的文字用省略号表示。
 */
.template-library-info,
.style-library-info {
  box-sizing:border-box;
  grid-template-rows:17px 13px;
  align-content:start;
  gap:4px;
  height:54px;
  min-height:54px;
  overflow:hidden;
}
.template-library-info strong,
.template-library-info span,
.style-library-info strong,
.style-library-info span {
  display:block;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.template-library-info strong,
.style-library-info strong { line-height:17px; }
.template-library-info span,
.style-library-info span { line-height:13px; }

@media (min-width:1800px) {
  .project-page { --home-content-track:min(1540px,calc(100% - 96px)); }
}
@media (max-width:900px) {
  .project-page { --home-content-track:min(1540px,calc(100% - 96px)); }
  .resource-library-head { align-items:flex-start; }
  .resource-library-controls { align-items:flex-start; flex-wrap:wrap; }
}
@media (max-width:480px) {
  .project-page { --home-content-track:min(1540px,calc(100% - 96px)); }
  .resource-library-switch button { min-width:0; padding-inline:10px; }
  .resource-library-shelf { --home-card-min-width:142px; --home-card-gap:10px; --home-card-five-gaps:50px; }
}
:root .library-card-skeleton { overflow: hidden; border-radius: 18px; border: 1px solid #303030; background: #151515; }
:root .library-card-skeleton > div { aspect-ratio: 3 / 4; background: #181818; }
:root .library-card-skeleton > footer { height: 48px; background: #202020; }
:root img[data-cover-src]:not([src]) { visibility: hidden; }
.library-load-error { grid-column: 1 / -1; color: #aaa; }
#projectShareReasonLayer textarea { display: block; width: 100%; box-sizing: border-box; margin: 12px 0; padding: 12px; border: 1px solid #505050; border-radius: 10px; background: #222; color: #eee; font: inherit; resize: vertical; }

/* 20260910-folder-dialog-preview-route1: shared browser/WKWebView folder creation. */
.new-folder-dialog{width:min(400px,calc(100vw - 40px));padding:26px;border:1px solid #ffffff26;border-radius:18px;background:#242424;color:#eee;box-shadow:0 26px 80px #0008}
.new-folder-dialog::backdrop{background:#0009;backdrop-filter:blur(6px)}
.new-folder-dialog form{display:grid;gap:16px}.new-folder-dialog header,.new-folder-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.new-folder-dialog h2{font-size:18px;font-weight:600;margin:0}.new-folder-dialog label{font-size:12px;color:#bbb}.new-folder-dialog input{min-width:0;width:100%;height:42px;border:1px solid #ffffff26;border-radius:9px;background:#191919;color:#eee;padding:0 12px;outline:none}.new-folder-dialog input:focus{border-color:#aaa}.new-folder-dialog button{border:0;border-radius:8px;background:#363636;color:#ddd;padding:10px 16px}.new-folder-dialog footer{justify-content:flex-end}.new-folder-dialog button[type=submit]{background:#eee;color:#151515}.new-folder-dialog .new-folder-close{background:transparent;padding:0;width:30px;height:30px;font-size:25px;border-radius:0;outline:none;box-shadow:none;color:#aaa}.new-folder-dialog .new-folder-close:hover,.new-folder-dialog .new-folder-close:focus-visible{color:#fff}.new-folder-feedback{font-size:12px;line-height:1.5;margin:0;color:#bbb;min-height:18px}

.poster-material-preview-loading > button{border:1px solid #ffffff26;border-radius:8px;background:#303030;color:#eee;padding:9px 18px;font-size:13px}

/* Homepage canvas creation: a monochrome, self-contained animated canvas entry. */
.project-page .canvas-create-card { grid-column:span 4; align-self:start; }
.project-page .new-card .canvas-create-entry {
  position:relative; isolation:isolate; display:grid; place-items:center; overflow:hidden;
  width:100%; height:clamp(200px,16vw,264px); aspect-ratio:auto; padding:0;
  border:1px solid #ffffff20; border-radius:18px;
  background:radial-gradient(ellipse at 50% 120%,#ffffff12,transparent 65%),linear-gradient(180deg,#202020,#2b2b2b);
  box-shadow:inset 0 1px #ffffff05; color:#f5f5f5;
  transition:border-color .25s,box-shadow .25s;
}
.canvas-create-entry > [aria-hidden] { position:absolute; pointer-events:none; }
.canvas-create-dots,.canvas-create-ripple { inset:0; background-image:radial-gradient(circle,#fff 1px,transparent 1.1px); background-size:18px 18px; background-position:center; }
.canvas-create-dots { opacity:.09; mask-image:radial-gradient(ellipse at center,#000,transparent 85%); }
/* 20260915-create-pointer-dots1: brighten the same dot grid, with a soft trailing field. */
.canvas-create-pointer-glow { inset:0; opacity:0; transition:opacity .32s ease-out; }
.canvas-create-entry.is-pointer-lit .canvas-create-pointer-glow { opacity:1; }
.canvas-create-pointer-glow::before,.canvas-create-pointer-glow::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image:radial-gradient(circle,#fff 1px,transparent 1.1px);
  background-size:18px 18px; background-position:center;
}
.canvas-create-pointer-glow::before {
  opacity:.85;
  -webkit-mask-image:radial-gradient(circle 115px at var(--create-light-x,50%) var(--create-light-y,50%),#000 0%,#000b 30%,transparent 100%);
  mask-image:radial-gradient(circle 115px at var(--create-light-x,50%) var(--create-light-y,50%),#000 0%,#000b 30%,transparent 100%);
}
.canvas-create-pointer-glow::after {
  opacity:.27;
  -webkit-mask-image:radial-gradient(circle 155px at var(--create-light-trail-x,50%) var(--create-light-trail-y,50%),#000 0%,transparent 100%);
  mask-image:radial-gradient(circle 155px at var(--create-light-trail-x,50%) var(--create-light-trail-y,50%),#000 0%,transparent 100%);
}
.canvas-create-ripple { opacity:0; mask-image:radial-gradient(ellipse closest-side,transparent 55%,#000 76%,transparent 100%); mask-position:center; mask-repeat:no-repeat; animation:canvas-create-wave 4.8s cubic-bezier(.25,.1,.2,1) infinite; }
.canvas-create-ripple-delayed { animation-delay:-2.4s; }
.canvas-create-network { inset:0; width:100%; height:100%; }
.canvas-create-nodes { fill:#ffffff02; stroke:#ffffff15; stroke-width:1; }
.canvas-create-wire { stroke:#ffffff16; stroke-width:1.1; }
.canvas-create-pulse { fill:none; stroke:#fff; stroke-width:14; stroke-linecap:round; stroke-dasharray:16 184; stroke-dashoffset:16; opacity:0; animation:canvas-create-light 4s cubic-bezier(.4,0,.2,1) infinite; animation-delay:var(--flow-delay); }
.canvas-create-flow { fill:none; stroke:#fff; stroke-width:1.3; stroke-linecap:round; opacity:.9; }
.canvas-create-bloom { fill:none; stroke:#fff; stroke-width:5; opacity:.28; }
.canvas-create-entry:is(:hover,:focus-visible) .canvas-create-flow { stroke-width:1.5; }

.canvas-create-content { position:relative; display:flex; flex-direction:column; align-items:center; gap:16px; transform:translateY(4px); pointer-events:none; }
.canvas-create-plus { display:grid; place-items:center; width:100px; height:58px; border:1px solid #ffffff80; border-radius:18px; background:linear-gradient(180deg,#fff 25%,#dedede); color:#101010; box-shadow:0 2px 2px #0005,0 0 26px #ffffff10,inset 0 1px #fff; transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s; }
.canvas-create-plus svg { width:26px; height:26px; stroke:currentColor; stroke-width:2.6; stroke-linecap:round; }
.canvas-create-title { font-size:17px; font-weight:560; letter-spacing:.02em; transition:transform .3s; }
.project-page .canvas-create-card { position:relative; }
.project-page .canvas-create-card > .new-project-engine-label { position:absolute; z-index:2; top:calc(50% + 61px); left:16px; right:16px; display:flex; justify-content:center; align-items:center; height:20px; margin:0; padding:0; background:transparent; color:#ffffff70; font-size:11px; }
.project-page .new-card .canvas-create-entry:hover,.project-page .new-card .canvas-create-entry:focus-visible { border-color:#ffffff40; box-shadow:inset 0 0 50px #ffffff05,0 10px 34px #0002; }
.canvas-create-entry:is(:hover,:focus-visible) .canvas-create-plus { transform:translateY(-2px) scale(1.06); box-shadow:0 4px 8px #0004,0 0 36px #ffffff25,inset 0 1px #fff; }
.canvas-create-entry:is(:hover,:focus-visible) .canvas-create-title { transform:translateY(1px); }
.canvas-create-entry:active .canvas-create-plus { transform:scale(.96); }
.canvas-create-entry:focus-visible { outline:2px solid #ddd; outline-offset:4px; }
@keyframes canvas-create-wave { 0% { mask-size:1% 1%; opacity:0; } 16% { opacity:.24; } 80% { opacity:.13; } 100% { mask-size:260% 260%; opacity:0; } }
@keyframes canvas-create-light { 0% { stroke-dashoffset:16; opacity:0; } 12% { opacity:1; } 76% { opacity:1; } 100% { stroke-dashoffset:-110; opacity:0; } }
@media (max-width:1180px) { .project-page .canvas-create-card { grid-column:span 3; } }
@media (max-width:760px) { .project-page .canvas-create-card { grid-column:1 / -1; } }
@media (prefers-reduced-motion:reduce) {
  .canvas-create-entry *, .canvas-create-entry { animation:none !important; transition:none !important; }
  .canvas-create-ripple,.canvas-create-flow,.canvas-create-bloom,.canvas-create-pulse { display:none; }
}

/* Recent covers and their captions share the creation card's vertical bounds. */
.project-page .project-grid { grid-template-columns:repeat(7,minmax(0,1fr)); --recent-height:clamp(200px,16vw,264px); }
.project-page .canvas-create-card { grid-column:span 3; }
.project-page .project-grid>.project-card:not(.new-card) { height:auto; display:grid; grid-template-rows:auto 22px 18px; row-gap:5px; }
.project-page .project-grid>.project-card:not(.new-card) .cover { width:100%; height:auto; aspect-ratio:3/4; min-height:0; }
.project-page .project-grid>.project-card:not(.new-card)>h3 { margin:0 30px 0 4px; align-self:end; line-height:20px; }
.project-page .project-grid>.project-card:not(.new-card)>p { margin:0 30px 0 4px; line-height:18px; }
.project-page .project-grid>.project-card:not(.new-card)>.card-more { top:auto; bottom:0; right:0; }
@media(max-width:1180px){.project-page .project-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.project-page .canvas-create-card{grid-column:span 3;}}
@media(max-width:760px){.project-page .project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-page .canvas-create-card{grid-column:1/-1;}}

.project-page .canvas-create-card { align-self:stretch; min-height:220px; }
.project-page .new-card .canvas-create-entry { height:100%; min-height:220px; }

/* Project actions remain discoverable without adding a boxed control. */
.project-page .project-card > .card-more,
.project-page .project-card > .card-more:hover,
.project-page .project-card > .card-more:focus-visible {
  top:auto;
  right:0;
  bottom:0;
  width:24px;
  height:18px;
  padding:0;
  opacity:1;
  pointer-events:auto;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:rgba(255,255,255,.7);
}
.project-page .project-card > .card-more:is(:hover,:focus-visible) { color:#fff; }

.project-page #homeLibrarySort { align-self:flex-end; }
