:root{
  color-scheme:dark;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  color:#e9e9eb;
  background:#111113;
  font-size:13px
}
*{
  box-sizing:border-box
}
body{
  margin:0
}
button,input,select{
  font:inherit;
  color:inherit
}
button,a{
  touch-action:manipulation
}
button{
  border:0;
  background:none;
  cursor:pointer
}
a{
  color:inherit;
  text-decoration:none
}
button:hover,a:hover{
  color:#fff
}
button:focus-visible,a:focus-visible{
  outline:2px solid #b9a1ff;
  outline-offset:3px
}
[hidden]{
  display:none!important
}
.skip-link{
  position:fixed;
  top:-50px;
  z-index:100;
  background:#eee;
  color:#111;
  padding:12px
}
.skip-link:focus{
  top:0
}
.studio-bar{
  height:59px;
  display:flex;
  align-items:center;
  padding:0 24px;
  border-bottom:1px solid #29292d;
  gap:30px
}
.studio-brand{
  font-weight:650;
  display:flex;
  align-items:center;
  gap:10px;
  letter-spacing:.3px
}
.brand-mark{
  width:29px;
  height:29px;
  border-radius:8px;
  display:grid;
  place-items:center;
  background:#e7e3ee;
  color:#18151c;
  font-weight:700
}
.studio-caption{
  color:#77777f
}
.studio-home{
  margin-left:auto;
  color:#a1a1a8;
  font-size:12px
}
.project-shell{
  display:flex;
  min-height:calc(100vh - 59px)
}
.project-sidebar{
  width:235px;
  flex:none;
  border-right:1px solid #29292d;
  position:sticky;
  top:0;
  height:calc(100vh - 59px);
  display:flex;
  flex-direction:column;
  padding:18px 12px 0
}
.sidebar-return{
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#9999a2;
  padding:0 6px;
  margin-bottom:21px
}
.sidebar-return a{
  display:flex;
  gap:8px;
  align-items:center
}
.sidebar-return button{
  font-size:19px
}
.project-name{
  display:flex;
  align-items:center;
  gap:11px;
  padding:0 6px 21px
}
.project-name img{
  width:39px;
  height:45px;
  object-fit:cover;
  border-radius:5px;
  background:#27272d
}
.project-name strong{
  font-size:15px;
  font-weight:600
}
.project-dot{
  margin-left:auto;
  font-size:9px;
  color:#8a809f
}
.project-links{
  border-bottom:1px solid #29292d;
  padding-bottom:15px;
  display:grid;
  gap:4px
}
.project-links button{
  padding:11px 10px;
  text-align:left;
  border-radius:6px;
  color:#aaaab1;
  display:flex;
  gap:11px
}
.project-links button:hover,.project-links button.active{
  background:#232328;
  color:#eee
}
.folder-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:22px 10px 13px;
  color:#93939c;
  font-size:12px
}
.folder-heading button{
  font-size:20px
}
#folder-search{
  width:100%;
  padding:8px;
  margin-bottom:8px;
  background:#222226;
  border:1px solid #393940;
  border-radius:5px
}
#folders{
  overflow:auto;
  flex:1;
  padding-bottom:20px;
  scrollbar-width:thin;
  scrollbar-color:#35353d transparent
}
.folder-button{
  width:100%;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 9px;
  border-radius:5px;
  text-align:left;
  color:#b3b3ba;
  min-height:36px
}
.folder-button:hover{
  background:#1c1c21
}
.folder-button.active{
  background:#2b2736;
  color:#e4d9ff
}
.folder-button.child{
  padding-left:29px;
  font-size:12px
}
.folder-icon{
  position:relative;
  width:15px;
  height:11px;
  border-radius:2px;
  background:var(--folder-color,#9e8bbd);
  flex:none;
  opacity:.9
}
.folder-icon:before{
  content:"";
  position:absolute;
  top:-3px;
  width:7px;
  height:4px;
  background:inherit;
  border-radius:2px 2px 0 0
}
.folder-label{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.folder-count{
  margin-left:auto;
  color:#777782;
  font-size:11px
}
.sidebar-bottom{
  display:flex;
  align-items:center;
  gap:6px;
  padding:17px 5px;
  border-top:1px solid #29292d;
  font-size:10px;
  color:#85858e
}
.sidebar-bottom a{
  margin-left:auto
}
.connection-dot{
  width:5px;
  height:5px;
  border-radius:50%;
  background:#90ab91
}
.project-main{
  min-width:0;
  flex:1
}
.asset-toolbar{
  height:69px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 24px;
  gap:15px
}
.breadcrumb{
  display:flex;
  align-items:center;
  gap:13px;
  min-width:0;
  white-space:nowrap
}
.breadcrumb>span{
  color:#73737e
}
.breadcrumb button{
  color:#a2a2ab;
  padding:0
}
.breadcrumb h1{
  font-size:13px;
  font-weight:500;
  margin:0;
  overflow:hidden;
  text-overflow:ellipsis
}
#expand-sidebar{
  display:none
}
.breadcrumb #result-count{
  font-size:11px;
  color:#686874
}
.toolbar-actions{
  display:flex;
  align-items:center;
  gap:7px
}
.toolbar-actions button{
  color:#b6b6bf;
  padding:7px 9px;
  border-radius:5px;
  white-space:nowrap
}
.toolbar-actions button:hover,.toolbar-actions button[aria-pressed=true]{
  background:#29292f
}
.toolbar-actions button span{
  margin-left:4px;
  font-size:12px
}
.filters{
  padding:0 24px 17px;
  display:flex;
  gap:9px
}
.filters input,.filters select{
  background:#202025;
  border:1px solid #36363e;
  border-radius:5px;
  padding:9px 11px;
  min-width:0
}
.filters input{
  flex:1
}
.asset-gallery{
  display:flex;
  flex-wrap:wrap;
  gap:4px;
  padding:0 6px 20px
}
.asset-card{
  position:relative;
  overflow:hidden;
  background:#1b1b20;
  flex-grow:var(--aspect);
  flex-basis:calc(var(--aspect) * 195px);
  height:210px;
  min-width:125px;
  padding:0;
  text-align:left;
  border-radius:2px
}
.asset-card img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  transition:filter .18s
}
.asset-card:hover img{
  filter:brightness(.8)
}
.asset-card:focus-visible{
  outline-offset:-3px
}
.asset-card .asset-label{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  padding:34px 12px 11px;
  background:linear-gradient(transparent,rgba(0,0,0,.85));
  opacity:0;
  transition:opacity .15s;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:11px
}
.asset-card:hover .asset-label,.asset-card:focus-visible .asset-label,.asset-gallery.show-names .asset-label{
  opacity:1
}
.asset-type{
  position:absolute;
  top:10px;
  left:10px;
  padding:4px 6px;
  background:#101014b5;
  border-radius:4px;
  font-size:10px;
  color:#ddd
}
.asset-open{
  position:absolute;
  right:10px;
  top:10px;
  background:#101014b5;
  width:25px;
  height:25px;
  display:grid;
  place-items:center;
  border-radius:4px;
  opacity:0
}
.asset-card:hover .asset-open{
  opacity:1
}
.asset-play{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  font-size:35px;
  text-shadow:0 1px 10px #000;
  color:#fff
}
.asset-placeholder{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  height:100%;
  padding:20px;
  gap:18px;
  background:linear-gradient(135deg,#26242f,#19191f);
  color:#b3adbf
}
.asset-placeholder .file-symbol{
  font-size:35px;
  color:#7c758b
}
.asset-placeholder .file-name{
  text-align:center;
  font-size:12px;
  line-height:1.6;
  max-width:270px;
  overflow-wrap:anywhere
}
.empty-state{
  text-align:center;
  padding:100px 24px;
  color:#8e8e99
}
.empty-state h2{
  font-size:17px;
  color:#dadade;
  font-weight:500
}
.empty-state button{
  background:#302b3e;
  border-radius:5px;
  padding:10px 17px;
  margin-top:10px
}
.project-brief{
  max-width:1050px;
  margin:0 auto;
  padding:15px 35px 60px;
  color:#b9b9c3;
  line-height:1.9
}
.project-brief h1,.project-brief h2,.project-brief h3{
  color:#f0edf4;
  line-height:1.4
}
.project-brief h2{
  font-size:22px;
  margin-top:32px
}
.project-brief a{
  color:#c3b0eb;
  text-decoration:underline;
  text-underline-offset:4px
}
.project-brief .project-hero{
  padding:30px;
  border-radius:10px;
  background:#202026
}
.project-brief .project-hero::before,.project-brief .project-hero::after{
  display:none
}
.project-brief .project-hero h1{
  font-size:44px
}
.project-brief .project-tabs,.project-brief .media-grid,.project-brief .asset-grid{
  display:none
}
.project-brief img{
  max-width:100%;
  height:auto;
  max-height:400px;
  object-fit:contain
}
.project-brief table{
  width:100%;
  border-collapse:collapse;
  font-size:12px
}
.project-brief td,.project-brief th{
  padding:10px;
  border:1px solid #38383e;
  text-align:left
}
.project-brief details{
  padding:15px 0;
  border-bottom:1px solid #323238
}
.project-brief .grid{
  display:grid;
  gap:15px
}
.project-brief .card{
  background:#1c1c22;
  padding:20px;
  border-radius:8px
}
dialog{
  padding:0;
  border:1px solid #36343f;
  border-radius:10px;
  background:#151519;
  color:#eee;
  width:calc(100vw - 72px);
  max-width:1600px;
  height:calc(100vh - 100px);
  max-height:1000px;
  overflow:hidden
}
dialog::backdrop{
  background:#000c;
  backdrop-filter:blur(7px)
}
.viewer-layout{
  display:flex;
  height:100%
}
.viewer-stage{
  position:relative;
  flex:1;
  min-width:0;
  background:#0a0a0c;
  display:grid;
  place-items:center
}
.viewer-close{
  position:absolute;
  left:18px;
  top:15px;
  z-index:2;
  font-size:27px;
  background:#222229cc;
  border:1px solid #44444d;
  border-radius:50%;
  width:37px;
  height:37px;
  line-height:1
}
.viewer-arrow{
  position:absolute;
  top:48%;
  z-index:2;
  border-radius:50%;
  background:#222229b5;
  width:34px;
  height:34px;
  font-size:26px
}
.previous{
  left:14px
}
.next{
  right:14px
}
#viewer-media{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  padding:25px
}
#viewer-media img,#viewer-media video{
  max-width:100%;
  max-height:100%;
  width:100%;
  height:100%;
  object-fit:contain
}
#viewer-media audio{
  width:min(500px,90%)
}
.viewer-details{
  width:300px;
  flex:none;
  padding:38px 25px;
  overflow:auto;
  border-left:1px solid #313137
}
.detail-label{
  font-size:10px;
  letter-spacing:1px;
  color:#9f8fbc
}
.viewer-details h2{
  font-size:17px;
  line-height:1.5;
  overflow-wrap:anywhere;
  font-weight:500
}
.viewer-details #detail-folder{
  font-size:11px;
  color:#85858f;
  line-height:1.8;
  overflow-wrap:anywhere
}
.viewer-details dl{
  margin:28px 0;
  color:#b2b2bd;
  font-size:12px
}
.viewer-details dt{
  color:#72727f;
  margin-top:16px
}
.viewer-details dd{
  margin:4px 0;
  overflow-wrap:anywhere
}
.detail-actions{
  display:grid;
  gap:8px
}
.detail-actions a{
  padding:11px 13px;
  border:1px solid #39353f;
  border-radius:5px;
  font-size:12px
}
.detail-actions a:first-child{
  background:#ded2f3;
  color:#24202d;
  border-color:#ded2f3
}
.detail-note{
  font-size:11px;
  line-height:1.9;
  color:#72727e;
  margin-top:24px
}
#media-error{
  font-size:12px;
  color:#d8b38f;
  line-height:1.7
}
#notice{
  position:fixed;
  bottom:25px;
  left:50%;
  transform:translateX(-50%);
  z-index:10;
  padding:12px 20px;
  border:1px solid #49434f;
  border-radius:7px;
  background:#29242f;
  box-shadow:0 5px 30px #0009;
  max-width:90vw
}
.sidebar-collapsed .project-sidebar{
  display:none
}
.sidebar-collapsed #expand-sidebar{
  display:block!important
}
@media(min-width:1700px){
  .asset-card{
    height:250px;
    flex-basis:calc(var(--aspect) * 230px)
  }
}
@media(max-width:900px){
  .project-sidebar{
    width:205px
  }
  .asset-toolbar{
    padding:0 13px
  }
  .toolbar-actions button span{
    display:none
  }
  .toolbar-actions{
    gap:0
  }
  .asset-card{
    height:175px;
    flex-basis:calc(var(--aspect) * 155px)
  }
  .viewer-details{
    width:250px;
    padding:30px 20px
  }
  .breadcrumb{
    gap:8px
  }
  .studio-caption{
    display:none
  }
}
@media(max-width:600px){
  .studio-bar{
    height:53px;
    padding:0 15px
  }
  .studio-brand{
    font-size:12px
  }
  .studio-home{
    font-size:10px
  }
  .project-shell{
    min-height:calc(100vh - 53px)
  }
  .project-sidebar{
    display:none;
    position:fixed;
    top:53px;
    bottom:0;
    left:0;
    height:calc(100dvh - 53px);
    z-index:5;
    background:#151518;
    box-shadow:15px 0 50px #000a;
    width:235px
  }
  .mobile-sidebar-open .project-sidebar{
    display:flex
  }
  #expand-sidebar{
    display:block!important
  }
  .asset-toolbar{
    height:60px;
    padding:0 10px;
    gap:4px
  }
  .breadcrumb{
    gap:7px
  }
  .breadcrumb h1{
    max-width:120px;
    font-size:12px
  }
  #result-count{
    display:none
  }
  .toolbar-actions button{
    padding:7px
  }
  .filters{
    padding:0 10px 12px;
    flex-wrap:wrap
  }
  .filters input{
    flex-basis:100%
  }
  .filters select{
    flex:1;
    font-size:11px
  }
  .asset-gallery{
    padding:0 4px 15px;
    gap:3px
  }
  .asset-card{
    height:155px;
    flex-basis:calc(var(--aspect) * 125px);
    min-width:105px
  }
  .asset-card .asset-label{
    font-size:10px;
    padding:25px 7px 7px
  }
  .asset-open{
    display:none
  }
  .project-brief{
    padding:10px 15px 40px
  }
  .project-brief .project-hero{
    padding:20px
  }
  .project-brief .project-hero h1{
    font-size:33px
  }
  dialog{
    width:100vw;
    height:100dvh;
    max-height:none;
    max-width:none;
    border:0;
    border-radius:0
  }
  .viewer-layout{
    flex-direction:column
  }
  .viewer-stage{
    min-height:52%;
    height:60%;
    flex:none
  }
  .viewer-details{
    width:100%;
    flex:1;
    border-left:0;
    border-top:1px solid #313137;
    padding:20px
  }
  .viewer-details dl{
    display:flex;
    gap:25px;
    margin:10px 0 20px
  }
  .viewer-details dt{
    margin-top:0
  }
  .viewer-details h2{
    font-size:15px
  }
  .detail-note{
    margin:15px 0
  }
  .detail-actions{
    grid-template-columns:1fr 1fr
  }
  .viewer-close{
    top:12px;
    left:12px
  }
  .viewer-arrow{
    width:30px;
    height:30px
  }
  #viewer-media{
    padding:15px
  }
  .sidebar-collapsed.mobile-sidebar-open .project-sidebar{
    display:flex
  }
}
