#native-assets .mt-2 {
    margin-top: 0.5rem
}
#native-assets .flex {
    display: flex
}
#native-assets .grid {
    display: grid
}
#native-assets .hidden {
    display: none
}
#native-assets .h-3 {
    height: 0.75rem
}
#native-assets .h-3\.5 {
    height: 0.875rem
}
#native-assets .h-4 {
    height: 1rem
}
#native-assets .h-7 {
    height: 1.75rem
}
#native-assets .h-8 {
    height: 2rem
}
#native-assets .w-3 {
    width: 0.75rem
}
#native-assets .w-3\.5 {
    width: 0.875rem
}
#native-assets .w-4 {
    width: 1rem
}
#native-assets .w-7 {
    width: 1.75rem
}
#native-assets .w-8 {
    width: 2rem
}
#native-assets .flex-1 {
    flex: 1 1 0%
}
#native-assets .flex-wrap {
    flex-wrap: wrap
}
#native-assets .gap-1\.5 {
    gap: 0.375rem
}
#native-assets .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}
#native-assets .text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem
}
#native-assets .text-xs {
    font-size: 0.75rem;
    line-height: 1rem
}
#native-assets .font-semibold {
    font-weight: 600
}
#native-assets .filter {
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)
}

#native-assets .lib-workspace { display: grid; grid-template-columns: 15rem minmax(0, 1fr) auto; height: 100%; min-height: 0; color: var(--app-text); }
#native-assets .lib-sidebar { display: flex; flex-direction: column; min-height: 0; padding: 0.6rem 0.5rem; border-right: 1px solid var(--shell-hairline); background: rgb(var(--app-panel-rgb) / 0.5); overflow: auto; }
#native-assets .lib-sidebar__search { display: flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0.55rem; border: 1px solid var(--shell-hairline); border-radius: 0.5rem; background: rgb(var(--app-bg-rgb) / 0.4); }
#native-assets .lib-sidebar__input { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; color: var(--app-text); font-size: 0.82rem; outline: none; }
#native-assets .lib-sidebar__label { margin: 0.9rem 0.55rem 0.25rem; color: var(--app-muted); font-size: 0.7rem; font-weight: 650; }
#native-assets .lib-sidebar__list { display: grid; gap: 0.1rem; margin: 0; padding: 0; list-style: none; }
#native-assets .lib-sidebar__item { display: flex; align-items: center; gap: 0.5rem; width: 100%; min-height: 1.85rem; padding: 0.25rem 0.55rem; border: 0; border-radius: 0.45rem; background: transparent; color: var(--app-text); font-size: 0.84rem; text-align: left; cursor: pointer; }
#native-assets .lib-sidebar__item:hover { background: var(--shell-hover); }
#native-assets .lib-sidebar__item--active { background: var(--shell-selected); font-weight: 600; }
#native-assets .lib-sidebar__icon { width: 1rem; height: 1rem; color: var(--app-muted); }
#native-assets .lib-sidebar__item--active .lib-sidebar__icon { color: var(--app-accent-strong); }
#native-assets .lib-sidebar__text { flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
#native-assets .lib-sidebar__count { color: var(--app-muted); font-size: 0.7rem; font-variant-numeric: tabular-nums; }
#native-assets .lib-sidebar__foot { margin-top: auto; padding: 0.75rem 0.55rem 0.25rem; color: var(--app-muted); font-size: 0.7rem; line-height: 1.4; }
#native-assets .lib-main { display: grid; grid-template-rows: auto minmax(0, 1fr); min-width: 0; min-height: 0; }
#native-assets .lib-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.5rem 1rem; border-bottom: 1px solid var(--shell-hairline); }
#native-assets .lib-toolbar__title { display: flex; align-items: baseline; gap: 0.4rem; font-size: 0.95rem; font-weight: 650; }
#native-assets .lib-toolbar__count { color: var(--app-muted); font-size: 0.76rem; font-weight: 500; }
#native-assets .lib-toolbar__controls { display: flex; align-items: center; gap: 0.5rem; }
#native-assets .lib-content { min-height: 0; overflow: auto; padding: 1rem; outline: none; }
#native-assets .lib-grid { display: grid; gap: 0.75rem; }
#native-assets .lib-grid--small { grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); }
#native-assets .lib-grid--medium { grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }
#native-assets .lib-grid--large { grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); }
#native-assets .lib-card { display: grid; gap: 0.35rem; border-radius: 0.6rem; cursor: default; }
#native-assets .lib-card__frame { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border: 0; padding: 0; border-radius: 0.6rem; background: rgb(var(--app-bg-rgb) / 0.6); box-shadow: 0 0 0 1px var(--shell-hairline); transition: box-shadow 120ms ease, transform 120ms ease; }
#native-assets .lib-card:hover .lib-card__frame { box-shadow: 0 0 0 1px rgb(var(--app-muted-rgb) / 0.3), 0 10px 24px rgb(0 0 0 / 0.25); }
#native-assets .lib-card--selected .lib-card__frame { box-shadow: 0 0 0 2px var(--app-accent), 0 10px 24px rgb(0 0 0 / 0.25); }
#native-assets .lib-card__media { display: block; width: 100%; height: 100%; object-fit: cover; }
#native-assets .lib-card__placeholder { display: grid; place-items: center; align-content: center; gap: 0.25rem; height: 100%; color: var(--app-muted); font-size: 0.7rem; }
#native-assets .lib-card__badge { position: absolute; left: 0.45rem; top: 0.45rem; display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.12rem 0.45rem; border-radius: 999px; background: rgb(0 0 0 / 0.55); color: #fff; font-size: 0.66rem; font-weight: 600; text-transform: capitalize; backdrop-filter: blur(6px); }
#native-assets .lib-card__origin { position: absolute; left: 0.45rem; bottom: 0.45rem; max-width: calc(100% - 0.9rem); padding: 0.1rem 0.45rem; border-radius: 999px; background: rgb(0 0 0 / 0.5); color: #ddd; font-size: 0.66rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#native-assets .lib-card__hover { position: absolute; right: 0.4rem; top: 0.4rem; display: flex; gap: 0.2rem; opacity: 0; transition: opacity 120ms ease; }
#native-assets .lib-card:hover .lib-card__hover, #native-assets .lib-card--selected .lib-card__hover { opacity: 1; }
#native-assets .lib-card__action { display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding: 0 0.4rem; border: 0; border-radius: 0.4rem; background: rgb(0 0 0 / 0.6); color: #fff; font-size: 0.72rem; font-weight: 600; cursor: pointer; backdrop-filter: blur(6px); text-decoration: none; }
#native-assets .lib-card__action:hover { background: var(--app-accent); }
#native-assets .lib-card__action--primary { background: var(--app-accent); }
#native-assets .lib-card__action:disabled { opacity: 0.4; cursor: default; }
#native-assets .lib-card__actions { display: flex; gap: 0.3rem; }
#native-assets .lib-card__meta { display: grid; padding: 0 0.15rem; }
#native-assets .lib-card__name { font-size: 0.78rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#native-assets .lib-card__sub { color: var(--app-muted); font-size: 0.68rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#native-assets .lib-card__sub a { color: inherit; }
#native-assets .lib-empty { display: grid; place-items: center; align-content: center; gap: 0.3rem; min-height: 50%; text-align: center; }
#native-assets .lib-note { margin: 0; color: var(--app-muted); font-size: 0.74rem; }
#native-assets .lib-note--warn { color: var(--app-warm); }
#native-assets .lib-stock { display: grid; gap: 0.75rem; }
#native-assets .lib-stock__form { display: flex; gap: 0.4rem; }
#native-assets .lib-packs { display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: 1rem; }
@media (max-width: 1000px) { #native-assets .lib-packs { grid-template-columns: minmax(0, 1fr); } }
#native-assets .lib-packs__list { display: grid; gap: 0.25rem; align-content: start; }
#native-assets .lib-packs__item { display: grid; gap: 0.1rem; padding: 0.5rem 0.65rem; border: 1px solid var(--shell-hairline); border-radius: 0.55rem; background: rgb(var(--app-panel-rgb) / 0.5); color: var(--app-text); text-align: left; cursor: pointer; }
#native-assets .lib-packs__item--active { border-color: rgb(var(--app-accent-rgb) / 0.6); background: rgb(var(--app-accent-rgb) / 0.12); }
#native-assets .lib-packs__name { font-size: 0.82rem; font-weight: 600; }
#native-assets .lib-packs__meta { color: var(--app-muted); font-size: 0.68rem; }
#native-assets .lib-packs__detail { display: grid; gap: 0.75rem; align-content: start; }
#native-assets .lib-packs__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
#native-assets .lib-packs__head h3 { margin: 0; font-size: 1rem; font-weight: 650; }
#native-assets .lib-packs__head p { margin: 0.2rem 0 0; color: var(--app-muted); font-size: 0.78rem; }
#native-assets .lib-inspector { display: grid; grid-template-rows: auto minmax(0, 1fr); width: 17rem; min-height: 0; border-left: 1px solid var(--shell-hairline); background: rgb(var(--app-panel-rgb) / 0.5); overflow: auto; }
#native-assets .lib-inspector__preview { aspect-ratio: 4 / 3; background: #000; }
#native-assets .lib-inspector__preview .lib-card__media { object-fit: contain; }
#native-assets .lib-inspector__body { display: grid; gap: 0.6rem; align-content: start; padding: 0.75rem; }
#native-assets .lib-inspector__name { font-size: 0.9rem; font-weight: 650; word-break: break-word; }
#native-assets .lib-inspector__facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.25rem 0.6rem; margin: 0; font-size: 0.74rem; }
#native-assets .lib-inspector__facts dt { color: var(--app-muted); }
#native-assets .lib-inspector__facts dd { margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
#native-assets .lib-inspector__actions { display: flex; flex-wrap: wrap; gap: 0.35rem; }
#native-assets .lib-quicklook { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 1.5rem; background: rgb(0 0 0 / 0.8); backdrop-filter: blur(8px); }
#native-assets .lib-quicklook__panel { display: grid; grid-template-rows: auto minmax(0, 1fr); width: min(1100px, 100%); max-height: 100%; border: 1px solid var(--shell-hairline); border-radius: 0.8rem; background: var(--app-panel); overflow: hidden; }
#native-assets .lib-quicklook__head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.5rem 0.9rem; font-size: 0.84rem; font-weight: 650; border-bottom: 1px solid var(--shell-hairline); }
#native-assets .lib-quicklook__body { display: grid; place-items: center; min-height: 0; background: #000; }
#native-assets .lib-quicklook__body img, #native-assets .lib-quicklook__body video { max-width: 100%; max-height: 80vh; object-fit: contain; }
@media (max-width: 1100px) { #native-assets .lib-workspace { grid-template-columns: 13rem minmax(0, 1fr); } }
@media (max-width: 1100px) { #native-assets .lib-inspector { display: none; } }
#native-assets{position:relative;height:100%;min-height:0;min-width:0;container-type:inline-size;background:var(--app-bg);color:var(--app-text)}
#native-assets *,#native-assets *::before,#native-assets *::after{box-sizing:border-box}
#native-assets .lib-workspace{grid-template-columns:190px minmax(0,1fr) auto}
#native-assets .lib-inspector{position:relative;display:grid;width:252px;background:var(--app-panel)}
#native-assets .lib-inspector-close{position:absolute;right:8px;top:8px;z-index:2;background:#13131ad9;color:var(--app-text);border:1px solid var(--app-border-strong)}
#native-assets .lib-sidebar{background:var(--app-panel)}
#native-assets .lib-toolbar{min-height:48px;padding:8px 18px;background:var(--app-panel)}
#native-assets .lib-content{padding:22px}
#native-assets .lib-card{min-width:0}
#native-assets .lib-sidebar__item{min-height:34px;font-size:12px}
#native-assets .lib-sidebar__label{font-size:11px}
#native-assets .lib-sidebar__search{min-height:32px;margin-bottom:4px}
#native-assets .lib-sidebar__input{font-size:12px}
#native-assets .lib-inspector__name{font-size:15px;line-height:1.5}
#native-assets .lib-card__name{font-size:12px;line-height:1.6}
#native-assets .lib-card__sub{font-size:11px;line-height:1.5}
#native-assets .lib-card__badge{border-radius:4px}
#native-assets .lib-toolbar__title{white-space:nowrap;font-size:13px}
#native-assets .lib-toolbar__controls{flex-wrap:wrap;justify-content:flex-end}
#native-assets .app-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:30px;border:1px solid var(--app-border-strong);border-radius:6px;padding:5px 10px;background:var(--app-card);color:var(--app-text);font-size:12px;line-height:1.5;text-decoration:none;cursor:pointer}
#native-assets .app-primary{background:var(--app-accent);border-color:var(--app-accent);color:#fff}
#native-assets .app-tertiary{background:transparent;border-color:transparent}
#native-assets .app-button:hover{background:var(--shell-selected);border-color:var(--app-accent)}
#native-assets .app-primary:hover{background:var(--app-accent-strong)}
#native-assets .app-select{max-width:100%;border:1px solid var(--app-border-strong);border-radius:6px;background:var(--app-bg);color:var(--app-text);padding:5px 8px;font-size:12px;min-height:30px}
#native-assets .app-muted{color:var(--app-muted)}
#native-assets .toolbar-segmented{display:flex;padding:2px;border:1px solid var(--app-border);border-radius:6px;background:var(--app-bg)}
#native-assets .toolbar-segmented__item{display:grid;place-items:center;width:26px;height:24px;border:0;border-radius:4px;color:var(--app-muted);background:transparent;font-size:11px}
#native-assets .toolbar-segmented__item--active{color:var(--app-text);background:var(--app-card)}
#native-assets .lib-use-target{width:100%;display:grid;gap:6px;color:var(--app-muted);font-size:11px;padding:6px 0}
#native-assets .lib-import-menu{position:relative;z-index:8}
#native-assets .lib-import-menu summary{list-style:none;white-space:nowrap}
#native-assets .lib-import-menu summary::-webkit-details-marker{display:none}
#native-assets .lib-import-menu>div{position:absolute;right:0;top:calc(100% + 5px);width:145px;padding:5px;display:grid;border:1px solid var(--app-border-strong);border-radius:8px;background:var(--app-panel);box-shadow:0 12px 35px #0008}
#native-assets .lib-import-menu>div button{justify-content:flex-start}
#native-assets :is(button,a,input,select,[tabindex]):focus-visible{outline:2px solid var(--app-accent-strong);outline-offset:3px}
@container (max-width:1000px){#native-assets .lib-workspace{grid-template-columns:170px minmax(0,1fr)}#native-assets .lib-inspector{display:flex;flex-direction:column;position:absolute;inset:0 0 0 auto;z-index:9;box-shadow:-12px 0 45px #0008;width:260px}#native-assets .lib-inspector__body{overflow:auto}#native-assets .lib-grid--medium{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}}
@container (max-width:620px){#native-assets .lib-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}#native-assets .lib-sidebar{display:flex;padding:8px 12px;gap:8px;overflow:visible;border-right:0;border-bottom:1px solid var(--shell-hairline)}#native-assets .lib-sidebar__label,#native-assets .lib-sidebar__foot{display:none}#native-assets .lib-sidebar__list{display:flex;gap:5px;overflow:auto}#native-assets .lib-sidebar__list>li{flex:0 0 auto}#native-assets .lib-sidebar__item{width:auto;min-height:29px;gap:5px;font-size:11px}#native-assets .lib-sidebar__search{margin:0}#native-assets .lib-toolbar{flex-wrap:wrap;gap:6px;padding:8px 12px}#native-assets .lib-content{padding:14px}#native-assets .lib-grid--medium{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}
