.hm{background:var(--bg-canvas);height:100dvh;color:var(--fg-default);font:var(--text-xs);grid-template-columns:248px minmax(0,1fr);display:grid}.hm button,.hm input,.hm select{color:inherit;font-family:inherit}.hm [hidden]{display:none!important}.hm svg{flex:none;width:16px;height:16px}.hm-side{z-index:6;background:var(--bg-surface);border-right:1px solid var(--border-subtle);flex-direction:column;gap:14px;min-height:0;padding:14px 12px;display:flex;position:relative}.hm-brand-wrap{position:relative}.hm-brand{width:100%;color:var(--fg-default);text-align:left;font:var(--text-s-bold);cursor:pointer;background:0 0;border:0;border-radius:12px;align-items:center;gap:10px;padding:4px 8px;transition:background .2s;display:flex}.hm-brand:hover,.hm-brand.open{background:var(--bg-inset)}.hm-brand b{flex:1}.hm-brand .caret{color:var(--fg-subtle);font-size:10px}.st-menu.hm-brand-menu{z-index:95;width:290px;top:calc(100% + 8px);left:0}.hm-menu-head{font:var(--text-2xs-bold);color:var(--fg-subtle);padding:6px 12px 8px}.st-menu.hm-brand-menu a,.st-menu.hm-brand-menu button{white-space:normal;align-items:flex-start;gap:12px;width:100%}.hm-brand-menu svg{flex:none;width:16px;height:16px;margin-top:2px}.hm-brand-menu span{flex-direction:column;display:flex}.hm-brand-menu small{color:var(--fg-subtle);font-size:10.5px;line-height:1.5}.hm-brand .logo{background:var(--brand-gradient);border-radius:9px;width:28px;height:28px;display:block}.hm-search{border:2px solid var(--border-default);background:var(--bg-surface);height:38px;color:var(--fg-subtle);border-radius:999px;align-items:center;gap:8px;padding:0 12px;transition:border-color .16s,outline .16s;display:flex}.hm-search:focus-within{outline:3px solid var(--border-subtle);border-color:var(--border-strong);color:var(--fg-default)}.hm-search input{min-width:0;font:var(--text-xs);color:var(--fg-default);background:0 0;border:0;outline:0;flex:1}.hm-search input::-webkit-search-cancel-button{display:none}.hm-search kbd{border:1px solid var(--border-default);border-radius:6px;margin:0;padding:0 6px;font-size:10px;line-height:16px}.hm-search:focus-within kbd{display:none}.hm-nav{flex-direction:column;gap:2px;display:flex}.hm-nav button{height:36px;color:var(--fg-muted);font:var(--text-xs);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;padding:0 12px;transition:background .16s,color .16s;display:flex;text-decoration:none!important}.hm-nav button span{flex:1}.hm-nav button:hover{background:var(--bg-inset);color:var(--fg-default)}.hm-nav button.on{background:var(--bg-inset);color:var(--fg-default);font:var(--text-xs-bold)}.hm-nav small{font:11px var(--font-mono);color:var(--fg-subtle)}.hm-side-sp{flex:1}.hm-storage{background:var(--bg-canvas);font:11px/1.6 var(--font-noto-sans-jp);color:var(--fg-muted);border-radius:12px;flex-direction:column;gap:2px;padding:12px;display:flex}.hm-storage small{color:var(--fg-subtle);font-size:10.5px}.hm-link{font:inherit;color:var(--fg-default);text-underline-offset:2px;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.hm-main{min-width:0;padding:0 32px 64px;scroll-padding-top:80px;overflow-y:auto}.hm-head{z-index:5;background:color-mix(in srgb, var(--bg-canvas) 88%, transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);align-items:center;gap:10px;height:72px;margin:0 -32px 4px;padding:0 32px;display:flex;position:sticky;top:0}.hm-head h1{font:var(--text-l-bold);white-space:nowrap;text-overflow:ellipsis;margin:0;overflow:hidden}.hm-count{font:12px var(--font-mono);color:var(--fg-subtle);padding-top:4px}.hm-head .sp{flex:1}.hm-head .btn svg{width:14px;height:14px}.hm-head .btn{white-space:nowrap;flex:none}.hm-sort[hidden]{display:none}.hm-sort select{appearance:none;border:2px solid var(--border-default);background:var(--bg-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 3l2.5 2.5L6.5 3' fill='none' stroke='%23777' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center / 10px;height:34px;font:var(--text-2xs-bold);color:var(--fg-default);cursor:pointer;border-radius:999px;padding:0 30px 0 14px}.hm-sort select:focus-visible{outline:3px solid var(--border-subtle)}#hm-layout button{padding:0 8px}.hm-create{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:4px 0 36px;display:grid}.hm-tile{background:var(--bg-surface);box-shadow:var(--shadow-default);color:var(--fg-default);text-align:left;cursor:pointer;font:var(--text-xs);transition:border-color .2s, transform .35s var(--spring);border:2px solid #0000;border-radius:16px;align-items:center;gap:12px;padding:12px;display:flex;text-decoration:none!important}.hm-tile:hover{border-color:var(--border-default);transform:translateY(-2px)}.hm-tile:active{transform:scale(.98)}.hm-tile>span:last-child{flex-direction:column;min-width:0;display:flex}.hm-tile b{font:var(--text-xs-bold);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.hm-tile small{color:var(--fg-subtle);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:11px;line-height:1.5;display:-webkit-box;overflow:hidden}.hm-tile-ic{background:var(--bg-inset);width:52px;height:52px;color:var(--fg-default);border-radius:12px;flex:none;place-items:center;display:grid;position:relative}.hm-tile-ic svg{width:24px;height:24px}.hm-tile-ic svg+svg{background:var(--bg-emphasis);width:20px;height:20px;color:var(--fg-on-emphasis);box-shadow:0 0 0 3px var(--bg-surface);border-radius:50%;padding:4px;position:absolute;bottom:-5px;right:-5px}.hm-tile-ic.file svg{width:22px;height:22px}.hm-sec{margin-bottom:40px}.hm-sec h2{font:var(--text-s-bold);align-items:baseline;gap:12px;margin:0 0 14px;display:flex}.hm-sec h2 .hm-link{font:var(--text-2xs);color:var(--fg-muted)}.hm-chips{flex-wrap:wrap;gap:6px;margin-left:auto;display:flex}.hm-chip{border:2px solid var(--border-default);background:var(--bg-surface);height:28px;color:var(--fg-muted);font:var(--text-2xs-bold);cursor:pointer;border-radius:999px;align-items:center;gap:5px;padding:0 12px;transition:background .16s,color .16s,border-color .16s;display:inline-flex}.hm-chip svg{width:13px;height:13px}.hm-chip:hover{color:var(--fg-default);border-color:var(--border-strong)}.hm-chip.on{background:var(--bg-emphasis);border-color:var(--bg-emphasis);color:var(--fg-on-emphasis)}.hm-pop-head{font:var(--text-2xs-bold);color:var(--fg-subtle);padding:6px 12px 8px}.st-menu.hm-pop a.hm-new-kind{white-space:normal;align-items:flex-start;gap:12px;width:320px;padding:10px 12px}.hm-new-kind svg{width:18px;height:18px;margin-top:1px}.hm-new-kind span{flex-direction:column;display:flex}.hm-new-kind b{font:var(--text-xs-bold)}.hm-new-kind small{color:var(--fg-subtle);font-size:11px;line-height:1.55}.hm-grid{grid-template-columns:repeat(auto-fill,minmax(236px,1fr));gap:28px 20px;display:grid}.hm-card{min-width:0;position:relative}.hm-open{width:100%;color:inherit;text-align:left;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;display:block;text-decoration:none!important}.hm-thumb{aspect-ratio:16/10;background:var(--bg-surface);box-shadow:0 0 0 1px var(--border-subtle);transition:box-shadow .2s, transform .35s var(--spring);border-radius:12px;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.hm-thumb.clear{background:repeating-conic-gradient(#ececec 0 25%, #fafafa 0 50%) 0 0 / 14px 14px}.hm-open:hover .hm-thumb,.hm-open:focus-visible .hm-thumb,.menu-open .hm-thumb{box-shadow:0 0 0 2px var(--border-strong)}.hm-open:active .hm-thumb{transform:scale(.985)}.hm-open:focus-visible{outline:0}.hm-frame{flex:none;max-height:100%;position:relative}.hm-frame img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.hm-frame img:not([src]),.hm-frame img[src=""]{visibility:hidden}.hm-frame ultra-stage{pointer-events:none;width:100%;display:block}.hm-thumb.live img{visibility:hidden}.hm-tag{color:var(--fg-default);font:bold 10px/18px var(--font-noto-sans-jp);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#ffffffe0;border-radius:999px;padding:1px 8px;position:absolute;top:8px;left:8px;box-shadow:0 0 0 1px #0000000f}.hm-meta{align-items:center;gap:10px;padding:10px 36px 0 2px;display:flex}.hm-ic{background:var(--brand-gradient);width:24px;height:24px;color:var(--fg-on-emphasis);border-radius:7px;flex:none;place-items:center;display:grid}.k-sample .hm-ic{background:var(--bg-inset);color:var(--fg-default)}.k-trash .hm-ic{background:var(--bg-disabled)}.hm-ic svg{width:14px;height:14px}.hm-text{flex-direction:column;flex:1;min-width:0;display:flex}.hm-name{font:var(--text-xs-bold);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.hm-text small{color:var(--fg-subtle);white-space:nowrap;text-overflow:ellipsis;font-size:11px;line-height:16px;overflow:hidden}.hm-text small b{color:var(--fg-muted);font-weight:700}.hm-text code{font:10.5px var(--font-mono)}.hm-more{width:30px;height:30px;color:var(--fg-muted);cursor:pointer;opacity:0;background:0 0;border:0;border-radius:9px;place-items:center;padding:0;transition:opacity .16s,background .16s;display:grid;position:absolute;bottom:4px;right:0}.hm-card:hover .hm-more,.hm-row:hover .hm-more,.hm-more:focus-visible,.menu-open .hm-more{opacity:1}.hm-more:hover,.menu-open .hm-more{background:var(--bg-inset-hover);color:var(--fg-default)}.hm-rename{border:2px solid var(--border-strong);background:var(--bg-surface);width:100%;min-width:0;font:var(--text-xs-bold);outline:3px solid var(--border-subtle);border-radius:7px;margin-left:-6px;padding:0 6px}.k-trash .hm-thumb{filter:grayscale();opacity:.65}.flash .hm-thumb{animation:1.4s ease-out hm-flash}@keyframes hm-flash{0%,30%{box-shadow:0 0 0 4px var(--border-strong)}}.hm-list{flex-direction:column;display:flex}.hm-row{border-bottom:1px solid var(--border-subtle);position:relative}.hm-row .hm-open,.hm-row-head{grid-template-columns:72px minmax(0,1fr) 110px 120px 110px 34px;align-items:center;gap:16px;padding:8px 10px;display:grid}.hm-row .hm-open{border-radius:12px;transition:background .16s}.hm-row .hm-open:hover,.hm-row.menu-open .hm-open{background:var(--bg-surface)}.hm-row .hm-thumb{border-radius:8px;width:72px}.hm-row .hm-open:hover .hm-thumb{box-shadow:0 0 0 1px var(--border-default)}.hm-row .c-ab,.hm-row .c-when,.hm-row .c-created{color:var(--fg-muted);white-space:nowrap;font-size:11.5px}.hm-row .hm-more{top:50%;bottom:auto;right:10px;transform:translateY(-50%)}.hm-row-head{color:var(--fg-subtle);font:var(--text-2xs-bold);padding-top:0}.hm-row-head span{font:inherit!important;color:inherit!important}.hm-empty{margin:0 0 24px}.hm-empty>b{font:var(--text-m-bold);margin:24px 0 4px;display:block}.hm-empty p{color:var(--fg-muted);max-width:640px;margin:0}.hm-note{flex-wrap:wrap;align-items:center;gap:12px;font-size:12px;display:flex}.hm-pop{z-index:90;min-width:200px;position:fixed;top:0;left:0}.hm-pop .danger{color:var(--fg-default);font-weight:700}.hm-confirm{white-space:normal;flex-direction:column;gap:4px;max-width:260px;padding:6px 8px;display:flex}.hm-confirm b{font:var(--text-xs-bold)}.hm-confirm p{color:var(--fg-muted);margin:0 0 8px;font-size:11.5px}.hm-confirm div{justify-content:flex-end;gap:6px;display:flex}.st-menu .hm-confirm .btn{font:var(--text-2xs-bold);border-radius:999px;padding:6px 14px}.st-menu .hm-confirm .btn.primary{color:var(--fg-on-emphasis)}.st-menu .hm-confirm .btn:hover{background:0 0}.hm-toast{z-index:95;background:var(--bg-emphasis);min-height:40px;color:var(--fg-on-emphasis);font:var(--text-xs-bold);opacity:0;pointer-events:none;transition:opacity .2s, transform .45s var(--spring);border-radius:999px;align-items:center;gap:12px;padding:6px 6px 6px 18px;display:flex;position:fixed;bottom:28px;left:50%;transform:translate(-50%,16px);box-shadow:0 8px 24px #0000002e}.hm-toast:not(:has(button)){padding-right:18px}.hm-toast.show{opacity:1;pointer-events:auto;transform:translate(-50%)}.hm-toast button{height:28px;color:inherit;font:var(--text-2xs-bold);cursor:pointer;background:#ffffff29;border:0;border-radius:999px;padding:0 14px}.hm-toast button:hover{background:#ffffff42}.hm-drop{z-index:100;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);pointer-events:none;background:#ffffffb8;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.hm-drop>div{border:3px dashed var(--border-strong);border-radius:24px;flex-direction:column;justify-content:center;align-items:center;gap:6px;width:100%;height:100%;display:flex}.hm-drop svg{width:40px;height:40px}.hm-drop b{font:var(--text-m-bold)}.hm-drop small{color:var(--fg-muted)}@media (max-width:1100px){.hm-row .hm-open,.hm-row-head{grid-template-columns:64px minmax(0,1fr) 90px 100px 34px}.hm-row .c-created{display:none}}@media (max-width:900px){.hm-head{flex-wrap:wrap;gap:8px;height:auto;padding-block:12px}.hm-head .sp{flex-basis:100%;order:1;height:0}.hm-head .sp~*{order:2}}@media (max-width:760px){.hm{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.hm-side{border-right:0;border-bottom:1px solid var(--border-subtle);flex-flow:wrap;align-items:center;gap:8px;padding:10px 16px;overflow:visible}.hm-search{flex:100%;order:3}.hm-search kbd{display:none}.hm-nav{flex-flow:wrap}.hm-nav button{height:32px;padding:0 10px}.hm-side-sp,.hm-storage{display:none}.hm-main{padding:0 16px 48px}.hm-head{flex-wrap:wrap;gap:8px;height:auto;margin:0 -16px 4px;padding:12px 16px}.hm-head .sp{flex-basis:100%;order:1;height:0}.hm-head .sp~*{order:2}.hm-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:20px 14px}.hm-create{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:28px}.hm-tile{gap:10px;padding:10px}.hm-tile-ic{width:40px;height:40px}.hm-tile-ic i{transform:scale(.8)}.hm-row .hm-open,.hm-row-head{grid-template-columns:56px minmax(0,1fr) 80px 34px;gap:10px}.hm-row .c-ab{display:none}.hm-more{opacity:1}}@media (prefers-reduced-motion:reduce){.hm-tile,.hm-thumb,.hm-toast{transition:none}}.hm-backup{align-self:flex-start;align-items:center;gap:4px;margin:2px 0 4px;font-weight:700;display:inline-flex}.hm-backup svg{flex:none;width:13px;height:13px}.hm-confirm.hm-restore{gap:6px;max-width:380px;padding:10px 12px}.hm-restore p{margin:0}.hm-restore-list{border-top:1px solid var(--border-subtle);border-bottom:1px solid var(--border-subtle);max-height:160px;margin:2px 0 6px;padding:6px 0;list-style:none;overflow:auto}.hm-restore-list li{font:var(--text-2xs);align-items:baseline;gap:8px;padding:3px 2px;display:flex}.hm-restore-list li span{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--fg-default);flex:1;overflow:hidden}.hm-restore-list li small{color:var(--fg-subtle);white-space:nowrap}.hm-confirm .hm-restore-acts{flex-wrap:wrap;justify-content:flex-start}.hm-restore-acts [data-restore=cancel]{margin-left:auto}
