*{
box-sizing:border-box;
}

body{
margin:0;
font-family:"Inter",sans-serif;
background:#0f172a;
color:#e5e7eb;
}

header{
display:flex;
align-items:center;
gap:20px;
padding:16px 24px;
background:#020617;
border-bottom:1px solid #1e293b;
}

.logo{
font-weight:600;
font-size:18px;
color:#60a5fa;
}

#path span{
cursor:pointer;
color:#cbd5f5;
}

#path span:hover{
color:white;
}

.container{
padding:24px;
max-width:1100px;
margin:auto;
}

.grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
gap:16px;
}

.card{
background:#020617;
border:1px solid #1e293b;
border-radius:12px;
padding:14px;
cursor:pointer;
transition:all .15s;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
min-height:120px;
}

.card:hover{
transform:translateY(-3px);
border-color:#3b82f6;
box-shadow:0 6px 20px rgba(0,0,0,0.3);
}

.card img{
width:100%;
border-radius:8px;
}

.add{
font-size:28px;
color:#60a5fa;
}

input{
font-family:inherit;
}

.hidden{
display:none;
}
.preview{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.9);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:1000;
}

.preview img{
  max-width:90%;
  max-height:90%;
}

.hidden{
  display:none;
}