/* Reference-sized homepage. Content artwork is supplied by the administrator. */
:root:not(.hope-phone){--sidebar:240px;--banner:43px}
html:not(.hope-phone) body{--home-surface:#f7f8fa;--home-panel:#fff;--home-line:#e8e8eb;--home-text:#161616;--home-muted:#929499;--home-tile:#e8e8e8;--home-width:2028px;background:var(--home-surface)}
html:not(.hope-phone)[data-hope-theme=dark] body{--home-surface:#111;--home-panel:#171717;--home-line:#292929;--home-text:#f4f4f4;--home-muted:#777b80;--home-tile:#2b2b2b}
html:not(.hope-phone) main{background:var(--home-surface)}
html:not(.hope-phone) .announcement{font-size:12px}
html:not(.hope-phone) .sidebar{padding:20px 12px 12px;border-color:var(--home-line);background:var(--home-panel)}
html:not(.hope-phone) .sidebar .brand-row{flex:none;padding:0 8px 18px;margin:0}
html:not(.hope-phone) .sidebar .brand{gap:8px;font-size:20px;line-height:32px}
html:not(.hope-phone) .sidebar .brand-mark{width:32px;height:32px}
html:not(.hope-phone) .sidebar .brand em{font-size:14px;margin-left:3px}
html:not(.hope-phone) .sidebar .nav-item{height:32px;min-height:32px;padding:6px 10px;font-size:14px;line-height:20px;gap:10px;border-radius:7px;color:var(--home-text)}
html:not(.hope-phone) .sidebar .nav-item svg{width:20px;height:20px}
html:not(.hope-phone) .sidebar :is(.sidebar-primary,.sidebar-codex,.sidebar-secondary){gap:4px}
html:not(.hope-phone) .sidebar .sidebar-codex{padding-top:12px;margin-top:12px;border-color:var(--home-line)}
html:not(.hope-phone)[data-hope-theme=dark] .sidebar .nav-item:is(.selected,:hover){background:#292929}
html:not(.hope-phone):not([data-hope-theme=dark]) .sidebar .nav-item:hover{background:#eee}
html:not(.hope-phone):not([data-hope-theme=dark]) .sidebar .nav-item.selected{background:#dedede;color:#292929}
html:not(.hope-phone) .sidebar .hope-theme-row{padding:12px 10px 2px;font-size:14px}
html:not(.hope-phone) .sidebar .hope-theme-row>svg{width:20px;height:20px}
html:not(.hope-phone) .sidebar .liquid-storage{font-size:12px}
html:not(.hope-phone) .hope-home-main>.top-actions{top:calc(var(--banner) + 20px)}

html:not(.hope-phone) .hero{position:relative;width:min(1200px,calc(100% - 80px));max-width:none;margin:0 auto;padding-top:80px;text-align:center}
html:not(.hope-phone) .hero-glow{left:12%;right:12%;height:220px;opacity:.65}
html:not(.hope-phone) .hero h1{margin:0 0 17px;font-size:30px;line-height:45px;letter-spacing:0;font-weight:650;color:var(--home-text)}
html:not(.hope-phone) .mode-switch{width:384px;max-width:100%;height:40px;margin:0 auto 36px;padding:3px;border:0;border-radius:24px;background:#e6e7e8;box-shadow:none}
html:not(.hope-phone)[data-hope-theme=dark] .mode-switch{background:#404040}
html:not(.hope-phone) .mode-switch button{font-size:13px;color:var(--home-text)}
html:not(.hope-phone) .mode-switch button.active{background:#111;color:#fff;box-shadow:none}
html:not(.hope-phone)[data-hope-theme=dark] .mode-switch button.active{background:radial-gradient(ellipse at 80% 65%,#b9effd,transparent 62%),radial-gradient(ellipse at 24% 50%,#ffe1c5,transparent 63%),#fafafa;color:#252b36;box-shadow:0 0 8px #ffffff16}
/* Restore the previous single, full-width creation tile. */
html:not(.hope-phone) .creation-grid{width:min(810px,100%);height:137px;display:block;margin:0 auto}
html:not(.hope-phone) .new-canvas{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;width:100%;height:100%;padding:20px;overflow:hidden;border:1px solid var(--home-line);border-radius:18px;background:var(--home-panel);background-image:none;box-shadow:inset 0 1px 0 #ffffff04;transition:border-color .2s,box-shadow .2s}
html:not(.hope-phone) .new-canvas::before{content:'';position:absolute;inset:0;z-index:-1;opacity:0;background:radial-gradient(310px circle at var(--pointer-x,50%) var(--pointer-y,0%),#8da4ff30,transparent 67%),radial-gradient(170px circle at calc(var(--pointer-x,50%) + 45px) var(--pointer-y,0%),#e5b9ed1a,transparent 75%);transition:opacity .25s;pointer-events:none}
html:not(.hope-phone) .new-canvas::after{content:'';position:absolute;inset:0;z-index:1;opacity:0;pointer-events:none;border:1px solid transparent;border-radius:inherit;background:radial-gradient(200px circle at var(--pointer-x,50%) var(--pointer-y,0%),#b9c6ffba,transparent 75%) border-box;mask:linear-gradient(#fff 0 0) padding-box,linear-gradient(#fff 0 0);mask-composite:exclude;transition:opacity .25s}
html:not(.hope-phone) .new-canvas:hover::before,html:not(.hope-phone) .new-canvas:hover::after,html:not(.hope-phone) .new-canvas:focus-visible::before{opacity:1}
html:not(.hope-phone) .new-canvas:hover{border-color:#7185bf66;box-shadow:0 5px 30px #607cf508;transform:none}
html:not(.hope-phone) .new-canvas .new-icon{width:27px;height:27px;display:grid;place-items:center;border:1px solid var(--home-line);border-radius:8px;background:transparent;color:#7189e6;margin:0}
html:not(.hope-phone) .new-canvas .new-icon svg{width:16px;height:16px}
html:not(.hope-phone) .new-canvas strong{color:var(--home-text);font-size:11px;font-weight:500;margin:0}
html:not(.hope-phone) .recent-project-cover>.project-placeholder svg{width:24px;height:24px;color:#8b8b8b;stroke-width:1.6}
@media(min-width:1051px){
  html:not(.hope-phone) .creation-grid{--create-unit:clamp(.84px,min(.092dvh,.065vw),1.65px);width:min(calc(810 * var(--create-unit)),100%);height:calc(137 * var(--create-unit))}
  html:not(.hope-phone) .new-canvas{border-radius:calc(18 * var(--create-unit));gap:calc(9 * var(--create-unit))}
  html:not(.hope-phone) .new-canvas .new-icon{width:calc(27 * var(--create-unit));height:calc(27 * var(--create-unit));border-radius:calc(8 * var(--create-unit))}
  html:not(.hope-phone) .new-canvas .new-icon svg{width:calc(16 * var(--create-unit));height:calc(16 * var(--create-unit))}
  html:not(.hope-phone) .new-canvas strong{font-size:calc(11 * var(--create-unit))}
}

/* Retain the working, expandable AI composer, styled like the reference. */
.home-idea{width:min(1000px,100%);margin:32px auto 0;text-align:left;position:relative}
.home-idea-card{position:relative;width:100%;margin:auto;border:1px solid var(--home-line);border-radius:20px;background:var(--home-panel);transition:border-color .18s}
html[data-hope-theme=dark] .home-idea-card{background:linear-gradient(180deg,#191919,#222)}
.home-idea-card:focus-within,.home-idea-card:has(.home-idea-trigger:hover){border-color:#93969e}
.home-idea-trigger{position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:0 15px;border:0;border-radius:inherit;background:transparent;color:var(--home-muted);text-align:left;font:inherit;font-size:14px;cursor:text}
html[data-hope-theme] .home-idea-trigger{color:var(--home-muted)!important}
.home-idea-arrow{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:50%;background:color-mix(in srgb,var(--home-text) 10%,transparent)}
.home-idea-arrow svg{width:17px;height:17px}
.home-idea [hidden]{display:none!important}
.home-idea-editor{display:grid;grid-template-rows:minmax(68px,0fr);transition:grid-template-rows .2s cubic-bezier(.2,.75,.25,1)}
.home-idea[data-expanded=true] .home-idea-editor{grid-template-rows:minmax(68px,1fr)}
.home-idea-stage{position:relative;min-height:0}
.home-idea[data-expanded=true] .home-idea-stage{animation:home-idea-unfold .2s cubic-bezier(.2,.75,.25,1)}
.home-idea:not([data-expanded=true]) .home-idea-stage{overflow:clip;visibility:hidden}
@keyframes home-idea-unfold{0%,99%{overflow:clip}100%{overflow:visible}}
.home-idea-editor #adminChatSection{z-index:2}
.home-idea-editor :is([data-chat-loading],.home-feature-notice){display:none!important}
.home-idea-mount:not(:has(#adminChatSection[data-chat-ready=true])){position:absolute;inset:0;visibility:hidden;pointer-events:none}
.home-idea-mount:has(#adminChatSection[data-chat-ready=true])+.home-idea-preview{display:none}
.home-idea-preview{color:var(--home-text)}
#homeIdeaDraftInput{display:block;width:100%;height:96px;resize:none;padding:16px 20px 12px;border:0!important;border-radius:20px 20px 0 0;background:transparent!important;color:inherit;outline:none;font:inherit;font-size:16px;line-height:28px}
html[data-hope-theme] #homeIdeaDraftInput::placeholder{color:var(--home-muted)!important}
.home-idea-preview-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:61px;padding:10px 14px;border-top:1px solid var(--home-line);color:var(--home-muted);opacity:0;transition:opacity .14s ease-out}
.home-idea[data-expanded=true] .home-idea-preview-footer{opacity:1}
.home-idea-preview-footer>.home-idea-arrow{margin-left:auto;opacity:.55}
.home-idea-preview-tools{display:flex;align-items:center;gap:6px;opacity:.65;font-size:12px;pointer-events:none}
.home-idea-preview-tools span{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid var(--home-line);border-radius:8px;white-space:nowrap}
.home-idea-preview-tools svg{width:14px;height:14px}
.home-idea-preview-footer:has(.home-idea-retry:not([hidden])) .home-idea-preview-tools{display:none}
.home-idea-retry{color:inherit;font-size:12px;padding:5px 9px;border:1px solid var(--home-line);border-radius:8px;background:transparent}

/* One large carousel followed by a horizontally scrollable, two-row card rail. */
.home-showcase{position:relative;display:flex;gap:24px;width:calc(100% - 80px);max-width:2028px;height:220px;margin:48px auto 0;color:var(--home-text)}
.home-showcase.is-disabled:not(.can-manage),.home-showcase[data-empty=true]:not(.can-manage){display:none}
.home-showcase.is-disabled.can-manage{opacity:.5}
.home-showcase.is-disabled.can-manage::after{content:'展示区已关闭，仅管理员可见';position:absolute;left:0;top:-26px;font-size:12px;color:var(--home-muted)}
.home-showcase-manage{position:absolute;right:0;top:-32px;display:inline-flex;align-items:center;gap:6px;padding:3px 7px;border-radius:6px;color:var(--home-muted);font-size:12px}
.home-showcase-manage svg{width:14px;height:14px}
.home-showcase-manage:hover{background:var(--home-panel);color:var(--home-text)}
.showcase-carousel{position:relative;flex:0 0 clamp(280px,19.33%,392px);height:220px;min-width:0;border-radius:16px;overflow:hidden;background:var(--home-panel);isolation:isolate}
.showcase-slides,.showcase-slide,.showcase-slide-link{width:100%;height:100%}
/* Neutral cards stay solid and distinct from the page; only chosen colors get a gradient. */
:is(.showcase-feature-card,.showcase-item-preview.is-card){--showcase-color:var(--home-panel);background:var(--showcase-color)}
:is(.showcase-feature-card,.showcase-item-preview.is-card):not([data-tone]),:is(.showcase-feature-card,.showcase-item-preview.is-card)[data-tone=neutral]{box-shadow:inset 0 0 0 1px var(--home-line)}
:is(.showcase-feature-card,.showcase-item-preview.is-card)[data-tone=blue],:is(.showcase-feature-card,.showcase-item-preview.is-card)[data-tone=teal]{--showcase-gradient:linear-gradient(90deg,color-mix(in srgb,var(--showcase-color) 97%,#fff) 0%,color-mix(in srgb,var(--showcase-color) 97%,#000) 100%);background-image:var(--showcase-gradient)}
:is(.showcase-feature-card,.showcase-item-preview.is-card)[data-tone=blue]{--showcase-color:#d8effc}
:is(.showcase-feature-card,.showcase-item-preview.is-card)[data-tone=teal]{--showcase-color:#d8f3f6}
html[data-hope-theme=dark] :is(.showcase-feature-card,.showcase-item-preview.is-card)[data-tone=blue]{--showcase-color:#102835}
html[data-hope-theme=dark] :is(.showcase-feature-card,.showcase-item-preview.is-card)[data-tone=teal]{--showcase-color:#103034}
.showcase-slide-link{position:relative;display:block;background:var(--home-panel);color:#fff}
.showcase-slide-link:not(.is-placeholder)::after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#0008);pointer-events:none}
.showcase-slide-link>img{display:block;width:100%;height:100%;object-fit:cover}
.showcase-art-placeholder{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(135deg,#9ca3af0a,#9ca3af18);color:var(--home-muted);pointer-events:none}
.showcase-feature-art .showcase-art-placeholder,.is-card .showcase-art-placeholder{background:none}
.showcase-art-placeholder svg{width:32px;height:32px;opacity:.35;stroke-width:1.1}
.has-art>.showcase-art-placeholder{display:none}
.showcase-slide-copy{position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;justify-content:flex-end;padding:20px 24px;pointer-events:none}
.showcase-slide-copy h2{margin:0;font-size:22px;font-weight:600;line-height:1.25;white-space:pre-wrap;overflow-wrap:anywhere}
.showcase-slide-copy h2:empty{display:none}
.showcase-slide-copy p{margin:5px 0 0;font-size:12px;line-height:1.5;opacity:.7}
.showcase-slide-badge{position:absolute;top:18px;left:20px;padding:4px 10px;border-radius:5px;background:#ffffff30;backdrop-filter:blur(6px);font-size:11px;color:#fff}
.showcase-slide-link.is-placeholder{color:var(--home-muted)}
.showcase-slide-link.is-placeholder h2{font-size:16px;font-weight:450;opacity:.65}
.showcase-slide-link:not(.has-art)::after{display:none}
.showcase-slide:not([hidden]){animation:showcase-slide-in .3s ease-out}
@keyframes showcase-slide-in{from{opacity:.4}to{opacity:1}}
.showcase-dots{position:absolute;right:18px;bottom:18px;z-index:3;display:flex;gap:4px}
.showcase-dots button{width:6px;height:6px;padding:0;border-radius:2px;background:#a0a0a0;box-shadow:0 0 1px #0008}
.showcase-dots button[aria-pressed=true]{background:#fff}
.showcase-feature-rail{position:relative;flex:1;min-width:0;height:220px}
.showcase-feature-track{display:grid;grid-template-rows:repeat(2,105px);grid-auto-flow:column;grid-auto-columns:362px;gap:10px;height:220px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain;scroll-snap-type:x proximity;border-radius:16px}
.showcase-feature-track::-webkit-scrollbar{display:none}
.showcase-feature-rail.can-scroll::after{content:'';position:absolute;inset:0 0 0 auto;width:36px;pointer-events:none;background:linear-gradient(90deg,transparent,var(--home-surface))}
.showcase-feature-card{display:flex;align-items:center;min-width:0;gap:16px;padding:5px;background:var(--showcase-color);border-radius:16px;scroll-snap-align:start;overflow:hidden;color:var(--home-text);transition:filter .15s}
a.showcase-feature-card:hover{filter:brightness(.96)}
html[data-hope-theme=dark] a.showcase-feature-card:hover{filter:brightness(1.18)}
.showcase-feature-art{position:relative;flex:0 0 172px;height:95px;border-radius:12px;overflow:hidden;background:#99999910}
.showcase-feature-art>img{display:block;width:100%;height:100%;object-fit:cover}
.showcase-feature-art .showcase-art-placeholder svg{width:25px;height:25px}
.showcase-feature-copy{min-width:0;padding-right:8px}
.showcase-feature-title{display:flex;align-items:center;gap:5px;min-width:0}
.showcase-feature-title h3{margin:0;font-size:14px;line-height:22px;font-weight:450;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.showcase-feature-badge{flex:none;max-width:48px;padding:1px 3px;border-radius:3px;background:#00a5e51c;color:#009ce2;font-size:9px;line-height:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.showcase-feature-copy p{margin:5px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:18px;color:var(--home-muted)}
.showcase-rail-arrow{position:absolute;top:calc(50% - 15px);z-index:2;display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--home-line);border-radius:50%;background:var(--home-panel);color:var(--home-text);opacity:0}
.showcase-rail-arrow svg{width:15px;height:15px}
.showcase-rail-arrow:first-of-type{left:4px}.showcase-rail-arrow:last-of-type{right:4px}
.showcase-feature-rail.can-scroll:is(:hover,:focus-within) .showcase-rail-arrow:not(:disabled){opacity:1}
.showcase-rail-arrow:disabled{display:none}
.home-showcase.without-carousel .showcase-feature-track{grid-auto-columns:362px}

/* The only lower category is the user's real, account-scoped local projects. */
html:not(.hope-phone) .recent-section{width:calc(100% - 80px);max-width:2028px;margin:40px auto 0;padding:0 0 64px}
.home-projects-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:36px;margin:0 0 32px}
.home-projects-toolbar h2{display:flex;align-items:center;min-height:36px;margin:0;padding:0 16px;border-radius:22px;background:#eeeff0;font-size:14px;line-height:20px;font-weight:500;color:var(--home-text)}
html[data-hope-theme=dark] .home-projects-toolbar h2{background:#1c1c1c}
html:not(.hope-phone) .project-search{display:flex;align-items:center;gap:8px;width:312px;height:36px;margin:0;padding:0 12px;border:1px solid var(--home-line);border-radius:8px;background:transparent;box-shadow:none}
html:not(.hope-phone) .project-search input{font-size:13px;color:var(--home-text)}
html:not(.hope-phone) .project-search input::placeholder{color:var(--home-muted)}
html:not(.hope-phone) .project-search svg{order:0;width:15px;height:15px;color:var(--home-muted)}
html:not(.hope-phone) .recent-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
html:not(.hope-phone) .recent-project{display:block;width:100%;height:100%;border:0;border-radius:14px;background:var(--home-panel);box-shadow:none;overflow:hidden;text-align:left}
html:not(.hope-phone) .recent-project:hover{transform:none;background:var(--home-panel);box-shadow:0 3px 16px #00000010}
html:not(.hope-phone) .recent-project-shell>.project-delete{z-index:3}
html:not(.hope-phone) .recent-project-cover{position:relative;aspect-ratio:16/9;border:0;border-radius:0;background:var(--home-tile)}
html:not(.hope-phone) .recent-project-cover img{transition:transform .3s}
html:not(.hope-phone) .recent-project:hover .recent-project-cover img{transform:scale(1.035)}
html:not(.hope-phone) .recent-project-info{position:relative;padding:14px 16px;background:transparent}
html:not(.hope-phone) .recent-project-info h3{font-size:14px;line-height:22px;font-weight:450;margin:0 0 7px;color:var(--home-text)}
html:not(.hope-phone) .recent-project-info p{font-size:12px;line-height:18px;color:var(--home-muted)}
html:not(.hope-phone) .projects-empty{background:transparent;border:1px dashed var(--home-line);border-radius:14px}
html.hope-phone :is(.home-showcase,.creation-grid,.home-idea){display:none!important}

/* Administrator editor, isolated from the public homepage controls. */
.showcase-editor-dialog{--se-bg:#fff;--se-line:#e6e7eb;--se-input:#f8f8fa;--se-text:#25262c;--se-muted:#85888e;--home-panel:#f3f4f6;--home-muted:#85888e;width:1040px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 40px);margin:auto;padding:0;border:1px solid var(--se-line);border-radius:20px;background:var(--se-bg);color:var(--se-text);box-shadow:0 24px 100px #0004;overflow:hidden;font-size:13px;line-height:1.5}
html[data-hope-theme=dark] .showcase-editor-dialog{--se-bg:#202020;--se-line:#373737;--se-input:#282828;--se-text:#eee;--se-muted:#aaa;--home-panel:#282828;--home-muted:#999}
.showcase-editor-dialog::backdrop{background:#0008;backdrop-filter:blur(7px)}
.showcase-editor-dialog form{display:flex;flex-direction:column;max-height:calc(100dvh - 42px)}
.showcase-editor-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 28px 18px;border-bottom:1px solid var(--se-line);flex:none}
.showcase-editor-heading>div>span{font-size:10px;letter-spacing:.15em;color:var(--se-muted)}
.showcase-editor-heading h2{margin:5px 0;font-size:22px;font-weight:550}
.showcase-editor-heading p{margin:0;color:var(--se-muted);font-size:12px}
#showcaseEditorClose{display:grid;place-items:center;width:30px;height:30px;font-size:25px;line-height:1;border-radius:7px}
#showcaseEditorClose:hover{background:var(--se-input)}
.showcase-editor-scroll{min-height:0;overflow:auto;scrollbar-width:thin}
#showcaseEditorBody{min-width:0;margin:0;padding:20px 28px 24px;border:0}
.showcase-editor-settings{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-bottom:20px;padding:12px 16px;border:1px solid var(--se-line);border-radius:10px;background:var(--se-input)}
.showcase-editor-settings label,.showcase-item-actions label,.showcase-style-fields label{display:flex;align-items:center;gap:7px;white-space:nowrap}
.showcase-editor-dialog input[type=checkbox]{accent-color:#7b84b4;width:15px;height:15px;margin:0}
.showcase-editor-dialog :is(input:not([type=checkbox]),select){box-sizing:border-box;width:100%;height:36px;margin:0;padding:7px 10px;border:1px solid var(--se-line);border-radius:7px;background:var(--se-input);color:var(--se-text);font:inherit;font-size:12px;outline:none}
.showcase-editor-dialog input:focus,.showcase-editor-dialog select:focus{border-color:#969ab0}
.showcase-editor-dialog input::placeholder{color:var(--se-muted)}
#showcaseInterval{width:64px}
.showcase-editor-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px}
.showcase-editor-list{min-width:0;padding-right:18px;border-right:1px solid var(--se-line)}
.showcase-editor-tabs{display:flex;gap:4px;padding:4px;border-radius:8px;background:var(--se-input)}
.showcase-editor-tabs button{flex:1;padding:7px 5px;border-radius:5px;font-size:12px}
.showcase-editor-tabs button[aria-pressed=true]{background:var(--se-bg);box-shadow:0 1px 4px #0001}
.showcase-list-heading{display:flex;align-items:center;justify-content:space-between;margin:14px 0 8px;font-size:12px;color:var(--se-muted)}
.showcase-list-heading button{padding:4px 8px;border:1px solid var(--se-line);border-radius:6px;color:var(--se-text)}
#showcaseItemList{max-height:430px;overflow:auto;scrollbar-width:thin}
.showcase-item-choice{display:flex;align-items:center;gap:8px;width:100%;padding:10px 8px;border-radius:7px;text-align:left}
.showcase-item-choice>span:nth-child(2){flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.showcase-item-choice small{color:var(--se-muted);font-size:10px;flex:none}
.showcase-item-choice[aria-pressed=true],.showcase-item-choice:hover{background:var(--se-input)}
.showcase-item-number{color:var(--se-muted);font-size:11px}
.showcase-editor-list>p,.showcase-field-help{font-size:11px;line-height:1.7;color:var(--se-muted);margin:8px 0 14px}
.showcase-item-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px;font-size:12px}
.showcase-item-actions>div{display:flex;gap:6px}
.showcase-item-actions button{padding:4px 8px;border:1px solid var(--se-line);border-radius:5px}
#showcaseRemove{color:#cc7180}
.showcase-item-preview{position:relative;display:flex;align-items:center;gap:16px;min-height:100px;border:1px solid var(--se-line);border-radius:12px;margin:0 0 18px;overflow:hidden;background:var(--se-input)}
.showcase-item-preview.is-slide{width:min(392px,100%);aspect-ratio:16/9;margin:0 auto 18px;background:var(--home-panel)}
.showcase-preview-art{position:relative;flex:none;width:42%;height:100px;overflow:hidden}
.showcase-preview-art img{display:block;width:100%;height:100%;object-fit:cover}
.is-slide .showcase-preview-art{position:absolute;inset:0;width:100%;height:100%}
.showcase-preview-copy{position:relative;z-index:1;min-width:0;padding:12px 16px 12px 0}
.is-slide .showcase-preview-copy{align-self:flex-end;width:100%;padding:20px;background:linear-gradient(transparent,#0008);color:#fff;text-shadow:0 1px 3px #0006}
.showcase-preview-copy strong{display:block;font-size:15px;overflow-wrap:anywhere}
.showcase-preview-copy small{font-size:10px;opacity:.7}
.showcase-preview-copy p{margin:4px 0 0;font-size:12px;opacity:.7;overflow-wrap:anywhere}
.showcase-editor-inspector{min-width:0}
#showcaseItemFields>label,.showcase-copy-fields label{display:block;margin:12px 0 6px;font-size:12px}
.showcase-image-input{display:flex;align-items:center;gap:6px}
.showcase-image-input input{min-width:0;flex:1}
.showcase-image-input button{flex:none;padding:8px 10px;border:1px solid var(--se-line);border-radius:7px;font-size:12px}
.showcase-copy-fields{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:14px}
.showcase-style-fields{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:16px;font-size:12px}
.showcase-style-fields select{width:auto}
.showcase-editor-footer{flex:none;display:flex;align-items:center;gap:10px;padding:16px 28px;border-top:1px solid var(--se-line);background:var(--se-bg)}
.showcase-editor-footer p{flex:1;margin:0;min-width:0;font-size:12px;line-height:1.7;color:var(--se-muted)}
.showcase-editor-footer p.is-error{color:#d78290}
.showcase-editor-footer button{flex:none;padding:9px 13px;border:1px solid var(--se-line);border-radius:8px;font-size:12px}
#showcaseEditorSave{background:#6876c7;border-color:#6876c7;color:#fff}
.showcase-editor-dialog button:disabled{opacity:.4;cursor:default}
.showcase-editor-dialog [hidden],.home-showcase [hidden]{display:none!important}
.showcase-editor-dialog :is(button,input,select):focus-visible,.home-showcase :is(button,a):focus-visible{outline:2px solid #959aaa;outline-offset:3px}
.showcase-settings-entry{margin:24px 0 0;padding-top:18px;border-top:1px solid var(--se-line,#8883)}
.showcase-settings-entry p{font-size:12px;line-height:1.8;opacity:.65}

@media(max-width:1800px){html:not(.hope-phone) .recent-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1200px){html:not(.hope-phone) .recent-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.showcase-feature-track{grid-auto-columns:320px}.showcase-feature-art{flex-basis:142px}.showcase-feature-card{gap:12px}}
@media(max-width:1050px){
  :root:not(.hope-phone){--sidebar:68px}
  html:not(.hope-phone) .sidebar{padding-left:10px;padding-right:10px}
  html:not(.hope-phone) .sidebar .brand-row{justify-content:center;padding:0 0 18px}
  html:not(.hope-phone) .sidebar :is(.brand>span,.collapse,.nav-item>span){display:none}
  html:not(.hope-phone) .sidebar .nav-item{justify-content:center;padding:6px}
  html:not(.hope-phone) .sidebar .hope-theme-row{padding-left:0;padding-right:0}
  html:not(.hope-phone) .sidebar .liquid-storage-label{font-size:9px;white-space:normal;overflow-wrap:anywhere;padding:0 2px}
  html:not(.hope-phone) .hero,html:not(.hope-phone) .recent-section,.home-showcase{width:calc(100% - 48px)}
  .home-showcase{gap:16px}.showcase-carousel{flex-basis:280px}
}
@media(max-width:760px){
  html:not(.hope-phone) .hero{padding-top:100px}
  html:not(.hope-phone) .hero h1{font-size:24px;line-height:36px}
  html:not(.hope-phone) .mode-switch{width:100%;height:38px;margin-bottom:32px}
  .home-idea{margin-top:24px}.home-idea-trigger{font-size:12px}.home-idea-trigger>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .home-showcase{height:auto;flex-direction:column;gap:14px;margin-top:40px}
  .showcase-carousel{flex:none;width:100%;height:auto;aspect-ratio:16/9}
  .showcase-feature-rail{flex:none;width:100%;height:186px}.showcase-feature-track{grid-template-rows:repeat(2,88px);grid-auto-columns:280px;height:186px}
  .showcase-feature-art{flex-basis:124px;height:78px}.showcase-feature-title h3{font-size:13px}.showcase-feature-copy p{font-size:11px}
  html:not(.hope-phone) .recent-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  html:not(.hope-phone) .recent-section{margin-top:32px}.home-projects-toolbar{gap:10px;margin-bottom:20px}
  .home-projects-toolbar h2{flex:none;font-size:12px;padding:0 10px}
  html:not(.hope-phone) .project-search{min-width:0;max-width:55%;height:34px;padding:0 8px}
  html:not(.hope-phone) .project-search input{font-size:11px}
  html:not(.hope-phone) .recent-project-info{padding:10px}.recent-project-info p{flex-wrap:wrap}
  html:not(.hope-phone) .recent-project-info h3{font-size:12px;line-height:18px}
  html:not(.hope-phone) .recent-project-info p{font-size:10px;line-height:16px}
  .showcase-editor-dialog{max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:14px}
  .showcase-editor-dialog form{max-height:calc(100dvh - 22px)}
  .showcase-editor-heading,#showcaseEditorBody,.showcase-editor-footer{padding-left:16px;padding-right:16px}
  .showcase-editor-layout{grid-template-columns:1fr;gap:16px}.showcase-editor-list{border-right:0;border-bottom:1px solid var(--se-line);padding-right:0;padding-bottom:10px}
  #showcaseItemList{max-height:150px}.showcase-editor-list>p{display:none}.showcase-editor-settings{gap:14px}
  .showcase-editor-footer{flex-wrap:wrap}.showcase-editor-footer p{flex:1 0 100%}
  .showcase-image-input{flex-wrap:wrap}.showcase-image-input input{flex-basis:100%}
}
@media(prefers-reduced-motion:reduce){.showcase-slide:not([hidden]),.home-idea[data-expanded=true] .home-idea-stage{animation:none}.home-idea-card,.home-idea-editor,.home-idea-preview-footer,.showcase-feature-card,html:not(.hope-phone) .new-canvas,html:not(.hope-phone) .new-canvas::before,html:not(.hope-phone) .new-canvas::after{transition:none}}
