body { margin: 0; background: #111; font-family: 'Segoe UI', sans-serif; height: 100vh; overflow: hidden; }

/* Modal Background */
.modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85); z-index: 1000;
    display: flex; justify-content: center; align-items: center;
    backdrop-filter: blur(5px);
}
.hidden { display: none !important; }

/* Modal Box */
.modal-content {
    width: 900px; height: 600px; background: #1e1e1e;
    border-radius: 12px; display: flex; overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); border: 1px solid #333;
}

/* Sidebar */
.store-sidebar {
    width: 200px; background: #252525; border-right: 1px solid #333;
    display: flex; flex-direction: column; padding: 20px;
}
.brand { color: #fff; font-weight: bold; margin-bottom: 30px; font-size: 18px; }
.tab-btn {
    background: none; border: none; color: #aaa; text-align: left;
    padding: 12px; font-size: 14px; cursor: pointer; border-radius: 6px;
    margin-bottom: 5px; transition: 0.2s;
}
.tab-btn:hover, .tab-btn.active { background: #333; color: #fff; }
.tab-btn i { width: 25px; }
.spacer { flex: 1; }
.close-btn { background: #ff4444; border: none; color: white; padding: 10px; border-radius: 4px; cursor: pointer; }

/* Body */
.store-body { flex: 1; display: flex; flex-direction: column; padding: 20px; }
.search-bar {
    background: #111; border-radius: 8px; padding: 0 15px;
    display: flex; align-items: center; height: 45px; border: 1px solid #333;
    margin-bottom: 20px;
}
.search-bar input {
    background: none; border: none; color: white; margin-left: 10px;
    flex: 1; font-size: 14px; outline: none;
}

/* Grid */
.grid-view {
    flex: 1; overflow-y: auto; display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px; padding-right: 5px;
}
.asset-item {
    background: #000; height: 120px; border-radius: 6px; overflow: hidden;
    cursor: pointer; position: relative; border: 1px solid #333; transition: 0.2s;
}
.asset-item:hover { transform: scale(1.02); border-color: #00d2ff; }
.asset-item img { width: 100%; height: 100%; object-fit: cover; }
.font-preview {
    display: flex; align-items: center; justify-content: center;
    height: 100%; color: white; font-size: 24px; text-align: center;
}