
#home-view .home-entry-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 auto 36px;}
.home-entry{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;min-height:120px;padding:16px clamp(18px,1.9vw,34px);overflow:hidden;border:1px solid #ffffff1c;border-radius:28px;background:radial-gradient(ellipse at 0 0,#ffffff08,transparent 62%),radial-gradient(ellipse at 100% 100%,#ffffff07,transparent 54%),#0f1016;box-shadow:inset 0 1px 0 #ffffff03;color:#f5f5f7;text-align:left;cursor:pointer;transition:border-color .25s,background-color .25s,transform .25s;}
.home-entry-copy{position:relative;z-index:1;flex:1 0 auto;}
.home-entry-copy strong{display:block;font-size:clamp(20px,1.4vw,24px);font-weight:750;letter-spacing:.015em;line-height:1.35;white-space:nowrap;}
.home-entry-copy>span{display:block;margin-top:8px;color:#a3a3ad;font-size:clamp(11px,.8vw,13px);line-height:1.5;white-space:nowrap;}
.home-entry-art{display:block;flex:0 1 47%;width:47%;min-width:0;max-width:190px;height:auto;max-height:86px;object-fit:contain;opacity:.88;transition:transform .35s,opacity .35s;pointer-events:none;}
.home-entry:focus-visible{outline:2px solid #baacff;outline-offset:4px;}

.home-entry--ai .home-entry-copy{flex:1 1 auto;min-width:0;}
.home-entry--ai .home-entry-copy>span{white-space:normal;max-width:18em;text-wrap:pretty;}
.home-entry--ai .home-ai-capability{white-space:nowrap;}
.home-entry--ai .home-entry-art{flex-basis:32%;width:32%;}
.home-entry[aria-busy="true"]{cursor:progress;opacity:.7;}
@media(hover:hover){.home-entry:hover{border-color:#ffffff36;background-color:#15151d;transform:translateY(-3px);}.home-entry:hover .home-entry-art{transform:translateY(-2px) scale(1.035);opacity:1;}}
@media(max-width:1179px){#home-view .home-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.home-entry{padding:16px 24px;}.home-entry-copy strong{font-size:22px;}.home-entry-copy>span{font-size:12px;}.home-entry-art{max-width:165px;}}
@media(max-width:639px){#home-view .home-entry-grid{grid-template-columns:1fr;gap:12px;margin-bottom:28px;}.home-entry{min-height:104px;padding:12px 24px;border-radius:24px;}.home-entry-copy strong{font-size:21px;}.home-entry-art{width:43%;flex-basis:43%;max-width:150px;max-height:78px;}.home-entry-copy>span{font-size:12px;}}
@media(max-width:359px){.home-entry{padding:12px 18px;gap:4px;}.home-entry-copy strong{font-size:20px;}.home-entry-copy>span{font-size:11px;}}
body.home #asset-library-mask{z-index:220;}
body.home #preview-mask{z-index:240!important;}

#asset-library-items{grid-auto-rows:max-content;align-content:start;}


.home-records{box-sizing:border-box;width:min(880px,calc(100vw - 40px));max-height:min(780px,calc(100dvh - 64px));padding:0;border:1px solid #ffffff20;border-radius:24px;background:#111219;color:#f5f5f7;box-shadow:0 30px 100px #0009;color-scheme:dark;}
.home-records:not([open]){display:none;}.home-records[open]{display:flex;flex-direction:column;}
.home-records::backdrop{background:#03040abe;backdrop-filter:blur(8px);}
.home-records-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:28px 28px 20px;}
.home-records-head h2{margin:0;font-size:23px;line-height:1.4;}.home-records-head p{margin:7px 0 0;font-size:12px;color:#9899a6;}
.home-records-head>button{flex:0 0 auto;width:34px;height:34px;border:1px solid #ffffff12;border-radius:10px;color:#aeafbb;background:#ffffff05;}
.home-records-tools{display:flex;gap:10px;padding:0 28px;}
.home-records-tools input{min-width:0;flex:1;height:40px;padding:0 13px;border:1px solid #ffffff1a;border-radius:10px;background:#090a10;color:#e8e8ef;font-size:13px;}
.home-records-tools>button{padding:0 16px;border:1px solid #ffffff1a;border-radius:10px;background:#ffffff05;color:#c7c3d9;font-size:12px;}.home-records button:disabled{opacity:.5;cursor:wait;}
.home-records-status{flex-shrink:0;margin:12px 28px 0;font-size:12px;line-height:1.6;color:#b5adc9;}.home-records-status:empty{display:none;}
.home-records-list{overflow-y:auto;overscroll-behavior:contain;min-height:140px;padding:20px 28px 28px;scrollbar-width:thin;}
.home-record-project{margin-bottom:10px;border:1px solid #ffffff12;border-radius:14px;background:#ffffff02;overflow:hidden;}.home-record-project:last-child{margin-bottom:0;}
.home-record-project>summary{display:flex;align-items:center;gap:14px;min-height:80px;padding:16px;cursor:pointer;list-style:none;}.home-record-project>summary::-webkit-details-marker{display:none;}.home-record-project>summary::after{content:'⌄';margin-left:auto;color:#8c879e;font-size:18px;}.home-record-project[open]>summary::after{transform:rotate(180deg);}
.home-record-folder{position:relative;display:block;flex:0 0 40px;height:30px;border:1px solid #a493d759;border-radius:5px;background:linear-gradient(140deg,#5d4e8655,#2b233f55);}.home-record-folder::before{content:'';position:absolute;top:-5px;left:3px;width:17px;height:4px;border:1px solid #a493d759;border-bottom:0;border-radius:3px 3px 0 0;background:#373044;}
.home-record-info{min-width:0;display:flex;flex-direction:column;gap:6px;}.home-record-info strong{font-size:14px;font-weight:600;overflow-wrap:anywhere;}.home-record-info span{color:#9693a4;font-size:11px;}
.home-record-canvases{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 16px 16px;}
.home-record-canvas{display:flex;align-items:center;gap:10px;min-width:0;padding:12px;border:1px solid #ffffff0d;border-radius:10px;background:#0a0b11;text-align:left;color:#ebebf4;}
.home-record-canvas::before{content:'▧';color:#9d90c5;font-size:22px;}.home-record-canvas .home-record-info{flex:1;}.home-record-canvas .home-record-info strong{font-size:12px;}.home-record-canvas>span:last-child:not(.home-record-info){flex:0 0 auto;color:#aaa3bd;font-size:11px;}
.home-record-empty{margin:0;padding:28px 12px;text-align:center;color:#9593a2;font-size:13px;line-height:1.8;}.home-record-canvases>.home-record-empty{grid-column:1/-1;padding:10px;}
.home-records button:focus-visible,.home-records summary:focus-visible,.home-records input:focus-visible{outline:2px solid #ae9bdf;outline-offset:2px;}.home-records button:hover:not(:disabled),.home-record-project>summary:hover{background-color:#ffffff07;}
@media(max-width:639px){.home-records{width:calc(100vw - 24px);max-height:calc(100dvh - 32px);border-radius:18px;}.home-records-head{padding:22px 18px 18px;}.home-records-tools{padding:0 18px;}.home-records-status{margin:12px 18px 0;}.home-records-list{padding:16px 18px 20px;}.home-record-canvases{grid-template-columns:1fr;padding:0 10px 10px;}.home-record-project>summary{padding:14px 12px;}.home-record-folder{flex-basis:32px;height:25px;}}
@media(prefers-reduced-motion:reduce){.home-entry,.home-entry-art{transition:none;}.home-entry:hover,.home-entry:hover .home-entry-art{transform:none;}}
@media(forced-colors:active){.home-entry{border-color:ButtonText;background:Canvas;}.home-entry-copy>span{color:CanvasText;}.home-record-project,.home-record-canvas{border-color:ButtonText;}.home-record-folder{border-color:CanvasText;}}
