#view-dashboard{--home-gold:#d6b373;--home-line:#ffffff12;background:#0e1112;color:#d7d7d1}
#view-dashboard>header{height:64px;min-height:64px;background:#0a0c0d;border-color:var(--home-line);gap:24px;padding:0 24px}
#view-dashboard .brand-logo{width:44px;height:32px;object-fit:contain}
.home-brand-word{font-size:20px;color:#d6b373;letter-spacing:1px;margin-left:8px}
.home-nav{display:flex;align-self:stretch;align-items:stretch;gap:24px;margin-right:auto}
.home-nav button{background:none;border:0;color:#aaa;font-size:13px;white-space:nowrap;border-bottom:2px solid transparent}
.home-nav button:first-child{color:#e3c890;border-bottom-color:#d6b373}
#view-dashboard #header-user-area{gap:12px}
#view-dashboard #project-count,#view-dashboard #project-layout-control,#view-dashboard #app-version-badge{display:none!important}
#view-dashboard #project-search-input{width:156px;height:32px;border-radius:24px;background:#131617;border-color:#ffffff18}
#view-dashboard #main-area{padding:0;overflow:auto;min-height:0}
html.home-module-transition{view-transition-name:none}
html.home-module-transition #main-area{view-transition-name:home-module-content}
html.home-module-transition::view-transition{pointer-events:none}
html.home-module-transition::view-transition-group(home-module-content){animation:none}
html.home-module-transition::view-transition-old(home-module-content){animation:home-module-out .32s cubic-bezier(.22,.72,.24,1) both;mix-blend-mode:normal}
html.home-module-transition::view-transition-new(home-module-content){animation:home-module-in .32s cubic-bezier(.22,.72,.24,1) both;mix-blend-mode:normal}
@keyframes home-module-out{from{transform:translateX(0);opacity:1}to{transform:translateX(calc(-56px * var(--home-module-direction,1)));opacity:0}}
@keyframes home-module-in{from{transform:translateX(calc(56px * var(--home-module-direction,1)));opacity:0}to{transform:translateX(0);opacity:1}}
.project-cover-cropper{inset:64px 0 0 72px}
body.home-rail-active .project-cover-cropper{left:var(--app-rail-width);transition:left .24s cubic-bezier(.2,.8,.2,1)}
.project-cover-cropper>div:first-child{flex-shrink:0}
@media(max-width:560px){body:not(.home-rail-active) .project-cover-cropper{left:56px}}
@media(prefers-reduced-motion:reduce){body.home-rail-active .project-cover-cropper{transition:none}}
.home-shell{display:grid;grid-template-columns:174px minmax(0,1fr) 290px;min-height:100%;gap:0}
.home-button{padding:10px 14px;border:1px solid #ffffff20;border-radius:6px;color:#ddd;background:#1b1f20;cursor:pointer;font-size:12px}
.home-primary{background:linear-gradient(135deg,#edd19a,#b48c4d);color:#201a10;border:0}
.home-canvas-guide{position:fixed;z-index:320;box-sizing:border-box;width:min(360px,calc(100vw - 32px));padding:24px 28px;border:0;border-radius:18px;background:#202020;color:#f0d7a3;box-shadow:0 12px 32px #0005;font:600 18px/1.8 "Microsoft YaHei",Arial,sans-serif;pointer-events:none}
.home-canvas-guide[hidden]{display:none!important}
.home-canvas-guide p{margin:0}
.home-canvas-guide::before{content:"";position:absolute;left:-7px;top:calc(var(--guide-arrow,30px) - 7px);width:14px;height:14px;transform:rotate(45deg);background:#202020}
.home-canvas-guide[data-placement=below]::before{left:calc(var(--guide-arrow,30px) - 7px);top:-7px}
.home-label{font-size:11px;color:#989c98;margin:0 0 12px}
.home-recent{display:flex;flex-direction:column;gap:8px;margin-bottom:20px}
.home-recent-row{position:relative;min-width:0}
#view-dashboard .home-recent-row>button[data-project]{width:100%;padding-right:26px}
#view-dashboard .home-recent-row>.home-recent-more{position:absolute;right:3px;bottom:3px;display:grid;place-items:center;grid-template-columns:none;width:24px;height:24px;min-width:24px;min-height:24px;padding:0;border-radius:5px;background:transparent;color:#b8b8b0;font-size:20px;line-height:1;cursor:pointer}
#view-dashboard .home-recent-row>.home-recent-more:hover{background:#ffffff15;color:#e8c887}
.home-recent-menu{position:fixed;z-index:310;width:166px;padding:10px;border:1px solid #373b3f;border-radius:12px;background:#27292b;color:#e8edf0;box-shadow:0 18px 36px #0006;font-family:"Microsoft YaHei",Arial,sans-serif}
.home-recent-menu[hidden]{display:none!important}
.home-recent-menu button{display:block;width:100%;min-height:34px;padding:6px 8px;text-align:left;border:0;border-radius:6px;background:transparent;color:#eef3f5;font-size:13px;font-weight:700;cursor:pointer}
.home-recent-menu button:hover{background:#34383b}
.home-recent-menu button.danger{color:#ffb9bd}
#view-dashboard .home-poster .home-poster-copy{padding-right:44px}
#view-dashboard .home-poster .home-poster-more{position:absolute;right:8px;bottom:10px;z-index:2;display:grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid #ffffff24;border-radius:6px;background:#171a1bd9;color:#e8d2a5;font-size:22px;line-height:1;cursor:pointer}
#view-dashboard .home-poster .home-poster-more:hover{background:#34383b;color:#fff0cb}
#view-dashboard .home-poster:focus-visible{outline:2px solid #e8c887;outline-offset:3px}
.home-recent-row>button{display:flex;align-items:center;gap:9px;text-align:left;padding:7px;border-radius:6px;border:1px solid transparent;background:transparent;color:#a7aaa5;font-size:11px}
.home-recent-row>button[aria-pressed=true]{background:#282828;color:#eee}
.home-recent img{width:29px;height:40px;object-fit:cover;border-radius:3px}
.home-recent span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-center{min-width:0;display:flex;flex-direction:column;padding:18px 20px;background:radial-gradient(ellipse at 50% 38%,#38352c55,transparent 62%),#0d1011}
.home-stage{position:relative;min-height:460px;flex:1;overflow:hidden;perspective:1000px;touch-action:pan-y;cursor:grab}
.home-stage.is-dragging{cursor:grabbing}
.home-poster{position:absolute;left:50%;top:50%;width:190px;height:310px;margin:-155px 0 0 -95px;border:1px solid #ffffff26;border-radius:9px;overflow:hidden;background:linear-gradient(145deg,#303b3e,#131719);color:#eee;padding:0;text-align:left;will-change:transform;user-select:none}
.home-poster img{width:100%;height:100%;object-fit:cover;pointer-events:none}
.home-poster .home-poster-copy{position:absolute;inset:auto 0 0;padding:40px 13px 16px;background:linear-gradient(transparent,#080b0bf5);font-size:14px}
.home-poster small{display:block;font-size:10px;color:#c9af7e;margin-top:7px}
.home-no-cover{display:grid;place-items:center;height:75%;padding:20px;text-align:center;font-size:22px;color:#a9afa8}
#view-dashboard .home-placeholder-poster{padding:0;box-sizing:border-box;background:#101414;cursor:grab;overflow:hidden}
#view-dashboard .home-placeholder-poster>.home-placeholder-artwork{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none}
#view-dashboard .home-placeholder-caption{position:absolute;inset:auto 0 0;padding:55px 14px 20px;background:linear-gradient(transparent,rgba(5,8,10,.82) 38%,#05080af5);pointer-events:none}
#view-dashboard .home-placeholder-brand{display:flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;color:#f3e7cf;font-size:21px;font-weight:600;white-space:nowrap;text-shadow:0 2px 8px #0008}
#view-dashboard .home-placeholder-brand .home-placeholder-logo{display:block;width:30px;height:30px;object-fit:contain;flex-shrink:0}
#view-dashboard .home-placeholder-tagline{margin:10px 0 0;color:#ddd4c4;font-size:12px;line-height:1.8;text-align:left;text-shadow:0 1px 5px #000}
.home-controls{display:flex;align-items:center;justify-content:center;gap:24px;margin:8px 0 16px;min-height:32px}
.home-controls button{border:1px solid #ffffff1c;border-radius:50%;width:30px;height:30px;color:#ceb57c;background:#191d1e}
.home-statistics{flex-shrink:0;padding:16px;border-top:1px solid var(--home-line);background:#131718}
.home-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.home-stat{border:1px solid var(--home-line);border-radius:5px;padding:9px;font-size:10px;color:#969c97}
.home-stat strong{display:block;color:#e0dfd7;font-size:20px;margin-top:5px;font-weight:400}
.home-inspector{margin:14px 14px 14px 0;padding:20px;border:1px solid var(--home-line);border-radius:12px;background:linear-gradient(135deg,#1b1f20,#111516);align-self:stretch;min-width:0}
.home-inspector h2{font-size:17px;color:#ece7dc;margin:16px 0 8px;overflow-wrap:anywhere}
.home-path{font-size:10px;overflow-wrap:anywhere;color:#8c938e;margin-bottom:16px}
.home-lock{display:flex;align-items:center;justify-content:space-between;margin:20px 0;font-size:12px}
.home-styles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:230px;overflow:auto;margin-bottom:20px}
.home-styles button{min-height:58px;padding:10px 6px;border:1px solid #ffffff18;border-radius:6px;background:#202526;color:#aab0aa;font-size:11px}
.home-styles button[aria-pressed=true]{border-color:#d6b373;color:#ecd4a6;background:#3b3324}
.home-styles button:disabled{opacity:.5;cursor:not-allowed}
.home-keywords{font-size:11px;line-height:1.8;color:#a99b7e;margin-bottom:20px}
.home-team{border-top:1px solid var(--home-line);padding:18px 0;font-size:12px;color:#a6ada6}
.home-open{width:100%;margin-top:20px}
.home-empty{position:absolute;inset:0;display:grid;place-items:center;text-align:center;color:#9b9f99;padding:30px;font-size:14px}
.home-library{position:fixed;inset:18px;width:calc(100% - 36px);height:calc(100% - 36px);max-width:none;max-height:none;padding:0;border:1px solid #6a5739;border-radius:12px;background:#101415;color:#ddd}
.home-library::backdrop{background:#000b}
.home-library[open]{display:flex;flex-direction:column}
.home-library-head{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;border-bottom:1px solid #ffffff18;flex-shrink:0}
.home-library-close{display:grid;place-items:center;flex:none;width:36px;height:36px;padding:0;border:0;border-radius:8px!important;background:#303030;color:#ccc;cursor:pointer;transition:background-color .16s ease,color .16s ease}
.home-library-close:hover{background:#3b3b3b;color:#fff}
.home-library-close:focus-visible{outline:2px solid #d4bd80;outline-offset:3px}
.home-library-close svg{display:block;width:20px;height:20px;pointer-events:none}
.home-library-body{padding:24px;overflow:auto;min-height:0}
.home-library #card-grid,.home-library .home-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr))!important;gap:12px!important;padding-bottom:0;align-items:start}
.home-library .project-card,.home-library .home-library-card{position:relative;display:block;width:100%;min-width:0;aspect-ratio:3/4;padding:0;overflow:hidden;border:0!important;border-radius:14px;background:#202020!important;box-shadow:none!important;text-align:left;cursor:pointer}
.home-library .project-card>div:first-child,.home-library .home-library-cover{position:absolute;inset:0;height:100%;background:#202020!important;display:flex;align-items:center;justify-content:center}
.home-library .home-library-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.home-library .home-library-placeholder{padding:16px;color:#888;text-align:center;overflow-wrap:anywhere}
.home-library .project-card>div:last-child,.home-library .home-library-caption{position:absolute;left:0;right:0;bottom:0;height:auto;min-height:64px;box-sizing:border-box;padding:32px 12px 12px;background:linear-gradient(transparent,rgba(0,0,0,.8));color:#fff;font-size:13px;font-weight:600;line-height:1.4}
.home-library .home-library-caption{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-library .project-card .project-title{padding-right:28px}
.home-library .home-library-card:focus-visible{outline:2px solid #d4bd80;outline-offset:2px}
/* Animate only the interacted card; do not allocate compositor layers for the entire library. */
.home-library .home-library-card,#view-dashboard .home-library .project-card{border-radius:18px!important;box-shadow:0 10px 24px #0006!important;transition:transform .3s cubic-bezier(.22,1,.36,1);transform:translateY(0) scale(1);transform-origin:center}
.home-library .home-library-card:hover,#view-dashboard .home-library .project-card:hover{transform:translateY(-4px) scale(1.035);z-index:10}
@media(prefers-reduced-motion:reduce){.home-library .home-library-card,#view-dashboard .home-library .project-card{transition:none;transform:none}.home-library .home-library-card:hover,#view-dashboard .home-library .project-card:hover{transform:none}}
#view-dashboard .home-notification{position:relative!important;inset:auto!important;box-shadow:none;background:transparent;border:0;width:32px;height:32px;flex-shrink:0}
#view-dashboard #notification-badge{top:auto!important;bottom:0;right:0;min-width:16px;height:16px;line-height:16px;padding:0 3px;text-align:center;background:#dc4545;color:white}
#view-dashboard #notification-panel{top:66px!important;bottom:auto!important;right:24px!important}
@media(max-width:1100px){.home-shell{grid-template-columns:145px minmax(0,1fr) 245px}.home-brand-word{display:none}.home-inspector{padding:14px}.home-center{padding:12px}.home-poster{width:168px;height:282px;margin:-141px 0 0 -84px}}
@media(max-width:800px){.home-shell{grid-template-columns:130px minmax(0,1fr)}.home-inspector{grid-column:1/-1;margin:12px}.home-stage{min-height:400px}.home-stat-grid{grid-template-columns:repeat(2,1fr)}}
@media(prefers-reduced-motion:reduce){.home-poster{will-change:auto}}

/* The existing creation interface occupies the top of the landing page. */
#view-dashboard.home-landing-active{position:relative;background:#181818!important}
#view-dashboard.home-landing-active #main-area{position:relative;background:transparent!important}
#view-dashboard .home-landing-page{display:block;min-height:0;padding:24px max(24px,3vw) 40px;background:transparent;box-sizing:border-box}
#view-dashboard .home-landing-page[hidden]{display:none!important}
@media(max-width:560px){#view-dashboard .home-landing-page{padding:20px 20px 28px}}
/* Static example artwork, visible only on the landing page. */
#view-dashboard .home-showcase{display:none}
#view-dashboard.home-landing-active .home-showcase{display:block;columns:5 220px;column-gap:8px;padding:0 max(24px,3vw) 40px}
#view-dashboard .home-showcase-item{display:inline-block;vertical-align:top;width:100%;margin:0 0 8px;break-inside:avoid;overflow:hidden;border:0;border-radius:16px;background:#202020}
#view-dashboard .home-showcase-trigger{display:block;width:100%;padding:0;border:0;border-radius:inherit;background:transparent;color:inherit;box-shadow:none;cursor:pointer;overflow:hidden}
#view-dashboard .home-showcase-trigger:focus-visible{outline:2px solid #e8c887;outline-offset:-3px}
#view-dashboard .home-showcase-image{display:block;width:100%;height:auto;transition:transform .28s ease}
#view-dashboard .home-showcase-trigger:hover .home-showcase-image{transform:scale(1.025)}
@media(max-width:520px){#view-dashboard.home-landing-active .home-showcase{columns:2 140px;column-gap:6px;padding:0 20px 28px}#view-dashboard .home-showcase-item{margin-bottom:6px;border-radius:12px}}
.home-showcase-dialog{position:fixed;inset:0;display:none;box-sizing:border-box;width:min(1280px,calc(100vw - 64px));height:min(820px,calc(100vh - 64px));height:min(820px,calc(100dvh - 64px));max-width:none;max-height:none;margin:auto;padding:0;border:0;border-radius:20px;background:rgba(32,32,32,.72);-webkit-backdrop-filter:blur(26px) saturate(.85);backdrop-filter:blur(26px) saturate(.85);box-shadow:0 28px 90px rgba(0,0,0,.48);color:#eee;overflow:hidden;font-family:"Microsoft YaHei","PingFang SC",sans-serif}
.home-showcase-dialog[open]{display:grid;grid-template-columns:minmax(0,1fr) 340px}
.home-showcase-dialog::backdrop{background:rgba(0,0,0,.48)}
.home-showcase-dialog .home-showcase-close{position:absolute;z-index:2;top:14px;right:14px;background:rgba(255,255,255,.09);color:#eee}
.home-showcase-dialog .home-showcase-close:hover{background:rgba(255,255,255,.16);color:#fff}
.home-showcase-preview{display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;padding:24px;background:transparent;overflow:hidden}
.home-showcase-full-image{display:block;width:100%;height:100%;object-fit:contain}
.home-showcase-details{display:flex;flex-direction:column;gap:16px;min-width:0;min-height:0;padding:58px 28px 28px;background:rgba(32,32,32,.3);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.home-showcase-kicker{margin:0;color:#999;font-size:12px;line-height:1.5}
.home-showcase-details h2{margin:0;color:#f0f0f0;font-size:22px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
.home-showcase-author{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:#999;font-size:12px;line-height:1.5}
.home-showcase-author strong{color:#ddd;font-size:14px;font-weight:500}
.home-showcase-prompt-section{min-width:0;margin-top:8px}
.home-showcase-prompt-section h3{margin:0 0 10px;color:#ddd;font-size:13px;font-weight:600;line-height:1.5}
.home-showcase-prompt{margin:0;color:#bdbdbd;font-size:13px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;user-select:text}
.home-showcase-dialog .home-showcase-reuse{flex:none;width:100%;min-height:44px;padding:11px 14px;border:0;border-radius:10px!important;background:#dedede;color:#202020;font:600 13px/1.5 "Microsoft YaHei","PingFang SC",sans-serif;text-align:center;cursor:pointer;transition:background-color .16s ease}
.home-showcase-dialog .home-showcase-reuse:not(:disabled):hover{background:#f3f3f3}
.home-showcase-dialog .home-showcase-reuse:disabled{opacity:.45;cursor:not-allowed}
.home-showcase-dialog .home-showcase-reuse:focus-visible{outline:2px solid #e8c887;outline-offset:3px}
.home-showcase-dialog .home-showcase-prompt-section[hidden],.home-showcase-dialog .home-showcase-reuse[hidden]{display:none!important}
.home-showcase-status{margin:0;color:#bdbdbd;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.home-showcase-status:empty{display:none}
.home-showcase-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:auto;padding-top:12px}
.home-showcase-metrics>div{display:flex;flex-direction:column;gap:7px}
.home-showcase-metrics span{color:#999;font-size:12px;line-height:1.5}
.home-showcase-metrics strong{color:#ddd;font-size:15px;font-weight:500;line-height:1.5}
@media(max-width:760px){.home-showcase-dialog{width:calc(100vw - 24px);height:calc(100vh - 24px);height:calc(100dvh - 24px);border-radius:16px}.home-showcase-dialog[open]{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(140px,42%) minmax(0,1fr)}.home-showcase-dialog .home-showcase-close{top:10px;right:10px}.home-showcase-preview{padding:48px 16px 12px}.home-showcase-details{padding:18px 20px 24px}.home-showcase-details h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){#view-dashboard .home-showcase-image,.home-showcase-dialog .home-showcase-reuse{transition:none}#view-dashboard .home-showcase-trigger:hover .home-showcase-image{transform:none}}
/* Confirmed preview geometry and palette. */
#view-dashboard{--home-gold:#d6a957;--home-line:rgba(255,255,255,.075);font-family:"Microsoft YaHei","PingFang SC",sans-serif;color:#c9c5bc}
#view-dashboard>header{height:58px;min-height:58px;gap:28px;padding:0 22px;background:rgba(7,8,9,.96)}
#view-dashboard .brand-logo{width:44px;height:auto;display:block;object-fit:contain}
#view-dashboard .home-brand-word{display:block;color:#e6c78c;font-size:19px;font-weight:500;letter-spacing:.04em;margin-left:9px}
#view-dashboard .home-nav{gap:30px}
#view-dashboard .home-nav button{position:relative;border:0;color:#aaa7a0;font-weight:400}
#view-dashboard .home-nav button:first-child{color:#e6c78c}
#view-dashboard .home-nav button:first-child:after{content:"";position:absolute;left:20%;right:20%;bottom:0;height:2px;background:var(--home-gold)}
#view-dashboard #header-user-area{gap:14px;align-items:center}
#view-dashboard #project-search-input{background:#0e1011;font-size:11px;color:#c9c5bc;padding-left:29px;padding-right:12px;border-color:var(--home-line)}
#view-dashboard #header-user-area>div:has(#project-search-input){display:flex;align-items:center;height:32px}
#view-dashboard #header-user-area>div:has(#project-search-input)>svg{width:14px;height:14px;left:10px}
#view-dashboard #user-menu-control>button{width:30px;height:30px;border-color:#d6a95773}
#view-dashboard .home-help{width:20px;height:20px;flex-shrink:0;border:1px solid #888b86;border-radius:50%;color:#aaa7a0;background:transparent;font-size:12px;line-height:18px;padding:0}
#view-dashboard .home-shell{grid-template-columns:155px minmax(420px,1fr) 290px;min-height:622px;box-sizing:border-box}
#view-dashboard .home-personal-status{position:absolute;z-index:20;left:50%;bottom:8px;max-width:min(520px,60%);margin:0;transform:translateX(-50%);text-align:center;pointer-events:none}
#view-dashboard .home-primary{background:linear-gradient(135deg,#f0d18d,#b98639);color:#19150f}
#view-dashboard .home-recent{gap:6px;margin-bottom:0}
#view-dashboard .home-recent-row>button{display:grid;grid-template-columns:38px minmax(0,1fr);gap:8px;min-height:52px;padding:5px;border:0;border-radius:4px;color:#c9c5bc}
#view-dashboard .home-recent img,#view-dashboard .home-recent-placeholder{width:38px;height:42px;border-radius:2px}
#view-dashboard .home-recent-placeholder{display:grid;place-items:center;background:#242b2d;color:#b9ae99}
#view-dashboard .home-recent-copy strong{display:block;font-size:10px;font-weight:500;margin:5px 0 3px;overflow:hidden;text-overflow:ellipsis}
#view-dashboard .home-recent-copy small{display:block;font-size:8px;color:#777873}
#view-dashboard .home-center{min-height:0;padding:0 20px;background:radial-gradient(ellipse at 50% 32%,#77746420,transparent 62%),linear-gradient(180deg,#101315,#0b0e0f)}
#view-dashboard .home-stage{min-height:465px;overflow:hidden;isolation:isolate}
#view-dashboard .home-stage:after{content:"";position:absolute;z-index:-1;left:20%;right:20%;bottom:8px;height:54px;border-radius:50%;background:radial-gradient(ellipse,#d6a95733,#ffffff09 42%,transparent 72%);filter:blur(7px);pointer-events:none}
#view-dashboard .home-poster{width:182px;height:302px;margin:-151px 0 0 -91px;top:50%;border:0;border-radius:6px;background-color:#151718;transform-style:preserve-3d}
#view-dashboard .home-poster .home-poster-copy{padding:40px 14px 13px;font-size:14px;font-weight:500;background:linear-gradient(transparent,#050606f2)}
#view-dashboard .home-poster small{font-size:9px;font-weight:400;color:var(--home-gold);margin-top:7px}
#view-dashboard .home-controls{gap:30px;margin:8px 0 16px;min-height:28px;flex-shrink:0;position:relative;z-index:2}
#view-dashboard .home-controls>button{width:28px;height:28px;background:#121516;color:#898a86;border-color:var(--home-line)}
#view-dashboard .home-dots{display:flex;gap:8px;align-items:center;max-width:180px;overflow:auto;padding:8px 0}
#view-dashboard .home-dots .home-dot{width:7px;height:4px;min-width:7px;border:0;border-radius:99px;background:#292c2d;padding:0;transition:width .3s,background .3s}
#view-dashboard .home-dots .home-dot[aria-pressed=true]{width:17px;min-width:17px;background:var(--home-gold)}
.home-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#view-dashboard .home-statistics{padding:22px 18px 24px;background:linear-gradient(180deg,#111416eb,#0a0c0df5);box-shadow:0 -18px 38px #0000003d}
#view-dashboard .home-statistics>.home-label{font-size:14px;margin-bottom:16px}
#view-dashboard .home-stat-grid{gap:16px}
#view-dashboard .home-stat{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:170px;padding:20px 10px;font-size:13px;border-radius:24px;background:#1a1d1e;text-align:center}
#view-dashboard .home-stat strong{font-family:inherit;font-variant-numeric:tabular-nums;font-size:32px;line-height:1.15;margin:0;font-weight:600;color:#e8c887;max-width:100%;overflow-wrap:anywhere}
#view-dashboard .home-stat-icon{display:grid;place-items:center;width:38px;height:38px;color:#e8c887}
#view-dashboard .home-stat-icon svg{display:block;width:32px;height:32px}
#view-dashboard .home-stat-name{color:#aaa9a2;font-size:13px}
#view-dashboard .home-inspector{margin:12px 10px 0 0;padding:18px;border-radius:10px;background:linear-gradient(145deg,#151819,#0f1213);box-shadow:0 16px 35px #0004}
#view-dashboard .home-inspector>.home-label:first-child{color:#9a9b96;font-size:11px;margin-bottom:17px}
#view-dashboard .home-inspector h2{font-size:15px;font-weight:500;margin:0 0 11px}
#view-dashboard .home-path{font-size:9px;color:#878985;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:0}
#view-dashboard .home-lock{margin:16px 0;font-size:10px}
#view-dashboard .home-lock-switch{width:30px;height:16px;padding:2px;border:0;border-radius:99px;background:#3a3d3d}
#view-dashboard .home-lock-switch:before{content:"";display:block;width:12px;height:12px;border-radius:50%;background:#f2eee4;transition:transform .2s}
#view-dashboard .home-lock-switch[aria-pressed=true]{background:var(--home-gold)}
#view-dashboard .home-lock-switch[aria-pressed=true]:before{transform:translateX(14px)}
#view-dashboard .home-styles{gap:8px;margin-bottom:12px;max-height:230px}
#view-dashboard .home-styles button{position:relative;min-height:62px;padding:12px 10px;border-radius:7px;font-size:11px;background:#1a1d1e}
#view-dashboard .home-styles button[aria-pressed=true]{border-color:var(--home-gold);color:#f0d7a3;background:linear-gradient(135deg,#3a3020,#211f19)}
#view-dashboard .home-styles button[aria-pressed=true]:after{content:"✓";position:absolute;right:6px;top:4px;font-size:10px}
#view-dashboard .home-keywords{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0 14px;max-height:100px;overflow:auto}
#view-dashboard .home-tag{border:1px solid var(--home-line);border-radius:99px;background:#1b1e1f;color:#8d8e89;padding:4px 8px;font-size:9px}
#view-dashboard .home-team{padding:12px 0 0;font-size:10px;position:relative}
#view-dashboard .home-team>.home-button{position:absolute;right:0;top:8px;padding:0;border:0;background:transparent;font-size:9px;color:#858781}
#view-dashboard .home-people{display:flex;gap:9px;flex-wrap:wrap;margin:11px 0 16px}
#view-dashboard .home-person{text-align:center;font-size:9px;color:#858781;max-width:38px;overflow:hidden}
#view-dashboard .home-person img{width:30px;height:30px;object-fit:cover;border-radius:50%;border:1px solid #d6a95759;margin:0 auto 3px}
#view-dashboard .home-team-empty{font-size:10px;color:#777b78;margin:14px 0}
#view-dashboard .home-open{height:34px;margin-top:15px;font-size:11px;padding:0;border-radius:4px}
#view-dashboard .home-inspector>.home-open:last-child{height:28px;margin-top:8px;font-size:9px;background:#171a1b;color:#858781}
/* Hide structural dividers between homepage modules. */
#view-dashboard .home-sidebar,#view-dashboard .home-inspector,#view-dashboard .home-statistics,#view-dashboard .home-team{border-color:transparent!important}
#view-dashboard .home-statistics,#view-dashboard .home-inspector{box-shadow:none!important}
/* Black theme: keep grey only on fine borders and secondary text. */
#view-dashboard,#view-dashboard #main-area,#view-dashboard .home-shell{background:#050606!important}
#view-dashboard>header{background:#1b1d1f!important}
#view-dashboard .home-center{background:radial-gradient(ellipse at 50% 35%,rgba(105,88,53,.07),transparent 65%),#050606!important}
#view-dashboard .home-inspector{background:linear-gradient(145deg,#0d0f0f,#070808)!important;border-color:#ffffff0f}
#view-dashboard .home-statistics{background:linear-gradient(180deg,#090b0b,#050606)!important}
#view-dashboard .home-stat{background:#101212!important}
#view-dashboard .home-styles button{background:#101212;color:#aaa9a2}
#view-dashboard .home-styles button[aria-pressed=true]{background:linear-gradient(135deg,#2b2418,#15130e)}
#view-dashboard .home-tag{background:#111313}
#view-dashboard .home-controls>button,#view-dashboard .home-inspector>.home-open:last-child{background:#0b0d0d}
#view-dashboard #project-search-input{background:#090a0a}
#view-dashboard .home-library{background:#080a0a}
#view-dashboard .home-poster{background:linear-gradient(145deg,#151a1b,#080a0a)}
@media(min-width:881px){#view-dashboard .home-shell{height:max(622px,100vh);height:max(622px,100dvh)}}
@media(max-width:880px){#view-dashboard .home-shell{grid-template-columns:130px minmax(360px,1fr)}#view-dashboard .home-inspector{grid-column:1/-1;margin:0 12px 12px}}
@media(max-width:560px){#view-dashboard .home-shell{display:block}#view-dashboard .home-stage{min-height:450px}#view-dashboard .home-center{padding:0 10px 14px}#view-dashboard .home-stat-grid{grid-template-columns:repeat(2,1fr)}#view-dashboard #project-search-input{width:125px}}

/* Cover carousel and compact inspector; personal and studio share this layout. */
#view-dashboard .home-shell{grid-template-columns:155px minmax(0,1fr) 300px;min-height:600px;background:#111!important}
#view-dashboard .home-center{padding:0 12px;background:#111!important}
#view-dashboard .home-stage{min-height:500px;perspective:1200px}
#view-dashboard .home-stage:before,#view-dashboard .home-stage:after{content:none;position:absolute;pointer-events:none;left:0;right:0;bottom:auto;border-radius:0;filter:none}
/* Account for the selected card's z=60 projection in the 1200px perspective. */
#view-dashboard .home-stage.has-posters:before{content:"";z-index:-1;top:calc(50% + var(--home-poster-height,416px) / 1.9 - 52px);height:190px;background:url('home-floor-mist.svg') center top / 100% 100% no-repeat;opacity:.9}
#view-dashboard .home-stage.has-posters:after{content:"";z-index:0;top:calc(50% + var(--home-poster-height,416px) / 1.9 - 13px);height:102px;background:radial-gradient(ellipse 18% 9% at 50% 17%,#080808e6 15%,#08080888 55%,transparent 100%),radial-gradient(ellipse 22% 16% at 30% 12%,#dbc89830,transparent 100%),radial-gradient(ellipse 25% 18% at 73% 16%,#dbc89828,transparent 100%),radial-gradient(ellipse 43% 25% at 50% 4%,#e7d4a31f,transparent 100%)}
#view-dashboard .home-stage .home-poster{box-shadow:0 25px 45px #0009;filter:none}
#view-dashboard .home-baked-reflection{position:absolute;left:50%;top:calc(50% + var(--home-poster-height,416px) / 2 + 2px);width:var(--home-poster-width,242px);height:calc(var(--home-poster-height,416px) * .22);margin-left:calc(var(--home-poster-width,242px) / -2);transform-origin:center calc(var(--home-poster-height,416px) / -2 - 2px);pointer-events:none;z-index:1;object-fit:fill;border:0;filter:none}
#view-dashboard .home-poster-shade,#view-dashboard .home-poster-edge-light{position:absolute;inset:0;pointer-events:none;border-radius:inherit;z-index:3;will-change:opacity}
#view-dashboard .home-poster-shade{background:#000}
#view-dashboard .home-poster-edge-light{border:1px solid #d6b373;box-shadow:inset 0 0 16px #d6b37355;opacity:0}
#view-dashboard .home-poster{width:var(--home-poster-width,242px);height:var(--home-poster-height,416px);margin:calc(var(--home-poster-height,416px) / -2) 0 0 calc(var(--home-poster-width,242px) / -2);border-radius:10px;background:#202020}
#view-dashboard .home-poster .home-poster-copy{padding:48px 38px 16px 14px;background:linear-gradient(transparent,#121212ee 55%,#121212);font-size:15px;font-weight:600}
#view-dashboard .home-poster small{color:#aaa;font-size:10px;font-weight:400}
#view-dashboard .home-poster[aria-pressed=true] .home-poster-copy{color:#f4eee1}
#view-dashboard .home-poster .home-poster-more{border:0;background:transparent;bottom:28px;color:#ddd}
#view-dashboard .home-controls{margin:0 0 24px;gap:38px}
#view-dashboard .home-inspector{display:flex;flex-direction:column;align-self:stretch;margin:0;padding:24px 18px 24px 14px;border:0;border-radius:0;background:#111!important;min-height:0}
#view-dashboard .home-poster-more[hidden],#view-dashboard .home-recent-more[hidden]{display:none!important}
#view-dashboard .home-studio-empty h3{font-size:20px;color:#ddd;margin:0 0 12px}
#view-dashboard .home-studio-empty p{color:#999;margin-bottom:20px}
#view-dashboard .home-studio-empty-actions{display:flex;justify-content:center;gap:12px}
#view-dashboard .home-studio-empty-actions button{background:#292929;border:0;padding:10px 18px}
#view-dashboard .home-inspector>.home-label:first-child{margin:0 0 14px;padding-bottom:10px;color:#aaa}
#view-dashboard .home-inspector h2{font-size:16px;line-height:1.4;margin-bottom:12px}
#view-dashboard .home-path{font-size:10px;color:#888;margin-bottom:4px}
#view-dashboard .home-path:empty{display:none}
#view-dashboard .home-lock{margin:12px 0 18px;font-size:11px}
#view-dashboard .home-inspector .home-styles{margin-bottom:16px}
#view-dashboard .home-inspector .home-styles button{background:#292929;color:#ddd}
#view-dashboard .home-team[hidden]{display:none!important}
#view-dashboard .home-team{padding:12px 0;margin-bottom:8px}
#view-dashboard .home-inspector .home-statistics{margin-top:auto;padding:16px 0 12px;background:transparent!important}
#view-dashboard .home-inspector .home-statistics>.home-label{font-size:11px;margin:0 0 10px}
#view-dashboard .home-inspector .home-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
#view-dashboard .home-inspector .home-stat{min-height:66px;padding:9px 4px;gap:5px;border:0;border-radius:6px;background:#292929!important}
#view-dashboard .home-inspector .home-stat strong{font-size:19px;color:#e5dfd2}
#view-dashboard .home-inspector .home-stat-name{font-size:10px;color:#999}
#view-dashboard .home-inspector .home-stat-icon{display:none}
#view-dashboard .home-inspector>.home-open:last-child{flex-shrink:0;height:36px;margin-top:8px;border:0;border-radius:7px;background:#d4b779;color:#201b12;font-size:12px;font-weight:600}
@media(min-width:881px){#view-dashboard .home-shell{height:max(600px,100vh);height:max(600px,100dvh)}#view-dashboard .home-inspector{margin-top:64px;overflow-y:auto;scrollbar-width:thin}}
@media(max-width:880px){#view-dashboard .home-shell{grid-template-columns:130px minmax(0,1fr)}#view-dashboard .home-inspector{grid-column:1/-1;margin:0}#view-dashboard .home-inspector .home-statistics{margin-top:12px}}
@media(max-width:560px){#view-dashboard .home-shell{display:block}#view-dashboard .home-stage{min-height:440px}}

/* Project-level visual style picker. Shared by personal and studio home. */
#view-dashboard .home-styles{display:block;max-height:none;overflow:visible;margin-bottom:18px}
#view-dashboard .home-styles .home-style-trigger{display:flex;align-items:center;justify-content:flex-start;width:100%;min-height:54px;padding:6px 10px;border:0;border-radius:10px;background:#202020;color:#e5e1d8;text-align:left;cursor:pointer}
#view-dashboard .home-styles .home-style-trigger:hover{background:#292929;color:#f0d19a}
#view-dashboard .home-styles .home-style-trigger:disabled{opacity:.45;cursor:not-allowed}
#view-dashboard .home-style-trigger-copy{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
#view-dashboard .home-style-trigger-thumb{flex:none;width:42px;height:42px;margin-right:10px;border-radius:7px;object-fit:cover}
#view-dashboard .home-style-trigger-arrow{flex:none;margin-left:auto;color:#d6ae67;font-size:22px;line-height:1}

#view-dashboard .home-inspector>.home-style-label-bottom{margin-top:auto}
#view-dashboard .home-inspector>.home-styles-expanded+.home-statistics{margin-top:0}
#view-dashboard .home-styles.home-styles-expanded{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;flex-shrink:0}
#view-dashboard .home-styles-expanded .home-style-card{display:flex;flex-direction:column;align-items:stretch;min-width:0;min-height:0;padding:0;overflow:hidden;border:0;outline:none;box-shadow:none;border-radius:8px;background:#202020;color:#ddd;cursor:pointer;transition:background .15s,color .15s,transform .15s}
#view-dashboard .home-styles-expanded .home-style-card:hover{background:#303030;transform:translateY(-2px)}
#view-dashboard .home-styles-expanded .home-style-card:active{transform:scale(.97)}
#view-dashboard .home-styles-expanded .home-style-card[aria-pressed=true]{background:#413725;color:#f0d7a3}
#view-dashboard .home-styles-expanded .home-style-card[aria-pressed=true]:after{display:none}
#view-dashboard .home-style-card-thumb{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
#view-dashboard .home-style-card-name{padding:8px 3px;font-size:11px;text-align:center}
#view-dashboard .home-styles-expanded .home-style-trigger{grid-column:1/-1;min-height:36px;outline:none;box-shadow:none}
#view-dashboard .home-styles-expanded button:focus-visible{outline:2px solid #d4b779;outline-offset:2px}
#view-dashboard .home-styles-expanded .home-style-card:disabled{opacity:.45;cursor:not-allowed;transform:none}
